ca.uhn.hl7v2.model
Class GenericGroup

java.lang.Object
  extended by ca.uhn.hl7v2.model.AbstractGroup
      extended by ca.uhn.hl7v2.model.GenericGroup
All Implemented Interfaces:
Group, Structure, java.io.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

Constructor Summary
GenericGroup(Group parent, java.lang.String name, ModelClassFactory factory)
          Creates a new instance of GenericGroup
 
Method Summary
 java.lang.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, getClass, getMessage, getModelClassFactory, getNames, getParent, insertRepetition, insertRepetition, isRepeating, isRequired, removeRepetition
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GenericGroup

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

Method Detail

getName

public java.lang.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-2011 University Health Network. All Rights Reserved.