|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectucar.nc2.ft.point.PointFeatureImpl
public abstract class PointFeatureImpl
Abstract superclass for implementations of PointFeature. Concrete subclass must implement getData();
Field Summary | |
---|---|
protected EarthLocation |
location
|
protected double |
nomTime
|
protected double |
obsTime
|
protected DateUnit |
timeUnit
|
Constructor Summary | |
---|---|
PointFeatureImpl(DateUnit timeUnit)
|
|
PointFeatureImpl(EarthLocation location,
double obsTime,
double nomTime,
DateUnit timeUnit)
|
Method Summary | |
---|---|
int |
compareTo(PointFeature other)
|
String |
getDescription()
|
EarthLocation |
getLocation()
Location of this observation |
double |
getNominalTime()
Nominal time of this observation. |
Date |
getNominalTimeAsDate()
Nominal time of this observation, as a Date. |
double |
getObservationTime()
Actual time of this observation. |
Date |
getObservationTimeAsDate()
Actual time of this observation, as a Date. |
DateUnit |
getTimeUnit()
Get the time unit of the time coordinate. |
String |
getZcoordUnits()
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface ucar.nc2.ft.PointFeature |
---|
getData |
Field Detail |
---|
protected EarthLocation location
protected double obsTime
protected double nomTime
protected DateUnit timeUnit
Constructor Detail |
---|
public PointFeatureImpl(DateUnit timeUnit)
public PointFeatureImpl(EarthLocation location, double obsTime, double nomTime, DateUnit timeUnit)
Method Detail |
---|
public EarthLocation getLocation()
PointFeature
getLocation
in interface PointFeature
public double getNominalTime()
PointFeature
getNominalTime
in interface PointFeature
public double getObservationTime()
PointFeature
getObservationTime
in interface PointFeature
public String getZcoordUnits()
public String getDescription()
public Date getObservationTimeAsDate()
PointFeature
getObservationTimeAsDate
in interface PointFeature
public Date getNominalTimeAsDate()
PointFeature
getNominalTimeAsDate
in interface PointFeature
public DateUnit getTimeUnit()
PointFeature
getTimeUnit
in interface PointFeature
public int compareTo(PointFeature other)
compareTo
in interface Comparable<PointFeature>
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |