ucar.unidata.data
Class CacheDataSource.DataChoiceHolder

java.lang.Object
  extended by ucar.unidata.data.CacheDataSource.DataChoiceHolder
Enclosing class:
CacheDataSource

public static class CacheDataSource.DataChoiceHolder
extends Object

Class DataChoiceHolder holds a data chocie and a unique id and a name

Version:
$Revision: 1.12 $
Author:
IDV Development Team

Constructor Summary
CacheDataSource.DataChoiceHolder()
          ctor
CacheDataSource.DataChoiceHolder(DataChoice dataChoice, String name, DataSelection dataSelection)
          ctor
 
Method Summary
 DataChoice getDataChoice()
          Get the DataChoice property.
 DataSelection getDataSelection()
          Get the DataSelection property.
 Object getId()
          Get the Id property.
 String getName()
          Get the Name property.
 void setDataChoice(DataChoice value)
          Set the DataChoice property.
 void setDataSelection(DataSelection value)
          Set the DataSelection property.
 void setId(Object value)
          Set the Id property.
 void setName(String value)
          Set the Name property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CacheDataSource.DataChoiceHolder

public CacheDataSource.DataChoiceHolder()
ctor


CacheDataSource.DataChoiceHolder

public CacheDataSource.DataChoiceHolder(DataChoice dataChoice,
                                        String name,
                                        DataSelection dataSelection)
ctor

Parameters:
dataChoice - the data choice
name - its name
dataSelection - data selection
Method Detail

setId

public void setId(Object value)
Set the Id property.

Parameters:
value - The new value for Id

getId

public Object getId()
Get the Id property.

Returns:
The Id

setDataChoice

public void setDataChoice(DataChoice value)
Set the DataChoice property.

Parameters:
value - The new value for DataChoice

getDataChoice

public DataChoice getDataChoice()
Get the DataChoice property.

Returns:
The DataChoice

setName

public void setName(String value)
Set the Name property.

Parameters:
value - The new value for Name

getName

public String getName()
Get the Name property.

Returns:
The Name

setDataSelection

public void setDataSelection(DataSelection value)
Set the DataSelection property.

Parameters:
value - The new value for DataSelection

getDataSelection

public DataSelection getDataSelection()
Get the DataSelection property.

Returns:
The DataSelection