ucar.unidata.data.sounding
Class RaobDataSet

java.lang.Object
  extended by ucar.unidata.data.sounding.RaobDataSet

public class RaobDataSet
extends Object

Holds sounding data from the chooser

Version:
$Revision: 1.9 $
Author:
IDV development team

Constructor Summary
RaobDataSet()
          Empty ctor for unpersisting
RaobDataSet(SoundingAdapter adapter, List soundingObs)
          Create a new RaobDataSet
 
Method Summary
 boolean equals(Object object)
           
 String getAdapterSource()
          Get the source for the adapter
 SoundingAdapter getSoundingAdapter()
          Get the adapter for this dataset
 List getSoundingObs()
          Get the SoundingObs for this dataset.
 SoundingOb initSoundingOb(SoundingOb so)
          Initialize the sounding in the ob
 void setSoundingAdapter(SoundingAdapter a)
          Set the sounding adapter for this dataset
 void setSoundingObs(List value)
          Set the SoundingObs for this dataset.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RaobDataSet

public RaobDataSet()
Empty ctor for unpersisting


RaobDataSet

public RaobDataSet(SoundingAdapter adapter,
                   List soundingObs)
Create a new RaobDataSet

Parameters:
adapter - adapter for data
soundingObs - list of sounding observations
Method Detail

equals

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

setSoundingObs

public void setSoundingObs(List value)
Set the SoundingObs for this dataset. Used by XML persistence.

Parameters:
value - list of obs

getSoundingObs

public List getSoundingObs()
Get the SoundingObs for this dataset. Used by XML persistence.

Returns:
list of obs

initSoundingOb

public SoundingOb initSoundingOb(SoundingOb so)
Initialize the sounding in the ob

Parameters:
so - sounding observation to initialize
Returns:
the initialized ob

getAdapterSource

public String getAdapterSource()
Get the source for the adapter

Returns:
the source (file, server)

setSoundingAdapter

public void setSoundingAdapter(SoundingAdapter a)
Set the sounding adapter for this dataset

Parameters:
a - new adapter

getSoundingAdapter

public SoundingAdapter getSoundingAdapter()
Get the adapter for this dataset

Returns:
the adapter