/
area/
classes/net/sourceforge/pain/logic/
classes/net/sourceforge/pain/logic/event/
classes/net/sourceforge/pain/logic/fn/util/
classes/net/sourceforge/pain/network/console/
classes/net/sourceforge/pain/plugin/
classes/net/sourceforge/pain/plugin/reset/
classes/net/sourceforge/pain/plugin/shutdown/
classes/net/sourceforge/pain/plugin/social/
classest/net/sourceforge/pain/db/data/
doc/
doc/paindb/resources/
src/net/sourceforge/pain/logic/
src/net/sourceforge/pain/logic/event/
src/net/sourceforge/pain/logic/fn/util/
src/net/sourceforge/pain/network/console/
src/net/sourceforge/pain/network/console/telnet/
src/net/sourceforge/pain/plugin/
src/net/sourceforge/pain/plugin/command/
src/net/sourceforge/pain/plugin/reset/
src/net/sourceforge/pain/plugin/shutdown/
src/net/sourceforge/pain/plugin/social/
src/net/sourceforge/pain/util/
tests/
tests/net/sourceforge/pain/db/data/
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.4.2) on Sun Oct 19 20:56:55 NOVST 2003 -->
<TITLE>
DbObject
</TITLE>

<META NAME="keywords" CONTENT="net.sourceforge.pain.db.DbObject class">

<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">

<SCRIPT type="text/javascript">
function windowTitle()
{
    parent.document.title="DbObject";
}
</SCRIPT>

</HEAD>

<BODY BGCOLOR="white" onload="windowTitle();">


<!-- ========= START OF TOP NAVBAR ======= -->
<A NAME="navbar_top"><!-- --></A>
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  <TR ALIGN="center" VALIGN="top">
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../net/sourceforge/pain/db/DbLinkedList.html" title="class in net.sourceforge.pain.db"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../net/sourceforge/pain/db/DbOid.html" title="class in net.sourceforge.pain.db"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../../../index.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="DbObject.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
&nbsp;<SCRIPT type="text/javascript">
  <!--
  if(window==top) {
    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  }
  //-->
</SCRIPT>
<NOSCRIPT>
  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>

</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_top"></A>
<!-- ========= END OF TOP NAVBAR ========= -->

<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
net.sourceforge.pain.db</FONT>
<BR>
Class DbObject</H2>
<PRE>
java.lang.Object
  <IMG SRC="../../../../resources/inherit.gif" ALT="extended by"><B>net.sourceforge.pain.db.DbObject</B>
</PRE>
<HR>
<DL>
<DT>public abstract class <B>DbObject</B><DT>extends java.lang.Object</DL>

<P>
Superclass for any persistent PAiNDb object.<br>
 Subclass should implement provideSchema method.
<P>

<P>
<HR>

<P>
<!-- ======== NESTED CLASS SUMMARY ======== -->


<!-- =========== FIELD SUMMARY =========== -->


<!-- ======== CONSTRUCTOR SUMMARY ======== -->

<A NAME="constructor_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Constructor Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected </CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sourceforge/pain/db/DbObject.html#DbObject()">DbObject</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This constuctor used for database startup time objects instantiation<br>
 Subclasses should also provide default empty constructor<br>
 (and not use any get/set methods in it)</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected </CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sourceforge/pain/db/DbObject.html#DbObject(net.sourceforge.pain.db.PainDB)">DbObject</A></B>(<A HREF="../../../../net/sourceforge/pain/db/PainDB.html" title="class in net.sourceforge.pain.db">PainDB</A>&nbsp;db)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;this contructor used by user  in runtime to create new objects<br>
 if no class instance for this object exists <code>provideSchema</code> method<br>
 will be invoked and DbClass instance created.</TD>
</TR>
</TABLE>
&nbsp;
<!-- ========== METHOD SUMMARY =========== -->

<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Method Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sourceforge/pain/db/DbObject.html#delete()">delete</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;removes object from database.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../net/sourceforge/pain/db/DbArrayList.html" title="class in net.sourceforge.pain.db">DbArrayList</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sourceforge/pain/db/DbObject.html#getArrayList(int)">getArrayList</A></B>(int&nbsp;fid)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Note: there is only getter method for Lists.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sourceforge/pain/db/DbObject.html#getBoolean(int)">getBoolean</A></B>(int&nbsp;fid)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;byte</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sourceforge/pain/db/DbObject.html#getByte(int)">getByte</A></B>(int&nbsp;fid)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;byte[]</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sourceforge/pain/db/DbObject.html#getByteArray(int)">getByteArray</A></B>(int&nbsp;fid)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;NOTE: PainDB is not able to track any changes in arrays,<br>
 user should use getXArrayForRead to avoid copying.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;byte[]</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sourceforge/pain/db/DbObject.html#getByteArrayForRead(int)">getByteArrayForRead</A></B>(int&nbsp;fid)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;NOTE: PainDB is not able to track any changes in arrays, this method provides direct access to arrays
 user should not modify array instance obtained with this method (rollback info could be lost)</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;char</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sourceforge/pain/db/DbObject.html#getChar(int)">getChar</A></B>(int&nbsp;fid)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;char[]</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sourceforge/pain/db/DbObject.html#getCharArray(int)">getCharArray</A></B>(int&nbsp;fid)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;NOTE: PainDB is not able to track any changes in arrays,<br>
 user should use getXArrayForRead to avoid copying.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;char[]</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sourceforge/pain/db/DbObject.html#getCharArrayForRead(int)">getCharArrayForRead</A></B>(int&nbsp;fid)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;NOTE: PainDB is not able to track any changes in arrays, this method provides direct access to arrays
 user should not modify array instance obtained with this method (rollback info could be lost)</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../net/sourceforge/pain/db/PainDB.html" title="class in net.sourceforge.pain.db">PainDB</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sourceforge/pain/db/DbObject.html#getDB()">getDB</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../net/sourceforge/pain/db/DbClass.html" title="interface in net.sourceforge.pain.db">DbClass</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sourceforge/pain/db/DbObject.html#getDbClass()">getDbClass</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;double</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sourceforge/pain/db/DbObject.html#getDouble(int)">getDouble</A></B>(int&nbsp;fid)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;float</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sourceforge/pain/db/DbObject.html#getFloat(int)">getFloat</A></B>(int&nbsp;fid)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sourceforge/pain/db/DbObject.html#getInt(int)">getInt</A></B>(int&nbsp;fid)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int[]</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sourceforge/pain/db/DbObject.html#getIntArray(int)">getIntArray</A></B>(int&nbsp;fid)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;NOTE: PainDB is not able to track any changes in arrays,<br>
 user should use getXArrayForRead to avoid copying.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int[]</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sourceforge/pain/db/DbObject.html#getIntArrayForRead(int)">getIntArrayForRead</A></B>(int&nbsp;fid)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;NOTE: PainDB is not able to track any changes in arrays, this method provides direct access to arrays
 user should not modify array instance obtained with this method (rollback info could be lost)</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../net/sourceforge/pain/db/DbIntKeyMap.html" title="class in net.sourceforge.pain.db">DbIntKeyMap</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sourceforge/pain/db/DbObject.html#getIntKeyMap(int)">getIntKeyMap</A></B>(int&nbsp;fid)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Note: there is only getter method for Maps.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../net/sourceforge/pain/db/DbLinkedList.html" title="class in net.sourceforge.pain.db">DbLinkedList</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sourceforge/pain/db/DbObject.html#getLinkedList(int)">getLinkedList</A></B>(int&nbsp;fid)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Note: there is only getter method for Lists.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.util.List</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sourceforge/pain/db/DbObject.html#getList(int)">getList</A></B>(int&nbsp;fid)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;long</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sourceforge/pain/db/DbObject.html#getLong(int)">getLong</A></B>(int&nbsp;fid)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.io.Serializable</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sourceforge/pain/db/DbObject.html#getOid()">getOid</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../net/sourceforge/pain/db/DbObject.html" title="class in net.sourceforge.pain.db">DbObject</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sourceforge/pain/db/DbObject.html#getReference(int)">getReference</A></B>(int&nbsp;fid)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../net/sourceforge/pain/db/DbReferenceSet.html" title="class in net.sourceforge.pain.db">DbReferenceSet</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sourceforge/pain/db/DbObject.html#getRefSet(int)">getRefSet</A></B>(int&nbsp;fid)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Note: there is only getter method for Sets.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;short</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sourceforge/pain/db/DbObject.html#getShort(int)">getShort</A></B>(int&nbsp;fid)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sourceforge/pain/db/DbObject.html#getString(int)">getString</A></B>(int&nbsp;fid)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String[]</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sourceforge/pain/db/DbObject.html#getStringArray(int)">getStringArray</A></B>(int&nbsp;fid)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;NOTE: PainDB is not able to track any changes in arrays, this method provides direct access to arrays
 user should not modify array instance obtained with this method (rollback info could be lost)</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String[]</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sourceforge/pain/db/DbObject.html#getStringArrayForRead(int)">getStringArrayForRead</A></B>(int&nbsp;fid)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;NOTE: PainDB is not able to track any changes in arrays, this method provides direct access to arrays
 user should not modify array instance obtained with this method (rollback info could be lost)</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../net/sourceforge/pain/db/DbStringKeyMap.html" title="class in net.sourceforge.pain.db">DbStringKeyMap</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sourceforge/pain/db/DbObject.html#getStringKeyMap(int)">getStringKeyMap</A></B>(int&nbsp;fid)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Note: there is only getter method for Maps.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../net/sourceforge/pain/db/DbStringMap.html" title="class in net.sourceforge.pain.db">DbStringMap</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sourceforge/pain/db/DbObject.html#getStringMap(int)">getStringMap</A></B>(int&nbsp;fid)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../net/sourceforge/pain/db/DbStringSet.html" title="class in net.sourceforge.pain.db">DbStringSet</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sourceforge/pain/db/DbObject.html#getStringSet(int)">getStringSet</A></B>(int&nbsp;fid)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sourceforge/pain/db/DbObject.html#isClean()">isClean</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sourceforge/pain/db/DbObject.html#isDeleted()">isDeleted</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sourceforge/pain/db/DbObject.html#isDetached()">isDetached</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sourceforge/pain/db/DbObject.html#isDirty()">isDirty</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sourceforge/pain/db/DbObject.html#isNew()">isNew</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected abstract &nbsp;<A HREF="../../../../net/sourceforge/pain/db/DbClassSchema.html" title="class in net.sourceforge.pain.db">DbClassSchema</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sourceforge/pain/db/DbObject.html#provideSchema()">provideSchema</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Every time we add new DbObject of the unknown class to database
 this method is called.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sourceforge/pain/db/DbObject.html#setBoolean(int, boolean)">setBoolean</A></B>(int&nbsp;fid,
           boolean&nbsp;value)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sourceforge/pain/db/DbObject.html#setByte(int, byte)">setByte</A></B>(int&nbsp;fid,
        byte&nbsp;value)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sourceforge/pain/db/DbObject.html#setByteArray(int, byte[])">setByteArray</A></B>(int&nbsp;fid,
             byte[]&nbsp;value)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sourceforge/pain/db/DbObject.html#setChar(int, char)">setChar</A></B>(int&nbsp;fid,
        char&nbsp;value)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sourceforge/pain/db/DbObject.html#setCharArray(int, char[])">setCharArray</A></B>(int&nbsp;fid,
             char[]&nbsp;value)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sourceforge/pain/db/DbObject.html#setDouble(int, double)">setDouble</A></B>(int&nbsp;fid,
          double&nbsp;value)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sourceforge/pain/db/DbObject.html#setFloat(int, float)">setFloat</A></B>(int&nbsp;fid,
         float&nbsp;value)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sourceforge/pain/db/DbObject.html#setInt(int, int)">setInt</A></B>(int&nbsp;fid,
       int&nbsp;value)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sourceforge/pain/db/DbObject.html#setIntArray(int, int[])">setIntArray</A></B>(int&nbsp;fid,
            int[]&nbsp;value)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sourceforge/pain/db/DbObject.html#setLong(int, long)">setLong</A></B>(int&nbsp;fid,
        long&nbsp;value)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sourceforge/pain/db/DbObject.html#setReference(int, net.sourceforge.pain.db.DbObject)">setReference</A></B>(int&nbsp;fid,
             <A HREF="../../../../net/sourceforge/pain/db/DbObject.html" title="class in net.sourceforge.pain.db">DbObject</A>&nbsp;value)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sourceforge/pain/db/DbObject.html#setShort(int, short)">setShort</A></B>(int&nbsp;fid,
         short&nbsp;value)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sourceforge/pain/db/DbObject.html#setString(int, java.lang.String)">setString</A></B>(int&nbsp;fid,
          java.lang.String&nbsp;value)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sourceforge/pain/db/DbObject.html#setStringArray(int, java.lang.String[])">setStringArray</A></B>(int&nbsp;fid,
               java.lang.String[]&nbsp;value)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TD><B>Methods inherited from class java.lang.Object</B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
