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

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

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

This is the default Java Bean Implementation for the SendMessageRequest class. This is the main record to be used for sending short messages from SI to SMSC.

See Also:
Serialized Form

Field Summary
static java.lang.String REC_NAME
          Comment for REC_NAME.
 
Constructor Summary
SendMessageRequest()
          The default Constructor for the Submit_SM Record.
 
Method Summary
 java.lang.Object clone()
           
 java.net.URI[] getAddresses()
          Gets the addresses.
 java.lang.String getBillingCode()
          Gets the billing code.
 java.lang.String getDefaultMessageID()
          Gets the default message id.
 java.lang.String getDestinationNpi()
          Gets the destination npi.
 java.lang.String getDestinationTon()
          Gets the destination ton.
 java.lang.String getEncoding()
          Gets the encoding.
 java.lang.String getEsmClass()
          Gets the esm class.
 int getFunctionID()
          Gets the function id.
 int getMaxMessageSize()
          Gets the max message size.
 int getMaxTargetSize()
          Gets the max target size.
 java.lang.String getMessage()
          Gets the message.
 int getNumberOfSegments()
          Gets the number of segments.
 java.lang.String getOperationName()
          Gets the operation name.
 java.lang.String getPriorityFlag()
          Gets the priority flag.
 java.lang.String getProtocolId()
          Gets the protocol id.
 java.lang.String getRecordName()
           
 java.lang.String getRecordShortDescription()
           
 java.lang.String getReplaceIfPresentFlag()
          Gets the replace if present flag.
 int getSarRefNum()
          Gets the SarRefNum.
 int getSegmentNumber()
          Gets the segment number.
 java.lang.String getSenderName()
          Gets the sender name.
 java.lang.String getServiceType()
          Gets the service type.
 java.lang.String getServiceTypeUsage()
          Gets the service type usage.
 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.
 boolean isChargeForFirstSegmentOnly()
          Checks if is charge for first segment only.
 boolean isConfirmDelivery()
          Checks if is confirm delivery.
 void setAddresses(java.net.URI[] addresses)
          Sets the addresses.
 void setBillingCode(java.lang.String billingCode)
          Sets the billing code.
 void setChargeForFirstSegmentOnly(boolean chargeForFirstSegmentOnly)
          Sets the charge for first segment only.
 void setConfirmDelivery(boolean confirmDelivery)
          Sets the confirm delivery.
 void setDefaultMessageID(java.lang.String defaultMessageID)
          Sets the default message id.
 void setDestinationNpi(java.lang.String destinationNpi)
          Sets the destination npi.
 void setDestinationTon(java.lang.String destinationTon)
          Sets the destination ton.
 void setEncoding(java.lang.String encoding)
          Sets the encoding.
 void setEsmClass(java.lang.String esmClass)
          Sets the esm class.
 void setFunctionID(int functionID)
          Sets the function id.
 void setMaxMessageSize(int maxMessageSize)
          Sets the max message size.
 void setMaxTargetSize(int maxTargetSize)
          Sets the max target size.
 void setMessage(java.lang.String message)
          Sets the message.
 void setNumberOfSegments(int numberOfSegments)
          Sets the number of segments.
 void setOperationName(java.lang.String operationName)
          Sets the operation name.
 void setPriorityFlag(java.lang.String priorityFlag)
          Sets the priority flag.
 void setProtocolId(java.lang.String protocolId)
          Sets the protocol id.
 void setRecordName(java.lang.String recordName)
           
 void setRecordShortDescription(java.lang.String _shortDesc)
           
 void setReplaceIfPresentFlag(java.lang.String replaceIfPresentFlag)
          Sets the replace if present flag.
 void setSarRefNum(int sarRefNum)
          Sets the SarRefNum.
 void setSegmentNumber(int segmentNumber)
          Sets the segment number.
 void setSenderName(java.lang.String senderName)
          Sets the sender name.
 void setServiceType(java.lang.String serviceType)
          Sets the service type.
 void setServiceTypeUsage(java.lang.String serviceTypeUsage)
          Sets the service type usage.
 void setSourceAddress(java.lang.String sourceAddress)
          Sets the source address.
 void setSourceAddressNpi(java.lang.String sourceAddressNpi)
          Sets the source 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
Constructor Detail

SendMessageRequest

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

Method Detail

getSarRefNum

public int getSarRefNum()
Gets the SarRefNum.

Returns:
the SarRefNum

setSarRefNum

public void setSarRefNum(int sarRefNum)
Sets the SarRefNum.

Parameters:
encoding - the SarRefNum

getEncoding

public java.lang.String getEncoding()
Gets the encoding.

Returns:
the encoding

setEncoding

public void setEncoding(java.lang.String encoding)
Sets the encoding.

Parameters:
encoding - the new encoding

getMaxMessageSize

public int getMaxMessageSize()
Gets the max message size.

Returns:
the max message size

setMaxMessageSize

public void setMaxMessageSize(int maxMessageSize)
Sets the max message size.

Parameters:
maxMessageSize - the new max message size

getMaxTargetSize

public int getMaxTargetSize()
Gets the max target size.

Returns:
the max target size

setMaxTargetSize

public void setMaxTargetSize(int maxTargetSize)
Sets the max target size.

