Class MWFNextCondition

    • Constructor Detail

      • MWFNextCondition

        public MWFNextCondition​(Properties ctx,
                                int id,
                                String trxName)
        Default Constructor
        Parameters:
        ctx - context
        id - id
        trxName - transaction
      • MWFNextCondition

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

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

      • isOr

        public boolean isOr()
        Is Or Condition
        Returns:
        true if OR
      • evaluate

        public boolean evaluate​(MWFActivity activity)
        Evaluate Condition
        Parameters:
        activity - activity
        Returns:
        true if true
      • evaluate

        protected boolean evaluate​(PO po)
        Evaluate Condition
        Parameters:
        po - PO
        Returns:
        true if true
      • getDecodedValue

        protected String getDecodedValue​(String sValue,
                                         PO po)
        F3P: Decode value string, for each substring enclosed in @: COL= remaining value is interpreted as a column of the associated record
        Parameters:
        sValue - value to be decoded
        po - PO model object bound to the activity
        Returns:
      • beforeSave

        protected boolean beforeSave​(boolean newRecord)
        Description copied from class: PO
        Called before Save for Pre-Save Operation
        Overrides:
        beforeSave in class PO
        Parameters:
        newRecord - new record
        Returns:
        true if record can be saved