public class Interface extends Element
Constructor and Description |
---|
Interface(RelationshipsHolder relationshipHolder,
java.lang.String name) |
Interface(RelationshipsHolder relationshipHolder,
java.lang.String name,
Package packagee)
Use este construtor quando você deseja criar uma interface.
|
Interface(RelationshipsHolder relationshipHolder,
java.lang.String name,
java.lang.String id) |
Interface(RelationshipsHolder relationshipHolder,
java.lang.String name,
java.lang.String id,
Package packagee)
Use este construtor quando você deseja criar uma interface usando algum ID passado por você
|
Interface(RelationshipsHolder relationshipHolder,
java.lang.String name,
Variant variantType,
java.lang.String namespace,
java.lang.String id) |
addConcern, addConcerns, addExternalConcern, belongsToGeneralization, containsConcern, equals, getArchitecture, getComments, getGlobalPosX, getGlobalPosY, getHeight, getId, getName, getNamespace, getNumberId, getOwnConcerns, getPosX, getPosY, getStringComments, getTypeElement, getVariant, getVariationPoint, getWidth, hasComments, hashCode, isFinal, isFreezeByDM, isFreezedByCluster, isMandatory, isStatic, isTotalyFreezed, isVariationPoint, removeConcern, setBelongsToGeneralization, setComments, setComments, setFinal, setFreezedByCluster, setFreezedByCluster, setFreezeFromDM, setFreezeFromDM, setFreezeFromDM, setGlobalPosX, setGlobalPosY, setHeight, setMandatory, setName, setNamespace, setPosX, setPosY, setStatic, setTypeElement, setVariant, setVariationPoint, setWidth, toString, totalyEquals, unsetFreezeFromDM
public Interface(RelationshipsHolder relationshipHolder, java.lang.String name, Variant variantType, java.lang.String namespace, java.lang.String id)
public Interface(RelationshipsHolder relationshipHolder, java.lang.String name, Package packagee)
OBS 1: O ID para esta interface será gerado automaticamente.
OBS 2: Esse construtor NAO adicionar a interface na br.otimizes.oplatool.arquitetura
architecture
- Architecture em questãoname
- - Nome da interfacerelationshipHolder
- public Interface(RelationshipsHolder relationshipHolder, java.lang.String name)
public Interface(RelationshipsHolder relationshipHolder, java.lang.String name, java.lang.String id)
public Interface(RelationshipsHolder relationshipHolder, java.lang.String name, java.lang.String id, Package packagee)
OBS 1: Esse construtor NAO adicionar a interface na br.otimizes.oplatool.arquitetura
name
- - Nome da interfaceid
- - ID para a interfacepublic Interface deepClone() throws java.lang.CloneNotSupportedException
java.lang.CloneNotSupportedException
public Method findOperationById(java.lang.String id)
public java.util.Set<Method> getMethods()
public java.util.Set<Method> getOperations()
public boolean removeOperation(Method operation)
public void removeOperationByID(java.lang.String id)
public Method createOperation(java.lang.String operationName) throws java.lang.Exception
java.lang.Exception
public boolean moveOperationToInterface(Method operation, Interface interfaceToMove)
public boolean addExternalOperation(Method operation)
public java.util.Set<Element> getImplementors()
public java.util.Set<Element> getDependents()
public java.util.Set<Method> getModifiableOperations()
public java.util.Set<Concern> getAllConcerns()
getAllConcerns
in class Element
public java.util.List<DependencyRelationship> getDependencies()
public boolean addExternalMethod(Method method)
public void removeInterfaceFromRequiredOrImplemented()
interfacee
- public RelationshipsHolder getRelationshipHolder()
public void setRelationshipHolder(RelationshipsHolder relationshipHolder)
public java.util.Set<Relationship> getRelationships()
public void setPatternOperations(PatternsOperations patternOperations)
public PatternsOperations getPatternsOperations()
public java.util.List<RealizationRelationship> getRealizationImplementors()
public void copyDependencyRelationship(Interface source, Interface targetInterface, Concern concern)
public void copyRealizationRelationship(Interface source, Interface targetInterface, Concern concern)