Class MTest

    • Constructor Detail

      • 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 testString,
                     int testNo)
        Test Object Constructor
        Parameters:
        ctx - context
        testString - test string
        testNo - test no
    • Method Detail

      • 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
      • main

        public static void main​(String[] args)
        Test
        Parameters:
        args -