pl.edu.agh.cast.model.mapper.internal
Class DBLoader
java.lang.Object
pl.edu.agh.cast.model.mapper.internal.AbstractLoader
pl.edu.agh.cast.model.mapper.internal.DBLoader
- All Implemented Interfaces:
- Loader
public class DBLoader
- extends AbstractLoader
The loader which uses relational data base to store objects.
- Author:
- AGH CAST Team
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DBLoader
public DBLoader(Map<Node,Mappable> objectCache,
Class<Mappable> klass,
Map<String,Class> typeMap2,
SortedMap<String,Object> conditions)
- The parameterized constructor.
- Parameters:
objectCache
- The object cache used for referential integrity.klass
- The class of the object to loadtypeMap2
- The type mapconditions
- The conditions the object must satisfy to be loaded.
find
public List<Mappable> find()
- Load mapped objects from the data source.
- Returns:
- list of objects
- See Also:
Loader.find()
Copyright © 2007-2009 IISG AGH-UST Krakow, Poland. All Rights Reserved.