|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.nrao.sss.model.project.ServiceCalibration
public class ServiceCalibration
A calibration of a telescope that is typically performed just before, or just after, a scheduling block is executed.
CVS Info:
$Revision: 897 $ |
$Date: 2007-09-20 11:39:07 -0600 (Thu, 20 Sep 2007) $ |
$Author: dharland $ |
Constructor Summary | |
---|---|
ServiceCalibration()
Creates a new instance. |
Method Summary | |
---|---|
ServiceCalibration |
clone()
Returns a copy of this service calibration. |
boolean |
equals(Object o)
Returns true if o is equal to this service calibration. |
TimeDuration |
getAllowableSeparation()
Returns the time duration during which a prior calibration of the same type would be acceptable for reuse. |
ServiceCalibrationTiming |
getTiming()
Returns a value that indicates whether this service calibration should be performed before or after execution of a scheduling block. |
ScanIntent |
getType()
Returns the type of calibration to be performed. |
int |
hashCode()
|
void |
setAllowableSeparation(TimeDuration separation)
Sets the time duration during which a prior calibration of the same type would be acceptable for reuse. |
void |
setTiming(ServiceCalibrationTiming newTiming)
Sets a value that indicates whether this service calibration should be performed before or after execution of a scheduling block. |
void |
setType(ScanIntent calibrationType)
Sets the type of calibration to be performed. |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ServiceCalibration()
Method Detail |
---|
public void setType(ScanIntent calibrationType)
calibrationType
- the type of calibration to be performed.public ScanIntent getType()
public void setTiming(ServiceCalibrationTiming newTiming)
newTiming
- the timing of calibration to be performed.public ServiceCalibrationTiming getTiming()
public void setAllowableSeparation(TimeDuration separation)
separation
- a period of time after which a prior calibration
of this type will no longer be acceptable for reuse.
Once this period has elapsed, a new calibration will
be required.public TimeDuration getAllowableSeparation()
public ServiceCalibration clone()
If anything goes wrong during the cloning procedure,
a RuntimeException
will be thrown.
clone
in class Object
public boolean equals(Object o)
o
is equal to this service calibration.
In order to be equal to this service calibration, o
must be
non-null and of the same class as this calibration. Equality is
determined by examining the equality of corresponding attributes.
equals
in class Object
public int hashCode()
hashCode
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |