Package org.adempiere.base
Interface IModelFactory
- All Known Implementing Classes:
AbstractModelFactory
,AnnotationBasedModelFactory
,DefaultModelFactory
,MappedModelFactory
,WS_ModelFactory
public interface IModelFactory
Model factory interface, extracted from legacy code in MTable.
- Author:
- hengsin
-
Method Details
-
getClass
Get Persistence Class for Table- Parameters:
tableName
- table name- Returns:
- class or null
-
getPO
Get PO Class Instance- Parameters:
tableName
-Record_ID
- recordtrxName
-- Returns:
- PO for Record or null
-
getPO
Get PO Class Instance- Parameters:
tableName
-Record_UU
- record UUIDtrxName
-- Returns:
- PO for Record or null
-
getPO
Get PO Class Instance- Parameters:
tableName
-rs
- result settrxName
- transaction- Returns:
- PO for Record or null
-