Enum MAPGuidanceInfo

  • All Implemented Interfaces:
    Serializable, Comparable<MAPGuidanceInfo>

    public enum MAPGuidanceInfo
    extends Enum<MAPGuidanceInfo>
    API for MAP-SS-DataTypes-ph1.GuidanceInfo. Generated from the following ASN.1 type definition and the adaptations below.
     GuidanceInfo ::=
         ENUMERATED {
             guidance0(0), -- Renamed to enterPW between ph1 and ph2.
             guidance1(1), -- Renamed to enterNewPW between ph1 and ph2.
             guidance2(2), -- Renamed to enterNewPW-Again between ph1 and ph2.
             guidance3(3), -- Renamed to badPW-TryAgain and removed between ph1 and ph2.  For use only in -v1 contexts.
             guidance4(4)  -- Renamed to badPW-FormatTryAgain and removed between ph1 and ph2.  For use only in -v1 contexts.
         }
     MAP-SS-DataTypes-ph1 {
         GuidanceInfo {
             guidance0 {
                 @rename enterPW
             }
             guidance1 {
                 @rename enterNewPW
             }
             guidance2 {
                 @rename enterNewPW-Again
             }
             guidance3 {
                 @rename badPW-TryAgain
             }
             guidance4 {
                 @rename badPW-FormatTryAgain
             }
         }
     }
     
    Present in ph1. Evolved in ph2 by deletion of fields badPW-TryAgain and badPW-FormatTryAgain, so this API suffices in -v2 contexts as well as -v1. How this information is really delivered to the subscriber (display, announcement, ...) is not part of this specification.

    Used as argument type by MAPOperations.getPassword_v1.

    Used as argument type by MAPOperations.getPassword.

    • Method Detail

      • values

        public static MAPGuidanceInfo[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (MAPGuidanceInfo c : MAPGuidanceInfo.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static MAPGuidanceInfo valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • fromValue

        public static MAPGuidanceInfo fromValue​(int value)
        Returns the enumeration constant for a given ASN.1 encoded value.
        Parameters:
        value - integer ASN.1 encoded value
        Returns:
        enumeration constant
      • intValue

        public int intValue()
        Gets the integer ASN.1 encoded value of this enumeration constant.
        Returns:
        encoded value