Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.objectstyle.cayenne.access.util
Class RelationshipDataSource  view RelationshipDataSource download RelationshipDataSource.java

java.lang.Object
  extended byorg.objectstyle.cayenne.access.util.RelationshipDataSource
All Implemented Interfaces:
java.io.Serializable, org.objectstyle.cayenne.access.ToManyListDataSource

public class RelationshipDataSource
extends java.lang.Object
implements org.objectstyle.cayenne.access.ToManyListDataSource, java.io.Serializable

Default implementation of ToManyListDataSource used to populate to-many relationships.


Field Summary
protected  org.objectstyle.cayenne.access.DataContext context
           
private static org.apache.log4j.Logger logObj
           
 
Constructor Summary
RelationshipDataSource(org.objectstyle.cayenne.access.DataContext context)
           
 
Method Summary
 void updateListData(org.objectstyle.cayenne.access.ToManyList list)
          Will fetch to-many relationship destination objects and update ToManyList with the objects fetched.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logObj

private static org.apache.log4j.Logger logObj

context

protected org.objectstyle.cayenne.access.DataContext context
Constructor Detail

RelationshipDataSource

public RelationshipDataSource(org.objectstyle.cayenne.access.DataContext context)
Method Detail

updateListData

public void updateListData(org.objectstyle.cayenne.access.ToManyList list)
Will fetch to-many relationship destination objects and update ToManyList with the objects fetched.

Specified by:
updateListData in interface org.objectstyle.cayenne.access.ToManyListDataSource