org.norther.tammi.root.realm
Enum PersistentUser.AccountState

java.lang.Object
  extended by java.lang.Enum<PersistentUser.AccountState>
      extended by org.norther.tammi.root.realm.PersistentUser.AccountState
All Implemented Interfaces:
Serializable, Comparable<PersistentUser.AccountState>
Enclosing interface:
PersistentUser

public static enum PersistentUser.AccountState
extends Enum<PersistentUser.AccountState>

The account state.


Enum Constant Summary
ACTIVE
          The account state active.
FROZEN
          The account state frozen.
IDLE
          The account state idle.
READY
          The account state ready.
 
Method Summary
static PersistentUser.AccountState valueOf(String name)
          Returns the enum constant of this type with the specified name.
static PersistentUser.AccountState[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

READY

public static final PersistentUser.AccountState READY
The account state ready.


IDLE

public static final PersistentUser.AccountState IDLE
The account state idle.


ACTIVE

public static final PersistentUser.AccountState ACTIVE
The account state active.


FROZEN

public static final PersistentUser.AccountState FROZEN
The account state frozen.

Method Detail

values

public static PersistentUser.AccountState[] 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 (PersistentUser.AccountState c : PersistentUser.AccountState.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static PersistentUser.AccountState 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 name
NullPointerException - if the argument is null


Copyright © 2004 The Norther Organization. All rights reserved.