|
SolarMetric Kodo JDO 3.3.5 generated on August 31 2005 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--kodo.jdbc.meta.MappingInfoRepository
Simple repository for ClassMappingInfo
s. Does not parse
mappings that are not already cached.
Constructor Summary | |
MappingInfoRepository(JDBCConfiguration conf)
Constructor. |
Method Summary | |
void |
addMappingInfo(ClassMapping mapping)
Add the given class mapping's info to the set of mappings. |
void |
addMappingInfo(ClassMappingInfo mapping)
Add the given mapping to the set of mapping infos stored. |
void |
addMappingInfos(MappingInfoRepository repos)
Add all the mappings in the given repository to the set of mappings stored. |
void |
addMappingInfos(MappingRepository repos)
Add all the mappings in the given repository to the set of mappings stored. |
void |
clear()
Clear the set of mappings stored. |
protected JDBCConfiguration |
getConfiguration()
|
ClassMappingInfo |
getMappingInfo(Class cls,
boolean mustExist)
Return the mapping info for the given class. |
ClassMappingInfo[] |
getMappingInfos()
Return the set of mapping infos stored. |
boolean |
removeMappingInfo(Class cls)
Remove the given mapping from the set stored. |
boolean |
removeMappingInfo(ClassMapping mapping)
Remove the given mappings's info from the set stored. |
boolean |
removeMappingInfo(ClassMappingInfo mapping)
Remove the given mapping from the set stored. |
boolean |
removeMappingInfo(String className)
Remove the given mappings's info from the set stored. |
boolean |
removeMappingInfos(MappingInfoRepository repos)
Remove all mappings in the given repository from the set stored. |
boolean |
removeMappingInfos(MappingRepository repos)
Remove all mappings in the given repository from the set stored. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MappingInfoRepository(JDBCConfiguration conf)
Method Detail |
protected JDBCConfiguration getConfiguration()
public ClassMappingInfo getMappingInfo(Class cls, boolean mustExist)
mustExist
- if true, throws a
MappingInfoNotFoundException
if no mapping info is foundpublic ClassMappingInfo[] getMappingInfos()
public void addMappingInfo(ClassMappingInfo mapping)
public void addMappingInfo(ClassMapping mapping)
public void addMappingInfos(MappingInfoRepository repos)
public void addMappingInfos(MappingRepository repos)
public boolean removeMappingInfo(ClassMappingInfo mapping)
public boolean removeMappingInfo(Class cls)
public boolean removeMappingInfo(ClassMapping mapping)
public boolean removeMappingInfo(String className)
public boolean removeMappingInfos(MappingInfoRepository repos)
public boolean removeMappingInfos(MappingRepository repos)
public void clear()
|
SolarMetric Kodo JDO 3.3.5 generated on August 31 2005 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |