Enum ActivationStatusType
- java.lang.Object
-
- java.lang.Enum<ActivationStatusType>
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.ActivationStatusType
-
- All Implemented Interfaces:
Serializable
,Comparable<ActivationStatusType>
public enum ActivationStatusType extends Enum<ActivationStatusType>
An enumeration that indicates the activation status of a particular entity. The activation status determines whether the entity is active (enabled) or inactive (disabled, archived, etc.). Please see documentation of individual enumeration values for more details.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ActivationStatusType
fromValue(String v)
String
value()
static ActivationStatusType
valueOf(String name)
Returns the enum constant of this type with the specified name.static ActivationStatusType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ENABLED
public static final ActivationStatusType ENABLED
The entity is active. It is enabled and fully operational.
-
DISABLED
public static final ActivationStatusType DISABLED
The entity is inactive. It has been disabled, haven't reached the activation period, etc. This is used to indicate that the entity is TEMPORARILY inactive and there is an intent to enabled the entity later. Usually used for an employee on parental leave, sabbatical, temporarily disabled account for security reasons, etc.
-
ARCHIVED
public static final ActivationStatusType ARCHIVED
The entity is inactive. It is no longer active and there are no plans to ever re-activate it. This is a PERMANENT state of deactivation. This state is used to keep the user record or account around for archival purposes. E.g. some systems require that the account exists to maintain referential consistency of historical data, audit records, etc. It may also be used to "blocks" the user or account identifier to avoid their reuse. Usually used for retired employees and similar cases.
-
-
Method Detail
-
values
public static ActivationStatusType[] 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 (ActivationStatusType c : ActivationStatusType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ActivationStatusType 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
-
value
public String value()
-
fromValue
public static ActivationStatusType fromValue(String v)
-
-