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

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

public class StormInfo
extends Object
implements Comparable

Created by IntelliJ IDEA. User: yuanho Date: Apr 9, 2008 Time: 4:57:21 PM To change this template use File | Settings | File Templates.


Field Summary
private  String basin
          _more_
private  String name
          _more_
private  String number
          _more_
private  DateTime startTime
          _more_
private  String stormID
          _more_
 
Constructor Summary
StormInfo()
          _more_
StormInfo(String id, DateTime sTime)
          _more_
StormInfo(String id, String name, DateTime sTime)
          _more_
StormInfo(String id, String name, String basin, String number, DateTime sTime)
          _more_
 
Method Summary
 int compareTo(Object o)
          Compare this object to another.
 boolean equals(Object o)
          _more_
 String getBasin()
          Get the Basin property.
 String getName()
          Get the Name property.
 String getNumber()
          Get the Number property.
 DateTime getStartTime()
          _more_
 String getStormId()
          _more_
 int hashCode()
          _more_
 void setBasin(String value)
          Set the Basin property.
 void setName(String value)
          Set the Name property.
 void setNumber(String value)
          Set the Number property.
 void setStartTime(DateTime dt)
          _more_
 void setStormId(String id)
          _more_
 String toString()
          _more_
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

stormID

private String stormID
_more_


name

private String name
_more_


basin

private String basin
_more_


number

private String number
_more_


startTime

private DateTime startTime
_more_

Constructor Detail

StormInfo

public StormInfo()
_more_


StormInfo

public StormInfo(String id,
                 DateTime sTime)
_more_

Parameters:
id - _more_
sTime - _more_

StormInfo

public StormInfo(String id,
                 String name,
                 DateTime sTime)
_more_

Parameters:
id - _more_
name - _more_
sTime - _more_

StormInfo

public StormInfo(String id,
                 String name,
                 String basin,
                 String number,
                 DateTime sTime)
_more_

Parameters:
id - _more_
name - _more_
basin - _more_
number - _more_
sTime - _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.

setStormId

public void setStormId(String id)
_more_

Parameters:
id - _more_

getStormId

public String getStormId()
_more_

Returns:
_more_

setStartTime

public void setStartTime(DateTime dt)
_more_

Parameters:
dt - _more_

getStartTime

public DateTime getStartTime()
_more_

Returns:
_more_

toString

public String toString()
_more_

Overrides:
toString in class Object
Returns:
_more_

hashCode

public int hashCode()
_more_

Overrides:
hashCode in class Object
Returns:
_more_

equals

public boolean equals(Object o)
_more_

Overrides:
equals in class Object
Parameters:
o - _more_
Returns:
_more_

setName

public void setName(String value)
Set the Name property.

Parameters:
value - The new value for Name

getName

public String getName()
Get the Name property.

Returns:
The Name

setBasin

public void setBasin(String value)
Set the Basin property.

Parameters:
value - The new value for Basin

getBasin

public String getBasin()
Get the Basin property.

Returns:
The Basin

setNumber

public void setNumber(String value)
Set the Number property.

Parameters:
value - The new value for Number

getNumber

public String getNumber()
Get the Number property.

Returns:
The Number