|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.objectweb.jorm.mapper.fos.lib.FosPMapCluster
Defines the PMapCluster used to manage the directory tree for the FOS mappers.
Method Summary | |
void |
createMappingStructures(boolean force)
Creates the mapping structures defined by this map cluster. |
void |
deleteData()
Deletes the data that have been inserted into the mapping structures defined by this map cluster. |
void |
deleteMappingStructures()
Deletes all or part of the mapping structures defined by this map cluster when they exist. |
java.util.Collection |
getClusterClasses()
Retrieves an Iterator over the collection of all JORM classes whose mapping structures have to be controlled altogether. |
java.util.Collection |
getUnResolvedDependencies()
|
boolean |
isDefined()
Indicates if the mapping cluster is fully defined. |
void |
start()
Starts this map cluster. |
void |
stop()
Stops this map cluster. |
void |
updateMappingStructures()
Aligns existing mapping structures to the ones define by this map cluster. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public java.util.Collection getClusterClasses()
getClusterClasses
in interface PMapCluster
public void createMappingStructures(boolean force) throws PException
createMappingStructures
in interface PMapCluster
force
- If true, the creation of an existing table leads to an exception.
PException
- Thrown if it cannot be performed (especially
if all or some of these mapping structures already exist.public boolean isDefined()
PMapCluster
isDefined
in interface PMapCluster
public java.util.Collection getUnResolvedDependencies()
getUnResolvedDependencies
in interface PMapCluster
public void deleteData() throws PException
deleteData
in interface PMapCluster
PException
- Thrown when the data store cannot perform this
operation.public void deleteMappingStructures() throws PException
deleteMappingStructures
in interface PMapCluster
PException
- Thrown when the data store cannot perform this
operation.public void start() throws PException
start
in interface PMapCluster
PException
public void stop() throws PException
stop
in interface PMapCluster
PException
public void updateMappingStructures() throws PException, java.lang.UnsupportedOperationException
updateMappingStructures
in interface PMapCluster
PException
- Thrown when the data store cannot perform this
operation.
java.lang.UnsupportedOperationException
- Thrown if this operation is not
supported by the mapping.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |