@Test public void testIsExtending() { Definition definition = new Definition(); definition.setName("myDefinition"); assertFalse(definition.isExtending()); definition.setExtends("myExtends"); assertTrue(definition.isExtending()); }
public boolean isExtending() { return inherit != null; }
Definition extends BasicAttributeContext { public boolean isExtending() { return inherit != null; } }
Definition extends BasicAttributeContext { public boolean isExtending() { return inherit != null; } Definition();  Definition(Definition definition);  Definition(String name, Attribute templateAttribute,
                               Map<String, Attribute> attributes); }
Definition extends BasicAttributeContext { public boolean isExtending() { return inherit != null; } Definition();  Definition(Definition definition);  Definition(String name, Attribute templateAttribute,
                               Map<String, Attribute> attributes); String getName(); void setName(String aName); void setExtends(String name); String getExtends(); @Override boolean equals(Object obj); @Override int hashCode(); boolean isExtending(); @Override String toString(); }
Definition extends BasicAttributeContext { public boolean isExtending() { return inherit != null; } Definition();  Definition(Definition definition);  Definition(String name, Attribute templateAttribute,
                               Map<String, Attribute> attributes); String getName(); void setName(String aName); void setExtends(String name); String getExtends(); @Override boolean equals(Object obj); @Override int hashCode(); boolean isExtending(); @Override String toString();  }