Package mil.nga.oapi.features.json
Class Extent
- java.lang.Object
-
- mil.nga.oapi.features.json.FeaturesObject
-
- mil.nga.oapi.features.json.Extent
-
- All Implemented Interfaces:
Serializable
public class Extent extends FeaturesObject
The extent of the features in the collection. In the Core only spatial and temporal extents are specified. Extensions may add additional members to represent other extents, for example, thermal or pressure ranges.- Author:
- osbornb
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Extent()
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Spatial
getSpatial()
Get the spatial extentTemporal
getTemporal()
Get the temporal extentvoid
setSpatial(Spatial spatial)
Set the spatial extentvoid
setTemporal(Temporal temporal)
Set the temporal extent-
Methods inherited from class mil.nga.oapi.features.json.FeaturesObject
getForeignMember, getForeignMembers, hasForeignMember, hasForeignMembers, setForeignMember
-
-
-
-
Method Detail
-
getSpatial
public Spatial getSpatial()
Get the spatial extent- Returns:
- spatial extent
-
setSpatial
public void setSpatial(Spatial spatial)
Set the spatial extent- Parameters:
spatial
- spatial extent
-
getTemporal
public Temporal getTemporal()
Get the temporal extent- Returns:
- temporal begin and end times
-
setTemporal
public void setTemporal(Temporal temporal)
Set the temporal extent- Parameters:
temporal
- temporal extent
-
-