org.deegree.protocol.ows.metadata
Class Description

java.lang.Object
  extended by org.deegree.protocol.ows.metadata.Description
Direct Known Subclasses:
ServiceIdentification

public class Description
extends Object

Encapsulates descriptive information on an object described in OGC web service metadata.

Data model has been designed to capture the expressiveness of all OWS specifications and versions and was verified against the following specifications:

From OWS Common 2.0: Human-readable descriptive information for the object it is included within. This type shall be extended if needed for specific OWS use to include additional metadata for each type of information. This type shall not be restricted for a specific OWS to change the multiplicity (or optionality) of some elements. If the xml:lang attribute is not included in a Title, Abstract or Keyword element, then no language is specified for that element unless specified by another means. All Title, Abstract and Keyword elements in the same Description that share the same xml:lang attribute value represent the description of the parent object in that language. Multiple Title or Abstract elements shall not exist in the same Description with the same xml:lang attribute value unless otherwise specified.

Version:
$Revision: 31860 $, $Date: 2011-09-13 15:11:47 +0200 (Tue, 13 Sep 2011) $
Author:
Markus Schneider, Andrei Ionita, last edited by: $Author: mschneider $

Constructor Summary
Description(String name, List<LanguageString> titles, List<LanguageString> abstracts, List<Pair<List<LanguageString>,CodeType>> keywords)
           
 
Method Summary
 List<LanguageString> getAbstracts()
           
 List<Pair<List<LanguageString>,CodeType>> getKeywords()
           
 String getName()
          Deprecated. This information is only provided by some older OWS specifications (e.g. WFS 1.0.0). Newer service specifications don't define it.
 List<LanguageString> getTitles()
           
 void setAbstracts(List<LanguageString> abstracts)
           
 void setKeywords(List<Pair<List<LanguageString>,CodeType>> keywords)
           
 void setTitles(List<LanguageString> titles)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Description

public Description(String name,
                   List<LanguageString> titles,
                   List<LanguageString> abstracts,
                   List<Pair<List<LanguageString>,CodeType>> keywords)
Method Detail

getName

public String getName()
Deprecated. This information is only provided by some older OWS specifications (e.g. WFS 1.0.0). Newer service specifications don't define it.

Returns the name of the object.

Returns:
name of the object, can be null

getTitles

public List<LanguageString> getTitles()
Returns:
title, never null

setTitles

public void setTitles(List<LanguageString> titles)

getAbstracts

public List<LanguageString> getAbstracts()
Returns:
serviceAbstract, never null

setAbstracts

public void setAbstracts(List<LanguageString> abstracts)

getKeywords

public List<Pair<List<LanguageString>,CodeType>> getKeywords()
Returns:
keywords, never null

setKeywords

public void setKeywords(List<Pair<List<LanguageString>,CodeType>> keywords)


Copyright © 2011. All Rights Reserved.