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(String column)
Get the content of the given column as byte array
|
boolean |
getBoolean(String column)
Get the content of the given column as boolean
|
double |
getDouble(String column)
Get the content of the given column as double
|
int |
getInt(String column)
Get the content of the given column as int
|
long |
getLong(String column)
Get the content of the given column as long
|
Object |
getObject(String column)
Get the value of the given column as Object
|
String |
getString(String column)
Get the content of the given column as String
|
Timestamp |
getTimestamp(String column)
Get the value of the given column as Timestamp
|
int |
getType(String column)
Get the type of the given column
|
Object |
toObject()
Get the Object representing the data in this DatasourceRow
|
canResolve, get, getProperty
String getString(String column)
column
- column nameint getInt(String column)
column
- column nameboolean getBoolean(String column)
column
- column namedouble getDouble(String column)
column
- column namelong getLong(String column)
column
- column namebyte[] getBinary(String column)
column
- column nameint getType(String column)
column
- column nameTimestamp getTimestamp(String column)
column
- column nameObject getObject(String column)
column
- column nameObject toObject()
Copyright © 2017 Gentics Software. All Rights Reserved.