public enum Searchable extends Enum<Searchable>
| Enum Constant and Description |
|---|
DEFAULT
Use the backend-specific default.
|
NO
The field is not searchable, i.e.
|
YES
The field is searchable, i.e.
|
| Modifier and Type | Method and Description |
|---|---|
static Searchable |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Searchable[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Searchable DEFAULT
public static final Searchable NO
This can save some disk space if you know the field is only used for projections or sorts.
public static final Searchable YES
public static Searchable[] values()
for (Searchable c : Searchable.values()) System.out.println(c);
public static Searchable valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2006-2020 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.