|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
A container for a set of results returned from the resource tier. The list may contain a Map for each record in a set, or a collection of beans. A setter for the list is not provided, so that different implementations can specify the type it expects.
| Method Summary | |
boolean |
add(java.lang.Object o)
Appends the specified element to the end of this list (optional operation). |
boolean |
addAll(java.util.Collection c)
Appends all of the elements in the specified Collection to the end of this list, in the order that they are returned by the specified Collection's Iterator. |
void |
clear()
Removes all of the elements from this list.. |
boolean |
contains(java.lang.Object element)
Returns true if this collection contains the specified element. |
boolean |
containsAll(java.util.Collection c)
Returns true if this collection contains all of the elements in the specified collection. |
java.lang.Object |
get(int index)
Returns the element at the specified position in this list. |
java.lang.Integer |
getCode()
Return the code. |
int |
getCounter()
Convenience method for maintaining a counter that can be shared among multiple components in some presentation systems (e.g, Tiles). |
java.util.Map |
getDisplayName()
Return the displayName map (a HashMap). |
java.lang.Object |
getElement(int index)
Convenience accessor for get(). |
java.util.Iterator |
getIterator()
Convenience accessor for iterator(). |
java.lang.String |
getLegend()
Return the legend. |
java.util.List |
getResult()
Return the result list |
Scroller |
getScroller()
Return our scroller. |
int |
getSize()
Convenience accessor for size(). |
boolean |
isEmpty()
Returns true if this collection contains no elements. |
java.util.Iterator |
iterator()
Return an iterator for the List. |
boolean |
populate(java.lang.Object o,
int index)
Populate matching properties on given object, using bean at given index. |
boolean |
remove(java.lang.Object o)
Removes a single instance of the specified element from this collection, if it is present (optional operation). |
boolean |
removeAll(java.util.Collection c)
Removes all this collection's elements that are also contained in the specified collection. |
boolean |
retainAll(java.util.Collection c)
Retains only the elements in this collection that are contained in the specified collection. |
void |
setCode(java.lang.Integer code)
Set the code. |
void |
setCounter(int counter)
Set a new counter value. |
void |
setDisplayName(java.util.Map displayName)
Assign a new displayName list. |
void |
setLegend(java.lang.String legend)
Set the legend. |
void |
setLegend(java.lang.String name,
java.lang.String value)
Set the legend. |
void |
setResult(java.util.List result)
Set our result |
void |
setScroller(Scroller scroller)
Set our scroller. |
int |
size()
Return the number of elements on the List. |
java.lang.Object[] |
toArray()
Returns an array containing all of the elements in this collection. |
java.lang.Object[] |
toArray(java.lang.Object[] a)
Returns an array containing all of the elements in this collection; the runtime type of the returned array is that of the specified array. |
| Methods inherited from interface java.util.Collection |
equals, hashCode |
| Method Detail |
public java.util.List getResult()
public void setResult(java.util.List result)
result - The new resultpublic Scroller getScroller()
public void setScroller(Scroller scroller)
scroller - The new scrollerpublic int getCounter()
public void setCounter(int counter)
public java.lang.Integer getCode()
public void setCode(java.lang.Integer code)
code - The new codepublic java.lang.String getLegend()
public void setLegend(java.lang.String legend)
legend - The new legend
public void setLegend(java.lang.String name,
java.lang.String value)
public java.util.Map getDisplayName()
public void setDisplayName(java.util.Map displayName)
public java.lang.Object[] toArray()
toArray in interface java.util.Collectionpublic java.lang.Object[] toArray(java.lang.Object[] a)
toArray in interface java.util.Collectionpublic boolean isEmpty()
isEmpty in interface java.util.Collectionpublic int size()
size in interface java.util.Collectionpublic boolean contains(java.lang.Object element)
contains in interface java.util.Collectionpublic boolean add(java.lang.Object o)
add in interface java.util.Collectionpublic java.util.Iterator iterator()
iterator in interface java.util.Collectionpublic java.lang.Object get(int index)
public boolean addAll(java.util.Collection c)
addAll in interface java.util.Collectionpublic void clear()
clear in interface java.util.Collectionpublic boolean containsAll(java.util.Collection c)
containsAll in interface java.util.Collectionpublic boolean remove(java.lang.Object o)
remove in interface java.util.Collectionpublic boolean removeAll(java.util.Collection c)
removeAll in interface java.util.Collectionpublic boolean retainAll(java.util.Collection c)
retainAll in interface java.util.Collectionpublic java.lang.Object getElement(int index)
get().
public java.util.Iterator getIterator()
iterator().
public int getSize()
size().
public boolean populate(java.lang.Object o,
int index)
throws java.lang.Exception
PropertyUtils.describe.
Throws - StateException on any error.
java.lang.Exception
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||