|
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 -
HL7ApplicationExceptionprotected GenericComponentImpl()
| Method Detail |
|---|
public java.lang.String getName()
Component
getName in interface ComponentComponent.getName()public java.lang.String getContent()
Component
getContent in interface ComponentComponent.getContent()public Message getMessage()
Component
getMessage in interface ComponentComponent.getMessage()
public void setContent(java.lang.String content)
throws HL7ApplicationException
Component
setContent in interface ComponentHL7ApplicationExceptionComponent.setContent(String)
public void marshal()
throws HL7ApplicationException
Component
marshal in interface ComponentHL7ApplicationExceptionComponent.marshal()
public void unmarshal()
throws HL7ApplicationException
Component
unmarshal in interface ComponentHL7ApplicationExceptionComponent.unmarshal()
public void setName(java.lang.String name)
throws HL7ApplicationException
setName in interface Componentname -
HL7ApplicationException
protected void setMessage(Message message)
throws HL7ApplicationException
message -
HL7ApplicationExceptionprotected Status getStatus()
public void validate(ComponentSpec componentSpec)
throws HL7ApplicationException
Component
validate in interface ComponentHL7ApplicationExceptionComponent.validate(ComponentSpec)
public java.lang.String toXMLString(ComponentSpec componentSpec)
throws HL7ApplicationException
Component
toXMLString in interface ComponentHL7ApplicationExceptionComponent.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 | ||||||||