Package ca.uhn.hl7v2.model
Class GenericGroup
java.lang.Object
ca.uhn.hl7v2.model.AbstractStructure
ca.uhn.hl7v2.model.AbstractGroup
ca.uhn.hl7v2.model.GenericGroup
- All Implemented Interfaces:
Group,Structure,Visitable,Serializable
An undefined segment group. This is for storing undefined groups
that appear in XML-encoded messages. Note that if an undefined group appears
in an ER7-encoded message, the group structure won't be clear and we'll just assume
it's a flat list of segments.
- Author:
- Bryan Tripp
- See Also:
-
Field Summary
Fields inherited from class ca.uhn.hl7v2.model.AbstractStructure
log -
Constructor Summary
ConstructorsConstructorDescriptionGenericGroup(Group parent, String name, ModelClassFactory factory) Creates a generic group -
Method Summary
Methods inherited from class ca.uhn.hl7v2.model.AbstractGroup
accept, add, add, add, addNonstandardSegment, addNonstandardSegment, clear, currentReps, get, get, getAll, getAllAsList, getClass, getFieldNumForName, getModelClassFactory, getNames, getNonStandardNames, getReps, getTyped, getTyped, insert, insert, insertRepetition, insertRepetition, isChoiceElement, isEmpty, isGroup, isRepeating, isRequired, provideLocation, removeRepetition, tryToInstantiateStructure, visitNestedStructuresMethods inherited from class ca.uhn.hl7v2.model.AbstractStructure
getMessage, getParentMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ca.uhn.hl7v2.model.Structure
getMessage, getParent
-
Constructor Details
-
GenericGroup
Creates a generic group- Parameters:
parent- parent groupname- name of the groupfactory- ModelClassFactory to be used
-
-
Method Details
-
getName
Returns the name specified at construction time.- Specified by:
getNamein interfaceStructure- Overrides:
getNamein classAbstractGroup- Returns:
- name of this structure
- See Also:
-