public enum MAPGuidanceInfo extends Enum<MAPGuidanceInfo>
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
.
Enum Constant and Description |
---|
badPW_FormatTryAgain |
badPW_TryAgain |
enterNewPW |
enterNewPW_Again |
enterPW |
Modifier and Type | Method and Description |
---|---|
static MAPGuidanceInfo |
fromValue(int value)
Returns the enumeration constant for a given ASN.1 encoded value.
|
int |
intValue()
Gets the integer ASN.1 encoded value of this enumeration constant.
|
static MAPGuidanceInfo |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MAPGuidanceInfo[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MAPGuidanceInfo enterPW
public static final MAPGuidanceInfo enterNewPW
public static final MAPGuidanceInfo enterNewPW_Again
public static final MAPGuidanceInfo badPW_TryAgain
public static final MAPGuidanceInfo badPW_FormatTryAgain
public static MAPGuidanceInfo[] values()
for (MAPGuidanceInfo c : MAPGuidanceInfo.values()) System.out.println(c);
public static MAPGuidanceInfo valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static MAPGuidanceInfo fromValue(int value)
value
- integer ASN.1 encoded valuepublic int intValue()