info.magnolia.cms.gui.controlx.list
Interface ListModelIterator

All Superinterfaces:
Iterator
All Known Implementing Classes:
ListModelIteratorImpl

public interface ListModelIterator
extends Iterator

Author:
Sameer Charles $Id:ListModelIterator.java 2544 2006-04-04 12:47:32Z philipp $

Method Summary
 String getGroupName()
          get group name
 String getId()
          An id to identify the current row
 Object getValue(String name)
          get named value
 Object getValueObject()
          The current object representing a row.
 boolean hasNextInGroup()
          checks if there are more records in the current group
 Object nextGroup()
          jump to next group
 
Methods inherited from interface java.util.Iterator
hasNext, next, remove
 

Method Detail

getValue

Object getValue(String name)
get named value

Parameters:
name - its a key to which value is attached in this record

getValueObject

Object getValueObject()
The current object representing a row. Can be of any type.

Returns:
the object.

getGroupName

String getGroupName()
get group name

Returns:
name of the group of the current record

nextGroup

Object nextGroup()
jump to next group


hasNextInGroup

boolean hasNextInGroup()
checks if there are more records in the current group

Returns:
true if not EOF

getId

String getId()
An id to identify the current row



Copyright © 2003-2011 Magnolia International Ltd.. All Rights Reserved.