|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectca.uhn.hl7v2.model.AbstractType
ca.uhn.hl7v2.model.GenericComposite
public class GenericComposite
An unspecified Composite datatype that has an undefined number of components, each of which is a Varies. This is used to store Varies data, when the data type is unknown. It is also used to store unrecognized message constituents.
Constructor Summary | |
---|---|
GenericComposite(Message message)
Creates a new instance of GenericComposite |
Method Summary | |
---|---|
void |
clear()
Clears all data from this type |
Type |
getComponent(int number)
Returns the single component of this composite at the specified position (starting at 0) - Creates it (and any nonexistent components before it) if necessary. |
Type[] |
getComponents()
Returns an array containing the components of this field. |
java.lang.String |
getName()
Returns the name of the type (used in XML encoding and profile checking) |
Methods inherited from class ca.uhn.hl7v2.model.AbstractType |
---|
encode, getExtraComponents, getMessage, parse |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface ca.uhn.hl7v2.model.Type |
---|
encode, getExtraComponents, getMessage, parse |
Constructor Detail |
---|
public GenericComposite(Message message)
Method Detail |
---|
public Type getComponent(int number) throws DataTypeException
getComponent
in interface Composite
DataTypeException
public Type[] getComponents()
getComponents
in interface Composite
public java.lang.String getName()
getName
in interface Type
getName
in class AbstractType
public void clear()
clear
in interface Type
clear
in class AbstractType
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |