public abstract class DsgCollectionImpl extends java.lang.Object implements DsgFeatureCollection
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
altName |
protected java.lang.String |
altUnits |
protected java.util.List<CoordinateAxis> |
coordVars |
protected java.util.List<Variable> |
extras |
protected CollectionInfo |
info |
protected java.lang.String |
name |
protected java.lang.String |
timeName |
protected CalendarDateUnit |
timeUnit |
Modifier | Constructor and Description |
---|---|
protected |
DsgCollectionImpl(java.lang.String name,
CalendarDateUnit timeUnit,
java.lang.String altUnits) |
protected |
DsgCollectionImpl(java.lang.String name,
java.util.List<CoordinateAxis> coordVars) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAltName()
The altitude name string if it exists.
|
java.lang.String |
getAltUnits()
The altitude unit string if it exists.
|
LatLonRect |
getBoundingBox()
The boundingBox for the FeatureCollection.
|
CalendarDateRange |
getCalendarDateRange()
Calendar date range for the FeatureCollection.
|
java.util.List<CoordinateAxis> |
getCoordinateVariables()
The list of coordinate variables in the collection
|
java.util.List<Variable> |
getExtraVariables()
Other variables needed for completeness, eg joined coordinate variables
|
CollectionInfo |
getInfo() |
java.lang.String |
getName()
Get the name of this feature collection.
|
int |
getNobs() |
java.lang.String |
getTimeName()
The name of time unit, if there is a time axis.
|
CalendarDateUnit |
getTimeUnit()
The time unit, if there is a time axis.
|
int |
size()
The number of Features in the collection.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCollectionFeatureType
protected java.lang.String name
protected java.lang.String timeName
protected CalendarDateUnit timeUnit
protected java.lang.String altName
protected java.lang.String altUnits
protected CollectionInfo info
protected java.util.List<CoordinateAxis> coordVars
protected java.util.List<Variable> extras
protected DsgCollectionImpl(java.lang.String name, CalendarDateUnit timeUnit, java.lang.String altUnits)
protected DsgCollectionImpl(java.lang.String name, java.util.List<CoordinateAxis> coordVars)
@Nonnull public java.lang.String getName()
DsgFeatureCollection
getName
in interface DsgFeatureCollection
@Nullable public java.lang.String getTimeName()
DsgFeatureCollection
getTimeName
in interface DsgFeatureCollection
@Nullable public CalendarDateUnit getTimeUnit()
DsgFeatureCollection
getTimeUnit
in interface DsgFeatureCollection
@Nullable public java.lang.String getAltName()
DsgFeatureCollection
getAltName
in interface DsgFeatureCollection
@Nullable public java.lang.String getAltUnits()
DsgFeatureCollection
getAltUnits
in interface DsgFeatureCollection
@Nonnull public java.util.List<CoordinateAxis> getCoordinateVariables()
DsgFeatureCollection
getCoordinateVariables
in interface DsgFeatureCollection
@Nonnull public java.util.List<Variable> getExtraVariables()
DsgFeatureCollection
getExtraVariables
in interface DsgFeatureCollection
public int size()
DsgFeatureCollection
size
in interface DsgFeatureCollection
public int getNobs()
@Nullable public CalendarDateRange getCalendarDateRange()
DsgFeatureCollection
getCalendarDateRange
in interface DsgFeatureCollection
@Nullable public LatLonRect getBoundingBox()
DsgFeatureCollection
getBoundingBox
in interface DsgFeatureCollection
@Nonnull public CollectionInfo getInfo()