java.lang.Object
org.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.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logObj
private static org.apache.log4j.Logger logObj
context
protected org.objectstyle.cayenne.access.DataContext context
RelationshipDataSource
public RelationshipDataSource(org.objectstyle.cayenne.access.DataContext context)
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