Package com.ads.api.beans.common
Enum Class APIConstants.SelectionCriteria
java.lang.Object
java.lang.Enum<APIConstants.SelectionCriteria>
com.ads.api.beans.common.APIConstants.SelectionCriteria
- All Implemented Interfaces:
Serializable,Comparable<APIConstants.SelectionCriteria>,Constable
- Enclosing class:
- APIConstants
These ENUM constants are used to specify the SelectionCriteria as ALL,
ACTIVE, and PASSIVE. The constants of this enumerated type provides a
simple classification of the declared elements.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptiongetSelectionCriteria(String value) Returns the enum constant of this class with the specified name.static APIConstants.SelectionCriteria[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ALL
ALL - Refers to all Elements i.e both Active and Passive Elements. -
ACTIVE
ACTIVE - Refers to only the Active Elements. -
PASSIVE
PASSIVE - Refers to only Passive Elements
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
getSelectionCriteria
- Parameters:
value-- Returns:
-