Package org.cyclos.model.access.clients
Enum AccessClientStatus
- java.lang.Object
-
- java.lang.Enum<AccessClientStatus>
-
- org.cyclos.model.access.clients.AccessClientStatus
-
- All Implemented Interfaces:
Serializable,Comparable<AccessClientStatus>,HasMessageKey
public enum AccessClientStatus extends Enum<AccessClientStatus> implements HasMessageKey
Possible statuses for an access client
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACTIVEThe access client is active, and can operate normallyBLOCKEDThe access client is blocked and cannot be used until it is unblockedREMOVEDThe access client was removed, but had transactions, so couldn't be physically removedUNASSIGNEDThe access client is unassigned (disconnected) from a physical application
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MessageKeygetMessageKey()static AccessClientStatusvalueOf(String name)Returns the enum constant of this type with the specified name.static AccessClientStatus[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNASSIGNED
public static final AccessClientStatus UNASSIGNED
The access client is unassigned (disconnected) from a physical application
-
ACTIVE
public static final AccessClientStatus ACTIVE
The access client is active, and can operate normally
-
BLOCKED
public static final AccessClientStatus BLOCKED
The access client is blocked and cannot be used until it is unblocked
-
REMOVED
public static final AccessClientStatus REMOVED
The access client was removed, but had transactions, so couldn't be physically removed
-
-
Method Detail
-
values
public static AccessClientStatus[] 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 (AccessClientStatus c : AccessClientStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AccessClientStatus 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
-
getMessageKey
public MessageKey getMessageKey()
- Specified by:
getMessageKeyin interfaceHasMessageKey
-
-