|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.mywork.model.Item
public class Item
This class describes content related to a notification or a task.
| Constructor Summary | |
|---|---|
protected |
Item()
|
|
Item(java.lang.String iconUrl,
java.lang.String title,
java.lang.String url)
Creates a new item. |
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object o)
|
java.lang.String |
getIconUrl()
Returns the absolute url to an icon describing the related content. |
java.lang.String |
getTitle()
Returns the title describing the related content. |
java.lang.String |
getUrl()
Returns the absolute url to the related content. |
int |
hashCode()
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
protected Item()
public Item(java.lang.String iconUrl,
java.lang.String title,
java.lang.String url)
iconUrl - an absolute url to an icon describing the related contenttitle - a title describing the related contenturl - an absolute url to the related content| Method Detail |
|---|
public java.lang.String getIconUrl()
The icon should preferably be 16x16 px.
public java.lang.String getTitle()
public java.lang.String getUrl()
public java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||