Class MAPMT_ForwardSM_Arg_v2
- java.lang.Object
-
- com.opencloud.util.AbstractDataObject
-
- com.opencloud.util.AbstractFieldsObject
-
- MAPMT_ForwardSM_Arg
-
- MAPMT_ForwardSM_Arg_v2
-
- All Implemented Interfaces:
DataObject
,Serializable
- Direct Known Subclasses:
MAPMT_ForwardSM_Arg_v3
public class MAPMT_ForwardSM_Arg_v2 extends MAPMT_ForwardSM_Arg
API for MAP-SM-DataTypes-ph2.MT-ForwardSM-Arg-v2. Generated from the following ASN.1 type definition and the adaptations below.MT-ForwardSM-Arg-v2 ::= SEQUENCE { sm-RP-DA SM-RP-DA, sm-RP-OA SM-RP-OA, sm-RP-UI SignalInfo, moreMessagesToSend NULL OPTIONAL, -- Added in ph2. ... } MAP-SM-DataTypes-ph2 { MT-ForwardSM-Arg-v2 { @parentASN1Type 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 ForwardSMArg that is present in ph2.Used as argument type by
MAPOperations.mt_ForwardSM
.- 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_v2()
Constructs an object with uninitialised state.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MAPMT_ForwardSM_Arg_v2
clone()
Constructs a copy of this object and everything reachable from it.static MAPMT_ForwardSM_Arg_v2
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.boolean
hasMoreMessagesToSend()
Tests whether the field moreMessagesToSend is present.MAPMT_ForwardSM_Arg_v2
setMoreMessagesToSendPresent(boolean flag)
Sets the presence or absence of the optional field moreMessagesToSend.MAPMT_ForwardSM_Arg_v2
setSm_RP_DA(MAPSM_RP_DA value)
Sets the value of the field sm-RP-DA.MAPMT_ForwardSM_Arg_v2
setSm_RP_OA(MAPSM_RP_OA value)
Sets the value of the field sm-RP-OA.MAPMT_ForwardSM_Arg_v2
setSm_RP_UI(SMSTPDU value)
Sets the value of the field sm-RP-UI.-
Methods inherited from class com.opencloud.slee.resources.cgin.map.MAPMT_ForwardSM_Arg
getSm_RP_DA, getSm_RP_OA, getSm_RP_UI, hasSm_RP_DA, hasSm_RP_OA, hasSm_RP_UI, setReadOnly, 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 MAPMT_ForwardSM_Arg_v2 clone()
Constructs a copy of this object and everything reachable from it.- Specified by:
clone
in interfaceDataObject
- Overrides:
clone
in classMAPMT_ForwardSM_Arg
- Returns:
- copy of object
-
copyOf
public static MAPMT_ForwardSM_Arg_v2 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_v2
-
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:
getFieldsMap
in classMAPMT_ForwardSM_Arg
- Parameters:
withAbsents
- whether to put absent optional fields into Map- Returns:
- Map from field-name to field-value
-
hasMoreMessagesToSend
public boolean hasMoreMessagesToSend()
Tests whether the field moreMessagesToSend is present.- Returns:
- whether the field moreMessagesToSend is present
-
setMoreMessagesToSendPresent
public MAPMT_ForwardSM_Arg_v2 setMoreMessagesToSendPresent(boolean flag) throws IllegalStateException
Sets the presence or absence of the optional field moreMessagesToSend.- 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_DA
public MAPMT_ForwardSM_Arg_v2 setSm_RP_DA(MAPSM_RP_DA 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_v2 setSm_RP_OA(MAPSM_RP_OA value) throws IllegalStateException
Sets the value of the field sm-RP-OA.- Overrides:
setSm_RP_OA
in classMAPMT_ForwardSM_Arg
- 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_v2 setSm_RP_UI(SMSTPDU value) throws IllegalStateException
Sets the value of the field sm-RP-UI.- Overrides:
setSm_RP_UI
in classMAPMT_ForwardSM_Arg
- Parameters:
value
- the new value for the field- Returns:
- this
- Throws:
IllegalStateException
- if this instance has been marked as read-only
-
-