|
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.tcpip.ext.msg.MessageInfo
public class MessageInfo
This class represents the message configuration information.
| Field Summary | |
|---|---|
static java.lang.String |
version
|
| Constructor Summary | |
|---|---|
MessageInfo()
Constructor |
|
MessageInfo(com.stc.connector.framework.util.ConfigurationHelper aConfiguration)
Constructor for MessageInfo. |
|
| Method Summary | |
|---|---|
int |
getBytesToRead()
Returns the value of bytesToRead. |
java.lang.String |
getCustomEnvelopedClassName()
Returns the customEnvelopedClassName. |
java.lang.String |
getCustomerDefinedProperty()
Returns the customerDefinedProperty. |
java.lang.String |
getEnvelopeType()
Returns the envelopeType. |
char |
getIgnoreUntilChar()
Returns the ignoreUntilChar. |
com.stc.connector.framework.util.ConfigurationHelper |
getInitPropertiesInfo()
Returns the initial configuration. |
java.lang.String |
getNumericRepresentation()
Returns the numericRepresentation. |
char |
getStoreUntilChar()
Returns the storeUntilChar. |
int |
getWidthOfLength()
Returns the widthOfLength. |
boolean |
isBeginEndMarkedMsg()
Checks whether the envelope type is BeginEndMarked. |
boolean |
isCustomEnvelopedMsg()
Checks whether the envelope type is Custom (user-defined). |
boolean |
isEndMarkedMsg()
Checks whether the envelope type is EndMarked. |
boolean |
isFixedLengthMsg()
Checks whether the envelope type is FixedLength. |
boolean |
isLengthPrefixedMsg()
Checks whether the envelope type is LengthPrefixed. |
boolean |
isMarkedAndFixedMsg()
Checks whether the envelope type is MarkedAndFixed. |
boolean |
isNumericRepDecimal()
Checks whether the NumericRep is Decimal. |
boolean |
isNumericRepHexadecimal()
Checks whether the NumericRep is Hexadecimal. |
boolean |
isNumericRepNetworkLong()
Checks whether the NumericRep Network Long. |
boolean |
isNumericRepNetworkShort()
Checks whether the NumericRep is Network Short. |
boolean |
isNumericRepOctal()
Checks whether the NumericRep is Octal. |
boolean |
isPerActiveConnectionMsg()
Checks whether the envelope type is PerActiveConnection. |
void |
setBytesToRead(int bytesToRead)
Sets the bytesToRead. |
void |
setCustomEnvelopedClassName(java.lang.String customEnvelopedClassName)
Sets the customEnvelopedClassName. |
void |
setCustomerDefinedProperty(java.lang.String customerDefinedProperty)
Sets the customerDefinedProperty. |
void |
setEnvelopeType(java.lang.String envelopeType)
Sets the envelopeType. |
void |
setIgnoreUntilChar(char ignoreUntilChar)
Sets the ignoreUntilChar. |
void |
setNumericRepresentation(java.lang.String numericRepresentation)
Sets the numericRepresentation. |
void |
setStoreUntilChar(char storeUntilChar)
Sets the storeUntilChar. |
void |
setWidthOfLength(int widthOfLength)
Sets the widthOfLength. |
void |
validate()
Validates the message configuration settings. |
| 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 MessageInfo()
throws TCPIPApplicationException
TCPIPApplicationException - on error
public MessageInfo(com.stc.connector.framework.util.ConfigurationHelper aConfiguration)
throws TCPIPApplicationException
aConfiguration - STCPropertiesInfo instance
TCPIPApplicationException - on error| Method Detail |
|---|
public int getBytesToRead()
getBytesToRead in interface MessageInfoInterfacepublic java.lang.String getEnvelopeType()
getEnvelopeType in interface MessageInfoInterfacepublic java.lang.String getCustomEnvelopedClassName()
getCustomEnvelopedClassName in interface MessageInfoInterfacepublic java.lang.String getCustomerDefinedProperty()
getCustomerDefinedProperty in interface MessageInfoInterfacepublic char getIgnoreUntilChar()
getIgnoreUntilChar in interface MessageInfoInterfacepublic java.lang.String getNumericRepresentation()
getNumericRepresentation in interface MessageInfoInterfacepublic char getStoreUntilChar()
getStoreUntilChar in interface MessageInfoInterfacepublic int getWidthOfLength()
getWidthOfLength in interface MessageInfoInterfacepublic com.stc.connector.framework.util.ConfigurationHelper getInitPropertiesInfo()
public boolean isNumericRepDecimal()
isNumericRepDecimal in interface MessageInfoInterfacepublic boolean isNumericRepHexadecimal()
isNumericRepHexadecimal in interface MessageInfoInterfacepublic boolean isNumericRepOctal()
isNumericRepOctal in interface MessageInfoInterfacepublic boolean isNumericRepNetworkShort()
isNumericRepNetworkShort in interface MessageInfoInterfacepublic boolean isNumericRepNetworkLong()
isNumericRepNetworkLong in interface MessageInfoInterfacepublic boolean isBeginEndMarkedMsg()
isBeginEndMarkedMsg in interface MessageInfoInterfacepublic boolean isEndMarkedMsg()
isEndMarkedMsg in interface MessageInfoInterfacepublic boolean isFixedLengthMsg()
isFixedLengthMsg in interface MessageInfoInterfacepublic boolean isLengthPrefixedMsg()
isLengthPrefixedMsg in interface MessageInfoInterfacepublic boolean isMarkedAndFixedMsg()
isMarkedAndFixedMsg in interface MessageInfoInterfacepublic boolean isPerActiveConnectionMsg()
isPerActiveConnectionMsg in interface MessageInfoInterfacepublic boolean isCustomEnvelopedMsg()
isCustomEnvelopedMsg in interface MessageInfoInterface
public void setBytesToRead(int bytesToRead)
throws TCPIPApplicationException
setBytesToRead in interface MessageInfoInterfacebytesToRead - The bytesToRead to set
TCPIPApplicationException - on error
public void setEnvelopeType(java.lang.String envelopeType)
throws TCPIPApplicationException
setEnvelopeType in interface MessageInfoInterfaceenvelopeType - The envelopeType to set
TCPIPApplicationException - on errorpublic void setCustomEnvelopedClassName(java.lang.String customEnvelopedClassName)
- It should represent a solid class.
- It should have a constructor with an empty argument list.
- It should be a type of com.stc.connector.tcpip.ext.msg.EnvelopedMsgReceiver.
- It should be a type of com.stc.connector.tcpip.ext.msg.EnvelopedMsgSender.
setCustomEnvelopedClassName in interface MessageInfoInterfacecustomEnvelopedClassName - The customEnvelopedClassName to setpublic void setCustomerDefinedProperty(java.lang.String customerDefinedProperty)
setCustomerDefinedProperty in interface MessageInfoInterfacecustomerDefinedProperty - The customerDefinedProperty to set
public void setIgnoreUntilChar(char ignoreUntilChar)
throws TCPIPApplicationException
setIgnoreUntilChar in interface MessageInfoInterfaceignoreUntilChar - The ignoreUntilChar to set
TCPIPApplicationException - on error
public void setNumericRepresentation(java.lang.String numericRepresentation)
throws TCPIPApplicationException
. Decimal
. Hexadecimal
. Octal
. Network Long
. Network Short
setNumericRepresentation in interface MessageInfoInterfacenumericRepresentation - The numericRepresentation to set
TCPIPApplicationException - on error
public void setStoreUntilChar(char storeUntilChar)
throws TCPIPApplicationException
setStoreUntilChar in interface MessageInfoInterfacestoreUntilChar - The storeUntilChar to set
TCPIPApplicationException - on error
public void setWidthOfLength(int widthOfLength)
throws TCPIPApplicationException
setWidthOfLength in interface MessageInfoInterfacewidthOfLength - The widthOfLength to set
TCPIPApplicationException - on error
public void validate()
throws TCPIPApplicationException
TCPIPApplicationException - on error
|
Sun Adapter for TCP/IP HL7 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||