Enum SearchTermTemplates
- java.lang.Object
-
- java.lang.Enum<SearchTermTemplates>
-
- de.digitalcollections.cudami.server.backend.impl.jdbi.identifiable.SearchTermTemplates
-
- All Implemented Interfaces:
Serializable,Comparable<SearchTermTemplates>
public enum SearchTermTemplates extends Enum<SearchTermTemplates>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ARRAY_CONTAINSILIKE_SEARCHILIKE_STARTS_WITHJSONB_PATH
-
Field Summary
Fields Modifier and Type Field Description Stringplaceholder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringrenderTemplate(Object... values)static SearchTermTemplatesvalueOf(String name)Returns the enum constant of this type with the specified name.static SearchTermTemplates[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ILIKE_SEARCH
public static final SearchTermTemplates ILIKE_SEARCH
-
ILIKE_STARTS_WITH
public static final SearchTermTemplates ILIKE_STARTS_WITH
-
JSONB_PATH
public static final SearchTermTemplates JSONB_PATH
-
ARRAY_CONTAINS
public static final SearchTermTemplates ARRAY_CONTAINS
-
-
Field Detail
-
placeholder
public final String placeholder
-
-
Method Detail
-
values
public static SearchTermTemplates[] 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 (SearchTermTemplates c : SearchTermTemplates.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SearchTermTemplates valueOf(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-