Added javadoc
This commit is contained in:
parent
9dce4e47ce
commit
a8ee928a9c
1 changed files with 12 additions and 0 deletions
|
|
@ -224,6 +224,10 @@ public class Order extends OrderLineGroup implements Comparable {
|
||||||
return getCurrentVersionInfo().isUsingTheOwnerScenario();
|
return getCurrentVersionInfo().isUsingTheOwnerScenario();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Should be public!
|
||||||
|
* Used in orders/_edition.zul
|
||||||
|
*/
|
||||||
public BigDecimal getWorkBudget() {
|
public BigDecimal getWorkBudget() {
|
||||||
if (workBudget == null) {
|
if (workBudget == null) {
|
||||||
return BigDecimal.ZERO;
|
return BigDecimal.ZERO;
|
||||||
|
|
@ -238,6 +242,10 @@ public class Order extends OrderLineGroup implements Comparable {
|
||||||
this.workBudget = workBudget;
|
this.workBudget = workBudget;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Should be public!
|
||||||
|
* Used in orders/_edition.zul
|
||||||
|
*/
|
||||||
public BigDecimal getMaterialsBudget() {
|
public BigDecimal getMaterialsBudget() {
|
||||||
if (materialsBudget == null) {
|
if (materialsBudget == null) {
|
||||||
return BigDecimal.ZERO;
|
return BigDecimal.ZERO;
|
||||||
|
|
@ -252,6 +260,10 @@ public class Order extends OrderLineGroup implements Comparable {
|
||||||
this.materialsBudget = materialsBudget;
|
this.materialsBudget = materialsBudget;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Should be public!
|
||||||
|
* Used in orders/_edition.zul
|
||||||
|
*/
|
||||||
public BigDecimal getTotalManualBudget() {
|
public BigDecimal getTotalManualBudget() {
|
||||||
return getWorkBudget().add(getMaterialsBudget());
|
return getWorkBudget().add(getMaterialsBudget());
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue