Learning
Documentation
Community
Open Exchange
Global Masters
Home > Class Reference > ENSLIB namespace > EnsLib.RecordMap.Model.RecordProperty
Private  Storage   

EnsLib.RecordMap.Model.RecordProperty


abstract class EnsLib.RecordMap.Model.RecordProperty extends
%RegisteredObject, %XML.Adaptor

Abstract model superclass for Composite and Field objects. This class is needed to allow a collection of both object types to be created.

Inventory


Parameters Properties Methods Queries Indices ForeignKeys Triggers
2 5 1


Summary


Properties
RecordType annotation ignored name required

Methods
%%OIDGet %AddToSaveSet %BindExport %BuildObjectGraph
%ClassIsLatestVersion %ClassName %Close %ConstructClone
%DispatchClassMethod %DispatchGetModified %DispatchGetProperty %DispatchMethod
%DispatchSetModified %DispatchSetMultidimProperty %DispatchSetProperty %Extends
%GetParameter %IncrementCount %IsA %IsModified
%New %NormalizeObject %ObjectModified %OriginalNamespace
%PackageName %RemoveFromSaveSet %SerializeObject %SetModified
%ValidateObject %XMLGenerate GetDepth XMLAfterExport
XMLBeforeExport XMLDTD XMLExport XMLExportInternal
XMLExportToStream XMLExportToString XMLGetSchemaImports XMLImport
XMLImportInternal XMLIsObjectEmpty XMLNew XMLSchema
XMLSchemaNamespace XMLSchemaType

Subclasses
EnsLib.RecordMap.Model.Composite EnsLib.RecordMap.Model.Field

Parameters


• parameter NAMESPACE = "http://www.intersystems.com/Ensemble/RecordMap";
NAMESPACE specifies the XML namespace to be used when projecting the class to XML. If NAMESPACE = "", the default namespace is used for the XML schema is used as the namespace for his class.
• parameter XMLSEQUENCE = 1;
If the XMLSEQUENCE = 1, then the order of the XML elements must match the order of the class properties. This allows us to deal with XML where the same field appears multiple times and is distinguished by the order.

Properties


• property RecordType as EnsLib.RecordMap.Model.DataType.RecordType(XMLPROJECTION="NONE");
A non-projected property to indicate what kind of RecordMap is being composed.
• property annotation as %String(MAXLEN=1024);
Comments for the property.
• property ignored as EnsLib.RecordMap.Model.DataType.Boolean(XMLPROJECTION="ATTRIBUTE");
Field/Composite appears in the records, but should not be mapped to a property in the record object.
• property name as %String(XMLPROJECTION="ATTRIBUTE") [ Required ];
The name of the Field or Composite.
• property required as EnsLib.RecordMap.Model.DataType.Boolean(XMLPROJECTION="ATTRIBUTE");
Indicate whether the property is required. In the case of Fields, this also indicates whether the property in InterSystems IRIS should be marked as required for successful validation.

Methods


• method GetDepth(Output pHasRepeats As %Boolean) as %Integer
Recursive method to retrieve the greatest depth of this branch of the object graph.