Package ca.uhn.hl7v2.model
Interface Primitive
- All Superinterfaces:
Serializable,Type,Visitable
- All Known Implementing Classes:
AbstractPrimitive,AbstractTextPrimitive,DT,DT,DT,DT,DT,DT,DT,DT,DT,DT,DT,DT,DT,DTM,DTM,DTM,DTM,DTM,DTM,DTM,GenericPrimitive,ID,ID,ID,ID,ID,ID,ID,ID,ID,ID,ID,ID,ID,IDWithNamespace,IS,IS,IS,IS,IS,IS,IS,IS,IS,IS,IS,IS,ISWithNamespace,NULLDT,NULLDT,NULLDT,NULLDT,NULLDT,NULLDT,NULLDT,SNM,SNM,SNM,SNM,TM,TM,TM,TM,TM,TM,TM,TM,TM,TM,TM,TM,TM,TS,TSComponentOne,TSComponentOne,TSComponentOne,TSComponentOne,TSComponentOne
Represents the category of HL7 data types that contain a single value (in other
words have no subcomponents). Examples include ST and ID.
- Author:
- Bryan Tripp (bryan_tripp@sourceforge.net)
-
Method Summary
Methods inherited from interface ca.uhn.hl7v2.model.Type
clear, encode, getExtraComponents, getMessage, getName, parseMethods inherited from interface ca.uhn.hl7v2.model.Visitable
accept, isEmpty, provideLocation
-
Method Details
-
getValue
Returns a String representation of the value of this field.- Returns:
- a String representation of the value of this field
-
setValue
Sets the value of this field if the given value is legal in the context of the implementing class.- Parameters:
value- the value to be set- Throws:
DataTypeException- if the given value is not valid in this context.
-