|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectAstronomyObject
class AstronomyObject
The class AstronomyObject contains methods to perform various operations relating to the science or guide object associated with a particular fibre or fiducial position.
Field Summary | |
---|---|
private int |
DecDegrees
|
private int |
DecMinutes
|
private double |
DecSeconds
|
private java.lang.String |
DecString
|
private java.lang.String |
Identity
|
private double |
Magnitude
|
private java.lang.String |
Name
|
private int |
RaDegrees
|
private int |
RaMinutes
|
private double |
RaSeconds
|
private java.lang.String |
RaString
|
private java.lang.String |
Type
|
private double |
Weight
|
Constructor Summary | |
---|---|
AstronomyObject()
|
Method Summary | |
---|---|
(package private) java.lang.String |
getDec()
Get the declination of the object |
(package private) double |
getMagnitude()
Get the magnitude |
(package private) java.lang.String |
getName()
Get the name of the object |
(package private) java.lang.String |
getRa()
Get the RA of the object |
(package private) java.lang.String |
getType()
Return the object's type |
(package private) double |
getWeight()
Return the object's weighting |
(package private) boolean |
isDecValid(java.lang.String dec)
Validate the Dec string |
(package private) boolean |
isFiducialObject()
Is the object a fiducial object type |
(package private) boolean |
isRaValid(java.lang.String ra)
Validate the RA string |
(package private) boolean |
isScienceObject()
Is the object a science object type |
(package private) void |
setDec(java.lang.String dec)
Set the Declination of the object |
(package private) void |
setFiducialObject()
Set the object type as a fiducial object |
(package private) void |
setIdentity(java.lang.String theObjectIdentity)
Set the identity of the object |
(package private) void |
setMagnitude(double theObjectMagnitude)
Set the object's magnitude |
(package private) void |
setName(java.lang.String theObjectName)
Set the name of the object |
(package private) void |
setRa(java.lang.String ra)
Set the RA of the object |
(package private) void |
setScienceObject()
Set the object type as a science object |
(package private) void |
setType(java.lang.String theObjectType)
Set the object's type |
(package private) void |
setWeight(double theObjectWeight)
Set the weighting value of the object |
java.lang.String |
toString()
Returns a string representation of the object |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private java.lang.String Name
private double Weight
private java.lang.String Type
private double Magnitude
private java.lang.String Identity
private int RaDegrees
private int RaMinutes
private double RaSeconds
private java.lang.String RaString
private int DecDegrees
private int DecMinutes
private double DecSeconds
private java.lang.String DecString
Constructor Detail |
---|
AstronomyObject()
Method Detail |
---|
void setName(java.lang.String theObjectName)
theObjectName
- The object's namevoid setRa(java.lang.String ra)
ra
- The RA degreesvoid setDec(java.lang.String dec)
dec
- The declinationboolean isRaValid(java.lang.String ra)
ra
- The RA
boolean isDecValid(java.lang.String dec)
dec
- The Dec
void setType(java.lang.String theObjectType)
theObjectType
- The type of the object.
"P" for a science object.
"F" for a fiducial object.
"S" for a sky object.void setFiducialObject()
void setScienceObject()
void setWeight(double theObjectWeight)
theObjectWeight
- The weighting value of the objectvoid setMagnitude(double theObjectMagnitude)
theObjectMagnitude
- The magnitude of the objectvoid setIdentity(java.lang.String theObjectIdentity)
theObjectIdentity
- The identity of the objectjava.lang.String getRa()
java.lang.String getDec()
double getMagnitude()
java.lang.String getName()
java.lang.String getType()
double getWeight()
boolean isScienceObject()
boolean isFiducialObject()
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |