com.stc.connector.hl7.framework.spec.field
Class FieldSpec
java.lang.Object
com.stc.connector.hl7.framework.spec.component.ComponentSpec
com.stc.connector.hl7.framework.spec.field.FieldSpec
public class FieldSpec
- extends ComponentSpec
- Version:
- cvs revision: $Revision: 1.2 $ Last Modified: $Date: 2005/09/03 06:28:26 $
- Author:
- Harry Liu
Field Summary |
static java.lang.String |
version
|
Fields inherited from class com.stc.connector.hl7.framework.spec.component.ComponentSpec |
OPTIONALITY_BACKWARD, OPTIONALITY_CONDITIONAL, OPTIONALITY_NOT_USED, OPTIONALITY_OPTIONAL, OPTIONALITY_REQUIRED, OPTIONALITY_WITHDRAWN, REPETITION_NO_REPETITION, REPETITION_REPEAT_UPTO_NUMBER, REPETITION_REPEATED, VERSION_ID_21, VERSION_ID_22, VERSION_ID_23, VERSION_ID_231, VERSION_ID_24, VERSION_ID_25, VERSION_ID_251 |
Constructor Summary |
FieldSpec(java.lang.String versionID,
java.lang.String name)
Constructor for FieldSpec. |
FieldSpec(java.lang.String versionID,
java.lang.String name,
int minLength,
int maxLength,
java.lang.String optionality,
java.lang.String repetition,
DataTypeSpec dataTypeSpec)
Constructor for FieldSpec. |
Methods inherited from class com.stc.connector.hl7.framework.spec.component.ComponentSpec |
getMaxLength, getMinLength, getName, getOptionality, getRepetition, getVersionID, setMaxLength, setMinLength, setName, setOptionality, setRepetition, setVersionID |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
version
public static final java.lang.String version
- See Also:
- Constant Field Values
FieldSpec
public FieldSpec(java.lang.String versionID,
java.lang.String name,
int minLength,
int maxLength,
java.lang.String optionality,
java.lang.String repetition,
DataTypeSpec dataTypeSpec)
- Constructor for FieldSpec.
- Parameters:
versionID
- The versionID to setname
- The name to setminLength
- maxLength
- optionality
- repetition
- dataTypeSpec
- The dataTypeSpec to set
FieldSpec
public FieldSpec(java.lang.String versionID,
java.lang.String name)
- Constructor for FieldSpec.
- Parameters:
versionID
- The versionID to setname
- The name to set
getDataTypeSpec
public DataTypeSpec getDataTypeSpec()
- Returns the dataTypeSpec.
- Returns:
- DataTypeSpec
setDataTypeSpec
protected void setDataTypeSpec(DataTypeSpec dataTypeSpec)
- Sets the dataTypeSpec.
- Parameters:
dataTypeSpec
- The dataTypeSpec to set