Package org.n52.shetland.ogc.ows
Class OwsValuesReference
- java.lang.Object
-
- org.n52.shetland.ogc.ows.OwsValuesReference
-
- All Implemented Interfaces:
OwsPossibleValues
public class OwsValuesReference extends Object implements OwsPossibleValues
Reference to externally specified list of all the valid values and/or ranges of values for this quantity.
-
-
Constructor Summary
Constructors Constructor Description OwsValuesReference(URI reference)OwsValuesReference(URI reference, String value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OwsValuesReferenceasValuesReference()booleanequals(Object obj)URIgetReference()StringgetValue()Human-readable name of the list of values provided by the referenced document.inthashCode()booleanisValuesReference()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.OwsPossibleValues
asAllowedValues, asAnyValues, asNoValues, isAllowedValues, isAnyValue, isNoValues
-
-
-
-
Method Detail
-
isValuesReference
public boolean isValuesReference()
- Specified by:
isValuesReferencein interfaceOwsPossibleValues
-
asValuesReference
public OwsValuesReference asValuesReference()
- Specified by:
asValuesReferencein interfaceOwsPossibleValues
-
getReference
public URI getReference()
-
getValue
public String getValue()
Human-readable name of the list of values provided by the referenced document. Can be empty string when this list has no name.- Returns:
- the value
-
-