diff options
Diffstat (limited to 'apidocs/com/amazon/carbonado/synthetic/SyntheticStorableReferenceBuilder.html')
-rw-r--r-- | apidocs/com/amazon/carbonado/synthetic/SyntheticStorableReferenceBuilder.html | 727 |
1 files changed, 727 insertions, 0 deletions
diff --git a/apidocs/com/amazon/carbonado/synthetic/SyntheticStorableReferenceBuilder.html b/apidocs/com/amazon/carbonado/synthetic/SyntheticStorableReferenceBuilder.html new file mode 100644 index 0000000..75ec3d5 --- /dev/null +++ b/apidocs/com/amazon/carbonado/synthetic/SyntheticStorableReferenceBuilder.html @@ -0,0 +1,727 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!-- NewPage --> +<html lang="en"> +<head> +<!-- Generated by javadoc (version 1.7.0_25) on Tue Dec 03 13:53:43 PST 2013 --> +<meta http-equiv="Content-Type" content="text/html" charset="UTF-8"> +<title>SyntheticStorableReferenceBuilder (Carbonado 1.2.3 API)</title> +<meta name="date" content="2013-12-03"> +<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style"> +</head> +<body> +<script type="text/javascript"><!-- + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="SyntheticStorableReferenceBuilder (Carbonado 1.2.3 API)"; + } +//--> +</script> +<noscript> +<div>JavaScript is disabled on your browser.</div> +</noscript> +<!-- ========= START OF TOP NAVBAR ======= --> +<div class="topNav"><a name="navbar_top"> +<!-- --> +</a><a href="#skip-navbar_top" title="Skip navigation links"></a><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/SyntheticStorableReferenceBuilder.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-files/index-1.html">Index</a></li> +<li><a href="../../../../help-doc.html">Help</a></li> +</ul> +</div> +<div class="subNav"> +<ul class="navList"> +<li><a href="../../../../com/amazon/carbonado/synthetic/SyntheticStorableReferenceAccess.html" title="class in com.amazon.carbonado.synthetic"><span class="strong">Prev Class</span></a></li> +<li>Next Class</li> +</ul> +<ul class="navList"> +<li><a href="../../../../index.html?com/amazon/carbonado/synthetic/SyntheticStorableReferenceBuilder.html" target="_top">Frames</a></li> +<li><a href="SyntheticStorableReferenceBuilder.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_top"> +<li><a href="../../../../allclasses-noframe.html">All Classes</a></li> +</ul> +<div> +<script type="text/javascript"><!-- + allClassesLink = document.getElementById("allclasses_navbar_top"); + if(window==top) { + allClassesLink.style.display = "block"; + } + else { + allClassesLink.style.display = "none"; + } + //--> +</script> +</div> +<div> +<ul class="subNavList"> +<li>Summary: </li> +<li>Nested | </li> +<li>Field | </li> +<li><a href="#constructor_summary">Constr</a> | </li> +<li><a href="#method_summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li>Field | </li> +<li><a href="#constructor_detail">Constr</a> | </li> +<li><a href="#method_detail">Method</a></li> +</ul> +</div> +<a name="skip-navbar_top"> +<!-- --> +</a></div> +<!-- ========= END OF TOP NAVBAR ========= --> +<!-- ======== START OF CLASS DATA ======== --> +<div class="header"> +<div class="subTitle">com.amazon.carbonado.synthetic</div> +<h2 title="Class SyntheticStorableReferenceBuilder" class="title">Class SyntheticStorableReferenceBuilder<S extends <a href="../../../../com/amazon/carbonado/Storable.html" title="interface in com.amazon.carbonado">Storable</a>></h2> +</div> +<div class="contentContainer"> +<ul class="inheritance"> +<li>java.lang.Object</li> +<li> +<ul class="inheritance"> +<li>com.amazon.carbonado.synthetic.SyntheticStorableReferenceBuilder<S></li> +</ul> +</li> +</ul> +<div class="description"> +<ul class="blockList"> +<li class="blockList"> +<dl> +<dt>All Implemented Interfaces:</dt> +<dd><a href="../../../../com/amazon/carbonado/synthetic/SyntheticBuilder.html" title="interface in com.amazon.carbonado.synthetic">SyntheticBuilder</a></dd> +</dl> +<hr> +<br> +<pre>public class <span class="strong">SyntheticStorableReferenceBuilder<S extends <a href="../../../../com/amazon/carbonado/Storable.html" title="interface in com.amazon.carbonado">Storable</a>></span> +extends java.lang.Object +implements <a href="../../../../com/amazon/carbonado/synthetic/SyntheticBuilder.html" title="interface in com.amazon.carbonado.synthetic">SyntheticBuilder</a></pre> +<div class="block">A SyntheticStorableReference defines new kinds of Storables from an existing + master storable. This is used in situations when additional information about + a storable needs to be tracked -- eg, for an index, or for caching. The + storable may optionally have completely new, synthetic properties added. + + <P> + All primary key properties of the master storable will also be provided by the + derived storable. Three special methods will be provided: + <ul> + <li>getMaster - retrieves the original storable</li> + <li>setAllProperties - sets the properties the syntheticReference has in + common with the master to the values of the master instance</li> + <li>isConsistent - verifies that the properties the syntheticReference has + in common with the master are consistent with an instance of the master, + meaning that they are in the same state and, if set, equal.</li> + </ul></div> +<dl><dt><span class="strong">Author:</span></dt> + <dd>Brian S O'Neill, Don Schneider, David Rosenstrauch</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> +<ul class="blockList"> +<li class="blockList"><a name="nested_classes_inherited_from_class_com.amazon.carbonado.synthetic.SyntheticBuilder"> +<!-- --> +</a> +<h3>Nested classes/interfaces inherited from interface com.amazon.carbonado.synthetic.<a href="../../../../com/amazon/carbonado/synthetic/SyntheticBuilder.html" title="interface in com.amazon.carbonado.synthetic">SyntheticBuilder</a></h3> +<code><a href="../../../../com/amazon/carbonado/synthetic/SyntheticBuilder.ClassNameProvider.html" title="interface in com.amazon.carbonado.synthetic">SyntheticBuilder.ClassNameProvider</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="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> +<caption><span>Constructors</span><span class="tabEnd"> </span></caption> +<tr> +<th class="colOne" scope="col">Constructor and Description</th> +</tr> +<tr class="altColor"> +<td class="colOne"><code><strong><a href="../../../../com/amazon/carbonado/synthetic/SyntheticStorableReferenceBuilder.html#SyntheticStorableReferenceBuilder(java.lang.Class, boolean)">SyntheticStorableReferenceBuilder</a></strong>(java.lang.Class<<a href="../../../../com/amazon/carbonado/synthetic/SyntheticStorableReferenceBuilder.html" title="type parameter in SyntheticStorableReferenceBuilder">S</a>> storableClass, + boolean isUnique)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colOne"><code><strong><a href="../../../../com/amazon/carbonado/synthetic/SyntheticStorableReferenceBuilder.html#SyntheticStorableReferenceBuilder(java.lang.Class, java.lang.String, boolean)">SyntheticStorableReferenceBuilder</a></strong>(java.lang.Class<<a href="../../../../com/amazon/carbonado/synthetic/SyntheticStorableReferenceBuilder.html" title="type parameter in SyntheticStorableReferenceBuilder">S</a>> storableClass, + java.lang.String baseName, + boolean isUnique)</code> </td> +</tr> +</table> +</li> +</ul> +<!-- ========== METHOD SUMMARY =========== --> +<ul class="blockList"> +<li class="blockList"><a name="method_summary"> +<!-- --> +</a> +<h3>Method Summary</h3> +<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> +<caption><span>Methods</span><span class="tabEnd"> </span></caption> +<tr> +<th class="colFirst" scope="col">Modifier and Type</th> +<th class="colLast" scope="col">Method and Description</th> +</tr> +<tr class="altColor"> +<td class="colFirst"><code><a href="../../../../com/amazon/carbonado/synthetic/SyntheticKey.html" title="class in com.amazon.carbonado.synthetic">SyntheticKey</a></code></td> +<td class="colLast"><code><strong><a href="../../../../com/amazon/carbonado/synthetic/SyntheticStorableReferenceBuilder.html#addAlternateKey()">addAlternateKey</a></strong>()</code> +<div class="block">Add an alternate key to be built.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code><a href="../../../../com/amazon/carbonado/synthetic/SyntheticIndex.html" title="class in com.amazon.carbonado.synthetic">SyntheticIndex</a></code></td> +<td class="colLast"><code><strong><a href="../../../../com/amazon/carbonado/synthetic/SyntheticStorableReferenceBuilder.html#addIndex()">addIndex</a></strong>()</code> +<div class="block">Add an index to the set managed by this builder.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code><a href="../../../../com/amazon/carbonado/synthetic/SyntheticProperty.html" title="class in com.amazon.carbonado.synthetic">SyntheticProperty</a></code></td> +<td class="colLast"><code><strong><a href="../../../../com/amazon/carbonado/synthetic/SyntheticStorableReferenceBuilder.html#addKeyProperty(java.lang.String, com.amazon.carbonado.info.Direction)">addKeyProperty</a></strong>(java.lang.String name, + <a href="../../../../com/amazon/carbonado/info/Direction.html" title="enum in com.amazon.carbonado.info">Direction</a> direction)</code> +<div class="block">Add a property to the primary key which is a member of the Storable type + being referenced by this one.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code><a href="../../../../com/amazon/carbonado/synthetic/SyntheticKey.html" title="class in com.amazon.carbonado.synthetic">SyntheticKey</a></code></td> +<td class="colLast"><code><strong><a href="../../../../com/amazon/carbonado/synthetic/SyntheticStorableReferenceBuilder.html#addPrimaryKey()">addPrimaryKey</a></strong>()</code> +<div class="block">Add a primary key to be built.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code><a href="../../../../com/amazon/carbonado/synthetic/SyntheticProperty.html" title="class in com.amazon.carbonado.synthetic">SyntheticProperty</a></code></td> +<td class="colLast"><code><strong><a href="../../../../com/amazon/carbonado/synthetic/SyntheticStorableReferenceBuilder.html#addProperty(java.lang.String, java.lang.Class)">addProperty</a></strong>(java.lang.String name, + java.lang.Class type)</code> +<div class="block">Add a property to the set managed by this builder.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code><a href="../../../../com/amazon/carbonado/synthetic/SyntheticProperty.html" title="class in com.amazon.carbonado.synthetic">SyntheticProperty</a></code></td> +<td class="colLast"><code><strong><a href="../../../../com/amazon/carbonado/synthetic/SyntheticStorableReferenceBuilder.html#addProperty(com.amazon.carbonado.synthetic.SyntheticProperty)">addProperty</a></strong>(<a href="../../../../com/amazon/carbonado/synthetic/SyntheticProperty.html" title="class in com.amazon.carbonado.synthetic">SyntheticProperty</a> prop)</code> +<div class="block">Add an externally defined synthetic property to the list</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>java.lang.Class<? extends <a href="../../../../com/amazon/carbonado/Storable.html" title="interface in com.amazon.carbonado">Storable</a>></code></td> +<td class="colLast"><code><strong><a href="../../../../com/amazon/carbonado/synthetic/SyntheticStorableReferenceBuilder.html#build()">build</a></strong>()</code> +<div class="block">Convenience method to generate the class.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../../com/amazon/carbonado/synthetic/SyntheticStorableReferenceBuilder.html#copyFromMaster(com.amazon.carbonado.Storable, S)">copyFromMaster</a></strong>(<a href="../../../../com/amazon/carbonado/Storable.html" title="interface in com.amazon.carbonado">Storable</a> indexEntry, + <a href="../../../../com/amazon/carbonado/synthetic/SyntheticStorableReferenceBuilder.html" title="type parameter in SyntheticStorableReferenceBuilder">S</a> master)</code> +<div class="block"><strong>Deprecated.</strong> +<div class="block"><i>call getReferenceAccess</i></div> +</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../../com/amazon/carbonado/synthetic/SyntheticStorableReferenceBuilder.html#copyToMasterPrimaryKey(com.amazon.carbonado.Storable, S)">copyToMasterPrimaryKey</a></strong>(<a href="../../../../com/amazon/carbonado/Storable.html" title="interface in com.amazon.carbonado">Storable</a> indexEntry, + <a href="../../../../com/amazon/carbonado/synthetic/SyntheticStorableReferenceBuilder.html" title="type parameter in SyntheticStorableReferenceBuilder">S</a> master)</code> +<div class="block"><strong>Deprecated.</strong> +<div class="block"><i>call getReferenceAccess</i></div> +</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>java.util.Comparator<? extends <a href="../../../../com/amazon/carbonado/Storable.html" title="interface in com.amazon.carbonado">Storable</a>></code></td> +<td class="colLast"><code><strong><a href="../../../../com/amazon/carbonado/synthetic/SyntheticStorableReferenceBuilder.html#getComparator()">getComparator</a></strong>()</code> +<div class="block"><strong>Deprecated.</strong> +<div class="block"><i>call getReferenceAccess</i></div> +</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>java.lang.Object</code></td> +<td class="colLast"><code><strong><a href="../../../../com/amazon/carbonado/synthetic/SyntheticStorableReferenceBuilder.html#getName()">getName</a></strong>()</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code><a href="../../../../com/amazon/carbonado/synthetic/SyntheticStorableReferenceAccess.html" title="class in com.amazon.carbonado.synthetic">SyntheticStorableReferenceAccess</a><<a href="../../../../com/amazon/carbonado/synthetic/SyntheticStorableReferenceBuilder.html" title="type parameter in SyntheticStorableReferenceBuilder">S</a>></code></td> +<td class="colLast"><code><strong><a href="../../../../com/amazon/carbonado/synthetic/SyntheticStorableReferenceBuilder.html#getReferenceAccess()">getReferenceAccess</a></strong>()</code> +<div class="block">Build and return access to the generated storable reference class.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>java.lang.Class<? extends <a href="../../../../com/amazon/carbonado/Storable.html" title="interface in com.amazon.carbonado">Storable</a>></code></td> +<td class="colLast"><code><strong><a href="../../../../com/amazon/carbonado/synthetic/SyntheticStorableReferenceBuilder.html#getStorableClass()">getStorableClass</a></strong>()</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>java.util.List<<a href="../../../../com/amazon/carbonado/synthetic/SyntheticProperty.html" title="class in com.amazon.carbonado.synthetic">SyntheticProperty</a>></code></td> +<td class="colLast"><code><strong><a href="../../../../com/amazon/carbonado/synthetic/SyntheticStorableReferenceBuilder.html#getUserProps()">getUserProps</a></strong>()</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../../com/amazon/carbonado/synthetic/SyntheticStorableReferenceBuilder.html#hasProperty(java.lang.String)">hasProperty</a></strong>(java.lang.String name)</code> +<div class="block">Check to see if a particular property has already been added to the list of + properties to generate</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../../com/amazon/carbonado/synthetic/SyntheticStorableReferenceBuilder.html#isConsistent(com.amazon.carbonado.Storable, S)">isConsistent</a></strong>(<a href="../../../../com/amazon/carbonado/Storable.html" title="interface in com.amazon.carbonado">Storable</a> indexEntry, + <a href="../../../../com/amazon/carbonado/synthetic/SyntheticStorableReferenceBuilder.html" title="type parameter in SyntheticStorableReferenceBuilder">S</a> master)</code> +<div class="block"><strong>Deprecated.</strong> +<div class="block"><i>call getReferenceAccess</i></div> +</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../../com/amazon/carbonado/synthetic/SyntheticStorableReferenceBuilder.html#isUnique()">isUnique</a></strong>()</code> +<div class="block">True if the generated derived class should be considered unique.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../../com/amazon/carbonado/synthetic/SyntheticStorableReferenceBuilder.html#isVersioned()">isVersioned</a></strong>()</code> +<div class="block">Returns true if a property with the version attribute has been addded</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code><a href="../../../../com/amazon/carbonado/synthetic/ClassFileBuilder.html" title="class in com.amazon.carbonado.synthetic">ClassFileBuilder</a></code></td> +<td class="colLast"><code><strong><a href="../../../../com/amazon/carbonado/synthetic/SyntheticStorableReferenceBuilder.html#prepare()">prepare</a></strong>()</code> </td> +</tr> +</table> +<ul class="blockList"> +<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object"> +<!-- --> +</a> +<h3>Methods inherited from class java.lang.Object</h3> +<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li> +</ul> +</li> +</ul> +</li> +</ul> +</div> +<div class="details"> +<ul class="blockList"> +<li class="blockList"> +<!-- ========= CONSTRUCTOR DETAIL ======== --> +<ul class="blockList"> +<li class="blockList"><a name="constructor_detail"> +<!-- --> +</a> +<h3>Constructor Detail</h3> +<a name="SyntheticStorableReferenceBuilder(java.lang.Class, boolean)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>SyntheticStorableReferenceBuilder</h4> +<pre>public SyntheticStorableReferenceBuilder(java.lang.Class<<a href="../../../../com/amazon/carbonado/synthetic/SyntheticStorableReferenceBuilder.html" title="type parameter in SyntheticStorableReferenceBuilder">S</a>> storableClass, + boolean isUnique)</pre> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>storableClass</code> - class of the storable that will be referenced by this + synthetic. The name for the synthetic storable will be based + on this class's name, decorated with the properties which + participate in the primary key for the synthetic storable.</dd></dl> +</li> +</ul> +<a name="SyntheticStorableReferenceBuilder(java.lang.Class, java.lang.String, boolean)"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>SyntheticStorableReferenceBuilder</h4> +<pre>public SyntheticStorableReferenceBuilder(java.lang.Class<<a href="../../../../com/amazon/carbonado/synthetic/SyntheticStorableReferenceBuilder.html" title="type parameter in SyntheticStorableReferenceBuilder">S</a>> storableClass, + java.lang.String baseName, + boolean isUnique)</pre> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>storableClass</code> - class of the storable that will be referenced by this + synthetic</dd><dd><code>baseName</code> - of the generated synthetic. Note that for some repositories + this name will be visible across the entire repository, so it + is good practice to include namespace information to guarantee + uniqueness.</dd><dd><code>isUnique</code> - true if the properties that are explicitly identified as primary + key properites are sufficient to uniquely identify the index object.</dd></dl> +</li> +</ul> +</li> +</ul> +<!-- ============ METHOD DETAIL ========== --> +<ul class="blockList"> +<li class="blockList"><a name="method_detail"> +<!-- --> +</a> +<h3>Method Detail</h3> +<a name="prepare()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>prepare</h4> +<pre>public <a href="../../../../com/amazon/carbonado/synthetic/ClassFileBuilder.html" title="class in com.amazon.carbonado.synthetic">ClassFileBuilder</a> prepare() + throws <a href="../../../../com/amazon/carbonado/SupportException.html" title="class in com.amazon.carbonado">SupportException</a></pre> +<dl> +<dt><strong>Specified by:</strong></dt> +<dd><code><a href="../../../../com/amazon/carbonado/synthetic/SyntheticBuilder.html#prepare()">prepare</a></code> in interface <code><a href="../../../../com/amazon/carbonado/synthetic/SyntheticBuilder.html" title="interface in com.amazon.carbonado.synthetic">SyntheticBuilder</a></code></dd> +<dt><span class="strong">Returns:</span></dt><dd><a href="../../../../com/amazon/carbonado/synthetic/ClassFileBuilder.html" title="class in com.amazon.carbonado.synthetic"><code>ClassFileBuilder</code></a> ready for further decoration or building</dd> +<dt><span class="strong">Throws:</span></dt> +<dd><code><a href="../../../../com/amazon/carbonado/SupportException.html" title="class in com.amazon.carbonado">SupportException</a></code></dd></dl> +</li> +</ul> +<a name="getReferenceAccess()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getReferenceAccess</h4> +<pre>public <a href="../../../../com/amazon/carbonado/synthetic/SyntheticStorableReferenceAccess.html" title="class in com.amazon.carbonado.synthetic">SyntheticStorableReferenceAccess</a><<a href="../../../../com/amazon/carbonado/synthetic/SyntheticStorableReferenceBuilder.html" title="type parameter in SyntheticStorableReferenceBuilder">S</a>> getReferenceAccess()</pre> +<div class="block">Build and return access to the generated storable reference class.</div> +<dl><dt><span class="strong">Since:</span></dt> + <dd>1.2.1</dd></dl> +</li> +</ul> +<a name="getStorableClass()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getStorableClass</h4> +<pre>public java.lang.Class<? extends <a href="../../../../com/amazon/carbonado/Storable.html" title="interface in com.amazon.carbonado">Storable</a>> getStorableClass() + throws java.lang.IllegalStateException</pre> +<dl> +<dt><strong>Specified by:</strong></dt> +<dd><code><a href="../../../../com/amazon/carbonado/synthetic/SyntheticBuilder.html#getStorableClass()">getStorableClass</a></code> in interface <code><a href="../../../../com/amazon/carbonado/synthetic/SyntheticBuilder.html" title="interface in com.amazon.carbonado.synthetic">SyntheticBuilder</a></code></dd> +<dt><span class="strong">Returns:</span></dt><dd>the generated class file for this builder. Note that + proper operation requires that <a href="../../../../com/amazon/carbonado/synthetic/SyntheticBuilder.html#prepare()"><code>SyntheticBuilder.prepare()</code></a> already have been called + prior to calling this method.</dd> +<dt><span class="strong">Throws:</span></dt> +<dd><code>java.lang.IllegalStateException</code> - if build has not yet been called.</dd></dl> +</li> +</ul> +<a name="build()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>build</h4> +<pre>public java.lang.Class<? extends <a href="../../../../com/amazon/carbonado/Storable.html" title="interface in com.amazon.carbonado">Storable</a>> build() + throws <a href="../../../../com/amazon/carbonado/SupportException.html" title="class in com.amazon.carbonado">SupportException</a></pre> +<div class="block"><strong>Description copied from interface: <code><a href="../../../../com/amazon/carbonado/synthetic/SyntheticBuilder.html#build()">SyntheticBuilder</a></code></strong></div> +<div class="block">Convenience method to generate the class. + Build will always call <a href="../../../../com/amazon/carbonado/synthetic/SyntheticBuilder.html#prepare()"><code>SyntheticBuilder.prepare()</code></a> and return the result of + generating the class from that classfile. If the caller does not + wish to regenerate the class from scratch, use <a href="../../../../com/amazon/carbonado/synthetic/SyntheticBuilder.html#getStorableClass()"><code>SyntheticBuilder.getStorableClass()</code></a> instead.</div> +<dl> +<dt><strong>Specified by:</strong></dt> +<dd><code><a href="../../../../com/amazon/carbonado/synthetic/SyntheticBuilder.html#build()">build</a></code> in interface <code><a href="../../../../com/amazon/carbonado/synthetic/SyntheticBuilder.html" title="interface in com.amazon.carbonado.synthetic">SyntheticBuilder</a></code></dd> +<dt><span class="strong">Throws:</span></dt> +<dd><code><a href="../../../../com/amazon/carbonado/SupportException.html" title="class in com.amazon.carbonado">SupportException</a></code></dd></dl> +</li> +</ul> +<a name="addKeyProperty(java.lang.String, com.amazon.carbonado.info.Direction)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>addKeyProperty</h4> +<pre>public <a href="../../../../com/amazon/carbonado/synthetic/SyntheticProperty.html" title="class in com.amazon.carbonado.synthetic">SyntheticProperty</a> addKeyProperty(java.lang.String name, + <a href="../../../../com/amazon/carbonado/info/Direction.html" title="enum in com.amazon.carbonado.info">Direction</a> direction)</pre> +<div class="block">Add a property to the primary key which is a member of the Storable type + being referenced by this one.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>name</code> - </dd></dl> +</li> +</ul> +<a name="addProperty(java.lang.String, java.lang.Class)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>addProperty</h4> +<pre>public <a href="../../../../com/amazon/carbonado/synthetic/SyntheticProperty.html" title="class in com.amazon.carbonado.synthetic">SyntheticProperty</a> addProperty(java.lang.String name, + java.lang.Class type)</pre> +<div class="block"><strong>Description copied from interface: <code><a href="../../../../com/amazon/carbonado/synthetic/SyntheticBuilder.html#addProperty(java.lang.String, java.lang.Class)">SyntheticBuilder</a></code></strong></div> +<div class="block">Add a property to the set managed by this builder.</div> +<dl> +<dt><strong>Specified by:</strong></dt> +<dd><code><a href="../../../../com/amazon/carbonado/synthetic/SyntheticBuilder.html#addProperty(java.lang.String, java.lang.Class)">addProperty</a></code> in interface <code><a href="../../../../com/amazon/carbonado/synthetic/SyntheticBuilder.html" title="interface in com.amazon.carbonado.synthetic">SyntheticBuilder</a></code></dd> +<dt><span class="strong">Parameters:</span></dt><dd><code>name</code> - of the property</dd><dd><code>type</code> - of the property</dd> +<dt><span class="strong">Returns:</span></dt><dd>property specification which can be further refined</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../com/amazon/carbonado/synthetic/SyntheticStorableBuilder.html#addProperty(java.lang.String, java.lang.Class)"><code>SyntheticStorableBuilder.addProperty(java.lang.String, + java.lang.Class)</code></a></dd></dl> +</li> +</ul> +<a name="addProperty(com.amazon.carbonado.synthetic.SyntheticProperty)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>addProperty</h4> +<pre>public <a href="../../../../com/amazon/carbonado/synthetic/SyntheticProperty.html" title="class in com.amazon.carbonado.synthetic">SyntheticProperty</a> addProperty(<a href="../../../../com/amazon/carbonado/synthetic/SyntheticProperty.html" title="class in com.amazon.carbonado.synthetic">SyntheticProperty</a> prop)</pre> +<div class="block"><strong>Description copied from interface: <code><a href="../../../../com/amazon/carbonado/synthetic/SyntheticBuilder.html#addProperty(com.amazon.carbonado.synthetic.SyntheticProperty)">SyntheticBuilder</a></code></strong></div> +<div class="block">Add an externally defined synthetic property to the list</div> +<dl> +<dt><strong>Specified by:</strong></dt> +<dd><code><a href="../../../../com/amazon/carbonado/synthetic/SyntheticBuilder.html#addProperty(com.amazon.carbonado.synthetic.SyntheticProperty)">addProperty</a></code> in interface <code><a href="../../../../com/amazon/carbonado/synthetic/SyntheticBuilder.html" title="interface in com.amazon.carbonado.synthetic">SyntheticBuilder</a></code></dd> +<dt><span class="strong">Parameters:</span></dt><dd><code>prop</code> - to add</dd> +<dt><span class="strong">Returns:</span></dt><dd>original synthetic property as a convenience</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../com/amazon/carbonado/synthetic/SyntheticStorableBuilder.html#addProperty(com.amazon.carbonado.synthetic.SyntheticProperty)"><code>SyntheticStorableBuilder.addProperty(com.amazon.carbonado.synthetic.SyntheticProperty)</code></a></dd></dl> +</li> +</ul> +<a name="hasProperty(java.lang.String)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>hasProperty</h4> +<pre>public boolean hasProperty(java.lang.String name)</pre> +<div class="block"><strong>Description copied from interface: <code><a href="../../../../com/amazon/carbonado/synthetic/SyntheticBuilder.html#hasProperty(java.lang.String)">SyntheticBuilder</a></code></strong></div> +<div class="block">Check to see if a particular property has already been added to the list of + properties to generate</div> +<dl> +<dt><strong>Specified by:</strong></dt> +<dd><code><a href="../../../../com/amazon/carbonado/synthetic/SyntheticBuilder.html#hasProperty(java.lang.String)">hasProperty</a></code> in interface <code><a href="../../../../com/amazon/carbonado/synthetic/SyntheticBuilder.html" title="interface in com.amazon.carbonado.synthetic">SyntheticBuilder</a></code></dd> +</dl> +</li> +</ul> +<a name="getUserProps()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getUserProps</h4> +<pre>public java.util.List<<a href="../../../../com/amazon/carbonado/synthetic/SyntheticProperty.html" title="class in com.amazon.carbonado.synthetic">SyntheticProperty</a>> getUserProps()</pre> +<dl><dt><span class="strong">Returns:</span></dt><dd>Returns the indexProps.</dd></dl> +</li> +</ul> +<a name="addPrimaryKey()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>addPrimaryKey</h4> +<pre>public <a href="../../../../com/amazon/carbonado/synthetic/SyntheticKey.html" title="class in com.amazon.carbonado.synthetic">SyntheticKey</a> addPrimaryKey()</pre> +<div class="block"><strong>Description copied from interface: <code><a href="../../../../com/amazon/carbonado/synthetic/SyntheticBuilder.html#addPrimaryKey()">SyntheticBuilder</a></code></strong></div> +<div class="block">Add a primary key to be built.</div> +<dl> +<dt><strong>Specified by:</strong></dt> +<dd><code><a href="../../../../com/amazon/carbonado/synthetic/SyntheticBuilder.html#addPrimaryKey()">addPrimaryKey</a></code> in interface <code><a href="../../../../com/amazon/carbonado/synthetic/SyntheticBuilder.html" title="interface in com.amazon.carbonado.synthetic">SyntheticBuilder</a></code></dd> +<dt><span class="strong">Returns:</span></dt><dd>key to be decorated with property values defining the primary key</dd></dl> +</li> +</ul> +<a name="addAlternateKey()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>addAlternateKey</h4> +<pre>public <a href="../../../../com/amazon/carbonado/synthetic/SyntheticKey.html" title="class in com.amazon.carbonado.synthetic">SyntheticKey</a> addAlternateKey()</pre> +<div class="block"><strong>Description copied from interface: <code><a href="../../../../com/amazon/carbonado/synthetic/SyntheticBuilder.html#addAlternateKey()">SyntheticBuilder</a></code></strong></div> +<div class="block">Add an alternate key to be built.</div> +<dl> +<dt><strong>Specified by:</strong></dt> +<dd><code><a href="../../../../com/amazon/carbonado/synthetic/SyntheticBuilder.html#addAlternateKey()">addAlternateKey</a></code> in interface <code><a href="../../../../com/amazon/carbonado/synthetic/SyntheticBuilder.html" title="interface in com.amazon.carbonado.synthetic">SyntheticBuilder</a></code></dd> +<dt><span class="strong">Returns:</span></dt><dd>key to be decorated with property values defining the alternate key</dd></dl> +</li> +</ul> +<a name="addIndex()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>addIndex</h4> +<pre>public <a href="../../../../com/amazon/carbonado/synthetic/SyntheticIndex.html" title="class in com.amazon.carbonado.synthetic">SyntheticIndex</a> addIndex()</pre> +<div class="block"><strong>Description copied from interface: <code><a href="../../../../com/amazon/carbonado/synthetic/SyntheticBuilder.html#addIndex()">SyntheticBuilder</a></code></strong></div> +<div class="block">Add an index to the set managed by this builder. All indexes added this + way will be in addition to the primary and alternate key indexes.</div> +<dl> +<dt><strong>Specified by:</strong></dt> +<dd><code><a href="../../../../com/amazon/carbonado/synthetic/SyntheticBuilder.html#addIndex()">addIndex</a></code> in interface <code><a href="../../../../com/amazon/carbonado/synthetic/SyntheticBuilder.html" title="interface in com.amazon.carbonado.synthetic">SyntheticBuilder</a></code></dd> +<dt><span class="strong">Returns:</span></dt><dd>index to be decorated with property values defining the index</dd></dl> +</li> +</ul> +<a name="getName()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getName</h4> +<pre>public java.lang.Object getName()</pre> +</li> +</ul> +<a name="isUnique()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>isUnique</h4> +<pre>public boolean isUnique()</pre> +<div class="block">True if the generated derived class should be considered unique. If + non-unique, all properties are added to the primary key so there will be + no conflicts between various derived classes derived from the same base + storable.</div> +</li> +</ul> +<a name="isVersioned()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>isVersioned</h4> +<pre>public boolean isVersioned()</pre> +<div class="block"><strong>Description copied from interface: <code><a href="../../../../com/amazon/carbonado/synthetic/SyntheticBuilder.html#isVersioned()">SyntheticBuilder</a></code></strong></div> +<div class="block">Returns true if a property with the version attribute has been addded</div> +<dl> +<dt><strong>Specified by:</strong></dt> +<dd><code><a href="../../../../com/amazon/carbonado/synthetic/SyntheticBuilder.html#isVersioned()">isVersioned</a></code> in interface <code><a href="../../../../com/amazon/carbonado/synthetic/SyntheticBuilder.html" title="interface in com.amazon.carbonado.synthetic">SyntheticBuilder</a></code></dd> +</dl> +</li> +</ul> +<a name="copyToMasterPrimaryKey(com.amazon.carbonado.Storable,com.amazon.carbonado.Storable)"> +<!-- --> +</a><a name="copyToMasterPrimaryKey(com.amazon.carbonado.Storable, S)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>copyToMasterPrimaryKey</h4> +<pre>@Deprecated +public void copyToMasterPrimaryKey(<a href="../../../../com/amazon/carbonado/Storable.html" title="interface in com.amazon.carbonado">Storable</a> indexEntry, + <a href="../../../../com/amazon/carbonado/synthetic/SyntheticStorableReferenceBuilder.html" title="type parameter in SyntheticStorableReferenceBuilder">S</a> master) + throws <a href="../../../../com/amazon/carbonado/FetchException.html" title="class in com.amazon.carbonado">FetchException</a></pre> +<div class="block"><span class="strong">Deprecated.</span> <i>call getReferenceAccess</i></div> +<div class="block">Sets all the primary key properties of the given master, using the + applicable properties of the given index entry.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>indexEntry</code> - source of property values</dd><dd><code>master</code> - master whose primary key properties will be set</dd> +<dt><span class="strong">Throws:</span></dt> +<dd><code><a href="../../../../com/amazon/carbonado/FetchException.html" title="class in com.amazon.carbonado">FetchException</a></code></dd></dl> +</li> +</ul> +<a name="copyFromMaster(com.amazon.carbonado.Storable,com.amazon.carbonado.Storable)"> +<!-- --> +</a><a name="copyFromMaster(com.amazon.carbonado.Storable, S)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>copyFromMaster</h4> +<pre>@Deprecated +public void copyFromMaster(<a href="../../../../com/amazon/carbonado/Storable.html" title="interface in com.amazon.carbonado">Storable</a> indexEntry, + <a href="../../../../com/amazon/carbonado/synthetic/SyntheticStorableReferenceBuilder.html" title="type parameter in SyntheticStorableReferenceBuilder">S</a> master) + throws <a href="../../../../com/amazon/carbonado/FetchException.html" title="class in com.amazon.carbonado">FetchException</a></pre> +<div class="block"><span class="strong">Deprecated.</span> <i>call getReferenceAccess</i></div> +<div class="block">Sets all the properties of the given index entry, using the applicable + properties of the given master.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>indexEntry</code> - index entry whose properties will be set</dd><dd><code>master</code> - source of property values</dd> +<dt><span class="strong">Throws:</span></dt> +<dd><code><a href="../../../../com/amazon/carbonado/FetchException.html" title="class in com.amazon.carbonado">FetchException</a></code></dd></dl> +</li> +</ul> +<a name="isConsistent(com.amazon.carbonado.Storable,com.amazon.carbonado.Storable)"> +<!-- --> +</a><a name="isConsistent(com.amazon.carbonado.Storable, S)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>isConsistent</h4> +<pre>@Deprecated +public boolean isConsistent(<a href="../../../../com/amazon/carbonado/Storable.html" title="interface in com.amazon.carbonado">Storable</a> indexEntry, + <a href="../../../../com/amazon/carbonado/synthetic/SyntheticStorableReferenceBuilder.html" title="type parameter in SyntheticStorableReferenceBuilder">S</a> master) + throws <a href="../../../../com/amazon/carbonado/FetchException.html" title="class in com.amazon.carbonado">FetchException</a></pre> +<div class="block"><span class="strong">Deprecated.</span> <i>call getReferenceAccess</i></div> +<div class="block">Returns true if the properties of the given index entry match those + contained in the master, excluding any version property. This will + always return true after a call to copyFromMaster.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>indexEntry</code> - index entry whose properties will be tested</dd><dd><code>master</code> - source of property values</dd> +<dt><span class="strong">Throws:</span></dt> +<dd><code><a href="../../../../com/amazon/carbonado/FetchException.html" title="class in com.amazon.carbonado">FetchException</a></code></dd></dl> +</li> +</ul> +<a name="getComparator()"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>getComparator</h4> +<pre>@Deprecated +public java.util.Comparator<? extends <a href="../../../../com/amazon/carbonado/Storable.html" title="interface in com.amazon.carbonado">Storable</a>> getComparator()</pre> +<div class="block"><span class="strong">Deprecated.</span> <i>call getReferenceAccess</i></div> +<div class="block">Returns a comparator for ordering index entries.</div> +</li> +</ul> +</li> +</ul> +</li> +</ul> +</div> +</div> +<!-- ========= END OF CLASS DATA ========= --> +<!-- ======= START OF BOTTOM NAVBAR ====== --> +<div class="bottomNav"><a name="navbar_bottom"> +<!-- --> +</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><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/SyntheticStorableReferenceBuilder.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-files/index-1.html">Index</a></li> +<li><a href="../../../../help-doc.html">Help</a></li> +</ul> +</div> +<div class="subNav"> +<ul class="navList"> +<li><a href="../../../../com/amazon/carbonado/synthetic/SyntheticStorableReferenceAccess.html" title="class in com.amazon.carbonado.synthetic"><span class="strong">Prev Class</span></a></li> +<li>Next Class</li> +</ul> +<ul class="navList"> +<li><a href="../../../../index.html?com/amazon/carbonado/synthetic/SyntheticStorableReferenceBuilder.html" target="_top">Frames</a></li> +<li><a href="SyntheticStorableReferenceBuilder.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_bottom"> +<li><a href="../../../../allclasses-noframe.html">All Classes</a></li> +</ul> +<div> +<script type="text/javascript"><!-- + allClassesLink = document.getElementById("allclasses_navbar_bottom"); + if(window==top) { + allClassesLink.style.display = "block"; + } + else { + allClassesLink.style.display = "none"; + } + //--> +</script> +</div> +<div> +<ul class="subNavList"> +<li>Summary: </li> +<li>Nested | </li> +<li>Field | </li> +<li><a href="#constructor_summary">Constr</a> | </li> +<li><a href="#method_summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li>Field | </li> +<li><a href="#constructor_detail">Constr</a> | </li> +<li><a href="#method_detail">Method</a></li> +</ul> +</div> +<a name="skip-navbar_bottom"> +<!-- --> +</a></div> +<!-- ======== END OF BOTTOM NAVBAR ======= --> +<p class="legalCopy"><small>Copyright © 2006-2013 <a href="https://github.com/Carbonado/Carbonado">Amazon Technologies, Inc.</a>. All Rights Reserved.</small></p> +</body> +</html> |