com.stc.connector.hl7.framework.spec.msg
Class MessageSpec
java.lang.Object
com.stc.connector.hl7.framework.spec.component.ComponentSpec
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
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. |
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
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
MessageSpec
public MessageSpec(java.lang.String versionID,
java.lang.String name)
- Constructor for MessageSpec.
- Parameters:
versionID
- The versionID to setname
- The name to set
getSegmentSpecs
public SegmentSpec[] getSegmentSpecs()
- Method getSegmentSpecs.
- Returns:
- SegmentSpec[]
setSegmentSpecs
protected void setSegmentSpecs(SegmentSpec[] segmentSpecs)
- Sets the segmentSpecs.
- Parameters:
segmentSpecs
- The segmentSpecs to set