| RelationsCache class is used for caching value of relation column if the tableMode
is Cache in tag of impordDefinition job
author: not Radoslav Dutina version: 1.0
RelationsCache | public RelationsCache()(Code) | | Empty constructor of RelationsCache class
|
getRelationsCachType | public String getRelationsCachType(String key)(Code) | | This method read value from relationCacheType hashtable
Parameters: key - is string which reperesents sql statement value from hashtable |
getRelationsCacheValue | public Object getRelationsCacheValue(String key)(Code) | | This method read value from relationCacheValue hashtable
Parameters: key - is string which reperesents sql statement value from hashtable |
resetRelationsCache | public void resetRelationsCache()(Code) | | This method empty all values of hashtables:
relationCacheValue and relationCacheType
|
setRelationsCacheType | public void setRelationsCacheType(String key, String type)(Code) | | This method sets the value of relationCacheType hashtable
Parameters: key - is string which reperesents sql statement Parameters: type - is value of this sql statement |
setRelationsCacheValue | public void setRelationsCacheValue(String key, Object obj)(Code) | | This method sets the value of relationCacheValue hashtable
Parameters: key - is string which reperesents sql statement Parameters: obj - is value of this sql statement |
|