Class MAPSendRoutingInfoForSMArg
- java.lang.Object
-
- com.opencloud.util.AbstractDataObject
-
- com.opencloud.util.AbstractFieldsObject
-
- MAPSendRoutingInfoForSMArg
-
- All Implemented Interfaces:
DataObject
,Serializable
- Direct Known Subclasses:
MAPRoutingInfoForSM_Arg
public class MAPSendRoutingInfoForSMArg extends AbstractFieldsObject
API for MAP-SM-DataTypes-ph1.SendRoutingInfoForSMArg. Generated from the following ASN.1 type definition and the adaptations below.SendRoutingInfoForSMArg ::= SEQUENCE { msIsdn ISDN-AddressString, -- Renamed to msisdn between ph1 and ph2. sm-RP-PRI BOOLEAN, serviceCentreAddress AddressString, cug-Interlock CUG-Interlock OPTIONAL, -- Removed between ph1 and ph2. teleserviceCode TeleserviceCode OPTIONAL -- Removed between ph1 and ph2. } MAP-SM-DataTypes-ph1 { SendRoutingInfoForSMArg { msIsdn { @rename msisdn } } }
Present in ph1. Fields removed between ph1 and ph2.Used as argument type by
MAPOperations.sendRoutingInfoForSM
.Used as argument type by
MAPOperations.sendRoutingInfoForSM_v1
.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.opencloud.util.AbstractFieldsObject
FIELD_ABSENT, FIELD_UNINITIALISED
-
-
Constructor Summary
Constructors Constructor Description MAPSendRoutingInfoForSMArg()
Constructs an object with uninitialised state.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MAPSendRoutingInfoForSMArg
clone()
Constructs a copy of this object and everything reachable from it.static MAPSendRoutingInfoForSMArg
copyOf(MAPSendRoutingInfoForSMArg 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.CUGInterLockCode
getCug_Interlock()
Gets the value of the field cug-Interlock.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.AddressString
getMsisdn()
Gets the value of the field msIsdn.AddressString
getServiceCentreAddress()
Gets the value of the field serviceCentreAddress.boolean
getSm_RP_PRI()
Gets the value of the field sm-RP-PRI.byte[]
getTeleserviceCode()
Gets the value of the field teleserviceCode.boolean
hasCug_Interlock()
Tests whether the field cug-Interlock has a value.boolean
hasMsisdn()
Tests whether the field msIsdn has a value.boolean
hasServiceCentreAddress()
Tests whether the field serviceCentreAddress has a value.boolean
hasSm_RP_PRI()
Tests whether the field sm-RP-PRI has a value.boolean
hasTeleserviceCode()
Tests whether the field teleserviceCode has a value.MAPSendRoutingInfoForSMArg
setCug_Interlock(CUGInterLockCode value)
Sets the value of the field cug-Interlock.MAPSendRoutingInfoForSMArg
setMsisdn(AddressString value)
Sets the value of the field msIsdn.void
setReadOnly()
Sets this and all its fields to be immutable.MAPSendRoutingInfoForSMArg
setServiceCentreAddress(AddressString value)
Sets the value of the field serviceCentreAddress.MAPSendRoutingInfoForSMArg
setSm_RP_PRI(boolean value)
Sets the value of the field sm-RP-PRI and marks the field as present.MAPSendRoutingInfoForSMArg
setTeleserviceCode(byte[] value)
Sets the value of the field teleserviceCode.-
Methods inherited from class com.opencloud.util.AbstractFieldsObject
equals, hashCode, toString
-
Methods inherited from class com.opencloud.util.AbstractDataObject
checkModify, isReadOnly
-
-
-
-
Method Detail
-
clone
public MAPSendRoutingInfoForSMArg clone()
Constructs a copy of this object and everything reachable from it.- Specified by:
clone
in interfaceDataObject
- Specified by:
clone
in classAbstractDataObject
- Returns:
- copy of object
-
copyOf
public static MAPSendRoutingInfoForSMArg copyOf(MAPSendRoutingInfoForSMArg 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.- Parameters:
from
- the object from which to copy- Returns:
- MAPSendRoutingInfoForSMArg
-
getCug_Interlock
public CUGInterLockCode getCug_Interlock()
Gets the value of the field cug-Interlock.- Returns:
- value of field cug-Interlock, or null if not present
-
getFieldAccessors
public static FieldAccessor[] getFieldAccessors()
Gets a new array of the accessors for fields of this type.- Returns:
- FieldAccessor[]
-
getFieldsMap
public Map<String,Object> getFieldsMap(boolean withAbsents)
Gets a Map from field-name to field-value. For a field of primitive type, the field-value is boxed. For an absent optional field, the field-value is AbstractFieldsObject.FIELD_ABSENT. For an unitialised mandatory field, the field-value is AbstractFieldsObject.FIELD_UNINITIALISED.- Specified by:
getFieldsMap
in classAbstractFieldsObject
- Parameters:
withAbsents
- whether to put absent optional fields into Map- Returns:
- Map from field-name to field-value
-
getMsisdn
public AddressString getMsisdn()
Gets the value of the field msIsdn.- Returns:
- value of field msIsdn, or null if not present
-
getServiceCentreAddress
public AddressString getServiceCentreAddress()
Gets the value of the field serviceCentreAddress.- Returns:
- value of field serviceCentreAddress, or null if not present
-
getSm_RP_PRI
public boolean getSm_RP_PRI()
Gets the value of the field sm-RP-PRI.- Returns:
- value of field sm-RP-PRI
-
getTeleserviceCode
public byte[] getTeleserviceCode()
Gets the value of the field teleserviceCode.- Returns:
- value of field teleserviceCode, or null if not present
-
hasCug_Interlock
public boolean hasCug_Interlock()
Tests whether the field cug-Interlock has a value.- Returns:
- whether the field cug-Interlock has a value
-
hasMsisdn
public boolean hasMsisdn()
Tests whether the field msIsdn has a value.- Returns:
- whether the field msIsdn has a value
-
hasServiceCentreAddress
public boolean hasServiceCentreAddress()
Tests whether the field serviceCentreAddress has a value.- Returns:
- whether the field serviceCentreAddress has a value
-
hasSm_RP_PRI
public boolean hasSm_RP_PRI()
Tests whether the field sm-RP-PRI has a value.- Returns:
- whether the field sm-RP-PRI has a value
-
hasTeleserviceCode
public boolean hasTeleserviceCode()
Tests whether the field teleserviceCode has a value.- Returns:
- whether the field teleserviceCode has a value
-
setCug_Interlock
public MAPSendRoutingInfoForSMArg setCug_Interlock(CUGInterLockCode value) throws IllegalStateException
Sets the value of the field cug-Interlock. If null, marks the field as absent.- Parameters:
value
- the new value for the field- Returns:
- this
- Throws:
IllegalStateException
- if this instance has been marked as read-only
-
setMsisdn
public MAPSendRoutingInfoForSMArg setMsisdn(AddressString value) throws IllegalStateException
Sets the value of the field msIsdn.- Parameters:
value
- the new value for the field- Returns:
- this
- Throws:
IllegalStateException
- if this instance has been marked as read-only
-
setReadOnly
public void setReadOnly()
Sets this and all its fields to be immutable.- Specified by:
setReadOnly
in interfaceDataObject
- Overrides:
setReadOnly
in classAbstractDataObject
-
setServiceCentreAddress
public MAPSendRoutingInfoForSMArg setServiceCentreAddress(AddressString value) throws IllegalStateException
Sets the value of the field serviceCentreAddress.- Parameters:
value
- the new value for the field- Returns:
- this
- Throws:
IllegalStateException
- if this instance has been marked as read-only
-
setSm_RP_PRI
public MAPSendRoutingInfoForSMArg setSm_RP_PRI(boolean value) throws IllegalStateException
Sets the value of the field sm-RP-PRI and marks the field as present.- Parameters:
value
- the new value for the field- Returns:
- this
- Throws:
IllegalStateException
- if this instance has been marked as read-only
-
setTeleserviceCode
public MAPSendRoutingInfoForSMArg setTeleserviceCode(byte[] value) throws IllegalStateException
Sets the value of the field teleserviceCode. If null, marks the field as absent.- Parameters:
value
- the new value for the field- Returns:
- this
- Throws:
IllegalStateException
- if this instance has been marked as read-only
-
-