Package org.cip4.jdflib.util
Class StatusUtil.AmountBag
- java.lang.Object
-
- org.cip4.jdflib.util.StatusUtil.AmountBag
-
- Enclosing class:
- StatusUtil
public class StatusUtil.AmountBag extends java.lang.Objectcontainer class to set amounts and waste in phaseTime
-
-
Field Summary
Fields Modifier and Type Field Description doublephaseAmountdoublephaseWastejava.lang.StringrefIDrefID of the resourceLink to setdoubletotalAmountdoubletotalWaste
-
Constructor Summary
Constructors Constructor Description AmountBag(java.lang.String _refID)AmountBag(JDFResourceLink rl)AmountBag(StatusUtil.AmountBag bag)copy ctor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddPhase(double amount, double waste, boolean bNewPhase)voidreset()java.lang.StringtoString()
-
-
-
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
-
AmountBag
public AmountBag(StatusUtil.AmountBag bag)
copy ctor- Parameters:
bag-
-
-