org.n52.oxf.ows.capabilities
Class DatasetParameter

java.lang.Object
  extended by org.n52.oxf.ows.capabilities.Parameter
      extended by org.n52.oxf.ows.capabilities.DatasetParameter

public class DatasetParameter
extends Parameter

You can use this class "DatasetParameter" to associate a Parameter with a specific dataset (that means a Dataset).

Author:
Arne Broering

Field Summary
 
Fields inherited from class org.n52.oxf.ows.capabilities.Parameter
COMMON_NAME_BBOX, COMMON_NAME_FORMAT, COMMON_NAME_HEIGHT, COMMON_NAME_RESOURCE_ID, COMMON_NAME_SRS, COMMON_NAME_STYLE, COMMON_NAME_TIME, COMMON_NAME_VERSION, COMMON_NAME_WIDTH, required, serviceSidedName, valueDomain
 
Constructor Summary
DatasetParameter(String name, boolean required, IValueDomain valueDomain, Dataset dataID, String commonName)
           
 
Method Summary
 Dataset getAssociatedDataset()
           
 String toXML()
           
 
Methods inherited from class org.n52.oxf.ows.capabilities.Parameter
getCommonName, getServiceSidedName, getValueDomain, isRequired, setCommonName, setRequired, setServiceSidedName, setValueDomain, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DatasetParameter

public DatasetParameter(String name,
                        boolean required,
                        IValueDomain valueDomain,
                        Dataset dataID,
                        String commonName)
Parameters:
serviceSidedName - the serviceSidedName of the parameter
required - indicates if a ParameterContainer is required.
valueDomain - holds all possible values.
commonName - the "commonName" is used internally by the OX-framework to address this parameter.
ATTENTION: if the parameter has no corresponding commonName please set it on null.
dataID -
Throws:
OXFException
Method Detail

getAssociatedDataset

public Dataset getAssociatedDataset()

toXML

public String toXML()
Overrides:
toXML in class Parameter
Returns:
a XML representation of this Parameter.


Copyright © 2012-2013 52north.org. All Rights Reserved.