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

Method getBaseItemName

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

Gets the baseItemName attribute of the Equipment object @return The baseItemName value

()

Source from the content-addressed store, hash-verified

607 * @return The baseItemName value
608 */
609 public String getBaseItemName()
610 {
611 CDOMSingleRef<Equipment> baseItem = get(ObjectKey.BASE_ITEM);
612 if (baseItem == null)
613 {
614 return getKeyName();
615 }
616 return baseItem.get().getDisplayName();
617 }
618
619 /**
620 * Gets the keyName attribute of the base item of this Equipment object.

Callers 4

formatSaveLineMethod · 0.95
nameItemFromModifiersMethod · 0.95
parseEquipmentLineMethod · 0.95

Calls 3

getMethod · 0.65
getKeyNameMethod · 0.65
getDisplayNameMethod · 0.65

Tested by

no test coverage detected