org.geotools.metadata.iso.identification
Class KeywordsImpl

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

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

Keywords, their type and reference source.

Since:
2.1
Version:
$Id: KeywordsImpl.java 17672 2006-01-19 00:25:55Z desruisseaux $
Author:
Martin Desruisseaux, Toura?vane
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.geotools.metadata.iso.MetadataEntity
LOGGER
 
Constructor Summary
KeywordsImpl()
          Constructs an initially empty keywords.
KeywordsImpl(java.util.Collection keywords)
           
 
Method Summary
 boolean equals(java.lang.Object object)
          Compare this keywords with the specified object for equality.
protected  void freeze()
          Declare this metadata and all its attributes as unmodifiable.
 java.util.Collection 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.
 int hashCode()
          Returns a hash code value for this object.
 void setKeywords(java.util.Collection 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.
 java.lang.String toString()
          Returns a string representation of this object.
 
Methods inherited from class org.geotools.metadata.iso.MetadataEntity
appendLineSeparator, checkWritePermission, copyCollection, isModifiable, nonNullCollection, unmodifiable, unmodifiable
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

KeywordsImpl

public KeywordsImpl()
Constructs an initially empty keywords.


KeywordsImpl

public KeywordsImpl(java.util.Collection keywords)
Method Detail

getKeywords

public java.util.Collection 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 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.


freeze

protected void freeze()
Declare this metadata and all its attributes as unmodifiable.

Overrides:
freeze in class MetadataEntity

equals

public boolean equals(java.lang.Object object)
Compare this keywords with the specified object for equality.


hashCode

public int hashCode()
Returns a hash code value for this object.


toString

public java.lang.String toString()
Returns a string representation of this object.



Copyright © GeoTools. All Rights Reserved.