Class MWFNodeNext

All Implemented Interfaces:
Serializable, Cloneable, Comparator<Object>, I_AD_WF_NodeNext, I_Persistent, Evaluatee, ImmutablePOSupport

public class MWFNodeNext extends X_AD_WF_NodeNext implements ImmutablePOSupport
Extended Workflow Node Next model for AD_WF_NodeNext
Version:
$Id: MWFNodeNext.java,v 1.3 2006/10/06 00:42:24 jjanke Exp $
Author:
Jorg Janke
See Also:
  • Field Details

    • m_fromSplitAnd

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

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

    • MWFNodeNext

      public MWFNodeNext(Properties ctx, String AD_WF_NodeNext_UU, String trxName)
      UUID based Constructor
      Parameters:
      ctx - Context
      AD_WF_NodeNext_UU - UUID key
      trxName - Transaction
    • MWFNodeNext

      public MWFNodeNext(Properties ctx, int AD_WF_NodeNext_ID, String trxName)
      Standard Constructor
      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)
      Copy constructor
      Parameters:
      copy -
    • MWFNodeNext

      public MWFNodeNext(Properties ctx, MWFNodeNext copy)
      Copy constructor
      Parameters:
      ctx -
      copy -
    • MWFNodeNext

      public MWFNodeNext(Properties ctx, MWFNodeNext copy, String trxName)
      Copy constructor
      Parameters:
      ctx -
      copy -
      trxName -
  • Method Details

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

      public String toString()
      String Representation
      Overrides:
      toString in class X_AD_WF_NodeNext
      Returns:
      info
    • getConditions

      public MWFNextCondition[] getConditions(boolean requery)
      Get Conditions
      Parameters:
      requery - true to reload from DB
      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:
      true if this is 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:
      true if this is to join and
    • markImmutable

      public MWFNodeNext markImmutable()
      Description copied from interface: ImmutablePOSupport
      mark PO as immutable
      Specified by:
      markImmutable in interface ImmutablePOSupport
      Returns:
      PO
    • beforeSave

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