Sun Adapter for TCP/IP HL7

com.stc.connector.hl7.framework.spec.msg
Class MessageSpec

java.lang.Object
  extended by com.stc.connector.hl7.framework.spec.component.ComponentSpec
      extended by com.stc.connector.hl7.framework.spec.msg.MessageSpec
Direct Known Subclasses:
ACKSpec

public class MessageSpec
extends ComponentSpec

Version:
cvs revision: $Revision: 1.4 $ Last Modified: $Date: 2005/09/03 06:28:27 $
Author:
Harry Liu

Field Summary
static char DEFAULT_SEGMENT_TERMINATOR_CHAR
           
static java.lang.String DEFAULT_SEGMENT_TERMINATOR_STRING
           
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
MessageSpec(java.lang.String versionID, java.lang.String name)
          Constructor for MessageSpec.
 
Method Summary
 SegmentSpec[] getSegmentSpecs()
          Method getSegmentSpecs.
protected  void setSegmentSpecs(SegmentSpec[] segmentSpecs)
          Sets the segmentSpecs.
 
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

DEFAULT_SEGMENT_TERMINATOR_CHAR

public static final char DEFAULT_SEGMENT_TERMINATOR_CHAR
See Also:
Constant Field Values

DEFAULT_SEGMENT_TERMINATOR_STRING

public static final java.lang.String DEFAULT_SEGMENT_TERMINATOR_STRING
Constructor Detail

MessageSpec

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

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

getSegmentSpecs

public SegmentSpec[] getSegmentSpecs()
Method getSegmentSpecs.

Returns:
SegmentSpec[]

setSegmentSpecs

protected void setSegmentSpecs(SegmentSpec[] segmentSpecs)
Sets the segmentSpecs.

Parameters:
segmentSpecs - The segmentSpecs to set

Sun Adapter for TCP/IP HL7