org.geotools.metadata.iso.identification
Class KeywordsImpl

java.lang.Object
  extended by org.geotools.metadata.AbstractMetadata
      extended by org.geotools.metadata.ModifiableMetadata
          extended by org.geotools.metadata.iso.MetadataEntity
              extended by org.geotools.metadata.iso.identification.KeywordsImpl
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, org.opengis.metadata.identification.Keywords

public class KeywordsImpl
extends MetadataEntity
implements org.opengis.metadata.identification.Keywords

Keywords, their type and reference source.

Since:
2.1
Version:
$Id: KeywordsImpl.java 31557 2008-09-19 20:02:35Z desruisseaux $
Author:
Martin Desruisseaux (IRD), Touraïvane
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.geotools.metadata.AbstractMetadata
LOGGER
 
Constructor Summary
KeywordsImpl()
          Constructs an initially empty keywords.
KeywordsImpl(java.util.Collection<? extends org.opengis.util.InternationalString> keywords)
          Creates keywords initialized to the given list.
KeywordsImpl(org.opengis.metadata.identification.Keywords source)
          Constructs a metadata entity initialized with the values from the specified metadata.
 
Method Summary
 java.util.Collection<org.opengis.util.InternationalString> getKeywords()
          Commonly used word(s) or formalised word(s) or phrase(s) used to describe the subject.
 org.opengis.metadata.citation.Citation getThesaurusName()
          Name of the formally registered thesaurus or a similar authoritative source of keywords.
 org.opengis.metadata.identification.KeywordType getType()
          Subject matter used to group similar keywords.
 void setKeywords(java.util.Collection<? extends org.opengis.util.InternationalString> newValues)
          Set commonly used word(s) or formalised word(s) or phrase(s) used to describe the subject.
 void setThesaurusName(org.opengis.metadata.citation.Citation newValue)
          Set the name of the formally registered thesaurus or a similar authoritative source of keywords.
 void setType(org.opengis.metadata.identification.KeywordType newValue)
          Set the subject matter used to group similar keywords.
 
Methods inherited from class org.geotools.metadata.iso.MetadataEntity
ensureNonNull, getStandard
 
Methods inherited from class org.geotools.metadata.ModifiableMetadata
checkWritePermission, clone, copyCollection, copyList, freeze, isModifiable, nonNullCollection, nonNullList, nonNullSet, unmodifiable
 
Methods inherited from class org.geotools.metadata.AbstractMetadata
asMap, asTree, equals, getInterface, hashCode, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

KeywordsImpl

public KeywordsImpl()
Constructs an initially empty keywords.


KeywordsImpl

public KeywordsImpl(org.opengis.metadata.identification.Keywords source)
Constructs a metadata entity initialized with the values from the specified metadata.

Since:
2.4

KeywordsImpl

public KeywordsImpl(java.util.Collection<? extends org.opengis.util.InternationalString> keywords)
Creates keywords initialized to the given list.

Method Detail

getKeywords

public java.util.Collection<org.opengis.util.InternationalString> getKeywords()
Commonly used word(s) or formalised word(s) or phrase(s) used to describe the subject.

Specified by:
getKeywords in interface org.opengis.metadata.identification.Keywords

setKeywords

public void setKeywords(java.util.Collection<? extends org.opengis.util.InternationalString> newValues)
Set commonly used word(s) or formalised word(s) or phrase(s) used to describe the subject.


getType

public org.opengis.metadata.identification.KeywordType getType()
Subject matter used to group similar keywords.

Specified by:
getType in interface org.opengis.metadata.identification.Keywords

setType

public void setType(org.opengis.metadata.identification.KeywordType newValue)
Set the subject matter used to group similar keywords.


getThesaurusName

public org.opengis.metadata.citation.Citation getThesaurusName()
Name of the formally registered thesaurus or a similar authoritative source of keywords.

Specified by:
getThesaurusName in interface org.opengis.metadata.identification.Keywords

setThesaurusName

public void setThesaurusName(org.opengis.metadata.citation.Citation newValue)
Set the name of the formally registered thesaurus or a similar authoritative source of keywords.



Copyright © 1996-2010 Geotools. All Rights Reserved.