Class MAPNumberPortabilityStatus

  • All Implemented Interfaces:
    DataObject, Immutable, Serializable

    public class MAPNumberPortabilityStatus
    extends NamedInteger
    API for MAP-MS-DataTypes.NumberPortabilityStatus. Generated from the following ASN.1 type definition.
     NumberPortabilityStatus ::=
         ENUMERATED {
             notKnownToBePorted(0),
             ownNumberPortedOut(1),
             foreignNumberPortedToForeignNetwork(2),
             ...
             ownNumberNotPortedOut(4),        -- Added in release 5.
             foreignNumberPortedIn(5)         -- Added in release 5.
         }
     
    Added in R98. Moved from MAP-CH-DataTypes between releases 4 and 5. Exception handling: reception of other values than the ones listed the receiver shall ignore the whole NumberPortabilityStatus; ownNumberNotPortedOut or foreignNumberPortedIn may only be included in Any Time Interrogation message.

    Used as field type by MAPMNPInfoRes.

    Used as field type by MAPSendRoutingInfoRes_v3.

    See Also:
    Serialized Form
    • Field Detail

      • _notKnownToBePorted

        public static final int _notKnownToBePorted
        Integer value of the constant notKnownToBePorted.
        See Also:
        Constant Field Values
      • notKnownToBePorted

        public static final MAPNumberPortabilityStatus notKnownToBePorted
        Reference to value of the constant notKnownToBePorted.
      • _ownNumberPortedOut

        public static final int _ownNumberPortedOut
        Integer value of the constant ownNumberPortedOut.
        See Also:
        Constant Field Values
      • ownNumberPortedOut

        public static final MAPNumberPortabilityStatus ownNumberPortedOut
        Reference to value of the constant ownNumberPortedOut.
      • _foreignNumberPortedToForeignNetwork

        public static final int _foreignNumberPortedToForeignNetwork
        Integer value of the constant foreignNumberPortedToForeignNetwork.
        See Also:
        Constant Field Values
      • foreignNumberPortedToForeignNetwork

        public static final MAPNumberPortabilityStatus foreignNumberPortedToForeignNetwork
        Reference to value of the constant foreignNumberPortedToForeignNetwork.
      • _ownNumberNotPortedOut

        public static final int _ownNumberNotPortedOut
        Integer value of the constant ownNumberNotPortedOut.
        See Also:
        Constant Field Values
      • ownNumberNotPortedOut

        public static final MAPNumberPortabilityStatus ownNumberNotPortedOut
        Reference to value of the constant ownNumberNotPortedOut.
      • _foreignNumberPortedIn

        public static final int _foreignNumberPortedIn
        Integer value of the constant foreignNumberPortedIn.
        See Also:
        Constant Field Values
      • foreignNumberPortedIn

        public static final MAPNumberPortabilityStatus foreignNumberPortedIn
        Reference to value of the constant foreignNumberPortedIn.
      • MIN_VALUE

        public static final int MIN_VALUE
        Minimum value that a com.opencloud.slee.resources.cgin.map.MAPNumberPortabilityStatus instance may take (0).
        See Also:
        Constant Field Values
      • MAX_VALUE

        public static final int MAX_VALUE
        Maximum value that a com.opencloud.slee.resources.cgin.map.MAPNumberPortabilityStatus instance may take (5).
        See Also:
        Constant Field Values
    • Constructor Detail

      • MAPNumberPortabilityStatus

        protected MAPNumberPortabilityStatus​(int value,
                                             String description)
        Constructs an enumeration constant for the given numeric value, noting its name.
        Parameters:
        value - numeric value
        description - name of number
      • MAPNumberPortabilityStatus

        protected MAPNumberPortabilityStatus​(int value)
        Constructs an enumeration constant for the given numeric value. Suitable for use as decode method.
        Parameters:
        value - numeric value
    • Method Detail

      • fromValue

        public static MAPNumberPortabilityStatus fromValue​(int value)
        Finds or constructs an enumeration constant for the given numeric value.
        Parameters:
        value - integer
        Returns:
        one of the fields if suitable, else a newly constructed object
      • namedValues

        public static MAPNumberPortabilityStatus[] namedValues()
        Returns an array containing all the enumeration constants referenced by fields.
        Returns:
        array of enumeration constants