com.ibm.mds.adpt.sms.base.records
Class MOMessageRequest

java.lang.Object
  extended by com.ibm.mds.adpt.sms.base.records.MOMessageRequest
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, javax.resource.cci.Record

public class MOMessageRequest
extends java.lang.Object
implements javax.resource.cci.Record, java.io.Serializable

This is the default Java Bean Implementation for the MOMessageRequest class. This is the record to be used while handling MOMessges. JCA Adapter needs to use this record for propagating MOMessages and its Meta data to SI. The MOMessage might be of type short message delivery confirmation or a plain MO message.

See Also:
Serialized Form

Field Summary
static java.lang.String DELIVERY_CONFIRMATION
          The Constant DELIVERY_CONFIRMATION.
static java.lang.String DELIVERY_CONFIRMATION_ACK
          The Constant DELIVERY_CONFIRMATION_ACK.
static java.lang.String MOBILE_ORIGINATED
          The Constant MOBILE_ORIGINATED.
static java.lang.String REC_NAME
          Comment for REC_NAME.
 
Constructor Summary
MOMessageRequest()
          The default Constructor for the Submit_SM Record.
 
Method Summary
 java.lang.Object clone()
           
 int getCommandStatus()
          Gets the command status.
 java.lang.String getDestinationAddress()
          Gets the destination address.
 java.lang.String getDestinationAddressNpi()
          Gets the destination address npi.
 java.lang.String getDestinationAddressTon()
          Gets the destination address ton.
 java.lang.String getEncodingScheme()
          Gets the encoding scheme.
 int getFunctionID()
          Gets the Function ID.
 int getMessageLength()
          Gets the message length.
 java.lang.String getMessageState()
          Gets the message state.
 java.lang.String getMessageStatus()
          Gets the message status.
 java.lang.String getMessageType()
          Gets the message type.
 java.lang.String getMoMessage()
          Gets the mo message.
 java.lang.String getNetworkErrorCode()
          Gets the network error code.
 java.lang.String getPriorityFlag()
          Gets the priority flag.
 java.lang.String getProtocolID()
          Gets the protocol id.
 java.lang.String getReceivedMessageID()
          Gets the received message id.
 java.lang.String getRecordName()
           
 java.lang.String getRecordShortDescription()
           
 java.lang.String getRegisteredDelivery()
          Gets the registered delivery.
 java.lang.String getServiceType()
          Gets the service type.
 java.lang.String getShortDesc()
          Gets the short desc.
 java.lang.String getSourceAddress()
          Gets the source address.
 java.lang.String getSourceAddressNpi()
          Gets the source address npi.
 java.lang.String getSourceAddressTon()
          Gets the source address ton.
 void setCommandStatus(int commandStatus)
          Sets the command status.
 void setDestinationAddress(java.lang.String destinationAddress)
          Sets the destination address.
 void setDestinationAddressNpi(java.lang.String destinationAddressNpi)
          Sets the destination address npi.
 void setDestinationAddressTon(java.lang.String destinationAddressTon)
          Sets the destination address ton.
 void setEncodingScheme(java.lang.String encodingScheme)
          Sets the encoding scheme.
 void setFunctionID(int functionID)
          Sets the Function ID.
 void setMessageLength(int messageLength)
          Sets the message length.
 void setMessageState(java.lang.String messageState)
          Sets the message state.
 void setMessageStatus(java.lang.String messageStatus)
          Sets the message status.
 void setMessageType(java.lang.String messageType)
          Sets the message type.
 void setMoMessage(java.lang.String moMessage)
          Sets the mo message.
 void setNetworkErrorCode(java.lang.String networkErrorCode)
          Sets the network error code.
 void setPriorityFlag(java.lang.String priorityFlag)
          Sets the priority flag.
 void setProtocolID(java.lang.String protocolID)
          Sets the protocol id.
 void setReceivedMessageID(java.lang.String receivedMessageID)
          Sets the received message id.
 void setRecordName(java.lang.String recordName)
           
 void setRecordShortDescription(java.lang.String _shortDesc)
           
 void setRegisteredDelivery(java.lang.String registeredDelivery)
          Sets the registered delivery.
 void setServiceType(java.lang.String serviceType)
          Sets the service type.
 void setShortDesc(java.lang.String shortDesc)
          Sets the short desc.
 void setSourceAddress(java.lang.String sourceAddress)
          Sets the source address.
 void setSourceAddressNpi(java.lang.String sourceAddressNpi)
          Sets the source address npi.
 void setSourceAddressTon(java.lang.String sourceAddressTon)
          Sets the source address ton.
 java.lang.String toString()
          Override toString method.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface javax.resource.cci.Record
