Class MAPGenericServiceInfo

  • All Implemented Interfaces:
    DataObject, Serializable

    public class MAPGenericServiceInfo
    extends AbstractFieldsObject
    API for MAP-SS-DataTypes.GenericServiceInfo. Generated from the following ASN.1 type definition.
     GenericServiceInfo ::=
         SEQUENCE {
             ss-Status               SS-Status,
             cliRestrictionOption    CliRestrictionOption OPTIONAL,
             ...
             maximumEntitledPriority EMLPP-Priority OPTIONAL,       -- Added in R97.
             defaultPriority         EMLPP-Priority OPTIONAL,       -- Added in R97.
             ccbs-FeatureList        CCBS-FeatureList OPTIONAL,     -- Added in R97.
             nbrSB                   MaxMC-Bearers OPTIONAL,        -- Added in R99.
             nbrUser                 MC-Bearers OPTIONAL,           -- Added in R99.
             nbrSN                   MC-Bearers OPTIONAL            -- Added in R99.
         }
     
    Added in ph2. Renamed from Cli-RestrictionInfo between releases R96 and R97.

    Used as field type by MAPInterrogateSS_Res.

    See Also:
    Serialized Form
    • Constructor Detail

      • MAPGenericServiceInfo

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

      • copyOf

        public static MAPGenericServiceInfo copyOf​(MAPGenericServiceInfo 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:
        MAPGenericServiceInfo
      • getCcbs_FeatureList

        public MAPCCBS_Feature[] getCcbs_FeatureList()
        Gets the value of the field ccbs-FeatureList.
        Returns:
        value of field ccbs-FeatureList, or null if not present
      • getCliRestrictionOption

        public MAPCliRestrictionOption getCliRestrictionOption()
        Gets the value of the field cliRestrictionOption.
        Returns:
        value of field cliRestrictionOption, or null if not present
      • getDefaultPriority

        public int getDefaultPriority()
        Gets the value of the field defaultPriority.
        Returns:
        value of field defaultPriority
      • 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
      • getMaximumEntitledPriority

        public int getMaximumEntitledPriority()
        Gets the value of the field maximumEntitledPriority.
        Returns:
        value of field maximumEntitledPriority
      • getNbrSB

        public int getNbrSB()
        Gets the value of the field nbrSB.
        Returns:
        value of field nbrSB
      • getNbrSN

        public int getNbrSN()
        Gets the value of the field nbrSN.
        Returns:
        value of field nbrSN
      • getNbrUser

        public int getNbrUser()
        Gets the value of the field nbrUser.
        Returns:
        value of field nbrUser
      • getSs_Status

        public byte[] getSs_Status()
        Gets the value of the field ss-Status.
        Returns:
        value of field ss-Status, or null if not present
      • hasCcbs_FeatureList

        public boolean hasCcbs_FeatureList()
        Tests whether the field ccbs-FeatureList has a value.
        Returns:
        whether the field ccbs-FeatureList has a value
      • hasCliRestrictionOption

        public boolean hasCliRestrictionOption()
        Tests whether the field cliRestrictionOption has a value.
        Returns:
        whether the field cliRestrictionOption has a value
      • hasDefaultPriority

        public boolean hasDefaultPriority()
        Tests whether the field defaultPriority has a value.
        Returns:
        whether the field defaultPriority has a value
      • hasMaximumEntitledPriority

        public boolean hasMaximumEntitledPriority()
        Tests whether the field maximumEntitledPriority has a value.
        Returns:
        whether the field maximumEntitledPriority has a value
      • hasNbrSB

        public boolean hasNbrSB()
        Tests whether the field nbrSB has a value.
        Returns:
        whether the field nbrSB has a value
      • hasNbrSN

        public boolean hasNbrSN()
        Tests whether the field nbrSN has a value.
        Returns:
        whether the field nbrSN has a value
      • hasNbrUser

        public boolean hasNbrUser()
        Tests whether the field nbrUser has a value.
        Returns:
        whether the field nbrUser has a value
      • hasSs_Status

        public boolean hasSs_Status()
        Tests whether the field ss-Status has a value.
        Returns:
        whether the field ss-Status has a value
      • setDefaultPriority

        public MAPGenericServiceInfo setDefaultPriority​(int value)
                                                 throws IllegalStateException
        Sets the value of the field defaultPriority and marks the field as present.
        Parameters:
        value - the new value for the field
        Returns:
        this
        Throws:
        IllegalStateException - if this instance has been marked as read-only
      • setDefaultPriorityPresent

        public MAPGenericServiceInfo setDefaultPriorityPresent​(boolean flag)
                                                        throws IllegalStateException
        Sets the presence or absence of the optional field defaultPriority.
        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
      • setMaximumEntitledPriority

        public MAPGenericServiceInfo setMaximumEntitledPriority​(int value)
                                                         throws IllegalStateException
        Sets the value of the field maximumEntitledPriority and marks the field as present.
        Parameters:
        value - the new value for the field
        Returns:
        this
        Throws:
        IllegalStateException - if this instance has been marked as read-only
      • setMaximumEntitledPriorityPresent

        public MAPGenericServiceInfo setMaximumEntitledPriorityPresent​(boolean flag)
                                                                throws IllegalStateException
        Sets the presence or absence of the optional field maximumEntitledPriority.
        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
      • setNbrSBPresent

        public MAPGenericServiceInfo setNbrSBPresent​(boolean flag)
                                              throws IllegalStateException
        Sets the presence or absence of the optional field nbrSB.
        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
      • setNbrSNPresent

        public MAPGenericServiceInfo setNbrSNPresent​(boolean flag)
                                              throws IllegalStateException
        Sets the presence or absence of the optional field nbrSN.
        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
      • setNbrUserPresent

        public MAPGenericServiceInfo setNbrUserPresent​(boolean flag)
                                                throws IllegalStateException
        Sets the presence or absence of the optional field nbrUser.
        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