org.apache.cayenne.lifecycle.relationship
Class ObjectIdRelationshipBatchFaultingStrategy

java.lang.Object
  extended by org.apache.cayenne.lifecycle.relationship.ObjectIdRelationshipBatchFaultingStrategy
All Implemented Interfaces:
ObjectIdRelationshipFaultingStrategy

public class ObjectIdRelationshipBatchFaultingStrategy
extends Object
implements ObjectIdRelationshipFaultingStrategy

A faulting strategy that does batch-faulting of related objects whenever a first ObjectId relationship is accessed.

Since:
3.1

Constructor Summary
ObjectIdRelationshipBatchFaultingStrategy()
           
 
Method Summary
 void afterObjectLoaded(DataObject object)
           
 void afterQuery()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObjectIdRelationshipBatchFaultingStrategy

public ObjectIdRelationshipBatchFaultingStrategy()
Method Detail

afterObjectLoaded

public void afterObjectLoaded(DataObject object)
Specified by:
afterObjectLoaded in interface ObjectIdRelationshipFaultingStrategy

afterQuery

public void afterQuery()
Specified by:
afterQuery in interface ObjectIdRelationshipFaultingStrategy


Copyright © 2001-2013 Apache Cayenne. All Rights Reserved.