MCPcopy Create free account
hub / github.com/PCGen/pcgen / setQty

Method setQty

code/src/java/pcgen/core/Equipment.java:1665–1675  ·  view source on GitHub ↗

Sets the qty attribute of the Equipment object @param aString The new qty value

(final String aString)

Source from the content-addressed store, hash-verified

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

Callers 15

applyChoiceMethod · 0.95
applyChoiceMethod · 0.95
addPurchasedEquipmentMethod · 0.95
selectClothesMethod · 0.95
addEquipmentMethod · 0.95
addWeaponToLocationMethod · 0.95
testApplyMethod · 0.95
applyMethod · 0.95
parseEquipmentLineMethod · 0.95

Calls 1

doubleValueMethod · 0.80

Tested by 4

addEquipToEquipSetMethod · 0.36
setUpMethod · 0.36
setUpMethod · 0.36
equipItemMethod · 0.36