public class MCtemporalCoordTimeOffsetsItem extends MCtemporalCoordinatesItem
This type of content item has the Referenced Time Offsets attribute (0040, A138) present.
MCtemporalCoordinatesItem.RangeTypes| Constructor and Description |
|---|
MCtemporalCoordTimeOffsetsItem()
Default constructor.
|
MCtemporalCoordTimeOffsetsItem(MCtemporalCoordinatesItem.RangeTypes rangeType,
java.util.List<java.lang.Double> referencedTimeOffsets)
Creates a new instance of the TCOORD Content Item.
|
| Modifier and Type | Method and Description |
|---|---|
MCcontentItemType |
contentItemType()
Gets the value type of this content item.
|
java.util.List<java.lang.Double> |
getReferencedTimeOffsets()
Gets temporal points for reference.
|
void |
read(MCattributeSet source)
Reads the TCOORD content item from the source attribute set.
|
void |
setReferencedTimeOffsets(double[] refTimeOffsetsArray)
Sets temporal points for reference.
|
void |
setReferencedTimeOffsets(java.util.List<java.lang.Double> referencedTimeOffsets)
Sets temporal points for reference.
|
void |
write(MCattributeSet destination)
Writes the TCOORD content item to the destination attribute set.
|
getRangeType, setRangeTypeaddChild, addChildAt, addReference, getChildAt, getChildren, getConceptName, getDataContext, getItemId, getObservationDateTime, getObservationUID, getParent, getPosition, getReferences, getRelationshipType, getRootItem, removeChild, removeChildAt, removeReference, removeReference, setConceptName, setDataContext, setObservationDataTime, setObservationUID, setRelationshipTypepublic MCtemporalCoordTimeOffsetsItem()
public MCtemporalCoordTimeOffsetsItem(MCtemporalCoordinatesItem.RangeTypes rangeType, java.util.List<java.lang.Double> referencedTimeOffsets)
rangeType - Type of temporal extent of the region of interest.referencedTimeOffsets - Temporal points for reference by number of seconds after start of data.public java.util.List<java.lang.Double> getReferencedTimeOffsets()
public void setReferencedTimeOffsets(java.util.List<java.lang.Double> referencedTimeOffsets)
referencedTimeOffsets - Temporal points for reference.public void setReferencedTimeOffsets(double[] refTimeOffsetsArray)
refTimeOffsetsArray - Temporal points for reference.public MCcontentItemType contentItemType()
contentItemType in class MCcontentItemMCcontentItemType.TCOORD_TIME.public void read(MCattributeSet source)
read in interface MCdataSetSerializableread in class MCtemporalCoordinatesItemsource - Source attribute set.MCexception - If the source parameter is null.public void write(MCattributeSet destination)
write in interface MCdataSetSerializablewrite in class MCtemporalCoordinatesItemdestination - Destination attribute set.MCexception - If the destination parameter is null or
is NOT an MCitem object.