org.n52.oxf.ows.capabilities
Class Dataset

java.lang.Object
  extended by org.n52.oxf.ows.capabilities.Description
      extended by 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.
 
Method Summary
 String[] getAvailableCRSs()
           
 IBoundingBox[] getBoundingBoxes()
           
 String getFees()
           
 String getIdentifier()
           
 Locale[] getLanguage()
           
 String[] getOutputFormats()
           
 String getPointOfContactString()
           
 IDiscreteValueDomain<ITime> getTemporalDomain()
           
protected  void setAvailableCRSs(String[] availableCRS)
           
protected  void setBoundingBoxes(IBoundingBox[] boundingBox)
           
protected  void setFees(String fees)
           
protected  void setIdentifier(String identifier)
           
protected  void setLanguage(Locale[] language)
           
protected  void setOutputFormats(String[] outputFormat)
           
protected  void setPointOfContactString(String pointOfContactString)
           
protected  void setTemporalDomain(IDiscreteValueDomain<ITime> temporalDomain)
           
 String toString()
           
 String toXML()
           
 
Methods inherited from class org.n52.oxf.ows.capabilities.Description
getAbstractDescription, getKeywords, getTitle, setAbstractDescription, setKeywords, setTitle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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
Method Detail

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.