Class Reference
IRIS for UNIX 2019.2
InterSystems: The power behind what matters   
Documentation  Search
  [ENSLIB] >  [%iFind] >  [Entity]
Private  Storage   

persistent class %iFind.Entity extends %Persistent

This table contains all entities identified by iFind Semantic or Analytic indices in this namespace using namespace-wide shared storage (cf the IFINDSHAREDSTORAGELOCATION parameter in %iFind.Index.Basic).

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
1 3 3 2


Summary

Properties
EntityId StrippedEntityId Value

Methods
%AddToSaveSet %AddToSyncSet %CheckConstraints %CheckConstraintsForExtent
%ClassIsLatestVersion %ClassName %ComposeOid %ConstructClone
%Delete %DeleteExtent %DeleteId %DispatchClassMethod
%DispatchGetModified %DispatchGetProperty %DispatchMethod %DispatchSetModified
%DispatchSetMultidimProperty %DispatchSetProperty %Exists %ExistsId
%Extends %GUID %GUIDSet %GetLock
%GetParameter %GetSwizzleObject %Id %IsA
%IsModified %IsNull %KillExtent %LockExtent
%LockId %New %NormalizeObject %ObjectIsNull
%ObjectModified %Oid %OnBeforeAddToSync %OnDetermineClass
%Open %OpenId %OriginalNamespace %PackageName
%PurgeIndices %Reload %RemoveFromSaveSet %ResolveConcurrencyConflict
%RollBack %Save %SaveDirect %SerializeObject
%SetModified %SortBegin %SortEnd %SyncObjectIn
%SyncTransport %UnlockExtent %UnlockId %ValidateIndices
%ValidateObject GetEntityId GetStrippedEntityId


Parameters

• parameter READONLY = 1;
READONLY = 1 means that objects can be created, opened but not saved or deleted. Tables are projected to SQL as READONLY.

Properties

• property EntityId as %Integer;
• property StrippedEntityId as %iFind.Entity [ Calculated ];
Calculated property returning the entity ID of the entity corresponding to this row, with all words stripped of leading and trailing punctuation. If no such entity exists, this record's entity ID is returned.
• property Value as %String(COLLATION="EXACT",MAXLEN="");
String value for this entity

Methods

• classmethod GetEntityId(pValue As %String) as %Integer [ SQLProc = GetEntityId ]
Returns the Entity ID corresponding to the supplied string
• classmethod GetStrippedEntityId(pEntity As %String, pOriginalId As %Integer = "", pKeepChars As %String = $$$STRIPKEEP) as %Integer [ SQLProc = GetStrippedEntityId ]
Returns the Entity ID corresponding to the supplied string, after stripping off punctuation. If no such entity exists, pOriginalId is returned.

Indices

•index (EntityIdx on EntityId) [IdKey,PrimaryKey,Unique];
•index (ValueIdx on Value) [Type = key,Unique];


Copyright (c) 2019 by InterSystems Corporation. Cambridge, Massachusetts, U.S.A. All rights reserved. Confidential property of InterSystems Corporation.