- Author
- Lluis TurrĂ³ Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g
Definition at line 29 of file Breakdown.java.
◆ clone()
Breakdown org.turro.erp.entity.Breakdown.clone |
( |
| ) |
|
Definition at line 94 of file Breakdown.java.
95 Breakdown b =
new Breakdown();
96 b.setOrderRef(orderRef);
97 b.setQuantity(quantity);
99 b.setDescription(description);
◆ getAmount()
double org.turro.erp.entity.Breakdown.getAmount |
( |
| ) |
|
Definition at line 88 of file Breakdown.java.
89 if(price ==
null)
return 0.0d;
90 return (quantity ==
null || quantity == 0.0) ? price : quantity * price;
◆ getDescription()
String org.turro.erp.entity.Breakdown.getDescription |
( |
| ) |
|
◆ getId()
long org.turro.erp.entity.Breakdown.getId |
( |
| ) |
|
◆ getOrderRef()
int org.turro.erp.entity.Breakdown.getOrderRef |
( |
| ) |
|
◆ getPrice()
Double org.turro.erp.entity.Breakdown.getPrice |
( |
| ) |
|
◆ getQuantity()
Double org.turro.erp.entity.Breakdown.getQuantity |
( |
| ) |
|
◆ isEmpty()
boolean org.turro.erp.entity.Breakdown.isEmpty |
( |
| ) |
|
Definition at line 84 of file Breakdown.java.
85 return Strings.isBlank(description);
◆ setDescription()
void org.turro.erp.entity.Breakdown.setDescription |
( |
String |
description | ) |
|
Definition at line 46 of file Breakdown.java.
47 this.description = description;
◆ setId()
void org.turro.erp.entity.Breakdown.setId |
( |
long |
id | ) |
|
◆ setOrderRef()
void org.turro.erp.entity.Breakdown.setOrderRef |
( |
int |
orderRef | ) |
|
◆ setPrice()
void org.turro.erp.entity.Breakdown.setPrice |
( |
Double |
price | ) |
|
◆ setQuantity()
void org.turro.erp.entity.Breakdown.setQuantity |
( |
Double |
quantity | ) |
|
The documentation for this class was generated from the following file: