public enum SearchableType extends Enum<SearchableType> implements IdentifiedEnum
| Enum Constant and Description |
|---|
notSearchable |
searchable |
searchableWithLike |
searchableWithoutLike |
unknown |
| Modifier and Type | Method and Description |
|---|---|
int |
id()
Gets the id.
|
String |
toString() |
static SearchableType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SearchableType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SearchableType unknown
public static final SearchableType notSearchable
public static final SearchableType searchableWithLike
public static final SearchableType searchableWithoutLike
public static final SearchableType searchable
public static SearchableType[] values()
for (SearchableType c : SearchableType.values()) System.out.println(c);
public static SearchableType 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 nullpublic int id()
id in interface IdentifiedEnumpublic String toString()
toString in class Enum<SearchableType>Copyright © 2000-2024 Sualeh Fatehi. All rights reserved.