- All Implemented Interfaces:
Serializable
,Comparable<LogicalOperatorName>
,ControlledVocabulary
@UML(identifier="BinaryLogicType, UnaryLogicType",
specification=ISO_19143)
public final class LogicalOperatorName
extends CodeList<LogicalOperatorName>
Nature of the logic operation between two or more filters.
The standard set of comparison operators is
AND
, OR
and NOT
.- Since:
- 3.1
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.opengis.util.CodeList
CodeList.Filter
-
Field Summary
Modifier and TypeFieldDescriptionstatic final LogicalOperatorName
Operator evaluates totrue
if all the combined filters evaluate totrue
.static final LogicalOperatorName
Operator reverses the logical value of a filter.static final LogicalOperatorName
Operator evaluates totrue
if any of the combined filters evaluate totrue
. -
Method Summary
Modifier and TypeMethodDescriptionfamily()
Returns the list of codes of the same kind as this code list element.static LogicalOperatorName
Returns the binary logic type that matches the given string, or returns a new one if none match it.static LogicalOperatorName[]
values()
Returns the list ofLogicalOperatorName
s.Methods inherited from class org.opengis.util.CodeList
compareTo, identifier, name, ordinal, readResolve, toString, valueOf, valueOf, valueOf, values
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.opengis.util.ControlledVocabulary
names
-
Field Details
-
AND
@UML(identifier="And", obligation=CONDITIONAL, specification=ISO_19143) public static final LogicalOperatorName ANDOperator evaluates totrue
if all the combined filters evaluate totrue
. -
OR
@UML(identifier="Or", obligation=CONDITIONAL, specification=ISO_19143) public static final LogicalOperatorName OROperator evaluates totrue
if any of the combined filters evaluate totrue
. -
NOT
@UML(identifier="Not", obligation=CONDITIONAL, specification=ISO_19143) public static final LogicalOperatorName NOTOperator reverses the logical value of a filter.
-
-
Method Details
-
values
Returns the list ofLogicalOperatorName
s.- Returns:
- the list of codes declared in the current JVM.
-
family
Returns the list of codes of the same kind as this code list element. Invoking this method is equivalent to invokingvalues()
, except that this method can be invoked on an instance of the parentCodeList
class.- Specified by:
family
in interfaceControlledVocabulary
- Specified by:
family
in classCodeList<LogicalOperatorName>
- Returns:
- all code values for this code list.
-
valueOf
Returns the binary logic type that matches the given string, or returns a new one if none match it. This methods returns the first instance (in declaration order) for which the name is equals, ignoring case, to the given name. If no existing instance is found, then a new one is created for the given name.- Parameters:
code
- the name of the code to fetch or to create.- Returns:
- a code matching the given name.
-