Skip to main content


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

Property Inventory

Method Inventory


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(), MaxLengthIsValid(), MaxLengthLogicalToDisplay(), MaxLengthNormalize(), MaxLengthSet()
property MinLength as %Integer;
This holds the Min length
Property methods: MinLengthDisplayToLogical(), 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(), TypeIsValid(), TypeLogicalToDisplay(), TypeLogicalToOdbc(), TypeNormalize(), TypeSet()


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
method GenerateDescriptor(pCompiler As EnsLib.EDI.SEF.Compiler) as %Status
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
This method is override by subclases to generate the textual representation of this node
method MaxLengthGet() as %Integer
Accessor for MaxLength
method MinLengthGet() as %Integer
Accessor for MinLength
method TypeGet() as %String
Accessor for Type
method Validate(ByRef pStatus As %Status) as %Status
Perform a sanity check on the nodes in the parse tree

Inherited Members

Inherited Properties

Inherited Methods

FeedbackOpens in a new tab