Class MAPDomainType

  • All Implemented Interfaces:
    DataObject, Immutable, Serializable

    public class MAPDomainType
    extends NamedInteger
    API for MAP-MS-DataTypes.DomainType. Generated from the following ASN.1 type definition.
     DomainType ::=
         ENUMERATED {
             cs-Domain(0),
             ps-Domain(1),
             ...
         }
     
    Added in release 5. Exception handling: reception of values > 1 shall be mapped to 'cs-Domain'.

    Used as field type by MAPRequestedInfo.

    See Also:
    Serialized Form
    • Field Detail

      • _cs_Domain

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

        public static final MAPDomainType cs_Domain
        Reference to value of the constant cs_Domain.
      • _ps_Domain

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

        public static final MAPDomainType ps_Domain
        Reference to value of the constant ps_Domain.
      • MIN_VALUE

        public static final int MIN_VALUE
        Minimum value that a com.opencloud.slee.resources.cgin.map.MAPDomainType 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.MAPDomainType instance may take (1).
        See Also:
        Constant Field Values
    • Constructor Detail

      • MAPDomainType

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

        protected MAPDomainType​(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 MAPDomainType 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 MAPDomainType[] namedValues()
        Returns an array containing all the enumeration constants referenced by fields.
        Returns:
        array of enumeration constants