thredds.catalog
Class ThreddsMetadata.Vocab

java.lang.Object
  extended by thredds.catalog.ThreddsMetadata.Vocab
Enclosing class:
ThreddsMetadata

public static class ThreddsMetadata.Vocab
extends Object

Implements Vocab type, just text with an optional "vocabulary" attribute.


Constructor Summary
ThreddsMetadata.Vocab()
           
ThreddsMetadata.Vocab(String text, String vocabulary)
           
 
Method Summary
static String editableProperties()
           
 boolean equals(Object o)
           
 String getText()
           
 String getVocabulary()
           
 int hashCode()
          Override Object.hashCode() to implement equals.
 void setText(String text)
           
 void setVocabulary(String vocabulary)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ThreddsMetadata.Vocab

public ThreddsMetadata.Vocab()

ThreddsMetadata.Vocab

public ThreddsMetadata.Vocab(String text,
                             String vocabulary)
Method Detail

getText

public String getText()

setText

public void setText(String text)

getVocabulary

public String getVocabulary()

setVocabulary

public void setVocabulary(String vocabulary)

editableProperties

public static String editableProperties()

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Override Object.hashCode() to implement equals.

Overrides:
hashCode in class Object


Copyright © 1999-2011 UCAR/Unidata. All Rights Reserved.