Package org.n52.shetland.ogc.ows
Class OwsValue
- java.lang.Object
-
- org.n52.shetland.ogc.ows.OwsValue
-
- All Implemented Interfaces:
Comparable<OwsValueRestriction>,OwsValueRestriction
public class OwsValue extends Object implements OwsValueRestriction
A single value, encoded as a string. This type can be used for one value, for a spacing between allowed values, or for the default value of a parameter.
-
-
Field Summary
Fields Modifier and Type Field Description static Comparator<OwsValue>COMPARATOR
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description OwsValueasValue()booleanequals(Object obj)StringgetValue()inthashCode()booleanisValue()static OwsValueof(String value)StringtoString()-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.n52.shetland.ogc.ows.OwsValueRestriction
asRange, compareTo, isRange
-
-
-
-
Field Detail
-
COMPARATOR
public static final Comparator<OwsValue> COMPARATOR
-
-
Constructor Detail
-
OwsValue
public OwsValue(String value)
-
-
Method Detail
-
getValue
public String getValue()
-
asValue
public OwsValue asValue()
- Specified by:
asValuein interfaceOwsValueRestriction
-
isValue
public boolean isValue()
- Specified by:
isValuein interfaceOwsValueRestriction
-
-