Class Reference
IRIS for UNIX 2019.2
InterSystems: The power behind what matters   
Documentation  Search
  [ENSLIB] >  [Ens] >  [Config] >  [SearchTableProp]
Private  Storage   

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

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


Parameters Properties Methods Queries Indices ForeignKeys Triggers
2 6 3 2


ClassDerivation ClassExtent IndexType IsImplicit
Name PropId PropType SourceClass
StoreNulls Unselective

%AddToSaveSet %AddToSyncSet %BMEBuilt %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


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


• 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


• 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


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

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