Return-Path: X-Original-To: apmail-empire-db-commits-archive@www.apache.org Delivered-To: apmail-empire-db-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 226D5DAE1 for ; Thu, 1 Nov 2012 11:19:48 +0000 (UTC) Received: (qmail 86961 invoked by uid 500); 1 Nov 2012 11:19:48 -0000 Delivered-To: apmail-empire-db-commits-archive@empire-db.apache.org Received: (qmail 86939 invoked by uid 500); 1 Nov 2012 11:19:47 -0000 Mailing-List: contact commits-help@empire-db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: empire-db-dev@empire-db.apache.org Delivered-To: mailing list commits@empire-db.apache.org Received: (qmail 86848 invoked by uid 99); 1 Nov 2012 11:19:45 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Nov 2012 11:19:45 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Nov 2012 11:19:40 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 2BA4E2388AAA for ; Thu, 1 Nov 2012 11:18:57 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1404542 [5/17] - in /empire-db/site/javadocs/empire-db/org/apache/empire: commons/ commons/class-use/ data/ data/bean/ data/bean/class-use/ data/class-use/ db/ db/class-use/ db/derby/ db/derby/class-use/ db/exceptions/ db/exceptions/class-... Date: Thu, 01 Nov 2012 11:18:34 -0000 To: commits@empire-db.apache.org From: doebele@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20121101111857.2BA4E2388AAA@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Modified: empire-db/site/javadocs/empire-db/org/apache/empire/db/DBQuery.DBQueryColumn.html URL: http://svn.apache.org/viewvc/empire-db/site/javadocs/empire-db/org/apache/empire/db/DBQuery.DBQueryColumn.html?rev=1404542&r1=1404541&r2=1404542&view=diff ============================================================================== --- empire-db/site/javadocs/empire-db/org/apache/empire/db/DBQuery.DBQueryColumn.html (original) +++ empire-db/site/javadocs/empire-db/org/apache/empire/db/DBQuery.DBQueryColumn.html Thu Nov 1 11:18:21 2012 @@ -2,13 +2,13 @@ - + -DBQuery.DBQueryColumn (Apache Empire-db Core 2.4.0 API) +DBQuery.DBQueryColumn (Apache Empire-db Core 2.4.1 API) - + @@ -16,7 +16,7 @@ DBQuery.DBQueryColumn (Apache Empire-db function windowTitle() { if (location.href.indexOf('is-external=true') == -1) { - parent.document.title="DBQuery.DBQueryColumn (Apache Empire-db Core 2.4.0 API)"; + parent.document.title="DBQuery.DBQueryColumn (Apache Empire-db Core 2.4.1 API)"; } } @@ -140,7 +140,7 @@ Class DBQuery.DBQueryColumn Fields inherited from class org.apache.empire.db.DBColumn -comment, DBCOLATTR_MANDATORY, DBCOLATTR_MAXVALUE, DBCOLATTR_MINVALUE, DBCOLATTR_READONLY, DBCOLATTR_SINGLEBYTECHARS, name, rowset +comment, DBCOLATTR_DATETIMEPATTERN, DBCOLATTR_MANDATORY, DBCOLATTR_MAXVALUE, DBCOLATTR_MINVALUE, DBCOLATTR_READONLY, DBCOLATTR_SINGLEBYTECHARS, name, rowset   @@ -256,7 +256,7 @@ Class DBQuery.DBQueryColumn - void + Object validate(Object value)
@@ -270,7 +270,7 @@ Class DBQuery.DBQueryColumn Methods inherited from class org.apache.empire.db.DBColumn -addReferencedColumns, addSQL, checkValue, equals, findById, getComment, getDatabase, getFullName, getId, getName, getRowSet, getUpdateColumn, isAggregate, isDateColumn, isLOBColumn, isNumericColumn, isTextColumn, setComment, to, toString +addReferencedColumns, addSQL, checkValue, equals, findById, getComment, getDatabase, getFullName, getId, getName, getRowSet, getUpdateColumn, isAggregate, setComment, to, toString   @@ -457,7 +457,7 @@ public boolean isRequired()

validate

-public void validate(Object value)
+public Object validate(Object value)
Description copied from class: DBColumn
Checks if the given value is a valid value for this column @@ -467,7 +467,8 @@ public void validate(validate in interface Column
Specified by:
validate in class DBColumn
-
+ +
Returns:
the value the validated and possibly converted value

Modified: empire-db/site/javadocs/empire-db/org/apache/empire/db/DBQuery.html URL: http://svn.apache.org/viewvc/empire-db/site/javadocs/empire-db/org/apache/empire/db/DBQuery.html?rev=1404542&r1=1404541&r2=1404542&view=diff ============================================================================== --- empire-db/site/javadocs/empire-db/org/apache/empire/db/DBQuery.html (original) +++ empire-db/site/javadocs/empire-db/org/apache/empire/db/DBQuery.html Thu Nov 1 11:18:21 2012 @@ -2,13 +2,13 @@ - + -DBQuery (Apache Empire-db Core 2.4.0 API) +DBQuery (Apache Empire-db Core 2.4.1 API) - + @@ -16,7 +16,7 @@ DBQuery (Apache Empire-db Core 2.4.0 API function windowTitle() { if (location.href.indexOf('is-external=true') == -1) { - parent.document.title="DBQuery (Apache Empire-db Core 2.4.0 API)"; + parent.document.title="DBQuery (Apache Empire-db Core 2.4.1 API)"; } } @@ -339,8 +339,9 @@ This class can be used to wrap a query f  void -initRecord(DBRecord rec, - Object[] keyValues) +initRecord(DBRecord rec, + Object[] keyValues, + boolean insert)
          Initialize specified DBRecord object with primary key @@ -380,7 +381,7 @@ This class can be used to wrap a query f Methods inherited from class org.apache.empire.db.DBRowSet -addColumnReference, addReferencedColumns, completeInitRecord, count, deleteAllReferences, deleteRecord, deleteReferenceRecords, equals, findById, getColumn, getColumn, getColumnIndex, getColumnIndex, getColumnReferences, getColumns, getComment, getDatabase, getFullName, getId, getRenameTablePhrase, getTimestampColumn, initRecord, isColumnReadOnly, isKeyColumn, prepareInitRecord, readRecord, recordExists, recordExists, setComment, setKeyConstraints, setTimestampColumn +addColumnReference, addReferencedColumns, completeInitRecord, count, deleteAllReferences, deleteRecord, deleteReferenceRecords, equals, findById, getColumn, getColumn, getColumnIndex, getColumnIndex, getColumnReferences, getColumns, getComment, getDatabase, getFullName, getId, getRenameTablePhrase, getTimestampColumn, initRecord, isColumnReadOnly, isKeyColumn, prepareInitRecord, readRecord, recordExists, recordExists, setComment, setKeyConstraints, setTimestampColumn   @@ -655,17 +656,18 @@ public void addSQL(

+

initRecord

 public void initRecord(DBRecord rec,
-                       Object[] keyValues)
+ Object[] keyValues, + boolean insert)
Initialize specified DBRecord object with primary key columns (the Object[] keyValues).

-
Overrides:
initRecord in class DBRowSet
+
Overrides:
initRecord in class DBRowSet
Parameters:
rec - the Record object
keyValues - an array of the primary key columns
Modified: empire-db/site/javadocs/empire-db/org/apache/empire/db/DBReader.DBReaderForwardIterator.html URL: http://svn.apache.org/viewvc/empire-db/site/javadocs/empire-db/org/apache/empire/db/DBReader.DBReaderForwardIterator.html?rev=1404542&r1=1404541&r2=1404542&view=diff ============================================================================== --- empire-db/site/javadocs/empire-db/org/apache/empire/db/DBReader.DBReaderForwardIterator.html (original) +++ empire-db/site/javadocs/empire-db/org/apache/empire/db/DBReader.DBReaderForwardIterator.html Thu Nov 1 11:18:21 2012 @@ -2,13 +2,13 @@ - + -DBReader.DBReaderForwardIterator (Apache Empire-db Core 2.4.0 API) +DBReader.DBReaderForwardIterator (Apache Empire-db Core 2.4.1 API) - + @@ -16,7 +16,7 @@ DBReader.DBReaderForwardIterator (Apache function windowTitle() { if (location.href.indexOf('is-external=true') == -1) { - parent.document.title="DBReader.DBReaderForwardIterator (Apache Empire-db Core 2.4.0 API)"; + parent.document.title="DBReader.DBReaderForwardIterator (Apache Empire-db Core 2.4.1 API)"; } } Modified: empire-db/site/javadocs/empire-db/org/apache/empire/db/DBReader.DBReaderIterator.html URL: http://svn.apache.org/viewvc/empire-db/site/javadocs/empire-db/org/apache/empire/db/DBReader.DBReaderIterator.html?rev=1404542&r1=1404541&r2=1404542&view=diff ============================================================================== --- empire-db/site/javadocs/empire-db/org/apache/empire/db/DBReader.DBReaderIterator.html (original) +++ empire-db/site/javadocs/empire-db/org/apache/empire/db/DBReader.DBReaderIterator.html Thu Nov 1 11:18:21 2012 @@ -2,13 +2,13 @@ - + -DBReader.DBReaderIterator (Apache Empire-db Core 2.4.0 API) +DBReader.DBReaderIterator (Apache Empire-db Core 2.4.1 API) - + @@ -16,7 +16,7 @@ DBReader.DBReaderIterator (Apache Empire function windowTitle() { if (location.href.indexOf('is-external=true') == -1) { - parent.document.title="DBReader.DBReaderIterator (Apache Empire-db Core 2.4.0 API)"; + parent.document.title="DBReader.DBReaderIterator (Apache Empire-db Core 2.4.1 API)"; } } Modified: empire-db/site/javadocs/empire-db/org/apache/empire/db/DBReader.DBReaderScrollableIterator.html URL: http://svn.apache.org/viewvc/empire-db/site/javadocs/empire-db/org/apache/empire/db/DBReader.DBReaderScrollableIterator.html?rev=1404542&r1=1404541&r2=1404542&view=diff ============================================================================== --- empire-db/site/javadocs/empire-db/org/apache/empire/db/DBReader.DBReaderScrollableIterator.html (original) +++ empire-db/site/javadocs/empire-db/org/apache/empire/db/DBReader.DBReaderScrollableIterator.html Thu Nov 1 11:18:21 2012 @@ -2,13 +2,13 @@ - + -DBReader.DBReaderScrollableIterator (Apache Empire-db Core 2.4.0 API) +DBReader.DBReaderScrollableIterator (Apache Empire-db Core 2.4.1 API) - + @@ -16,7 +16,7 @@ DBReader.DBReaderScrollableIterator (Apa function windowTitle() { if (location.href.indexOf('is-external=true') == -1) { - parent.document.title="DBReader.DBReaderScrollableIterator (Apache Empire-db Core 2.4.0 API)"; + parent.document.title="DBReader.DBReaderScrollableIterator (Apache Empire-db Core 2.4.1 API)"; } } Modified: empire-db/site/javadocs/empire-db/org/apache/empire/db/DBReader.html URL: http://svn.apache.org/viewvc/empire-db/site/javadocs/empire-db/org/apache/empire/db/DBReader.html?rev=1404542&r1=1404541&r2=1404542&view=diff ============================================================================== --- empire-db/site/javadocs/empire-db/org/apache/empire/db/DBReader.html (original) +++ empire-db/site/javadocs/empire-db/org/apache/empire/db/DBReader.html Thu Nov 1 11:18:21 2012 @@ -2,13 +2,13 @@ - + -DBReader (Apache Empire-db Core 2.4.0 API) +DBReader (Apache Empire-db Core 2.4.1 API) - + @@ -16,7 +16,7 @@ DBReader (Apache Empire-db Core 2.4.0 AP function windowTitle() { if (location.href.indexOf('is-external=true') == -1) { - parent.document.title="DBReader (Apache Empire-db Core 2.4.0 API)"; + parent.document.title="DBReader (Apache Empire-db Core 2.4.1 API)"; } } Added: empire-db/site/javadocs/empire-db/org/apache/empire/db/DBRecord.State.html URL: http://svn.apache.org/viewvc/empire-db/site/javadocs/empire-db/org/apache/empire/db/DBRecord.State.html?rev=1404542&view=auto ============================================================================== --- empire-db/site/javadocs/empire-db/org/apache/empire/db/DBRecord.State.html (added) +++ empire-db/site/javadocs/empire-db/org/apache/empire/db/DBRecord.State.html Thu Nov 1 11:18:21 2012 @@ -0,0 +1,358 @@ + + + + + + + +DBRecord.State (Apache Empire-db Core 2.4.1 API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.apache.empire.db +
+Enum DBRecord.State

+
+java.lang.Object
+  extended by java.lang.Enum<DBRecord.State>
+      extended by org.apache.empire.db.DBRecord.State
+
+
+
All Implemented Interfaces:
Serializable, Comparable<DBRecord.State>
+
+
+
Enclosing class:
DBRecord
+
+
+
+
public static enum DBRecord.State
extends Enum<DBRecord.State>
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + +
+Enum Constant Summary
Invalid + +
+           
Modified + +
+           
New + +
+           
Valid + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+static DBRecord.StatevalueOf(String name) + +
+          Returns the enum constant of this type with the specified name.
+static DBRecord.State[]values() + +
+          Returns an array containing the constants of this enum type, in +the order they are declared.
+ + + + + + + +
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
+ + + + + + + +
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Enum Constant Detail
+ +

+Invalid

+
+public static final DBRecord.State Invalid
+
+
+
+
+
+ +

+Valid

+
+public static final DBRecord.State Valid
+
+
+
+
+
+ +

+Modified

+
+public static final DBRecord.State Modified
+
+
+
+
+
+ +

+New

+
+public static final DBRecord.State New
+
+
+
+
+ + + + + + + + +
+Method Detail
+ +

+values

+
+public static DBRecord.State[] values()
+
+
Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
+for (DBRecord.State c : DBRecord.State.values())
+    System.out.println(c);
+
+

+

+ +
Returns:
an array containing the constants of this enum type, in +the order they are declared
+
+
+
+ +

+valueOf

+
+public static DBRecord.State valueOf(String name)
+
+
Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.) +

