com.novell.db.object.bean
Enum IncidentBean.StateType

java.lang.Object
  extended by java.lang.Enum<IncidentBean.StateType>
      extended by com.novell.db.object.bean.IncidentBean.StateType
All Implemented Interfaces:
Serializable, Comparable<IncidentBean.StateType>
Enclosing class:
IncidentBean

public static enum IncidentBean.StateType
extends Enum<IncidentBean.StateType>

An enumerated type representing values for the field 'state'.

See Also:
IncidentBean.REL_INCIDENT_STATE

Enum Constant Summary
_INVALID_
           
ACKNOWLEDGED
           
APPROVED
           
ASSIGNED
           
CLOSED
           
FALSE_POSTIVE
           
INVESTIGATING
           
OPEN
           
REJECTED
           
VERIFIED
           
 
Method Summary
static IncidentBean.StateType fromValue(String value)
           
 String toValue()
           
static IncidentBean.StateType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static IncidentBean.StateType[] 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

_INVALID_

public static final IncidentBean.StateType _INVALID_

INVESTIGATING

public static final IncidentBean.StateType INVESTIGATING

ACKNOWLEDGED

public static final IncidentBean.StateType ACKNOWLEDGED

OPEN

public static final IncidentBean.StateType OPEN

REJECTED

public static final IncidentBean.StateType REJECTED

CLOSED

public static final IncidentBean.StateType CLOSED

APPROVED

public static final IncidentBean.StateType APPROVED

VERIFIED

public static final IncidentBean.StateType VERIFIED

ASSIGNED

public static final IncidentBean.StateType ASSIGNED

FALSE_POSTIVE

public static final IncidentBean.StateType FALSE_POSTIVE
Method Detail

values

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

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

valueOf

public static IncidentBean.StateType 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

toValue

public String toValue()

fromValue

public static IncidentBean.StateType fromValue(String value)