org.apache.beehive.netui.util.config.bean
Class PreventCache

Object
  extended by PreventCache
All Implemented Interfaces:
Serializable

public final class PreventCache
extends Object
implements Serializable

See Also:
Serialized Form

Field Summary
static PreventCache ALWAYS
           
static PreventCache DEFAULT
           
static PreventCache IN_DEV_MODE
           
static int INT_ALWAYS
           
static int INT_DEFAULT
           
static int INT_IN_DEV_MODE
           
 
Method Summary
 boolean equals(Object value)
          Equals method.
 int getValue()
          The multipart handler's int value.
 int hashCode()
          Hash code.
 String toString()
          Convert this prevent cache to a readable String.
 
Methods inherited from class Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

INT_DEFAULT

public static final int INT_DEFAULT
See Also:
Constant Field Values

INT_ALWAYS

public static final int INT_ALWAYS
See Also:
Constant Field Values

INT_IN_DEV_MODE

public static final int INT_IN_DEV_MODE
See Also:
Constant Field Values

DEFAULT

public static final PreventCache DEFAULT

ALWAYS

public static final PreventCache ALWAYS

IN_DEV_MODE

public static final PreventCache IN_DEV_MODE
Method Detail

toString

public String toString()
Convert this prevent cache to a readable String.

Overrides:
toString in class Object
Returns:
the readable multipart handler name

equals

public boolean equals(Object value)
Equals method.

Overrides:
equals in class Object
Parameters:
value - value to check
Returns:
true if this prevent cache matches the value; false otherwise.

hashCode

public int hashCode()
Hash code.

Overrides:
hashCode in class Object
Returns:
the hash code

getValue

public int getValue()
The multipart handler's int value.

Returns:
the multipart handler's value