|
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.datatype.GenericDataTypeImpl
public class GenericDataTypeImpl
This class represents a generic implementation of HL7 data type.
Field Summary | |
---|---|
static java.lang.String |
version
|
Constructor Summary | |
---|---|
GenericDataTypeImpl(Message message,
java.lang.String name,
DataType[] dataTypes)
Constructor for GenericDataTypeImpl. |
|
GenericDataTypeImpl(Message message,
java.lang.String name,
java.lang.String content)
Constructor for GenericDataTypeImpl. |
Method Summary | |
---|---|
DataType[] |
getSubDataTypes()
Method getSubDataTypes. |
void |
marshal()
Method marshal. |
protected void |
setSubDataTypes(DataType[] subDataTypes)
Sets the subDataTypes. |
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 GenericDataTypeImpl(Message message, java.lang.String name, java.lang.String content) throws HL7ApplicationException
message
- name
- content
-
HL7ApplicationException
public GenericDataTypeImpl(Message message, java.lang.String name, DataType[] dataTypes) throws HL7ApplicationException
message
- name
- dataTypes
-
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[] getSubDataTypes()
DataType
getSubDataTypes
in interface DataType
DataType.getSubDataTypes()
protected void setSubDataTypes(DataType[] subDataTypes) throws HL7ApplicationException
subDataTypes
- The subDataTypes 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 |