public class DefaultGridSpatialRepresentation extends AbstractSpatialRepresentation implements GridSpatialRepresentation
MD_GridSpatialRepresentation
├─numberOfDimensions………………………………………………… Number of independent spatial-temporal axes.
├─axisDimensionProperties…………………………………… Information about spatial-temporal axis properties.
│ ├─dimensionName…………………………………………………… Name of the axis.
│ └─dimensionSize…………………………………………………… Number of elements along the axis.
├─cellGeometry………………………………………………………………… Identification of grid data as point or cell.
└─transformationParameterAvailability…… Indication of whether or not parameters for transformation exists.Limitations:
XML instead.Defined in the sis-metadata module
identifiers| 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.
|
castOrCopyfreeze, getIdentifierMap, getIdentifiers, getStandardcheckWritePermission, clone, collectionType, copyCollection, copyList, copySet, isModifiable, nonNullCollection, nonNullList, nonNullSet, singleton, unmodifiable, writeCollection, writeList, writeSetasMap, asTreeTable, equals, equals, getInterface, hashCode, isEmpty, prune, toStringpublic 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 GridSpatialRepresentationnull.public void setNumberOfDimensions(Integer newValue)
newValue - the new number of dimension, or null.IllegalArgumentException - if the given value is negative.public List<Dimension> getAxisDimensionProperties()
getAxisDimensionProperties in interface GridSpatialRepresentationpublic void setAxisDimensionProperties(List<? extends Dimension> newValues)
newValues - the new axis dimension properties.public CellGeometry getCellGeometry()
getCellGeometry in interface GridSpatialRepresentationnull.public void setCellGeometry(CellGeometry newValue)
newValue - the new cell geometry.public boolean isTransformationParameterAvailable()
isTransformationParameterAvailable in interface GridSpatialRepresentationpublic void setTransformationParameterAvailable(boolean newValue)
newValue - true if the transformation parameters are available.Copyright © 2010–2017 The Apache Software Foundation. All rights reserved.