|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The PMapCluster interface defines a the set of JORM classes which mapping structures have to be managed altogether. It gives access to this set of classes defined at mapping-time, and provides functions to control the associated mapping structures.
Method Summary | |
void |
addDependency(java.lang.String jcname)
Add a dependency to the cluster |
void |
classDefined(java.lang.String jcname)
|
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 the collection of all JORM classes whose mapping structures have to be controlled altogether. |
java.util.Set |
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. |
Method Detail |
public java.util.Collection getClusterClasses()
public boolean isDefined()
public java.util.Set getUnResolvedDependencies()
public void createMappingStructures(boolean force) throws PException
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 void deleteData() throws PException
PException
- Thrown when the data store cannot perform this
operation.public void deleteMappingStructures() throws PException
PException
- Thrown when the data store cannot perform this
operation.public void start() throws PException
PException
public void stop() throws PException
PException
public void updateMappingStructures() throws PException, java.lang.UnsupportedOperationException
PException
- Thrown when the data store cannot perform this
operation.
java.lang.UnsupportedOperationException
- Thrown if this operation is not
supported by the mapping.public void classDefined(java.lang.String jcname)
public void addDependency(java.lang.String jcname)
jcname
- the name of the jorm class
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |