Package hdi.edi.parser
Class EdiSeg
java.lang.Object
hdi.edi.parser.EdiSeg
- Direct Known Subclasses:
EdiTransactionSeg
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
static EdiSeg
cloneKeySegInfo
(EdiSeg otherEdiSeg) codeEntityConsumer
(Consumer<CodeEntity> codeEntityConsumer) boolean
containsQualifier
(EdiQualifier qualifier) ediSeparators
(EdiSeparators ediSeparators) eltByPosition
(int position) eltSet()
hdi.edi.edient.EdiEntity
entity()
entity
(hdi.edi.edient.EdiEntity entity) boolean
findChildSegs
(hdi.edi.legacyparser.SegmentType... segTypes) int
hashCode()
id()
int
index()
index
(int index) int
indexWithinTran
(int indexWithinTran) boolean
isAncestorOf
(EdiSeg descSeg) boolean
isArray()
boolean
isClaim()
boolean
boolean
boolean
isInType
(hdi.edi.legacyparser.SegmentType... segTypes) boolean
isLoop()
boolean
isLoopParent
(boolean isLoopParent) boolean
isParent()
isParent
(boolean isParent) boolean
isParentOf
(EdiSeg seg) boolean
isSameLoopOf
(EdiSeg seg) boolean
loop()
name()
org.bson.types.ObjectId
objId()
objId
(org.bson.types.ObjectId objId) hdi.edi.OwnerIdHolder
ownerIdHolder
(hdi.edi.OwnerIdHolder ownerIdHolder) org.bson.types.ObjectId
parentObjId
(org.bson.types.ObjectId parentObjId) void
rawElts()
static String
toString()
hdi.edi.legacyparser.SegmentType
type()
-
Constructor Details
-
EdiSeg
-
EdiSeg
-
EdiSeg
-
-
Method Details
-
parentSeg
-
index
-
isClaim
public boolean isClaim() -
isLoop
public boolean isLoop() -
id
-
eltSet
-
cloneKeySegInfo
-
name
-
addChild
-
findChildSegs
-
isInType
public boolean isInType(hdi.edi.legacyparser.SegmentType... segTypes) -
isInLoop
-
isParentOf
-
isSameLoopOf
-
isAncestorOf
-
eltVal
-
typeAsString
-
loopTypeName
-
rawString
-
rawStringWithSegID
-
isFixedWidth
public boolean isFixedWidth() -
getEdiSeparatorsForRendering
-
friendlyName
-
isUnknown
public boolean isUnknown() -
containsQualifier
-
eltByName
-
eltByPosition
-
toFormattedString
-
toFormattedStringWithChildren
-
toFormattedStringWithChildren
-
objId
public org.bson.types.ObjectId objId() -
parentObjId
public org.bson.types.ObjectId parentObjId() -
isParent
public boolean isParent() -
name
-
loop
-
type
public hdi.edi.legacyparser.SegmentType type() -
stringType
-
childSegs
-
parentSeg
-
ediSeparators
-
isArray
public boolean isArray() -
isLoopParent
public boolean isLoopParent() -
rawElts
-
index
public int index() -
indexWithinTran
public int indexWithinTran() -
entity
public hdi.edi.edient.EdiEntity entity() -
ownerIdHolder
public hdi.edi.OwnerIdHolder ownerIdHolder() -
codeEntityConsumer
-
toString
-
equals
-
hashCode
public int hashCode() -
objId
- Returns:
this
.
-
parentObjId
- Returns:
this
.
-
isParent
- Returns:
this
.
-
loop
- Returns:
this
.
-
eltSet
- Returns:
this
.
-
childSegs
- Returns:
this
.
-
ediSeparators
- Returns:
this
.
-
isLoopParent
- Returns:
this
.
-
indexWithinTran
- Returns:
this
.
-
entity
- Returns:
this
.
-
ownerIdHolder
- Returns:
this
.
-
codeEntityConsumer
- Returns:
this
.
-