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

Method getBaseItemKeyName

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

Gets the keyName attribute of the base item of this Equipment object. @return The base item's keyName value

()

Source from the content-addressed store, hash-verified

622 * @return The base item's keyName value
623 */
624 public String getBaseItemKeyName()
625 {
626 CDOMSingleRef<Equipment> baseItem = get(ObjectKey.BASE_ITEM);
627 if (baseItem == null)
628 {
629 return getKeyName();
630 }
631 return baseItem.get().getKeyName();
632 }
633
634 /**
635 * Gets the cost attribute of the Equipment object

Callers 2

nameItemFromModifiersMethod · 0.95

Calls 2

getMethod · 0.65
getKeyNameMethod · 0.65

Tested by

no test coverage detected