|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectAbstractMetadata
ModifiableMetadata
MetadataEntity
ExtentImpl
public class ExtentImpl
Information about spatial, vertical, and temporal extent. This interface has four optional attributes (geographic elements, temporal elements, and vertical elements) and an element called description. At least one of the four shall be used.
modules/library/metadata (gt-metadata.jar)
Field Summary | |
---|---|
static Extent |
WORLD
A geographic extent ranging from 180°W to 180°E and 90°S to 90°N. |
Fields inherited from class AbstractMetadata |
---|
LOGGER |
Constructor Summary | |
---|---|
ExtentImpl()
Constructs an initially empty extent. |
|
ExtentImpl(Extent source)
Constructs a metadata entity initialized with the values from the specified metadata. |
Method Summary | |
---|---|
InternationalString |
getDescription()
Returns the spatial and temporal extent for the referring object. |
static GeographicBoundingBox |
getGeographicBoundingBox(Extent extent)
Convenience method returning a single geographic bounding box from the specified extent. |
Collection<GeographicExtent> |
getGeographicElements()
Provides geographic component of the extent of the referring object |
Collection<TemporalExtent> |
getTemporalElements()
Provides temporal component of the extent of the referring object |
Collection<VerticalExtent> |
getVerticalElements()
Provides vertical component of the extent of the referring object |
void |
setDescription(InternationalString newValue)
Set the spatial and temporal extent for the referring object. |
void |
setGeographicElements(Collection<? extends GeographicExtent> newValues)
Set geographic component of the extent of the referring object |
void |
setTemporalElements(Collection<? extends TemporalExtent> newValues)
Set temporal component of the extent of the referring object |
void |
setVerticalElements(Collection<? extends VerticalExtent> newValues)
Set vertical component of the extent of the referring object |
Methods inherited from class MetadataEntity |
---|
ensureNonNull, getStandard |
Methods inherited from class ModifiableMetadata |
---|
checkWritePermission, clone, copyCollection, copyList, freeze, isModifiable, nonNullCollection, nonNullList, nonNullSet, unmodifiable |
Methods inherited from class AbstractMetadata |
---|
asMap, asTree, equals, getInterface, hashCode, toString |
Methods inherited from class Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final Extent WORLD
Constructor Detail |
---|
public ExtentImpl()
public ExtentImpl(Extent source)
Method Detail |
---|
public InternationalString getDescription()
getDescription
in interface Extent
public void setDescription(InternationalString newValue)
public Collection<GeographicExtent> getGeographicElements()
getGeographicElements
in interface Extent
public void setGeographicElements(Collection<? extends GeographicExtent> newValues)
public Collection<TemporalExtent> getTemporalElements()
getTemporalElements
in interface Extent
public void setTemporalElements(Collection<? extends TemporalExtent> newValues)
public Collection<VerticalExtent> getVerticalElements()
getVerticalElements
in interface Extent
public void setVerticalElements(Collection<? extends VerticalExtent> newValues)
public static GeographicBoundingBox getGeographicBoundingBox(Extent extent)
null
. If more than one box
is found, then boxes are added together.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |