blob: 128f4c80abfd166763cce64340bff18a7e5db1bf [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="it">
<head>
<!-- Generated by javadoc (1.8.0_171) on Thu Jun 14 10:06:09 CEST 2018 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ReverseCustomizer (OpenJPA Parent POM 3.0.0 API)</title>
<meta name="date" content="2018-06-14">
<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="ReverseCustomizer (OpenJPA Parent POM 3.0.0 API)";
}
}
catch(err) {
}
//-->
var methods = {"i0":6,"i1":6,"i2":6,"i3":6,"i4":6,"i5":6,"i6":6,"i7":6,"i8":6,"i9":6,"i10":6,"i11":6,"i12":6};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract 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="class-use/ReverseCustomizer.html">Use</a></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>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../../org/apache/openjpa/jdbc/meta/RelationId.html" title="interface in org.apache.openjpa.jdbc.meta"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../../org/apache/openjpa/jdbc/meta/ReverseMappingTool.html" title="class in org.apache.openjpa.jdbc.meta"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/apache/openjpa/jdbc/meta/ReverseCustomizer.html" target="_top">Frames</a></li>
<li><a href="ReverseCustomizer.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../allclasses-noframe.html">All&nbsp;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:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</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.apache.openjpa.jdbc.meta</div>
<h2 title="Interface ReverseCustomizer" class="title">Interface ReverseCustomizer</h2>
</div>
<div class="contentContainer">
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Superinterfaces:</dt>
<dd><a href="../../../../../org/apache/openjpa/lib/util/Closeable.html" title="interface in org.apache.openjpa.lib.util">Closeable</a></dd>
</dl>
<dl>
<dt>All Known Implementing Classes:</dt>
<dd><a href="../../../../../org/apache/openjpa/jdbc/meta/PropertiesReverseCustomizer.html" title="class in org.apache.openjpa.jdbc.meta">PropertiesReverseCustomizer</a></dd>
</dl>
<hr>
<br>
<pre>public interface <span class="typeNameLabel">ReverseCustomizer</span>
extends <a href="../../../../../org/apache/openjpa/lib/util/Closeable.html" title="interface in org.apache.openjpa.lib.util">Closeable</a></pre>
<div class="block">Plugin in interface to customize the output of the
<a href="../../../../../org/apache/openjpa/jdbc/meta/ReverseMappingTool.html" title="class in org.apache.openjpa.jdbc.meta"><code>ReverseMappingTool</code></a>.</div>
<dl>
<dt><span class="simpleTagLabel">Author:</span></dt>
<dd>Abe White</dd>
</dl>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ========== 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">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract Methods</a></span><span class="tabEnd">&nbsp;</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/apache/openjpa/jdbc/meta/ReverseCustomizer.html#close--">close</a></span>()</code>
<div class="block">Invoked when the customizer is no longer needed.</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/apache/openjpa/jdbc/meta/ReverseCustomizer.html#customize-org.apache.openjpa.jdbc.meta.ClassMapping-">customize</a></span>(<a href="../../../../../org/apache/openjpa/jdbc/meta/ClassMapping.html" title="class in org.apache.openjpa.jdbc.meta">ClassMapping</a>&nbsp;cls)</code>
<div class="block">Customize the given class information produced by the reverse mapping
tool.</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/apache/openjpa/jdbc/meta/ReverseCustomizer.html#customize-org.apache.openjpa.jdbc.meta.FieldMapping-">customize</a></span>(<a href="../../../../../org/apache/openjpa/jdbc/meta/FieldMapping.html" title="class in org.apache.openjpa.jdbc.meta">FieldMapping</a>&nbsp;field)</code>
<div class="block">Customize the given field information produced by the reverse mapping
tool.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code><a href="http://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/apache/openjpa/jdbc/meta/ReverseCustomizer.html#getClassCode-org.apache.openjpa.jdbc.meta.ClassMapping-">getClassCode</a></span>(<a href="../../../../../org/apache/openjpa/jdbc/meta/ClassMapping.html" title="class in org.apache.openjpa.jdbc.meta">ClassMapping</a>&nbsp;mapping)</code>
<div class="block">Return a code template for the given class, or null to use the standard
system-generated Java code.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code><a href="http://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/apache/openjpa/jdbc/meta/ReverseCustomizer.html#getClassName-org.apache.openjpa.jdbc.schema.Table-java.lang.String-">getClassName</a></span>(<a href="../../../../../org/apache/openjpa/jdbc/schema/Table.html" title="class in org.apache.openjpa.jdbc.schema">Table</a>&nbsp;table,
<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;defaultName)</code>
<div class="block">Return the fully-qualified class name to generate for the given table.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code><a href="http://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/apache/openjpa/jdbc/meta/ReverseCustomizer.html#getDeclaration-org.apache.openjpa.jdbc.meta.FieldMapping-">getDeclaration</a></span>(<a href="../../../../../org/apache/openjpa/jdbc/meta/FieldMapping.html" title="class in org.apache.openjpa.jdbc.meta">FieldMapping</a>&nbsp;field)</code>
<div class="block">Return a code template for the declaration of the given field, or null
to use the system-generated default Java code.</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code><a href="http://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/apache/openjpa/jdbc/meta/ReverseCustomizer.html#getFieldCode-org.apache.openjpa.jdbc.meta.FieldMapping-">getFieldCode</a></span>(<a href="../../../../../org/apache/openjpa/jdbc/meta/FieldMapping.html" title="class in org.apache.openjpa.jdbc.meta">FieldMapping</a>&nbsp;field)</code>
<div class="block">Return a code template for the get/set methods of the given field, or
null to use the system-generated default Java code.</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code><a href="http://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/apache/openjpa/jdbc/meta/ReverseCustomizer.html#getFieldName-org.apache.openjpa.jdbc.meta.ClassMapping-org.apache.openjpa.jdbc.schema.Column:A-org.apache.openjpa.jdbc.schema.ForeignKey-java.lang.String-">getFieldName</a></span>(<a href="../../../../../org/apache/openjpa/jdbc/meta/ClassMapping.html" title="class in org.apache.openjpa.jdbc.meta">ClassMapping</a>&nbsp;dec,
<a href="../../../../../org/apache/openjpa/jdbc/schema/Column.html" title="class in org.apache.openjpa.jdbc.schema">Column</a>[]&nbsp;cols,
<a href="../../../../../org/apache/openjpa/jdbc/schema/ForeignKey.html" title="class in org.apache.openjpa.jdbc.schema">ForeignKey</a>&nbsp;fk,
<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;defaultName)</code>
<div class="block">Return the field name used to map the given columns, or null to prevent
the columns from being mapped.</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code><a href="http://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/apache/openjpa/jdbc/meta/ReverseCustomizer.html#getInitialValue-org.apache.openjpa.jdbc.meta.FieldMapping-">getInitialValue</a></span>(<a href="../../../../../org/apache/openjpa/jdbc/meta/FieldMapping.html" title="class in org.apache.openjpa.jdbc.meta">FieldMapping</a>&nbsp;field)</code>
<div class="block">Return code for the initial value for the given field, or null to use
the default generated by the system.</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/openjpa/jdbc/meta/ReverseCustomizer.html#getTableType-org.apache.openjpa.jdbc.schema.Table-int-">getTableType</a></span>(<a href="../../../../../org/apache/openjpa/jdbc/schema/Table.html" title="class in org.apache.openjpa.jdbc.schema">Table</a>&nbsp;table,
int&nbsp;defaultType)</code>
<div class="block">Return the type of the given table, or the given default type.</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/apache/openjpa/jdbc/meta/ReverseCustomizer.html#setConfiguration-java.util.Properties-">setConfiguration</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/util/Properties.html?is-external=true" title="class or interface in java.util">Properties</a>&nbsp;props)</code>
<div class="block">Set configuration properties given by the user.</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/apache/openjpa/jdbc/meta/ReverseCustomizer.html#setTool-org.apache.openjpa.jdbc.meta.ReverseMappingTool-">setTool</a></span>(<a href="../../../../../org/apache/openjpa/jdbc/meta/ReverseMappingTool.html" title="class in org.apache.openjpa.jdbc.meta">ReverseMappingTool</a>&nbsp;tool)</code>
<div class="block">Set the reverse mapping tool using this customizer.</div>
</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/openjpa/jdbc/meta/ReverseCustomizer.html#unmappedTable-org.apache.openjpa.jdbc.schema.Table-">unmappedTable</a></span>(<a href="../../../../../org/apache/openjpa/jdbc/schema/Table.html" title="class in org.apache.openjpa.jdbc.schema">Table</a>&nbsp;table)</code>
<div class="block">Notification that a table has gone unmapped.</div>
</td>
</tr>
</table>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="setConfiguration-java.util.Properties-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setConfiguration</h4>
<pre>void&nbsp;setConfiguration(<a href="http://docs.oracle.com/javase/8/docs/api/java/util/Properties.html?is-external=true" title="class or interface in java.util">Properties</a>&nbsp;props)</pre>
<div class="block">Set configuration properties given by the user.</div>
</li>
</ul>
<a name="setTool-org.apache.openjpa.jdbc.meta.ReverseMappingTool-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setTool</h4>
<pre>void&nbsp;setTool(<a href="../../../../../org/apache/openjpa/jdbc/meta/ReverseMappingTool.html" title="class in org.apache.openjpa.jdbc.meta">ReverseMappingTool</a>&nbsp;tool)</pre>
<div class="block">Set the reverse mapping tool using this customizer. You can use
the tool to see how it is configured, or to use utility methods the
tool provides.</div>
</li>
</ul>
<a name="getTableType-org.apache.openjpa.jdbc.schema.Table-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getTableType</h4>
<pre>int&nbsp;getTableType(<a href="../../../../../org/apache/openjpa/jdbc/schema/Table.html" title="class in org.apache.openjpa.jdbc.schema">Table</a>&nbsp;table,
int&nbsp;defaultType)</pre>
<div class="block">Return the type of the given table, or the given default type.
See the TABLE_XXX constants in <a href="../../../../../org/apache/openjpa/jdbc/meta/ReverseMappingTool.html" title="class in org.apache.openjpa.jdbc.meta"><code>ReverseMappingTool</code></a>.</div>
</li>
</ul>
<a name="getClassName-org.apache.openjpa.jdbc.schema.Table-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getClassName</h4>
<pre><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getClassName(<a href="../../../../../org/apache/openjpa/jdbc/schema/Table.html" title="class in org.apache.openjpa.jdbc.schema">Table</a>&nbsp;table,
<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;defaultName)</pre>
<div class="block">Return the fully-qualified class name to generate for the given table.
Return null to prevent the table from being mapped. Return the given
default name if it is acceptable.</div>
</li>
</ul>
<a name="customize-org.apache.openjpa.jdbc.meta.ClassMapping-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>customize</h4>
<pre>void&nbsp;customize(<a href="../../../../../org/apache/openjpa/jdbc/meta/ClassMapping.html" title="class in org.apache.openjpa.jdbc.meta">ClassMapping</a>&nbsp;cls)</pre>
<div class="block">Customize the given class information produced by the reverse mapping
tool. To change the application identity class, use
<a href="../../../../../org/apache/openjpa/jdbc/meta/ReverseMappingTool.html#generateClass-java.lang.String-java.lang.Class-"><code>ReverseMappingTool.generateClass(java.lang.String, java.lang.Class)</code></a> to creat the new class object.
The class will not have any fields at the time of this call.</div>
</li>
</ul>
<a name="getClassCode-org.apache.openjpa.jdbc.meta.ClassMapping-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getClassCode</h4>
<pre><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getClassCode(<a href="../../../../../org/apache/openjpa/jdbc/meta/ClassMapping.html" title="class in org.apache.openjpa.jdbc.meta">ClassMapping</a>&nbsp;mapping)</pre>
<div class="block">Return a code template for the given class, or null to use the standard
system-generated Java code. To facilitate template reuse, the
following parameters can appear in your template; the proper values
will be subtituted by the system:
<ul>
<li>${packageDec}: The package declaration, in the form
"package &lt;package name &gt;;", or empty string if no package.</li>
<li>${imports}: Imports for the packages used by the declared
field types.</li>
<li>${className}: The name of the class, without package.</li>
<li>${extendsDec}: Extends declaration, in the form
"extends &lt;superclass&gt;", or empty string if no superclass.</li>
<li>${constructor}: A constructor that takes in all primary key fields
of the class, or empty string if the class uses datastore identity.</li>
<li>${fieldDecs}: Declarations of all the generated fields.</li>
<li>${fieldCode}: Get/set methods for all the generated fields.</li>
</ul></div>
</li>
</ul>
<a name="getFieldName-org.apache.openjpa.jdbc.meta.ClassMapping-org.apache.openjpa.jdbc.schema.Column:A-org.apache.openjpa.jdbc.schema.ForeignKey-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getFieldName</h4>
<pre><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getFieldName(<a href="../../../../../org/apache/openjpa/jdbc/meta/ClassMapping.html" title="class in org.apache.openjpa.jdbc.meta">ClassMapping</a>&nbsp;dec,
<a href="../../../../../org/apache/openjpa/jdbc/schema/Column.html" title="class in org.apache.openjpa.jdbc.schema">Column</a>[]&nbsp;cols,
<a href="../../../../../org/apache/openjpa/jdbc/schema/ForeignKey.html" title="class in org.apache.openjpa.jdbc.schema">ForeignKey</a>&nbsp;fk,
<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;defaultName)</pre>
<div class="block">Return the field name used to map the given columns, or null to prevent
the columns from being mapped. Return the given default if it is
acceptable.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>dec</code> - the class that will declare this field</dd>
<dd><code>cols</code> - the column(s) this field will represent</dd>
<dd><code>fk</code> - for relation fields, the foreign key to the related type</dd>
</dl>
</li>
</ul>
<a name="customize-org.apache.openjpa.jdbc.meta.FieldMapping-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>customize</h4>
<pre>void&nbsp;customize(<a href="../../../../../org/apache/openjpa/jdbc/meta/FieldMapping.html" title="class in org.apache.openjpa.jdbc.meta">FieldMapping</a>&nbsp;field)</pre>
<div class="block">Customize the given field information produced by the reverse mapping
tool.</div>
</li>
</ul>
<a name="getInitialValue-org.apache.openjpa.jdbc.meta.FieldMapping-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getInitialValue</h4>
<pre><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getInitialValue(<a href="../../../../../org/apache/openjpa/jdbc/meta/FieldMapping.html" title="class in org.apache.openjpa.jdbc.meta">FieldMapping</a>&nbsp;field)</pre>
<div class="block">Return code for the initial value for the given field, or null to use
the default generated by the system.</div>
</li>
</ul>
<a name="getDeclaration-org.apache.openjpa.jdbc.meta.FieldMapping-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDeclaration</h4>
<pre><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getDeclaration(<a href="../../../../../org/apache/openjpa/jdbc/meta/FieldMapping.html" title="class in org.apache.openjpa.jdbc.meta">FieldMapping</a>&nbsp;field)</pre>
<div class="block">Return a code template for the declaration of the given field, or null
to use the system-generated default Java code.
To facilitate template reuse, the following parameters can appear in
your template; the proper values will be subtituted by the system:
<ul>
<li>${fieldName}: The name of the field.</li>
<li>${capFieldName}: The capitalized field name.</li>
<li>${propertyName}: The field name without leading '_', if any.</li>
<li>${fieldType}: The field's type name.</li>
<li>${fieldValue}: The field's initial value, in the form
" = &lt;value&gt;", or empty string if none.</li>
</ul></div>
</li>
</ul>
<a name="getFieldCode-org.apache.openjpa.jdbc.meta.FieldMapping-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getFieldCode</h4>
<pre><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getFieldCode(<a href="../../../../../org/apache/openjpa/jdbc/meta/FieldMapping.html" title="class in org.apache.openjpa.jdbc.meta">FieldMapping</a>&nbsp;field)</pre>
<div class="block">Return a code template for the get/set methods of the given field, or
null to use the system-generated default Java code.
To facilitate template reuse, the following parameters can appear in
your template; the proper values will be subtituted by the system:
<ul>
<li>${fieldName}: The name of the field.</li>
<li>${capFieldName}: The capitalized field name.</li>
<li>${propertyName}: The field name without leading '_', if any.</li>
<li>${fieldType}: The field's type name.</li>
<li>${fieldValue}: The field's initial value, in the form
"= &lt;value&gt;", or empty string if none.</li>
</ul></div>
</li>
</ul>
<a name="unmappedTable-org.apache.openjpa.jdbc.schema.Table-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>unmappedTable</h4>
<pre>boolean&nbsp;unmappedTable(<a href="../../../../../org/apache/openjpa/jdbc/schema/Table.html" title="class in org.apache.openjpa.jdbc.schema">Table</a>&nbsp;table)</pre>
<div class="block">Notification that a table has gone unmapped. You can map the table
yourself using this method. When mapping, use
<a href="../../../../../org/apache/openjpa/jdbc/meta/ReverseMappingTool.html#generateClass-java.lang.String-java.lang.Class-"><code>ReverseMappingTool.generateClass(java.lang.String, java.lang.Class)</code></a> to create the class,
<a href="../../../../../org/apache/openjpa/jdbc/meta/ReverseMappingTool.html#newClassMapping-java.lang.Class-org.apache.openjpa.jdbc.schema.Table-"><code>ReverseMappingTool.newClassMapping(java.lang.Class, org.apache.openjpa.jdbc.schema.Table)</code></a> to create the class metadata,
and then <a href="../../../../../org/apache/openjpa/jdbc/meta/ClassMapping.html#addDeclaredFieldMapping-java.lang.String-java.lang.Class-"><code>ClassMapping.addDeclaredFieldMapping(java.lang.String, java.lang.Class)</code></a> to add field
metadata.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>true if you map the table, false otherwise</dd>
</dl>
</li>
</ul>
<a name="close--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>close</h4>
<pre>void&nbsp;close()</pre>
<div class="block">Invoked when the customizer is no longer needed.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/apache/openjpa/lib/util/Closeable.html#close--">close</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/openjpa/lib/util/Closeable.html" title="interface in org.apache.openjpa.lib.util">Closeable</a></code></dd>
</dl>
</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="class-use/ReverseCustomizer.html">Use</a></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>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../../org/apache/openjpa/jdbc/meta/RelationId.html" title="interface in org.apache.openjpa.jdbc.meta"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../../org/apache/openjpa/jdbc/meta/ReverseMappingTool.html" title="class in org.apache.openjpa.jdbc.meta"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/apache/openjpa/jdbc/meta/ReverseCustomizer.html" target="_top">Frames</a></li>
<li><a href="ReverseCustomizer.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../allclasses-noframe.html">All&nbsp;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:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</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 &#169; 2006&#x2013;2018 <a href="http://www.apache.org">Apache Software Foundation</a>. All rights reserved.</small></p>
</body>
</html>