()
| 5569 | } |
| 5570 | |
| 5571 | public BigDecimal totalValue() |
| 5572 | { |
| 5573 | BigDecimal totalValue = BigDecimal.ZERO; |
| 5574 | |
| 5575 | for (Equipment eq : getEquipmentMasterList()) |
| 5576 | { |
| 5577 | totalValue = totalValue.add(eq.getCost(this).multiply(BigDecimal.valueOf(eq.qty()))); |
| 5578 | } |
| 5579 | |
| 5580 | return totalValue; |
| 5581 | } |
| 5582 | |
| 5583 | /** |
| 5584 | * @return true if character is currently being read from file. |
no test coverage detected