public interface IDataType
| Modifier and Type | Method and Description |
|---|---|
IDataTypeKey |
getDataTypeName()
Returns the name of Data Type.
|
int |
getLength()
Returns the length of Data type.
|
java.lang.Object |
getValue()
Function returns the object of String value in case of primitive DataType.
|
boolean |
isPrimitive()
Returns the state for Data Type whether it
is primitive Data Type or composite DataType.
|
int |
read(java.lang.String strFieldStream,
IDelimiter objIDelimiter)
Reads data from the String.
|
void |
setValue(java.lang.Object obj)
Sets the value for Data Type as object.
|
boolean |
validate()
Validates HL7 DataType objects .
|
int |
write(IHL7Stream objIHL7Stream,
IDelimiter objIDelimiter)
Writes data to the Stream.
|
java.lang.Object getValue()
int read(java.lang.String strFieldStream,
IDelimiter objIDelimiter)
throws java.io.IOException
objIHL7Stream - - Object of IHL7StreamobjIDelimiter - - Object of IDelimiterjava.io.IOException - Thrown when any IO Operation failsint write(IHL7Stream objIHL7Stream, IDelimiter objIDelimiter) throws java.io.IOException
objIHL7Stream - - Object of IHL7StreamobjIDelimiter - - Object of IDelimiterjava.io.IOException - Thrown when any IO Operation failsboolean validate()
InvalidDataTypeException - Throws when DataType Validation failsvoid setValue(java.lang.Object obj)
int getLength()
boolean isPrimitive()
IDataTypeKey getDataTypeName()