public class GeneralizationRelationship extends Relationship
Constructor and Description |
---|
GeneralizationRelationship() |
GeneralizationRelationship(Element parentClass,
Element childClass,
RelationshipsHolder relationshipHolder) |
GeneralizationRelationship(Element parentClass,
Element childClass,
RelationshipsHolder relationshipHolder,
java.lang.String id) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.util.Set<Element> |
getAllChildrenForGeneralClass()
Método que retorna todas as classes filhas para a parent class (general)
|
Element |
getChild() |
Element |
getParent() |
int |
hashCode() |
void |
replaceChild(Class newChild) |
void |
replaceParent(Class parent) |
void |
setChild(Element child) |
void |
setParent(Element parent) |
getId, getName, getStereotypes, getType, removeStereotype, setId, setName, setStereotype, setStereotypes, setType
public GeneralizationRelationship(Element parentClass, Element childClass, RelationshipsHolder relationshipHolder, java.lang.String id)
public GeneralizationRelationship(Element parentClass, Element childClass, RelationshipsHolder relationshipHolder)
public GeneralizationRelationship()
public Element getChild()
public void setChild(Element child)
child
- the child to setpublic Element getParent()
public void setParent(Element parent)
public java.util.Set<Element> getAllChildrenForGeneralClass()
public void replaceChild(Class newChild)
public void replaceParent(Class parent)
public int hashCode()
hashCode
in class Relationship
public boolean equals(java.lang.Object obj)
equals
in class Relationship