Class MAPSubscriberData

  • All Implemented Interfaces:
    DataObject, Serializable

    public class MAPSubscriberData
    extends AbstractFieldsObject
    API for MAP-MS-DataTypes.SubscriberData. Generated from the following ASN.1 type definition.
     SubscriberData ::=
         SEQUENCE {
             msisdn                                    ISDN-AddressString OPTIONAL,      -- Renamed from msIsdn between ph1 and ph2.
             category                                  Category OPTIONAL,
             subscriberStatus                          SubscriberStatus OPTIONAL,
             bearerServiceList                         BearerServiceList OPTIONAL,
             teleserviceList                           TeleserviceList OPTIONAL,
             provisionedSS                             Ext-SS-InfoList OPTIONAL,         -- Renamed from provisonedSupplServices between ph1 and ph2.
             odb-Data                                  ODB-Data OPTIONAL,                -- Added in ph2.
             roamingRestrictionDueToUnsupportedFeature NULL OPTIONAL,                    -- Added in ph2.
             regionalSubscriptionData                  ZoneCodeList OPTIONAL,            -- Added in ph2.
             vbsSubscriptionData                       VBSDataList OPTIONAL,             -- Added in R96.
             vgcsSubscriptionData                      VGCSDataList OPTIONAL,            -- Added in R96.
             vlrCamelSubscriptionInfo                  VlrCamelSubscriptionInfo OPTIONAL -- Added in R96.
         }
     
    The components of this type also appear in MAPInsertSubscriberDataArg and MAPInsertSubscriberDataArg_v1.

    Used as field type by MAPSentParameter.

    See Also:
    Serialized Form
    • Constructor Detail

      • MAPSubscriberData

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

      • copyOf

        public static MAPSubscriberData copyOf​(MAPSubscriberData 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:
        MAPSubscriberData
      • getBearerServiceList

        public byte[][] getBearerServiceList()
        Gets the value of the field bearerServiceList.
        Returns:
        value of field bearerServiceList, or null if not present
      • getCategory

        public byte[] getCategory()
        Gets the value of the field category.
        Returns:
        value of field category, 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
      • getOdb_Data

        public MAPODB_Data getOdb_Data()
        Gets the value of the field odb-Data.
        Returns:
        value of field odb-Data, or null if not present
      • getProvisionedSS

        public MAPExt_SS_Info[] getProvisionedSS()
        Gets the value of the field provisionedSS.
        Returns:
        value of field provisionedSS, or null if not present
      • getRegionalSubscriptionData

        public byte[][] getRegionalSubscriptionData()
        Gets the value of the field regionalSubscriptionData.
        Returns:
        value of field regionalSubscriptionData, or null if not present
      • getSubscriberStatus

        public MAPSubscriberStatus getSubscriberStatus()
        Gets the value of the field subscriberStatus.
        Returns:
        value of field subscriberStatus, or null if not present
      • getTeleserviceList

        public byte[][] getTeleserviceList()
        Gets the value of the field teleserviceList.
        Returns:
        value of field teleserviceList, or null if not present
      • getVbsSubscriptionData

        public MAPVoiceBroadcastData[] getVbsSubscriptionData()
        Gets the value of the field vbsSubscriptionData.
        Returns:
        value of field vbsSubscriptionData, or null if not present
      • getVgcsSubscriptionData

        public MAPVoiceGroupCallData[] getVgcsSubscriptionData()
        Gets the value of the field vgcsSubscriptionData.
        Returns:
        value of field vgcsSubscriptionData, or null if not present
      • getVlrCamelSubscriptionInfo

        public MAPVlrCamelSubscriptionInfo getVlrCamelSubscriptionInfo()
        Gets the value of the field vlrCamelSubscriptionInfo.
        Returns:
        value of field vlrCamelSubscriptionInfo, or null if not present
      • hasBearerServiceList

        public boolean hasBearerServiceList()
        Tests whether the field bearerServiceList has a value.
        Returns:
        whether the field bearerServiceList has a value
      • hasCategory

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

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

        public boolean hasOdb_Data()
        Tests whether the field odb-Data has a value.
        Returns:
        whether the field odb-Data has a value
      • hasProvisionedSS

        public boolean hasProvisionedSS()
        Tests whether the field provisionedSS has a value.
        Returns:
        whether the field provisionedSS has a value
      • hasRegionalSubscriptionData

        public boolean hasRegionalSubscriptionData()
        Tests whether the field regionalSubscriptionData has a value.
        Returns:
        whether the field regionalSubscriptionData has a value
      • hasRoamingRestrictionDueToUnsupportedFeature

        public boolean hasRoamingRestrictionDueToUnsupportedFeature()
        Tests whether the field roamingRestrictionDueToUnsupportedFeature is present.
        Returns:
        whether the field roamingRestrictionDueToUnsupportedFeature is present
      • hasSubscriberStatus

        public boolean hasSubscriberStatus()
        Tests whether the field subscriberStatus has a value.
        Returns:
        whether the field subscriberStatus has a value
      • hasTeleserviceList

        public boolean hasTeleserviceList()
        Tests whether the field teleserviceList has a value.
        Returns:
        whether the field teleserviceList has a value
      • hasVbsSubscriptionData

        public boolean hasVbsSubscriptionData()
        Tests whether the field vbsSubscriptionData has a value.
        Returns:
        whether the field vbsSubscriptionData has a value
      • hasVgcsSubscriptionData

        public boolean hasVgcsSubscriptionData()
        Tests whether the field vgcsSubscriptionData has a value.
        Returns:
        whether the field vgcsSubscriptionData has a value
      • hasVlrCamelSubscriptionInfo

        public boolean hasVlrCamelSubscriptionInfo()
        Tests whether the field vlrCamelSubscriptionInfo has a value.
        Returns:
        whether the field vlrCamelSubscriptionInfo has a value
      • setBearerServiceList

        public MAPSubscriberData setBearerServiceList​(byte[][] value)
                                               throws IllegalStateException
        Sets the value of the field bearerServiceList. 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
      • setCategory

        public MAPSubscriberData setCategory​(byte[] value)
                                      throws IllegalStateException
        Sets the value of the field category. 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
      • setRegionalSubscriptionData

        public MAPSubscriberData setRegionalSubscriptionData​(byte[][] value)
                                                      throws IllegalStateException
        Sets the value of the field regionalSubscriptionData. 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
      • setRoamingRestrictionDueToUnsupportedFeaturePresent

        public MAPSubscriberData setRoamingRestrictionDueToUnsupportedFeaturePresent​(boolean flag)
                                                                              throws IllegalStateException
        Sets the presence or absence of the optional field roamingRestrictionDueToUnsupportedFeature.
        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
      • setTeleserviceList

        public MAPSubscriberData setTeleserviceList​(byte[][] value)
                                             throws IllegalStateException
        Sets the value of the field teleserviceList. 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