public class DefaultScope extends ISOMetadata implements Scope
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()
Information about the spatial, vertical and temporal extent of the data 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)
Sets information about the spatial, vertical and temporal extent of the data 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<ScopeDescription> getLevelDescription()
getLevelDescription
in interface Scope
public void setLevelDescription(Collection<? extends ScopeDescription> newValues)
newValues
- The new level description.public Extent getExtent()
public void setExtent(Extent newValue)
newValue
- The new extent.Copyright © 2010–2013 The Apache Software Foundation. All rights reserved.