edu.sdsc.grid.io
Class MetaDataValueEnum

java.lang.Object
  extended by edu.sdsc.grid.io.MetaDataValueEnum

public final class MetaDataValueEnum
extends java.lang.Object

Some meta data fields have a specific list of values that they allow. A "meta data value enum" describes one such value.

There are no 'set' methods. Once constructed, the object cannot be changed.


Method Summary
 java.lang.String getDescription()
          This string may be displayed by a GUI.
 java.lang.String getValue()
          This is the string that is usable, verbatum, as a value for the field when building conditionals.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getValue

public java.lang.String getValue()
This is the string that is usable, verbatum, as a value for the field when building conditionals. It is also one of the expected values that may be returned by a query containing this field.

Returns:
The value string for this enum item.

getDescription

public java.lang.String getDescription()
This string may be displayed by a GUI. It has no embedded carriage returns, so the application is expected to insert line breaks to wrap the text appropriately for its way of displaying it.

Returns:
A description string for this enum value.