public interface IUmlModel
To navigate the UML model use the getRoot() method. this method give access to the root IPackage of the model. The whole model can be navigate through the associations that links the model elements to each other.
The IUmlModel is also the factory which create the UML model elements.
Any model modification must be done in a transaction. It is the MDAC developer responsibility to ensure that the newly created metaclass is valid before commiting a transaction.
New UML model elements can easily be created using createXxxxx() methods where Xxxxx is the name of the metaclass for which an instance has to be created. At least one method createXxxxx() exists for UML model Element. i.e.: createClass(). This method only create an instance of the metaclass. The instance will have to be attached to the model and eventually named to be valid for the current transaction.
The factory provide some convenience methods that allow to directly create a valid instance for the most frequently used metaclasses. i.e.: createClass(String name, INameSpace owner), createClass(String name, INameSpace owner, String stereotype). These methods ensure the validity of the created element.
IAnalystModel
IAbstraction createAbstraction()
IAcceptCallEventAction createAcceptCallEventAction()
IAcceptChangeEventAction createAcceptChangeEventAction()
IAcceptSignalAction createAcceptSignalAction()
IAcceptTimeEventAction createAcceptTimeEventAction()
IActivity createActivity()
IActivityDiagram createActivityDiagram(String name, IModelElement owner)
name
- the name of the ActivityDiagram to be created.owner
- the ModelElement that will contain the ActivityDiagram.IActivityFinalNode createActivityFinalNode()
IActivityParameterNode createActivityParameterNode()
IActivityPartition createActivityPartition()
IActor createActor()
IActor createActor(String name, INameSpace owner)
name
- The name of the Actor to be created.owner
- The INameSpace that will contain the Actor.IActor createActor(String name, INameSpace owner, String stereotype) throws StereotypeNotFoundException
The created Actor is valid for the current transaction. (It as a name and an owner.)
The created Actor is stereotyped by the stereotype
argument. The
StereotypeNotFoundException
is thrown if the stereotype is not found.
name
- The name of the Actor to be created.owner
- The INameSpace that will contain the Actor.stereotype
- the Stereotype that will be refered by the Actor.StereotypeNotFoundException
- if there is no stereotype matching the name and the metaclassIArtifact createArtifact()
IArtifact createArtifact(String name, INameSpace owner)
name
- The name of the Artifact to be created.owner
- The INameSpace that will contain the Artifact.IArtifact createArtifact(String name, INameSpace owner, String stereotype) throws StereotypeNotFoundException
stereotype
argument. The
StereotypeNotFoundException
is thrown if the stereotype is not found.name
- Name of the Artifactowner
- The Owner of the Artifactstereotype
- the stereotype to add on the created Artifact or null if none.StereotypeNotFoundException
- if there is no stereotype matching the name and the metaclassIAssociation createAssociation()
IAssociation createAssociation(IClassifier source, IClassifier destination, String destinationRole)
source
- the source Classifier of the Association.destination
- the destination Classifier of the Association.destinationRole
- the Name of the destination role.IAssociation createAssociation(IAssociationEnd source, IAssociationEnd destination)
source
- the source association ends of the Association.destination
- the destination association ends of the Association.IAssociationEnd createAssociationEnd()
IAttribute createAttribute()
IAttribute createAttribute(String name, IGeneralClass type, IClassifier owner)
name
- the name of the Attribute to be created.type
- the GeneralClass that will type the Atrribute.owner
- the Classifier that will contain the AttributeIAttribute createAttribute(String name, IGeneralClass type, IClassifier owner, String stereotype) throws StereotypeNotFoundException
name
- the name of the Attribute to be created.type
- the GeneralClass that will type the Atrribute.owner
- the Classifier that will contain the Attribute.stereotype
- the name of the Stereotype that will be refered by the Attribute.StereotypeNotFoundException
- if there is no stereotype matching the name and the metaclassIAttributeLink createAttributeLink()
IBehaviorParameter createBehaviorParameter()
IBindableInstance createBindableInstance()
IBinding createBinding()
IBpmnActivity createBpmnActivity()
IBpmnAdHocSubProcess createBpmnAdHocSubProcess()
IBpmnArtifact createBpmnArtifact()
IBpmnAssociation createBpmnAssociation()
IBpmnBaseElement createBpmnBaseElement()
IBpmnBehavior createBpmnBehavior()
IBpmnBoundaryEvent createBpmnBoundaryEvent()
IBpmnBusinessRuleTask createBpmnBusinessRuleTask()
IBpmnCallActivity createBpmnCallActivity()
IBpmnCancelEventDefinition createBpmnCancelEventDefinition()
IBpmnCatchEvent createBpmnCatchEvent()
IBpmnCollaboration createBpmnCollaboration()
IBpmnCompensateEventDefinition createBpmnCompensateEventDefinition()
IBpmnComplexBehaviorDefinition createBpmnComplexBehaviorDefinition()
IBpmnComplexGateway createBpmnComplexGateway()
IBpmnConditionalEventDefinition createBpmnConditionalEventDefinition()
IBpmnDataAssociation createBpmnDataAssociation()
IBpmnDataInput createBpmnDataInput()
IBpmnDataObject createBpmnDataObject()
IBpmnDataOutput createBpmnDataOutput()
IBpmnDataState createBpmnDataState()
IBpmnDataStore createBpmnDataStore()
IBpmnEndEvent createBpmnEndEvent()
IBpmnEndPoint createBpmnEndPoint()
IBpmnErrorEventDefinition createBpmnErrorEventDefinition()
IBpmnEscalationEventDefinition createBpmnEscalationEventDefinition()
IBpmnEvent createBpmnEvent()
IBpmnEventBasedGateway createBpmnEventBasedGateway()
IBpmnEventDefinition createBpmnEventDefinition()
IBpmnExclusiveGateway createBpmnExclusiveGateway()
IBpmnFlowElement createBpmnFlowElement()
IBpmnFlowNode createBpmnFlowNode()
IBpmnGateway createBpmnGateway()
IBpmnGroup createBpmnGroup()
IBpmnImplicitThrowEvent createBpmnImplicitThrowEvent()
IBpmnInclusiveGateway createBpmnInclusiveGateway()
IBpmnInterface createBpmnInterface()
IBpmnIntermediateCatchEvent createBpmnIntermediateCatchEvent()
IBpmnIntermediateThrowEvent createBpmnIntermediateThrowEvent()
IBpmnItemAwareElement createBpmnItemAwareElement()
IBpmnItemDefinition createBpmnItemDefinition()
IBpmnLane createBpmnLane()
IBpmnLaneSet createBpmnLaneSet()
IBpmnLinkEventDefinition createBpmnLinkEventDefinition()
IBpmnLoopCharacteristics createBpmnLoopCharacteristics()
IBpmnManualTask createBpmnManualTask()
IBpmnMessage createBpmnMessage()
IBpmnMessageEventDefinition createBpmnMessageEventDefinition()
IBpmnMessageFlow createBpmnMessageFlow()
IBpmnMultiInstanceLoopCharacteristics createBpmnMultiInstanceLoopCharacteristics()
IBpmnOperation createBpmnOperation()
IBpmnParallelGateway createBpmnParallelGateway()
IBpmnParticipant createBpmnParticipant()
IBpmnProcess createBpmnProcess()
IBpmnProcessCollaborationDiagram createBpmnProcessCollaborationDiagram()
IBpmnReceiveTask createBpmnReceiveTask()
IBpmnResource createBpmnResource()
IBpmnResourceParameter createBpmnResourceParameter()
IBpmnResourceParameterBinding createBpmnResourceParameterBinding()
IBpmnResourceRole createBpmnResourceRole()
IBpmnRootElement createBpmnRootElement()
IBpmnScriptTask createBpmnScriptTask()
IBpmnSendTask createBpmnSendTask()
IBpmnSequenceFlow createBpmnSequenceFlow()
IBpmnSequenceFlowDataAssociation createBpmnSequenceFlowDataAssociation()
IBpmnServiceTask createBpmnServiceTask()
IBpmnSignalEventDefinition createBpmnSignalEventDefinition()
IBpmnStandardLoopCharacteristics createBpmnStandardLoopCharacteristics()
IBpmnStartEvent createBpmnStartEvent()
IBpmnSubProcess createBpmnSubProcess()
IBpmnSubProcessDiagram createBpmnSubProcessDiagram()
IBpmnTask createBpmnTask()
IBpmnTerminateEventDefinition createBpmnTerminateEventDefinition()
IBpmnThrowEvent createBpmnThrowEvent()
IBpmnTimerEventDefinition createBpmnTimerEventDefinition()
IBpmnTransaction createBpmnTransaction()
IBpmnUserTask createBpmnUserTask()
ICallBehaviorAction createCallBehaviorAction()
ICallOperationAction createCallOperationAction()
ICentralBufferNode createCentralBufferNode()
IChoicePseudoState createChoicePseudoState()
IClass createClass()
IClass createClass(String name, INameSpace owner)
name
- the name of the Class to create.owner
- the NameSpace that will contain the Class.IClass createClass(String name, INameSpace owner, String stereotype) throws StereotypeNotFoundException
name
- the name of the Class to create.owner
- the NameSpace that will contain the Class.stereotype
- the Stereotype to refer on the class.StereotypeNotFoundException
- if there is no stereotype matching the name and the metaclassIClassAssociation createClassAssociation()
IClassDiagram createClassDiagram(String name, IModelElement owner, String stereotype) throws StereotypeNotFoundException
owner
named by name
and sterotyped by
stereotype
name
- the name of the Class Diagram to create.owner
- the element on which the Class Diagram will be created.stereotype
- the name of the stereotype that will be used to type the Class DiagramStereotypeNotFoundException
- if there is no stereotype matching the name and the metaclassIClause createClause()
ICollaboration createCollaboration()
ICollaborationUse createCollaborationUse()
ICombinedFragment createCombinedFragment()
ICombinedFragment createCombinedFragment(ObInteractionOperatorEnum operator)
operator
- the operator of the CombinedFragment to create.ICommunicationDiagram createCommunicationDiagram(String name, IModelElement owner, String stereotype) throws StereotypeNotFoundException
owner
named by name
and sterotyped by
stereotype
name
- the name of the Communication Diagram to create.owner
- the element on which the Communication Diagram will be created.stereotype
- the name of the stereotype that will be used to type the Communication DiagramStereotypeNotFoundException
- if there is no stereotype matching the name and the metaCommunicationIComponent createComponent()
IComponent createComponent(String name, INameSpace owner)
name
- the name of the Component to create.owner
- the NameSpace that will contain the Component.IComponent createComponent(String name, INameSpace owner, String stereotype) throws StereotypeNotFoundException
name
- the name of the Component to create.owner
- the NameSpace that will contain the Component.stereotype
- the Stereotype to refer on the Component.StereotypeNotFoundException
- if there is no stereotype matching the name and the metaclassICompositeStructureDiagram createCompositeStructureDiagram(String name, IModelElement owner, String stereotype) throws StereotypeNotFoundException
owner
named by name
and sterotyped by
stereotype
name
- the name of the CompositeStructure Diagram to create.owner
- the element on which the Class Diagram will be created.stereotype
- the name of the stereotype that will be used to type the Class DiagramStereotypeNotFoundException
- if there is no stereotype matching the name and the metaclassIConditionalNode createConditionalNode()
IConnectionPointReference createConnectionPointReference()
IConnector createConnector()
IConnector createConnector(IBindableInstance source, IBindableInstance destination, String destinationRole)
source
- the source instance of the Connector.destination
- the destination instance of the Connector.destinationRole
- the Name of the destination role.IConnectorEnd createConnectorEnd()
IConstraint createConstraint()
IControlFlow createControlFlow()
IDataFlow createDataFlow()
IDataStoreNode createDataStoreNode()
IDataType createDataType()
IDataType createDataType(String name, INameSpace owner)
name
- the name of the DataType to create.owner
- the NameSpace that will contain the DataType.IDataType createDataType(String name, INameSpace owner, String stereotype) throws StereotypeNotFoundException
name
- the name of the DataType to create.owner
- the NameSpace that will contain the DataType.stereotype
- the stereotype that will extend the DataType.StereotypeNotFoundException
- if there is no stereotype matching the name and the metaclassIDecisionMergeNode createDecisionMergeNode()
IDeepHistoryPseudoState createDeepHistoryPseudoState()
IDependency createDependency()
IDependency createDependency(IModelElement source, IModelElement destination, String stereotype) throws StereotypeNotFoundException
source
- the origin of the dependency.destination
- the destination of the dependency.stereotype
- the Stereotype that extends the dependency.StereotypeNotFoundException
- if there is no stereotype matching the name and the metaclassIDeploymentDiagram createDeploymentDiagram(String name, IModelElement owner, String stereotype) throws StereotypeNotFoundException
owner
named by name
and sterotyped by
stereotype
name
- the name of the Deployment Diagram to create.owner
- the element on which the Deployment Diagram will be created.stereotype
- the name of the stereotype that will be used to type the Deployment DiagramStereotypeNotFoundException
- if there is no stereotype matching the name and the metaDeploymentIDiagramSet createDiagramSet()
IDurationConstraint createDurationConstraint()
IElement createElement(String metaclassName, IElement parentElement, String relation)
metaclassName
- the metaclass name.parentElement
- the composition owned of the new element.relation
- the name of the relation between the new element and its owner.IElement createElement(String metaclassName)
metaclassName
- the metaclass name.IElement createElement(String metaclassName, String uuid) throws InvalidUuidException
metaclassName
- the metaclass name.uuid
- the uuid of the element to create.InvalidUuidException
- when an element with this uuid already exists, or the uuid has an invalid format.IElementImport createElementImport()
IElementImport createElementImport(INameSpace source, INameSpace destination)
source
- origin of the ElementImportdestination
- destination of the ElementImportIElementImport createElementImport(IOperation source, INameSpace destination)
source
- origin of the ElementImportdestination
- destination of the ElementImportIElementRealization createElementRealization()
IEntryPointPseudoState createEntryPointPseudoState()
IEnumeration createEnumeration()
IEnumeration createEnumeration(String name, INameSpace owner)
name
- the name of the Enumeration to create.owner
- the NameSpace that will contain the EnumerationIEnumeration createEnumeration(String name, INameSpace owner, String stereotype) throws StereotypeNotFoundException
name
- the name of the Enumeration to create.owner
- the NameSpace that will contain the Enumeration.stereotype
- tthe Stereotype that will extend the Enumeration.StereotypeNotFoundException
- if there is no stereotype matching the name and the metaclassIEnumerationLiteral createEnumerationLiteral()
IEnumerationLiteral createEnumerationLiteral(String name, IEnumeration owner)
name
- the name of the EnumerationLiteral to create.owner
- the Enumeration that will contain the EnumerationLiteralIEnumerationLiteral createEnumerationLiteral(String name, IEnumeration owner, String stereotype) throws StereotypeNotFoundException
name
- the name of the EnumerationLiteral to create.owner
- the Enumeration that will contain the EnumerationLiteral.stereotype
- the Stereotype that will extend the EnumerationLiteral.StereotypeNotFoundException
- if there is no stereotype matching the name and the metaclassIEvent createEvent()
IExceptionHandler createExceptionHandler()
IExecutionOccurenceSpecification createExecutionOccurenceSpecification()
IExecutionSpecification createExecutionSpecification()
IExitPointPseudoState createExitPointPseudoState()
IExpansionNode createExpansionNode()
IExpansionRegion createExpansionRegion()
IUseCaseDependency createExtendUseCaseDependency(IUseCase source, IUseCase destination) throws StereotypeNotFoundException
source
- the origin of the UseCaseDependencydestination
- the destination of the UseCaseDependencyStereotypeNotFoundException
- if there is no stereotype matching the name and the metaclassIExtensionPoint createExtensionPoint()
IExternDocument createExternDocument()
IExternDocument createExternDocument(String documentRole, IModelElement owner, String mimeType) throws IOException, DocumentTypeNotFoundException
documentRole
- the role played by the rich note.owner
- the composition owner of the rich note.mimeType
- the MIME type of the rich note.IExternDocument
representing the rich note in the model.DocumentTypeNotFoundException
- if no document type matching the given name and the element metaclass is foundIOException
- in case of failure creating the file.IFinalState createFinalState()
IFlowFinalNode createFlowFinalNode()
IForkJoinNode createForkJoinNode()
IForkPseudoState createForkPseudoState()
IGate createGate()
IGate createGate(String name)
name
- The name of the gate.IGeneralOrdering createGeneralOrdering()
IGeneralization createGeneralization()
IGeneralization createGeneralization(INameSpace source, INameSpace destination)
source
- the child element of the Generaliartiondestination
- the parent element of the GeneraliartionIParameter createIOParameter(String name, IGeneralClass type, IOperation owner)
name
- the name of the Parameter to create.type
- the type of the Parameter to create.owner
- the Operation that will contain the Parameter.IParameter createIOParameter(String name, IGeneralClass type, IOperation owner, String stereotype) throws StereotypeNotFoundException
name
- the name of the Parameter to create.type
- the type of the Parameter to create.owner
- the Operation that will contain the Parameter.stereotype
- the stereotype that will extend the Parameter.StereotypeNotFoundException
- if there is no stereotype matching the name and the metaclassIUseCaseDependency createIncludeUseCaseDependency(IUseCase source, IUseCase destination) throws StereotypeNotFoundException
source
- the origin element of the UseCaseDependencydestination
- the destination element of the UseCaseDependencyStereotypeNotFoundException
- if there is no stereotype matching the name and the metaclassIInformationFlow createInformationFlow()
IInformationItem createInformationItem()
IInitialNode createInitialNode()
IInitialPseudoState createInitialPseudoState()
IInputPin createInputPin()
IInstance createInstance()
IInstance createInstance(String name, IPackage owner)
name
- the name of the Instance to create.owner
- the Package that will conbtain the Port.IInstanceNode createInstanceNode()
IInteraction createInteraction()
IInteractionOperand createInteractionOperand()
IInteractionOperand createInteractionOperand(String guard)
guard
- the guard condition of the InteractionOperand to create.IInteractionUse createInteractionUse()
IInteractionUse createInteractionUse(IInteraction refered)
refered
- the refered Interaction.IInterface createInterface()
IInterface createInterface(String name, INameSpace owner)
name
- the name of the Interface to create.owner
- the NameSpace that will contain the Interface.IInterface createInterface(String name, INameSpace owner, String stereotype) throws StereotypeNotFoundException
name
- the name of the Interface to create.owner
- the NameSpace that will contain the Interface.stereotype
- the stereotype that will extend the Interface.StereotypeNotFoundException
- if there is no stereotype matching the name and the metaclassIInterfaceRealization createInterfaceRealization()
IInterfaceRealization createInterfaceRealization(INameSpace source, IInterface destination)
source
- the origin of the InterfaceRealization.destination
- the destination of the InterfaceRealizationIInternalTransition createInternalTransition()
IInterruptibleActivityRegion createInterruptibleActivityRegion()
IJoinPseudoState createJoinPseudoState()
IJunctionPseudoState createJunctionPseudoState()
ILifeline createLifeline()
ILifeline createLifeline(String name, IInteraction owner)
name
in the owner
Interaction.name
- the name of the Lifeline to create.owner
- the owner Interaction of the Lifeline to create.ILifeline createLifeline(String name, IInteraction owner, IInstance represented)
name
in the owner
Interaction. The
represented
instance is set on the Lifeline.name
- the name of the Lifeline to create.owner
- the owner Interaction of the Lifeline to create.represented
- the Instance that will be represented by the Lifeline.ILink createLink()
ILink createLink(IInstance source, IInstance destination, String destinationRole)
source
- the source instance of the Link.destination
- the destination instance of the Link.destinationRole
- the Name of the destination role.ILinkEnd createLinkEnd()
ILocalNote createLocalNote()
ILocalTaggedValue createLocalTaggedValue()
ILoopNode createLoopNode()
IManifestation createManifestation()
IMessage createMessage()
IMessage createMessage(ObMessageSortEnum sort)
sort
- the type of message to create.IMessage createMessage(ObMessageSortEnum sort, IOperation invoked)
sort
- the type of message to create.invoked
- the operation that is invoked by the Message to create.IMessage createMessage(String name, ObMessageSortEnum sort)
name
and a type. In order to build a valid model, the Message must be
inserted in the model.name
- the name of the message to create.sort
- the type of message to create.IMessageFlow createMessageFlow()
INamespaceUse createNamespaceUse()
INode createNode()
INote createNote()
INote createNote(String noteType, IModelElement owner, String content) throws NoteTypeNotFoundException
noteType
- the type of the Note.owner
- the composition owner of the Note.content
- the text of the Note.NoteTypeNotFoundException
- if no note type matching the given name and the element metaclass is foundIObjectDiagram createObjectDiagram(String name, IModelElement owner, String stereotype) throws StereotypeNotFoundException
owner
named by name
and sterotyped by
stereotype
name
- the name of the Object Diagram to create.owner
- the element on which the Object Diagram will be created.stereotype
- the name of the stereotype that will be used to type the Object DiagramStereotypeNotFoundException
- if there is no stereotype matching the name and the metaObjectIObjectFlow createObjectFlow()
IOpaqueAction createOpaqueAction()
IOpaqueBehavior createOpaqueBehavior()
IOperation createOperation()
IOperation createOperation(String name, IClassifier owner)
name
- the name of the Operation to create.owner
- the Classifier that will contain the Operation.IOperation createOperation(String name, IClassifier owner, String stereotype) throws StereotypeNotFoundException
name
- the name of the Operation to create.owner
- the Classifier that will contain the Operation.stereotype
- the Stereotype that will extend the Operation.StereotypeNotFoundException
- if there is no stereotype matching the name and the metaclassIOutputPin createOutputPin()
IPackage createPackage()
IPackage createPackage(String name, INameSpace owner)
name
- the name of the Package to create.owner
- the NameSpace that will contain the Package.IPackage createPackage(String name, INameSpace owner, String stereotype) throws StereotypeNotFoundException
name
- the name of the Package to create.owner
- the NameSpace that will contain the Package.stereotype
- the Stereotype will extend the Package.StereotypeNotFoundException
- if there is no stereotype matching the name and the metaclassIPackageImport createPackageImport()
IPackageImport createPackageImport(INameSpace source, IPackage destination)
source
- origin of the ElementImportdestination
- destination of the ElementImportIPackageImport createPackageImport(IOperation source, IPackage destination)
source
- origin of the ElementImportdestination
- destination of the ElementImportIPackageMerge createPackageMerge()
IParameter createParameter()
IPartDecomposition createPartDecomposition()
IPartDecomposition createPartDecomposition(IInteraction refered)
refered
- the refered Interaction.IPort createPort()
IPort createPort(String name, IInstance owner)
name
- The name of the Port to create.owner
- The Instance that will contain the Port.IPort createPort(String name, IClassifier owner)
name
- The name of the Port to create.owner
- The Classifier that will contain the Port.IProvidedInterface createProvidedInterface()
IProvidedInterface createProvidedInterface(IPort owner, ObList<IInterface> interfaces)
owner
- the Port that contains the ProvidedInterface.interfaces
- the provided InterfacesIRaisedException createRaisedException()
IRegion createRegion()
IRequiredInterface createRequiredInterface()
IRequiredInterface createRequiredInterface(IPort owner, ObList<IInterface> interfaces)
owner
- the Port that contains the RequiredInterface.interfaces
- the required InterfacesIParameter createReturnParameter(String name, IGeneralClass type, IOperation owner)
name
- the name of the Parameter to create.type
- the type of the Parameter to create.owner
- the Operation that will contain the Parameter.IParameter createReturnParameter(String name, IGeneralClass type, IOperation owner, String stereotype) throws StereotypeNotFoundException
name
- the name of the Parameter to create.type
- the type of the Parameter to create.owner
- the Operation that will contain the Parameter.stereotype
- the stereotype that will extend the Parameter.StereotypeNotFoundException
- if there is no stereotype matching the name and the metaclassISendSignalAction createSendSignalAction()
ISequenceDiagram createSequenceDiagram()
IShallowHistoryPseudoState createShallowHistoryPseudoState()
ISignal createSignal()
IState createState()
IStateInvariant createStateInvariant()
IStateInvariant createStateInvariant(String body)
body
- the body of the StateInvariant to create.IStateMachine createStateMachine()
IStateMachineDiagram createStateMachineDiagram(String name, IModelElement owner, String stereotype) throws StereotypeNotFoundException
owner
named by name
and sterotyped by
stereotype
name
- the name of the StateMachine Diagram to create.owner
- the element on which the StateMachine Diagram will be created.stereotype
- the name of the stereotype that will be used to type the StateMachine DiagramStereotypeNotFoundException
- if there is no stereotype matching the name and the metaStateMachineIStaticDiagram createStaticDiagram(String name, IModelElement owner, String stereotype) throws StereotypeNotFoundException
owner
named by name
and sterotyped by
stereotype
name
- the name of the Static Diagram to create.owner
- the element on which the Static Diagram will be created.stereotype
- the name of the stereotype that will be used to type the Static DiagramStereotypeNotFoundException
- if there is no stereotype matching the name and the metaclassIStructuredActivityNode createStructuredActivityNode()
ISubstitution createSubstitution()
ITagParameter createTagParameter()
ITagParameter createTagParameter(String value, ITaggedValue owner)
value
- the value of the tag parameter.owner
- the owner tagged value of the tag parameter.ITaggedValue createTaggedValue()
ITaggedValue createTaggedValue(String tagType, IModelElement owner) throws TagTypeNotFoundException
tagType
- the type of the TaggedValue.owner
- the ModelElement that contains the Taggedvalue.TagTypeNotFoundException
- if no tag type matching the given name and the element metaclass is foundITemplateBinding createTemplateBinding()
ITemplateParameter createTemplateParameter()
ITemplateParameterSubstitution createTemplateParameterSubstitution()
ITerminatePseudoState createTerminatePseudoState()
ITransition createTransition()
IUsage createUsage()
IUsage createUsage(IModelElement source, IModelElement destination)
source
- the origin of the Usage.destination
- the destination of the Usage.IUseCase createUseCase()
IUseCase createUseCase(String name, INameSpace owner)
name
- the name of the UseCase to create.owner
- the NameSpace that will contain the Usecase.IUseCase createUseCase(String name, INameSpace owner, String stereotype) throws StereotypeNotFoundException
name
- the name of the UseCase to create.owner
- the NameSpace that will contain the Usecase.stereotype
- the Stereotype that will extend the UseCase.StereotypeNotFoundException
- if there is no stereotype matching the name and the metaclassIUseCaseDependency createUseCaseDependency()
IUseCaseDiagram createUseCaseDiagram(String name, IModelElement owner, String stereotype) throws StereotypeNotFoundException
owner
named by name
and sterotyped by
stereotype
name
- the name of the UseCase Diagram to create.owner
- the element on which the UseCase Diagram will be created.stereotype
- the name of the stereotype that will be used to type the UseCase DiagramStereotypeNotFoundException
- if there is no stereotype matching the name and the metaUseCasevoid deleteElement(IElement element)
element
- The element to remove from the model.IDefaultNameService getDefaultNameService()
IPackage getRoot()
IProject getUmlProject()
IUMLTypes getUmlTypes()
IValuePin createValuePin()