/** * Returns the instrument or instruments for which the event is meaningful. * * @return instruments for which the event is meaningful. */ @Override @XmlElement(name = "relatedSensor") public Collection<? extends Instrument> getRelatedSensors() { return relatedSensors = nonNullCollection(relatedSensors, Instrument.class); }
/** * Returns the objective or objectives satisfied by an event. * * @return objectives satisfied by an event. */ @Override @XmlElement(name = "expectedObjective") public Collection<Objective> getExpectedObjectives() { return expectedObjectives = nonNullCollection(expectedObjectives, Objective.class); }
/** * Returns the instrument or instruments for which the event is meaningful. * * @return instruments for which the event is meaningful. */ @Override @XmlElement(name = "relatedSensor") public Collection<? extends Instrument> getRelatedSensors() { return relatedSensors = nonNullCollection(relatedSensors, Instrument.class); }
/** * Returns the objective or objectives satisfied by an event. * * @return objectives satisfied by an event. */ @Override @XmlElement(name = "expectedObjective") public Collection<Objective> getExpectedObjectives() { return expectedObjectives = nonNullCollection(expectedObjectives, Objective.class); }
/** * Sets the event name or number. * * @param newValue the event identifier value. */ public void setIdentifier(final Identifier newValue) { checkWritePermission(); identifiers = nonNullCollection(identifiers, Identifier.class); NonMarshalledAuthority.setMarshallable(identifiers, newValue); }