Package org.dspace.xoai.filter.data
Enum DSpaceMetadataFilterOperator
- java.lang.Object
-
- java.lang.Enum<DSpaceMetadataFilterOperator>
-
- org.dspace.xoai.filter.data.DSpaceMetadataFilterOperator
-
- All Implemented Interfaces:
Serializable,Comparable<DSpaceMetadataFilterOperator>
public enum DSpaceMetadataFilterOperator extends Enum<DSpaceMetadataFilterOperator>
- Author:
- Lyncode Development Team (dspace at lyncode dot com)
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CONTAINSENDS_WITHEQUALGREATERGREATER_OR_EQUALLOWERLOWER_OR_EQUALSTARTS_WITHUNDEF
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DSpaceMetadataFilterOperatorvalueOf(String name)Returns the enum constant of this type with the specified name.static DSpaceMetadataFilterOperator[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNDEF
public static final DSpaceMetadataFilterOperator UNDEF
-
CONTAINS
public static final DSpaceMetadataFilterOperator CONTAINS
-
EQUAL
public static final DSpaceMetadataFilterOperator EQUAL
-
GREATER
public static final DSpaceMetadataFilterOperator GREATER
-
LOWER
public static final DSpaceMetadataFilterOperator LOWER
-
GREATER_OR_EQUAL
public static final DSpaceMetadataFilterOperator GREATER_OR_EQUAL
-
LOWER_OR_EQUAL
public static final DSpaceMetadataFilterOperator LOWER_OR_EQUAL
-
ENDS_WITH
public static final DSpaceMetadataFilterOperator ENDS_WITH
-
STARTS_WITH
public static final DSpaceMetadataFilterOperator STARTS_WITH
-
-
Method Detail
-
values
public static DSpaceMetadataFilterOperator[] 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 (DSpaceMetadataFilterOperator c : DSpaceMetadataFilterOperator.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DSpaceMetadataFilterOperator 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
-
-