Class ModelFactory

java.lang.Object
org.maintenance.component.ModelFactory
All Implemented Interfaces:
IModelFactory

public class ModelFactory extends Object implements IModelFactory
  • Constructor Details

    • ModelFactory

      public ModelFactory()
  • Method Details

    • getClass

      public Class<?> getClass(String tableName)
      Description copied from interface: IModelFactory
      Get Persistence Class for Table
      Specified by:
      getClass in interface IModelFactory
      Parameters:
      tableName - table name
      Returns:
      class or null
    • getPO

      public PO getPO(String tableName, int Record_ID, String trxName)
      Description copied from interface: IModelFactory
      Get PO Class Instance
      Specified by:
      getPO in interface IModelFactory
      Record_ID - record
      Returns:
      PO for Record or null
    • getPO

      public PO getPO(String tableName, ResultSet rs, String trxName)
      Description copied from interface: IModelFactory
      Get PO Class Instance
      Specified by:
      getPO in interface IModelFactory
      rs - result set
      trxName - transaction
      Returns:
      PO for Record or null