</TR>
</TABLE>
&nbsp;
<P>

<!-- ============ FIELD DETAIL =========== -->


<!-- ========= CONSTRUCTOR DETAIL ======== -->

<A NAME="constructor_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TD>
</TR>
</TABLE>

<A NAME="DbObject()"><!-- --></A><H3>
DbObject</H3>
<PRE>
protected <B>DbObject</B>()</PRE>
<DL>
<DD>This constuctor used for database startup time objects instantiation<br>
 Subclasses should also provide default empty constructor<br>
 (and not use any get/set methods in it)
<P>
</DL>
<HR>

<A NAME="DbObject(net.sourceforge.pain.db.PainDB)"><!-- --></A><H3>
DbObject</H3>
<PRE>
protected <B>DbObject</B>(<A HREF="../../../../net/sourceforge/pain/db/PainDB.html" title="class in net.sourceforge.pain.db">PainDB</A>&nbsp;db)
            throws java.lang.RuntimeException</PRE>
<DL>
<DD>this contructor used by user  in runtime to create new objects<br>
 if no class instance for this object exists <code>provideSchema</code> method<br>
 will be invoked and DbClass instance created.
 Object is NEW after creation inside transaction or DIRTY in plain write mode.
<P>
<DT><B>Parameters:</B><DD><CODE>db</CODE> - 
<DT><B>Throws:</B>
<DD><CODE>java.lang.RuntimeException</CODE> - (TODO: will be changed to some PAIN RuntimeExceptionImpl)</DL>

