Package org.adempiere.model
Class GridTabWrapper
java.lang.Object
org.adempiere.model.GridTabWrapper
- All Implemented Interfaces:
InvocationHandler
Wrap GridTab to iDempiere Model Interface (i.e. generated interfaces).
Usage example:
Usage example:
I_A_Asset_Disposed bean = GridTabWrapper.create(mTab, I_A_Asset_Disposed.class); Timestamp dateDoc = (Timestamp)value; bean.setDateAcct(dateDoc); bean.setA_Disposed_Date(dateDoc);
- Author:
- Teo Sarca, www.arhipac.ro
-
Method Summary
-
Method Details
-
create
Create wrapper of type cl for gridTab.- Type Parameters:
T
- iDempiere Model Interface (i.e. generated I_* interfaces) type- Parameters:
gridTab
-cl
- iDempiere Model Interface (i.e. generated I_* interfaces) class- Returns:
- wrapped instance for gridTab
-
invoke
- Specified by:
invoke
in interfaceInvocationHandler
- Throws:
Throwable
-
getGridTab
Get wrap GridTab instance- Returns:
- Wrap grid tab instance
-