equals, hashCode
 

Field Detail

REC_NAME

public static final java.lang.String REC_NAME
Comment for REC_NAME.

See Also:
Constant Field Values

DELIVERY_CONFIRMATION

public static final java.lang.String DELIVERY_CONFIRMATION
The Constant DELIVERY_CONFIRMATION.

See Also:
Constant Field Values

MOBILE_ORIGINATED

public static final java.lang.String MOBILE_ORIGINATED
The Constant MOBILE_ORIGINATED.

See Also:
Constant Field Values

DELIVERY_CONFIRMATION_ACK

public static final java.lang.String DELIVERY_CONFIRMATION_ACK
The Constant DELIVERY_CONFIRMATION_ACK.

See Also:
Constant Field Values
Constructor Detail

MOMessageRequest

public MOMessageRequest()
The default Constructor for the Submit_SM Record.

Method Detail

getShortDesc

public java.lang.String getShortDesc()
Gets the short desc.

Returns:
the short desc

setShortDesc

public void setShortDesc(java.lang.String shortDesc)
Sets the short desc.

Parameters:
shortDesc - the new short desc

getFunctionID

public int getFunctionID()
Gets the Function ID.

Returns:
the function id

setFunctionID

public void setFunctionID(int functionID)
Sets the Function ID.

Parameters:
functionID - the function id

getSourceAddress

public java.lang.String getSourceAddress()
Gets the source address.

Returns:
the source address

setSourceAddress

public void setSourceAddress(java.lang.String sourceAddress)
Sets the source address.

Parameters:
sourceAddress - the new source address

getDestinationAddress

public java.lang.String getDestinationAddress()
Gets the destination address.

Returns:
the destination address

setDestinationAddress

public void setDestinationAddress(java.lang.String destinationAddress)
Sets the destination address.

Parameters:
destinationAddress - the new destination address

getMessageType

public java.lang.String getMessageType()
Gets the message type.

Returns:
the message type

setMessageType

public void setMessageType(java.lang.String messageType)
Sets the message type.

Parameters:
messageType - the new message type

getMoMessage

public java.lang.String getMoMessage()
Gets the mo message.

Returns:
the mo message

setMoMessage

public void setMoMessage(java.lang.String moMessage)
Sets the mo message.

Parameters:
moMessage - the new mo message

getMessageState

public java.lang.String getMessageState()
Gets the message state.

Returns:
the message state

setMessageState

public void setMessageState(java.lang.String messageState)
Sets the message state.

Parameters:
messageState - the new message state

setReceivedMessageID

public void setReceivedMessageID(java.lang.String receivedMessageID)
Sets the received message id.

Parameters:
receivedMessageID - the new received message id

getReceivedMessageID

public java.lang.String getReceivedMessageID()
Gets the received message id.

Returns:
the received message id

getNetworkErrorCode

public java.lang.String getNetworkErrorCode()
Gets the network error code.

Returns:
the network error code

setNetworkErrorCode

public void setNetworkErrorCode(java.lang.String networkErrorCode)
Sets the network error code.

Parameters:
networkErrorCode - the new network error code

getRecordName

public java.lang.String getRecordName()
Specified by:
getRecordName in interface javax.resource.cci.Record

setRecordName

public void setRecordName(java.lang.String recordName)
Specified by:
setRecordName in interface javax.resource.cci.Record

