org.geotools.metadata.iso.identification
Class KeywordsImpl

Object
  extended by AbstractMetadata
      extended by ModifiableMetadata
          extended by MetadataEntity
              extended by KeywordsImpl
All Implemented Interfaces:
Serializable, Cloneable, Keywords

public class KeywordsImpl
extends MetadataEntity
implements Keywords

Keywords, their type and reference source.

Since:
2.1
Author:
Martin Desruisseaux (IRD), Touraïvane
See Also:
Serialized Form

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

Constructor Detail

KeywordsImpl

public KeywordsImpl()
Constructs an initially empty keywords.


KeywordsImpl

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

Since:
2.4

KeywordsImpl

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

Method Detail

getKeywords

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

Specified by:
getKeywords in interface Keywords
Returns:
Word(s) or phrase(s) used to describe the subject.

setKeywords

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


getType

public KeywordType getType()
Subject matter used to group similar keywords.

Specified by:
getType in interface Keywords
Returns:
Subject matter used to group similar keywords, or null.

setType

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


getThesaurusName

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

Specified by:
getThesaurusName in interface Keywords
Returns:
Name of registered thesaurus or similar authoritative source of keywords, or null.

setThesaurusName

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



Copyright © 1996-2014 Geotools. All Rights Reserved.