<!-- ============ METHOD DETAIL ========== -->

<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Method Detail</B></FONT></TD>
</TR>
</TABLE>

<A NAME="provideSchema()"><!-- --></A><H3>
provideSchema</H3>
<PRE>
protected abstract <A HREF="../../../../net/sourceforge/pain/db/DbClassSchema.html" title="class in net.sourceforge.pain.db">DbClassSchema</A> <B>provideSchema</B>()</PRE>
<DL>
<DD>Every time we add new DbObject of the unknown class to database
 this method is called. DbClass instance will be automatically created.
 It's called only once for every new class.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="getBoolean(int)"><!-- --></A><H3>
getBoolean</H3>
<PRE>
public final boolean <B>getBoolean</B>(int&nbsp;fid)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="getByte(int)"><!-- --></A><H3>
getByte</H3>
<PRE>
public final byte <B>getByte</B>(int&nbsp;fid)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="getChar(int)"><!-- --></A><H3>
getChar</H3>
<PRE>
public final char <B>getChar</B>(int&nbsp;fid)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="getDouble(int)"><!-- --></A><H3>
getDouble</H3>
<PRE>
public final double <B>getDouble</B>(int&nbsp;fid)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="getFloat(int)"><!-- --></A><H3>
getFloat</H3>
<PRE>
public final float <B>getFloat</B>(int&nbsp;fid)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="getInt(int)"><!-- --></A><H3>
getInt</H3>
<PRE>
public final int <B>getInt</B>(int&nbsp;fid)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="getLong(int)"><!-- --></A><H3>
getLong</H3>
<PRE>
public final long <B>getLong</B>(int&nbsp;fid)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="getShort(int)"><!-- --></A><H3>
getShort</H3>
<PRE>
public final short <B>getShort</B>(int&nbsp;fid)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="getReference(int)"><!-- --></A><H3>
getReference</H3>
<PRE>
public final <A HREF="../../../../net/sourceforge/pain/db/DbObject.html" title="class in net.sourceforge.pain.db">DbObject</A> <B>getReference</B>(int&nbsp;fid)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="getString(int)"><!-- --></A><H3>
getString</H3>
<PRE>
public final java.lang.String <B>getString</B>(int&nbsp;fid)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="getByteArray(int)"><!-- --></A><H3>
getByteArray</H3>
<PRE>
public final byte[] <B>getByteArray</B>(int&nbsp;fid)</PRE>
<DL>
<DD>NOTE: PainDB is not able to track any changes in arrays,<br>
 user should use getXArrayForRead to avoid copying.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>fid</CODE> - 
<DT><B>Returns:</B><DD>copy of the field value</DL>
</DD>
</DL>
<HR>

