public class ArchitectureRemoveElementControl
extends java.lang.Object
Constructor and Description |
---|
ArchitectureRemoveElementControl() |
Modifier and Type | Method and Description |
---|---|
static ArchitectureRemoveElementControl |
getInstance() |
void |
removeClass(Architecture architecture,
Element klass)
remove an class using pkg.removeClass ou class.remove
|
void |
removeImplementedInterface(Architecture architecture,
Class foo,
Interface inter) |
void |
removeImplementedInterface(Architecture architecture,
Interface inter,
Package pacote) |
void |
removeInterface(Architecture architecture,
Interface interfacee)
remove an interface from the list of interfaces using method removeInterfaceFromArch.
|
void |
removeInterfaceByID(Architecture architecture,
java.lang.String id)
remove an interface using its id from the list of interfaces.
|
boolean |
removeOnlyElement(Architecture architecture,
Element element)
remove an element of architecture without remove its relationship.
|
void |
removePackage(Architecture architecture,
Package p)
remove an package from architecture
|
boolean |
removeRelationship(Architecture architecture,
Relationship as)
remove an relationship from qruitecture
|
void |
removeRequiredInterface(Architecture architecture,
Interface supplier,
Class client) |
void |
removeRequiredInterface(Architecture architecture,
Interface supplier,
Package client) |
void |
removeSubPackageByID(Package parentPackage,
java.lang.String id)
remove an subpackage using its id
|
public static ArchitectureRemoveElementControl getInstance()
public void removeInterfaceByID(Architecture architecture, java.lang.String id)
architecture
- - target architectureid
- - id of target interfacepublic void removePackage(Architecture architecture, Package p)
architecture
- - target architecturep
- -target packagepublic void removeInterface(Architecture architecture, Interface interfacee)
architecture
- - target architectureinterfacee
- - target interfacepublic void removeClass(Architecture architecture, Element klass)
architecture
- - target architectureklass
- - target classpublic void removeSubPackageByID(Package parentPackage, java.lang.String id)
parentPackage
- - parent of subpackageid
- - id of target subpackagepublic boolean removeRelationship(Architecture architecture, Relationship as)
architecture
- - target architectureas
- - relationship to removepublic void removeImplementedInterface(Architecture architecture, Interface inter, Package pacote)
public void removeImplementedInterface(Architecture architecture, Class foo, Interface inter)
public void removeRequiredInterface(Architecture architecture, Interface supplier, Package client)
public void removeRequiredInterface(Architecture architecture, Interface supplier, Class client)
public boolean removeOnlyElement(Architecture architecture, Element element)
architecture
- - target architectureelement
- - target element