| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
| <!-- NewPage --> |
| <html lang="en"> |
| <head> |
| <!-- Generated by javadoc (1.8.0_252) on Fri Jul 16 09:38:56 UTC 2021 --> |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <title>IntegrityChecker (EclipseLink 3.0.2, API Reference)</title> |
| <meta name="date" content="2021-07-16"> |
| <link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style"> |
| <script type="text/javascript" src="../../../../script.js"></script> |
| </head> |
| <body> |
| <script type="text/javascript"><!-- |
| try { |
| if (location.href.indexOf('is-external=true') == -1) { |
| parent.document.title="IntegrityChecker (EclipseLink 3.0.2, API Reference)"; |
| } |
| } |
| catch(err) { |
| } |
| //--> |
| var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10}; |
| var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; |
| var altColor = "altColor"; |
| var rowColor = "rowColor"; |
| var tableTab = "tableTab"; |
| var activeTableTab = "activeTableTab"; |
| </script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <div class="topNav"><a name="navbar.top"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> |
| <a name="navbar.top.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../overview-summary.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../help-doc.html">Help</a></li> |
| </ul> |
| <div class="aboutLanguage">EclipseLink 3.0.2, API Reference</div> |
| </div> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li><a href="../../../../org/eclipse/persistence/exceptions/ExceptionHandler.html" title="interface in org.eclipse.persistence.exceptions"><span class="typeNameLink">Prev Class</span></a></li> |
| <li><a href="../../../../org/eclipse/persistence/exceptions/IntegrityException.html" title="class in org.eclipse.persistence.exceptions"><span class="typeNameLink">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../index.html?org/eclipse/persistence/exceptions/IntegrityChecker.html" target="_top">Frames</a></li> |
| <li><a href="IntegrityChecker.html" target="_top">No Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_top"> |
| <li><a href="../../../../allclasses-noframe.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_top"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li><a href="#field.summary">Field</a> | </li> |
| <li><a href="#constructor.summary">Constr</a> | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li><a href="#field.detail">Field</a> | </li> |
| <li><a href="#constructor.detail">Constr</a> | </li> |
| <li><a href="#method.detail">Method</a></li> |
| </ul> |
| </div> |
| <a name="skip.navbar.top"> |
| <!-- --> |
| </a></div> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <div class="header"> |
| <div class="subTitle">org.eclipse.persistence.exceptions</div> |
| <h2 title="Class IntegrityChecker" class="title">Class IntegrityChecker</h2> |
| </div> |
| <div class="contentContainer"> |
| <ul class="inheritance"> |
| <li><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li> |
| <li> |
| <ul class="inheritance"> |
| <li>org.eclipse.persistence.exceptions.IntegrityChecker</li> |
| </ul> |
| </li> |
| </ul> |
| <div class="description"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <dl> |
| <dt>All Implemented Interfaces:</dt> |
| <dd><a href="https://docs.oracle.com/javase/8/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a></dd> |
| </dl> |
| <hr> |
| <br> |
| <pre>public class <span class="typeNameLabel">IntegrityChecker</span> |
| extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> |
| implements <a href="https://docs.oracle.com/javase/8/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a></pre> |
| <div class="block"><p><b>Purpose</b>: 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.</div> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../serialized-form.html#org.eclipse.persistence.exceptions.IntegrityChecker">Serialized Form</a></dd> |
| </dl> |
| </li> |
| </ul> |
| </div> |
| <div class="summary"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- =========== FIELD SUMMARY =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="field.summary"> |
| <!-- --> |
| </a> |
| <h3>Field Summary</h3> |
| <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation"> |
| <caption><span>Fields</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colLast" scope="col">Field and Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Vector.html?is-external=true" title="class or interface in java.util">Vector</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/exceptions/IntegrityChecker.html#caughtExceptions">caughtExceptions</a></span></code> |
| <div class="block">To add all the Descriptor exceptions</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/exceptions/IntegrityChecker.html#shouldCatchExceptions">shouldCatchExceptions</a></span></code> |
| <div class="block">To know that should we catch all the descriptors exceptions or not</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/exceptions/IntegrityChecker.html#shouldCheckDatabase">shouldCheckDatabase</a></span></code> |
| <div class="block">To know that should we check database tables or not</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/exceptions/IntegrityChecker.html#shouldCheckInstantiationPolicy">shouldCheckInstantiationPolicy</a></span></code> |
| <div class="block">To know that should we check InstantiationPolicy or not</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Vector.html?is-external=true" title="class or interface in java.util">Vector</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/exceptions/IntegrityChecker.html#tables">tables</a></span></code> |
| <div class="block">To load the tables from database</div> |
| </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="constructor.summary"> |
| <!-- --> |
| </a> |
| <h3>Constructor Summary</h3> |
| <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> |
| <caption><span>Constructors</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colOne" scope="col">Constructor and Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colOne"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/exceptions/IntegrityChecker.html#IntegrityChecker--">IntegrityChecker</a></span>()</code> |
| <div class="block">PUBLIC: |
| IntegrityChecker is used for catching all the Descriptor Exceptions, |
| and check database tables.</div> |
| </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| <!-- ========== METHOD SUMMARY =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method.summary"> |
| <!-- --> |
| </a> |
| <h3>Method Summary</h3> |
| <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> |
| <caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colLast" scope="col">Method and Description</th> |
| </tr> |
| <tr id="i0" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/exceptions/IntegrityChecker.html#catchExceptions--">catchExceptions</a></span>()</code> |
| <div class="block">PUBLIC: |
| This method is used for catching all the Descriptor Exceptions</div> |
| </td> |
| </tr> |
| <tr id="i1" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/exceptions/IntegrityChecker.html#checkDatabase--">checkDatabase</a></span>()</code> |
| <div class="block">PUBLIC: |
| This method is used to check the database tables.</div> |
| </td> |
| </tr> |
| <tr id="i2" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/exceptions/IntegrityChecker.html#checkInstantiationPolicy--">checkInstantiationPolicy</a></span>()</code> |
| <div class="block">PUBLIC: |
| This method is used to check the InstantiationPolicy.</div> |
| </td> |
| </tr> |
| <tr id="i3" class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/exceptions/IntegrityChecker.html#checkTable-org.eclipse.persistence.internal.helper.DatabaseTable-org.eclipse.persistence.internal.sessions.AbstractSession-">checkTable</a></span>(org.eclipse.persistence.internal.helper.DatabaseTable table, |
| org.eclipse.persistence.internal.sessions.AbstractSession session)</code> |
| <div class="block">INTERNAL: |
| This method checks that tables are present in the database.</div> |
| </td> |
| </tr> |
| <tr id="i4" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/exceptions/IntegrityChecker.html#dontCatchExceptions--">dontCatchExceptions</a></span>()</code> |
| <div class="block">PUBLIC: |
| This method is used for don't catching all the Descriptor Exceptions</div> |
| </td> |
| </tr> |
| <tr id="i5" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/exceptions/IntegrityChecker.html#dontCheckDatabase--">dontCheckDatabase</a></span>()</code> |
| <div class="block">PUBLIC: |
| This method is used for don't checking the database tables and fields.</div> |
| </td> |
| </tr> |
| <tr id="i6" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/exceptions/IntegrityChecker.html#dontCheckInstantiationPolicy--">dontCheckInstantiationPolicy</a></span>()</code> |
| <div class="block">PUBLIC: |
| This method is used for don't checking the InstantiationPolicy.</div> |
| </td> |
| </tr> |
| <tr id="i7" class="rowColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Vector.html?is-external=true" title="class or interface in java.util">Vector</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/exceptions/IntegrityChecker.html#getCaughtExceptions--">getCaughtExceptions</a></span>()</code> |
| <div class="block">PUBLIC: |
| This method returns the vector which adds all the Descriptors Exceptions.</div> |
| </td> |
| </tr> |
| <tr id="i8" class="altColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Vector.html?is-external=true" title="class or interface in java.util">Vector</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/exceptions/IntegrityChecker.html#getTables--">getTables</a></span>()</code> |
| <div class="block">INTERNAL: |
| This method returns a vector which holds all the tables of database</div> |
| </td> |
| </tr> |
| <tr id="i9" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/exceptions/IntegrityChecker.html#handleError-java.lang.RuntimeException-">handleError</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/RuntimeException.html?is-external=true" title="class or interface in java.lang">RuntimeException</a> runtimeException)</code> |
| <div class="block">INTERNAL: |
| This method handles all the Descriptor Exceptions.</div> |
| </td> |
| </tr> |
| <tr id="i10" class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/exceptions/IntegrityChecker.html#hasErrors--">hasErrors</a></span>()</code> |
| <div class="block">INTERNAL: |
| Return if any errors occurred.</div> |
| </td> |
| </tr> |
| <tr id="i11" class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/exceptions/IntegrityChecker.html#hasRuntimeExceptions--">hasRuntimeExceptions</a></span>()</code> |
| <div class="block">INTERNAL: |
| Return if any runtime errors occurred.</div> |
| </td> |
| </tr> |
| <tr id="i12" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/exceptions/IntegrityChecker.html#initializeTables-org.eclipse.persistence.internal.sessions.AbstractSession-">initializeTables</a></span>(org.eclipse.persistence.internal.sessions.AbstractSession session)</code> |
| <div class="block">INTERNAL: |
| This method is used to get all the database tables and add them into a vector.</div> |
| </td> |
| </tr> |
| <tr id="i13" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/exceptions/IntegrityChecker.html#setCaughtExceptions-java.util.Vector-">setCaughtExceptions</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Vector.html?is-external=true" title="class or interface in java.util">Vector</a> exceptions)</code> |
| <div class="block">INTERNAL:</div> |
| </td> |
| </tr> |
| <tr id="i14" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/exceptions/IntegrityChecker.html#setShouldCatchExceptions-boolean-">setShouldCatchExceptions</a></span>(boolean answer)</code> |
| <div class="block">PUBLIC: |
| This method assigns the value to the variable (shouldCatchExceptions) |
| that defines whether we should catch all Descriptor Exceptions or not.</div> |
| </td> |
| </tr> |
| <tr id="i15" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/exceptions/IntegrityChecker.html#setShouldCheckDatabase-boolean-">setShouldCheckDatabase</a></span>(boolean answer)</code> |
| <div class="block">PUBLIC: |
| This method assigns the value to the variable (shouldCheckDatabase) |
| that defines whether we should check the database or not.</div> |
| </td> |
| </tr> |
| <tr id="i16" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/exceptions/IntegrityChecker.html#setShouldCheckInstantiationPolicy-boolean-">setShouldCheckInstantiationPolicy</a></span>(boolean answer)</code> |
| <div class="block">PUBLIC: |
| This method assigns the value to the variable (shouldCheckInstantiationPolicy) |
| that defines whether we should check InstantiationPolicy or not.</div> |
| </td> |
| </tr> |
| <tr id="i17" class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/exceptions/IntegrityChecker.html#shouldCatchExceptions--">shouldCatchExceptions</a></span>()</code> |
| <div class="block">PUBLIC: |
| This method signifies whether all Descriptor Exceptions should be thrown individually or queued.</div> |
| </td> |
| </tr> |
| <tr id="i18" class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/exceptions/IntegrityChecker.html#shouldCheckDatabase--">shouldCheckDatabase</a></span>()</code> |
| <div class="block">PUBLIC: |
| This method signifies whether database tables and fields should be checked or not.</div> |
| </td> |
| </tr> |
| <tr id="i19" class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/exceptions/IntegrityChecker.html#shouldCheckInstantiationPolicy--">shouldCheckInstantiationPolicy</a></span>()</code> |
| <div class="block">PUBLIC: |
| This method tells us whether we should check InstantiationPolicy or not.</div> |
| </td> |
| </tr> |
| </table> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3> |
| <code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| <div class="details"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ============ FIELD DETAIL =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="field.detail"> |
| <!-- --> |
| </a> |
| <h3>Field Detail</h3> |
| <a name="caughtExceptions"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>caughtExceptions</h4> |
| <pre>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Vector.html?is-external=true" title="class or interface in java.util">Vector</a> caughtExceptions</pre> |
| <div class="block">To add all the Descriptor exceptions</div> |
| </li> |
| </ul> |
| <a name="tables"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>tables</h4> |
| <pre>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Vector.html?is-external=true" title="class or interface in java.util">Vector</a> tables</pre> |
| <div class="block">To load the tables from database</div> |
| </li> |
| </ul> |
| <a name="shouldCatchExceptions"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>shouldCatchExceptions</h4> |
| <pre>protected boolean shouldCatchExceptions</pre> |
| <div class="block">To know that should we catch all the descriptors exceptions or not</div> |
| </li> |
| </ul> |
| <a name="shouldCheckDatabase"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>shouldCheckDatabase</h4> |
| <pre>protected boolean shouldCheckDatabase</pre> |
| <div class="block">To know that should we check database tables or not</div> |
| </li> |
| </ul> |
| <a name="shouldCheckInstantiationPolicy"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>shouldCheckInstantiationPolicy</h4> |
| <pre>protected boolean shouldCheckInstantiationPolicy</pre> |
| <div class="block">To know that should we check InstantiationPolicy or not</div> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="constructor.detail"> |
| <!-- --> |
| </a> |
| <h3>Constructor Detail</h3> |
| <a name="IntegrityChecker--"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>IntegrityChecker</h4> |
| <pre>public IntegrityChecker()</pre> |
| <div class="block">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.</div> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <!-- ============ METHOD DETAIL ========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method.detail"> |
| <!-- --> |
| </a> |
| <h3>Method Detail</h3> |
| <a name="catchExceptions--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>catchExceptions</h4> |
| <pre>public void catchExceptions()</pre> |
| <div class="block">PUBLIC: |
| This method is used for catching all the Descriptor Exceptions</div> |
| </li> |
| </ul> |
| <a name="checkDatabase--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>checkDatabase</h4> |
| <pre>public void checkDatabase()</pre> |
| <div class="block">PUBLIC: |
| This method is used to check the database tables.</div> |
| </li> |
| </ul> |
| <a name="checkInstantiationPolicy--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>checkInstantiationPolicy</h4> |
| <pre>public void checkInstantiationPolicy()</pre> |
| <div class="block">PUBLIC: |
| This method is used to check the InstantiationPolicy.</div> |
| </li> |
| </ul> |
| <a name="checkTable-org.eclipse.persistence.internal.helper.DatabaseTable-org.eclipse.persistence.internal.sessions.AbstractSession-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>checkTable</h4> |
| <pre>public boolean checkTable(org.eclipse.persistence.internal.helper.DatabaseTable table, |
| org.eclipse.persistence.internal.sessions.AbstractSession session)</pre> |
| <div class="block">INTERNAL: |
| This method checks that tables are present in the database.</div> |
| </li> |
| </ul> |
| <a name="dontCatchExceptions--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>dontCatchExceptions</h4> |
| <pre>public void dontCatchExceptions()</pre> |
| <div class="block">PUBLIC: |
| This method is used for don't catching all the Descriptor Exceptions</div> |
| </li> |
| </ul> |
| <a name="dontCheckDatabase--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>dontCheckDatabase</h4> |
| <pre>public void dontCheckDatabase()</pre> |
| <div class="block">PUBLIC: |
| This method is used for don't checking the database tables and fields.</div> |
| </li> |
| </ul> |
| <a name="dontCheckInstantiationPolicy--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>dontCheckInstantiationPolicy</h4> |
| <pre>public void dontCheckInstantiationPolicy()</pre> |
| <div class="block">PUBLIC: |
| This method is used for don't checking the InstantiationPolicy.</div> |
| </li> |
| </ul> |
| <a name="getCaughtExceptions--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getCaughtExceptions</h4> |
| <pre>public <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Vector.html?is-external=true" title="class or interface in java.util">Vector</a> getCaughtExceptions()</pre> |
| <div class="block">PUBLIC: |
| This method returns the vector which adds all the Descriptors Exceptions.</div> |
| </li> |
| </ul> |
| <a name="getTables--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getTables</h4> |
| <pre>public <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Vector.html?is-external=true" title="class or interface in java.util">Vector</a> getTables()</pre> |
| <div class="block">INTERNAL: |
| This method returns a vector which holds all the tables of database</div> |
| </li> |
| </ul> |
| <a name="handleError-java.lang.RuntimeException-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>handleError</h4> |
| <pre>public void handleError(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/RuntimeException.html?is-external=true" title="class or interface in java.lang">RuntimeException</a> runtimeException)</pre> |
| <div class="block">INTERNAL: |
| This method handles all the Descriptor Exceptions. |
| This method will throw the exception or add the exceptions into a vector depending on the value of shouldCatchExceptions.</div> |
| </li> |
| </ul> |
| <a name="hasErrors--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>hasErrors</h4> |
| <pre>public boolean hasErrors()</pre> |
| <div class="block">INTERNAL: |
| Return if any errors occurred.</div> |
| </li> |
| </ul> |
| <a name="hasRuntimeExceptions--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>hasRuntimeExceptions</h4> |
| <pre>public boolean hasRuntimeExceptions()</pre> |
| <div class="block">INTERNAL: |
| Return if any runtime errors occurred.</div> |
| </li> |
| </ul> |
| <a name="initializeTables-org.eclipse.persistence.internal.sessions.AbstractSession-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>initializeTables</h4> |
| <pre>public void initializeTables(org.eclipse.persistence.internal.sessions.AbstractSession session)</pre> |
| <div class="block">INTERNAL: |
| This method is used to get all the database tables and add them into a vector.</div> |
| </li> |
| </ul> |
| <a name="setCaughtExceptions-java.util.Vector-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setCaughtExceptions</h4> |
| <pre>public void setCaughtExceptions(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Vector.html?is-external=true" title="class or interface in java.util">Vector</a> exceptions)</pre> |
| <div class="block">INTERNAL:</div> |
| </li> |
| </ul> |
| <a name="setShouldCatchExceptions-boolean-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setShouldCatchExceptions</h4> |
| <pre>public void setShouldCatchExceptions(boolean answer)</pre> |
| <div class="block">PUBLIC: |
| This method assigns the value to the variable (shouldCatchExceptions) |
| that defines whether we should catch all Descriptor Exceptions or not.</div> |
| </li> |
| </ul> |
| <a name="setShouldCheckDatabase-boolean-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setShouldCheckDatabase</h4> |
| <pre>public void setShouldCheckDatabase(boolean answer)</pre> |
| <div class="block">PUBLIC: |
| This method assigns the value to the variable (shouldCheckDatabase) |
| that defines whether we should check the database or not.</div> |
| </li> |
| </ul> |
| <a name="setShouldCheckInstantiationPolicy-boolean-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setShouldCheckInstantiationPolicy</h4> |
| <pre>public void setShouldCheckInstantiationPolicy(boolean answer)</pre> |
| <div class="block">PUBLIC: |
| This method assigns the value to the variable (shouldCheckInstantiationPolicy) |
| that defines whether we should check InstantiationPolicy or not.</div> |
| </li> |
| </ul> |
| <a name="shouldCatchExceptions--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>shouldCatchExceptions</h4> |
| <pre>public boolean shouldCatchExceptions()</pre> |
| <div class="block">PUBLIC: |
| This method signifies whether all Descriptor Exceptions should be thrown individually or queued.</div> |
| </li> |
| </ul> |
| <a name="shouldCheckDatabase--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>shouldCheckDatabase</h4> |
| <pre>public boolean shouldCheckDatabase()</pre> |
| <div class="block">PUBLIC: |
| This method signifies whether database tables and fields should be checked or not.</div> |
| </li> |
| </ul> |
| <a name="shouldCheckInstantiationPolicy--"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>shouldCheckInstantiationPolicy</h4> |
| <pre>public boolean shouldCheckInstantiationPolicy()</pre> |
| <div class="block">PUBLIC: |
| This method tells us whether we should check InstantiationPolicy or not.</div> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| </div> |
| <!-- ========= END OF CLASS DATA ========= --> |
| <!-- ======= START OF BOTTOM NAVBAR ====== --> |
| <div class="bottomNav"><a name="navbar.bottom"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> |
| <a name="navbar.bottom.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../overview-summary.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../help-doc.html">Help</a></li> |
| </ul> |
| <div class="aboutLanguage">EclipseLink 3.0.2, API Reference</div> |
| </div> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li><a href="../../../../org/eclipse/persistence/exceptions/ExceptionHandler.html" title="interface in org.eclipse.persistence.exceptions"><span class="typeNameLink">Prev Class</span></a></li> |
| <li><a href="../../../../org/eclipse/persistence/exceptions/IntegrityException.html" title="class in org.eclipse.persistence.exceptions"><span class="typeNameLink">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../index.html?org/eclipse/persistence/exceptions/IntegrityChecker.html" target="_top">Frames</a></li> |
| <li><a href="IntegrityChecker.html" target="_top">No Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_bottom"> |
| <li><a href="../../../../allclasses-noframe.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_bottom"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li><a href="#field.summary">Field</a> | </li> |
| <li><a href="#constructor.summary">Constr</a> | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li><a href="#field.detail">Field</a> | </li> |
| <li><a href="#constructor.detail">Constr</a> | </li> |
| <li><a href="#method.detail">Method</a></li> |
| </ul> |
| </div> |
| <a name="skip.navbar.bottom"> |
| <!-- --> |
| </a></div> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| <p class="legalCopy"><small>Copyright © 2007–2021 <a href="http://www.eclipse.org/eclipselink">Eclipse.org - EclipseLink Project</a>. All rights reserved.</small></p> |
| </body> |
| </html> |