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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Class<?>
getClass(String tableName)
Get Persistence Class for TablePO
getPO(String tableName, int Record_ID, String trxName)
Get PO Class InstancePO
getPO(String tableName, ResultSet rs, String trxName)
Get PO Class Instance
-
-
-
Method Detail
-
getClass
Class<?> getClass(String tableName)
Get Persistence Class for Table- Parameters:
tableName
- table name- Returns:
- class or null
-
getPO
PO getPO(String tableName, int Record_ID, String trxName)
Get PO Class Instance- Parameters:
tableName
-Record_ID
- recordtrxName
-- Returns:
- PO for Record or null
-
-