|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IStructureDefinition
Contains information about the composition of a given type of Structure
.
At runtime, parsers will use accessors provided by various structure types (messages, groups,
segments) to determine the structure of a messages. Structure definitions are used
to cache that information between parse calls.
Method Summary | |
---|---|
java.util.Set<java.lang.String> |
getAllChildNames()
|
java.util.Set<java.lang.String> |
getAllPossibleFirstChildren()
Returns the names of any possible children that could be the first required child of this group. |
java.util.List<StructureDefinition> |
getChildren()
|
IStructureDefinition |
getFirstChild()
May return null |
IStructureDefinition |
getFirstSibling()
|
java.lang.String |
getName()
|
java.lang.String |
getNameAsItAppearsInParent()
|
java.util.Set<java.lang.String> |
getNamesOfAllPossibleFollowingLeaves()
Should only be called on a leaf node (segment). |
IStructureDefinition |
getNextLeaf()
|
IStructureDefinition |
getNextSibling()
|
IStructureDefinition |
getParent()
|
int |
getPosition()
|
boolean |
hasChildren()
|
boolean |
isFinalChildOfParent()
|
boolean |
isRepeating()
|
boolean |
isRequired()
|
boolean |
isSegment()
|
Method Detail |
---|
IStructureDefinition getFirstSibling()
null if this is the first sibling, or if this has no parent
IStructureDefinition getNextLeaf()
null
.java.lang.String getNameAsItAppearsInParent()
getName()
} in the case of multiple segments
with the same name in a group, e.g. the two PID segments in ADT_A17,
where the second one it known as PID2 to it's parent.java.lang.String getName()
boolean isSegment()
boolean isRepeating()
java.util.List<StructureDefinition> getChildren()
int getPosition()
IStructureDefinition getParent()
boolean isFinalChildOfParent()
IStructureDefinition getNextSibling()
boolean hasChildren()
java.util.Set<java.lang.String> getNamesOfAllPossibleFollowingLeaves()
IStructureDefinition getFirstChild()
java.util.Set<java.lang.String> getAllPossibleFirstChildren()
this.getName()
is also returned.
ORDER_OBSERVATION
{
[ ORC ]
OBR
[ { NTE } ]
[ CTD ]
OBSERVATION
{
[ OBX ]
[ { NTE } ]
}
OBSERVATION
[ { FT1 } ]
[ { CTI } ]
}
ORDER_OBSERVATION
java.util.Set<java.lang.String> getAllChildNames()
boolean isRequired()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |