ca.uhn.hl7v2.model
Class GenericGroup

java.lang.Object
  extended by ca.uhn.hl7v2.model.AbstractStructure
      extended by ca.uhn.hl7v2.model.AbstractGroup
          extended by ca.uhn.hl7v2.model.GenericGroup
All Implemented Interfaces:
Group, Structure, Serializable

public class GenericGroup
extends AbstractGroup

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:
Serialized Form

Field Summary
 
Fields inherited from class ca.uhn.hl7v2.model.AbstractStructure
log
 
Constructor Summary
GenericGroup(Group parent, String name, ModelClassFactory factory)
          Creates a new instance of GenericGroup
 
Method Summary
 String getName()
          Returns the name specified at construction time.
 
Methods inherited from class ca.uhn.hl7v2.model.AbstractGroup
add, add, addNonstandardSegment, addNonstandardSegment, clear, currentReps, get, get, getAll, getAllAsList, getClass, getFieldNumForName, getModelClassFactory, getNames, getNonStandardNames, getReps, getTyped, getTyped, insert, insertRepetition, insertRepetition, isGroup, isRepeating, isRequired, removeRepetition, tryToInstantiateStructure
 
Methods inherited from class ca.uhn.hl7v2.model.AbstractStructure
getMessage, getParent
 
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.Structure
getMessage, getParent
 

Constructor Detail

GenericGroup

public GenericGroup(Group parent,
                    String name,
                    ModelClassFactory factory)
Creates a new instance of GenericGroup

Method Detail

getName

public String getName()
Returns the name specified at construction time.

Specified by:
getName in interface Structure
Overrides:
getName in class AbstractGroup
See Also:
Structure.getName()


Copyright © 2001-2012 University Health Network. All Rights Reserved.