Sun Adapter for TCP/IP HL7

com.stc.connector.hl7.framework.spec.field
Class FieldSpec

java.lang.Object
  extended by com.stc.connector.hl7.framework.spec.component.ComponentSpec
      extended by 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.
 
Method Summary
 DataTypeSpec getDataTypeSpec()
          Returns the dataTypeSpec.
protected  void setDataTypeSpec(DataTypeSpec dataTypeSpec)
          Sets the dataTypeSpec.
 
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
 

Field Detail

version

public static final java.lang.String version
See Also:
Constant Field Values
Constructor Detail

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 set
name - The name to set
minLength -
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 set
name - The name to set
Method Detail

getDataTypeSpec

public DataTypeSpec getDataTypeSpec()
Returns the dataTypeSpec.

Returns:
DataTypeSpec

setDataTypeSpec

protected void setDataTypeSpec(DataTypeSpec dataTypeSpec)
Sets the dataTypeSpec.

Parameters:
dataTypeSpec - The dataTypeSpec to set

Sun Adapter for TCP/IP HL7