Package com.flower.docs.domain.fact
Enum Action
- java.lang.Object
-
- java.lang.Enum<Action>
-
- com.flower.docs.domain.fact.Action
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<Action>
public enum Action extends java.lang.Enum<Action>
Fact actions <p>Java class for Action. <p>The following schema fragment specifies the expected content contained within this class. <pre> <simpleType name="Action"> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="CREATE"/> <enumeration value="READ"/> <enumeration value="UPDATE"/> <enumeration value="DELETE"/> <enumeration value="SEARCH"/> <enumeration value="LOCK"/> <enumeration value="UNLOCK"/> <enumeration value="ADD_CONTENT"/> <enumeration value="DELETE_CONTENT"/> <enumeration value="GET_CONTENT"/> <enumeration value="ANSWER"/> <enumeration value="ASSIGN"/> <enumeration value="PROMOTE"/> <enumeration value="REVERT"/> <enumeration value="VERSION"/> </restriction> </simpleType> </pre>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADD_CONTENT
ANSWER
ASSIGN
CREATE
DELETE
DELETE_CONTENT
GET_CONTENT
LOCK
PROMOTE
READ
REVERT
SEARCH
UNLOCK
UPDATE
VERSION
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Action
fromValue(java.lang.String v)
java.lang.String
value()
static Action
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Action[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CREATE
public static final Action CREATE
-
READ
public static final Action READ
-
UPDATE
public static final Action UPDATE
-
DELETE
public static final Action DELETE
-
SEARCH
public static final Action SEARCH
-
LOCK
public static final Action LOCK
-
UNLOCK
public static final Action UNLOCK
-
ADD_CONTENT
public static final Action ADD_CONTENT
-
DELETE_CONTENT
public static final Action DELETE_CONTENT
-
GET_CONTENT
public static final Action GET_CONTENT
-
ANSWER
public static final Action ANSWER
-
ASSIGN
public static final Action ASSIGN
-
PROMOTE
public static final Action PROMOTE
-
REVERT
public static final Action REVERT
-
VERSION
public static final Action VERSION
-
-
Method Detail
-
values
public static Action[] 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 (Action c : Action.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Action valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
value
public java.lang.String value()
-
fromValue
public static Action fromValue(java.lang.String v)
-
-