Class MAPSendRoutingInfoForSMArg

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

    public class MAPSendRoutingInfoForSMArg
    extends AbstractFieldsObject
    API for MAP-SM-DataTypes-ph1.SendRoutingInfoForSMArg. Generated from the following ASN.1 type definition and the adaptations below.
     SendRoutingInfoForSMArg ::=
         SEQUENCE {
             msIsdn               ISDN-AddressString,      -- Renamed to msisdn between ph1 and ph2.
             sm-RP-PRI            BOOLEAN,
             serviceCentreAddress AddressString,
             cug-Interlock        CUG-Interlock OPTIONAL,  -- Removed between ph1 and ph2.
             teleserviceCode      TeleserviceCode OPTIONAL -- Removed between ph1 and ph2.
         }
     MAP-SM-DataTypes-ph1 {
         SendRoutingInfoForSMArg {
             msIsdn {
                 @rename msisdn
             }
         }
     }
     
    Present in ph1. Fields removed between ph1 and ph2.

    Used as argument type by MAPOperations.sendRoutingInfoForSM.

    Used as argument type by MAPOperations.sendRoutingInfoForSM_v1.

    See Also:
    Serialized Form
    • Constructor Detail

      • MAPSendRoutingInfoForSMArg

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

      • copyOf

        public static MAPSendRoutingInfoForSMArg 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:
        MAPSendRoutingInfoForSMArg
      • getCug_Interlock

        public CUGInterLockCode getCug_Interlock()
        Gets the value of the field cug-Interlock.
        Returns:
        value of field cug-Interlock, 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.
        Specified by:
        getFieldsMap in class AbstractFieldsObject
        Parameters:
        withAbsents - whether to put absent optional fields into Map
        Returns:
        Map from field-name to field-value
      • getMsisdn

        public AddressString getMsisdn()
        Gets the value of the field msIsdn.
        Returns:
        value of field msIsdn, or null if not present
      • getServiceCentreAddress

        public AddressString getServiceCentreAddress()
        Gets the value of the field serviceCentreAddress.
        Returns:
        value of field serviceCentreAddress, or null if not present
      • getSm_RP_PRI

        public boolean getSm_RP_PRI()
        Gets the value of the field sm-RP-PRI.
        Returns:
        value of field sm-RP-PRI
      • getTeleserviceCode

        public byte[] getTeleserviceCode()
        Gets the value of the field teleserviceCode.
        Returns:
        value of field teleserviceCode, or null if not present
      • hasCug_Interlock

        public boolean hasCug_Interlock()
        Tests whether the field cug-Interlock has a value.
        Returns:
        whether the field cug-Interlock has a value
      • hasMsisdn

        public boolean hasMsisdn()
        Tests whether the field msIsdn has a value.
        Returns:
        whether the field msIsdn has a value
      • hasServiceCentreAddress

        public boolean hasServiceCentreAddress()
        Tests whether the field serviceCentreAddress has a value.
        Returns:
        whether the field serviceCentreAddress has a value
      • hasSm_RP_PRI

        public boolean hasSm_RP_PRI()
        Tests whether the field sm-RP-PRI has a value.
        Returns:
        whether the field sm-RP-PRI has a value
      • hasTeleserviceCode

        public boolean hasTeleserviceCode()
        Tests whether the field teleserviceCode has a value.
        Returns:
        whether the field teleserviceCode has a value
      • setTeleserviceCode

        public MAPSendRoutingInfoForSMArg setTeleserviceCode​(byte[] value)
                                                      throws IllegalStateException
        Sets the value of the field teleserviceCode. 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