Package org.n52.shetland.ogc.ows
Class OwsAllowedValues
- java.lang.Object
-
- org.n52.shetland.ogc.ows.OwsAllowedValues
-
- All Implemented Interfaces:
Iterable<OwsValueRestriction>,OwsPossibleValues
public class OwsAllowedValues extends Object implements OwsPossibleValues, Iterable<OwsValueRestriction>
TODO JavaDoc
-
-
Constructor Summary
Constructors Constructor Description OwsAllowedValues()OwsAllowedValues(Iterable<? extends OwsValueRestriction> restrictions)OwsAllowedValues(Stream<? extends OwsValueRestriction> restrictions)OwsAllowedValues(OwsValueRestriction... restrictions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OwsAllowedValuesasAllowedValues()booleanequals(Object obj)SortedSet<OwsValueRestriction>getRestrictions()inthashCode()booleanisAllowedValues()Iterator<OwsValueRestriction>iterator()OwsAllowedValuessetRestrictions(Iterable<? extends OwsValueRestriction> restrictions)OwsAllowedValuessetRestrictions(Stream<? extends OwsValueRestriction> restrictions)OwsAllowedValuessetRestrictions(OwsValueRestriction... restrictions)Stream<OwsValueRestriction>stream()StringtoString()-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Methods inherited from interface org.n52.shetland.ogc.ows.OwsPossibleValues
asAnyValues, asNoValues, asValuesReference, isAnyValue, isNoValues, isValuesReference
-
-
-
-
Constructor Detail
-
OwsAllowedValues
public OwsAllowedValues(OwsValueRestriction... restrictions)
-
OwsAllowedValues
public OwsAllowedValues(Iterable<? extends OwsValueRestriction> restrictions)
-
OwsAllowedValues
public OwsAllowedValues(Stream<? extends OwsValueRestriction> restrictions)
-
OwsAllowedValues
public OwsAllowedValues()
-
-
Method Detail
-
setRestrictions
public OwsAllowedValues setRestrictions(OwsValueRestriction... restrictions)
-
setRestrictions
public OwsAllowedValues setRestrictions(Iterable<? extends OwsValueRestriction> restrictions)
-
setRestrictions
public OwsAllowedValues setRestrictions(Stream<? extends OwsValueRestriction> restrictions)
-
iterator
public Iterator<OwsValueRestriction> iterator()
- Specified by:
iteratorin interfaceIterable<OwsValueRestriction>
-
stream
public Stream<OwsValueRestriction> stream()
-
isAllowedValues
public boolean isAllowedValues()
- Specified by:
isAllowedValuesin interfaceOwsPossibleValues
-
asAllowedValues
public OwsAllowedValues asAllowedValues()
- Specified by:
asAllowedValuesin interfaceOwsPossibleValues
-
getRestrictions
public SortedSet<OwsValueRestriction> getRestrictions()
-
-