| <!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:39:10 UTC 2021 --> |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <title>TableDefinition (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="TableDefinition (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,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10,"i34":10,"i35":10,"i36":10,"i37":10,"i38":10,"i39":10,"i40":10,"i41":10,"i42":10,"i43":10,"i44":10,"i45":10,"i46":10,"i47":10,"i48":10,"i49":10,"i50":10,"i51":10,"i52":10,"i53":10,"i54":10,"i55":10,"i56":10,"i57":10,"i58":10,"i59":10,"i60":10,"i61":10,"i62":10,"i63":10,"i64":10,"i65":10,"i66":10,"i67":10,"i68":10,"i69":10,"i70":10,"i71":10,"i72":10,"i73":10,"i74":10,"i75":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/tools/schemaframework/TableCreator.html" title="class in org.eclipse.persistence.tools.schemaframework"><span class="typeNameLink">Prev Class</span></a></li> |
| <li><a href="../../../../../org/eclipse/persistence/tools/schemaframework/TableSequenceDefinition.html" title="class in org.eclipse.persistence.tools.schemaframework"><span class="typeNameLink">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../../index.html?org/eclipse/persistence/tools/schemaframework/TableDefinition.html" target="_top">Frames</a></li> |
| <li><a href="TableDefinition.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.tools.schemaframework</div> |
| <h2 title="Class TableDefinition" class="title">Class TableDefinition</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><a href="../../../../../org/eclipse/persistence/tools/schemaframework/DatabaseObjectDefinition.html" title="class in org.eclipse.persistence.tools.schemaframework">org.eclipse.persistence.tools.schemaframework.DatabaseObjectDefinition</a></li> |
| <li> |
| <ul class="inheritance"> |
| <li>org.eclipse.persistence.tools.schemaframework.TableDefinition</li> |
| </ul> |
| </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>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Cloneable.html?is-external=true" title="class or interface in java.lang">Cloneable</a></dd> |
| </dl> |
| <dl> |
| <dt>Direct Known Subclasses:</dt> |
| <dd><a href="../../../../../org/eclipse/persistence/tools/schemaframework/TypeTableDefinition.html" title="class in org.eclipse.persistence.tools.schemaframework">TypeTableDefinition</a></dd> |
| </dl> |
| <hr> |
| <br> |
| <pre>public class <span class="typeNameLabel">TableDefinition</span> |
| extends <a href="../../../../../org/eclipse/persistence/tools/schemaframework/DatabaseObjectDefinition.html" title="class in org.eclipse.persistence.tools.schemaframework">DatabaseObjectDefinition</a></pre> |
| <div class="block"><p> |
| <b>Purpose</b>: Allow a generic way of creating tables on the different platforms. |
| </p></div> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../../serialized-form.html#org.eclipse.persistence.tools.schemaframework.TableDefinition">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/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/schemaframework/TableDefinition.html#creationPrefix">creationPrefix</a></span></code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/schemaframework/TableDefinition.html#creationSuffix">creationSuffix</a></span></code> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../org/eclipse/persistence/tools/schemaframework/FieldDefinition.html" title="class in org.eclipse.persistence.tools.schemaframework">FieldDefinition</a>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/schemaframework/TableDefinition.html#fields">fields</a></span></code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="../../../../../org/eclipse/persistence/tools/schemaframework/ForeignKeyConstraint.html" title="class in org.eclipse.persistence.tools.schemaframework">ForeignKeyConstraint</a>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/schemaframework/TableDefinition.html#foreignKeyMap">foreignKeyMap</a></span></code> </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/tools/schemaframework/TableDefinition.html#hasUserDefinedForeignKeyConstraints">hasUserDefinedForeignKeyConstraints</a></span></code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../org/eclipse/persistence/tools/schemaframework/IndexDefinition.html" title="class in org.eclipse.persistence.tools.schemaframework">IndexDefinition</a>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/schemaframework/TableDefinition.html#indexes">indexes</a></span></code> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected org.eclipse.persistence.internal.helper.DatabaseTable</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/schemaframework/TableDefinition.html#table">table</a></span></code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../org/eclipse/persistence/tools/schemaframework/UniqueKeyConstraint.html" title="class in org.eclipse.persistence.tools.schemaframework">UniqueKeyConstraint</a>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/schemaframework/TableDefinition.html#uniqueKeys">uniqueKeys</a></span></code> </td> |
| </tr> |
| </table> |
| <ul class="blockList"> |
| <li class="blockList"><a name="fields.inherited.from.class.org.eclipse.persistence.tools.schemaframework.DatabaseObjectDefinition"> |
| <!-- --> |
| </a> |
| <h3>Fields inherited from class org.eclipse.persistence.tools.schemaframework.<a href="../../../../../org/eclipse/persistence/tools/schemaframework/DatabaseObjectDefinition.html" title="class in org.eclipse.persistence.tools.schemaframework">DatabaseObjectDefinition</a></h3> |
| <code><a href="../../../../../org/eclipse/persistence/tools/schemaframework/DatabaseObjectDefinition.html#name">name</a>, <a href="../../../../../org/eclipse/persistence/tools/schemaframework/DatabaseObjectDefinition.html#qualifier">qualifier</a></code></li> |
| </ul> |
| </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/tools/schemaframework/TableDefinition.html#TableDefinition--">TableDefinition</a></span>()</code> </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/tools/schemaframework/TableDefinition.html#addField-org.eclipse.persistence.tools.schemaframework.FieldDefinition-">addField</a></span>(<a href="../../../../../org/eclipse/persistence/tools/schemaframework/FieldDefinition.html" title="class in org.eclipse.persistence.tools.schemaframework">FieldDefinition</a> field)</code> |
| <div class="block">PUBLIC: |
| Add the field to the table.</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/tools/schemaframework/TableDefinition.html#addField-java.lang.String-java.lang.Class-">addField</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> fieldName, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a> type)</code> |
| <div class="block">PUBLIC: |
| Add the field to the table, default sizes are used.</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/tools/schemaframework/TableDefinition.html#addField-java.lang.String-java.lang.Class-int-">addField</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> fieldName, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a> type, |
| int fieldSize)</code> |
| <div class="block">PUBLIC: |
| Add the field to the table.</div> |
| </td> |
| </tr> |
| <tr id="i3" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/schemaframework/TableDefinition.html#addField-java.lang.String-java.lang.Class-int-int-">addField</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> fieldName, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a> type, |
| int fieldSize, |
| int fieldSubSize)</code> |
| <div class="block">PUBLIC: |
| Add the field to the table.</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/tools/schemaframework/TableDefinition.html#addField-java.lang.String-java.lang.String-">addField</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> fieldName, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> typeName)</code> |
| <div class="block">PUBLIC: |
| Add the field to the type to a nested type.</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/tools/schemaframework/TableDefinition.html#addFieldOnDatabase-org.eclipse.persistence.internal.sessions.AbstractSession-org.eclipse.persistence.tools.schemaframework.FieldDefinition-">addFieldOnDatabase</a></span>(org.eclipse.persistence.internal.sessions.AbstractSession session, |
| <a href="../../../../../org/eclipse/persistence/tools/schemaframework/FieldDefinition.html" title="class in org.eclipse.persistence.tools.schemaframework">FieldDefinition</a> field)</code> |
| <div class="block">INTERNAL: |
| Execute the SQL alter table to add the field to the table.</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/tools/schemaframework/TableDefinition.html#addForeignKeyConstraint-org.eclipse.persistence.tools.schemaframework.ForeignKeyConstraint-">addForeignKeyConstraint</a></span>(<a href="../../../../../org/eclipse/persistence/tools/schemaframework/ForeignKeyConstraint.html" title="class in org.eclipse.persistence.tools.schemaframework">ForeignKeyConstraint</a> foreignKey)</code> |
| <div class="block">PUBLIC: |
| Add a foreign key constraint to the table.</div> |
| </td> |
| </tr> |
| <tr id="i7" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/schemaframework/TableDefinition.html#addForeignKeyConstraint-java.lang.String-java.lang.String-java.lang.String-java.lang.String-">addForeignKeyConstraint</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> sourceField, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> targetField, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> targetTable)</code> |
| <div class="block">PUBLIC: |
| Add a foreign key constraint to the table.</div> |
| </td> |
| </tr> |
| <tr id="i8" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/schemaframework/TableDefinition.html#addIdentityField-java.lang.String-java.lang.Class-">addIdentityField</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> fieldName, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a> type)</code> |
| <div class="block">PUBLIC: |
| Add the field to the table, default sizes are used.</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/tools/schemaframework/TableDefinition.html#addIdentityField-java.lang.String-java.lang.Class-int-">addIdentityField</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> fieldName, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a> type, |
| int fieldSize)</code> |
| <div class="block">PUBLIC: |
| Add the field to the table, default sizes are used.</div> |
| </td> |
| </tr> |
| <tr id="i10" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/schemaframework/TableDefinition.html#addIndex-org.eclipse.persistence.tools.schemaframework.IndexDefinition-">addIndex</a></span>(<a href="../../../../../org/eclipse/persistence/tools/schemaframework/IndexDefinition.html" title="class in org.eclipse.persistence.tools.schemaframework">IndexDefinition</a> index)</code> |
| <div class="block">PUBLIC: |
| Add an index to the table.</div> |
| </td> |
| </tr> |
| <tr id="i11" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/schemaframework/TableDefinition.html#addPrimaryKeyField-java.lang.String-java.lang.Class-">addPrimaryKeyField</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> fieldName, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a> type)</code> |
| <div class="block">PUBLIC: |
| Add the field to the table, default sizes are used.</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/tools/schemaframework/TableDefinition.html#addPrimaryKeyField-java.lang.String-java.lang.Class-int-">addPrimaryKeyField</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> fieldName, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a> type, |
| int fieldSize)</code> |
| <div class="block">PUBLIC: |
| Add the field to the table, default sizes are used.</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/tools/schemaframework/TableDefinition.html#addUniqueKeyConstraint-java.lang.String-java.lang.String-">addUniqueKeyConstraint</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> sourceField)</code> |
| <div class="block">PUBLIC: |
| Add a unique key constraint to the table.</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/tools/schemaframework/TableDefinition.html#addUniqueKeyConstraint-java.lang.String-java.lang.String:A-">addUniqueKeyConstraint</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[] sourceFields)</code> |
| <div class="block">PUBLIC: |
| Add a unique key constraint to the table.</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/tools/schemaframework/TableDefinition.html#addUniqueKeyConstraint-org.eclipse.persistence.tools.schemaframework.UniqueKeyConstraint-">addUniqueKeyConstraint</a></span>(<a href="../../../../../org/eclipse/persistence/tools/schemaframework/UniqueKeyConstraint.html" title="class in org.eclipse.persistence.tools.schemaframework">UniqueKeyConstraint</a> uniqueKey)</code> |
| <div class="block">PUBLIC: |
| Add a unique key constraint to the table.</div> |
| </td> |
| </tr> |
| <tr id="i16" class="altColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/schemaframework/TableDefinition.html#buildAddFieldWriter-org.eclipse.persistence.internal.sessions.AbstractSession-org.eclipse.persistence.tools.schemaframework.FieldDefinition-java.io.Writer-">buildAddFieldWriter</a></span>(org.eclipse.persistence.internal.sessions.AbstractSession session, |
| <a href="../../../../../org/eclipse/persistence/tools/schemaframework/FieldDefinition.html" title="class in org.eclipse.persistence.tools.schemaframework">FieldDefinition</a> field, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a> writer)</code> |
| <div class="block">INTERNAL: |
| Return the alter table statement to add a field to the table.</div> |
| </td> |
| </tr> |
| <tr id="i17" class="rowColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/schemaframework/TableDefinition.html#buildConstraintCreationWriter-org.eclipse.persistence.internal.sessions.AbstractSession-org.eclipse.persistence.tools.schemaframework.ForeignKeyConstraint-java.io.Writer-">buildConstraintCreationWriter</a></span>(org.eclipse.persistence.internal.sessions.AbstractSession session, |
| <a href="../../../../../org/eclipse/persistence/tools/schemaframework/ForeignKeyConstraint.html" title="class in org.eclipse.persistence.tools.schemaframework">ForeignKeyConstraint</a> foreignKey, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a> writer)</code> |
| <div class="block">INTERNAL: |
| Return the alter table statement to add the constraints.</div> |
| </td> |
| </tr> |
| <tr id="i18" class="altColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/schemaframework/TableDefinition.html#buildConstraintDeletionWriter-org.eclipse.persistence.internal.sessions.AbstractSession-org.eclipse.persistence.tools.schemaframework.ForeignKeyConstraint-java.io.Writer-">buildConstraintDeletionWriter</a></span>(org.eclipse.persistence.internal.sessions.AbstractSession session, |
| <a href="../../../../../org/eclipse/persistence/tools/schemaframework/ForeignKeyConstraint.html" title="class in org.eclipse.persistence.tools.schemaframework">ForeignKeyConstraint</a> foreignKey, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a> writer)</code> |
| <div class="block">INTERNAL: |
| Return the alter table statement to drop the constraints.</div> |
| </td> |
| </tr> |
| <tr id="i19" class="rowColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/schemaframework/TableDefinition.html#buildCreationWriter-org.eclipse.persistence.internal.sessions.AbstractSession-java.io.Writer-">buildCreationWriter</a></span>(org.eclipse.persistence.internal.sessions.AbstractSession session, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a> writer)</code> |
| <div class="block">INTERNAL: |
| Return the create table statement.</div> |
| </td> |
| </tr> |
| <tr id="i20" class="altColor"> |
| <td class="colFirst"><code>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/schemaframework/TableDefinition.html#buildDatabaseSchemaCreationWriter-org.eclipse.persistence.internal.sessions.AbstractSession-java.io.Writer-java.util.Set-">buildDatabaseSchemaCreationWriter</a></span>(org.eclipse.persistence.internal.sessions.AbstractSession session, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a> writer, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>> createdDatabaseSchemas)</code> |
| <div class="block">INTERNAL: |
| Build the create schema DDL.</div> |
| </td> |
| </tr> |
| <tr id="i21" class="rowColor"> |
| <td class="colFirst"><code>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/schemaframework/TableDefinition.html#buildDatabaseSchemaDeletionWriter-org.eclipse.persistence.internal.sessions.AbstractSession-java.io.Writer-">buildDatabaseSchemaDeletionWriter</a></span>(org.eclipse.persistence.internal.sessions.AbstractSession session, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a> writer)</code> |
| <div class="block">INTERNAL: |
| Build the drop schema DDL.</div> |
| </td> |
| </tr> |
| <tr id="i22" class="altColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/schemaframework/TableDefinition.html#buildDeletionWriter-org.eclipse.persistence.internal.sessions.AbstractSession-java.io.Writer-">buildDeletionWriter</a></span>(org.eclipse.persistence.internal.sessions.AbstractSession session, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a> writer)</code> |
| <div class="block">INTERNAL: |
| Return the drop table statement.</div> |
| </td> |
| </tr> |
| <tr id="i23" class="rowColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/schemaframework/TableDefinition.html#buildFieldTypes-org.eclipse.persistence.internal.sessions.AbstractSession-">buildFieldTypes</a></span>(org.eclipse.persistence.internal.sessions.AbstractSession session)</code> |
| <div class="block">INTERNAL: |
| Build the foreign key constraints.</div> |
| </td> |
| </tr> |
| <tr id="i24" class="altColor"> |
| <td class="colFirst"><code>protected <a href="../../../../../org/eclipse/persistence/tools/schemaframework/ForeignKeyConstraint.html" title="class in org.eclipse.persistence.tools.schemaframework">ForeignKeyConstraint</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/schemaframework/TableDefinition.html#buildForeignKeyConstraint-org.eclipse.persistence.tools.schemaframework.FieldDefinition-org.eclipse.persistence.internal.databaseaccess.DatabasePlatform-">buildForeignKeyConstraint</a></span>(<a href="../../../../../org/eclipse/persistence/tools/schemaframework/FieldDefinition.html" title="class in org.eclipse.persistence.tools.schemaframework">FieldDefinition</a> field, |
| org.eclipse.persistence.internal.databaseaccess.DatabasePlatform platform)</code> |
| <div class="block">Build a foreign key constraint using FieldDefinition.getForeignKeyFieldName().</div> |
| </td> |
| </tr> |
| <tr id="i25" class="rowColor"> |
| <td class="colFirst"><code>protected <a href="../../../../../org/eclipse/persistence/tools/schemaframework/ForeignKeyConstraint.html" title="class in org.eclipse.persistence.tools.schemaframework">ForeignKeyConstraint</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/schemaframework/TableDefinition.html#buildForeignKeyConstraint-java.util.List-java.util.List-org.eclipse.persistence.tools.schemaframework.TableDefinition-org.eclipse.persistence.internal.databaseaccess.DatabasePlatform-">buildForeignKeyConstraint</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>> fkFieldNames, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>> pkFieldNames, |
| <a href="../../../../../org/eclipse/persistence/tools/schemaframework/TableDefinition.html" title="class in org.eclipse.persistence.tools.schemaframework">TableDefinition</a> targetTable, |
| org.eclipse.persistence.internal.databaseaccess.DatabasePlatform platform)</code> |
| <div class="block">Build a foreign key constraint.</div> |
| </td> |
| </tr> |
| <tr id="i26" class="altColor"> |
| <td class="colFirst"><code>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/schemaframework/TableDefinition.html#buildForeignKeyConstraintName-java.lang.String-java.lang.String-int-org.eclipse.persistence.internal.databaseaccess.DatabasePlatform-">buildForeignKeyConstraintName</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> tableName, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> fieldName, |
| int maximumNameLength, |
| org.eclipse.persistence.internal.databaseaccess.DatabasePlatform platform)</code> |
| <div class="block">Return foreign key constraint name built from the table and field name with the specified maximum length.</div> |
| </td> |
| </tr> |
| <tr id="i27" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../org/eclipse/persistence/tools/schemaframework/IndexDefinition.html" title="class in org.eclipse.persistence.tools.schemaframework">IndexDefinition</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/schemaframework/TableDefinition.html#buildIndex-org.eclipse.persistence.internal.sessions.AbstractSession-java.lang.String-java.util.List-boolean-">buildIndex</a></span>(org.eclipse.persistence.internal.sessions.AbstractSession session, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> key, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>> columnNames, |
| boolean isUniqueSetOnField)</code> |
| <div class="block">INTERNAL: |
| Return the index creation statement.</div> |
| </td> |
| </tr> |
| <tr id="i28" class="altColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/schemaframework/TableDefinition.html#buildIndexDeletionWriter-org.eclipse.persistence.internal.sessions.AbstractSession-java.lang.String-java.io.Writer-boolean-">buildIndexDeletionWriter</a></span>(org.eclipse.persistence.internal.sessions.AbstractSession session, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> key, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a> writer, |
| boolean isUniqueSetOnField)</code> |
| <div class="block">INTERNAL: |
| Return the index drop statement.</div> |
| </td> |
| </tr> |
| <tr id="i29" class="rowColor"> |
| <td class="colFirst"><code>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/schemaframework/TableDefinition.html#buildIndexName-java.lang.String-java.lang.String-java.lang.String-int-org.eclipse.persistence.internal.databaseaccess.DatabasePlatform-">buildIndexName</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> tableName, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> key, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> indexPrefix, |
| int maximumNameLength, |
| org.eclipse.persistence.internal.databaseaccess.DatabasePlatform platform)</code> |
| <div class="block">Return key constraint name built from the table and key name with the |
| specified maximum length and index prefix.</div> |
| </td> |
| </tr> |
| <tr id="i30" class="altColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/schemaframework/TableDefinition.html#buildUniqueConstraintCreationWriter-org.eclipse.persistence.internal.sessions.AbstractSession-org.eclipse.persistence.tools.schemaframework.UniqueKeyConstraint-java.io.Writer-">buildUniqueConstraintCreationWriter</a></span>(org.eclipse.persistence.internal.sessions.AbstractSession session, |
| <a href="../../../../../org/eclipse/persistence/tools/schemaframework/UniqueKeyConstraint.html" title="class in org.eclipse.persistence.tools.schemaframework">UniqueKeyConstraint</a> uniqueKey, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a> writer)</code> |
| <div class="block">INTERNAL: |
| Return the alter table statement to add the constraints.</div> |
| </td> |
| </tr> |
| <tr id="i31" class="rowColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/schemaframework/TableDefinition.html#buildUniqueConstraintDeletionWriter-org.eclipse.persistence.internal.sessions.AbstractSession-org.eclipse.persistence.tools.schemaframework.UniqueKeyConstraint-java.io.Writer-">buildUniqueConstraintDeletionWriter</a></span>(org.eclipse.persistence.internal.sessions.AbstractSession session, |
| <a href="../../../../../org/eclipse/persistence/tools/schemaframework/UniqueKeyConstraint.html" title="class in org.eclipse.persistence.tools.schemaframework">UniqueKeyConstraint</a> uniqueKey, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a> writer)</code> |
| <div class="block">INTERNAL: |
| Return the alter table statement to drop the constraints.</div> |
| </td> |
| </tr> |
| <tr id="i32" class="altColor"> |
| <td class="colFirst"><code>protected <a href="../../../../../org/eclipse/persistence/tools/schemaframework/UniqueKeyConstraint.html" title="class in org.eclipse.persistence.tools.schemaframework">UniqueKeyConstraint</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/schemaframework/TableDefinition.html#buildUniqueKeyConstraint-java.lang.String-java.util.List-int-org.eclipse.persistence.internal.databaseaccess.DatabasePlatform-">buildUniqueKeyConstraint</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>> fieldNames, |
| int serialNumber, |
| org.eclipse.persistence.internal.databaseaccess.DatabasePlatform platform)</code> </td> |
| </tr> |
| <tr id="i33" class="rowColor"> |
| <td class="colFirst"><code>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/schemaframework/TableDefinition.html#buildUniqueKeyConstraintName-java.lang.String-int-int-">buildUniqueKeyConstraintName</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> tableName, |
| int serialNumber, |
| int maximumNameLength)</code> |
| <div class="block">Return unique key constraint name built from the table name and sequence |
| number with the specified maximum length.</div> |
| </td> |
| </tr> |
| <tr id="i34" class="altColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/schemaframework/TableDefinition.html#buildVPDCreationFunctionWriter-org.eclipse.persistence.internal.sessions.AbstractSession-java.io.Writer-">buildVPDCreationFunctionWriter</a></span>(org.eclipse.persistence.internal.sessions.AbstractSession session, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a> writer)</code> |
| <div class="block">INTERNAL:</div> |
| </td> |
| </tr> |
| <tr id="i35" class="rowColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/schemaframework/TableDefinition.html#buildVPDCreationPolicyWriter-org.eclipse.persistence.internal.sessions.AbstractSession-java.io.Writer-">buildVPDCreationPolicyWriter</a></span>(org.eclipse.persistence.internal.sessions.AbstractSession session, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a> writer)</code> |
| <div class="block">INTERNAL:</div> |
| </td> |
| </tr> |
| <tr id="i36" class="altColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/schemaframework/TableDefinition.html#buildVPDDeletionWriter-org.eclipse.persistence.internal.sessions.AbstractSession-java.io.Writer-">buildVPDDeletionWriter</a></span>(org.eclipse.persistence.internal.sessions.AbstractSession session, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a> writer)</code> |
| <div class="block">INTERNAL:</div> |
| </td> |
| </tr> |
| <tr id="i37" class="rowColor"> |
| <td class="colFirst"><code><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></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/schemaframework/TableDefinition.html#clone--">clone</a></span>()</code> |
| <div class="block">PUBLIC: |
| Performs a deep copy of this table definition.</div> |
| </td> |
| </tr> |
| <tr id="i38" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/schemaframework/TableDefinition.html#createConstraints-org.eclipse.persistence.internal.sessions.AbstractSession-java.io.Writer-">createConstraints</a></span>(org.eclipse.persistence.internal.sessions.AbstractSession session, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a> schemaWriter)</code> |
| <div class="block">INTERNAL: |
| Execute the SQL alter table constraint creation string.</div> |
| </td> |
| </tr> |
| <tr id="i39" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/schemaframework/TableDefinition.html#createConstraintsOnDatabase-org.eclipse.persistence.internal.sessions.AbstractSession-">createConstraintsOnDatabase</a></span>(org.eclipse.persistence.internal.sessions.AbstractSession session)</code> |
| <div class="block">INTERNAL: |
| Execute the SQL alter table constraint creation string.</div> |
| </td> |
| </tr> |
| <tr id="i40" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/schemaframework/TableDefinition.html#createDatabaseSchema-org.eclipse.persistence.internal.sessions.AbstractSession-java.io.Writer-java.util.Set-">createDatabaseSchema</a></span>(org.eclipse.persistence.internal.sessions.AbstractSession session, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a> writer, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>> createdDatabaseSchemas)</code> |
| <div class="block">INTERNAL: |
| Execute the DDL to create the database schema for this object.</div> |
| </td> |
| </tr> |
| <tr id="i41" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/schemaframework/TableDefinition.html#createDatabaseSchemaOnDatabase-org.eclipse.persistence.internal.sessions.AbstractSession-java.util.Set-">createDatabaseSchemaOnDatabase</a></span>(org.eclipse.persistence.internal.sessions.AbstractSession session, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>> createdDatabaseSchemas)</code> |
| <div class="block">INTERNAL: |
| Execute the DDL to create the database schema for this object.</div> |
| </td> |
| </tr> |
| <tr id="i42" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/schemaframework/TableDefinition.html#createIndexes-org.eclipse.persistence.internal.sessions.AbstractSession-java.io.Writer-">createIndexes</a></span>(org.eclipse.persistence.internal.sessions.AbstractSession session, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a> writer)</code> |
| <div class="block">INTERNAL:<br> |
| Write the SQL create index string to create index if |
| passed a writer, else delegate to a method that executes the string on |
| the database.</div> |
| </td> |
| </tr> |
| <tr id="i43" class="rowColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/schemaframework/TableDefinition.html#deletionStringFor-org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor-">deletionStringFor</a></span>(org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor accessor)</code> |
| <div class="block">INTERNAL: |
| Return the delete SQL string.</div> |
| </td> |
| </tr> |
| <tr id="i44" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/schemaframework/TableDefinition.html#dropConstraints-org.eclipse.persistence.internal.sessions.AbstractSession-java.io.Writer-">dropConstraints</a></span>(org.eclipse.persistence.internal.sessions.AbstractSession session, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a> schemaWriter)</code> |
| <div class="block">INTERNAL: |
| Execute the SQL alter table constraint creation string.</div> |
| </td> |
| </tr> |
| <tr id="i45" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/schemaframework/TableDefinition.html#dropConstraintsOnDatabase-org.eclipse.persistence.internal.sessions.AbstractSession-">dropConstraintsOnDatabase</a></span>(org.eclipse.persistence.internal.sessions.AbstractSession session)</code> |
| <div class="block">INTERNAL: |
| Execute the SQL alter table constraint creation string.</div> |
| </td> |
| </tr> |
| <tr id="i46" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/schemaframework/TableDefinition.html#dropDatabaseSchema-org.eclipse.persistence.internal.sessions.AbstractSession-java.io.Writer-">dropDatabaseSchema</a></span>(org.eclipse.persistence.internal.sessions.AbstractSession session, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a> writer)</code> |
| <div class="block">INTERNAL: |
| Execute the DDL to drop the database schema for this object.</div> |
| </td> |
| </tr> |
| <tr id="i47" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/schemaframework/TableDefinition.html#dropDatabaseSchemaOnDatabase-org.eclipse.persistence.internal.sessions.AbstractSession-">dropDatabaseSchemaOnDatabase</a></span>(org.eclipse.persistence.internal.sessions.AbstractSession session)</code> |
| <div class="block">INTERNAL: |
| Execute the DDL to drop the database schema for this object.</div> |
| </td> |
| </tr> |
| <tr id="i48" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/schemaframework/TableDefinition.html#dropIndexes-org.eclipse.persistence.internal.sessions.AbstractSession-java.io.Writer-">dropIndexes</a></span>(org.eclipse.persistence.internal.sessions.AbstractSession session, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a> writer)</code> |
| <div class="block">INTERNAL:<br> |
| Write the SQL drop index string to drop indexes if passed a writer, |
| else delegate to a method that executes the string on the database.</div> |
| </td> |
| </tr> |
| <tr id="i49" class="rowColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/schemaframework/TableDefinition.html#getCreationPrefix--">getCreationPrefix</a></span>()</code> |
| <div class="block">INTERNAL: |
| Return the beginning of the sql create statement - the part before the name.</div> |
| </td> |
| </tr> |
| <tr id="i50" class="altColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/schemaframework/TableDefinition.html#getCreationSuffix--">getCreationSuffix</a></span>()</code> |
| <div class="block">INTERNAL: |
| Return the end of the sql create statement - the part after the field list.</div> |
| </td> |
| </tr> |
| <tr id="i51" class="rowColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/schemaframework/TableDefinition.html#getDatabaseSchema--">getDatabaseSchema</a></span>()</code> |
| <div class="block">PUBLIC: |
| Return the schema associated with this table.</div> |
| </td> |
| </tr> |
| <tr id="i52" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../org/eclipse/persistence/tools/schemaframework/FieldDefinition.html" title="class in org.eclipse.persistence.tools.schemaframework">FieldDefinition</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/schemaframework/TableDefinition.html#getField-java.lang.String-">getField</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> fieldName)</code> |
| <div class="block">PUBLIC: |
| Return the field the corresponds to the name.</div> |
| </td> |
| </tr> |
| <tr id="i53" class="rowColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../org/eclipse/persistence/tools/schemaframework/FieldDefinition.html" title="class in org.eclipse.persistence.tools.schemaframework">FieldDefinition</a>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/schemaframework/TableDefinition.html#getFields--">getFields</a></span>()</code> |
| <div class="block">PUBLIC:</div> |
| </td> |
| </tr> |
| <tr id="i54" class="altColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="../../../../../org/eclipse/persistence/tools/schemaframework/ForeignKeyConstraint.html" title="class in org.eclipse.persistence.tools.schemaframework">ForeignKeyConstraint</a>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/schemaframework/TableDefinition.html#getForeignKeyMap--">getForeignKeyMap</a></span>()</code> |
| <div class="block">INTERNAL:</div> |
| </td> |
| </tr> |
| <tr id="i55" class="rowColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><<a href="../../../../../org/eclipse/persistence/tools/schemaframework/ForeignKeyConstraint.html" title="class in org.eclipse.persistence.tools.schemaframework">ForeignKeyConstraint</a>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/schemaframework/TableDefinition.html#getForeignKeys--">getForeignKeys</a></span>()</code> |
| <div class="block">PUBLIC: |
| Returns the ForeignKeyConstraint list.</div> |
| </td> |
| </tr> |
| <tr id="i56" class="altColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../org/eclipse/persistence/tools/schemaframework/IndexDefinition.html" title="class in org.eclipse.persistence.tools.schemaframework">IndexDefinition</a>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/schemaframework/TableDefinition.html#getIndexes--">getIndexes</a></span>()</code> |
| <div class="block">PUBLIC:</div> |
| </td> |
| </tr> |
| <tr id="i57" class="rowColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/schemaframework/TableDefinition.html#getPrimaryKeyFieldNames--">getPrimaryKeyFieldNames</a></span>()</code> |
| <div class="block">PUBLIC:</div> |
| </td> |
| </tr> |
| <tr id="i58" class="altColor"> |
| <td class="colFirst"><code>org.eclipse.persistence.internal.helper.DatabaseTable</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/schemaframework/TableDefinition.html#getTable--">getTable</a></span>()</code> </td> |
| </tr> |
| <tr id="i59" class="rowColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../org/eclipse/persistence/tools/schemaframework/UniqueKeyConstraint.html" title="class in org.eclipse.persistence.tools.schemaframework">UniqueKeyConstraint</a>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/schemaframework/TableDefinition.html#getUniqueKeys--">getUniqueKeys</a></span>()</code> |
| <div class="block">PUBLIC:</div> |
| </td> |
| </tr> |
| <tr id="i60" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/schemaframework/TableDefinition.html#postCreateObject-org.eclipse.persistence.internal.sessions.AbstractSession-java.io.Writer-boolean-">postCreateObject</a></span>(org.eclipse.persistence.internal.sessions.AbstractSession session, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a> createSchemaWriter, |
| boolean createSQLFiles)</code> |
| <div class="block">Execute any statements required after the creation of the object</div> |
| </td> |
| </tr> |
| <tr id="i61" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/schemaframework/TableDefinition.html#preDropObject-org.eclipse.persistence.internal.sessions.AbstractSession-java.io.Writer-boolean-">preDropObject</a></span>(org.eclipse.persistence.internal.sessions.AbstractSession session, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a> dropSchemaWriter, |
| boolean createSQLFiles)</code> |
| <div class="block">Execute any statements required before the deletion of the object</div> |
| </td> |
| </tr> |
| <tr id="i62" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/schemaframework/TableDefinition.html#setCreateSQLFiles-boolean-">setCreateSQLFiles</a></span>(boolean genFlag)</code> |
| <div class="block">PUBLIC:</div> |
| </td> |
| </tr> |
| <tr id="i63" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/schemaframework/TableDefinition.html#setCreateVPDCalls-boolean-java.lang.String-">setCreateVPDCalls</a></span>(boolean createVPDCalls, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> tenantFieldName)</code> |
| <div class="block">PUBLIC:</div> |
| </td> |
| </tr> |
| <tr id="i64" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/schemaframework/TableDefinition.html#setCreationPrefix-java.lang.String-">setCreationPrefix</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> creationPrefix)</code> |
| <div class="block">INTERNAL: |
| Set the beginning of the sql create statement - the part before the name.</div> |
| </td> |
| </tr> |
| <tr id="i65" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/schemaframework/TableDefinition.html#setCreationSuffix-java.lang.String-">setCreationSuffix</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> creationSuffix)</code> |
| <div class="block">INTERNAL: |
| Set the end of the sql create statement - the part after the field list.</div> |
| </td> |
| </tr> |
| <tr id="i66" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/schemaframework/TableDefinition.html#setFields-java.util.List-">setFields</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../org/eclipse/persistence/tools/schemaframework/FieldDefinition.html" title="class in org.eclipse.persistence.tools.schemaframework">FieldDefinition</a>> fields)</code> |
| <div class="block">PUBLIC:</div> |
| </td> |
| </tr> |
| <tr id="i67" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/schemaframework/TableDefinition.html#setForeignKeyMap-java.util.Map-">setForeignKeyMap</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="../../../../../org/eclipse/persistence/tools/schemaframework/ForeignKeyConstraint.html" title="class in org.eclipse.persistence.tools.schemaframework">ForeignKeyConstraint</a>> foreignKeyMap)</code> |
| <div class="block">INTERNAL:</div> |
| </td> |
| </tr> |
| <tr id="i68" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/schemaframework/TableDefinition.html#setForeignKeys-java.util.List-">setForeignKeys</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../org/eclipse/persistence/tools/schemaframework/ForeignKeyConstraint.html" title="class in org.eclipse.persistence.tools.schemaframework">ForeignKeyConstraint</a>> foreignKeys)</code> |
| <div class="block">PUBLIC: |
| Set the ForeignKeyConstraint list.</div> |
| </td> |
| </tr> |
| <tr id="i69" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/schemaframework/TableDefinition.html#setIndexes-java.util.List-">setIndexes</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../org/eclipse/persistence/tools/schemaframework/IndexDefinition.html" title="class in org.eclipse.persistence.tools.schemaframework">IndexDefinition</a>> indexes)</code> |
| <div class="block">PUBLIC:</div> |
| </td> |
| </tr> |
| <tr id="i70" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/schemaframework/TableDefinition.html#setTable-org.eclipse.persistence.internal.helper.DatabaseTable-">setTable</a></span>(org.eclipse.persistence.internal.helper.DatabaseTable table)</code> </td> |
| </tr> |
| <tr id="i71" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/schemaframework/TableDefinition.html#setUniqueKeys-java.util.List-">setUniqueKeys</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../org/eclipse/persistence/tools/schemaframework/UniqueKeyConstraint.html" title="class in org.eclipse.persistence.tools.schemaframework">UniqueKeyConstraint</a>> uniqueKeys)</code> |
| <div class="block">PUBLIC:</div> |
| </td> |
| </tr> |
| <tr id="i72" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/schemaframework/TableDefinition.html#setUserDefinedForeignKeyConstraints-java.util.Map-">setUserDefinedForeignKeyConstraints</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="../../../../../org/eclipse/persistence/tools/schemaframework/ForeignKeyConstraint.html" title="class in org.eclipse.persistence.tools.schemaframework">ForeignKeyConstraint</a>> foreignKeyConstraints)</code> |
| <div class="block">PUBLIC: |
| Set the foreign key constraints for this table.</div> |
| </td> |
| </tr> |
| <tr id="i73" class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/schemaframework/TableDefinition.html#shouldCreateDatabaseSchema-java.util.Set-">shouldCreateDatabaseSchema</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>> createdDatabaseSchemas)</code> |
| <div class="block">If this table has a schema (and catalog specified) make sure it is |
| created.</div> |
| </td> |
| </tr> |
| <tr id="i74" class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/schemaframework/TableDefinition.html#shouldCreateVPDCalls-org.eclipse.persistence.internal.sessions.AbstractSession-">shouldCreateVPDCalls</a></span>(org.eclipse.persistence.internal.sessions.AbstractSession session)</code> |
| <div class="block">INTERNAL: |
| Subclasses who care should override this method.</div> |
| </td> |
| </tr> |
| <tr id="i75" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/persistence/tools/schemaframework/TableDefinition.html#writeLineSeperator-org.eclipse.persistence.internal.sessions.AbstractSession-java.io.Writer-">writeLineSeperator</a></span>(org.eclipse.persistence.internal.sessions.AbstractSession session, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a> writer)</code> </td> |
| </tr> |
| </table> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods.inherited.from.class.org.eclipse.persistence.tools.schemaframework.DatabaseObjectDefinition"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class org.eclipse.persistence.tools.schemaframework.<a href="../../../../../org/eclipse/persistence/tools/schemaframework/DatabaseObjectDefinition.html" title="class in org.eclipse.persistence.tools.schemaframework">DatabaseObjectDefinition</a></h3> |
| <code><a href="../../../../../org/eclipse/persistence/tools/schemaframework/DatabaseObjectDefinition.html#createObject-org.eclipse.persistence.internal.sessions.AbstractSession-java.io.Writer-">createObject</a>, <a href="../../../../../org/eclipse/persistence/tools/schemaframework/DatabaseObjectDefinition.html#createOnDatabase-org.eclipse.persistence.internal.sessions.AbstractSession-">createOnDatabase</a>, <a href="../../../../../org/eclipse/persistence/tools/schemaframework/DatabaseObjectDefinition.html#dropFromDatabase-org.eclipse.persistence.internal.sessions.AbstractSession-">dropFromDatabase</a>, <a href="../../../../../org/eclipse/persistence/tools/schemaframework/DatabaseObjectDefinition.html#dropObject-org.eclipse.persistence.internal.sessions.AbstractSession-java.io.Writer-boolean-">dropObject</a>, <a href="../../../../../org/eclipse/persistence/tools/schemaframework/DatabaseObjectDefinition.html#getFieldTypeDefinition-org.eclipse.persistence.internal.sessions.AbstractSession-java.lang.Class-java.lang.String-">getFieldTypeDefinition</a>, <a href="../../../../../org/eclipse/persistence/tools/schemaframework/DatabaseObjectDefinition.html#getFieldTypeDefinition-org.eclipse.persistence.internal.databaseaccess.DatabasePlatform-java.lang.Class-java.lang.String-">getFieldTypeDefinition</a>, <a href="../../../../../org/eclipse/persistence/tools/schemaframework/DatabaseObjectDefinition.html#getFullName--">getFullName</a>, <a href="../../../../../org/eclipse/persistence/tools/schemaframework/DatabaseObjectDefinition.html#getName--">getName</a>, <a href="../../../../../org/eclipse/persistence/tools/schemaframework/DatabaseObjectDefinition.html#getQualifier--">getQualifier</a>, <a href="../../../../../org/eclipse/persistence/tools/schemaframework/DatabaseObjectDefinition.html#hasDatabaseSchema--">hasDatabaseSchema</a>, <a href="../../../../../org/eclipse/persistence/tools/schemaframework/DatabaseObjectDefinition.html#setName-java.lang.String-">setName</a>, <a href="../../../../../org/eclipse/persistence/tools/schemaframework/DatabaseObjectDefinition.html#setQualifier-java.lang.String-">setQualifier</a>, <a href="../../../../../org/eclipse/persistence/tools/schemaframework/DatabaseObjectDefinition.html#toString--">toString</a></code></li> |
| </ul> |
| <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#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#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="fields"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>fields</h4> |
| <pre>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../org/eclipse/persistence/tools/schemaframework/FieldDefinition.html" title="class in org.eclipse.persistence.tools.schemaframework">FieldDefinition</a>> fields</pre> |
| </li> |
| </ul> |
| <a name="foreignKeyMap"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>foreignKeyMap</h4> |
| <pre>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="../../../../../org/eclipse/persistence/tools/schemaframework/ForeignKeyConstraint.html" title="class in org.eclipse.persistence.tools.schemaframework">ForeignKeyConstraint</a>> foreignKeyMap</pre> |
| </li> |
| </ul> |
| <a name="uniqueKeys"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>uniqueKeys</h4> |
| <pre>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../org/eclipse/persistence/tools/schemaframework/UniqueKeyConstraint.html" title="class in org.eclipse.persistence.tools.schemaframework">UniqueKeyConstraint</a>> uniqueKeys</pre> |
| </li> |
| </ul> |
| <a name="indexes"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>indexes</h4> |
| <pre>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../org/eclipse/persistence/tools/schemaframework/IndexDefinition.html" title="class in org.eclipse.persistence.tools.schemaframework">IndexDefinition</a>> indexes</pre> |
| </li> |
| </ul> |
| <a name="creationPrefix"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>creationPrefix</h4> |
| <pre>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> creationPrefix</pre> |
| </li> |
| </ul> |
| <a name="creationSuffix"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>creationSuffix</h4> |
| <pre>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> creationSuffix</pre> |
| </li> |
| </ul> |
| <a name="table"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>table</h4> |
| <pre>protected org.eclipse.persistence.internal.helper.DatabaseTable table</pre> |
| </li> |
| </ul> |
| <a name="hasUserDefinedForeignKeyConstraints"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>hasUserDefinedForeignKeyConstraints</h4> |
| <pre>protected boolean hasUserDefinedForeignKeyConstraints</pre> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="constructor.detail"> |
| <!-- --> |
| </a> |
| <h3>Constructor Detail</h3> |
| <a name="TableDefinition--"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>TableDefinition</h4> |
| <pre>public TableDefinition()</pre> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <!-- ============ METHOD DETAIL ========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method.detail"> |
| <!-- --> |
| </a> |
| <h3>Method Detail</h3> |
| <a name="addField-java.lang.String-java.lang.Class-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>addField</h4> |
| <pre>public void addField(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> fieldName, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a> type)</pre> |
| <div class="block">PUBLIC: |
| Add the field to the table, default sizes are used.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>type</code> - is the Java class type corresponding to the database type.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="addField-java.lang.String-java.lang.Class-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>addField</h4> |
| <pre>public void addField(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> fieldName, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a> type, |
| int fieldSize)</pre> |
| <div class="block">PUBLIC: |
| Add the field to the table.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>type</code> - is the Java class type corresponding to the database type.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="addField-java.lang.String-java.lang.Class-int-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>addField</h4> |
| <pre>public void addField(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> fieldName, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a> type, |
| int fieldSize, |
| int fieldSubSize)</pre> |
| <div class="block">PUBLIC: |
| Add the field to the table.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>type</code> - is the Java class type corresponding to the database type.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="addField-java.lang.String-java.lang.String-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>addField</h4> |
| <pre>public void addField(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> fieldName, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> typeName)</pre> |
| <div class="block">PUBLIC: |
| Add the field to the type to a nested type.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>typeName</code> - is the name of the nested type.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="addField-org.eclipse.persistence.tools.schemaframework.FieldDefinition-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>addField</h4> |
| <pre>public void addField(<a href="../../../../../org/eclipse/persistence/tools/schemaframework/FieldDefinition.html" title="class in org.eclipse.persistence.tools.schemaframework">FieldDefinition</a> field)</pre> |
| <div class="block">PUBLIC: |
| Add the field to the table.</div> |
| </li> |
| </ul> |
| <a name="addFieldOnDatabase-org.eclipse.persistence.internal.sessions.AbstractSession-org.eclipse.persistence.tools.schemaframework.FieldDefinition-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>addFieldOnDatabase</h4> |
| <pre>public void addFieldOnDatabase(org.eclipse.persistence.internal.sessions.AbstractSession session, |
| <a href="../../../../../org/eclipse/persistence/tools/schemaframework/FieldDefinition.html" title="class in org.eclipse.persistence.tools.schemaframework">FieldDefinition</a> field)</pre> |
| <div class="block">INTERNAL: |
| Execute the SQL alter table to add the field to the table.</div> |
| </li> |
| </ul> |
| <a name="buildAddFieldWriter-org.eclipse.persistence.internal.sessions.AbstractSession-org.eclipse.persistence.tools.schemaframework.FieldDefinition-java.io.Writer-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>buildAddFieldWriter</h4> |
| <pre>public <a href="https://docs.oracle.com/javase/8/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a> buildAddFieldWriter(org.eclipse.persistence.internal.sessions.AbstractSession session, |
| <a href="../../../../../org/eclipse/persistence/tools/schemaframework/FieldDefinition.html" title="class in org.eclipse.persistence.tools.schemaframework">FieldDefinition</a> field, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a> writer) |
| throws <a href="../../../../../org/eclipse/persistence/exceptions/ValidationException.html" title="class in org.eclipse.persistence.exceptions">ValidationException</a></pre> |
| <div class="block">INTERNAL: |
| Return the alter table statement to add a field to the table.</div> |
| <dl> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../../../../../org/eclipse/persistence/exceptions/ValidationException.html" title="class in org.eclipse.persistence.exceptions">ValidationException</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="addForeignKeyConstraint-java.lang.String-java.lang.String-java.lang.String-java.lang.String-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>addForeignKeyConstraint</h4> |
| <pre>public void addForeignKeyConstraint(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> sourceField, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> targetField, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> targetTable)</pre> |
| <div class="block">PUBLIC: |
| Add a foreign key constraint to the table. |
| If there is a same name foreign key constraint already, nothing will happen.</div> |
| </li> |
| </ul> |
| <a name="addUniqueKeyConstraint-java.lang.String-java.lang.String-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>addUniqueKeyConstraint</h4> |
| <pre>public void addUniqueKeyConstraint(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> sourceField)</pre> |
| <div class="block">PUBLIC: |
| Add a unique key constraint to the table.</div> |
| </li> |
| </ul> |
| <a name="addUniqueKeyConstraint-java.lang.String-java.lang.String:A-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>addUniqueKeyConstraint</h4> |
| <pre>public void addUniqueKeyConstraint(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[] sourceFields)</pre> |
| <div class="block">PUBLIC: |
| Add a unique key constraint to the table.</div> |
| </li> |
| </ul> |
| <a name="addForeignKeyConstraint-org.eclipse.persistence.tools.schemaframework.ForeignKeyConstraint-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>addForeignKeyConstraint</h4> |
| <pre>public void addForeignKeyConstraint(<a href="../../../../../org/eclipse/persistence/tools/schemaframework/ForeignKeyConstraint.html" title="class in org.eclipse.persistence.tools.schemaframework">ForeignKeyConstraint</a> foreignKey)</pre> |
| <div class="block">PUBLIC: |
| Add a foreign key constraint to the table. |
| If there is a same name foreign key constraint already, nothing will happen.</div> |
| </li> |
| </ul> |
| <a name="addUniqueKeyConstraint-org.eclipse.persistence.tools.schemaframework.UniqueKeyConstraint-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>addUniqueKeyConstraint</h4> |
| <pre>public void addUniqueKeyConstraint(<a href="../../../../../org/eclipse/persistence/tools/schemaframework/UniqueKeyConstraint.html" title="class in org.eclipse.persistence.tools.schemaframework">UniqueKeyConstraint</a> uniqueKey)</pre> |
| <div class="block">PUBLIC: |
| Add a unique key constraint to the table.</div> |
| </li> |
| </ul> |
| <a name="addIndex-org.eclipse.persistence.tools.schemaframework.IndexDefinition-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>addIndex</h4> |
| <pre>public void addIndex(<a href="../../../../../org/eclipse/persistence/tools/schemaframework/IndexDefinition.html" title="class in org.eclipse.persistence.tools.schemaframework">IndexDefinition</a> index)</pre> |
| <div class="block">PUBLIC: |
| Add an index to the table.</div> |
| </li> |
| </ul> |
| <a name="addIdentityField-java.lang.String-java.lang.Class-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>addIdentityField</h4> |
| <pre>public void addIdentityField(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> fieldName, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a> type)</pre> |
| <div class="block">PUBLIC: |
| Add the field to the table, default sizes are used. |
| Identity fields are used on Sybase for native sequencing, |
| The field must be of number type and cannot have a subsize.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>type</code> - is the Java class type corresponding to the database type.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="addIdentityField-java.lang.String-java.lang.Class-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>addIdentityField</h4> |
| <pre>public void addIdentityField(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> fieldName, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a> type, |
| int fieldSize)</pre> |
| <div class="block">PUBLIC: |
| Add the field to the table, default sizes are used. |
| Identity fields are used on Sybase for native sequencing, |
| The field must be of number type and cannot have a subsize.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>type</code> - is the Java class type corresponding to the database type.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="addPrimaryKeyField-java.lang.String-java.lang.Class-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>addPrimaryKeyField</h4> |
| <pre>public void addPrimaryKeyField(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> fieldName, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a> type)</pre> |
| <div class="block">PUBLIC: |
| Add the field to the table, default sizes are used. |
| This field is set as part of the primary key.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>type</code> - is the Java class type corresponding to the database type.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="addPrimaryKeyField-java.lang.String-java.lang.Class-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>addPrimaryKeyField</h4> |
| <pre>public void addPrimaryKeyField(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> fieldName, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a> type, |
| int fieldSize)</pre> |
| <div class="block">PUBLIC: |
| Add the field to the table, default sizes are used. |
| This field is set as part of the primary key.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>type</code> - is the Java class type corresponding to the database type.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="buildConstraintCreationWriter-org.eclipse.persistence.internal.sessions.AbstractSession-org.eclipse.persistence.tools.schemaframework.ForeignKeyConstraint-java.io.Writer-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>buildConstraintCreationWriter</h4> |
| <pre>public <a href="https://docs.oracle.com/javase/8/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a> buildConstraintCreationWriter(org.eclipse.persistence.internal.sessions.AbstractSession session, |
| <a href="../../../../../org/eclipse/persistence/tools/schemaframework/ForeignKeyConstraint.html" title="class in org.eclipse.persistence.tools.schemaframework">ForeignKeyConstraint</a> foreignKey, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a> writer) |
| throws <a href="../../../../../org/eclipse/persistence/exceptions/ValidationException.html" title="class in org.eclipse.persistence.exceptions">ValidationException</a></pre> |
| <div class="block">INTERNAL: |
| Return the alter table statement to add the constraints. |
| This is done separately from the create because of dependencies.</div> |
| <dl> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../../../../../org/eclipse/persistence/exceptions/ValidationException.html" title="class in org.eclipse.persistence.exceptions">ValidationException</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="buildConstraintDeletionWriter-org.eclipse.persistence.internal.sessions.AbstractSession-org.eclipse.persistence.tools.schemaframework.ForeignKeyConstraint-java.io.Writer-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>buildConstraintDeletionWriter</h4> |
| <pre>public <a href="https://docs.oracle.com/javase/8/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a> buildConstraintDeletionWriter(org.eclipse.persistence.internal.sessions.AbstractSession session, |
| <a href="../../../../../org/eclipse/persistence/tools/schemaframework/ForeignKeyConstraint.html" title="class in org.eclipse.persistence.tools.schemaframework">ForeignKeyConstraint</a> foreignKey, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a> writer) |
| throws <a href="../../../../../org/eclipse/persistence/exceptions/ValidationException.html" title="class in org.eclipse.persistence.exceptions">ValidationException</a></pre> |
| <div class="block">INTERNAL: |
| Return the alter table statement to drop the constraints. |
| This is done separately to allow constraints to be dropped before the tables.</div> |
| <dl> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../../../../../org/eclipse/persistence/exceptions/ValidationException.html" title="class in org.eclipse.persistence.exceptions">ValidationException</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="buildUniqueConstraintCreationWriter-org.eclipse.persistence.internal.sessions.AbstractSession-org.eclipse.persistence.tools.schemaframework.UniqueKeyConstraint-java.io.Writer-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>buildUniqueConstraintCreationWriter</h4> |
| <pre>public <a href="https://docs.oracle.com/javase/8/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a> buildUniqueConstraintCreationWriter(org.eclipse.persistence.internal.sessions.AbstractSession session, |
| <a href="../../../../../org/eclipse/persistence/tools/schemaframework/UniqueKeyConstraint.html" title="class in org.eclipse.persistence.tools.schemaframework">UniqueKeyConstraint</a> uniqueKey, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a> writer) |
| throws <a href="../../../../../org/eclipse/persistence/exceptions/ValidationException.html" title="class in org.eclipse.persistence.exceptions">ValidationException</a></pre> |
| <div class="block">INTERNAL: |
| Return the alter table statement to add the constraints. |
| This is done separately from the create because of dependencies.</div> |
| <dl> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../../../../../org/eclipse/persistence/exceptions/ValidationException.html" title="class in org.eclipse.persistence.exceptions">ValidationException</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="buildUniqueConstraintDeletionWriter-org.eclipse.persistence.internal.sessions.AbstractSession-org.eclipse.persistence.tools.schemaframework.UniqueKeyConstraint-java.io.Writer-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>buildUniqueConstraintDeletionWriter</h4> |
| <pre>public <a href="https://docs.oracle.com/javase/8/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a> buildUniqueConstraintDeletionWriter(org.eclipse.persistence.internal.sessions.AbstractSession session, |
| <a href="../../../../../org/eclipse/persistence/tools/schemaframework/UniqueKeyConstraint.html" title="class in org.eclipse.persistence.tools.schemaframework">UniqueKeyConstraint</a> uniqueKey, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a> writer) |
| throws <a href="../../../../../org/eclipse/persistence/exceptions/ValidationException.html" title="class in org.eclipse.persistence.exceptions">ValidationException</a></pre> |
| <div class="block">INTERNAL: |
| Return the alter table statement to drop the constraints. |
| This is done separately to allow constraints to be dropped before the tables.</div> |
| <dl> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../../../../../org/eclipse/persistence/exceptions/ValidationException.html" title="class in org.eclipse.persistence.exceptions">ValidationException</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="buildIndex-org.eclipse.persistence.internal.sessions.AbstractSession-java.lang.String-java.util.List-boolean-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>buildIndex</h4> |
| <pre>public <a href="../../../../../org/eclipse/persistence/tools/schemaframework/IndexDefinition.html" title="class in org.eclipse.persistence.tools.schemaframework">IndexDefinition</a> buildIndex(org.eclipse.persistence.internal.sessions.AbstractSession session, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> key, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>> columnNames, |
| boolean isUniqueSetOnField)</pre> |
| <div class="block">INTERNAL: |
| Return the index creation statement.</div> |
| </li> |
| </ul> |
| <a name="buildIndexDeletionWriter-org.eclipse.persistence.internal.sessions.AbstractSession-java.lang.String-java.io.Writer-boolean-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>buildIndexDeletionWriter</h4> |
| <pre>public <a href="https://docs.oracle.com/javase/8/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a> buildIndexDeletionWriter(org.eclipse.persistence.internal.sessions.AbstractSession session, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> key, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a> writer, |
| boolean isUniqueSetOnField)</pre> |
| <div class="block">INTERNAL: |
| Return the index drop statement.</div> |
| </li> |
| </ul> |
| <a name="getCreationPrefix--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getCreationPrefix</h4> |
| <pre>public <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getCreationPrefix()</pre> |
| <div class="block">INTERNAL: |
| Return the beginning of the sql create statement - the part before the name. |
| Unless temp table is created should be "CREATE TABLE "</div> |
| </li> |
| </ul> |
| <a name="setCreationPrefix-java.lang.String-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setCreationPrefix</h4> |
| <pre>public void setCreationPrefix(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> creationPrefix)</pre> |
| <div class="block">INTERNAL: |
| Set the beginning of the sql create statement - the part before the name. |
| Use to create temp. table.</div> |
| </li> |
| </ul> |
| <a name="getCreationSuffix--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getCreationSuffix</h4> |
| <pre>public <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getCreationSuffix()</pre> |
| <div class="block">INTERNAL: |
| Return the end of the sql create statement - the part after the field list. |
| Unless temp table is created should be empty.</div> |
| </li> |
| </ul> |
| <a name="getDatabaseSchema--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getDatabaseSchema</h4> |
| <pre>public <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getDatabaseSchema()</pre> |
| <div class="block">PUBLIC: |
| Return the schema associated with this table.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="../../../../../org/eclipse/persistence/tools/schemaframework/DatabaseObjectDefinition.html#getDatabaseSchema--">getDatabaseSchema</a></code> in class <code><a href="../../../../../org/eclipse/persistence/tools/schemaframework/DatabaseObjectDefinition.html" title="class in org.eclipse.persistence.tools.schemaframework">DatabaseObjectDefinition</a></code></dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../../org/eclipse/persistence/tools/schemaframework/TableDefinition.html" title="class in org.eclipse.persistence.tools.schemaframework"><code>TableDefinition</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setCreationSuffix-java.lang.String-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setCreationSuffix</h4> |
| <pre>public void setCreationSuffix(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> creationSuffix)</pre> |
| <div class="block">INTERNAL: |
| Set the end of the sql create statement - the part after the field list.</div> |
| </li> |
| </ul> |
| <a name="buildCreationWriter-org.eclipse.persistence.internal.sessions.AbstractSession-java.io.Writer-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>buildCreationWriter</h4> |
| <pre>public <a href="https://docs.oracle.com/javase/8/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a> buildCreationWriter(org.eclipse.persistence.internal.sessions.AbstractSession session, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a> writer) |
| throws <a href="../../../../../org/eclipse/persistence/exceptions/ValidationException.html" title="class in org.eclipse.persistence.exceptions">ValidationException</a></pre> |
| <div class="block">INTERNAL: |
| Return the create table statement.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../org/eclipse/persistence/tools/schemaframework/DatabaseObjectDefinition.html#buildCreationWriter-org.eclipse.persistence.internal.sessions.AbstractSession-java.io.Writer-">buildCreationWriter</a></code> in class <code><a href="../../../../../org/eclipse/persistence/tools/schemaframework/DatabaseObjectDefinition.html" title="class in org.eclipse.persistence.tools.schemaframework">DatabaseObjectDefinition</a></code></dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../../../../../org/eclipse/persistence/exceptions/ValidationException.html" title="class in org.eclipse.persistence.exceptions">ValidationException</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="buildDeletionWriter-org.eclipse.persistence.internal.sessions.AbstractSession-java.io.Writer-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>buildDeletionWriter</h4> |
| <pre>public <a href="https://docs.oracle.com/javase/8/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a> buildDeletionWriter(org.eclipse.persistence.internal.sessions.AbstractSession session, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a> writer) |
| throws <a href="../../../../../org/eclipse/persistence/exceptions/ValidationException.html" title="class in org.eclipse.persistence.exceptions">ValidationException</a></pre> |
| <div class="block">INTERNAL: |
| Return the drop table statement.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../org/eclipse/persistence/tools/schemaframework/DatabaseObjectDefinition.html#buildDeletionWriter-org.eclipse.persistence.internal.sessions.AbstractSession-java.io.Writer-">buildDeletionWriter</a></code> in class <code><a href="../../../../../org/eclipse/persistence/tools/schemaframework/DatabaseObjectDefinition.html" title="class in org.eclipse.persistence.tools.schemaframework">DatabaseObjectDefinition</a></code></dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../../../../../org/eclipse/persistence/exceptions/ValidationException.html" title="class in org.eclipse.persistence.exceptions">ValidationException</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="buildVPDCreationPolicyWriter-org.eclipse.persistence.internal.sessions.AbstractSession-java.io.Writer-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>buildVPDCreationPolicyWriter</h4> |
| <pre>public <a href="https://docs.oracle.com/javase/8/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a> buildVPDCreationPolicyWriter(org.eclipse.persistence.internal.sessions.AbstractSession session, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a> writer)</pre> |
| <div class="block">INTERNAL:</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="../../../../../org/eclipse/persistence/tools/schemaframework/DatabaseObjectDefinition.html#buildVPDCreationPolicyWriter-org.eclipse.persistence.internal.sessions.AbstractSession-java.io.Writer-">buildVPDCreationPolicyWriter</a></code> in class <code><a href="../../../../../org/eclipse/persistence/tools/schemaframework/DatabaseObjectDefinition.html" title="class in org.eclipse.persistence.tools.schemaframework">DatabaseObjectDefinition</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="buildVPDCreationFunctionWriter-org.eclipse.persistence.internal.sessions.AbstractSession-java.io.Writer-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>buildVPDCreationFunctionWriter</h4> |
| <pre>public <a href="https://docs.oracle.com/javase/8/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a> buildVPDCreationFunctionWriter(org.eclipse.persistence.internal.sessions.AbstractSession session, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a> writer)</pre> |
| <div class="block">INTERNAL:</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="../../../../../org/eclipse/persistence/tools/schemaframework/DatabaseObjectDefinition.html#buildVPDCreationFunctionWriter-org.eclipse.persistence.internal.sessions.AbstractSession-java.io.Writer-">buildVPDCreationFunctionWriter</a></code> in class <code><a href="../../../../../org/eclipse/persistence/tools/schemaframework/DatabaseObjectDefinition.html" title="class in org.eclipse.persistence.tools.schemaframework">DatabaseObjectDefinition</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="buildDatabaseSchemaCreationWriter-org.eclipse.persistence.internal.sessions.AbstractSession-java.io.Writer-java.util.Set-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>buildDatabaseSchemaCreationWriter</h4> |
| <pre>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a> buildDatabaseSchemaCreationWriter(org.eclipse.persistence.internal.sessions.AbstractSession session, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a> writer, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>> createdDatabaseSchemas)</pre> |
| <div class="block">INTERNAL: |
| Build the create schema DDL.</div> |
| </li> |
| </ul> |
| <a name="buildDatabaseSchemaDeletionWriter-org.eclipse.persistence.internal.sessions.AbstractSession-java.io.Writer-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>buildDatabaseSchemaDeletionWriter</h4> |
| <pre>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a> buildDatabaseSchemaDeletionWriter(org.eclipse.persistence.internal.sessions.AbstractSession session, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a> writer)</pre> |
| <div class="block">INTERNAL: |
| Build the drop schema DDL.</div> |
| </li> |
| </ul> |
| <a name="buildVPDDeletionWriter-org.eclipse.persistence.internal.sessions.AbstractSession-java.io.Writer-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>buildVPDDeletionWriter</h4> |
| <pre>public <a href="https://docs.oracle.com/javase/8/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a> buildVPDDeletionWriter(org.eclipse.persistence.internal.sessions.AbstractSession session, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a> writer)</pre> |
| <div class="block">INTERNAL:</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="../../../../../org/eclipse/persistence/tools/schemaframework/DatabaseObjectDefinition.html#buildVPDDeletionWriter-org.eclipse.persistence.internal.sessions.AbstractSession-java.io.Writer-">buildVPDDeletionWriter</a></code> in class <code><a href="../../../../../org/eclipse/persistence/tools/schemaframework/DatabaseObjectDefinition.html" title="class in org.eclipse.persistence.tools.schemaframework">DatabaseObjectDefinition</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="buildFieldTypes-org.eclipse.persistence.internal.sessions.AbstractSession-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>buildFieldTypes</h4> |
| <pre>protected void buildFieldTypes(org.eclipse.persistence.internal.sessions.AbstractSession session)</pre> |
| <div class="block">INTERNAL: |
| Build the foreign key constraints.</div> |
| </li> |
| </ul> |
| <a name="buildForeignKeyConstraint-org.eclipse.persistence.tools.schemaframework.FieldDefinition-org.eclipse.persistence.internal.databaseaccess.DatabasePlatform-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>buildForeignKeyConstraint</h4> |
| <pre>protected <a href="../../../../../org/eclipse/persistence/tools/schemaframework/ForeignKeyConstraint.html" title="class in org.eclipse.persistence.tools.schemaframework">ForeignKeyConstraint</a> buildForeignKeyConstraint(<a href="../../../../../org/eclipse/persistence/tools/schemaframework/FieldDefinition.html" title="class in org.eclipse.persistence.tools.schemaframework">FieldDefinition</a> field, |
| org.eclipse.persistence.internal.databaseaccess.DatabasePlatform platform)</pre> |
| <div class="block">Build a foreign key constraint using FieldDefinition.getForeignKeyFieldName().</div> |
| </li> |
| </ul> |
| <a name="buildForeignKeyConstraint-java.util.List-java.util.List-org.eclipse.persistence.tools.schemaframework.TableDefinition-org.eclipse.persistence.internal.databaseaccess.DatabasePlatform-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>buildForeignKeyConstraint</h4> |
| <pre>protected <a href="../../../../../org/eclipse/persistence/tools/schemaframework/ForeignKeyConstraint.html" title="class in org.eclipse.persistence.tools.schemaframework">ForeignKeyConstraint</a> buildForeignKeyConstraint(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>> fkFieldNames, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>> pkFieldNames, |
| <a href="../../../../../org/eclipse/persistence/tools/schemaframework/TableDefinition.html" title="class in org.eclipse.persistence.tools.schemaframework">TableDefinition</a> targetTable, |
| org.eclipse.persistence.internal.databaseaccess.DatabasePlatform platform)</pre> |
| <div class="block">Build a foreign key constraint.</div> |
| </li> |
| </ul> |
| <a name="buildForeignKeyConstraintName-java.lang.String-java.lang.String-int-org.eclipse.persistence.internal.databaseaccess.DatabasePlatform-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>buildForeignKeyConstraintName</h4> |
| <pre>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> buildForeignKeyConstraintName(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> tableName, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> fieldName, |
| int maximumNameLength, |
| org.eclipse.persistence.internal.databaseaccess.DatabasePlatform platform)</pre> |
| <div class="block">Return foreign key constraint name built from the table and field name with the specified maximum length. To |
| make the name short enough we |
| 1. Drop the "FK_" prefix. |
| 2. Drop the underscore characters if any. |
| 3. Drop the vowels from the table and field name. |
| 4. Truncate the table name to zero length if necessary.</div> |
| </li> |
| </ul> |
| <a name="buildUniqueKeyConstraint-java.lang.String-java.util.List-int-org.eclipse.persistence.internal.databaseaccess.DatabasePlatform-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>buildUniqueKeyConstraint</h4> |
| <pre>protected <a href="../../../../../org/eclipse/persistence/tools/schemaframework/UniqueKeyConstraint.html" title="class in org.eclipse.persistence.tools.schemaframework">UniqueKeyConstraint</a> buildUniqueKeyConstraint(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>> fieldNames, |
| int serialNumber, |
| org.eclipse.persistence.internal.databaseaccess.DatabasePlatform platform)</pre> |
| </li> |
| </ul> |
| <a name="buildUniqueKeyConstraintName-java.lang.String-int-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>buildUniqueKeyConstraintName</h4> |
| <pre>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> buildUniqueKeyConstraintName(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> tableName, |
| int serialNumber, |
| int maximumNameLength)</pre> |
| <div class="block">Return unique key constraint name built from the table name and sequence |
| number with the specified maximum length. To make the name short enough we |
| 1. Drop the "UNQ_" prefix. |
| 2. Drop the underscore characters if any. |
| 3. Drop the vowels from the table name. |
| 4. Truncate the table name to zero length if necessary.</div> |
| </li> |
| </ul> |
| <a name="buildIndexName-java.lang.String-java.lang.String-java.lang.String-int-org.eclipse.persistence.internal.databaseaccess.DatabasePlatform-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>buildIndexName</h4> |
| <pre>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> buildIndexName(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> tableName, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> key, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> indexPrefix, |
| int maximumNameLength, |
| org.eclipse.persistence.internal.databaseaccess.DatabasePlatform platform)</pre> |
| <div class="block">Return key constraint name built from the table and key name with the |
| specified maximum length and index prefix. If indexPrefix is null, |
| "IX_" is used for prefix. To make the name short enough we: |
| |
| <pre> |
| 1. Drop the prefix. |
| 2. Drop the underscore characters if any. |
| 3. Drop the vowels from the table and key name. |
| 4. Truncate the table name to zero length if necessary. |
| </pre></div> |
| </li> |
| </ul> |
| <a name="clone--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>clone</h4> |
| <pre>public <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> clone()</pre> |
| <div class="block">PUBLIC: |
| Performs a deep copy of this table definition.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="../../../../../org/eclipse/persistence/tools/schemaframework/DatabaseObjectDefinition.html#clone--">clone</a></code> in class <code><a href="../../../../../org/eclipse/persistence/tools/schemaframework/DatabaseObjectDefinition.html" title="class in org.eclipse.persistence.tools.schemaframework">DatabaseObjectDefinition</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="createConstraints-org.eclipse.persistence.internal.sessions.AbstractSession-java.io.Writer-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createConstraints</h4> |
| <pre>public void createConstraints(org.eclipse.persistence.internal.sessions.AbstractSession session, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a> schemaWriter) |
| throws <a href="../../../../../org/eclipse/persistence/exceptions/EclipseLinkException.html" title="class in org.eclipse.persistence.exceptions">EclipseLinkException</a></pre> |
| <div class="block">INTERNAL: |
| Execute the SQL alter table constraint creation string.</div> |
| <dl> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../../../../../org/eclipse/persistence/exceptions/EclipseLinkException.html" title="class in org.eclipse.persistence.exceptions">EclipseLinkException</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="createConstraintsOnDatabase-org.eclipse.persistence.internal.sessions.AbstractSession-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createConstraintsOnDatabase</h4> |
| <pre>public void createConstraintsOnDatabase(org.eclipse.persistence.internal.sessions.AbstractSession session) |
| throws <a href="../../../../../org/eclipse/persistence/exceptions/EclipseLinkException.html" title="class in org.eclipse.persistence.exceptions">EclipseLinkException</a></pre> |
| <div class="block">INTERNAL: |
| Execute the SQL alter table constraint creation string.</div> |
| <dl> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../../../../../org/eclipse/persistence/exceptions/EclipseLinkException.html" title="class in org.eclipse.persistence.exceptions">EclipseLinkException</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="createDatabaseSchema-org.eclipse.persistence.internal.sessions.AbstractSession-java.io.Writer-java.util.Set-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createDatabaseSchema</h4> |
| <pre>public void createDatabaseSchema(org.eclipse.persistence.internal.sessions.AbstractSession session, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a> writer, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>> createdDatabaseSchemas) |
| throws <a href="../../../../../org/eclipse/persistence/exceptions/EclipseLinkException.html" title="class in org.eclipse.persistence.exceptions">EclipseLinkException</a></pre> |
| <div class="block">INTERNAL: |
| Execute the DDL to create the database schema for this object.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="../../../../../org/eclipse/persistence/tools/schemaframework/DatabaseObjectDefinition.html#createDatabaseSchema-org.eclipse.persistence.internal.sessions.AbstractSession-java.io.Writer-java.util.Set-">createDatabaseSchema</a></code> in class <code><a href="../../../../../org/eclipse/persistence/tools/schemaframework/DatabaseObjectDefinition.html" title="class in org.eclipse.persistence.tools.schemaframework">DatabaseObjectDefinition</a></code></dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../../../../../org/eclipse/persistence/exceptions/EclipseLinkException.html" title="class in org.eclipse.persistence.exceptions">EclipseLinkException</a></code></dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../../org/eclipse/persistence/tools/schemaframework/TableDefinition.html" title="class in org.eclipse.persistence.tools.schemaframework"><code>TableDefinition</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="createDatabaseSchemaOnDatabase-org.eclipse.persistence.internal.sessions.AbstractSession-java.util.Set-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createDatabaseSchemaOnDatabase</h4> |
| <pre>public void createDatabaseSchemaOnDatabase(org.eclipse.persistence.internal.sessions.AbstractSession session, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>> createdDatabaseSchemas) |
| throws <a href="../../../../../org/eclipse/persistence/exceptions/EclipseLinkException.html" title="class in org.eclipse.persistence.exceptions">EclipseLinkException</a></pre> |
| <div class="block">INTERNAL: |
| Execute the DDL to create the database schema for this object.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="../../../../../org/eclipse/persistence/tools/schemaframework/DatabaseObjectDefinition.html#createDatabaseSchemaOnDatabase-org.eclipse.persistence.internal.sessions.AbstractSession-java.util.Set-">createDatabaseSchemaOnDatabase</a></code> in class <code><a href="../../../../../org/eclipse/persistence/tools/schemaframework/DatabaseObjectDefinition.html" title="class in org.eclipse.persistence.tools.schemaframework">DatabaseObjectDefinition</a></code></dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../../../../../org/eclipse/persistence/exceptions/EclipseLinkException.html" title="class in org.eclipse.persistence.exceptions">EclipseLinkException</a></code></dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../../org/eclipse/persistence/tools/schemaframework/TableDefinition.html" title="class in org.eclipse.persistence.tools.schemaframework"><code>TableDefinition</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="createIndexes-org.eclipse.persistence.internal.sessions.AbstractSession-java.io.Writer-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createIndexes</h4> |
| <pre>public void createIndexes(org.eclipse.persistence.internal.sessions.AbstractSession session, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a> writer)</pre> |
| <div class="block">INTERNAL:<br> |
| Write the SQL create index string to create index if |
| passed a writer, else delegate to a method that executes the string on |
| the database.</div> |
| <dl> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../../../../../org/eclipse/persistence/exceptions/ValidationException.html" title="class in org.eclipse.persistence.exceptions">ValidationException</a></code> - wraps any IOException from the writer</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="writeLineSeperator-org.eclipse.persistence.internal.sessions.AbstractSession-java.io.Writer-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>writeLineSeperator</h4> |
| <pre>public void writeLineSeperator(org.eclipse.persistence.internal.sessions.AbstractSession session, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a> writer)</pre> |
| </li> |
| </ul> |
| <a name="deletionStringFor-org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>deletionStringFor</h4> |
| <pre>public <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> deletionStringFor(org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor accessor)</pre> |
| <div class="block">INTERNAL: |
| Return the delete SQL string.</div> |
| </li> |
| </ul> |
| <a name="dropDatabaseSchema-org.eclipse.persistence.internal.sessions.AbstractSession-java.io.Writer-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>dropDatabaseSchema</h4> |
| <pre>public void dropDatabaseSchema(org.eclipse.persistence.internal.sessions.AbstractSession session, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a> writer) |
| throws <a href="../../../../../org/eclipse/persistence/exceptions/EclipseLinkException.html" title="class in org.eclipse.persistence.exceptions">EclipseLinkException</a></pre> |
| <div class="block">INTERNAL: |
| Execute the DDL to drop the database schema for this object.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="../../../../../org/eclipse/persistence/tools/schemaframework/DatabaseObjectDefinition.html#dropDatabaseSchema-org.eclipse.persistence.internal.sessions.AbstractSession-java.io.Writer-">dropDatabaseSchema</a></code> in class <code><a href="../../../../../org/eclipse/persistence/tools/schemaframework/DatabaseObjectDefinition.html" title="class in org.eclipse.persistence.tools.schemaframework">DatabaseObjectDefinition</a></code></dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../../../../../org/eclipse/persistence/exceptions/EclipseLinkException.html" title="class in org.eclipse.persistence.exceptions">EclipseLinkException</a></code></dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../../org/eclipse/persistence/tools/schemaframework/TableDefinition.html" title="class in org.eclipse.persistence.tools.schemaframework"><code>TableDefinition</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="dropDatabaseSchemaOnDatabase-org.eclipse.persistence.internal.sessions.AbstractSession-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>dropDatabaseSchemaOnDatabase</h4> |
| <pre>public void dropDatabaseSchemaOnDatabase(org.eclipse.persistence.internal.sessions.AbstractSession session) |
| throws <a href="../../../../../org/eclipse/persistence/exceptions/EclipseLinkException.html" title="class in org.eclipse.persistence.exceptions">EclipseLinkException</a></pre> |
| <div class="block">INTERNAL: |
| Execute the DDL to drop the database schema for this object.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="../../../../../org/eclipse/persistence/tools/schemaframework/DatabaseObjectDefinition.html#dropDatabaseSchemaOnDatabase-org.eclipse.persistence.internal.sessions.AbstractSession-">dropDatabaseSchemaOnDatabase</a></code> in class <code><a href="../../../../../org/eclipse/persistence/tools/schemaframework/DatabaseObjectDefinition.html" title="class in org.eclipse.persistence.tools.schemaframework">DatabaseObjectDefinition</a></code></dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../../../../../org/eclipse/persistence/exceptions/EclipseLinkException.html" title="class in org.eclipse.persistence.exceptions">EclipseLinkException</a></code></dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../../org/eclipse/persistence/tools/schemaframework/TableDefinition.html" title="class in org.eclipse.persistence.tools.schemaframework"><code>TableDefinition</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="dropConstraints-org.eclipse.persistence.internal.sessions.AbstractSession-java.io.Writer-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>dropConstraints</h4> |
| <pre>public void dropConstraints(org.eclipse.persistence.internal.sessions.AbstractSession session, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a> schemaWriter) |
| throws <a href="../../../../../org/eclipse/persistence/exceptions/EclipseLinkException.html" title="class in org.eclipse.persistence.exceptions">EclipseLinkException</a></pre> |
| <div class="block">INTERNAL: |
| Execute the SQL alter table constraint creation string.</div> |
| <dl> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../../../../../org/eclipse/persistence/exceptions/EclipseLinkException.html" title="class in org.eclipse.persistence.exceptions">EclipseLinkException</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="dropConstraintsOnDatabase-org.eclipse.persistence.internal.sessions.AbstractSession-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>dropConstraintsOnDatabase</h4> |
| <pre>public void dropConstraintsOnDatabase(org.eclipse.persistence.internal.sessions.AbstractSession session) |
| throws <a href="../../../../../org/eclipse/persistence/exceptions/EclipseLinkException.html" title="class in org.eclipse.persistence.exceptions">EclipseLinkException</a></pre> |
| <div class="block">INTERNAL: |
| Execute the SQL alter table constraint creation string. Exceptions are caught and masked so that all |
| the foreign keys are dropped (even if they don't exist).</div> |
| <dl> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../../../../../org/eclipse/persistence/exceptions/EclipseLinkException.html" title="class in org.eclipse.persistence.exceptions">EclipseLinkException</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="dropIndexes-org.eclipse.persistence.internal.sessions.AbstractSession-java.io.Writer-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>dropIndexes</h4> |
| <pre>public void dropIndexes(org.eclipse.persistence.internal.sessions.AbstractSession session, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a> writer)</pre> |
| <div class="block">INTERNAL:<br> |
| Write the SQL drop index string to drop indexes if passed a writer, |
| else delegate to a method that executes the string on the database.</div> |
| <dl> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../../../../../org/eclipse/persistence/exceptions/ValidationException.html" title="class in org.eclipse.persistence.exceptions">ValidationException</a></code> - wraps any IOException from the writer</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getForeignKeyMap--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getForeignKeyMap</h4> |
| <pre>public <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="../../../../../org/eclipse/persistence/tools/schemaframework/ForeignKeyConstraint.html" title="class in org.eclipse.persistence.tools.schemaframework">ForeignKeyConstraint</a>> getForeignKeyMap()</pre> |
| <div class="block">INTERNAL:</div> |
| </li> |
| </ul> |
| <a name="setForeignKeyMap-java.util.Map-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setForeignKeyMap</h4> |
| <pre>public void setForeignKeyMap(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="../../../../../org/eclipse/persistence/tools/schemaframework/ForeignKeyConstraint.html" title="class in org.eclipse.persistence.tools.schemaframework">ForeignKeyConstraint</a>> foreignKeyMap)</pre> |
| <div class="block">INTERNAL:</div> |
| </li> |
| </ul> |
| <a name="getField-java.lang.String-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getField</h4> |
| <pre>public <a href="../../../../../org/eclipse/persistence/tools/schemaframework/FieldDefinition.html" title="class in org.eclipse.persistence.tools.schemaframework">FieldDefinition</a> getField(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> fieldName)</pre> |
| <div class="block">PUBLIC: |
| Return the field the corresponds to the name.</div> |
| </li> |
| </ul> |
| <a name="getFields--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getFields</h4> |
| <pre>public <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../org/eclipse/persistence/tools/schemaframework/FieldDefinition.html" title="class in org.eclipse.persistence.tools.schemaframework">FieldDefinition</a>> getFields()</pre> |
| <div class="block">PUBLIC:</div> |
| </li> |
| </ul> |
| <a name="getForeignKeys--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getForeignKeys</h4> |
| <pre>public <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><<a href="../../../../../org/eclipse/persistence/tools/schemaframework/ForeignKeyConstraint.html" title="class in org.eclipse.persistence.tools.schemaframework">ForeignKeyConstraint</a>> getForeignKeys()</pre> |
| <div class="block">PUBLIC: |
| Returns the ForeignKeyConstraint list.</div> |
| </li> |
| </ul> |
| <a name="getUniqueKeys--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getUniqueKeys</h4> |
| <pre>public <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../org/eclipse/persistence/tools/schemaframework/UniqueKeyConstraint.html" title="class in org.eclipse.persistence.tools.schemaframework">UniqueKeyConstraint</a>> getUniqueKeys()</pre> |
| <div class="block">PUBLIC:</div> |
| </li> |
| </ul> |
| <a name="setIndexes-java.util.List-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setIndexes</h4> |
| <pre>public void setIndexes(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../org/eclipse/persistence/tools/schemaframework/IndexDefinition.html" title="class in org.eclipse.persistence.tools.schemaframework">IndexDefinition</a>> indexes)</pre> |
| <div class="block">PUBLIC:</div> |
| </li> |
| </ul> |
| <a name="setCreateVPDCalls-boolean-java.lang.String-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setCreateVPDCalls</h4> |
| <pre>public void setCreateVPDCalls(boolean createVPDCalls, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> tenantFieldName)</pre> |
| <div class="block">PUBLIC:</div> |
| </li> |
| </ul> |
| <a name="getIndexes--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getIndexes</h4> |
| <pre>public <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../org/eclipse/persistence/tools/schemaframework/IndexDefinition.html" title="class in org.eclipse.persistence.tools.schemaframework">IndexDefinition</a>> getIndexes()</pre> |
| <div class="block">PUBLIC:</div> |
| </li> |
| </ul> |
| <a name="getPrimaryKeyFieldNames--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getPrimaryKeyFieldNames</h4> |
| <pre>public <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>> getPrimaryKeyFieldNames()</pre> |
| <div class="block">PUBLIC:</div> |
| </li> |
| </ul> |
| <a name="postCreateObject-org.eclipse.persistence.internal.sessions.AbstractSession-java.io.Writer-boolean-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>postCreateObject</h4> |
| <pre>public void postCreateObject(org.eclipse.persistence.internal.sessions.AbstractSession session, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a> createSchemaWriter, |
| boolean createSQLFiles)</pre> |
| <div class="block">Execute any statements required after the creation of the object</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="../../../../../org/eclipse/persistence/tools/schemaframework/DatabaseObjectDefinition.html#postCreateObject-org.eclipse.persistence.internal.sessions.AbstractSession-java.io.Writer-boolean-">postCreateObject</a></code> in class <code><a href="../../../../../org/eclipse/persistence/tools/schemaframework/DatabaseObjectDefinition.html" title="class in org.eclipse.persistence.tools.schemaframework">DatabaseObjectDefinition</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>session</code> - </dd> |
| <dd><code>createSchemaWriter</code> - </dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="preDropObject-org.eclipse.persistence.internal.sessions.AbstractSession-java.io.Writer-boolean-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>preDropObject</h4> |
| <pre>public void preDropObject(org.eclipse.persistence.internal.sessions.AbstractSession session, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a> dropSchemaWriter, |
| boolean createSQLFiles)</pre> |
| <div class="block">Execute any statements required before the deletion of the object</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="../../../../../org/eclipse/persistence/tools/schemaframework/DatabaseObjectDefinition.html#preDropObject-org.eclipse.persistence.internal.sessions.AbstractSession-java.io.Writer-boolean-">preDropObject</a></code> in class <code><a href="../../../../../org/eclipse/persistence/tools/schemaframework/DatabaseObjectDefinition.html" title="class in org.eclipse.persistence.tools.schemaframework">DatabaseObjectDefinition</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>session</code> - </dd> |
| <dd><code>dropSchemaWriter</code> - </dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setFields-java.util.List-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setFields</h4> |
| <pre>public void setFields(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../org/eclipse/persistence/tools/schemaframework/FieldDefinition.html" title="class in org.eclipse.persistence.tools.schemaframework">FieldDefinition</a>> fields)</pre> |
| <div class="block">PUBLIC:</div> |
| </li> |
| </ul> |
| <a name="setForeignKeys-java.util.List-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setForeignKeys</h4> |
| <pre>public void setForeignKeys(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../org/eclipse/persistence/tools/schemaframework/ForeignKeyConstraint.html" title="class in org.eclipse.persistence.tools.schemaframework">ForeignKeyConstraint</a>> foreignKeys)</pre> |
| <div class="block">PUBLIC: |
| Set the ForeignKeyConstraint list. |
| If the list contains the same name foreign key constraints, only the first one of that name will be added.</div> |
| </li> |
| </ul> |
| <a name="setUniqueKeys-java.util.List-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setUniqueKeys</h4> |
| <pre>public void setUniqueKeys(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../org/eclipse/persistence/tools/schemaframework/UniqueKeyConstraint.html" title="class in org.eclipse.persistence.tools.schemaframework">UniqueKeyConstraint</a>> uniqueKeys)</pre> |
| <div class="block">PUBLIC:</div> |
| </li> |
| </ul> |
| <a name="setUserDefinedForeignKeyConstraints-java.util.Map-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setUserDefinedForeignKeyConstraints</h4> |
| <pre>public void setUserDefinedForeignKeyConstraints(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="../../../../../org/eclipse/persistence/tools/schemaframework/ForeignKeyConstraint.html" title="class in org.eclipse.persistence.tools.schemaframework">ForeignKeyConstraint</a>> foreignKeyConstraints)</pre> |
| <div class="block">PUBLIC: |
| Set the foreign key constraints for this table.</div> |
| </li> |
| </ul> |
| <a name="shouldCreateDatabaseSchema-java.util.Set-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>shouldCreateDatabaseSchema</h4> |
| <pre>public boolean shouldCreateDatabaseSchema(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>> createdDatabaseSchemas)</pre> |
| <div class="block">If this table has a schema (and catalog specified) make sure it is |
| created.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="../../../../../org/eclipse/persistence/tools/schemaframework/DatabaseObjectDefinition.html#shouldCreateDatabaseSchema-java.util.Set-">shouldCreateDatabaseSchema</a></code> in class <code><a href="../../../../../org/eclipse/persistence/tools/schemaframework/DatabaseObjectDefinition.html" title="class in org.eclipse.persistence.tools.schemaframework">DatabaseObjectDefinition</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="shouldCreateVPDCalls-org.eclipse.persistence.internal.sessions.AbstractSession-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>shouldCreateVPDCalls</h4> |
| <pre>public boolean shouldCreateVPDCalls(org.eclipse.persistence.internal.sessions.AbstractSession session)</pre> |
| <div class="block">INTERNAL: |
| Subclasses who care should override this method.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="../../../../../org/eclipse/persistence/tools/schemaframework/DatabaseObjectDefinition.html#shouldCreateVPDCalls-org.eclipse.persistence.internal.sessions.AbstractSession-">shouldCreateVPDCalls</a></code> in class <code><a href="../../../../../org/eclipse/persistence/tools/schemaframework/DatabaseObjectDefinition.html" title="class in org.eclipse.persistence.tools.schemaframework">DatabaseObjectDefinition</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setCreateSQLFiles-boolean-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setCreateSQLFiles</h4> |
| <pre>public void setCreateSQLFiles(boolean genFlag)</pre> |
| <div class="block">PUBLIC:</div> |
| </li> |
| </ul> |
| <a name="getTable--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getTable</h4> |
| <pre>public org.eclipse.persistence.internal.helper.DatabaseTable getTable()</pre> |
| </li> |
| </ul> |
| <a name="setTable-org.eclipse.persistence.internal.helper.DatabaseTable-"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>setTable</h4> |
| <pre>public void setTable(org.eclipse.persistence.internal.helper.DatabaseTable table)</pre> |
| </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/tools/schemaframework/TableCreator.html" title="class in org.eclipse.persistence.tools.schemaframework"><span class="typeNameLink">Prev Class</span></a></li> |
| <li><a href="../../../../../org/eclipse/persistence/tools/schemaframework/TableSequenceDefinition.html" title="class in org.eclipse.persistence.tools.schemaframework"><span class="typeNameLink">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../../index.html?org/eclipse/persistence/tools/schemaframework/TableDefinition.html" target="_top">Frames</a></li> |
| <li><a href="TableDefinition.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> |