<A NAME="getByteArrayForRead(int)"><!-- --></A><H3>
getByteArrayForRead</H3>
<PRE>
public final byte[] <B>getByteArrayForRead</B>(int&nbsp;fid)</PRE>
<DL>
<DD>NOTE: PainDB is not able to track any changes in arrays, this method provides direct access to arrays
 user should not modify array instance obtained with this method (rollback info could be lost)
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>fid</CODE> - 
<DT><B>Returns:</B><DD>original field value(array, do not make copy)</DL>
</DD>
</DL>
<HR>

<A NAME="getCharArray(int)"><!-- --></A><H3>
getCharArray</H3>
<PRE>
public final char[] <B>getCharArray</B>(int&nbsp;fid)</PRE>
<DL>
<DD>NOTE: PainDB is not able to track any changes in arrays,<br>
 user should use getXArrayForRead to avoid copying.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>fid</CODE> - 
<DT><B>Returns:</B><DD>copy of the field value</DL>
</DD>
</DL>
<HR>

<A NAME="getCharArrayForRead(int)"><!-- --></A><H3>
getCharArrayForRead</H3>
<PRE>
public final char[] <B>getCharArrayForRead</B>(int&nbsp;fid)</PRE>
<DL>
<DD>NOTE: PainDB is not able to track any changes in arrays, this method provides direct access to arrays
 user should not modify array instance obtained with this method (rollback info could be lost)
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>fid</CODE> - 
<DT><B>Returns:</B><DD>original field value(array, do not make copy)</DL>
</DD>
</DL>
<HR>

<A NAME="getIntArray(int)"><!-- --></A><H3>
getIntArray</H3>
<PRE>
public final int[] <B>getIntArray</B>(int&nbsp;fid)</PRE>
<DL>
<DD>NOTE: PainDB is not able to track any changes in arrays,<br>
 user should use getXArrayForRead to avoid copying.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>fid</CODE> - 
<DT><B>Returns:</B><DD>copy of the field value</DL>
</DD>
</DL>
<HR>

<A NAME="getIntArrayForRead(int)"><!-- --></A><H3>
getIntArrayForRead</H3>
<PRE>
public final int[] <B>getIntArrayForRead</B>(int&nbsp;fid)</PRE>
<DL>
<DD>NOTE: PainDB is not able to track any changes in arrays, this method provides direct access to arrays
 user should not modify array instance obtained with this method (rollback info could be lost)
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>fid</CODE> - 
<DT><B>Returns:</B><DD>original field value(array, do not make copy)</DL>
</DD>
</DL>
<HR>

<A NAME="getStringArray(int)"><!-- --></A><H3>
getStringArray</H3>
<PRE>
public final java.lang.String[] <B>getStringArray</B>(int&nbsp;fid)</PRE>
<DL>
<DD>NOTE: PainDB is not able to track any changes in arrays, this method provides direct access to arrays
 user should not modify array instance obtained with this method (rollback info could be lost)
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>fid</CODE> - 
<DT><B>Returns:</B><DD>original field value(array, do not make copy)</DL>
</DD>
</DL>
<HR>

<A NAME="getStringArrayForRead(int)"><!-- --></A><H3>
getStringArrayForRead</H3>
<PRE>
public final java.lang.String[] <B>getStringArrayForRead</B>(int&nbsp;fid)</PRE>
<DL>
<DD>NOTE: PainDB is not able to track any changes in arrays, this method provides direct access to arrays
 user should not modify array instance obtained with this method (rollback info could be lost)
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>fid</CODE> - 
<DT><B>Returns:</B><DD>original field value(array, do not make copy)</DL>
</DD>
</DL>
<HR>

<A NAME="getList(int)"><!-- --></A><H3>
getList</H3>
<PRE>
public final java.util.List <B>getList</B>(int&nbsp;fid)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="getLinkedList(int)"><!-- --></A><H3>
getLinkedList</H3>
<PRE>
public final <A HREF="../../../../net/sourceforge/pain/db/DbLinkedList.html" title="class in net.sourceforge.pain.db">DbLinkedList</A> <B>getLinkedList</B>(int&nbsp;fid)</PRE>
<DL>
<DD>Note: there is only getter method for Lists. List could be empty but not null!
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>fid</CODE> - number of field
<DT><B>Returns:</B><DD>list</DL>
</DD>
</DL>
<HR>

