|
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
public class GenericComponentImpl
This class represents a generic implementation of HL7 component structure.
Field Summary | |
---|---|
static java.lang.String |
version
|
Constructor Summary | |
---|---|
protected |
GenericComponentImpl()
Constructor for GenericComponentImpl. |
|
GenericComponentImpl(Message message,
java.lang.String name,
java.lang.String content)
Constructor for GenericComponentImpl. |
Method Summary | |
---|---|
java.lang.String |
getContent()
Method getContent. |
Message |
getMessage()
Method getMessage. |
java.lang.String |
getName()
Method getName. |
protected Status |
getStatus()
Returns the status. |
void |
marshal()
Method marshal. |
void |
setContent(java.lang.String content)
Method setContent. |
protected void |
setMessage(Message message)
Method setMessage. |
void |
setName(java.lang.String name)
Method setName. |
java.lang.String |
toXMLString(ComponentSpec componentSpec)
Method toXMLString. |
void |
unmarshal()
Method unmarshal. |
void |
validate(ComponentSpec componentSpec)
Method validate. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String version
Constructor Detail |
---|
public GenericComponentImpl(Message message, java.lang.String name, java.lang.String content) throws HL7ApplicationException
message
- name
- content
-
HL7ApplicationException
protected GenericComponentImpl()
Method Detail |
---|
public java.lang.String getName()
Component
getName
in interface Component
Component.getName()
public java.lang.String getContent()
Component
getContent
in interface Component
Component.getContent()
public Message getMessage()
Component
getMessage
in interface Component
Component.getMessage()
public void setContent(java.lang.String content) throws HL7ApplicationException
Component
setContent
in interface Component
HL7ApplicationException
Component.setContent(String)
public void marshal() throws HL7ApplicationException
Component
marshal
in interface Component
HL7ApplicationException
Component.marshal()
public void unmarshal() throws HL7ApplicationException
Component
unmarshal
in interface Component
HL7ApplicationException
Component.unmarshal()
public void setName(java.lang.String name) throws HL7ApplicationException
setName
in interface Component
name
-
HL7ApplicationException
protected void setMessage(Message message) throws HL7ApplicationException
message
-
HL7ApplicationException
protected Status getStatus()
public void validate(ComponentSpec componentSpec) throws HL7ApplicationException
Component
validate
in interface Component
HL7ApplicationException
Component.validate(ComponentSpec)
public java.lang.String toXMLString(ComponentSpec componentSpec) throws HL7ApplicationException
Component
toXMLString
in interface Component
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 |