|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectca.uhn.hl7v2.model.AbstractSegment
ca.uhn.hl7v2.model.GenericSegment
public class GenericSegment
An unspecified segment that has an undefined number of fields, each of which is a Varies. The primary intended use is to store data from Z segments. More precisely, any unknown segment that is encountered during parsing will be handled with this class. This includes segments that do not start with Z but nevertheless do not appear in the stated version of HL7. Also, this class is not used to handle Z segments that have been explicitly defined and declared (see Parser.packageList() ).
| Constructor Summary | |
|---|---|
GenericSegment(Group parent,
java.lang.String name)
Creates a new instance of GenericSegment |
|
| Method Summary | |
|---|---|
java.lang.String |
getName()
Returns the name specified at construction time. |
| Methods inherited from class ca.uhn.hl7v2.model.AbstractSegment |
|---|
add, getField, getField, getLength, getMaxCardinality, getMessage, getParent, isRequired, main, numFields |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GenericSegment(Group parent,
java.lang.String name)
| Method Detail |
|---|
public java.lang.String getName()
getName in interface StructuregetName in class AbstractSegmentStructure.getName()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||