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