+

+
Parameters:
name - the name of the enum constant to be returned. +
Returns:
the enum constant with the specified name +
Throws: +
IllegalArgumentException - if this enum type has no constant +with the specified name +
NullPointerException - if the argument is null
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2008-2012 Apache Software Foundation. All Rights Reserved. + + Propchange: empire-db/site/javadocs/empire-db/org/apache/empire/db/DBRecord.State.html ------------------------------------------------------------------------------ eol-style = native Propchange: empire-db/site/javadocs/empire-db/org/apache/empire/db/DBRecord.State.html ------------------------------------------------------------------------------ svn:mime-type = text/plain Modified: empire-db/site/javadocs/empire-db/org/apache/empire/db/DBRecord.html URL: http://svn.apache.org/viewvc/empire-db/site/javadocs/empire-db/org/apache/empire/db/DBRecord.html?rev=1404542&r1=1404541&r2=1404542&view=diff ============================================================================== --- empire-db/site/javadocs/empire-db/org/apache/empire/db/DBRecord.html (original) +++ empire-db/site/javadocs/empire-db/org/apache/empire/db/DBRecord.html Thu Nov 1 11:18:21 2012 @@ -2,13 +2,13 @@ - + -DBRecord (Apache Empire-db Core 2.4.0 API) +DBRecord (Apache Empire-db Core 2.4.1 API) - + @@ -16,7 +16,7 @@ DBRecord (Apache Empire-db Core 2.4.0 AP function windowTitle() { if (location.href.indexOf('is-external=true') == -1) { - parent.document.title="DBRecord (Apache Empire-db Core 2.4.0 API)"; + parent.document.title="DBRecord (Apache Empire-db Core 2.4.1 API)"; } } @@ -57,7 +57,7 @@ function windowTitle()  PREV CLASS  - NEXT CLASSNEXT CLASS FRAMES    NO FRAMES   @@ -77,7 +77,7 @@ function windowTitle() - SUMMARY: NESTED | FIELD | CONSTR | METHOD + SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD @@ -116,58 +116,35 @@ This class handles one record from a dat

