public class StormInfo extends java.lang.Object implements java.lang.Comparable
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
basin
_more_
|
private java.lang.String |
name
_more_
|
private java.lang.String |
number
_more_
|
private DateTime |
startTime
_more_
|
private java.lang.String |
stormID
_more_
|
Constructor and Description |
---|
StormInfo()
_more_
|
StormInfo(java.lang.String id,
DateTime sTime)
_more_
|
StormInfo(java.lang.String id,
java.lang.String name,
DateTime sTime)
_more_
|
StormInfo(java.lang.String id,
java.lang.String name,
java.lang.String basin,
java.lang.String number,
DateTime sTime)
_more_
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(java.lang.Object o)
Compare this object to another.
|
boolean |
equals(java.lang.Object o)
_more_
|
java.lang.String |
getBasin()
Get the Basin property.
|
java.lang.String |
getName()
Get the Name property.
|
java.lang.String |
getNumber()
Get the Number property.
|
DateTime |
getStartTime()
_more_
|
java.lang.String |
getStormId()
_more_
|
int |
hashCode()
_more_
|
void |
setBasin(java.lang.String value)
Set the Basin property.
|
void |
setName(java.lang.String value)
Set the Name property.
|
void |
setNumber(java.lang.String value)
Set the Number property.
|
void |
setStartTime(DateTime dt)
_more_
|
void |
setStormId(java.lang.String id)
_more_
|
java.lang.String |
toString()
_more_
|
private java.lang.String stormID
private java.lang.String name
private java.lang.String basin
private java.lang.String number
public StormInfo()
public StormInfo(java.lang.String id, DateTime sTime)
id
- _more_sTime
- _more_public StormInfo(java.lang.String id, java.lang.String name, DateTime sTime)
id
- _more_name
- _more_sTime
- _more_public int compareTo(java.lang.Object o)
compareTo
in interface java.lang.Comparable
o
- object in question.public void setStormId(java.lang.String id)
id
- _more_public java.lang.String getStormId()
public void setStartTime(DateTime dt)
dt
- _more_public DateTime getStartTime()
public java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
o
- _more_public void setName(java.lang.String value)
value
- The new value for Namepublic java.lang.String getName()
public void setBasin(java.lang.String value)
value
- The new value for Basinpublic java.lang.String getBasin()
public void setNumber(java.lang.String value)
value
- The new value for Numberpublic java.lang.String getNumber()