@Test public void testSetNameHolder() { namedElement.setNameHolder(new NameHolder(new Name(NAME))); assertEquals(NAME, namedElement.getName().getValue()); assertEquals(NAME, namedElement.getNameHolder().getValue().getValue()); }
public void setNameHolder(final NameHolder nameHolder) { this.name.setValue(nameHolder.getValue().getValue()); this.nameHolder = nameHolder; }
NamedElement extends DMNElement implements HasName { public void setNameHolder(final NameHolder nameHolder) { this.name.setValue(nameHolder.getValue().getValue()); this.nameHolder = nameHolder; } }
NamedElement extends DMNElement implements HasName { public void setNameHolder(final NameHolder nameHolder) { this.name.setValue(nameHolder.getValue().getValue()); this.nameHolder = nameHolder; } NamedElement();  NamedElement(final Id id,
                        final Description description,
                        final Name name); }
NamedElement extends DMNElement implements HasName { public void setNameHolder(final NameHolder nameHolder) { this.name.setValue(nameHolder.getValue().getValue()); this.nameHolder = nameHolder; } NamedElement();  NamedElement(final Id id,
                        final Description description,
                        final Name name); @Override Name getName(); @Override void setName(final Name name); NameHolder getNameHolder(); void setNameHolder(final NameHolder nameHolder); }
NamedElement extends DMNElement implements HasName { public void setNameHolder(final NameHolder nameHolder) { this.name.setValue(nameHolder.getValue().getValue()); this.nameHolder = nameHolder; } NamedElement();  NamedElement(final Id id,
                        final Description description,
                        final Name name); @Override Name getName(); @Override void setName(final Name name); NameHolder getNameHolder(); void setNameHolder(final NameHolder nameHolder);  }