Learning
Documentation
Community
Open Exchange
Global Masters
Home / Class Reference / ENSLIB namespace / %Library.PropertyDefinition
Private  Storage   

%Library.PropertyDefinition


persistent class %Library.PropertyDefinition extends
%AbstractDefinition

Note: The class definition classes in the %Library package have been superceded by those in the %Dictionary package.

This class represents a specific property description for a class contained within the Caché Dictionary.

For more information on class definition classes, refer to About Class Definition Classes.

Inventory


Parameters Properties Methods Queries Indices ForeignKeys Triggers
27


Summary


Properties
Calculated Cardinality ClassName Collection
Description Final InitialExpression Internal
Inverse MultiDimensional Name Parameters
Private ReadOnly Relationship Required
SequenceNumber SqlCollation SqlColumnNumber SqlComputeCode
SqlComputeOnChange SqlComputed SqlFieldName SqlListDelimiter
SqlListType Transient Type

Methods
%AddToSaveSet %AddToSyncSet %BuildIndices %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 GetTransientState SetTransientState
lb li ll


Properties


• property Calculated as %CacheString;
A flag indicating whether the property is calculated (1) or not (0).
• property Cardinality as %CacheString;
If the property is a relationship, this is a string contains the cardinality of the relationship. Cardinality = 'one' indicates the child side of the relationship while Cardinality = 'many' indicates the parent. Cardinality = 'child' and 'parent' mean the same but also indicate a dependent relationship.
• property ClassName as %CacheString;
A string containing the name of the class the property belongs to.
• property Collection as %CacheString;
If the property is a collection, this is a string containing the name of the collection type. If the property is not a collection (single-valued) it contains a null string ("").
• property Description as %CacheString;
A string containing the description of the property.
• property Final as %CacheString;
A flag indicating whether the property is final (1) or not (0).
• property InitialExpression as %CacheString [ InitialExpression = """""" ];
A string containing the initial value expression for the property.
• property Internal as %CacheString;
A flag indicating whether the property is internal (1) or not (0).
• property Inverse as %CacheString;
A string containing the name of the inverse relationship in the related class.
• property MultiDimensional as %CacheString;
A flag indicating whether the property is multi-dimensional (1) or not (0).
• property Name as %CacheString;
A string containing the name of the property.
• property Parameters as array of %CacheString;
An array containing any parameter definitions for the property. The array keys are the parameter names and the array values are the parameter values.
• property Private as %CacheString;
A flag indicating whether the property is private (1) or public (0).
• property ReadOnly as %CacheString;
A flag indicating whether the property is a readonly (1) or writeable (0).
• property Relationship as %CacheString;
A flag indicating whether the property is a relationship (1) or attribute (0).
• property Required as %CacheString;
A flag indicating whether the property is required (1) or not (0).
• property SequenceNumber as %CacheString;
Sequence number used to determine order of this item in Studio editor and in XML export format.
• property SqlCollation as %CacheString;
A string containing the name of the class this method belongs to.
• property SqlColumnNumber as %CacheString;
The column number used when projecting the property as an SQL table.
• property SqlComputeCode as %CacheString;
For an SQL-computed field this is a string containing any SQL compute code for the field.
• property SqlComputeOnChange as %CacheString;
• property SqlComputed as %CacheString;
A flag indicating whether the property is SQL-computed (1) or not (0).
• property SqlFieldName as %CacheString;
A string containing an optional SQL name for the property. This is the name with which the property is projected to SQL.
• property SqlListDelimiter as %CacheString;
• property SqlListType as %CacheString;
• property Transient as %CacheString;
A flag indicating whether the property is transient (1) or not (0).
• property Type as %CacheString;
A string containing the type (class name) of the field.