Class MAPMO_ForwardSM_Arg_v2

  • All Implemented Interfaces:
    DataObject, Serializable
    Direct Known Subclasses:
    MAPMO_ForwardSM_Arg_v3

    public class MAPMO_ForwardSM_Arg_v2
    extends MAPMO_ForwardSM_Arg
    API for MAP-SM-DataTypes-ph2.MO-ForwardSM-Arg-v2. Generated from the following ASN.1 type definition and the adaptations below.
     MO-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.  This is irrelevant to the MO case and was removed in -v3.
             ...
         }
     MAP-SM-DataTypes-ph2 {
         MO-ForwardSM-Arg-v2 {
             @parentASN1Type MAP-SM-DataTypes-ph1.MO-ForwardSM-Arg
             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
                 }
             }
         }
     }
     
    Represents the MO case of the ForwardSMArg that is present in ph2.

    Used as argument type by MAPOperations.mo_ForwardSM.

    See Also:
    Serialized Form
    • Constructor Detail

      • MAPMO_ForwardSM_Arg_v2

        public MAPMO_ForwardSM_Arg_v2()
        Constructs an object with uninitialised state.
    • Method Detail

      • copyOf

        public static MAPMO_ForwardSM_Arg_v2 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_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 class MAPMO_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 MAPMO_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