Enum 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> &lt;simpleType name="Action"&gt; &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string"&gt; &lt;enumeration value="CREATE"/&gt; &lt;enumeration value="READ"/&gt; &lt;enumeration value="UPDATE"/&gt; &lt;enumeration value="DELETE"/&gt; &lt;enumeration value="SEARCH"/&gt; &lt;enumeration value="LOCK"/&gt; &lt;enumeration value="UNLOCK"/&gt; &lt;enumeration value="ADD_CONTENT"/&gt; &lt;enumeration value="DELETE_CONTENT"/&gt; &lt;enumeration value="GET_CONTENT"/&gt; &lt;enumeration value="ANSWER"/&gt; &lt;enumeration value="ASSIGN"/&gt; &lt;enumeration value="PROMOTE"/&gt; &lt;enumeration value="REVERT"/&gt; &lt;enumeration value="VERSION"/&gt; &lt;/restriction&gt; &lt;/simpleType&gt; </pre>
    • 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

        public static final Action ADD_CONTENT

        public static final Action DELETE_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())
        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.)
        name - the name of the enum constant to be returned.
        the enum constant with the specified name
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • value

        public java.lang.String value()
      • fromValue

        public static Action fromValue​(java.lang.String v)