Class MAPMO_ForwardSM_Arg_v3
-
- All Implemented Interfaces:
DataObject,Serializable
public class MAPMO_ForwardSM_Arg_v3 extends MAPMO_ForwardSM_Arg_v2
API for MAP-SM-DataTypes.MO-ForwardSM-Arg-v3. Generated from the following ASN.1 type definition and the adaptations below.MO-ForwardSM-Arg-v3 ::= SEQUENCE { sm-RP-DA SM-RP-DA, sm-RP-OA SM-RP-OA, sm-RP-UI SignalInfo, extensionContainer ExtensionContainer OPTIONAL, ... imsi IMSI OPTIONAL } MAP-SM-DataTypes { MO-ForwardSM-Arg-v3 { @parentASN1Type MAP-SM-DataTypes-ph2.MO-ForwardSM-Arg-v2 sm-RP-UI { @api { @decodeMethod com.opencloud.slee.resources.in.datatypes.sms.SMSTPDU.decodeRPMOData @encodeMethod com.opencloud.slee.resources.in.datatypes.sms.SMSTPDU.encodeRPMOData @import com.opencloud.slee.resources.in.datatypes.sms.SMSTPDU } } } }Extended in R96. Note that the parent's field moreMessagesToSend is not used in -v3 contexts.Used as argument type by
MAPOperations.mo_ForwardSM_v3.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.opencloud.util.AbstractFieldsObject
FIELD_ABSENT, FIELD_UNINITIALISED
-
-
Constructor Summary
Constructors Constructor Description MAPMO_ForwardSM_Arg_v3()Constructs an object with uninitialised state.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MAPMO_ForwardSM_Arg_v3clone()Constructs a copy of this object and everything reachable from it.static MAPMO_ForwardSM_Arg_v3copyOf(MAPMO_ForwardSM_Arg 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.IMSIAddressgetImsi()Gets the value of the field imsi.booleanhasExtensionContainer()Tests whether the field extensionContainer has a value.booleanhasImsi()Tests whether the field imsi has a value.MAPMO_ForwardSM_Arg_v3setExtensionContainer(MAPExtensionContainer value)Sets the value of the field extensionContainer.MAPMO_ForwardSM_Arg_v3setImsi(IMSIAddress value)Sets the value of the field imsi.voidsetReadOnly()Sets this and all its fields to be immutable.MAPMO_ForwardSM_Arg_v3setSm_RP_DA(MAPSM_RP_DA value)Sets the value of the field sm-RP-DA.MAPMO_ForwardSM_Arg_v3setSm_RP_OA(MAPSM_RP_OA value)Sets the value of the field sm-RP-OA.MAPMO_ForwardSM_Arg_v3setSm_RP_UI(SMSTPDU value)Sets the value of the field sm-RP-UI.-
Methods inherited from class com.opencloud.slee.resources.cgin.map.MAPMO_ForwardSM_Arg_v2
hasMoreMessagesToSend, setMoreMessagesToSendPresent
-
Methods inherited from class com.opencloud.slee.resources.cgin.map.MAPMO_ForwardSM_Arg
getSm_RP_DA, getSm_RP_OA, getSm_RP_UI, hasSm_RP_DA, hasSm_RP_OA, hasSm_RP_UI, setSm_RP_DA
-
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 MAPMO_ForwardSM_Arg_v3 clone()
Constructs a copy of this object and everything reachable from it.- Specified by:
clonein interfaceDataObject- Overrides:
clonein classMAPMO_ForwardSM_Arg_v2- Returns:
- copy of object
-
copyOf
public static MAPMO_ForwardSM_Arg_v3 copyOf(MAPMO_ForwardSM_Arg 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:
- MAPMO_ForwardSM_Arg_v3
-
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 classMAPMO_ForwardSM_Arg_v2- Parameters:
withAbsents- whether to put absent optional fields into Map- Returns:
- Map from field-name to field-value
-
getImsi
public IMSIAddress getImsi()
Gets the value of the field imsi.- Returns:
- value of field imsi, 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
-
hasImsi
public boolean hasImsi()
Tests whether the field imsi has a value.- Returns:
- whether the field imsi has a value
-
setExtensionContainer
public MAPMO_ForwardSM_Arg_v3 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
-
setImsi
public MAPMO_ForwardSM_Arg_v3 setImsi(IMSIAddress value) throws IllegalStateException
Sets the value of the field imsi. 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
-
setReadOnly
public void setReadOnly()
Sets this and all its fields to be immutable.- Specified by:
setReadOnlyin interfaceDataObject- Overrides:
setReadOnlyin classMAPMO_ForwardSM_Arg
-
setSm_RP_DA
public MAPMO_ForwardSM_Arg_v3 setSm_RP_DA(MAPSM_RP_DA value) throws IllegalStateException
Sets the value of the field sm-RP-DA.- Overrides:
setSm_RP_DAin classMAPMO_ForwardSM_Arg_v2- Parameters:
value- the new value for the field- Returns:
- this
- Throws:
IllegalStateException- if this instance has been marked as read-only
-
setSm_RP_OA
public MAPMO_ForwardSM_Arg_v3 setSm_RP_OA(MAPSM_RP_OA value) throws IllegalStateException
Sets the value of the field sm-RP-OA.- Overrides:
setSm_RP_OAin classMAPMO_ForwardSM_Arg_v2- Parameters:
value- the new value for the field- Returns:
- this
- Throws:
IllegalStateException- if this instance has been marked as read-only
-
setSm_RP_UI
public MAPMO_ForwardSM_Arg_v3 setSm_RP_UI(SMSTPDU value) throws IllegalStateException
Sets the value of the field sm-RP-UI.- Overrides:
setSm_RP_UIin classMAPMO_ForwardSM_Arg_v2- Parameters:
value- the new value for the field- Returns:
- this
- Throws:
IllegalStateException- if this instance has been marked as read-only
-
-