|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DatasourceRow
Interface for a DatasourceRow contained in a
DatasourceRecordSet
. Instances obtained
from an instance of DatasrouceRecordSet can be used to fetch column data
(depending on the column type), but the preferred method is to fetch the
representing object using toObject()
. Most Implementations of
Datasource
will use
Resolvable
s as representing Objects.
Method Summary | |
---|---|
byte[] |
getBinary(java.lang.String column)
Get the content of the given column as byte array |
boolean |
getBoolean(java.lang.String column)
Get the content of the given column as boolean |
double |
getDouble(java.lang.String column)
Get the content of the given column as double |
int |
getInt(java.lang.String column)
Get the content of the given column as int |
long |
getLong(java.lang.String column)
Get the content of the given column as long |
java.lang.Object |
getObject(java.lang.String column)
Get the value of the given column as Object |
java.lang.String |
getString(java.lang.String column)
Get the content of the given column as String |
java.sql.Timestamp |
getTimestamp(java.lang.String column)
Get the value of the given column as Timestamp |
int |
getType(java.lang.String column)
Get the type of the given column |
java.lang.Object |
toObject()
Get the Object representing the data in this DatasourceRow |
Methods inherited from interface com.gentics.api.lib.resolving.Resolvable |
---|
canResolve, get, getProperty |
Method Detail |
---|
java.lang.String getString(java.lang.String column)
column
- column name
int getInt(java.lang.String column)
column
- column name
boolean getBoolean(java.lang.String column)
column
- column name
double getDouble(java.lang.String column)
column
- column name
long getLong(java.lang.String column)
column
- column name
byte[] getBinary(java.lang.String column)
column
- column name
int getType(java.lang.String column)
column
- column name
java.sql.Timestamp getTimestamp(java.lang.String column)
column
- column name
java.lang.Object getObject(java.lang.String column)
column
- column name
java.lang.Object toObject()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |