public class CAP3InitialDPSMSArg extends AbstractFieldsObject
InitialDPSMSArg ::= SEQUENCE { serviceKey ServiceKey, destinationSubscriberNumber CalledPartyBCDNumber OPTIONAL, callingPartyNumber ISDN-AddressString OPTIONAL, eventTypeSMS EventTypeSMS OPTIONAL, iMSI IMSI OPTIONAL, locationInformationMSC LocationInformation OPTIONAL, locationInformationGPRS LocationInformationGPRS OPTIONAL, sMSCAddress ISDN-AddressString OPTIONAL, timeAndTimezone TimeAndTimezone OPTIONAL, tPShortMessageSubmissionInfo TPShortMessageSubmissionInfo OPTIONAL, tPProtocolIdentifier TPProtocolIdentifier OPTIONAL, tPDataCodingScheme TPDataCodingScheme OPTIONAL, tPValidityPeriod TPValidityPeriod OPTIONAL, extensions Extensions OPTIONAL, ... smsReferenceNumber CallReferenceNumber OPTIONAL, mscAddress ISDN-AddressString OPTIONAL, sgsn-Number ISDN-AddressString OPTIONAL }
Used as argument type by CAP3Operations.initialDPSMS
.
FIELD_ABSENT, FIELD_UNINITIALISED
Constructor and Description |
---|
CAP3InitialDPSMSArg()
Constructs an object with uninitialised state.
|
Modifier and Type | Method and Description |
---|---|
CAP3InitialDPSMSArg |
clone()
Constructs a copy of this object and everything reachable from it.
|
static CAP3InitialDPSMSArg |
copyOf(CAP3InitialDPSMSArg from)
Creates a new object of this type, cloning the values of common fields from the given object of any subclass of the same base type.
|
AddressString |
getCallingPartyNumber()
Gets the value of the field callingPartyNumber.
|
CalledPartyBCDNumber |
getDestinationSubscriberNumber()
Gets the value of the field destinationSubscriberNumber.
|
CAP3EventTypeSMS |
getEventTypeSMS()
Gets the value of the field eventTypeSMS.
|
CAP1ExtensionField[] |
getExtensions()
Gets the value of the field extensions.
|
static FieldAccessor[] |
getFieldAccessors()
Gets a new array of the accessors for fields of this type.
|
Map<String,Object> |
getFieldsMap(boolean withAbsents)
Gets a Map from field-name to field-value.
|
IMSIAddress |
getIMSI()
Gets the value of the field iMSI.
|
CAP3LocationInformationGPRS |
getLocationInformationGPRS()
Gets the value of the field locationInformationGPRS.
|
MAPLocationInformation |
getLocationInformationMSC()
Gets the value of the field locationInformationMSC.
|
AddressString |
getMscAddress()
Gets the value of the field mscAddress.
|
int |
getServiceKey()
Gets the value of the field serviceKey.
|
AddressString |
getSgsn_Number()
Gets the value of the field sgsn-Number.
|
AddressString |
getSMSCAddress()
Gets the value of the field sMSCAddress.
|
byte[] |
getSmsReferenceNumber()
Gets the value of the field smsReferenceNumber.
|
TimeAndTimezone |
getTimeAndTimezone()
Gets the value of the field timeAndTimezone.
|
byte[] |
getTPDataCodingScheme()
Gets the value of the field tPDataCodingScheme.
|
SMSProtocolId |
getTPProtocolIdentifier()
Gets the value of the field tPProtocolIdentifier.
|
byte[] |
getTPShortMessageSubmissionInfo()
Gets the value of the field tPShortMessageSubmissionInfo.
|
byte[] |
getTPValidityPeriod()
Gets the value of the field tPValidityPeriod.
|
boolean |
hasCallingPartyNumber()
Tests whether the field callingPartyNumber has a value.
|
boolean |
hasDestinationSubscriberNumber()
Tests whether the field destinationSubscriberNumber has a value.
|
boolean |
hasEventTypeSMS()
Tests whether the field eventTypeSMS has a value.
|
boolean |
hasExtensions()
Tests whether the field extensions has a value.
|
boolean |
hasIMSI()
Tests whether the field iMSI has a value.
|
boolean |
hasLocationInformationGPRS()
Tests whether the field locationInformationGPRS has a value.
|
boolean |
hasLocationInformationMSC()
Tests whether the field locationInformationMSC has a value.
|
boolean |
hasMscAddress()
Tests whether the field mscAddress has a value.
|
boolean |
hasServiceKey()
Tests whether the field serviceKey has a value.
|
boolean |
hasSgsn_Number()
Tests whether the field sgsn-Number has a value.
|
boolean |
hasSMSCAddress()
Tests whether the field sMSCAddress has a value.
|
boolean |
hasSmsReferenceNumber()
Tests whether the field smsReferenceNumber has a value.
|
boolean |
hasTimeAndTimezone()
Tests whether the field timeAndTimezone has a value.
|
boolean |
hasTPDataCodingScheme()
Tests whether the field tPDataCodingScheme has a value.
|
boolean |
hasTPProtocolIdentifier()
Tests whether the field tPProtocolIdentifier has a value.
|
boolean |
hasTPShortMessageSubmissionInfo()
Tests whether the field tPShortMessageSubmissionInfo has a value.
|
boolean |
hasTPValidityPeriod()
Tests whether the field tPValidityPeriod has a value.
|
CAP3InitialDPSMSArg |
setCallingPartyNumber(AddressString value)
Sets the value of the field callingPartyNumber.
|
CAP3InitialDPSMSArg |
setDestinationSubscriberNumber(CalledPartyBCDNumber value)
Sets the value of the field destinationSubscriberNumber.
|
CAP3InitialDPSMSArg |
setEventTypeSMS(CAP3EventTypeSMS value)
Sets the value of the field eventTypeSMS.
|
CAP3InitialDPSMSArg |
setExtensions(CAP1ExtensionField[] value)
Sets the value of the field extensions.
|
CAP3InitialDPSMSArg |
setIMSI(IMSIAddress value)
Sets the value of the field iMSI.
|
CAP3InitialDPSMSArg |
setLocationInformationGPRS(CAP3LocationInformationGPRS value)
Sets the value of the field locationInformationGPRS.
|
CAP3InitialDPSMSArg |
setLocationInformationMSC(MAPLocationInformation value)
Sets the value of the field locationInformationMSC.
|
CAP3InitialDPSMSArg |
setMscAddress(AddressString value)
Sets the value of the field mscAddress.
|
void |
setReadOnly()
Sets this and all its fields to be immutable.
|
CAP3InitialDPSMSArg |
setServiceKey(int value)
Sets the value of the field serviceKey and marks the field as present.
|
CAP3InitialDPSMSArg |
setSgsn_Number(AddressString value)
Sets the value of the field sgsn-Number.
|
CAP3InitialDPSMSArg |
setSMSCAddress(AddressString value)
Sets the value of the field sMSCAddress.
|
CAP3InitialDPSMSArg |
setSmsReferenceNumber(byte[] value)
Sets the value of the field smsReferenceNumber.
|
CAP3InitialDPSMSArg |
setTimeAndTimezone(TimeAndTimezone value)
Sets the value of the field timeAndTimezone.
|
CAP3InitialDPSMSArg |
setTPDataCodingScheme(byte[] value)
Sets the value of the field tPDataCodingScheme.
|
CAP3InitialDPSMSArg |
setTPProtocolIdentifier(SMSProtocolId value)
Sets the value of the field tPProtocolIdentifier.
|
CAP3InitialDPSMSArg |
setTPShortMessageSubmissionInfo(byte[] value)
Sets the value of the field tPShortMessageSubmissionInfo.
|
CAP3InitialDPSMSArg |
setTPValidityPeriod(byte[] value)
Sets the value of the field tPValidityPeriod.
|
equals, hashCode, toString
checkModify, isReadOnly
public CAP3InitialDPSMSArg()
public CAP3InitialDPSMSArg clone()
clone
in interface DataObject
clone
in class AbstractDataObject
public static CAP3InitialDPSMSArg copyOf(CAP3InitialDPSMSArg from)
from
- the object from which to copypublic AddressString getCallingPartyNumber()
public CalledPartyBCDNumber getDestinationSubscriberNumber()
public CAP3EventTypeSMS getEventTypeSMS()
public CAP1ExtensionField[] getExtensions()
public static FieldAccessor[] getFieldAccessors()
public Map<String,Object> getFieldsMap(boolean withAbsents)
getFieldsMap
in class AbstractFieldsObject
withAbsents
- whether to put absent optional fields into Mappublic IMSIAddress getIMSI()
public CAP3LocationInformationGPRS getLocationInformationGPRS()
public MAPLocationInformation getLocationInformationMSC()
public AddressString getMscAddress()
public AddressString getSMSCAddress()
public int getServiceKey()
public AddressString getSgsn_Number()
public byte[] getSmsReferenceNumber()
public byte[] getTPDataCodingScheme()
public SMSProtocolId getTPProtocolIdentifier()
public byte[] getTPShortMessageSubmissionInfo()
public byte[] getTPValidityPeriod()
public TimeAndTimezone getTimeAndTimezone()
public boolean hasCallingPartyNumber()
public boolean hasDestinationSubscriberNumber()
public boolean hasEventTypeSMS()
public boolean hasExtensions()
public boolean hasIMSI()
public boolean hasLocationInformationGPRS()
public boolean hasLocationInformationMSC()
public boolean hasMscAddress()
public boolean hasSMSCAddress()
public boolean hasServiceKey()
public boolean hasSgsn_Number()
public boolean hasSmsReferenceNumber()
public boolean hasTPDataCodingScheme()
public boolean hasTPProtocolIdentifier()
public boolean hasTPShortMessageSubmissionInfo()
public boolean hasTPValidityPeriod()
public boolean hasTimeAndTimezone()
public CAP3InitialDPSMSArg setCallingPartyNumber(AddressString value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic CAP3InitialDPSMSArg setDestinationSubscriberNumber(CalledPartyBCDNumber value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic CAP3InitialDPSMSArg setEventTypeSMS(CAP3EventTypeSMS value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic CAP3InitialDPSMSArg setExtensions(CAP1ExtensionField[] value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic CAP3InitialDPSMSArg setIMSI(IMSIAddress value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic CAP3InitialDPSMSArg setLocationInformationGPRS(CAP3LocationInformationGPRS value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic CAP3InitialDPSMSArg setLocationInformationMSC(MAPLocationInformation value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic CAP3InitialDPSMSArg setMscAddress(AddressString value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic void setReadOnly()
setReadOnly
in interface DataObject
setReadOnly
in class AbstractDataObject
public CAP3InitialDPSMSArg setSMSCAddress(AddressString value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic CAP3InitialDPSMSArg setServiceKey(int value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic CAP3InitialDPSMSArg setSgsn_Number(AddressString value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic CAP3InitialDPSMSArg setSmsReferenceNumber(byte[] value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic CAP3InitialDPSMSArg setTPDataCodingScheme(byte[] value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic CAP3InitialDPSMSArg setTPProtocolIdentifier(SMSProtocolId value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic CAP3InitialDPSMSArg setTPShortMessageSubmissionInfo(byte[] value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic CAP3InitialDPSMSArg setTPValidityPeriod(byte[] value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic CAP3InitialDPSMSArg setTimeAndTimezone(TimeAndTimezone value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-only