Parameters:
maxTargetSize - the new max target size

isConfirmDelivery

public boolean isConfirmDelivery()
Checks if is confirm delivery.

Returns:
true, if is confirm delivery

setConfirmDelivery

public void setConfirmDelivery(boolean confirmDelivery)
Sets the confirm delivery.

Parameters:
confirmDelivery - the new confirm delivery

getSourceAddressTon

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

Returns:
the source address ton

setSourceAddressTon

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

Parameters:
sourceAddressTon - the new source ton

getSourceAddressNpi

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

Returns:
the source address npi

setSourceAddressNpi

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

Parameters:
sourceNpi - the new source npi

getDestinationTon

public java.lang.String getDestinationTon()
Gets the destination ton.

Returns:
the destination ton

setDestinationTon

public void setDestinationTon(java.lang.String destinationTon)
Sets the destination ton.

Parameters:
destinationTon - the new destination ton

getDestinationNpi

public java.lang.String getDestinationNpi()
Gets the destination npi.

Returns:
the destination npi

setDestinationNpi

public void setDestinationNpi(java.lang.String destinationNpi)
Sets the destination npi.

Parameters:
destinationNpi - the new destination npi

getEsmClass

public java.lang.String getEsmClass()
Gets the esm class.

Returns:
the esm class

setEsmClass

public void setEsmClass(java.lang.String esmClass)
Sets the esm class.

Parameters:
esmClass - the new esm class

getProtocolId

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

Returns:
the protocol id

setProtocolId

public void setProtocolId(java.lang.String protocolId)
Sets the protocol id.

Parameters:
protocolId - the new protocol id

getPriorityFlag

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

Returns:
the priority flag

setPriorityFlag

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

Parameters:
priorityFlag - the new priority flag

getReplaceIfPresentFlag

public java.lang.String getReplaceIfPresentFlag()
Gets the replace if present flag.

Returns:
the replace if present flag

setReplaceIfPresentFlag

public void setReplaceIfPresentFlag(java.lang.String replaceIfPresentFlag)
Sets the replace if present flag.

Parameters:
replaceIfPresentFlag - the new replace if present flag

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

getAddresses

public java.net.URI[] getAddresses()
Gets the addresses.

Returns:
the addresses

setAddresses

public void setAddresses(java.net.URI[] addresses)
Sets the addresses.

Parameters:
addresses - the new addresses

getSenderName

public java.lang.String getSenderName()
Gets the sender name.

Returns:
the sender name

setSenderName

public void setSenderName(java.lang.String senderName)
Sets the sender name.

Parameters:
senderName - the new sender name

getMessage

public java.lang.String getMessage()
Gets the message.

Returns:
the message

setMessage

public void setMessage(java.lang.String message)
Sets the message.

Parameters:
message - the new message

getSegmentNumber

public int getSegmentNumber()
Gets the segment number.

Returns:
the segment number

setSegmentNumber

public void setSegmentNumber(int segmentNumber)
Sets the segment number.

Parameters:
segmentNumber - the new segment number

getNumberOfSegments

public int getNumberOfSegments()
Gets the number of segments.

Returns:
the number of segments

setNumberOfSegments

public void setNumberOfSegments(int numberOfSegments)
Sets the number of segments.

Parameters:
numberOfSegments - the new number of segments

setFunctionID

public void setFunctionID(int functionID)
Sets the function id.

Parameters:
functionID - the functionID to set

getFunctionID

public int getFunctionID()
Gets the function id.

Returns:
the functionID

getServiceType

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

Returns:
the service type

setServiceType

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

Parameters:
serviceType - the new service type

getBillingCode

public java.lang.String getBillingCode()
Gets the billing code.

Returns:
the billing code

setBillingCode

public void setBillingCode(java.lang.String billingCode)
Sets the billing code.

Parameters:
billingCode - the new billing code

getServiceTypeUsage

public java.lang.String getServiceTypeUsage()
Gets the service type usage.

Returns:
the service type usage

setServiceTypeUsage

public void setServiceTypeUsage(java.lang.String serviceTypeUsage)
Sets the service type usage.

Parameters:
serviceTypeUsage - the new service type usage

isChargeForFirstSegmentOnly

public boolean isChargeForFirstSegmentOnly()
Checks if is charge for first segment only.

Returns:
true, if is charge for first segment only

setChargeForFirstSegmentOnly

public void setChargeForFirstSegmentOnly(boolean chargeForFirstSegmentOnly)
Sets the charge for first segment only.

Parameters:
chargeForFirstSegmentOnly - the new charge for first segment only

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

setSourceAddress

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

Parameters:
sourceAddress - the sourceAddress to set

getSourceAddress

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

Returns:
the sourceAddress

setOperationName

public void setOperationName(java.lang.String operationName)
Sets the operation name.

Parameters:
operationName - the operationName to set

getOperationName

public java.lang.String getOperationName()
Gets the operation name.

Returns:
the operationName

setDefaultMessageID

public void setDefaultMessageID(java.lang.String defaultMessageID)
Sets the default message id.

Parameters:
defaultMessageID - the new default message id

getDefaultMessageID

public java.lang.String getDefaultMessageID()
Gets the default message id.

Returns:
the default message id

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.