org.n52.oxf.valueDomains
Class ObjectValueDomain
java.lang.Object
org.n52.oxf.valueDomains.ObjectValueDomain
- All Implemented Interfaces:
- IDiscreteValueDomain<Object>, IValueDomain<Object>
public class ObjectValueDomain
- extends Object
- implements IDiscreteValueDomain<Object>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ObjectValueDomain
public ObjectValueDomain(List<Object> possibleValues)
getPossibleValues
public List<Object> getPossibleValues()
- Specified by:
getPossibleValues
in interface IDiscreteValueDomain<Object>
- Returns:
- all possible values of this DiscreteValueDomain.
containsValue
public boolean containsValue(Object object)
- Specified by:
containsValue
in interface IValueDomain<Object>
- Returns:
- if the value t is part of this value domain.
getDomainDescription
public String getDomainDescription()
- Specified by:
getDomainDescription
in interface IValueDomain<Object>
- Returns:
- domain description
toXML
public String toXML()
- Specified by:
toXML
in interface IValueDomain<Object>
- Returns:
- xml-string of this valueDomain
produceValue
public Object produceValue(String... stringArray)
- Specified by:
produceValue
in interface IValueDomain<Object>
Copyright © 2012-2013 52north.org. All Rights Reserved.