Class MProjectPhase

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

public class MProjectPhase extends X_C_ProjectPhase
Project Phase Model
Version:
$Id: MProjectPhase.java,v 1.3 2006/07/30 00:51:03 jjanke Exp $
Author:
Jorg Janke
See Also:
  • Constructor Details

    • MProjectPhase

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

      public MProjectPhase(Properties ctx, int C_ProjectPhase_ID, String trxName)
      Standard Constructor
      Parameters:
      ctx - context
      C_ProjectPhase_ID - id
      trxName - transaction
    • MProjectPhase

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

      public MProjectPhase(MProject project)
      Parent Constructor
      Parameters:
      project - parent
    • MProjectPhase

      public MProjectPhase(MProject project, MProjectTypePhase phase)
      Copy Constructor
      Parameters:
      project - parent
      phase - copy
  • Method Details

    • getTasks

      public MProjectTask[] getTasks()
      Get Project Phase Tasks.
      Returns:
      Array of tasks
    • copyLinesFrom

      public int copyLinesFrom(MProjectPhase fromPhase)
      Copy project lines from other Phase
      Parameters:
      fromPhase - phase to copy from
      Returns:
      number of project line copied
    • copyTasksFrom

      public int copyTasksFrom(MProjectPhase fromPhase)
      Copy Tasks from other Phase
      Parameters:
      fromPhase - phase to copy from
      Returns:
      number of tasks copied
    • copyTasksFrom

      public int copyTasksFrom(MProjectTypePhase fromPhase)
      Copy Tasks from other MProjectTypePhase
      Parameters:
      fromPhase - MProjectTypePhase to copy from
      Returns:
      number of tasks copied
    • getLines

      public MProjectLine[] getLines()
      Get Project Lines
      Returns:
      Array of lines
    • toString

      public String toString()
      String Representation
      Overrides:
      toString in class X_C_ProjectPhase
      Returns:
      info