cfa.vo.sed.dm
Class Data

java.lang.Object
  extended by cfa.vo.sed.dm.Data
Direct Known Subclasses:
Point

public class Data
extends java.lang.Object


Field Summary
protected  BackgroundModel _bgFlux
           
protected  FluxAxis _flux
           
protected  SpectralAxis _spectral
           
protected  TimeAxis _time
           
 
Constructor Summary
Data()
           
 
Method Summary
 FluxAxis getBackgroundModel()
          Gets the FluxAxis object representing the background model.
 FluxAxis getFlux()
          Gets the FluxAxis object representing flux only.
 int getNumDataPoints()
           
 SpectralAxis getSpectral()
          Gets the SpectralAxis object.
 TimeAxis getTime()
          Gets the TimeAxis object.
 boolean isFluxAxis()
           
 boolean isSpectralAxis()
           
 boolean isTimeAxis()
           
 void setBackgroundModel(FluxAxis bgFlux)
          Sets the FluxAxis object representing the background model.
 void setFlux(FluxAxis flux)
          Sets the FluxAxis object representing flux only.
 void setSpectral(SpectralAxis spectral)
          Sets the SpectralAxis object.
 void setTime(TimeAxis time)
          Sets the TimeAxis object.
 java.lang.String toString()
          Override Object's toString() method.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_flux

protected FluxAxis _flux

_bgFlux

protected BackgroundModel _bgFlux

_time

protected TimeAxis _time

_spectral

protected SpectralAxis _spectral
Constructor Detail

Data

public Data()
Method Detail

isTimeAxis

public boolean isTimeAxis()

isFluxAxis

public boolean isFluxAxis()

isSpectralAxis

public boolean isSpectralAxis()

getNumDataPoints

public int getNumDataPoints()

getFlux

public FluxAxis getFlux()
Gets the FluxAxis object representing flux only.

Returns:
possible object is FluxAxis

setFlux

public void setFlux(FluxAxis flux)
Sets the FluxAxis object representing flux only.

Parameters:
flux - allowed object is FluxAxis

getBackgroundModel

public FluxAxis getBackgroundModel()
Gets the FluxAxis object representing the background model.

Returns:
possible object is FluxAxis

setBackgroundModel

public void setBackgroundModel(FluxAxis bgFlux)
Sets the FluxAxis object representing the background model.

Parameters:
bgFlux - allowed object is FluxAxis

getTime

public TimeAxis getTime()
Gets the TimeAxis object.

Returns:
possible object is TimeAxis

setTime

public void setTime(TimeAxis time)
Sets the TimeAxis object.

Parameters:
time - allowed object is TimeAxis

getSpectral

public SpectralAxis getSpectral()
Gets the SpectralAxis object.

Returns:
possible object is SpectralAxis

setSpectral

public void setSpectral(SpectralAxis spectral)
Sets the SpectralAxis object.

Parameters:
spectral - allowed object is SpectralAxis

toString

public java.lang.String toString()
Override Object's toString() method.

Overrides:
toString in class java.lang.Object
Returns:
possible object is String