Enum Status

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<Status>

    public enum Status
    extends java.lang.Enum<Status>
    All possible status of an object <p>Java class for Status. <p>The following schema fragment specifies the expected content contained within this class. <pre> &lt;simpleType name="Status"&gt; &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string"&gt; &lt;enumeration value="DRAFT"/&gt; &lt;enumeration value="NEW"/&gt; &lt;enumeration value="OPEN"/&gt; &lt;enumeration value="CLOSE"/&gt; &lt;enumeration value="INVALID"/&gt; &lt;enumeration value="DELETED"/&gt; &lt;enumeration value="OUT_OF_DATE"/&gt; &lt;/restriction&gt; &lt;/simpleType&gt; </pre>
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      CLOSE
      State of a processed object
      DELETED
      State of a logically deleted object
      DRAFT
      State of a draft object which can be invalid
      INVALID
      State of an invalid object
      NEW
      State of a never processed object
      OPEN
      State of an object which is currently processing
      OUT_OF_DATE  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static Status fromValue​(java.lang.String v)  
      java.lang.String value()  
      static Status valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static Status[] 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

      • DRAFT

        public static final Status DRAFT
        State of a draft object which can be invalid
      • NEW

        public static final Status NEW
        State of a never processed object
      • OPEN

        public static final Status OPEN
        State of an object which is currently processing
      • CLOSE

        public static final Status CLOSE
        State of a processed object
      • INVALID

        public static final Status INVALID
        State of an invalid object
      • DELETED

        public static final Status DELETED
        State of a logically deleted object
      • OUT_OF_DATE

        public static final Status OUT_OF_DATE
    • Method Detail

      • values

        public static Status[] 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 (Status c : Status.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static Status 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 name
        java.lang.NullPointerException - if the argument is null
      • value

        public java.lang.String value()
      • fromValue

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