Class MWFNodeNext

    • Field Detail

      • m_fromSplitAnd

        public Boolean m_fromSplitAnd
        From (Split Eleemnt) is AND
      • m_toJoinAnd

        public Boolean m_toJoinAnd
        To (Join Element) is AND
    • Constructor Detail

      • MWFNodeNext

        public MWFNodeNext​(Properties ctx,
                           int AD_WF_NodeNext_ID,
                           String trxName)
        Standard Costructor
        Parameters:
        ctx - context
        AD_WF_NodeNext_ID - id
        trxName - transaction
      • MWFNodeNext

        public MWFNodeNext​(Properties ctx,
                           ResultSet rs,
                           String trxName)
        Default Constructor
        Parameters:
        ctx - context
        rs - result set to load info from
        trxName - transaction
      • MWFNodeNext

        public MWFNodeNext​(MWFNode parent,
                           int AD_WF_Next_ID)
        Parent constructor
        Parameters:
        parent - patent
        AD_WF_Next_ID - Next
      • MWFNodeNext

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

      • setClientOrg

        public void setClientOrg​(int AD_Client_ID,
                                 int AD_Org_ID)
        Set Client Org
        Overrides:
        setClientOrg in class PO
        Parameters:
        AD_Client_ID - client
        AD_Org_ID - org
      • getConditions

        public MWFNextCondition[] getConditions​(boolean requery)
        Get Conditions
        Parameters:
        requery - true if requery
        Returns:
        Array of Conditions
      • isUnconditional

        public boolean isUnconditional()
        Unconditional
        Returns:
        true if no conditions
      • isValidFor

        public boolean isValidFor​(MWFActivity activity)
        Is this a Valid Transition For ..
        Parameters:
        activity - activity
        Returns:
        true if valid
      • isFromSplitAnd

        public boolean isFromSplitAnd()
        Split Element is AND
        Returns:
        Returns the from Split And.
      • setFromSplitAnd

        public void setFromSplitAnd​(boolean fromSplitAnd)
        Split Element is AND. Set by MWFNode.loadNodes
        Parameters:
        fromSplitAnd - The from Split And
      • isToJoinAnd

        public boolean isToJoinAnd()
        Join Element is AND
        Returns:
        Returns the to Join And.
      • beforeSave

        protected boolean beforeSave​(boolean newRecord)
        Before Save
        Overrides:
        beforeSave in class PO
        Parameters:
        newRecord -
        Returns:
        true if it can be saved