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

      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 - record
      trxName -
      Returns:
      PO for Record or null
    • getPO

      default PO getPO(String tableName, String Record_UU, String trxName)
      Get PO Class Instance
      Parameters:
      tableName -
      Record_UU - record UUID
      trxName -
      Returns:
      PO for Record or null
    • getPO

      PO getPO(String tableName, ResultSet rs, String trxName)
      Get PO Class Instance
      Parameters:
      tableName -
      rs - result set
      trxName - transaction
      Returns:
      PO for Record or null