Sets the qty attribute of the Equipment object @param aString The new qty value
(final String aString)
| 1663 | * The new qty value |
| 1664 | */ |
| 1665 | public void setQty(final String aString) |
| 1666 | { |
| 1667 | try |
| 1668 | { |
| 1669 | setQty(Double.parseDouble(aString)); |
| 1670 | } |
| 1671 | catch (NumberFormatException nfe) |
| 1672 | { |
| 1673 | qty = 0.0; |
| 1674 | } |
| 1675 | } |
| 1676 | |
| 1677 | /** |
| 1678 | * Sets the qty attribute of the Equipment object |