Package ucar.nc2.ft.point
Class PointDatasetImpl
- java.lang.Object
-
- ucar.nc2.ft.FeatureDatasetImpl
-
- ucar.nc2.ft.point.PointDatasetImpl
-
- All Implemented Interfaces:
Closeable
,AutoCloseable
,FeatureDataset
,FeatureDatasetPoint
,FileCacheable
- Direct Known Subclasses:
PointDatasetRemote
public class PointDatasetImpl extends FeatureDatasetImpl implements FeatureDatasetPoint
Implementation of PointFeatureDataset. All of the specialization is in ListcollectionList. - Since:
- Feb 29, 2008
-
-
Field Summary
Fields Modifier and Type Field Description protected List<DsgFeatureCollection>
collectionList
protected FeatureType
featureType
-
Fields inherited from class ucar.nc2.ft.FeatureDatasetImpl
boundingBox, dataVariables, dateRange, desc, fileCache, location, netcdfDataset, parseInfo, title
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
PointDatasetImpl(FeatureType featureType)
PointDatasetImpl(NetcdfDataset ds, FeatureType featureType)
protected
PointDatasetImpl(PointDatasetImpl from, LatLonRect filter_bb, CalendarDateRange filter_date)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
calcBounds(Formatter sf)
void
getDetailInfo(Formatter sf)
Show debug / underlying implementation detailsFeatureType
getFeatureType()
Contains collections of this FeatureType.List<DsgFeatureCollection>
getPointFeatureCollectionList()
Get a list of DsgFeatureCollection contained in this dataset.protected void
setFeatureType(FeatureType ftype)
protected void
setPointFeatureCollection(List<DsgFeatureCollection> collectionList)
protected void
setPointFeatureCollection(DsgFeatureCollection collection)
-
Methods inherited from class ucar.nc2.ft.FeatureDatasetImpl
attributes, close, findGlobalAttributeIgnoreCase, getBoundingBox, getCalendarDateEnd, getCalendarDateRange, getCalendarDateStart, getDataVariable, getDataVariables, getDescription, getGlobalAttributes, getImplementationName, getLastModified, getLocation, getNetcdfFile, getTitle, reacquire, release, setBoundingBox, setDateRange, setDescription, setFileCache, setLocationURI, setTitle
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface ucar.nc2.ft.FeatureDataset
attributes, close, findGlobalAttributeIgnoreCase, getBoundingBox, getCalendarDateEnd, getCalendarDateRange, getCalendarDateStart, getDataVariable, getDataVariables, getDescription, getGlobalAttributes, getImplementationName, getLocation, getNetcdfFile, getTitle
-
Methods inherited from interface ucar.nc2.util.cache.FileCacheable
getLastModified, reacquire, release, setFileCache
-
-
-
-
Field Detail
-
collectionList
protected List<DsgFeatureCollection> collectionList
-
featureType
protected FeatureType featureType
-
-
Constructor Detail
-
PointDatasetImpl
protected PointDatasetImpl(FeatureType featureType)
-
PointDatasetImpl
protected PointDatasetImpl(PointDatasetImpl from, LatLonRect filter_bb, CalendarDateRange filter_date)
-
PointDatasetImpl
public PointDatasetImpl(NetcdfDataset ds, FeatureType featureType)
-
-
Method Detail
-
setPointFeatureCollection
protected void setPointFeatureCollection(List<DsgFeatureCollection> collectionList)
-
setPointFeatureCollection
protected void setPointFeatureCollection(DsgFeatureCollection collection)
-
getFeatureType
public FeatureType getFeatureType()
Description copied from interface:FeatureDataset
Contains collections of this FeatureType.- Specified by:
getFeatureType
in interfaceFeatureDataset
- Returns:
- FeatureType of data
-
setFeatureType
protected void setFeatureType(FeatureType ftype)
-
getPointFeatureCollectionList
public List<DsgFeatureCollection> getPointFeatureCollectionList()
Description copied from interface:FeatureDatasetPoint
Get a list of DsgFeatureCollection contained in this dataset. These will all be of type PointFeatureCollection, PointFeatureCC, or PointFeatureCCC.- Specified by:
getPointFeatureCollectionList
in interfaceFeatureDatasetPoint
- Returns:
- list of DsgFeatureCollection contained in this dataset
-
getDetailInfo
public void getDetailInfo(Formatter sf)
Description copied from interface:FeatureDataset
Show debug / underlying implementation details- Specified by:
getDetailInfo
in interfaceFeatureDataset
- Overrides:
getDetailInfo
in classFeatureDatasetImpl
- Parameters:
sf
- append info here
-
calcBounds
public void calcBounds(Formatter sf)
- Specified by:
calcBounds
in interfaceFeatureDatasetPoint
-
-