Package fi.tut.mei.resdescapi.rescatapi
Enum ResCatStorageInterface.EnumSearchField
- java.lang.Object
-
- java.lang.Enum<ResCatStorageInterface.EnumSearchField>
-
- fi.tut.mei.resdescapi.rescatapi.ResCatStorageInterface.EnumSearchField
-
- All Implemented Interfaces:
Serializable
,Comparable<ResCatStorageInterface.EnumSearchField>
- Enclosing interface:
- ResCatStorageInterface
public static enum ResCatStorageInterface.EnumSearchField extends Enum<ResCatStorageInterface.EnumSearchField>
Enumeration for which search field is used. Allowed values are: ID, GUID, NAME, DESCRIPTION
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DESCRIPTION
GUID
ID
NAME
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ResCatStorageInterface.EnumSearchField
valueOf(String name)
Returns the enum constant of this type with the specified name.static ResCatStorageInterface.EnumSearchField[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ID
public static final ResCatStorageInterface.EnumSearchField ID
-
GUID
public static final ResCatStorageInterface.EnumSearchField GUID
-
NAME
public static final ResCatStorageInterface.EnumSearchField NAME
-
DESCRIPTION
public static final ResCatStorageInterface.EnumSearchField DESCRIPTION
-
-
Method Detail
-
values
public static ResCatStorageInterface.EnumSearchField[] 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 (ResCatStorageInterface.EnumSearchField c : ResCatStorageInterface.EnumSearchField.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ResCatStorageInterface.EnumSearchField 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
-
-