public class DefaultVectorSpatialRepresentation extends AbstractSpatialRepresentation implements VectorSpatialRepresentation
Defined in the sis-metadata
module
identifiers, LOGGER
Constructor and Description |
---|
DefaultVectorSpatialRepresentation()
Constructs an initially empty vector spatial representation.
|
DefaultVectorSpatialRepresentation(VectorSpatialRepresentation object)
Constructs a new instance initialized with the values from the specified metadata object.
|
Modifier and Type | Method and Description |
---|---|
static DefaultVectorSpatialRepresentation |
castOrCopy(VectorSpatialRepresentation object)
Returns a SIS metadata implementation with the values of the given arbitrary implementation.
|
Collection<GeometricObjects> |
getGeometricObjects()
Returns information about the geometric objects used in the dataset.
|
TopologyLevel |
getTopologyLevel()
Returns the code which identifies the degree of complexity of the spatial relationships.
|
void |
setGeometricObjects(Collection<? extends GeometricObjects> newValues)
Sets information about the geometric objects used in the dataset.
|
void |
setTopologyLevel(TopologyLevel newValue)
Sets the code which identifies the degree of complexity of the spatial relationships.
|
castOrCopy
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 DefaultVectorSpatialRepresentation()
public DefaultVectorSpatialRepresentation(VectorSpatialRepresentation object)
object
- The metadata to copy values from, or null
if none.castOrCopy(VectorSpatialRepresentation)
public static DefaultVectorSpatialRepresentation castOrCopy(VectorSpatialRepresentation object)
null
, then this method returns null
.DefaultVectorSpatialRepresentation
, then it is returned unchanged.DefaultVectorSpatialRepresentation
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 TopologyLevel getTopologyLevel()
getTopologyLevel
in interface VectorSpatialRepresentation
null
.public void setTopologyLevel(TopologyLevel newValue)
newValue
- The new topology level.public Collection<GeometricObjects> getGeometricObjects()
getGeometricObjects
in interface VectorSpatialRepresentation
null
.public void setGeometricObjects(Collection<? extends GeometricObjects> newValues)
newValues
- The new geometric objects.Copyright © 2010–2014 The Apache Software Foundation. All rights reserved.