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_FIELDOFFSETANGLES_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, setYRatesUnitgetUnit, isFixed, isRaster, isScan, setBooleanField, setFloatArrayField, setFloatField, setIntegerField, setStartTime, setStringField, setUnit, stringToFloatArrayaddAttribute, asDataset, copyFrom, equals, getAttribute, getAttributes, getChild, getChildren, getDescription, getFirstLevelTextContent, getName, getValue, hasAttributtes, hasChildren, readFrom, removeAttribute, removeAttribute, setDescription, setValue, toString, toStringParameter, validatepublic 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 OffsetCustompublic java.lang.String getStartTime()
OffsetAnglesgetStartTime in class OffsetAnglespublic void setStartTime(ObservationEvent event, long delta)
public void setStartTime(java.util.Date time)
OffsetAnglessetStartTime in class OffsetAnglespublic void addChild(PointingElement element)
PointingElementaddChild in class PointingElementpublic java.lang.String toXml(int indent)
PointingElementtoXml in class PointingElementindent - The initial indent to be applied to the XMLpublic java.lang.String toObsXml(int indent)
public ObservationOffsetCustom copy()
copy in class OffsetCustompublic void setParent(Observation obs)
ObservationOffsetsetParent in interface ObservationOffset