org.geotoolkit.metadata.iso.acquisition
Class DefaultRequirement

Object
  extended by AbstractMetadata
      extended by ModifiableMetadata
          extended by MetadataEntity
              extended by DefaultRequirement
All Implemented Interfaces:
Serializable, Cloneable, LenientComparable, IdentifiedObject, Requirement

Deprecated. Moved to the org.apache.sis.metadata.iso package.

@ThreadSafe
public class DefaultRequirement
extends MetadataEntity
implements Requirement

Requirement to be satisfied by the planned data acquisition.

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
DefaultRequirement()
          Deprecated. Constructs an initially empty requirement.
DefaultRequirement(Requirement source)
          Deprecated. Constructs a metadata entity initialized with the values from the specified metadata.
 
Method Summary
static DefaultRequirement castOrCopy(Requirement object)
          Deprecated. Returns a Geotk metadata implementation with the same values than the given arbitrary implementation.
 Citation getCitation()
          Deprecated. Returns the identification of reference or guidance material for the requirement.
 Date getExpiryDate()
          Deprecated. Returns the date and time after which collection is no longer valid.
 Identifier getIdentifier()
          Deprecated. Returns the unique name, or code, for the requirement.
 Priority getPriority()
          Deprecated. Returns the relative ordered importance, or urgency, of the requirement.
 Collection<ResponsibleParty> getRecipients()
          Deprecated. Returns the person(s), or body(ies), to receive results of requirement.
 RequestedDate getRequestedDate()
          Deprecated. Returns the required or preferred acquisition date and time.
 Collection<ResponsibleParty> getRequestors()
          Deprecated. Returns the origin of requirement.
 Collection<Plan> getSatisfiedPlans()
          Deprecated. Returns the plan that identifies solution to satisfy the requirement.
 void setCitation(Citation newValue)
          Deprecated. Sets the identification of reference or guidance material for the requirement.
 void setExpiryDate(Date newValue)
          Deprecated. Sets the date and time after which collection is no longer valid.
 void setIdentifier(Identifier newValue)
          Deprecated. Sets the unique name, or code, for the requirement.
 void setPriority(Priority newValue)
          Deprecated. Sets the relative ordered importance, or urgency, of the requirement.
 void setRecipients(Collection<? extends ResponsibleParty> newValues)
          Deprecated. Sets the Person(s), or body(ies), to receive results of requirement.
 void setRequestedDate(RequestedDate newValue)
          Deprecated. Sets the required or preferred acquisition date and time.
 void setRequestors(Collection<? extends ResponsibleParty> newValues)
          Deprecated. Sets the origin of requirement.
 void setSatisfiedPlans(Collection<? extends Plan> newValues)
          Deprecated.  
 
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

DefaultRequirement

public DefaultRequirement()
Deprecated. 
Constructs an initially empty requirement.


DefaultRequirement

public DefaultRequirement(Requirement source)
Deprecated. 
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 DefaultRequirement castOrCopy(Requirement object)
Deprecated. 
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

getCitation

public Citation getCitation()
Deprecated. 
Returns the identification of reference or guidance material for the requirement. null if unspecified.

Specified by:
getCitation in interface Requirement

setCitation

public void setCitation(Citation newValue)
Deprecated. 
Sets the identification of reference or guidance material for the requirement.

Parameters:
newValue - The new citation value.

getIdentifier

public Identifier getIdentifier()
Deprecated. 
Returns the unique name, or code, for the requirement.

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

setIdentifier

public void setIdentifier(Identifier newValue)
Deprecated. 
Sets the unique name, or code, for the requirement.

Parameters:
newValue - The new identifier value.

getRequestors

public Collection<ResponsibleParty> getRequestors()
Deprecated. 
Returns the origin of requirement.

Specified by:
getRequestors in interface Requirement

setRequestors

public void setRequestors(Collection<? extends ResponsibleParty> newValues)
Deprecated. 
Sets the origin of requirement.

Parameters:
newValues - The new requestors values.

getRecipients

public Collection<ResponsibleParty> getRecipients()
Deprecated. 
Returns the person(s), or body(ies), to receive results of requirement.

Specified by:
getRecipients in interface Requirement

setRecipients

public void setRecipients(Collection<? extends ResponsibleParty> newValues)
Deprecated. 
Sets the Person(s), or body(ies), to receive results of requirement.

Parameters:
newValues - The new recipients values.

getPriority

public Priority getPriority()
Deprecated. 
Returns the relative ordered importance, or urgency, of the requirement.

Specified by:
getPriority in interface Requirement

setPriority

public void setPriority(Priority newValue)
Deprecated. 
Sets the relative ordered importance, or urgency, of the requirement.

Parameters:
newValue - The new priority value.

getRequestedDate

public RequestedDate getRequestedDate()
Deprecated. 
Returns the required or preferred acquisition date and time.

Specified by:
getRequestedDate in interface Requirement

setRequestedDate

public void setRequestedDate(RequestedDate newValue)
Deprecated. 
Sets the required or preferred acquisition date and time.

Parameters:
newValue - The new requested date value.

getExpiryDate

public Date getExpiryDate()
Deprecated. 
Returns the date and time after which collection is no longer valid.

Specified by:
getExpiryDate in interface Requirement

setExpiryDate

public void setExpiryDate(Date newValue)
Deprecated. 
Sets the date and time after which collection is no longer valid.

Parameters:
newValue - The new expiry date.

getSatisfiedPlans

public Collection<Plan> getSatisfiedPlans()
Deprecated. 
Returns the plan that identifies solution to satisfy the requirement.

Specified by:
getSatisfiedPlans in interface Requirement

setSatisfiedPlans

public void setSatisfiedPlans(Collection<? extends Plan> newValues)
Deprecated. 
Parameters:
newValues - The new satisfied plans values.


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