public class ObservationPointingBlock extends PointingBlock
BLOCK_TAG, ENDTIME_TAG, STARTTIME_TAG, TYPE_GSEP, TYPE_MNAV, TYPE_MOCM, TYPE_MSLW, TYPE_MWAC, TYPE_MWNV, TYPE_MWOL, TYPE_OBS, TYPE_SLEW
Constructor and Description |
---|
ObservationPointingBlock(Observation parent,
ObservationEvent startEvent,
long startDelta,
ObservationEvent endEvent,
long endDelta,
PointingBlock block) |
ObservationPointingBlock(java.lang.String type,
Observation parent,
ObservationEvent startEvent,
long startDelta,
ObservationEvent endEvent,
long endDelta) |
Modifier and Type | Method and Description |
---|---|
ObservationPointingBlock |
copy() |
long |
getEndDelta() |
ObservationEvent |
getEndEvent() |
java.util.Date |
getEndTime() |
long |
getStartDelta() |
ObservationEvent |
getStartEvent() |
java.util.Date |
getStartTime() |
void |
setEndTime(java.util.Date time)
Set end date of the time interval during which the pointing block is valid
|
void |
setEndTime(ObservationEvent event,
long delta) |
void |
setParent(Observation parent) |
void |
setStartTime(java.util.Date time)
Set start date of the time interval during which the pointing block is valid
|
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
|
addMetadata, asDataset, dateToZulu, getAttitude, getDuration, getInstrument, getMetadata, getMetadata, getMetadataElement, getType, getVstpNumberMeta, isMaintenance, isSlew, readFrom, setAttitude, setMetadata, toPointingBlock, validate, zuluToDate
addAttribute, addChild, copyFrom, equals, getAttribute, getAttributes, getChild, getChildren, getDescription, getFirstLevelTextContent, getName, getValue, hasAttributtes, hasChildren, regenerate, removeAttribute, removeAttribute, setDescription, setValue, toString, toStringParameter
public ObservationPointingBlock(java.lang.String type, Observation parent, ObservationEvent startEvent, long startDelta, ObservationEvent endEvent, long endDelta)
public ObservationPointingBlock(Observation parent, ObservationEvent startEvent, long startDelta, ObservationEvent endEvent, long endDelta, PointingBlock block)
public ObservationPointingBlock copy()
copy
in class PointingBlock
public void setParent(Observation parent)
public ObservationEvent getStartEvent()
public ObservationEvent getEndEvent()
public long getStartDelta()
public long getEndDelta()
public java.util.Date getStartTime()
getStartTime
in interface PointingBlockInterface
getStartTime
in class PointingBlock
public java.util.Date getEndTime()
getEndTime
in interface PointingBlockInterface
getEndTime
in class PointingBlock
public void setStartTime(ObservationEvent event, long delta)
public void setStartTime(java.util.Date time)
PointingBlock
setStartTime
in interface PointingBlockInterface
setStartTime
in class PointingBlock
public void setEndTime(ObservationEvent event, long delta)
public void setEndTime(java.util.Date time)
PointingBlock
setEndTime
in interface PointingBlockInterface
setEndTime
in class PointingBlock
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)