org.chromattic.api.query
Interface ObjectQuery<O>

Type Parameters:
O - the object type parameter
All Superinterfaces:
Iterable<O>, Query

public interface ObjectQuery<O>
extends Query, Iterable<O>

An object query extends a query and returns objects. It extends the Iterable interface so it can be used easily in foreach blocks.

Version:
$Revision$
Author:
Julien Viet

Method Summary
 ObjectQueryResult<O> iterator()
          Returns the result of the object query
 

Method Detail

iterator

ObjectQueryResult<O> iterator()
Returns the result of the object query

Specified by:
iterator in interface Iterable<O>
Returns:
the object query result


Copyright © 2009 eXo Platform SAS. All Rights Reserved.