ca.uhn.hl7v2.model
Class GenericPrimitive

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

public class GenericPrimitive
extends AbstractPrimitive
implements Primitive

An unspecified Primitive datatype that imposes no constraints on its string value. This is used to store Varies data, when the data type is unknown. It is also used to store unrecognized message constituents.

Author:
Bryan Tripp
See Also:
Serialized Form

Constructor Summary
GenericPrimitive(Message message)
          Creates a new instance of GenericPrimitive
 
Method Summary
 String getName()
          Returns the name of the type (used in XML encoding and profile checking)
 String getVersion()
           
 
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.Primitive
getValue, setValue
 
Methods inherited from interface ca.uhn.hl7v2.model.Type
clear, encode, getExtraComponents, getMessage, parse
 

Constructor Detail

GenericPrimitive

public GenericPrimitive(Message message)
Creates a new instance of GenericPrimitive

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()
See Also:
ca.uhn.hl7v2.model.Primitive#getVersion()


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