alma.aedf.types
Class State
java.lang.Object
|
+--alma.aedf.types.AEDF
|
+--alma.aedf.types.State
- public class State
- extends AEDF
State information.
This table defines the state parameters for a particular data record as they refer to external loads, calibration sources or references, and also characterizes the observing mode of the data record, as an aid to defining the scheduling heuristics. It is indexed directly via stateId in Main.
Constructor Summary |
State()
An empty constructor. |
State(boolean sig,
boolean ref,
int calloadNum,
float weight,
int subIntegNum,
java.lang.String obsMode,
java.lang.String obsIntent,
boolean flagRow)
A full constructor. |
Methods inherited from class alma.aedf.types.AEDF |
info |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
State
public State()
- An empty constructor.
State
public State(boolean sig,
boolean ref,
int calloadNum,
float weight,
int subIntegNum,
java.lang.String obsMode,
java.lang.String obsIntent,
boolean flagRow)
- A full constructor.
- Parameters:
sig
- Signalref
- ReferencecalloadNum
- Calibration CAL or LOAD numberweight
- Relative weight of the switch statesubIntegNum
- Sub-integration numberobsMode
- Observing modeobsIntent
- Goal of ObservationflagRow
- Row flag
toTR
public java.lang.String toTR()
- Specified by:
toTR
in class AEDF
addField
public void addField(java.lang.String f)
throws AEDFException
- Specified by:
addField
in class AEDF
AEDFException
setSig
public void setSig(boolean sig)
setRef
public void setRef(boolean ref)
setCalloadNum
public void setCalloadNum(int calloadNum)
setWeight
public void setWeight(float weight)
setSubIntegNum
public void setSubIntegNum(int subIntegNum)
setObsMode
public void setObsMode(java.lang.String obsMode)
setObsIntent
public void setObsIntent(java.lang.String obsIntent)
setFlagRow
public void setFlagRow(boolean flagRow)
getSig
public boolean getSig()
getRef
public boolean getRef()
getCalloadNum
public int getCalloadNum()
getWeight
public float getWeight()
getSubIntegNum
public int getSubIntegNum()
getObsMode
public java.lang.String getObsMode()
getObsIntent
public java.lang.String getObsIntent()
getFlagRow
public boolean getFlagRow()