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

Method addNoteToItem

code/src/java/pcgen/core/character/EquipSet.java:565–573  ·  view source on GitHub ↗

If there is a note set in this Equipment set, then add it to the contained equipment.

()

Source from the content-addressed store, hash-verified

563 * If there is a note set in this Equipment set, then add it to the contained equipment.
564 */
565 public void addNoteToItem()
566 {
567 final String aNote = getNote();
568
569 if ((aNote != null) && (!aNote.isEmpty()))
570 {
571 getItem().setNote(aNote);
572 }
573 }
574
575 /**
576 * Is this EquipSet part of the Equipment set located at rootId.

Callers 1

setCalcEquipmentListMethod · 0.80

Calls 4

getNoteMethod · 0.95
getItemMethod · 0.95
isEmptyMethod · 0.65
setNoteMethod · 0.65

Tested by

no test coverage detected