org.n52.oxf.ows.capabilities
Class Description

java.lang.Object
  extended by org.n52.oxf.ows.capabilities.Description
Direct Known Subclasses:
Dataset, ServiceIdentification

public abstract class Description
extends Object

According to the OWS Common this holds some general parameters, which are needed by ServiceIdentification and Dataset.

Author:
Theodor Foerster , Arne Broering

Constructor Summary
Description(String title)
          this constructor has all required attributes as its parameters.
Description(String title, String abstractDescription, String[] keywords)
          this constructor has all required attributes as its parameters.
 
Method Summary
 String getAbstractDescription()
           
 String[] getKeywords()
           
 String getTitle()
           
protected  void setAbstractDescription(String abstractDescription)
           
protected  void setKeywords(String[] keywords)
           
protected  void setTitle(String title)
          sets the title.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Description

public Description(String title)
this constructor has all required attributes as its parameters. The other attributes will be set on default values.

Parameters:
title -
Throws:
OXFException

Description

public Description(String title,
                   String abstractDescription,
                   String[] keywords)
this constructor has all required attributes as its parameters. The other attributes will be set on default values.

Parameters:
title -
Throws:
OXFException
Method Detail

setTitle

protected void setTitle(String title)
                 throws IllegalArgumentException
sets the title.

Parameters:
title -
Throws:
IllegalArgumentException - if the title is empty.

setAbstractDescription

protected void setAbstractDescription(String abstractDescription)
Parameters:
abstractDescription -

setKeywords

protected void setKeywords(String[] keywords)
Parameters:
keywords -

getAbstractDescription

public String getAbstractDescription()
Returns:
Returns the abstractDescription.

getKeywords

public String[] getKeywords()
Returns:
Returns the keywords.

getTitle

public String getTitle()
Returns:
Returns the title.


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