org.n52.oxf.valueDomains
Class ObjectValueDomain

java.lang.Object
  extended by org.n52.oxf.valueDomains.ObjectValueDomain
All Implemented Interfaces:
IDiscreteValueDomain<Object>, IValueDomain<Object>

public class ObjectValueDomain
extends Object
implements IDiscreteValueDomain<Object>


Constructor Summary
ObjectValueDomain(List<Object> possibleValues)
           
 
Method Summary
 boolean containsValue(Object object)
           
 String getDomainDescription()
           
 List<Object> getPossibleValues()
           
 Object produceValue(String... stringArray)
           
 String toXML()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObjectValueDomain

public ObjectValueDomain(List<Object> possibleValues)
Method Detail

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.