org.geotoolkit.metadata.iso.distribution
Class DefaultStandardOrderProcess

Object
  extended by AbstractMetadata
      extended by ModifiableMetadata
          extended by MetadataEntity
              extended by DefaultStandardOrderProcess
All Implemented Interfaces:
Serializable, Cloneable, LenientComparable, IdentifiedObject, StandardOrderProcess

@ThreadSafe
public class DefaultStandardOrderProcess
extends MetadataEntity
implements StandardOrderProcess

Common ways in which the resource may be obtained or received, and related instructions and fee information.

Since:
2.1
Version:
3.19
Author:
Martin Desruisseaux (IRD, Geomatys), Touraïvane (IRD), Cédric Briançon (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
DefaultStandardOrderProcess()
          Constructs an initially empty standard order process.
DefaultStandardOrderProcess(StandardOrderProcess source)
          Constructs a metadata entity initialized with the values from the specified metadata.
 
Method Summary
static DefaultStandardOrderProcess castOrCopy(StandardOrderProcess object)
          Returns a Geotk metadata implementation with the same values than the given arbitrary implementation.
 InternationalString getFees()
          Returns fees and terms for retrieving the resource.
 InternationalString getOrderingInstructions()
          Returns general instructions, terms and services provided by the distributor.
 Date getPlannedAvailableDateTime()
          Returns the date and time when the dataset will be available.
 InternationalString getTurnaround()
          Returns typical turnaround time for the filling of an order.
 void setFees(InternationalString newValue)
          Sets fees and terms for retrieving the resource.
 void setOrderingInstructions(InternationalString newValue)
          Sets general instructions, terms and services provided by the distributor.
 void setPlannedAvailableDateTime(Date newValue)
          Sets the date and time when the dataset will be available.
 void setTurnaround(InternationalString newValue)
          Sets typical turnaround time for the filling of an order.
 
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

DefaultStandardOrderProcess

public DefaultStandardOrderProcess()
Constructs an initially empty standard order process.


DefaultStandardOrderProcess

public DefaultStandardOrderProcess(StandardOrderProcess source)
Constructs a metadata entity initialized with the values from the specified metadata.

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

castOrCopy

public static DefaultStandardOrderProcess castOrCopy(StandardOrderProcess 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

getFees

public InternationalString getFees()
Returns fees and terms for retrieving the resource. Include monetary units (as specified in ISO 4217).

Specified by:
getFees in interface StandardOrderProcess

setFees

public void setFees(InternationalString newValue)
Sets fees and terms for retrieving the resource. Include monetary units (as specified in ISO 4217).

Parameters:
newValue - The new fees.

getPlannedAvailableDateTime

public Date getPlannedAvailableDateTime()
Returns the date and time when the dataset will be available.

Specified by:
getPlannedAvailableDateTime in interface StandardOrderProcess

setPlannedAvailableDateTime

public void setPlannedAvailableDateTime(Date newValue)
Sets the date and time when the dataset will be available.

Parameters:
newValue - The new planned available time.

getOrderingInstructions

public InternationalString getOrderingInstructions()
Returns general instructions, terms and services provided by the distributor.

Specified by:
getOrderingInstructions in interface StandardOrderProcess

setOrderingInstructions

public void setOrderingInstructions(InternationalString newValue)
Sets general instructions, terms and services provided by the distributor.

Parameters:
newValue - The new ordering instructions.

getTurnaround

public InternationalString getTurnaround()
Returns typical turnaround time for the filling of an order.

Specified by:
getTurnaround in interface StandardOrderProcess

setTurnaround

public void setTurnaround(InternationalString newValue)
Sets typical turnaround time for the filling of an order.

Parameters:
newValue - The new turnaround.


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