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()
      Before Delete
      Overrides:
      beforeDelete in class PO
      Returns:
      true if it can be deleted
    • afterDelete

      protected boolean afterDelete(boolean success)
      After Delete
      Overrides:
      afterDelete in class PO
      Parameters:
      success -
      Returns:
      success
    • beforeSave

      protected boolean beforeSave(boolean newRecord)
      Before Save
      Overrides:
      beforeSave in class PO
      Parameters:
      newRecord -
      Returns:
      true
    • afterSave

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