| java.lang.Object net.xoetrope.xui.data.XModel net.xoetrope.optional.data.sql.DatabaseFieldModel
DatabaseFieldModel | public class DatabaseFieldModel extends XModel (Code) | | A model node wrapping a database field value.
Copyright (c) Xoetrope Ltd. 2001-2003
$Revision: 1.1 $
|
fieldIdx | protected int fieldIdx(Code) | | |
rowIdx | protected int rowIdx(Code) | | |
DatabaseFieldModel | public DatabaseFieldModel()(Code) | | |
getAttribValueAsDouble | public double getAttribValueAsDouble(int i)(Code) | | Parameters: i - The index of the attributeValues array whose value we want The int value of the attributeValues array at position i |
getAttribValueAsInt | public int getAttribValueAsInt(int i)(Code) | | Parameters: i - The index of the attributeValues array whose value we want The int value of the attributeValues array at position i |
getAttribValueAsString | public String getAttribValueAsString(int i)(Code) | | |
getAttribute | public int getAttribute(String attribName)(Code) | | |
getFieldIndex | public int getFieldIndex()(Code) | | |
getTagName | public String getTagName()(Code) | | Gets the model element tag name, e.g. 'Component' from the XML fragment
|
getValueAsDouble | public double getValueAsDouble(String elementName)(Code) | | |
getValueAsInt | public int getValueAsInt(String elementName)(Code) | | |
getValueAsString | public String getValueAsString(String elementName)(Code) | | Gets the value attribute of the specified node as a string.
Parameters: elementName - the value as a string |
hashCode | public int hashCode()(Code) | | |
setAttribValue | public void setAttribValue(int i, Object value)(Code) | | |
|
|