|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
ObjectAbstractMetadata
ModifiableMetadata
MetadataEntity
AbstractSpatialRepresentation
DefaultGridSpatialRepresentation
@ThreadSafe public class DefaultGridSpatialRepresentation
Basic information required to uniquely identify a resource or resources.
| metadata/geotk-metadata (download) | View source code for this class |
| Field Summary |
|---|
| Fields inherited from class MetadataEntity |
|---|
identifiers |
| Fields inherited from class AbstractMetadata |
|---|
LOGGER |
| Constructor Summary | |
|---|---|
DefaultGridSpatialRepresentation()
Constructs an initially empty grid spatial representation. |
|
DefaultGridSpatialRepresentation(GridSpatialRepresentation source)
Constructs a metadata entity initialized with the values from the specified metadata. |
|
DefaultGridSpatialRepresentation(int numberOfDimensions,
List<? extends Dimension> axisDimensionsProperties,
CellGeometry cellGeometry,
boolean transformationParameterAvailable)
Creates a grid spatial representation initialized to the given values. |
|
| Method Summary | |
|---|---|
static DefaultGridSpatialRepresentation |
castOrCopy(GridSpatialRepresentation object)
Returns a Geotk metadata implementation with the same values than 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. |
| Methods inherited from class AbstractSpatialRepresentation |
|---|
castOrCopy |
| Methods inherited from class MetadataEntity |
|---|
getIdentifier, getIdentifierMap, getIdentifiers, getStandard |
| Methods inherited from class ModifiableMetadata |
|---|
checkWritePermission, clone, collectionType, copyCollection, copyList, copySet, freeze, isModifiable, nonNullCollection, nonNullList, nonNullSet, prune, unmodifiable |
| Methods inherited from class AbstractMetadata |
|---|
asMap, asTree, asTreeTable, equals, equals, getInterface, hashCode, isEmpty, parse, toString |
| Methods inherited from class Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultGridSpatialRepresentation()
public DefaultGridSpatialRepresentation(GridSpatialRepresentation source)
source -
public DefaultGridSpatialRepresentation(int numberOfDimensions,
List<? extends Dimension> axisDimensionsProperties,
CellGeometry cellGeometry,
boolean transformationParameterAvailable)
numberOfDimensions - The number of independent spatial-temporal axes.axisDimensionsProperties - Information about spatial-temporal axis properties.cellGeometry - Identification of grid data as point or cell.transformationParameterAvailable - Indication of whether or not parameters for
transformation exists.| Method Detail |
|---|
public static DefaultGridSpatialRepresentation castOrCopy(GridSpatialRepresentation object)
null, then this method returns null.
Otherwise if the given object is already a Geotk implementation, then the given object is
returned unchanged. Otherwise a new Geotk implementation is created and initialized to the
attribute values of the given object, using a shallow copy operation
(i.e. attributes are not cloned).
This method checks for the Georectified and Georeferenceable
sub-interfaces. If one of those interfaces is found, then this method delegates to
the corresponding castOrCopy static method. If the given object implements more
than one of the above-cited interfaces, then the castOrCopy method to be used is
unspecified.
object - The object to get as a Geotk implementation, or null if none.
null if the argument was null.@ValueRange(minimum=0.0) public Integer getNumberOfDimensions()
getNumberOfDimensions in interface GridSpatialRepresentationpublic void setNumberOfDimensions(Integer newValue)
newValue - The new number of dimension.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 GridSpatialRepresentationpublic 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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||