|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.util.AbstractMap | +--java.util.HashMap | +--org.silvermoon.moonglow.common.Item
Represents a single item in a response to a query. Each item defines some basic required fields, e.g. id, title, link, and description. Additional properties can be added which are specific to the data source.
Nested Class Summary |
Nested classes inherited from class java.util.Map |
java.util.Map.Entry |
Constructor Summary | |
Item()
|
|
Item(java.lang.String id,
java.lang.String title,
java.lang.String link,
java.lang.String description)
|
Method Summary | |
java.lang.String |
getDescription()
Get a description of this Item |
java.lang.String |
getId()
Get a unique identifier for this Item within the scope of its Plugin |
java.lang.String |
getLink()
Get a URL associated with this item |
java.lang.String |
getTitle()
Get the title of this item |
void |
setDescription(java.lang.String description)
Set the description |
void |
setId(java.lang.String id)
Set the id |
void |
setLink(java.lang.String link)
Set the link (URL) |
void |
setTitle(java.lang.String title)
Set the title |
java.lang.String |
toString()
Get a basic String representation for debugging |
Methods inherited from class java.util.HashMap |
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values |
Methods inherited from class java.util.AbstractMap |
equals, hashCode |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.Map |
equals, hashCode |
Constructor Detail |
public Item()
public Item(java.lang.String id, java.lang.String title, java.lang.String link, java.lang.String description)
Method Detail |
public java.lang.String getDescription()
public java.lang.String getId()
public java.lang.String getLink()
public java.lang.String getTitle()
public java.lang.String toString()
toString
in class java.util.AbstractMap
public void setDescription(java.lang.String description)
public void setId(java.lang.String id)
public void setLink(java.lang.String link)
public void setTitle(java.lang.String title)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |