public abstract class PointFeatureImpl extends java.lang.Object implements PointFeature, java.lang.Comparable<PointFeature>
Modifier and Type | Field and Description |
---|---|
protected DsgFeatureCollection |
dsg |
protected EarthLocation |
location |
protected double |
nomTime |
protected double |
obsTime |
protected CalendarDateUnit |
timeUnit |
Modifier | Constructor and Description |
---|---|
protected |
PointFeatureImpl(DsgFeatureCollection dsg,
CalendarDateUnit timeUnit) |
|
PointFeatureImpl(DsgFeatureCollection dsg,
EarthLocation location,
double obsTime,
double nomTime,
CalendarDateUnit timeUnit) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(PointFeature other) |
java.lang.String |
getDescription() |
DsgFeatureCollection |
getFeatureCollection()
Get the containing DsgFeatureCollection
|
EarthLocation |
getLocation()
Location of this observation
|
double |
getNominalTime()
Nominal time of this observation.
|
CalendarDate |
getNominalTimeAsCalendarDate()
Nominal time of this observation, as a CalendarDate.
|
double |
getObservationTime()
Actual time of this observation.
|
CalendarDate |
getObservationTimeAsCalendarDate()
Actual time of this observation, as a CalendarDate.
|
java.lang.String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getDataAll, getFeatureData
protected DsgFeatureCollection dsg
protected EarthLocation location
protected double obsTime
protected double nomTime
protected CalendarDateUnit timeUnit
protected PointFeatureImpl(DsgFeatureCollection dsg, CalendarDateUnit timeUnit)
public PointFeatureImpl(DsgFeatureCollection dsg, EarthLocation location, double obsTime, double nomTime, CalendarDateUnit timeUnit)
@Nonnull public DsgFeatureCollection getFeatureCollection()
PointFeature
getFeatureCollection
in interface PointFeature
@Nonnull 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 java.lang.String getDescription()
@Nonnull public CalendarDate getObservationTimeAsCalendarDate()
PointFeature
getObservationTimeAsCalendarDate
in interface PointFeature
@Nonnull public CalendarDate getNominalTimeAsCalendarDate()
PointFeature
getNominalTimeAsCalendarDate
in interface PointFeature
public int compareTo(@Nonnull PointFeature other)
compareTo
in interface java.lang.Comparable<PointFeature>
public java.lang.String toString()
toString
in class java.lang.Object