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
(package private)  String ior(OpenJPAStateManager sm)
           
 Iterator<OpenJPAStateManager> iterator()
           
(package private)  OpenJPAStateManager toStateManager(Object o)
           
 
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

toStateManager

OpenJPAStateManager toStateManager(Object o)

iterator

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

ior

String ior(OpenJPAStateManager sm)


Copyright © 2006-2012 Apache Software Foundation. All Rights Reserved.