@TitleProperty(name="description") public class DefaultSource extends ISOMetadata implements Source
LI_Source
├─description……………………………………………
Detailed description of the level of the source data.
└─scope……………………………………………………………
Type and / or extent of the source.
├─level…………………………………………………
Hierarchical level of the data specified by the scope.
└─levelDescription……………………
Detailed description about the level of the data specified by the scope.
├─attributeInstances……
Attribute instances to which the information applies.
├─attributes…………………………
Attributes to which the information applies.
├─dataset…………………………………
Dataset to which the information applies.
├─featureInstances…………
Feature instances to which the information applies.
├─features………………………………
Features to which the information applies.
└─other………………………………………
Class of information that does not fall into the other categories to which the information applies.XML
instead.Defined in the sis-metadata
module
identifiers
Constructor and Description |
---|
DefaultSource()
Creates an initially empty source.
|
DefaultSource(CharSequence description)
Creates a source initialized with the given description.
|
DefaultSource(Source object)
Constructs a new instance initialized with the values from the specified metadata object.
|
Modifier and Type | Method and Description |
---|---|
static DefaultSource |
castOrCopy(Source object)
Returns a SIS metadata implementation with the values of the given arbitrary implementation.
|
InternationalString |
getDescription()
Returns a detailed description of the level of the source data.
|
Identifier |
getProcessedLevel()
Returns the processing level of the source data.
|
NominalResolution |
getResolution()
Returns the distance between consistent parts (centre, left side, right side) of two adjacent pixels.
|
RepresentativeFraction |
getScaleDenominator()
Deprecated.
As of ISO 19115:2014, moved to
DefaultResolution.getEquivalentScale() . |
Scope |
getScope()
Return the type and / or extent of the source.
|
Citation |
getSourceCitation()
Returns the recommended reference to be used for the source data.
|
Collection<Extent> |
getSourceExtents()
Deprecated.
As of ISO 19115:2014, moved to
DefaultScope.getExtents() . |
Collection<Citation> |
getSourceMetadata()
Returns the references to metadata for the source.
|
ReferenceSystem |
getSourceReferenceSystem()
Returns the spatial reference system used by the source data.
|
Resolution |
getSourceSpatialResolution()
Returns the spatial resolution expressed as a scale factor, an angle or a level of detail.
|
Collection<ProcessStep> |
getSourceSteps()
Returns information about process steps in which this source was used.
|
void |
setDescription(InternationalString newValue)
Sets a detailed description of the level of the source data.
|
void |
setProcessedLevel(Identifier newValue)
Sets the processing level of the source data.
|
void |
setResolution(NominalResolution newValue)
Sets the distance between consistent parts (centre, left side, right side) of two adjacent pixels.
|
void |
setScaleDenominator(RepresentativeFraction newValue)
Deprecated.
As of ISO 19115:2014, moved to
DefaultResolution.setEquivalentScale(RepresentativeFraction) . |
void |
setScope(Scope newValue)
Sets the type and / or extent of the source.
|
void |
setSourceCitation(Citation newValue)
Sets the recommended reference to be used for the source data.
|
void |
setSourceExtents(Collection<? extends Extent> newValues)
Deprecated.
As of ISO 19115:2014, moved to
DefaultScope.setExtents(Collection) . |
void |
setSourceMetadata(Collection<? extends Citation> newValues)
Sets the references to metadata for the source.
|
void |
setSourceReferenceSystem(ReferenceSystem newValue)
Sets the spatial reference system used by the source data.
|
void |
setSourceSpatialResolution(Resolution newValue)
Sets the spatial resolution expressed as a scale factor, an angle or a level of detail.
|
void |
setSourceSteps(Collection<? extends ProcessStep> newValues)
Sets information about process steps in which this source was used.
|
freeze, getIdentifierMap, getIdentifiers, getStandard
checkWritePermission, clone, collectionType, copyCollection, copyList, copySet, isModifiable, nonNullCollection, nonNullList, nonNullSet, singleton, unmodifiable, writeCollection, writeList, writeSet
asMap, asTreeTable, equals, equals, getInterface, hashCode, isEmpty, prune, toString
public DefaultSource()
public DefaultSource(CharSequence description)
description
- a detailed description of the level of the source data, or null
.public DefaultSource(Source object)
object
- the metadata to copy values from, or null
if none.castOrCopy(Source)
public static DefaultSource castOrCopy(Source object)
null
, then this method returns null
.DefaultSource
, then it is returned unchanged.DefaultSource
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.public InternationalString getDescription()
getDescription
in interface Source
null
.public void setDescription(InternationalString newValue)
newValue
- the new description.@UML(identifier="sourceSpatialResolution", obligation=OPTIONAL, specification=ISO_19115) public Resolution getSourceSpatialResolution()
null
if none.public void setSourceSpatialResolution(Resolution newValue)
newValue
- the new spatial resolution.@Deprecated public RepresentativeFraction getScaleDenominator()
DefaultResolution.getEquivalentScale()
.getScaleDenominator
in interface Source
null
.@Deprecated public void setScaleDenominator(RepresentativeFraction newValue)
DefaultResolution.setEquivalentScale(RepresentativeFraction)
.newValue
- the new scale denominator.public ReferenceSystem getSourceReferenceSystem()
getSourceReferenceSystem
in interface Source
null
.public void setSourceReferenceSystem(ReferenceSystem newValue)
newValue
- the new reference system.public Citation getSourceCitation()
getSourceCitation
in interface Source
null
.public void setSourceCitation(Citation newValue)
newValue
- the new source citation.@UML(identifier="sourceMetadata", obligation=OPTIONAL, specification=ISO_19115) public Collection<Citation> getSourceMetadata()
public void setSourceMetadata(Collection<? extends Citation> newValues)
newValues
- the new references.@UML(identifier="scope", obligation=CONDITIONAL, specification=ISO_19115) public Scope getScope()
null
if none.public void setScope(Scope newValue)
newValue
- the new type and / or extent of the source.@Deprecated public Collection<Extent> getSourceExtents()
DefaultScope.getExtents()
.getSourceExtents
in interface Source
@Deprecated public void setSourceExtents(Collection<? extends Extent> newValues)
DefaultScope.setExtents(Collection)
.newValues
- the new source extents.public Collection<ProcessStep> getSourceSteps()
getSourceSteps
in interface Source
public void setSourceSteps(Collection<? extends ProcessStep> newValues)
newValues
- the new process steps.public Identifier getProcessedLevel()
null
if unspecified.getProcessedLevel
in interface Source
null
.public void setProcessedLevel(Identifier newValue)
newValue
- the new processed level value.public NominalResolution getResolution()
getResolution
in interface Source
null
.public void setResolution(NominalResolution newValue)
newValue
- the new nominal resolution value.Copyright © 2010–2017 The Apache Software Foundation. All rights reserved.