blob: fdc11dfdf429e70e9045cdfce6c040d6f210caac [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="de">
<head>
<!-- Generated by javadoc (1.8.0_252) on Thu Sep 03 11:54:24 CEST 2020 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ReverseMappingTool (OpenJPA Parent POM 3.1.2 API)</title>
<meta name="date" content="2020-09-03">
<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="ReverseMappingTool (OpenJPA Parent POM 3.1.2 API)";
}
}
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":9,"i40":10,"i41":10,"i42":9,"i43":10,"i44":10,"i45":10,"i46":10,"i47":10,"i48":9,"i49":9,"i50":9,"i51":9,"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"],1:["t1","Static 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="class-use/ReverseMappingTool.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/ReverseCustomizer.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.Flags.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/ReverseMappingTool.html" target="_top">Frames</a></li>
<li><a href="ReverseMappingTool.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><a href="#nested.class.summary">Nested</a>&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&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="Class ReverseMappingTool" class="title">Class ReverseMappingTool</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
<li>
<ul class="inheritance">
<li>org.apache.openjpa.jdbc.meta.ReverseMappingTool</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/lang/Cloneable.html?is-external=true" title="class or interface in java.lang">Cloneable</a>, <a href="../../../../../org/apache/openjpa/meta/MetaDataModes.html" title="interface in org.apache.openjpa.meta">MetaDataModes</a></dd>
</dl>
<hr>
<br>
<pre>public class <span class="typeNameLabel">ReverseMappingTool</span>
extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>
implements <a href="../../../../../org/apache/openjpa/meta/MetaDataModes.html" title="interface in org.apache.openjpa.meta">MetaDataModes</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></pre>
<div class="block">Reverse-maps a schema into class mappings and the associated java
code. Generates a Java code files for persistent classes and associated
identity classes and metadata.</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">
<!-- ======== NESTED CLASS SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="nested.class.summary">
<!-- -->
</a>
<h3>Nested Class Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Nested Class Summary table, listing nested classes, and an explanation">
<caption><span>Nested Classes</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Class and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static class&nbsp;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/openjpa/jdbc/meta/ReverseMappingTool.Flags.html" title="class in org.apache.openjpa.jdbc.meta">ReverseMappingTool.Flags</a></span></code>
<div class="block">Holder for run flags.</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- =========== 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">&nbsp;</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>static <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/apache/openjpa/jdbc/meta/ReverseMappingTool.html#ACCESS_TYPE_FIELD">ACCESS_TYPE_FIELD</a></span></code>
<div class="block">Access type for generated source, defaults to field-based access.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <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/apache/openjpa/jdbc/meta/ReverseMappingTool.html#ACCESS_TYPE_PROPERTY">ACCESS_TYPE_PROPERTY</a></span></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <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/apache/openjpa/jdbc/meta/ReverseMappingTool.html#LEVEL_CLASS">LEVEL_CLASS</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <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/apache/openjpa/jdbc/meta/ReverseMappingTool.html#LEVEL_NONE">LEVEL_NONE</a></span></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <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/apache/openjpa/jdbc/meta/ReverseMappingTool.html#LEVEL_PACKAGE">LEVEL_PACKAGE</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/openjpa/jdbc/meta/ReverseMappingTool.html#TABLE_ASSOCIATION">TABLE_ASSOCIATION</a></span></code>
<div class="block">Association table.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/openjpa/jdbc/meta/ReverseMappingTool.html#TABLE_BASE">TABLE_BASE</a></span></code>
<div class="block">Primary table for a new base class.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/openjpa/jdbc/meta/ReverseMappingTool.html#TABLE_NONE">TABLE_NONE</a></span></code>
<div class="block">Unmapped table.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/openjpa/jdbc/meta/ReverseMappingTool.html#TABLE_SECONDARY">TABLE_SECONDARY</a></span></code>
<div class="block">Secondary table of an existing class.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/openjpa/jdbc/meta/ReverseMappingTool.html#TABLE_SECONDARY_OUTER">TABLE_SECONDARY_OUTER</a></span></code>
<div class="block">Secondary table of an existing class.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/openjpa/jdbc/meta/ReverseMappingTool.html#TABLE_SUBCLASS">TABLE_SUBCLASS</a></span></code>
<div class="block">Subclass table.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="fields.inherited.from.class.org.apache.openjpa.meta.MetaDataModes">
<!-- -->
</a>
<h3>Fields inherited from interface&nbsp;org.apache.openjpa.meta.<a href="../../../../../org/apache/openjpa/meta/MetaDataModes.html" title="interface in org.apache.openjpa.meta">MetaDataModes</a></h3>
<code><a href="../../../../../org/apache/openjpa/meta/MetaDataModes.html#MODE_ALL">MODE_ALL</a>, <a href="../../../../../org/apache/openjpa/meta/MetaDataModes.html#MODE_ANN_MAPPING">MODE_ANN_MAPPING</a>, <a href="../../../../../org/apache/openjpa/meta/MetaDataModes.html#MODE_MAPPING">MODE_MAPPING</a>, <a href="../../../../../org/apache/openjpa/meta/MetaDataModes.html#MODE_MAPPING_INIT">MODE_MAPPING_INIT</a>, <a href="../../../../../org/apache/openjpa/meta/MetaDataModes.html#MODE_META">MODE_META</a>, <a href="../../../../../org/apache/openjpa/meta/MetaDataModes.html#MODE_NONE">MODE_NONE</a>, <a href="../../../../../org/apache/openjpa/meta/MetaDataModes.html#MODE_QUERY">MODE_QUERY</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">&nbsp;</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/apache/openjpa/jdbc/meta/ReverseMappingTool.html#ReverseMappingTool-org.apache.openjpa.jdbc.conf.JDBCConfiguration-">ReverseMappingTool</a></span>(<a href="../../../../../org/apache/openjpa/jdbc/conf/JDBCConfiguration.html" title="interface in org.apache.openjpa.jdbc.conf">JDBCConfiguration</a>&nbsp;conf)</code>
<div class="block">Constructor.</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></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="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete 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/ReverseMappingTool.html#addConstraints-org.apache.openjpa.jdbc.meta.ValueMapping-">addConstraints</a></span>(<a href="../../../../../org/apache/openjpa/jdbc/meta/ValueMapping.html" title="interface in org.apache.openjpa.jdbc.meta">ValueMapping</a>&nbsp;vm)</code>
<div class="block">Add existing unique constraints and indexes to the given value.</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/ReverseMappingTool.html#addJoinConstraints-org.apache.openjpa.jdbc.meta.FieldMapping-">addJoinConstraints</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">Add existing unique constraints and indexes to the given field's join.</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/ReverseMappingTool.html#buildAnnotations--">buildAnnotations</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i3" 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/apache/openjpa/jdbc/meta/ReverseMappingTool.html#clone--">clone</a></span>()</code>
<div class="block">Return a new tool with the same settings as this one.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code><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></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/openjpa/jdbc/meta/ReverseMappingTool.html#generateClass-java.lang.String-java.lang.Class-">generateClass</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>&nbsp;name,
<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>&nbsp;parent)</code>
<div class="block">Generate a new class with the given name.</div>
</td>
</tr>
<tr id="i5" 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/apache/openjpa/jdbc/meta/ReverseMappingTool.html#getAccessType--">getAccessType</a></span>()</code>
<div class="block">Whether to use field or property-based access on generated code.</div>
</td>
</tr>
<tr id="i6" 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></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/openjpa/jdbc/meta/ReverseMappingTool.html#getAnnotationsForMeta-java.lang.Object-">getAnnotationsForMeta</a></span>(<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>&nbsp;meta)</code>
<div class="block">Returns a list of stringified annotations for specified meta.</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/openjpa/jdbc/meta/ReverseMappingTool.html#getBlobAsObject--">getBlobAsObject</a></span>()</code>
<div class="block">Whether to reverse-map blob columns as containing serialized Java
objects, rather than the default of using a byte[] field.</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/openjpa/jdbc/meta/ClassMapping.html" title="class in org.apache.openjpa.jdbc.meta">ClassMapping</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/openjpa/jdbc/meta/ReverseMappingTool.html#getClassMapping-org.apache.openjpa.jdbc.schema.Table-">getClassMapping</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">Return the class mapping for the given table, or null if none.</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/openjpa/lib/util/CodeFormat.html" title="class in org.apache.openjpa.lib.util">CodeFormat</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/openjpa/jdbc/meta/ReverseMappingTool.html#getCodeFormat--">getCodeFormat</a></span>()</code>
<div class="block">The code formatter for the generated Java code.</div>
</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/openjpa/jdbc/conf/JDBCConfiguration.html" title="interface in org.apache.openjpa.jdbc.conf">JDBCConfiguration</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/openjpa/jdbc/meta/ReverseMappingTool.html#getConfiguration--">getConfiguration</a></span>()</code>
<div class="block">Return the configuration provided on construction.</div>
</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/openjpa/jdbc/meta/ReverseCustomizer.html" title="interface in org.apache.openjpa.jdbc.meta">ReverseCustomizer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/openjpa/jdbc/meta/ReverseMappingTool.html#getCustomizer--">getCustomizer</a></span>()</code>
<div class="block">Return the customizer in use, or null if none.</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/ReverseMappingTool.html#getDetachable--">getDetachable</a></span>()</code>
<div class="block">Whether to make generated classes detachable.</div>
</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/openjpa/jdbc/meta/ReverseMappingTool.html#getDirectory--">getDirectory</a></span>()</code>
<div class="block">The file to output the generated code to, or null for
the current directory.</div>
</td>
</tr>
<tr id="i14" 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/apache/openjpa/jdbc/meta/ReverseMappingTool.html#getDiscriminatorStrategy--">getDiscriminatorStrategy</a></span>()</code>
<div class="block">Default discriminator strategy for base class mappings.</div>
</td>
</tr>
<tr id="i15" 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/apache/openjpa/jdbc/meta/ReverseMappingTool.html#getFieldName-java.lang.String-org.apache.openjpa.jdbc.meta.ClassMapping-">getFieldName</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>&nbsp;name,
<a href="../../../../../org/apache/openjpa/jdbc/meta/ClassMapping.html" title="class in org.apache.openjpa.jdbc.meta">ClassMapping</a>&nbsp;dec)</code>
<div class="block">Return a default Java identifier-formatted name for the given
column/table name.</div>
</td>
</tr>
<tr id="i16" class="altColor">
<td class="colFirst"><code><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></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/openjpa/jdbc/meta/ReverseMappingTool.html#getFieldType-org.apache.openjpa.jdbc.schema.Column-boolean-">getFieldType</a></span>(<a href="../../../../../org/apache/openjpa/jdbc/schema/Column.html" title="class in org.apache.openjpa.jdbc.schema">Column</a>&nbsp;col,
boolean&nbsp;forceObject)</code>
<div class="block">Return the default field type for the given column.</div>
</td>
</tr>
<tr id="i17" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/openjpa/jdbc/meta/ReverseMappingTool.html#getGenerateAnnotations--">getGenerateAnnotations</a></span>()</code>
<div class="block">Whether to generate annotations along with generated code.</div>
</td>
</tr>
<tr id="i18" 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/apache/openjpa/jdbc/meta/ReverseMappingTool.html#getIdentityClassSuffix--">getIdentityClassSuffix</a></span>()</code>
<div class="block">Suffix used to create application identity class name from a class name,
or in the case of inner identity classes, the inner class name.</div>
</td>
</tr>
<tr id="i19" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/openjpa/jdbc/meta/ReverseMappingTool.html#getInnerIdentityClasses--">getInnerIdentityClasses</a></span>()</code>
<div class="block">Whether or not to generate inner classes when creating application
identity classes.</div>
</td>
</tr>
<tr id="i20" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/openjpa/jdbc/meta/ReverseMappingTool.html#getInverseRelations--">getInverseRelations</a></span>()</code>
<div class="block">Whether to generate inverse 1-many/1-1 relations for all many-1/1-1
relations.</div>
</td>
</tr>
<tr id="i21" class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/openjpa/lib/log/Log.html" title="interface in org.apache.openjpa.lib.log">Log</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/openjpa/jdbc/meta/ReverseMappingTool.html#getLog--">getLog</a></span>()</code>
<div class="block">Return the log to write to.</div>
</td>
</tr>
<tr id="i22" class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/openjpa/jdbc/meta/ClassMapping.html" title="class in org.apache.openjpa.jdbc.meta">ClassMapping</a>[]</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/openjpa/jdbc/meta/ReverseMappingTool.html#getMappings--">getMappings</a></span>()</code>
<div class="block">Return the generated mappings.</div>
</td>
</tr>
<tr id="i23" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/openjpa/jdbc/meta/ReverseMappingTool.html#getNullableAsObject--">getNullableAsObject</a></span>()</code>
<div class="block">Return whether even nullable columns will be mapped to wrappers
rather than primitives.</div>
</td>
</tr>
<tr id="i24" 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/apache/openjpa/jdbc/meta/ReverseMappingTool.html#getPackageName--">getPackageName</a></span>()</code>
<div class="block">Return the default package for the generated classes, or null if unset.</div>
</td>
</tr>
<tr id="i25" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/openjpa/jdbc/meta/ReverseMappingTool.html#getPrimaryKeyOnJoin--">getPrimaryKeyOnJoin</a></span>()</code>
<div class="block">Return true if join tables are allowed to have primary keys, false
if all primary key tables will be mapped as persistent classes.</div>
</td>
</tr>
<tr id="i26" class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/openjpa/jdbc/meta/MappingRepository.html" title="class in org.apache.openjpa.jdbc.meta">MappingRepository</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/openjpa/jdbc/meta/ReverseMappingTool.html#getRepository--">getRepository</a></span>()</code>
<div class="block">Return the mapping repository used to hold generated mappings.</div>
</td>
</tr>
<tr id="i27" class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/openjpa/jdbc/schema/SchemaGroup.html" title="class in org.apache.openjpa.jdbc.schema">SchemaGroup</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/openjpa/jdbc/meta/ReverseMappingTool.html#getSchemaGroup--">getSchemaGroup</a></span>()</code>
<div class="block">Return the schema group to reverse map.</div>
</td>
</tr>
<tr id="i28" class="altColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Properties.html?is-external=true" title="class or interface in java.util">Properties</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/openjpa/jdbc/meta/ReverseMappingTool.html#getTypeMap--">getTypeMap</a></span>()</code>
<div class="block">Map of JDBC-name to Java-type-name entries that allows customization
of reverse mapping columns to field types.</div>
</td>
</tr>
<tr id="i29" class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/openjpa/jdbc/schema/ForeignKey.html" title="class in org.apache.openjpa.jdbc.schema">ForeignKey</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/openjpa/jdbc/meta/ReverseMappingTool.html#getUniqueForeignKey-org.apache.openjpa.jdbc.schema.Table-">getUniqueForeignKey</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">If the given table has a single unique foreign key or a foreign
key that matches the primary key, return it.</div>
</td>
</tr>
<tr id="i30" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/openjpa/jdbc/meta/ReverseMappingTool.html#getUseBuiltinIdentityClass--">getUseBuiltinIdentityClass</a></span>()</code>
<div class="block">Whether to use built in identity classes when possible.</div>
</td>
</tr>
<tr id="i31" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/openjpa/jdbc/meta/ReverseMappingTool.html#getUseDataStoreIdentity--">getUseDataStoreIdentity</a></span>()</code>
<div class="block">Whether to use datastore identity when possible.</div>
</td>
</tr>
<tr id="i32" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/openjpa/jdbc/meta/ReverseMappingTool.html#getUseForeignKeyName--">getUseForeignKeyName</a></span>()</code>
<div class="block">Return whether the foreign key name will be used to generate
relation names.</div>
</td>
</tr>
<tr id="i33" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/openjpa/jdbc/meta/ReverseMappingTool.html#getUseGenericCollections--">getUseGenericCollections</a></span>()</code>
<div class="block">Whether to use generic collections on one-to-many and many-to-many
relations instead of untyped collections.</div>
</td>
</tr>
<tr id="i34" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/openjpa/jdbc/meta/ReverseMappingTool.html#getUseSchemaElement--">getUseSchemaElement</a></span>()</code>
<div class="block">Returns whether or not the schema name will be included in the @Table
annotation within the generated class for each table, as well as the
corresponding XML mapping files.</div>
</td>
</tr>
<tr id="i35" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/openjpa/jdbc/meta/ReverseMappingTool.html#getUseSchemaName--">getUseSchemaName</a></span>()</code>
<div class="block">Return true if the schema name will be included in the generated
class name for each table.</div>
</td>
</tr>
<tr id="i36" 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/apache/openjpa/jdbc/meta/ReverseMappingTool.html#getVersionStrategy--">getVersionStrategy</a></span>()</code>
<div class="block">Default version strategy for base class mappings.</div>
</td>
</tr>
<tr id="i37" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/openjpa/jdbc/meta/ReverseMappingTool.html#isBaseTable-org.apache.openjpa.jdbc.schema.Table-">isBaseTable</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">Return whether the given table is a base class table.</div>
</td>
</tr>
<tr id="i38" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/openjpa/jdbc/meta/ReverseMappingTool.html#isUnique-org.apache.openjpa.jdbc.schema.ForeignKey-">isUnique</a></span>(<a href="../../../../../org/apache/openjpa/jdbc/schema/ForeignKey.html" title="class in org.apache.openjpa.jdbc.schema">ForeignKey</a>&nbsp;fk)</code>
<div class="block">Return whether the given foreign key is unique.</div>
</td>
</tr>
<tr id="i39" class="rowColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/openjpa/jdbc/meta/ReverseMappingTool.html#main-java.lang.String:A-">main</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>[]&nbsp;args)</code>
<div class="block">Usage: java org.apache.openjpa.jdbc.meta.ReverseMappingTool
[option]* &lt;.schema file or resource&gt;*
Where the following options are recognized.</div>
</td>
</tr>
<tr id="i40" class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/openjpa/jdbc/meta/ClassMapping.html" title="class in org.apache.openjpa.jdbc.meta">ClassMapping</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/openjpa/jdbc/meta/ReverseMappingTool.html#newClassMapping-java.lang.Class-org.apache.openjpa.jdbc.schema.Table-">newClassMapping</a></span>(<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>&nbsp;cls,
<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">Create a new class to be mapped to a table.</div>
</td>
</tr>
<tr id="i41" class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/openjpa/jdbc/meta/FieldMapping.html" title="class in org.apache.openjpa.jdbc.meta">FieldMapping</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/openjpa/jdbc/meta/ReverseMappingTool.html#newFieldMapping-java.lang.String-java.lang.Class-org.apache.openjpa.jdbc.schema.Column-org.apache.openjpa.jdbc.schema.ForeignKey-org.apache.openjpa.jdbc.meta.ClassMapping-">newFieldMapping</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>&nbsp;name,
<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>&nbsp;type,
<a href="../../../../../org/apache/openjpa/jdbc/schema/Column.html" title="class in org.apache.openjpa.jdbc.schema">Column</a>&nbsp;col,
<a href="../../../../../org/apache/openjpa/jdbc/schema/ForeignKey.html" title="class in org.apache.openjpa.jdbc.schema">ForeignKey</a>&nbsp;fk,
<a href="../../../../../org/apache/openjpa/jdbc/meta/ClassMapping.html" title="class in org.apache.openjpa.jdbc.meta">ClassMapping</a>&nbsp;dec)</code>
<div class="block">Create a field mapping for the given info, or return null if
customizer rejects.</div>
</td>
</tr>
<tr id="i42" class="altColor">
<td class="colFirst"><code>protected static <a href="../../../../../org/apache/openjpa/jdbc/meta/ReverseMappingTool.html" title="class in org.apache.openjpa.jdbc.meta">ReverseMappingTool</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/openjpa/jdbc/meta/ReverseMappingTool.html#newInstance-org.apache.openjpa.jdbc.conf.JDBCConfiguration-">newInstance</a></span>(<a href="../../../../../org/apache/openjpa/jdbc/conf/JDBCConfiguration.html" title="interface in org.apache.openjpa.jdbc.conf">JDBCConfiguration</a>&nbsp;conf)</code>&nbsp;</td>
</tr>
<tr id="i43" 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></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/openjpa/jdbc/meta/ReverseMappingTool.html#recordCode--">recordCode</a></span>()</code>
<div class="block">Uses <a href="../../../../../org/apache/openjpa/enhance/CodeGenerator.html" title="class in org.apache.openjpa.enhance"><code>CodeGenerator</code></a>s to write the Java code for the generated
mappings to the proper packages.</div>
</td>
</tr>
<tr id="i44" 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></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/openjpa/jdbc/meta/ReverseMappingTool.html#recordCode-java.util.Map-">recordCode</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>&lt;<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>&lt;?&gt;,<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>&gt;&nbsp;output)</code>
<div class="block">Write the code for the tool.</div>
</td>
</tr>
<tr id="i45" 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></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/openjpa/jdbc/meta/ReverseMappingTool.html#recordMetaData-boolean-">recordMetaData</a></span>(boolean&nbsp;perClass)</code>
<div class="block">Write the generated metadata to the proper packages.</div>
</td>
</tr>
<tr id="i46" class="altColor">
<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></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/openjpa/jdbc/meta/ReverseMappingTool.html#recordMetaData-boolean-java.util.Map-">recordMetaData</a></span>(boolean&nbsp;perClass,
<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>&nbsp;output)</code>
<div class="block">Write the code for the tool.</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/apache/openjpa/jdbc/meta/ReverseMappingTool.html#run--">run</a></span>()</code>
<div class="block">Generate mappings and class code for the current schema group.</div>
</td>
</tr>
<tr id="i48" class="altColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/openjpa/jdbc/meta/ReverseMappingTool.html#run-org.apache.openjpa.jdbc.conf.JDBCConfiguration-java.lang.String:A-org.apache.openjpa.lib.util.Options-">run</a></span>(<a href="../../../../../org/apache/openjpa/jdbc/conf/JDBCConfiguration.html" title="interface in org.apache.openjpa.jdbc.conf">JDBCConfiguration</a>&nbsp;conf,
<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>[]&nbsp;args,
<a href="../../../../../org/apache/openjpa/lib/util/Options.html" title="class in org.apache.openjpa.lib.util">Options</a>&nbsp;opts)</code>
<div class="block">Run the tool.</div>
</td>
</tr>
<tr id="i49" class="rowColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/openjpa/jdbc/meta/ReverseMappingTool.html#run-org.apache.openjpa.jdbc.conf.JDBCConfiguration-java.lang.String:A-org.apache.openjpa.lib.util.Options-java.util.Map-">run</a></span>(<a href="../../../../../org/apache/openjpa/jdbc/conf/JDBCConfiguration.html" title="interface in org.apache.openjpa.jdbc.conf">JDBCConfiguration</a>&nbsp;conf,
<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>[]&nbsp;args,
<a href="../../../../../org/apache/openjpa/lib/util/Options.html" title="class in org.apache.openjpa.lib.util">Options</a>&nbsp;opts,
<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>&lt;<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>&lt;?&gt;,<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>&gt;&nbsp;output)</code>
<div class="block">Run the tool and write to the optionally provided map.</div>
</td>
</tr>
<tr id="i50" class="altColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/openjpa/jdbc/meta/ReverseMappingTool.html#run-org.apache.openjpa.jdbc.conf.JDBCConfiguration-java.lang.String:A-org.apache.openjpa.jdbc.meta.ReverseMappingTool.Flags-java.lang.ClassLoader-">run</a></span>(<a href="../../../../../org/apache/openjpa/jdbc/conf/JDBCConfiguration.html" title="interface in org.apache.openjpa.jdbc.conf">JDBCConfiguration</a>&nbsp;conf,
<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>[]&nbsp;args,
<a href="../../../../../org/apache/openjpa/jdbc/meta/ReverseMappingTool.Flags.html" title="class in org.apache.openjpa.jdbc.meta">ReverseMappingTool.Flags</a>&nbsp;flags,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/ClassLoader.html?is-external=true" title="class or interface in java.lang">ClassLoader</a>&nbsp;loader)</code>
<div class="block">Run the tool.</div>
</td>
</tr>
<tr id="i51" class="rowColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/openjpa/jdbc/meta/ReverseMappingTool.html#run-org.apache.openjpa.jdbc.conf.JDBCConfiguration-java.lang.String:A-org.apache.openjpa.jdbc.meta.ReverseMappingTool.Flags-java.lang.ClassLoader-java.util.Map-">run</a></span>(<a href="../../../../../org/apache/openjpa/jdbc/conf/JDBCConfiguration.html" title="interface in org.apache.openjpa.jdbc.conf">JDBCConfiguration</a>&nbsp;conf,
<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>[]&nbsp;args,
<a href="../../../../../org/apache/openjpa/jdbc/meta/ReverseMappingTool.Flags.html" title="class in org.apache.openjpa.jdbc.meta">ReverseMappingTool.Flags</a>&nbsp;flags,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/ClassLoader.html?is-external=true" title="class or interface in java.lang">ClassLoader</a>&nbsp;loader,
<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>&lt;<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>&lt;?&gt;,<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>&gt;&nbsp;output)</code>
<div class="block">Run the tool and write to the optionally provided map</div>
</td>
</tr>
<tr id="i52" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/openjpa/jdbc/meta/ReverseMappingTool.html#setAccessType-java.lang.String-">setAccessType</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>&nbsp;accessType)</code>
<div class="block">Whether to use field or property-based access on generated code.</div>
</td>
</tr>
<tr id="i53" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/openjpa/jdbc/meta/ReverseMappingTool.html#setBlobAsObject-boolean-">setBlobAsObject</a></span>(boolean&nbsp;blobAsObj)</code>
<div class="block">Whether to reverse-map blob columns as containing serialized Java
objects, rather than the default of using a byte[] field.</div>
</td>
</tr>
<tr id="i54" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/openjpa/jdbc/meta/ReverseMappingTool.html#setCodeFormat-org.apache.openjpa.lib.util.CodeFormat-">setCodeFormat</a></span>(<a href="../../../../../org/apache/openjpa/lib/util/CodeFormat.html" title="class in org.apache.openjpa.lib.util">CodeFormat</a>&nbsp;format)</code>
<div class="block">Set the code formatter for the generated Java code.</div>
</td>
</tr>
<tr id="i55" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/openjpa/jdbc/meta/ReverseMappingTool.html#setCustomizer-org.apache.openjpa.jdbc.meta.ReverseCustomizer-">setCustomizer</a></span>(<a href="../../../../../org/apache/openjpa/jdbc/meta/ReverseCustomizer.html" title="interface in org.apache.openjpa.jdbc.meta">ReverseCustomizer</a>&nbsp;customizer)</code>
<div class="block">Set the customizer.</div>
</td>
</tr>
<tr id="i56" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/openjpa/jdbc/meta/ReverseMappingTool.html#setDetachable-boolean-">setDetachable</a></span>(boolean&nbsp;detachable)</code>
<div class="block">Whether to make generated classes detachable.</div>
</td>
</tr>
<tr id="i57" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/openjpa/jdbc/meta/ReverseMappingTool.html#setDirectory-java.io.File-">setDirectory</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a>&nbsp;dir)</code>
<div class="block">The file to output the generated code to, or null for
the current directory.</div>
</td>
</tr>
<tr id="i58" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/openjpa/jdbc/meta/ReverseMappingTool.html#setDiscriminatorStrategy-java.lang.String-">setDiscriminatorStrategy</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>&nbsp;discStrat)</code>
<div class="block">Default discriminator strategy for base class mappings.</div>
</td>
</tr>
<tr id="i59" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/openjpa/jdbc/meta/ReverseMappingTool.html#setGenerateAnnotations-boolean-">setGenerateAnnotations</a></span>(boolean&nbsp;genAnnotations)</code>
<div class="block">Whether to generate annotations along with generated code.</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/apache/openjpa/jdbc/meta/ReverseMappingTool.html#setIdentityClassSuffix-java.lang.String-">setIdentityClassSuffix</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>&nbsp;suffix)</code>
<div class="block">Suffix used to create application identity class name from a class name,
or in the case of inner identity classes, the inner class name.</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/apache/openjpa/jdbc/meta/ReverseMappingTool.html#setInnerIdentityClasses-boolean-">setInnerIdentityClasses</a></span>(boolean&nbsp;inner)</code>
<div class="block">Whether or not to generate inner classes when creating application
identity classes.</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/apache/openjpa/jdbc/meta/ReverseMappingTool.html#setInverseRelations-boolean-">setInverseRelations</a></span>(boolean&nbsp;inverse)</code>
<div class="block">Whether to generate inverse 1-many/1-1 relations for all many-1/1-1
relations.</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/apache/openjpa/jdbc/meta/ReverseMappingTool.html#setNullableAsObject-boolean-">setNullableAsObject</a></span>(boolean&nbsp;nullAsObj)</code>
<div class="block">Set whether even nullable columns will be mapped to wrappers
rather than primitives.</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/apache/openjpa/jdbc/meta/ReverseMappingTool.html#setPackageName-java.lang.String-">setPackageName</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>&nbsp;packageName)</code>
<div class="block">Set the default package for the generated classes; use null to
indicate no package.</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/apache/openjpa/jdbc/meta/ReverseMappingTool.html#setPrimaryKeyOnJoin-boolean-">setPrimaryKeyOnJoin</a></span>(boolean&nbsp;pkOnJoin)</code>
<div class="block">Set to true if join tables are allowed to have primary keys, false
if all primary key tables will be mapped as persistent classes.</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/apache/openjpa/jdbc/meta/ReverseMappingTool.html#setRepository-org.apache.openjpa.jdbc.meta.MappingRepository-">setRepository</a></span>(<a href="../../../../../org/apache/openjpa/jdbc/meta/MappingRepository.html" title="class in org.apache.openjpa.jdbc.meta">MappingRepository</a>&nbsp;repos)</code>
<div class="block">Set the repository to use.</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/apache/openjpa/jdbc/meta/ReverseMappingTool.html#setSchemaGroup-org.apache.openjpa.jdbc.schema.SchemaGroup-">setSchemaGroup</a></span>(<a href="../../../../../org/apache/openjpa/jdbc/schema/SchemaGroup.html" title="class in org.apache.openjpa.jdbc.schema">SchemaGroup</a>&nbsp;schema)</code>
<div class="block">Set the schema to reverse map.</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/apache/openjpa/jdbc/meta/ReverseMappingTool.html#setTypeMap-java.util.Properties-">setTypeMap</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Properties.html?is-external=true" title="class or interface in java.util">Properties</a>&nbsp;typeMap)</code>
<div class="block">Map of JDBC-name to Java-type-name entries that allows customization
of reverse mapping columns to field types.</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/apache/openjpa/jdbc/meta/ReverseMappingTool.html#setUseBuiltinIdentityClass-boolean-">setUseBuiltinIdentityClass</a></span>(boolean&nbsp;builtin)</code>
<div class="block">Whether to use built in identity classes when possible.</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/apache/openjpa/jdbc/meta/ReverseMappingTool.html#setUseDataStoreIdentity-boolean-">setUseDataStoreIdentity</a></span>(boolean&nbsp;datastore)</code>
<div class="block">Whether to use datastore identity when possible.</div>
</td>
</tr>
<tr id="i71" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/openjpa/jdbc/meta/ReverseMappingTool.html#setUseForeignKeyName-boolean-">setUseForeignKeyName</a></span>(boolean&nbsp;useFK)</code>
<div class="block">Set whether the foreign key name will be used to generate
relation names.</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/apache/openjpa/jdbc/meta/ReverseMappingTool.html#setUseGenericCollections-boolean-">setUseGenericCollections</a></span>(boolean&nbsp;useGenericCollections)</code>
<div class="block">Whether to use generic collections on one-to-many and many-to-many
relations instead of untyped collections.</div>
</td>
</tr>
<tr id="i73" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/openjpa/jdbc/meta/ReverseMappingTool.html#setUseSchemaElement-boolean-">setUseSchemaElement</a></span>(boolean&nbsp;useSchemaElement)</code>
<div class="block">Sets whether or not the schema name will be included in the @Table
annotation within the generated class for each table, as well as the
corresponding XML mapping files.</div>
</td>
</tr>
<tr id="i74" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/openjpa/jdbc/meta/ReverseMappingTool.html#setUseSchemaName-boolean-">setUseSchemaName</a></span>(boolean&nbsp;useSchema)</code>
<div class="block">Set whether the schema name will be included in the generated
class name for each table.</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/apache/openjpa/jdbc/meta/ReverseMappingTool.html#setVersionStrategy-java.lang.String-">setVersionStrategy</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>&nbsp;versionStrat)</code>
<div class="block">Default version strategy for base class mappings.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;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#toString--" title="class or interface in java.lang">toString</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.detail">
<!-- -->
</a>
<h3>Field Detail</h3>
<a name="TABLE_NONE">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>TABLE_NONE</h4>
<pre>public static final&nbsp;int TABLE_NONE</pre>
<div class="block">Unmapped table.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../constant-values.html#org.apache.openjpa.jdbc.meta.ReverseMappingTool.TABLE_NONE">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="TABLE_BASE">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>TABLE_BASE</h4>
<pre>public static final&nbsp;int TABLE_BASE</pre>
<div class="block">Primary table for a new base class.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../constant-values.html#org.apache.openjpa.jdbc.meta.ReverseMappingTool.TABLE_BASE">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="TABLE_SECONDARY">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>TABLE_SECONDARY</h4>
<pre>public static final&nbsp;int TABLE_SECONDARY</pre>
<div class="block">Secondary table of an existing class. There is exactly one row in
this table for each row in the primary table.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../constant-values.html#org.apache.openjpa.jdbc.meta.ReverseMappingTool.TABLE_SECONDARY">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="TABLE_SECONDARY_OUTER">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>TABLE_SECONDARY_OUTER</h4>
<pre>public static final&nbsp;int TABLE_SECONDARY_OUTER</pre>
<div class="block">Secondary table of an existing class. There is zero or one row in
this table for each row in the primary table.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../constant-values.html#org.apache.openjpa.jdbc.meta.ReverseMappingTool.TABLE_SECONDARY_OUTER">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="TABLE_ASSOCIATION">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>TABLE_ASSOCIATION</h4>
<pre>public static final&nbsp;int TABLE_ASSOCIATION</pre>
<div class="block">Association table.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../constant-values.html#org.apache.openjpa.jdbc.meta.ReverseMappingTool.TABLE_ASSOCIATION">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="TABLE_SUBCLASS">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>TABLE_SUBCLASS</h4>
<pre>public static final&nbsp;int TABLE_SUBCLASS</pre>
<div class="block">Subclass table.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../constant-values.html#org.apache.openjpa.jdbc.meta.ReverseMappingTool.TABLE_SUBCLASS">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="LEVEL_NONE">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>LEVEL_NONE</h4>
<pre>public static final&nbsp;<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> LEVEL_NONE</pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../constant-values.html#org.apache.openjpa.jdbc.meta.ReverseMappingTool.LEVEL_NONE">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="LEVEL_PACKAGE">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>LEVEL_PACKAGE</h4>
<pre>public static final&nbsp;<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> LEVEL_PACKAGE</pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../constant-values.html#org.apache.openjpa.jdbc.meta.ReverseMappingTool.LEVEL_PACKAGE">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="LEVEL_CLASS">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>LEVEL_CLASS</h4>
<pre>public static final&nbsp;<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> LEVEL_CLASS</pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../constant-values.html#org.apache.openjpa.jdbc.meta.ReverseMappingTool.LEVEL_CLASS">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="ACCESS_TYPE_FIELD">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>ACCESS_TYPE_FIELD</h4>
<pre>public static final&nbsp;<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> ACCESS_TYPE_FIELD</pre>
<div class="block">Access type for generated source, defaults to field-based access.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../constant-values.html#org.apache.openjpa.jdbc.meta.ReverseMappingTool.ACCESS_TYPE_FIELD">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="ACCESS_TYPE_PROPERTY">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>ACCESS_TYPE_PROPERTY</h4>
<pre>public static final&nbsp;<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> ACCESS_TYPE_PROPERTY</pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../constant-values.html#org.apache.openjpa.jdbc.meta.ReverseMappingTool.ACCESS_TYPE_PROPERTY">Constant Field Values</a></dd>
</dl>
</li>
</ul>
</li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="ReverseMappingTool-org.apache.openjpa.jdbc.conf.JDBCConfiguration-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>ReverseMappingTool</h4>
<pre>public&nbsp;ReverseMappingTool(<a href="../../../../../org/apache/openjpa/jdbc/conf/JDBCConfiguration.html" title="interface in org.apache.openjpa.jdbc.conf">JDBCConfiguration</a>&nbsp;conf)</pre>
<div class="block">Constructor. Supply configuration.</div>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="getConfiguration--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getConfiguration</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/openjpa/jdbc/conf/JDBCConfiguration.html" title="interface in org.apache.openjpa.jdbc.conf">JDBCConfiguration</a>&nbsp;getConfiguration()</pre>
<div class="block">Return the configuration provided on construction.</div>
</li>
</ul>
<a name="getLog--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getLog</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/openjpa/lib/log/Log.html" title="interface in org.apache.openjpa.lib.log">Log</a>&nbsp;getLog()</pre>
<div class="block">Return the log to write to.</div>
</li>
</ul>
<a name="getPackageName--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getPackageName</h4>
<pre>public&nbsp;<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>&nbsp;getPackageName()</pre>
<div class="block">Return the default package for the generated classes, or null if unset.</div>
</li>
</ul>
<a name="setPackageName-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setPackageName</h4>
<pre>public&nbsp;void&nbsp;setPackageName(<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>&nbsp;packageName)</pre>
<div class="block">Set the default package for the generated classes; use null to
indicate no package.</div>
</li>
</ul>
<a name="getDirectory--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDirectory</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a>&nbsp;getDirectory()</pre>
<div class="block">The file to output the generated code to, or null for
the current directory. If the directory matches the package, it will
be used. Otherwise, the package structure will be created under
this directory.</div>
</li>
</ul>
<a name="setDirectory-java.io.File-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setDirectory</h4>
<pre>public&nbsp;void&nbsp;setDirectory(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a>&nbsp;dir)</pre>
<div class="block">The file to output the generated code to, or null for
the current directory. If the directory matches the package, it will
be used. Otherwise, the package structure will be created under
this directory.</div>
</li>
</ul>
<a name="getUseSchemaName--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getUseSchemaName</h4>
<pre>public&nbsp;boolean&nbsp;getUseSchemaName()</pre>
<div class="block">Return true if the schema name will be included in the generated
class name for each table. Defaults to false.</div>
</li>
</ul>
<a name="setUseSchemaName-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setUseSchemaName</h4>
<pre>public&nbsp;void&nbsp;setUseSchemaName(boolean&nbsp;useSchema)</pre>
<div class="block">Set whether the schema name will be included in the generated
class name for each table. Defaults to false.</div>
</li>
</ul>
<a name="getUseForeignKeyName--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getUseForeignKeyName</h4>
<pre>public&nbsp;boolean&nbsp;getUseForeignKeyName()</pre>
<div class="block">Return whether the foreign key name will be used to generate
relation names. Defaults to false.</div>
</li>
</ul>
<a name="setUseForeignKeyName-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setUseForeignKeyName</h4>
<pre>public&nbsp;void&nbsp;setUseForeignKeyName(boolean&nbsp;useFK)</pre>
<div class="block">Set whether the foreign key name will be used to generate
relation names. Defaults to false.</div>
</li>
</ul>
<a name="getNullableAsObject--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getNullableAsObject</h4>
<pre>public&nbsp;boolean&nbsp;getNullableAsObject()</pre>
<div class="block">Return whether even nullable columns will be mapped to wrappers
rather than primitives. Defaults to false.</div>
</li>
</ul>
<a name="setNullableAsObject-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setNullableAsObject</h4>
<pre>public&nbsp;void&nbsp;setNullableAsObject(boolean&nbsp;nullAsObj)</pre>
<div class="block">Set whether even nullable columns will be mapped to wrappers
rather than primitives. Defaults to false.</div>
</li>
</ul>
<a name="getBlobAsObject--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getBlobAsObject</h4>
<pre>public&nbsp;boolean&nbsp;getBlobAsObject()</pre>
<div class="block">Whether to reverse-map blob columns as containing serialized Java
objects, rather than the default of using a byte[] field.</div>
</li>
</ul>
<a name="setBlobAsObject-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setBlobAsObject</h4>
<pre>public&nbsp;void&nbsp;setBlobAsObject(boolean&nbsp;blobAsObj)</pre>
<div class="block">Whether to reverse-map blob columns as containing serialized Java
objects, rather than the default of using a byte[] field.</div>
</li>
</ul>
<a name="getUseGenericCollections--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getUseGenericCollections</h4>
<pre>public&nbsp;boolean&nbsp;getUseGenericCollections()</pre>
<div class="block">Whether to use generic collections on one-to-many and many-to-many
relations instead of untyped collections.</div>
</li>
</ul>
<a name="setUseGenericCollections-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setUseGenericCollections</h4>
<pre>public&nbsp;void&nbsp;setUseGenericCollections(boolean&nbsp;useGenericCollections)</pre>
<div class="block">Whether to use generic collections on one-to-many and many-to-many
relations instead of untyped collections.</div>
</li>
</ul>
<a name="getTypeMap--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getTypeMap</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Properties.html?is-external=true" title="class or interface in java.util">Properties</a>&nbsp;getTypeMap()</pre>
<div class="block">Map of JDBC-name to Java-type-name entries that allows customization
of reverse mapping columns to field types.</div>
</li>
</ul>
<a name="setTypeMap-java.util.Properties-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setTypeMap</h4>
<pre>public&nbsp;void&nbsp;setTypeMap(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Properties.html?is-external=true" title="class or interface in java.util">Properties</a>&nbsp;typeMap)</pre>
<div class="block">Map of JDBC-name to Java-type-name entries that allows customization
of reverse mapping columns to field types.</div>
</li>
</ul>
<a name="getPrimaryKeyOnJoin--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getPrimaryKeyOnJoin</h4>
<pre>public&nbsp;boolean&nbsp;getPrimaryKeyOnJoin()</pre>
<div class="block">Return true if join tables are allowed to have primary keys, false
if all primary key tables will be mapped as persistent classes.
Defaults to false.</div>
</li>
</ul>
<a name="setPrimaryKeyOnJoin-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setPrimaryKeyOnJoin</h4>
<pre>public&nbsp;void&nbsp;setPrimaryKeyOnJoin(boolean&nbsp;pkOnJoin)</pre>
<div class="block">Set to true if join tables are allowed to have primary keys, false
if all primary key tables will be mapped as persistent classes.
Defaults to false.</div>
</li>
</ul>
<a name="getUseDataStoreIdentity--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getUseDataStoreIdentity</h4>
<pre>public&nbsp;boolean&nbsp;getUseDataStoreIdentity()</pre>
<div class="block">Whether to use datastore identity when possible. Defaults to false.</div>
</li>
</ul>
<a name="setUseDataStoreIdentity-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setUseDataStoreIdentity</h4>
<pre>public&nbsp;void&nbsp;setUseDataStoreIdentity(boolean&nbsp;datastore)</pre>
<div class="block">Whether to use datastore identity when possible. Defaults to false.</div>
</li>
</ul>
<a name="getUseBuiltinIdentityClass--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getUseBuiltinIdentityClass</h4>
<pre>public&nbsp;boolean&nbsp;getUseBuiltinIdentityClass()</pre>
<div class="block">Whether to use built in identity classes when possible. Defaults to true.</div>
</li>
</ul>
<a name="setUseBuiltinIdentityClass-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setUseBuiltinIdentityClass</h4>
<pre>public&nbsp;void&nbsp;setUseBuiltinIdentityClass(boolean&nbsp;builtin)</pre>
<div class="block">Whether to use built in identity classes when possible. Defaults to true.</div>
</li>
</ul>
<a name="getInnerIdentityClasses--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getInnerIdentityClasses</h4>
<pre>public&nbsp;boolean&nbsp;getInnerIdentityClasses()</pre>
<div class="block">Whether or not to generate inner classes when creating application
identity classes.</div>
</li>
</ul>
<a name="setInnerIdentityClasses-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setInnerIdentityClasses</h4>
<pre>public&nbsp;void&nbsp;setInnerIdentityClasses(boolean&nbsp;inner)</pre>
<div class="block">Whether or not to generate inner classes when creating application
identity classes.</div>
</li>
</ul>
<a name="getIdentityClassSuffix--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getIdentityClassSuffix</h4>
<pre>public&nbsp;<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>&nbsp;getIdentityClassSuffix()</pre>
<div class="block">Suffix used to create application identity class name from a class name,
or in the case of inner identity classes, the inner class name.</div>
</li>
</ul>
<a name="setIdentityClassSuffix-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setIdentityClassSuffix</h4>
<pre>public&nbsp;void&nbsp;setIdentityClassSuffix(<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>&nbsp;suffix)</pre>
<div class="block">Suffix used to create application identity class name from a class name,
or in the case of inner identity classes, the inner class name.</div>
</li>
</ul>
<a name="getInverseRelations--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getInverseRelations</h4>
<pre>public&nbsp;boolean&nbsp;getInverseRelations()</pre>
<div class="block">Whether to generate inverse 1-many/1-1 relations for all many-1/1-1
relations. Defaults to true.</div>
</li>
</ul>
<a name="setInverseRelations-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setInverseRelations</h4>
<pre>public&nbsp;void&nbsp;setInverseRelations(boolean&nbsp;inverse)</pre>
<div class="block">Whether to generate inverse 1-many/1-1 relations for all many-1/1-1
relations. Defaults to true.</div>
</li>
</ul>
<a name="getDetachable--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDetachable</h4>
<pre>public&nbsp;boolean&nbsp;getDetachable()</pre>
<div class="block">Whether to make generated classes detachable. Defaults to false.</div>
</li>
</ul>
<a name="setDetachable-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setDetachable</h4>
<pre>public&nbsp;void&nbsp;setDetachable(boolean&nbsp;detachable)</pre>
<div class="block">Whether to make generated classes detachable. Defaults to false.</div>
</li>
</ul>
<a name="getDiscriminatorStrategy--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDiscriminatorStrategy</h4>
<pre>public&nbsp;<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>&nbsp;getDiscriminatorStrategy()</pre>
<div class="block">Default discriminator strategy for base class mappings.</div>
</li>
</ul>
<a name="setDiscriminatorStrategy-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setDiscriminatorStrategy</h4>
<pre>public&nbsp;void&nbsp;setDiscriminatorStrategy(<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>&nbsp;discStrat)</pre>
<div class="block">Default discriminator strategy for base class mappings.</div>
</li>
</ul>
<a name="getVersionStrategy--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getVersionStrategy</h4>
<pre>public&nbsp;<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>&nbsp;getVersionStrategy()</pre>
<div class="block">Default version strategy for base class mappings.</div>
</li>
</ul>
<a name="setVersionStrategy-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setVersionStrategy</h4>
<pre>public&nbsp;void&nbsp;setVersionStrategy(<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>&nbsp;versionStrat)</pre>
<div class="block">Default version strategy for base class mappings.</div>
</li>
</ul>
<a name="getGenerateAnnotations--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getGenerateAnnotations</h4>
<pre>public&nbsp;boolean&nbsp;getGenerateAnnotations()</pre>
<div class="block">Whether to generate annotations along with generated code. Defaults
to false.</div>
</li>
</ul>
<a name="setGenerateAnnotations-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setGenerateAnnotations</h4>
<pre>public&nbsp;void&nbsp;setGenerateAnnotations(boolean&nbsp;genAnnotations)</pre>
<div class="block">Whether to generate annotations along with generated code. Defaults
to false.</div>
</li>
</ul>
<a name="getAccessType--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getAccessType</h4>
<pre>public&nbsp;<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>&nbsp;getAccessType()</pre>
<div class="block">Whether to use field or property-based access on generated code.
Defaults to field-based access.</div>
</li>
</ul>
<a name="setAccessType-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setAccessType</h4>
<pre>public&nbsp;void&nbsp;setAccessType(<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>&nbsp;accessType)</pre>
<div class="block">Whether to use field or property-based access on generated code.
Defaults to field-based access.</div>
</li>
</ul>
<a name="getCodeFormat--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getCodeFormat</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/openjpa/lib/util/CodeFormat.html" title="class in org.apache.openjpa.lib.util">CodeFormat</a>&nbsp;getCodeFormat()</pre>
<div class="block">The code formatter for the generated Java code.</div>
</li>
</ul>
<a name="setCodeFormat-org.apache.openjpa.lib.util.CodeFormat-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setCodeFormat</h4>
<pre>public&nbsp;void&nbsp;setCodeFormat(<a href="../../../../../org/apache/openjpa/lib/util/CodeFormat.html" title="class in org.apache.openjpa.lib.util">CodeFormat</a>&nbsp;format)</pre>
<div class="block">Set the code formatter for the generated Java code.</div>
</li>
</ul>
<a name="getCustomizer--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getCustomizer</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/openjpa/jdbc/meta/ReverseCustomizer.html" title="interface in org.apache.openjpa.jdbc.meta">ReverseCustomizer</a>&nbsp;getCustomizer()</pre>
<div class="block">Return the customizer in use, or null if none.</div>
</li>
</ul>
<a name="setCustomizer-org.apache.openjpa.jdbc.meta.ReverseCustomizer-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setCustomizer</h4>
<pre>public&nbsp;void&nbsp;setCustomizer(<a href="../../../../../org/apache/openjpa/jdbc/meta/ReverseCustomizer.html" title="interface in org.apache.openjpa.jdbc.meta">ReverseCustomizer</a>&nbsp;customizer)</pre>
<div class="block">Set the customizer. The configuration on the customizer, if any,
should already be set.</div>
</li>
</ul>
<a name="getUseSchemaElement--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getUseSchemaElement</h4>
<pre>public&nbsp;boolean&nbsp;getUseSchemaElement()</pre>
<div class="block">Returns whether or not the schema name will be included in the @Table
annotation within the generated class for each table, as well as the
corresponding XML mapping files. The initialized value is true (in order
to preserve backwards compatibility).</div>
</li>
</ul>
<a name="setUseSchemaElement-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setUseSchemaElement</h4>
<pre>public&nbsp;void&nbsp;setUseSchemaElement(boolean&nbsp;useSchemaElement)</pre>
<div class="block">Sets whether or not the schema name will be included in the @Table
annotation within the generated class for each table, as well as the
corresponding XML mapping files.</div>
</li>
</ul>
<a name="getRepository--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getRepository</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/openjpa/jdbc/meta/MappingRepository.html" title="class in org.apache.openjpa.jdbc.meta">MappingRepository</a>&nbsp;getRepository()</pre>
<div class="block">Return the mapping repository used to hold generated mappings. You
can also use the repository to seed the schema group to generate
classes from.</div>
</li>
</ul>
<a name="setRepository-org.apache.openjpa.jdbc.meta.MappingRepository-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setRepository</h4>
<pre>public&nbsp;void&nbsp;setRepository(<a href="../../../../../org/apache/openjpa/jdbc/meta/MappingRepository.html" title="class in org.apache.openjpa.jdbc.meta">MappingRepository</a>&nbsp;repos)</pre>
<div class="block">Set the repository to use.</div>
</li>
</ul>
<a name="getSchemaGroup--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSchemaGroup</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/openjpa/jdbc/schema/SchemaGroup.html" title="class in org.apache.openjpa.jdbc.schema">SchemaGroup</a>&nbsp;getSchemaGroup()</pre>
<div class="block">Return the schema group to reverse map. If none has been set, the
schema will be generated from the database.</div>
</li>
</ul>
<a name="setSchemaGroup-org.apache.openjpa.jdbc.schema.SchemaGroup-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setSchemaGroup</h4>
<pre>public&nbsp;void&nbsp;setSchemaGroup(<a href="../../../../../org/apache/openjpa/jdbc/schema/SchemaGroup.html" title="class in org.apache.openjpa.jdbc.schema">SchemaGroup</a>&nbsp;schema)</pre>
<div class="block">Set the schema to reverse map.</div>
</li>
</ul>
<a name="getMappings--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getMappings</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/openjpa/jdbc/meta/ClassMapping.html" title="class in org.apache.openjpa.jdbc.meta">ClassMapping</a>[]&nbsp;getMappings()</pre>
<div class="block">Return the generated mappings.</div>
</li>
</ul>
<a name="run--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>run</h4>
<pre>public&nbsp;void&nbsp;run()</pre>
<div class="block">Generate mappings and class code for the current schema group.</div>
</li>
</ul>
<a name="recordCode--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>recordCode</h4>
<pre>public&nbsp;<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>&nbsp;recordCode()
throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<div class="block">Uses <a href="../../../../../org/apache/openjpa/enhance/CodeGenerator.html" title="class in org.apache.openjpa.enhance"><code>CodeGenerator</code></a>s to write the Java code for the generated
mappings to the proper packages.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a list of <a href="https://docs.oracle.com/javase/8/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io"><code>File</code></a> instances that were written</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
</dl>
</li>
</ul>
<a name="recordCode-java.util.Map-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>recordCode</h4>
<pre>public&nbsp;<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>&nbsp;recordCode(<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>&lt;<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>&lt;?&gt;,<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>&gt;&nbsp;output)
throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<div class="block">Write the code for the tool.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>output</code> - if null, then perform the write directly
to the filesystem; otherwise, populate the
specified map with keys as the generated
<a href="../../../../../org/apache/openjpa/jdbc/meta/ClassMapping.html" title="class in org.apache.openjpa.jdbc.meta"><code>ClassMapping</code></a> and values as 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"><code>String</code></a> that contains the generated code</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a list of <a href="https://docs.oracle.com/javase/8/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io"><code>File</code></a> instances that were written</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
</dl>
</li>
</ul>
<a name="recordMetaData-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>recordMetaData</h4>
<pre>public&nbsp;<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>&nbsp;recordMetaData(boolean&nbsp;perClass)
throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<div class="block">Write the generated metadata to the proper packages.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the set of metadata <a href="https://docs.oracle.com/javase/8/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io"><code>File</code></a>s that were written</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
</dl>
</li>
</ul>
<a name="recordMetaData-boolean-java.util.Map-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>recordMetaData</h4>
<pre>public&nbsp;<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>&nbsp;recordMetaData(boolean&nbsp;perClass,
<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>&nbsp;output)
throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<div class="block">Write the code for the tool.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>output</code> - if null, then perform the write directly
to the filesystem; otherwise, populate the
specified map with keys as the generated
<a href="../../../../../org/apache/openjpa/jdbc/meta/ClassMapping.html" title="class in org.apache.openjpa.jdbc.meta"><code>ClassMapping</code></a> and values as 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"><code>String</code></a> that contains the generated code</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the set of metadata <a href="https://docs.oracle.com/javase/8/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io"><code>File</code></a>s that were written</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
</dl>
</li>
</ul>
<a name="buildAnnotations--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>buildAnnotations</h4>
<pre>public&nbsp;void&nbsp;buildAnnotations()</pre>
</li>
</ul>
<a name="getAnnotationsForMeta-java.lang.Object-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getAnnotationsForMeta</h4>
<pre>public&nbsp;<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>&nbsp;getAnnotationsForMeta(<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>&nbsp;meta)</pre>
<div class="block">Returns a list of stringified annotations for specified meta.</div>
</li>
</ul>
<a name="getClassMapping-org.apache.openjpa.jdbc.schema.Table-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getClassMapping</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/openjpa/jdbc/meta/ClassMapping.html" title="class in org.apache.openjpa.jdbc.meta">ClassMapping</a>&nbsp;getClassMapping(<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">Return the class mapping for the given table, or null if none.</div>
</li>
</ul>
<a name="newClassMapping-java.lang.Class-org.apache.openjpa.jdbc.schema.Table-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>newClassMapping</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/openjpa/jdbc/meta/ClassMapping.html" title="class in org.apache.openjpa.jdbc.meta">ClassMapping</a>&nbsp;newClassMapping(<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>&nbsp;cls,
<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">Create a new class to be mapped to a table. The class will start out
with a default application identity class set.</div>
</li>
</ul>
<a name="generateClass-java.lang.String-java.lang.Class-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>generateClass</h4>
<pre>public&nbsp;<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>&nbsp;generateClass(<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>&nbsp;name,
<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>&nbsp;parent)</pre>
<div class="block">Generate a new class with the given name. If a non-null parent class
is given, it will be set as the superclass.</div>
</li>
</ul>
<a name="isUnique-org.apache.openjpa.jdbc.schema.ForeignKey-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isUnique</h4>
<pre>public&nbsp;boolean&nbsp;isUnique(<a href="../../../../../org/apache/openjpa/jdbc/schema/ForeignKey.html" title="class in org.apache.openjpa.jdbc.schema">ForeignKey</a>&nbsp;fk)</pre>
<div class="block">Return whether the given foreign key is unique.</div>
</li>
</ul>
<a name="getUniqueForeignKey-org.apache.openjpa.jdbc.schema.Table-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getUniqueForeignKey</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/openjpa/jdbc/schema/ForeignKey.html" title="class in org.apache.openjpa.jdbc.schema">ForeignKey</a>&nbsp;getUniqueForeignKey(<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">If the given table has a single unique foreign key or a foreign
key that matches the primary key, return it. Else return null.</div>
</li>
</ul>
<a name="addJoinConstraints-org.apache.openjpa.jdbc.meta.FieldMapping-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addJoinConstraints</h4>
<pre>public&nbsp;void&nbsp;addJoinConstraints(<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">Add existing unique constraints and indexes to the given field's join.</div>
</li>
</ul>
<a name="addConstraints-org.apache.openjpa.jdbc.meta.ValueMapping-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addConstraints</h4>
<pre>public&nbsp;void&nbsp;addConstraints(<a href="../../../../../org/apache/openjpa/jdbc/meta/ValueMapping.html" title="interface in org.apache.openjpa.jdbc.meta">ValueMapping</a>&nbsp;vm)</pre>
<div class="block">Add existing unique constraints and indexes to the given value.</div>
</li>
</ul>
<a name="isBaseTable-org.apache.openjpa.jdbc.schema.Table-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isBaseTable</h4>
<pre>public&nbsp;boolean&nbsp;isBaseTable(<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">Return whether the given table is a base class table.</div>
</li>
</ul>
<a name="newFieldMapping-java.lang.String-java.lang.Class-org.apache.openjpa.jdbc.schema.Column-org.apache.openjpa.jdbc.schema.ForeignKey-org.apache.openjpa.jdbc.meta.ClassMapping-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>newFieldMapping</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/openjpa/jdbc/meta/FieldMapping.html" title="class in org.apache.openjpa.jdbc.meta">FieldMapping</a>&nbsp;newFieldMapping(<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>&nbsp;name,
<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>&nbsp;type,
<a href="../../../../../org/apache/openjpa/jdbc/schema/Column.html" title="class in org.apache.openjpa.jdbc.schema">Column</a>&nbsp;col,
<a href="../../../../../org/apache/openjpa/jdbc/schema/ForeignKey.html" title="class in org.apache.openjpa.jdbc.schema">ForeignKey</a>&nbsp;fk,
<a href="../../../../../org/apache/openjpa/jdbc/meta/ClassMapping.html" title="class in org.apache.openjpa.jdbc.meta">ClassMapping</a>&nbsp;dec)</pre>
<div class="block">Create a field mapping for the given info, or return null if
customizer rejects.</div>
</li>
</ul>
<a name="getFieldName-java.lang.String-org.apache.openjpa.jdbc.meta.ClassMapping-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getFieldName</h4>
<pre>public&nbsp;<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>&nbsp;getFieldName(<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>&nbsp;name,
<a href="../../../../../org/apache/openjpa/jdbc/meta/ClassMapping.html" title="class in org.apache.openjpa.jdbc.meta">ClassMapping</a>&nbsp;dec)</pre>
<div class="block">Return a default Java identifier-formatted name for the given
column/table name.</div>
</li>
</ul>
<a name="getFieldType-org.apache.openjpa.jdbc.schema.Column-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getFieldType</h4>
<pre>public&nbsp;<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>&nbsp;getFieldType(<a href="../../../../../org/apache/openjpa/jdbc/schema/Column.html" title="class in org.apache.openjpa.jdbc.schema">Column</a>&nbsp;col,
boolean&nbsp;forceObject)</pre>
<div class="block">Return the default field type for the given column.</div>
</li>
</ul>
<a name="clone--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>clone</h4>
<pre>public&nbsp;<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>&nbsp;clone()</pre>
<div class="block">Return a new tool with the same settings as this one. Used in workbench.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a></code>&nbsp;in class&nbsp;<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></dd>
</dl>
</li>
</ul>
<a name="newInstance-org.apache.openjpa.jdbc.conf.JDBCConfiguration-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>newInstance</h4>
<pre>protected static&nbsp;<a href="../../../../../org/apache/openjpa/jdbc/meta/ReverseMappingTool.html" title="class in org.apache.openjpa.jdbc.meta">ReverseMappingTool</a>&nbsp;newInstance(<a href="../../../../../org/apache/openjpa/jdbc/conf/JDBCConfiguration.html" title="interface in org.apache.openjpa.jdbc.conf">JDBCConfiguration</a>&nbsp;conf)</pre>
</li>
</ul>
<a name="main-java.lang.String:A-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>main</h4>
<pre>public static&nbsp;void&nbsp;main(<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>[]&nbsp;args)
throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a>,
<a href="https://docs.oracle.com/javase/8/docs/api/java/sql/SQLException.html?is-external=true" title="class or interface in java.sql">SQLException</a></pre>
<div class="block">Usage: java org.apache.openjpa.jdbc.meta.ReverseMappingTool
[option]* &lt;.schema file or resource&gt;*
Where the following options are recognized.
<ul>
<li><i>-properties/-p &lt;properties file or resource&gt;</i>: The
path or resource name of a OpenJPA properties file containing
information such as the license key data as outlined in
<a href="../../../../../org/apache/openjpa/conf/OpenJPAConfiguration.html" title="interface in org.apache.openjpa.conf"><code>OpenJPAConfiguration</code></a>. Optional.</li>
<li><i>-&lt;property name&gt; &lt;property value&gt;</i>: All bean
properties of the OpenJPA <a href="../../../../../org/apache/openjpa/jdbc/conf/JDBCConfiguration.html" title="interface in org.apache.openjpa.jdbc.conf"><code>JDBCConfiguration</code></a> can be set by
using their names and supplying a value. For example:
<code>-licenseKey adslfja83r3lkadf</code></li>
<li><i>-schemas/-s &lt;schemas and tables&gt;</i>: Comma-separated
list of schemas and tables to reverse-map.</li>
<li><i>-package/-pkg &lt;package name&gt;</i>: The name of the package
for all generated classes. Defaults to no package.</li>
<li><i>-directory/-d &lt;output directory&gt;</i>: The directory where
all generated code should be placed. Defaults to the current
directory.</li>
<li><i>-useSchemaName/-sn &lt;true/t | false/f&gt;</i>: Set this flag to
true to include the schema name as part of the generated class name
for each table.</li>
<li><i>-useSchemaElement/-se &lt;true/t | false/f&gt;</i>: Set this
flag to false to exclude the schema name from the @Table annotation
in the generated class for each table. If set to false, the schema
name will also be removed from the corresponding XML mapping files
(orm.xml) that are generated by the tool. The initialized value is
true (in order to preserve backwards compatibility). </li>
<li><i>-useForeignKeyName/-fkn &lt;true/t | false/f&gt;</i>: Set this
flag to true to use the foreign key name to generate fields
representing relations between classes.</li>
<li><i>-nullableAsObject/-no &lt;true/t | false/f&gt;</i>: Set to true
to make all nullable columns map to object types; columns that would
normally map to a primitive will map to the appropriate wrapper
type instead.</li>
<li><i>-blobAsObject/-bo &lt;true/t | false/f&gt;</i>: Set to true
to make all binary columns map to Object rather than byte[].</li>
<li><i>-useGenericCollections/-gc &lt;true/t | false/f&gt;</i>: Set to
true to use generic collections on OneToMany and ManyToMany relations
(requires JDK 1.5 or higher).</li>
<li><i>-typeMap/-typ &lt;types&gt;</i>: Default mapping of SQL type
names to Java classes.</li>
<li><i>-primaryKeyOnJoin/-pkj &lt;true/t | false/f&gt;</i>: Set to true
to allow primary keys on join tables.</li>
<li><i>-useDatastoreIdentity/-ds &lt;true/t | false/f&gt;</i>: Set to
true to use datastore identity where possible.</li>
<li><i>-useBuiltinIdentityClass/-bic &lt;true/t | false/f&gt;</i>: Set
to false to never use OpenJPA's builtin application identity
classes.</li>
<li><i>-innerIdentityClasses/-inn &lt;true/t | false/f&gt;</i>: Set to
true to generate the application identity classes as inner classes.</li>
<li><i>-identityClassSuffix/-is &lt;suffix&gt;</i>: Suffix to append
to class names to create identity class name, or for inner identity
classes, the inner class name.</li>
<li><i>-inverseRelations/-ir &lt;true/t | false/f&gt;</i>: Set to
false to prevent the creation of inverse 1-many/1-1 relations for
each encountered many-1/1-1 relation.</li>
<li><i>-detachable/-det &lt;true/t | false/f&gt;</i>: Set to
true to make generated classes detachable.</li>
<li><i>-discriminatorStrategy/-ds &lt;strategy&gt;</i>: The default
discriminator strategy to place on base classes.</li>
<li><i>-versionStrategy/-vs &lt;strategy&gt;</i>: The default
version strategy to place on base classes.</li>
<li><i>-metadata/-md &lt;class | package | none&gt;</i>: Specify the
level the metadata should be generated at. Defaults to generating a
single package-level metadata file.</li>
<li><i>-annotations/-ann &lt;true/t | false/f&gt;</i>: Set to true to
generate JPA annotations in generated code.</li>
<li><i>-accessType/-access &lt;field | property&gt;</i>: Change access
type for generated annotations. Defaults to field access.</li>
<li><i>-customizerClass/-cc &lt;class name&gt;</i>: The full class
name of a <a href="../../../../../org/apache/openjpa/jdbc/meta/ReverseCustomizer.html" title="interface in org.apache.openjpa.jdbc.meta"><code>ReverseCustomizer</code></a> implementation to use to
customize the reverse mapping process. Optional.</li>
<li><i>-customizerProperties/-cp &lt;properties file or resource&gt;</i>
: The path or resource name of a properties file that will be
passed to the reverse customizer on initialization. Optional.</li>
<li><i>-customizer/-c.&lt;property name&gt; &lt; property value&gt;</i>
: Arguments like this will be used to configure the bean
properties of the <a href="../../../../../org/apache/openjpa/jdbc/meta/ReverseCustomizer.html" title="interface in org.apache.openjpa.jdbc.meta"><code>ReverseCustomizer</code></a>.</li>
<li><i>-codeFormat/-cf.&lt;property name&gt; &lt; property value&gt;</i>
: Arguments like this will be used to configure the bean
properties of the internal <a href="../../../../../org/apache/openjpa/lib/util/CodeFormat.html" title="class in org.apache.openjpa.lib.util"><code>CodeFormat</code></a>.</li>
</ul>
Each schema given as an argument will be reverse-mapped into
persistent classes and associated metadata. If no arguments are given,
the database schemas defined by the system configuration will be
reverse-mapped.</div>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/sql/SQLException.html?is-external=true" title="class or interface in java.sql">SQLException</a></code></dd>
</dl>
</li>
</ul>
<a name="run-org.apache.openjpa.jdbc.conf.JDBCConfiguration-java.lang.String:A-org.apache.openjpa.lib.util.Options-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>run</h4>
<pre>public static&nbsp;boolean&nbsp;run(<a href="../../../../../org/apache/openjpa/jdbc/conf/JDBCConfiguration.html" title="interface in org.apache.openjpa.jdbc.conf">JDBCConfiguration</a>&nbsp;conf,
<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>[]&nbsp;args,
<a href="../../../../../org/apache/openjpa/lib/util/Options.html" title="class in org.apache.openjpa.lib.util">Options</a>&nbsp;opts)
throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a>,
<a href="https://docs.oracle.com/javase/8/docs/api/java/sql/SQLException.html?is-external=true" title="class or interface in java.sql">SQLException</a></pre>
<div class="block">Run the tool. Returns false if invalid options were given.</div>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/sql/SQLException.html?is-external=true" title="class or interface in java.sql">SQLException</a></code></dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../org/apache/openjpa/jdbc/meta/ReverseMappingTool.html#main-java.lang.String:A-"><code>main(java.lang.String[])</code></a></dd>
</dl>
</li>
</ul>
<a name="run-org.apache.openjpa.jdbc.conf.JDBCConfiguration-java.lang.String:A-org.apache.openjpa.lib.util.Options-java.util.Map-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>run</h4>
<pre>public static&nbsp;boolean&nbsp;run(<a href="../../../../../org/apache/openjpa/jdbc/conf/JDBCConfiguration.html" title="interface in org.apache.openjpa.jdbc.conf">JDBCConfiguration</a>&nbsp;conf,
<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>[]&nbsp;args,
<a href="../../../../../org/apache/openjpa/lib/util/Options.html" title="class in org.apache.openjpa.lib.util">Options</a>&nbsp;opts,
<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>&lt;<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>&lt;?&gt;,<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>&gt;&nbsp;output)
throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a>,
<a href="https://docs.oracle.com/javase/8/docs/api/java/sql/SQLException.html?is-external=true" title="class or interface in java.sql">SQLException</a></pre>
<div class="block">Run the tool and write to the optionally provided map. Returns false if invalid options were given.</div>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/sql/SQLException.html?is-external=true" title="class or interface in java.sql">SQLException</a></code></dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../org/apache/openjpa/jdbc/meta/ReverseMappingTool.html#main-java.lang.String:A-"><code>main(java.lang.String[])</code></a></dd>
</dl>
</li>
</ul>
<a name="run-org.apache.openjpa.jdbc.conf.JDBCConfiguration-java.lang.String:A-org.apache.openjpa.jdbc.meta.ReverseMappingTool.Flags-java.lang.ClassLoader-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>run</h4>
<pre>public static&nbsp;void&nbsp;run(<a href="../../../../../org/apache/openjpa/jdbc/conf/JDBCConfiguration.html" title="interface in org.apache.openjpa.jdbc.conf">JDBCConfiguration</a>&nbsp;conf,
<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>[]&nbsp;args,
<a href="../../../../../org/apache/openjpa/jdbc/meta/ReverseMappingTool.Flags.html" title="class in org.apache.openjpa.jdbc.meta">ReverseMappingTool.Flags</a>&nbsp;flags,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/ClassLoader.html?is-external=true" title="class or interface in java.lang">ClassLoader</a>&nbsp;loader)
throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a>,
<a href="https://docs.oracle.com/javase/8/docs/api/java/sql/SQLException.html?is-external=true" title="class or interface in java.sql">SQLException</a></pre>
<div class="block">Run the tool.</div>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/sql/SQLException.html?is-external=true" title="class or interface in java.sql">SQLException</a></code></dd>
</dl>
</li>
</ul>
<a name="run-org.apache.openjpa.jdbc.conf.JDBCConfiguration-java.lang.String:A-org.apache.openjpa.jdbc.meta.ReverseMappingTool.Flags-java.lang.ClassLoader-java.util.Map-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>run</h4>
<pre>public static&nbsp;void&nbsp;run(<a href="../../../../../org/apache/openjpa/jdbc/conf/JDBCConfiguration.html" title="interface in org.apache.openjpa.jdbc.conf">JDBCConfiguration</a>&nbsp;conf,
<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>[]&nbsp;args,
<a href="../../../../../org/apache/openjpa/jdbc/meta/ReverseMappingTool.Flags.html" title="class in org.apache.openjpa.jdbc.meta">ReverseMappingTool.Flags</a>&nbsp;flags,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/ClassLoader.html?is-external=true" title="class or interface in java.lang">ClassLoader</a>&nbsp;loader,
<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>&lt;<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>&lt;?&gt;,<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>&gt;&nbsp;output)
throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a>,
<a href="https://docs.oracle.com/javase/8/docs/api/java/sql/SQLException.html?is-external=true" title="class or interface in java.sql">SQLException</a></pre>
<div class="block">Run the tool and write to the optionally provided map</div>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/sql/SQLException.html?is-external=true" title="class or interface in java.sql">SQLException</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/ReverseMappingTool.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/ReverseCustomizer.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.Flags.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/ReverseMappingTool.html" target="_top">Frames</a></li>
<li><a href="ReverseMappingTool.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><a href="#nested.class.summary">Nested</a>&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&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;2020 <a href="http://www.apache.org">Apache Software Foundation</a>. All rights reserved.</small></p>
</body>
</html>