|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectca.uhn.hl7v2.conf.classes.abs.AbstractConformanceDataType
public abstract class AbstractConformanceDataType
This class contains the functionality for a Data Type in the Conformance class set
Constructor Summary | |
---|---|
AbstractConformanceDataType(Primitive hapiPrimitive)
Constructor for AbstractConformanceDataType |
Method Summary | |
---|---|
abstract java.lang.String |
getConstantValue()
This method returns the constant value for the extending class. |
abstract long |
getMaxLength()
This method returns the Maximum length of the extending object. |
protected void |
setValue(java.lang.String value)
This method validates the String value passed in to be no greater then the
maximum allowable length for the extending class. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractConformanceDataType(Primitive hapiPrimitive)
hapiPrimitive
- the underlying primitive that the extending class representsMethod Detail |
---|
public abstract java.lang.String getConstantValue()
public abstract long getMaxLength()
protected void setValue(java.lang.String value) throws ConfDataException
String
value passed in to be no greater then the
maximum allowable length for the extending class. If the String
value is valid, this
method will set the underlying HAPI class's value. If the data passed in is invalid for the given
data type, a ConfDataException is thrown.
value
- the value of the Data Type
ConformaceException
ConfDataException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |