/** * Creates a platform object if it does not already exists, then returns it. * * @return the platform information (never {@code null}). */ private DefaultPlatform platform() { if (platform == null) { platform = new DefaultPlatform(); } return platform; }
/** * Sets the general information about the platform from which the data were taken. * * @param newValues the new platforms values. */ public void setPlatforms(final Collection<? extends Platform> newValues) { platforms = writeCollection(newValues, platforms, Platform.class); } }
/** * Sets the sub-missions that make up part of a larger mission. * * @param newValues the new child operations values. */ public void setChildOperations(final Collection<? extends Operation> newValues) { childOperations = writeCollection(newValues, childOperations, Operation.class); }
/** * Sets the textual description of the instrument. * * @param newValue the new description value. */ public void setDescription(final InternationalString newValue) { checkWritePermission(); description = newValue; }
/** * Sets the collection technique for the objective. * * @param newValues the new types values. */ public void setTypes(final Collection<? extends ObjectiveType> newValues) { types = writeCollection(newValues, types, ObjectiveType.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 heritage of the operation. * * @param newValue the new parent operation value. */ public void setParentOperation(final Operation newValue) { checkWritePermission(); parentOperation = newValue; }
/** * Sets the relative time ordering of the event. * * @param newValue the new sequence value. */ public void setSequence(final Sequence newValue) { checkWritePermission(); sequence = newValue; }
/** * @param newValues the new satisfied plans values. */ public void setSatisfiedPlans(final Collection<? extends Plan> newValues) { satisfiedPlans = writeCollection(newValues, satisfiedPlans, Plan.class); } }
/** * Sets the manner of sampling geometry that the planner expects for collection of * objective data. * * @param newValue the new type value. */ public void setType(final GeometryType newValue) { checkWritePermission(); type = newValue; }
/** * Sets the requirement satisfied by the plan. * * @param newValues the new satisfied requirements. */ public void setSatisfiedRequirements(final Collection<? extends Requirement> newValues) { satisfiedRequirements = writeCollection(newValues, satisfiedRequirements, Requirement.class); } }
/** * Sets the maximum altitude value. * * @param newValue the new maximum altitude value. */ public void setMaxAltitude(final Double newValue) { checkWritePermission(); maxAltitude = newValue; }
/** * Sets the complete citation of the instrument. * * @param newValues the new citation values. */ public void setCitations(final Collection<? extends Citation> newValues) { citations = writeCollection(newValues, citations, Citation.class); }
/** * Sets the record of the environmental circumstances during the data acquisition. * * @param newValue the new environmental record value. */ public void setEnvironmentalConditions(final EnvironmentalRecord newValue) { checkWritePermission(environmentalConditions); environmentalConditions = newValue; }
/** * Sets the plan as implemented by the acquisition. * * @param newValues the new plan values. */ public void setAcquisitionPlans(final Collection<? extends Plan> newValues) { acquisitionPlans = writeCollection(newValues, acquisitionPlans, Plan.class); }
/** * Sets Object(s) or area(s) of interest to be sensed. * * @param newValues the new objectives values. */ public void setObjectives(final Collection<? extends Objective> newValues) { objectives = writeCollection(newValues, objectives, Objective.class); }
/** * Sets the platform on which the instrument is mounted. * * @param newValue the new platform value. */ public void setMountedOn(final Platform newValue) { checkWritePermission(); mountedOn = newValue; } }
/** * Sets the instrument which senses the objective data. * * @param newValues the new sensing instruments values. */ public void setSensingInstruments(final Collection<? extends Instrument> newValues) { sensingInstruments = writeCollection(newValues, sensingInstruments, Instrument.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); } }
/** * Sets the general information about an identifiable activity which provided the data. * * @param newValues the new operations values. */ public void setOperations(final Collection<? extends Operation> newValues) { operations = writeCollection(newValues, operations, Operation.class); }