|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectca.uhn.hl7v2.parser.StructureDefinition
public class StructureDefinition
Defines
| Constructor Summary | |
|---|---|
StructureDefinition()
Constructor |
|
| Method Summary | |
|---|---|
boolean |
equals(Object theObj)
|
HashSet<String> |
getAllChildNames()
|
HashSet<String> |
getAllPossibleFirstChildren()
Returns the names of any possible children that could be the first required child of this group. |
ArrayList<StructureDefinition> |
getChildren()
|
IStructureDefinition |
getFirstChild()
May return null |
IStructureDefinition |
getFirstSibling()
|
String |
getName()
|
String |
getNameAsItAppearsInParent()
|
Set<String> |
getNamesOfAllPossibleFollowingLeaves()
Should only be called on a leaf node (segment). |
IStructureDefinition |
getNextLeaf()
|
IStructureDefinition |
getNextSibling()
|
IStructureDefinition |
getParent()
|
int |
getPosition()
|
boolean |
hasChildren()
|
int |
hashCode()
|
boolean |
isFinalChildOfParent()
|
boolean |
isRepeating()
|
boolean |
isRequired()
|
boolean |
isSegment()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public StructureDefinition()
| Method Detail |
|---|
public boolean equals(Object theObj)
equals in class Objectpublic HashSet<String> getAllChildNames()
getAllChildNames in interface IStructureDefinitionpublic HashSet<String> getAllPossibleFirstChildren()
this.getName()
is also returned.
ORDER_OBSERVATION
{
[ ORC ]
OBR
[ { NTE } ]
[ CTD ]
OBSERVATION
{
[ OBX ]
[ { NTE } ]
}
OBSERVATION
[ { FT1 } ]
[ { CTI } ]
}
ORDER_OBSERVATION
getAllPossibleFirstChildren in interface IStructureDefinitionpublic ArrayList<StructureDefinition> getChildren()
getChildren in interface IStructureDefinitionpublic IStructureDefinition getFirstChild()
getFirstChild in interface IStructureDefinitionpublic IStructureDefinition getFirstSibling()
getFirstSibling in interface IStructureDefinitionnull if this is the first sibling, or if this has no parentpublic String getName()
getName in interface IStructureDefinitionpublic String getNameAsItAppearsInParent()
getNameAsItAppearsInParent in interface IStructureDefinitionIStructureDefinition.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.public Set<String> getNamesOfAllPossibleFollowingLeaves()
getNamesOfAllPossibleFollowingLeaves in interface IStructureDefinitionpublic IStructureDefinition getNextLeaf()
getNextLeaf in interface IStructureDefinitionnull.public IStructureDefinition getNextSibling()
getNextSibling in interface IStructureDefinitionpublic IStructureDefinition getParent()
getParent in interface IStructureDefinitionpublic int getPosition()
getPosition in interface IStructureDefinitionpublic boolean hasChildren()
hasChildren in interface IStructureDefinitionpublic int hashCode()
hashCode in class Objectpublic boolean isFinalChildOfParent()
isFinalChildOfParent in interface IStructureDefinitionpublic boolean isRepeating()
isRepeating in interface IStructureDefinitionpublic boolean isRequired()
isRequired in interface IStructureDefinitionpublic boolean isSegment()
isSegment in interface IStructureDefinitionpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||