Class MAPRoutingInfoForSM_Arg
- java.lang.Object
-
- com.opencloud.util.AbstractDataObject
-
- com.opencloud.util.AbstractFieldsObject
-
- MAPSendRoutingInfoForSMArg
-
- MAPRoutingInfoForSM_Arg
-
- All Implemented Interfaces:
DataObject,Serializable
public class MAPRoutingInfoForSM_Arg extends MAPSendRoutingInfoForSMArg
API for MAP-SM-DataTypes.RoutingInfoForSM-Arg. Generated from the following ASN.1 type definition and the adaptations below.RoutingInfoForSM-Arg ::= SEQUENCE { msisdn ISDN-AddressString, -- Renamed from msIsdn between ph1 and ph2. sm-RP-PRI BOOLEAN, serviceCentreAddress AddressString, extensionContainer ExtensionContainer OPTIONAL, -- Added in R96. ... gprsSupportIndicator NULL OPTIONAL, -- Added in R97. gprsSupportIndicator is set only if the SMS-GMSC supports receiving of two numbers from the HLR. sm-RP-MTI SM-RP-MTI OPTIONAL, -- Added in R97. sm-RP-SMEA SM-RP-SMEA OPTIONAL, -- Added in R97. sm-deliveryNotIntended SM-DeliveryNotIntended OPTIONAL, -- Added in release 8. ip-sm-gwGuidanceIndicator NULL OPTIONAL -- Added in release 10. } MAP-SM-DataTypes { RoutingInfoForSM-Arg { @parentASN1Type MAP-SM-DataTypes-ph1.SendRoutingInfoForSMArg } }Extended in ph2. Note that the parent's fields cug-Interlock and teleserviceCode are for use only in -v1 contexts.Used as argument type by
MAPOperations.sendRoutingInfoForSM_v3.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.opencloud.util.AbstractFieldsObject
FIELD_ABSENT, FIELD_UNINITIALISED
-
-
Constructor Summary
Constructors Constructor Description MAPRoutingInfoForSM_Arg()Constructs an object with uninitialised state.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MAPRoutingInfoForSM_Argclone()Constructs a copy of this object and everything reachable from it.static MAPRoutingInfoForSM_ArgcopyOf(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.MAPExtensionContainergetExtensionContainer()Gets the value of the field extensionContainer.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.MAPSM_DeliveryNotIntendedgetSm_deliveryNotIntended()Gets the value of the field sm-deliveryNotIntended.intgetSm_RP_MTI()Gets the value of the field sm-RP-MTI.byte[]getSm_RP_SMEA()Gets the value of the field sm-RP-SMEA.booleanhasExtensionContainer()Tests whether the field extensionContainer has a value.booleanhasGprsSupportIndicator()Tests whether the field gprsSupportIndicator is present.booleanhasIp_sm_gwGuidanceIndicator()Tests whether the field ip-sm-gwGuidanceIndicator is present.booleanhasSm_deliveryNotIntended()Tests whether the field sm-deliveryNotIntended has a value.booleanhasSm_RP_MTI()Tests whether the field sm-RP-MTI has a value.booleanhasSm_RP_SMEA()Tests whether the field sm-RP-SMEA has a value.MAPRoutingInfoForSM_ArgsetExtensionContainer(MAPExtensionContainer value)Sets the value of the field extensionContainer.MAPRoutingInfoForSM_ArgsetGprsSupportIndicatorPresent(boolean flag)Sets the presence or absence of the optional field gprsSupportIndicator.MAPRoutingInfoForSM_ArgsetIp_sm_gwGuidanceIndicatorPresent(boolean flag)Sets the presence or absence of the optional field ip-sm-gwGuidanceIndicator.MAPRoutingInfoForSM_ArgsetMsisdn(AddressString value)Sets the value of the field msisdn.voidsetReadOnly()Sets this and all its fields to be immutable.MAPRoutingInfoForSM_ArgsetServiceCentreAddress(AddressString value)Sets the value of the field serviceCentreAddress.MAPRoutingInfoForSM_ArgsetSm_deliveryNotIntended(MAPSM_DeliveryNotIntended value)Sets the value of the field sm-deliveryNotIntended.MAPRoutingInfoForSM_ArgsetSm_RP_MTI(int value)Sets the value of the field sm-RP-MTI and marks the field as present.MAPRoutingInfoForSM_ArgsetSm_RP_MTIPresent(boolean flag)Sets the presence or absence of the optional field sm-RP-MTI.MAPRoutingInfoForSM_ArgsetSm_RP_PRI(boolean value)Sets the value of the field sm-RP-PRI.MAPRoutingInfoForSM_ArgsetSm_RP_SMEA(byte[] value)Sets the value of the field sm-RP-SMEA.-
Methods inherited from class com.opencloud.slee.resources.cgin.map.MAPSendRoutingInfoForSMArg
getCug_Interlock, getMsisdn, getServiceCentreAddress, getSm_RP_PRI, getTeleserviceCode, hasCug_Interlock, hasMsisdn, hasServiceCentreAddress, hasSm_RP_PRI, hasTeleserviceCode, setCug_Interlock, setTeleserviceCode
-
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 MAPRoutingInfoForSM_Arg clone()
Constructs a copy of this object and everything reachable from it.- Specified by:
clonein interfaceDataObject- Overrides:
clonein classMAPSendRoutingInfoForSMArg- Returns:
- copy of object
-
copyOf
public static MAPRoutingInfoForSM_Arg 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:
- MAPRoutingInfoForSM_Arg
-
getExtensionContainer
public MAPExtensionContainer getExtensionContainer()
Gets the value of the field extensionContainer.- Returns:
- value of field extensionContainer, 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.- Overrides:
getFieldsMapin classMAPSendRoutingInfoForSMArg- Parameters:
withAbsents- whether to put absent optional fields into Map- Returns:
- Map from field-name to field-value
-
getSm_RP_MTI
public int getSm_RP_MTI()
Gets the value of the field sm-RP-MTI.- Returns:
- value of field sm-RP-MTI
-
getSm_RP_SMEA
public byte[] getSm_RP_SMEA()
Gets the value of the field sm-RP-SMEA.- Returns:
- value of field sm-RP-SMEA, or null if not present
-
getSm_deliveryNotIntended
public MAPSM_DeliveryNotIntended getSm_deliveryNotIntended()
Gets the value of the field sm-deliveryNotIntended.- Returns:
- value of field sm-deliveryNotIntended, or null if not present
-
hasExtensionContainer
public boolean hasExtensionContainer()
Tests whether the field extensionContainer has a value.- Returns:
- whether the field extensionContainer has a value
-
hasGprsSupportIndicator
public boolean hasGprsSupportIndicator()
Tests whether the field gprsSupportIndicator is present.- Returns:
- whether the field gprsSupportIndicator is present
-
hasIp_sm_gwGuidanceIndicator
public boolean hasIp_sm_gwGuidanceIndicator()
Tests whether the field ip-sm-gwGuidanceIndicator is present.- Returns:
- whether the field ip-sm-gwGuidanceIndicator is present
-
hasSm_RP_MTI
public boolean hasSm_RP_MTI()
Tests whether the field sm-RP-MTI has a value.- Returns:
- whether the field sm-RP-MTI has a value
-
hasSm_RP_SMEA
public boolean hasSm_RP_SMEA()
Tests whether the field sm-RP-SMEA has a value.- Returns:
- whether the field sm-RP-SMEA has a value
-
hasSm_deliveryNotIntended
public boolean hasSm_deliveryNotIntended()
Tests whether the field sm-deliveryNotIntended has a value.- Returns:
- whether the field sm-deliveryNotIntended has a value
-
setExtensionContainer
public MAPRoutingInfoForSM_Arg setExtensionContainer(MAPExtensionContainer value) throws IllegalStateException
Sets the value of the field extensionContainer. 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
-
setGprsSupportIndicatorPresent
public MAPRoutingInfoForSM_Arg setGprsSupportIndicatorPresent(boolean flag) throws IllegalStateException
Sets the presence or absence of the optional field gprsSupportIndicator.- Parameters:
flag- either true if the field should be marked as present or false if the field should be marked as absent- Returns:
- this
- Throws:
IllegalStateException- if this instance has been marked as read-only
-
setIp_sm_gwGuidanceIndicatorPresent
public MAPRoutingInfoForSM_Arg setIp_sm_gwGuidanceIndicatorPresent(boolean flag) throws IllegalStateException
Sets the presence or absence of the optional field ip-sm-gwGuidanceIndicator.- Parameters:
flag- either true if the field should be marked as present or false if the field should be marked as absent- Returns:
- this
- Throws:
IllegalStateException- if this instance has been marked as read-only
-
setMsisdn
public MAPRoutingInfoForSM_Arg setMsisdn(AddressString value) throws IllegalStateException
Sets the value of the field msisdn.- Overrides:
setMsisdnin classMAPSendRoutingInfoForSMArg- 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:
setReadOnlyin interfaceDataObject- Overrides:
setReadOnlyin classMAPSendRoutingInfoForSMArg
-
setServiceCentreAddress
public MAPRoutingInfoForSM_Arg setServiceCentreAddress(AddressString value) throws IllegalStateException
Sets the value of the field serviceCentreAddress.- Overrides:
setServiceCentreAddressin classMAPSendRoutingInfoForSMArg- Parameters:
value- the new value for the field- Returns:
- this
- Throws:
IllegalStateException- if this instance has been marked as read-only
-
setSm_RP_MTI
public MAPRoutingInfoForSM_Arg setSm_RP_MTI(int value) throws IllegalStateException
Sets the value of the field sm-RP-MTI 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
-
setSm_RP_MTIPresent
public MAPRoutingInfoForSM_Arg setSm_RP_MTIPresent(boolean flag) throws IllegalStateException
Sets the presence or absence of the optional field sm-RP-MTI.- Parameters:
flag- either true if the field should be marked as present or false if the field should be marked as absent- Returns:
- this
- Throws:
IllegalStateException- if this instance has been marked as read-only
-
setSm_RP_PRI
public MAPRoutingInfoForSM_Arg setSm_RP_PRI(boolean value) throws IllegalStateException
Sets the value of the field sm-RP-PRI.- Overrides:
setSm_RP_PRIin classMAPSendRoutingInfoForSMArg- Parameters:
value- the new value for the field- Returns:
- this
- Throws:
IllegalStateException- if this instance has been marked as read-only
-
setSm_RP_SMEA
public MAPRoutingInfoForSM_Arg setSm_RP_SMEA(byte[] value) throws IllegalStateException
Sets the value of the field sm-RP-SMEA. 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
-
setSm_deliveryNotIntended
public MAPRoutingInfoForSM_Arg setSm_deliveryNotIntended(MAPSM_DeliveryNotIntended value) throws IllegalStateException
Sets the value of the field sm-deliveryNotIntended. 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
-
-