public class DefaultScope extends ISOMetadata implements Scope
Limitations:
XML
instead.Defined in the sis-metadata
module
identifiers, LOGGER
Constructor and Description |
---|
DefaultScope()
Constructs an initially empty scope.
|
DefaultScope(Scope object)
Constructs a new instance initialized with the values from the specified metadata object.
|
DefaultScope(ScopeCode level)
Creates a scope initialized to the given level.
|
Modifier and Type | Method and Description |
---|---|
static DefaultScope |
castOrCopy(Scope object)
Returns a SIS metadata implementation with the values of the given arbitrary implementation.
|
Extent |
getExtent()
Deprecated.
As of ISO 19115:2014, replaced by
getExtents() . |
Collection<Extent> |
getExtents()
Returns information about the spatial, vertical and temporal extents of the resource specified by the scope.
|
ScopeCode |
getLevel()
Returns the hierarchical level of the data specified by the scope.
|
Collection<ScopeDescription> |
getLevelDescription()
Returns detailed descriptions about the level of the data specified by the scope.
|
void |
setExtent(Extent newValue)
Deprecated.
As of ISO 19115:2014, replaced by
setExtents(Collection) . |
void |
setExtents(Collection<? extends Extent> newValues)
Sets information about the spatial, vertical and temporal extents of the resource specified by the scope.
|
void |
setLevel(ScopeCode newValue)
Sets the hierarchical level of the data specified by the scope.
|
void |
setLevelDescription(Collection<? extends ScopeDescription> newValues)
Sets detailed descriptions about the level of the data specified by the scope.
|
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 DefaultScope()
public DefaultScope(ScopeCode level)
level
- The hierarchical level of the data specified by the scope.public DefaultScope(Scope object)
object
- The metadata to copy values from, or null
if none.castOrCopy(Scope)
public static DefaultScope castOrCopy(Scope object)
null
, then this method returns null
.DefaultScope
, then it is returned unchanged.DefaultScope
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 ScopeCode getLevel()
public void setLevel(ScopeCode newValue)
newValue
- The new level.public Collection<Extent> getExtents()
public void setExtents(Collection<? extends Extent> newValues)
newValues
- New information about the extent of the resource.@Deprecated public Extent getExtent()
getExtents()
.@Deprecated public void setExtent(Extent newValue)
setExtents(Collection)
.newValue
- The new extent.public Collection<ScopeDescription> getLevelDescription()
getLevelDescription
in interface Scope
public void setLevelDescription(Collection<? extends ScopeDescription> newValues)
newValues
- The new level description.Copyright © 2010–2015 The Apache Software Foundation. All rights reserved.