Mendix Runtime
Documentation for the Mendix Runtime Environment API
|
Public Member Functions | |
abstract< T > T | getValue (IContext context, String columnName) |
abstract< T > T | getValue (IContext context, int columnIndex) |
abstract< T > T | getValue (IContext context, IDataColumnSchema dataColumnSchema) |
abstract boolean | hasColumn (String columnName) |
abstract< T > T | getPrimaryKeyValue () |
int | getColumnIndex (String columnName) |
abstract IDataTableSchema | getSchema () |
abstract String | getSpecificTableName () |
abstract void | setSpecificTableName (String subjectName) |
abstract boolean | hasReadAccess (int columnIndex) |
abstract boolean | hasWriteAccess (int columnIndex) |
Collection< MetaObjectAccess > | getMetaObjectAccessList () |
IDataTable | getDataTable () |
A DataRow
represents a row in a DataTable
int com.mendix.systemwideinterfaces.connectionbus.data.IDataRow.getColumnIndex | ( | String | columnName | ) |
Returns the internal index for a column This method is only provided for performance reasons. When looking up the value, as well as read and write permissions on a column, first use this function to determine the index value. After that, use calls which ask for the index instead of the column name.
columnName |
IDataTable com.mendix.systemwideinterfaces.connectionbus.data.IDataRow.getDataTable | ( | ) |
Collection<MetaObjectAccess> com.mendix.systemwideinterfaces.connectionbus.data.IDataRow.getMetaObjectAccessList | ( | ) |
Returns the total collection of MetaObjectAccess objects for this row.
abstract <T> T com.mendix.systemwideinterfaces.connectionbus.data.IDataRow.getPrimaryKeyValue | ( | ) | [pure virtual] |
abstract IDataTableSchema com.mendix.systemwideinterfaces.connectionbus.data.IDataRow.getSchema | ( | ) | [pure virtual] |
Returns the schema of the table of this row.
abstract String com.mendix.systemwideinterfaces.connectionbus.data.IDataRow.getSpecificTableName | ( | ) | [pure virtual] |
Only for internal use.
abstract <T> T com.mendix.systemwideinterfaces.connectionbus.data.IDataRow.getValue | ( | IContext | context, |
String | columnName | ||
) | [pure virtual] |
Returns the value of the column with the specified name in this row.
context | the context. |
columnName | name of the column from which the value must be returned. |
IllegalArgumentException | when the columnName does not exist in this Row. |
abstract <T> T com.mendix.systemwideinterfaces.connectionbus.data.IDataRow.getValue | ( | IContext | context, |
int | columnIndex | ||
) | [pure virtual] |
Returns the value of the column with the specified index in this row.
context | the context. |
columnIndex | index of the column from which the value must be returned. |
IndexOutOfBoundsException | when the index exceeds the count of columns of this row. |
abstract <T> T com.mendix.systemwideinterfaces.connectionbus.data.IDataRow.getValue | ( | IContext | context, |
IDataColumnSchema | dataColumnSchema | ||
) | [pure virtual] |
Returns the value of the column with the index of the specified schema in this row. This method is identical in function to getValue(dataColumnSchema.getIndex())
.
The returned value can be a primitive object or another DataTable
object. When in the original request simply attributes of metaobjects were requested, the returned values will be of the primitive Java type corresponding to the type of the attribute. When aggregate functions are combined with simple attributes, this will also be the case. However, when more complex OQL expressions are used, it isn't always predictable which type the returned values will have. It depends on the expression type and the database type.
context | the context |
dataColumnSchema | schema of the column from which the value must be returned |
abstract boolean com.mendix.systemwideinterfaces.connectionbus.data.IDataRow.hasColumn | ( | String | columnName | ) | [pure virtual] |
Returns whether the column name is defined in the schema or not.
columnName |
abstract boolean com.mendix.systemwideinterfaces.connectionbus.data.IDataRow.hasReadAccess | ( | int | columnIndex | ) | [pure virtual] |
Returns whether the user which has retrieved the data, has read access to the given column.
columnIndex | the column to retrieve the access information. |
abstract boolean com.mendix.systemwideinterfaces.connectionbus.data.IDataRow.hasWriteAccess | ( | int | columnIndex | ) | [pure virtual] |
Returns whether the user which has retrieved the data, has write access to the given column.
columnIndex | the column to retrieve the access information. |
abstract void com.mendix.systemwideinterfaces.connectionbus.data.IDataRow.setSpecificTableName | ( | String | subjectName | ) | [pure virtual] |
Only for internal use.
subjectName |