org.geotoolkit.metadata.iso.acquisition
Class DefaultPlatform

Object
  extended by AbstractMetadata
      extended by ModifiableMetadata
          extended by MetadataEntity
              extended by DefaultPlatform
All Implemented Interfaces:
Serializable, Cloneable, LenientComparable, IdentifiedObject, Platform

@ThreadSafe
public class DefaultPlatform
extends MetadataEntity
implements Platform

Designation of the platform 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
DefaultPlatform()
          Constructs an initially empty platform.
DefaultPlatform(Platform source)
          Constructs a metadata entity initialized with the values from the specified metadata.
 
Method Summary
static DefaultPlatform castOrCopy(Platform object)
          Returns a Geotk metadata implementation with the same values than the given arbitrary implementation.
 Citation getCitation()
          Returns the source where information about the platform is described.
 InternationalString getDescription()
          Gets the narrative description of the platform supporting the instrument.
 Identifier getIdentifier()
          Returns the unique identification of the platform.
 Collection<Instrument> getInstruments()
          Gets the instrument(s) mounted on a platform.
 Collection<ResponsibleParty> getSponsors()
          Returns the organization responsible for building, launch, or operation of the platform.
 void setCitation(Citation newValue)
          Sets the source where information about the platform is described.
 void setDescription(InternationalString newValue)
          Sets the narrative description of the platform supporting the instrument.
 void setIdentifier(Identifier newValue)
          Sets the unique identification of the platform.
 void setInstruments(Collection<? extends Instrument> newValues)
          Sets the instrument(s) mounted on a platform.
 void setSponsors(Collection<? extends ResponsibleParty> newValues)
          Sets the organization responsible for building, launch, or operation of the platform.
 
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

DefaultPlatform

public DefaultPlatform()
Constructs an initially empty platform.


DefaultPlatform

public DefaultPlatform(Platform 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 DefaultPlatform castOrCopy(Platform 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

getCitation

public Citation getCitation()
Returns the source where information about the platform is described. null if unspecified.

Specified by:
getCitation in interface Platform

setCitation

public void setCitation(Citation newValue)
Sets the source where information about the platform is described.

Parameters:
newValue - The new citation value.

getIdentifier

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

Specified by:
getIdentifier in interface Platform
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 platform.

Parameters:
newValue - The new identifier value.

getDescription

public InternationalString getDescription()
Gets the narrative description of the platform supporting the instrument.

Specified by:
getDescription in interface Platform

setDescription

public void setDescription(InternationalString newValue)
Sets the narrative description of the platform supporting the instrument.

Parameters:
newValue - The new description value.

getSponsors

public Collection<ResponsibleParty> getSponsors()
Returns the organization responsible for building, launch, or operation of the platform.

Specified by:
getSponsors in interface Platform

setSponsors

public void setSponsors(Collection<? extends ResponsibleParty> newValues)
Sets the organization responsible for building, launch, or operation of the platform.

Parameters:
newValues - The new sponsors values;

getInstruments

public Collection<Instrument> getInstruments()
Gets the instrument(s) mounted on a platform.

Specified by:
getInstruments in interface Platform

setInstruments

public void setInstruments(Collection<? extends Instrument> newValues)
Sets the instrument(s) mounted on a platform.

Parameters:
newValues - The new instruments values.


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