Enum Class Validity.States

java.lang.Object
java.lang.Enum<Validity.States>
com.inet.report.Validity.States
All Implemented Interfaces:
Serializable, Comparable<Validity.States>, Constable
Enclosing class:
Validity

public static enum Validity.States extends Enum<Validity.States>
States of an object
  • Enum Constant Details

    • VALID

      public static final Validity.States VALID
      the object is valid
    • WARNING

      public static final Validity.States WARNING
      the object is valid but is not optimal, for example has a poor performance
    • ERROR

      public static final Validity.States ERROR
      the object has an error
    • DEPENDING_ERROR

      public static final Validity.States DEPENDING_ERROR
      the object self is valid but a depending object has an error
    • UNKNOWN

      public static final Validity.States UNKNOWN
      the object can not check currently, for example no connection to the database is possible
  • Method Details

    • values

      public static Validity.States[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static Validity.States valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null