|
Oracle Fusion Middleware Java API Reference for Oracle TopLink 11g Release 1 (11.1.1) B32476-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.toplink.exceptions.IntegrityChecker
public class IntegrityChecker
Purpose: IntegrityChecker is used for catching all the descriptor exceptions, and checking database tables. It gives the user options if he/she wants to catch descriptor exceptions, check database, and check InstantiationPolicy or not.
Constructor Summary | |
---|---|
IntegrityChecker()
IntegrityChecker is used for catching all the Descriptor Exceptions, and check database tables. |
Method Summary | |
---|---|
void |
catchExceptions()
This method is used for catching all the Descriptor Exceptions |
void |
checkDatabase()
This method is used to check the database tables. |
void |
checkInstantiationPolicy()
This method is used to check the InstantiationPolicy. |
void |
dontCatchExceptions()
This method is used for don't catching all the Descriptor Exceptions |
void |
dontCheckDatabase()
This method is used for don't checking the database tables and fields. |
void |
dontCheckInstantiationPolicy()
This method is used for don't checking the InstantiationPolicy. |
java.util.Vector |
getCaughtExceptions()
This method returns the vecotr which adds all the Descriptors Exceptions. |
void |
setShouldCatchExceptions(boolean answer)
This method assigns the value to the variable (shouldCatchExceptions) that we should catch all Descriptor Exceptions or not. |
void |
setShouldCheckDatabase(boolean answer)
This method assigns the value to the variable (shouldCheckDatabase) that we should check database or not. |
void |
setShouldCheckInstantiationPolicy(boolean answer)
This method assigns the value to the variable (shouldCheckInstantiationPolicy) that we should check InstantiationPolicy or not. |
boolean |
shouldCatchExceptions()
This method is used to know that all the Descriptor Exceptions should be thrown or not. |
boolean |
shouldCheckDatabase()
This method is used to know that database tables and fields should be checked or not. |
boolean |
shouldCheckInstantiationPolicy()
This method tells us that we should check InstantiationPolicy or not. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IntegrityChecker()
Method Detail |
---|
public void catchExceptions()
public void checkDatabase()
public void checkInstantiationPolicy()
public void dontCatchExceptions()
public void dontCheckDatabase()
public void dontCheckInstantiationPolicy()
public java.util.Vector getCaughtExceptions()
public void setShouldCatchExceptions(boolean answer)
public void setShouldCheckDatabase(boolean answer)
public void setShouldCheckInstantiationPolicy(boolean answer)
public boolean shouldCatchExceptions()
public boolean shouldCheckDatabase()
public boolean shouldCheckInstantiationPolicy()
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |