Class StatusUtil.AmountBag

java.lang.Object
org.cip4.jdflib.util.StatusUtil.AmountBag
Enclosing class:
StatusUtil

public class StatusUtil.AmountBag extends Object
container class to set amounts and waste in phaseTime
  • Field Details

    • refID

      public String refID
      refID of the resourceLink to set
    • totalAmount

      public double totalAmount
    • phaseAmount

      public double phaseAmount
    • totalWaste

      public double totalWaste
    • phaseWaste

      public double phaseWaste
  • Constructor Details

    • AmountBag

      public AmountBag(JDFResourceLink rl)
      Parameters:
      rl - resourceLink to the resource that is being counted
    • AmountBag

      public AmountBag(String _refID)
      Parameters:
      _refID - refID of the resource that is being counted
    • AmountBag

      public AmountBag(StatusUtil.AmountBag bag)
      copy ctor
      Parameters:
      bag -
  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class Object
      Returns:
      See Also:
    • reset

      public void reset()
    • addPhase

      public void addPhase(double amount, double waste, boolean bNewPhase)
      Parameters:
      amount -
      waste -
      bNewPhase -