<A NAME="getArrayList(int)"><!-- --></A><H3>
getArrayList</H3>
<PRE>
public final <A HREF="../../../../net/sourceforge/pain/db/DbArrayList.html" title="class in net.sourceforge.pain.db">DbArrayList</A> <B>getArrayList</B>(int&nbsp;fid)</PRE>
<DL>
<DD>Note: there is only getter method for Lists. List could be empty but not null!
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>fid</CODE> - number of field
<DT><B>Returns:</B><DD>list</DL>
</DD>
</DL>
<HR>

<A NAME="getIntKeyMap(int)"><!-- --></A><H3>
getIntKeyMap</H3>
<PRE>
public final <A HREF="../../../../net/sourceforge/pain/db/DbIntKeyMap.html" title="class in net.sourceforge.pain.db">DbIntKeyMap</A> <B>getIntKeyMap</B>(int&nbsp;fid)</PRE>
<DL>
<DD>Note: there is only getter method for Maps. Map could be empty but never null!
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>fid</CODE> - number of field
<DT><B>Returns:</B><DD>map</DL>
</DD>
</DL>
<HR>

<A NAME="getStringKeyMap(int)"><!-- --></A><H3>
getStringKeyMap</H3>
<PRE>
public final <A HREF="../../../../net/sourceforge/pain/db/DbStringKeyMap.html" title="class in net.sourceforge.pain.db">DbStringKeyMap</A> <B>getStringKeyMap</B>(int&nbsp;fid)</PRE>
<DL>
<DD>Note: there is only getter method for Maps. Map could be empty but never null!
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>fid</CODE> - number of field
<DT><B>Returns:</B><DD>map</DL>
</DD>
</DL>
<HR>

<A NAME="getRefSet(int)"><!-- --></A><H3>
getRefSet</H3>
<PRE>
public final <A HREF="../../../../net/sourceforge/pain/db/DbReferenceSet.html" title="class in net.sourceforge.pain.db">DbReferenceSet</A> <B>getRefSet</B>(int&nbsp;fid)</PRE>
<DL>
<DD>Note: there is only getter method for Sets. Set could be empty but never null!
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>fid</CODE> - 
<DT><B>Returns:</B><DD>set</DL>
</DD>
</DL>
<HR>

<A NAME="getStringSet(int)"><!-- --></A><H3>
getStringSet</H3>
<PRE>
public final <A HREF="../../../../net/sourceforge/pain/db/DbStringSet.html" title="class in net.sourceforge.pain.db">DbStringSet</A> <B>getStringSet</B>(int&nbsp;fid)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="getStringMap(int)"><!-- --></A><H3>
getStringMap</H3>
<PRE>
public final <A HREF="../../../../net/sourceforge/pain/db/DbStringMap.html" title="class in net.sourceforge.pain.db">DbStringMap</A> <B>getStringMap</B>(int&nbsp;fid)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="setBoolean(int, boolean)"><!-- --></A><H3>
setBoolean</H3>
<PRE>
public final void <B>setBoolean</B>(int&nbsp;fid,
                             boolean&nbsp;value)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="setByte(int, byte)"><!-- --></A><H3>
setByte</H3>
<PRE>
public final void <B>setByte</B>(int&nbsp;fid,
                          byte&nbsp;value)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="setChar(int, char)"><!-- --></A><H3>
setChar</H3>
<PRE>
public final void <B>setChar</B>(int&nbsp;fid,
                          char&nbsp;value)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="setDouble(int, double)"><!-- --></A><H3>
setDouble</H3>
<PRE>
public final void <B>setDouble</B>(int&nbsp;fid,
                            double&nbsp;value)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="setFloat(int, float)"><!-- --></A><H3>
setFloat</H3>
<PRE>
public final void <B>setFloat</B>(int&nbsp;fid,
                           float&nbsp;value)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="setInt(int, int)"><!-- --></A><H3>
setInt</H3>
<PRE>
public final void <B>setInt</B>(int&nbsp;fid,
                         int&nbsp;value)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="setLong(int, long)"><!-- --></A><H3>
setLong</H3>
<PRE>
public final void <B>setLong</B>(int&nbsp;fid,
                          long&nbsp;value)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="setShort(int, short)"><!-- --></A><H3>
setShort</H3>
<PRE>
public final void <B>setShort</B>(int&nbsp;fid,
                           short&nbsp;value)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="setString(int, java.lang.String)"><!-- --></A><H3>
setString</H3>
<PRE>
public final void <B>setString</B>(int&nbsp;fid,
                            java.lang.String&nbsp;value)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="setReference(int, net.sourceforge.pain.db.DbObject)"><!-- --></A><H3>
setReference</H3>
<PRE>
public final void <B>setReference</B>(int&nbsp;fid,
                               <A HREF="../../../../net/sourceforge/pain/db/DbObject.html" title="class in net.sourceforge.pain.db">DbObject</A>&nbsp;value)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="setByteArray(int, byte[])"><!-- --></A><H3>
setByteArray</H3>
<PRE>
public final void <B>setByteArray</B>(int&nbsp;fid,
                               byte[]&nbsp;value)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="setCharArray(int, char[])"><!-- --></A><H3>
setCharArray</H3>
<PRE>
public final void <B>setCharArray</B>(int&nbsp;fid,
                               char[]&nbsp;value)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="setStringArray(int, java.lang.String[])"><!-- --></A><H3>
setStringArray</H3>
<PRE>
public final void <B>setStringArray</B>(int&nbsp;fid,
                                 java.lang.String[]&nbsp;value)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="setIntArray(int, int[])"><!-- --></A><H3>
setIntArray</H3>
<PRE>
public final void <B>setIntArray</B>(int&nbsp;fid,
                              int[]&nbsp;value)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="delete()"><!-- --></A><H3>
delete</H3>
<PRE>
public void <B>delete</B>()</PRE>
<DL>
<DD>removes object from database.
 Object could be restored during rollback call.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="getDB()"><!-- --></A><H3>
getDB</H3>
<PRE>
public final <A HREF="../../../../net/sourceforge/pain/db/PainDB.html" title="class in net.sourceforge.pain.db">PainDB</A> <B>getDB</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="getDbClass()"><!-- --></A><H3>
getDbClass</H3>
<PRE>
public final <A HREF="../../../../net/sourceforge/pain/db/DbClass.html" title="interface in net.sourceforge.pain.db">DbClass</A> <B>getDbClass</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="getOid()"><!-- --></A><H3>
getOid</H3>
<PRE>
public final java.io.Serializable <B>getOid</B>()</PRE>
<DL>
<DD><DL>

<DT><B>Returns:</B><DD>serializable object id. This id is unique for object and will never be reused</DL>
</DD>
</DL>
<HR>

<A NAME="isDeleted()"><!-- --></A><H3>
isDeleted</H3>
<PRE>
public final boolean <B>isDeleted</B>()</PRE>
<DL>
<DD><DL>

<DT><B>Returns:</B><DD>true if obj was deleted in current transaction, commit still is not called</DL>
</DD>
</DL>
<HR>

<A NAME="isDirty()"><!-- --></A><H3>
isDirty</H3>
<PRE>
public final boolean <B>isDirty</B>()</PRE>
<DL>
<DD><DL>

<DT><B>Returns:</B><DD>true if  obj was modified (or created in plainwrite mode) and still not flushed</DL>
</DD>
</DL>
<HR>

<A NAME="isNew()"><!-- --></A><H3>
isNew</H3>
<PRE>
public final boolean <B>isNew</B>()</PRE>
<DL>
<DD><DL>

<DT><B>Returns:</B><DD>true if obj was created in current transaction</DL>
</DD>
</DL>
<HR>

<A NAME="isClean()"><!-- --></A><H3>
isClean</H3>
<PRE>
public final boolean <B>isClean</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="isDetached()"><!-- --></A><H3>
isDetached</H3>
<PRE>
public final boolean <B>isDetached</B>()</PRE>
<DL>
<DD><DL>

<DT><B>Returns:</B><DD>true if object is not registered in db, was deleted and commited or deleted in plainwrite mode
 or database was closed</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>


<!-- ======= START OF BOTTOM NAVBAR ====== -->
<A NAME="navbar_bottom"><!-- --></A>
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  <TR ALIGN="center" VALIGN="top">
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../net/sourceforge/pain/db/DbLinkedList.html" title="class in net.sourceforge.pain.db"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../net/sourceforge/pain/db/DbOid.html" title="class in net.sourceforge.pain.db"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../../../index.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="DbObject.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
&nbsp;<SCRIPT type="text/javascript">
  <!--
  if(window==top) {
    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  }
  //-->
</SCRIPT>
<NOSCRIPT>
  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>

</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->

<HR>

</BODY>
</HTML>