|
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.field.GenericFieldImpl
public class GenericFieldImpl
This class represents a generic implementation of HL7 field.
Field Summary | |
---|---|
static java.lang.String |
version
|
Constructor Summary | |
---|---|
GenericFieldImpl(Message message,
java.lang.String name,
DataType dataType)
Constructor for GenericFieldImpl. |
|
GenericFieldImpl(Message message,
java.lang.String name,
java.lang.String content)
Constructor for GenericFieldImpl. |
Method Summary | |
---|---|
DataType |
getDataType()
Method getDataType. |
void |
marshal()
Method marshal. |
protected void |
setDataType(DataType dataType)
Sets the dataType. |
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 GenericFieldImpl(Message message, java.lang.String name, java.lang.String content) throws HL7ApplicationException
message
- name
- content
-
HL7ApplicationException
public GenericFieldImpl(Message message, java.lang.String name, DataType dataType) throws HL7ApplicationException
message
- name
- dataType
-
HL7ApplicationException
Method Detail |
---|
public void marshal() throws HL7ApplicationException
Component
marshal
in interface Component
marshal
in class GenericComponentImpl
HL7ApplicationException
Component.marshal()
public void unmarshal() throws HL7ApplicationException
Component
unmarshal
in interface Component
unmarshal
in class GenericComponentImpl
HL7ApplicationException
Component.unmarshal()
public DataType getDataType()
Field
getDataType
in interface Field
Field.getDataType()
protected void setDataType(DataType dataType) throws HL7ApplicationException
dataType
- The dataType to set
HL7ApplicationException
public void validate(ComponentSpec componentSpec) throws HL7ApplicationException
Component
validate
in interface Component
validate
in class GenericComponentImpl
HL7ApplicationException
Component.validate(ComponentSpec)
public java.lang.String toXMLString(ComponentSpec componentSpec) throws HL7ApplicationException
Component
toXMLString
in interface Component
toXMLString
in class GenericComponentImpl
HL7ApplicationException
Component.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 |