@Test public void testSetName() { namedElement.setName(new Name(NAME)); assertEquals(NAME, namedElement.getName().getValue()); assertEquals(NAME, namedElement.getNameHolder().getValue().getValue()); }
@Override public void setName(final Name name) { this.name = name; this.nameHolder.setValue(name); }
NamedElement extends DMNElement implements HasName { @Override public void setName(final Name name) { this.name = name; this.nameHolder.setValue(name); } }
NamedElement extends DMNElement implements HasName { @Override public void setName(final Name name) { this.name = name; this.nameHolder.setValue(name); } NamedElement();  NamedElement(final Id id,
                        final Description description,
                        final Name name); }
NamedElement extends DMNElement implements HasName { @Override public void setName(final Name name) { this.name = name; this.nameHolder.setValue(name); } 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 { @Override public void setName(final Name name) { this.name = name; this.nameHolder.setValue(name); } 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);  }