public interface IStandardModelFactory extends IInfrastructureModelFactory
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.
This factory is also providing convenience methods that allow to directly create a valid instance for the most frequently used
metaclasses. i.e.:
createClass(String name, NameSpace owner),
createClass(String name, NameSpace owner, Stereotype stereotype) .
These methods ensure the validity of the created element.
createConfigParam, createDependency, createDependency, createDependency, createDiagramSet, createDiagramSet, createDocument, createEnumeratedPropertyType, createExternDocument, createExternDocument, createExternDocument, createExternDocumentType, createExternProcessor, createGraphDiagram, createGraphDiagram, createImpactDiagram, createImpactDiagram, createImpactLink, createImpactLink, createImpactModel, createImpactModel, createImpactProject, createLocalPropertyTable, createMatrixDefinition, createMatrixValueDefinition, createMetaclassReference, createModuleProject, createNote, createNote, createNote, createNoteType, createProfile, createPropertyDefinition, createPropertyEnumerationLitteral, createPropertyTable, createPropertyTableDefinition, createPropertyType, createQueryDefinition, createResourceType, createStereotype, createTaggedValue, createTaggedValue, createTaggedValue, createTagParameter, createTagParameter, createTagType, createTypedPropertyTable, resourceBuilder, setDefaultValue
Abstraction createAbstraction()
Abstraction
.AcceptCallEventAction createAcceptCallEventAction()
AcceptCallEventAction
.AcceptChangeEventAction createAcceptChangeEventAction()
AcceptChangeEventAction
.AcceptSignalAction createAcceptSignalAction()
AcceptSignalAction
.AcceptTimeEventAction createAcceptTimeEventAction()
AcceptTimeEventAction
.Activity createActivity()
ActivityDiagram createActivityDiagram()
ActivityDiagram createActivityDiagram(java.lang.String name, ModelElement owner)
name
- the name of the ActivityDiagram to be created.owner
- the ModelElement that will contain the ActivityDiagram.ActivityFinalNode createActivityFinalNode()
ActivityFinalNode
.ActivityParameterNode createActivityParameterNode()
ActivityParameterNode
.ActivityPartition createActivityPartition()
ActivityPartition
.Actor createActor(java.lang.String name, NameSpace owner)
name
- The name of the Actor to be created.owner
- The NameSpace that will contain the Actor.Actor createActor(java.lang.String name, NameSpace owner, Stereotype stereotype)
name
- The name of the Actor to be created.owner
- The NameSpace that will contain the Actor.stereotype
- the Stereotype that will be referred by the Actor.Actor createActor(java.lang.String name, NameSpace owner, java.lang.String moduleName, java.lang.String stereotypeName) throws ExtensionNotFoundException
name
- The name of the Actor to be created.owner
- The NameSpace that will contain the Actor.moduleName
- name of the module
owning the stereotype.stereotypeName
- the name of the Stereotype that will be referred by the Actor.ExtensionNotFoundException
- if the stereotype is not foundAssociation createAggregation(Classifier source, Classifier destination, java.lang.String destinationRoleName)
source
- the source Classifier of the aggregation.destination
- the destination Classifier of the aggregation.destinationRoleName
- the Name of the destination role.Artifact createArtifact(java.lang.String name, NameSpace owner)
name
- The name of the Artifact to be created.owner
- The NameSpace that will contain the Artifact.Artifact createArtifact(java.lang.String name, NameSpace owner, Stereotype stereotype)
name
- The name of the Artifact to be created.owner
- The NameSpace that will contain the Artifact.stereotype
- the Stereotype that will be referred by the Artifact.Artifact createArtifact(java.lang.String name, NameSpace owner, java.lang.String moduleName, java.lang.String stereotypeName) throws ExtensionNotFoundException
ExtensionNotFoundException
Association createAssociation()
Association
without any role
.Association createAssociation(Classifier source, Classifier destination, java.lang.String destinationRoleName)
source
- the source Classifier of the Association.destination
- the destination Classifier of the Association.destinationRoleName
- the Name of the destination role.AssociationEnd createAssociationEnd()
AssociationEnd
.Attribute createAttribute(java.lang.String name, GeneralClass type, Classifier 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 AttributeAttribute createAttribute(java.lang.String name, GeneralClass type, Classifier owner, Stereotype stereotype)
name
- the name of the Attribute to be created.type
- the GeneralClass that will type the Attribute.owner
- the Classifier that will contain the Attribute.stereotype
- the name of the Stereotype that will be referred by the Attribute.Attribute createAttribute(java.lang.String name, GeneralClass type, Classifier owner, java.lang.String moduleName, java.lang.String stereotypeName) throws ExtensionNotFoundException
ExtensionNotFoundException
AttributeLink createAttributeLink()
BehaviorParameter createBehaviorParameter()
BindableInstance createBindableInstance()
Binding createBinding()
BpmnActivity createBpmnActivity()
BpmnAdHocSubProcess createBpmnAdHocSubProcess()
BpmnAssociation createBpmnAssociation()
BpmnBoundaryEvent createBpmnBoundaryEvent()
BpmnBusinessRuleTask createBpmnBusinessRuleTask()
BpmnCallActivity createBpmnCallActivity()
BpmnCancelEventDefinition createBpmnCancelEventDefinition()
BpmnCollaboration createBpmnCollaboration()
BpmnCollaborationDiagram createBpmnCollaborationDiagram()
BpmnCollaborationDiagram
.BpmnCompensateEventDefinition createBpmnCompensateEventDefinition()
BpmnComplexBehaviorDefinition createBpmnComplexBehaviorDefinition()
BpmnComplexGateway createBpmnComplexGateway()
BpmnConditionalEventDefinition createBpmnConditionalEventDefinition()
BpmnDataAssociation createBpmnDataAssociation()
BpmnDataInput createBpmnDataInput()
BpmnDataObject createBpmnDataObject()
BpmnDataOutput createBpmnDataOutput()
BpmnDataState createBpmnDataState()
BpmnDataStore createBpmnDataStore()
BpmnEndEvent createBpmnEndEvent()
BpmnEndPoint createBpmnEndPoint()
BpmnErrorEventDefinition createBpmnErrorEventDefinition()
BpmnEscalationEventDefinition createBpmnEscalationEventDefinition()
BpmnEventBasedGateway createBpmnEventBasedGateway()
BpmnExclusiveGateway createBpmnExclusiveGateway()
BpmnGroup createBpmnGroup()
BpmnImplicitThrowEvent createBpmnImplicitThrowEvent()
BpmnInclusiveGateway createBpmnInclusiveGateway()
BpmnInterface createBpmnInterface()
BpmnIntermediateCatchEvent createBpmnIntermediateCatchEvent()
BpmnIntermediateThrowEvent createBpmnIntermediateThrowEvent()
BpmnItemDefinition createBpmnItemDefinition()
BpmnItemDefinition
.BpmnLane createBpmnLane()
BpmnLaneSet createBpmnLaneSet()
BpmnLinkEventDefinition createBpmnLinkEventDefinition()
BpmnManualTask createBpmnManualTask()
BpmnManualTask
.BpmnMessage createBpmnMessage()
BpmnMessage
.BpmnMessageEventDefinition createBpmnMessageEventDefinition()
BpmnMessageEventDefinition
.BpmnMessageFlow createBpmnMessageFlow()
BpmnMessageFlow
.BpmnMultiInstanceLoopCharacteristics createBpmnMultiInstanceLoopCharacteristics()
BpmnMultiInstanceLoopCharacteristics
.BpmnOperation createBpmnOperation()
BpmnOperation
.BpmnParallelGateway createBpmnParallelGateway()
BpmnParallelGateway
.BpmnParticipant createBpmnParticipant()
BpmnParticipant
.BpmnProcess createBpmnProcess()
BpmnProcess
.BpmnProcessDesignDiagram createBpmnProcessDesignDiagram()
BpmnProcessDesignDiagram
.BpmnReceiveTask createBpmnReceiveTask()
BpmnReceiveTask
.BpmnResource createBpmnResource()
BpmnResource
.BpmnResourceParameter createBpmnResourceParameter()
BpmnResourceParameter
.BpmnResourceParameterBinding createBpmnResourceParameterBinding()
BpmnResourceParameterBinding
.BpmnResourceRole createBpmnResourceRole()
BpmnResourceRole
.BpmnScriptTask createBpmnScriptTask()
BpmnScriptTask
.BpmnSendTask createBpmnSendTask()
BpmnSendTask
.BpmnSequenceFlow createBpmnSequenceFlow()
BpmnSequenceFlow
.BpmnSequenceFlowDataAssociation createBpmnSequenceFlowDataAssociation()
BpmnSequenceFlowDataAssociation
.BpmnServiceTask createBpmnServiceTask()
BpmnServiceTask
.BpmnSharedDefinitions createBpmnSharedDefinitions()
BpmnSignalEventDefinition createBpmnSignalEventDefinition()
BpmnSignalEventDefinition
.BpmnStandardLoopCharacteristics createBpmnStandardLoopCharacteristics()
BpmnStandardLoopCharacteristics
.BpmnStartEvent createBpmnStartEvent()
BpmnStartEvent
.BpmnSubProcess createBpmnSubProcess()
BpmnSubProcess
.BpmnSubProcessDiagram createBpmnSubProcessDiagram()
BpmnSubProcessDiagram
.BpmnTerminateEventDefinition createBpmnTerminateEventDefinition()
BpmnTerminateEventDefinition
.BpmnTimerEventDefinition createBpmnTimerEventDefinition()
BpmnTimerEventDefinition
.BpmnTransaction createBpmnTransaction()
BpmnTransaction
.BpmnUserTask createBpmnUserTask()
BpmnUserTask
.CallBehaviorAction createCallBehaviorAction()
CallBehaviorAction
.CallOperationAction createCallOperationAction()
CallOperationAction
.CentralBufferNode createCentralBufferNode()
CentralBufferNode
.ChoicePseudoState createChoicePseudoState()
ChoicePseudoState
Class createClass(java.lang.String name, NameSpace owner)
name
- the name of the Class to create.owner
- the NameSpace that will contain the Class.Class createClass(java.lang.String name, NameSpace owner, Stereotype stereotype)
name
- the name of the Class to create.owner
- the NameSpace that will contain the Class.stereotype
- the Stereotype to refer on the class.Class createClass(java.lang.String name, NameSpace owner, java.lang.String moduleName, java.lang.String stereotypeName) throws ExtensionNotFoundException
ExtensionNotFoundException
ClassAssociation createClassAssociation()
ClassAssociation
ClassDiagram createClassDiagram()
ClassDiagram createClassDiagram(java.lang.String name, ModelElement contextElement, Stereotype stereotype)
name
- the name of the Class diagram to be created.contextElement
- the element representing the Object Diagram 'background' for element creation in the diagram. null is not allowed.stereotype
- the Stereotype that will be referred by the diagram.Clause createClause()
ConditionalNode
Clause
.Clause
.Collaboration createCollaboration()
Collaboration
CollaborationUse createCollaborationUse()
CollaborationUse
CombinedFragment createCombinedFragment()
CombinedFragment
CombinedFragment createCombinedFragment(InteractionOperator operator)
operator
- the operator of the CombinedFragment to create.CommunicationChannel createCommunicationChannel()
CommunicationChannel
.CommunicationDiagram createCommunicationDiagram()
CommunicationDiagram
.CommunicationDiagram createCommunicationDiagram(java.lang.String name, ModelElement contextElement)
name
- the name of the Communication diagram to be created.contextElement
- the element representing the Object Diagram 'background' for element creation in the diagram. null is not allowed.CommunicationDiagram createCommunicationDiagram(java.lang.String name, ModelElement contextElement, Stereotype stereotype)
name
- the name of the Communication diagram to be created.contextElement
- the element representing the Object Diagram 'background' for element creation in the diagram. null is not allowed.stereotype
- the Stereotype that will be referred by the diagram.CommunicationInteraction createCommunicationInteraction()
CommunicationInteraction
.CommunicationMessage createCommunicationMessage()
CommunicationMessage
.CommunicationNode createCommunicationNode()
CommunicationNode
.Component createComponent(java.lang.String name, NameSpace owner)
name
- the name of the Component to create.owner
- the NameSpace that will contain the Component.Component createComponent(java.lang.String name, NameSpace owner, Stereotype stereotype)
name
- the name of the Component to create.owner
- the NameSpace that will contain the Component.stereotype
- the Stereotype to refer on the Component.Component createComponent(java.lang.String name, NameSpace owner, java.lang.String moduleName, java.lang.String stereotypeName) throws ExtensionNotFoundException
ExtensionNotFoundException
ComponentRealization createComponentRealization()
ComponentRealization createComponentRealization(Classifier source, Component destination)
ComponentRealization
from a Classifier
to a Component
realizing the Component.
Note : a ComponentRelaization is owned by the target Component
.
source
- the origin of the ComponentRealization.destination
- the destination of the ComponentRealizationCompositeStructureDiagram createCompositeStructureDiagram()
CompositeStructureDiagram
.CompositeStructureDiagram createCompositeStructureDiagram(java.lang.String name, ModelElement contextElement, Stereotype stereotype)
name
- the name of the CompositeStructure diagram to be created.contextElement
- the element representing the CompositeStructure Diagram 'background' for element creation in the diagram. null is
not allowed.stereotype
- the Stereotype that will be referred by the diagram.Association createComposition(Classifier source, Classifier destination, java.lang.String destinationRoleName)
source
- the source Classifier of the composition.destination
- the destination Classifier of the composition.destinationRoleName
- the Name of the destination role.ConditionalNode createConditionalNode()
ConnectionPointReference createConnectionPointReference()
Connector createConnector(BindableInstance source, BindableInstance destination, java.lang.String destinationRoleName)
Connector
.ConnectorEnd createConnectorEnd()
ConnectorEnd
.Constraint createConstraint()
Constraint
.ControlFlow createControlFlow()
ControlFlow
.DataStoreNode createDataStoreNode()
DataStoreNode
.DataType createDataType(java.lang.String name, NameSpace owner)
data type
name
- the name of the DataType to create.owner
- the NameSpace that will contain the DataType.DataType createDataType(java.lang.String name, NameSpace owner, Stereotype stereotype)
data type
name
- the name of the DataType to create.owner
- the NameSpace that will contain the DataType.stereotype
- the stereotype that will extend the DataType.DataType createDataType(java.lang.String name, NameSpace owner, java.lang.String moduleName, java.lang.String stereotypeName) throws ExtensionNotFoundException
ExtensionNotFoundException
DecisionMergeNode createDecisionMergeNode()
DecisionMergeNode
.DeepHistoryPseudoState createDeepHistoryPseudoState()
DeepHistoryPseudoState
.DeploymentDiagram createDeploymentDiagram()
deployment diagram
.DeploymentDiagram
.DeploymentDiagram createDeploymentDiagram(java.lang.String name, ModelElement contextElement)
name
- the name of the Deployment diagram to be created.contextElement
- the element representing the Deployment Diagram 'background' for element creation in the diagram. null is not
allowed.DeploymentDiagram createDeploymentDiagram(java.lang.String name, ModelElement contextElement, Stereotype stereotype)
name
- the name of the Deployment diagram to be created.contextElement
- the element representing the Deployment Diagram 'background' for element creation in the diagram. null is not
allowed.stereotype
- the Stereotype that will be referred by the diagram.DurationConstraint createDurationConstraint()
DurationConstraint
.ElementImport createElementImport()
ElementImport
.ElementImport createElementImport(NameSpace source, NameSpace destination)
source
- origin of the ElementImportdestination
- destination of the ElementImportElementImport createElementImport(Operation source, NameSpace destination)
source
- origin of the ElementImportdestination
- destination of the ElementImportElementRealization createElementRealization()
ElementRealization
.EntryPointPseudoState createEntryPointPseudoState()
EntryPointPseudoState
.Enumeration createEnumeration()
Enumeration
.Enumeration createEnumeration(java.lang.String name, NameSpace owner)
name
- the name of the Enumeration to create.owner
- the NameSpace that will contain the EnumerationEnumeration createEnumeration(java.lang.String name, NameSpace owner, Stereotype stereotype)
name
- the name of the Enumeration to create.owner
- the NameSpace that will contain the Enumeration.stereotype
- tthe Stereotype that will extend the Enumeration.Enumeration createEnumeration(java.lang.String name, NameSpace owner, java.lang.String moduleName, java.lang.String stereotypeName) throws ExtensionNotFoundException
ExtensionNotFoundException
EnumerationLiteral createEnumerationLiteral()
EnumerationLiteral
.EnumerationLiteral createEnumerationLiteral(java.lang.String name, Enumeration owner)
name
- the name of the EnumerationLiteral to create.owner
- the Enumeration that will contain the EnumerationLiteralEnumerationLiteral createEnumerationLiteral(java.lang.String name, Enumeration owner, Stereotype stereotype)
name
- the name of the EnumerationLiteral to create.owner
- the Enumeration that will contain the EnumerationLiteral.stereotype
- the Stereotype that will extend the EnumerationLiteral.EnumerationLiteral createEnumerationLiteral(java.lang.String name, Enumeration owner, java.lang.String moduleName, java.lang.String stereotypeName) throws ExtensionNotFoundException
ExtensionNotFoundException
ExceptionHandler createExceptionHandler()
ExceptionHandler
.ExecutionOccurenceSpecification createExecutionOccurenceSpecification()
ExecutionOccurenceSpecification
.ExecutionSpecification createExecutionSpecification()
ExecutionSpecification
.ExitPointPseudoState createExitPointPseudoState()
ExitPointPseudoState
.ExpansionNode createExpansionNode()
ExpansionNode
.ExpansionRegion createExpansionRegion()
ExpansionRegion
.UseCaseDependency createExtendUseCaseDependency(UseCase source, UseCase destination) throws ExtensionNotFoundException
UseCaseDependency
.source
- the origin of the UseCaseDependencydestination
- the destination of the UseCaseDependencyExtensionNotFoundException
- in the unlikely case where the "Extends" stereotype is missing.ExtensionPoint createExtensionPoint()
ExtensionPoint
.FinalState createFinalState()
FinalState
.FlowFinalNode createFlowFinalNode()
FlowFinalNode
.ForkJoinNode createForkJoinNode()
ForkJoinNode
.ForkPseudoState createForkPseudoState()
ForkPseudoState
.Gate createGate(java.lang.String name)
name
- the name of the Gate.GeneralOrdering createGeneralOrdering()
GeneralOrdering
.Generalization createGeneralization()
Generalization
.Generalization createGeneralization(NameSpace source, NameSpace destination)
source
- the child element of the Generalizationdestination
- the parent element of the GeneralizationParameter createIOParameter(java.lang.String name, GeneralClass type, Operation 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.Parameter createIOParameter(java.lang.String name, GeneralClass type, Operation owner, Stereotype stereotype)
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.Parameter createIOParameter(java.lang.String name, GeneralClass type, Operation owner, java.lang.String moduleName, java.lang.String stereotypeName) throws ExtensionNotFoundException
ExtensionNotFoundException
UseCaseDependency createIncludeUseCaseDependency(UseCase source, UseCase destination) throws ExtensionNotFoundException
source
- the origin element of the UseCaseDependencydestination
- the destination element of the UseCaseDependencyExtensionNotFoundException
- in the unlikely case where the "include" stereotype is missing.InformationFlow createInformationFlow()
InformationFlow
.InformationItem createInformationItem()
InformationItem
.InitialNode createInitialNode()
InitialNode
.InitialPseudoState createInitialPseudoState()
InitialPseudoState
.Instance createInstance(java.lang.String name, Package owner)
name
- the name of the Instance to create.owner
- the Package that will conbtain the Port.InstanceNode createInstanceNode()
InstanceNode
.Interaction createInteraction()
Interaction
.InteractionOperand createInteractionOperand()
InteractionOperand
.InteractionOperand createInteractionOperand(java.lang.String guard)
guard
- the guard condition of the InteractionOperand to create.InteractionUse createInteractionUse()
InteractionUse
.InteractionUse createInteractionUse(Interaction referred)
referred
- the referred Interaction.Interface createInterface(java.lang.String name, NameSpace owner)
name
- the name of the Interface to create.owner
- the NameSpace that will contain the Interface.Interface createInterface(java.lang.String name, NameSpace owner, Stereotype stereotype)
name
- the name of the Interface to create.owner
- the NameSpace that will contain the Interface.stereotype
- the stereotype that will extend the Interface.Interface createInterface(java.lang.String name, NameSpace owner, java.lang.String moduleName, java.lang.String stereotypeName) throws ExtensionNotFoundException
ExtensionNotFoundException
InterfaceRealization createInterfaceRealization()
InterfaceRealization
.InterfaceRealization createInterfaceRealization(NameSpace source, Interface destination)
source
- the origin of the InterfaceRealization.destination
- the destination of the InterfaceRealizationInternalTransition createInternalTransition()
InternalTransition
.InterruptibleActivityRegion createInterruptibleActivityRegion()
InterruptibleActivityRegion
.JoinPseudoState createJoinPseudoState()
JoinPseudoState
.JunctionPseudoState createJunctionPseudoState()
JunctionPseudoState
.Lifeline createLifeline(java.lang.String name, Interaction owner)
name
- the name of the Lifeline to create.owner
- the owner Interaction of the Lifeline to create.Lifeline createLifeline(java.lang.String name, Interaction owner, Instance represented)
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.Link createLink(Instance source, Instance destination, java.lang.String destinationRoleName)
instance link
.source
- the source instancedestination
- the target instancedestinationRoleName
- the name of the role towards the target.Manifestation createManifestation()
artifact
Manifestation
.Manifestation
.Message createMessage(MessageSort sort)
sort
- the type of message to create.Message createMessage(MessageSort sort, Operation invoked)
sort
- the type of message to create.invoked
- the operation that is invoked by the Message to create.Message createMessage(java.lang.String name, MessageSort sort)
name
- the name of the message to create.sort
- the type of message to create.MessageFlow createMessageFlow()
MessageFlow
.NaryAssociation createNaryAssociation()
NaryAssociation
.NaryAssociation createNaryAssociation(java.util.List<Classifier> ends)
ends
- the Classifiers linked by the nary association.NaryAssociationEnd createNaryAssociationEnd()
NaryAssociationEnd
.NaryConnector createNaryConnector()
NaryConnector
.NaryConnector createNaryConnector(java.util.List<BindableInstance> ends)
ends
- the BindableInstances bound by the NaryConnector.NaryConnectorEnd createNaryConnectorEnd()
NaryConnectorEnd
.NaryLink createNaryLink(java.util.List<Instance> ends)
ends
- the Instances bound by the NaryLink.NaryLinkEnd createNaryLinkEnd()
NaryLinkEnd
.ObjectDiagram createObjectDiagram()
ObjectDiagram
.ObjectDiagram createObjectDiagram(java.lang.String name, ModelElement contextElement)
name
- the name of the Object diagram to be created.contextElement
- the element representing the Object Diagram 'background' for element creation in the diagram. null is not allowed.ObjectDiagram createObjectDiagram(java.lang.String name, ModelElement contextElement, Stereotype stereotype)
name
- the name of the Object diagram to be created.contextElement
- the element representing the Object Diagram 'background' for element creation in the diagram. null is not allowed.stereotype
- the Stereotype that will be referred by the diagram.ObjectFlow createObjectFlow()
ObjectFlow
.OpaqueAction createOpaqueAction()
OpaqueAction
.OpaqueBehavior createOpaqueBehavior()
OpaqueBehavior
.Operation createOperation(java.lang.String name, Classifier owner)
name
- the name of the Operation to create.owner
- the Classifier that will contain the Operation.Operation createOperation(java.lang.String name, Classifier owner, Stereotype stereotype)
name
- the name of the Operation to create.owner
- the Classifier that will contain the Operation.stereotype
- the Stereotype that will extend the Operation.Operation createOperation(java.lang.String name, Classifier owner, java.lang.String moduleName, java.lang.String stereotypeName) throws ExtensionNotFoundException
ExtensionNotFoundException
Package createPackage()
UML package
.Package
.Package createPackage(java.lang.String name, NameSpace owner)
UML package
.name
- the name of the Package to create.owner
- the NameSpace that will contain the Package.Package createPackage(java.lang.String name, NameSpace owner, Stereotype stereotype)
UML package
.name
- the name of the Package to create.owner
- the NameSpace that will contain the Package.stereotype
- the Stereotype will extend the Package.Package createPackage(java.lang.String name, NameSpace owner, java.lang.String moduleName, java.lang.String stereotypeName) throws ExtensionNotFoundException
ExtensionNotFoundException
PackageImport createPackageImport()
PackageImport
.PackageImport createPackageImport(NameSpace source, Package destination)
source
- origin of the ElementImportdestination
- destination of the ElementImportElementImport
representing the ElementImport in the Model.PackageImport createPackageImport(Operation source, Package destination)
source
- origin of the PackageImportdestination
- destination of the PackageImportPackageMerge createPackageMerge()
PackageMerge
.PartDecomposition createPartDecomposition()
PartDecomposition
.PartDecomposition createPartDecomposition(Interaction referred)
referred
- the referred Interaction.Port createPort(java.lang.String name, Instance owner)
name
- The name of the Port to create.owner
- The Instance that will contain the Port.Port createPort(java.lang.String name, Classifier owner)
name
- The name of the Port to create.owner
- The Classifier that will contain the Port.Project createProject(IRepository repository)
Project
.repository
- the repository where the model object will be stored.Project
.ProvidedInterface createProvidedInterface()
ProvidedInterface
.ProvidedInterface createProvidedInterface(Port owner, java.util.List<Interface> interfaces)
owner
- the Port that contains the ProvidedInterface.interfaces
- the provided InterfacesRaisedException createRaisedException()
RaisedException
.RequiredInterface createRequiredInterface()
RequiredInterface
.RequiredInterface createRequiredInterface(Port owner, java.util.List<Interface> interfaces)
owner
- the Port that contains the RequiredInterface.interfaces
- the required InterfacesParameter createReturnParameter(java.lang.String name, GeneralClass type, Operation 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.Parameter createReturnParameter(java.lang.String name, GeneralClass type, Operation owner, Stereotype stereotype)
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.Parameter createReturnParameter(java.lang.String name, GeneralClass type, Operation owner, java.lang.String moduleName, java.lang.String stereotypeName) throws ExtensionNotFoundException
ExtensionNotFoundException
SendSignalAction createSendSignalAction()
SendSignalAction
.SequenceDiagram createSequenceDiagram()
SequenceDiagram
.SequenceDiagram createSequenceDiagram(java.lang.String name, ModelElement contextElement)
name
- the name of the SequenceDiagram to be created.contextElement
- the element representing the Static Diagram 'background' for element creation in the diagram. null is not allowed.ShallowHistoryPseudoState createShallowHistoryPseudoState()
ShallowHistoryPseudoState
.StateInvariant createStateInvariant()
StateInvariant
.StateInvariant createStateInvariant(java.lang.String body)
body
- the body of the StateInvariant to create.StateMachine createStateMachine()
StateMachine
.StateMachineDiagram createStateMachineDiagram()
StateMachineDiagram
.StateMachineDiagram createStateMachineDiagram(java.lang.String name, ModelElement contextElement, Stereotype stereotype)
name
- the name of the StateMachine diagram to be created.contextElement
- the element representing the StateMachine Diagram 'background' for element creation in the diagram. null is not
allowed.stereotype
- the Stereotype that will be referred by the diagram.StaticDiagram createStaticDiagram()
StaticDiagram
.StaticDiagram createStaticDiagram(java.lang.String name, ModelElement owner, Stereotype 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 DiagramStaticDiagram createStaticDiagram(java.lang.String name, ModelElement owner, java.lang.String moduleName, java.lang.String stereotypeName) throws ExtensionNotFoundException
ExtensionNotFoundException
StructuredActivityNode createStructuredActivityNode()
StructuredActivityNode
.Substitution createSubstitution()
Substitution
.TemplateBinding createTemplateBinding()
TemplateParameter createTemplateParameter()
TemplateParameterSubstitution createTemplateParameterSubstitution()
TerminatePseudoState createTerminatePseudoState()
TerminatePseudoState
.TerminateSpecification createTerminateSpecification()
TerminateSpecification
.Transition createTransition()
Transition
.Usage createUsage(ModelElement source, ModelElement destination)
source
- the origin of the Usage.destination
- the destination of the Usage.UseCase createUseCase(java.lang.String name, NameSpace owner)
name
- the name of the UseCase to create.owner
- the NameSpace that will contain the Usecase.UseCase createUseCase(java.lang.String name, NameSpace owner, Stereotype stereotype)
name
- the name of the UseCase to create.owner
- the NameSpace that will contain the Usecase.stereotype
- the Stereotype that will extend the UseCase.UseCase createUseCase(java.lang.String name, NameSpace owner, java.lang.String moduleName, java.lang.String stereotypeName) throws ExtensionNotFoundException
ExtensionNotFoundException
UseCaseDependency createUseCaseDependency()
UseCaseDependency
.UseCaseDiagram createUseCaseDiagram()
UseCaseDiagram
.UseCaseDiagram createUseCaseDiagram(java.lang.String diagramName, ModelElement contextElement)
diagramName
- the name of the UseCase diagram to be created.contextElement
- the element representing the UseCase Diagram 'background' for element creation in the diagram. null is not
allowed.UseCaseDiagram createUseCaseDiagram(java.lang.String name, ModelElement contextElement, Stereotype stereotype)
name
- the name of the UseCase diagram to be created.contextElement
- the element representing the UseCase Diagram 'background' for element creation in the diagram. null is not
allowed.stereotype
- the Stereotype that will be referred by the diagram.ExternElement createExternElement()
UML class
.ExternElement createExternElement(java.lang.String name, MethodologicalLink owner, Stereotype stereotype)
name
- the name of the ExternElement to create.owner
- the MethodologicalLink that will contain the ExternElement.stereotype
- the Stereotype to refer on the ExternElement.ExternElement createExternElement(java.lang.String name, MethodologicalLink owner, java.lang.String moduleName, java.lang.String stereotypeName)
MethodologicalLink createMethodologicalLink()
MethodologicalLink
.MethodologicalLink createMethodologicalLink(ModelElement source, ModelElement destination, Stereotype stereotype)
source
- the origin of the MethodologicalLink.destination
- the destination of the MethodologicalLink.stereotype
- the Stereotype that extends the MethodologicalLink.MethodologicalLink createMethodologicalLink(ModelElement source, ModelElement destination, java.lang.String moduleName, java.lang.String stereotypeName)