public interface DatasourceRow extends Resolvable
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.Modifier and Type | Method and Description |
---|---|
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
|
canResolve, get, getProperty
java.lang.String getString(java.lang.String column)
column
- column nameint getInt(java.lang.String column)
column
- column nameboolean getBoolean(java.lang.String column)
column
- column namedouble getDouble(java.lang.String column)
column
- column namelong getLong(java.lang.String column)
column
- column namebyte[] getBinary(java.lang.String column)
column
- column nameint getType(java.lang.String column)
column
- column namejava.sql.Timestamp getTimestamp(java.lang.String column)
column
- column namejava.lang.Object getObject(java.lang.String column)
column
- column namejava.lang.Object toObject()
Copyright © 2020 Gentics Software. All Rights Reserved.