blob: 70b2e7f66274524c0705badb6cc03a1d5c45d0f6 [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:23 CEST 2020 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>SpecificationPlugin (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="SpecificationPlugin (OpenJPA Parent POM 3.1.2 API)";
}
}
catch(err) {
}
//-->
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/SpecificationPlugin.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/conf/Specification.html" title="class in org.apache.openjpa.conf"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li>Next&nbsp;Class</li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?org/apache/openjpa/conf/SpecificationPlugin.html" target="_top">Frames</a></li>
<li><a href="SpecificationPlugin.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><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.conf</div>
<h2 title="Class SpecificationPlugin" class="title">Class SpecificationPlugin</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
<li>
<ul class="inheritance">
<li><a href="../../../../org/apache/openjpa/lib/conf/Value.html" title="class in org.apache.openjpa.lib.conf">org.apache.openjpa.lib.conf.Value</a></li>
<li>
<ul class="inheritance">
<li><a href="../../../../org/apache/openjpa/lib/conf/ObjectValue.html" title="class in org.apache.openjpa.lib.conf">org.apache.openjpa.lib.conf.ObjectValue</a></li>
<li>
<ul class="inheritance">
<li>org.apache.openjpa.conf.SpecificationPlugin</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Cloneable.html?is-external=true" title="class or interface in java.lang">Cloneable</a>, <a href="../../../../org/apache/openjpa/lib/conf/ValueListener.html" title="interface in org.apache.openjpa.lib.conf">ValueListener</a></dd>
</dl>
<hr>
<br>
<pre>public class <span class="typeNameLabel">SpecificationPlugin</span>
extends <a href="../../../../org/apache/openjpa/lib/conf/ObjectValue.html" title="class in org.apache.openjpa.lib.conf">ObjectValue</a>
implements <a href="../../../../org/apache/openjpa/lib/conf/ValueListener.html" title="interface in org.apache.openjpa.lib.conf">ValueListener</a></pre>
<div class="block">A plug-in for Specification that enforces certain overwriting rules.</div>
<dl>
<dt><span class="simpleTagLabel">Author:</span></dt>
<dd>Pinaki Poddar</dd>
</dl>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
<caption><span>Fields</span><span class="tabEnd">&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>protected static <a href="../../../../org/apache/openjpa/lib/util/Localizer.html" title="class in org.apache.openjpa.lib.util">Localizer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/openjpa/conf/SpecificationPlugin.html#Z:Z_loc">_loc</a></span></code>&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="fields.inherited.from.class.org.apache.openjpa.lib.conf.Value">
<!-- -->
</a>
<h3>Fields inherited from class&nbsp;org.apache.openjpa.lib.conf.<a href="../../../../org/apache/openjpa/lib/conf/Value.html" title="class in org.apache.openjpa.lib.conf">Value</a></h3>
<code><a href="../../../../org/apache/openjpa/lib/conf/Value.html#INVISIBLE">INVISIBLE</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/conf/SpecificationPlugin.html#SpecificationPlugin-org.apache.openjpa.lib.conf.Configuration-java.lang.String-">SpecificationPlugin</a></span>(<a href="../../../../org/apache/openjpa/lib/conf/Configuration.html" title="interface in org.apache.openjpa.lib.conf">Configuration</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;prop)</code>&nbsp;</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="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><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;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/openjpa/conf/SpecificationPlugin.html#getValueType--">getValueType</a></span>()</code>
<div class="block">Returns the type of the property that this Value represents.</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/conf/SpecificationPlugin.html#set-java.lang.Object-">set</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;obj)</code>
<div class="block">Set a value from the given object after validating.</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/conf/SpecificationPlugin.html#setString-java.lang.String-">setString</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;str)</code>
<div class="block">Set a value from the given String after validating.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/openjpa/conf/SpecificationPlugin.html#validateOverwrite-org.apache.openjpa.conf.Specification-">validateOverwrite</a></span>(<a href="../../../../org/apache/openjpa/conf/Specification.html" title="class in org.apache.openjpa.conf">Specification</a>&nbsp;newSpec)</code>
<div class="block">Validates if the given Specification can overwrite the current
Specification.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/openjpa/conf/SpecificationPlugin.html#valueChanged-org.apache.openjpa.lib.conf.Value-">valueChanged</a></span>(<a href="../../../../org/apache/openjpa/lib/conf/Value.html" title="class in org.apache.openjpa.lib.conf">Value</a>&nbsp;value)</code>
<div class="block">Callback used by <a href="../../../../org/apache/openjpa/lib/conf/Value.html" title="class in org.apache.openjpa.lib.conf"><code>Value</code></a> objects to notify listener of change.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.org.apache.openjpa.lib.conf.ObjectValue">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;org.apache.openjpa.lib.conf.<a href="../../../../org/apache/openjpa/lib/conf/ObjectValue.html" title="class in org.apache.openjpa.lib.conf">ObjectValue</a></h3>
<code><a href="../../../../org/apache/openjpa/lib/conf/ObjectValue.html#configure-java.lang.Object-org.apache.openjpa.lib.conf.Configuration-">configure</a>, <a href="../../../../org/apache/openjpa/lib/conf/ObjectValue.html#configure-java.lang.Object-org.apache.openjpa.lib.conf.Configuration-boolean-">configure</a>, <a href="../../../../org/apache/openjpa/lib/conf/ObjectValue.html#get--">get</a>, <a href="../../../../org/apache/openjpa/lib/conf/ObjectValue.html#getInternalString--">getInternalString</a>, <a href="../../../../org/apache/openjpa/lib/conf/ObjectValue.html#instantiate-java.lang.Class-org.apache.openjpa.lib.conf.Configuration-">instantiate</a>, <a href="../../../../org/apache/openjpa/lib/conf/ObjectValue.html#instantiate-java.lang.Class-org.apache.openjpa.lib.conf.Configuration-boolean-">instantiate</a>, <a href="../../../../org/apache/openjpa/lib/conf/ObjectValue.html#newInstance-java.lang.String-java.lang.Class-org.apache.openjpa.lib.conf.Configuration-boolean-">newInstance</a>, <a href="../../../../org/apache/openjpa/lib/conf/ObjectValue.html#objectChanged--">objectChanged</a>, <a href="../../../../org/apache/openjpa/lib/conf/ObjectValue.html#set-java.lang.Object-boolean-">set</a>, <a href="../../../../org/apache/openjpa/lib/conf/ObjectValue.html#setInternalObject-java.lang.Object-">setInternalObject</a>, <a href="../../../../org/apache/openjpa/lib/conf/ObjectValue.html#setInternalString-java.lang.String-">setInternalString</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.org.apache.openjpa.lib.conf.Value">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;org.apache.openjpa.lib.conf.<a href="../../../../org/apache/openjpa/lib/conf/Value.html" title="class in org.apache.openjpa.lib.conf">Value</a></h3>
<code><a href="../../../../org/apache/openjpa/lib/conf/Value.html#addEquivalentKey-java.lang.String-">addEquivalentKey</a>, <a href="../../../../org/apache/openjpa/lib/conf/Value.html#addListener-org.apache.openjpa.lib.conf.ValueListener-">addListener</a>, <a href="../../../../org/apache/openjpa/lib/conf/Value.html#alias-java.lang.String-">alias</a>, <a href="../../../../org/apache/openjpa/lib/conf/Value.html#alias-java.lang.String-java.lang.String:A-boolean-">alias</a>, <a href="../../../../org/apache/openjpa/lib/conf/Value.html#assertChangeable--">assertChangeable</a>, <a href="../../../../org/apache/openjpa/lib/conf/Value.html#clone--">clone</a>, <a href="../../../../org/apache/openjpa/lib/conf/Value.html#equals-java.lang.Object-">equals</a>, <a href="../../../../org/apache/openjpa/lib/conf/Value.html#getAliases--">getAliases</a>, <a href="../../../../org/apache/openjpa/lib/conf/Value.html#getDefault--">getDefault</a>, <a href="../../../../org/apache/openjpa/lib/conf/Value.html#getEquivalentKeys--">getEquivalentKeys</a>, <a href="../../../../org/apache/openjpa/lib/conf/Value.html#getInstantiatingGetter--">getInstantiatingGetter</a>, <a href="../../../../org/apache/openjpa/lib/conf/Value.html#getListeners--">getListeners</a>, <a href="../../../../org/apache/openjpa/lib/conf/Value.html#getLoadKey--">getLoadKey</a>, <a href="../../../../org/apache/openjpa/lib/conf/Value.html#getOriginalValue--">getOriginalValue</a>, <a href="../../../../org/apache/openjpa/lib/conf/Value.html#getProperty--">getProperty</a>, <a href="../../../../org/apache/openjpa/lib/conf/Value.html#getPropertyKeys--">getPropertyKeys</a>, <a href="../../../../org/apache/openjpa/lib/conf/Value.html#getScope--">getScope</a>, <a href="../../../../org/apache/openjpa/lib/conf/Value.html#getString--">getString</a>, <a href="../../../../org/apache/openjpa/lib/conf/Value.html#hashCode--">hashCode</a>, <a href="../../../../org/apache/openjpa/lib/conf/Value.html#hide--">hide</a>, <a href="../../../../org/apache/openjpa/lib/conf/Value.html#isAliasListComprehensive--">isAliasListComprehensive</a>, <a href="../../../../org/apache/openjpa/lib/conf/Value.html#isDynamic--">isDynamic</a>, <a href="../../../../org/apache/openjpa/lib/conf/Value.html#isHidden--">isHidden</a>, <a href="../../../../org/apache/openjpa/lib/conf/Value.html#isPrivate--">isPrivate</a>, <a href="../../../../org/apache/openjpa/lib/conf/Value.html#makePrivate--">makePrivate</a>, <a href="../../../../org/apache/openjpa/lib/conf/Value.html#matches-java.lang.String-">matches</a>, <a href="../../../../org/apache/openjpa/lib/conf/Value.html#removeListener-org.apache.openjpa.lib.conf.ValueListener-">removeListener</a>, <a href="../../../../org/apache/openjpa/lib/conf/Value.html#setAlias-java.lang.String-java.lang.String-">setAlias</a>, <a href="../../../../org/apache/openjpa/lib/conf/Value.html#setAlias-java.lang.String-java.lang.String-java.lang.String:A-">setAlias</a>, <a href="../../../../org/apache/openjpa/lib/conf/Value.html#setAliases-java.lang.String:A-">setAliases</a>, <a href="../../../../org/apache/openjpa/lib/conf/Value.html#setAliasListComprehensive-boolean-">setAliasListComprehensive</a>, <a href="../../../../org/apache/openjpa/lib/conf/Value.html#setDefault-java.lang.String-">setDefault</a>, <a href="../../../../org/apache/openjpa/lib/conf/Value.html#setDynamic-boolean-">setDynamic</a>, <a href="../../../../org/apache/openjpa/lib/conf/Value.html#setInstantiatingGetter-java.lang.String-">setInstantiatingGetter</a>, <a href="../../../../org/apache/openjpa/lib/conf/Value.html#setLoadKey-java.lang.String-">setLoadKey</a>, <a href="../../../../org/apache/openjpa/lib/conf/Value.html#setObject-java.lang.Object-">setObject</a>, <a href="../../../../org/apache/openjpa/lib/conf/Value.html#setProperty-java.lang.String-">setProperty</a>, <a href="../../../../org/apache/openjpa/lib/conf/Value.html#setScope-java.lang.Class-">setScope</a>, <a href="../../../../org/apache/openjpa/lib/conf/Value.html#toString--">toString</a>, <a href="../../../../org/apache/openjpa/lib/conf/Value.html#unalias-java.lang.String-">unalias</a>, <a href="../../../../org/apache/openjpa/lib/conf/Value.html#unalias-java.lang.String-java.lang.String:A-boolean-">unalias</a>, <a href="../../../../org/apache/openjpa/lib/conf/Value.html#valueChanged--">valueChanged</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&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#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#notify--" title="class or interface in java.lang">notify</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.detail">
<!-- -->
</a>
<h3>Field Detail</h3>
<a name="Z:Z_loc">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>_loc</h4>
<pre>protected static final&nbsp;<a href="../../../../org/apache/openjpa/lib/util/Localizer.html" title="class in org.apache.openjpa.lib.util">Localizer</a> _loc</pre>
</li>
</ul>
</li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="SpecificationPlugin-org.apache.openjpa.lib.conf.Configuration-java.lang.String-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>SpecificationPlugin</h4>
<pre>public&nbsp;SpecificationPlugin(<a href="../../../../org/apache/openjpa/lib/conf/Configuration.html" title="interface in org.apache.openjpa.lib.conf">Configuration</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;prop)</pre>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="getValueType--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getValueType</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>&lt;?&gt;&nbsp;getValueType()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../org/apache/openjpa/lib/conf/Value.html#getValueType--">Value</a></code></span></div>
<div class="block">Returns the type of the property that this Value represents.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../../../org/apache/openjpa/lib/conf/ObjectValue.html#getValueType--">getValueType</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/openjpa/lib/conf/ObjectValue.html" title="class in org.apache.openjpa.lib.conf">ObjectValue</a></code></dd>
</dl>
</li>
</ul>
<a name="setString-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setString</h4>
<pre>public&nbsp;void&nbsp;setString(<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;str)</pre>
<div class="block">Set a value from the given String after validating.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../../../org/apache/openjpa/lib/conf/Value.html#setString-java.lang.String-">setString</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/openjpa/lib/conf/Value.html" title="class in org.apache.openjpa.lib.conf">Value</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>str</code> - can be null to set the Specification to null.
If non-null, then the String must be in Specification format</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><code>Specification#create(String)</code></dd>
</dl>
</li>
</ul>
<a name="set-java.lang.Object-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>set</h4>
<pre>public&nbsp;void&nbsp;set(<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;obj)</pre>
<div class="block">Set a value from the given object after validating.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../../../org/apache/openjpa/lib/conf/ObjectValue.html#set-java.lang.Object-">set</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/openjpa/lib/conf/ObjectValue.html" title="class in org.apache.openjpa.lib.conf">ObjectValue</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>obj</code> - can be null to set the Specification to null.</dd>
</dl>
</li>
</ul>
<a name="validateOverwrite-org.apache.openjpa.conf.Specification-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>validateOverwrite</h4>
<pre>protected&nbsp;void&nbsp;validateOverwrite(<a href="../../../../org/apache/openjpa/conf/Specification.html" title="class in org.apache.openjpa.conf">Specification</a>&nbsp;newSpec)</pre>
<div class="block">Validates if the given Specification can overwrite the current
Specification. If the given Specification is not same as the
current one, then it is valid to overwrite.
If the given Specification is same as the current Specification then
it must have a major version number equal or less than the current one.</div>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>fatal</code> - UserException if the given Specification is same as
the current Specification but has a higher major version.</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../org/apache/openjpa/conf/Specification.html#equals-java.lang.Object-"><code>Specification.equals(Object)</code></a></dd>
</dl>
</li>
</ul>
<a name="valueChanged-org.apache.openjpa.lib.conf.Value-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>valueChanged</h4>
<pre>public&nbsp;void&nbsp;valueChanged(<a href="../../../../org/apache/openjpa/lib/conf/Value.html" title="class in org.apache.openjpa.lib.conf">Value</a>&nbsp;value)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../org/apache/openjpa/lib/conf/ValueListener.html#valueChanged-org.apache.openjpa.lib.conf.Value-">ValueListener</a></code></span></div>
<div class="block">Callback used by <a href="../../../../org/apache/openjpa/lib/conf/Value.html" title="class in org.apache.openjpa.lib.conf"><code>Value</code></a> objects to notify listener of change.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/openjpa/lib/conf/ValueListener.html#valueChanged-org.apache.openjpa.lib.conf.Value-">valueChanged</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/apache/openjpa/lib/conf/ValueListener.html" title="interface in org.apache.openjpa.lib.conf">ValueListener</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/SpecificationPlugin.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/conf/Specification.html" title="class in org.apache.openjpa.conf"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li>Next&nbsp;Class</li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?org/apache/openjpa/conf/SpecificationPlugin.html" target="_top">Frames</a></li>
<li><a href="SpecificationPlugin.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><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>