| <!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_121) on Fri Jan 06 19:36:23 UTC 2017 --> |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <title>DynamicStorage (OpenJPA Parent POM 2.4.2 API)</title> |
| <meta name="date" content="2017-01-06"> |
| <link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style"> |
| </head> |
| <body> |
| <script type="text/javascript"><!-- |
| try { |
| if (location.href.indexOf('is-external=true') == -1) { |
| parent.document.title="DynamicStorage (OpenJPA Parent POM 2.4.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><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/DynamicStorage.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/enhance/DynamicPersistenceCapable.html" title="interface in org.apache.openjpa.enhance"><span class="strong">Prev Class</span></a></li> |
| <li><a href="../../../../org/apache/openjpa/enhance/DynamicStorageGenerator.html" title="class in org.apache.openjpa.enhance"><span class="strong">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../index.html?org/apache/openjpa/enhance/DynamicStorage.html" target="_top">Frames</a></li> |
| <li><a href="DynamicStorage.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>Constr | </li> |
| <li><a href="#method_summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li>Field | </li> |
| <li>Constr | </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.enhance</div> |
| <h2 title="Interface DynamicStorage" class="title">Interface DynamicStorage</h2> |
| </div> |
| <div class="contentContainer"> |
| <div class="description"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <hr> |
| <br> |
| <pre>public interface <span class="strong">DynamicStorage</span></pre> |
| <div class="block">Interface for dynamically generated classes. Certain getters/setters |
| may either return null or throw an exception depending on the |
| <a href="../../../../org/apache/openjpa/enhance/DynamicStorageGenerator.html" title="class in org.apache.openjpa.enhance"><code>DynamicStorageGenerator</code></a>'s field policy.</div> |
| <dl><dt><span class="strong">Since:</span></dt> |
| <dd>0.3.2.0</dd> |
| <dt><span class="strong">Author:</span></dt> |
| <dd>Steve Kim</dd></dl> |
| </li> |
| </ul> |
| </div> |
| <div class="summary"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ========== METHOD SUMMARY =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method_summary"> |
| <!-- --> |
| </a> |
| <h3>Method Summary</h3> |
| <table class="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>boolean</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/openjpa/enhance/DynamicStorage.html#getBoolean(int)">getBoolean</a></strong>(int field)</code> |
| <div class="block">Get the boolean at the given index.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>byte</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/openjpa/enhance/DynamicStorage.html#getByte(int)">getByte</a></strong>(int field)</code> |
| <div class="block">Get the byte at the given index.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>char</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/openjpa/enhance/DynamicStorage.html#getChar(int)">getChar</a></strong>(int field)</code> |
| <div class="block">Get the char at the given index.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>double</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/openjpa/enhance/DynamicStorage.html#getDouble(int)">getDouble</a></strong>(int field)</code> |
| <div class="block">Get the double at the given index.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>int</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/openjpa/enhance/DynamicStorage.html#getFieldCount()">getFieldCount</a></strong>()</code> |
| <div class="block">Return the number of fields, regardless of type</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>float</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/openjpa/enhance/DynamicStorage.html#getFloat(int)">getFloat</a></strong>(int field)</code> |
| <div class="block">Get the float at the given index.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>int</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/openjpa/enhance/DynamicStorage.html#getInt(int)">getInt</a></strong>(int field)</code> |
| <div class="block">Get the int at the given index.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>long</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/openjpa/enhance/DynamicStorage.html#getLong(int)">getLong</a></strong>(int field)</code> |
| <div class="block">Get the long at the given index.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/openjpa/enhance/DynamicStorage.html#getObject(int)">getObject</a></strong>(int field)</code> |
| <div class="block">Get the object at the given index.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>int</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/openjpa/enhance/DynamicStorage.html#getObjectCount()">getObjectCount</a></strong>()</code> |
| <div class="block">Return the number of object fields</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>short</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/openjpa/enhance/DynamicStorage.html#getShort(int)">getShort</a></strong>(int field)</code> |
| <div class="block">Get the short at the given index.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/openjpa/enhance/DynamicStorage.html#initialize()">initialize</a></strong>()</code> |
| <div class="block">Ensure object capacity</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../../../../org/apache/openjpa/enhance/DynamicStorage.html" title="interface in org.apache.openjpa.enhance">DynamicStorage</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/openjpa/enhance/DynamicStorage.html#newInstance()">newInstance</a></strong>()</code> |
| <div class="block">Factory method for getting new instances of the same definition.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/openjpa/enhance/DynamicStorage.html#setBoolean(int,%20boolean)">setBoolean</a></strong>(int field, |
| boolean val)</code> |
| <div class="block">Set the boolean at the given index.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/openjpa/enhance/DynamicStorage.html#setByte(int,%20byte)">setByte</a></strong>(int field, |
| byte val)</code> |
| <div class="block">Set the byte at the given index.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/openjpa/enhance/DynamicStorage.html#setChar(int,%20char)">setChar</a></strong>(int field, |
| char val)</code> |
| <div class="block">Set the char at the given index.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/openjpa/enhance/DynamicStorage.html#setDouble(int,%20double)">setDouble</a></strong>(int field, |
| double val)</code> |
| <div class="block">Set the double at the given index.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/openjpa/enhance/DynamicStorage.html#setFloat(int,%20float)">setFloat</a></strong>(int field, |
| float val)</code> |
| <div class="block">Set the float at the given index.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/openjpa/enhance/DynamicStorage.html#setInt(int,%20int)">setInt</a></strong>(int field, |
| int val)</code> |
| <div class="block">Set the int at the given index.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/openjpa/enhance/DynamicStorage.html#setLong(int,%20long)">setLong</a></strong>(int field, |
| long val)</code> |
| <div class="block">Set the long at the given index.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/openjpa/enhance/DynamicStorage.html#setObject(int,%20java.lang.Object)">setObject</a></strong>(int field, |
| <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> val)</code> |
| <div class="block">Set the object at the given index.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/openjpa/enhance/DynamicStorage.html#setShort(int,%20short)">setShort</a></strong>(int field, |
| short val)</code> |
| <div class="block">Set the short at the given index.</div> |
| </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| <div class="details"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ============ METHOD DETAIL ========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method_detail"> |
| <!-- --> |
| </a> |
| <h3>Method Detail</h3> |
| <a name="getFieldCount()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getFieldCount</h4> |
| <pre>int getFieldCount()</pre> |
| <div class="block">Return the number of fields, regardless of type</div> |
| </li> |
| </ul> |
| <a name="getObjectCount()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getObjectCount</h4> |
| <pre>int getObjectCount()</pre> |
| <div class="block">Return the number of object fields</div> |
| </li> |
| </ul> |
| <a name="newInstance()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>newInstance</h4> |
| <pre><a href="../../../../org/apache/openjpa/enhance/DynamicStorage.html" title="interface in org.apache.openjpa.enhance">DynamicStorage</a> newInstance()</pre> |
| <div class="block">Factory method for getting new instances of the same definition.</div> |
| </li> |
| </ul> |
| <a name="getBoolean(int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getBoolean</h4> |
| <pre>boolean getBoolean(int field)</pre> |
| <div class="block">Get the boolean at the given index.</div> |
| </li> |
| </ul> |
| <a name="setBoolean(int, boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setBoolean</h4> |
| <pre>void setBoolean(int field, |
| boolean val)</pre> |
| <div class="block">Set the boolean at the given index.</div> |
| </li> |
| </ul> |
| <a name="getByte(int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getByte</h4> |
| <pre>byte getByte(int field)</pre> |
| <div class="block">Get the byte at the given index.</div> |
| </li> |
| </ul> |
| <a name="setByte(int, byte)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setByte</h4> |
| <pre>void setByte(int field, |
| byte val)</pre> |
| <div class="block">Set the byte at the given index.</div> |
| </li> |
| </ul> |
| <a name="getChar(int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getChar</h4> |
| <pre>char getChar(int field)</pre> |
| <div class="block">Get the char at the given index.</div> |
| </li> |
| </ul> |
| <a name="setChar(int, char)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setChar</h4> |
| <pre>void setChar(int field, |
| char val)</pre> |
| <div class="block">Set the char at the given index.</div> |
| </li> |
| </ul> |
| <a name="getDouble(int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getDouble</h4> |
| <pre>double getDouble(int field)</pre> |
| <div class="block">Get the double at the given index.</div> |
| </li> |
| </ul> |
| <a name="setDouble(int, double)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setDouble</h4> |
| <pre>void setDouble(int field, |
| double val)</pre> |
| <div class="block">Set the double at the given index.</div> |
| </li> |
| </ul> |
| <a name="getFloat(int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getFloat</h4> |
| <pre>float getFloat(int field)</pre> |
| <div class="block">Get the float at the given index.</div> |
| </li> |
| </ul> |
| <a name="setFloat(int, float)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setFloat</h4> |
| <pre>void setFloat(int field, |
| float val)</pre> |
| <div class="block">Set the float at the given index.</div> |
| </li> |
| </ul> |
| <a name="getInt(int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getInt</h4> |
| <pre>int getInt(int field)</pre> |
| <div class="block">Get the int at the given index.</div> |
| </li> |
| </ul> |
| <a name="setInt(int, int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setInt</h4> |
| <pre>void setInt(int field, |
| int val)</pre> |
| <div class="block">Set the int at the given index.</div> |
| </li> |
| </ul> |
| <a name="getLong(int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getLong</h4> |
| <pre>long getLong(int field)</pre> |
| <div class="block">Get the long at the given index.</div> |
| </li> |
| </ul> |
| <a name="setLong(int, long)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setLong</h4> |
| <pre>void setLong(int field, |
| long val)</pre> |
| <div class="block">Set the long at the given index.</div> |
| </li> |
| </ul> |
| <a name="getShort(int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getShort</h4> |
| <pre>short getShort(int field)</pre> |
| <div class="block">Get the short at the given index.</div> |
| </li> |
| </ul> |
| <a name="setShort(int, short)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setShort</h4> |
| <pre>void setShort(int field, |
| short val)</pre> |
| <div class="block">Set the short at the given index.</div> |
| </li> |
| </ul> |
| <a name="getObject(int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getObject</h4> |
| <pre><a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> getObject(int field)</pre> |
| <div class="block">Get the object at the given index.</div> |
| </li> |
| </ul> |
| <a name="setObject(int, java.lang.Object)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setObject</h4> |
| <pre>void setObject(int field, |
| <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> val)</pre> |
| <div class="block">Set the object at the given index.</div> |
| </li> |
| </ul> |
| <a name="initialize()"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>initialize</h4> |
| <pre>void initialize()</pre> |
| <div class="block">Ensure object capacity</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/DynamicStorage.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/enhance/DynamicPersistenceCapable.html" title="interface in org.apache.openjpa.enhance"><span class="strong">Prev Class</span></a></li> |
| <li><a href="../../../../org/apache/openjpa/enhance/DynamicStorageGenerator.html" title="class in org.apache.openjpa.enhance"><span class="strong">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../index.html?org/apache/openjpa/enhance/DynamicStorage.html" target="_top">Frames</a></li> |
| <li><a href="DynamicStorage.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>Constr | </li> |
| <li><a href="#method_summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li>Field | </li> |
| <li>Constr | </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–2017 <a href="http://www.apache.org">Apache Software Foundation</a>. All rights reserved.</small></p> |
| </body> |
| </html> |