cfa.vo.sed.dm
Class SED

java.lang.Object
  extended by cfa.vo.sed.dm.SED

public class SED
extends java.lang.Object


Constructor Summary
SED()
           
 
Method Summary
 void addSegment(SEDSegment segment)
          Adds an SEDSegment to SEDSegments Vector.
 IValue getCreator()
          Gets the creator.
 IValue getCreatorID()
          Gets the creator ID.
 IValue getDate()
          Gets the creation date.
 int getNSegments()
          Gets the number of segments in SED.
 SEDSegment getSegment(int n)
          Gets the n'th Segment.
 java.util.Vector getSegments()
          Gets the Vector of SEDSegments.
 IValue getSpectralMaxWavelength()
          Gets the spectral maximum wavelength.
 IValue getSpectralMinWavelength()
          Gets the spectral minimum wavelength.
 Target getTarget()
          Gets the target object.
 IValue getType()
          Gets the type of SED.
 void setCreator(IValue creator)
          Sets the creator.
 void setCreatorID(IValue creatorID)
          Sets the creator ID.
 void setDate(IValue date)
          Sets the creation date.
 void setSpectralMaxWavelength(IValue spectralMax)
          Sets the spectral maximum wavelength.
 void setSpectralMinWavelength(IValue spectralMin)
          Sets the spectral minimum wavelength.
 void setTarget(Target target)
          Sets the target object
 void setType(IValue type)
          Sets the type of SED.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SED

public SED()
Method Detail

getTarget

public Target getTarget()
Gets the target object.

Returns:
possible object is Target

setTarget

public void setTarget(Target target)
Sets the target object

Parameters:
target - allowed object is Target

getSegments

public java.util.Vector getSegments()
Gets the Vector of SEDSegments.

Returns:
possible object is Vector

getSegment

public SEDSegment getSegment(int n)
Gets the n'th Segment. Zero based. Check # of segments first to avoid out of bounds exception.

Parameters:
n - allowed object is int
Returns:
possible object is SEDSegment

addSegment

public void addSegment(SEDSegment segment)
Adds an SEDSegment to SEDSegments Vector.

Parameters:
segment - allowed object is SEDSegment

getDate

public IValue getDate()
Gets the creation date.

Returns:
possible object is IValue

setDate

public void setDate(IValue date)
Sets the creation date.

Parameters:
date - allowed object is IValue

getType

public IValue getType()
Gets the type of SED.

Returns:
possible object is IValue

setType

public void setType(IValue type)
Sets the type of SED.

Parameters:
type - allowed object is IValue

getNSegments

public int getNSegments()
Gets the number of segments in SED.

Returns:
int

getCreator

public IValue getCreator()
Gets the creator.

Returns:
possible object is IValue

setCreator

public void setCreator(IValue creator)
Sets the creator.

Parameters:
creator - allowed object is IValue

getCreatorID

public IValue getCreatorID()
Gets the creator ID.

Returns:
possible object is IValue

setCreatorID

public void setCreatorID(IValue creatorID)
Sets the creator ID.

Parameters:
creatorID - allowed object is IValue

getSpectralMinWavelength

public IValue getSpectralMinWavelength()
Gets the spectral minimum wavelength.

Returns:
IValue

setSpectralMinWavelength

public void setSpectralMinWavelength(IValue spectralMin)
Sets the spectral minimum wavelength.

Parameters:
spectralMin - IValue

getSpectralMaxWavelength

public IValue getSpectralMaxWavelength()
Gets the spectral maximum wavelength.

Returns:
IValue

setSpectralMaxWavelength

public void setSpectralMaxWavelength(IValue spectralMax)
Sets the spectral maximum wavelength.

Parameters:
spectralMax - IValue

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object