edu.wisc.ssec.mcidasv.data.cyclone
Class StormTrackPoint

java.lang.Object
  extended by edu.wisc.ssec.mcidasv.data.cyclone.StormTrackPoint
All Implemented Interfaces:
Comparable

public class StormTrackPoint
extends Object
implements Comparable

Created by IntelliJ IDEA. User: yuanho Date: Apr 18, 2008 Time: 1:45:38 PM To change this template use File | Settings | File Templates.


Field Summary
private  List<Real> attributes
          _more_
private  boolean edited
          _more_
private  int forecastHour
          _more_
private  int id
          _more_
private  EarthLocation location
          _more_
private  DateTime time
          _more_
 
Constructor Summary
StormTrackPoint(EarthLocation pointLocation, DateTime time, int forecastHour, List<Real> attrs)
          _more_
StormTrackPoint(StormTrackPoint that)
          copy ctor
 
Method Summary
 void addAttribute(Real attr)
          _more_
 int compareTo(Object o)
          Compare this object to another.
 Real getAttribute(StormParam param)
          _more_
 boolean getEdited()
          Get the Edited property.
 int getForecastHour()
          Get the ForecastHour property.
 int getId()
          Get the Id property.
 EarthLocation getLocation()
          _more_
 DateTime getTime()
          _more_
 List<Real> getTrackAttributes()
          _more_
 void setAttribute(Real real)
          _more_
 void setEdited(boolean value)
          Set the Edited property.
 void setForecastHour(int value)
          Set the ForecastHour property.
 void setId(int value)
          Set the Id property.
 void setLocation(EarthLocation point)
          _more_
 void setTime(DateTime time)
          _more_
 String toString()
          _more_
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

id

private int id
_more_


edited

private boolean edited
_more_


location

private EarthLocation location
_more_


time

private DateTime time
_more_


attributes

private List<Real> attributes
_more_


forecastHour

private int forecastHour
_more_

Constructor Detail

StormTrackPoint

public StormTrackPoint(StormTrackPoint that)
copy ctor

Parameters:
that - The track point to copy

StormTrackPoint

public StormTrackPoint(EarthLocation pointLocation,
                       DateTime time,
                       int forecastHour,
                       List<Real> attrs)
_more_

Parameters:
pointLocation - _more_
time - _more_
forecastHour - _more_
attrs - _more_
Method Detail

compareTo

public int compareTo(Object o)
Compare this object to another.

Specified by:
compareTo in interface Comparable
Parameters:
o - object in question.
Returns:
spec from Comparable interface.

setForecastHour

public void setForecastHour(int value)
Set the ForecastHour property.

Parameters:
value - The new value for ForecastHour

getForecastHour

public int getForecastHour()
Get the ForecastHour property.

Returns:
The ForecastHour

setTime

public void setTime(DateTime time)
_more_

Parameters:
time - _more_

getTime

public DateTime getTime()
_more_

Returns:
_more_

setLocation

public void setLocation(EarthLocation point)
_more_

Parameters:
point - _more_

getLocation

public EarthLocation getLocation()
_more_

Returns:
_more_

getTrackAttributes

public List<Real> getTrackAttributes()
_more_

Returns:
_more_

toString

public String toString()
_more_

Overrides:
toString in class Object
Returns:
_more_

getAttribute

public Real getAttribute(StormParam param)
_more_

Parameters:
param - _more_
Returns:
_more_

setAttribute

public void setAttribute(Real real)
_more_

Parameters:
real - _more_

addAttribute

public void addAttribute(Real attr)
_more_

Parameters:
attr - _more_

setId

public void setId(int value)
Set the Id property.

Parameters:
value - The new value for Id

getId

public int getId()
Get the Id property.

Returns:
The Id

setEdited

public void setEdited(boolean value)
Set the Edited property.

Parameters:
value - The new value for Edited

getEdited

public boolean getEdited()
Get the Edited property.

Returns:
The Edited