ucar.nc2.ft.point
Class PointDatasetImpl

java.lang.Object
  extended by ucar.nc2.ft.FeatureDatasetImpl
      extended by ucar.nc2.ft.point.PointDatasetImpl
All Implemented Interfaces:
FeatureDataset, FeatureDatasetPoint

public class PointDatasetImpl
extends FeatureDatasetImpl
implements FeatureDatasetPoint

Implementation of PointFeatureDataset. All of the specialization is in List collectionList.

Since:
Feb 29, 2008
Author:
caron

Field Summary
protected  java.util.List<FeatureCollection> collectionList
           
protected  FeatureType featureType
           
 
Fields inherited from class ucar.nc2.ft.FeatureDatasetImpl
boundingBox, dataVariables, dateRange, desc, location, ncfile, parseInfo, title
 
Constructor Summary
  PointDatasetImpl(NetcdfDataset ds, FeatureType featureType)
           
protected PointDatasetImpl(PointDatasetImpl from, LatLonRect filter_bb, DateRange filter_date)
           
 
Method Summary
 void getDetailInfo(java.util.Formatter sf)
          Show debug / underlying implementation details
 FeatureType getFeatureType()
          Contains collections of this FeatureType.
 java.util.List<FeatureCollection> getPointFeatureCollectionList()
          Get a list of FeatureCollections contained in this dataset.
protected  void setFeatureType(FeatureType ftype)
           
protected  void setPointFeatureCollection(FeatureCollection collection)
           
protected  void setPointFeatureCollection(java.util.List<FeatureCollection> collectionList)
           
 
Methods inherited from class ucar.nc2.ft.FeatureDatasetImpl
close, findGlobalAttributeIgnoreCase, getBoundingBox, getDataVariable, getDataVariables, getDateRange, getDescription, getEndDate, getGlobalAttributes, getLocationURI, getNetcdfFile, getStartDate, getTitle, removeDataVariable, setBoundingBox, setDateRange, setDescription, 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
close, findGlobalAttributeIgnoreCase, getBoundingBox, getDataVariable, getDataVariables, getDateRange, getDescription, getEndDate, getGlobalAttributes, getLocationURI, getNetcdfFile, getStartDate, getTitle
 

Field Detail

collectionList

protected java.util.List<FeatureCollection> collectionList

featureType

protected FeatureType featureType
Constructor Detail

PointDatasetImpl

protected PointDatasetImpl(PointDatasetImpl from,
                           LatLonRect filter_bb,
                           DateRange filter_date)

PointDatasetImpl

public PointDatasetImpl(NetcdfDataset ds,
                        FeatureType featureType)
Method Detail

setPointFeatureCollection

protected void setPointFeatureCollection(java.util.List<FeatureCollection> collectionList)

setPointFeatureCollection

protected void setPointFeatureCollection(FeatureCollection collection)

getFeatureType

public FeatureType getFeatureType()
Description copied from interface: FeatureDataset
Contains collections of this FeatureType.

Specified by:
getFeatureType in interface FeatureDataset
Returns:
FeatureType of data

setFeatureType

protected void setFeatureType(FeatureType ftype)

getPointFeatureCollectionList

public java.util.List<FeatureCollection> getPointFeatureCollectionList()
Description copied from interface: FeatureDatasetPoint
Get a list of FeatureCollections contained in this dataset. These will all be of type PointFeatureCollection or NestedPointFeatureCollection.

Specified by:
getPointFeatureCollectionList in interface FeatureDatasetPoint
Returns:
list of FeatureCollections contained in this dataset

getDetailInfo

public void getDetailInfo(java.util.Formatter sf)
Description copied from interface: FeatureDataset
Show debug / underlying implementation details

Specified by:
getDetailInfo in interface FeatureDataset
Overrides:
getDetailInfo in class FeatureDatasetImpl
Parameters:
sf - append info here