org.formaria.data.sql
Class DatabaseFieldModel
java.lang.Object
org.formaria.aria.data.DataModel
org.formaria.aria.data.table.FieldModel
org.formaria.data.sql.DatabaseFieldModel
public class DatabaseFieldModel
- extends FieldModel
Provides a model for table field. The field will have no children.
As a Java object the fields and rows indices are zero based in contrast to
the JDBC indexing setup.
The class is not intended to be used directly except in rare circumstances,
instead most access will be via the model and bindings or via the
DatabaseTableModel class
Copyright (c) Formaria Ltd. 2008
$Revision: 2.2 $
License: see license.txt
| Methods inherited from class org.formaria.aria.data.table.FieldModel |
append, append, get, get, getAttribName, getAttribute, getAttribValue, getAttribValueAsDouble, getAttribValueAsDouble, getAttribValueAsInt, getAttribValueAsString, getFieldIndex, getId, getTable, getTagName, getValue, getValueAsDouble, getValueAsInt, getValueAsString, hashCode, remove, set, set, setAttribValue, setAttribValue, setCellReference, toString |
| Methods inherited from class org.formaria.aria.data.DataModel |
addModelListener, clear, fireModelUpdated, get, getNumAttributes, getNumChildren, getParent, hasAutoId, hasAutoId, prefixOutputPath, removeChildren, reset, resetAttributes, setId, setNumAttributes, setNumChildren, setParent, setTagName |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
DatabaseFieldModel
public DatabaseFieldModel()
- Create a new field model node
DatabaseFieldModel
public DatabaseFieldModel(DatabaseTableModel table,
int row,
int field)
- Create a new field model node
- Parameters:
table - the table modelrow - the row indexfield - the field index