org.apache.openjpa.persistence.jest
Class Closure

java.lang.Object
  extended by org.apache.openjpa.persistence.jest.Closure
All Implemented Interfaces:
Iterable<OpenJPAStateManager>

public class Closure
extends Object
implements Iterable<OpenJPAStateManager>

Computes closure of a collection of managed objects.

Author:
Pinaki Poddar

Constructor Summary
Closure(Collection<OpenJPAStateManager> roots)
           
Closure(OpenJPAStateManager root)
           
 
Method Summary
 Iterator<OpenJPAStateManager> iterator()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Closure

public Closure(OpenJPAStateManager root)

Closure

public Closure(Collection<OpenJPAStateManager> roots)
Method Detail

iterator

public Iterator<OpenJPAStateManager> iterator()
Specified by:
iterator in interface Iterable<OpenJPAStateManager>


Copyright © 2006–2013 Apache Software Foundation. All rights reserved.