Home > Class Reference > ENSLIB namespace > 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.

Property Inventory (Including Private)

Method Inventory (Including Private)


parameter NAMESPACE = http://www.intersystems.com/Ensemble/RecordMap;
Inherited description: 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;
Inherited description: 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 (Including Private)

property annotation as %String (MAXLEN = 1024);
Comments for the Header or Trailer.
Property methods: annotationDisplayToLogical(), annotationGet(), annotationIsValid(), annotationLogicalToDisplay(), annotationLogicalToOdbc(), annotationNormalize(), annotationSet()
property name as %String (MAXLEN = 128, XMLPROJECTION = "ATTRIBUTE") [ Required ];
The name of the Header or Trailer.
Property methods: nameDisplayToLogical(), nameGet(), nameIsValid(), nameLogicalToDisplay(), nameLogicalToOdbc(), nameNormalize(), nameSet()
property recordMap as %String (MAXLEN = 220, XMLPROJECTION = "ATTRIBUTE") [ Required ];
The name of the RecordMap to use.
Property methods: recordMapDisplayToLogical(), recordMapGet(), recordMapIsValid(), recordMapLogicalToDisplay(), recordMapLogicalToOdbc(), recordMapNormalize(), recordMapSet()

Methods (Including Private)

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

Inherited Members

Inherited Methods (Including Private)