Sun Adapter for TCP/IP HL7

com.stc.connector.hl7.framework.spec.segment
Class SegmentSpec

java.lang.Object
  extended by com.stc.connector.hl7.framework.spec.component.ComponentSpec
      extended by com.stc.connector.hl7.framework.spec.segment.SegmentSpec
Direct Known Subclasses:
ERRSpec, MSASpec, MSHSpec, SFTSpec

public class SegmentSpec
extends ComponentSpec

Version:
cvs revision: $Revision: 1.2 $ Last Modified: $Date: 2005/09/03 06:28:28 $
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
SegmentSpec(java.lang.String versionID, java.lang.String name)
          Constructor for SegmentSpec.
 
Method Summary
 FieldSpec[] getFieldSpecs()
          Method getFieldSpecs.
protected  void setFieldSpecs(FieldSpec[] fieldSpecs)
          Sets the fieldSpecs.
 
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

SegmentSpec

public SegmentSpec(java.lang.String versionID,
                   java.lang.String name)
Constructor for SegmentSpec.

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

getFieldSpecs

public FieldSpec[] getFieldSpecs()
Method getFieldSpecs.

Returns:
FieldSpec[]

setFieldSpecs

protected void setFieldSpecs(FieldSpec[] fieldSpecs)
Sets the fieldSpecs.

Parameters:
fieldSpecs - The fieldSpecs to set

Sun Adapter for TCP/IP HL7