Sun Adapter for TCP/IP HL7

com.stc.connector.hl7.framework.spec.table
Class TableSpec

java.lang.Object
  extended by com.stc.connector.hl7.framework.spec.component.ComponentSpec
      extended by com.stc.connector.hl7.framework.spec.table.TableSpec
Direct Known Subclasses:
Table0003Spec, Table0008Spec, Table0076Spec, Table0102Spec, Table0103Spec, Table0104Spec, Table0155Spec, Table0207Spec, Table0211Spec, Table0300Spec, Table0354Spec, Table0356Spec, Table0357Spec, Table0361Spec, Table0362Spec, Table0399Spec, Table0449Spec, Table0516Spec, Table0517Spec, Table0518Spec, Table0519Spec, Table0533Spec

public class TableSpec
extends ComponentSpec

Version:
cvs revision: $Revision: 1.4 $ Last Modified: $Date: 2005/09/03 06:28:35 $
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
TableSpec(java.lang.String versionID, java.lang.String tableNumber)
          Constructor for TableSpec.
TableSpec(java.lang.String versionID, java.lang.String tableNumber, int minLength, int maxLength, java.lang.String optionality, java.lang.String repetition)
          Constructor for TableSpec.
 
Method Summary
 void addNewTableEntryValue(java.lang.String value)
           
 boolean contains(java.lang.String value)
          Method contains.
 java.util.ArrayList getTableEntryValues()
          Returns the tableEntryValues.
 java.lang.String getTableNumber()
          Returns the tableNumber.
 void removeTableEntryValue(java.lang.String value)
           
protected  void setTableEntryValues(java.util.ArrayList tableEntryValues)
          Sets the tableEntryValues.
 void setTableEntryValueToBeAdded(java.lang.String value)
           
 void setTableEntryValueToBeRemoved(java.lang.String value)
           
protected  void setTableNumber(java.lang.String tableNumber)
          Sets the tableNumber.
 
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

TableSpec

public TableSpec(java.lang.String versionID,
                 java.lang.String tableNumber,
                 int minLength,
                 int maxLength,
                 java.lang.String optionality,
                 java.lang.String repetition)
Constructor for TableSpec.

Parameters:
versionID - The versionID to set
tableNumber -
minLength -
maxLength -
optionality -
repetition -

TableSpec

public TableSpec(java.lang.String versionID,
                 java.lang.String tableNumber)
Constructor for TableSpec.

Parameters:
versionID - The versionID to set
tableNumber - The tableNumber to set
Method Detail

contains

public boolean contains(java.lang.String value)
Method contains.

Parameters:
value -
Returns:
boolean

getTableEntryValues

public java.util.ArrayList getTableEntryValues()
Returns the tableEntryValues.

Returns:
ArrayList

setTableEntryValues

protected void setTableEntryValues(java.util.ArrayList tableEntryValues)
Sets the tableEntryValues.

Parameters:
tableEntryValues - The tableEntryValues to set

getTableNumber

public java.lang.String getTableNumber()
Returns the tableNumber.

Returns:
String

setTableNumber

protected void setTableNumber(java.lang.String tableNumber)
Sets the tableNumber.

Parameters:
tableNumber - The tableNumber to set

addNewTableEntryValue

public void addNewTableEntryValue(java.lang.String value)
Parameters:
value -

setTableEntryValueToBeAdded

public void setTableEntryValueToBeAdded(java.lang.String value)
Parameters:
value -

removeTableEntryValue

public void removeTableEntryValue(java.lang.String value)
Parameters:
value -

setTableEntryValueToBeRemoved

public void setTableEntryValueToBeRemoved(java.lang.String value)
Parameters:
value -

Sun Adapter for TCP/IP HL7