|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.oopitis.weather.owm.OwmSummary.Item
public static class OwmSummary.Item
A summary item.
| Field Summary | |
|---|---|
protected java.lang.String |
desc
The short description from the constructor. |
protected java.lang.String |
iconUrl
The icon URL. |
protected java.lang.String |
id
The weather condition code from the constructor. |
| Constructor Summary | |
|---|---|
OwmSummary.Item(java.lang.String id,
java.lang.String desc,
java.lang.String icon)
Constructs a summary item. |
|
| Method Summary | |
|---|---|
java.lang.String |
getDescription()
Returns the short description. |
java.lang.String |
getIconUrl()
Returns the icon URL. |
java.lang.String |
getId()
Returns the weather condition code. |
java.lang.String |
toString()
Returns the short description or "null" if the short description is not available. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected final java.lang.String id
protected final java.lang.String desc
protected final java.lang.String iconUrl
| Constructor Detail |
|---|
public OwmSummary.Item(java.lang.String id,
java.lang.String desc,
java.lang.String icon)
id - the weather condition codedesc - the short descriptionicon - the icon filename without extension
java.lang.NullPointerException - if the weather condition code is null| Method Detail |
|---|
public final java.lang.String getId()
public final java.lang.String getDescription()
null if unavailablepublic final java.lang.String getIconUrl()
null if unavailablepublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||