|
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 errorpublic MessageInfo(com.stc.connector.framework.util.ConfigurationHelper aConfiguration) throws TCPIPApplicationException
aConfiguration
- STCPropertiesInfo instance
TCPIPApplicationException
- on errorMethod Detail |
---|
public int getBytesToRead()
getBytesToRead
in interface MessageInfoInterface
public java.lang.String getEnvelopeType()
getEnvelopeType
in interface MessageInfoInterface
public java.lang.String getCustomEnvelopedClassName()
getCustomEnvelopedClassName
in interface MessageInfoInterface
public java.lang.String getCustomerDefinedProperty()
getCustomerDefinedProperty
in interface MessageInfoInterface
public char getIgnoreUntilChar()
getIgnoreUntilChar
in interface MessageInfoInterface
public java.lang.String getNumericRepresentation()
getNumericRepresentation
in interface MessageInfoInterface
public char getStoreUntilChar()
getStoreUntilChar
in interface MessageInfoInterface
public int getWidthOfLength()
getWidthOfLength
in interface MessageInfoInterface
public com.stc.connector.framework.util.ConfigurationHelper getInitPropertiesInfo()
public boolean isNumericRepDecimal()
isNumericRepDecimal
in interface MessageInfoInterface
public boolean isNumericRepHexadecimal()
isNumericRepHexadecimal
in interface MessageInfoInterface
public boolean isNumericRepOctal()
isNumericRepOctal
in interface MessageInfoInterface
public boolean isNumericRepNetworkShort()
isNumericRepNetworkShort
in interface MessageInfoInterface
public boolean isNumericRepNetworkLong()
isNumericRepNetworkLong
in interface MessageInfoInterface
public boolean isBeginEndMarkedMsg()
isBeginEndMarkedMsg
in interface MessageInfoInterface
public boolean isEndMarkedMsg()
isEndMarkedMsg
in interface MessageInfoInterface
public boolean isFixedLengthMsg()
isFixedLengthMsg
in interface MessageInfoInterface
public boolean isLengthPrefixedMsg()
isLengthPrefixedMsg
in interface MessageInfoInterface
public boolean isMarkedAndFixedMsg()
isMarkedAndFixedMsg
in interface MessageInfoInterface
public boolean isPerActiveConnectionMsg()
isPerActiveConnectionMsg
in interface MessageInfoInterface
public boolean isCustomEnvelopedMsg()
isCustomEnvelopedMsg
in interface MessageInfoInterface
public void setBytesToRead(int bytesToRead) throws TCPIPApplicationException
setBytesToRead
in interface MessageInfoInterface
bytesToRead
- The bytesToRead to set
TCPIPApplicationException
- on errorpublic void setEnvelopeType(java.lang.String envelopeType) throws TCPIPApplicationException
setEnvelopeType
in interface MessageInfoInterface
envelopeType
- 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 MessageInfoInterface
customEnvelopedClassName
- The customEnvelopedClassName to setpublic void setCustomerDefinedProperty(java.lang.String customerDefinedProperty)
setCustomerDefinedProperty
in interface MessageInfoInterface
customerDefinedProperty
- The customerDefinedProperty to setpublic void setIgnoreUntilChar(char ignoreUntilChar) throws TCPIPApplicationException
setIgnoreUntilChar
in interface MessageInfoInterface
ignoreUntilChar
- The ignoreUntilChar to set
TCPIPApplicationException
- on errorpublic void setNumericRepresentation(java.lang.String numericRepresentation) throws TCPIPApplicationException
. Decimal . Hexadecimal . Octal . Network Long . Network Short
setNumericRepresentation
in interface MessageInfoInterface
numericRepresentation
- The numericRepresentation to set
TCPIPApplicationException
- on errorpublic void setStoreUntilChar(char storeUntilChar) throws TCPIPApplicationException
setStoreUntilChar
in interface MessageInfoInterface
storeUntilChar
- The storeUntilChar to set
TCPIPApplicationException
- on errorpublic void setWidthOfLength(int widthOfLength) throws TCPIPApplicationException
setWidthOfLength
in interface MessageInfoInterface
widthOfLength
- The widthOfLength to set
TCPIPApplicationException
- on errorpublic 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 |