|
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.MetaDataMappingFactory
Factory that places mapping information in JDO metadata extensions.
| Constructor Summary | |
MetaDataMappingFactory()
|
|
| Method Summary | |
void |
addExtensionKeys(Collection exts,
Mapping mapping)
Add any metadata extension keys that this MappingFactory uses to store mapping information. |
boolean |
dropMappings(ClassMetaData[] types)
Delete the given mappings. |
void |
endConfiguration()
Invoked upon completion of bean property configuration for this object. |
boolean |
isSingleOperation()
Return true if this factory reads and writes all system mappings at once. |
void |
readMapping(ClassMetaData meta,
MappingInfoRepository repos)
Read the object-relational mapping for the given persistent type and add it to the given repository. |
boolean |
revertMappings(ClassMetaData[] types)
Revert the mappings to their last saved state, or return false if any cannot be reverted. |
void |
setConfiguration(Configuration conf)
Invoked prior to setting bean properties. |
void |
startConfiguration()
Invoked before bean property configuration is begun on this object. |
void |
storeMappings(MappingInfoRepository mappings,
JDOMetaDataRepository repos)
Store any changes made to the given mappings, including their field mappings. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public MetaDataMappingFactory()
| Method Detail |
public void setConfiguration(Configuration conf)
ConfigurablesetConfiguration in interface Configurablepublic void startConfiguration()
ConfigurablestartConfiguration in interface Configurablepublic void endConfiguration()
ConfigurableendConfiguration in interface Configurablepublic boolean isSingleOperation()
MappingFactoryMappingFactory.readMapping(kodo.meta.ClassMetaData, kodo.jdbc.meta.MappingInfoRepository) and MappingFactory.revertMappings(kodo.meta.ClassMetaData[]) calls that pass
in a null meta data argument.isSingleOperation in interface MappingFactory
public void readMapping(ClassMetaData meta,
MappingInfoRepository repos)
MappingFactoryreadMapping in interface MappingFactorykodo.jdbc.meta.MappingFactorytype - the type to read mapping information forrepos - add the mapping information to this repository
public void storeMappings(MappingInfoRepository mappings,
JDOMetaDataRepository repos)
MappingFactorystoreMappings in interface MappingFactorykodo.jdbc.meta.MappingFactorymappings - the changed mappingsrepos - can be used to access class metadata if neededpublic boolean revertMappings(ClassMetaData[] types)
MappingFactoryrevertMappings in interface MappingFactorykodo.jdbc.meta.MappingFactorytypes - the types to revertpublic boolean dropMappings(ClassMetaData[] types)
MappingFactorydropMappings in interface MappingFactorykodo.jdbc.meta.MappingFactorytypes - the types to drop
public void addExtensionKeys(Collection exts,
Mapping mapping)
MappingFactoryaddExtensionKeys in interface MappingFactorykodo.jdbc.meta.MappingFactoryexts - the collection to which to add the extension keysmapping - the mapping for which to add the keys
|
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 | ||||||||