@Test public void isValid() { AbstractValuePM pM = create(true); pM.setMandatory(true); assertEquals("pM.isValid()", false, pM.isValid()); pM.setMandatory(false); assertEquals("pM.isValid()", true, pM.isValid()); }
public void setMandatory(boolean mandatory) { if (equals(this.mandatory, mandatory)) { return; } boolean old = this.mandatory; this.mandatory = mandatory; revalidate(); getPropertyChangeSupport().firePropertyChange("mandatory", old, mandatory); }
AbstractValuePM extends AbstractPM implements IValuePM { public void setMandatory(boolean mandatory) { if (equals(this.mandatory, mandatory)) { return; } boolean old = this.mandatory; this.mandatory = mandatory; revalidate(); getPropertyChangeSupport().firePropertyChange("mandatory", old, mandatory); } }
AbstractValuePM extends AbstractPM implements IValuePM { public void setMandatory(boolean mandatory) { if (equals(this.mandatory, mandatory)) { return; } boolean old = this.mandatory; this.mandatory = mandatory; revalidate(); getPropertyChangeSupport().firePropertyChange("mandatory", old, mandatory); } protected  AbstractValuePM(); }
AbstractValuePM extends AbstractPM implements IValuePM { public void setMandatory(boolean mandatory) { if (equals(this.mandatory, mandatory)) { return; } boolean old = this.mandatory; this.mandatory = mandatory; revalidate(); getPropertyChangeSupport().firePropertyChange("mandatory", old, mandatory); } protected  AbstractValuePM(); String getDescription(); void setDescription(String description); boolean isMandatory(); void setMandatory(boolean mandatory); String getTitle(); void setTitle(String title); boolean isEditable(); void setEditable(boolean editable); @Override void revalidate(); }
AbstractValuePM extends AbstractPM implements IValuePM { public void setMandatory(boolean mandatory) { if (equals(this.mandatory, mandatory)) { return; } boolean old = this.mandatory; this.mandatory = mandatory; revalidate(); getPropertyChangeSupport().firePropertyChange("mandatory", old, mandatory); } protected  AbstractValuePM(); String getDescription(); void setDescription(String description); boolean isMandatory(); void setMandatory(boolean mandatory); String getTitle(); void setTitle(String title); boolean isEditable(); void setEditable(boolean editable); @Override void revalidate();  }