public class GenericPrimitive extends AbstractPrimitive implements Primitive
Constructor and Description |
---|
GenericPrimitive(Message message)
Create a generic primitive
|
Modifier and Type | Method and Description |
---|---|
String |
getName()
Returns the name of the type (used in XML encoding and profile checking)
|
String |
getVersion()
As this is a generic primitive, this method returns
null to
inidicate that it is not associated with a dedicated HL7 version |
accept, clear, encode, getValue, isEmpty, parse, setValue, toString
getExtraComponents, getMessage, provideLocation
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
clear, encode, getExtraComponents, getMessage, parse
accept, isEmpty, provideLocation
public GenericPrimitive(Message message)
message
- message to which the primitive is linked topublic String getName()
AbstractType
getName
in interface Type
getName
in class AbstractType
public String getVersion()
null
to
inidicate that it is not associated with a dedicated HL7 versionCopyright © 2001–2017 University Health Network. All rights reserved.