org.geotoolkit.metadata.iso.identification
Class DefaultAggregateInformation

Object
  extended by AbstractMetadata
      extended by ModifiableMetadata
          extended by MetadataEntity
              extended by DefaultAggregateInformation
All Implemented Interfaces:
Serializable, Cloneable, LenientComparable, IdentifiedObject, AggregateInformation

@ThreadSafe
public class DefaultAggregateInformation
extends MetadataEntity
implements AggregateInformation

Aggregate dataset information.

Since:
3.00
Version:
3.19
Author:
Guilhem Legal (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
DefaultAggregateInformation()
          Constructs an initially empty Aggregate dataset information.
DefaultAggregateInformation(AggregateInformation source)
          Constructs a metadata entity initialized with the values from the specified metadata.
 
Method Summary
static DefaultAggregateInformation castOrCopy(AggregateInformation object)
          Returns a Geotk metadata implementation with the same values than the given arbitrary implementation.
 Identifier getAggregateDataSetIdentifier()
          Identification information about aggregate dataset.
 Citation getAggregateDataSetName()
          Citation information about the aggregate dataset.
 AssociationType getAssociationType()
          Association type of the aggregate dataset.
 InitiativeType getInitiativeType()
          Type of initiative under which the aggregate dataset was produced.
 void setAggregateDataSetIdentifier(Identifier newValue)
          Sets the identification information about aggregate dataset.
 void setAggregateDataSetName(Citation newValue)
          Sets the citation information about the aggregate dataset.
 void setAssociationType(AssociationType newValue)
          Sets the association type of the aggregate dataset.
 void setInitiativeType(InitiativeType newValue)
          Sets the type of initiative under which the aggregate dataset was produced.
 
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

DefaultAggregateInformation

public DefaultAggregateInformation()
Constructs an initially empty Aggregate dataset information.


DefaultAggregateInformation

public DefaultAggregateInformation(AggregateInformation 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 DefaultAggregateInformation castOrCopy(AggregateInformation 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

getAggregateDataSetName

public Citation getAggregateDataSetName()
Citation information about the aggregate dataset.

Specified by:
getAggregateDataSetName in interface AggregateInformation
Returns:
Citation information about the aggregate dataset, or null.

setAggregateDataSetName

public void setAggregateDataSetName(Citation newValue)
Sets the citation information about the aggregate dataset.

Parameters:
newValue - The new citation.

getAggregateDataSetIdentifier

public Identifier getAggregateDataSetIdentifier()
Identification information about aggregate dataset.

Specified by:
getAggregateDataSetIdentifier in interface AggregateInformation
Returns:
Identification information about aggregate dataset, or null.

setAggregateDataSetIdentifier

public void setAggregateDataSetIdentifier(Identifier newValue)
Sets the identification information about aggregate dataset.

Parameters:
newValue - The new identifier.

getAssociationType

public AssociationType getAssociationType()
Association type of the aggregate dataset.

Specified by:
getAssociationType in interface AggregateInformation
Returns:
Association type of the aggregate dataset.

setAssociationType

public void setAssociationType(AssociationType newValue)
Sets the association type of the aggregate dataset.

Parameters:
newValue - The new association type.

getInitiativeType

public InitiativeType getInitiativeType()
Type of initiative under which the aggregate dataset was produced.

Specified by:
getInitiativeType in interface AggregateInformation
Returns:
Type of initiative under which the aggregate dataset was produced, or null.

setInitiativeType

public void setInitiativeType(InitiativeType newValue)
Sets the type of initiative under which the aggregate dataset was produced.

Parameters:
newValue - The new initiative.


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