public class OperationsOverUsage
extends java.lang.Object
Constructor and Description |
---|
OperationsOverUsage(Architecture architecture) |
Modifier and Type | Method and Description |
---|---|
UsageRelationship |
create(Element client,
Element supplier)
Cria um relacionamento de Usage e o adiciona na br.otimizes.oplatool.arquitetura
|
void |
move(UsageRelationship usageRelationship,
Class newSupplier,
Class newClient) |
void |
moveClient(UsageRelationship usageRelationship,
Element newClient) |
void |
moveSupplier(UsageRelationship usageRelationship,
Element newSupplier) |
void |
remove(UsageRelationship usage) |
public OperationsOverUsage(Architecture architecture)
public void remove(UsageRelationship usage)
public void moveClient(UsageRelationship usageRelationship, Element newClient)
public void moveSupplier(UsageRelationship usageRelationship, Element newSupplier)
public UsageRelationship create(Element client, Element supplier)
NOTA: usando este método você não precisa chamar explicitamente algo como
architecture.addRelationship(relationship)
.
parent
- supplier
- public void move(UsageRelationship usageRelationship, Class newSupplier, Class newClient)
usageRelationship
- newSupplier
- newClient
-