|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectpl.edu.agh.cast.model.mapper.internal.AbstractLoader
public abstract class AbstractLoader
Partial implementation of the Loader interface.
| Field Summary | |
|---|---|
protected SortedMap<String,Object> |
conditions
The conditions of the query. |
protected Class<Mappable> |
klass
The class of the objects to be loaded. |
protected static org.apache.log4j.Logger |
log
The logger. |
protected Map<Node,Mappable> |
objectCache
The object cache. |
protected Map<String,Class> |
typeMap
The type map contains mappings between DB type names and java classes, which are used to build objects corresponding to nodes. |
| Constructor Summary | |
|---|---|
AbstractLoader(Map<Node,Mappable> newObjectCache,
Class klass2,
Map<String,Class> typeMap2,
SortedMap<String,Object> conditions2)
Creates new loader. |
|
| Method Summary |
|---|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface pl.edu.agh.cast.model.mapper.Loader |
|---|
find |
| Field Detail |
|---|
protected Map<Node,Mappable> objectCache
protected Map<String,Class> typeMap
protected SortedMap<String,Object> conditions
protected Class<Mappable> klass
protected static org.apache.log4j.Logger log
| Constructor Detail |
|---|
public AbstractLoader(Map<Node,Mappable> newObjectCache,
Class klass2,
Map<String,Class> typeMap2,
SortedMap<String,Object> conditions2)
newObjectCache - The object cache to use.klass2 - The class of the loaded objects.typeMap2 - The type map to be used.conditions2 - The conditions of the query.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||