public class OwsRange extends java.lang.Object implements OwsValueRestriction
| Modifier and Type | Class and Description |
|---|---|
static class |
OwsRange.BoundType |
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CLOSED |
static java.lang.String |
CLOSED_OPEN |
static java.util.Comparator<OwsRange> |
COMPARATOR |
static java.lang.String |
OPEN |
static java.lang.String |
OPEN_CLOSED |
| Constructor and Description |
|---|
OwsRange(OwsValue lowerBound,
OwsRange.BoundType lowerBoundType,
OwsValue upperBound,
OwsRange.BoundType upperBoundType) |
OwsRange(OwsValue lowerBound,
OwsRange.BoundType lowerBoundType,
OwsValue upperBound,
OwsRange.BoundType upperBoundType,
OwsValue spacing) |
OwsRange(OwsValue lowerBound,
OwsValue upperBound) |
OwsRange(OwsValue lowerBound,
OwsValue upperBound,
java.lang.String type) |
OwsRange(OwsValue lowerBound,
OwsValue upperBound,
java.lang.String type,
OwsValue spacing) |
| Modifier and Type | Method and Description |
|---|---|
OwsRange |
asRange() |
boolean |
equals(java.lang.Object obj) |
java.util.Optional<OwsValue> |
getLowerBound() |
OwsRange.BoundType |
getLowerBoundType() |
java.util.Optional<OwsValue> |
getSpacing() |
java.lang.String |
getType() |
java.util.Optional<OwsValue> |
getUpperBound() |
OwsRange.BoundType |
getUpperBoundType() |
int |
hashCode() |
boolean |
isRange() |
java.lang.String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitasValue, compareTo, isValuepublic static final java.util.Comparator<OwsRange> COMPARATOR
public static final java.lang.String CLOSED
public static final java.lang.String CLOSED_OPEN
public static final java.lang.String OPEN_CLOSED
public static final java.lang.String OPEN
public OwsRange(OwsValue lowerBound, OwsValue upperBound, java.lang.String type, OwsValue spacing)
public OwsRange(OwsValue lowerBound, OwsRange.BoundType lowerBoundType, OwsValue upperBound, OwsRange.BoundType upperBoundType)
public OwsRange(OwsValue lowerBound, OwsRange.BoundType lowerBoundType, OwsValue upperBound, OwsRange.BoundType upperBoundType, OwsValue spacing)
public java.util.Optional<OwsValue> getLowerBound()
public java.util.Optional<OwsValue> getUpperBound()
public OwsRange.BoundType getLowerBoundType()
public OwsRange.BoundType getUpperBoundType()
public java.util.Optional<OwsValue> getSpacing()
public java.lang.String getType()
public OwsRange asRange()
asRange in interface OwsValueRestrictionpublic boolean isRange()
isRange in interface OwsValueRestrictionpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2015–2018 52°North Initiative for Geospatial Open Source Software GmbH. All rights reserved.