public class StatusUtil.AmountBag extends Object
Modifier and Type | Field and Description |
---|---|
double |
phaseAmount |
double |
phaseWaste |
String |
refID
refID of the resourceLink to set
|
double |
totalAmount |
double |
totalWaste |
Constructor and Description |
---|
AmountBag(JDFResourceLink rl) |
AmountBag(StatusUtil.AmountBag bag)
copy ctor
|
AmountBag(String _refID) |
Modifier and Type | Method and Description |
---|---|
void |
addPhase(double amount,
double waste,
boolean bNewPhase) |
void |
reset() |
String |
toString() |
public String refID
public double totalAmount
public double phaseAmount
public double totalWaste
public double phaseWaste
public AmountBag(JDFResourceLink rl)
rl
- resourceLink to the resource that is being countedpublic AmountBag(String _refID)
_refID
- refID of the resource that is being countedpublic AmountBag(StatusUtil.AmountBag bag)
bag
- public String toString()
toString
in class Object
Object.toString()
public void reset()
public void addPhase(double amount, double waste, boolean bNewPhase)
amount
- waste
- bNewPhase
- Copyright © 2018. All rights reserved.