org.n52.oxf.ows.capabilities
Class Dataset
java.lang.Object
org.n52.oxf.ows.capabilities.Description
org.n52.oxf.ows.capabilities.Dataset
public class Dataset
- extends Description
This holds metadata about data provided by the service.
- Author:
- Theodor Foerster, Arne Broering
Constructor Summary |
Dataset(String title,
String identifier,
IBoundingBox[] boundingBoxes)
this constructor has all REQUIRED attributes as its parameters. |
Dataset(String title,
String identifier,
IBoundingBox[] boundingBoxes,
String[] outputFormats,
String[] availableCRSs,
String fees,
Locale[] language,
String pointOfContactString,
IDiscreteValueDomain<ITime> temporalDomain,
String abstractDescription,
String[] keywords)
this constructor has ALL attributes of the class as its parameters. |
Dataset
public Dataset(String title,
String identifier,
IBoundingBox[] boundingBoxes)
- this constructor has all REQUIRED attributes as its parameters. The other attributes will stay null.
- Parameters:
title
- identifier
- boundingBoxes
-
- Throws:
OXFException
Dataset
public Dataset(String title,
String identifier,
IBoundingBox[] boundingBoxes,
String[] outputFormats,
String[] availableCRSs,
String fees,
Locale[] language,
String pointOfContactString,
IDiscreteValueDomain<ITime> temporalDomain,
String abstractDescription,
String[] keywords)
- this constructor has ALL attributes of the class as its parameters.
- Parameters:
title
- identifier
- boundingBoxes
- outputFormats
- availableCRSs
- fees
- language
- pointOfContactString
-
- Throws:
OXFException
toString
public String toString()
- Overrides:
toString
in class Object
toXML
public String toXML()
- Returns:
- a XML representation of this Dataset-section.
getAvailableCRSs
public String[] getAvailableCRSs()
setAvailableCRSs
protected void setAvailableCRSs(String[] availableCRS)
getBoundingBoxes
public IBoundingBox[] getBoundingBoxes()
setBoundingBoxes
protected void setBoundingBoxes(IBoundingBox[] boundingBox)
throws IllegalArgumentException
- Parameters:
boundingBoxes
-
- Throws:
IllegalArgumentException
- if the boundingBoxes[] is empty.
getFees
public String getFees()
setFees
protected void setFees(String fees)
getIdentifier
public String getIdentifier()
setIdentifier
protected void setIdentifier(String identifier)
throws IllegalArgumentException
- Parameters:
identifier
-
- Throws:
OXFException
- if the identifier is empty.
IllegalArgumentException
getLanguage
public Locale[] getLanguage()
setLanguage
protected void setLanguage(Locale[] language)
getOutputFormats
public String[] getOutputFormats()
setOutputFormats
protected void setOutputFormats(String[] outputFormat)
getPointOfContactString
public String getPointOfContactString()
setPointOfContactString
protected void setPointOfContactString(String pointOfContactString)
getTemporalDomain
public IDiscreteValueDomain<ITime> getTemporalDomain()
setTemporalDomain
protected void setTemporalDomain(IDiscreteValueDomain<ITime> temporalDomain)
Copyright © 2012-2013 52north.org. All Rights Reserved.