Skip to main content


class EnsLib.RecordMap.Model.ComplexBatch extends %Library.RegisteredObject, %XML.Adaptor, Ens.Util.PortalModelBase

Model of the Complex RecordMap structures that is used to manage and manipulate ComplexBatch definitions.

Property Inventory

Method Inventory


parameter NAMESPACE =;
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.


property Elements as list of EnsLib.RecordMap.Model.BatchElement (XMLPROJECTION = "ELEMENT", XMLTYPECONSTRAINT = "CHOICE") [ Required ];
The main sequence of RecordReference and RecordSequence objects.
Property methods: ElementsBuildValueArray(), ElementsCollectionToDisplay(), ElementsCollectionToOdbc(), ElementsDisplayToCollection(), ElementsGet(), ElementsGetObject(), ElementsGetObjectId(), ElementsGetSwizzled(), ElementsIsValid(), ElementsOdbcToCollection(), ElementsSet(), ElementsSetObject(), ElementsSetObjectId()
An optional Header that precedes the main part of the batch.
Property methods: HeaderGet(), HeaderGetSwizzled(), HeaderIsValid(), HeaderNewObject(), HeaderSet()
An optional Trailer that appears after the main part of the batch.
Property methods: TrailerGet(), TrailerGetSwizzled(), TrailerIsValid(), TrailerNewObject(), TrailerSet()
property annotation as %String (MAXLEN = 1024);
Comments for the ComplexBatch. This text will appear as part of the class comments.
Property methods: annotationDisplayToLogical(), annotationGet(), annotationIsValid(), annotationLogicalToDisplay(), annotationLogicalToOdbc(), annotationNormalize(), annotationSet()
property charEncoding as %String (XMLNAME = "char_encoding", XMLPROJECTION = "ATTRIBUTE") [ InitialExpression = "UTF-8" , Required ];
Character encoding for imported data records
Property methods: charEncodingDisplayToLogical(), charEncodingGet(), charEncodingIsValid(), charEncodingLogicalToDisplay(), charEncodingLogicalToOdbc(), charEncodingNormalize(), charEncodingSet()
property name as %String (MAXLEN = 210, XMLPROJECTION = "ATTRIBUTE") [ Required ];
Name of the ComplexMap.
Property methods: nameDisplayToLogical(), nameGet(), nameIsValid(), nameLogicalToDisplay(), nameLogicalToOdbc(), nameNormalize(), nameSet()
property targetClassname as %String (MAXLEN = 220, XMLPROJECTION = "ATTRIBUTE") [ Required ];
Name of the InterSystems IRIS class to represent the persistent Complex RecordMap. This class will be generated as a subclass of EnsLib.RecordMap.ComplexBatch. If the RECORDMAPGENERATED parameter of the existing class is 0, then the target class will not be modified by the RecordMap framework - all changes are then the responsibility of the user.
Property methods: targetClassnameDisplayToLogical(), targetClassnameGet(), targetClassnameIsValid(), targetClassnameLogicalToDisplay(), targetClassnameLogicalToOdbc(), targetClassnameNormalize(), targetClassnameSet()


method CheckIdentifierCollisions() as %Status
Method that checks for identifier collisions in a Complex Batch definition.
method CheckNameCollisions(pValidate As %Boolean = 0) as %Status
Method that checks for name collisions in a Complex Batch definition.
classmethod Exists(pComplexBatchName As %String, Output pStatus As %Status) as %Boolean
classmethod LoadFromClass(pClassname As %String, Output pStatus As %Status, Output pReadOnly As %Boolean, pConcurrency As %Integer = -1) as EnsLib.RecordMap.Model.ComplexBatch
Deserialize the XML from the ComplexBatch XData block into a ComplexBatch model.
method SaveToClass() as %Status
Validates and then serializes the current Complex RecordMap structure into XML inside the ComplexBatch XData block in the relevant Complex RecordMap class.
classmethod validatePropertyName(pPropName As %String) as %Status

Inherited Members

Inherited Properties

Inherited Methods

FeedbackOpens in a new tab