net.mlw.vlh
Interface ValueList

All Superinterfaces:
Iterator, Serializable
All Known Implementing Classes:
DefaultListBackedValueList

public interface ValueList
extends Serializable, Iterator

A ValueList contains a List of beans and a ValueListInfo object which defines the sorting and paging of the contained list.

Version:
$Revision: 1.2 $ $Date: 2004/06/25 16:42:41 $
Author:
Matthew L. Wilson

Method Summary
 List getList()
          Returns the embeded List
 ValueListInfo getValueListInfo()
          Returns the embeded ValueListInfo
 boolean hasNext()
          Returns if there more Objects in the Iterator
 Object next()
          Gets the next Object in the Iterator.
 
Methods inherited from interface java.util.Iterator
remove
 

Method Detail

getList

public List getList()
Returns the embeded List

Returns:
The embeded List

getValueListInfo

public ValueListInfo getValueListInfo()
Returns the embeded ValueListInfo

Returns:
The embeded ValueListInfo

hasNext

public boolean hasNext()
Returns if there more Objects in the Iterator

Specified by:
hasNext in interface Iterator
Returns:
true if there more Objects in the Iterator, other wise false

next

public Object next()
            throws NoSuchElementException
Gets the next Object in the Iterator.

Specified by:
next in interface Iterator
Returns:
The next Object in the Iterator.
Throws:
NoSuchElementException - If element does not exist.


Copyright © 2003-2006 mlavilson. All Rights Reserved.