Package org.n52.shetland.ogc.ows
Class OwsRange
java.lang.Object
org.n52.shetland.ogc.ows.OwsRange
- All Implemented Interfaces:
Comparable<OwsValueRestriction>,OwsValueRestriction
A range of values of a numeric parameter. This range can be continuous or discrete, defined by a fixed
spacing between adjacent valid values. If the MinimumValue or MaximumValue is not included, there is no
value limit in that direction. Inclusion of the specified minimum and maximum values in the range shall be
defined by the rangeClosure.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionOwsRange(OwsValue lowerBound, OwsRange.BoundType lowerBoundType, OwsValue upperBound, OwsRange.BoundType upperBoundType) OwsRange(OwsValue lowerBound, OwsRange.BoundType lowerBoundType, OwsValue upperBound, OwsRange.BoundType upperBoundType, OwsValue spacing) -
Method Summary
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.n52.shetland.ogc.ows.OwsValueRestriction
asValue, compareTo, isValue
-
Field Details
-
COMPARATOR
-
CLOSED
- See Also:
-
CLOSED_OPEN
- See Also:
-
OPEN_CLOSED
- See Also:
-
OPEN
- See Also:
-
-
Constructor Details
-
OwsRange
-
OwsRange
-
OwsRange
-
OwsRange
public OwsRange(OwsValue lowerBound, OwsRange.BoundType lowerBoundType, OwsValue upperBound, OwsRange.BoundType upperBoundType) -
OwsRange
public OwsRange(OwsValue lowerBound, OwsRange.BoundType lowerBoundType, OwsValue upperBound, OwsRange.BoundType upperBoundType, OwsValue spacing)
-
-
Method Details
-
getLowerBound
-
getUpperBound
-
getLowerBoundType
-
getUpperBoundType
-
getSpacing
-
getType
-
asRange
- Specified by:
asRangein interfaceOwsValueRestriction
-
isRange
public boolean isRange()- Specified by:
isRangein interfaceOwsValueRestriction
-
hashCode
public int hashCode() -
equals
-
toString
-