|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This class is used in
net.mlw.vlh.adapter.jdbc.objectWrapper.DefaultWrapperAdapter
Using this wrapper you can replace record in valuelist with your record.
Normally you select only ids and valulist is populated with the wrapped
objects, that has selected id.
To pass additional parameters to the object wrapper, adapter will always set
actuall ValueListInfo before calling getWrappedRecord
method.
The ObjectToBeWrapped is determined in adapter. It this time it could be a ResultSet
or one column of the record.
DefaultWrapperAdapter.setWrapper(ObjectWrapper)
,
DefaultWrapperAdapter
,
ObjectValidator
Method Summary | |
Object |
getWrappedRecord(Object objectToBeWrapped)
This method wrap passed record,the type of this record you can specify in adpater's settings. |
void |
setValueListInfo(ValueListInfo info)
|
Method Detail |
public Object getWrappedRecord(Object objectToBeWrapped)
net.mlw.vlh.adapter.jdbc.objectWrapper.DefaultWrapperAdapter
objectToBeWrapped
- represent original object
ResultSet
DefaultWrapperAdapter.setWrapResultSet(boolean)
public void setValueListInfo(ValueListInfo info)
info
- ValueListInfo used to pass additional parameter to the
wrapper from your controler.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |