org.cip4.jdflib.util
Class StatusUtil.AmountBag

java.lang.Object
  extended by 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 Summary
 double phaseAmount
           
 double phaseWaste
           
 String refID
          refID of the resourceLink to set
 double totalAmount
           
 double totalWaste
           
 
Constructor Summary
StatusUtil.AmountBag(JDFResourceLink rl)
           
StatusUtil.AmountBag(StatusUtil.AmountBag bag)
          copy ctor
StatusUtil.AmountBag(String _refID)
           
 
Method Summary
 void addPhase(double amount, double waste, boolean bNewPhase)
           
 void reset()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

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 Detail

StatusUtil.AmountBag

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

StatusUtil.AmountBag

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

StatusUtil.AmountBag

public StatusUtil.AmountBag(StatusUtil.AmountBag bag)
copy ctor

Parameters:
bag -
Method Detail

toString

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

reset

public void reset()

addPhase

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


Copyright © 2013. All Rights Reserved.