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

EnsLib.RecordMap.Model.HeaderTrailer


class EnsLib.RecordMap.Model.HeaderTrailer extends
%Library.RegisteredObject, %XML.Adaptor

Base class for Header and Trailer records used in a Complex Map.

Inventory


Parameters Properties Methods Queries Indices ForeignKeys Triggers
2 3 1


Summary


Properties
annotation name recordMap

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 XMLAfterExport XMLBeforeExport
XMLDTD XMLExport XMLExportInternal XMLExportToStream
XMLExportToString XMLGetSchemaImports XMLImport XMLImportInternal
XMLIsObjectEmpty XMLNew XMLSchema XMLSchemaNamespace
XMLSchemaType

Subclasses
EnsLib.RecordMap.Model.HeaderRecord EnsLib.RecordMap.Model.TrailerRecord

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 annotation as %String(MAXLEN=1024);
Comments for the Header or Trailer.
• property name as %String(MAXLEN=128,XMLPROJECTION="ATTRIBUTE") [ Required ];
The name of the Header or Trailer.
• property recordMap as %String(MAXLEN=220,XMLPROJECTION="ATTRIBUTE") [ Required ];
The name of the RecordMap to use.

Methods


• private method %OnValidateObject() as %Status
Validate name is a valid property name, and that recordMap refers to a RecordMap that exists.