clone

public java.lang.Object clone()
Specified by:
clone in interface javax.resource.cci.Record
Overrides:
clone in class java.lang.Object

getRecordShortDescription

public java.lang.String getRecordShortDescription()
Specified by:
getRecordShortDescription in interface javax.resource.cci.Record

setRecordShortDescription

public void setRecordShortDescription(java.lang.String _shortDesc)
Specified by:
setRecordShortDescription in interface javax.resource.cci.Record

setMessageStatus

public void setMessageStatus(java.lang.String messageStatus)
Sets the message status.

Parameters:
messageStatus - the messageStatus to set

getMessageStatus

public java.lang.String getMessageStatus()
Gets the message status.

Returns:
the messageStatus

setServiceType

public void setServiceType(java.lang.String serviceType)
Sets the service type.

Parameters:
serviceType - the new service type

getServiceType

public java.lang.String getServiceType()
Gets the service type.

Returns:
the service type

setProtocolID

public void setProtocolID(java.lang.String protocolID)
Sets the protocol id.

Parameters:
protocolID - the new protocol id

getProtocolID

public java.lang.String getProtocolID()
Gets the protocol id.

Returns:
the protocol id

setPriorityFlag

public void setPriorityFlag(java.lang.String priorityFlag)
Sets the priority flag.

Parameters:
priorityFlag - the new priority flag

getPriorityFlag

public java.lang.String getPriorityFlag()
Gets the priority flag.

Returns:
the priority flag

setRegisteredDelivery

public void setRegisteredDelivery(java.lang.String registeredDelivery)
Sets the registered delivery.

Parameters:
registeredDelivery - the new registered delivery

getRegisteredDelivery

public java.lang.String getRegisteredDelivery()
Gets the registered delivery.

Returns:
the registered delivery

setEncodingScheme

public void setEncodingScheme(java.lang.String encodingScheme)
Sets the encoding scheme.

Parameters:
encodingScheme - the new encoding scheme

getEncodingScheme

public java.lang.String getEncodingScheme()
Gets the encoding scheme.

Returns:
the encoding scheme

setMessageLength

public void setMessageLength(int messageLength)
Sets the message length.

Parameters:
messageLength - the message length

getMessageLength

public int getMessageLength()
Gets the message length.

Returns:
the message length

setSourceAddressTon

public void setSourceAddressTon(java.lang.String sourceAddressTon)
Sets the source address ton.

Parameters:
sourceAddressTon - the new source address ton

getSourceAddressTon

public java.lang.String getSourceAddressTon()
Gets the source address ton.

Returns:
the source address ton

setSourceAddressNpi

public void setSourceAddressNpi(java.lang.String sourceAddressNpi)
Sets the source address npi.

Parameters:
sourceAddressNpi - the new source address npi

getSourceAddressNpi

public java.lang.String getSourceAddressNpi()
Gets the source address npi.

Returns:
the source address npi

setDestinationAddressTon

public void setDestinationAddressTon(java.lang.String destinationAddressTon)
Sets the destination address ton.

Parameters:
destinationAddressTon - the new destination address ton

getDestinationAddressTon

public java.lang.String getDestinationAddressTon()
Gets the destination address ton.

Returns:
the destination address ton

setDestinationAddressNpi

public void setDestinationAddressNpi(java.lang.String destinationAddressNpi)
Sets the destination address npi.

Parameters:
destinationAddressNpi - the new destination address npi

getDestinationAddressNpi

public java.lang.String getDestinationAddressNpi()
Gets the destination address npi.

Returns:
the destination address npi

setCommandStatus

public void setCommandStatus(int commandStatus)
Sets the command status.

Parameters:
commandStatus - the new command status

getCommandStatus

public int getCommandStatus()
Gets the command status.

Returns:
the command status

toString

public java.lang.String toString()
Override toString method.

Overrides:
toString in class java.lang.Object
Returns:
String representation of this class.


Copyright © 2006 IBM Corp. All Rights Reserved.