public class DefaultAggregateInformation extends DefaultAssociatedResource implements AggregateInformation
AggregateInformation
has been renamed AssociatedResource
.
This class will be replaced by DefaultAssociatedResource
when GeoAPI will provide the
AssociatedResource
interface (tentatively in GeoAPI 3.1 or 4.0).
XML
instead.Defined in the sis-metadata
module
identifiers, LOGGER
Constructor and Description |
---|
DefaultAggregateInformation()
Constructs an initially empty Aggregate dataset information.
|
DefaultAggregateInformation(AggregateInformation object)
Constructs a new instance initialized with the values from the specified metadata object.
|
Modifier and Type | Method and Description |
---|---|
static DefaultAggregateInformation |
castOrCopy(AggregateInformation object)
Returns a SIS metadata implementation with the values of the given arbitrary implementation.
|
Identifier |
getAggregateDataSetIdentifier()
Deprecated.
As of ISO 19115:2014, replaced by the first identifier of
getAggregateDataSetName() . |
Citation |
getAggregateDataSetName()
Deprecated.
As of ISO 19115:2014, replaced by
DefaultAssociatedResource.getName() . |
AssociationType |
getAssociationType()
Returns the type of relation between the resources.
|
InitiativeType |
getInitiativeType()
Returns the type of initiative under which the associated resource was produced, or
null if none. |
void |
setAggregateDataSetIdentifier(Identifier newValue)
Deprecated.
As of ISO 19115:2014, replaced by an identifier of
getAggregateDataSetName() . |
void |
setAggregateDataSetName(Citation newValue)
Deprecated.
As of ISO 19115:2014, replaced by
DefaultAssociatedResource.setName(Citation) . |
void |
setAssociationType(AssociationType newValue)
Sets the type of relation between the resources.
|
void |
setInitiativeType(InitiativeType newValue)
Sets a new type of initiative under which the associated resource was produced.
|
getMetadataReference, getName, setMetadataReference, setName
getIdentifierMap, getIdentifiers, getStandard
checkWritePermission, clone, collectionType, copyCollection, copyList, copySet, freeze, isModifiable, nonNullCollection, nonNullList, nonNullSet, singleton, unmodifiable, writeCollection, writeList, writeSet
asMap, asTreeTable, equals, equals, getInterface, hashCode, isEmpty, prune, toString
public DefaultAggregateInformation()
public DefaultAggregateInformation(AggregateInformation object)
object
- The metadata to copy values from, or null
if none.#castOrCopy(AssociatedResource)
public static DefaultAggregateInformation castOrCopy(AggregateInformation object)
null
, then this method returns null
.DefaultAggregateInformation
, then it is returned unchanged.DefaultAggregateInformation
instance is created using the
copy constructor
and returned. Note that this is a shallow copy operation, since the other
metadata contained in the given object are not recursively copied.object
- The object to get as a SIS implementation, or null
if none.null
if the argument was null.@Deprecated public Citation getAggregateDataSetName()
DefaultAssociatedResource.getName()
.getAggregateDataSetName
in interface AggregateInformation
null
.@Deprecated public void setAggregateDataSetName(Citation newValue)
DefaultAssociatedResource.setName(Citation)
.newValue
- The new citation.@Deprecated public Identifier getAggregateDataSetIdentifier()
getAggregateDataSetName()
.getAggregateDataSetIdentifier
in interface AggregateInformation
null
.@Deprecated public void setAggregateDataSetIdentifier(Identifier newValue)
getAggregateDataSetName()
.newValue
- The new identifier.public AssociationType getAssociationType()
getAssociationType
in interface AggregateInformation
getAssociationType
in class DefaultAssociatedResource
public void setAssociationType(AssociationType newValue)
setAssociationType
in class DefaultAssociatedResource
newValue
- The new type of relation.public InitiativeType getInitiativeType()
null
if none.getInitiativeType
in interface AggregateInformation
getInitiativeType
in class DefaultAssociatedResource
null
if none.public void setInitiativeType(InitiativeType newValue)
setInitiativeType
in class DefaultAssociatedResource
newValue
- The new type of initiative.Copyright © 2010–2015 The Apache Software Foundation. All rights reserved.