|
Sun Adapter for TCP/IP HL7 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.stc.connector.hl7.framework.structure.component.GenericComponentImpl
com.stc.connector.hl7.framework.structure.segment.GenericSegmentImpl
public class GenericSegmentImpl
This class represents a generic implementation of HL7 segment.
| Field Summary | |
|---|---|
static java.lang.String |
version
|
| Constructor Summary | |
|---|---|
GenericSegmentImpl(Message message,
Field[] fields)
Method GenericSegmentImpl. |
|
GenericSegmentImpl(Message message,
java.lang.String content)
Constructor for GenericSegmentImpl. |
|
| Method Summary | |
|---|---|
Field[] |
getFields()
Method getFields. |
void |
marshal()
Method marshal. |
protected void |
setFields(Field[] fields)
Sets the fields. |
java.lang.String |
toXMLString(ComponentSpec componentSpec)
Method toXMLString. |
void |
unmarshal()
Method unmarshal. |
void |
validate(ComponentSpec componentSpec)
Method validate. |
| Methods inherited from class com.stc.connector.hl7.framework.structure.component.GenericComponentImpl |
|---|
getContent, getMessage, getName, getStatus, setContent, setMessage, setName |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.stc.connector.hl7.framework.structure.component.Component |
|---|
getContent, getMessage, getName, setContent, setName |
| Field Detail |
|---|
public static final java.lang.String version
| Constructor Detail |
|---|
public GenericSegmentImpl(Message message,
java.lang.String content)
throws HL7ApplicationException
message - content -
HL7ApplicationException
public GenericSegmentImpl(Message message,
Field[] fields)
throws HL7ApplicationException
message - fields -
HL7ApplicationException| Method Detail |
|---|
public void marshal()
throws HL7ApplicationException
Component
marshal in interface Componentmarshal in class GenericComponentImplHL7ApplicationExceptionComponent.marshal()
public void unmarshal()
throws HL7ApplicationException
Component
unmarshal in interface Componentunmarshal in class GenericComponentImplHL7ApplicationExceptionComponent.unmarshal()public Field[] getFields()
Segment
getFields in interface SegmentSegment.getFields()
protected void setFields(Field[] fields)
throws HL7ApplicationException
fields - The fields to set
HL7ApplicationException
public void validate(ComponentSpec componentSpec)
throws HL7ApplicationException
Component
validate in interface Componentvalidate in class GenericComponentImplHL7ApplicationExceptionComponent.validate(ComponentSpec)
public java.lang.String toXMLString(ComponentSpec componentSpec)
throws HL7ApplicationException
Component
toXMLString in interface ComponenttoXMLString in class GenericComponentImplHL7ApplicationExceptionComponent.toXMLString(com.stc.connector.hl7.framework.spec.component.ComponentSpec)
|
Sun Adapter for TCP/IP HL7 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||