org.geotoolkit.metadata.iso.acquisition
Class DefaultOperation

Object
  extended by AbstractMetadata
      extended by ModifiableMetadata
          extended by MetadataEntity
              extended by DefaultOperation
All Implemented Interfaces:
Serializable, Cloneable, LenientComparable, IdentifiedObject, Operation

@ThreadSafe
public class DefaultOperation
extends MetadataEntity
implements Operation

Designations for the operation used to acquire the dataset.

Since:
3.03
Version:
3.19
Author:
Cédric Briançon (Geomatys), Martin Desruisseaux (Geomatys)
See Also:
Serialized Form
Module:
metadata/geotk-metadata (download)    View source code for this class

Field Summary
 
Fields inherited from class MetadataEntity
identifiers
 
Fields inherited from class AbstractMetadata
LOGGER
 
Constructor Summary
DefaultOperation()
          Constructs an initially empty operation.
DefaultOperation(Operation source)
          Constructs a metadata entity initialized with the values from the specified metadata.
 
Method Summary
static DefaultOperation castOrCopy(Operation object)
          Returns a Geotk metadata implementation with the same values than the given arbitrary implementation.
 Collection<Operation> getChildOperations()
          Returns the sub-missions that make up part of a larger mission.
 Citation getCitation()
          Returns the identification of the mission.
 InternationalString getDescription()
          Returns the description of the mission on which the platform observations are made and the objectives of that mission.
 Identifier getIdentifier()
          Returns the unique identification of the operation.
 Collection<Objective> getObjectives()
          Returns object(s) or area(s) of interest to be sensed.
 Operation getParentOperation()
          Returns the heritage of the operation.
 Plan getPlan()
          Returns the plan satisfied by the operation.
 Collection<Platform> getPlatforms()
          Returns the platform (or platforms) used in the operation.
 Collection<Event> getSignificantEvents()
          Returns the record of an event occurring during an operation.
 Progress getStatus()
          Returns the status of the data acquisition.
 OperationType getType()
          Returns the collection technique for the operation.
 void setChildOperations(Collection<? extends Operation> newValues)
          Sets the sub-missions that make up part of a larger mission.
 void setCitation(Citation newValue)
          Sets the identification of the mission.
 void setDescription(InternationalString newValue)
          Sets the description of the mission on which the platform observations are made and the objectives of that mission.
 void setIdentifier(Identifier newValue)
          Sets the unique identification of the operation.
 void setObjectives(Collection<? extends Objective> newValues)
          Sets Object(s) or area(s) of interest to be sensed.
 void setParentOperation(Operation newValue)
          Sets the heritage of the operation.
 void setPlan(Plan newValue)
          Sets the plan satisfied by the operation.
 void setPlatforms(Collection<? extends Platform> newValues)
          Sets the platform (or platforms) used in the operation.
 void setSignificantEvents(Collection<? extends Event> newValues)
          Sets the record of an event occurring during an operation.
 void setStatus(Progress newValue)
          Sets the status of the data acquisition.
 void setType(OperationType newValue)
          Sets the collection technique for the operation.
 
Methods inherited from class MetadataEntity
getIdentifierMap, getIdentifiers, getStandard
 
Methods inherited from class ModifiableMetadata
checkWritePermission, clone, collectionType, copyCollection, copyList, copySet, freeze, isModifiable, nonNullCollection, nonNullList, nonNullSet, prune, unmodifiable
 
Methods inherited from class AbstractMetadata
asMap, asTree, asTreeTable, equals, equals, getInterface, hashCode, isEmpty, parse, toString
 
Methods inherited from class Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DefaultOperation

public DefaultOperation()
Constructs an initially empty operation.


DefaultOperation

public DefaultOperation(Operation source)
Constructs a metadata entity initialized with the values from the specified metadata.

Parameters:
source - The metadata to copy, or null if none.
Method Detail

castOrCopy

public static DefaultOperation castOrCopy(Operation object)
Returns a Geotk metadata implementation with the same values than the given arbitrary implementation. If the given object is null, then this method returns null. Otherwise if the given object is already a Geotk implementation, then the given object is returned unchanged. Otherwise a new Geotk implementation is created and initialized to the attribute values of the given object, using a shallow copy operation (i.e. attributes are not cloned).

Parameters:
object - The object to get as a Geotk implementation, or null if none.
Returns:
A Geotk implementation containing the values of the given object (may be the given object itself), or null if the argument was null.
Since:
3.18

getDescription

public InternationalString getDescription()
Returns the description of the mission on which the platform observations are made and the objectives of that mission. null if unspecified.

Specified by:
getDescription in interface Operation

setDescription

public void setDescription(InternationalString newValue)
Sets the description of the mission on which the platform observations are made and the objectives of that mission.

Parameters:
newValue - The new description value.

getCitation

public Citation getCitation()
Returns the identification of the mission. null if unspecified.

Specified by:
getCitation in interface Operation

setCitation

public void setCitation(Citation newValue)
Sets the identification of the mission.

Parameters:
newValue - The new citation value.

getIdentifier

public Identifier getIdentifier()
Returns the unique identification of the operation.

Specified by:
getIdentifier in interface Operation
Overrides:
getIdentifier in class MetadataEntity
Returns:
The first ISO 19115 identifier, or null if none.

setIdentifier

public void setIdentifier(Identifier newValue)
Sets the unique identification of the operation.

Parameters:
newValue - The new identifier value.

getStatus

public Progress getStatus()
Returns the status of the data acquisition.

Specified by:
getStatus in interface Operation

setStatus

public void setStatus(Progress newValue)
Sets the status of the data acquisition.

Parameters:
newValue - The new status value.

getType

public OperationType getType()
Returns the collection technique for the operation.

Specified by:
getType in interface Operation

setType

public void setType(OperationType newValue)
Sets the collection technique for the operation.

Parameters:
newValue - The new type value.

getChildOperations

public Collection<Operation> getChildOperations()
Returns the sub-missions that make up part of a larger mission.

Specified by:
getChildOperations in interface Operation

setChildOperations

public void setChildOperations(Collection<? extends Operation> newValues)
Sets the sub-missions that make up part of a larger mission.

Parameters:
newValues - The new child operations values.

getObjectives

public Collection<Objective> getObjectives()
Returns object(s) or area(s) of interest to be sensed.

Specified by:
getObjectives in interface Operation

setObjectives

public void setObjectives(Collection<? extends Objective> newValues)
Sets Object(s) or area(s) of interest to be sensed.

Parameters:
newValues - The new objectives values.

getParentOperation

public Operation getParentOperation()
Returns the heritage of the operation.

Specified by:
getParentOperation in interface Operation

setParentOperation

public void setParentOperation(Operation newValue)
Sets the heritage of the operation.

Parameters:
newValue - The new parent operation value.

getPlan

public Plan getPlan()
Returns the plan satisfied by the operation.

Specified by:
getPlan in interface Operation

setPlan

public void setPlan(Plan newValue)
Sets the plan satisfied by the operation.

Parameters:
newValue - The new plan value.

getPlatforms

public Collection<Platform> getPlatforms()
Returns the platform (or platforms) used in the operation.

Specified by:
getPlatforms in interface Operation

setPlatforms

public void setPlatforms(Collection<? extends Platform> newValues)
Sets the platform (or platforms) used in the operation.

Parameters:
newValues - The new platforms values.

getSignificantEvents

public Collection<Event> getSignificantEvents()
Returns the record of an event occurring during an operation.

Specified by:
getSignificantEvents in interface Operation

setSignificantEvents

public void setSignificantEvents(Collection<? extends Event> newValues)
Sets the record of an event occurring during an operation.

Parameters:
newValues - The new significant events value.


Copyright © 2009-2012 Geotoolkit.org. All Rights Reserved.