Learning
Documentation
Community
Open Exchange
Global Masters
Home / Class Reference / ENSLIB namespace / Ens.Config.SearchTableProp
Private  Storage   

Ens.Config.SearchTableProp


persistent class Ens.Config.SearchTableProp extends
%Persistent, Ens.Config.SearchTablePropAttrs

Persistent SearchTable Property specifier object, stored for use in generating SearchTable code and queries

Inventory


Parameters Properties Methods Queries Indices ForeignKeys Triggers
2 6 3 2


Summary


Properties
ClassDerivation ClassExtent IndexType IsImplicit
Name PropId PropType SourceClass
StoreNulls Unselective

Methods
%AddToSaveSet %AddToSyncSet %BMEBuilt %BuildIndicesAsync
%BuildIndicesAsyncResponse %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 %InsertBatch %IsA
%IsModified %IsNull %KillExtent %KillExtentData
%LoadFromMemory %LockExtent %LockId %New
%NormalizeObject %ObjectIsNull %ObjectModified %Oid
%OnBeforeAddToSync %OnDetermineClass %Open %OpenId
%OriginalNamespace %PackageName %PhysicalAddress %PurgeIndices
%Reload %RemoveFromSaveSet %ResolveConcurrencyConflict %RollBack
%Save %SaveDirect %SaveIndices %SerializeObject
%SetModified %SortBegin %SortEnd %SyncObjectIn
%SyncTransport %UnlockExtent %UnlockId %ValidateIndices
%ValidateObject SourceClassGet UpdateOrCreate


Parameters


• parameter XMLIGNORENULL = 1;
• parameter XMLNAME = "Property";

Properties


• property ClassDerivation as %String(MAXLEN=1011,XMLPROJECTION="NONE");
Full inheritance path for the class defining this property, down to Ens.VDoc.SearchTable This is used to identify which particular SearchTable subclass defined a particular property
• property ClassExtent as %String(MAXLEN=128,XMLPROJECTION="NONE");
Base class for the database extent of the class defining this property
• property IsImplicit as %Boolean(XMLPROJECTION="NONE") [ InitialExpression = 0 ];
Was this property created by an explicit SearchTable property declaration or just by being referenced in a SearchTable item
• property Name as %String(XMLPROJECTION="ATTRIBUTE");
• property PropId as %Integer(XMLPROJECTION="NONE");
Id of the property definition within its SearchTable class extent Storing the PropId instead of the property Name saves storage space in the SearchTable
• property SourceClass as %String [ Calculated,Transient ];
Name of class from which this property is derived

Methods


• method SourceClassGet() as %String
This is a Get accessor method for the SourceClass property.
• classmethod UpdateOrCreate(pTemplate As Ens.Config.SearchTableProp, Output pProp As Ens.Config.SearchTableProp, pClassExtent As %String, pLockTimeout As %Numeric = 5) as %Status

Indices


•index (indexClassProp on ClassExtent,Name) [IdKey];
•index (indexPropId on PropId);