public class DefaultEvent extends ISOMetadata implements Event
MI_Event
├─identifier……
Event name or number.
│ └─code…………
Alphanumeric value identifying an instance in the namespace.
├─trigger……………
Initiator of the event.
├─context……………
Meaning of the event.
├─sequence…………
Relative time ordering of the event.
└─time……………………
Time the event occurred.Limitations:
XML
instead.Defined in the sis-metadata
module
identifiers
Constructor and Description |
---|
DefaultEvent()
Constructs an initially empty acquisition information.
|
DefaultEvent(Event object)
Constructs a new instance initialized with the values from the specified metadata object.
|
Modifier and Type | Method and Description |
---|---|
static DefaultEvent |
castOrCopy(Event object)
Returns a SIS metadata implementation with the values of the given arbitrary implementation.
|
Context |
getContext()
Meaning of the event.
|
Collection<Objective> |
getExpectedObjectives()
Returns the objective or objectives satisfied by an event.
|
Identifier |
getIdentifier()
Returns the event name or number.
|
PlatformPass |
getRelatedPass()
Returns the pass during which an event occurs.
|
Collection<? extends Instrument> |
getRelatedSensors()
Returns the instrument or instruments for which the event is meaningful.
|
Sequence |
getSequence()
Returns the relative time ordering of the event.
|
Date |
getTime()
Returns the time the event occurred.
|
Trigger |
getTrigger()
Returns the initiator of the event.
|
void |
setContext(Context newValue)
Sets the meaning of the event.
|
void |
setExpectedObjectives(Collection<? extends Objective> newValues)
Sets the objective or objectives satisfied by an event.
|
void |
setIdentifier(Identifier newValue)
Sets the event name or number.
|
void |
setRelatedPass(PlatformPass newValue)
Sets the pass during which an event occurs.
|
void |
setRelatedSensors(Collection<? extends Instrument> newValues)
Sets the instrument or instruments for which the event is meaningful.
|
void |
setSequence(Sequence newValue)
Sets the relative time ordering of the event.
|
void |
setTime(Date newValue)
Sets the time the event occurred.
|
void |
setTrigger(Trigger newValue)
Sets the initiator of the event.
|
freeze, getIdentifierMap, getIdentifiers, getStandard
checkWritePermission, clone, collectionType, copyCollection, copyList, copySet, isModifiable, nonNullCollection, nonNullList, nonNullSet, singleton, unmodifiable, writeCollection, writeList, writeSet
asMap, asTreeTable, equals, equals, getInterface, hashCode, isEmpty, prune, toString
public DefaultEvent()
public DefaultEvent(Event object)
object
- the metadata to copy values from, or null
if none.castOrCopy(Event)
public static DefaultEvent castOrCopy(Event object)
null
, then this method returns null
.DefaultEvent
, then it is returned unchanged.DefaultEvent
instance is created using the
copy constructor
and returned. Note that this is a shallow copy operation, since the other
metadata contained in the given object are not recursively copied.object
- the object to get as a SIS implementation, or null
if none.null
if the argument was null.public Identifier getIdentifier()
getIdentifier
in interface Event
null
.public void setIdentifier(Identifier newValue)
newValue
- the event identifier value.public Trigger getTrigger()
getTrigger
in interface Event
null
.public void setTrigger(Trigger newValue)
newValue
- the new trigger value.public Context getContext()
getContext
in interface Event
null
.public void setContext(Context newValue)
newValue
- the new context value.public Sequence getSequence()
getSequence
in interface Event
null
.public void setSequence(Sequence newValue)
newValue
- the new sequence value.public Date getTime()
public void setTime(Date newValue)
newValue
- the new time value.public Collection<Objective> getExpectedObjectives()
getExpectedObjectives
in interface Event
public void setExpectedObjectives(Collection<? extends Objective> newValues)
newValues
- the new expected objectives values.public PlatformPass getRelatedPass()
null
if unspecified.getRelatedPass
in interface Event
null
.public void setRelatedPass(PlatformPass newValue)
newValue
- the new platform pass value.public Collection<? extends Instrument> getRelatedSensors()
getRelatedSensors
in interface Event
public void setRelatedSensors(Collection<? extends Instrument> newValues)
newValues
- the new instrument values.Copyright © 2010–2017 The Apache Software Foundation. All rights reserved.