Class MTest

All Implemented Interfaces:
Serializable, Cloneable, Comparator<Object>, I_Persistent, I_Test, Evaluatee

public class MTest extends X_Test
Test Model
Version:
$Id: MTest.java,v 1.3 2006/07/30 00:58:37 jjanke Exp $
Author:
Jorg Janke
See Also:
  • Constructor Details

    • MTest

      public MTest(Properties ctx, int Test_ID, String trxName)
      Constructor
      Parameters:
      ctx - context
      Test_ID -
      trxName - transaction
    • MTest

      public MTest(Properties ctx, ResultSet rs, String trxName)
      Load Constructor
      Parameters:
      ctx - context
      rs - result set
      trxName - transaction
    • MTest

      public MTest(Properties ctx, String Test_UU, String trxName)
      Constructor
      Parameters:
      ctx - context
      Test_UU -
      trxName - transaction
    • MTest

      public MTest(Properties ctx, String testString, int testNo)
      new Test record Constructor
      Parameters:
      ctx - context
      testString - test string
      testNo - test no
    • MTest

      public MTest(Properties ctx, String testString, int testNo, String trxName)
      new Test record Constructor
      Parameters:
      ctx - context
      testString - test string
      testNo - test no
      trxName -
    • MTest

      public MTest(Properties ctx, int Test_ID, String trxName, String... virtualColumns)
      Parameters:
      ctx -
      Test_ID -
      trxName -
      virtualColumns -
  • Method Details

    • beforeDelete

      protected boolean beforeDelete()
      Description copied from class: PO
      Execute before Delete operations.
      Default implementation is nop, to be implemented in sub-classes that needed it.
      Overrides:
      beforeDelete in class PO
      Returns:
      true if record can be deleted
    • afterDelete

      protected boolean afterDelete(boolean success)
      Description copied from class: PO
      Execute after Delete operations.
      Default implementation is nop, to be implemented in sub-classes that needed it.
      Overrides:
      afterDelete in class PO
      Parameters:
      success - true if record deleted
      Returns:
      true if delete is a success
    • beforeSave

      protected boolean beforeSave(boolean newRecord)
      Description copied from class: PO
      Called before Save for Pre-Save Operation.
      Default implementation is nop, to be implemented in sub-classes that needed it.
      Overrides:
      beforeSave in class PO
      Parameters:
      newRecord - true if it is a new record
      Returns:
      true if record can be saved
    • afterSave

      protected boolean afterSave(boolean newRecord, boolean success)
      After Save
      Overrides:
      afterSave in class PO
      Parameters:
      newRecord -
      success -
      Returns:
      success