Skip navigation links
oracle.adf.view.rich.model
Enum ConjunctionCriterion.Conjunction
java.lang.Object
java.lang.Enum<ConjunctionCriterion.Conjunction>
oracle.adf.view.rich.model.ConjunctionCriterion.Conjunction
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<ConjunctionCriterion.Conjunction>
- Enclosing class:
- ConjunctionCriterion
-
public static enum ConjunctionCriterion.Conjunction
- extends java.lang.Enum<ConjunctionCriterion.Conjunction>
Enum constants for conjunction operator that is used to combine criterion values.
- AND and OR are the operators used between the individual criterion objects in a search criteria.
- NONE, is not a valid operator and simply implies that a combination of AND/OR operators is used (configured in the model) between the Criterion objects that form a ConjunctionCriterion.
For e.g., if the ConjunctionCriterion is a collection of the following Criterion objects C1, C2, C3, C4 and the conjunction between these Criterion objects is configured such that a search criteria yields "C1 AND C2 OR C3 AND C4", then the ConjunctionType returned is NONE.
Methods inherited from class java.lang.Enum |
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
AND
public static final ConjunctionCriterion.Conjunction AND
OR
public static final ConjunctionCriterion.Conjunction OR
NONE
public static final ConjunctionCriterion.Conjunction NONE
values
public static ConjunctionCriterion.Conjunction[] 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 (ConjunctionCriterion.Conjunction c : ConjunctionCriterion.Conjunction.values())
System.out.println(c);
-
- Returns:
- an array containing the constants of this enum type, in the order they are declared
valueOf
public static ConjunctionCriterion.Conjunction 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 name
java.lang.NullPointerException
- if the argument is null
Skip navigation links
Copyright (c) 1998, 2011, Oracle and/or its affiliates. All rights reserved.