EnsLib.EDI.SEF.SegmentElement

class EnsLib.EDI.SEF.SegmentElement extends EnsLib.EDI.SEF.CommonNode

Property Inventory

Method Inventory

Properties

property Element as EnsLib.EDI.SEF.Element;
This holds the Element itself
Property methods: ElementGet(), ElementGetSwizzled(), ElementIsValid(), ElementNewObject(), ElementSet()
property ID as %Integer;
This holds the ID
Property methods: IDDisplayToLogical(), IDGet(), IDIsValid(), IDLogicalToDisplay(), IDNormalize(), IDSet()
property MaxLength as %Integer;
This holds the Max Length
Property methods: MaxLengthDisplayToLogical(), MaxLengthGet(), MaxLengthIsValid(), MaxLengthLogicalToDisplay(), MaxLengthNormalize(), MaxLengthSet()
property MinLength as %Integer;
This holds the Min length
Property methods: MinLengthDisplayToLogical(), MinLengthGet(), MinLengthIsValid(), MinLengthLogicalToDisplay(), MinLengthNormalize(), MinLengthSet()
property Ordinal as %Integer;
This holds the ordinal
Property methods: OrdinalDisplayToLogical(), OrdinalGet(), OrdinalIsValid(), OrdinalLogicalToDisplay(), OrdinalNormalize(), OrdinalSet()
property Type as %String;
This holds the Type
Property methods: TypeDisplayToLogical(), TypeGet(), TypeIsValid(), TypeLogicalToDisplay(), TypeLogicalToOdbc(), TypeNormalize(), TypeSet()

Methods

method ApplyMask(pMask As EnsLib.EDI.SEF.SegmentItemMask, Output pRequirement As %String, Output pMinLength As %Integer, Output pMaxLength As %Integer, Output pRepeatCount As %Integer) as %Status [ Language = objectscript ]
method GenerateDescriptor(pCompiler As EnsLib.EDI.SEF.Compiler) as %Status [ Language = objectscript ]
The MASK rules are very complicated and seem to be self-contradictory in places, this code is best guess. TO DO: Peer review required
method GenerateText(pStream As %CharacterStream) as %Status [ Language = objectscript ]
This method is override by subclases to generate the textual representation of this node
method MaxLengthGet() as %Integer [ Language = objectscript ]
Accessor for MaxLength
method MinLengthGet() as %Integer [ Language = objectscript ]
Accessor for MinLength
method TypeGet() as %String [ Language = objectscript ]
Accessor for Type
method Validate(ByRef pStatus As %Status) as %Status [ Language = objectscript ]
Perform a sanity check on the nodes in the parse tree

Inherited Members

Inherited Properties

Inherited Methods

Feedback