Enum Class ObjectCriteria.JoinType

java.lang.Object
java.lang.Enum<ObjectCriteria.JoinType>
net.solarnetwork.central.dao.ObjectCriteria.JoinType
All Implemented Interfaces:
Serializable, Comparable<ObjectCriteria.JoinType>, Constable
Enclosing interface:
ObjectCriteria<T extends Filter>

public static enum ObjectCriteria.JoinType extends Enum<ObjectCriteria.JoinType>
Search filter boolean join types.
  • Enum Constant Details

    • AND

      public static final ObjectCriteria.JoinType AND
      Join all enclosed AttributeSearchFilter objects with a logical AND (default join mode).
    • OR

      public static final ObjectCriteria.JoinType OR
      Join all enclosed AttributeSearchFilter objects with a logical OR.
    • NOT

      public static final ObjectCriteria.JoinType NOT
      Join all enclosed AttributeSearchFilter objects with a logical NOT.
  • Method Details

    • values

      public static ObjectCriteria.JoinType[] 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 ObjectCriteria.JoinType 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
    • toString

      public String toString()
      Overrides:
      toString in class Enum<ObjectCriteria.JoinType>