Class DefaultAcquisitionInformation

Object
AbstractMetadata
ModifiableMetadata
ISOMetadata
DefaultAcquisitionInformation
All Implemented Interfaces:
Serializable, Emptiable, Lenient­Comparable, Identified­Object, Acquisition­Information

public class DefaultAcquisitionInformation extends ISOMetadata implements AcquisitionInformation
Designations for the measuring instruments, the platform carrying them, and the mission to which the data contributes.

Limitations

  • Instances of this class are not synchronized for multi-threading. Synchronization, if needed, is caller's responsibility.
  • Serialized objects of this class are not guaranteed to be compatible with future Apache SIS releases. Serialization support is appropriate for short term storage or RMI between applications running the same version of Apache SIS. For long term storage, use XML instead.
Since:
0.3
See Also:

Defined in the sis-metadata module

  • Constructor Details

    • DefaultAcquisitionInformation

      public DefaultAcquisitionInformation()
      Constructs an initially empty acquisition information.
    • DefaultAcquisitionInformation

      public DefaultAcquisitionInformation(AcquisitionInformation object)
      Constructs a new instance initialized with the values from the specified metadata object. This is a shallow copy constructor, since the other metadata contained in the given object are not recursively copied.
      Parameters:
      object - the metadata to copy values from, or null if none.
      See Also:
  • Method Details

    • castOrCopy

      public static DefaultAcquisitionInformation castOrCopy(AcquisitionInformation object)
      Returns a SIS metadata implementation with the values of the given arbitrary implementation. This method performs the first applicable action in the following choices:
      • If the given object is null, then this method returns null.
      • Otherwise if the given object is already an instance of Default­Acquisition­Information, then it is returned unchanged.
      • Otherwise a new Default­Acquisition­Information 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.
      Parameters:
      object - the object to get as a SIS implementation, or null if none.
      Returns:
      a SIS implementation containing the values of the given object (may be the given object itself), or null if the argument was null.
    • getAcquisitionPlans

      public Collection<Plan> getAcquisitionPlans()
      Returns the plan as implemented by the acquisition.
      Specified by:
      get­Acquisition­Plans in interface Acquisition­Information
      Returns:
      plan as implemented by the acquisition.
    • setAcquisitionPlans

      public void setAcquisitionPlans(Collection<? extends Plan> newValues)
      Sets the plan as implemented by the acquisition.
      Parameters:
      new­Values - the new plan values.
    • getAcquisitionRequirements

      public Collection<Requirement> getAcquisitionRequirements()
      Returns the requirement the data acquisition intends to satisfy.
      Specified by:
      get­Acquisition­Requirements in interface Acquisition­Information
      Returns:
      requirement the data acquisition intends to satisfy.
    • setAcquisitionRequirements

      public void setAcquisitionRequirements(Collection<? extends Requirement> newValues)
      Sets the requirement the data acquisition intends to satisfy.
      Parameters:
      new­Values - the new acquisition requirements values.
    • getEnvironmentalConditions

      public EnvironmentalRecord getEnvironmentalConditions()
      Returns a record of the environmental circumstances during the data acquisition. null if unspecified.
      Specified by:
      get­Environmental­Conditions in interface Acquisition­Information
      Returns:
      record of the environmental circumstances, or null.
    • setEnvironmentalConditions

      public void setEnvironmentalConditions(EnvironmentalRecord newValue)
      Sets the record of the environmental circumstances during the data acquisition.
      Parameters:
      new­Value - the new environmental record value.
    • getInstruments

      public Collection<Instrument> getInstruments()
      Returns the general information about the instrument used in data acquisition.
      Specified by:
      get­Instruments in interface Acquisition­Information
      Returns:
      instrument used in data acquisition.
    • setInstruments

      public void setInstruments(Collection<? extends Instrument> newValues)
      Sets the general information about the instrument used in data acquisition.
      Parameters:
      new­Values - the new instruments values.
    • getObjectives

      public Collection<Objective> getObjectives()
      Returns the area or object to be sensed.
      Specified by:
      get­Objectives in interface Acquisition­Information
      Returns:
      area or object to be sensed.
    • setObjectives

      public void setObjectives(Collection<? extends Objective> newValues)
      Sets the area or object to be sensed.
      Parameters:
      new­Values - the new objectives values.
    • getOperations

      public Collection<Operation> getOperations()
      Returns the general information about an identifiable activity which provided the data.
      Specified by:
      get­Operations in interface Acquisition­Information
      Returns:
      identifiable activity which provided the data.
    • setOperations

      public void setOperations(Collection<? extends Operation> newValues)
      Sets the general information about an identifiable activity which provided the data.
      Parameters:
      new­Values - the new operations values.
    • getPlatforms

      public Collection<Platform> getPlatforms()
      Returns the general information about the platform from which the data were taken.
      Specified by:
      get­Platforms in interface Acquisition­Information
      Returns:
      platform from which the data were taken.
    • setPlatforms

      public void setPlatforms(Collection<? extends Platform> newValues)
      Sets the general information about the platform from which the data were taken.
      Parameters:
      new­Values - the new platforms values.