public class ObservationOffsetCustom extends OffsetCustom implements ObservationOffset
DELTATIMES_DEFAULT_UNIT, DELTATIMES_FIELD, STARTTIME_FIELD, XANGLES_DEFAULT_UNIT, XANGLES_FIELD, XRATES_DEFAULT_UNIT, XRATES_FIELD, YANGLES_DEFAULT_UNIT, YANGLES_FIELD, YRATES_DEFAULT_UNIT, YRATES_FIELD
OFFSETANGLES_TAG, OFFSETANGLES_TYPE_CUSTOM, OFFSETANGLES_TYPE_FIXED, OFFSETANGLES_TYPE_RASTER, OFFSETANGLES_TYPE_SCAN, REF_TAG
Constructor and Description |
---|
ObservationOffsetCustom(Observation parent,
ObservationEvent startEvent,
long startDelta,
OffsetCustom org)
Offsetcustom that is driven by an Observation event instead of times for start time of the offset
|
ObservationOffsetCustom(PointingElement pm) |
Modifier and Type | Method and Description |
---|---|
void |
addChild(PointingElement element)
Add a child to this element
This is translated into xml as
|
ObservationOffsetCustom |
copy() |
java.util.Date |
getStartDate() |
long |
getStartDelta() |
ObservationEvent |
getStartEvent() |
java.lang.String |
getStartTime()
Get the start time of the offset rotation
|
void |
setParent(Observation obs)
Set the observation parent of this offset
|
void |
setStartTime(java.util.Date time)
Set the start time of the offset rotation
|
void |
setStartTime(ObservationEvent event,
long delta) |
java.lang.String |
toObsXml(int indent) |
java.lang.String |
toXml(int indent)
Write a XML representation of this element
|
getDeltaTimes, getDeltaTimes, getDeltaTimesUnit, getDurationMilliSecs, getEndDate, getXAngles, getXAngles, getXAnglesUnit, getXRates, getXRates, getXRatesUnit, getYAngles, getYAngles, getYAnglesUnit, getYRates, getYRates, getYRatesUnit, isCustom, regenerate, setDeltaTimes, setDeltaTimesUnit, setStartDate, setXAngles, setXAnglesUnit, setXRates, setXRatesUnit, setYAngles, setYAnglesUnit, setYRates, setYRatesUnit
getUnit, isFixed, isRaster, isScan, setBooleanField, setFloatArrayField, setFloatField, setIntegerField, setStartTime, setStringField, setUnit, stringToFloatArray
addAttribute, asDataset, copyFrom, equals, getAttribute, getAttributes, getChild, getChildren, getDescription, getFirstLevelTextContent, getName, getValue, hasAttributtes, hasChildren, readFrom, removeAttribute, removeAttribute, setDescription, setValue, toString, toStringParameter, validate
public ObservationOffsetCustom(Observation parent, ObservationEvent startEvent, long startDelta, OffsetCustom org)
parent
- startEvent
- startDelta
- org
- public ObservationOffsetCustom(PointingElement pm)
public ObservationEvent getStartEvent()
public long getStartDelta()
public java.util.Date getStartDate()
getStartDate
in class OffsetCustom
public java.lang.String getStartTime()
OffsetAngles
getStartTime
in class OffsetAngles
public void setStartTime(ObservationEvent event, long delta)
public void setStartTime(java.util.Date time)
OffsetAngles
setStartTime
in class OffsetAngles
public void addChild(PointingElement element)
PointingElement
addChild
in class PointingElement
public java.lang.String toXml(int indent)
PointingElement
toXml
in class PointingElement
indent
- The initial indent to be applied to the XMLpublic java.lang.String toObsXml(int indent)
public ObservationOffsetCustom copy()
copy
in class OffsetCustom
public void setParent(Observation obs)
ObservationOffset
setParent
in interface ObservationOffset