/** * Sets the instrument or instruments for which the event is meaningful. * * @param newValues the new instrument values. */ public void setRelatedSensors(final Collection<? extends Instrument> newValues) { relatedSensors = writeCollection(newValues, relatedSensors, Instrument.class); } }
/** * Sets the objective or objectives satisfied by an event. * * @param newValues the new expected objectives values. */ public void setExpectedObjectives(final Collection<? extends Objective> newValues) { expectedObjectives = writeCollection(newValues, expectedObjectives, Objective.class); }
/** * Sets the objective or objectives satisfied by an event. * * @param newValues the new expected objectives values. */ public void setExpectedObjectives(final Collection<? extends Objective> newValues) { expectedObjectives = writeCollection(newValues, expectedObjectives, Objective.class); }
/** * Sets the instrument or instruments for which the event is meaningful. * * @param newValues the new instrument values. */ public void setRelatedSensors(final Collection<? extends Instrument> newValues) { relatedSensors = writeCollection(newValues, relatedSensors, Instrument.class); } }