Class MAPMT_ForwardSM_Arg
- java.lang.Object
-
- com.opencloud.util.AbstractDataObject
-
- com.opencloud.util.AbstractFieldsObject
-
- MAPMT_ForwardSM_Arg
-
- All Implemented Interfaces:
DataObject
,Serializable
- Direct Known Subclasses:
MAPMT_ForwardSM_Arg_v2
public class MAPMT_ForwardSM_Arg extends AbstractFieldsObject
API for MAP-SM-DataTypes-ph1.MT-ForwardSM-Arg. Generated from the following ASN.1 type definition and the adaptations below.MT-ForwardSM-Arg ::= SEQUENCE { sm-RP-DA SM-RP-DA-v1, sm-RP-OA SM-RP-OA, sm-RP-UI SM-RP-UI } MAP-SM-DataTypes-ph1 { MT-ForwardSM-Arg { sm-RP-UI { @api { @decodeMethod com.opencloud.slee.resources.in.datatypes.sms.SMSTPDU.decodeRPMTData @encodeMethod com.opencloud.slee.resources.in.datatypes.sms.SMSTPDU.encodeRPMTData @import com.opencloud.slee.resources.in.datatypes.sms.SMSTPDU } } } }
Represents the MT case of the ForwardShortMessageArg that is present in ph1. Evolved toMAPMT_ForwardSM_Arg
in ph2.Used as argument type by
MAPOperations.mt_ForwardSM_v1
.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.opencloud.util.AbstractFieldsObject
FIELD_ABSENT, FIELD_UNINITIALISED
-
-
Constructor Summary
Constructors Constructor Description MAPMT_ForwardSM_Arg()
Constructs an object with uninitialised state.MAPMT_ForwardSM_Arg(MAPSM_RP_DA_v1 Sm_RP_DA_param, MAPSM_RP_OA Sm_RP_OA_param, SMSTPDU Sm_RP_UI_param)
Constructs an object from given values for all fields.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MAPMT_ForwardSM_Arg
clone()
Constructs a copy of this object and everything reachable from it.static MAPMT_ForwardSM_Arg
copyOf(MAPMT_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.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_RP_DA_v1
getSm_RP_DA()
Gets the value of the field sm-RP-DA.MAPSM_RP_OA
getSm_RP_OA()
Gets the value of the field sm-RP-OA.SMSTPDU
getSm_RP_UI()
Gets the value of the field sm-RP-UI.boolean
hasSm_RP_DA()
Tests whether the field sm-RP-DA has a value.boolean
hasSm_RP_OA()
Tests whether the field sm-RP-OA has a value.boolean
hasSm_RP_UI()
Tests whether the field sm-RP-UI has a value.void
setReadOnly()
Sets this and all its fields to be immutable.MAPMT_ForwardSM_Arg
setSm_RP_DA(MAPSM_RP_DA_v1 value)
Sets the value of the field sm-RP-DA.MAPMT_ForwardSM_Arg
setSm_RP_OA(MAPSM_RP_OA value)
Sets the value of the field sm-RP-OA.MAPMT_ForwardSM_Arg
setSm_RP_UI(SMSTPDU value)
Sets the value of the field sm-RP-UI.-
Methods inherited from class com.opencloud.util.AbstractFieldsObject
equals, hashCode, toString
-
Methods inherited from class com.opencloud.util.AbstractDataObject
checkModify, isReadOnly
-
-
-
-
Constructor Detail
-
MAPMT_ForwardSM_Arg
public MAPMT_ForwardSM_Arg()
Constructs an object with uninitialised state.
-
MAPMT_ForwardSM_Arg
public MAPMT_ForwardSM_Arg(MAPSM_RP_DA_v1 Sm_RP_DA_param, MAPSM_RP_OA Sm_RP_OA_param, SMSTPDU Sm_RP_UI_param)
Constructs an object from given values for all fields.- Parameters:
Sm_RP_DA_param
- value for that fieldSm_RP_OA_param
- value for that fieldSm_RP_UI_param
- value for that field
-
-
Method Detail
-
clone
public MAPMT_ForwardSM_Arg 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 MAPMT_ForwardSM_Arg copyOf(MAPMT_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:
- MAPMT_ForwardSM_Arg
-
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
-
getSm_RP_DA
public MAPSM_RP_DA_v1 getSm_RP_DA()
Gets the value of the field sm-RP-DA.- Returns:
- value of field sm-RP-DA, or null if not present
-
getSm_RP_OA
public MAPSM_RP_OA getSm_RP_OA()
Gets the value of the field sm-RP-OA.- Returns:
- value of field sm-RP-OA, or null if not present
-
getSm_RP_UI
public SMSTPDU getSm_RP_UI()
Gets the value of the field sm-RP-UI.- Returns:
- value of field sm-RP-UI, or null if not present
-
hasSm_RP_DA
public boolean hasSm_RP_DA()
Tests whether the field sm-RP-DA has a value.- Returns:
- whether the field sm-RP-DA has a value
-
hasSm_RP_OA
public boolean hasSm_RP_OA()
Tests whether the field sm-RP-OA has a value.- Returns:
- whether the field sm-RP-OA has a value
-
hasSm_RP_UI
public boolean hasSm_RP_UI()
Tests whether the field sm-RP-UI has a value.- Returns:
- whether the field sm-RP-UI has a value
-
setReadOnly
public void setReadOnly()
Sets this and all its fields to be immutable.- Specified by:
setReadOnly
in interfaceDataObject
- Overrides:
setReadOnly
in classAbstractDataObject
-
setSm_RP_DA
public MAPMT_ForwardSM_Arg setSm_RP_DA(MAPSM_RP_DA_v1 value) throws IllegalStateException
Sets the value of the field sm-RP-DA.- 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 MAPMT_ForwardSM_Arg setSm_RP_OA(MAPSM_RP_OA value) throws IllegalStateException
Sets the value of the field sm-RP-OA.- 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 MAPMT_ForwardSM_Arg setSm_RP_UI(SMSTPDU value) throws IllegalStateException
Sets the value of the field sm-RP-UI.- Parameters:
value
- the new value for the field- Returns:
- this
- Throws:
IllegalStateException
- if this instance has been marked as read-only
-
-