Enum VectorRestriction
- java.lang.Object
-
- java.lang.Enum<VectorRestriction>
-
- cern.nxcals.api.backport.domain.core.constants.VectorRestriction
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<VectorRestriction>
public enum VectorRestriction extends java.lang.Enum<VectorRestriction>
The VectorNumericFilterSelection defines the possible selection applied for filtering vector numeric value
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALL_ELEMENTS
Filters the vector numeric data, if all the elements respects the filtering criteria.MATCHED_ELEMENTS
Returns only elements matching filterSINGLE_ELEMENT
Filters the vector numeric data, if at least one of the element respects the filtering criteria.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isValueFilteringOnly()
static VectorRestriction
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static VectorRestriction[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SINGLE_ELEMENT
public static final VectorRestriction SINGLE_ELEMENT
Filters the vector numeric data, if at least one of the element respects the filtering criteria.
-
ALL_ELEMENTS
public static final VectorRestriction ALL_ELEMENTS
Filters the vector numeric data, if all the elements respects the filtering criteria.
-
MATCHED_ELEMENTS
public static final VectorRestriction MATCHED_ELEMENTS
Returns only elements matching filter
-
-
Method Detail
-
values
public static VectorRestriction[] 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 (VectorRestriction c : VectorRestriction.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static VectorRestriction valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
isValueFilteringOnly
public boolean isValueFilteringOnly()
-
-