|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DataBinding
The data binding represents the mapping between a native data format and a common user application visible format, and vice-versa. Represents the application view of the conversion only and requires an implementation with the adapter view to perform the actual conversion, for example the implementation class that also implements RecordHolderDataBinding interface.
If the databinding and functionSelector are the same class then the runtime should use the same instance on the inbound invocation.
RecordHolderDataBinding
Method Summary | |
---|---|
DataObject |
getDataObject()
Get the data. |
void |
setDataObject(DataObject dataObject)
Set the data. |
Method Detail |
---|
DataObject getDataObject() throws DataBindingException
Return null
only if there is no data object present. In case of error the method
must throw DataBindingException
DataBindingException
- if an error occured during execution. The cause
may contain the original exception.void setDataObject(DataObject dataObject) throws DataBindingException
The argument can be null
dataObject
- An object in the format understood by the application.
DataBindingException
- if an error occured during execution. The cause
may contain the original exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |