public interface IDataProvider
A data provider grants access to data associated with one or more data holders. It constitutes a read-only view on particular data.
Modifier and Type | Method and Description |
---|---|
Object |
get(Object dataHolder)
Returns an object value associated with the given data holder.
|
boolean |
getBool(Object dataHolder)
Returns a boolean value associated with the given data holder.
|
double |
getDouble(Object dataHolder)
Returns a double value associated with the given data holder.
|
int |
getInt(Object dataHolder)
Returns an integer value associated with the given data holder.
|
Object get(Object dataHolder)
This method may throw an UnsupportedOperationException.
boolean getBool(Object dataHolder)
This method may throw an UnsupportedOperationException.
double getDouble(Object dataHolder)
This method may throw an UnsupportedOperationException.
int getInt(Object dataHolder)
This method may throw an UnsupportedOperationException.