Enum Type

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

    public enum Type
    extends java.lang.Enum<Type>
    implements Criteria
    Since:
    17/2/16
    • Enum Constant Detail

      • STARTING_WITH

        public static final Type STARTING_WITH
      • ENDING_WITH

        public static final Type ENDING_WITH
      • CONTAINING

        public static final Type CONTAINING
      • EQUALS

        public static final Type EQUALS
      • NOT_EQUALS

        public static final Type NOT_EQUALS
      • BETWEEN

        public static final Type BETWEEN
      • LESS_THAN

        public static final Type LESS_THAN
      • LESS_THAN_OR_EQUALS

        public static final Type LESS_THAN_OR_EQUALS
      • GREATER_THAN

        public static final Type GREATER_THAN
      • GREATER_THAN_OR_EQUALS

        public static final Type GREATER_THAN_OR_EQUALS
      • NULL

        public static final Type NULL
      • EMPTY

        public static final Type EMPTY
      • LIKE

        public static final Type LIKE
      • IN

        public static final Type IN
      • NULL_OR_EMPTY

        public static final Type NULL_OR_EMPTY
      • IS

        public static final Type IS
    • Method Detail

      • values

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

        public static Type 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
      • valueFor

        public static Type valueFor​(java.lang.String typeName)
      • getName

        public java.lang.String getName()