Class StatusUtil.AmountBag

  • Enclosing class:
    StatusUtil

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

      • refID

        public java.lang.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 Detail

      • AmountBag

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

        public AmountBag​(java.lang.String _refID)
        Parameters:
        _refID - refID of the resource that is being counted
    • Method Detail

      • toString

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

        public void reset()
      • addPhase

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