- + - + - - - - - - - - +Nested Class Summary - + - - - - - - -
-Field Summary
-protected static org.slf4j.Loggerlog - -
-           
-static intREC_EMTPY - -
-           
-static intREC_INVALID +static classDBRecord.State
           
-static intREC_MODIFIED - -
-           
-static intREC_NEW +
-
-            + + + + - + @@ -189,6 +166,12 @@ This class handles one record from a dat           Create a new DBRecord object.
The record is not attached to a RowSet and the record's state is initially set to REC_INVALID. + + +
+Field Summary
-static intREC_VALID +protected static org.slf4j.Loggerlog
           
DBRecord(DBRowSet initialRowset) + +
+           
  @@ -217,12 +200,19 @@ This class handles one record from a dat +protected  boolean +allowFieldChange(DBColumn column) + +
+          Checks whether or not this field can be changed at all. + + + protected  void -changeState(int state, - Object rowSetData) +changeState(DBRecord.State newState)
-          This method is used internally be the RowSet to change the record's state
+          changes the state of the record @@ -395,7 +385,7 @@ This class handles one record from a dat - int + DBRecord.State getState()
@@ -427,16 +417,6 @@ This class handles one record from a dat -protected  void -init(DBRowSet rowset, - int state, - Object rowSetData) - -
-          This method is used internally by the RowSet to initialize the record's properties - - -  void init(DBRowSet table, Object[] keyValues, @@ -449,16 +429,18 @@ This class handles one record from a dat - boolean -isFieldReadOnly(Column column) +protected  void +initData(DBRowSet rowset, + Object rowSetData, + boolean newRecord)
-          returns whether a field is read only or not +          This method is used internally by the RowSet to initialize the record's properties  boolean -isFieldReadOnly(DBColumn column) +isFieldReadOnly(Column column)
          returns whether a field is read only or not @@ -466,15 +448,15 @@ This class handles one record from a dat  boolean -isFieldVisible(Column column) +isFieldRequired(Column column)
