org.openpermis.editor.policy.presenter
Enum DecisionPresenter.Decision

java.lang.Object
  extended by java.lang.Enum<DecisionPresenter.Decision>
      extended by org.openpermis.editor.policy.presenter.DecisionPresenter.Decision
All Implemented Interfaces:
Serializable, Comparable<DecisionPresenter.Decision>
Enclosing class:
DecisionPresenter

private static enum DecisionPresenter.Decision
extends Enum<DecisionPresenter.Decision>

Since:
0.3.0

Enum Constant Summary
DENIED
           
GRANTED
           
INCOMPLETE
           
INVALID
           
 
Field Summary
private  Color color
           
 
Method Summary
static DecisionPresenter.Decision valueOf(String name)
          Returns the enum constant of this type with the specified name.
static DecisionPresenter.Decision[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

INCOMPLETE

public static final DecisionPresenter.Decision INCOMPLETE

GRANTED

public static final DecisionPresenter.Decision GRANTED

DENIED

public static final DecisionPresenter.Decision DENIED

INVALID

public static final DecisionPresenter.Decision INVALID
Field Detail

color

private Color color
Method Detail

values

public static final DecisionPresenter.Decision[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(DecisionPresenter.Decision c : DecisionPresenter.Decision.values())
        System.out.println(c);

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

valueOf

public static DecisionPresenter.Decision 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


PERMIS Role Based Access Control 0.4.0 (Build 15)
2009/05/20 08:15:22
Copyright (c) 2002-2007 Ergon Informatik AG