public class DefaultGridSpatialRepresentation extends AbstractSpatialRepresentation implements GridSpatialRepresentation
Defined in the sis-metadata
module
identifiers, LOGGER
Constructor and Description |
---|
DefaultGridSpatialRepresentation()
Constructs an initially empty grid spatial representation.
|
DefaultGridSpatialRepresentation(GridSpatialRepresentation object)
Constructs a new instance initialized with the values from the specified metadata object.
|
Modifier and Type | Method and Description |
---|---|
static DefaultGridSpatialRepresentation |
castOrCopy(GridSpatialRepresentation object)
Returns a SIS metadata implementation with the values of the given arbitrary implementation.
|
List<Dimension> |
getAxisDimensionProperties()
Returns information about spatial-temporal axis properties.
|
CellGeometry |
getCellGeometry()
Returns the identification of grid data as point or cell.
|
Integer |
getNumberOfDimensions()
Returns the number of independent spatial-temporal axes.
|
boolean |
isTransformationParameterAvailable()
Returns indication of whether or not parameters for transformation exists.
|
void |
setAxisDimensionProperties(List<? extends Dimension> newValues)
Sets the information about spatial-temporal axis properties.
|
void |
setCellGeometry(CellGeometry newValue)
Sets identification of grid data as point or cell.
|
void |
setNumberOfDimensions(Integer newValue)
Sets the number of independent spatial-temporal axes.
|
void |
setTransformationParameterAvailable(boolean newValue)
Sets indication of whether or not parameters for transformation exists.
|
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 DefaultGridSpatialRepresentation()
public DefaultGridSpatialRepresentation(GridSpatialRepresentation object)
object
- The metadata to copy values from, or null
if none.castOrCopy(GridSpatialRepresentation)
public static DefaultGridSpatialRepresentation castOrCopy(GridSpatialRepresentation object)
null
, then this method returns null
.Georectified
or
Georeferenceable
, then this method delegates to the castOrCopy(…)
method of the corresponding SIS subclass. Note that if the given object implements
more than one of the above-cited interfaces, then the castOrCopy(…)
method
to be used is unspecified.DefaultGridSpatialRepresentation
, then it is returned unchanged.DefaultGridSpatialRepresentation
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.@ValueRange(minimum=0.0) public Integer getNumberOfDimensions()
getNumberOfDimensions
in interface GridSpatialRepresentation
null
.public void setNumberOfDimensions(Integer newValue)
newValue
- The new number of dimension.public List<Dimension> getAxisDimensionProperties()
getAxisDimensionProperties
in interface GridSpatialRepresentation
public void setAxisDimensionProperties(List<? extends Dimension> newValues)
newValues
- The new axis dimension properties.public CellGeometry getCellGeometry()
getCellGeometry
in interface GridSpatialRepresentation
null
.public void setCellGeometry(CellGeometry newValue)
newValue
- The new cell geometry.public boolean isTransformationParameterAvailable()
isTransformationParameterAvailable
in interface GridSpatialRepresentation
public void setTransformationParameterAvailable(boolean newValue)
newValue
- true
if the transformation parameters are available.Copyright © 2010–2014 The Apache Software Foundation. All rights reserved.