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(ArrayList<Object> possibleValues)
           
 
Method Summary
 boolean containsValue(Object object)
           
 String getDomainDescription()
           
 List 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(ArrayList<Object> possibleValues)
Method Detail

getPossibleValues

public List 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 © 2005 - 2010 52°North Initiative for Geospatial Open Source Software GmbH. All rights reserved.