public interface IDatasource
IListDatasource
implementations manage the access to data models
within the application. Details of the data model itself must not be known to
the objects using it. To access the data, an expression is used to identify
the requested object. For the same expression, the same object must be
returned. An expression is any String that the IListDatasource
implementation can use to uniquely identify the requested object.
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getExpressionValue(java.lang.String expression)
This method is used to retrieve an object from the data model using an
expression.
|
java.lang.Object getExpressionValue(java.lang.String expression) throws java.lang.Exception
IDatasource
implementation uses to reference an object.expression
- String that references an object in the data modelnull
if there
was no objectjava.lang.Exception
- if an error occured evaluating the given expression