org.geotoolkit.metadata.iso.acquisition
Class DefaultPlan

Object
  extended by AbstractMetadata
      extended by ModifiableMetadata
          extended by MetadataEntity
              extended by DefaultPlan
All Implemented Interfaces:
Serializable, Cloneable, LenientComparable, IdentifiedObject, Plan

@ThreadSafe
public class DefaultPlan
extends MetadataEntity
implements Plan

Designations for the planning information related to meeting the data acquisition requirements.

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
DefaultPlan()
          Constructs an initially empty plan.
DefaultPlan(Plan source)
          Constructs a metadata entity initialized with the values from the specified metadata.
 
Method Summary
static DefaultPlan castOrCopy(Plan object)
          Returns a Geotk metadata implementation with the same values than the given arbitrary implementation.
 Citation getCitation()
          Returns the identification of authority requesting target collection.
 Collection<Operation> getOperations()
          Returns the identification of the activity or activities that satisfy a plan.
 Collection<Requirement> getSatisfiedRequirements()
          Returns the requirement satisfied by the plan.
 Progress getStatus()
          Returns the current status of the plan (pending, completed, etc.)
 GeometryType getType()
          Returns the manner of sampling geometry that the planner expects for collection of objective data.
 void setCitation(Citation newValue)
          Sets the identification of authority requesting target collection.
 void setOperations(Collection<? extends Operation> newValues)
          Sets the identification of the activity or activities that satisfy a plan.
 void setSatisfiedRequirements(Collection<? extends Requirement> newValues)
          Sets the requirement satisfied by the plan.
 void setStatus(Progress newValue)
          Sets the current status of the plan (pending, completed, etc.)
 void setType(GeometryType newValue)
          Sets the manner of sampling geometry that the planner expects for collection of objective data.
 
Methods inherited from class MetadataEntity
getIdentifier, 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

DefaultPlan

public DefaultPlan()
Constructs an initially empty plan.


DefaultPlan

public DefaultPlan(Plan 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 DefaultPlan castOrCopy(Plan 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

getType

public GeometryType getType()
Returns the manner of sampling geometry that the planner expects for collection of objective data. null if unspecified.

Specified by:
getType in interface Plan

setType

public void setType(GeometryType newValue)
Sets the manner of sampling geometry that the planner expects for collection of objective data.

Parameters:
newValue - The new type value.

getStatus

public Progress getStatus()
Returns the current status of the plan (pending, completed, etc.)

Specified by:
getStatus in interface Plan

setStatus

public void setStatus(Progress newValue)
Sets the current status of the plan (pending, completed, etc.)

Parameters:
newValue - The new status value.

getCitation

public Citation getCitation()
Returns the identification of authority requesting target collection.

Specified by:
getCitation in interface Plan

setCitation

public void setCitation(Citation newValue)
Sets the identification of authority requesting target collection.

Parameters:
newValue - The new citation value.

getOperations

public Collection<Operation> getOperations()
Returns the identification of the activity or activities that satisfy a plan.

Specified by:
getOperations in interface Plan

setOperations

public void setOperations(Collection<? extends Operation> newValues)
Sets the identification of the activity or activities that satisfy a plan.

Parameters:
newValues - The new identifications of the activity.

getSatisfiedRequirements

public Collection<Requirement> getSatisfiedRequirements()
Returns the requirement satisfied by the plan.

Specified by:
getSatisfiedRequirements in interface Plan

setSatisfiedRequirements

public void setSatisfiedRequirements(Collection<? extends Requirement> newValues)
Sets the requirement satisfied by the plan.

Parameters:
newValues - The new satisfied requirements.


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