ca.uhn.hl7v2.model.primitive
Class IDWithNamespace

java.lang.Object
  extended by ca.uhn.hl7v2.model.AbstractType
      extended by ca.uhn.hl7v2.model.AbstractPrimitive
          extended by ca.uhn.hl7v2.model.primitive.ID
              extended by ca.uhn.hl7v2.model.primitive.IDWithNamespace
All Implemented Interfaces:
Primitive, Type, Serializable

public class IDWithNamespace
extends ID

HL7 ID type which also stores a namespace string

See Also:
Serialized Form

Constructor Summary
IDWithNamespace(Message theMessage, String theHl7Version, String theNamespace, int theTable)
           
IDWithNamespace(Message theMessage, String theHl7Version, String theNamespace, Integer theTable)
           
 
Method Summary
 String getName()
          Returns the name of the type (used in XML encoding and profile checking)
 String getTableNamespace()
           
 String getVersion()
          Returns the HL7 version associated with this type instance
 
Methods inherited from class ca.uhn.hl7v2.model.primitive.ID
getTable, setTable
 
Methods inherited from class ca.uhn.hl7v2.model.AbstractPrimitive
clear, encode, getValue, parse, setValue, toString
 
Methods inherited from class ca.uhn.hl7v2.model.AbstractType
getExtraComponents, getMessage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface ca.uhn.hl7v2.model.Type
getExtraComponents, getMessage
 

Constructor Detail

IDWithNamespace

public IDWithNamespace(Message theMessage,
                       String theHl7Version,
                       String theNamespace,
                       int theTable)

IDWithNamespace

public IDWithNamespace(Message theMessage,
                       String theHl7Version,
                       String theNamespace,
                       Integer theTable)
Method Detail

getName

public String getName()
Returns the name of the type (used in XML encoding and profile checking)

Specified by:
getName in interface Type
Overrides:
getName in class AbstractType

getVersion

public String getVersion()
Returns the HL7 version associated with this type instance


getTableNamespace

public String getTableNamespace()
Returns:
Returns the namespace associated with the table for this type


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