Class MMeasure

    • Constructor Detail

      • MMeasure

        public MMeasure​(Properties ctx,
                        int PA_Measure_ID,
                        String trxName)
        Standard Constructor
        Parameters:
        ctx - context
        PA_Measure_ID - id
        trxName - trx
      • MMeasure

        public MMeasure​(Properties ctx,
                        ResultSet rs,
                        String trxName)
        Load Constructor
        Parameters:
        ctx - context
        rs - result set
        trxName - trx
      • MMeasure

        public MMeasure​(MMeasure copy)
        Parameters:
        copy -
    • Method Detail

      • get

        public static MMeasure get​(int PA_Measure_ID)
        Get MMeasure from Cache (immutable)
        Parameters:
        PA_Measure_ID - id
        Returns:
        MMeasure
      • get

        public static MMeasure get​(Properties ctx,
                                   int PA_Measure_ID)
        Get MMeasure from Cache (immutable)
        Parameters:
        ctx - context
        PA_Measure_ID - id
        Returns:
        MMeasure
      • beforeSave

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

        protected boolean afterSave​(boolean newRecord,
                                    boolean success)
        After Save
        Overrides:
        afterSave in class PO
        Parameters:
        newRecord - new
        success - success
        Returns:
        succes
      • updateGoals

        public boolean updateGoals()
        Update/save Goals
        Returns:
        true if updated