Package io.jans.as.model.fido.u2f
Enum DeviceRegistrationStatus
- java.lang.Object
-
- java.lang.Enum<DeviceRegistrationStatus>
-
- io.jans.as.model.fido.u2f.DeviceRegistrationStatus
-
- All Implemented Interfaces:
io.jans.orm.annotation.AttributeEnum
,Serializable
,Comparable<DeviceRegistrationStatus>
public enum DeviceRegistrationStatus extends Enum<DeviceRegistrationStatus> implements io.jans.orm.annotation.AttributeEnum
Device registration types- Author:
- Yuriy Movchan Date: 06/02/2015
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACTIVE
COMPROMISED
MIGRATED
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DeviceRegistrationStatus
fromString(String param)
static DeviceRegistrationStatus
getByValue(String value)
String
getDisplayName()
Gets display nameString
getValue()
Enum<? extends io.jans.orm.annotation.AttributeEnum>
resolveByValue(String value)
String
toString()
static DeviceRegistrationStatus
valueOf(String name)
Returns the enum constant of this type with the specified name.static DeviceRegistrationStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ACTIVE
public static final DeviceRegistrationStatus ACTIVE
-
COMPROMISED
public static final DeviceRegistrationStatus COMPROMISED
-
MIGRATED
public static final DeviceRegistrationStatus MIGRATED
-
-
Method Detail
-
values
public static DeviceRegistrationStatus[] 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 (DeviceRegistrationStatus c : DeviceRegistrationStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DeviceRegistrationStatus 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 nameNullPointerException
- if the argument is null
-
fromString
public static DeviceRegistrationStatus fromString(String param)
-
getValue
public String getValue()
- Specified by:
getValue
in interfaceio.jans.orm.annotation.AttributeEnum
-
getDisplayName
public String getDisplayName()
Gets display name- Returns:
- display name name
-
getByValue
public static DeviceRegistrationStatus getByValue(String value)
-
resolveByValue
public Enum<? extends io.jans.orm.annotation.AttributeEnum> resolveByValue(String value)
- Specified by:
resolveByValue
in interfaceio.jans.orm.annotation.AttributeEnum
-
toString
public String toString()
- Overrides:
toString
in classEnum<DeviceRegistrationStatus>
-
-