get base weight as double @return base weight (as a double)
()
| 2103 | * @return base weight (as a double) |
| 2104 | */ |
| 2105 | private BigDecimal getBaseWeight() |
| 2106 | { |
| 2107 | if (this.isVirtual()) |
| 2108 | { |
| 2109 | return BigDecimal.ZERO; |
| 2110 | } |
| 2111 | return getWeightInPounds().add(getSafe(ObjectKey.WEIGHT_MOD)); |
| 2112 | } |
| 2113 | |
| 2114 | /** |
| 2115 | * Get the weight as a double |
no test coverage detected