Package com.soffid.iam.api
Class AccountStatus
- java.lang.Object
-
- com.soffid.iam.api.AccountStatus
-
- All Implemented Interfaces:
Serializable
public class AccountStatus extends Object implements Serializable
Enumeration AccountStatus- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static AccountStatus
ACTIVE
static AccountStatus
ARCHIVED
static AccountStatus
DISABLED
static AccountStatus
FORCED_ACTIVE
static AccountStatus
FORCED_DISABLED
static AccountStatus
LOCKED
static AccountStatus
REMOVED
-
Constructor Summary
Constructors Modifier Constructor Description protected
AccountStatus()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(Object that)
boolean
equals(Object object)
static AccountStatus
fromString(String value)
Creates an instance of AccountStatus fromvalue
.String
getValue()
Gets the underlying value of this type safe enumeration.int
hashCode()
static List
literals()
Returns an unmodifiable list containing the literals that are known by this enumeration.static List
names()
Returns an unmodifiable list containing the names of the literals that are known by this enumeration.String
toString()
-
-
-
Field Detail
-
ACTIVE
public static final AccountStatus ACTIVE
-
FORCED_ACTIVE
public static final AccountStatus FORCED_ACTIVE
-
LOCKED
public static final AccountStatus LOCKED
-
DISABLED
public static final AccountStatus DISABLED
-
FORCED_DISABLED
public static final AccountStatus FORCED_DISABLED
-
REMOVED
public static final AccountStatus REMOVED
-
ARCHIVED
public static final AccountStatus ARCHIVED
-
-
Method Detail
-
toString
public String toString()
- Overrides:
toString
in classObject
- See Also:
Object.toString()
-
fromString
public static AccountStatus fromString(String value)
Creates an instance of AccountStatus fromvalue
.- Parameters:
value
- the value to create the AccountStatus from.
-
getValue
public String getValue()
Gets the underlying value of this type safe enumeration.- Returns:
- the underlying value.
-
compareTo
public int compareTo(Object that)
- See Also:
Comparable.compareTo(java.lang.Object)
-
literals
public static List literals()
Returns an unmodifiable list containing the literals that are known by this enumeration.- Returns:
- A List containing the actual literals defined by this enumeration, this list can not be modified.
-
names
public static List names()
Returns an unmodifiable list containing the names of the literals that are known by this enumeration.- Returns:
- A List containing the actual names of the literals defined by this enumeration, this list can not be modified.
-
equals
public boolean equals(Object object)
- Overrides:
equals
in classObject
- See Also:
Object.equals(java.lang.Object)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classObject
- See Also:
Object.hashCode()
-
-