public class MutexRelationship extends Relationship
Constructor and Description |
---|
MutexRelationship() |
MutexRelationship(Element supplier,
Element client,
java.lang.String string) |
MutexRelationship(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() |
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 MutexRelationship()
public MutexRelationship(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 no mutex.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