Package org.adempiere.base
Class AbstractModelFactory
- java.lang.Object
-
- org.adempiere.base.AbstractModelFactory
-
- All Implemented Interfaces:
IModelFactory
- Direct Known Subclasses:
DefaultModelFactory
public abstract class AbstractModelFactory extends Object implements IModelFactory
- Author:
- Jorg Janke, hengsin
-
-
Constructor Summary
Constructors Constructor Description AbstractModelFactory()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PO
getPO(Class<?> clazz, String tableName, int Record_ID, String trxName)
static PO
getPO(Class<?> clazz, String tableName, ResultSet rs, String trxName)
PO
getPO(String tableName, int Record_ID, String trxName)
Get PO Class InstancePO
getPO(String tableName, ResultSet rs, String trxName)
Get PO Class Instance-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.adempiere.base.IModelFactory
getClass
-
-
-
-
Method Detail
-
getPO
public PO getPO(String tableName, int Record_ID, String trxName)
Get PO Class Instance- Specified by:
getPO
in interfaceIModelFactory
Record_ID
- record- Returns:
- PO for Record or null
-
getPO
public PO getPO(String tableName, ResultSet rs, String trxName)
Get PO Class Instance- Specified by:
getPO
in interfaceIModelFactory
rs
- result settrxName
- transaction- Returns:
- PO for Record or null
-
-