|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectes.unex.sextante.dataObjects.AbstractTable
public abstract class AbstractTable
A convenience class which implements some of the methods of the ITable interface. Extending this class is recommended instead of implementing the interface directly
Constructor Summary | |
---|---|
AbstractTable()
|
Method Summary | |
---|---|
java.lang.Object |
getBaseDataObject()
Returns the base data object (i.e. the object that this class wraps, which contains the data itself) |
int |
getFieldIndexByName(java.lang.String sFieldName)
Returns the index of a field from its name. |
java.lang.String[] |
getFieldNames()
Returns an array with the names of all the fields in the table |
java.lang.Class[] |
getFieldTypes()
Returns an array with data types of all the fields in the table |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface es.unex.sextante.dataObjects.ITable |
---|
addRecord, getFieldCount, getFieldName, getFieldType, getRecordCount, iterator |
Methods inherited from interface es.unex.sextante.dataObjects.IDataObject |
---|
close, getFilename, getName, open, postProcess, setName |
Constructor Detail |
---|
public AbstractTable()
Method Detail |
---|
public java.lang.Object getBaseDataObject()
IDataObject
getBaseDataObject
in interface IDataObject
public java.lang.String[] getFieldNames()
ITable
getFieldNames
in interface ITable
public java.lang.Class[] getFieldTypes()
ITable
getFieldTypes
in interface ITable
public int getFieldIndexByName(java.lang.String sFieldName)
ITable
getFieldIndexByName
in interface ITable
sFieldName
- the name of the field
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |