|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ResultItem
| Method Summary | |
|---|---|
ResultItem |
addField(String name,
String value)
Adds the field to the returned instance which is otherwise equal to this. |
ResultItem |
addObjectField(String field,
Serializable value)
Adds the field to the returned instance which is otherwise equal to this. |
ResultItem |
addToMultivaluedField(String field,
String value)
Adds (to the multivalued) field to the returned instance which is otherwise equal to this. |
String |
getField(String field)
|
Collection<String> |
getFieldNames()
An unmodifiable list of the field names. |
Collection<String> |
getMultivaluedField(String field)
An unmodifiable copy of the multivalued field collection. |
Serializable |
getObjectField(String field)
|
String |
getTitle()
The title this result item represents. |
String |
getUrl()
The URL this result item represents. |
ResultItem |
setTitle(String title)
Sets the title to the returned instance which is otherwise equal to this. |
ResultItem |
setUrl(String url)
Sets the URL to the returned instance which is otherwise equal to this. |
| Method Detail |
|---|
String getUrl()
ResultItem setUrl(String url)
url -
String getTitle()
ResultItem setTitle(String title)
title -
String getField(String field)
field -
ResultItem addField(String name,
String value)
name - value - html formatted string. html to display must be escaped.
Serializable getObjectField(String field)
field -
ResultItem addObjectField(String field,
Serializable value)
field - value -
Collection<String> getMultivaluedField(String field)
field -
ResultItem addToMultivaluedField(String field,
String value)
field - value -
Collection<String> getFieldNames()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||