- All Implemented Interfaces:
Serializable
,Comparable<ComparisonOperatorName>
,ControlledVocabulary
@UML(identifier="BinaryComparisonName",
specification=ISO_19143)
public final class ComparisonOperatorName
extends CodeList<ComparisonOperatorName>
Nature of the comparison between expressions. A standard set of comparison operators is equal to,
less than, greater than, less than or equal to, greater than or equal to and not equal to.
- 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 ComparisonOperatorName
Filter operator that compares that its two sub-expressions are equal to each other.static final ComparisonOperatorName
Filter operator that checks that its first sub-expression is greater than its second sub-expression.static final ComparisonOperatorName
Filter operator that checks that its first sub-expression is greater or equal to its second sub-expression.static final ComparisonOperatorName
Filter operator that checks that its first sub-expression is less than its second sub-expression.static final ComparisonOperatorName
Filter operator that checks that its first sub-expression is less than or equal to its second sub-expression.static final ComparisonOperatorName
Filter operator that compares that its two sub-expressions are not equal to each other. -
Method Summary
Modifier and TypeMethodDescriptionfamily()
Returns the list of codes of the same kind as this code list element.static ComparisonOperatorName
Returns the comparison operators that matches the given string, or returns a new one if none match it.static ComparisonOperatorName[]
values()
Returns the list ofComparisonOperatorName
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
-
PROPERTY_IS_EQUAL_TO
@UML(identifier="PropertyIsEqualTo", obligation=CONDITIONAL, specification=ISO_19143) public static final ComparisonOperatorName PROPERTY_IS_EQUAL_TOFilter operator that compares that its two sub-expressions are equal to each other. -
PROPERTY_IS_NOT_EQUAL_TO
@UML(identifier="PropertyIsNotEqualTo", obligation=CONDITIONAL, specification=ISO_19143) public static final ComparisonOperatorName PROPERTY_IS_NOT_EQUAL_TOFilter operator that compares that its two sub-expressions are not equal to each other. -
PROPERTY_IS_LESS_THAN
@UML(identifier="PropertyIsLessThan", obligation=CONDITIONAL, specification=ISO_19143) public static final ComparisonOperatorName PROPERTY_IS_LESS_THANFilter operator that checks that its first sub-expression is less than its second sub-expression. -
PROPERTY_IS_GREATER_THAN
@UML(identifier="PropertyIsGreaterThan", obligation=CONDITIONAL, specification=ISO_19143) public static final ComparisonOperatorName PROPERTY_IS_GREATER_THANFilter operator that checks that its first sub-expression is greater than its second sub-expression. -
PROPERTY_IS_LESS_THAN_OR_EQUAL_TO
@UML(identifier="PropertyIsLessThanOrEqualTo", obligation=CONDITIONAL, specification=ISO_19143) public static final ComparisonOperatorName PROPERTY_IS_LESS_THAN_OR_EQUAL_TOFilter operator that checks that its first sub-expression is less than or equal to its second sub-expression. -
PROPERTY_IS_GREATER_THAN_OR_EQUAL_TO
@UML(identifier="PropertyIsGreaterThanOrEqualTo", obligation=CONDITIONAL, specification=ISO_19143) public static final ComparisonOperatorName PROPERTY_IS_GREATER_THAN_OR_EQUAL_TOFilter operator that checks that its first sub-expression is greater or equal to its second sub-expression.
-
-
Method Details
-
values
Returns the list ofComparisonOperatorName
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<ComparisonOperatorName>
- Returns:
- all code values for this code list.
-
valueOf
Returns the comparison operators 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.
-