blob: 85341d6f8878f27a81603010f97e1a73307b55dd [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:32 CEST 2020 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Class org.apache.openjpa.jdbc.schema.Unique (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="Uses of Class org.apache.openjpa.jdbc.schema.Unique (OpenJPA Parent POM 3.1.2 API)";
}
}
catch(err) {
}
//-->
</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><a href="../../../../../../org/apache/openjpa/jdbc/schema/Unique.html" title="class in org.apache.openjpa.jdbc.schema">Class</a></li>
<li class="navBarCell1Rev">Use</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>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../../../../../index.html?org/apache/openjpa/jdbc/schema/class-use/Unique.html" target="_top">Frames</a></li>
<li><a href="Unique.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>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<div class="header">
<h2 title="Uses of Class org.apache.openjpa.jdbc.schema.Unique" class="title">Uses of Class<br>org.apache.openjpa.jdbc.schema.Unique</h2>
</div>
<div class="classUseContainer">
<ul class="blockList">
<li class="blockList">
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing packages, and an explanation">
<caption><span>Packages that use <a href="../../../../../../org/apache/openjpa/jdbc/schema/Unique.html" title="class in org.apache.openjpa.jdbc.schema">Unique</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Package</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><a href="#org.apache.openjpa.jdbc.meta">org.apache.openjpa.jdbc.meta</a></td>
<td class="colLast">
<div class="block"><strong>OpenJPA-JDBC ORM Metadata</strong>
This package extends the standard persistence metadata with
object-relational mapping information.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="#org.apache.openjpa.jdbc.schema">org.apache.openjpa.jdbc.schema</a></td>
<td class="colLast">
<div class="block"><strong>OpenJPA-JDBC Schema Management</strong>
This package provides utilities for managing the schema of
persistent objects stored in a relational database.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="#org.apache.openjpa.jdbc.sql">org.apache.openjpa.jdbc.sql</a></td>
<td class="colLast">
<div class="block"><strong>OpenJPA-JDBC SQL Abstraction</strong>
Utilities for generating SQL.</div>
</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList">
<ul class="blockList">
<li class="blockList"><a name="org.apache.openjpa.jdbc.meta">
<!-- -->
</a>
<h3>Uses of <a href="../../../../../../org/apache/openjpa/jdbc/schema/Unique.html" title="class in org.apache.openjpa.jdbc.schema">Unique</a> in <a href="../../../../../../org/apache/openjpa/jdbc/meta/package-summary.html">org.apache.openjpa.jdbc.meta</a></h3>
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in <a href="../../../../../../org/apache/openjpa/jdbc/meta/package-summary.html">org.apache.openjpa.jdbc.meta</a> that return <a href="../../../../../../org/apache/openjpa/jdbc/schema/Unique.html" title="class in org.apache.openjpa.jdbc.schema">Unique</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>protected <a href="../../../../../../org/apache/openjpa/jdbc/schema/Unique.html" title="class in org.apache.openjpa.jdbc.schema">Unique</a></code></td>
<td class="colLast"><span class="typeNameLabel">MappingInfo.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/openjpa/jdbc/meta/MappingInfo.html#createUnique-org.apache.openjpa.meta.MetaDataContext-java.lang.String-org.apache.openjpa.jdbc.schema.Unique-org.apache.openjpa.jdbc.schema.Column:A-boolean-">createUnique</a></span>(<a href="../../../../../../org/apache/openjpa/meta/MetaDataContext.html" title="interface in org.apache.openjpa.meta">MetaDataContext</a>&nbsp;context,
<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;prefix,
<a href="../../../../../../org/apache/openjpa/jdbc/schema/Unique.html" title="class in org.apache.openjpa.jdbc.schema">Unique</a>&nbsp;tmplate,
<a href="../../../../../../org/apache/openjpa/jdbc/schema/Column.html" title="class in org.apache.openjpa.jdbc.schema">Column</a>[]&nbsp;cols,
boolean&nbsp;adapt)</code>
<div class="block">Retrieve/create a unique constraint on the given columns by merging the
given template information with any user-provided information.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../../org/apache/openjpa/jdbc/schema/Unique.html" title="class in org.apache.openjpa.jdbc.schema">Unique</a>[]</code></td>
<td class="colLast"><span class="typeNameLabel">FieldMapping.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/openjpa/jdbc/meta/FieldMapping.html#getJoinTableUniques--">getJoinTableUniques</a></span>()</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../../org/apache/openjpa/jdbc/schema/Unique.html" title="class in org.apache.openjpa.jdbc.schema">Unique</a>[]</code></td>
<td class="colLast"><span class="typeNameLabel">FieldMappingInfo.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/openjpa/jdbc/meta/FieldMappingInfo.html#getJoinTableUniques-org.apache.openjpa.jdbc.meta.FieldMapping-boolean-boolean-">getJoinTableUniques</a></span>(<a href="../../../../../../org/apache/openjpa/jdbc/meta/FieldMapping.html" title="class in org.apache.openjpa.jdbc.meta">FieldMapping</a>&nbsp;field,
boolean&nbsp;def,
boolean&nbsp;adapt)</code>
<div class="block">Get the unique constraints associated with the Sequence table.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../../org/apache/openjpa/jdbc/schema/Unique.html" title="class in org.apache.openjpa.jdbc.schema">Unique</a></code></td>
<td class="colLast"><span class="typeNameLabel">FieldMapping.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/openjpa/jdbc/meta/FieldMapping.html#getJoinUnique--">getJoinUnique</a></span>()</code>
<div class="block">Unique constraint on join foreign key columns.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../../org/apache/openjpa/jdbc/schema/Unique.html" title="class in org.apache.openjpa.jdbc.schema">Unique</a></code></td>
<td class="colLast"><span class="typeNameLabel">FieldMappingInfo.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/openjpa/jdbc/meta/FieldMappingInfo.html#getJoinUnique-org.apache.openjpa.jdbc.meta.FieldMapping-boolean-boolean-">getJoinUnique</a></span>(<a href="../../../../../../org/apache/openjpa/jdbc/meta/FieldMapping.html" title="class in org.apache.openjpa.jdbc.meta">FieldMapping</a>&nbsp;field,
boolean&nbsp;def,
boolean&nbsp;adapt)</code>
<div class="block">Unique constraint on the field join.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../../org/apache/openjpa/jdbc/schema/Unique.html" title="class in org.apache.openjpa.jdbc.schema">Unique</a></code></td>
<td class="colLast"><span class="typeNameLabel">NoneMappingDefaults.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/openjpa/jdbc/meta/NoneMappingDefaults.html#getJoinUnique-org.apache.openjpa.jdbc.meta.FieldMapping-org.apache.openjpa.jdbc.schema.Table-org.apache.openjpa.jdbc.schema.Column:A-">getJoinUnique</a></span>(<a href="../../../../../../org/apache/openjpa/jdbc/meta/FieldMapping.html" title="class in org.apache.openjpa.jdbc.meta">FieldMapping</a>&nbsp;fm,
<a href="../../../../../../org/apache/openjpa/jdbc/schema/Table.html" title="class in org.apache.openjpa.jdbc.schema">Table</a>&nbsp;table,
<a href="../../../../../../org/apache/openjpa/jdbc/schema/Column.html" title="class in org.apache.openjpa.jdbc.schema">Column</a>[]&nbsp;cols)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../../org/apache/openjpa/jdbc/schema/Unique.html" title="class in org.apache.openjpa.jdbc.schema">Unique</a></code></td>
<td class="colLast"><span class="typeNameLabel">MappingDefaultsImpl.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/openjpa/jdbc/meta/MappingDefaultsImpl.html#getJoinUnique-org.apache.openjpa.jdbc.meta.FieldMapping-org.apache.openjpa.jdbc.schema.Table-org.apache.openjpa.jdbc.schema.Column:A-">getJoinUnique</a></span>(<a href="../../../../../../org/apache/openjpa/jdbc/meta/FieldMapping.html" title="class in org.apache.openjpa.jdbc.meta">FieldMapping</a>&nbsp;fm,
<a href="../../../../../../org/apache/openjpa/jdbc/schema/Table.html" title="class in org.apache.openjpa.jdbc.schema">Table</a>&nbsp;table,
<a href="../../../../../../org/apache/openjpa/jdbc/schema/Column.html" title="class in org.apache.openjpa.jdbc.schema">Column</a>[]&nbsp;cols)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../../org/apache/openjpa/jdbc/schema/Unique.html" title="class in org.apache.openjpa.jdbc.schema">Unique</a></code></td>
<td class="colLast"><span class="typeNameLabel">MappingDefaults.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/openjpa/jdbc/meta/MappingDefaults.html#getJoinUnique-org.apache.openjpa.jdbc.meta.FieldMapping-org.apache.openjpa.jdbc.schema.Table-org.apache.openjpa.jdbc.schema.Column:A-">getJoinUnique</a></span>(<a href="../../../../../../org/apache/openjpa/jdbc/meta/FieldMapping.html" title="class in org.apache.openjpa.jdbc.meta">FieldMapping</a>&nbsp;fm,
<a href="../../../../../../org/apache/openjpa/jdbc/schema/Table.html" title="class in org.apache.openjpa.jdbc.schema">Table</a>&nbsp;table,
<a href="../../../../../../org/apache/openjpa/jdbc/schema/Column.html" title="class in org.apache.openjpa.jdbc.schema">Column</a>[]&nbsp;cols)</code>
<div class="block">Return a default constraint for the join, or null if the join columns
should not be constrained by default.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../../org/apache/openjpa/jdbc/schema/Unique.html" title="class in org.apache.openjpa.jdbc.schema">Unique</a></code></td>
<td class="colLast"><span class="typeNameLabel">MappingInfo.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/openjpa/jdbc/meta/MappingInfo.html#getUnique--">getUnique</a></span>()</code>
<div class="block">Raw unique constraint information.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../../org/apache/openjpa/jdbc/schema/Unique.html" title="class in org.apache.openjpa.jdbc.schema">Unique</a></code></td>
<td class="colLast"><span class="typeNameLabel">ValueMappingInfo.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/openjpa/jdbc/meta/ValueMappingInfo.html#getUnique-org.apache.openjpa.jdbc.meta.ValueMapping-org.apache.openjpa.jdbc.identifier.DBIdentifier-boolean-">getUnique</a></span>(<a href="../../../../../../org/apache/openjpa/jdbc/meta/ValueMapping.html" title="interface in org.apache.openjpa.jdbc.meta">ValueMapping</a>&nbsp;val,
<a href="../../../../../../org/apache/openjpa/jdbc/identifier/DBIdentifier.html" title="class in org.apache.openjpa.jdbc.identifier">DBIdentifier</a>&nbsp;name,
boolean&nbsp;adapt)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../../org/apache/openjpa/jdbc/schema/Unique.html" title="class in org.apache.openjpa.jdbc.schema">Unique</a></code></td>
<td class="colLast"><span class="typeNameLabel">NoneMappingDefaults.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/openjpa/jdbc/meta/NoneMappingDefaults.html#getUnique-org.apache.openjpa.jdbc.meta.ValueMapping-org.apache.openjpa.jdbc.identifier.DBIdentifier-org.apache.openjpa.jdbc.schema.Table-org.apache.openjpa.jdbc.schema.Column:A-">getUnique</a></span>(<a href="../../../../../../org/apache/openjpa/jdbc/meta/ValueMapping.html" title="interface in org.apache.openjpa.jdbc.meta">ValueMapping</a>&nbsp;vm,
<a href="../../../../../../org/apache/openjpa/jdbc/identifier/DBIdentifier.html" title="class in org.apache.openjpa.jdbc.identifier">DBIdentifier</a>&nbsp;name,
<a href="../../../../../../org/apache/openjpa/jdbc/schema/Table.html" title="class in org.apache.openjpa.jdbc.schema">Table</a>&nbsp;table,
<a href="../../../../../../org/apache/openjpa/jdbc/schema/Column.html" title="class in org.apache.openjpa.jdbc.schema">Column</a>[]&nbsp;cols)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../../org/apache/openjpa/jdbc/schema/Unique.html" title="class in org.apache.openjpa.jdbc.schema">Unique</a></code></td>
<td class="colLast"><span class="typeNameLabel">MappingDefaultsImpl.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/openjpa/jdbc/meta/MappingDefaultsImpl.html#getUnique-org.apache.openjpa.jdbc.meta.ValueMapping-org.apache.openjpa.jdbc.identifier.DBIdentifier-org.apache.openjpa.jdbc.schema.Table-org.apache.openjpa.jdbc.schema.Column:A-">getUnique</a></span>(<a href="../../../../../../org/apache/openjpa/jdbc/meta/ValueMapping.html" title="interface in org.apache.openjpa.jdbc.meta">ValueMapping</a>&nbsp;vm,
<a href="../../../../../../org/apache/openjpa/jdbc/identifier/DBIdentifier.html" title="class in org.apache.openjpa.jdbc.identifier">DBIdentifier</a>&nbsp;name,
<a href="../../../../../../org/apache/openjpa/jdbc/schema/Table.html" title="class in org.apache.openjpa.jdbc.schema">Table</a>&nbsp;table,
<a href="../../../../../../org/apache/openjpa/jdbc/schema/Column.html" title="class in org.apache.openjpa.jdbc.schema">Column</a>[]&nbsp;cols)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../../org/apache/openjpa/jdbc/schema/Unique.html" title="class in org.apache.openjpa.jdbc.schema">Unique</a></code></td>
<td class="colLast"><span class="typeNameLabel">MappingDefaults.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/openjpa/jdbc/meta/MappingDefaults.html#getUnique-org.apache.openjpa.jdbc.meta.ValueMapping-org.apache.openjpa.jdbc.identifier.DBIdentifier-org.apache.openjpa.jdbc.schema.Table-org.apache.openjpa.jdbc.schema.Column:A-">getUnique</a></span>(<a href="../../../../../../org/apache/openjpa/jdbc/meta/ValueMapping.html" title="interface in org.apache.openjpa.jdbc.meta">ValueMapping</a>&nbsp;vm,
<a href="../../../../../../org/apache/openjpa/jdbc/identifier/DBIdentifier.html" title="class in org.apache.openjpa.jdbc.identifier">DBIdentifier</a>&nbsp;name,
<a href="../../../../../../org/apache/openjpa/jdbc/schema/Table.html" title="class in org.apache.openjpa.jdbc.schema">Table</a>&nbsp;table,
<a href="../../../../../../org/apache/openjpa/jdbc/schema/Column.html" title="class in org.apache.openjpa.jdbc.schema">Column</a>[]&nbsp;cols)</code>
<div class="block">Return a default constraint for the value, or null if the value columns
should not be constrained by default.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../../org/apache/openjpa/jdbc/schema/Unique.html" title="class in org.apache.openjpa.jdbc.schema">Unique</a></code></td>
<td class="colLast"><span class="typeNameLabel">ValueMappingInfo.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/openjpa/jdbc/meta/ValueMappingInfo.html#getUnique-org.apache.openjpa.jdbc.meta.ValueMapping-java.lang.String-boolean-">getUnique</a></span>(<a href="../../../../../../org/apache/openjpa/jdbc/meta/ValueMapping.html" title="interface in org.apache.openjpa.jdbc.meta">ValueMapping</a>&nbsp;val,
<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,
boolean&nbsp;adapt)</code>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;&nbsp;</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../../org/apache/openjpa/jdbc/schema/Unique.html" title="class in org.apache.openjpa.jdbc.schema">Unique</a></code></td>
<td class="colLast"><span class="typeNameLabel">NoneMappingDefaults.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/openjpa/jdbc/meta/NoneMappingDefaults.html#getUnique-org.apache.openjpa.jdbc.meta.ValueMapping-java.lang.String-org.apache.openjpa.jdbc.schema.Table-org.apache.openjpa.jdbc.schema.Column:A-">getUnique</a></span>(<a href="../../../../../../org/apache/openjpa/jdbc/meta/ValueMapping.html" title="interface in org.apache.openjpa.jdbc.meta">ValueMapping</a>&nbsp;vm,
<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/schema/Table.html" title="class in org.apache.openjpa.jdbc.schema">Table</a>&nbsp;table,
<a href="../../../../../../org/apache/openjpa/jdbc/schema/Column.html" title="class in org.apache.openjpa.jdbc.schema">Column</a>[]&nbsp;cols)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../../org/apache/openjpa/jdbc/schema/Unique.html" title="class in org.apache.openjpa.jdbc.schema">Unique</a></code></td>
<td class="colLast"><span class="typeNameLabel">MappingDefaultsImpl.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/openjpa/jdbc/meta/MappingDefaultsImpl.html#getUnique-org.apache.openjpa.jdbc.meta.ValueMapping-java.lang.String-org.apache.openjpa.jdbc.schema.Table-org.apache.openjpa.jdbc.schema.Column:A-">getUnique</a></span>(<a href="../../../../../../org/apache/openjpa/jdbc/meta/ValueMapping.html" title="interface in org.apache.openjpa.jdbc.meta">ValueMapping</a>&nbsp;vm,
<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/schema/Table.html" title="class in org.apache.openjpa.jdbc.schema">Table</a>&nbsp;table,
<a href="../../../../../../org/apache/openjpa/jdbc/schema/Column.html" title="class in org.apache.openjpa.jdbc.schema">Column</a>[]&nbsp;cols)</code>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;&nbsp;</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../../org/apache/openjpa/jdbc/schema/Unique.html" title="class in org.apache.openjpa.jdbc.schema">Unique</a></code></td>
<td class="colLast"><span class="typeNameLabel">MappingDefaults.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/openjpa/jdbc/meta/MappingDefaults.html#getUnique-org.apache.openjpa.jdbc.meta.ValueMapping-java.lang.String-org.apache.openjpa.jdbc.schema.Table-org.apache.openjpa.jdbc.schema.Column:A-">getUnique</a></span>(<a href="../../../../../../org/apache/openjpa/jdbc/meta/ValueMapping.html" title="interface in org.apache.openjpa.jdbc.meta">ValueMapping</a>&nbsp;vm,
<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/schema/Table.html" title="class in org.apache.openjpa.jdbc.schema">Table</a>&nbsp;table,
<a href="../../../../../../org/apache/openjpa/jdbc/schema/Column.html" title="class in org.apache.openjpa.jdbc.schema">Column</a>[]&nbsp;cols)</code>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;&nbsp;</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../../org/apache/openjpa/jdbc/schema/Unique.html" title="class in org.apache.openjpa.jdbc.schema">Unique</a>[]</code></td>
<td class="colLast"><span class="typeNameLabel">ClassMappingInfo.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/openjpa/jdbc/meta/ClassMappingInfo.html#getUniques-org.apache.openjpa.jdbc.identifier.DBIdentifier-">getUniques</a></span>(<a href="../../../../../../org/apache/openjpa/jdbc/identifier/DBIdentifier.html" title="class in org.apache.openjpa.jdbc.identifier">DBIdentifier</a>&nbsp;table)</code>
<div class="block">Get the unique constraints of the given primary or secondary table.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../../org/apache/openjpa/jdbc/schema/Unique.html" title="class in org.apache.openjpa.jdbc.schema">Unique</a>[]</code></td>
<td class="colLast"><span class="typeNameLabel">ClassMappingInfo.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/openjpa/jdbc/meta/ClassMappingInfo.html#getUniques-org.apache.openjpa.meta.MetaDataContext-boolean-">getUniques</a></span>(<a href="../../../../../../org/apache/openjpa/meta/MetaDataContext.html" title="interface in org.apache.openjpa.meta">MetaDataContext</a>&nbsp;cm,
boolean&nbsp;adapt)</code>
<div class="block">Get all the unique constraints associated with both the primary and/or
secondary tables.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../../org/apache/openjpa/jdbc/schema/Unique.html" title="class in org.apache.openjpa.jdbc.schema">Unique</a>[]</code></td>
<td class="colLast"><span class="typeNameLabel">ClassMappingInfo.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/openjpa/jdbc/meta/ClassMappingInfo.html#getUniques-java.lang.String-">getUniques</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;table)</code>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;&nbsp;</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../../org/apache/openjpa/jdbc/schema/Unique.html" title="class in org.apache.openjpa.jdbc.schema">Unique</a></code></td>
<td class="colLast"><span class="typeNameLabel">ValueMapping.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/openjpa/jdbc/meta/ValueMapping.html#getValueUnique--">getValueUnique</a></span>()</code>
<div class="block">Unique constraint on this value's columns, or null if none.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../../org/apache/openjpa/jdbc/schema/Unique.html" title="class in org.apache.openjpa.jdbc.schema">Unique</a></code></td>
<td class="colLast"><span class="typeNameLabel">ValueMappingImpl.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/openjpa/jdbc/meta/ValueMappingImpl.html#getValueUnique--">getValueUnique</a></span>()</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../../org/apache/openjpa/jdbc/schema/Unique.html" title="class in org.apache.openjpa.jdbc.schema">Unique</a></code></td>
<td class="colLast"><span class="typeNameLabel">FieldMapping.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/openjpa/jdbc/meta/FieldMapping.html#getValueUnique--">getValueUnique</a></span>()</code>&nbsp;</td>
</tr>
</tbody>
</table>
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in <a href="../../../../../../org/apache/openjpa/jdbc/meta/package-summary.html">org.apache.openjpa.jdbc.meta</a> with parameters of type <a href="../../../../../../org/apache/openjpa/jdbc/schema/Unique.html" title="class in org.apache.openjpa.jdbc.schema">Unique</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><span class="typeNameLabel">FieldMappingInfo.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/openjpa/jdbc/meta/FieldMappingInfo.html#addJoinTableUnique-org.apache.openjpa.jdbc.schema.Unique-">addJoinTableUnique</a></span>(<a href="../../../../../../org/apache/openjpa/jdbc/schema/Unique.html" title="class in org.apache.openjpa.jdbc.schema">Unique</a>&nbsp;u)</code>
<div class="block">Add Unique Constraint to the Join Table.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><span class="typeNameLabel">ClassMappingInfo.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/openjpa/jdbc/meta/ClassMappingInfo.html#addUnique-org.apache.openjpa.jdbc.identifier.DBIdentifier-org.apache.openjpa.jdbc.schema.Unique-">addUnique</a></span>(<a href="../../../../../../org/apache/openjpa/jdbc/identifier/DBIdentifier.html" title="class in org.apache.openjpa.jdbc.identifier">DBIdentifier</a>&nbsp;table,
<a href="../../../../../../org/apache/openjpa/jdbc/schema/Unique.html" title="class in org.apache.openjpa.jdbc.schema">Unique</a>&nbsp;unique)</code>
<div class="block">Add a unique constraint for the given table.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><span class="typeNameLabel">ClassMappingInfo.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/openjpa/jdbc/meta/ClassMappingInfo.html#addUnique-java.lang.String-org.apache.openjpa.jdbc.schema.Unique-">addUnique</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;table,
<a href="../../../../../../org/apache/openjpa/jdbc/schema/Unique.html" title="class in org.apache.openjpa.jdbc.schema">Unique</a>&nbsp;unique)</code>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;&nbsp;</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected <a href="../../../../../../org/apache/openjpa/jdbc/schema/Unique.html" title="class in org.apache.openjpa.jdbc.schema">Unique</a></code></td>
<td class="colLast"><span class="typeNameLabel">MappingInfo.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/openjpa/jdbc/meta/MappingInfo.html#createUnique-org.apache.openjpa.meta.MetaDataContext-java.lang.String-org.apache.openjpa.jdbc.schema.Unique-org.apache.openjpa.jdbc.schema.Column:A-boolean-">createUnique</a></span>(<a href="../../../../../../org/apache/openjpa/meta/MetaDataContext.html" title="interface in org.apache.openjpa.meta">MetaDataContext</a>&nbsp;context,
<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;prefix,
<a href="../../../../../../org/apache/openjpa/jdbc/schema/Unique.html" title="class in org.apache.openjpa.jdbc.schema">Unique</a>&nbsp;tmplate,
<a href="../../../../../../org/apache/openjpa/jdbc/schema/Column.html" title="class in org.apache.openjpa.jdbc.schema">Column</a>[]&nbsp;cols,
boolean&nbsp;adapt)</code>
<div class="block">Retrieve/create a unique constraint on the given columns by merging the
given template information with any user-provided information.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><span class="typeNameLabel">FieldMapping.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/openjpa/jdbc/meta/FieldMapping.html#setJoinTableUniques-org.apache.openjpa.jdbc.schema.Unique:A-">setJoinTableUniques</a></span>(<a href="../../../../../../org/apache/openjpa/jdbc/schema/Unique.html" title="class in org.apache.openjpa.jdbc.schema">Unique</a>[]&nbsp;unqs)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><span class="typeNameLabel">FieldMapping.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/openjpa/jdbc/meta/FieldMapping.html#setJoinUnique-org.apache.openjpa.jdbc.schema.Unique-">setJoinUnique</a></span>(<a href="../../../../../../org/apache/openjpa/jdbc/schema/Unique.html" title="class in org.apache.openjpa.jdbc.schema">Unique</a>&nbsp;unq)</code>
<div class="block">Unique constraint on join foreign key columns.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><span class="typeNameLabel">MappingInfo.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/openjpa/jdbc/meta/MappingInfo.html#setUnique-org.apache.openjpa.jdbc.schema.Unique-">setUnique</a></span>(<a href="../../../../../../org/apache/openjpa/jdbc/schema/Unique.html" title="class in org.apache.openjpa.jdbc.schema">Unique</a>&nbsp;unq)</code>
<div class="block">Raw unique constraint information.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><span class="typeNameLabel">ValueMapping.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/openjpa/jdbc/meta/ValueMapping.html#setValueUnique-org.apache.openjpa.jdbc.schema.Unique-">setValueUnique</a></span>(<a href="../../../../../../org/apache/openjpa/jdbc/schema/Unique.html" title="class in org.apache.openjpa.jdbc.schema">Unique</a>&nbsp;unq)</code>
<div class="block">Unique constraint on this value's columns, or null if none.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><span class="typeNameLabel">ValueMappingImpl.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/openjpa/jdbc/meta/ValueMappingImpl.html#setValueUnique-org.apache.openjpa.jdbc.schema.Unique-">setValueUnique</a></span>(<a href="../../../../../../org/apache/openjpa/jdbc/schema/Unique.html" title="class in org.apache.openjpa.jdbc.schema">Unique</a>&nbsp;unq)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><span class="typeNameLabel">FieldMapping.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/openjpa/jdbc/meta/FieldMapping.html#setValueUnique-org.apache.openjpa.jdbc.schema.Unique-">setValueUnique</a></span>(<a href="../../../../../../org/apache/openjpa/jdbc/schema/Unique.html" title="class in org.apache.openjpa.jdbc.schema">Unique</a>&nbsp;unq)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><span class="typeNameLabel">FieldMappingInfo.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/openjpa/jdbc/meta/FieldMappingInfo.html#syncJoinTableUniques-org.apache.openjpa.meta.MetaDataContext-org.apache.openjpa.jdbc.schema.Unique:A-">syncJoinTableUniques</a></span>(<a href="../../../../../../org/apache/openjpa/meta/MetaDataContext.html" title="interface in org.apache.openjpa.meta">MetaDataContext</a>&nbsp;context,
<a href="../../../../../../org/apache/openjpa/jdbc/schema/Unique.html" title="class in org.apache.openjpa.jdbc.schema">Unique</a>[]&nbsp;unqs)</code>
<div class="block">Sets internal constraint information to match given mapped constraint.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><span class="typeNameLabel">MappingInfo.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/openjpa/jdbc/meta/MappingInfo.html#syncUnique-org.apache.openjpa.meta.MetaDataContext-org.apache.openjpa.jdbc.schema.Unique-">syncUnique</a></span>(<a href="../../../../../../org/apache/openjpa/meta/MetaDataContext.html" title="interface in org.apache.openjpa.meta">MetaDataContext</a>&nbsp;context,
<a href="../../../../../../org/apache/openjpa/jdbc/schema/Unique.html" title="class in org.apache.openjpa.jdbc.schema">Unique</a>&nbsp;unq)</code>
<div class="block">Sets internal constraint information to match given mapped constraint.</div>
</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList"><a name="org.apache.openjpa.jdbc.schema">
<!-- -->
</a>
<h3>Uses of <a href="../../../../../../org/apache/openjpa/jdbc/schema/Unique.html" title="class in org.apache.openjpa.jdbc.schema">Unique</a> in <a href="../../../../../../org/apache/openjpa/jdbc/schema/package-summary.html">org.apache.openjpa.jdbc.schema</a></h3>
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing fields, and an explanation">
<caption><span>Fields in <a href="../../../../../../org/apache/openjpa/jdbc/schema/package-summary.html">org.apache.openjpa.jdbc.schema</a> declared as <a href="../../../../../../org/apache/openjpa/jdbc/schema/Unique.html" title="class in org.apache.openjpa.jdbc.schema">Unique</a></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>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../../../org/apache/openjpa/jdbc/schema/Unique.html" title="class in org.apache.openjpa.jdbc.schema">Unique</a>[]</code></td>
<td class="colLast"><span class="typeNameLabel">Schemas.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/openjpa/jdbc/schema/Schemas.html#EMPTY_UNIQUES">EMPTY_UNIQUES</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../../org/apache/openjpa/jdbc/schema/Unique.html" title="class in org.apache.openjpa.jdbc.schema">Unique</a></code></td>
<td class="colLast"><span class="typeNameLabel">XMLSchemaParser.UniqueInfo.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/openjpa/jdbc/schema/XMLSchemaParser.UniqueInfo.html#unq">unq</a></span></code>&nbsp;</td>
</tr>
</tbody>
</table>
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in <a href="../../../../../../org/apache/openjpa/jdbc/schema/package-summary.html">org.apache.openjpa.jdbc.schema</a> that return <a href="../../../../../../org/apache/openjpa/jdbc/schema/Unique.html" title="class in org.apache.openjpa.jdbc.schema">Unique</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../../org/apache/openjpa/jdbc/schema/Unique.html" title="class in org.apache.openjpa.jdbc.schema">Unique</a></code></td>
<td class="colLast"><span class="typeNameLabel">Table.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/openjpa/jdbc/schema/Table.html#addUnique-org.apache.openjpa.jdbc.identifier.DBIdentifier-">addUnique</a></span>(<a href="../../../../../../org/apache/openjpa/jdbc/identifier/DBIdentifier.html" title="class in org.apache.openjpa.jdbc.identifier">DBIdentifier</a>&nbsp;name)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../../org/apache/openjpa/jdbc/schema/Unique.html" title="class in org.apache.openjpa.jdbc.schema">Unique</a></code></td>
<td class="colLast"><span class="typeNameLabel">Table.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/openjpa/jdbc/schema/Table.html#addUnique-java.lang.String-">addUnique</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)</code>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;&nbsp;</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../../org/apache/openjpa/jdbc/schema/Unique.html" title="class in org.apache.openjpa.jdbc.schema">Unique</a></code></td>
<td class="colLast"><span class="typeNameLabel">Table.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/openjpa/jdbc/schema/Table.html#getUnique-org.apache.openjpa.jdbc.identifier.DBIdentifier-">getUnique</a></span>(<a href="../../../../../../org/apache/openjpa/jdbc/identifier/DBIdentifier.html" title="class in org.apache.openjpa.jdbc.identifier">DBIdentifier</a>&nbsp;name)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../../org/apache/openjpa/jdbc/schema/Unique.html" title="class in org.apache.openjpa.jdbc.schema">Unique</a></code></td>
<td class="colLast"><span class="typeNameLabel">Table.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/openjpa/jdbc/schema/Table.html#getUnique-java.lang.String-">getUnique</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)</code>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;&nbsp;</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../../org/apache/openjpa/jdbc/schema/Unique.html" title="class in org.apache.openjpa.jdbc.schema">Unique</a>[]</code></td>
<td class="colLast"><span class="typeNameLabel">Table.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/openjpa/jdbc/schema/Table.html#getUniques--">getUniques</a></span>()</code>
<div class="block">Return the table's unique constraints.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../../org/apache/openjpa/jdbc/schema/Unique.html" title="class in org.apache.openjpa.jdbc.schema">Unique</a></code></td>
<td class="colLast"><span class="typeNameLabel">Table.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/openjpa/jdbc/schema/Table.html#importUnique-org.apache.openjpa.jdbc.schema.Unique-">importUnique</a></span>(<a href="../../../../../../org/apache/openjpa/jdbc/schema/Unique.html" title="class in org.apache.openjpa.jdbc.schema">Unique</a>&nbsp;unq)</code>
<div class="block">Import a constraint; column names must match columns of this table.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected <a href="../../../../../../org/apache/openjpa/jdbc/schema/Unique.html" title="class in org.apache.openjpa.jdbc.schema">Unique</a></code></td>
<td class="colLast"><span class="typeNameLabel">SchemaGroup.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/openjpa/jdbc/schema/SchemaGroup.html#newUnique-org.apache.openjpa.jdbc.identifier.DBIdentifier-org.apache.openjpa.jdbc.schema.Table-">newUnique</a></span>(<a href="../../../../../../org/apache/openjpa/jdbc/identifier/DBIdentifier.html" title="class in org.apache.openjpa.jdbc.identifier">DBIdentifier</a>&nbsp;name,
<a href="../../../../../../org/apache/openjpa/jdbc/schema/Table.html" title="class in org.apache.openjpa.jdbc.schema">Table</a>&nbsp;table)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected <a href="../../../../../../org/apache/openjpa/jdbc/schema/Unique.html" title="class in org.apache.openjpa.jdbc.schema">Unique</a></code></td>
<td class="colLast"><span class="typeNameLabel">SchemaGroup.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/openjpa/jdbc/schema/SchemaGroup.html#newUnique-java.lang.String-org.apache.openjpa.jdbc.schema.Table-">newUnique</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/schema/Table.html" title="class in org.apache.openjpa.jdbc.schema">Table</a>&nbsp;table)</code>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;&nbsp;</div>
</td>
</tr>
</tbody>
</table>
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in <a href="../../../../../../org/apache/openjpa/jdbc/schema/package-summary.html">org.apache.openjpa.jdbc.schema</a> with parameters of type <a href="../../../../../../org/apache/openjpa/jdbc/schema/Unique.html" title="class in org.apache.openjpa.jdbc.schema">Unique</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><span class="typeNameLabel">SchemaTool.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/openjpa/jdbc/schema/SchemaTool.html#createIndex-org.apache.openjpa.jdbc.schema.Index-org.apache.openjpa.jdbc.schema.Table-org.apache.openjpa.jdbc.schema.Unique:A-">createIndex</a></span>(<a href="../../../../../../org/apache/openjpa/jdbc/schema/Index.html" title="class in org.apache.openjpa.jdbc.schema">Index</a>&nbsp;idx,
<a href="../../../../../../org/apache/openjpa/jdbc/schema/Table.html" title="class in org.apache.openjpa.jdbc.schema">Table</a>&nbsp;table,
<a href="../../../../../../org/apache/openjpa/jdbc/schema/Unique.html" title="class in org.apache.openjpa.jdbc.schema">Unique</a>[]&nbsp;uniques)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><span class="typeNameLabel">Unique.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/openjpa/jdbc/schema/Unique.html#equalsUnique-org.apache.openjpa.jdbc.schema.Unique-">equalsUnique</a></span>(<a href="../../../../../../org/apache/openjpa/jdbc/schema/Unique.html" title="class in org.apache.openjpa.jdbc.schema">Unique</a>&nbsp;unq)</code>
<div class="block">Return true if the structure of this primary key matches that of
the given one (same table, same columns).</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../../org/apache/openjpa/jdbc/schema/Unique.html" title="class in org.apache.openjpa.jdbc.schema">Unique</a></code></td>
<td class="colLast"><span class="typeNameLabel">Table.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/openjpa/jdbc/schema/Table.html#importUnique-org.apache.openjpa.jdbc.schema.Unique-">importUnique</a></span>(<a href="../../../../../../org/apache/openjpa/jdbc/schema/Unique.html" title="class in org.apache.openjpa.jdbc.schema">Unique</a>&nbsp;unq)</code>
<div class="block">Import a constraint; column names must match columns of this table.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><span class="typeNameLabel">Table.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/openjpa/jdbc/schema/Table.html#removeUnique-org.apache.openjpa.jdbc.schema.Unique-">removeUnique</a></span>(<a href="../../../../../../org/apache/openjpa/jdbc/schema/Unique.html" title="class in org.apache.openjpa.jdbc.schema">Unique</a>&nbsp;unq)</code>
<div class="block">Remove the given unique constraint from the table.</div>
</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList"><a name="org.apache.openjpa.jdbc.sql">
<!-- -->
</a>
<h3>Uses of <a href="../../../../../../org/apache/openjpa/jdbc/schema/Unique.html" title="class in org.apache.openjpa.jdbc.schema">Unique</a> in <a href="../../../../../../org/apache/openjpa/jdbc/sql/package-summary.html">org.apache.openjpa.jdbc.sql</a></h3>
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in <a href="../../../../../../org/apache/openjpa/jdbc/sql/package-summary.html">org.apache.openjpa.jdbc.sql</a> with parameters of type <a href="../../../../../../org/apache/openjpa/jdbc/schema/Unique.html" title="class in org.apache.openjpa.jdbc.schema">Unique</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><span class="typeNameLabel">DBDictionary.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/openjpa/jdbc/sql/DBDictionary.html#getUniqueConstraintSQL-org.apache.openjpa.jdbc.schema.Unique-">getUniqueConstraintSQL</a></span>(<a href="../../../../../../org/apache/openjpa/jdbc/schema/Unique.html" title="class in org.apache.openjpa.jdbc.schema">Unique</a>&nbsp;unq)</code>
<div class="block">Return the declaration SQL for the given unique constraint.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><span class="typeNameLabel">DBDictionary.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/openjpa/jdbc/sql/DBDictionary.html#needsToCreateIndex-org.apache.openjpa.jdbc.schema.Index-org.apache.openjpa.jdbc.schema.Table-org.apache.openjpa.jdbc.schema.Unique:A-">needsToCreateIndex</a></span>(<a href="../../../../../../org/apache/openjpa/jdbc/schema/Index.html" title="class in org.apache.openjpa.jdbc.schema">Index</a>&nbsp;idx,
<a href="../../../../../../org/apache/openjpa/jdbc/schema/Table.html" title="class in org.apache.openjpa.jdbc.schema">Table</a>&nbsp;table,
<a href="../../../../../../org/apache/openjpa/jdbc/schema/Unique.html" title="class in org.apache.openjpa.jdbc.schema">Unique</a>[]&nbsp;uniques)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><span class="typeNameLabel">SolidDBDictionary.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/openjpa/jdbc/sql/SolidDBDictionary.html#needsToCreateIndex-org.apache.openjpa.jdbc.schema.Index-org.apache.openjpa.jdbc.schema.Table-org.apache.openjpa.jdbc.schema.Unique:A-">needsToCreateIndex</a></span>(<a href="../../../../../../org/apache/openjpa/jdbc/schema/Index.html" title="class in org.apache.openjpa.jdbc.schema">Index</a>&nbsp;idx,
<a href="../../../../../../org/apache/openjpa/jdbc/schema/Table.html" title="class in org.apache.openjpa.jdbc.schema">Table</a>&nbsp;table,
<a href="../../../../../../org/apache/openjpa/jdbc/schema/Unique.html" title="class in org.apache.openjpa.jdbc.schema">Unique</a>[]&nbsp;uniques)</code>&nbsp;</td>
</tr>
</tbody>
</table>
</li>
</ul>
</li>
</ul>
</div>
<!-- ======= 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><a href="../../../../../../org/apache/openjpa/jdbc/schema/Unique.html" title="class in org.apache.openjpa.jdbc.schema">Class</a></li>
<li class="navBarCell1Rev">Use</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>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../../../../../index.html?org/apache/openjpa/jdbc/schema/class-use/Unique.html" target="_top">Frames</a></li>
<li><a href="Unique.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>
<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>