Oracle Application Server TopLink API Reference
10g Release 2 (10.1.2)

B15903-01


oracle.toplink.exceptions
Class IntegrityChecker

java.lang.Object
  extended byoracle.toplink.exceptions.IntegrityChecker

All Implemented Interfaces:
java.io.Serializable

public class IntegrityChecker
extends java.lang.Object
implements java.io.Serializable

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.

See Also:
Serialized Form

Constructor Summary
IntegrityChecker()
PUBLIC: IntegrityChecker is used for catching all the Descriptor Exceptions, and check database tables.

Method Summary
void catchExceptions()
PUBLIC: This method is used for catching all the Descriptor Exceptions
void checkDatabase()
PUBLIC: This method is used to check the database tables.
void checkInstantiationPolicy()
PUBLIC: This method is used to check the InstantiationPolicy.
void dontCatchExceptions()
PUBLIC: This method is used for don't catching all the Descriptor Exceptions
void dontCheckDatabase()
PUBLIC: This method is used for don't checking the database tables and fields.
void dontCheckInstantiationPolicy()
PUBLIC: This method is used for don't checking the InstantiationPolicy.
boolean shouldCatchExceptions()
PUBLIC: This method is used to know that all the Descriptor Exceptions should be thrown or not.
boolean shouldCheckDatabase()
PUBLIC: This method is used to know that database tables and fields should be checked or not.
boolean shouldCheckInstantiationPolicy()
PUBLIC: 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

IntegrityChecker

public IntegrityChecker()
PUBLIC: IntegrityChecker is used for catching all the Descriptor Exceptions, and check database tables. IntegrityChecker gives the option to the user that does he wants to catch all the descriptor exceptions,check database, and check InstantiationPolicy or not.

Method Detail

catchExceptions

public void catchExceptions()
PUBLIC: This method is used for catching all the Descriptor Exceptions

checkDatabase

public void checkDatabase()
PUBLIC: This method is used to check the database tables.

checkInstantiationPolicy

public void checkInstantiationPolicy()
PUBLIC: This method is used to check the InstantiationPolicy.

dontCatchExceptions

public void dontCatchExceptions()
PUBLIC: This method is used for don't catching all the Descriptor Exceptions

dontCheckDatabase

public void dontCheckDatabase()
PUBLIC: This method is used for don't checking the database tables and fields.

dontCheckInstantiationPolicy

public void dontCheckInstantiationPolicy()
PUBLIC: This method is used for don't checking the InstantiationPolicy.

shouldCatchExceptions

public boolean shouldCatchExceptions()
PUBLIC: This method is used to know that all the Descriptor Exceptions should be thrown or not.

shouldCheckDatabase

public boolean shouldCheckDatabase()
PUBLIC: This method is used to know that database tables and fields should be checked or not.

shouldCheckInstantiationPolicy

public boolean shouldCheckInstantiationPolicy()
PUBLIC: This method tells us that we should check InstantiationPolicy or not.

Copyright © 1998, 2005 Oracle Corporation. All Rights Reserved.