-          returns whether a field is read only or not +          returns whether a field is required or not  boolean -isFieldVisible(DBColumn column) +isFieldVisible(Column column)
          returns whether a field is visible to the client or not @@ -514,6 +496,14 @@ This class handles one record from a dat  boolean +isValidateFieldValues() + +
+          Returns whether or not values are checked for validity when calling setValue(). + + + + boolean isValueValid(int index)
@@ -521,9 +511,10 @@ This class handles one record from a dat - void -modifyValue(int i, - Object value) +protected  void +modifyValue(int i, + Object value, + boolean fireChangeEvent)
          Modifies a column value bypassing all checks made by setValue. @@ -612,6 +603,14 @@ This class handles one record from a dat  void +setValidateFieldValues(boolean validateFieldValues) + +
+          Set whether or not values are checked for validity when calling setValue(). + + + + void setValue(Column column, Object value) @@ -637,6 +636,24 @@ This class handles one record from a dat +protected  void +updateComplete(Object rowSetData) + +
+          This method is used internally to indicate that the record update has completed
+ This will set change the record's state to Valid + + + + Object +validateValue(Column column, + Object value) + +
+          Validates a value before it is set in the record. + + +  boolean wasModified(Column column) @@ -692,56 +709,6 @@ This class handles one record from a dat -

-REC_INVALID

-
-public static final int REC_INVALID
-
-
-
See Also:
Constant Field Values
-
-
- -

-REC_EMTPY

-
-public static final int REC_EMTPY
-
-
-
See Also:
Constant Field Values
-
-
- -

-REC_VALID

-
-public static final int REC_VALID
-
-
-
See Also:
Constant Field Values
-
-
- -

-REC_MODIFIED

-
-public static final int REC_MODIFIED
-
-
-
See Also:
Constant Field Values
-
-
- -

-REC_NEW

-
-public static final int REC_NEW
-
-
-
See Also:
Constant Field Values
-
-
-

log

@@ -772,6 +739,14 @@ public DBRecord()
Please derive your own Objects from this class.

+


+ +

+DBRecord

+
+public DBRecord(DBRowSet initialRowset)
+
+
@@ -783,12 +758,12 @@ public DBRecord() -

-init

+

+initData

-protected void init(DBRowSet rowset,
-                    int state,
-                    Object rowSetData)
+protected void initData(DBRowSet rowset, + Object rowSetData, + boolean newRecord)
This method is used internally by the RowSet to initialize the record's properties

@@ -801,37 +776,36 @@ protected void init(

-getFields

+

+changeState

-protected Object[] getFields()
+protected void changeState(DBRecord.State newState)
-
This function provides direct access to the record fields.
- This method is used internally be the RowSet to fill the data.
+
changes the state of the record

- -
Returns:
an array of field values
+
Parameters:
newState -

-

-changeState

+

+getFields

-protected void changeState(int state,
-                           Object rowSetData)
+protected Object[] getFields()
-
This method is used internally be the RowSet to change the record's state
+
This function provides direct access to the record fields.
+ This method is used internally be the RowSet to fill the data.

-
Parameters:
state -
rowSetData -
+ +
Returns:
an array of field values

@@ -922,7 +896,7 @@ public

getState

-public int getState()
+public DBRecord.State getState()
Returns the record state.

@@ -1263,11 +1237,12 @@ public final

+

modifyValue

-public void modifyValue(int i,
-                        Object value)
+protected void modifyValue(int i, + Object value, + boolean fireChangeEvent)
Modifies a column value bypassing all checks made by setValue. Use this to explicitly set invalid values i.e. for temporary storage. @@ -1319,51 +1294,89 @@ public final void setValue(
-

-isFieldReadOnly

+

+allowFieldChange

-public boolean isFieldReadOnly(DBColumn column)
+protected boolean allowFieldChange(DBColumn column)
-
returns whether a field is read only or not +
Checks whether or not this field can be changed at all. + Note: This is not equivalent to isFieldReadOnly()

-
Parameters:
column - the database column -
Returns:
true if the field is read only
+
Parameters:
column - the column that needs to be changed +
Returns:
true if it is possible to change this field for this record context

-

-isFieldReadOnly

+

+validateValue

-public final boolean isFieldReadOnly(Column column)
+public Object validateValue(Column column, + Object value)
-
returns whether a field is read only or not +
Validates a value before it is set in the record. + By default, this method simply calls column.validate()

-
Specified by:
isFieldReadOnly in interface Record
+
Specified by:
validateValue in interface Record
-
Parameters:
column - the requested column -
Returns:
true if the field is read-only
+
Parameters:
column - the column that needs to be changed
value - the new value +
Returns:
the value

-

+

+isValidateFieldValues

+
+public boolean isValidateFieldValues()
+
+
Returns whether or not values are checked for validity when calling setValue(). + If set to true validateValue() is called to check validity +

+

+
+
+
+ +
Returns:
true if the validity of values is checked or false otherwise
+
+
+
+ +

+setValidateFieldValues

+
+public void setValidateFieldValues(boolean validateFieldValues)
+
+
Set whether or not values are checked for validity when calling setValue(). + If set to true validateValue() is called to check validity, otherwise not. +

+

+
+
+
+
Parameters:
validateFieldValues - flag whether to check validity
+
+
+
+ +

isFieldVisible

-public boolean isFieldVisible(DBColumn column)
+public boolean isFieldVisible(Column column)
returns whether a field is visible to the client or not

May be overridden to implement context specific logic.

-
+
Specified by:
isFieldVisible in interface Record
Parameters:
column - the column which to check for visibility @@ -1372,19 +1385,36 @@ public boolean isFieldVisible(
-

-isFieldVisible

+

+isFieldReadOnly

-public final boolean isFieldVisible(Column column)
+public boolean isFieldReadOnly(Column column)
returns whether a field is read only or not

-
Specified by:
isFieldVisible in interface Record
+
Specified by:
isFieldReadOnly in interface Record
-
Parameters:
column - the column to check for visibility -
Returns:
true if the field is visible to the client
+
Parameters:
column - the database column +
Returns:
true if the field is read only
+
+ +
+ +

+isFieldRequired

+
+public boolean isFieldRequired(Column column)
+
+
returns whether a field is required or not +

+

+
Specified by:
isFieldRequired in interface Record
+
+
+
Parameters:
column - the database column +
Returns:
true if the field is required

@@ -1436,7 +1466,7 @@ public void create(

create

-public void create(DBRowSet table)
+public final void create(DBRowSet table)
Creates a new record for the given table.
All record fields will be filled with their default values.
@@ -1506,6 +1536,23 @@ public void update(

+updateComplete

+
+protected void updateComplete(Object rowSetData)
+
+
This method is used internally to indicate that the record update has completed
+ This will set change the record's state to Valid +

+

+
+
+
+
Parameters:
rowSetData - additional data held by the rowset for this record (optional)
+
+
+
+

delete

@@ -1747,7 +1794,7 @@ protected void onFieldChanged(int
 
 
  PREV CLASS 
- NEXT CLASSNEXT CLASS
 
   FRAMES   
  NO FRAMES   
@@ -1767,7 +1814,7 @@ protected void onFieldChanged(int
 
 
 
-  SUMMARY: NESTED | FIELD | CONSTR | METHOD
+  SUMMARY: NESTED | FIELD | CONSTR | METHOD
 
 DETAIL: FIELD | CONSTR | METHOD
 

Modified: empire-db/site/javadocs/empire-db/org/apache/empire/db/DBRecordData.html
URL: http://svn.apache.org/viewvc/empire-db/site/javadocs/empire-db/org/apache/empire/db/DBRecordData.html?rev=1404542&r1=1404541&r2=1404542&view=diff
==============================================================================
--- empire-db/site/javadocs/empire-db/org/apache/empire/db/DBRecordData.html (original)
+++ empire-db/site/javadocs/empire-db/org/apache/empire/db/DBRecordData.html Thu Nov  1 11:18:21 2012
@@ -2,13 +2,13 @@
 
 
 
-
+
 
 
-DBRecordData (Apache Empire-db Core 2.4.0 API)
+DBRecordData (Apache Empire-db Core 2.4.1 API)
 
 
-
+
 
 
 
@@ -16,7 +16,7 @@ DBRecordData (Apache Empire-db Core 2.4.
 function windowTitle()
 {
     if (location.href.indexOf('is-external=true') == -1) {
-        parent.document.title="DBRecordData (Apache Empire-db Core 2.4.0 API)";
+        parent.document.title="DBRecordData (Apache Empire-db Core 2.4.1 API)";
     }
 }
 
@@ -56,7 +56,7 @@ function windowTitle()
 
 
 PREV CLASS 
+ PREV CLASS 
  NEXT CLASS
 
   FRAMES   
@@ -962,7 +962,7 @@ public final int getBeanProperties
 PREV CLASS 
+ PREV CLASS 
  NEXT CLASS
 
   FRAMES   

Modified: empire-db/site/javadocs/empire-db/org/apache/empire/db/DBRelation.DBCascadeAction.html
URL: http://svn.apache.org/viewvc/empire-db/site/javadocs/empire-db/org/apache/empire/db/DBRelation.DBCascadeAction.html?rev=1404542&r1=1404541&r2=1404542&view=diff
==============================================================================
--- empire-db/site/javadocs/empire-db/org/apache/empire/db/DBRelation.DBCascadeAction.html (original)
+++ empire-db/site/javadocs/empire-db/org/apache/empire/db/DBRelation.DBCascadeAction.html Thu Nov  1 11:18:21 2012
@@ -2,13 +2,13 @@
 
 
 
-
+
 
 
-DBRelation.DBCascadeAction (Apache Empire-db Core 2.4.0 API)
+DBRelation.DBCascadeAction (Apache Empire-db Core 2.4.1 API)
 
 
-
+
 
 
 
@@ -16,7 +16,7 @@ DBRelation.DBCascadeAction (Apache Empir
 function windowTitle()
 {
     if (location.href.indexOf('is-external=true') == -1) {
-        parent.document.title="DBRelation.DBCascadeAction (Apache Empire-db Core 2.4.0 API)";
+        parent.document.title="DBRelation.DBCascadeAction (Apache Empire-db Core 2.4.1 API)";
     }
 }