Package org.fcrepo.search.api
Enum Condition.Field
- java.lang.Object
-
- java.lang.Enum<Condition.Field>
-
- org.fcrepo.search.api.Condition.Field
-
- All Implemented Interfaces:
Serializable
,Comparable<Condition.Field>
- Enclosing class:
- Condition
public static enum Condition.Field extends Enum<Condition.Field>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Condition.Field
fromString(String fieldStr)
String
toString()
static Condition.Field
valueOf(String name)
Returns the enum constant of this type with the specified name.static Condition.Field[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FEDORA_ID
public static final Condition.Field FEDORA_ID
-
MODIFIED
public static final Condition.Field MODIFIED
-
CREATED
public static final Condition.Field CREATED
-
CONTENT_SIZE
public static final Condition.Field CONTENT_SIZE
-
MIME_TYPE
public static final Condition.Field MIME_TYPE
-
RDF_TYPE
public static final Condition.Field RDF_TYPE
-
-
Method Detail
-
values
public static Condition.Field[] 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 (Condition.Field c : Condition.Field.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Condition.Field 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
-
toString
public String toString()
- Overrides:
toString
in classEnum<Condition.Field>
-
fromString
public static Condition.Field fromString(String fieldStr)
-
-