@Test public void testSetInherit() { ListAttribute attribute = new ListAttribute(); attribute.setInherit(true); assertTrue(attribute.isInherit()); attribute.setInherit(false); assertFalse(attribute.isInherit()); }
public void setInherit(boolean inherit) { this.inherit = inherit; }
ListAttribute extends Attribute { public void setInherit(boolean inherit) { this.inherit = inherit; } }
ListAttribute extends Attribute { public void setInherit(boolean inherit) { this.inherit = inherit; } ListAttribute();  ListAttribute(List<Attribute> value);  ListAttribute(ListAttribute toCopy); }
ListAttribute extends Attribute { public void setInherit(boolean inherit) { this.inherit = inherit; } ListAttribute();  ListAttribute(List<Attribute> value);  ListAttribute(ListAttribute toCopy); void setValue(List<Attribute> attributes); @SuppressWarnings("unchecked") @Override List<Attribute> getValue(); void add(Attribute element); void setInherit(boolean inherit); boolean isInherit(); @SuppressWarnings("unchecked") void inherit(ListAttribute parent); @Override boolean equals(Object obj); @Override int hashCode(); @Override ListAttribute clone(); }
ListAttribute extends Attribute { public void setInherit(boolean inherit) { this.inherit = inherit; } ListAttribute();  ListAttribute(List<Attribute> value);  ListAttribute(ListAttribute toCopy); void setValue(List<Attribute> attributes); @SuppressWarnings("unchecked") @Override List<Attribute> getValue(); void add(Attribute element); void setInherit(boolean inherit); boolean isInherit(); @SuppressWarnings("unchecked") void inherit(ListAttribute parent); @Override boolean equals(Object obj); @Override int hashCode(); @Override ListAttribute clone();  }