public class DefaultGeometricObjects extends ISOMetadata implements GeometricObjects
MD_GeometricObjects
└─geometricObjectType……
Name of point and vector spatial objects used to locate zero-, one-, and two-dimensional spatial locations in the dataset.Limitations:
XML
instead.Defined in the sis-metadata
module
identifiers
Constructor and Description |
---|
DefaultGeometricObjects()
Constructs an initially empty geometric objects.
|
DefaultGeometricObjects(GeometricObjects object)
Constructs a new instance initialized with the values from the specified metadata object.
|
DefaultGeometricObjects(GeometricObjectType geometricObjectType)
Creates a geometric object initialized to the given type.
|
Modifier and Type | Method and Description |
---|---|
static DefaultGeometricObjects |
castOrCopy(GeometricObjects object)
Returns a SIS metadata implementation with the values of the given arbitrary implementation.
|
Integer |
getGeometricObjectCount()
Returns the total number of the point or vector object type occurring in the dataset.
|
GeometricObjectType |
getGeometricObjectType()
Returns the total number of the point or vector object type occurring in the dataset.
|
void |
setGeometricObjectCount(Integer newValue)
Sets the total number of the point or vector object type occurring in the dataset.
|
void |
setGeometricObjectType(GeometricObjectType newValue)
Sets the total number of the point or vector object type occurring in the dataset.
|
freeze, getIdentifierMap, getIdentifiers, getStandard
checkWritePermission, clone, collectionType, copyCollection, copyList, copySet, isModifiable, nonNullCollection, nonNullList, nonNullSet, singleton, unmodifiable, writeCollection, writeList, writeSet
asMap, asTreeTable, equals, equals, getInterface, hashCode, isEmpty, prune, toString
public DefaultGeometricObjects()
public DefaultGeometricObjects(GeometricObjectType geometricObjectType)
geometricObjectType
- total number of the point or vector object type occurring in the dataset.public DefaultGeometricObjects(GeometricObjects object)
object
- the metadata to copy values from, or null
if none.castOrCopy(GeometricObjects)
public static DefaultGeometricObjects castOrCopy(GeometricObjects object)
null
, then this method returns null
.DefaultGeometricObjects
, then it is returned unchanged.DefaultGeometricObjects
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 GeometricObjectType getGeometricObjectType()
getGeometricObjectType
in interface GeometricObjects
null
.public void setGeometricObjectType(GeometricObjectType newValue)
newValue
- the new geometric object type.@ValueRange(minimum=1.0) public Integer getGeometricObjectCount()
getGeometricObjectCount
in interface GeometricObjects
null
.public void setGeometricObjectCount(Integer newValue)
newValue
- the geometric object count, or null
.IllegalArgumentException
- if the given value is zero or negative.Copyright © 2010–2017 The Apache Software Foundation. All rights reserved.