public class RequiresRelationship extends Relationship
Constructor and Description |
---|
RequiresRelationship() |
RequiresRelationship(Element supplier,
Element client,
java.lang.String string) |
RequiresRelationship(Element supplier,
Element client,
java.lang.String name,
java.lang.String id) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
Element |
getClient() |
Interface |
getInterfaceOfDependency()
Retorna a
Interface |
java.lang.String |
getName() |
Package |
getPackageOfDependency()
Retorna o
Package |
Element |
getSupplier() |
int |
hashCode() |
void |
replaceClient(Element client) |
void |
replaceSupplier(Element supplier) |
void |
setClient(Element client) |
void |
setName(java.lang.String name) |
void |
setSupplier(Element supplier) |
getId, getStereotypes, getType, removeStereotype, setId, setStereotype, setStereotypes, setType
public RequiresRelationship()
public RequiresRelationship(Element supplier, Element client, java.lang.String name, java.lang.String id)
public Package getPackageOfDependency() throws NotFoundException
Package
NotFoundException
- caso não exista pacote envolvido na dependencia.public Interface getInterfaceOfDependency() throws NotFoundException
Interface
NotFoundException
- caso não exista interface envolvido na dependencia.public Element getClient()
public void setClient(Element client)
public Element getSupplier()
public void setSupplier(Element supplier)
public void replaceSupplier(Element supplier)
public void replaceClient(Element client)
public java.lang.String getName()
getName
in class Relationship
public void setName(java.lang.String name)
setName
in class Relationship
name
- the name to setpublic int hashCode()
hashCode
in class Relationship
public boolean equals(java.lang.Object obj)
equals
in class Relationship