From f694cdf9d84a15fe7d2087bf3efb5764d321abf4 Mon Sep 17 00:00:00 2001 From: HammerMaximilian <58948559+HammerMaximilian@users.noreply.github.com> Date: Tue, 30 Jan 2024 17:50:05 +0100 Subject: [PATCH 01/25] Update CS_Object.cs --- .../pscs/src/pscs/semantics/structuredclassifiers/CS_Object.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fUML-CSharp/pscs/src/pscs/semantics/structuredclassifiers/CS_Object.cs b/fUML-CSharp/pscs/src/pscs/semantics/structuredclassifiers/CS_Object.cs index 3d85278..a65848e 100644 --- a/fUML-CSharp/pscs/src/pscs/semantics/structuredclassifiers/CS_Object.cs +++ b/fUML-CSharp/pscs/src/pscs/semantics/structuredclassifiers/CS_Object.cs @@ -527,7 +527,7 @@ public bool Contains(Object_ object_) Value value = values.ElementAt(j); if (value is CS_Object cS_Object_) { - objectIsContained = cS_Object_.Contains(cS_Object_); + objectIsContained = cS_Object_.Contains(object_); } else if (value is CS_Reference reference) { From 448a7ecd732b754d6309c7a6109c16dd7a8afd43 Mon Sep 17 00:00:00 2001 From: HammerMaximilian <58948559+HammerMaximilian@users.noreply.github.com> Date: Thu, 1 Feb 2024 17:36:38 +0100 Subject: [PATCH 02/25] Update CS_Executor.cs --- fUML-CSharp/pscs/src/pscs/semantics/loci/CS_Executor.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fUML-CSharp/pscs/src/pscs/semantics/loci/CS_Executor.cs b/fUML-CSharp/pscs/src/pscs/semantics/loci/CS_Executor.cs index 31a3950..0d06f50 100644 --- a/fUML-CSharp/pscs/src/pscs/semantics/loci/CS_Executor.cs +++ b/fUML-CSharp/pscs/src/pscs/semantics/loci/CS_Executor.cs @@ -25,7 +25,7 @@ public override Reference Start(Class_ type, List inputs) Reference reference; if (object_ is CS_Object cS_Object) { - reference = new(); + reference = new CS_Reference(); ((CS_Reference)reference).compositeReferent = cS_Object; } else From 07c3d52ead6ed38dd86b1eed9f7ce488043934e3 Mon Sep 17 00:00:00 2001 From: HammerMaximilian <58948559+HammerMaximilian@users.noreply.github.com> Date: Wed, 14 Feb 2024 14:42:09 +0100 Subject: [PATCH 03/25] Fixed typo --- .../src/fuml/generator/model/generateModelClassFile.mtl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fUML-CSharp/generator/src/fuml/generator/model/generateModelClassFile.mtl b/fUML-CSharp/generator/src/fuml/generator/model/generateModelClassFile.mtl index 0d0ed1c..c71f689 100644 --- a/fUML-CSharp/generator/src/fuml/generator/model/generateModelClassFile.mtl +++ b/fUML-CSharp/generator/src/fuml/generator/model/generateModelClassFile.mtl @@ -1076,7 +1076,7 @@ AddToElementRepository("[anElement.getName()/]", [anElement.getFullNameSanitized [/template] [template private generateCallActionInitialization(aCallAction : CallAction) post(trim())] -[aCallAction.generateInvocationActionActivation()/] +[aCallAction.generateInvocationActionInitialization()/] [comment Property 'CallAction::isSynchronous' /] [if (not (aCallAction.isSynchronous))] [aCallAction.getFullNameSanitized()/].isSynchronous = false; @@ -1198,7 +1198,7 @@ AddToElementRepository("[anElement.getName()/]", [anElement.getFullNameSanitized [/if] [/template] -[template private generateInvocationActionActivation(anInvocationAction : InvocationAction)] +[template private generateInvocationActionInitialization(anInvocationAction : InvocationAction)] [anInvocationAction.generateActionInitialization()/] [comment Property 'anInvocationAction::onPort'/] [if (not anInvocationAction.onPort.oclIsUndefined())] From 639c7d6f9f3b5b20763152bc364d58485fb7579d Mon Sep 17 00:00:00 2001 From: HammerMaximilian <58948559+HammerMaximilian@users.noreply.github.com> Date: Tue, 27 Feb 2024 16:47:49 +0100 Subject: [PATCH 04/25] Create UMLConformingDispatchStrategy.cs --- .../UMLConformingDispatchStrategy.cs | 104 ++++++++++++++++++ 1 file changed, 104 insertions(+) create mode 100644 fUML-CSharp/fuml/src/fuml/extensions/structuredclassifiers/UMLConformingDispatchStrategy.cs diff --git a/fUML-CSharp/fuml/src/fuml/extensions/structuredclassifiers/UMLConformingDispatchStrategy.cs b/fUML-CSharp/fuml/src/fuml/extensions/structuredclassifiers/UMLConformingDispatchStrategy.cs new file mode 100644 index 0000000..1aeca1d --- /dev/null +++ b/fUML-CSharp/fuml/src/fuml/extensions/structuredclassifiers/UMLConformingDispatchStrategy.cs @@ -0,0 +1,104 @@ +using uml.classification; +using uml.commonstructure; + +namespace fuml.extensions.structuredclassifiers +{ + public class UMLConformingDispatchStrategy : SignatureBasedDispatchStrategy + { + public override bool OperationsMatch( + Operation ownedOperation, + Operation baseOperation) + { + // Check if the owned operation is equal to or overrides the base operation. + // In this context, an owned operation overrides a base operation if: + // - they have the same number of owned parameters and for each parameter the following holds: + // - direction, ordering and uniqueness are the same + // - the corresponding types are covariant, contravariant or invariant + // - the multiplicities are compatible depending on the parameter direction + + bool matches; + if (ownedOperation == baseOperation) + { + matches = true; + } + else + { + matches = IsConsistentWith(ownedOperation, baseOperation); + } + + return matches; + } // operationsMatch + + public bool IsConsistentWith( + Operation ownedOperation, + Operation baseOperation) + { + bool isConsistentWith; + + // NOTE: UML specification implies first checking if the context of baseOperation is valid + // (i.e. is a direct or indirect base class of the owner of ownedOperation). + // Here this is already implicitely done by only traversing base classes of ownedOperation's owner + + List ownedOperationParameters = ownedOperation.ownedParameter; + List baseOperationParameters = baseOperation.ownedParameter; + + isConsistentWith = baseOperationParameters.Count == ownedOperationParameters.Count; + + for (int i = 0; isConsistentWith == true && i < ownedOperationParameters.Count; i++) + { + Parameter redefiningParameter = ownedOperationParameters.ElementAt(i); + Parameter redefinedParameter = baseOperationParameters.ElementAt(i); + + isConsistentWith = isConsistentWith && (redefinedParameter.multiplicityElement.isUnique == redefiningParameter.multiplicityElement.isUnique); + isConsistentWith = isConsistentWith && (redefinedParameter.multiplicityElement.isOrdered == redefiningParameter.multiplicityElement.isOrdered); + isConsistentWith = isConsistentWith && (redefinedParameter.direction == redefiningParameter.direction); + + Classifier redefiningParameterType = (Classifier)redefiningParameter.type!; + Classifier redefinedParameterType = (Classifier)redefinedParameter.type!; + isConsistentWith = isConsistentWith && (ConformsTo(redefiningParameterType, redefinedParameterType) || ConformsTo(redefinedParameterType, redefiningParameterType)); + + if(redefinedParameter.direction == ParameterDirectionKind.inout) + { + isConsistentWith = isConsistentWith && + ( + CompatibleWith(redefiningParameter.multiplicityElement, redefinedParameter.multiplicityElement) && + CompatibleWith(redefinedParameter.multiplicityElement, redefiningParameter.multiplicityElement) + ); + } + else if (redefinedParameter.direction == ParameterDirectionKind.in_) + { + isConsistentWith = isConsistentWith && CompatibleWith(redefiningParameter.multiplicityElement, redefinedParameter.multiplicityElement); + } + else // i.e. if((redefinedParameter.direction == ParameterDirectionKind.out_) || (redefinedParameter.direction == ParameterDirectionKind.return_)) + { + isConsistentWith = isConsistentWith && CompatibleWith(redefinedParameter.multiplicityElement, redefiningParameter.multiplicityElement); + } + } + + return isConsistentWith; + } + + public bool ConformsTo(Classifier type, Classifier otherType) + { + bool conformsTo; + + if(type == otherType) + { + conformsTo = true; + } + else + { + conformsTo = IsSpecializationOf(type, otherType); + } + + return conformsTo; + } + + public bool CompatibleWith(MultiplicityElement self, MultiplicityElement other) + { + bool compatibleWith = (other.lower <= self.lower) && ((other.upper.naturalValue == -1) || (self.upper.naturalValue <= other.upper.naturalValue)); + + return compatibleWith; + } + } // UMLConformingDispatchStrategy +} From 8fc22e7a6f05f013b6f810703548cf14e183d834 Mon Sep 17 00:00:00 2001 From: HammerMaximilian <58948559+HammerMaximilian@users.noreply.github.com> Date: Thu, 7 Mar 2024 13:06:46 +0100 Subject: [PATCH 05/25] Update UMLConformingDispatchStrategy.cs --- .../UMLConformingDispatchStrategy.cs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/fUML-CSharp/fuml/src/fuml/extensions/structuredclassifiers/UMLConformingDispatchStrategy.cs b/fUML-CSharp/fuml/src/fuml/extensions/structuredclassifiers/UMLConformingDispatchStrategy.cs index 1aeca1d..c80ae96 100644 --- a/fUML-CSharp/fuml/src/fuml/extensions/structuredclassifiers/UMLConformingDispatchStrategy.cs +++ b/fUML-CSharp/fuml/src/fuml/extensions/structuredclassifiers/UMLConformingDispatchStrategy.cs @@ -49,9 +49,9 @@ public bool IsConsistentWith( Parameter redefiningParameter = ownedOperationParameters.ElementAt(i); Parameter redefinedParameter = baseOperationParameters.ElementAt(i); - isConsistentWith = isConsistentWith && (redefinedParameter.multiplicityElement.isUnique == redefiningParameter.multiplicityElement.isUnique); - isConsistentWith = isConsistentWith && (redefinedParameter.multiplicityElement.isOrdered == redefiningParameter.multiplicityElement.isOrdered); - isConsistentWith = isConsistentWith && (redefinedParameter.direction == redefiningParameter.direction); + isConsistentWith = isConsistentWith && (redefiningParameter.multiplicityElement.isUnique == redefinedParameter.multiplicityElement.isUnique); + isConsistentWith = isConsistentWith && (redefiningParameter.multiplicityElement.isOrdered == redefinedParameter.multiplicityElement.isOrdered); + isConsistentWith = isConsistentWith && (redefiningParameter.direction == redefinedParameter.direction); Classifier redefiningParameterType = (Classifier)redefiningParameter.type!; Classifier redefinedParameterType = (Classifier)redefinedParameter.type!; @@ -67,11 +67,11 @@ public bool IsConsistentWith( } else if (redefinedParameter.direction == ParameterDirectionKind.in_) { - isConsistentWith = isConsistentWith && CompatibleWith(redefiningParameter.multiplicityElement, redefinedParameter.multiplicityElement); + isConsistentWith = isConsistentWith && CompatibleWith(redefinedParameter.multiplicityElement, redefiningParameter.multiplicityElement); } else // i.e. if((redefinedParameter.direction == ParameterDirectionKind.out_) || (redefinedParameter.direction == ParameterDirectionKind.return_)) { - isConsistentWith = isConsistentWith && CompatibleWith(redefinedParameter.multiplicityElement, redefiningParameter.multiplicityElement); + isConsistentWith = isConsistentWith && CompatibleWith(redefiningParameter.multiplicityElement, redefinedParameter.multiplicityElement); } } From 0cd53bb5d1bd7f63fcb04b73405c053cf9bb51ec Mon Sep 17 00:00:00 2001 From: Maximilian Hammer Date: Mon, 18 Mar 2024 13:54:28 +0100 Subject: [PATCH 06/25] Update UMLConformingDispatchStrategy.cs --- .../UMLConformingDispatchStrategy.cs | 36 ++++++++++--------- 1 file changed, 19 insertions(+), 17 deletions(-) diff --git a/fUML-CSharp/fuml/src/fuml/extensions/structuredclassifiers/UMLConformingDispatchStrategy.cs b/fUML-CSharp/fuml/src/fuml/extensions/structuredclassifiers/UMLConformingDispatchStrategy.cs index c80ae96..8a2c7b2 100644 --- a/fUML-CSharp/fuml/src/fuml/extensions/structuredclassifiers/UMLConformingDispatchStrategy.cs +++ b/fUML-CSharp/fuml/src/fuml/extensions/structuredclassifiers/UMLConformingDispatchStrategy.cs @@ -1,9 +1,10 @@ -using uml.classification; +using fuml.semantics.structuredclassifiers; +using uml.classification; using uml.commonstructure; namespace fuml.extensions.structuredclassifiers { - public class UMLConformingDispatchStrategy : SignatureBasedDispatchStrategy + public class UMLConformingDispatchStrategy : RedefinitionBasedDispatchStrategy { public override bool OperationsMatch( Operation ownedOperation, @@ -11,17 +12,15 @@ public override bool OperationsMatch( { // Check if the owned operation is equal to or overrides the base operation. // In this context, an owned operation overrides a base operation if: + // - base operation is directly or indirectly redefined by owned operation + // - the class that owns base operation is equal to or a base class of the class that owns owned operation // - they have the same number of owned parameters and for each parameter the following holds: // - direction, ordering and uniqueness are the same // - the corresponding types are covariant, contravariant or invariant // - the multiplicities are compatible depending on the parameter direction - bool matches; - if (ownedOperation == baseOperation) - { - matches = true; - } - else + bool matches = base.OperationsMatch(ownedOperation, baseOperation); + if (matches) { matches = IsConsistentWith(ownedOperation, baseOperation); } @@ -35,14 +34,12 @@ public bool IsConsistentWith( { bool isConsistentWith; - // NOTE: UML specification implies first checking if the context of baseOperation is valid - // (i.e. is a direct or indirect base class of the owner of ownedOperation). - // Here this is already implicitely done by only traversing base classes of ownedOperation's owner + isConsistentWith = ConformsTo(ownedOperation.class_!, baseOperation.class_!); List ownedOperationParameters = ownedOperation.ownedParameter; List baseOperationParameters = baseOperation.ownedParameter; - isConsistentWith = baseOperationParameters.Count == ownedOperationParameters.Count; + isConsistentWith = isConsistentWith && (baseOperationParameters.Count == ownedOperationParameters.Count); for (int i = 0; isConsistentWith == true && i < ownedOperationParameters.Count; i++) { @@ -57,9 +54,9 @@ public bool IsConsistentWith( Classifier redefinedParameterType = (Classifier)redefinedParameter.type!; isConsistentWith = isConsistentWith && (ConformsTo(redefiningParameterType, redefinedParameterType) || ConformsTo(redefinedParameterType, redefiningParameterType)); - if(redefinedParameter.direction == ParameterDirectionKind.inout) + if (redefinedParameter.direction == ParameterDirectionKind.inout) { - isConsistentWith = isConsistentWith && + isConsistentWith = isConsistentWith && ( CompatibleWith(redefiningParameter.multiplicityElement, redefinedParameter.multiplicityElement) && CompatibleWith(redefinedParameter.multiplicityElement, redefiningParameter.multiplicityElement) @@ -80,15 +77,20 @@ public bool IsConsistentWith( public bool ConformsTo(Classifier type, Classifier otherType) { - bool conformsTo; + bool conformsTo = false; - if(type == otherType) + if (type == otherType) { conformsTo = true; } else { - conformsTo = IsSpecializationOf(type, otherType); + int i = 1; + while (conformsTo is false && i <= type.general.Count) + { + Classifier general = type.general.ElementAt(i); + conformsTo = ConformsTo(general, otherType); + } } return conformsTo; From cc8516940e60df56b4e9dbd117ca777e8c56aae1 Mon Sep 17 00:00:00 2001 From: Maximilian Hammer Date: Tue, 23 Apr 2024 16:00:59 +0200 Subject: [PATCH 07/25] Fixed faulty call to addMemberEnd() in Association --- fUML-CSharp/uml/src/uml/structuredclassifiers/Association.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fUML-CSharp/uml/src/uml/structuredclassifiers/Association.cs b/fUML-CSharp/uml/src/uml/structuredclassifiers/Association.cs index f3d0494..aabbfb8 100644 --- a/fUML-CSharp/uml/src/uml/structuredclassifiers/Association.cs +++ b/fUML-CSharp/uml/src/uml/structuredclassifiers/Association.cs @@ -25,7 +25,7 @@ public void AddOwnedEnd(Property ownedEnd) this.ownedEnd.Add(ownedEnd); ownedEnd._setOwningAssociation(this); - _addMemberEnd(ownedEnd); + AddMemberEnd(ownedEnd); } // addOwnedEnd public void AddNavigableOwnedEnd( From 5642032c57817b286ab08615cf5e43f80de59a0f Mon Sep 17 00:00:00 2001 From: Maximilian Hammer Date: Tue, 23 Apr 2024 21:50:59 +0200 Subject: [PATCH 08/25] Added override of method GetOfferingOutputPins in class CS_CallOperationActionActivation to bypass missing initialization of CallActionActivation::nonStreamingOutputPins when CS_CallActionActivation::DoAction is called --- .../CS_CallOperationActionActivation.cs | 2 +- ..._CallOperationActionActivationExtension.cs | 19 +++++++++++++++++++ 2 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 fUML-CSharp/pscs/src/pscs/semantics/actions/CS_CallOperationActionActivationExtension.cs diff --git a/fUML-CSharp/pscs/src/pscs/semantics/actions/CS_CallOperationActionActivation.cs b/fUML-CSharp/pscs/src/pscs/semantics/actions/CS_CallOperationActionActivation.cs index 3e93299..76778ff 100644 --- a/fUML-CSharp/pscs/src/pscs/semantics/actions/CS_CallOperationActionActivation.cs +++ b/fUML-CSharp/pscs/src/pscs/semantics/actions/CS_CallOperationActionActivation.cs @@ -13,7 +13,7 @@ namespace pscs.semantics.actions { - public class CS_CallOperationActionActivation : CallOperationActionActivation + public partial class CS_CallOperationActionActivation : CallOperationActionActivation { public override void DoAction() { diff --git a/fUML-CSharp/pscs/src/pscs/semantics/actions/CS_CallOperationActionActivationExtension.cs b/fUML-CSharp/pscs/src/pscs/semantics/actions/CS_CallOperationActionActivationExtension.cs new file mode 100644 index 0000000..f4c214e --- /dev/null +++ b/fUML-CSharp/pscs/src/pscs/semantics/actions/CS_CallOperationActionActivationExtension.cs @@ -0,0 +1,19 @@ +using fuml.semantics.actions; +using uml.actions; + +namespace pscs.semantics.actions +{ + public partial class CS_CallOperationActionActivation : CallOperationActionActivation + { + public override List GetOfferingOutputPins() + { + // Additional override of fuml::semantics::actions::CallActionActivation::GetOfferingOutputPins() + // Bypass behavior of CallActionActivation because when CS_CallOperationActionActivation::DoAction() + // is invoked instead of CallActionActivation's SoAction() method, + // this.nonStreamingOutputPins is never set. + + // NOTE: Duplicate from ActionActivation::GetOfferingOutputPins() + return ((uml.actions.Action)node!).output; + } + } +} From 4e73b90baab8b6c13a5d3aab86c4cb6b8d69f397 Mon Sep 17 00:00:00 2001 From: Maximilian Hammer Date: Thu, 23 May 2024 23:59:52 +0200 Subject: [PATCH 09/25] Update ActionActivation.cs --- fUML-CSharp/fuml/src/fuml/semantics/actions/ActionActivation.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fUML-CSharp/fuml/src/fuml/semantics/actions/ActionActivation.cs b/fUML-CSharp/fuml/src/fuml/semantics/actions/ActionActivation.cs index deefb9d..a85a270 100644 --- a/fUML-CSharp/fuml/src/fuml/semantics/actions/ActionActivation.cs +++ b/fUML-CSharp/fuml/src/fuml/semantics/actions/ActionActivation.cs @@ -147,7 +147,7 @@ public override bool IsReady() List inputPins = ((uml.actions.Action)node!).input; int j = 1; - while (ready & j <= inputPins.Count) + while (ready && j <= inputPins.Count) { ready = GetPinActivation(inputPins.ElementAt(j - 1)).IsReady(); j++; From 7e2282323c32b95bf42a3885285d9a43d2855e3e Mon Sep 17 00:00:00 2001 From: Maximilian Hammer Date: Fri, 24 May 2024 00:06:26 +0200 Subject: [PATCH 10/25] Added generation of model elements for Model-classes - Added generation of Enumerations, PrimitiveTypes and DataTypes - Added generation for setting default values for properties --- .../model/generateModelClassFile.mtl | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/fUML-CSharp/generator/src/fuml/generator/model/generateModelClassFile.mtl b/fUML-CSharp/generator/src/fuml/generator/model/generateModelClassFile.mtl index c71f689..5f79ee1 100644 --- a/fUML-CSharp/generator/src/fuml/generator/model/generateModelClassFile.mtl +++ b/fUML-CSharp/generator/src/fuml/generator/model/generateModelClassFile.mtl @@ -760,6 +760,25 @@ AddToElementRepository("[anElement.getName()/]", [anElement.getFullNameSanitized [/let] [/template] +[template private generateElementInitialization(anElement : Element) ? (anElement.oclIsKindOf(Enumeration)) post(trim())] +[let anEnumeration : Enumeration = anElement.oclAsType(Enumeration)] +// [anEnumeration.eClass().name + ' ' + anEnumeration.getName()/] +[anEnumeration.generateDataTypeInitialization()/] +[comment Property 'Enumeration::ownedLiteral' /] +[for (anEnumerationLiteral : EnumerationLiteral | anEnumeration.ownedLiteral)] + [anEnumerationLiteral.generateElementInitialization()/] +[anEnumeration.getFullNameSanitized()/].AddOwnedLiteral([anEnumerationLiteral.getFullNameSanitized()/]); +[/for] +[/let] +[/template] + +[template private generateElementInitialization(anElement : Element) ? (anElement.oclIsKindOf(DataType)) post(trim())] +[let aDataType : DataType = anElement.oclAsType(DataType)] +// [aDataType.eClass().name + ' ' + aDataType.getName()/] +[aDataType.generateDataTypeInitialization()/] +[/let] +[/template] + [template private generateElementInitialization(anElement : Element) ? (anElement.oclIsKindOf(Interface)) post(trim())] [let anInterface : Interface = anElement.oclAsType(Interface)] // [anInterface.eClass().name + ' ' + anInterface.getName()/] @@ -878,6 +897,11 @@ AddToElementRepository("[anElement.getName()/]", [anElement.getFullNameSanitized [if (aProperty.isID)] [aProperty.getFullNameSanitized()/].SetIsID(true); [/if] +[comment Property 'Property::defaultValue' /] + [if (not aProperty.defaultValue.oclIsUndefined())] + [aProperty.defaultValue.generateValueSpecificationInitialization()/] +[aProperty.getFullNameSanitized()/].SetDefaultValue([aProperty.defaultValue.getFullNameSanitized()/]); + [/if] [/let] [if (anElement.oclIsKindOf(Port))] [let aPort : Port = anElement.oclAsType(Port)] @@ -1140,6 +1164,15 @@ AddToElementRepository("[anElement.getName()/]", [anElement.getFullNameSanitized [/if] [/template] +[template private generateDataTypeInitialization(aDataType : DataType)] +[aDataType.generateClassifierInitialization()/] +[comment Property 'DataType::ownedOperation' /] +[for (anOperation : Operation | aDataType.ownedOperation)] + [anOperation.generateElementInitialization()/] +[aDataType.getFullNameSanitized()/].AddOwnedOperation([aDataType.getFullNameSanitized()/]); +[/for] +[/template] + [template private generateDependencyInitialization(aDependency : Dependency) post(trim())] [aDependency.generateNamedElementInitialization()/] [comment Property 'Dependency::client' /] From fc5004449dcfe3388eab7db7e909aa0d1234462c Mon Sep 17 00:00:00 2001 From: Maximilian Hammer Date: Fri, 24 May 2024 00:12:29 +0200 Subject: [PATCH 11/25] Added possibility to annotate using-directives to OpaqueBehaviors in models and generate them into the corresponding OpaqueBehaviorExecution-class --- ...nerateOpaqueBehaviorExecutionClassFile.mtl | 20 +++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/fUML-CSharp/generator/src/fuml/generator/opaquebehaviorexecutions/generateOpaqueBehaviorExecutionClassFile.mtl b/fUML-CSharp/generator/src/fuml/generator/opaquebehaviorexecutions/generateOpaqueBehaviorExecutionClassFile.mtl index d76f571..3db094a 100644 --- a/fUML-CSharp/generator/src/fuml/generator/opaquebehaviorexecutions/generateOpaqueBehaviorExecutionClassFile.mtl +++ b/fUML-CSharp/generator/src/fuml/generator/opaquebehaviorexecutions/generateOpaqueBehaviorExecutionClassFile.mtl @@ -12,9 +12,14 @@ * Auto-generated file */ -using fuml.semantics.commonbehavior; -using fuml.semantics.loci; -using fuml.semantics.values; +[for (usingStatement : String | + anOpaqueBehavior.getOpaqueBehaviorExecutionUsingsFromModel() + ->including('using fuml.semantics.commonbehavior;') + ->including('using fuml.semantics.loci;') + ->including('using fuml.semantics.values;') + ->asOrderedSet())] +[usingStatement/] +[/for] /* [protected (': User-defined includes and forward declarations')] * This section may be used for includes and forward declarations. @@ -73,4 +78,11 @@ namespace [anOpaqueBehavior.getRootPackage().getNameSanitized()/] then anElement.getNearestPackage() else anElement.getNearestPackage().getRootPackage() endif /] -[query private isRootPackage(aPackage : Package) : Boolean = aPackage.nestingPackage = null /] \ No newline at end of file +[query private isRootPackage(aPackage : Package) : Boolean = aPackage.nestingPackage = null /] + +[query private getOpaqueBehaviorExecutionUsingsFromModel(anOpaqueBehavior : OpaqueBehavior) : Set(String) = + if(anOpaqueBehavior.language->includes('Using') and anOpaqueBehavior._body->size() >= anOpaqueBehavior.language->size()) + then anOpaqueBehavior._body->at(anOpaqueBehavior.language->indexOf('Using')).tokenize('\n').tokenize('\r\n')->asSet() + else Set(String){} + endif +/] \ No newline at end of file From 495f474b63bf1f0b1e21f89adebbd7b00060de98 Mon Sep 17 00:00:00 2001 From: Maximilian Hammer Date: Fri, 24 May 2024 00:15:32 +0200 Subject: [PATCH 12/25] Added setter for Property::defaultValue --- fUML-CSharp/uml/src/uml/classification/Property.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/fUML-CSharp/uml/src/uml/classification/Property.cs b/fUML-CSharp/uml/src/uml/classification/Property.cs index 78538c6..c74a448 100644 --- a/fUML-CSharp/uml/src/uml/classification/Property.cs +++ b/fUML-CSharp/uml/src/uml/classification/Property.cs @@ -51,6 +51,11 @@ public void _setDatatype(DataType datatype) _setNamespace(datatype); } // _setDataType + public void SetDefaultValue(ValueSpecification defaultValue) + { + this.defaultValue = defaultValue ?? throw new ArgumentNullException(nameof(defaultValue)); + } // SetDefaultValue + public void SetIsID(bool isID) { this.isID = isID; From ef86695688f736c87cf676d2c17f01b2c734e3cb Mon Sep 17 00:00:00 2001 From: Maximilian Hammer Date: Fri, 24 May 2024 00:17:24 +0200 Subject: [PATCH 13/25] Removed call to InstanceSpecification::addClassifier from Enumeration (this is done in initialization of data types in Model-classes anyway) to avoid multiple adds --- fUML-CSharp/uml/src/uml/simpleclassifiers/EnumerationLiteral.cs | 1 - 1 file changed, 1 deletion(-) diff --git a/fUML-CSharp/uml/src/uml/simpleclassifiers/EnumerationLiteral.cs b/fUML-CSharp/uml/src/uml/simpleclassifiers/EnumerationLiteral.cs index 8a206bd..a82a373 100644 --- a/fUML-CSharp/uml/src/uml/simpleclassifiers/EnumerationLiteral.cs +++ b/fUML-CSharp/uml/src/uml/simpleclassifiers/EnumerationLiteral.cs @@ -10,7 +10,6 @@ public class EnumerationLiteral : InstanceSpecification public void _setEnumeration( Enumeration enumeration) { - AddClassifier(enumeration); classifier = enumeration; this.enumeration = enumeration; } // _setEnumeration From 2e8293cbc29bbfffcfbf135ed6fb6fb7bf8ea0d4 Mon Sep 17 00:00:00 2001 From: Maximilian Hammer Date: Fri, 24 May 2024 00:18:36 +0200 Subject: [PATCH 14/25] Added characters to sanitize during name generation --- fUML-CSharp/generator/src/fuml/generator/naming/naming.mtl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fUML-CSharp/generator/src/fuml/generator/naming/naming.mtl b/fUML-CSharp/generator/src/fuml/generator/naming/naming.mtl index fc02e7a..ffd6b42 100644 --- a/fUML-CSharp/generator/src/fuml/generator/naming/naming.mtl +++ b/fUML-CSharp/generator/src/fuml/generator/naming/naming.mtl @@ -48,6 +48,8 @@ string. substituteAll('!', '_'). substituteAll('?', '_'). substituteAll('§', '_'). + substituteAll('$', '_'). + substituteAll('%', '_'). substituteAll('&', '_'). substituteAll('=', '_'). substituteAll('~', '_'). From 3fea0053050b2cbd72b2c13277c99fdc0dfdf557 Mon Sep 17 00:00:00 2001 From: Maximilian Hammer Date: Fri, 24 May 2024 00:20:10 +0200 Subject: [PATCH 15/25] Update generateModelClassFile.mtl --- .../src/fuml/generator/model/generateModelClassFile.mtl | 1 + 1 file changed, 1 insertion(+) diff --git a/fUML-CSharp/generator/src/fuml/generator/model/generateModelClassFile.mtl b/fUML-CSharp/generator/src/fuml/generator/model/generateModelClassFile.mtl index 5f79ee1..82f4264 100644 --- a/fUML-CSharp/generator/src/fuml/generator/model/generateModelClassFile.mtl +++ b/fUML-CSharp/generator/src/fuml/generator/model/generateModelClassFile.mtl @@ -1369,6 +1369,7 @@ AddToElementRepository("[anElement.getName()/]", [anElement.getFullNameSanitized [/template] [template private generateTriggerInitialization(aTrigger : Trigger) post(trim())] +// [aTrigger.eClass().name + ' ' + aTrigger.getName()/] [aTrigger.generateNamedElementInitialization()/] [comment Property 'Trigger::event' /] [if (not (aTrigger.event.oclIsUndefined()))] From 804e58d56539035c6f74c12d28f6becd4344c88e Mon Sep 17 00:00:00 2001 From: Maximilian Hammer Date: Fri, 24 May 2024 00:21:33 +0200 Subject: [PATCH 16/25] Fixed missing generation of argument pins for SendSignalActions --- .../src/fuml/generator/model/generateModelClassFile.mtl | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/fUML-CSharp/generator/src/fuml/generator/model/generateModelClassFile.mtl b/fUML-CSharp/generator/src/fuml/generator/model/generateModelClassFile.mtl index 82f4264..18d94a0 100644 --- a/fUML-CSharp/generator/src/fuml/generator/model/generateModelClassFile.mtl +++ b/fUML-CSharp/generator/src/fuml/generator/model/generateModelClassFile.mtl @@ -461,6 +461,11 @@ AddToElementRepository("[anElement.getName()/]", [anElement.getFullNameSanitized [aSendSignalAction.target.generatePinInitialization()/] [aSendSignalAction.getFullNameSanitized()/].SetTarget([aSendSignalAction.target.getFullNameSanitized()/]); [/if] +[comment Property 'InvocationAction::argument' handled here /] +[for (anInputPin : InputPin | aSendSignalAction.argument)] + [anInputPin.generatePinInitialization()/] +[aSendSignalAction.getFullNameSanitized()/].AddArgument([anInputPin.getFullNameSanitized()/]); +[/for] [/let] [/template] From 5f451ea5036a556247788d5c66b2ca66636e6d09 Mon Sep 17 00:00:00 2001 From: Maximilian Hammer Date: Fri, 24 May 2024 00:25:34 +0200 Subject: [PATCH 17/25] Bugfix concerning faulty method overriding from fuml::semantics::structuredclassifiers::Reference to pscs::semantics::structuredclassifiers::CS_InteractionPoint --- .../structuredclassifiers/ReferenceExtension.cs | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/fUML-CSharp/fuml/src/fuml/semantics/structuredclassifiers/ReferenceExtension.cs b/fUML-CSharp/fuml/src/fuml/semantics/structuredclassifiers/ReferenceExtension.cs index 9f495c4..c7ddccc 100644 --- a/fUML-CSharp/fuml/src/fuml/semantics/structuredclassifiers/ReferenceExtension.cs +++ b/fUML-CSharp/fuml/src/fuml/semantics/structuredclassifiers/ReferenceExtension.cs @@ -11,9 +11,18 @@ public virtual Execution Dispatch( bool isExplicitBaseClassCall = false) { // Extends Reference.Dispatch(Operation) by flag "isExplicitBaseClassCall" - // Propagate "isExplicitBaseClassCall" to Object_.GetMethod + // If "isExplicitBaseClassCall" is true, delegate to Object_.Dispatch(Operation, bool). + // Else, call standard method Dispatch(Operation) to maintain possible method overriding. - return (referent is not null) ? referent.Dispatch(operation, isExplicitBaseClassCall) : null!; + if(isExplicitBaseClassCall) + { + return (referent is not null) ? referent.Dispatch(operation, isExplicitBaseClassCall) : null!; + } + else + { + return Dispatch(operation); + } + } // Dispatch } // Reference } From a3a999b111de53358d67b45429dd47ac110ad97f Mon Sep 17 00:00:00 2001 From: Maximilian Hammer Date: Fri, 24 May 2024 00:34:06 +0200 Subject: [PATCH 18/25] Added generation of model elements for StructuredActivityNodes, ExpansionRegions and ExpansionNodes --- .../model/generateModelClassFile.mtl | 77 +++++++++++++++---- 1 file changed, 64 insertions(+), 13 deletions(-) diff --git a/fUML-CSharp/generator/src/fuml/generator/model/generateModelClassFile.mtl b/fUML-CSharp/generator/src/fuml/generator/model/generateModelClassFile.mtl index 18d94a0..0b8b012 100644 --- a/fUML-CSharp/generator/src/fuml/generator/model/generateModelClassFile.mtl +++ b/fUML-CSharp/generator/src/fuml/generator/model/generateModelClassFile.mtl @@ -276,6 +276,33 @@ AddToElementRepository("[anElement.getName()/]", [anElement.getFullNameSanitized [/let] [/template] +[template private generateElementInitialization(anElement : Element) ?(anElement.oclIsKindOf(ExpansionNode)) post(trim())] +[let anExpansionNode : ExpansionNode = anElement.oclAsType(ExpansionNode)] +// [anExpansionNode.eClass().name + ' ' + anExpansionNode.getName()/] +[anExpansionNode.generateActivityNodeInitialization()/] +[anExpansionNode.generateTypedElementInitialization()/] +[/let] +[/template] + +[template private generateElementInitialization(anElement : Element) ? (anElement.oclIsKindOf(ExpansionRegion)) post(trim())] +[let anExpansionRegion : ExpansionRegion = anElement.oclAsType(ExpansionRegion)] +// [anExpansionRegion.eClass().name + ' ' + anExpansionRegion.getName()/] +[anExpansionRegion.generateStructuredActivityNodeInitialization()/] +[comment Property 'ExpansionRegion::mode' /] + [if (anExpansionRegion.mode <> ExpansionKind::iterative)] +[anExpansionRegion.getFullNameSanitized()/].SetMode(ExpansionKind.[anExpansionRegion.mode/]); + [/if] +[comment Property 'ExpansionRegion::inputElement' /] +[for (anExpansionNode : ExpansionNode | anExpansionRegion.inputElement)] +[anExpansionRegion.getFullNameSanitized()/].AddInputElement([anExpansionNode.getFullNameSanitized()/]); +[/for] +[comment Property 'ExpansionRegion::outputElement' /] +[for (anExpansionNode : ExpansionNode | anExpansionRegion.outputElement)] +[anExpansionRegion.getFullNameSanitized()/].AddOutputElement([anExpansionNode.getFullNameSanitized()/]); +[/for] +[/let] +[/template] + [template private generateElementInitialization(anElement : Element) ? (anElement.oclIsKindOf(RaiseExceptionAction)) post(trim())] [let aRaiseExceptionAction : RaiseExceptionAction = anElement.oclAsType(RaiseExceptionAction)] // [aRaiseExceptionAction.eClass().name + ' ' + aRaiseExceptionAction.getName()/] @@ -572,8 +599,8 @@ AddToElementRepository("[anElement.getName()/]", [anElement.getFullNameSanitized [if (anActivity.isReadOnly)] [anActivity.getFullNameSanitized()/].SetIsReadOnly(true); [/if] -[comment Property 'Activity::node' /] -[for (anActivityNode : ActivityNode | anActivity.node)] +[comment Property 'Activity::node' NOTE: 'Activity::structuredNode' is handled seperately (see below) /] +[for (anActivityNode : ActivityNode | anActivity.node->removeAll(anActivity.structuredNode))] [anActivityNode.generateElementInitialization()/] [anActivity.getFullNameSanitized()/].AddNode([anActivityNode.getFullNameSanitized()/]); [/for] @@ -586,11 +613,12 @@ AddToElementRepository("[anElement.getName()/]", [anElement.getFullNameSanitized [for (aStructuredActivityNode : StructuredActivityNode | anActivity.structuredNode)] [aStructuredActivityNode.generateElementInitialization()/] [anActivity.getFullNameSanitized()/].AddStructuredNode([aStructuredActivityNode.getFullNameSanitized()/]); +[anActivity.getFullNameSanitized()/].AddGroup([aStructuredActivityNode.getFullNameSanitized()/]); [/for] -[comment Property 'Activity::group' /] -[for (anActivityGroup : ActivityGroup | anActivity.group)] +[comment Property 'Activity::group' NOTE: excludes 'Activity::structuredNode' to avoid duplicates /] +[for (anActivityGroup : ActivityGroup | anActivity.group->removeAll(anActivity.structuredNode))] [anActivityGroup.generateElementInitialization()/] -[anActivity.getFullNameSanitized()/].AddStructuredNode([anActivityGroup.getFullNameSanitized()/]); +[anActivity.getFullNameSanitized()/].AddGroup([anActivityGroup.getFullNameSanitized()/]); [/for] [/let] [/template] @@ -651,14 +679,6 @@ AddToElementRepository("[anElement.getName()/]", [anElement.getFullNameSanitized [/let] [/template] -[template private generateElementInitialization(anElement : Element) ? (anElement.oclIsKindOf(ExpansionNode)) post(trim())] -[let anExpansionNode : ExpansionNode = anElement.oclAsType(ExpansionNode)] -// [anExpansionNode.eClass().name + ' ' + anExpansionNode.getName()/] -[anExpansionNode.generateActivityNodeInitialization()/] -[anExpansionNode.generateTypedElementInitialization()/] -[/let] -[/template] - [template private generateElementInitialization(anElement : Element) ? (anElement.oclIsKindOf(FinalNode)) post(trim())] [let aFinalNode : FinalNode = anElement.oclAsType(FinalNode)] // [aFinalNode.eClass().name + ' ' + aFinalNode.getName()/] @@ -694,6 +714,13 @@ AddToElementRepository("[anElement.getName()/]", [anElement.getFullNameSanitized [/let] [/template] +[template private generateElementInitialization(anElement : Element) ? (anElement.oclIsKindOf(StructuredActivityNode)) post(trim())] +[let aStructuredActivityNode : StructuredActivityNode = anElement.oclAsType(StructuredActivityNode)] +// [aStructuredActivityNode.eClass().name + ' ' + aStructuredActivityNode.getName()/] +[aStructuredActivityNode.generateStructuredActivityNodeInitialization()/] +[/let] +[/template] + [comment] Classifiers [/comment] @@ -1365,6 +1392,30 @@ AddToElementRepository("[anElement.getName()/]", [anElement.getFullNameSanitized [aStructuralFeature.generateTypedElementInitialization()/] [/template] +[template private generateStructuredActivityNodeInitialization(aStructuredActivityNode : StructuredActivityNode) post(trim())] +[aStructuredActivityNode.generateActionInitialization()/] +[comment Property 'StructuredActivityNode::node' /] +[for (anActivityNode : ActivityNode | aStructuredActivityNode.node)] + [anActivityNode.generateElementInitialization()/] +[aStructuredActivityNode.getFullNameSanitized()/].AddNode([anActivityNode.getFullNameSanitized()/]); +[/for] +[comment Property 'StructuredActivityNode::edge' /] +[for (anActivityEdge : ActivityEdge | aStructuredActivityNode.edge)] + [anActivityEdge.generateElementInitialization()/] +[aStructuredActivityNode.getFullNameSanitized()/].AddEdge([anActivityEdge.getFullNameSanitized()/]); +[/for] +[comment Property 'StructuredActivityNode::structuredNodeInput' /] +[for (anInputPin : InputPin | aStructuredActivityNode.structuredNodeInput)] + [anInputPin.generatePinInitialization()/] +[aStructuredActivityNode.getFullNameSanitized()/].AddStructuredNodeInput([anInputPin.getFullNameSanitized()/]); +[/for] +[comment Property 'StructuredActivityNode::structuredNodeOutput' /] +[for (anOutputPin : OutputPin | aStructuredActivityNode.structuredNodeOutput)] + [anOutputPin.generatePinInitialization()/] +[aStructuredActivityNode.getFullNameSanitized()/].AddStructuredNodeInput([anOutputPin.getFullNameSanitized()/]); +[/for] +[/template] + [template private generateStructuredClassifierInitialization(aStructuredClassifier : StructuredClassifier) post(trim())] [comment Property 'StructuredClassifier::ownedConnector' /] [for (aConnector : Connector | aStructuredClassifier.ownedConnector)] From 93fa7f94821da93538efa29c8e8df586766cc111 Mon Sep 17 00:00:00 2001 From: Maximilian Hammer Date: Fri, 24 May 2024 00:36:29 +0200 Subject: [PATCH 19/25] Added missing generation for setting "onPort" for SendSignalActions --- .../src/fuml/generator/model/generateModelClassFile.mtl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/fUML-CSharp/generator/src/fuml/generator/model/generateModelClassFile.mtl b/fUML-CSharp/generator/src/fuml/generator/model/generateModelClassFile.mtl index 0b8b012..59da450 100644 --- a/fUML-CSharp/generator/src/fuml/generator/model/generateModelClassFile.mtl +++ b/fUML-CSharp/generator/src/fuml/generator/model/generateModelClassFile.mtl @@ -493,6 +493,10 @@ AddToElementRepository("[anElement.getName()/]", [anElement.getFullNameSanitized [anInputPin.generatePinInitialization()/] [aSendSignalAction.getFullNameSanitized()/].AddArgument([anInputPin.getFullNameSanitized()/]); [/for] +[comment Property 'InvocationAction::onPort' handled here /] + [if (not (aSendSignalAction.onPort.oclIsUndefined()))] +[aSendSignalAction.getFullNameSanitized()/].SetOnPort([generateElementReference(aSendSignalAction.onPort, aSendSignalAction)/]); + [/if] [/let] [/template] From d20fe913a5afa80cace0a24df84ea78ad793b13f Mon Sep 17 00:00:00 2001 From: Maximilian Hammer Date: Fri, 24 May 2024 01:18:48 +0200 Subject: [PATCH 20/25] Update generateOpaqueBehaviorExecutionClassFile.mtl --- .../generateOpaqueBehaviorExecutionClassFile.mtl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/fUML-CSharp/generator/src/fuml/generator/opaquebehaviorexecutions/generateOpaqueBehaviorExecutionClassFile.mtl b/fUML-CSharp/generator/src/fuml/generator/opaquebehaviorexecutions/generateOpaqueBehaviorExecutionClassFile.mtl index 3db094a..42e0ad2 100644 --- a/fUML-CSharp/generator/src/fuml/generator/opaquebehaviorexecutions/generateOpaqueBehaviorExecutionClassFile.mtl +++ b/fUML-CSharp/generator/src/fuml/generator/opaquebehaviorexecutions/generateOpaqueBehaviorExecutionClassFile.mtl @@ -14,8 +14,8 @@ [for (usingStatement : String | anOpaqueBehavior.getOpaqueBehaviorExecutionUsingsFromModel() + ->including('using fuml;') ->including('using fuml.semantics.commonbehavior;') - ->including('using fuml.semantics.loci;') ->including('using fuml.semantics.values;') ->asOrderedSet())] [usingStatement/] @@ -55,9 +55,9 @@ namespace [anOpaqueBehavior.getRootPackage().getNameSanitized()/] [/if] } - public override Value New_() + protected override Value New_() { - return new [anOpaqueBehavior.getNameSanitized() + 'Execution'/]() + return new [anOpaqueBehavior.getNameSanitized() + 'Execution'/](); } /* [protected (': User-defined members')] From 6bb9796d8dd716070a865aaea4e536bd94542f49 Mon Sep 17 00:00:00 2001 From: Maximilian Hammer Date: Fri, 24 May 2024 13:19:11 +0200 Subject: [PATCH 21/25] Added overloaded comparison operators for class UnlimitedNatural --- .../src/UMLPrimitiveTypes/UnlimitedNatural.cs | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/fUML-CSharp/uml/src/UMLPrimitiveTypes/UnlimitedNatural.cs b/fUML-CSharp/uml/src/UMLPrimitiveTypes/UnlimitedNatural.cs index 6e2f5e6..22322e0 100644 --- a/fUML-CSharp/uml/src/UMLPrimitiveTypes/UnlimitedNatural.cs +++ b/fUML-CSharp/uml/src/UMLPrimitiveTypes/UnlimitedNatural.cs @@ -21,5 +21,24 @@ public UnlimitedNatural() naturalValue = 0; } // UnlimitedNatural + public static bool operator==(UnlimitedNatural uN_1, UnlimitedNatural uN_2) + { + return uN_1.naturalValue == uN_2.naturalValue; + } + + public static bool operator !=(UnlimitedNatural uN_1, UnlimitedNatural uN_2) + { + return uN_1.naturalValue != uN_2.naturalValue; + } + + public override bool Equals(object? obj) + { + return base.Equals(obj); + } + + public override int GetHashCode() + { + return base.GetHashCode(); + } } // UnlimitedNatural } From 0581cd4e0a67cc2c56977daaae8897cecd3f9cce Mon Sep 17 00:00:00 2001 From: Maximilian Hammer Date: Fri, 24 May 2024 19:21:22 +0200 Subject: [PATCH 22/25] Added override of ToString method to class UmlimitedNatural --- .../uml/src/UMLPrimitiveTypes/UnlimitedNatural.cs | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/fUML-CSharp/uml/src/UMLPrimitiveTypes/UnlimitedNatural.cs b/fUML-CSharp/uml/src/UMLPrimitiveTypes/UnlimitedNatural.cs index 22322e0..f851466 100644 --- a/fUML-CSharp/uml/src/UMLPrimitiveTypes/UnlimitedNatural.cs +++ b/fUML-CSharp/uml/src/UMLPrimitiveTypes/UnlimitedNatural.cs @@ -1,4 +1,6 @@ -namespace UMLPrimitiveTypes +using System.Numerics; + +namespace UMLPrimitiveTypes { public class UnlimitedNatural { @@ -40,5 +42,11 @@ public override int GetHashCode() { return base.GetHashCode(); } + + public override string ToString() + { + if (naturalValue >= 0) return naturalValue.ToString(); + else return "*"; + } } // UnlimitedNatural } From 7068035b9627be0c04384ed013be9dbd7b39e961 Mon Sep 17 00:00:00 2001 From: Maximilian Hammer Date: Fri, 24 May 2024 19:21:51 +0200 Subject: [PATCH 23/25] Minor bugfixes --- .../src/fuml/semantics/actions/DestroyObjectActionActivation.cs | 2 +- .../fuml/src/fuml/semantics/commonbehavior/ObjectActivation.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/fUML-CSharp/fuml/src/fuml/semantics/actions/DestroyObjectActionActivation.cs b/fUML-CSharp/fuml/src/fuml/semantics/actions/DestroyObjectActionActivation.cs index 232f4dd..54da4e1 100644 --- a/fUML-CSharp/fuml/src/fuml/semantics/actions/DestroyObjectActionActivation.cs +++ b/fUML-CSharp/fuml/src/fuml/semantics/actions/DestroyObjectActionActivation.cs @@ -41,7 +41,7 @@ public void DestroyObject(Value value, { List extensionalValues = GetExecutionLocus().extensionalValues; - foreach (ExtensionalValue extensionalValue in extensionalValues) + foreach (ExtensionalValue extensionalValue in extensionalValues.ToList()) { if (extensionalValue is Link link) { diff --git a/fUML-CSharp/fuml/src/fuml/semantics/commonbehavior/ObjectActivation.cs b/fUML-CSharp/fuml/src/fuml/semantics/commonbehavior/ObjectActivation.cs index 26e5f66..fe5ce16 100644 --- a/fUML-CSharp/fuml/src/fuml/semantics/commonbehavior/ObjectActivation.cs +++ b/fUML-CSharp/fuml/src/fuml/semantics/commonbehavior/ObjectActivation.cs @@ -141,7 +141,7 @@ public void StartBehavior( // Start EventDispatchLoop _startObjectBehavior(); - if (classifier is not null) + if (classifier is null) { Debug.Println("[startBehavior] Starting behavior for all classifiers..."); // *** Start all classifier behaviors concurrently. *** From a6b66cc87d2f12a2e243da294070de1a067f3477 Mon Sep 17 00:00:00 2001 From: Maximilian Hammer Date: Fri, 24 May 2024 19:22:12 +0200 Subject: [PATCH 24/25] Added test models as well as source code for PSCS test suites 01-04 --- .../01_AssemblyConnectors_P_P/.gitignore | 3 + .../AssemblyConnectors_P_P.csproj | 50 + .../AssemblyConnectors_P_P.sln | 25 + .../Properties/launchSettings.json | 8 + .../model/AssemblyConnectors_P_P.di | 2 + .../model/AssemblyConnectors_P_P.notation | 1751 +++++++++++++ .../model/AssemblyConnectors_P_P.uml | 466 ++++ .../src/AssemblyConnectors_P_P.cs | 31 + .../src/AssemblyConnectors_P_PEnvironment.cs | 92 + .../src/AssemblyConnectors_P_PModel.cs | 1565 +++++++++++ .../02_AssemblyConnectors_PWP_P/.gitignore | 3 + .../AssemblyConnectors_PWP_P.csproj | 50 + .../AssemblyConnectors_PWP_P.sln | 25 + .../Properties/launchSettings.json | 8 + .../model/AssemblyConnectors_PWP_P.di | 2 + .../model/AssemblyConnectors_PWP_P.notation | 1751 +++++++++++++ .../model/AssemblyConnectors_PWP_P.uml | 475 ++++ .../src/AssemblyConnectors_PWP_P.cs | 31 + .../AssemblyConnectors_PWP_PEnvironment.cs | 92 + .../src/AssemblyConnectors_PWP_PModel.cs | 1605 ++++++++++++ .../03_AssemblyConnectors_PWP_PWP/.gitignore | 3 + .../AssemblyConnectors_PWP_PWP.csproj | 50 + .../AssemblyConnectors_PWP_PWP.sln | 25 + .../Properties/launchSettings.json | 8 + .../model/AssemblyConnectors_PWP_PWP.di | 2 + .../model/AssemblyConnectors_PWP_PWP.notation | 1751 +++++++++++++ .../model/AssemblyConnectors_PWP_PWP.uml | 480 ++++ .../src/AssemblyConnectors_PWP_PWP.cs | 31 + .../AssemblyConnectors_PWP_PWPEnvironment.cs | 92 + .../src/AssemblyConnectors_PWP_PWPModel.cs | 1625 ++++++++++++ .../04_DefaultValue_BasicTypes/.gitignore | 3 + .../DefaultValue_BasicTypes.csproj | 50 + .../DefaultValue_BasicTypes.sln | 25 + .../Properties/launchSettings.json | 8 + .../model/DefaultValue_BasicTypes.di | 2 + .../model/DefaultValue_BasicTypes.notation | 1004 ++++++++ .../model/DefaultValue_BasicTypes.uml | 383 +++ .../src/DefaultValue_BasicTypes.cs | 31 + .../src/DefaultValue_BasicTypesEnvironment.cs | 93 + .../src/DefaultValue_BasicTypesModel.cs | 971 +++++++ .../src/testDefaultValuesExecution.cs | 161 ++ .../05_DefaultValue_Structures/.gitignore | 3 + .../DefaultValue_Structures.csproj | 50 + .../DefaultValue_Structures.sln | 25 + .../model/DefaultValue_Structures.di | 2 + .../model/DefaultValue_Structures.notation | 1384 ++++++++++ .../model/DefaultValue_Structures.uml | 350 +++ .../src/DefaultValue_Structures.cs | 31 + .../src/DefaultValue_StructuresEnvironment.cs | 93 + .../src/DefaultValue_StructuresModel.cs | 1126 ++++++++ .../src/testDefaultValuesExecution.cs | 85 + .../06_DelegationConnectors_P_P/.gitignore | 3 + .../DelegationConnectors_P_P.csproj | 50 + .../DelegationConnectors_P_P.sln | 25 + .../model/DelegationConnectors_P_P.di | 2 + .../model/DelegationConnectors_P_P.notation | 1751 +++++++++++++ .../model/DelegationConnectors_P_P.uml | 467 ++++ .../src/DelegationConnectors_P_P.cs | 31 + .../DelegationConnectors_P_PEnvironment.cs | 92 + .../src/DelegationConnectors_P_PModel.cs | 1585 ++++++++++++ .../07_DelegationConnectors_P_PWP/.gitignore | 3 + .../DelegationConnectors_P_PWP.csproj | 50 + .../DelegationConnectors_P_PWP.sln | 25 + .../model/DelegationConnectors_P_PWP.di | 2 + .../model/DelegationConnectors_P_PWP.notation | 1751 +++++++++++++ .../model/DelegationConnectors_P_PWP.uml | 470 ++++ .../src/DelegationConnectors_P_PWP.cs | 31 + .../DelegationConnectors_P_PWPEnvironment.cs | 92 + .../src/DelegationConnectors_P_PWPModel.cs | 1599 ++++++++++++ .../01_Instantiation/08_Hierarchy/.gitignore | 3 + .../08_Hierarchy/Hierarchy.csproj | 50 + .../08_Hierarchy/Hierarchy.sln | 25 + .../08_Hierarchy/model/Hierarchy.di | 2 + .../08_Hierarchy/model/Hierarchy.notation | 1700 ++++++++++++ .../08_Hierarchy/model/Hierarchy.uml | 452 ++++ .../08_Hierarchy/src/Hierarchy.cs | 31 + .../08_Hierarchy/src/HierarchyEnvironment.cs | 94 + .../08_Hierarchy/src/HierarchyModel.cs | 1449 +++++++++++ .../src/testEmptyListExecution.cs | 75 + .../src/testNonEmptyListExecution.cs | 76 + .../01_BehaviorPort_Signal/.gitignore | 3 + .../BehaviorPort_Signal.csproj | 50 + .../BehaviorPort_Signal.sln | 25 + .../Properties/launchSettings.json | 8 + .../model/BehaviorPort_Signal.di | 2 + .../model/BehaviorPort_Signal.notation | 2 + .../model/BehaviorPort_Signal.uml | 383 +++ .../src/BehaviorPort_Signal.cs | 31 + .../src/BehaviorPort_SignalEnvironment.cs | 93 + .../src/BehaviorPort_SignalModel.cs | 1359 ++++++++++ .../src/testPExecution.cs | 78 + .../02_BehaviorPort_Operation/.gitignore | 3 + .../BehaviorPort_Operation.csproj | 50 + .../BehaviorPort_Operation.sln | 25 + .../model/BehaviorPort_Operation.di | 2 + .../model/BehaviorPort_Operation.notation | 2 + .../model/BehaviorPort_Operation.uml | 588 +++++ .../src/BehaviorPort_Operation.cs | 31 + .../src/BehaviorPort_OperationEnvironment.cs | 93 + .../src/BehaviorPort_OperationModel.cs | 2045 +++++++++++++++ .../src/testFalseExecution.cs | 73 + .../03_LossOfMessages_Signal/.gitignore | 3 + .../LossOfMessages_Signal.csproj | 50 + .../LossOfMessages_Signal.sln | 25 + .../model/LossOfMessages_Signal.di | 2 + .../model/LossOfMessages_Signal.notation | 796 ++++++ .../model/LossOfMessages_Signal.uml | 230 ++ .../src/LossOfMessages_Signal.cs | 31 + .../src/LossOfMessages_SignalEnvironment.cs | 93 + .../src/LossOfMessages_SignalModel.cs | 748 ++++++ .../src/testPExecution.cs | 78 + .../04_LossOfMessages_Operation/.gitignore | 3 + .../LossOfMessages_Operation.csproj | 50 + .../LossOfMessages_Operation.sln | 25 + .../model/LossOfMessages_Operation.di | 2 + .../model/LossOfMessages_Operation.notation | 673 +++++ .../model/LossOfMessages_Operation.uml | 217 ++ .../src/LossOfMessages_Operation.cs | 31 + .../LossOfMessages_OperationEnvironment.cs | 93 + .../src/LossOfMessages_OperationModel.cs | 679 +++++ .../src/testPExecution.cs | 78 + .../.gitignore | 3 + .../Properties/launchSettings.json | 8 + .../SingleDelegation_P_P_Operation.csproj | 50 + .../SingleDelegation_P_P_Operation.sln | 25 + .../model/SingleDelegation_P_P_Operation.di | 2 + .../SingleDelegation_P_P_Operation.notation | 948 +++++++ .../model/SingleDelegation_P_P_Operation.uml | 300 +++ .../src/SingleDelegation_P_P_Operation.cs | 31 + ...ngleDelegation_P_P_OperationEnvironment.cs | 93 + .../SingleDelegation_P_P_OperationModel.cs | 951 +++++++ .../src/testPExecution.cs | 78 + .../06_SingleDelegation_P_P_Signal/.gitignore | 3 + .../SingleDelegation_P_P_Signal.csproj | 50 + .../SingleDelegation_P_P_Signal.sln | 25 + .../model/SingleDelegation_P_P_Signal.di | 2 + .../SingleDelegation_P_P_Signal.notation | 1869 ++++++++++++++ .../model/SingleDelegation_P_P_Signal.uml | 469 ++++ .../src/SingleDelegation_P_P_Signal.cs | 31 + .../SingleDelegation_P_P_SignalEnvironment.cs | 93 + .../src/SingleDelegation_P_P_SignalModel.cs | 1636 ++++++++++++ .../src/testPExecution.cs | 78 + .../.gitignore | 3 + .../SingleDelegation_P_PWP_Operation.csproj | 50 + .../SingleDelegation_P_PWP_Operation.sln | 25 + .../model/SingleDelegation_P_PWP_Operation.di | 2 + .../SingleDelegation_P_PWP_Operation.notation | 1040 ++++++++ .../SingleDelegation_P_PWP_Operation.uml | 332 +++ .../src/SingleDelegation_P_PWP_Operation.cs | 31 + ...leDelegation_P_PWP_OperationEnvironment.cs | 93 + .../SingleDelegation_P_PWP_OperationModel.cs | 1073 ++++++++ .../src/testPExecution.cs | 78 + .../.gitignore | 3 + ...egation_SameConnector_P_P_Operation.csproj | 50 + ...Delegation_SameConnector_P_P_Operation.sln | 25 + ...eDelegation_SameConnector_P_P_Operation.di | 2 + ...ation_SameConnector_P_P_Operation.notation | 737 ++++++ ...Delegation_SameConnector_P_P_Operation.uml | 272 ++ ...eDelegation_SameConnector_P_P_Operation.cs | 31 + ..._SameConnector_P_P_OperationEnvironment.cs | 93 + ...gation_SameConnector_P_P_OperationModel.cs | 802 ++++++ .../src/testPExecution.cs | 99 + .../.gitignore | 3 + ...Delegation_SameConnector_P_P_Signal.csproj | 50 + ...pleDelegation_SameConnector_P_P_Signal.sln | 25 + ...ipleDelegation_SameConnector_P_P_Signal.di | 2 + ...legation_SameConnector_P_P_Signal.notation | 1885 ++++++++++++++ ...pleDelegation_SameConnector_P_P_Signal.uml | 469 ++++ ...ipleDelegation_SameConnector_P_P_Signal.cs | 31 + ...ion_SameConnector_P_P_SignalEnvironment.cs | 93 + ...elegation_SameConnector_P_P_SignalModel.cs | 1566 +++++++++++ .../src/testPExecution.cs | 99 + .../.gitignore | 3 + ...ation_SameConnector_P_PWP_Operation.csproj | 50 + ...legation_SameConnector_P_PWP_Operation.sln | 25 + ...elegation_SameConnector_P_PWP_Operation.di | 2 + ...ion_SameConnector_P_PWP_Operation.notation | 628 +++++ ...legation_SameConnector_P_PWP_Operation.uml | 294 +++ ...elegation_SameConnector_P_PWP_Operation.cs | 31 + ...ameConnector_P_PWP_OperationEnvironment.cs | 93 + ...tion_SameConnector_P_PWP_OperationModel.cs | 893 +++++++ .../src/testPExecution.cs | 98 + .../.gitignore | 3 + ...legation_SameConnector_P_PWP_Signal.csproj | 50 + ...eDelegation_SameConnector_P_PWP_Signal.sln | 25 + ...leDelegation_SameConnector_P_PWP_Signal.di | 2 + ...gation_SameConnector_P_PWP_Signal.notation | 1875 ++++++++++++++ ...eDelegation_SameConnector_P_PWP_Signal.uml | 501 ++++ ...leDelegation_SameConnector_P_PWP_Signal.cs | 31 + ...n_SameConnector_P_PWP_SignalEnvironment.cs | 93 + ...egation_SameConnector_P_PWP_SignalModel.cs | 1692 ++++++++++++ .../src/testPExecution.cs | 92 + .../.gitignore | 3 + ...ion_MultipleConnector_P_P_Operation.csproj | 50 + ...gation_MultipleConnector_P_P_Operation.sln | 25 + ...egation_MultipleConnector_P_P_Operation.di | 2 + ...n_MultipleConnector_P_P_Operation.notation | 1112 ++++++++ ...gation_MultipleConnector_P_P_Operation.uml | 349 +++ ...egation_MultipleConnector_P_P_Operation.cs | 31 + ...tipleConnector_P_P_OperationEnvironment.cs | 93 + ...on_MultipleConnector_P_P_OperationModel.cs | 1106 ++++++++ .../src/testPExecution.cs | 99 + .../.gitignore | 3 + ...gation_MultipleConnector_P_P_Signal.csproj | 50 + ...elegation_MultipleConnector_P_P_Signal.sln | 25 + ...Delegation_MultipleConnector_P_P_Signal.di | 2 + ...tion_MultipleConnector_P_P_Signal.notation | 2219 ++++++++++++++++ ...elegation_MultipleConnector_P_P_Signal.uml | 552 ++++ ...Delegation_MultipleConnector_P_P_Signal.cs | 31 + ...MultipleConnector_P_P_SignalEnvironment.cs | 93 + ...ation_MultipleConnector_P_P_SignalModel.cs | 1894 ++++++++++++++ .../src/testPExecution.cs | 99 + .../.gitignore | 3 + ...n_MultipleConnector_P_PWP_Operation.csproj | 50 + ...tion_MultipleConnector_P_PWP_Operation.sln | 25 + ...ation_MultipleConnector_P_PWP_Operation.di | 2 + ...MultipleConnector_P_PWP_Operation.notation | 997 +++++++ ...tion_MultipleConnector_P_PWP_Operation.uml | 357 +++ ...ation_MultipleConnector_P_PWP_Operation.cs | 31 + ...pleConnector_P_PWP_OperationEnvironment.cs | 93 + ..._MultipleConnector_P_PWP_OperationModel.cs | 1183 +++++++++ .../src/testPExecution.cs | 98 + .../.gitignore | 3 + ...tion_MultipleConnector_P_PWP_Signal.csproj | 50 + ...egation_MultipleConnector_P_PWP_Signal.sln | 25 + ...legation_MultipleConnector_P_PWP_Signal.di | 2 + ...on_MultipleConnector_P_PWP_Signal.notation | 2290 +++++++++++++++++ ...egation_MultipleConnector_P_PWP_Signal.uml | 584 +++++ ...legation_MultipleConnector_P_PWP_Signal.cs | 31 + ...ltipleConnector_P_PWP_SignalEnvironment.cs | 93 + ...ion_MultipleConnector_P_PWP_SignalModel.cs | 2026 +++++++++++++++ .../src/testPExecution.cs | 92 + .../01_OperationCommon/.gitignore | 3 + .../01_OperationCommon/OperationCommon.csproj | 50 + .../01_OperationCommon/OperationCommon.sln | 25 + .../model/OperationCommon.di | 2 + .../model/OperationCommon.notation | 2 + .../model/OperationCommon.uml | 81 + .../01_OperationCommon/src/OperationCommon.cs | 31 + .../src/OperationCommonEnvironment.cs | 92 + .../src/OperationCommonModel.cs | 318 +++ .../02_Operation_ProvidedInterface/.gitignore | 3 + .../Operation_ProvidedInterface.csproj | 50 + .../Operation_ProvidedInterface.sln | 25 + .../model/Operation_ProvidedInterface.di | 2 + .../Operation_ProvidedInterface.notation | 813 ++++++ .../model/Operation_ProvidedInterface.uml | 270 ++ .../src/Operation_ProvidedInterface.cs | 31 + .../Operation_ProvidedInterfaceEnvironment.cs | 93 + .../src/Operation_ProvidedInterfaceModel.cs | 853 ++++++ .../src/testPExecution.cs | 78 + .../03_Operation_RequiredInterface/.gitignore | 3 + .../Operation_RequiredInterface.csproj | 50 + .../Operation_RequiredInterface.sln | 25 + .../model/Operation_RequiredInterface.di | 2 + .../Operation_RequiredInterface.notation | 2 + .../model/Operation_RequiredInterface.uml | 349 +++ .../src/Operation_RequiredInterface.cs | 31 + .../Operation_RequiredInterfaceEnvironment.cs | 93 + .../src/Operation_RequiredInterfaceModel.cs | 1145 +++++++++ .../src/testPExecution.cs | 78 + .../.gitignore | 3 + ...ration_ProvidedAndRequiredInterface.csproj | 50 + ...Operation_ProvidedAndRequiredInterface.sln | 25 + .../Operation_ProvidedAndRequiredInterface.di | 2 + ...tion_ProvidedAndRequiredInterface.notation | 2 + ...Operation_ProvidedAndRequiredInterface.uml | 380 +++ .../Operation_ProvidedAndRequiredInterface.cs | 31 + ...ProvidedAndRequiredInterfaceEnvironment.cs | 93 + ...ation_ProvidedAndRequiredInterfaceModel.cs | 1276 +++++++++ .../src/testPExecution.cs | 78 + .../.gitignore | 3 + ...n_RequiredInterface_DelegationChain.csproj | 50 + ...tion_RequiredInterface_DelegationChain.sln | 25 + ...ation_RequiredInterface_DelegationChain.di | 2 + ...RequiredInterface_DelegationChain.notation | 1243 +++++++++ ...tion_RequiredInterface_DelegationChain.uml | 371 +++ ...ation_RequiredInterface_DelegationChain.cs | 31 + ...redInterface_DelegationChainEnvironment.cs | 93 + ..._RequiredInterface_DelegationChainModel.cs | 1240 +++++++++ .../src/testPExecution.cs | 78 + .../06_SignalCommon/.gitignore | 3 + .../06_SignalCommon/SignalCommon.csproj | 50 + .../06_SignalCommon/SignalCommon.sln | 25 + .../06_SignalCommon/model/SignalCommon.di | 2 + .../model/SignalCommon.notation | 2 + .../06_SignalCommon/model/SignalCommon.uml | 169 ++ .../06_SignalCommon/src/SignalCommon.cs | 31 + .../src/SignalCommonEnvironment.cs | 92 + .../06_SignalCommon/src/SignalCommonModel.cs | 689 +++++ .../07_Signal_Assembly/.gitignore | 3 + .../07_Signal_Assembly/Signal_Assembly.csproj | 50 + .../07_Signal_Assembly/Signal_Assembly.sln | 25 + .../model/Signal_Assembly.di | 2 + .../model/Signal_Assembly.notation | 1274 +++++++++ .../model/Signal_Assembly.uml | 332 +++ .../07_Signal_Assembly/src/Signal_Assembly.cs | 31 + .../src/Signal_AssemblyEnvironment.cs | 93 + .../src/Signal_AssemblyModel.cs | 1169 +++++++++ .../07_Signal_Assembly/src/testVExecution.cs | 78 + .../.gitignore | 3 + .../Properties/launchSettings.json | 8 + .../Signal_AssemblyAndDelegation.csproj | 50 + .../Signal_AssemblyAndDelegation.sln | 25 + .../model/Signal_AssemblyAndDelegation.di | 2 + .../Signal_AssemblyAndDelegation.notation | 1412 ++++++++++ .../model/Signal_AssemblyAndDelegation.uml | 376 +++ .../src/Signal_AssemblyAndDelegation.cs | 31 + ...Signal_AssemblyAndDelegationEnvironment.cs | 93 + .../src/Signal_AssemblyAndDelegationModel.cs | 1355 ++++++++++ .../src/testVExecution.cs | 78 + .../01_RecursiveDestruction/.gitignore | 3 + .../Properties/launchSettings.json | 8 + .../RecursiveDestruction.csproj | 50 + .../RecursiveDestruction.sln | 25 + .../model/RecursiveDestruction.di | 2 + .../model/RecursiveDestruction.notation | 771 ++++++ .../model/RecursiveDestruction.uml | 295 +++ .../src/RecursiveDestruction.cs | 31 + .../src/RecursiveDestructionEnvironment.cs | 98 + .../src/RecursiveDestructionModel.cs | 886 +++++++ .../src/assertExtentOfBExecution.cs | 74 + .../src/assertExtentOfCExecution.cs | 74 + .../src/assertExtentOfIImplExecution.cs | 74 + .../src/numberOfBInstancesExecution.cs | 57 + .../src/numberOfCInstancesExecution.cs | 57 + .../src/numberOfIImplInstancesExecution.cs | 57 + .../02_RemovingInstanceFromPart/.gitignore | 3 + .../Properties/launchSettings.json | 8 + .../RemovingInstanceFromPart.csproj | 50 + .../RemovingInstanceFromPart.sln | 25 + .../model/RemovingInstanceFromPart.di | 2 + .../model/RemovingInstanceFromPart.notation | 502 ++++ .../model/RemovingInstanceFromPart.uml | 153 ++ .../src/RemovingInstanceFromPart.cs | 31 + .../RemovingInstanceFromPartEnvironment.cs | 93 + .../src/RemovingInstanceFromPartModel.cs | 572 ++++ .../src/assertionNotImplementedExecution.cs | 57 + .../03_RemovingInstanceFromPort/.gitignore | 3 + .../Properties/launchSettings.json | 8 + .../RemovingInstanceFromPort.csproj | 50 + .../RemovingInstanceFromPort.sln | 25 + .../model/RemovingInstanceFromPort.di | 2 + .../model/RemovingInstanceFromPort.notation | 502 ++++ .../model/RemovingInstanceFromPort.uml | 153 ++ .../src/RemovingInstanceFromPort.cs | 31 + .../RemovingInstanceFromPortEnvironment.cs | 93 + .../src/RemovingInstanceFromPortModel.cs | 572 ++++ .../src/assertionNotImplementedExecution.cs | 57 + 349 files changed, 99767 insertions(+) create mode 100644 fUML-CSharp/tests/pscs-Tests/01_Instantiation/01_AssemblyConnectors_P_P/.gitignore create mode 100644 fUML-CSharp/tests/pscs-Tests/01_Instantiation/01_AssemblyConnectors_P_P/AssemblyConnectors_P_P.csproj create mode 100644 fUML-CSharp/tests/pscs-Tests/01_Instantiation/01_AssemblyConnectors_P_P/AssemblyConnectors_P_P.sln create mode 100644 fUML-CSharp/tests/pscs-Tests/01_Instantiation/01_AssemblyConnectors_P_P/Properties/launchSettings.json create mode 100644 fUML-CSharp/tests/pscs-Tests/01_Instantiation/01_AssemblyConnectors_P_P/model/AssemblyConnectors_P_P.di create mode 100644 fUML-CSharp/tests/pscs-Tests/01_Instantiation/01_AssemblyConnectors_P_P/model/AssemblyConnectors_P_P.notation create mode 100644 fUML-CSharp/tests/pscs-Tests/01_Instantiation/01_AssemblyConnectors_P_P/model/AssemblyConnectors_P_P.uml create mode 100644 fUML-CSharp/tests/pscs-Tests/01_Instantiation/01_AssemblyConnectors_P_P/src/AssemblyConnectors_P_P.cs create mode 100644 fUML-CSharp/tests/pscs-Tests/01_Instantiation/01_AssemblyConnectors_P_P/src/AssemblyConnectors_P_PEnvironment.cs create mode 100644 fUML-CSharp/tests/pscs-Tests/01_Instantiation/01_AssemblyConnectors_P_P/src/AssemblyConnectors_P_PModel.cs create mode 100644 fUML-CSharp/tests/pscs-Tests/01_Instantiation/02_AssemblyConnectors_PWP_P/.gitignore create mode 100644 fUML-CSharp/tests/pscs-Tests/01_Instantiation/02_AssemblyConnectors_PWP_P/AssemblyConnectors_PWP_P.csproj create mode 100644 fUML-CSharp/tests/pscs-Tests/01_Instantiation/02_AssemblyConnectors_PWP_P/AssemblyConnectors_PWP_P.sln create mode 100644 fUML-CSharp/tests/pscs-Tests/01_Instantiation/02_AssemblyConnectors_PWP_P/Properties/launchSettings.json create mode 100644 fUML-CSharp/tests/pscs-Tests/01_Instantiation/02_AssemblyConnectors_PWP_P/model/AssemblyConnectors_PWP_P.di create mode 100644 fUML-CSharp/tests/pscs-Tests/01_Instantiation/02_AssemblyConnectors_PWP_P/model/AssemblyConnectors_PWP_P.notation create mode 100644 fUML-CSharp/tests/pscs-Tests/01_Instantiation/02_AssemblyConnectors_PWP_P/model/AssemblyConnectors_PWP_P.uml create mode 100644 fUML-CSharp/tests/pscs-Tests/01_Instantiation/02_AssemblyConnectors_PWP_P/src/AssemblyConnectors_PWP_P.cs create mode 100644 fUML-CSharp/tests/pscs-Tests/01_Instantiation/02_AssemblyConnectors_PWP_P/src/AssemblyConnectors_PWP_PEnvironment.cs create mode 100644 fUML-CSharp/tests/pscs-Tests/01_Instantiation/02_AssemblyConnectors_PWP_P/src/AssemblyConnectors_PWP_PModel.cs create mode 100644 fUML-CSharp/tests/pscs-Tests/01_Instantiation/03_AssemblyConnectors_PWP_PWP/.gitignore create mode 100644 fUML-CSharp/tests/pscs-Tests/01_Instantiation/03_AssemblyConnectors_PWP_PWP/AssemblyConnectors_PWP_PWP.csproj create mode 100644 fUML-CSharp/tests/pscs-Tests/01_Instantiation/03_AssemblyConnectors_PWP_PWP/AssemblyConnectors_PWP_PWP.sln create mode 100644 fUML-CSharp/tests/pscs-Tests/01_Instantiation/03_AssemblyConnectors_PWP_PWP/Properties/launchSettings.json create mode 100644 fUML-CSharp/tests/pscs-Tests/01_Instantiation/03_AssemblyConnectors_PWP_PWP/model/AssemblyConnectors_PWP_PWP.di create mode 100644 fUML-CSharp/tests/pscs-Tests/01_Instantiation/03_AssemblyConnectors_PWP_PWP/model/AssemblyConnectors_PWP_PWP.notation create mode 100644 fUML-CSharp/tests/pscs-Tests/01_Instantiation/03_AssemblyConnectors_PWP_PWP/model/AssemblyConnectors_PWP_PWP.uml create mode 100644 fUML-CSharp/tests/pscs-Tests/01_Instantiation/03_AssemblyConnectors_PWP_PWP/src/AssemblyConnectors_PWP_PWP.cs create mode 100644 fUML-CSharp/tests/pscs-Tests/01_Instantiation/03_AssemblyConnectors_PWP_PWP/src/AssemblyConnectors_PWP_PWPEnvironment.cs create mode 100644 fUML-CSharp/tests/pscs-Tests/01_Instantiation/03_AssemblyConnectors_PWP_PWP/src/AssemblyConnectors_PWP_PWPModel.cs create mode 100644 fUML-CSharp/tests/pscs-Tests/01_Instantiation/04_DefaultValue_BasicTypes/.gitignore create mode 100644 fUML-CSharp/tests/pscs-Tests/01_Instantiation/04_DefaultValue_BasicTypes/DefaultValue_BasicTypes.csproj create mode 100644 fUML-CSharp/tests/pscs-Tests/01_Instantiation/04_DefaultValue_BasicTypes/DefaultValue_BasicTypes.sln create mode 100644 fUML-CSharp/tests/pscs-Tests/01_Instantiation/04_DefaultValue_BasicTypes/Properties/launchSettings.json create mode 100644 fUML-CSharp/tests/pscs-Tests/01_Instantiation/04_DefaultValue_BasicTypes/model/DefaultValue_BasicTypes.di create mode 100644 fUML-CSharp/tests/pscs-Tests/01_Instantiation/04_DefaultValue_BasicTypes/model/DefaultValue_BasicTypes.notation create mode 100644 fUML-CSharp/tests/pscs-Tests/01_Instantiation/04_DefaultValue_BasicTypes/model/DefaultValue_BasicTypes.uml create mode 100644 fUML-CSharp/tests/pscs-Tests/01_Instantiation/04_DefaultValue_BasicTypes/src/DefaultValue_BasicTypes.cs create mode 100644 fUML-CSharp/tests/pscs-Tests/01_Instantiation/04_DefaultValue_BasicTypes/src/DefaultValue_BasicTypesEnvironment.cs create mode 100644 fUML-CSharp/tests/pscs-Tests/01_Instantiation/04_DefaultValue_BasicTypes/src/DefaultValue_BasicTypesModel.cs create mode 100644 fUML-CSharp/tests/pscs-Tests/01_Instantiation/04_DefaultValue_BasicTypes/src/testDefaultValuesExecution.cs create mode 100644 fUML-CSharp/tests/pscs-Tests/01_Instantiation/05_DefaultValue_Structures/.gitignore create mode 100644 fUML-CSharp/tests/pscs-Tests/01_Instantiation/05_DefaultValue_Structures/DefaultValue_Structures.csproj create mode 100644 fUML-CSharp/tests/pscs-Tests/01_Instantiation/05_DefaultValue_Structures/DefaultValue_Structures.sln create mode 100644 fUML-CSharp/tests/pscs-Tests/01_Instantiation/05_DefaultValue_Structures/model/DefaultValue_Structures.di create mode 100644 fUML-CSharp/tests/pscs-Tests/01_Instantiation/05_DefaultValue_Structures/model/DefaultValue_Structures.notation create mode 100644 fUML-CSharp/tests/pscs-Tests/01_Instantiation/05_DefaultValue_Structures/model/DefaultValue_Structures.uml create mode 100644 fUML-CSharp/tests/pscs-Tests/01_Instantiation/05_DefaultValue_Structures/src/DefaultValue_Structures.cs create mode 100644 fUML-CSharp/tests/pscs-Tests/01_Instantiation/05_DefaultValue_Structures/src/DefaultValue_StructuresEnvironment.cs create mode 100644 fUML-CSharp/tests/pscs-Tests/01_Instantiation/05_DefaultValue_Structures/src/DefaultValue_StructuresModel.cs create mode 100644 fUML-CSharp/tests/pscs-Tests/01_Instantiation/05_DefaultValue_Structures/src/testDefaultValuesExecution.cs create mode 100644 fUML-CSharp/tests/pscs-Tests/01_Instantiation/06_DelegationConnectors_P_P/.gitignore create mode 100644 fUML-CSharp/tests/pscs-Tests/01_Instantiation/06_DelegationConnectors_P_P/DelegationConnectors_P_P.csproj create mode 100644 fUML-CSharp/tests/pscs-Tests/01_Instantiation/06_DelegationConnectors_P_P/DelegationConnectors_P_P.sln create mode 100644 fUML-CSharp/tests/pscs-Tests/01_Instantiation/06_DelegationConnectors_P_P/model/DelegationConnectors_P_P.di create mode 100644 fUML-CSharp/tests/pscs-Tests/01_Instantiation/06_DelegationConnectors_P_P/model/DelegationConnectors_P_P.notation create mode 100644 fUML-CSharp/tests/pscs-Tests/01_Instantiation/06_DelegationConnectors_P_P/model/DelegationConnectors_P_P.uml create mode 100644 fUML-CSharp/tests/pscs-Tests/01_Instantiation/06_DelegationConnectors_P_P/src/DelegationConnectors_P_P.cs create mode 100644 fUML-CSharp/tests/pscs-Tests/01_Instantiation/06_DelegationConnectors_P_P/src/DelegationConnectors_P_PEnvironment.cs create mode 100644 fUML-CSharp/tests/pscs-Tests/01_Instantiation/06_DelegationConnectors_P_P/src/DelegationConnectors_P_PModel.cs create mode 100644 fUML-CSharp/tests/pscs-Tests/01_Instantiation/07_DelegationConnectors_P_PWP/.gitignore create mode 100644 fUML-CSharp/tests/pscs-Tests/01_Instantiation/07_DelegationConnectors_P_PWP/DelegationConnectors_P_PWP.csproj create mode 100644 fUML-CSharp/tests/pscs-Tests/01_Instantiation/07_DelegationConnectors_P_PWP/DelegationConnectors_P_PWP.sln create mode 100644 fUML-CSharp/tests/pscs-Tests/01_Instantiation/07_DelegationConnectors_P_PWP/model/DelegationConnectors_P_PWP.di create mode 100644 fUML-CSharp/tests/pscs-Tests/01_Instantiation/07_DelegationConnectors_P_PWP/model/DelegationConnectors_P_PWP.notation create mode 100644 fUML-CSharp/tests/pscs-Tests/01_Instantiation/07_DelegationConnectors_P_PWP/model/DelegationConnectors_P_PWP.uml create mode 100644 fUML-CSharp/tests/pscs-Tests/01_Instantiation/07_DelegationConnectors_P_PWP/src/DelegationConnectors_P_PWP.cs create mode 100644 fUML-CSharp/tests/pscs-Tests/01_Instantiation/07_DelegationConnectors_P_PWP/src/DelegationConnectors_P_PWPEnvironment.cs create mode 100644 fUML-CSharp/tests/pscs-Tests/01_Instantiation/07_DelegationConnectors_P_PWP/src/DelegationConnectors_P_PWPModel.cs create mode 100644 fUML-CSharp/tests/pscs-Tests/01_Instantiation/08_Hierarchy/.gitignore create mode 100644 fUML-CSharp/tests/pscs-Tests/01_Instantiation/08_Hierarchy/Hierarchy.csproj create mode 100644 fUML-CSharp/tests/pscs-Tests/01_Instantiation/08_Hierarchy/Hierarchy.sln create mode 100644 fUML-CSharp/tests/pscs-Tests/01_Instantiation/08_Hierarchy/model/Hierarchy.di create mode 100644 fUML-CSharp/tests/pscs-Tests/01_Instantiation/08_Hierarchy/model/Hierarchy.notation create mode 100644 fUML-CSharp/tests/pscs-Tests/01_Instantiation/08_Hierarchy/model/Hierarchy.uml create mode 100644 fUML-CSharp/tests/pscs-Tests/01_Instantiation/08_Hierarchy/src/Hierarchy.cs create mode 100644 fUML-CSharp/tests/pscs-Tests/01_Instantiation/08_Hierarchy/src/HierarchyEnvironment.cs create mode 100644 fUML-CSharp/tests/pscs-Tests/01_Instantiation/08_Hierarchy/src/HierarchyModel.cs create mode 100644 fUML-CSharp/tests/pscs-Tests/01_Instantiation/08_Hierarchy/src/testEmptyListExecution.cs create mode 100644 fUML-CSharp/tests/pscs-Tests/01_Instantiation/08_Hierarchy/src/testNonEmptyListExecution.cs create mode 100644 fUML-CSharp/tests/pscs-Tests/02_Communication/01_BehaviorPort_Signal/.gitignore create mode 100644 fUML-CSharp/tests/pscs-Tests/02_Communication/01_BehaviorPort_Signal/BehaviorPort_Signal.csproj create mode 100644 fUML-CSharp/tests/pscs-Tests/02_Communication/01_BehaviorPort_Signal/BehaviorPort_Signal.sln create mode 100644 fUML-CSharp/tests/pscs-Tests/02_Communication/01_BehaviorPort_Signal/Properties/launchSettings.json create mode 100644 fUML-CSharp/tests/pscs-Tests/02_Communication/01_BehaviorPort_Signal/model/BehaviorPort_Signal.di create mode 100644 fUML-CSharp/tests/pscs-Tests/02_Communication/01_BehaviorPort_Signal/model/BehaviorPort_Signal.notation create mode 100644 fUML-CSharp/tests/pscs-Tests/02_Communication/01_BehaviorPort_Signal/model/BehaviorPort_Signal.uml create mode 100644 fUML-CSharp/tests/pscs-Tests/02_Communication/01_BehaviorPort_Signal/src/BehaviorPort_Signal.cs create mode 100644 fUML-CSharp/tests/pscs-Tests/02_Communication/01_BehaviorPort_Signal/src/BehaviorPort_SignalEnvironment.cs create mode 100644 fUML-CSharp/tests/pscs-Tests/02_Communication/01_BehaviorPort_Signal/src/BehaviorPort_SignalModel.cs create mode 100644 fUML-CSharp/tests/pscs-Tests/02_Communication/01_BehaviorPort_Signal/src/testPExecution.cs create mode 100644 fUML-CSharp/tests/pscs-Tests/02_Communication/02_BehaviorPort_Operation/.gitignore create mode 100644 fUML-CSharp/tests/pscs-Tests/02_Communication/02_BehaviorPort_Operation/BehaviorPort_Operation.csproj create mode 100644 fUML-CSharp/tests/pscs-Tests/02_Communication/02_BehaviorPort_Operation/BehaviorPort_Operation.sln create mode 100644 fUML-CSharp/tests/pscs-Tests/02_Communication/02_BehaviorPort_Operation/model/BehaviorPort_Operation.di create mode 100644 fUML-CSharp/tests/pscs-Tests/02_Communication/02_BehaviorPort_Operation/model/BehaviorPort_Operation.notation create mode 100644 fUML-CSharp/tests/pscs-Tests/02_Communication/02_BehaviorPort_Operation/model/BehaviorPort_Operation.uml create mode 100644 fUML-CSharp/tests/pscs-Tests/02_Communication/02_BehaviorPort_Operation/src/BehaviorPort_Operation.cs create mode 100644 fUML-CSharp/tests/pscs-Tests/02_Communication/02_BehaviorPort_Operation/src/BehaviorPort_OperationEnvironment.cs create mode 100644 fUML-CSharp/tests/pscs-Tests/02_Communication/02_BehaviorPort_Operation/src/BehaviorPort_OperationModel.cs create mode 100644 fUML-CSharp/tests/pscs-Tests/02_Communication/02_BehaviorPort_Operation/src/testFalseExecution.cs create mode 100644 fUML-CSharp/tests/pscs-Tests/02_Communication/03_LossOfMessages_Signal/.gitignore create mode 100644 fUML-CSharp/tests/pscs-Tests/02_Communication/03_LossOfMessages_Signal/LossOfMessages_Signal.csproj create mode 100644 fUML-CSharp/tests/pscs-Tests/02_Communication/03_LossOfMessages_Signal/LossOfMessages_Signal.sln create mode 100644 fUML-CSharp/tests/pscs-Tests/02_Communication/03_LossOfMessages_Signal/model/LossOfMessages_Signal.di create mode 100644 fUML-CSharp/tests/pscs-Tests/02_Communication/03_LossOfMessages_Signal/model/LossOfMessages_Signal.notation create mode 100644 fUML-CSharp/tests/pscs-Tests/02_Communication/03_LossOfMessages_Signal/model/LossOfMessages_Signal.uml create mode 100644 fUML-CSharp/tests/pscs-Tests/02_Communication/03_LossOfMessages_Signal/src/LossOfMessages_Signal.cs create mode 100644 fUML-CSharp/tests/pscs-Tests/02_Communication/03_LossOfMessages_Signal/src/LossOfMessages_SignalEnvironment.cs create mode 100644 fUML-CSharp/tests/pscs-Tests/02_Communication/03_LossOfMessages_Signal/src/LossOfMessages_SignalModel.cs create mode 100644 fUML-CSharp/tests/pscs-Tests/02_Communication/03_LossOfMessages_Signal/src/testPExecution.cs create mode 100644 fUML-CSharp/tests/pscs-Tests/02_Communication/04_LossOfMessages_Operation/.gitignore create mode 100644 fUML-CSharp/tests/pscs-Tests/02_Communication/04_LossOfMessages_Operation/LossOfMessages_Operation.csproj create mode 100644 fUML-CSharp/tests/pscs-Tests/02_Communication/04_LossOfMessages_Operation/LossOfMessages_Operation.sln create mode 100644 fUML-CSharp/tests/pscs-Tests/02_Communication/04_LossOfMessages_Operation/model/LossOfMessages_Operation.di create mode 100644 fUML-CSharp/tests/pscs-Tests/02_Communication/04_LossOfMessages_Operation/model/LossOfMessages_Operation.notation create mode 100644 fUML-CSharp/tests/pscs-Tests/02_Communication/04_LossOfMessages_Operation/model/LossOfMessages_Operation.uml create mode 100644 fUML-CSharp/tests/pscs-Tests/02_Communication/04_LossOfMessages_Operation/src/LossOfMessages_Operation.cs create mode 100644 fUML-CSharp/tests/pscs-Tests/02_Communication/04_LossOfMessages_Operation/src/LossOfMessages_OperationEnvironment.cs create mode 100644 fUML-CSharp/tests/pscs-Tests/02_Communication/04_LossOfMessages_Operation/src/LossOfMessages_OperationModel.cs create mode 100644 fUML-CSharp/tests/pscs-Tests/02_Communication/04_LossOfMessages_Operation/src/testPExecution.cs create mode 100644 fUML-CSharp/tests/pscs-Tests/02_Communication/05_SingleDelegation_P_P_Operation/.gitignore create mode 100644 fUML-CSharp/tests/pscs-Tests/02_Communication/05_SingleDelegation_P_P_Operation/Properties/launchSettings.json create mode 100644 fUML-CSharp/tests/pscs-Tests/02_Communication/05_SingleDelegation_P_P_Operation/SingleDelegation_P_P_Operation.csproj create mode 100644 fUML-CSharp/tests/pscs-Tests/02_Communication/05_SingleDelegation_P_P_Operation/SingleDelegation_P_P_Operation.sln create mode 100644 fUML-CSharp/tests/pscs-Tests/02_Communication/05_SingleDelegation_P_P_Operation/model/SingleDelegation_P_P_Operation.di create mode 100644 fUML-CSharp/tests/pscs-Tests/02_Communication/05_SingleDelegation_P_P_Operation/model/SingleDelegation_P_P_Operation.notation create mode 100644 fUML-CSharp/tests/pscs-Tests/02_Communication/05_SingleDelegation_P_P_Operation/model/SingleDelegation_P_P_Operation.uml create mode 100644 fUML-CSharp/tests/pscs-Tests/02_Communication/05_SingleDelegation_P_P_Operation/src/SingleDelegation_P_P_Operation.cs create mode 100644 fUML-CSharp/tests/pscs-Tests/02_Communication/05_SingleDelegation_P_P_Operation/src/SingleDelegation_P_P_OperationEnvironment.cs create mode 100644 fUML-CSharp/tests/pscs-Tests/02_Communication/05_SingleDelegation_P_P_Operation/src/SingleDelegation_P_P_OperationModel.cs create mode 100644 fUML-CSharp/tests/pscs-Tests/02_Communication/05_SingleDelegation_P_P_Operation/src/testPExecution.cs create mode 100644 fUML-CSharp/tests/pscs-Tests/02_Communication/06_SingleDelegation_P_P_Signal/.gitignore create mode 100644 fUML-CSharp/tests/pscs-Tests/02_Communication/06_SingleDelegation_P_P_Signal/SingleDelegation_P_P_Signal.csproj create mode 100644 fUML-CSharp/tests/pscs-Tests/02_Communication/06_SingleDelegation_P_P_Signal/SingleDelegation_P_P_Signal.sln create mode 100644 fUML-CSharp/tests/pscs-Tests/02_Communication/06_SingleDelegation_P_P_Signal/model/SingleDelegation_P_P_Signal.di create mode 100644 fUML-CSharp/tests/pscs-Tests/02_Communication/06_SingleDelegation_P_P_Signal/model/SingleDelegation_P_P_Signal.notation create mode 100644 fUML-CSharp/tests/pscs-Tests/02_Communication/06_SingleDelegation_P_P_Signal/model/SingleDelegation_P_P_Signal.uml create mode 100644 fUML-CSharp/tests/pscs-Tests/02_Communication/06_SingleDelegation_P_P_Signal/src/SingleDelegation_P_P_Signal.cs create mode 100644 fUML-CSharp/tests/pscs-Tests/02_Communication/06_SingleDelegation_P_P_Signal/src/SingleDelegation_P_P_SignalEnvironment.cs create mode 100644 fUML-CSharp/tests/pscs-Tests/02_Communication/06_SingleDelegation_P_P_Signal/src/SingleDelegation_P_P_SignalModel.cs create mode 100644 fUML-CSharp/tests/pscs-Tests/02_Communication/06_SingleDelegation_P_P_Signal/src/testPExecution.cs create mode 100644 fUML-CSharp/tests/pscs-Tests/02_Communication/07_SingleDelegation_P_PWP_Operation/.gitignore create mode 100644 fUML-CSharp/tests/pscs-Tests/02_Communication/07_SingleDelegation_P_PWP_Operation/SingleDelegation_P_PWP_Operation.csproj create mode 100644 fUML-CSharp/tests/pscs-Tests/02_Communication/07_SingleDelegation_P_PWP_Operation/SingleDelegation_P_PWP_Operation.sln create mode 100644 fUML-CSharp/tests/pscs-Tests/02_Communication/07_SingleDelegation_P_PWP_Operation/model/SingleDelegation_P_PWP_Operation.di create mode 100644 fUML-CSharp/tests/pscs-Tests/02_Communication/07_SingleDelegation_P_PWP_Operation/model/SingleDelegation_P_PWP_Operation.notation create mode 100644 fUML-CSharp/tests/pscs-Tests/02_Communication/07_SingleDelegation_P_PWP_Operation/model/SingleDelegation_P_PWP_Operation.uml create mode 100644 fUML-CSharp/tests/pscs-Tests/02_Communication/07_SingleDelegation_P_PWP_Operation/src/SingleDelegation_P_PWP_Operation.cs create mode 100644 fUML-CSharp/tests/pscs-Tests/02_Communication/07_SingleDelegation_P_PWP_Operation/src/SingleDelegation_P_PWP_OperationEnvironment.cs create mode 100644 fUML-CSharp/tests/pscs-Tests/02_Communication/07_SingleDelegation_P_PWP_Operation/src/SingleDelegation_P_PWP_OperationModel.cs create mode 100644 fUML-CSharp/tests/pscs-Tests/02_Communication/07_SingleDelegation_P_PWP_Operation/src/testPExecution.cs create mode 100644 fUML-CSharp/tests/pscs-Tests/02_Communication/08_MultipleDelegation_SameConnector_P_P_Operation/.gitignore create mode 100644 fUML-CSharp/tests/pscs-Tests/02_Communication/08_MultipleDelegation_SameConnector_P_P_Operation/MultipleDelegation_SameConnector_P_P_Operation.csproj create mode 100644 fUML-CSharp/tests/pscs-Tests/02_Communication/08_MultipleDelegation_SameConnector_P_P_Operation/MultipleDelegation_SameConnector_P_P_Operation.sln create mode 100644 fUML-CSharp/tests/pscs-Tests/02_Communication/08_MultipleDelegation_SameConnector_P_P_Operation/model/MultipleDelegation_SameConnector_P_P_Operation.di create mode 100644 fUML-CSharp/tests/pscs-Tests/02_Communication/08_MultipleDelegation_SameConnector_P_P_Operation/model/MultipleDelegation_SameConnector_P_P_Operation.notation create mode 100644 fUML-CSharp/tests/pscs-Tests/02_Communication/08_MultipleDelegation_SameConnector_P_P_Operation/model/MultipleDelegation_SameConnector_P_P_Operation.uml create mode 100644 fUML-CSharp/tests/pscs-Tests/02_Communication/08_MultipleDelegation_SameConnector_P_P_Operation/src/MultipleDelegation_SameConnector_P_P_Operation.cs create mode 100644 fUML-CSharp/tests/pscs-Tests/02_Communication/08_MultipleDelegation_SameConnector_P_P_Operation/src/MultipleDelegation_SameConnector_P_P_OperationEnvironment.cs create mode 100644 fUML-CSharp/tests/pscs-Tests/02_Communication/08_MultipleDelegation_SameConnector_P_P_Operation/src/MultipleDelegation_SameConnector_P_P_OperationModel.cs create mode 100644 fUML-CSharp/tests/pscs-Tests/02_Communication/08_MultipleDelegation_SameConnector_P_P_Operation/src/testPExecution.cs create mode 100644 fUML-CSharp/tests/pscs-Tests/02_Communication/09_MultipleDelegation_SameConnector_P_P_Signal/.gitignore create mode 100644 fUML-CSharp/tests/pscs-Tests/02_Communication/09_MultipleDelegation_SameConnector_P_P_Signal/MultipleDelegation_SameConnector_P_P_Signal.csproj create mode 100644 fUML-CSharp/tests/pscs-Tests/02_Communication/09_MultipleDelegation_SameConnector_P_P_Signal/MultipleDelegation_SameConnector_P_P_Signal.sln create mode 100644 fUML-CSharp/tests/pscs-Tests/02_Communication/09_MultipleDelegation_SameConnector_P_P_Signal/model/MultipleDelegation_SameConnector_P_P_Signal.di create mode 100644 fUML-CSharp/tests/pscs-Tests/02_Communication/09_MultipleDelegation_SameConnector_P_P_Signal/model/MultipleDelegation_SameConnector_P_P_Signal.notation create mode 100644 fUML-CSharp/tests/pscs-Tests/02_Communication/09_MultipleDelegation_SameConnector_P_P_Signal/model/MultipleDelegation_SameConnector_P_P_Signal.uml create mode 100644 fUML-CSharp/tests/pscs-Tests/02_Communication/09_MultipleDelegation_SameConnector_P_P_Signal/src/MultipleDelegation_SameConnector_P_P_Signal.cs create mode 100644 fUML-CSharp/tests/pscs-Tests/02_Communication/09_MultipleDelegation_SameConnector_P_P_Signal/src/MultipleDelegation_SameConnector_P_P_SignalEnvironment.cs create mode 100644 fUML-CSharp/tests/pscs-Tests/02_Communication/09_MultipleDelegation_SameConnector_P_P_Signal/src/MultipleDelegation_SameConnector_P_P_SignalModel.cs create mode 100644 fUML-CSharp/tests/pscs-Tests/02_Communication/09_MultipleDelegation_SameConnector_P_P_Signal/src/testPExecution.cs create mode 100644 fUML-CSharp/tests/pscs-Tests/02_Communication/10_MultipleDelegation_SameConnector_P_PWP_Operation/.gitignore create mode 100644 fUML-CSharp/tests/pscs-Tests/02_Communication/10_MultipleDelegation_SameConnector_P_PWP_Operation/MultipleDelegation_SameConnector_P_PWP_Operation.csproj create mode 100644 fUML-CSharp/tests/pscs-Tests/02_Communication/10_MultipleDelegation_SameConnector_P_PWP_Operation/MultipleDelegation_SameConnector_P_PWP_Operation.sln create mode 100644 fUML-CSharp/tests/pscs-Tests/02_Communication/10_MultipleDelegation_SameConnector_P_PWP_Operation/model/MultipleDelegation_SameConnector_P_PWP_Operation.di create mode 100644 fUML-CSharp/tests/pscs-Tests/02_Communication/10_MultipleDelegation_SameConnector_P_PWP_Operation/model/MultipleDelegation_SameConnector_P_PWP_Operation.notation create mode 100644 fUML-CSharp/tests/pscs-Tests/02_Communication/10_MultipleDelegation_SameConnector_P_PWP_Operation/model/MultipleDelegation_SameConnector_P_PWP_Operation.uml create mode 100644 fUML-CSharp/tests/pscs-Tests/02_Communication/10_MultipleDelegation_SameConnector_P_PWP_Operation/src/MultipleDelegation_SameConnector_P_PWP_Operation.cs create mode 100644 fUML-CSharp/tests/pscs-Tests/02_Communication/10_MultipleDelegation_SameConnector_P_PWP_Operation/src/MultipleDelegation_SameConnector_P_PWP_OperationEnvironment.cs create mode 100644 fUML-CSharp/tests/pscs-Tests/02_Communication/10_MultipleDelegation_SameConnector_P_PWP_Operation/src/MultipleDelegation_SameConnector_P_PWP_OperationModel.cs create mode 100644 fUML-CSharp/tests/pscs-Tests/02_Communication/10_MultipleDelegation_SameConnector_P_PWP_Operation/src/testPExecution.cs create mode 100644 fUML-CSharp/tests/pscs-Tests/02_Communication/11_MultipleDelegation_SameConnector_P_PWP_Signal/.gitignore create mode 100644 fUML-CSharp/tests/pscs-Tests/02_Communication/11_MultipleDelegation_SameConnector_P_PWP_Signal/MultipleDelegation_SameConnector_P_PWP_Signal.csproj create mode 100644 fUML-CSharp/tests/pscs-Tests/02_Communication/11_MultipleDelegation_SameConnector_P_PWP_Signal/MultipleDelegation_SameConnector_P_PWP_Signal.sln create mode 100644 fUML-CSharp/tests/pscs-Tests/02_Communication/11_MultipleDelegation_SameConnector_P_PWP_Signal/model/MultipleDelegation_SameConnector_P_PWP_Signal.di create mode 100644 fUML-CSharp/tests/pscs-Tests/02_Communication/11_MultipleDelegation_SameConnector_P_PWP_Signal/model/MultipleDelegation_SameConnector_P_PWP_Signal.notation create mode 100644 fUML-CSharp/tests/pscs-Tests/02_Communication/11_MultipleDelegation_SameConnector_P_PWP_Signal/model/MultipleDelegation_SameConnector_P_PWP_Signal.uml create mode 100644 fUML-CSharp/tests/pscs-Tests/02_Communication/11_MultipleDelegation_SameConnector_P_PWP_Signal/src/MultipleDelegation_SameConnector_P_PWP_Signal.cs create mode 100644 fUML-CSharp/tests/pscs-Tests/02_Communication/11_MultipleDelegation_SameConnector_P_PWP_Signal/src/MultipleDelegation_SameConnector_P_PWP_SignalEnvironment.cs create mode 100644 fUML-CSharp/tests/pscs-Tests/02_Communication/11_MultipleDelegation_SameConnector_P_PWP_Signal/src/MultipleDelegation_SameConnector_P_PWP_SignalModel.cs create mode 100644 fUML-CSharp/tests/pscs-Tests/02_Communication/11_MultipleDelegation_SameConnector_P_PWP_Signal/src/testPExecution.cs create mode 100644 fUML-CSharp/tests/pscs-Tests/02_Communication/12_MultipleDelegation_MultipleConnector_P_P_Operation/.gitignore create mode 100644 fUML-CSharp/tests/pscs-Tests/02_Communication/12_MultipleDelegation_MultipleConnector_P_P_Operation/MultipleDelegation_MultipleConnector_P_P_Operation.csproj create mode 100644 fUML-CSharp/tests/pscs-Tests/02_Communication/12_MultipleDelegation_MultipleConnector_P_P_Operation/MultipleDelegation_MultipleConnector_P_P_Operation.sln create mode 100644 fUML-CSharp/tests/pscs-Tests/02_Communication/12_MultipleDelegation_MultipleConnector_P_P_Operation/model/MultipleDelegation_MultipleConnector_P_P_Operation.di create mode 100644 fUML-CSharp/tests/pscs-Tests/02_Communication/12_MultipleDelegation_MultipleConnector_P_P_Operation/model/MultipleDelegation_MultipleConnector_P_P_Operation.notation create mode 100644 fUML-CSharp/tests/pscs-Tests/02_Communication/12_MultipleDelegation_MultipleConnector_P_P_Operation/model/MultipleDelegation_MultipleConnector_P_P_Operation.uml create mode 100644 fUML-CSharp/tests/pscs-Tests/02_Communication/12_MultipleDelegation_MultipleConnector_P_P_Operation/src/MultipleDelegation_MultipleConnector_P_P_Operation.cs create mode 100644 fUML-CSharp/tests/pscs-Tests/02_Communication/12_MultipleDelegation_MultipleConnector_P_P_Operation/src/MultipleDelegation_MultipleConnector_P_P_OperationEnvironment.cs create mode 100644 fUML-CSharp/tests/pscs-Tests/02_Communication/12_MultipleDelegation_MultipleConnector_P_P_Operation/src/MultipleDelegation_MultipleConnector_P_P_OperationModel.cs create mode 100644 fUML-CSharp/tests/pscs-Tests/02_Communication/12_MultipleDelegation_MultipleConnector_P_P_Operation/src/testPExecution.cs create mode 100644 fUML-CSharp/tests/pscs-Tests/02_Communication/13_MultipleDelegation_MultipleConnector_P_P_Signal/.gitignore create mode 100644 fUML-CSharp/tests/pscs-Tests/02_Communication/13_MultipleDelegation_MultipleConnector_P_P_Signal/MultipleDelegation_MultipleConnector_P_P_Signal.csproj create mode 100644 fUML-CSharp/tests/pscs-Tests/02_Communication/13_MultipleDelegation_MultipleConnector_P_P_Signal/MultipleDelegation_MultipleConnector_P_P_Signal.sln create mode 100644 fUML-CSharp/tests/pscs-Tests/02_Communication/13_MultipleDelegation_MultipleConnector_P_P_Signal/model/MultipleDelegation_MultipleConnector_P_P_Signal.di create mode 100644 fUML-CSharp/tests/pscs-Tests/02_Communication/13_MultipleDelegation_MultipleConnector_P_P_Signal/model/MultipleDelegation_MultipleConnector_P_P_Signal.notation create mode 100644 fUML-CSharp/tests/pscs-Tests/02_Communication/13_MultipleDelegation_MultipleConnector_P_P_Signal/model/MultipleDelegation_MultipleConnector_P_P_Signal.uml create mode 100644 fUML-CSharp/tests/pscs-Tests/02_Communication/13_MultipleDelegation_MultipleConnector_P_P_Signal/src/MultipleDelegation_MultipleConnector_P_P_Signal.cs create mode 100644 fUML-CSharp/tests/pscs-Tests/02_Communication/13_MultipleDelegation_MultipleConnector_P_P_Signal/src/MultipleDelegation_MultipleConnector_P_P_SignalEnvironment.cs create mode 100644 fUML-CSharp/tests/pscs-Tests/02_Communication/13_MultipleDelegation_MultipleConnector_P_P_Signal/src/MultipleDelegation_MultipleConnector_P_P_SignalModel.cs create mode 100644 fUML-CSharp/tests/pscs-Tests/02_Communication/13_MultipleDelegation_MultipleConnector_P_P_Signal/src/testPExecution.cs create mode 100644 fUML-CSharp/tests/pscs-Tests/02_Communication/14_MultipleDelegation_MultipleConnector_P_PWP_Operation/.gitignore create mode 100644 fUML-CSharp/tests/pscs-Tests/02_Communication/14_MultipleDelegation_MultipleConnector_P_PWP_Operation/MultipleDelegation_MultipleConnector_P_PWP_Operation.csproj create mode 100644 fUML-CSharp/tests/pscs-Tests/02_Communication/14_MultipleDelegation_MultipleConnector_P_PWP_Operation/MultipleDelegation_MultipleConnector_P_PWP_Operation.sln create mode 100644 fUML-CSharp/tests/pscs-Tests/02_Communication/14_MultipleDelegation_MultipleConnector_P_PWP_Operation/model/MultipleDelegation_MultipleConnector_P_PWP_Operation.di create mode 100644 fUML-CSharp/tests/pscs-Tests/02_Communication/14_MultipleDelegation_MultipleConnector_P_PWP_Operation/model/MultipleDelegation_MultipleConnector_P_PWP_Operation.notation create mode 100644 fUML-CSharp/tests/pscs-Tests/02_Communication/14_MultipleDelegation_MultipleConnector_P_PWP_Operation/model/MultipleDelegation_MultipleConnector_P_PWP_Operation.uml create mode 100644 fUML-CSharp/tests/pscs-Tests/02_Communication/14_MultipleDelegation_MultipleConnector_P_PWP_Operation/src/MultipleDelegation_MultipleConnector_P_PWP_Operation.cs create mode 100644 fUML-CSharp/tests/pscs-Tests/02_Communication/14_MultipleDelegation_MultipleConnector_P_PWP_Operation/src/MultipleDelegation_MultipleConnector_P_PWP_OperationEnvironment.cs create mode 100644 fUML-CSharp/tests/pscs-Tests/02_Communication/14_MultipleDelegation_MultipleConnector_P_PWP_Operation/src/MultipleDelegation_MultipleConnector_P_PWP_OperationModel.cs create mode 100644 fUML-CSharp/tests/pscs-Tests/02_Communication/14_MultipleDelegation_MultipleConnector_P_PWP_Operation/src/testPExecution.cs create mode 100644 fUML-CSharp/tests/pscs-Tests/02_Communication/15_MultipleDelegation_MultipleConnector_P_PWP_Signal/.gitignore create mode 100644 fUML-CSharp/tests/pscs-Tests/02_Communication/15_MultipleDelegation_MultipleConnector_P_PWP_Signal/MultipleDelegation_MultipleConnector_P_PWP_Signal.csproj create mode 100644 fUML-CSharp/tests/pscs-Tests/02_Communication/15_MultipleDelegation_MultipleConnector_P_PWP_Signal/MultipleDelegation_MultipleConnector_P_PWP_Signal.sln create mode 100644 fUML-CSharp/tests/pscs-Tests/02_Communication/15_MultipleDelegation_MultipleConnector_P_PWP_Signal/model/MultipleDelegation_MultipleConnector_P_PWP_Signal.di create mode 100644 fUML-CSharp/tests/pscs-Tests/02_Communication/15_MultipleDelegation_MultipleConnector_P_PWP_Signal/model/MultipleDelegation_MultipleConnector_P_PWP_Signal.notation create mode 100644 fUML-CSharp/tests/pscs-Tests/02_Communication/15_MultipleDelegation_MultipleConnector_P_PWP_Signal/model/MultipleDelegation_MultipleConnector_P_PWP_Signal.uml create mode 100644 fUML-CSharp/tests/pscs-Tests/02_Communication/15_MultipleDelegation_MultipleConnector_P_PWP_Signal/src/MultipleDelegation_MultipleConnector_P_PWP_Signal.cs create mode 100644 fUML-CSharp/tests/pscs-Tests/02_Communication/15_MultipleDelegation_MultipleConnector_P_PWP_Signal/src/MultipleDelegation_MultipleConnector_P_PWP_SignalEnvironment.cs create mode 100644 fUML-CSharp/tests/pscs-Tests/02_Communication/15_MultipleDelegation_MultipleConnector_P_PWP_Signal/src/MultipleDelegation_MultipleConnector_P_PWP_SignalModel.cs create mode 100644 fUML-CSharp/tests/pscs-Tests/02_Communication/15_MultipleDelegation_MultipleConnector_P_PWP_Signal/src/testPExecution.cs create mode 100644 fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/01_OperationCommon/.gitignore create mode 100644 fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/01_OperationCommon/OperationCommon.csproj create mode 100644 fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/01_OperationCommon/OperationCommon.sln create mode 100644 fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/01_OperationCommon/model/OperationCommon.di create mode 100644 fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/01_OperationCommon/model/OperationCommon.notation create mode 100644 fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/01_OperationCommon/model/OperationCommon.uml create mode 100644 fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/01_OperationCommon/src/OperationCommon.cs create mode 100644 fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/01_OperationCommon/src/OperationCommonEnvironment.cs create mode 100644 fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/01_OperationCommon/src/OperationCommonModel.cs create mode 100644 fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/02_Operation_ProvidedInterface/.gitignore create mode 100644 fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/02_Operation_ProvidedInterface/Operation_ProvidedInterface.csproj create mode 100644 fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/02_Operation_ProvidedInterface/Operation_ProvidedInterface.sln create mode 100644 fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/02_Operation_ProvidedInterface/model/Operation_ProvidedInterface.di create mode 100644 fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/02_Operation_ProvidedInterface/model/Operation_ProvidedInterface.notation create mode 100644 fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/02_Operation_ProvidedInterface/model/Operation_ProvidedInterface.uml create mode 100644 fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/02_Operation_ProvidedInterface/src/Operation_ProvidedInterface.cs create mode 100644 fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/02_Operation_ProvidedInterface/src/Operation_ProvidedInterfaceEnvironment.cs create mode 100644 fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/02_Operation_ProvidedInterface/src/Operation_ProvidedInterfaceModel.cs create mode 100644 fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/02_Operation_ProvidedInterface/src/testPExecution.cs create mode 100644 fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/03_Operation_RequiredInterface/.gitignore create mode 100644 fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/03_Operation_RequiredInterface/Operation_RequiredInterface.csproj create mode 100644 fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/03_Operation_RequiredInterface/Operation_RequiredInterface.sln create mode 100644 fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/03_Operation_RequiredInterface/model/Operation_RequiredInterface.di create mode 100644 fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/03_Operation_RequiredInterface/model/Operation_RequiredInterface.notation create mode 100644 fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/03_Operation_RequiredInterface/model/Operation_RequiredInterface.uml create mode 100644 fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/03_Operation_RequiredInterface/src/Operation_RequiredInterface.cs create mode 100644 fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/03_Operation_RequiredInterface/src/Operation_RequiredInterfaceEnvironment.cs create mode 100644 fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/03_Operation_RequiredInterface/src/Operation_RequiredInterfaceModel.cs create mode 100644 fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/03_Operation_RequiredInterface/src/testPExecution.cs create mode 100644 fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/04_Operation_ProvidedAndRequiredInterface/.gitignore create mode 100644 fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/04_Operation_ProvidedAndRequiredInterface/Operation_ProvidedAndRequiredInterface.csproj create mode 100644 fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/04_Operation_ProvidedAndRequiredInterface/Operation_ProvidedAndRequiredInterface.sln create mode 100644 fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/04_Operation_ProvidedAndRequiredInterface/model/Operation_ProvidedAndRequiredInterface.di create mode 100644 fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/04_Operation_ProvidedAndRequiredInterface/model/Operation_ProvidedAndRequiredInterface.notation create mode 100644 fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/04_Operation_ProvidedAndRequiredInterface/model/Operation_ProvidedAndRequiredInterface.uml create mode 100644 fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/04_Operation_ProvidedAndRequiredInterface/src/Operation_ProvidedAndRequiredInterface.cs create mode 100644 fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/04_Operation_ProvidedAndRequiredInterface/src/Operation_ProvidedAndRequiredInterfaceEnvironment.cs create mode 100644 fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/04_Operation_ProvidedAndRequiredInterface/src/Operation_ProvidedAndRequiredInterfaceModel.cs create mode 100644 fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/04_Operation_ProvidedAndRequiredInterface/src/testPExecution.cs create mode 100644 fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/05_Operation_RequiredInterface_DelegationChain/.gitignore create mode 100644 fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/05_Operation_RequiredInterface_DelegationChain/Operation_RequiredInterface_DelegationChain.csproj create mode 100644 fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/05_Operation_RequiredInterface_DelegationChain/Operation_RequiredInterface_DelegationChain.sln create mode 100644 fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/05_Operation_RequiredInterface_DelegationChain/model/Operation_RequiredInterface_DelegationChain.di create mode 100644 fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/05_Operation_RequiredInterface_DelegationChain/model/Operation_RequiredInterface_DelegationChain.notation create mode 100644 fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/05_Operation_RequiredInterface_DelegationChain/model/Operation_RequiredInterface_DelegationChain.uml create mode 100644 fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/05_Operation_RequiredInterface_DelegationChain/src/Operation_RequiredInterface_DelegationChain.cs create mode 100644 fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/05_Operation_RequiredInterface_DelegationChain/src/Operation_RequiredInterface_DelegationChainEnvironment.cs create mode 100644 fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/05_Operation_RequiredInterface_DelegationChain/src/Operation_RequiredInterface_DelegationChainModel.cs create mode 100644 fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/05_Operation_RequiredInterface_DelegationChain/src/testPExecution.cs create mode 100644 fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/06_SignalCommon/.gitignore create mode 100644 fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/06_SignalCommon/SignalCommon.csproj create mode 100644 fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/06_SignalCommon/SignalCommon.sln create mode 100644 fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/06_SignalCommon/model/SignalCommon.di create mode 100644 fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/06_SignalCommon/model/SignalCommon.notation create mode 100644 fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/06_SignalCommon/model/SignalCommon.uml create mode 100644 fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/06_SignalCommon/src/SignalCommon.cs create mode 100644 fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/06_SignalCommon/src/SignalCommonEnvironment.cs create mode 100644 fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/06_SignalCommon/src/SignalCommonModel.cs create mode 100644 fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/07_Signal_Assembly/.gitignore create mode 100644 fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/07_Signal_Assembly/Signal_Assembly.csproj create mode 100644 fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/07_Signal_Assembly/Signal_Assembly.sln create mode 100644 fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/07_Signal_Assembly/model/Signal_Assembly.di create mode 100644 fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/07_Signal_Assembly/model/Signal_Assembly.notation create mode 100644 fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/07_Signal_Assembly/model/Signal_Assembly.uml create mode 100644 fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/07_Signal_Assembly/src/Signal_Assembly.cs create mode 100644 fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/07_Signal_Assembly/src/Signal_AssemblyEnvironment.cs create mode 100644 fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/07_Signal_Assembly/src/Signal_AssemblyModel.cs create mode 100644 fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/07_Signal_Assembly/src/testVExecution.cs create mode 100644 fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/08_Signal_AssemblyAndDelegation/.gitignore create mode 100644 fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/08_Signal_AssemblyAndDelegation/Properties/launchSettings.json create mode 100644 fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/08_Signal_AssemblyAndDelegation/Signal_AssemblyAndDelegation.csproj create mode 100644 fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/08_Signal_AssemblyAndDelegation/Signal_AssemblyAndDelegation.sln create mode 100644 fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/08_Signal_AssemblyAndDelegation/model/Signal_AssemblyAndDelegation.di create mode 100644 fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/08_Signal_AssemblyAndDelegation/model/Signal_AssemblyAndDelegation.notation create mode 100644 fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/08_Signal_AssemblyAndDelegation/model/Signal_AssemblyAndDelegation.uml create mode 100644 fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/08_Signal_AssemblyAndDelegation/src/Signal_AssemblyAndDelegation.cs create mode 100644 fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/08_Signal_AssemblyAndDelegation/src/Signal_AssemblyAndDelegationEnvironment.cs create mode 100644 fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/08_Signal_AssemblyAndDelegation/src/Signal_AssemblyAndDelegationModel.cs create mode 100644 fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/08_Signal_AssemblyAndDelegation/src/testVExecution.cs create mode 100644 fUML-CSharp/tests/pscs-Tests/04_Destruction/01_RecursiveDestruction/.gitignore create mode 100644 fUML-CSharp/tests/pscs-Tests/04_Destruction/01_RecursiveDestruction/Properties/launchSettings.json create mode 100644 fUML-CSharp/tests/pscs-Tests/04_Destruction/01_RecursiveDestruction/RecursiveDestruction.csproj create mode 100644 fUML-CSharp/tests/pscs-Tests/04_Destruction/01_RecursiveDestruction/RecursiveDestruction.sln create mode 100644 fUML-CSharp/tests/pscs-Tests/04_Destruction/01_RecursiveDestruction/model/RecursiveDestruction.di create mode 100644 fUML-CSharp/tests/pscs-Tests/04_Destruction/01_RecursiveDestruction/model/RecursiveDestruction.notation create mode 100644 fUML-CSharp/tests/pscs-Tests/04_Destruction/01_RecursiveDestruction/model/RecursiveDestruction.uml create mode 100644 fUML-CSharp/tests/pscs-Tests/04_Destruction/01_RecursiveDestruction/src/RecursiveDestruction.cs create mode 100644 fUML-CSharp/tests/pscs-Tests/04_Destruction/01_RecursiveDestruction/src/RecursiveDestructionEnvironment.cs create mode 100644 fUML-CSharp/tests/pscs-Tests/04_Destruction/01_RecursiveDestruction/src/RecursiveDestructionModel.cs create mode 100644 fUML-CSharp/tests/pscs-Tests/04_Destruction/01_RecursiveDestruction/src/assertExtentOfBExecution.cs create mode 100644 fUML-CSharp/tests/pscs-Tests/04_Destruction/01_RecursiveDestruction/src/assertExtentOfCExecution.cs create mode 100644 fUML-CSharp/tests/pscs-Tests/04_Destruction/01_RecursiveDestruction/src/assertExtentOfIImplExecution.cs create mode 100644 fUML-CSharp/tests/pscs-Tests/04_Destruction/01_RecursiveDestruction/src/numberOfBInstancesExecution.cs create mode 100644 fUML-CSharp/tests/pscs-Tests/04_Destruction/01_RecursiveDestruction/src/numberOfCInstancesExecution.cs create mode 100644 fUML-CSharp/tests/pscs-Tests/04_Destruction/01_RecursiveDestruction/src/numberOfIImplInstancesExecution.cs create mode 100644 fUML-CSharp/tests/pscs-Tests/04_Destruction/02_RemovingInstanceFromPart/.gitignore create mode 100644 fUML-CSharp/tests/pscs-Tests/04_Destruction/02_RemovingInstanceFromPart/Properties/launchSettings.json create mode 100644 fUML-CSharp/tests/pscs-Tests/04_Destruction/02_RemovingInstanceFromPart/RemovingInstanceFromPart.csproj create mode 100644 fUML-CSharp/tests/pscs-Tests/04_Destruction/02_RemovingInstanceFromPart/RemovingInstanceFromPart.sln create mode 100644 fUML-CSharp/tests/pscs-Tests/04_Destruction/02_RemovingInstanceFromPart/model/RemovingInstanceFromPart.di create mode 100644 fUML-CSharp/tests/pscs-Tests/04_Destruction/02_RemovingInstanceFromPart/model/RemovingInstanceFromPart.notation create mode 100644 fUML-CSharp/tests/pscs-Tests/04_Destruction/02_RemovingInstanceFromPart/model/RemovingInstanceFromPart.uml create mode 100644 fUML-CSharp/tests/pscs-Tests/04_Destruction/02_RemovingInstanceFromPart/src/RemovingInstanceFromPart.cs create mode 100644 fUML-CSharp/tests/pscs-Tests/04_Destruction/02_RemovingInstanceFromPart/src/RemovingInstanceFromPartEnvironment.cs create mode 100644 fUML-CSharp/tests/pscs-Tests/04_Destruction/02_RemovingInstanceFromPart/src/RemovingInstanceFromPartModel.cs create mode 100644 fUML-CSharp/tests/pscs-Tests/04_Destruction/02_RemovingInstanceFromPart/src/assertionNotImplementedExecution.cs create mode 100644 fUML-CSharp/tests/pscs-Tests/04_Destruction/03_RemovingInstanceFromPort/.gitignore create mode 100644 fUML-CSharp/tests/pscs-Tests/04_Destruction/03_RemovingInstanceFromPort/Properties/launchSettings.json create mode 100644 fUML-CSharp/tests/pscs-Tests/04_Destruction/03_RemovingInstanceFromPort/RemovingInstanceFromPort.csproj create mode 100644 fUML-CSharp/tests/pscs-Tests/04_Destruction/03_RemovingInstanceFromPort/RemovingInstanceFromPort.sln create mode 100644 fUML-CSharp/tests/pscs-Tests/04_Destruction/03_RemovingInstanceFromPort/model/RemovingInstanceFromPort.di create mode 100644 fUML-CSharp/tests/pscs-Tests/04_Destruction/03_RemovingInstanceFromPort/model/RemovingInstanceFromPort.notation create mode 100644 fUML-CSharp/tests/pscs-Tests/04_Destruction/03_RemovingInstanceFromPort/model/RemovingInstanceFromPort.uml create mode 100644 fUML-CSharp/tests/pscs-Tests/04_Destruction/03_RemovingInstanceFromPort/src/RemovingInstanceFromPort.cs create mode 100644 fUML-CSharp/tests/pscs-Tests/04_Destruction/03_RemovingInstanceFromPort/src/RemovingInstanceFromPortEnvironment.cs create mode 100644 fUML-CSharp/tests/pscs-Tests/04_Destruction/03_RemovingInstanceFromPort/src/RemovingInstanceFromPortModel.cs create mode 100644 fUML-CSharp/tests/pscs-Tests/04_Destruction/03_RemovingInstanceFromPort/src/assertionNotImplementedExecution.cs diff --git a/fUML-CSharp/tests/pscs-Tests/01_Instantiation/01_AssemblyConnectors_P_P/.gitignore b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/01_AssemblyConnectors_P_P/.gitignore new file mode 100644 index 0000000..1736844 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/01_AssemblyConnectors_P_P/.gitignore @@ -0,0 +1,3 @@ +/.vs/ +/bin/ +/obj/ diff --git a/fUML-CSharp/tests/pscs-Tests/01_Instantiation/01_AssemblyConnectors_P_P/AssemblyConnectors_P_P.csproj b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/01_AssemblyConnectors_P_P/AssemblyConnectors_P_P.csproj new file mode 100644 index 0000000..8d98d4c --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/01_AssemblyConnectors_P_P/AssemblyConnectors_P_P.csproj @@ -0,0 +1,50 @@ + + + + Exe + net6.0 + enable + enable + + + + AssemblyConnectors_P_P.Debug + + + AssemblyConnectors_P_P.Release + + + + + ..\..\..\..\uml\bin\Debug\net6.0\uml.Debug.dll + + + + + ..\..\..\..\uml\bin\Release\net6.0\uml.Release.dll + + + + + + ..\..\..\..\fuml\bin\Debug\net6.0\fuml.Debug.dll + + + + + ..\..\..\..\fuml\bin\Release\net6.0\fuml.Release.dll + + + + + + ..\..\..\..\pscs\bin\Debug\net6.0\pscs.Debug.dll + + + + + ..\..\..\..\pscs\bin\Release\net6.0\pscs.Release.dll + + + + diff --git a/fUML-CSharp/tests/pscs-Tests/01_Instantiation/01_AssemblyConnectors_P_P/AssemblyConnectors_P_P.sln b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/01_AssemblyConnectors_P_P/AssemblyConnectors_P_P.sln new file mode 100644 index 0000000..497dfb2 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/01_AssemblyConnectors_P_P/AssemblyConnectors_P_P.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.32112.339 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AssemblyConnectors_P_P", "AssemblyConnectors_P_P.csproj", "{B563EDB7-1DC4-4389-B7CF-957DB2184698}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {B563EDB7-1DC4-4389-B7CF-957DB2184698}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {B563EDB7-1DC4-4389-B7CF-957DB2184698}.Debug|Any CPU.Build.0 = Debug|Any CPU + {B563EDB7-1DC4-4389-B7CF-957DB2184698}.Release|Any CPU.ActiveCfg = Release|Any CPU + {B563EDB7-1DC4-4389-B7CF-957DB2184698}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {9B5A42AB-3904-4F12-ACE2-995E644B8621} + EndGlobalSection +EndGlobal diff --git a/fUML-CSharp/tests/pscs-Tests/01_Instantiation/01_AssemblyConnectors_P_P/Properties/launchSettings.json b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/01_AssemblyConnectors_P_P/Properties/launchSettings.json new file mode 100644 index 0000000..3190c99 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/01_AssemblyConnectors_P_P/Properties/launchSettings.json @@ -0,0 +1,8 @@ +{ + "profiles": { + "AssemblyConnectors_P_P": { + "commandName": "Project", + "commandLineArgs": "main" + } + } +} \ No newline at end of file diff --git a/fUML-CSharp/tests/pscs-Tests/01_Instantiation/01_AssemblyConnectors_P_P/model/AssemblyConnectors_P_P.di b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/01_AssemblyConnectors_P_P/model/AssemblyConnectors_P_P.di new file mode 100644 index 0000000..bf9abab --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/01_AssemblyConnectors_P_P/model/AssemblyConnectors_P_P.di @@ -0,0 +1,2 @@ + + diff --git a/fUML-CSharp/tests/pscs-Tests/01_Instantiation/01_AssemblyConnectors_P_P/model/AssemblyConnectors_P_P.notation b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/01_AssemblyConnectors_P_P/model/AssemblyConnectors_P_P.notation new file mode 100644 index 0000000..4440c23 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/01_AssemblyConnectors_P_P/model/AssemblyConnectors_P_P.notation @@ -0,0 +1,1751 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+ + + + + +
+ + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+ + + + + +
+ + + +
+ + + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + + + + + + + + + +
+
+ + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + +
+ + + +
+ + + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + + + + + + + + + +
+
+ + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + +
+ + + +
+ + + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + + + + + + + + + +
+
+ + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + +
+ + + +
+ + + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + + + + + + + + + +
+
+ + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + +
+ + + +
+ + + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + + + + + + + + + +
+
+ + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + +
+ + + +
+ + + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + + + + + + + + + +
+
+ + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/fUML-CSharp/tests/pscs-Tests/01_Instantiation/01_AssemblyConnectors_P_P/model/AssemblyConnectors_P_P.uml b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/01_AssemblyConnectors_P_P/model/AssemblyConnectors_P_P.uml new file mode 100644 index 0000000..9bf73e4 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/01_AssemblyConnectors_P_P/model/AssemblyConnectors_P_P.uml @@ -0,0 +1,466 @@ + + + + + This test case addresses instantiation semantics in the case of assembly connectors between parts. + + + + + + + Empty pattern: +lower bound of part b and c is 0 + + + + + + + + + + + + + + + + + + + + + + + + + + Unconnected pattern: +lower bound on ends of connector r is 0 + + + + + + + + + + + + + + + + + + + + + + + + + + Array pattern: +lower bound of b and c are equals +lower bound on ends of connector r is 1 + + + + + + + + + + + + + + + + + + + + + + + + + + Star pattern: +lower bound on ends of connector r equal +lower bound of connected parts + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/fUML-CSharp/tests/pscs-Tests/01_Instantiation/01_AssemblyConnectors_P_P/src/AssemblyConnectors_P_P.cs b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/01_AssemblyConnectors_P_P/src/AssemblyConnectors_P_P.cs new file mode 100644 index 0000000..6cc2bc5 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/01_AssemblyConnectors_P_P/src/AssemblyConnectors_P_P.cs @@ -0,0 +1,31 @@ +namespace AssemblyConnectors_P_P +{ + internal class AssemblyConnectors_P_P + { + static void PrintUsage() + { + Console.WriteLine( + "=============================================================================================\n" + + "USAGE: [ <...>]\n" + + "=============================================================================================\n" + ); + } + + static int Main(string[] args) + { + if(args.Length == 0) + { + Console.WriteLine("[ERROR] Must declare at least one behavior name.\n"); + PrintUsage(); + return -1; + } + + foreach (string arg in args) + { + AssemblyConnectors_P_PEnvironment.Instance().Execute(arg); + } + + return 0; + } + } +} diff --git a/fUML-CSharp/tests/pscs-Tests/01_Instantiation/01_AssemblyConnectors_P_P/src/AssemblyConnectors_P_PEnvironment.cs b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/01_AssemblyConnectors_P_P/src/AssemblyConnectors_P_PEnvironment.cs new file mode 100644 index 0000000..35dd4c8 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/01_AssemblyConnectors_P_P/src/AssemblyConnectors_P_PEnvironment.cs @@ -0,0 +1,92 @@ +/* + * AssemblyConnectors_P_PEnvironment.cs + * + * Auto-generated file + */ + +/* Start of user code : User-defined using directives + * This section may be used for using directives. + * It will not be overwritten by future generation processes. + */ + +/* + * End of user code + */ + +namespace AssemblyConnectors_P_P +{ + public class AssemblyConnectors_P_PEnvironment : pscs.environment.Environment + { + private static AssemblyConnectors_P_PEnvironment? instance; + + public static AssemblyConnectors_P_PEnvironment Instance() + { + if(instance is null) + { + instance = new(); + instance.inMemoryModel = AssemblyConnectors_P_PModel.Instance(); + } + + return instance; + } + + public AssemblyConnectors_P_PEnvironment() + { + /* + * Create custom opaque behavior execution instances and add them to the execution environment. + */ + + /* Start of user code : Additional environment initializations + * This section may be used to do any additional environment initialization, + * for example initializing user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } + + public override void Execute(string behaviorName) + { + /* Start of user code : Context and inputs initializations + * This section may be used to initialize the execution context + * as well as input parameter values if required. + * It will not be overwritten by future generation processes. + */ + + //context = ...; + //inputs = ...; + + /* + * End of user code + */ + + /* + * Start execution via base class call + */ + base.Execute(behaviorName); + + /* Start of user code : Outputs evaluation + * This section may be used to evaluate output parameter values if required. + * It will not be overwritten by future generation processes. + */ + + //List theOutputs = outputs; + //... + + /* + * End of user code + */ + } + + /* Start of user code : User-defined members + * This section may be used for user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } // AssemblyConnectors_P_PEnvironment +} diff --git a/fUML-CSharp/tests/pscs-Tests/01_Instantiation/01_AssemblyConnectors_P_P/src/AssemblyConnectors_P_PModel.cs b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/01_AssemblyConnectors_P_P/src/AssemblyConnectors_P_PModel.cs new file mode 100644 index 0000000..cc78ea4 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/01_AssemblyConnectors_P_P/src/AssemblyConnectors_P_PModel.cs @@ -0,0 +1,1565 @@ +/* + * AssemblyConnectors_P_PModel.cs + * + * Auto-generated file + */ + +using uml.actions; +using uml.packages; +using uml.structuredclassifiers; +using fuml.primitivetypes; +using uml.classification; +using fuml.library; +using uml.commonbehavior; +using uml.simpleclassifiers; +using uml.commonstructure; +using uml.values; +using uml.activities; +using uml.environment; + + +/* Start of user code : User-defined includes and forward declarations + * This section may be used for includes and forward declarations. + * It will not be overwritten by future generation processes. + */ + +/* + * End of user code + */ + +namespace AssemblyConnectors_P_P +{ + public class AssemblyConnectors_P_PModel : InMemoryModel + { + private static AssemblyConnectors_P_PModel? instance; + + /* + * Model AssemblyConnectors_P_P + */ + public Package AssemblyConnectors_P_P = new(); + public Activity AssemblyConnectors_P_P_instantiate_A_Empty_Pattern = new(); + public ActivityParameterNode AssemblyConnectors_P_P_instantiate_A_Empty_Pattern_a_Empty_Pattern_node = new(); + public ObjectFlow AssemblyConnectors_P_P_instantiate_A_Empty_Pattern_ObjectFlow0 = new(); + public LiteralInteger AssemblyConnectors_P_P_instantiate_A_Empty_Pattern_ObjectFlow0_LiteralInteger1 = new(); + public LiteralBoolean AssemblyConnectors_P_P_instantiate_A_Empty_Pattern_ObjectFlow0_LiteralBoolean2 = new(); + public ObjectFlow AssemblyConnectors_P_P_instantiate_A_Empty_Pattern_ObjectFlow3 = new(); + public LiteralBoolean AssemblyConnectors_P_P_instantiate_A_Empty_Pattern_ObjectFlow3_LiteralBoolean4 = new(); + public LiteralInteger AssemblyConnectors_P_P_instantiate_A_Empty_Pattern_ObjectFlow3_LiteralInteger5 = new(); + public CallOperationAction AssemblyConnectors_P_P_instantiate_A_Empty_Pattern_A_Empty_Pattern_ = new(); + public OutputPin AssemblyConnectors_P_P_instantiate_A_Empty_Pattern_A_Empty_Pattern__result = new(); + public LiteralInteger AssemblyConnectors_P_P_instantiate_A_Empty_Pattern_A_Empty_Pattern__result_LiteralInteger6 = new(); + public LiteralUnlimitedNatural AssemblyConnectors_P_P_instantiate_A_Empty_Pattern_A_Empty_Pattern__result_LiteralUnlimitedNatural7 = new(); + public LiteralInteger AssemblyConnectors_P_P_instantiate_A_Empty_Pattern_A_Empty_Pattern__result_LiteralInteger8 = new(); + public InputPin AssemblyConnectors_P_P_instantiate_A_Empty_Pattern_A_Empty_Pattern__target = new(); + public LiteralInteger AssemblyConnectors_P_P_instantiate_A_Empty_Pattern_A_Empty_Pattern__target_LiteralInteger9 = new(); + public LiteralUnlimitedNatural AssemblyConnectors_P_P_instantiate_A_Empty_Pattern_A_Empty_Pattern__target_LiteralUnlimitedNatural10 = new(); + public CreateObjectAction AssemblyConnectors_P_P_instantiate_A_Empty_Pattern_Create_A_Empty_Pattern = new(); + public OutputPin AssemblyConnectors_P_P_instantiate_A_Empty_Pattern_Create_A_Empty_Pattern_result = new(); + public LiteralUnlimitedNatural AssemblyConnectors_P_P_instantiate_A_Empty_Pattern_Create_A_Empty_Pattern_result_LiteralUnlimitedNatural11 = new(); + public LiteralInteger AssemblyConnectors_P_P_instantiate_A_Empty_Pattern_Create_A_Empty_Pattern_result_LiteralInteger12 = new(); + public Parameter AssemblyConnectors_P_P_instantiate_A_Empty_Pattern_a_Empty_Pattern = new(); + public Class_ AssemblyConnectors_P_P_C = new(); + public Activity AssemblyConnectors_P_P_assert_A_Star_Pattern = new(); + public Parameter AssemblyConnectors_P_P_assert_A_Star_Pattern_a_Star_Pattern = new(); + public ActivityParameterNode AssemblyConnectors_P_P_assert_A_Star_Pattern_a_Star_Pattern_node = new(); + public LiteralInteger AssemblyConnectors_P_P_assert_A_Star_Pattern_a_Star_Pattern_node_LiteralInteger13 = new(); + public ObjectFlow AssemblyConnectors_P_P_assert_A_Star_Pattern_ObjectFlow14 = new(); + public LiteralInteger AssemblyConnectors_P_P_assert_A_Star_Pattern_ObjectFlow14_LiteralInteger15 = new(); + public LiteralBoolean AssemblyConnectors_P_P_assert_A_Star_Pattern_ObjectFlow14_LiteralBoolean16 = new(); + public ValueSpecificationAction AssemblyConnectors_P_P_assert_A_Star_Pattern_message = new(); + public OutputPin AssemblyConnectors_P_P_assert_A_Star_Pattern_message_result = new(); + public LiteralUnlimitedNatural AssemblyConnectors_P_P_assert_A_Star_Pattern_message_result_LiteralUnlimitedNatural17 = new(); + public LiteralInteger AssemblyConnectors_P_P_assert_A_Star_Pattern_message_result_LiteralInteger18 = new(); + public LiteralString AssemblyConnectors_P_P_assert_A_Star_Pattern_message_LiteralString19 = new(); + public CallBehaviorAction AssemblyConnectors_P_P_assert_A_Star_Pattern_writeLine = new(); + public OutputPin AssemblyConnectors_P_P_assert_A_Star_Pattern_writeLine_errorStatus = new(); + public LiteralInteger AssemblyConnectors_P_P_assert_A_Star_Pattern_writeLine_errorStatus_LiteralInteger20 = new(); + public LiteralUnlimitedNatural AssemblyConnectors_P_P_assert_A_Star_Pattern_writeLine_errorStatus_LiteralUnlimitedNatural21 = new(); + public LiteralInteger AssemblyConnectors_P_P_assert_A_Star_Pattern_writeLine_errorStatus_LiteralInteger22 = new(); + public InputPin AssemblyConnectors_P_P_assert_A_Star_Pattern_writeLine_value = new(); + public LiteralInteger AssemblyConnectors_P_P_assert_A_Star_Pattern_writeLine_value_LiteralInteger23 = new(); + public LiteralInteger AssemblyConnectors_P_P_assert_A_Star_Pattern_writeLine_value_LiteralInteger24 = new(); + public LiteralUnlimitedNatural AssemblyConnectors_P_P_assert_A_Star_Pattern_writeLine_value_LiteralUnlimitedNatural25 = new(); + public Class_ AssemblyConnectors_P_P_B = new(); + public Class_ AssemblyConnectors_P_P_A_Star_Pattern = new(); + public Comment AssemblyConnectors_P_P_A_Star_Pattern_Comment26 = new(); + public Property AssemblyConnectors_P_P_A_Star_Pattern_partC = new(); + public LiteralUnlimitedNatural AssemblyConnectors_P_P_A_Star_Pattern_partC_LiteralUnlimitedNatural27 = new(); + public LiteralInteger AssemblyConnectors_P_P_A_Star_Pattern_partC_LiteralInteger28 = new(); + public Operation AssemblyConnectors_P_P_A_Star_Pattern_A_Star_Pattern_A_Star_Pattern = new(); + public Parameter AssemblyConnectors_P_P_A_Star_Pattern_A_Star_Pattern_A_Star_Pattern_result = new(); + public Connector AssemblyConnectors_P_P_A_Star_Pattern_r = new(); + public ConnectorEnd AssemblyConnectors_P_P_A_Star_Pattern_r_ConnectorEnd29 = new(); + public LiteralInteger AssemblyConnectors_P_P_A_Star_Pattern_r_ConnectorEnd29_connectorEnd_2_Lower = new(); + public LiteralUnlimitedNatural AssemblyConnectors_P_P_A_Star_Pattern_r_ConnectorEnd29_connectorEnd_2_Upper = new(); + public ConnectorEnd AssemblyConnectors_P_P_A_Star_Pattern_r_ConnectorEnd30 = new(); + public LiteralUnlimitedNatural AssemblyConnectors_P_P_A_Star_Pattern_r_ConnectorEnd30_connectorEnd_1_Upper = new(); + public LiteralInteger AssemblyConnectors_P_P_A_Star_Pattern_r_ConnectorEnd30_connectorEnd_1_Lower = new(); + public Property AssemblyConnectors_P_P_A_Star_Pattern_partB = new(); + public LiteralUnlimitedNatural AssemblyConnectors_P_P_A_Star_Pattern_partB_LiteralUnlimitedNatural31 = new(); + public LiteralInteger AssemblyConnectors_P_P_A_Star_Pattern_partB_LiteralInteger32 = new(); + public Association AssemblyConnectors_P_P_R = new(); + public Property AssemblyConnectors_P_P_R_y = new(); + public LiteralInteger AssemblyConnectors_P_P_R_y_LiteralInteger33 = new(); + public LiteralUnlimitedNatural AssemblyConnectors_P_P_R_y_LiteralUnlimitedNatural34 = new(); + public Property AssemblyConnectors_P_P_R_x = new(); + public LiteralInteger AssemblyConnectors_P_P_R_x_LiteralInteger35 = new(); + public LiteralUnlimitedNatural AssemblyConnectors_P_P_R_x_LiteralUnlimitedNatural36 = new(); + public Activity AssemblyConnectors_P_P_main = new(); + public CallBehaviorAction AssemblyConnectors_P_P_main_instantiate_A_Star_Pattern = new(); + public OutputPin AssemblyConnectors_P_P_main_instantiate_A_Star_Pattern_a_Star_Pattern = new(); + public LiteralInteger AssemblyConnectors_P_P_main_instantiate_A_Star_Pattern_a_Star_Pattern_LiteralInteger37 = new(); + public LiteralUnlimitedNatural AssemblyConnectors_P_P_main_instantiate_A_Star_Pattern_a_Star_Pattern_LiteralUnlimitedNatural38 = new(); + public LiteralInteger AssemblyConnectors_P_P_main_instantiate_A_Star_Pattern_a_Star_Pattern_LiteralInteger39 = new(); + public ObjectFlow AssemblyConnectors_P_P_main_ObjectFlow40 = new(); + public LiteralBoolean AssemblyConnectors_P_P_main_ObjectFlow40_LiteralBoolean41 = new(); + public LiteralInteger AssemblyConnectors_P_P_main_ObjectFlow40_LiteralInteger42 = new(); + public ObjectFlow AssemblyConnectors_P_P_main_ObjectFlow43 = new(); + public LiteralBoolean AssemblyConnectors_P_P_main_ObjectFlow43_LiteralBoolean44 = new(); + public LiteralInteger AssemblyConnectors_P_P_main_ObjectFlow43_LiteralInteger45 = new(); + public CallBehaviorAction AssemblyConnectors_P_P_main_assert_A_Array_Pattern = new(); + public InputPin AssemblyConnectors_P_P_main_assert_A_Array_Pattern_a_Array_Pattern = new(); + public LiteralUnlimitedNatural AssemblyConnectors_P_P_main_assert_A_Array_Pattern_a_Array_Pattern_LiteralUnlimitedNatural46 = new(); + public LiteralInteger AssemblyConnectors_P_P_main_assert_A_Array_Pattern_a_Array_Pattern_LiteralInteger47 = new(); + public LiteralInteger AssemblyConnectors_P_P_main_assert_A_Array_Pattern_a_Array_Pattern_LiteralInteger48 = new(); + public ObjectFlow AssemblyConnectors_P_P_main_ObjectFlow49 = new(); + public LiteralInteger AssemblyConnectors_P_P_main_ObjectFlow49_LiteralInteger50 = new(); + public LiteralBoolean AssemblyConnectors_P_P_main_ObjectFlow49_LiteralBoolean51 = new(); + public ControlFlow AssemblyConnectors_P_P_main_ControlFlow52 = new(); + public CallBehaviorAction AssemblyConnectors_P_P_main_assert_A_Unconnected_Pattern = new(); + public InputPin AssemblyConnectors_P_P_main_assert_A_Unconnected_Pattern_a_Unconnected_Pattern = new(); + public LiteralInteger AssemblyConnectors_P_P_main_assert_A_Unconnected_Pattern_a_Unconnected_Pattern_LiteralInteger53 = new(); + public LiteralUnlimitedNatural AssemblyConnectors_P_P_main_assert_A_Unconnected_Pattern_a_Unconnected_Pattern_LiteralUnlimitedNatural54 = new(); + public LiteralInteger AssemblyConnectors_P_P_main_assert_A_Unconnected_Pattern_a_Unconnected_Pattern_LiteralInteger55 = new(); + public ControlFlow AssemblyConnectors_P_P_main_ControlFlow56 = new(); + public CallBehaviorAction AssemblyConnectors_P_P_main_assert_A_Empty_Pattern = new(); + public InputPin AssemblyConnectors_P_P_main_assert_A_Empty_Pattern_a_Empty_Pattern = new(); + public LiteralUnlimitedNatural AssemblyConnectors_P_P_main_assert_A_Empty_Pattern_a_Empty_Pattern_LiteralUnlimitedNatural57 = new(); + public LiteralInteger AssemblyConnectors_P_P_main_assert_A_Empty_Pattern_a_Empty_Pattern_LiteralInteger58 = new(); + public LiteralInteger AssemblyConnectors_P_P_main_assert_A_Empty_Pattern_a_Empty_Pattern_LiteralInteger59 = new(); + public ObjectFlow AssemblyConnectors_P_P_main_ObjectFlow60 = new(); + public LiteralBoolean AssemblyConnectors_P_P_main_ObjectFlow60_LiteralBoolean61 = new(); + public LiteralInteger AssemblyConnectors_P_P_main_ObjectFlow60_LiteralInteger62 = new(); + public CallBehaviorAction AssemblyConnectors_P_P_main_instantiate_A_Unconnected_Pattern = new(); + public OutputPin AssemblyConnectors_P_P_main_instantiate_A_Unconnected_Pattern_a_Unconnected_Pattern = new(); + public LiteralUnlimitedNatural AssemblyConnectors_P_P_main_instantiate_A_Unconnected_Pattern_a_Unconnected_Pattern_LiteralUnlimitedNatural63 = new(); + public LiteralInteger AssemblyConnectors_P_P_main_instantiate_A_Unconnected_Pattern_a_Unconnected_Pattern_LiteralInteger64 = new(); + public LiteralInteger AssemblyConnectors_P_P_main_instantiate_A_Unconnected_Pattern_a_Unconnected_Pattern_LiteralInteger65 = new(); + public ControlFlow AssemblyConnectors_P_P_main_ControlFlow66 = new(); + public CallBehaviorAction AssemblyConnectors_P_P_main_instantiate_A_Array_Pattern = new(); + public OutputPin AssemblyConnectors_P_P_main_instantiate_A_Array_Pattern_a_Array_Pattern = new(); + public LiteralInteger AssemblyConnectors_P_P_main_instantiate_A_Array_Pattern_a_Array_Pattern_LiteralInteger67 = new(); + public LiteralUnlimitedNatural AssemblyConnectors_P_P_main_instantiate_A_Array_Pattern_a_Array_Pattern_LiteralUnlimitedNatural68 = new(); + public LiteralInteger AssemblyConnectors_P_P_main_instantiate_A_Array_Pattern_a_Array_Pattern_LiteralInteger69 = new(); + public CallBehaviorAction AssemblyConnectors_P_P_main_assert_A_Star_Pattern = new(); + public InputPin AssemblyConnectors_P_P_main_assert_A_Star_Pattern_a_Star_Pattern = new(); + public LiteralInteger AssemblyConnectors_P_P_main_assert_A_Star_Pattern_a_Star_Pattern_LiteralInteger70 = new(); + public LiteralInteger AssemblyConnectors_P_P_main_assert_A_Star_Pattern_a_Star_Pattern_LiteralInteger71 = new(); + public LiteralUnlimitedNatural AssemblyConnectors_P_P_main_assert_A_Star_Pattern_a_Star_Pattern_LiteralUnlimitedNatural72 = new(); + public CallBehaviorAction AssemblyConnectors_P_P_main_instantiate_A_Empty_Pattern = new(); + public OutputPin AssemblyConnectors_P_P_main_instantiate_A_Empty_Pattern_a_Empty_Pattern = new(); + public LiteralInteger AssemblyConnectors_P_P_main_instantiate_A_Empty_Pattern_a_Empty_Pattern_LiteralInteger73 = new(); + public LiteralUnlimitedNatural AssemblyConnectors_P_P_main_instantiate_A_Empty_Pattern_a_Empty_Pattern_LiteralUnlimitedNatural74 = new(); + public LiteralInteger AssemblyConnectors_P_P_main_instantiate_A_Empty_Pattern_a_Empty_Pattern_LiteralInteger75 = new(); + public Activity AssemblyConnectors_P_P_instantiate_A_Unconnected_Pattern = new(); + public CreateObjectAction AssemblyConnectors_P_P_instantiate_A_Unconnected_Pattern_Create_A_Unconnected_Pattern = new(); + public OutputPin AssemblyConnectors_P_P_instantiate_A_Unconnected_Pattern_Create_A_Unconnected_Pattern_result = new(); + public LiteralUnlimitedNatural AssemblyConnectors_P_P_instantiate_A_Unconnected_Pattern_Create_A_Unconnected_Pattern_result_LiteralUnlimitedNatural76 = new(); + public LiteralInteger AssemblyConnectors_P_P_instantiate_A_Unconnected_Pattern_Create_A_Unconnected_Pattern_result_LiteralInteger77 = new(); + public ObjectFlow AssemblyConnectors_P_P_instantiate_A_Unconnected_Pattern_ObjectFlow78 = new(); + public LiteralBoolean AssemblyConnectors_P_P_instantiate_A_Unconnected_Pattern_ObjectFlow78_LiteralBoolean79 = new(); + public LiteralInteger AssemblyConnectors_P_P_instantiate_A_Unconnected_Pattern_ObjectFlow78_LiteralInteger80 = new(); + public Parameter AssemblyConnectors_P_P_instantiate_A_Unconnected_Pattern_a_Unconnected_Pattern = new(); + public ObjectFlow AssemblyConnectors_P_P_instantiate_A_Unconnected_Pattern_ObjectFlow81 = new(); + public LiteralBoolean AssemblyConnectors_P_P_instantiate_A_Unconnected_Pattern_ObjectFlow81_LiteralBoolean82 = new(); + public LiteralInteger AssemblyConnectors_P_P_instantiate_A_Unconnected_Pattern_ObjectFlow81_LiteralInteger83 = new(); + public ActivityParameterNode AssemblyConnectors_P_P_instantiate_A_Unconnected_Pattern_a_Unconnected_Pattern_node = new(); + public CallOperationAction AssemblyConnectors_P_P_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern_ = new(); + public InputPin AssemblyConnectors_P_P_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern__target = new(); + public LiteralUnlimitedNatural AssemblyConnectors_P_P_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern__target_LiteralUnlimitedNatural84 = new(); + public LiteralInteger AssemblyConnectors_P_P_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern__target_LiteralInteger85 = new(); + public OutputPin AssemblyConnectors_P_P_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern__result = new(); + public LiteralInteger AssemblyConnectors_P_P_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern__result_LiteralInteger86 = new(); + public LiteralInteger AssemblyConnectors_P_P_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern__result_LiteralInteger87 = new(); + public LiteralUnlimitedNatural AssemblyConnectors_P_P_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern__result_LiteralUnlimitedNatural88 = new(); + public Activity AssemblyConnectors_P_P_assert_A_Empty_Pattern = new(); + public CallBehaviorAction AssemblyConnectors_P_P_assert_A_Empty_Pattern_writeLine = new(); + public InputPin AssemblyConnectors_P_P_assert_A_Empty_Pattern_writeLine_value = new(); + public LiteralInteger AssemblyConnectors_P_P_assert_A_Empty_Pattern_writeLine_value_LiteralInteger89 = new(); + public LiteralUnlimitedNatural AssemblyConnectors_P_P_assert_A_Empty_Pattern_writeLine_value_LiteralUnlimitedNatural90 = new(); + public LiteralInteger AssemblyConnectors_P_P_assert_A_Empty_Pattern_writeLine_value_LiteralInteger91 = new(); + public OutputPin AssemblyConnectors_P_P_assert_A_Empty_Pattern_writeLine_errorStatus = new(); + public LiteralInteger AssemblyConnectors_P_P_assert_A_Empty_Pattern_writeLine_errorStatus_LiteralInteger92 = new(); + public LiteralInteger AssemblyConnectors_P_P_assert_A_Empty_Pattern_writeLine_errorStatus_LiteralInteger93 = new(); + public LiteralUnlimitedNatural AssemblyConnectors_P_P_assert_A_Empty_Pattern_writeLine_errorStatus_LiteralUnlimitedNatural94 = new(); + public ObjectFlow AssemblyConnectors_P_P_assert_A_Empty_Pattern_ObjectFlow95 = new(); + public LiteralBoolean AssemblyConnectors_P_P_assert_A_Empty_Pattern_ObjectFlow95_LiteralBoolean96 = new(); + public LiteralInteger AssemblyConnectors_P_P_assert_A_Empty_Pattern_ObjectFlow95_LiteralInteger97 = new(); + public Parameter AssemblyConnectors_P_P_assert_A_Empty_Pattern_a_Empty_Pattern = new(); + public ValueSpecificationAction AssemblyConnectors_P_P_assert_A_Empty_Pattern_message = new(); + public OutputPin AssemblyConnectors_P_P_assert_A_Empty_Pattern_message_result = new(); + public LiteralUnlimitedNatural AssemblyConnectors_P_P_assert_A_Empty_Pattern_message_result_LiteralUnlimitedNatural98 = new(); + public LiteralInteger AssemblyConnectors_P_P_assert_A_Empty_Pattern_message_result_LiteralInteger99 = new(); + public LiteralString AssemblyConnectors_P_P_assert_A_Empty_Pattern_message_LiteralString100 = new(); + public ActivityParameterNode AssemblyConnectors_P_P_assert_A_Empty_Pattern_a_Empty_Pattern_node = new(); + public LiteralInteger AssemblyConnectors_P_P_assert_A_Empty_Pattern_a_Empty_Pattern_node_LiteralInteger101 = new(); + public Class_ AssemblyConnectors_P_P_A_Unconnected_Pattern = new(); + public Comment AssemblyConnectors_P_P_A_Unconnected_Pattern_Comment102 = new(); + public Property AssemblyConnectors_P_P_A_Unconnected_Pattern_partC = new(); + public LiteralInteger AssemblyConnectors_P_P_A_Unconnected_Pattern_partC_LiteralInteger103 = new(); + public LiteralUnlimitedNatural AssemblyConnectors_P_P_A_Unconnected_Pattern_partC_LiteralUnlimitedNatural104 = new(); + public Property AssemblyConnectors_P_P_A_Unconnected_Pattern_partB = new(); + public LiteralUnlimitedNatural AssemblyConnectors_P_P_A_Unconnected_Pattern_partB_LiteralUnlimitedNatural105 = new(); + public LiteralInteger AssemblyConnectors_P_P_A_Unconnected_Pattern_partB_LiteralInteger106 = new(); + public Connector AssemblyConnectors_P_P_A_Unconnected_Pattern_r = new(); + public ConnectorEnd AssemblyConnectors_P_P_A_Unconnected_Pattern_r_ConnectorEnd107 = new(); + public LiteralInteger AssemblyConnectors_P_P_A_Unconnected_Pattern_r_ConnectorEnd107_connectorEnd_2_Lower = new(); + public LiteralUnlimitedNatural AssemblyConnectors_P_P_A_Unconnected_Pattern_r_ConnectorEnd107_connectorEnd_2_Upper = new(); + public ConnectorEnd AssemblyConnectors_P_P_A_Unconnected_Pattern_r_ConnectorEnd108 = new(); + public LiteralInteger AssemblyConnectors_P_P_A_Unconnected_Pattern_r_ConnectorEnd108_connectorEnd_1_Lower = new(); + public LiteralUnlimitedNatural AssemblyConnectors_P_P_A_Unconnected_Pattern_r_ConnectorEnd108_connectorEnd_1_Upper = new(); + public Operation AssemblyConnectors_P_P_A_Unconnected_Pattern_A_Unconnected_Pattern_A_Unconnected_Pattern = new(); + public Parameter AssemblyConnectors_P_P_A_Unconnected_Pattern_A_Unconnected_Pattern_A_Unconnected_Pattern_result = new(); + public Class_ AssemblyConnectors_P_P_A_Array_Pattern = new(); + public Property AssemblyConnectors_P_P_A_Array_Pattern_partB = new(); + public LiteralInteger AssemblyConnectors_P_P_A_Array_Pattern_partB_LiteralInteger109 = new(); + public LiteralUnlimitedNatural AssemblyConnectors_P_P_A_Array_Pattern_partB_LiteralUnlimitedNatural110 = new(); + public Property AssemblyConnectors_P_P_A_Array_Pattern_partC = new(); + public LiteralUnlimitedNatural AssemblyConnectors_P_P_A_Array_Pattern_partC_LiteralUnlimitedNatural111 = new(); + public LiteralInteger AssemblyConnectors_P_P_A_Array_Pattern_partC_LiteralInteger112 = new(); + public Comment AssemblyConnectors_P_P_A_Array_Pattern_Comment113 = new(); + public Connector AssemblyConnectors_P_P_A_Array_Pattern_r = new(); + public ConnectorEnd AssemblyConnectors_P_P_A_Array_Pattern_r_ConnectorEnd114 = new(); + public LiteralInteger AssemblyConnectors_P_P_A_Array_Pattern_r_ConnectorEnd114_connectorEnd_1_Lower = new(); + public LiteralUnlimitedNatural AssemblyConnectors_P_P_A_Array_Pattern_r_ConnectorEnd114_connectorEnd_1_Upper = new(); + public ConnectorEnd AssemblyConnectors_P_P_A_Array_Pattern_r_ConnectorEnd115 = new(); + public LiteralInteger AssemblyConnectors_P_P_A_Array_Pattern_r_ConnectorEnd115_connectorEnd_2_Lower = new(); + public LiteralUnlimitedNatural AssemblyConnectors_P_P_A_Array_Pattern_r_ConnectorEnd115_connectorEnd_2_Upper = new(); + public Operation AssemblyConnectors_P_P_A_Array_Pattern_A_Array_Pattern_A_Array_Pattern = new(); + public Parameter AssemblyConnectors_P_P_A_Array_Pattern_A_Array_Pattern_A_Array_Pattern_result = new(); + public Activity AssemblyConnectors_P_P_assert_A_Array_Pattern = new(); + public CallBehaviorAction AssemblyConnectors_P_P_assert_A_Array_Pattern_writeLine = new(); + public InputPin AssemblyConnectors_P_P_assert_A_Array_Pattern_writeLine_value = new(); + public LiteralInteger AssemblyConnectors_P_P_assert_A_Array_Pattern_writeLine_value_LiteralInteger116 = new(); + public LiteralUnlimitedNatural AssemblyConnectors_P_P_assert_A_Array_Pattern_writeLine_value_LiteralUnlimitedNatural117 = new(); + public LiteralInteger AssemblyConnectors_P_P_assert_A_Array_Pattern_writeLine_value_LiteralInteger118 = new(); + public OutputPin AssemblyConnectors_P_P_assert_A_Array_Pattern_writeLine_errorStatus = new(); + public LiteralUnlimitedNatural AssemblyConnectors_P_P_assert_A_Array_Pattern_writeLine_errorStatus_LiteralUnlimitedNatural119 = new(); + public LiteralInteger AssemblyConnectors_P_P_assert_A_Array_Pattern_writeLine_errorStatus_LiteralInteger120 = new(); + public LiteralInteger AssemblyConnectors_P_P_assert_A_Array_Pattern_writeLine_errorStatus_LiteralInteger121 = new(); + public ObjectFlow AssemblyConnectors_P_P_assert_A_Array_Pattern_ObjectFlow122 = new(); + public LiteralBoolean AssemblyConnectors_P_P_assert_A_Array_Pattern_ObjectFlow122_LiteralBoolean123 = new(); + public LiteralInteger AssemblyConnectors_P_P_assert_A_Array_Pattern_ObjectFlow122_LiteralInteger124 = new(); + public ValueSpecificationAction AssemblyConnectors_P_P_assert_A_Array_Pattern_message = new(); + public LiteralString AssemblyConnectors_P_P_assert_A_Array_Pattern_message_LiteralString125 = new(); + public OutputPin AssemblyConnectors_P_P_assert_A_Array_Pattern_message_result = new(); + public LiteralInteger AssemblyConnectors_P_P_assert_A_Array_Pattern_message_result_LiteralInteger126 = new(); + public LiteralUnlimitedNatural AssemblyConnectors_P_P_assert_A_Array_Pattern_message_result_LiteralUnlimitedNatural127 = new(); + public Parameter AssemblyConnectors_P_P_assert_A_Array_Pattern_a_Array_Pattern = new(); + public ActivityParameterNode AssemblyConnectors_P_P_assert_A_Array_Pattern_a_Array_Pattern_node = new(); + public LiteralInteger AssemblyConnectors_P_P_assert_A_Array_Pattern_a_Array_Pattern_node_LiteralInteger128 = new(); + public Activity AssemblyConnectors_P_P_instantiate_A_Star_Pattern = new(); + public CreateObjectAction AssemblyConnectors_P_P_instantiate_A_Star_Pattern_Create_A_Star_Pattern = new(); + public OutputPin AssemblyConnectors_P_P_instantiate_A_Star_Pattern_Create_A_Star_Pattern_result = new(); + public LiteralUnlimitedNatural AssemblyConnectors_P_P_instantiate_A_Star_Pattern_Create_A_Star_Pattern_result_LiteralUnlimitedNatural129 = new(); + public LiteralInteger AssemblyConnectors_P_P_instantiate_A_Star_Pattern_Create_A_Star_Pattern_result_LiteralInteger130 = new(); + public Parameter AssemblyConnectors_P_P_instantiate_A_Star_Pattern_a_Star_Pattern = new(); + public ObjectFlow AssemblyConnectors_P_P_instantiate_A_Star_Pattern_ObjectFlow131 = new(); + public LiteralBoolean AssemblyConnectors_P_P_instantiate_A_Star_Pattern_ObjectFlow131_LiteralBoolean132 = new(); + public LiteralInteger AssemblyConnectors_P_P_instantiate_A_Star_Pattern_ObjectFlow131_LiteralInteger133 = new(); + public ObjectFlow AssemblyConnectors_P_P_instantiate_A_Star_Pattern_ObjectFlow134 = new(); + public LiteralInteger AssemblyConnectors_P_P_instantiate_A_Star_Pattern_ObjectFlow134_LiteralInteger135 = new(); + public LiteralBoolean AssemblyConnectors_P_P_instantiate_A_Star_Pattern_ObjectFlow134_LiteralBoolean136 = new(); + public CallOperationAction AssemblyConnectors_P_P_instantiate_A_Star_Pattern_A_Star_Pattern_ = new(); + public OutputPin AssemblyConnectors_P_P_instantiate_A_Star_Pattern_A_Star_Pattern__result = new(); + public LiteralInteger AssemblyConnectors_P_P_instantiate_A_Star_Pattern_A_Star_Pattern__result_LiteralInteger137 = new(); + public LiteralUnlimitedNatural AssemblyConnectors_P_P_instantiate_A_Star_Pattern_A_Star_Pattern__result_LiteralUnlimitedNatural138 = new(); + public LiteralInteger AssemblyConnectors_P_P_instantiate_A_Star_Pattern_A_Star_Pattern__result_LiteralInteger139 = new(); + public InputPin AssemblyConnectors_P_P_instantiate_A_Star_Pattern_A_Star_Pattern__target = new(); + public LiteralUnlimitedNatural AssemblyConnectors_P_P_instantiate_A_Star_Pattern_A_Star_Pattern__target_LiteralUnlimitedNatural140 = new(); + public LiteralInteger AssemblyConnectors_P_P_instantiate_A_Star_Pattern_A_Star_Pattern__target_LiteralInteger141 = new(); + public ActivityParameterNode AssemblyConnectors_P_P_instantiate_A_Star_Pattern_a_Star_Pattern_node = new(); + public Activity AssemblyConnectors_P_P_instantiate_A_Array_Pattern = new(); + public ActivityParameterNode AssemblyConnectors_P_P_instantiate_A_Array_Pattern_a_Array_Pattern_node = new(); + public LiteralInteger AssemblyConnectors_P_P_instantiate_A_Array_Pattern_a_Array_Pattern_node_LiteralInteger142 = new(); + public CallOperationAction AssemblyConnectors_P_P_instantiate_A_Array_Pattern_A_Array_Pattern_ = new(); + public InputPin AssemblyConnectors_P_P_instantiate_A_Array_Pattern_A_Array_Pattern__target = new(); + public LiteralUnlimitedNatural AssemblyConnectors_P_P_instantiate_A_Array_Pattern_A_Array_Pattern__target_LiteralUnlimitedNatural143 = new(); + public LiteralInteger AssemblyConnectors_P_P_instantiate_A_Array_Pattern_A_Array_Pattern__target_LiteralInteger144 = new(); + public OutputPin AssemblyConnectors_P_P_instantiate_A_Array_Pattern_A_Array_Pattern__result = new(); + public LiteralInteger AssemblyConnectors_P_P_instantiate_A_Array_Pattern_A_Array_Pattern__result_LiteralInteger145 = new(); + public LiteralUnlimitedNatural AssemblyConnectors_P_P_instantiate_A_Array_Pattern_A_Array_Pattern__result_LiteralUnlimitedNatural146 = new(); + public LiteralInteger AssemblyConnectors_P_P_instantiate_A_Array_Pattern_A_Array_Pattern__result_LiteralInteger147 = new(); + public ObjectFlow AssemblyConnectors_P_P_instantiate_A_Array_Pattern_ObjectFlow148 = new(); + public LiteralInteger AssemblyConnectors_P_P_instantiate_A_Array_Pattern_ObjectFlow148_LiteralInteger149 = new(); + public LiteralBoolean AssemblyConnectors_P_P_instantiate_A_Array_Pattern_ObjectFlow148_LiteralBoolean150 = new(); + public Parameter AssemblyConnectors_P_P_instantiate_A_Array_Pattern_a_Array_Pattern = new(); + public CreateObjectAction AssemblyConnectors_P_P_instantiate_A_Array_Pattern_Create_A_Array_Pattern = new(); + public OutputPin AssemblyConnectors_P_P_instantiate_A_Array_Pattern_Create_A_Array_Pattern_result = new(); + public LiteralInteger AssemblyConnectors_P_P_instantiate_A_Array_Pattern_Create_A_Array_Pattern_result_LiteralInteger151 = new(); + public LiteralUnlimitedNatural AssemblyConnectors_P_P_instantiate_A_Array_Pattern_Create_A_Array_Pattern_result_LiteralUnlimitedNatural152 = new(); + public ObjectFlow AssemblyConnectors_P_P_instantiate_A_Array_Pattern_ObjectFlow153 = new(); + public LiteralBoolean AssemblyConnectors_P_P_instantiate_A_Array_Pattern_ObjectFlow153_LiteralBoolean154 = new(); + public LiteralInteger AssemblyConnectors_P_P_instantiate_A_Array_Pattern_ObjectFlow153_LiteralInteger155 = new(); + public Activity AssemblyConnectors_P_P_assert_A_Unconnected_Pattern = new(); + public ObjectFlow AssemblyConnectors_P_P_assert_A_Unconnected_Pattern_ObjectFlow156 = new(); + public LiteralInteger AssemblyConnectors_P_P_assert_A_Unconnected_Pattern_ObjectFlow156_LiteralInteger157 = new(); + public LiteralBoolean AssemblyConnectors_P_P_assert_A_Unconnected_Pattern_ObjectFlow156_LiteralBoolean158 = new(); + public CallBehaviorAction AssemblyConnectors_P_P_assert_A_Unconnected_Pattern_writeLine = new(); + public InputPin AssemblyConnectors_P_P_assert_A_Unconnected_Pattern_writeLine_value = new(); + public LiteralUnlimitedNatural AssemblyConnectors_P_P_assert_A_Unconnected_Pattern_writeLine_value_LiteralUnlimitedNatural159 = new(); + public LiteralInteger AssemblyConnectors_P_P_assert_A_Unconnected_Pattern_writeLine_value_LiteralInteger160 = new(); + public LiteralInteger AssemblyConnectors_P_P_assert_A_Unconnected_Pattern_writeLine_value_LiteralInteger161 = new(); + public OutputPin AssemblyConnectors_P_P_assert_A_Unconnected_Pattern_writeLine_errorStatus = new(); + public LiteralUnlimitedNatural AssemblyConnectors_P_P_assert_A_Unconnected_Pattern_writeLine_errorStatus_LiteralUnlimitedNatural162 = new(); + public LiteralInteger AssemblyConnectors_P_P_assert_A_Unconnected_Pattern_writeLine_errorStatus_LiteralInteger163 = new(); + public LiteralInteger AssemblyConnectors_P_P_assert_A_Unconnected_Pattern_writeLine_errorStatus_LiteralInteger164 = new(); + public ValueSpecificationAction AssemblyConnectors_P_P_assert_A_Unconnected_Pattern_message = new(); + public LiteralString AssemblyConnectors_P_P_assert_A_Unconnected_Pattern_message_LiteralString165 = new(); + public OutputPin AssemblyConnectors_P_P_assert_A_Unconnected_Pattern_message_result = new(); + public LiteralInteger AssemblyConnectors_P_P_assert_A_Unconnected_Pattern_message_result_LiteralInteger166 = new(); + public LiteralUnlimitedNatural AssemblyConnectors_P_P_assert_A_Unconnected_Pattern_message_result_LiteralUnlimitedNatural167 = new(); + public ActivityParameterNode AssemblyConnectors_P_P_assert_A_Unconnected_Pattern_a_Unconnected_Pattern_node = new(); + public LiteralInteger AssemblyConnectors_P_P_assert_A_Unconnected_Pattern_a_Unconnected_Pattern_node_LiteralInteger168 = new(); + public Parameter AssemblyConnectors_P_P_assert_A_Unconnected_Pattern_a_Unconnected_Pattern = new(); + public Class_ AssemblyConnectors_P_P_A_Empty_Pattern = new(); + public Property AssemblyConnectors_P_P_A_Empty_Pattern_partB = new(); + public LiteralInteger AssemblyConnectors_P_P_A_Empty_Pattern_partB_LiteralInteger169 = new(); + public LiteralUnlimitedNatural AssemblyConnectors_P_P_A_Empty_Pattern_partB_LiteralUnlimitedNatural170 = new(); + public Property AssemblyConnectors_P_P_A_Empty_Pattern_partC = new(); + public LiteralInteger AssemblyConnectors_P_P_A_Empty_Pattern_partC_LiteralInteger171 = new(); + public LiteralUnlimitedNatural AssemblyConnectors_P_P_A_Empty_Pattern_partC_LiteralUnlimitedNatural172 = new(); + public Operation AssemblyConnectors_P_P_A_Empty_Pattern_A_Empty_Pattern_A_Empty_Pattern = new(); + public Parameter AssemblyConnectors_P_P_A_Empty_Pattern_A_Empty_Pattern_A_Empty_Pattern_result = new(); + public Connector AssemblyConnectors_P_P_A_Empty_Pattern_r = new(); + public ConnectorEnd AssemblyConnectors_P_P_A_Empty_Pattern_r_ConnectorEnd173 = new(); + public LiteralUnlimitedNatural AssemblyConnectors_P_P_A_Empty_Pattern_r_ConnectorEnd173_connectorEnd_2_Upper = new(); + public LiteralInteger AssemblyConnectors_P_P_A_Empty_Pattern_r_ConnectorEnd173_connectorEnd_2_Lower = new(); + public ConnectorEnd AssemblyConnectors_P_P_A_Empty_Pattern_r_ConnectorEnd174 = new(); + public LiteralUnlimitedNatural AssemblyConnectors_P_P_A_Empty_Pattern_r_ConnectorEnd174_connectorEnd_1_Upper = new(); + public LiteralInteger AssemblyConnectors_P_P_A_Empty_Pattern_r_ConnectorEnd174_connectorEnd_1_Lower = new(); + public Comment AssemblyConnectors_P_P_A_Empty_Pattern_Comment175 = new(); + + public static AssemblyConnectors_P_PModel Instance() + { + if (instance is null) + { + instance = new(); + instance.InitializeInMemoryModel(); + } + + return instance; + } + + public AssemblyConnectors_P_PModel() + { + /* Start of user code : Additional model initializations + * This section may be used to do any additional model initialization, + * for example initializing user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } + + private void InitializeInMemoryModel() + { + // Create public members + /* + * Model AssemblyConnectors_P_P + */ + AddToElementRepository("AssemblyConnectors_P_P", AssemblyConnectors_P_P); + AddToElementRepository("instantiate_A_Empty_Pattern", AssemblyConnectors_P_P_instantiate_A_Empty_Pattern); + AddToElementRepository("a_Empty_Pattern_node", AssemblyConnectors_P_P_instantiate_A_Empty_Pattern_a_Empty_Pattern_node); + AddToElementRepository("ObjectFlow0", AssemblyConnectors_P_P_instantiate_A_Empty_Pattern_ObjectFlow0); + AddToElementRepository("LiteralInteger1", AssemblyConnectors_P_P_instantiate_A_Empty_Pattern_ObjectFlow0_LiteralInteger1); + AddToElementRepository("LiteralBoolean2", AssemblyConnectors_P_P_instantiate_A_Empty_Pattern_ObjectFlow0_LiteralBoolean2); + AddToElementRepository("ObjectFlow3", AssemblyConnectors_P_P_instantiate_A_Empty_Pattern_ObjectFlow3); + AddToElementRepository("LiteralBoolean4", AssemblyConnectors_P_P_instantiate_A_Empty_Pattern_ObjectFlow3_LiteralBoolean4); + AddToElementRepository("LiteralInteger5", AssemblyConnectors_P_P_instantiate_A_Empty_Pattern_ObjectFlow3_LiteralInteger5); + AddToElementRepository("A_Empty_Pattern()", AssemblyConnectors_P_P_instantiate_A_Empty_Pattern_A_Empty_Pattern_); + AddToElementRepository("result", AssemblyConnectors_P_P_instantiate_A_Empty_Pattern_A_Empty_Pattern__result); + AddToElementRepository("LiteralInteger6", AssemblyConnectors_P_P_instantiate_A_Empty_Pattern_A_Empty_Pattern__result_LiteralInteger6); + AddToElementRepository("LiteralUnlimitedNatural7", AssemblyConnectors_P_P_instantiate_A_Empty_Pattern_A_Empty_Pattern__result_LiteralUnlimitedNatural7); + AddToElementRepository("LiteralInteger8", AssemblyConnectors_P_P_instantiate_A_Empty_Pattern_A_Empty_Pattern__result_LiteralInteger8); + AddToElementRepository("target", AssemblyConnectors_P_P_instantiate_A_Empty_Pattern_A_Empty_Pattern__target); + AddToElementRepository("LiteralInteger9", AssemblyConnectors_P_P_instantiate_A_Empty_Pattern_A_Empty_Pattern__target_LiteralInteger9); + AddToElementRepository("LiteralUnlimitedNatural10", AssemblyConnectors_P_P_instantiate_A_Empty_Pattern_A_Empty_Pattern__target_LiteralUnlimitedNatural10); + AddToElementRepository("Create A_Empty_Pattern", AssemblyConnectors_P_P_instantiate_A_Empty_Pattern_Create_A_Empty_Pattern); + AddToElementRepository("result", AssemblyConnectors_P_P_instantiate_A_Empty_Pattern_Create_A_Empty_Pattern_result); + AddToElementRepository("LiteralUnlimitedNatural11", AssemblyConnectors_P_P_instantiate_A_Empty_Pattern_Create_A_Empty_Pattern_result_LiteralUnlimitedNatural11); + AddToElementRepository("LiteralInteger12", AssemblyConnectors_P_P_instantiate_A_Empty_Pattern_Create_A_Empty_Pattern_result_LiteralInteger12); + AddToElementRepository("a_Empty_Pattern", AssemblyConnectors_P_P_instantiate_A_Empty_Pattern_a_Empty_Pattern); + AddToElementRepository("C", AssemblyConnectors_P_P_C); + AddToElementRepository("assert_A_Star_Pattern", AssemblyConnectors_P_P_assert_A_Star_Pattern); + AddToElementRepository("a_Star_Pattern", AssemblyConnectors_P_P_assert_A_Star_Pattern_a_Star_Pattern); + AddToElementRepository("a_Star_Pattern_node", AssemblyConnectors_P_P_assert_A_Star_Pattern_a_Star_Pattern_node); + AddToElementRepository("LiteralInteger13", AssemblyConnectors_P_P_assert_A_Star_Pattern_a_Star_Pattern_node_LiteralInteger13); + AddToElementRepository("ObjectFlow14", AssemblyConnectors_P_P_assert_A_Star_Pattern_ObjectFlow14); + AddToElementRepository("LiteralInteger15", AssemblyConnectors_P_P_assert_A_Star_Pattern_ObjectFlow14_LiteralInteger15); + AddToElementRepository("LiteralBoolean16", AssemblyConnectors_P_P_assert_A_Star_Pattern_ObjectFlow14_LiteralBoolean16); + AddToElementRepository("message", AssemblyConnectors_P_P_assert_A_Star_Pattern_message); + AddToElementRepository("result", AssemblyConnectors_P_P_assert_A_Star_Pattern_message_result); + AddToElementRepository("LiteralUnlimitedNatural17", AssemblyConnectors_P_P_assert_A_Star_Pattern_message_result_LiteralUnlimitedNatural17); + AddToElementRepository("LiteralInteger18", AssemblyConnectors_P_P_assert_A_Star_Pattern_message_result_LiteralInteger18); + AddToElementRepository("LiteralString19", AssemblyConnectors_P_P_assert_A_Star_Pattern_message_LiteralString19); + AddToElementRepository("writeLine", AssemblyConnectors_P_P_assert_A_Star_Pattern_writeLine); + AddToElementRepository("errorStatus", AssemblyConnectors_P_P_assert_A_Star_Pattern_writeLine_errorStatus); + AddToElementRepository("LiteralInteger20", AssemblyConnectors_P_P_assert_A_Star_Pattern_writeLine_errorStatus_LiteralInteger20); + AddToElementRepository("LiteralUnlimitedNatural21", AssemblyConnectors_P_P_assert_A_Star_Pattern_writeLine_errorStatus_LiteralUnlimitedNatural21); + AddToElementRepository("LiteralInteger22", AssemblyConnectors_P_P_assert_A_Star_Pattern_writeLine_errorStatus_LiteralInteger22); + AddToElementRepository("value", AssemblyConnectors_P_P_assert_A_Star_Pattern_writeLine_value); + AddToElementRepository("LiteralInteger23", AssemblyConnectors_P_P_assert_A_Star_Pattern_writeLine_value_LiteralInteger23); + AddToElementRepository("LiteralInteger24", AssemblyConnectors_P_P_assert_A_Star_Pattern_writeLine_value_LiteralInteger24); + AddToElementRepository("LiteralUnlimitedNatural25", AssemblyConnectors_P_P_assert_A_Star_Pattern_writeLine_value_LiteralUnlimitedNatural25); + AddToElementRepository("B", AssemblyConnectors_P_P_B); + AddToElementRepository("A_Star_Pattern", AssemblyConnectors_P_P_A_Star_Pattern); + AddToElementRepository("Comment26", AssemblyConnectors_P_P_A_Star_Pattern_Comment26); + AddToElementRepository("partC", AssemblyConnectors_P_P_A_Star_Pattern_partC); + AddToElementRepository("LiteralUnlimitedNatural27", AssemblyConnectors_P_P_A_Star_Pattern_partC_LiteralUnlimitedNatural27); + AddToElementRepository("LiteralInteger28", AssemblyConnectors_P_P_A_Star_Pattern_partC_LiteralInteger28); + AddToElementRepository("A_Star_Pattern_A_Star_Pattern", AssemblyConnectors_P_P_A_Star_Pattern_A_Star_Pattern_A_Star_Pattern); + AddToElementRepository("result", AssemblyConnectors_P_P_A_Star_Pattern_A_Star_Pattern_A_Star_Pattern_result); + AddToElementRepository("r", AssemblyConnectors_P_P_A_Star_Pattern_r); + AddToElementRepository("ConnectorEnd29", AssemblyConnectors_P_P_A_Star_Pattern_r_ConnectorEnd29); + AddToElementRepository("connectorEnd_2_Lower", AssemblyConnectors_P_P_A_Star_Pattern_r_ConnectorEnd29_connectorEnd_2_Lower); + AddToElementRepository("connectorEnd_2_Upper", AssemblyConnectors_P_P_A_Star_Pattern_r_ConnectorEnd29_connectorEnd_2_Upper); + AddToElementRepository("ConnectorEnd30", AssemblyConnectors_P_P_A_Star_Pattern_r_ConnectorEnd30); + AddToElementRepository("connectorEnd_1_Upper", AssemblyConnectors_P_P_A_Star_Pattern_r_ConnectorEnd30_connectorEnd_1_Upper); + AddToElementRepository("connectorEnd_1_Lower", AssemblyConnectors_P_P_A_Star_Pattern_r_ConnectorEnd30_connectorEnd_1_Lower); + AddToElementRepository("partB", AssemblyConnectors_P_P_A_Star_Pattern_partB); + AddToElementRepository("LiteralUnlimitedNatural31", AssemblyConnectors_P_P_A_Star_Pattern_partB_LiteralUnlimitedNatural31); + AddToElementRepository("LiteralInteger32", AssemblyConnectors_P_P_A_Star_Pattern_partB_LiteralInteger32); + AddToElementRepository("R", AssemblyConnectors_P_P_R); + AddToElementRepository("y", AssemblyConnectors_P_P_R_y); + AddToElementRepository("LiteralInteger33", AssemblyConnectors_P_P_R_y_LiteralInteger33); + AddToElementRepository("LiteralUnlimitedNatural34", AssemblyConnectors_P_P_R_y_LiteralUnlimitedNatural34); + AddToElementRepository("x", AssemblyConnectors_P_P_R_x); + AddToElementRepository("LiteralInteger35", AssemblyConnectors_P_P_R_x_LiteralInteger35); + AddToElementRepository("LiteralUnlimitedNatural36", AssemblyConnectors_P_P_R_x_LiteralUnlimitedNatural36); + AddToElementRepository("main", AssemblyConnectors_P_P_main); + AddToElementRepository("instantiate_A_Star_Pattern", AssemblyConnectors_P_P_main_instantiate_A_Star_Pattern); + AddToElementRepository("a_Star_Pattern", AssemblyConnectors_P_P_main_instantiate_A_Star_Pattern_a_Star_Pattern); + AddToElementRepository("LiteralInteger37", AssemblyConnectors_P_P_main_instantiate_A_Star_Pattern_a_Star_Pattern_LiteralInteger37); + AddToElementRepository("LiteralUnlimitedNatural38", AssemblyConnectors_P_P_main_instantiate_A_Star_Pattern_a_Star_Pattern_LiteralUnlimitedNatural38); + AddToElementRepository("LiteralInteger39", AssemblyConnectors_P_P_main_instantiate_A_Star_Pattern_a_Star_Pattern_LiteralInteger39); + AddToElementRepository("ObjectFlow40", AssemblyConnectors_P_P_main_ObjectFlow40); + AddToElementRepository("LiteralBoolean41", AssemblyConnectors_P_P_main_ObjectFlow40_LiteralBoolean41); + AddToElementRepository("LiteralInteger42", AssemblyConnectors_P_P_main_ObjectFlow40_LiteralInteger42); + AddToElementRepository("ObjectFlow43", AssemblyConnectors_P_P_main_ObjectFlow43); + AddToElementRepository("LiteralBoolean44", AssemblyConnectors_P_P_main_ObjectFlow43_LiteralBoolean44); + AddToElementRepository("LiteralInteger45", AssemblyConnectors_P_P_main_ObjectFlow43_LiteralInteger45); + AddToElementRepository("assert_A_Array_Pattern", AssemblyConnectors_P_P_main_assert_A_Array_Pattern); + AddToElementRepository("a_Array_Pattern", AssemblyConnectors_P_P_main_assert_A_Array_Pattern_a_Array_Pattern); + AddToElementRepository("LiteralUnlimitedNatural46", AssemblyConnectors_P_P_main_assert_A_Array_Pattern_a_Array_Pattern_LiteralUnlimitedNatural46); + AddToElementRepository("LiteralInteger47", AssemblyConnectors_P_P_main_assert_A_Array_Pattern_a_Array_Pattern_LiteralInteger47); + AddToElementRepository("LiteralInteger48", AssemblyConnectors_P_P_main_assert_A_Array_Pattern_a_Array_Pattern_LiteralInteger48); + AddToElementRepository("ObjectFlow49", AssemblyConnectors_P_P_main_ObjectFlow49); + AddToElementRepository("LiteralInteger50", AssemblyConnectors_P_P_main_ObjectFlow49_LiteralInteger50); + AddToElementRepository("LiteralBoolean51", AssemblyConnectors_P_P_main_ObjectFlow49_LiteralBoolean51); + AddToElementRepository("ControlFlow52", AssemblyConnectors_P_P_main_ControlFlow52); + AddToElementRepository("assert_A_Unconnected_Pattern", AssemblyConnectors_P_P_main_assert_A_Unconnected_Pattern); + AddToElementRepository("a_Unconnected_Pattern", AssemblyConnectors_P_P_main_assert_A_Unconnected_Pattern_a_Unconnected_Pattern); + AddToElementRepository("LiteralInteger53", AssemblyConnectors_P_P_main_assert_A_Unconnected_Pattern_a_Unconnected_Pattern_LiteralInteger53); + AddToElementRepository("LiteralUnlimitedNatural54", AssemblyConnectors_P_P_main_assert_A_Unconnected_Pattern_a_Unconnected_Pattern_LiteralUnlimitedNatural54); + AddToElementRepository("LiteralInteger55", AssemblyConnectors_P_P_main_assert_A_Unconnected_Pattern_a_Unconnected_Pattern_LiteralInteger55); + AddToElementRepository("ControlFlow56", AssemblyConnectors_P_P_main_ControlFlow56); + AddToElementRepository("assert_A_Empty_Pattern", AssemblyConnectors_P_P_main_assert_A_Empty_Pattern); + AddToElementRepository("a_Empty_Pattern", AssemblyConnectors_P_P_main_assert_A_Empty_Pattern_a_Empty_Pattern); + AddToElementRepository("LiteralUnlimitedNatural57", AssemblyConnectors_P_P_main_assert_A_Empty_Pattern_a_Empty_Pattern_LiteralUnlimitedNatural57); + AddToElementRepository("LiteralInteger58", AssemblyConnectors_P_P_main_assert_A_Empty_Pattern_a_Empty_Pattern_LiteralInteger58); + AddToElementRepository("LiteralInteger59", AssemblyConnectors_P_P_main_assert_A_Empty_Pattern_a_Empty_Pattern_LiteralInteger59); + AddToElementRepository("ObjectFlow60", AssemblyConnectors_P_P_main_ObjectFlow60); + AddToElementRepository("LiteralBoolean61", AssemblyConnectors_P_P_main_ObjectFlow60_LiteralBoolean61); + AddToElementRepository("LiteralInteger62", AssemblyConnectors_P_P_main_ObjectFlow60_LiteralInteger62); + AddToElementRepository("instantiate_A_Unconnected_Pattern", AssemblyConnectors_P_P_main_instantiate_A_Unconnected_Pattern); + AddToElementRepository("a_Unconnected_Pattern", AssemblyConnectors_P_P_main_instantiate_A_Unconnected_Pattern_a_Unconnected_Pattern); + AddToElementRepository("LiteralUnlimitedNatural63", AssemblyConnectors_P_P_main_instantiate_A_Unconnected_Pattern_a_Unconnected_Pattern_LiteralUnlimitedNatural63); + AddToElementRepository("LiteralInteger64", AssemblyConnectors_P_P_main_instantiate_A_Unconnected_Pattern_a_Unconnected_Pattern_LiteralInteger64); + AddToElementRepository("LiteralInteger65", AssemblyConnectors_P_P_main_instantiate_A_Unconnected_Pattern_a_Unconnected_Pattern_LiteralInteger65); + AddToElementRepository("ControlFlow66", AssemblyConnectors_P_P_main_ControlFlow66); + AddToElementRepository("instantiate_A_Array_Pattern", AssemblyConnectors_P_P_main_instantiate_A_Array_Pattern); + AddToElementRepository("a_Array_Pattern", AssemblyConnectors_P_P_main_instantiate_A_Array_Pattern_a_Array_Pattern); + AddToElementRepository("LiteralInteger67", AssemblyConnectors_P_P_main_instantiate_A_Array_Pattern_a_Array_Pattern_LiteralInteger67); + AddToElementRepository("LiteralUnlimitedNatural68", AssemblyConnectors_P_P_main_instantiate_A_Array_Pattern_a_Array_Pattern_LiteralUnlimitedNatural68); + AddToElementRepository("LiteralInteger69", AssemblyConnectors_P_P_main_instantiate_A_Array_Pattern_a_Array_Pattern_LiteralInteger69); + AddToElementRepository("assert_A_Star_Pattern", AssemblyConnectors_P_P_main_assert_A_Star_Pattern); + AddToElementRepository("a_Star_Pattern", AssemblyConnectors_P_P_main_assert_A_Star_Pattern_a_Star_Pattern); + AddToElementRepository("LiteralInteger70", AssemblyConnectors_P_P_main_assert_A_Star_Pattern_a_Star_Pattern_LiteralInteger70); + AddToElementRepository("LiteralInteger71", AssemblyConnectors_P_P_main_assert_A_Star_Pattern_a_Star_Pattern_LiteralInteger71); + AddToElementRepository("LiteralUnlimitedNatural72", AssemblyConnectors_P_P_main_assert_A_Star_Pattern_a_Star_Pattern_LiteralUnlimitedNatural72); + AddToElementRepository("instantiate_A_Empty_Pattern", AssemblyConnectors_P_P_main_instantiate_A_Empty_Pattern); + AddToElementRepository("a_Empty_Pattern", AssemblyConnectors_P_P_main_instantiate_A_Empty_Pattern_a_Empty_Pattern); + AddToElementRepository("LiteralInteger73", AssemblyConnectors_P_P_main_instantiate_A_Empty_Pattern_a_Empty_Pattern_LiteralInteger73); + AddToElementRepository("LiteralUnlimitedNatural74", AssemblyConnectors_P_P_main_instantiate_A_Empty_Pattern_a_Empty_Pattern_LiteralUnlimitedNatural74); + AddToElementRepository("LiteralInteger75", AssemblyConnectors_P_P_main_instantiate_A_Empty_Pattern_a_Empty_Pattern_LiteralInteger75); + AddToElementRepository("instantiate_A_Unconnected_Pattern", AssemblyConnectors_P_P_instantiate_A_Unconnected_Pattern); + AddToElementRepository("Create A_Unconnected_Pattern", AssemblyConnectors_P_P_instantiate_A_Unconnected_Pattern_Create_A_Unconnected_Pattern); + AddToElementRepository("result", AssemblyConnectors_P_P_instantiate_A_Unconnected_Pattern_Create_A_Unconnected_Pattern_result); + AddToElementRepository("LiteralUnlimitedNatural76", AssemblyConnectors_P_P_instantiate_A_Unconnected_Pattern_Create_A_Unconnected_Pattern_result_LiteralUnlimitedNatural76); + AddToElementRepository("LiteralInteger77", AssemblyConnectors_P_P_instantiate_A_Unconnected_Pattern_Create_A_Unconnected_Pattern_result_LiteralInteger77); + AddToElementRepository("ObjectFlow78", AssemblyConnectors_P_P_instantiate_A_Unconnected_Pattern_ObjectFlow78); + AddToElementRepository("LiteralBoolean79", AssemblyConnectors_P_P_instantiate_A_Unconnected_Pattern_ObjectFlow78_LiteralBoolean79); + AddToElementRepository("LiteralInteger80", AssemblyConnectors_P_P_instantiate_A_Unconnected_Pattern_ObjectFlow78_LiteralInteger80); + AddToElementRepository("a_Unconnected_Pattern", AssemblyConnectors_P_P_instantiate_A_Unconnected_Pattern_a_Unconnected_Pattern); + AddToElementRepository("ObjectFlow81", AssemblyConnectors_P_P_instantiate_A_Unconnected_Pattern_ObjectFlow81); + AddToElementRepository("LiteralBoolean82", AssemblyConnectors_P_P_instantiate_A_Unconnected_Pattern_ObjectFlow81_LiteralBoolean82); + AddToElementRepository("LiteralInteger83", AssemblyConnectors_P_P_instantiate_A_Unconnected_Pattern_ObjectFlow81_LiteralInteger83); + AddToElementRepository("a_Unconnected_Pattern_node", AssemblyConnectors_P_P_instantiate_A_Unconnected_Pattern_a_Unconnected_Pattern_node); + AddToElementRepository("A_Unconnected_Pattern()", AssemblyConnectors_P_P_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern_); + AddToElementRepository("target", AssemblyConnectors_P_P_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern__target); + AddToElementRepository("LiteralUnlimitedNatural84", AssemblyConnectors_P_P_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern__target_LiteralUnlimitedNatural84); + AddToElementRepository("LiteralInteger85", AssemblyConnectors_P_P_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern__target_LiteralInteger85); + AddToElementRepository("result", AssemblyConnectors_P_P_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern__result); + AddToElementRepository("LiteralInteger86", AssemblyConnectors_P_P_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern__result_LiteralInteger86); + AddToElementRepository("LiteralInteger87", AssemblyConnectors_P_P_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern__result_LiteralInteger87); + AddToElementRepository("LiteralUnlimitedNatural88", AssemblyConnectors_P_P_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern__result_LiteralUnlimitedNatural88); + AddToElementRepository("assert_A_Empty_Pattern", AssemblyConnectors_P_P_assert_A_Empty_Pattern); + AddToElementRepository("writeLine", AssemblyConnectors_P_P_assert_A_Empty_Pattern_writeLine); + AddToElementRepository("value", AssemblyConnectors_P_P_assert_A_Empty_Pattern_writeLine_value); + AddToElementRepository("LiteralInteger89", AssemblyConnectors_P_P_assert_A_Empty_Pattern_writeLine_value_LiteralInteger89); + AddToElementRepository("LiteralUnlimitedNatural90", AssemblyConnectors_P_P_assert_A_Empty_Pattern_writeLine_value_LiteralUnlimitedNatural90); + AddToElementRepository("LiteralInteger91", AssemblyConnectors_P_P_assert_A_Empty_Pattern_writeLine_value_LiteralInteger91); + AddToElementRepository("errorStatus", AssemblyConnectors_P_P_assert_A_Empty_Pattern_writeLine_errorStatus); + AddToElementRepository("LiteralInteger92", AssemblyConnectors_P_P_assert_A_Empty_Pattern_writeLine_errorStatus_LiteralInteger92); + AddToElementRepository("LiteralInteger93", AssemblyConnectors_P_P_assert_A_Empty_Pattern_writeLine_errorStatus_LiteralInteger93); + AddToElementRepository("LiteralUnlimitedNatural94", AssemblyConnectors_P_P_assert_A_Empty_Pattern_writeLine_errorStatus_LiteralUnlimitedNatural94); + AddToElementRepository("ObjectFlow95", AssemblyConnectors_P_P_assert_A_Empty_Pattern_ObjectFlow95); + AddToElementRepository("LiteralBoolean96", AssemblyConnectors_P_P_assert_A_Empty_Pattern_ObjectFlow95_LiteralBoolean96); + AddToElementRepository("LiteralInteger97", AssemblyConnectors_P_P_assert_A_Empty_Pattern_ObjectFlow95_LiteralInteger97); + AddToElementRepository("a_Empty_Pattern", AssemblyConnectors_P_P_assert_A_Empty_Pattern_a_Empty_Pattern); + AddToElementRepository("message", AssemblyConnectors_P_P_assert_A_Empty_Pattern_message); + AddToElementRepository("result", AssemblyConnectors_P_P_assert_A_Empty_Pattern_message_result); + AddToElementRepository("LiteralUnlimitedNatural98", AssemblyConnectors_P_P_assert_A_Empty_Pattern_message_result_LiteralUnlimitedNatural98); + AddToElementRepository("LiteralInteger99", AssemblyConnectors_P_P_assert_A_Empty_Pattern_message_result_LiteralInteger99); + AddToElementRepository("LiteralString100", AssemblyConnectors_P_P_assert_A_Empty_Pattern_message_LiteralString100); + AddToElementRepository("a_Empty_Pattern_node", AssemblyConnectors_P_P_assert_A_Empty_Pattern_a_Empty_Pattern_node); + AddToElementRepository("LiteralInteger101", AssemblyConnectors_P_P_assert_A_Empty_Pattern_a_Empty_Pattern_node_LiteralInteger101); + AddToElementRepository("A_Unconnected_Pattern", AssemblyConnectors_P_P_A_Unconnected_Pattern); + AddToElementRepository("Comment102", AssemblyConnectors_P_P_A_Unconnected_Pattern_Comment102); + AddToElementRepository("partC", AssemblyConnectors_P_P_A_Unconnected_Pattern_partC); + AddToElementRepository("LiteralInteger103", AssemblyConnectors_P_P_A_Unconnected_Pattern_partC_LiteralInteger103); + AddToElementRepository("LiteralUnlimitedNatural104", AssemblyConnectors_P_P_A_Unconnected_Pattern_partC_LiteralUnlimitedNatural104); + AddToElementRepository("partB", AssemblyConnectors_P_P_A_Unconnected_Pattern_partB); + AddToElementRepository("LiteralUnlimitedNatural105", AssemblyConnectors_P_P_A_Unconnected_Pattern_partB_LiteralUnlimitedNatural105); + AddToElementRepository("LiteralInteger106", AssemblyConnectors_P_P_A_Unconnected_Pattern_partB_LiteralInteger106); + AddToElementRepository("r", AssemblyConnectors_P_P_A_Unconnected_Pattern_r); + AddToElementRepository("ConnectorEnd107", AssemblyConnectors_P_P_A_Unconnected_Pattern_r_ConnectorEnd107); + AddToElementRepository("connectorEnd_2_Lower", AssemblyConnectors_P_P_A_Unconnected_Pattern_r_ConnectorEnd107_connectorEnd_2_Lower); + AddToElementRepository("connectorEnd_2_Upper", AssemblyConnectors_P_P_A_Unconnected_Pattern_r_ConnectorEnd107_connectorEnd_2_Upper); + AddToElementRepository("ConnectorEnd108", AssemblyConnectors_P_P_A_Unconnected_Pattern_r_ConnectorEnd108); + AddToElementRepository("connectorEnd_1_Lower", AssemblyConnectors_P_P_A_Unconnected_Pattern_r_ConnectorEnd108_connectorEnd_1_Lower); + AddToElementRepository("connectorEnd_1_Upper", AssemblyConnectors_P_P_A_Unconnected_Pattern_r_ConnectorEnd108_connectorEnd_1_Upper); + AddToElementRepository("A_Unconnected_Pattern_A_Unconnected_Pattern", AssemblyConnectors_P_P_A_Unconnected_Pattern_A_Unconnected_Pattern_A_Unconnected_Pattern); + AddToElementRepository("result", AssemblyConnectors_P_P_A_Unconnected_Pattern_A_Unconnected_Pattern_A_Unconnected_Pattern_result); + AddToElementRepository("A_Array_Pattern", AssemblyConnectors_P_P_A_Array_Pattern); + AddToElementRepository("partB", AssemblyConnectors_P_P_A_Array_Pattern_partB); + AddToElementRepository("LiteralInteger109", AssemblyConnectors_P_P_A_Array_Pattern_partB_LiteralInteger109); + AddToElementRepository("LiteralUnlimitedNatural110", AssemblyConnectors_P_P_A_Array_Pattern_partB_LiteralUnlimitedNatural110); + AddToElementRepository("partC", AssemblyConnectors_P_P_A_Array_Pattern_partC); + AddToElementRepository("LiteralUnlimitedNatural111", AssemblyConnectors_P_P_A_Array_Pattern_partC_LiteralUnlimitedNatural111); + AddToElementRepository("LiteralInteger112", AssemblyConnectors_P_P_A_Array_Pattern_partC_LiteralInteger112); + AddToElementRepository("Comment113", AssemblyConnectors_P_P_A_Array_Pattern_Comment113); + AddToElementRepository("r", AssemblyConnectors_P_P_A_Array_Pattern_r); + AddToElementRepository("ConnectorEnd114", AssemblyConnectors_P_P_A_Array_Pattern_r_ConnectorEnd114); + AddToElementRepository("connectorEnd_1_Lower", AssemblyConnectors_P_P_A_Array_Pattern_r_ConnectorEnd114_connectorEnd_1_Lower); + AddToElementRepository("connectorEnd_1_Upper", AssemblyConnectors_P_P_A_Array_Pattern_r_ConnectorEnd114_connectorEnd_1_Upper); + AddToElementRepository("ConnectorEnd115", AssemblyConnectors_P_P_A_Array_Pattern_r_ConnectorEnd115); + AddToElementRepository("connectorEnd_2_Lower", AssemblyConnectors_P_P_A_Array_Pattern_r_ConnectorEnd115_connectorEnd_2_Lower); + AddToElementRepository("connectorEnd_2_Upper", AssemblyConnectors_P_P_A_Array_Pattern_r_ConnectorEnd115_connectorEnd_2_Upper); + AddToElementRepository("A_Array_Pattern_A_Array_Pattern", AssemblyConnectors_P_P_A_Array_Pattern_A_Array_Pattern_A_Array_Pattern); + AddToElementRepository("result", AssemblyConnectors_P_P_A_Array_Pattern_A_Array_Pattern_A_Array_Pattern_result); + AddToElementRepository("assert_A_Array_Pattern", AssemblyConnectors_P_P_assert_A_Array_Pattern); + AddToElementRepository("writeLine", AssemblyConnectors_P_P_assert_A_Array_Pattern_writeLine); + AddToElementRepository("value", AssemblyConnectors_P_P_assert_A_Array_Pattern_writeLine_value); + AddToElementRepository("LiteralInteger116", AssemblyConnectors_P_P_assert_A_Array_Pattern_writeLine_value_LiteralInteger116); + AddToElementRepository("LiteralUnlimitedNatural117", AssemblyConnectors_P_P_assert_A_Array_Pattern_writeLine_value_LiteralUnlimitedNatural117); + AddToElementRepository("LiteralInteger118", AssemblyConnectors_P_P_assert_A_Array_Pattern_writeLine_value_LiteralInteger118); + AddToElementRepository("errorStatus", AssemblyConnectors_P_P_assert_A_Array_Pattern_writeLine_errorStatus); + AddToElementRepository("LiteralUnlimitedNatural119", AssemblyConnectors_P_P_assert_A_Array_Pattern_writeLine_errorStatus_LiteralUnlimitedNatural119); + AddToElementRepository("LiteralInteger120", AssemblyConnectors_P_P_assert_A_Array_Pattern_writeLine_errorStatus_LiteralInteger120); + AddToElementRepository("LiteralInteger121", AssemblyConnectors_P_P_assert_A_Array_Pattern_writeLine_errorStatus_LiteralInteger121); + AddToElementRepository("ObjectFlow122", AssemblyConnectors_P_P_assert_A_Array_Pattern_ObjectFlow122); + AddToElementRepository("LiteralBoolean123", AssemblyConnectors_P_P_assert_A_Array_Pattern_ObjectFlow122_LiteralBoolean123); + AddToElementRepository("LiteralInteger124", AssemblyConnectors_P_P_assert_A_Array_Pattern_ObjectFlow122_LiteralInteger124); + AddToElementRepository("message", AssemblyConnectors_P_P_assert_A_Array_Pattern_message); + AddToElementRepository("LiteralString125", AssemblyConnectors_P_P_assert_A_Array_Pattern_message_LiteralString125); + AddToElementRepository("result", AssemblyConnectors_P_P_assert_A_Array_Pattern_message_result); + AddToElementRepository("LiteralInteger126", AssemblyConnectors_P_P_assert_A_Array_Pattern_message_result_LiteralInteger126); + AddToElementRepository("LiteralUnlimitedNatural127", AssemblyConnectors_P_P_assert_A_Array_Pattern_message_result_LiteralUnlimitedNatural127); + AddToElementRepository("a_Array_Pattern", AssemblyConnectors_P_P_assert_A_Array_Pattern_a_Array_Pattern); + AddToElementRepository("a_Array_Pattern_node", AssemblyConnectors_P_P_assert_A_Array_Pattern_a_Array_Pattern_node); + AddToElementRepository("LiteralInteger128", AssemblyConnectors_P_P_assert_A_Array_Pattern_a_Array_Pattern_node_LiteralInteger128); + AddToElementRepository("instantiate_A_Star_Pattern", AssemblyConnectors_P_P_instantiate_A_Star_Pattern); + AddToElementRepository("Create A_Star_Pattern", AssemblyConnectors_P_P_instantiate_A_Star_Pattern_Create_A_Star_Pattern); + AddToElementRepository("result", AssemblyConnectors_P_P_instantiate_A_Star_Pattern_Create_A_Star_Pattern_result); + AddToElementRepository("LiteralUnlimitedNatural129", AssemblyConnectors_P_P_instantiate_A_Star_Pattern_Create_A_Star_Pattern_result_LiteralUnlimitedNatural129); + AddToElementRepository("LiteralInteger130", AssemblyConnectors_P_P_instantiate_A_Star_Pattern_Create_A_Star_Pattern_result_LiteralInteger130); + AddToElementRepository("a_Star_Pattern", AssemblyConnectors_P_P_instantiate_A_Star_Pattern_a_Star_Pattern); + AddToElementRepository("ObjectFlow131", AssemblyConnectors_P_P_instantiate_A_Star_Pattern_ObjectFlow131); + AddToElementRepository("LiteralBoolean132", AssemblyConnectors_P_P_instantiate_A_Star_Pattern_ObjectFlow131_LiteralBoolean132); + AddToElementRepository("LiteralInteger133", AssemblyConnectors_P_P_instantiate_A_Star_Pattern_ObjectFlow131_LiteralInteger133); + AddToElementRepository("ObjectFlow134", AssemblyConnectors_P_P_instantiate_A_Star_Pattern_ObjectFlow134); + AddToElementRepository("LiteralInteger135", AssemblyConnectors_P_P_instantiate_A_Star_Pattern_ObjectFlow134_LiteralInteger135); + AddToElementRepository("LiteralBoolean136", AssemblyConnectors_P_P_instantiate_A_Star_Pattern_ObjectFlow134_LiteralBoolean136); + AddToElementRepository("A_Star_Pattern()", AssemblyConnectors_P_P_instantiate_A_Star_Pattern_A_Star_Pattern_); + AddToElementRepository("result", AssemblyConnectors_P_P_instantiate_A_Star_Pattern_A_Star_Pattern__result); + AddToElementRepository("LiteralInteger137", AssemblyConnectors_P_P_instantiate_A_Star_Pattern_A_Star_Pattern__result_LiteralInteger137); + AddToElementRepository("LiteralUnlimitedNatural138", AssemblyConnectors_P_P_instantiate_A_Star_Pattern_A_Star_Pattern__result_LiteralUnlimitedNatural138); + AddToElementRepository("LiteralInteger139", AssemblyConnectors_P_P_instantiate_A_Star_Pattern_A_Star_Pattern__result_LiteralInteger139); + AddToElementRepository("target", AssemblyConnectors_P_P_instantiate_A_Star_Pattern_A_Star_Pattern__target); + AddToElementRepository("LiteralUnlimitedNatural140", AssemblyConnectors_P_P_instantiate_A_Star_Pattern_A_Star_Pattern__target_LiteralUnlimitedNatural140); + AddToElementRepository("LiteralInteger141", AssemblyConnectors_P_P_instantiate_A_Star_Pattern_A_Star_Pattern__target_LiteralInteger141); + AddToElementRepository("a_Star_Pattern_node", AssemblyConnectors_P_P_instantiate_A_Star_Pattern_a_Star_Pattern_node); + AddToElementRepository("instantiate_A_Array_Pattern", AssemblyConnectors_P_P_instantiate_A_Array_Pattern); + AddToElementRepository("a_Array_Pattern_node", AssemblyConnectors_P_P_instantiate_A_Array_Pattern_a_Array_Pattern_node); + AddToElementRepository("LiteralInteger142", AssemblyConnectors_P_P_instantiate_A_Array_Pattern_a_Array_Pattern_node_LiteralInteger142); + AddToElementRepository("A_Array_Pattern()", AssemblyConnectors_P_P_instantiate_A_Array_Pattern_A_Array_Pattern_); + AddToElementRepository("target", AssemblyConnectors_P_P_instantiate_A_Array_Pattern_A_Array_Pattern__target); + AddToElementRepository("LiteralUnlimitedNatural143", AssemblyConnectors_P_P_instantiate_A_Array_Pattern_A_Array_Pattern__target_LiteralUnlimitedNatural143); + AddToElementRepository("LiteralInteger144", AssemblyConnectors_P_P_instantiate_A_Array_Pattern_A_Array_Pattern__target_LiteralInteger144); + AddToElementRepository("result", AssemblyConnectors_P_P_instantiate_A_Array_Pattern_A_Array_Pattern__result); + AddToElementRepository("LiteralInteger145", AssemblyConnectors_P_P_instantiate_A_Array_Pattern_A_Array_Pattern__result_LiteralInteger145); + AddToElementRepository("LiteralUnlimitedNatural146", AssemblyConnectors_P_P_instantiate_A_Array_Pattern_A_Array_Pattern__result_LiteralUnlimitedNatural146); + AddToElementRepository("LiteralInteger147", AssemblyConnectors_P_P_instantiate_A_Array_Pattern_A_Array_Pattern__result_LiteralInteger147); + AddToElementRepository("ObjectFlow148", AssemblyConnectors_P_P_instantiate_A_Array_Pattern_ObjectFlow148); + AddToElementRepository("LiteralInteger149", AssemblyConnectors_P_P_instantiate_A_Array_Pattern_ObjectFlow148_LiteralInteger149); + AddToElementRepository("LiteralBoolean150", AssemblyConnectors_P_P_instantiate_A_Array_Pattern_ObjectFlow148_LiteralBoolean150); + AddToElementRepository("a_Array_Pattern", AssemblyConnectors_P_P_instantiate_A_Array_Pattern_a_Array_Pattern); + AddToElementRepository("Create A_Array_Pattern", AssemblyConnectors_P_P_instantiate_A_Array_Pattern_Create_A_Array_Pattern); + AddToElementRepository("result", AssemblyConnectors_P_P_instantiate_A_Array_Pattern_Create_A_Array_Pattern_result); + AddToElementRepository("LiteralInteger151", AssemblyConnectors_P_P_instantiate_A_Array_Pattern_Create_A_Array_Pattern_result_LiteralInteger151); + AddToElementRepository("LiteralUnlimitedNatural152", AssemblyConnectors_P_P_instantiate_A_Array_Pattern_Create_A_Array_Pattern_result_LiteralUnlimitedNatural152); + AddToElementRepository("ObjectFlow153", AssemblyConnectors_P_P_instantiate_A_Array_Pattern_ObjectFlow153); + AddToElementRepository("LiteralBoolean154", AssemblyConnectors_P_P_instantiate_A_Array_Pattern_ObjectFlow153_LiteralBoolean154); + AddToElementRepository("LiteralInteger155", AssemblyConnectors_P_P_instantiate_A_Array_Pattern_ObjectFlow153_LiteralInteger155); + AddToElementRepository("assert_A_Unconnected_Pattern", AssemblyConnectors_P_P_assert_A_Unconnected_Pattern); + AddToElementRepository("ObjectFlow156", AssemblyConnectors_P_P_assert_A_Unconnected_Pattern_ObjectFlow156); + AddToElementRepository("LiteralInteger157", AssemblyConnectors_P_P_assert_A_Unconnected_Pattern_ObjectFlow156_LiteralInteger157); + AddToElementRepository("LiteralBoolean158", AssemblyConnectors_P_P_assert_A_Unconnected_Pattern_ObjectFlow156_LiteralBoolean158); + AddToElementRepository("writeLine", AssemblyConnectors_P_P_assert_A_Unconnected_Pattern_writeLine); + AddToElementRepository("value", AssemblyConnectors_P_P_assert_A_Unconnected_Pattern_writeLine_value); + AddToElementRepository("LiteralUnlimitedNatural159", AssemblyConnectors_P_P_assert_A_Unconnected_Pattern_writeLine_value_LiteralUnlimitedNatural159); + AddToElementRepository("LiteralInteger160", AssemblyConnectors_P_P_assert_A_Unconnected_Pattern_writeLine_value_LiteralInteger160); + AddToElementRepository("LiteralInteger161", AssemblyConnectors_P_P_assert_A_Unconnected_Pattern_writeLine_value_LiteralInteger161); + AddToElementRepository("errorStatus", AssemblyConnectors_P_P_assert_A_Unconnected_Pattern_writeLine_errorStatus); + AddToElementRepository("LiteralUnlimitedNatural162", AssemblyConnectors_P_P_assert_A_Unconnected_Pattern_writeLine_errorStatus_LiteralUnlimitedNatural162); + AddToElementRepository("LiteralInteger163", AssemblyConnectors_P_P_assert_A_Unconnected_Pattern_writeLine_errorStatus_LiteralInteger163); + AddToElementRepository("LiteralInteger164", AssemblyConnectors_P_P_assert_A_Unconnected_Pattern_writeLine_errorStatus_LiteralInteger164); + AddToElementRepository("message", AssemblyConnectors_P_P_assert_A_Unconnected_Pattern_message); + AddToElementRepository("LiteralString165", AssemblyConnectors_P_P_assert_A_Unconnected_Pattern_message_LiteralString165); + AddToElementRepository("result", AssemblyConnectors_P_P_assert_A_Unconnected_Pattern_message_result); + AddToElementRepository("LiteralInteger166", AssemblyConnectors_P_P_assert_A_Unconnected_Pattern_message_result_LiteralInteger166); + AddToElementRepository("LiteralUnlimitedNatural167", AssemblyConnectors_P_P_assert_A_Unconnected_Pattern_message_result_LiteralUnlimitedNatural167); + AddToElementRepository("a_Unconnected_Pattern_node", AssemblyConnectors_P_P_assert_A_Unconnected_Pattern_a_Unconnected_Pattern_node); + AddToElementRepository("LiteralInteger168", AssemblyConnectors_P_P_assert_A_Unconnected_Pattern_a_Unconnected_Pattern_node_LiteralInteger168); + AddToElementRepository("a_Unconnected_Pattern", AssemblyConnectors_P_P_assert_A_Unconnected_Pattern_a_Unconnected_Pattern); + AddToElementRepository("A_Empty_Pattern", AssemblyConnectors_P_P_A_Empty_Pattern); + AddToElementRepository("partB", AssemblyConnectors_P_P_A_Empty_Pattern_partB); + AddToElementRepository("LiteralInteger169", AssemblyConnectors_P_P_A_Empty_Pattern_partB_LiteralInteger169); + AddToElementRepository("LiteralUnlimitedNatural170", AssemblyConnectors_P_P_A_Empty_Pattern_partB_LiteralUnlimitedNatural170); + AddToElementRepository("partC", AssemblyConnectors_P_P_A_Empty_Pattern_partC); + AddToElementRepository("LiteralInteger171", AssemblyConnectors_P_P_A_Empty_Pattern_partC_LiteralInteger171); + AddToElementRepository("LiteralUnlimitedNatural172", AssemblyConnectors_P_P_A_Empty_Pattern_partC_LiteralUnlimitedNatural172); + AddToElementRepository("A_Empty_Pattern_A_Empty_Pattern", AssemblyConnectors_P_P_A_Empty_Pattern_A_Empty_Pattern_A_Empty_Pattern); + AddToElementRepository("result", AssemblyConnectors_P_P_A_Empty_Pattern_A_Empty_Pattern_A_Empty_Pattern_result); + AddToElementRepository("r", AssemblyConnectors_P_P_A_Empty_Pattern_r); + AddToElementRepository("ConnectorEnd173", AssemblyConnectors_P_P_A_Empty_Pattern_r_ConnectorEnd173); + AddToElementRepository("connectorEnd_2_Upper", AssemblyConnectors_P_P_A_Empty_Pattern_r_ConnectorEnd173_connectorEnd_2_Upper); + AddToElementRepository("connectorEnd_2_Lower", AssemblyConnectors_P_P_A_Empty_Pattern_r_ConnectorEnd173_connectorEnd_2_Lower); + AddToElementRepository("ConnectorEnd174", AssemblyConnectors_P_P_A_Empty_Pattern_r_ConnectorEnd174); + AddToElementRepository("connectorEnd_1_Upper", AssemblyConnectors_P_P_A_Empty_Pattern_r_ConnectorEnd174_connectorEnd_1_Upper); + AddToElementRepository("connectorEnd_1_Lower", AssemblyConnectors_P_P_A_Empty_Pattern_r_ConnectorEnd174_connectorEnd_1_Lower); + AddToElementRepository("Comment175", AssemblyConnectors_P_P_A_Empty_Pattern_Comment175); + + // Initialize public members + /* + * Model AssemblyConnectors_P_P + */ + AssemblyConnectors_P_P.SetName("AssemblyConnectors_P_P"); + AssemblyConnectors_P_P.SetVisibility(VisibilityKind.public_); + // Activity instantiate_A_Empty_Pattern + AssemblyConnectors_P_P_instantiate_A_Empty_Pattern.SetName("instantiate_A_Empty_Pattern"); + AssemblyConnectors_P_P_instantiate_A_Empty_Pattern.SetVisibility(VisibilityKind.public_); + + // Parameter a_Empty_Pattern + AssemblyConnectors_P_P_instantiate_A_Empty_Pattern_a_Empty_Pattern.SetName("a_Empty_Pattern"); + AssemblyConnectors_P_P_instantiate_A_Empty_Pattern_a_Empty_Pattern.SetVisibility(VisibilityKind.public_); + + AssemblyConnectors_P_P_instantiate_A_Empty_Pattern_a_Empty_Pattern.SetType(AssemblyConnectors_P_P_A_Empty_Pattern); + AssemblyConnectors_P_P_instantiate_A_Empty_Pattern_a_Empty_Pattern.SetDirection(ParameterDirectionKind.return_); + AssemblyConnectors_P_P_instantiate_A_Empty_Pattern.AddOwnedParameter(AssemblyConnectors_P_P_instantiate_A_Empty_Pattern_a_Empty_Pattern); + // ActivityParameterNode a_Empty_Pattern_node + AssemblyConnectors_P_P_instantiate_A_Empty_Pattern_a_Empty_Pattern_node.SetName("a_Empty_Pattern_node"); + AssemblyConnectors_P_P_instantiate_A_Empty_Pattern_a_Empty_Pattern_node.SetVisibility(VisibilityKind.public_); + + AssemblyConnectors_P_P_instantiate_A_Empty_Pattern_a_Empty_Pattern_node.SetParameter(AssemblyConnectors_P_P_instantiate_A_Empty_Pattern_a_Empty_Pattern); + AssemblyConnectors_P_P_instantiate_A_Empty_Pattern.AddNode(AssemblyConnectors_P_P_instantiate_A_Empty_Pattern_a_Empty_Pattern_node); + // CallOperationAction A_Empty_Pattern() + AssemblyConnectors_P_P_instantiate_A_Empty_Pattern_A_Empty_Pattern_.SetName("A_Empty_Pattern()"); + AssemblyConnectors_P_P_instantiate_A_Empty_Pattern_A_Empty_Pattern_.SetVisibility(VisibilityKind.public_); + + // OutputPin result + AssemblyConnectors_P_P_instantiate_A_Empty_Pattern_A_Empty_Pattern__result.SetName("result"); + AssemblyConnectors_P_P_instantiate_A_Empty_Pattern_A_Empty_Pattern__result.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_P_P_instantiate_A_Empty_Pattern_A_Empty_Pattern__result.SetType(AssemblyConnectors_P_P_A_Empty_Pattern); + AssemblyConnectors_P_P_instantiate_A_Empty_Pattern_A_Empty_Pattern_.AddResult(AssemblyConnectors_P_P_instantiate_A_Empty_Pattern_A_Empty_Pattern__result); + AssemblyConnectors_P_P_instantiate_A_Empty_Pattern_A_Empty_Pattern_.SetOperation(AssemblyConnectors_P_P_A_Empty_Pattern_A_Empty_Pattern_A_Empty_Pattern); + // InputPin target + AssemblyConnectors_P_P_instantiate_A_Empty_Pattern_A_Empty_Pattern__target.SetName("target"); + AssemblyConnectors_P_P_instantiate_A_Empty_Pattern_A_Empty_Pattern__target.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_P_P_instantiate_A_Empty_Pattern_A_Empty_Pattern__target.SetType(AssemblyConnectors_P_P_A_Empty_Pattern); + AssemblyConnectors_P_P_instantiate_A_Empty_Pattern_A_Empty_Pattern_.SetTarget(AssemblyConnectors_P_P_instantiate_A_Empty_Pattern_A_Empty_Pattern__target); + AssemblyConnectors_P_P_instantiate_A_Empty_Pattern.AddNode(AssemblyConnectors_P_P_instantiate_A_Empty_Pattern_A_Empty_Pattern_); + // CreateObjectAction Create A_Empty_Pattern + AssemblyConnectors_P_P_instantiate_A_Empty_Pattern_Create_A_Empty_Pattern.SetName("Create A_Empty_Pattern"); + AssemblyConnectors_P_P_instantiate_A_Empty_Pattern_Create_A_Empty_Pattern.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_P_P_instantiate_A_Empty_Pattern_Create_A_Empty_Pattern.SetClassifier(AssemblyConnectors_P_P_A_Empty_Pattern); + // OutputPin result + AssemblyConnectors_P_P_instantiate_A_Empty_Pattern_Create_A_Empty_Pattern_result.SetName("result"); + AssemblyConnectors_P_P_instantiate_A_Empty_Pattern_Create_A_Empty_Pattern_result.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_P_P_instantiate_A_Empty_Pattern_Create_A_Empty_Pattern_result.SetType(AssemblyConnectors_P_P_A_Empty_Pattern); + AssemblyConnectors_P_P_instantiate_A_Empty_Pattern_Create_A_Empty_Pattern.SetResult(AssemblyConnectors_P_P_instantiate_A_Empty_Pattern_Create_A_Empty_Pattern_result); + AssemblyConnectors_P_P_instantiate_A_Empty_Pattern.AddNode(AssemblyConnectors_P_P_instantiate_A_Empty_Pattern_Create_A_Empty_Pattern); + // ObjectFlow ObjectFlow0 from result to target + AssemblyConnectors_P_P_instantiate_A_Empty_Pattern_ObjectFlow0.SetName("ObjectFlow0"); + AssemblyConnectors_P_P_instantiate_A_Empty_Pattern_ObjectFlow0.SetVisibility(VisibilityKind.public_); + + AssemblyConnectors_P_P_instantiate_A_Empty_Pattern_ObjectFlow0.SetSource(AssemblyConnectors_P_P_instantiate_A_Empty_Pattern_Create_A_Empty_Pattern_result); + AssemblyConnectors_P_P_instantiate_A_Empty_Pattern_ObjectFlow0.SetTarget(AssemblyConnectors_P_P_instantiate_A_Empty_Pattern_A_Empty_Pattern__target); + // LiteralBoolean LiteralBoolean2 + AssemblyConnectors_P_P_instantiate_A_Empty_Pattern_ObjectFlow0_LiteralBoolean2.SetName("LiteralBoolean2"); + AssemblyConnectors_P_P_instantiate_A_Empty_Pattern_ObjectFlow0_LiteralBoolean2.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_P_P_instantiate_A_Empty_Pattern_ObjectFlow0_LiteralBoolean2.SetValue(true); + AssemblyConnectors_P_P_instantiate_A_Empty_Pattern_ObjectFlow0.SetGuard(AssemblyConnectors_P_P_instantiate_A_Empty_Pattern_ObjectFlow0_LiteralBoolean2); + AssemblyConnectors_P_P_instantiate_A_Empty_Pattern.AddEdge(AssemblyConnectors_P_P_instantiate_A_Empty_Pattern_ObjectFlow0); + // ObjectFlow ObjectFlow3 from result to a_Empty_Pattern_node + AssemblyConnectors_P_P_instantiate_A_Empty_Pattern_ObjectFlow3.SetName("ObjectFlow3"); + AssemblyConnectors_P_P_instantiate_A_Empty_Pattern_ObjectFlow3.SetVisibility(VisibilityKind.public_); + + AssemblyConnectors_P_P_instantiate_A_Empty_Pattern_ObjectFlow3.SetSource(AssemblyConnectors_P_P_instantiate_A_Empty_Pattern_A_Empty_Pattern__result); + AssemblyConnectors_P_P_instantiate_A_Empty_Pattern_ObjectFlow3.SetTarget(AssemblyConnectors_P_P_instantiate_A_Empty_Pattern_a_Empty_Pattern_node); + // LiteralBoolean LiteralBoolean4 + AssemblyConnectors_P_P_instantiate_A_Empty_Pattern_ObjectFlow3_LiteralBoolean4.SetName("LiteralBoolean4"); + AssemblyConnectors_P_P_instantiate_A_Empty_Pattern_ObjectFlow3_LiteralBoolean4.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_P_P_instantiate_A_Empty_Pattern_ObjectFlow3_LiteralBoolean4.SetValue(true); + AssemblyConnectors_P_P_instantiate_A_Empty_Pattern_ObjectFlow3.SetGuard(AssemblyConnectors_P_P_instantiate_A_Empty_Pattern_ObjectFlow3_LiteralBoolean4); + AssemblyConnectors_P_P_instantiate_A_Empty_Pattern.AddEdge(AssemblyConnectors_P_P_instantiate_A_Empty_Pattern_ObjectFlow3); + AssemblyConnectors_P_P.AddPackagedElement(AssemblyConnectors_P_P_instantiate_A_Empty_Pattern); + // Class C + AssemblyConnectors_P_P_C.SetName("C"); + AssemblyConnectors_P_P_C.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_P_P.AddPackagedElement(AssemblyConnectors_P_P_C); + // Activity assert_A_Star_Pattern + AssemblyConnectors_P_P_assert_A_Star_Pattern.SetName("assert_A_Star_Pattern"); + AssemblyConnectors_P_P_assert_A_Star_Pattern.SetVisibility(VisibilityKind.public_); + + // Parameter a_Star_Pattern + AssemblyConnectors_P_P_assert_A_Star_Pattern_a_Star_Pattern.SetName("a_Star_Pattern"); + AssemblyConnectors_P_P_assert_A_Star_Pattern_a_Star_Pattern.SetVisibility(VisibilityKind.public_); + + AssemblyConnectors_P_P_assert_A_Star_Pattern_a_Star_Pattern.SetType(AssemblyConnectors_P_P_A_Star_Pattern); + AssemblyConnectors_P_P_assert_A_Star_Pattern.AddOwnedParameter(AssemblyConnectors_P_P_assert_A_Star_Pattern_a_Star_Pattern); + // ActivityParameterNode a_Star_Pattern_node + AssemblyConnectors_P_P_assert_A_Star_Pattern_a_Star_Pattern_node.SetName("a_Star_Pattern_node"); + AssemblyConnectors_P_P_assert_A_Star_Pattern_a_Star_Pattern_node.SetVisibility(VisibilityKind.public_); + + AssemblyConnectors_P_P_assert_A_Star_Pattern_a_Star_Pattern_node.SetParameter(AssemblyConnectors_P_P_assert_A_Star_Pattern_a_Star_Pattern); + AssemblyConnectors_P_P_assert_A_Star_Pattern.AddNode(AssemblyConnectors_P_P_assert_A_Star_Pattern_a_Star_Pattern_node); + // ValueSpecificationAction message + AssemblyConnectors_P_P_assert_A_Star_Pattern_message.SetName("message"); + AssemblyConnectors_P_P_assert_A_Star_Pattern_message.SetVisibility(VisibilityKind.public_); + // LiteralString LiteralString19 + AssemblyConnectors_P_P_assert_A_Star_Pattern_message_LiteralString19.SetName("LiteralString19"); + AssemblyConnectors_P_P_assert_A_Star_Pattern_message_LiteralString19.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_P_P_assert_A_Star_Pattern_message_LiteralString19.SetValue("Assertion currently not implemented for A_Star_Pattern."); + AssemblyConnectors_P_P_assert_A_Star_Pattern_message.SetValue(AssemblyConnectors_P_P_assert_A_Star_Pattern_message_LiteralString19); + // OutputPin result + AssemblyConnectors_P_P_assert_A_Star_Pattern_message_result.SetName("result"); + AssemblyConnectors_P_P_assert_A_Star_Pattern_message_result.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_P_P_assert_A_Star_Pattern_message_result.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_String); + AssemblyConnectors_P_P_assert_A_Star_Pattern_message.SetResult(AssemblyConnectors_P_P_assert_A_Star_Pattern_message_result); + AssemblyConnectors_P_P_assert_A_Star_Pattern.AddNode(AssemblyConnectors_P_P_assert_A_Star_Pattern_message); + // CallBehaviorAction writeLine + AssemblyConnectors_P_P_assert_A_Star_Pattern_writeLine.SetName("writeLine"); + AssemblyConnectors_P_P_assert_A_Star_Pattern_writeLine.SetVisibility(VisibilityKind.public_); + + // OutputPin errorStatus + AssemblyConnectors_P_P_assert_A_Star_Pattern_writeLine_errorStatus.SetName("errorStatus"); + AssemblyConnectors_P_P_assert_A_Star_Pattern_writeLine_errorStatus.SetVisibility(VisibilityKind.public_); + + AssemblyConnectors_P_P_assert_A_Star_Pattern_writeLine_errorStatus.SetLower(0); + AssemblyConnectors_P_P_assert_A_Star_Pattern_writeLine.AddResult(AssemblyConnectors_P_P_assert_A_Star_Pattern_writeLine_errorStatus); + AssemblyConnectors_P_P_assert_A_Star_Pattern_writeLine.SetBehavior(FoundationalModelLibraryModel.Instance().FoundationalModelLibrary_BasicInputOutput_WriteLine); + // InputPin value + AssemblyConnectors_P_P_assert_A_Star_Pattern_writeLine_value.SetName("value"); + AssemblyConnectors_P_P_assert_A_Star_Pattern_writeLine_value.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_P_P_assert_A_Star_Pattern_writeLine_value.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_String); + AssemblyConnectors_P_P_assert_A_Star_Pattern_writeLine.AddArgument(AssemblyConnectors_P_P_assert_A_Star_Pattern_writeLine_value); + AssemblyConnectors_P_P_assert_A_Star_Pattern.AddNode(AssemblyConnectors_P_P_assert_A_Star_Pattern_writeLine); + // ObjectFlow ObjectFlow14 from result to value + AssemblyConnectors_P_P_assert_A_Star_Pattern_ObjectFlow14.SetName("ObjectFlow14"); + AssemblyConnectors_P_P_assert_A_Star_Pattern_ObjectFlow14.SetVisibility(VisibilityKind.public_); + + AssemblyConnectors_P_P_assert_A_Star_Pattern_ObjectFlow14.SetSource(AssemblyConnectors_P_P_assert_A_Star_Pattern_message_result); + AssemblyConnectors_P_P_assert_A_Star_Pattern_ObjectFlow14.SetTarget(AssemblyConnectors_P_P_assert_A_Star_Pattern_writeLine_value); + // LiteralBoolean LiteralBoolean16 + AssemblyConnectors_P_P_assert_A_Star_Pattern_ObjectFlow14_LiteralBoolean16.SetName("LiteralBoolean16"); + AssemblyConnectors_P_P_assert_A_Star_Pattern_ObjectFlow14_LiteralBoolean16.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_P_P_assert_A_Star_Pattern_ObjectFlow14_LiteralBoolean16.SetValue(true); + AssemblyConnectors_P_P_assert_A_Star_Pattern_ObjectFlow14.SetGuard(AssemblyConnectors_P_P_assert_A_Star_Pattern_ObjectFlow14_LiteralBoolean16); + AssemblyConnectors_P_P_assert_A_Star_Pattern.AddEdge(AssemblyConnectors_P_P_assert_A_Star_Pattern_ObjectFlow14); + AssemblyConnectors_P_P.AddPackagedElement(AssemblyConnectors_P_P_assert_A_Star_Pattern); + // Class B + AssemblyConnectors_P_P_B.SetName("B"); + AssemblyConnectors_P_P_B.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_P_P.AddPackagedElement(AssemblyConnectors_P_P_B); + // Class A_Star_Pattern + AssemblyConnectors_P_P_A_Star_Pattern.SetName("A_Star_Pattern"); + AssemblyConnectors_P_P_A_Star_Pattern.SetVisibility(VisibilityKind.public_); + + // Property partB + AssemblyConnectors_P_P_A_Star_Pattern_partB.SetName("partB"); + AssemblyConnectors_P_P_A_Star_Pattern_partB.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_P_P_A_Star_Pattern_partB.SetUpper(-1); + AssemblyConnectors_P_P_A_Star_Pattern_partB.SetLower(4); + AssemblyConnectors_P_P_A_Star_Pattern_partB.SetType(AssemblyConnectors_P_P_B); + AssemblyConnectors_P_P_A_Star_Pattern_partB.SetAggregation(AggregationKind.composite); + AssemblyConnectors_P_P_A_Star_Pattern.AddOwnedAttribute(AssemblyConnectors_P_P_A_Star_Pattern_partB); + // Property partC + AssemblyConnectors_P_P_A_Star_Pattern_partC.SetName("partC"); + AssemblyConnectors_P_P_A_Star_Pattern_partC.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_P_P_A_Star_Pattern_partC.SetUpper(-1); + AssemblyConnectors_P_P_A_Star_Pattern_partC.SetLower(3); + AssemblyConnectors_P_P_A_Star_Pattern_partC.SetType(AssemblyConnectors_P_P_C); + AssemblyConnectors_P_P_A_Star_Pattern_partC.SetAggregation(AggregationKind.composite); + AssemblyConnectors_P_P_A_Star_Pattern.AddOwnedAttribute(AssemblyConnectors_P_P_A_Star_Pattern_partC); + + AssemblyConnectors_P_P_A_Star_Pattern_r.SetName("r"); + AssemblyConnectors_P_P_A_Star_Pattern_r.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_P_P_A_Star_Pattern_r_ConnectorEnd30.SetUpper(-1); + AssemblyConnectors_P_P_A_Star_Pattern_r_ConnectorEnd30.SetLower(4); + AssemblyConnectors_P_P_A_Star_Pattern_r_ConnectorEnd30.SetRole(AssemblyConnectors_P_P_A_Star_Pattern_partB); + + AssemblyConnectors_P_P_A_Star_Pattern_r.AddEnd(AssemblyConnectors_P_P_A_Star_Pattern_r_ConnectorEnd30); + AssemblyConnectors_P_P_A_Star_Pattern_r_ConnectorEnd29.SetUpper(-1); + AssemblyConnectors_P_P_A_Star_Pattern_r_ConnectorEnd29.SetLower(3); + AssemblyConnectors_P_P_A_Star_Pattern_r_ConnectorEnd29.SetRole(AssemblyConnectors_P_P_A_Star_Pattern_partC); + + AssemblyConnectors_P_P_A_Star_Pattern_r.AddEnd(AssemblyConnectors_P_P_A_Star_Pattern_r_ConnectorEnd29); + AssemblyConnectors_P_P_A_Star_Pattern_r.SetType(AssemblyConnectors_P_P_R); + AssemblyConnectors_P_P_A_Star_Pattern.AddOwnedConnector(AssemblyConnectors_P_P_A_Star_Pattern_r); + // Operation A_Star_Pattern_A_Star_Pattern + AssemblyConnectors_P_P_A_Star_Pattern_A_Star_Pattern_A_Star_Pattern.SetName("A_Star_Pattern_A_Star_Pattern"); + AssemblyConnectors_P_P_A_Star_Pattern_A_Star_Pattern_A_Star_Pattern.SetVisibility(VisibilityKind.public_); + // Parameter result + AssemblyConnectors_P_P_A_Star_Pattern_A_Star_Pattern_A_Star_Pattern_result.SetName("result"); + AssemblyConnectors_P_P_A_Star_Pattern_A_Star_Pattern_A_Star_Pattern_result.SetVisibility(VisibilityKind.public_); + + AssemblyConnectors_P_P_A_Star_Pattern_A_Star_Pattern_A_Star_Pattern_result.SetType(AssemblyConnectors_P_P_A_Star_Pattern); + AssemblyConnectors_P_P_A_Star_Pattern_A_Star_Pattern_A_Star_Pattern_result.SetDirection(ParameterDirectionKind.return_); + AssemblyConnectors_P_P_A_Star_Pattern_A_Star_Pattern_A_Star_Pattern.AddOwnedParameter(AssemblyConnectors_P_P_A_Star_Pattern_A_Star_Pattern_A_Star_Pattern_result); + AssemblyConnectors_P_P_A_Star_Pattern_A_Star_Pattern_A_Star_Pattern.ApplyStereotype(uml.standardprofile.StandardProfileModel.Instance().Stereotype_Create); + AssemblyConnectors_P_P_A_Star_Pattern.AddOwnedOperation(AssemblyConnectors_P_P_A_Star_Pattern_A_Star_Pattern_A_Star_Pattern); + AssemblyConnectors_P_P.AddPackagedElement(AssemblyConnectors_P_P_A_Star_Pattern); + // Association R + AssemblyConnectors_P_P_R.SetName("R"); + AssemblyConnectors_P_P_R.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_P_P_R.AddOwnedEnd(AssemblyConnectors_P_P_R_x); + AssemblyConnectors_P_P_R.AddOwnedEnd(AssemblyConnectors_P_P_R_y); + AssemblyConnectors_P_P.AddPackagedElement(AssemblyConnectors_P_P_R); + // Activity main + AssemblyConnectors_P_P_main.SetName("main"); + AssemblyConnectors_P_P_main.SetVisibility(VisibilityKind.public_); + // CallBehaviorAction assert_A_Unconnected_Pattern + AssemblyConnectors_P_P_main_assert_A_Unconnected_Pattern.SetName("assert_A_Unconnected_Pattern"); + AssemblyConnectors_P_P_main_assert_A_Unconnected_Pattern.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_P_P_main_assert_A_Unconnected_Pattern.SetBehavior(AssemblyConnectors_P_P_assert_A_Unconnected_Pattern); + // InputPin a_Unconnected_Pattern + AssemblyConnectors_P_P_main_assert_A_Unconnected_Pattern_a_Unconnected_Pattern.SetName("a_Unconnected_Pattern"); + AssemblyConnectors_P_P_main_assert_A_Unconnected_Pattern_a_Unconnected_Pattern.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_P_P_main_assert_A_Unconnected_Pattern_a_Unconnected_Pattern.SetType(AssemblyConnectors_P_P_A_Unconnected_Pattern); + AssemblyConnectors_P_P_main_assert_A_Unconnected_Pattern.AddArgument(AssemblyConnectors_P_P_main_assert_A_Unconnected_Pattern_a_Unconnected_Pattern); + AssemblyConnectors_P_P_main.AddNode(AssemblyConnectors_P_P_main_assert_A_Unconnected_Pattern); + // CallBehaviorAction instantiate_A_Star_Pattern + AssemblyConnectors_P_P_main_instantiate_A_Star_Pattern.SetName("instantiate_A_Star_Pattern"); + AssemblyConnectors_P_P_main_instantiate_A_Star_Pattern.SetVisibility(VisibilityKind.public_); + + // OutputPin a_Star_Pattern + AssemblyConnectors_P_P_main_instantiate_A_Star_Pattern_a_Star_Pattern.SetName("a_Star_Pattern"); + AssemblyConnectors_P_P_main_instantiate_A_Star_Pattern_a_Star_Pattern.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_P_P_main_instantiate_A_Star_Pattern_a_Star_Pattern.SetType(AssemblyConnectors_P_P_A_Star_Pattern); + AssemblyConnectors_P_P_main_instantiate_A_Star_Pattern.AddResult(AssemblyConnectors_P_P_main_instantiate_A_Star_Pattern_a_Star_Pattern); + AssemblyConnectors_P_P_main_instantiate_A_Star_Pattern.SetBehavior(AssemblyConnectors_P_P_instantiate_A_Star_Pattern); + AssemblyConnectors_P_P_main.AddNode(AssemblyConnectors_P_P_main_instantiate_A_Star_Pattern); + // CallBehaviorAction assert_A_Empty_Pattern + AssemblyConnectors_P_P_main_assert_A_Empty_Pattern.SetName("assert_A_Empty_Pattern"); + AssemblyConnectors_P_P_main_assert_A_Empty_Pattern.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_P_P_main_assert_A_Empty_Pattern.SetBehavior(AssemblyConnectors_P_P_assert_A_Empty_Pattern); + // InputPin a_Empty_Pattern + AssemblyConnectors_P_P_main_assert_A_Empty_Pattern_a_Empty_Pattern.SetName("a_Empty_Pattern"); + AssemblyConnectors_P_P_main_assert_A_Empty_Pattern_a_Empty_Pattern.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_P_P_main_assert_A_Empty_Pattern_a_Empty_Pattern.SetType(AssemblyConnectors_P_P_A_Empty_Pattern); + AssemblyConnectors_P_P_main_assert_A_Empty_Pattern.AddArgument(AssemblyConnectors_P_P_main_assert_A_Empty_Pattern_a_Empty_Pattern); + AssemblyConnectors_P_P_main.AddNode(AssemblyConnectors_P_P_main_assert_A_Empty_Pattern); + // CallBehaviorAction assert_A_Array_Pattern + AssemblyConnectors_P_P_main_assert_A_Array_Pattern.SetName("assert_A_Array_Pattern"); + AssemblyConnectors_P_P_main_assert_A_Array_Pattern.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_P_P_main_assert_A_Array_Pattern.SetBehavior(AssemblyConnectors_P_P_assert_A_Array_Pattern); + // InputPin a_Array_Pattern + AssemblyConnectors_P_P_main_assert_A_Array_Pattern_a_Array_Pattern.SetName("a_Array_Pattern"); + AssemblyConnectors_P_P_main_assert_A_Array_Pattern_a_Array_Pattern.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_P_P_main_assert_A_Array_Pattern_a_Array_Pattern.SetType(AssemblyConnectors_P_P_A_Array_Pattern); + AssemblyConnectors_P_P_main_assert_A_Array_Pattern.AddArgument(AssemblyConnectors_P_P_main_assert_A_Array_Pattern_a_Array_Pattern); + AssemblyConnectors_P_P_main.AddNode(AssemblyConnectors_P_P_main_assert_A_Array_Pattern); + // CallBehaviorAction instantiate_A_Unconnected_Pattern + AssemblyConnectors_P_P_main_instantiate_A_Unconnected_Pattern.SetName("instantiate_A_Unconnected_Pattern"); + AssemblyConnectors_P_P_main_instantiate_A_Unconnected_Pattern.SetVisibility(VisibilityKind.public_); + + // OutputPin a_Unconnected_Pattern + AssemblyConnectors_P_P_main_instantiate_A_Unconnected_Pattern_a_Unconnected_Pattern.SetName("a_Unconnected_Pattern"); + AssemblyConnectors_P_P_main_instantiate_A_Unconnected_Pattern_a_Unconnected_Pattern.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_P_P_main_instantiate_A_Unconnected_Pattern_a_Unconnected_Pattern.SetType(AssemblyConnectors_P_P_A_Unconnected_Pattern); + AssemblyConnectors_P_P_main_instantiate_A_Unconnected_Pattern.AddResult(AssemblyConnectors_P_P_main_instantiate_A_Unconnected_Pattern_a_Unconnected_Pattern); + AssemblyConnectors_P_P_main_instantiate_A_Unconnected_Pattern.SetBehavior(AssemblyConnectors_P_P_instantiate_A_Unconnected_Pattern); + AssemblyConnectors_P_P_main.AddNode(AssemblyConnectors_P_P_main_instantiate_A_Unconnected_Pattern); + // CallBehaviorAction instantiate_A_Array_Pattern + AssemblyConnectors_P_P_main_instantiate_A_Array_Pattern.SetName("instantiate_A_Array_Pattern"); + AssemblyConnectors_P_P_main_instantiate_A_Array_Pattern.SetVisibility(VisibilityKind.public_); + + // OutputPin a_Array_Pattern + AssemblyConnectors_P_P_main_instantiate_A_Array_Pattern_a_Array_Pattern.SetName("a_Array_Pattern"); + AssemblyConnectors_P_P_main_instantiate_A_Array_Pattern_a_Array_Pattern.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_P_P_main_instantiate_A_Array_Pattern_a_Array_Pattern.SetType(AssemblyConnectors_P_P_A_Array_Pattern); + AssemblyConnectors_P_P_main_instantiate_A_Array_Pattern.AddResult(AssemblyConnectors_P_P_main_instantiate_A_Array_Pattern_a_Array_Pattern); + AssemblyConnectors_P_P_main_instantiate_A_Array_Pattern.SetBehavior(AssemblyConnectors_P_P_instantiate_A_Array_Pattern); + AssemblyConnectors_P_P_main.AddNode(AssemblyConnectors_P_P_main_instantiate_A_Array_Pattern); + // CallBehaviorAction assert_A_Star_Pattern + AssemblyConnectors_P_P_main_assert_A_Star_Pattern.SetName("assert_A_Star_Pattern"); + AssemblyConnectors_P_P_main_assert_A_Star_Pattern.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_P_P_main_assert_A_Star_Pattern.SetBehavior(AssemblyConnectors_P_P_assert_A_Star_Pattern); + // InputPin a_Star_Pattern + AssemblyConnectors_P_P_main_assert_A_Star_Pattern_a_Star_Pattern.SetName("a_Star_Pattern"); + AssemblyConnectors_P_P_main_assert_A_Star_Pattern_a_Star_Pattern.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_P_P_main_assert_A_Star_Pattern_a_Star_Pattern.SetType(AssemblyConnectors_P_P_A_Star_Pattern); + AssemblyConnectors_P_P_main_assert_A_Star_Pattern.AddArgument(AssemblyConnectors_P_P_main_assert_A_Star_Pattern_a_Star_Pattern); + AssemblyConnectors_P_P_main.AddNode(AssemblyConnectors_P_P_main_assert_A_Star_Pattern); + // CallBehaviorAction instantiate_A_Empty_Pattern + AssemblyConnectors_P_P_main_instantiate_A_Empty_Pattern.SetName("instantiate_A_Empty_Pattern"); + AssemblyConnectors_P_P_main_instantiate_A_Empty_Pattern.SetVisibility(VisibilityKind.public_); + + // OutputPin a_Empty_Pattern + AssemblyConnectors_P_P_main_instantiate_A_Empty_Pattern_a_Empty_Pattern.SetName("a_Empty_Pattern"); + AssemblyConnectors_P_P_main_instantiate_A_Empty_Pattern_a_Empty_Pattern.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_P_P_main_instantiate_A_Empty_Pattern_a_Empty_Pattern.SetType(AssemblyConnectors_P_P_A_Empty_Pattern); + AssemblyConnectors_P_P_main_instantiate_A_Empty_Pattern.AddResult(AssemblyConnectors_P_P_main_instantiate_A_Empty_Pattern_a_Empty_Pattern); + AssemblyConnectors_P_P_main_instantiate_A_Empty_Pattern.SetBehavior(AssemblyConnectors_P_P_instantiate_A_Empty_Pattern); + AssemblyConnectors_P_P_main.AddNode(AssemblyConnectors_P_P_main_instantiate_A_Empty_Pattern); + // ControlFlow ControlFlow52 from assert_A_Array_Pattern to instantiate_A_Star_Pattern + AssemblyConnectors_P_P_main_ControlFlow52.SetName("ControlFlow52"); + AssemblyConnectors_P_P_main_ControlFlow52.SetVisibility(VisibilityKind.public_); + + AssemblyConnectors_P_P_main_ControlFlow52.SetSource(AssemblyConnectors_P_P_main_assert_A_Array_Pattern); + AssemblyConnectors_P_P_main_ControlFlow52.SetTarget(AssemblyConnectors_P_P_main_instantiate_A_Star_Pattern); + AssemblyConnectors_P_P_main.AddEdge(AssemblyConnectors_P_P_main_ControlFlow52); + // ObjectFlow ObjectFlow40 from a_Star_Pattern to a_Star_Pattern + AssemblyConnectors_P_P_main_ObjectFlow40.SetName("ObjectFlow40"); + AssemblyConnectors_P_P_main_ObjectFlow40.SetVisibility(VisibilityKind.public_); + + AssemblyConnectors_P_P_main_ObjectFlow40.SetSource(AssemblyConnectors_P_P_main_instantiate_A_Star_Pattern_a_Star_Pattern); + AssemblyConnectors_P_P_main_ObjectFlow40.SetTarget(AssemblyConnectors_P_P_main_assert_A_Star_Pattern_a_Star_Pattern); + // LiteralBoolean LiteralBoolean41 + AssemblyConnectors_P_P_main_ObjectFlow40_LiteralBoolean41.SetName("LiteralBoolean41"); + AssemblyConnectors_P_P_main_ObjectFlow40_LiteralBoolean41.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_P_P_main_ObjectFlow40_LiteralBoolean41.SetValue(true); + AssemblyConnectors_P_P_main_ObjectFlow40.SetGuard(AssemblyConnectors_P_P_main_ObjectFlow40_LiteralBoolean41); + AssemblyConnectors_P_P_main.AddEdge(AssemblyConnectors_P_P_main_ObjectFlow40); + // ControlFlow ControlFlow56 from assert_A_Empty_Pattern to instantiate_A_Unconnected_Pattern + AssemblyConnectors_P_P_main_ControlFlow56.SetName("ControlFlow56"); + AssemblyConnectors_P_P_main_ControlFlow56.SetVisibility(VisibilityKind.public_); + + AssemblyConnectors_P_P_main_ControlFlow56.SetSource(AssemblyConnectors_P_P_main_assert_A_Empty_Pattern); + AssemblyConnectors_P_P_main_ControlFlow56.SetTarget(AssemblyConnectors_P_P_main_instantiate_A_Unconnected_Pattern); + AssemblyConnectors_P_P_main.AddEdge(AssemblyConnectors_P_P_main_ControlFlow56); + // ObjectFlow ObjectFlow43 from a_Unconnected_Pattern to a_Unconnected_Pattern + AssemblyConnectors_P_P_main_ObjectFlow43.SetName("ObjectFlow43"); + AssemblyConnectors_P_P_main_ObjectFlow43.SetVisibility(VisibilityKind.public_); + + AssemblyConnectors_P_P_main_ObjectFlow43.SetSource(AssemblyConnectors_P_P_main_instantiate_A_Unconnected_Pattern_a_Unconnected_Pattern); + AssemblyConnectors_P_P_main_ObjectFlow43.SetTarget(AssemblyConnectors_P_P_main_assert_A_Unconnected_Pattern_a_Unconnected_Pattern); + // LiteralBoolean LiteralBoolean44 + AssemblyConnectors_P_P_main_ObjectFlow43_LiteralBoolean44.SetName("LiteralBoolean44"); + AssemblyConnectors_P_P_main_ObjectFlow43_LiteralBoolean44.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_P_P_main_ObjectFlow43_LiteralBoolean44.SetValue(true); + AssemblyConnectors_P_P_main_ObjectFlow43.SetGuard(AssemblyConnectors_P_P_main_ObjectFlow43_LiteralBoolean44); + AssemblyConnectors_P_P_main.AddEdge(AssemblyConnectors_P_P_main_ObjectFlow43); + // ObjectFlow ObjectFlow49 from a_Empty_Pattern to a_Empty_Pattern + AssemblyConnectors_P_P_main_ObjectFlow49.SetName("ObjectFlow49"); + AssemblyConnectors_P_P_main_ObjectFlow49.SetVisibility(VisibilityKind.public_); + + AssemblyConnectors_P_P_main_ObjectFlow49.SetSource(AssemblyConnectors_P_P_main_instantiate_A_Empty_Pattern_a_Empty_Pattern); + AssemblyConnectors_P_P_main_ObjectFlow49.SetTarget(AssemblyConnectors_P_P_main_assert_A_Empty_Pattern_a_Empty_Pattern); + // LiteralBoolean LiteralBoolean51 + AssemblyConnectors_P_P_main_ObjectFlow49_LiteralBoolean51.SetName("LiteralBoolean51"); + AssemblyConnectors_P_P_main_ObjectFlow49_LiteralBoolean51.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_P_P_main_ObjectFlow49_LiteralBoolean51.SetValue(true); + AssemblyConnectors_P_P_main_ObjectFlow49.SetGuard(AssemblyConnectors_P_P_main_ObjectFlow49_LiteralBoolean51); + AssemblyConnectors_P_P_main.AddEdge(AssemblyConnectors_P_P_main_ObjectFlow49); + // ObjectFlow ObjectFlow60 from a_Array_Pattern to a_Array_Pattern + AssemblyConnectors_P_P_main_ObjectFlow60.SetName("ObjectFlow60"); + AssemblyConnectors_P_P_main_ObjectFlow60.SetVisibility(VisibilityKind.public_); + + AssemblyConnectors_P_P_main_ObjectFlow60.SetSource(AssemblyConnectors_P_P_main_instantiate_A_Array_Pattern_a_Array_Pattern); + AssemblyConnectors_P_P_main_ObjectFlow60.SetTarget(AssemblyConnectors_P_P_main_assert_A_Array_Pattern_a_Array_Pattern); + // LiteralBoolean LiteralBoolean61 + AssemblyConnectors_P_P_main_ObjectFlow60_LiteralBoolean61.SetName("LiteralBoolean61"); + AssemblyConnectors_P_P_main_ObjectFlow60_LiteralBoolean61.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_P_P_main_ObjectFlow60_LiteralBoolean61.SetValue(true); + AssemblyConnectors_P_P_main_ObjectFlow60.SetGuard(AssemblyConnectors_P_P_main_ObjectFlow60_LiteralBoolean61); + AssemblyConnectors_P_P_main.AddEdge(AssemblyConnectors_P_P_main_ObjectFlow60); + // ControlFlow ControlFlow66 from assert_A_Unconnected_Pattern to instantiate_A_Array_Pattern + AssemblyConnectors_P_P_main_ControlFlow66.SetName("ControlFlow66"); + AssemblyConnectors_P_P_main_ControlFlow66.SetVisibility(VisibilityKind.public_); + + AssemblyConnectors_P_P_main_ControlFlow66.SetSource(AssemblyConnectors_P_P_main_assert_A_Unconnected_Pattern); + AssemblyConnectors_P_P_main_ControlFlow66.SetTarget(AssemblyConnectors_P_P_main_instantiate_A_Array_Pattern); + AssemblyConnectors_P_P_main.AddEdge(AssemblyConnectors_P_P_main_ControlFlow66); + AssemblyConnectors_P_P.AddPackagedElement(AssemblyConnectors_P_P_main); + // Activity instantiate_A_Unconnected_Pattern + AssemblyConnectors_P_P_instantiate_A_Unconnected_Pattern.SetName("instantiate_A_Unconnected_Pattern"); + AssemblyConnectors_P_P_instantiate_A_Unconnected_Pattern.SetVisibility(VisibilityKind.public_); + + // Parameter a_Unconnected_Pattern + AssemblyConnectors_P_P_instantiate_A_Unconnected_Pattern_a_Unconnected_Pattern.SetName("a_Unconnected_Pattern"); + AssemblyConnectors_P_P_instantiate_A_Unconnected_Pattern_a_Unconnected_Pattern.SetVisibility(VisibilityKind.public_); + + AssemblyConnectors_P_P_instantiate_A_Unconnected_Pattern_a_Unconnected_Pattern.SetType(AssemblyConnectors_P_P_A_Unconnected_Pattern); + AssemblyConnectors_P_P_instantiate_A_Unconnected_Pattern_a_Unconnected_Pattern.SetDirection(ParameterDirectionKind.return_); + AssemblyConnectors_P_P_instantiate_A_Unconnected_Pattern.AddOwnedParameter(AssemblyConnectors_P_P_instantiate_A_Unconnected_Pattern_a_Unconnected_Pattern); + // CreateObjectAction Create A_Unconnected_Pattern + AssemblyConnectors_P_P_instantiate_A_Unconnected_Pattern_Create_A_Unconnected_Pattern.SetName("Create A_Unconnected_Pattern"); + AssemblyConnectors_P_P_instantiate_A_Unconnected_Pattern_Create_A_Unconnected_Pattern.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_P_P_instantiate_A_Unconnected_Pattern_Create_A_Unconnected_Pattern.SetClassifier(AssemblyConnectors_P_P_A_Unconnected_Pattern); + // OutputPin result + AssemblyConnectors_P_P_instantiate_A_Unconnected_Pattern_Create_A_Unconnected_Pattern_result.SetName("result"); + AssemblyConnectors_P_P_instantiate_A_Unconnected_Pattern_Create_A_Unconnected_Pattern_result.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_P_P_instantiate_A_Unconnected_Pattern_Create_A_Unconnected_Pattern_result.SetType(AssemblyConnectors_P_P_A_Unconnected_Pattern); + AssemblyConnectors_P_P_instantiate_A_Unconnected_Pattern_Create_A_Unconnected_Pattern.SetResult(AssemblyConnectors_P_P_instantiate_A_Unconnected_Pattern_Create_A_Unconnected_Pattern_result); + AssemblyConnectors_P_P_instantiate_A_Unconnected_Pattern.AddNode(AssemblyConnectors_P_P_instantiate_A_Unconnected_Pattern_Create_A_Unconnected_Pattern); + // ActivityParameterNode a_Unconnected_Pattern_node + AssemblyConnectors_P_P_instantiate_A_Unconnected_Pattern_a_Unconnected_Pattern_node.SetName("a_Unconnected_Pattern_node"); + AssemblyConnectors_P_P_instantiate_A_Unconnected_Pattern_a_Unconnected_Pattern_node.SetVisibility(VisibilityKind.public_); + + AssemblyConnectors_P_P_instantiate_A_Unconnected_Pattern_a_Unconnected_Pattern_node.SetParameter(AssemblyConnectors_P_P_instantiate_A_Unconnected_Pattern_a_Unconnected_Pattern); + AssemblyConnectors_P_P_instantiate_A_Unconnected_Pattern.AddNode(AssemblyConnectors_P_P_instantiate_A_Unconnected_Pattern_a_Unconnected_Pattern_node); + // CallOperationAction A_Unconnected_Pattern() + AssemblyConnectors_P_P_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern_.SetName("A_Unconnected_Pattern()"); + AssemblyConnectors_P_P_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern_.SetVisibility(VisibilityKind.public_); + + // OutputPin result + AssemblyConnectors_P_P_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern__result.SetName("result"); + AssemblyConnectors_P_P_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern__result.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_P_P_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern__result.SetType(AssemblyConnectors_P_P_A_Unconnected_Pattern); + AssemblyConnectors_P_P_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern_.AddResult(AssemblyConnectors_P_P_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern__result); + AssemblyConnectors_P_P_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern_.SetOperation(AssemblyConnectors_P_P_A_Unconnected_Pattern_A_Unconnected_Pattern_A_Unconnected_Pattern); + // InputPin target + AssemblyConnectors_P_P_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern__target.SetName("target"); + AssemblyConnectors_P_P_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern__target.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_P_P_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern__target.SetType(AssemblyConnectors_P_P_A_Unconnected_Pattern); + AssemblyConnectors_P_P_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern_.SetTarget(AssemblyConnectors_P_P_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern__target); + AssemblyConnectors_P_P_instantiate_A_Unconnected_Pattern.AddNode(AssemblyConnectors_P_P_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern_); + // ObjectFlow ObjectFlow78 from result to a_Unconnected_Pattern_node + AssemblyConnectors_P_P_instantiate_A_Unconnected_Pattern_ObjectFlow78.SetName("ObjectFlow78"); + AssemblyConnectors_P_P_instantiate_A_Unconnected_Pattern_ObjectFlow78.SetVisibility(VisibilityKind.public_); + + AssemblyConnectors_P_P_instantiate_A_Unconnected_Pattern_ObjectFlow78.SetSource(AssemblyConnectors_P_P_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern__result); + AssemblyConnectors_P_P_instantiate_A_Unconnected_Pattern_ObjectFlow78.SetTarget(AssemblyConnectors_P_P_instantiate_A_Unconnected_Pattern_a_Unconnected_Pattern_node); + // LiteralBoolean LiteralBoolean79 + AssemblyConnectors_P_P_instantiate_A_Unconnected_Pattern_ObjectFlow78_LiteralBoolean79.SetName("LiteralBoolean79"); + AssemblyConnectors_P_P_instantiate_A_Unconnected_Pattern_ObjectFlow78_LiteralBoolean79.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_P_P_instantiate_A_Unconnected_Pattern_ObjectFlow78_LiteralBoolean79.SetValue(true); + AssemblyConnectors_P_P_instantiate_A_Unconnected_Pattern_ObjectFlow78.SetGuard(AssemblyConnectors_P_P_instantiate_A_Unconnected_Pattern_ObjectFlow78_LiteralBoolean79); + AssemblyConnectors_P_P_instantiate_A_Unconnected_Pattern.AddEdge(AssemblyConnectors_P_P_instantiate_A_Unconnected_Pattern_ObjectFlow78); + // ObjectFlow ObjectFlow81 from result to target + AssemblyConnectors_P_P_instantiate_A_Unconnected_Pattern_ObjectFlow81.SetName("ObjectFlow81"); + AssemblyConnectors_P_P_instantiate_A_Unconnected_Pattern_ObjectFlow81.SetVisibility(VisibilityKind.public_); + + AssemblyConnectors_P_P_instantiate_A_Unconnected_Pattern_ObjectFlow81.SetSource(AssemblyConnectors_P_P_instantiate_A_Unconnected_Pattern_Create_A_Unconnected_Pattern_result); + AssemblyConnectors_P_P_instantiate_A_Unconnected_Pattern_ObjectFlow81.SetTarget(AssemblyConnectors_P_P_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern__target); + // LiteralBoolean LiteralBoolean82 + AssemblyConnectors_P_P_instantiate_A_Unconnected_Pattern_ObjectFlow81_LiteralBoolean82.SetName("LiteralBoolean82"); + AssemblyConnectors_P_P_instantiate_A_Unconnected_Pattern_ObjectFlow81_LiteralBoolean82.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_P_P_instantiate_A_Unconnected_Pattern_ObjectFlow81_LiteralBoolean82.SetValue(true); + AssemblyConnectors_P_P_instantiate_A_Unconnected_Pattern_ObjectFlow81.SetGuard(AssemblyConnectors_P_P_instantiate_A_Unconnected_Pattern_ObjectFlow81_LiteralBoolean82); + AssemblyConnectors_P_P_instantiate_A_Unconnected_Pattern.AddEdge(AssemblyConnectors_P_P_instantiate_A_Unconnected_Pattern_ObjectFlow81); + AssemblyConnectors_P_P.AddPackagedElement(AssemblyConnectors_P_P_instantiate_A_Unconnected_Pattern); + // Activity assert_A_Empty_Pattern + AssemblyConnectors_P_P_assert_A_Empty_Pattern.SetName("assert_A_Empty_Pattern"); + AssemblyConnectors_P_P_assert_A_Empty_Pattern.SetVisibility(VisibilityKind.public_); + + // Parameter a_Empty_Pattern + AssemblyConnectors_P_P_assert_A_Empty_Pattern_a_Empty_Pattern.SetName("a_Empty_Pattern"); + AssemblyConnectors_P_P_assert_A_Empty_Pattern_a_Empty_Pattern.SetVisibility(VisibilityKind.public_); + + AssemblyConnectors_P_P_assert_A_Empty_Pattern_a_Empty_Pattern.SetType(AssemblyConnectors_P_P_A_Empty_Pattern); + AssemblyConnectors_P_P_assert_A_Empty_Pattern.AddOwnedParameter(AssemblyConnectors_P_P_assert_A_Empty_Pattern_a_Empty_Pattern); + // CallBehaviorAction writeLine + AssemblyConnectors_P_P_assert_A_Empty_Pattern_writeLine.SetName("writeLine"); + AssemblyConnectors_P_P_assert_A_Empty_Pattern_writeLine.SetVisibility(VisibilityKind.public_); + + // OutputPin errorStatus + AssemblyConnectors_P_P_assert_A_Empty_Pattern_writeLine_errorStatus.SetName("errorStatus"); + AssemblyConnectors_P_P_assert_A_Empty_Pattern_writeLine_errorStatus.SetVisibility(VisibilityKind.public_); + + AssemblyConnectors_P_P_assert_A_Empty_Pattern_writeLine_errorStatus.SetLower(0); + AssemblyConnectors_P_P_assert_A_Empty_Pattern_writeLine.AddResult(AssemblyConnectors_P_P_assert_A_Empty_Pattern_writeLine_errorStatus); + AssemblyConnectors_P_P_assert_A_Empty_Pattern_writeLine.SetBehavior(FoundationalModelLibraryModel.Instance().FoundationalModelLibrary_BasicInputOutput_WriteLine); + // InputPin value + AssemblyConnectors_P_P_assert_A_Empty_Pattern_writeLine_value.SetName("value"); + AssemblyConnectors_P_P_assert_A_Empty_Pattern_writeLine_value.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_P_P_assert_A_Empty_Pattern_writeLine_value.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_String); + AssemblyConnectors_P_P_assert_A_Empty_Pattern_writeLine.AddArgument(AssemblyConnectors_P_P_assert_A_Empty_Pattern_writeLine_value); + AssemblyConnectors_P_P_assert_A_Empty_Pattern.AddNode(AssemblyConnectors_P_P_assert_A_Empty_Pattern_writeLine); + // ValueSpecificationAction message + AssemblyConnectors_P_P_assert_A_Empty_Pattern_message.SetName("message"); + AssemblyConnectors_P_P_assert_A_Empty_Pattern_message.SetVisibility(VisibilityKind.public_); + // LiteralString LiteralString100 + AssemblyConnectors_P_P_assert_A_Empty_Pattern_message_LiteralString100.SetName("LiteralString100"); + AssemblyConnectors_P_P_assert_A_Empty_Pattern_message_LiteralString100.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_P_P_assert_A_Empty_Pattern_message_LiteralString100.SetValue("Assertion currently not implemented for A_Empty_Pattern."); + AssemblyConnectors_P_P_assert_A_Empty_Pattern_message.SetValue(AssemblyConnectors_P_P_assert_A_Empty_Pattern_message_LiteralString100); + // OutputPin result + AssemblyConnectors_P_P_assert_A_Empty_Pattern_message_result.SetName("result"); + AssemblyConnectors_P_P_assert_A_Empty_Pattern_message_result.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_P_P_assert_A_Empty_Pattern_message_result.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_String); + AssemblyConnectors_P_P_assert_A_Empty_Pattern_message.SetResult(AssemblyConnectors_P_P_assert_A_Empty_Pattern_message_result); + AssemblyConnectors_P_P_assert_A_Empty_Pattern.AddNode(AssemblyConnectors_P_P_assert_A_Empty_Pattern_message); + // ActivityParameterNode a_Empty_Pattern_node + AssemblyConnectors_P_P_assert_A_Empty_Pattern_a_Empty_Pattern_node.SetName("a_Empty_Pattern_node"); + AssemblyConnectors_P_P_assert_A_Empty_Pattern_a_Empty_Pattern_node.SetVisibility(VisibilityKind.public_); + + AssemblyConnectors_P_P_assert_A_Empty_Pattern_a_Empty_Pattern_node.SetParameter(AssemblyConnectors_P_P_assert_A_Empty_Pattern_a_Empty_Pattern); + AssemblyConnectors_P_P_assert_A_Empty_Pattern.AddNode(AssemblyConnectors_P_P_assert_A_Empty_Pattern_a_Empty_Pattern_node); + // ObjectFlow ObjectFlow95 from result to value + AssemblyConnectors_P_P_assert_A_Empty_Pattern_ObjectFlow95.SetName("ObjectFlow95"); + AssemblyConnectors_P_P_assert_A_Empty_Pattern_ObjectFlow95.SetVisibility(VisibilityKind.public_); + + AssemblyConnectors_P_P_assert_A_Empty_Pattern_ObjectFlow95.SetSource(AssemblyConnectors_P_P_assert_A_Empty_Pattern_message_result); + AssemblyConnectors_P_P_assert_A_Empty_Pattern_ObjectFlow95.SetTarget(AssemblyConnectors_P_P_assert_A_Empty_Pattern_writeLine_value); + // LiteralBoolean LiteralBoolean96 + AssemblyConnectors_P_P_assert_A_Empty_Pattern_ObjectFlow95_LiteralBoolean96.SetName("LiteralBoolean96"); + AssemblyConnectors_P_P_assert_A_Empty_Pattern_ObjectFlow95_LiteralBoolean96.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_P_P_assert_A_Empty_Pattern_ObjectFlow95_LiteralBoolean96.SetValue(true); + AssemblyConnectors_P_P_assert_A_Empty_Pattern_ObjectFlow95.SetGuard(AssemblyConnectors_P_P_assert_A_Empty_Pattern_ObjectFlow95_LiteralBoolean96); + AssemblyConnectors_P_P_assert_A_Empty_Pattern.AddEdge(AssemblyConnectors_P_P_assert_A_Empty_Pattern_ObjectFlow95); + AssemblyConnectors_P_P.AddPackagedElement(AssemblyConnectors_P_P_assert_A_Empty_Pattern); + // Class A_Unconnected_Pattern + AssemblyConnectors_P_P_A_Unconnected_Pattern.SetName("A_Unconnected_Pattern"); + AssemblyConnectors_P_P_A_Unconnected_Pattern.SetVisibility(VisibilityKind.public_); + + // Property partB + AssemblyConnectors_P_P_A_Unconnected_Pattern_partB.SetName("partB"); + AssemblyConnectors_P_P_A_Unconnected_Pattern_partB.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_P_P_A_Unconnected_Pattern_partB.SetUpper(-1); + AssemblyConnectors_P_P_A_Unconnected_Pattern_partB.SetLower(2); + AssemblyConnectors_P_P_A_Unconnected_Pattern_partB.SetType(AssemblyConnectors_P_P_B); + AssemblyConnectors_P_P_A_Unconnected_Pattern_partB.SetAggregation(AggregationKind.composite); + AssemblyConnectors_P_P_A_Unconnected_Pattern.AddOwnedAttribute(AssemblyConnectors_P_P_A_Unconnected_Pattern_partB); + // Property partC + AssemblyConnectors_P_P_A_Unconnected_Pattern_partC.SetName("partC"); + AssemblyConnectors_P_P_A_Unconnected_Pattern_partC.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_P_P_A_Unconnected_Pattern_partC.SetUpper(-1); + AssemblyConnectors_P_P_A_Unconnected_Pattern_partC.SetLower(3); + AssemblyConnectors_P_P_A_Unconnected_Pattern_partC.SetType(AssemblyConnectors_P_P_C); + AssemblyConnectors_P_P_A_Unconnected_Pattern_partC.SetAggregation(AggregationKind.composite); + AssemblyConnectors_P_P_A_Unconnected_Pattern.AddOwnedAttribute(AssemblyConnectors_P_P_A_Unconnected_Pattern_partC); + + AssemblyConnectors_P_P_A_Unconnected_Pattern_r.SetName("r"); + AssemblyConnectors_P_P_A_Unconnected_Pattern_r.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_P_P_A_Unconnected_Pattern_r_ConnectorEnd108.SetUpper(-1); + AssemblyConnectors_P_P_A_Unconnected_Pattern_r_ConnectorEnd108.SetLower(0); + AssemblyConnectors_P_P_A_Unconnected_Pattern_r_ConnectorEnd108.SetRole(AssemblyConnectors_P_P_A_Unconnected_Pattern_partB); + + AssemblyConnectors_P_P_A_Unconnected_Pattern_r.AddEnd(AssemblyConnectors_P_P_A_Unconnected_Pattern_r_ConnectorEnd108); + AssemblyConnectors_P_P_A_Unconnected_Pattern_r_ConnectorEnd107.SetUpper(-1); + AssemblyConnectors_P_P_A_Unconnected_Pattern_r_ConnectorEnd107.SetLower(0); + AssemblyConnectors_P_P_A_Unconnected_Pattern_r_ConnectorEnd107.SetRole(AssemblyConnectors_P_P_A_Unconnected_Pattern_partC); + + AssemblyConnectors_P_P_A_Unconnected_Pattern_r.AddEnd(AssemblyConnectors_P_P_A_Unconnected_Pattern_r_ConnectorEnd107); + AssemblyConnectors_P_P_A_Unconnected_Pattern_r.SetType(AssemblyConnectors_P_P_R); + AssemblyConnectors_P_P_A_Unconnected_Pattern.AddOwnedConnector(AssemblyConnectors_P_P_A_Unconnected_Pattern_r); + // Operation A_Unconnected_Pattern_A_Unconnected_Pattern + AssemblyConnectors_P_P_A_Unconnected_Pattern_A_Unconnected_Pattern_A_Unconnected_Pattern.SetName("A_Unconnected_Pattern_A_Unconnected_Pattern"); + AssemblyConnectors_P_P_A_Unconnected_Pattern_A_Unconnected_Pattern_A_Unconnected_Pattern.SetVisibility(VisibilityKind.public_); + // Parameter result + AssemblyConnectors_P_P_A_Unconnected_Pattern_A_Unconnected_Pattern_A_Unconnected_Pattern_result.SetName("result"); + AssemblyConnectors_P_P_A_Unconnected_Pattern_A_Unconnected_Pattern_A_Unconnected_Pattern_result.SetVisibility(VisibilityKind.public_); + + AssemblyConnectors_P_P_A_Unconnected_Pattern_A_Unconnected_Pattern_A_Unconnected_Pattern_result.SetType(AssemblyConnectors_P_P_A_Unconnected_Pattern); + AssemblyConnectors_P_P_A_Unconnected_Pattern_A_Unconnected_Pattern_A_Unconnected_Pattern_result.SetDirection(ParameterDirectionKind.return_); + AssemblyConnectors_P_P_A_Unconnected_Pattern_A_Unconnected_Pattern_A_Unconnected_Pattern.AddOwnedParameter(AssemblyConnectors_P_P_A_Unconnected_Pattern_A_Unconnected_Pattern_A_Unconnected_Pattern_result); + AssemblyConnectors_P_P_A_Unconnected_Pattern_A_Unconnected_Pattern_A_Unconnected_Pattern.ApplyStereotype(uml.standardprofile.StandardProfileModel.Instance().Stereotype_Create); + AssemblyConnectors_P_P_A_Unconnected_Pattern.AddOwnedOperation(AssemblyConnectors_P_P_A_Unconnected_Pattern_A_Unconnected_Pattern_A_Unconnected_Pattern); + AssemblyConnectors_P_P.AddPackagedElement(AssemblyConnectors_P_P_A_Unconnected_Pattern); + // Class A_Array_Pattern + AssemblyConnectors_P_P_A_Array_Pattern.SetName("A_Array_Pattern"); + AssemblyConnectors_P_P_A_Array_Pattern.SetVisibility(VisibilityKind.public_); + + // Property partB + AssemblyConnectors_P_P_A_Array_Pattern_partB.SetName("partB"); + AssemblyConnectors_P_P_A_Array_Pattern_partB.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_P_P_A_Array_Pattern_partB.SetUpper(-1); + AssemblyConnectors_P_P_A_Array_Pattern_partB.SetLower(4); + AssemblyConnectors_P_P_A_Array_Pattern_partB.SetType(AssemblyConnectors_P_P_B); + AssemblyConnectors_P_P_A_Array_Pattern_partB.SetAggregation(AggregationKind.composite); + AssemblyConnectors_P_P_A_Array_Pattern.AddOwnedAttribute(AssemblyConnectors_P_P_A_Array_Pattern_partB); + // Property partC + AssemblyConnectors_P_P_A_Array_Pattern_partC.SetName("partC"); + AssemblyConnectors_P_P_A_Array_Pattern_partC.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_P_P_A_Array_Pattern_partC.SetUpper(-1); + AssemblyConnectors_P_P_A_Array_Pattern_partC.SetLower(4); + AssemblyConnectors_P_P_A_Array_Pattern_partC.SetType(AssemblyConnectors_P_P_C); + AssemblyConnectors_P_P_A_Array_Pattern_partC.SetAggregation(AggregationKind.composite); + AssemblyConnectors_P_P_A_Array_Pattern.AddOwnedAttribute(AssemblyConnectors_P_P_A_Array_Pattern_partC); + + AssemblyConnectors_P_P_A_Array_Pattern_r.SetName("r"); + AssemblyConnectors_P_P_A_Array_Pattern_r.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_P_P_A_Array_Pattern_r_ConnectorEnd114.SetUpper(-1); + AssemblyConnectors_P_P_A_Array_Pattern_r_ConnectorEnd114.SetRole(AssemblyConnectors_P_P_A_Array_Pattern_partB); + + AssemblyConnectors_P_P_A_Array_Pattern_r.AddEnd(AssemblyConnectors_P_P_A_Array_Pattern_r_ConnectorEnd114); + AssemblyConnectors_P_P_A_Array_Pattern_r_ConnectorEnd115.SetUpper(-1); + AssemblyConnectors_P_P_A_Array_Pattern_r_ConnectorEnd115.SetRole(AssemblyConnectors_P_P_A_Array_Pattern_partC); + + AssemblyConnectors_P_P_A_Array_Pattern_r.AddEnd(AssemblyConnectors_P_P_A_Array_Pattern_r_ConnectorEnd115); + AssemblyConnectors_P_P_A_Array_Pattern_r.SetType(AssemblyConnectors_P_P_R); + AssemblyConnectors_P_P_A_Array_Pattern.AddOwnedConnector(AssemblyConnectors_P_P_A_Array_Pattern_r); + // Operation A_Array_Pattern_A_Array_Pattern + AssemblyConnectors_P_P_A_Array_Pattern_A_Array_Pattern_A_Array_Pattern.SetName("A_Array_Pattern_A_Array_Pattern"); + AssemblyConnectors_P_P_A_Array_Pattern_A_Array_Pattern_A_Array_Pattern.SetVisibility(VisibilityKind.public_); + // Parameter result + AssemblyConnectors_P_P_A_Array_Pattern_A_Array_Pattern_A_Array_Pattern_result.SetName("result"); + AssemblyConnectors_P_P_A_Array_Pattern_A_Array_Pattern_A_Array_Pattern_result.SetVisibility(VisibilityKind.public_); + + AssemblyConnectors_P_P_A_Array_Pattern_A_Array_Pattern_A_Array_Pattern_result.SetType(AssemblyConnectors_P_P_A_Array_Pattern); + AssemblyConnectors_P_P_A_Array_Pattern_A_Array_Pattern_A_Array_Pattern_result.SetDirection(ParameterDirectionKind.return_); + AssemblyConnectors_P_P_A_Array_Pattern_A_Array_Pattern_A_Array_Pattern.AddOwnedParameter(AssemblyConnectors_P_P_A_Array_Pattern_A_Array_Pattern_A_Array_Pattern_result); + AssemblyConnectors_P_P_A_Array_Pattern_A_Array_Pattern_A_Array_Pattern.ApplyStereotype(uml.standardprofile.StandardProfileModel.Instance().Stereotype_Create); + AssemblyConnectors_P_P_A_Array_Pattern.AddOwnedOperation(AssemblyConnectors_P_P_A_Array_Pattern_A_Array_Pattern_A_Array_Pattern); + AssemblyConnectors_P_P.AddPackagedElement(AssemblyConnectors_P_P_A_Array_Pattern); + // Activity assert_A_Array_Pattern + AssemblyConnectors_P_P_assert_A_Array_Pattern.SetName("assert_A_Array_Pattern"); + AssemblyConnectors_P_P_assert_A_Array_Pattern.SetVisibility(VisibilityKind.public_); + + // Parameter a_Array_Pattern + AssemblyConnectors_P_P_assert_A_Array_Pattern_a_Array_Pattern.SetName("a_Array_Pattern"); + AssemblyConnectors_P_P_assert_A_Array_Pattern_a_Array_Pattern.SetVisibility(VisibilityKind.public_); + + AssemblyConnectors_P_P_assert_A_Array_Pattern_a_Array_Pattern.SetType(AssemblyConnectors_P_P_A_Array_Pattern); + AssemblyConnectors_P_P_assert_A_Array_Pattern.AddOwnedParameter(AssemblyConnectors_P_P_assert_A_Array_Pattern_a_Array_Pattern); + // CallBehaviorAction writeLine + AssemblyConnectors_P_P_assert_A_Array_Pattern_writeLine.SetName("writeLine"); + AssemblyConnectors_P_P_assert_A_Array_Pattern_writeLine.SetVisibility(VisibilityKind.public_); + + // OutputPin errorStatus + AssemblyConnectors_P_P_assert_A_Array_Pattern_writeLine_errorStatus.SetName("errorStatus"); + AssemblyConnectors_P_P_assert_A_Array_Pattern_writeLine_errorStatus.SetVisibility(VisibilityKind.public_); + + AssemblyConnectors_P_P_assert_A_Array_Pattern_writeLine_errorStatus.SetLower(0); + AssemblyConnectors_P_P_assert_A_Array_Pattern_writeLine.AddResult(AssemblyConnectors_P_P_assert_A_Array_Pattern_writeLine_errorStatus); + AssemblyConnectors_P_P_assert_A_Array_Pattern_writeLine.SetBehavior(FoundationalModelLibraryModel.Instance().FoundationalModelLibrary_BasicInputOutput_WriteLine); + // InputPin value + AssemblyConnectors_P_P_assert_A_Array_Pattern_writeLine_value.SetName("value"); + AssemblyConnectors_P_P_assert_A_Array_Pattern_writeLine_value.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_P_P_assert_A_Array_Pattern_writeLine_value.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_String); + AssemblyConnectors_P_P_assert_A_Array_Pattern_writeLine.AddArgument(AssemblyConnectors_P_P_assert_A_Array_Pattern_writeLine_value); + AssemblyConnectors_P_P_assert_A_Array_Pattern.AddNode(AssemblyConnectors_P_P_assert_A_Array_Pattern_writeLine); + // ValueSpecificationAction message + AssemblyConnectors_P_P_assert_A_Array_Pattern_message.SetName("message"); + AssemblyConnectors_P_P_assert_A_Array_Pattern_message.SetVisibility(VisibilityKind.public_); + // LiteralString LiteralString125 + AssemblyConnectors_P_P_assert_A_Array_Pattern_message_LiteralString125.SetName("LiteralString125"); + AssemblyConnectors_P_P_assert_A_Array_Pattern_message_LiteralString125.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_P_P_assert_A_Array_Pattern_message_LiteralString125.SetValue("Assertion currently not implemented for A_Array_Pattern."); + AssemblyConnectors_P_P_assert_A_Array_Pattern_message.SetValue(AssemblyConnectors_P_P_assert_A_Array_Pattern_message_LiteralString125); + // OutputPin result + AssemblyConnectors_P_P_assert_A_Array_Pattern_message_result.SetName("result"); + AssemblyConnectors_P_P_assert_A_Array_Pattern_message_result.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_P_P_assert_A_Array_Pattern_message_result.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_String); + AssemblyConnectors_P_P_assert_A_Array_Pattern_message.SetResult(AssemblyConnectors_P_P_assert_A_Array_Pattern_message_result); + AssemblyConnectors_P_P_assert_A_Array_Pattern.AddNode(AssemblyConnectors_P_P_assert_A_Array_Pattern_message); + // ActivityParameterNode a_Array_Pattern_node + AssemblyConnectors_P_P_assert_A_Array_Pattern_a_Array_Pattern_node.SetName("a_Array_Pattern_node"); + AssemblyConnectors_P_P_assert_A_Array_Pattern_a_Array_Pattern_node.SetVisibility(VisibilityKind.public_); + + AssemblyConnectors_P_P_assert_A_Array_Pattern_a_Array_Pattern_node.SetParameter(AssemblyConnectors_P_P_assert_A_Array_Pattern_a_Array_Pattern); + AssemblyConnectors_P_P_assert_A_Array_Pattern.AddNode(AssemblyConnectors_P_P_assert_A_Array_Pattern_a_Array_Pattern_node); + // ObjectFlow ObjectFlow122 from result to value + AssemblyConnectors_P_P_assert_A_Array_Pattern_ObjectFlow122.SetName("ObjectFlow122"); + AssemblyConnectors_P_P_assert_A_Array_Pattern_ObjectFlow122.SetVisibility(VisibilityKind.public_); + + AssemblyConnectors_P_P_assert_A_Array_Pattern_ObjectFlow122.SetSource(AssemblyConnectors_P_P_assert_A_Array_Pattern_message_result); + AssemblyConnectors_P_P_assert_A_Array_Pattern_ObjectFlow122.SetTarget(AssemblyConnectors_P_P_assert_A_Array_Pattern_writeLine_value); + // LiteralBoolean LiteralBoolean123 + AssemblyConnectors_P_P_assert_A_Array_Pattern_ObjectFlow122_LiteralBoolean123.SetName("LiteralBoolean123"); + AssemblyConnectors_P_P_assert_A_Array_Pattern_ObjectFlow122_LiteralBoolean123.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_P_P_assert_A_Array_Pattern_ObjectFlow122_LiteralBoolean123.SetValue(true); + AssemblyConnectors_P_P_assert_A_Array_Pattern_ObjectFlow122.SetGuard(AssemblyConnectors_P_P_assert_A_Array_Pattern_ObjectFlow122_LiteralBoolean123); + AssemblyConnectors_P_P_assert_A_Array_Pattern.AddEdge(AssemblyConnectors_P_P_assert_A_Array_Pattern_ObjectFlow122); + AssemblyConnectors_P_P.AddPackagedElement(AssemblyConnectors_P_P_assert_A_Array_Pattern); + // Activity instantiate_A_Star_Pattern + AssemblyConnectors_P_P_instantiate_A_Star_Pattern.SetName("instantiate_A_Star_Pattern"); + AssemblyConnectors_P_P_instantiate_A_Star_Pattern.SetVisibility(VisibilityKind.public_); + + // Parameter a_Star_Pattern + AssemblyConnectors_P_P_instantiate_A_Star_Pattern_a_Star_Pattern.SetName("a_Star_Pattern"); + AssemblyConnectors_P_P_instantiate_A_Star_Pattern_a_Star_Pattern.SetVisibility(VisibilityKind.public_); + + AssemblyConnectors_P_P_instantiate_A_Star_Pattern_a_Star_Pattern.SetType(AssemblyConnectors_P_P_A_Star_Pattern); + AssemblyConnectors_P_P_instantiate_A_Star_Pattern_a_Star_Pattern.SetDirection(ParameterDirectionKind.return_); + AssemblyConnectors_P_P_instantiate_A_Star_Pattern.AddOwnedParameter(AssemblyConnectors_P_P_instantiate_A_Star_Pattern_a_Star_Pattern); + // CreateObjectAction Create A_Star_Pattern + AssemblyConnectors_P_P_instantiate_A_Star_Pattern_Create_A_Star_Pattern.SetName("Create A_Star_Pattern"); + AssemblyConnectors_P_P_instantiate_A_Star_Pattern_Create_A_Star_Pattern.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_P_P_instantiate_A_Star_Pattern_Create_A_Star_Pattern.SetClassifier(AssemblyConnectors_P_P_A_Star_Pattern); + // OutputPin result + AssemblyConnectors_P_P_instantiate_A_Star_Pattern_Create_A_Star_Pattern_result.SetName("result"); + AssemblyConnectors_P_P_instantiate_A_Star_Pattern_Create_A_Star_Pattern_result.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_P_P_instantiate_A_Star_Pattern_Create_A_Star_Pattern_result.SetType(AssemblyConnectors_P_P_A_Star_Pattern); + AssemblyConnectors_P_P_instantiate_A_Star_Pattern_Create_A_Star_Pattern.SetResult(AssemblyConnectors_P_P_instantiate_A_Star_Pattern_Create_A_Star_Pattern_result); + AssemblyConnectors_P_P_instantiate_A_Star_Pattern.AddNode(AssemblyConnectors_P_P_instantiate_A_Star_Pattern_Create_A_Star_Pattern); + // CallOperationAction A_Star_Pattern() + AssemblyConnectors_P_P_instantiate_A_Star_Pattern_A_Star_Pattern_.SetName("A_Star_Pattern()"); + AssemblyConnectors_P_P_instantiate_A_Star_Pattern_A_Star_Pattern_.SetVisibility(VisibilityKind.public_); + + // OutputPin result + AssemblyConnectors_P_P_instantiate_A_Star_Pattern_A_Star_Pattern__result.SetName("result"); + AssemblyConnectors_P_P_instantiate_A_Star_Pattern_A_Star_Pattern__result.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_P_P_instantiate_A_Star_Pattern_A_Star_Pattern__result.SetType(AssemblyConnectors_P_P_A_Star_Pattern); + AssemblyConnectors_P_P_instantiate_A_Star_Pattern_A_Star_Pattern_.AddResult(AssemblyConnectors_P_P_instantiate_A_Star_Pattern_A_Star_Pattern__result); + AssemblyConnectors_P_P_instantiate_A_Star_Pattern_A_Star_Pattern_.SetOperation(AssemblyConnectors_P_P_A_Star_Pattern_A_Star_Pattern_A_Star_Pattern); + // InputPin target + AssemblyConnectors_P_P_instantiate_A_Star_Pattern_A_Star_Pattern__target.SetName("target"); + AssemblyConnectors_P_P_instantiate_A_Star_Pattern_A_Star_Pattern__target.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_P_P_instantiate_A_Star_Pattern_A_Star_Pattern__target.SetType(AssemblyConnectors_P_P_A_Star_Pattern); + AssemblyConnectors_P_P_instantiate_A_Star_Pattern_A_Star_Pattern_.SetTarget(AssemblyConnectors_P_P_instantiate_A_Star_Pattern_A_Star_Pattern__target); + AssemblyConnectors_P_P_instantiate_A_Star_Pattern.AddNode(AssemblyConnectors_P_P_instantiate_A_Star_Pattern_A_Star_Pattern_); + // ActivityParameterNode a_Star_Pattern_node + AssemblyConnectors_P_P_instantiate_A_Star_Pattern_a_Star_Pattern_node.SetName("a_Star_Pattern_node"); + AssemblyConnectors_P_P_instantiate_A_Star_Pattern_a_Star_Pattern_node.SetVisibility(VisibilityKind.public_); + + AssemblyConnectors_P_P_instantiate_A_Star_Pattern_a_Star_Pattern_node.SetParameter(AssemblyConnectors_P_P_instantiate_A_Star_Pattern_a_Star_Pattern); + AssemblyConnectors_P_P_instantiate_A_Star_Pattern.AddNode(AssemblyConnectors_P_P_instantiate_A_Star_Pattern_a_Star_Pattern_node); + // ObjectFlow ObjectFlow131 from result to target + AssemblyConnectors_P_P_instantiate_A_Star_Pattern_ObjectFlow131.SetName("ObjectFlow131"); + AssemblyConnectors_P_P_instantiate_A_Star_Pattern_ObjectFlow131.SetVisibility(VisibilityKind.public_); + + AssemblyConnectors_P_P_instantiate_A_Star_Pattern_ObjectFlow131.SetSource(AssemblyConnectors_P_P_instantiate_A_Star_Pattern_Create_A_Star_Pattern_result); + AssemblyConnectors_P_P_instantiate_A_Star_Pattern_ObjectFlow131.SetTarget(AssemblyConnectors_P_P_instantiate_A_Star_Pattern_A_Star_Pattern__target); + // LiteralBoolean LiteralBoolean132 + AssemblyConnectors_P_P_instantiate_A_Star_Pattern_ObjectFlow131_LiteralBoolean132.SetName("LiteralBoolean132"); + AssemblyConnectors_P_P_instantiate_A_Star_Pattern_ObjectFlow131_LiteralBoolean132.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_P_P_instantiate_A_Star_Pattern_ObjectFlow131_LiteralBoolean132.SetValue(true); + AssemblyConnectors_P_P_instantiate_A_Star_Pattern_ObjectFlow131.SetGuard(AssemblyConnectors_P_P_instantiate_A_Star_Pattern_ObjectFlow131_LiteralBoolean132); + AssemblyConnectors_P_P_instantiate_A_Star_Pattern.AddEdge(AssemblyConnectors_P_P_instantiate_A_Star_Pattern_ObjectFlow131); + // ObjectFlow ObjectFlow134 from result to a_Star_Pattern_node + AssemblyConnectors_P_P_instantiate_A_Star_Pattern_ObjectFlow134.SetName("ObjectFlow134"); + AssemblyConnectors_P_P_instantiate_A_Star_Pattern_ObjectFlow134.SetVisibility(VisibilityKind.public_); + + AssemblyConnectors_P_P_instantiate_A_Star_Pattern_ObjectFlow134.SetSource(AssemblyConnectors_P_P_instantiate_A_Star_Pattern_A_Star_Pattern__result); + AssemblyConnectors_P_P_instantiate_A_Star_Pattern_ObjectFlow134.SetTarget(AssemblyConnectors_P_P_instantiate_A_Star_Pattern_a_Star_Pattern_node); + // LiteralBoolean LiteralBoolean136 + AssemblyConnectors_P_P_instantiate_A_Star_Pattern_ObjectFlow134_LiteralBoolean136.SetName("LiteralBoolean136"); + AssemblyConnectors_P_P_instantiate_A_Star_Pattern_ObjectFlow134_LiteralBoolean136.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_P_P_instantiate_A_Star_Pattern_ObjectFlow134_LiteralBoolean136.SetValue(true); + AssemblyConnectors_P_P_instantiate_A_Star_Pattern_ObjectFlow134.SetGuard(AssemblyConnectors_P_P_instantiate_A_Star_Pattern_ObjectFlow134_LiteralBoolean136); + AssemblyConnectors_P_P_instantiate_A_Star_Pattern.AddEdge(AssemblyConnectors_P_P_instantiate_A_Star_Pattern_ObjectFlow134); + AssemblyConnectors_P_P.AddPackagedElement(AssemblyConnectors_P_P_instantiate_A_Star_Pattern); + // Activity instantiate_A_Array_Pattern + AssemblyConnectors_P_P_instantiate_A_Array_Pattern.SetName("instantiate_A_Array_Pattern"); + AssemblyConnectors_P_P_instantiate_A_Array_Pattern.SetVisibility(VisibilityKind.public_); + + // Parameter a_Array_Pattern + AssemblyConnectors_P_P_instantiate_A_Array_Pattern_a_Array_Pattern.SetName("a_Array_Pattern"); + AssemblyConnectors_P_P_instantiate_A_Array_Pattern_a_Array_Pattern.SetVisibility(VisibilityKind.public_); + + AssemblyConnectors_P_P_instantiate_A_Array_Pattern_a_Array_Pattern.SetType(AssemblyConnectors_P_P_A_Array_Pattern); + AssemblyConnectors_P_P_instantiate_A_Array_Pattern_a_Array_Pattern.SetDirection(ParameterDirectionKind.return_); + AssemblyConnectors_P_P_instantiate_A_Array_Pattern.AddOwnedParameter(AssemblyConnectors_P_P_instantiate_A_Array_Pattern_a_Array_Pattern); + // ActivityParameterNode a_Array_Pattern_node + AssemblyConnectors_P_P_instantiate_A_Array_Pattern_a_Array_Pattern_node.SetName("a_Array_Pattern_node"); + AssemblyConnectors_P_P_instantiate_A_Array_Pattern_a_Array_Pattern_node.SetVisibility(VisibilityKind.public_); + + AssemblyConnectors_P_P_instantiate_A_Array_Pattern_a_Array_Pattern_node.SetParameter(AssemblyConnectors_P_P_instantiate_A_Array_Pattern_a_Array_Pattern); + AssemblyConnectors_P_P_instantiate_A_Array_Pattern.AddNode(AssemblyConnectors_P_P_instantiate_A_Array_Pattern_a_Array_Pattern_node); + // CallOperationAction A_Array_Pattern() + AssemblyConnectors_P_P_instantiate_A_Array_Pattern_A_Array_Pattern_.SetName("A_Array_Pattern()"); + AssemblyConnectors_P_P_instantiate_A_Array_Pattern_A_Array_Pattern_.SetVisibility(VisibilityKind.public_); + + // OutputPin result + AssemblyConnectors_P_P_instantiate_A_Array_Pattern_A_Array_Pattern__result.SetName("result"); + AssemblyConnectors_P_P_instantiate_A_Array_Pattern_A_Array_Pattern__result.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_P_P_instantiate_A_Array_Pattern_A_Array_Pattern__result.SetType(AssemblyConnectors_P_P_A_Array_Pattern); + AssemblyConnectors_P_P_instantiate_A_Array_Pattern_A_Array_Pattern_.AddResult(AssemblyConnectors_P_P_instantiate_A_Array_Pattern_A_Array_Pattern__result); + AssemblyConnectors_P_P_instantiate_A_Array_Pattern_A_Array_Pattern_.SetOperation(AssemblyConnectors_P_P_A_Array_Pattern_A_Array_Pattern_A_Array_Pattern); + // InputPin target + AssemblyConnectors_P_P_instantiate_A_Array_Pattern_A_Array_Pattern__target.SetName("target"); + AssemblyConnectors_P_P_instantiate_A_Array_Pattern_A_Array_Pattern__target.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_P_P_instantiate_A_Array_Pattern_A_Array_Pattern__target.SetType(AssemblyConnectors_P_P_A_Array_Pattern); + AssemblyConnectors_P_P_instantiate_A_Array_Pattern_A_Array_Pattern_.SetTarget(AssemblyConnectors_P_P_instantiate_A_Array_Pattern_A_Array_Pattern__target); + AssemblyConnectors_P_P_instantiate_A_Array_Pattern.AddNode(AssemblyConnectors_P_P_instantiate_A_Array_Pattern_A_Array_Pattern_); + // CreateObjectAction Create A_Array_Pattern + AssemblyConnectors_P_P_instantiate_A_Array_Pattern_Create_A_Array_Pattern.SetName("Create A_Array_Pattern"); + AssemblyConnectors_P_P_instantiate_A_Array_Pattern_Create_A_Array_Pattern.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_P_P_instantiate_A_Array_Pattern_Create_A_Array_Pattern.SetClassifier(AssemblyConnectors_P_P_A_Array_Pattern); + // OutputPin result + AssemblyConnectors_P_P_instantiate_A_Array_Pattern_Create_A_Array_Pattern_result.SetName("result"); + AssemblyConnectors_P_P_instantiate_A_Array_Pattern_Create_A_Array_Pattern_result.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_P_P_instantiate_A_Array_Pattern_Create_A_Array_Pattern_result.SetType(AssemblyConnectors_P_P_A_Array_Pattern); + AssemblyConnectors_P_P_instantiate_A_Array_Pattern_Create_A_Array_Pattern.SetResult(AssemblyConnectors_P_P_instantiate_A_Array_Pattern_Create_A_Array_Pattern_result); + AssemblyConnectors_P_P_instantiate_A_Array_Pattern.AddNode(AssemblyConnectors_P_P_instantiate_A_Array_Pattern_Create_A_Array_Pattern); + // ObjectFlow ObjectFlow148 from result to target + AssemblyConnectors_P_P_instantiate_A_Array_Pattern_ObjectFlow148.SetName("ObjectFlow148"); + AssemblyConnectors_P_P_instantiate_A_Array_Pattern_ObjectFlow148.SetVisibility(VisibilityKind.public_); + + AssemblyConnectors_P_P_instantiate_A_Array_Pattern_ObjectFlow148.SetSource(AssemblyConnectors_P_P_instantiate_A_Array_Pattern_Create_A_Array_Pattern_result); + AssemblyConnectors_P_P_instantiate_A_Array_Pattern_ObjectFlow148.SetTarget(AssemblyConnectors_P_P_instantiate_A_Array_Pattern_A_Array_Pattern__target); + // LiteralBoolean LiteralBoolean150 + AssemblyConnectors_P_P_instantiate_A_Array_Pattern_ObjectFlow148_LiteralBoolean150.SetName("LiteralBoolean150"); + AssemblyConnectors_P_P_instantiate_A_Array_Pattern_ObjectFlow148_LiteralBoolean150.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_P_P_instantiate_A_Array_Pattern_ObjectFlow148_LiteralBoolean150.SetValue(true); + AssemblyConnectors_P_P_instantiate_A_Array_Pattern_ObjectFlow148.SetGuard(AssemblyConnectors_P_P_instantiate_A_Array_Pattern_ObjectFlow148_LiteralBoolean150); + AssemblyConnectors_P_P_instantiate_A_Array_Pattern.AddEdge(AssemblyConnectors_P_P_instantiate_A_Array_Pattern_ObjectFlow148); + // ObjectFlow ObjectFlow153 from result to a_Array_Pattern_node + AssemblyConnectors_P_P_instantiate_A_Array_Pattern_ObjectFlow153.SetName("ObjectFlow153"); + AssemblyConnectors_P_P_instantiate_A_Array_Pattern_ObjectFlow153.SetVisibility(VisibilityKind.public_); + + AssemblyConnectors_P_P_instantiate_A_Array_Pattern_ObjectFlow153.SetSource(AssemblyConnectors_P_P_instantiate_A_Array_Pattern_A_Array_Pattern__result); + AssemblyConnectors_P_P_instantiate_A_Array_Pattern_ObjectFlow153.SetTarget(AssemblyConnectors_P_P_instantiate_A_Array_Pattern_a_Array_Pattern_node); + // LiteralBoolean LiteralBoolean154 + AssemblyConnectors_P_P_instantiate_A_Array_Pattern_ObjectFlow153_LiteralBoolean154.SetName("LiteralBoolean154"); + AssemblyConnectors_P_P_instantiate_A_Array_Pattern_ObjectFlow153_LiteralBoolean154.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_P_P_instantiate_A_Array_Pattern_ObjectFlow153_LiteralBoolean154.SetValue(true); + AssemblyConnectors_P_P_instantiate_A_Array_Pattern_ObjectFlow153.SetGuard(AssemblyConnectors_P_P_instantiate_A_Array_Pattern_ObjectFlow153_LiteralBoolean154); + AssemblyConnectors_P_P_instantiate_A_Array_Pattern.AddEdge(AssemblyConnectors_P_P_instantiate_A_Array_Pattern_ObjectFlow153); + AssemblyConnectors_P_P.AddPackagedElement(AssemblyConnectors_P_P_instantiate_A_Array_Pattern); + // Activity assert_A_Unconnected_Pattern + AssemblyConnectors_P_P_assert_A_Unconnected_Pattern.SetName("assert_A_Unconnected_Pattern"); + AssemblyConnectors_P_P_assert_A_Unconnected_Pattern.SetVisibility(VisibilityKind.public_); + + // Parameter a_Unconnected_Pattern + AssemblyConnectors_P_P_assert_A_Unconnected_Pattern_a_Unconnected_Pattern.SetName("a_Unconnected_Pattern"); + AssemblyConnectors_P_P_assert_A_Unconnected_Pattern_a_Unconnected_Pattern.SetVisibility(VisibilityKind.public_); + + AssemblyConnectors_P_P_assert_A_Unconnected_Pattern_a_Unconnected_Pattern.SetType(AssemblyConnectors_P_P_A_Unconnected_Pattern); + AssemblyConnectors_P_P_assert_A_Unconnected_Pattern.AddOwnedParameter(AssemblyConnectors_P_P_assert_A_Unconnected_Pattern_a_Unconnected_Pattern); + // CallBehaviorAction writeLine + AssemblyConnectors_P_P_assert_A_Unconnected_Pattern_writeLine.SetName("writeLine"); + AssemblyConnectors_P_P_assert_A_Unconnected_Pattern_writeLine.SetVisibility(VisibilityKind.public_); + + // OutputPin errorStatus + AssemblyConnectors_P_P_assert_A_Unconnected_Pattern_writeLine_errorStatus.SetName("errorStatus"); + AssemblyConnectors_P_P_assert_A_Unconnected_Pattern_writeLine_errorStatus.SetVisibility(VisibilityKind.public_); + + AssemblyConnectors_P_P_assert_A_Unconnected_Pattern_writeLine_errorStatus.SetLower(0); + AssemblyConnectors_P_P_assert_A_Unconnected_Pattern_writeLine.AddResult(AssemblyConnectors_P_P_assert_A_Unconnected_Pattern_writeLine_errorStatus); + AssemblyConnectors_P_P_assert_A_Unconnected_Pattern_writeLine.SetBehavior(FoundationalModelLibraryModel.Instance().FoundationalModelLibrary_BasicInputOutput_WriteLine); + // InputPin value + AssemblyConnectors_P_P_assert_A_Unconnected_Pattern_writeLine_value.SetName("value"); + AssemblyConnectors_P_P_assert_A_Unconnected_Pattern_writeLine_value.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_P_P_assert_A_Unconnected_Pattern_writeLine_value.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_String); + AssemblyConnectors_P_P_assert_A_Unconnected_Pattern_writeLine.AddArgument(AssemblyConnectors_P_P_assert_A_Unconnected_Pattern_writeLine_value); + AssemblyConnectors_P_P_assert_A_Unconnected_Pattern.AddNode(AssemblyConnectors_P_P_assert_A_Unconnected_Pattern_writeLine); + // ValueSpecificationAction message + AssemblyConnectors_P_P_assert_A_Unconnected_Pattern_message.SetName("message"); + AssemblyConnectors_P_P_assert_A_Unconnected_Pattern_message.SetVisibility(VisibilityKind.public_); + // LiteralString LiteralString165 + AssemblyConnectors_P_P_assert_A_Unconnected_Pattern_message_LiteralString165.SetName("LiteralString165"); + AssemblyConnectors_P_P_assert_A_Unconnected_Pattern_message_LiteralString165.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_P_P_assert_A_Unconnected_Pattern_message_LiteralString165.SetValue("Assertion currently not implemented for A_Unconnected_Pattern."); + AssemblyConnectors_P_P_assert_A_Unconnected_Pattern_message.SetValue(AssemblyConnectors_P_P_assert_A_Unconnected_Pattern_message_LiteralString165); + // OutputPin result + AssemblyConnectors_P_P_assert_A_Unconnected_Pattern_message_result.SetName("result"); + AssemblyConnectors_P_P_assert_A_Unconnected_Pattern_message_result.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_P_P_assert_A_Unconnected_Pattern_message_result.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_String); + AssemblyConnectors_P_P_assert_A_Unconnected_Pattern_message.SetResult(AssemblyConnectors_P_P_assert_A_Unconnected_Pattern_message_result); + AssemblyConnectors_P_P_assert_A_Unconnected_Pattern.AddNode(AssemblyConnectors_P_P_assert_A_Unconnected_Pattern_message); + // ActivityParameterNode a_Unconnected_Pattern_node + AssemblyConnectors_P_P_assert_A_Unconnected_Pattern_a_Unconnected_Pattern_node.SetName("a_Unconnected_Pattern_node"); + AssemblyConnectors_P_P_assert_A_Unconnected_Pattern_a_Unconnected_Pattern_node.SetVisibility(VisibilityKind.public_); + + AssemblyConnectors_P_P_assert_A_Unconnected_Pattern_a_Unconnected_Pattern_node.SetParameter(AssemblyConnectors_P_P_assert_A_Unconnected_Pattern_a_Unconnected_Pattern); + AssemblyConnectors_P_P_assert_A_Unconnected_Pattern.AddNode(AssemblyConnectors_P_P_assert_A_Unconnected_Pattern_a_Unconnected_Pattern_node); + // ObjectFlow ObjectFlow156 from result to value + AssemblyConnectors_P_P_assert_A_Unconnected_Pattern_ObjectFlow156.SetName("ObjectFlow156"); + AssemblyConnectors_P_P_assert_A_Unconnected_Pattern_ObjectFlow156.SetVisibility(VisibilityKind.public_); + + AssemblyConnectors_P_P_assert_A_Unconnected_Pattern_ObjectFlow156.SetSource(AssemblyConnectors_P_P_assert_A_Unconnected_Pattern_message_result); + AssemblyConnectors_P_P_assert_A_Unconnected_Pattern_ObjectFlow156.SetTarget(AssemblyConnectors_P_P_assert_A_Unconnected_Pattern_writeLine_value); + // LiteralBoolean LiteralBoolean158 + AssemblyConnectors_P_P_assert_A_Unconnected_Pattern_ObjectFlow156_LiteralBoolean158.SetName("LiteralBoolean158"); + AssemblyConnectors_P_P_assert_A_Unconnected_Pattern_ObjectFlow156_LiteralBoolean158.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_P_P_assert_A_Unconnected_Pattern_ObjectFlow156_LiteralBoolean158.SetValue(true); + AssemblyConnectors_P_P_assert_A_Unconnected_Pattern_ObjectFlow156.SetGuard(AssemblyConnectors_P_P_assert_A_Unconnected_Pattern_ObjectFlow156_LiteralBoolean158); + AssemblyConnectors_P_P_assert_A_Unconnected_Pattern.AddEdge(AssemblyConnectors_P_P_assert_A_Unconnected_Pattern_ObjectFlow156); + AssemblyConnectors_P_P.AddPackagedElement(AssemblyConnectors_P_P_assert_A_Unconnected_Pattern); + // Class A_Empty_Pattern + AssemblyConnectors_P_P_A_Empty_Pattern.SetName("A_Empty_Pattern"); + AssemblyConnectors_P_P_A_Empty_Pattern.SetVisibility(VisibilityKind.public_); + + // Property partB + AssemblyConnectors_P_P_A_Empty_Pattern_partB.SetName("partB"); + AssemblyConnectors_P_P_A_Empty_Pattern_partB.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_P_P_A_Empty_Pattern_partB.SetUpper(-1); + AssemblyConnectors_P_P_A_Empty_Pattern_partB.SetLower(0); + AssemblyConnectors_P_P_A_Empty_Pattern_partB.SetType(AssemblyConnectors_P_P_B); + AssemblyConnectors_P_P_A_Empty_Pattern_partB.SetAggregation(AggregationKind.composite); + AssemblyConnectors_P_P_A_Empty_Pattern.AddOwnedAttribute(AssemblyConnectors_P_P_A_Empty_Pattern_partB); + // Property partC + AssemblyConnectors_P_P_A_Empty_Pattern_partC.SetName("partC"); + AssemblyConnectors_P_P_A_Empty_Pattern_partC.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_P_P_A_Empty_Pattern_partC.SetUpper(-1); + AssemblyConnectors_P_P_A_Empty_Pattern_partC.SetLower(0); + AssemblyConnectors_P_P_A_Empty_Pattern_partC.SetType(AssemblyConnectors_P_P_C); + AssemblyConnectors_P_P_A_Empty_Pattern_partC.SetAggregation(AggregationKind.composite); + AssemblyConnectors_P_P_A_Empty_Pattern.AddOwnedAttribute(AssemblyConnectors_P_P_A_Empty_Pattern_partC); + + AssemblyConnectors_P_P_A_Empty_Pattern_r.SetName("r"); + AssemblyConnectors_P_P_A_Empty_Pattern_r.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_P_P_A_Empty_Pattern_r_ConnectorEnd174.SetUpper(-1); + AssemblyConnectors_P_P_A_Empty_Pattern_r_ConnectorEnd174.SetRole(AssemblyConnectors_P_P_A_Empty_Pattern_partB); + + AssemblyConnectors_P_P_A_Empty_Pattern_r.AddEnd(AssemblyConnectors_P_P_A_Empty_Pattern_r_ConnectorEnd174); + AssemblyConnectors_P_P_A_Empty_Pattern_r_ConnectorEnd173.SetUpper(-1); + AssemblyConnectors_P_P_A_Empty_Pattern_r_ConnectorEnd173.SetRole(AssemblyConnectors_P_P_A_Empty_Pattern_partC); + + AssemblyConnectors_P_P_A_Empty_Pattern_r.AddEnd(AssemblyConnectors_P_P_A_Empty_Pattern_r_ConnectorEnd173); + AssemblyConnectors_P_P_A_Empty_Pattern_r.SetType(AssemblyConnectors_P_P_R); + AssemblyConnectors_P_P_A_Empty_Pattern.AddOwnedConnector(AssemblyConnectors_P_P_A_Empty_Pattern_r); + // Operation A_Empty_Pattern_A_Empty_Pattern + AssemblyConnectors_P_P_A_Empty_Pattern_A_Empty_Pattern_A_Empty_Pattern.SetName("A_Empty_Pattern_A_Empty_Pattern"); + AssemblyConnectors_P_P_A_Empty_Pattern_A_Empty_Pattern_A_Empty_Pattern.SetVisibility(VisibilityKind.public_); + // Parameter result + AssemblyConnectors_P_P_A_Empty_Pattern_A_Empty_Pattern_A_Empty_Pattern_result.SetName("result"); + AssemblyConnectors_P_P_A_Empty_Pattern_A_Empty_Pattern_A_Empty_Pattern_result.SetVisibility(VisibilityKind.public_); + + AssemblyConnectors_P_P_A_Empty_Pattern_A_Empty_Pattern_A_Empty_Pattern_result.SetType(AssemblyConnectors_P_P_A_Empty_Pattern); + AssemblyConnectors_P_P_A_Empty_Pattern_A_Empty_Pattern_A_Empty_Pattern_result.SetDirection(ParameterDirectionKind.return_); + AssemblyConnectors_P_P_A_Empty_Pattern_A_Empty_Pattern_A_Empty_Pattern.AddOwnedParameter(AssemblyConnectors_P_P_A_Empty_Pattern_A_Empty_Pattern_A_Empty_Pattern_result); + AssemblyConnectors_P_P_A_Empty_Pattern_A_Empty_Pattern_A_Empty_Pattern.ApplyStereotype(uml.standardprofile.StandardProfileModel.Instance().Stereotype_Create); + AssemblyConnectors_P_P_A_Empty_Pattern.AddOwnedOperation(AssemblyConnectors_P_P_A_Empty_Pattern_A_Empty_Pattern_A_Empty_Pattern); + AssemblyConnectors_P_P.AddPackagedElement(AssemblyConnectors_P_P_A_Empty_Pattern); + } + + /* Start of user code : User-defined members + * This section may be used for user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } // AssemblyConnectors_P_PModel +} diff --git a/fUML-CSharp/tests/pscs-Tests/01_Instantiation/02_AssemblyConnectors_PWP_P/.gitignore b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/02_AssemblyConnectors_PWP_P/.gitignore new file mode 100644 index 0000000..1736844 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/02_AssemblyConnectors_PWP_P/.gitignore @@ -0,0 +1,3 @@ +/.vs/ +/bin/ +/obj/ diff --git a/fUML-CSharp/tests/pscs-Tests/01_Instantiation/02_AssemblyConnectors_PWP_P/AssemblyConnectors_PWP_P.csproj b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/02_AssemblyConnectors_PWP_P/AssemblyConnectors_PWP_P.csproj new file mode 100644 index 0000000..a0b98c0 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/02_AssemblyConnectors_PWP_P/AssemblyConnectors_PWP_P.csproj @@ -0,0 +1,50 @@ + + + + Exe + net6.0 + enable + enable + + + + AssemblyConnectors_PWP_P.Debug + + + AssemblyConnectors_PWP_P.Release + + + + + ..\..\..\..\uml\bin\Debug\net6.0\uml.Debug.dll + + + + + ..\..\..\..\uml\bin\Release\net6.0\uml.Release.dll + + + + + + ..\..\..\..\fuml\bin\Debug\net6.0\fuml.Debug.dll + + + + + ..\..\..\..\fuml\bin\Release\net6.0\fuml.Release.dll + + + + + + ..\..\..\..\pscs\bin\Debug\net6.0\pscs.Debug.dll + + + + + ..\..\..\..\pscs\bin\Release\net6.0\pscs.Release.dll + + + + diff --git a/fUML-CSharp/tests/pscs-Tests/01_Instantiation/02_AssemblyConnectors_PWP_P/AssemblyConnectors_PWP_P.sln b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/02_AssemblyConnectors_PWP_P/AssemblyConnectors_PWP_P.sln new file mode 100644 index 0000000..93f09ea --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/02_AssemblyConnectors_PWP_P/AssemblyConnectors_PWP_P.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.32112.339 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AssemblyConnectors_PWP_P", "AssemblyConnectors_PWP_P.csproj", "{8D04CA7C-1885-4643-918B-464E7CD38F4C}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {8D04CA7C-1885-4643-918B-464E7CD38F4C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {8D04CA7C-1885-4643-918B-464E7CD38F4C}.Debug|Any CPU.Build.0 = Debug|Any CPU + {8D04CA7C-1885-4643-918B-464E7CD38F4C}.Release|Any CPU.ActiveCfg = Release|Any CPU + {8D04CA7C-1885-4643-918B-464E7CD38F4C}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {7B7DAF71-D376-4F18-96E4-1AB3376C6908} + EndGlobalSection +EndGlobal diff --git a/fUML-CSharp/tests/pscs-Tests/01_Instantiation/02_AssemblyConnectors_PWP_P/Properties/launchSettings.json b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/02_AssemblyConnectors_PWP_P/Properties/launchSettings.json new file mode 100644 index 0000000..13fe25a --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/02_AssemblyConnectors_PWP_P/Properties/launchSettings.json @@ -0,0 +1,8 @@ +{ + "profiles": { + "AssemblyConnectors_PWP_P": { + "commandName": "Project", + "commandLineArgs": "main" + } + } +} \ No newline at end of file diff --git a/fUML-CSharp/tests/pscs-Tests/01_Instantiation/02_AssemblyConnectors_PWP_P/model/AssemblyConnectors_PWP_P.di b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/02_AssemblyConnectors_PWP_P/model/AssemblyConnectors_PWP_P.di new file mode 100644 index 0000000..bf9abab --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/02_AssemblyConnectors_PWP_P/model/AssemblyConnectors_PWP_P.di @@ -0,0 +1,2 @@ + + diff --git a/fUML-CSharp/tests/pscs-Tests/01_Instantiation/02_AssemblyConnectors_PWP_P/model/AssemblyConnectors_PWP_P.notation b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/02_AssemblyConnectors_PWP_P/model/AssemblyConnectors_PWP_P.notation new file mode 100644 index 0000000..bca096f --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/02_AssemblyConnectors_PWP_P/model/AssemblyConnectors_PWP_P.notation @@ -0,0 +1,1751 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+ + + + + +
+ + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+ + + + + +
+ + + +
+ + + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + + + + + + + + + +
+
+ + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + +
+ + + +
+ + + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + + + + + + + + + +
+
+ + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + +
+ + + +
+ + + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + + + + + + + + + +
+
+ + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + +
+ + + +
+ + + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + + + + + + + + + +
+
+ + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + +
+ + + +
+ + + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + + + + + + + + + +
+
+ + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + +
+ + + +
+ + + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + + + + + + + + + +
+
+ + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/fUML-CSharp/tests/pscs-Tests/01_Instantiation/02_AssemblyConnectors_PWP_P/model/AssemblyConnectors_PWP_P.uml b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/02_AssemblyConnectors_PWP_P/model/AssemblyConnectors_PWP_P.uml new file mode 100644 index 0000000..19e7003 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/02_AssemblyConnectors_PWP_P/model/AssemblyConnectors_PWP_P.uml @@ -0,0 +1,475 @@ + + + + + This test case addresses instantiation semantics in the case of an assembly connector between a part with port and a part. + + + + + + + Empty pattern: +lower bound of part b and c is 0 + + + + + + + + + + + + + + + + + + + + + + + + + + Unconnected pattern: +lower bound on ends of connector r is 0 + + + + + + + + + + + + + + + + + + + + + + + + + + Array pattern: +lower bound of b and c are equals +lower bound on ends of connector r is 1 + + + + + + + + + + + + + + + + + + + + + + + + + + Star pattern: +lower bound on ends of connector r equal +lower bound of connected parts + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/fUML-CSharp/tests/pscs-Tests/01_Instantiation/02_AssemblyConnectors_PWP_P/src/AssemblyConnectors_PWP_P.cs b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/02_AssemblyConnectors_PWP_P/src/AssemblyConnectors_PWP_P.cs new file mode 100644 index 0000000..9265e0b --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/02_AssemblyConnectors_PWP_P/src/AssemblyConnectors_PWP_P.cs @@ -0,0 +1,31 @@ +namespace AssemblyConnectors_PWP_P +{ + internal class AssemblyConnectors_PWP_P + { + static void PrintUsage() + { + Console.WriteLine( + "=============================================================================================\n" + + "USAGE: [ <...>]\n" + + "=============================================================================================\n" + ); + } + + static int Main(string[] args) + { + if(args.Length == 0) + { + Console.WriteLine("[ERROR] Must declare at least one behavior name.\n"); + PrintUsage(); + return -1; + } + + foreach (string arg in args) + { + AssemblyConnectors_PWP_PEnvironment.Instance().Execute(arg); + } + + return 0; + } + } +} diff --git a/fUML-CSharp/tests/pscs-Tests/01_Instantiation/02_AssemblyConnectors_PWP_P/src/AssemblyConnectors_PWP_PEnvironment.cs b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/02_AssemblyConnectors_PWP_P/src/AssemblyConnectors_PWP_PEnvironment.cs new file mode 100644 index 0000000..f99cd36 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/02_AssemblyConnectors_PWP_P/src/AssemblyConnectors_PWP_PEnvironment.cs @@ -0,0 +1,92 @@ +/* + * AssemblyConnectors_PWP_PEnvironment.cs + * + * Auto-generated file + */ + +/* Start of user code : User-defined using directives + * This section may be used for using directives. + * It will not be overwritten by future generation processes. + */ + +/* + * End of user code + */ + +namespace AssemblyConnectors_PWP_P +{ + public class AssemblyConnectors_PWP_PEnvironment : pscs.environment.Environment + { + private static AssemblyConnectors_PWP_PEnvironment? instance; + + public static AssemblyConnectors_PWP_PEnvironment Instance() + { + if(instance is null) + { + instance = new(); + instance.inMemoryModel = AssemblyConnectors_PWP_PModel.Instance(); + } + + return instance; + } + + public AssemblyConnectors_PWP_PEnvironment() + { + /* + * Create custom opaque behavior execution instances and add them to the execution environment. + */ + + /* Start of user code : Additional environment initializations + * This section may be used to do any additional environment initialization, + * for example initializing user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } + + public override void Execute(string behaviorName) + { + /* Start of user code : Context and inputs initializations + * This section may be used to initialize the execution context + * as well as input parameter values if required. + * It will not be overwritten by future generation processes. + */ + + //context = ...; + //inputs = ...; + + /* + * End of user code + */ + + /* + * Start execution via base class call + */ + base.Execute(behaviorName); + + /* Start of user code : Outputs evaluation + * This section may be used to evaluate output parameter values if required. + * It will not be overwritten by future generation processes. + */ + + //List theOutputs = outputs; + //... + + /* + * End of user code + */ + } + + /* Start of user code : User-defined members + * This section may be used for user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } // AssemblyConnectors_PWP_PEnvironment +} diff --git a/fUML-CSharp/tests/pscs-Tests/01_Instantiation/02_AssemblyConnectors_PWP_P/src/AssemblyConnectors_PWP_PModel.cs b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/02_AssemblyConnectors_PWP_P/src/AssemblyConnectors_PWP_PModel.cs new file mode 100644 index 0000000..c377a6c --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/02_AssemblyConnectors_PWP_P/src/AssemblyConnectors_PWP_PModel.cs @@ -0,0 +1,1605 @@ +/* + * AssemblyConnectors_PWP_PModel.cs + * + * Auto-generated file + */ + +using uml.actions; +using uml.packages; +using uml.structuredclassifiers; +using fuml.primitivetypes; +using uml.classification; +using fuml.library; +using uml.simpleclassifiers; +using uml.commonbehavior; +using uml.commonstructure; +using uml.values; +using uml.activities; +using uml.environment; + + +/* Start of user code : User-defined includes and forward declarations + * This section may be used for includes and forward declarations. + * It will not be overwritten by future generation processes. + */ + +/* + * End of user code + */ + +namespace AssemblyConnectors_PWP_P +{ + public class AssemblyConnectors_PWP_PModel : InMemoryModel + { + private static AssemblyConnectors_PWP_PModel? instance; + + /* + * Model AssemblyConnectors_PWP_P + */ + public Package AssemblyConnectors_PWP_P = new(); + public Activity AssemblyConnectors_PWP_P_instantiate_A_Empty_Pattern = new(); + public CallOperationAction AssemblyConnectors_PWP_P_instantiate_A_Empty_Pattern_A_Empty_Pattern_ = new(); + public InputPin AssemblyConnectors_PWP_P_instantiate_A_Empty_Pattern_A_Empty_Pattern__target = new(); + public LiteralInteger AssemblyConnectors_PWP_P_instantiate_A_Empty_Pattern_A_Empty_Pattern__target_LiteralInteger0 = new(); + public LiteralUnlimitedNatural AssemblyConnectors_PWP_P_instantiate_A_Empty_Pattern_A_Empty_Pattern__target_LiteralUnlimitedNatural1 = new(); + public OutputPin AssemblyConnectors_PWP_P_instantiate_A_Empty_Pattern_A_Empty_Pattern__result = new(); + public LiteralInteger AssemblyConnectors_PWP_P_instantiate_A_Empty_Pattern_A_Empty_Pattern__result_LiteralInteger2 = new(); + public LiteralInteger AssemblyConnectors_PWP_P_instantiate_A_Empty_Pattern_A_Empty_Pattern__result_LiteralInteger3 = new(); + public LiteralUnlimitedNatural AssemblyConnectors_PWP_P_instantiate_A_Empty_Pattern_A_Empty_Pattern__result_LiteralUnlimitedNatural4 = new(); + public ObjectFlow AssemblyConnectors_PWP_P_instantiate_A_Empty_Pattern_ObjectFlow5 = new(); + public LiteralBoolean AssemblyConnectors_PWP_P_instantiate_A_Empty_Pattern_ObjectFlow5_LiteralBoolean6 = new(); + public LiteralInteger AssemblyConnectors_PWP_P_instantiate_A_Empty_Pattern_ObjectFlow5_LiteralInteger7 = new(); + public ObjectFlow AssemblyConnectors_PWP_P_instantiate_A_Empty_Pattern_ObjectFlow8 = new(); + public LiteralInteger AssemblyConnectors_PWP_P_instantiate_A_Empty_Pattern_ObjectFlow8_LiteralInteger9 = new(); + public LiteralBoolean AssemblyConnectors_PWP_P_instantiate_A_Empty_Pattern_ObjectFlow8_LiteralBoolean10 = new(); + public Parameter AssemblyConnectors_PWP_P_instantiate_A_Empty_Pattern_a_Empty_Pattern = new(); + public ActivityParameterNode AssemblyConnectors_PWP_P_instantiate_A_Empty_Pattern_a_Empty_Pattern_node = new(); + public CreateObjectAction AssemblyConnectors_PWP_P_instantiate_A_Empty_Pattern_Create_A_Empty_Pattern = new(); + public OutputPin AssemblyConnectors_PWP_P_instantiate_A_Empty_Pattern_Create_A_Empty_Pattern_result = new(); + public LiteralUnlimitedNatural AssemblyConnectors_PWP_P_instantiate_A_Empty_Pattern_Create_A_Empty_Pattern_result_LiteralUnlimitedNatural11 = new(); + public LiteralInteger AssemblyConnectors_PWP_P_instantiate_A_Empty_Pattern_Create_A_Empty_Pattern_result_LiteralInteger12 = new(); + public Activity AssemblyConnectors_PWP_P_assert_A_Star_Pattern = new(); + public ActivityParameterNode AssemblyConnectors_PWP_P_assert_A_Star_Pattern_a_Star_Pattern_node = new(); + public LiteralInteger AssemblyConnectors_PWP_P_assert_A_Star_Pattern_a_Star_Pattern_node_LiteralInteger13 = new(); + public Parameter AssemblyConnectors_PWP_P_assert_A_Star_Pattern_a_Star_Pattern = new(); + public ObjectFlow AssemblyConnectors_PWP_P_assert_A_Star_Pattern_ObjectFlow14 = new(); + public LiteralBoolean AssemblyConnectors_PWP_P_assert_A_Star_Pattern_ObjectFlow14_LiteralBoolean15 = new(); + public LiteralInteger AssemblyConnectors_PWP_P_assert_A_Star_Pattern_ObjectFlow14_LiteralInteger16 = new(); + public ValueSpecificationAction AssemblyConnectors_PWP_P_assert_A_Star_Pattern_message = new(); + public LiteralString AssemblyConnectors_PWP_P_assert_A_Star_Pattern_message_LiteralString17 = new(); + public OutputPin AssemblyConnectors_PWP_P_assert_A_Star_Pattern_message_result = new(); + public LiteralInteger AssemblyConnectors_PWP_P_assert_A_Star_Pattern_message_result_LiteralInteger18 = new(); + public LiteralUnlimitedNatural AssemblyConnectors_PWP_P_assert_A_Star_Pattern_message_result_LiteralUnlimitedNatural19 = new(); + public CallBehaviorAction AssemblyConnectors_PWP_P_assert_A_Star_Pattern_writeLine = new(); + public OutputPin AssemblyConnectors_PWP_P_assert_A_Star_Pattern_writeLine_errorStatus = new(); + public LiteralInteger AssemblyConnectors_PWP_P_assert_A_Star_Pattern_writeLine_errorStatus_LiteralInteger20 = new(); + public LiteralInteger AssemblyConnectors_PWP_P_assert_A_Star_Pattern_writeLine_errorStatus_LiteralInteger21 = new(); + public LiteralUnlimitedNatural AssemblyConnectors_PWP_P_assert_A_Star_Pattern_writeLine_errorStatus_LiteralUnlimitedNatural22 = new(); + public InputPin AssemblyConnectors_PWP_P_assert_A_Star_Pattern_writeLine_value = new(); + public LiteralUnlimitedNatural AssemblyConnectors_PWP_P_assert_A_Star_Pattern_writeLine_value_LiteralUnlimitedNatural23 = new(); + public LiteralInteger AssemblyConnectors_PWP_P_assert_A_Star_Pattern_writeLine_value_LiteralInteger24 = new(); + public LiteralInteger AssemblyConnectors_PWP_P_assert_A_Star_Pattern_writeLine_value_LiteralInteger25 = new(); + public Class_ AssemblyConnectors_PWP_P_C = new(); + public Activity AssemblyConnectors_PWP_P_instantiate_A_Star_Pattern = new(); + public ActivityParameterNode AssemblyConnectors_PWP_P_instantiate_A_Star_Pattern_a_Star_Pattern_node = new(); + public CreateObjectAction AssemblyConnectors_PWP_P_instantiate_A_Star_Pattern_Create_A_Star_Pattern = new(); + public OutputPin AssemblyConnectors_PWP_P_instantiate_A_Star_Pattern_Create_A_Star_Pattern_result = new(); + public LiteralInteger AssemblyConnectors_PWP_P_instantiate_A_Star_Pattern_Create_A_Star_Pattern_result_LiteralInteger26 = new(); + public LiteralUnlimitedNatural AssemblyConnectors_PWP_P_instantiate_A_Star_Pattern_Create_A_Star_Pattern_result_LiteralUnlimitedNatural27 = new(); + public CallOperationAction AssemblyConnectors_PWP_P_instantiate_A_Star_Pattern_A_Star_Pattern_ = new(); + public InputPin AssemblyConnectors_PWP_P_instantiate_A_Star_Pattern_A_Star_Pattern__target = new(); + public LiteralUnlimitedNatural AssemblyConnectors_PWP_P_instantiate_A_Star_Pattern_A_Star_Pattern__target_LiteralUnlimitedNatural28 = new(); + public LiteralInteger AssemblyConnectors_PWP_P_instantiate_A_Star_Pattern_A_Star_Pattern__target_LiteralInteger29 = new(); + public OutputPin AssemblyConnectors_PWP_P_instantiate_A_Star_Pattern_A_Star_Pattern__result = new(); + public LiteralInteger AssemblyConnectors_PWP_P_instantiate_A_Star_Pattern_A_Star_Pattern__result_LiteralInteger30 = new(); + public LiteralInteger AssemblyConnectors_PWP_P_instantiate_A_Star_Pattern_A_Star_Pattern__result_LiteralInteger31 = new(); + public LiteralUnlimitedNatural AssemblyConnectors_PWP_P_instantiate_A_Star_Pattern_A_Star_Pattern__result_LiteralUnlimitedNatural32 = new(); + public Parameter AssemblyConnectors_PWP_P_instantiate_A_Star_Pattern_a_Star_Pattern = new(); + public ObjectFlow AssemblyConnectors_PWP_P_instantiate_A_Star_Pattern_ObjectFlow33 = new(); + public LiteralInteger AssemblyConnectors_PWP_P_instantiate_A_Star_Pattern_ObjectFlow33_LiteralInteger34 = new(); + public LiteralBoolean AssemblyConnectors_PWP_P_instantiate_A_Star_Pattern_ObjectFlow33_LiteralBoolean35 = new(); + public ObjectFlow AssemblyConnectors_PWP_P_instantiate_A_Star_Pattern_ObjectFlow36 = new(); + public LiteralBoolean AssemblyConnectors_PWP_P_instantiate_A_Star_Pattern_ObjectFlow36_LiteralBoolean37 = new(); + public LiteralInteger AssemblyConnectors_PWP_P_instantiate_A_Star_Pattern_ObjectFlow36_LiteralInteger38 = new(); + public Class_ AssemblyConnectors_PWP_P_B = new(); + public Port AssemblyConnectors_PWP_P_B_p = new(); + public LiteralUnlimitedNatural AssemblyConnectors_PWP_P_B_p_LiteralUnlimitedNatural39 = new(); + public LiteralInteger AssemblyConnectors_PWP_P_B_p_LiteralInteger40 = new(); + public Class_ AssemblyConnectors_PWP_P_A_Star_Pattern = new(); + public Comment AssemblyConnectors_PWP_P_A_Star_Pattern_Comment41 = new(); + public Property AssemblyConnectors_PWP_P_A_Star_Pattern_partC = new(); + public LiteralUnlimitedNatural AssemblyConnectors_PWP_P_A_Star_Pattern_partC_LiteralUnlimitedNatural42 = new(); + public LiteralInteger AssemblyConnectors_PWP_P_A_Star_Pattern_partC_LiteralInteger43 = new(); + public Operation AssemblyConnectors_PWP_P_A_Star_Pattern_A_Star_Pattern_A_Star_Pattern = new(); + public Parameter AssemblyConnectors_PWP_P_A_Star_Pattern_A_Star_Pattern_A_Star_Pattern_result = new(); + public Connector AssemblyConnectors_PWP_P_A_Star_Pattern_r = new(); + public ConnectorEnd AssemblyConnectors_PWP_P_A_Star_Pattern_r_ConnectorEnd44 = new(); + public LiteralInteger AssemblyConnectors_PWP_P_A_Star_Pattern_r_ConnectorEnd44_connectorEnd_2_Lower = new(); + public LiteralUnlimitedNatural AssemblyConnectors_PWP_P_A_Star_Pattern_r_ConnectorEnd44_connectorEnd_2_Upper = new(); + public ConnectorEnd AssemblyConnectors_PWP_P_A_Star_Pattern_r_ConnectorEnd45 = new(); + public LiteralUnlimitedNatural AssemblyConnectors_PWP_P_A_Star_Pattern_r_ConnectorEnd45_connectorEnd_1_Upper = new(); + public LiteralInteger AssemblyConnectors_PWP_P_A_Star_Pattern_r_ConnectorEnd45_connectorEnd_1_Lower = new(); + public Property AssemblyConnectors_PWP_P_A_Star_Pattern_partB = new(); + public LiteralUnlimitedNatural AssemblyConnectors_PWP_P_A_Star_Pattern_partB_LiteralUnlimitedNatural46 = new(); + public LiteralInteger AssemblyConnectors_PWP_P_A_Star_Pattern_partB_LiteralInteger47 = new(); + public Activity AssemblyConnectors_PWP_P_assert_A_Array_Pattern = new(); + public Parameter AssemblyConnectors_PWP_P_assert_A_Array_Pattern_a_Array_Pattern = new(); + public ValueSpecificationAction AssemblyConnectors_PWP_P_assert_A_Array_Pattern_message = new(); + public OutputPin AssemblyConnectors_PWP_P_assert_A_Array_Pattern_message_result = new(); + public LiteralUnlimitedNatural AssemblyConnectors_PWP_P_assert_A_Array_Pattern_message_result_LiteralUnlimitedNatural48 = new(); + public LiteralInteger AssemblyConnectors_PWP_P_assert_A_Array_Pattern_message_result_LiteralInteger49 = new(); + public LiteralString AssemblyConnectors_PWP_P_assert_A_Array_Pattern_message_LiteralString50 = new(); + public CallBehaviorAction AssemblyConnectors_PWP_P_assert_A_Array_Pattern_writeLine = new(); + public OutputPin AssemblyConnectors_PWP_P_assert_A_Array_Pattern_writeLine_errorStatus = new(); + public LiteralInteger AssemblyConnectors_PWP_P_assert_A_Array_Pattern_writeLine_errorStatus_LiteralInteger51 = new(); + public LiteralUnlimitedNatural AssemblyConnectors_PWP_P_assert_A_Array_Pattern_writeLine_errorStatus_LiteralUnlimitedNatural52 = new(); + public LiteralInteger AssemblyConnectors_PWP_P_assert_A_Array_Pattern_writeLine_errorStatus_LiteralInteger53 = new(); + public InputPin AssemblyConnectors_PWP_P_assert_A_Array_Pattern_writeLine_value = new(); + public LiteralInteger AssemblyConnectors_PWP_P_assert_A_Array_Pattern_writeLine_value_LiteralInteger54 = new(); + public LiteralInteger AssemblyConnectors_PWP_P_assert_A_Array_Pattern_writeLine_value_LiteralInteger55 = new(); + public LiteralUnlimitedNatural AssemblyConnectors_PWP_P_assert_A_Array_Pattern_writeLine_value_LiteralUnlimitedNatural56 = new(); + public ActivityParameterNode AssemblyConnectors_PWP_P_assert_A_Array_Pattern_a_Array_Pattern_node = new(); + public LiteralInteger AssemblyConnectors_PWP_P_assert_A_Array_Pattern_a_Array_Pattern_node_LiteralInteger57 = new(); + public ObjectFlow AssemblyConnectors_PWP_P_assert_A_Array_Pattern_ObjectFlow58 = new(); + public LiteralInteger AssemblyConnectors_PWP_P_assert_A_Array_Pattern_ObjectFlow58_LiteralInteger59 = new(); + public LiteralBoolean AssemblyConnectors_PWP_P_assert_A_Array_Pattern_ObjectFlow58_LiteralBoolean60 = new(); + public Activity AssemblyConnectors_PWP_P_instantiate_A_Array_Pattern = new(); + public ActivityParameterNode AssemblyConnectors_PWP_P_instantiate_A_Array_Pattern_a_Array_Pattern_node = new(); + public LiteralInteger AssemblyConnectors_PWP_P_instantiate_A_Array_Pattern_a_Array_Pattern_node_LiteralInteger61 = new(); + public CallOperationAction AssemblyConnectors_PWP_P_instantiate_A_Array_Pattern_A_Array_Pattern_ = new(); + public InputPin AssemblyConnectors_PWP_P_instantiate_A_Array_Pattern_A_Array_Pattern__target = new(); + public LiteralInteger AssemblyConnectors_PWP_P_instantiate_A_Array_Pattern_A_Array_Pattern__target_LiteralInteger62 = new(); + public LiteralUnlimitedNatural AssemblyConnectors_PWP_P_instantiate_A_Array_Pattern_A_Array_Pattern__target_LiteralUnlimitedNatural63 = new(); + public OutputPin AssemblyConnectors_PWP_P_instantiate_A_Array_Pattern_A_Array_Pattern__result = new(); + public LiteralInteger AssemblyConnectors_PWP_P_instantiate_A_Array_Pattern_A_Array_Pattern__result_LiteralInteger64 = new(); + public LiteralUnlimitedNatural AssemblyConnectors_PWP_P_instantiate_A_Array_Pattern_A_Array_Pattern__result_LiteralUnlimitedNatural65 = new(); + public LiteralInteger AssemblyConnectors_PWP_P_instantiate_A_Array_Pattern_A_Array_Pattern__result_LiteralInteger66 = new(); + public CreateObjectAction AssemblyConnectors_PWP_P_instantiate_A_Array_Pattern_Create_A_Array_Pattern = new(); + public OutputPin AssemblyConnectors_PWP_P_instantiate_A_Array_Pattern_Create_A_Array_Pattern_result = new(); + public LiteralUnlimitedNatural AssemblyConnectors_PWP_P_instantiate_A_Array_Pattern_Create_A_Array_Pattern_result_LiteralUnlimitedNatural67 = new(); + public LiteralInteger AssemblyConnectors_PWP_P_instantiate_A_Array_Pattern_Create_A_Array_Pattern_result_LiteralInteger68 = new(); + public ObjectFlow AssemblyConnectors_PWP_P_instantiate_A_Array_Pattern_ObjectFlow69 = new(); + public LiteralInteger AssemblyConnectors_PWP_P_instantiate_A_Array_Pattern_ObjectFlow69_LiteralInteger70 = new(); + public LiteralBoolean AssemblyConnectors_PWP_P_instantiate_A_Array_Pattern_ObjectFlow69_LiteralBoolean71 = new(); + public Parameter AssemblyConnectors_PWP_P_instantiate_A_Array_Pattern_a_Array_Pattern = new(); + public ObjectFlow AssemblyConnectors_PWP_P_instantiate_A_Array_Pattern_ObjectFlow72 = new(); + public LiteralBoolean AssemblyConnectors_PWP_P_instantiate_A_Array_Pattern_ObjectFlow72_LiteralBoolean73 = new(); + public LiteralInteger AssemblyConnectors_PWP_P_instantiate_A_Array_Pattern_ObjectFlow72_LiteralInteger74 = new(); + public Interface AssemblyConnectors_PWP_P_I = new(); + public Class_ AssemblyConnectors_PWP_P_A_Unconnected_Pattern = new(); + public Comment AssemblyConnectors_PWP_P_A_Unconnected_Pattern_Comment75 = new(); + public Property AssemblyConnectors_PWP_P_A_Unconnected_Pattern_partC = new(); + public LiteralInteger AssemblyConnectors_PWP_P_A_Unconnected_Pattern_partC_LiteralInteger76 = new(); + public LiteralUnlimitedNatural AssemblyConnectors_PWP_P_A_Unconnected_Pattern_partC_LiteralUnlimitedNatural77 = new(); + public Property AssemblyConnectors_PWP_P_A_Unconnected_Pattern_partB = new(); + public LiteralUnlimitedNatural AssemblyConnectors_PWP_P_A_Unconnected_Pattern_partB_LiteralUnlimitedNatural78 = new(); + public LiteralInteger AssemblyConnectors_PWP_P_A_Unconnected_Pattern_partB_LiteralInteger79 = new(); + public Connector AssemblyConnectors_PWP_P_A_Unconnected_Pattern_r = new(); + public ConnectorEnd AssemblyConnectors_PWP_P_A_Unconnected_Pattern_r_ConnectorEnd80 = new(); + public LiteralInteger AssemblyConnectors_PWP_P_A_Unconnected_Pattern_r_ConnectorEnd80_connectorEnd_2_Lower = new(); + public LiteralUnlimitedNatural AssemblyConnectors_PWP_P_A_Unconnected_Pattern_r_ConnectorEnd80_connectorEnd_2_Upper = new(); + public ConnectorEnd AssemblyConnectors_PWP_P_A_Unconnected_Pattern_r_ConnectorEnd81 = new(); + public LiteralInteger AssemblyConnectors_PWP_P_A_Unconnected_Pattern_r_ConnectorEnd81_connectorEnd_1_Lower = new(); + public LiteralUnlimitedNatural AssemblyConnectors_PWP_P_A_Unconnected_Pattern_r_ConnectorEnd81_connectorEnd_1_Upper = new(); + public Operation AssemblyConnectors_PWP_P_A_Unconnected_Pattern_A_Unconnected_Pattern_A_Unconnected_Pattern = new(); + public Parameter AssemblyConnectors_PWP_P_A_Unconnected_Pattern_A_Unconnected_Pattern_A_Unconnected_Pattern_result = new(); + public Class_ AssemblyConnectors_PWP_P_A_Array_Pattern = new(); + public Property AssemblyConnectors_PWP_P_A_Array_Pattern_partB = new(); + public LiteralInteger AssemblyConnectors_PWP_P_A_Array_Pattern_partB_LiteralInteger82 = new(); + public LiteralUnlimitedNatural AssemblyConnectors_PWP_P_A_Array_Pattern_partB_LiteralUnlimitedNatural83 = new(); + public Property AssemblyConnectors_PWP_P_A_Array_Pattern_partC = new(); + public LiteralUnlimitedNatural AssemblyConnectors_PWP_P_A_Array_Pattern_partC_LiteralUnlimitedNatural84 = new(); + public LiteralInteger AssemblyConnectors_PWP_P_A_Array_Pattern_partC_LiteralInteger85 = new(); + public Comment AssemblyConnectors_PWP_P_A_Array_Pattern_Comment86 = new(); + public Connector AssemblyConnectors_PWP_P_A_Array_Pattern_r = new(); + public ConnectorEnd AssemblyConnectors_PWP_P_A_Array_Pattern_r_ConnectorEnd87 = new(); + public LiteralInteger AssemblyConnectors_PWP_P_A_Array_Pattern_r_ConnectorEnd87_connectorEnd_1_Lower = new(); + public LiteralUnlimitedNatural AssemblyConnectors_PWP_P_A_Array_Pattern_r_ConnectorEnd87_connectorEnd_1_Upper = new(); + public ConnectorEnd AssemblyConnectors_PWP_P_A_Array_Pattern_r_ConnectorEnd88 = new(); + public LiteralInteger AssemblyConnectors_PWP_P_A_Array_Pattern_r_ConnectorEnd88_connectorEnd_2_Lower = new(); + public LiteralUnlimitedNatural AssemblyConnectors_PWP_P_A_Array_Pattern_r_ConnectorEnd88_connectorEnd_2_Upper = new(); + public Operation AssemblyConnectors_PWP_P_A_Array_Pattern_A_Array_Pattern_A_Array_Pattern = new(); + public Parameter AssemblyConnectors_PWP_P_A_Array_Pattern_A_Array_Pattern_A_Array_Pattern_result = new(); + public Activity AssemblyConnectors_PWP_P_main = new(); + public ObjectFlow AssemblyConnectors_PWP_P_main_ObjectFlow89 = new(); + public LiteralBoolean AssemblyConnectors_PWP_P_main_ObjectFlow89_LiteralBoolean90 = new(); + public LiteralInteger AssemblyConnectors_PWP_P_main_ObjectFlow89_LiteralInteger91 = new(); + public ControlFlow AssemblyConnectors_PWP_P_main_ControlFlow92 = new(); + public CallBehaviorAction AssemblyConnectors_PWP_P_main_instantiate_A_Star_Pattern = new(); + public OutputPin AssemblyConnectors_PWP_P_main_instantiate_A_Star_Pattern_a_Star_Pattern = new(); + public LiteralUnlimitedNatural AssemblyConnectors_PWP_P_main_instantiate_A_Star_Pattern_a_Star_Pattern_LiteralUnlimitedNatural93 = new(); + public LiteralInteger AssemblyConnectors_PWP_P_main_instantiate_A_Star_Pattern_a_Star_Pattern_LiteralInteger94 = new(); + public LiteralInteger AssemblyConnectors_PWP_P_main_instantiate_A_Star_Pattern_a_Star_Pattern_LiteralInteger95 = new(); + public ObjectFlow AssemblyConnectors_PWP_P_main_ObjectFlow96 = new(); + public LiteralBoolean AssemblyConnectors_PWP_P_main_ObjectFlow96_LiteralBoolean97 = new(); + public LiteralInteger AssemblyConnectors_PWP_P_main_ObjectFlow96_LiteralInteger98 = new(); + public ObjectFlow AssemblyConnectors_PWP_P_main_ObjectFlow99 = new(); + public LiteralInteger AssemblyConnectors_PWP_P_main_ObjectFlow99_LiteralInteger100 = new(); + public LiteralBoolean AssemblyConnectors_PWP_P_main_ObjectFlow99_LiteralBoolean101 = new(); + public CallBehaviorAction AssemblyConnectors_PWP_P_main_assert_A_Array_Pattern = new(); + public InputPin AssemblyConnectors_PWP_P_main_assert_A_Array_Pattern_a_Array_Pattern = new(); + public LiteralInteger AssemblyConnectors_PWP_P_main_assert_A_Array_Pattern_a_Array_Pattern_LiteralInteger102 = new(); + public LiteralInteger AssemblyConnectors_PWP_P_main_assert_A_Array_Pattern_a_Array_Pattern_LiteralInteger103 = new(); + public LiteralUnlimitedNatural AssemblyConnectors_PWP_P_main_assert_A_Array_Pattern_a_Array_Pattern_LiteralUnlimitedNatural104 = new(); + public CallBehaviorAction AssemblyConnectors_PWP_P_main_assert_A_Empty_Pattern = new(); + public InputPin AssemblyConnectors_PWP_P_main_assert_A_Empty_Pattern_a_Empty_Pattern = new(); + public LiteralInteger AssemblyConnectors_PWP_P_main_assert_A_Empty_Pattern_a_Empty_Pattern_LiteralInteger105 = new(); + public LiteralUnlimitedNatural AssemblyConnectors_PWP_P_main_assert_A_Empty_Pattern_a_Empty_Pattern_LiteralUnlimitedNatural106 = new(); + public LiteralInteger AssemblyConnectors_PWP_P_main_assert_A_Empty_Pattern_a_Empty_Pattern_LiteralInteger107 = new(); + public CallBehaviorAction AssemblyConnectors_PWP_P_main_instantiate_A_Unconnected_Pattern = new(); + public OutputPin AssemblyConnectors_PWP_P_main_instantiate_A_Unconnected_Pattern_a_Unconnected_Pattern = new(); + public LiteralInteger AssemblyConnectors_PWP_P_main_instantiate_A_Unconnected_Pattern_a_Unconnected_Pattern_LiteralInteger108 = new(); + public LiteralUnlimitedNatural AssemblyConnectors_PWP_P_main_instantiate_A_Unconnected_Pattern_a_Unconnected_Pattern_LiteralUnlimitedNatural109 = new(); + public LiteralInteger AssemblyConnectors_PWP_P_main_instantiate_A_Unconnected_Pattern_a_Unconnected_Pattern_LiteralInteger110 = new(); + public ControlFlow AssemblyConnectors_PWP_P_main_ControlFlow111 = new(); + public CallBehaviorAction AssemblyConnectors_PWP_P_main_assert_A_Star_Pattern = new(); + public InputPin AssemblyConnectors_PWP_P_main_assert_A_Star_Pattern_a_Star_Pattern = new(); + public LiteralUnlimitedNatural AssemblyConnectors_PWP_P_main_assert_A_Star_Pattern_a_Star_Pattern_LiteralUnlimitedNatural112 = new(); + public LiteralInteger AssemblyConnectors_PWP_P_main_assert_A_Star_Pattern_a_Star_Pattern_LiteralInteger113 = new(); + public LiteralInteger AssemblyConnectors_PWP_P_main_assert_A_Star_Pattern_a_Star_Pattern_LiteralInteger114 = new(); + public ControlFlow AssemblyConnectors_PWP_P_main_ControlFlow115 = new(); + public CallBehaviorAction AssemblyConnectors_PWP_P_main_instantiate_A_Empty_Pattern = new(); + public OutputPin AssemblyConnectors_PWP_P_main_instantiate_A_Empty_Pattern_a_Empty_Pattern = new(); + public LiteralUnlimitedNatural AssemblyConnectors_PWP_P_main_instantiate_A_Empty_Pattern_a_Empty_Pattern_LiteralUnlimitedNatural116 = new(); + public LiteralInteger AssemblyConnectors_PWP_P_main_instantiate_A_Empty_Pattern_a_Empty_Pattern_LiteralInteger117 = new(); + public LiteralInteger AssemblyConnectors_PWP_P_main_instantiate_A_Empty_Pattern_a_Empty_Pattern_LiteralInteger118 = new(); + public CallBehaviorAction AssemblyConnectors_PWP_P_main_assert_A_Unconnected_Pattern = new(); + public InputPin AssemblyConnectors_PWP_P_main_assert_A_Unconnected_Pattern_a_Unconnected_Pattern = new(); + public LiteralInteger AssemblyConnectors_PWP_P_main_assert_A_Unconnected_Pattern_a_Unconnected_Pattern_LiteralInteger119 = new(); + public LiteralUnlimitedNatural AssemblyConnectors_PWP_P_main_assert_A_Unconnected_Pattern_a_Unconnected_Pattern_LiteralUnlimitedNatural120 = new(); + public LiteralInteger AssemblyConnectors_PWP_P_main_assert_A_Unconnected_Pattern_a_Unconnected_Pattern_LiteralInteger121 = new(); + public ObjectFlow AssemblyConnectors_PWP_P_main_ObjectFlow122 = new(); + public LiteralInteger AssemblyConnectors_PWP_P_main_ObjectFlow122_LiteralInteger123 = new(); + public LiteralBoolean AssemblyConnectors_PWP_P_main_ObjectFlow122_LiteralBoolean124 = new(); + public CallBehaviorAction AssemblyConnectors_PWP_P_main_instantiate_A_Array_Pattern = new(); + public OutputPin AssemblyConnectors_PWP_P_main_instantiate_A_Array_Pattern_a_Array_Pattern = new(); + public LiteralUnlimitedNatural AssemblyConnectors_PWP_P_main_instantiate_A_Array_Pattern_a_Array_Pattern_LiteralUnlimitedNatural125 = new(); + public LiteralInteger AssemblyConnectors_PWP_P_main_instantiate_A_Array_Pattern_a_Array_Pattern_LiteralInteger126 = new(); + public LiteralInteger AssemblyConnectors_PWP_P_main_instantiate_A_Array_Pattern_a_Array_Pattern_LiteralInteger127 = new(); + public Activity AssemblyConnectors_PWP_P_assert_A_Empty_Pattern = new(); + public ObjectFlow AssemblyConnectors_PWP_P_assert_A_Empty_Pattern_ObjectFlow128 = new(); + public LiteralBoolean AssemblyConnectors_PWP_P_assert_A_Empty_Pattern_ObjectFlow128_LiteralBoolean129 = new(); + public LiteralInteger AssemblyConnectors_PWP_P_assert_A_Empty_Pattern_ObjectFlow128_LiteralInteger130 = new(); + public ActivityParameterNode AssemblyConnectors_PWP_P_assert_A_Empty_Pattern_a_Empty_Pattern_node = new(); + public LiteralInteger AssemblyConnectors_PWP_P_assert_A_Empty_Pattern_a_Empty_Pattern_node_LiteralInteger131 = new(); + public ValueSpecificationAction AssemblyConnectors_PWP_P_assert_A_Empty_Pattern_message = new(); + public OutputPin AssemblyConnectors_PWP_P_assert_A_Empty_Pattern_message_result = new(); + public LiteralUnlimitedNatural AssemblyConnectors_PWP_P_assert_A_Empty_Pattern_message_result_LiteralUnlimitedNatural132 = new(); + public LiteralInteger AssemblyConnectors_PWP_P_assert_A_Empty_Pattern_message_result_LiteralInteger133 = new(); + public LiteralString AssemblyConnectors_PWP_P_assert_A_Empty_Pattern_message_LiteralString134 = new(); + public Parameter AssemblyConnectors_PWP_P_assert_A_Empty_Pattern_a_Empty_Pattern = new(); + public CallBehaviorAction AssemblyConnectors_PWP_P_assert_A_Empty_Pattern_writeLine = new(); + public InputPin AssemblyConnectors_PWP_P_assert_A_Empty_Pattern_writeLine_value = new(); + public LiteralInteger AssemblyConnectors_PWP_P_assert_A_Empty_Pattern_writeLine_value_LiteralInteger135 = new(); + public LiteralInteger AssemblyConnectors_PWP_P_assert_A_Empty_Pattern_writeLine_value_LiteralInteger136 = new(); + public LiteralUnlimitedNatural AssemblyConnectors_PWP_P_assert_A_Empty_Pattern_writeLine_value_LiteralUnlimitedNatural137 = new(); + public OutputPin AssemblyConnectors_PWP_P_assert_A_Empty_Pattern_writeLine_errorStatus = new(); + public LiteralInteger AssemblyConnectors_PWP_P_assert_A_Empty_Pattern_writeLine_errorStatus_LiteralInteger138 = new(); + public LiteralInteger AssemblyConnectors_PWP_P_assert_A_Empty_Pattern_writeLine_errorStatus_LiteralInteger139 = new(); + public LiteralUnlimitedNatural AssemblyConnectors_PWP_P_assert_A_Empty_Pattern_writeLine_errorStatus_LiteralUnlimitedNatural140 = new(); + public Class_ AssemblyConnectors_PWP_P_IImpl = new(); + public InterfaceRealization AssemblyConnectors_PWP_P_IImpl_I_Realization = new(); + public Activity AssemblyConnectors_PWP_P_instantiate_A_Unconnected_Pattern = new(); + public ObjectFlow AssemblyConnectors_PWP_P_instantiate_A_Unconnected_Pattern_ObjectFlow141 = new(); + public LiteralInteger AssemblyConnectors_PWP_P_instantiate_A_Unconnected_Pattern_ObjectFlow141_LiteralInteger142 = new(); + public LiteralBoolean AssemblyConnectors_PWP_P_instantiate_A_Unconnected_Pattern_ObjectFlow141_LiteralBoolean143 = new(); + public CreateObjectAction AssemblyConnectors_PWP_P_instantiate_A_Unconnected_Pattern_Create_A_Unconnected_Pattern = new(); + public OutputPin AssemblyConnectors_PWP_P_instantiate_A_Unconnected_Pattern_Create_A_Unconnected_Pattern_result = new(); + public LiteralUnlimitedNatural AssemblyConnectors_PWP_P_instantiate_A_Unconnected_Pattern_Create_A_Unconnected_Pattern_result_LiteralUnlimitedNatural144 = new(); + public LiteralInteger AssemblyConnectors_PWP_P_instantiate_A_Unconnected_Pattern_Create_A_Unconnected_Pattern_result_LiteralInteger145 = new(); + public CallOperationAction AssemblyConnectors_PWP_P_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern_ = new(); + public OutputPin AssemblyConnectors_PWP_P_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern__result = new(); + public LiteralUnlimitedNatural AssemblyConnectors_PWP_P_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern__result_LiteralUnlimitedNatural146 = new(); + public LiteralInteger AssemblyConnectors_PWP_P_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern__result_LiteralInteger147 = new(); + public LiteralInteger AssemblyConnectors_PWP_P_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern__result_LiteralInteger148 = new(); + public InputPin AssemblyConnectors_PWP_P_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern__target = new(); + public LiteralUnlimitedNatural AssemblyConnectors_PWP_P_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern__target_LiteralUnlimitedNatural149 = new(); + public LiteralInteger AssemblyConnectors_PWP_P_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern__target_LiteralInteger150 = new(); + public Parameter AssemblyConnectors_PWP_P_instantiate_A_Unconnected_Pattern_a_Unconnected_Pattern = new(); + public ActivityParameterNode AssemblyConnectors_PWP_P_instantiate_A_Unconnected_Pattern_a_Unconnected_Pattern_node = new(); + public ObjectFlow AssemblyConnectors_PWP_P_instantiate_A_Unconnected_Pattern_ObjectFlow151 = new(); + public LiteralBoolean AssemblyConnectors_PWP_P_instantiate_A_Unconnected_Pattern_ObjectFlow151_LiteralBoolean152 = new(); + public LiteralInteger AssemblyConnectors_PWP_P_instantiate_A_Unconnected_Pattern_ObjectFlow151_LiteralInteger153 = new(); + public Class_ AssemblyConnectors_PWP_P_A_Empty_Pattern = new(); + public Property AssemblyConnectors_PWP_P_A_Empty_Pattern_partB = new(); + public LiteralInteger AssemblyConnectors_PWP_P_A_Empty_Pattern_partB_LiteralInteger154 = new(); + public LiteralUnlimitedNatural AssemblyConnectors_PWP_P_A_Empty_Pattern_partB_LiteralUnlimitedNatural155 = new(); + public Property AssemblyConnectors_PWP_P_A_Empty_Pattern_partC = new(); + public LiteralInteger AssemblyConnectors_PWP_P_A_Empty_Pattern_partC_LiteralInteger156 = new(); + public LiteralUnlimitedNatural AssemblyConnectors_PWP_P_A_Empty_Pattern_partC_LiteralUnlimitedNatural157 = new(); + public Operation AssemblyConnectors_PWP_P_A_Empty_Pattern_A_Empty_Pattern_A_Empty_Pattern = new(); + public Parameter AssemblyConnectors_PWP_P_A_Empty_Pattern_A_Empty_Pattern_A_Empty_Pattern_result = new(); + public Connector AssemblyConnectors_PWP_P_A_Empty_Pattern_r = new(); + public ConnectorEnd AssemblyConnectors_PWP_P_A_Empty_Pattern_r_ConnectorEnd158 = new(); + public LiteralUnlimitedNatural AssemblyConnectors_PWP_P_A_Empty_Pattern_r_ConnectorEnd158_connectorEnd_2_Upper = new(); + public LiteralInteger AssemblyConnectors_PWP_P_A_Empty_Pattern_r_ConnectorEnd158_connectorEnd_2_Lower = new(); + public ConnectorEnd AssemblyConnectors_PWP_P_A_Empty_Pattern_r_ConnectorEnd159 = new(); + public LiteralUnlimitedNatural AssemblyConnectors_PWP_P_A_Empty_Pattern_r_ConnectorEnd159_connectorEnd_1_Upper = new(); + public LiteralInteger AssemblyConnectors_PWP_P_A_Empty_Pattern_r_ConnectorEnd159_connectorEnd_1_Lower = new(); + public Comment AssemblyConnectors_PWP_P_A_Empty_Pattern_Comment160 = new(); + public Activity AssemblyConnectors_PWP_P_assert_A_Unconnected_Pattern = new(); + public ObjectFlow AssemblyConnectors_PWP_P_assert_A_Unconnected_Pattern_ObjectFlow161 = new(); + public LiteralInteger AssemblyConnectors_PWP_P_assert_A_Unconnected_Pattern_ObjectFlow161_LiteralInteger162 = new(); + public LiteralBoolean AssemblyConnectors_PWP_P_assert_A_Unconnected_Pattern_ObjectFlow161_LiteralBoolean163 = new(); + public CallBehaviorAction AssemblyConnectors_PWP_P_assert_A_Unconnected_Pattern_writeLine = new(); + public OutputPin AssemblyConnectors_PWP_P_assert_A_Unconnected_Pattern_writeLine_errorStatus = new(); + public LiteralUnlimitedNatural AssemblyConnectors_PWP_P_assert_A_Unconnected_Pattern_writeLine_errorStatus_LiteralUnlimitedNatural164 = new(); + public LiteralInteger AssemblyConnectors_PWP_P_assert_A_Unconnected_Pattern_writeLine_errorStatus_LiteralInteger165 = new(); + public LiteralInteger AssemblyConnectors_PWP_P_assert_A_Unconnected_Pattern_writeLine_errorStatus_LiteralInteger166 = new(); + public InputPin AssemblyConnectors_PWP_P_assert_A_Unconnected_Pattern_writeLine_value = new(); + public LiteralInteger AssemblyConnectors_PWP_P_assert_A_Unconnected_Pattern_writeLine_value_LiteralInteger167 = new(); + public LiteralInteger AssemblyConnectors_PWP_P_assert_A_Unconnected_Pattern_writeLine_value_LiteralInteger168 = new(); + public LiteralUnlimitedNatural AssemblyConnectors_PWP_P_assert_A_Unconnected_Pattern_writeLine_value_LiteralUnlimitedNatural169 = new(); + public Parameter AssemblyConnectors_PWP_P_assert_A_Unconnected_Pattern_a_Unconnected_Pattern = new(); + public ActivityParameterNode AssemblyConnectors_PWP_P_assert_A_Unconnected_Pattern_a_Unconnected_Pattern_node = new(); + public LiteralInteger AssemblyConnectors_PWP_P_assert_A_Unconnected_Pattern_a_Unconnected_Pattern_node_LiteralInteger170 = new(); + public ValueSpecificationAction AssemblyConnectors_PWP_P_assert_A_Unconnected_Pattern_message = new(); + public LiteralString AssemblyConnectors_PWP_P_assert_A_Unconnected_Pattern_message_LiteralString171 = new(); + public OutputPin AssemblyConnectors_PWP_P_assert_A_Unconnected_Pattern_message_result = new(); + public LiteralInteger AssemblyConnectors_PWP_P_assert_A_Unconnected_Pattern_message_result_LiteralInteger172 = new(); + public LiteralUnlimitedNatural AssemblyConnectors_PWP_P_assert_A_Unconnected_Pattern_message_result_LiteralUnlimitedNatural173 = new(); + public Association AssemblyConnectors_PWP_P_R = new(); + public Property AssemblyConnectors_PWP_P_R_y = new(); + public LiteralUnlimitedNatural AssemblyConnectors_PWP_P_R_y_LiteralUnlimitedNatural174 = new(); + public LiteralInteger AssemblyConnectors_PWP_P_R_y_LiteralInteger175 = new(); + public Property AssemblyConnectors_PWP_P_R_x = new(); + public LiteralInteger AssemblyConnectors_PWP_P_R_x_LiteralInteger176 = new(); + public LiteralUnlimitedNatural AssemblyConnectors_PWP_P_R_x_LiteralUnlimitedNatural177 = new(); + + public static AssemblyConnectors_PWP_PModel Instance() + { + if (instance is null) + { + instance = new(); + instance.InitializeInMemoryModel(); + } + + return instance; + } + + public AssemblyConnectors_PWP_PModel() + { + /* Start of user code : Additional model initializations + * This section may be used to do any additional model initialization, + * for example initializing user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } + + private void InitializeInMemoryModel() + { + // Create public members + /* + * Model AssemblyConnectors_PWP_P + */ + AddToElementRepository("AssemblyConnectors_PWP_P", AssemblyConnectors_PWP_P); + AddToElementRepository("instantiate_A_Empty_Pattern", AssemblyConnectors_PWP_P_instantiate_A_Empty_Pattern); + AddToElementRepository("A_Empty_Pattern()", AssemblyConnectors_PWP_P_instantiate_A_Empty_Pattern_A_Empty_Pattern_); + AddToElementRepository("target", AssemblyConnectors_PWP_P_instantiate_A_Empty_Pattern_A_Empty_Pattern__target); + AddToElementRepository("LiteralInteger0", AssemblyConnectors_PWP_P_instantiate_A_Empty_Pattern_A_Empty_Pattern__target_LiteralInteger0); + AddToElementRepository("LiteralUnlimitedNatural1", AssemblyConnectors_PWP_P_instantiate_A_Empty_Pattern_A_Empty_Pattern__target_LiteralUnlimitedNatural1); + AddToElementRepository("result", AssemblyConnectors_PWP_P_instantiate_A_Empty_Pattern_A_Empty_Pattern__result); + AddToElementRepository("LiteralInteger2", AssemblyConnectors_PWP_P_instantiate_A_Empty_Pattern_A_Empty_Pattern__result_LiteralInteger2); + AddToElementRepository("LiteralInteger3", AssemblyConnectors_PWP_P_instantiate_A_Empty_Pattern_A_Empty_Pattern__result_LiteralInteger3); + AddToElementRepository("LiteralUnlimitedNatural4", AssemblyConnectors_PWP_P_instantiate_A_Empty_Pattern_A_Empty_Pattern__result_LiteralUnlimitedNatural4); + AddToElementRepository("ObjectFlow5", AssemblyConnectors_PWP_P_instantiate_A_Empty_Pattern_ObjectFlow5); + AddToElementRepository("LiteralBoolean6", AssemblyConnectors_PWP_P_instantiate_A_Empty_Pattern_ObjectFlow5_LiteralBoolean6); + AddToElementRepository("LiteralInteger7", AssemblyConnectors_PWP_P_instantiate_A_Empty_Pattern_ObjectFlow5_LiteralInteger7); + AddToElementRepository("ObjectFlow8", AssemblyConnectors_PWP_P_instantiate_A_Empty_Pattern_ObjectFlow8); + AddToElementRepository("LiteralInteger9", AssemblyConnectors_PWP_P_instantiate_A_Empty_Pattern_ObjectFlow8_LiteralInteger9); + AddToElementRepository("LiteralBoolean10", AssemblyConnectors_PWP_P_instantiate_A_Empty_Pattern_ObjectFlow8_LiteralBoolean10); + AddToElementRepository("a_Empty_Pattern", AssemblyConnectors_PWP_P_instantiate_A_Empty_Pattern_a_Empty_Pattern); + AddToElementRepository("a_Empty_Pattern_node", AssemblyConnectors_PWP_P_instantiate_A_Empty_Pattern_a_Empty_Pattern_node); + AddToElementRepository("Create A_Empty_Pattern", AssemblyConnectors_PWP_P_instantiate_A_Empty_Pattern_Create_A_Empty_Pattern); + AddToElementRepository("result", AssemblyConnectors_PWP_P_instantiate_A_Empty_Pattern_Create_A_Empty_Pattern_result); + AddToElementRepository("LiteralUnlimitedNatural11", AssemblyConnectors_PWP_P_instantiate_A_Empty_Pattern_Create_A_Empty_Pattern_result_LiteralUnlimitedNatural11); + AddToElementRepository("LiteralInteger12", AssemblyConnectors_PWP_P_instantiate_A_Empty_Pattern_Create_A_Empty_Pattern_result_LiteralInteger12); + AddToElementRepository("assert_A_Star_Pattern", AssemblyConnectors_PWP_P_assert_A_Star_Pattern); + AddToElementRepository("a_Star_Pattern_node", AssemblyConnectors_PWP_P_assert_A_Star_Pattern_a_Star_Pattern_node); + AddToElementRepository("LiteralInteger13", AssemblyConnectors_PWP_P_assert_A_Star_Pattern_a_Star_Pattern_node_LiteralInteger13); + AddToElementRepository("a_Star_Pattern", AssemblyConnectors_PWP_P_assert_A_Star_Pattern_a_Star_Pattern); + AddToElementRepository("ObjectFlow14", AssemblyConnectors_PWP_P_assert_A_Star_Pattern_ObjectFlow14); + AddToElementRepository("LiteralBoolean15", AssemblyConnectors_PWP_P_assert_A_Star_Pattern_ObjectFlow14_LiteralBoolean15); + AddToElementRepository("LiteralInteger16", AssemblyConnectors_PWP_P_assert_A_Star_Pattern_ObjectFlow14_LiteralInteger16); + AddToElementRepository("message", AssemblyConnectors_PWP_P_assert_A_Star_Pattern_message); + AddToElementRepository("LiteralString17", AssemblyConnectors_PWP_P_assert_A_Star_Pattern_message_LiteralString17); + AddToElementRepository("result", AssemblyConnectors_PWP_P_assert_A_Star_Pattern_message_result); + AddToElementRepository("LiteralInteger18", AssemblyConnectors_PWP_P_assert_A_Star_Pattern_message_result_LiteralInteger18); + AddToElementRepository("LiteralUnlimitedNatural19", AssemblyConnectors_PWP_P_assert_A_Star_Pattern_message_result_LiteralUnlimitedNatural19); + AddToElementRepository("writeLine", AssemblyConnectors_PWP_P_assert_A_Star_Pattern_writeLine); + AddToElementRepository("errorStatus", AssemblyConnectors_PWP_P_assert_A_Star_Pattern_writeLine_errorStatus); + AddToElementRepository("LiteralInteger20", AssemblyConnectors_PWP_P_assert_A_Star_Pattern_writeLine_errorStatus_LiteralInteger20); + AddToElementRepository("LiteralInteger21", AssemblyConnectors_PWP_P_assert_A_Star_Pattern_writeLine_errorStatus_LiteralInteger21); + AddToElementRepository("LiteralUnlimitedNatural22", AssemblyConnectors_PWP_P_assert_A_Star_Pattern_writeLine_errorStatus_LiteralUnlimitedNatural22); + AddToElementRepository("value", AssemblyConnectors_PWP_P_assert_A_Star_Pattern_writeLine_value); + AddToElementRepository("LiteralUnlimitedNatural23", AssemblyConnectors_PWP_P_assert_A_Star_Pattern_writeLine_value_LiteralUnlimitedNatural23); + AddToElementRepository("LiteralInteger24", AssemblyConnectors_PWP_P_assert_A_Star_Pattern_writeLine_value_LiteralInteger24); + AddToElementRepository("LiteralInteger25", AssemblyConnectors_PWP_P_assert_A_Star_Pattern_writeLine_value_LiteralInteger25); + AddToElementRepository("C", AssemblyConnectors_PWP_P_C); + AddToElementRepository("instantiate_A_Star_Pattern", AssemblyConnectors_PWP_P_instantiate_A_Star_Pattern); + AddToElementRepository("a_Star_Pattern_node", AssemblyConnectors_PWP_P_instantiate_A_Star_Pattern_a_Star_Pattern_node); + AddToElementRepository("Create A_Star_Pattern", AssemblyConnectors_PWP_P_instantiate_A_Star_Pattern_Create_A_Star_Pattern); + AddToElementRepository("result", AssemblyConnectors_PWP_P_instantiate_A_Star_Pattern_Create_A_Star_Pattern_result); + AddToElementRepository("LiteralInteger26", AssemblyConnectors_PWP_P_instantiate_A_Star_Pattern_Create_A_Star_Pattern_result_LiteralInteger26); + AddToElementRepository("LiteralUnlimitedNatural27", AssemblyConnectors_PWP_P_instantiate_A_Star_Pattern_Create_A_Star_Pattern_result_LiteralUnlimitedNatural27); + AddToElementRepository("A_Star_Pattern()", AssemblyConnectors_PWP_P_instantiate_A_Star_Pattern_A_Star_Pattern_); + AddToElementRepository("target", AssemblyConnectors_PWP_P_instantiate_A_Star_Pattern_A_Star_Pattern__target); + AddToElementRepository("LiteralUnlimitedNatural28", AssemblyConnectors_PWP_P_instantiate_A_Star_Pattern_A_Star_Pattern__target_LiteralUnlimitedNatural28); + AddToElementRepository("LiteralInteger29", AssemblyConnectors_PWP_P_instantiate_A_Star_Pattern_A_Star_Pattern__target_LiteralInteger29); + AddToElementRepository("result", AssemblyConnectors_PWP_P_instantiate_A_Star_Pattern_A_Star_Pattern__result); + AddToElementRepository("LiteralInteger30", AssemblyConnectors_PWP_P_instantiate_A_Star_Pattern_A_Star_Pattern__result_LiteralInteger30); + AddToElementRepository("LiteralInteger31", AssemblyConnectors_PWP_P_instantiate_A_Star_Pattern_A_Star_Pattern__result_LiteralInteger31); + AddToElementRepository("LiteralUnlimitedNatural32", AssemblyConnectors_PWP_P_instantiate_A_Star_Pattern_A_Star_Pattern__result_LiteralUnlimitedNatural32); + AddToElementRepository("a_Star_Pattern", AssemblyConnectors_PWP_P_instantiate_A_Star_Pattern_a_Star_Pattern); + AddToElementRepository("ObjectFlow33", AssemblyConnectors_PWP_P_instantiate_A_Star_Pattern_ObjectFlow33); + AddToElementRepository("LiteralInteger34", AssemblyConnectors_PWP_P_instantiate_A_Star_Pattern_ObjectFlow33_LiteralInteger34); + AddToElementRepository("LiteralBoolean35", AssemblyConnectors_PWP_P_instantiate_A_Star_Pattern_ObjectFlow33_LiteralBoolean35); + AddToElementRepository("ObjectFlow36", AssemblyConnectors_PWP_P_instantiate_A_Star_Pattern_ObjectFlow36); + AddToElementRepository("LiteralBoolean37", AssemblyConnectors_PWP_P_instantiate_A_Star_Pattern_ObjectFlow36_LiteralBoolean37); + AddToElementRepository("LiteralInteger38", AssemblyConnectors_PWP_P_instantiate_A_Star_Pattern_ObjectFlow36_LiteralInteger38); + AddToElementRepository("B", AssemblyConnectors_PWP_P_B); + AddToElementRepository("p", AssemblyConnectors_PWP_P_B_p); + AddToElementRepository("LiteralUnlimitedNatural39", AssemblyConnectors_PWP_P_B_p_LiteralUnlimitedNatural39); + AddToElementRepository("LiteralInteger40", AssemblyConnectors_PWP_P_B_p_LiteralInteger40); + AddToElementRepository("A_Star_Pattern", AssemblyConnectors_PWP_P_A_Star_Pattern); + AddToElementRepository("Comment41", AssemblyConnectors_PWP_P_A_Star_Pattern_Comment41); + AddToElementRepository("partC", AssemblyConnectors_PWP_P_A_Star_Pattern_partC); + AddToElementRepository("LiteralUnlimitedNatural42", AssemblyConnectors_PWP_P_A_Star_Pattern_partC_LiteralUnlimitedNatural42); + AddToElementRepository("LiteralInteger43", AssemblyConnectors_PWP_P_A_Star_Pattern_partC_LiteralInteger43); + AddToElementRepository("A_Star_Pattern_A_Star_Pattern", AssemblyConnectors_PWP_P_A_Star_Pattern_A_Star_Pattern_A_Star_Pattern); + AddToElementRepository("result", AssemblyConnectors_PWP_P_A_Star_Pattern_A_Star_Pattern_A_Star_Pattern_result); + AddToElementRepository("r", AssemblyConnectors_PWP_P_A_Star_Pattern_r); + AddToElementRepository("ConnectorEnd44", AssemblyConnectors_PWP_P_A_Star_Pattern_r_ConnectorEnd44); + AddToElementRepository("connectorEnd_2_Lower", AssemblyConnectors_PWP_P_A_Star_Pattern_r_ConnectorEnd44_connectorEnd_2_Lower); + AddToElementRepository("connectorEnd_2_Upper", AssemblyConnectors_PWP_P_A_Star_Pattern_r_ConnectorEnd44_connectorEnd_2_Upper); + AddToElementRepository("ConnectorEnd45", AssemblyConnectors_PWP_P_A_Star_Pattern_r_ConnectorEnd45); + AddToElementRepository("connectorEnd_1_Upper", AssemblyConnectors_PWP_P_A_Star_Pattern_r_ConnectorEnd45_connectorEnd_1_Upper); + AddToElementRepository("connectorEnd_1_Lower", AssemblyConnectors_PWP_P_A_Star_Pattern_r_ConnectorEnd45_connectorEnd_1_Lower); + AddToElementRepository("partB", AssemblyConnectors_PWP_P_A_Star_Pattern_partB); + AddToElementRepository("LiteralUnlimitedNatural46", AssemblyConnectors_PWP_P_A_Star_Pattern_partB_LiteralUnlimitedNatural46); + AddToElementRepository("LiteralInteger47", AssemblyConnectors_PWP_P_A_Star_Pattern_partB_LiteralInteger47); + AddToElementRepository("assert_A_Array_Pattern", AssemblyConnectors_PWP_P_assert_A_Array_Pattern); + AddToElementRepository("a_Array_Pattern", AssemblyConnectors_PWP_P_assert_A_Array_Pattern_a_Array_Pattern); + AddToElementRepository("message", AssemblyConnectors_PWP_P_assert_A_Array_Pattern_message); + AddToElementRepository("result", AssemblyConnectors_PWP_P_assert_A_Array_Pattern_message_result); + AddToElementRepository("LiteralUnlimitedNatural48", AssemblyConnectors_PWP_P_assert_A_Array_Pattern_message_result_LiteralUnlimitedNatural48); + AddToElementRepository("LiteralInteger49", AssemblyConnectors_PWP_P_assert_A_Array_Pattern_message_result_LiteralInteger49); + AddToElementRepository("LiteralString50", AssemblyConnectors_PWP_P_assert_A_Array_Pattern_message_LiteralString50); + AddToElementRepository("writeLine", AssemblyConnectors_PWP_P_assert_A_Array_Pattern_writeLine); + AddToElementRepository("errorStatus", AssemblyConnectors_PWP_P_assert_A_Array_Pattern_writeLine_errorStatus); + AddToElementRepository("LiteralInteger51", AssemblyConnectors_PWP_P_assert_A_Array_Pattern_writeLine_errorStatus_LiteralInteger51); + AddToElementRepository("LiteralUnlimitedNatural52", AssemblyConnectors_PWP_P_assert_A_Array_Pattern_writeLine_errorStatus_LiteralUnlimitedNatural52); + AddToElementRepository("LiteralInteger53", AssemblyConnectors_PWP_P_assert_A_Array_Pattern_writeLine_errorStatus_LiteralInteger53); + AddToElementRepository("value", AssemblyConnectors_PWP_P_assert_A_Array_Pattern_writeLine_value); + AddToElementRepository("LiteralInteger54", AssemblyConnectors_PWP_P_assert_A_Array_Pattern_writeLine_value_LiteralInteger54); + AddToElementRepository("LiteralInteger55", AssemblyConnectors_PWP_P_assert_A_Array_Pattern_writeLine_value_LiteralInteger55); + AddToElementRepository("LiteralUnlimitedNatural56", AssemblyConnectors_PWP_P_assert_A_Array_Pattern_writeLine_value_LiteralUnlimitedNatural56); + AddToElementRepository("a_Array_Pattern_node", AssemblyConnectors_PWP_P_assert_A_Array_Pattern_a_Array_Pattern_node); + AddToElementRepository("LiteralInteger57", AssemblyConnectors_PWP_P_assert_A_Array_Pattern_a_Array_Pattern_node_LiteralInteger57); + AddToElementRepository("ObjectFlow58", AssemblyConnectors_PWP_P_assert_A_Array_Pattern_ObjectFlow58); + AddToElementRepository("LiteralInteger59", AssemblyConnectors_PWP_P_assert_A_Array_Pattern_ObjectFlow58_LiteralInteger59); + AddToElementRepository("LiteralBoolean60", AssemblyConnectors_PWP_P_assert_A_Array_Pattern_ObjectFlow58_LiteralBoolean60); + AddToElementRepository("instantiate_A_Array_Pattern", AssemblyConnectors_PWP_P_instantiate_A_Array_Pattern); + AddToElementRepository("a_Array_Pattern_node", AssemblyConnectors_PWP_P_instantiate_A_Array_Pattern_a_Array_Pattern_node); + AddToElementRepository("LiteralInteger61", AssemblyConnectors_PWP_P_instantiate_A_Array_Pattern_a_Array_Pattern_node_LiteralInteger61); + AddToElementRepository("A_Array_Pattern()", AssemblyConnectors_PWP_P_instantiate_A_Array_Pattern_A_Array_Pattern_); + AddToElementRepository("target", AssemblyConnectors_PWP_P_instantiate_A_Array_Pattern_A_Array_Pattern__target); + AddToElementRepository("LiteralInteger62", AssemblyConnectors_PWP_P_instantiate_A_Array_Pattern_A_Array_Pattern__target_LiteralInteger62); + AddToElementRepository("LiteralUnlimitedNatural63", AssemblyConnectors_PWP_P_instantiate_A_Array_Pattern_A_Array_Pattern__target_LiteralUnlimitedNatural63); + AddToElementRepository("result", AssemblyConnectors_PWP_P_instantiate_A_Array_Pattern_A_Array_Pattern__result); + AddToElementRepository("LiteralInteger64", AssemblyConnectors_PWP_P_instantiate_A_Array_Pattern_A_Array_Pattern__result_LiteralInteger64); + AddToElementRepository("LiteralUnlimitedNatural65", AssemblyConnectors_PWP_P_instantiate_A_Array_Pattern_A_Array_Pattern__result_LiteralUnlimitedNatural65); + AddToElementRepository("LiteralInteger66", AssemblyConnectors_PWP_P_instantiate_A_Array_Pattern_A_Array_Pattern__result_LiteralInteger66); + AddToElementRepository("Create A_Array_Pattern", AssemblyConnectors_PWP_P_instantiate_A_Array_Pattern_Create_A_Array_Pattern); + AddToElementRepository("result", AssemblyConnectors_PWP_P_instantiate_A_Array_Pattern_Create_A_Array_Pattern_result); + AddToElementRepository("LiteralUnlimitedNatural67", AssemblyConnectors_PWP_P_instantiate_A_Array_Pattern_Create_A_Array_Pattern_result_LiteralUnlimitedNatural67); + AddToElementRepository("LiteralInteger68", AssemblyConnectors_PWP_P_instantiate_A_Array_Pattern_Create_A_Array_Pattern_result_LiteralInteger68); + AddToElementRepository("ObjectFlow69", AssemblyConnectors_PWP_P_instantiate_A_Array_Pattern_ObjectFlow69); + AddToElementRepository("LiteralInteger70", AssemblyConnectors_PWP_P_instantiate_A_Array_Pattern_ObjectFlow69_LiteralInteger70); + AddToElementRepository("LiteralBoolean71", AssemblyConnectors_PWP_P_instantiate_A_Array_Pattern_ObjectFlow69_LiteralBoolean71); + AddToElementRepository("a_Array_Pattern", AssemblyConnectors_PWP_P_instantiate_A_Array_Pattern_a_Array_Pattern); + AddToElementRepository("ObjectFlow72", AssemblyConnectors_PWP_P_instantiate_A_Array_Pattern_ObjectFlow72); + AddToElementRepository("LiteralBoolean73", AssemblyConnectors_PWP_P_instantiate_A_Array_Pattern_ObjectFlow72_LiteralBoolean73); + AddToElementRepository("LiteralInteger74", AssemblyConnectors_PWP_P_instantiate_A_Array_Pattern_ObjectFlow72_LiteralInteger74); + AddToElementRepository("I", AssemblyConnectors_PWP_P_I); + AddToElementRepository("A_Unconnected_Pattern", AssemblyConnectors_PWP_P_A_Unconnected_Pattern); + AddToElementRepository("Comment75", AssemblyConnectors_PWP_P_A_Unconnected_Pattern_Comment75); + AddToElementRepository("partC", AssemblyConnectors_PWP_P_A_Unconnected_Pattern_partC); + AddToElementRepository("LiteralInteger76", AssemblyConnectors_PWP_P_A_Unconnected_Pattern_partC_LiteralInteger76); + AddToElementRepository("LiteralUnlimitedNatural77", AssemblyConnectors_PWP_P_A_Unconnected_Pattern_partC_LiteralUnlimitedNatural77); + AddToElementRepository("partB", AssemblyConnectors_PWP_P_A_Unconnected_Pattern_partB); + AddToElementRepository("LiteralUnlimitedNatural78", AssemblyConnectors_PWP_P_A_Unconnected_Pattern_partB_LiteralUnlimitedNatural78); + AddToElementRepository("LiteralInteger79", AssemblyConnectors_PWP_P_A_Unconnected_Pattern_partB_LiteralInteger79); + AddToElementRepository("r", AssemblyConnectors_PWP_P_A_Unconnected_Pattern_r); + AddToElementRepository("ConnectorEnd80", AssemblyConnectors_PWP_P_A_Unconnected_Pattern_r_ConnectorEnd80); + AddToElementRepository("connectorEnd_2_Lower", AssemblyConnectors_PWP_P_A_Unconnected_Pattern_r_ConnectorEnd80_connectorEnd_2_Lower); + AddToElementRepository("connectorEnd_2_Upper", AssemblyConnectors_PWP_P_A_Unconnected_Pattern_r_ConnectorEnd80_connectorEnd_2_Upper); + AddToElementRepository("ConnectorEnd81", AssemblyConnectors_PWP_P_A_Unconnected_Pattern_r_ConnectorEnd81); + AddToElementRepository("connectorEnd_1_Lower", AssemblyConnectors_PWP_P_A_Unconnected_Pattern_r_ConnectorEnd81_connectorEnd_1_Lower); + AddToElementRepository("connectorEnd_1_Upper", AssemblyConnectors_PWP_P_A_Unconnected_Pattern_r_ConnectorEnd81_connectorEnd_1_Upper); + AddToElementRepository("A_Unconnected_Pattern_A_Unconnected_Pattern", AssemblyConnectors_PWP_P_A_Unconnected_Pattern_A_Unconnected_Pattern_A_Unconnected_Pattern); + AddToElementRepository("result", AssemblyConnectors_PWP_P_A_Unconnected_Pattern_A_Unconnected_Pattern_A_Unconnected_Pattern_result); + AddToElementRepository("A_Array_Pattern", AssemblyConnectors_PWP_P_A_Array_Pattern); + AddToElementRepository("partB", AssemblyConnectors_PWP_P_A_Array_Pattern_partB); + AddToElementRepository("LiteralInteger82", AssemblyConnectors_PWP_P_A_Array_Pattern_partB_LiteralInteger82); + AddToElementRepository("LiteralUnlimitedNatural83", AssemblyConnectors_PWP_P_A_Array_Pattern_partB_LiteralUnlimitedNatural83); + AddToElementRepository("partC", AssemblyConnectors_PWP_P_A_Array_Pattern_partC); + AddToElementRepository("LiteralUnlimitedNatural84", AssemblyConnectors_PWP_P_A_Array_Pattern_partC_LiteralUnlimitedNatural84); + AddToElementRepository("LiteralInteger85", AssemblyConnectors_PWP_P_A_Array_Pattern_partC_LiteralInteger85); + AddToElementRepository("Comment86", AssemblyConnectors_PWP_P_A_Array_Pattern_Comment86); + AddToElementRepository("r", AssemblyConnectors_PWP_P_A_Array_Pattern_r); + AddToElementRepository("ConnectorEnd87", AssemblyConnectors_PWP_P_A_Array_Pattern_r_ConnectorEnd87); + AddToElementRepository("connectorEnd_1_Lower", AssemblyConnectors_PWP_P_A_Array_Pattern_r_ConnectorEnd87_connectorEnd_1_Lower); + AddToElementRepository("connectorEnd_1_Upper", AssemblyConnectors_PWP_P_A_Array_Pattern_r_ConnectorEnd87_connectorEnd_1_Upper); + AddToElementRepository("ConnectorEnd88", AssemblyConnectors_PWP_P_A_Array_Pattern_r_ConnectorEnd88); + AddToElementRepository("connectorEnd_2_Lower", AssemblyConnectors_PWP_P_A_Array_Pattern_r_ConnectorEnd88_connectorEnd_2_Lower); + AddToElementRepository("connectorEnd_2_Upper", AssemblyConnectors_PWP_P_A_Array_Pattern_r_ConnectorEnd88_connectorEnd_2_Upper); + AddToElementRepository("A_Array_Pattern_A_Array_Pattern", AssemblyConnectors_PWP_P_A_Array_Pattern_A_Array_Pattern_A_Array_Pattern); + AddToElementRepository("result", AssemblyConnectors_PWP_P_A_Array_Pattern_A_Array_Pattern_A_Array_Pattern_result); + AddToElementRepository("main", AssemblyConnectors_PWP_P_main); + AddToElementRepository("ObjectFlow89", AssemblyConnectors_PWP_P_main_ObjectFlow89); + AddToElementRepository("LiteralBoolean90", AssemblyConnectors_PWP_P_main_ObjectFlow89_LiteralBoolean90); + AddToElementRepository("LiteralInteger91", AssemblyConnectors_PWP_P_main_ObjectFlow89_LiteralInteger91); + AddToElementRepository("ControlFlow92", AssemblyConnectors_PWP_P_main_ControlFlow92); + AddToElementRepository("instantiate_A_Star_Pattern", AssemblyConnectors_PWP_P_main_instantiate_A_Star_Pattern); + AddToElementRepository("a_Star_Pattern", AssemblyConnectors_PWP_P_main_instantiate_A_Star_Pattern_a_Star_Pattern); + AddToElementRepository("LiteralUnlimitedNatural93", AssemblyConnectors_PWP_P_main_instantiate_A_Star_Pattern_a_Star_Pattern_LiteralUnlimitedNatural93); + AddToElementRepository("LiteralInteger94", AssemblyConnectors_PWP_P_main_instantiate_A_Star_Pattern_a_Star_Pattern_LiteralInteger94); + AddToElementRepository("LiteralInteger95", AssemblyConnectors_PWP_P_main_instantiate_A_Star_Pattern_a_Star_Pattern_LiteralInteger95); + AddToElementRepository("ObjectFlow96", AssemblyConnectors_PWP_P_main_ObjectFlow96); + AddToElementRepository("LiteralBoolean97", AssemblyConnectors_PWP_P_main_ObjectFlow96_LiteralBoolean97); + AddToElementRepository("LiteralInteger98", AssemblyConnectors_PWP_P_main_ObjectFlow96_LiteralInteger98); + AddToElementRepository("ObjectFlow99", AssemblyConnectors_PWP_P_main_ObjectFlow99); + AddToElementRepository("LiteralInteger100", AssemblyConnectors_PWP_P_main_ObjectFlow99_LiteralInteger100); + AddToElementRepository("LiteralBoolean101", AssemblyConnectors_PWP_P_main_ObjectFlow99_LiteralBoolean101); + AddToElementRepository("assert_A_Array_Pattern", AssemblyConnectors_PWP_P_main_assert_A_Array_Pattern); + AddToElementRepository("a_Array_Pattern", AssemblyConnectors_PWP_P_main_assert_A_Array_Pattern_a_Array_Pattern); + AddToElementRepository("LiteralInteger102", AssemblyConnectors_PWP_P_main_assert_A_Array_Pattern_a_Array_Pattern_LiteralInteger102); + AddToElementRepository("LiteralInteger103", AssemblyConnectors_PWP_P_main_assert_A_Array_Pattern_a_Array_Pattern_LiteralInteger103); + AddToElementRepository("LiteralUnlimitedNatural104", AssemblyConnectors_PWP_P_main_assert_A_Array_Pattern_a_Array_Pattern_LiteralUnlimitedNatural104); + AddToElementRepository("assert_A_Empty_Pattern", AssemblyConnectors_PWP_P_main_assert_A_Empty_Pattern); + AddToElementRepository("a_Empty_Pattern", AssemblyConnectors_PWP_P_main_assert_A_Empty_Pattern_a_Empty_Pattern); + AddToElementRepository("LiteralInteger105", AssemblyConnectors_PWP_P_main_assert_A_Empty_Pattern_a_Empty_Pattern_LiteralInteger105); + AddToElementRepository("LiteralUnlimitedNatural106", AssemblyConnectors_PWP_P_main_assert_A_Empty_Pattern_a_Empty_Pattern_LiteralUnlimitedNatural106); + AddToElementRepository("LiteralInteger107", AssemblyConnectors_PWP_P_main_assert_A_Empty_Pattern_a_Empty_Pattern_LiteralInteger107); + AddToElementRepository("instantiate_A_Unconnected_Pattern", AssemblyConnectors_PWP_P_main_instantiate_A_Unconnected_Pattern); + AddToElementRepository("a_Unconnected_Pattern", AssemblyConnectors_PWP_P_main_instantiate_A_Unconnected_Pattern_a_Unconnected_Pattern); + AddToElementRepository("LiteralInteger108", AssemblyConnectors_PWP_P_main_instantiate_A_Unconnected_Pattern_a_Unconnected_Pattern_LiteralInteger108); + AddToElementRepository("LiteralUnlimitedNatural109", AssemblyConnectors_PWP_P_main_instantiate_A_Unconnected_Pattern_a_Unconnected_Pattern_LiteralUnlimitedNatural109); + AddToElementRepository("LiteralInteger110", AssemblyConnectors_PWP_P_main_instantiate_A_Unconnected_Pattern_a_Unconnected_Pattern_LiteralInteger110); + AddToElementRepository("ControlFlow111", AssemblyConnectors_PWP_P_main_ControlFlow111); + AddToElementRepository("assert_A_Star_Pattern", AssemblyConnectors_PWP_P_main_assert_A_Star_Pattern); + AddToElementRepository("a_Star_Pattern", AssemblyConnectors_PWP_P_main_assert_A_Star_Pattern_a_Star_Pattern); + AddToElementRepository("LiteralUnlimitedNatural112", AssemblyConnectors_PWP_P_main_assert_A_Star_Pattern_a_Star_Pattern_LiteralUnlimitedNatural112); + AddToElementRepository("LiteralInteger113", AssemblyConnectors_PWP_P_main_assert_A_Star_Pattern_a_Star_Pattern_LiteralInteger113); + AddToElementRepository("LiteralInteger114", AssemblyConnectors_PWP_P_main_assert_A_Star_Pattern_a_Star_Pattern_LiteralInteger114); + AddToElementRepository("ControlFlow115", AssemblyConnectors_PWP_P_main_ControlFlow115); + AddToElementRepository("instantiate_A_Empty_Pattern", AssemblyConnectors_PWP_P_main_instantiate_A_Empty_Pattern); + AddToElementRepository("a_Empty_Pattern", AssemblyConnectors_PWP_P_main_instantiate_A_Empty_Pattern_a_Empty_Pattern); + AddToElementRepository("LiteralUnlimitedNatural116", AssemblyConnectors_PWP_P_main_instantiate_A_Empty_Pattern_a_Empty_Pattern_LiteralUnlimitedNatural116); + AddToElementRepository("LiteralInteger117", AssemblyConnectors_PWP_P_main_instantiate_A_Empty_Pattern_a_Empty_Pattern_LiteralInteger117); + AddToElementRepository("LiteralInteger118", AssemblyConnectors_PWP_P_main_instantiate_A_Empty_Pattern_a_Empty_Pattern_LiteralInteger118); + AddToElementRepository("assert_A_Unconnected_Pattern", AssemblyConnectors_PWP_P_main_assert_A_Unconnected_Pattern); + AddToElementRepository("a_Unconnected_Pattern", AssemblyConnectors_PWP_P_main_assert_A_Unconnected_Pattern_a_Unconnected_Pattern); + AddToElementRepository("LiteralInteger119", AssemblyConnectors_PWP_P_main_assert_A_Unconnected_Pattern_a_Unconnected_Pattern_LiteralInteger119); + AddToElementRepository("LiteralUnlimitedNatural120", AssemblyConnectors_PWP_P_main_assert_A_Unconnected_Pattern_a_Unconnected_Pattern_LiteralUnlimitedNatural120); + AddToElementRepository("LiteralInteger121", AssemblyConnectors_PWP_P_main_assert_A_Unconnected_Pattern_a_Unconnected_Pattern_LiteralInteger121); + AddToElementRepository("ObjectFlow122", AssemblyConnectors_PWP_P_main_ObjectFlow122); + AddToElementRepository("LiteralInteger123", AssemblyConnectors_PWP_P_main_ObjectFlow122_LiteralInteger123); + AddToElementRepository("LiteralBoolean124", AssemblyConnectors_PWP_P_main_ObjectFlow122_LiteralBoolean124); + AddToElementRepository("instantiate_A_Array_Pattern", AssemblyConnectors_PWP_P_main_instantiate_A_Array_Pattern); + AddToElementRepository("a_Array_Pattern", AssemblyConnectors_PWP_P_main_instantiate_A_Array_Pattern_a_Array_Pattern); + AddToElementRepository("LiteralUnlimitedNatural125", AssemblyConnectors_PWP_P_main_instantiate_A_Array_Pattern_a_Array_Pattern_LiteralUnlimitedNatural125); + AddToElementRepository("LiteralInteger126", AssemblyConnectors_PWP_P_main_instantiate_A_Array_Pattern_a_Array_Pattern_LiteralInteger126); + AddToElementRepository("LiteralInteger127", AssemblyConnectors_PWP_P_main_instantiate_A_Array_Pattern_a_Array_Pattern_LiteralInteger127); + AddToElementRepository("assert_A_Empty_Pattern", AssemblyConnectors_PWP_P_assert_A_Empty_Pattern); + AddToElementRepository("ObjectFlow128", AssemblyConnectors_PWP_P_assert_A_Empty_Pattern_ObjectFlow128); + AddToElementRepository("LiteralBoolean129", AssemblyConnectors_PWP_P_assert_A_Empty_Pattern_ObjectFlow128_LiteralBoolean129); + AddToElementRepository("LiteralInteger130", AssemblyConnectors_PWP_P_assert_A_Empty_Pattern_ObjectFlow128_LiteralInteger130); + AddToElementRepository("a_Empty_Pattern_node", AssemblyConnectors_PWP_P_assert_A_Empty_Pattern_a_Empty_Pattern_node); + AddToElementRepository("LiteralInteger131", AssemblyConnectors_PWP_P_assert_A_Empty_Pattern_a_Empty_Pattern_node_LiteralInteger131); + AddToElementRepository("message", AssemblyConnectors_PWP_P_assert_A_Empty_Pattern_message); + AddToElementRepository("result", AssemblyConnectors_PWP_P_assert_A_Empty_Pattern_message_result); + AddToElementRepository("LiteralUnlimitedNatural132", AssemblyConnectors_PWP_P_assert_A_Empty_Pattern_message_result_LiteralUnlimitedNatural132); + AddToElementRepository("LiteralInteger133", AssemblyConnectors_PWP_P_assert_A_Empty_Pattern_message_result_LiteralInteger133); + AddToElementRepository("LiteralString134", AssemblyConnectors_PWP_P_assert_A_Empty_Pattern_message_LiteralString134); + AddToElementRepository("a_Empty_Pattern", AssemblyConnectors_PWP_P_assert_A_Empty_Pattern_a_Empty_Pattern); + AddToElementRepository("writeLine", AssemblyConnectors_PWP_P_assert_A_Empty_Pattern_writeLine); + AddToElementRepository("value", AssemblyConnectors_PWP_P_assert_A_Empty_Pattern_writeLine_value); + AddToElementRepository("LiteralInteger135", AssemblyConnectors_PWP_P_assert_A_Empty_Pattern_writeLine_value_LiteralInteger135); + AddToElementRepository("LiteralInteger136", AssemblyConnectors_PWP_P_assert_A_Empty_Pattern_writeLine_value_LiteralInteger136); + AddToElementRepository("LiteralUnlimitedNatural137", AssemblyConnectors_PWP_P_assert_A_Empty_Pattern_writeLine_value_LiteralUnlimitedNatural137); + AddToElementRepository("errorStatus", AssemblyConnectors_PWP_P_assert_A_Empty_Pattern_writeLine_errorStatus); + AddToElementRepository("LiteralInteger138", AssemblyConnectors_PWP_P_assert_A_Empty_Pattern_writeLine_errorStatus_LiteralInteger138); + AddToElementRepository("LiteralInteger139", AssemblyConnectors_PWP_P_assert_A_Empty_Pattern_writeLine_errorStatus_LiteralInteger139); + AddToElementRepository("LiteralUnlimitedNatural140", AssemblyConnectors_PWP_P_assert_A_Empty_Pattern_writeLine_errorStatus_LiteralUnlimitedNatural140); + AddToElementRepository("IImpl", AssemblyConnectors_PWP_P_IImpl); + AddToElementRepository("I_Realization", AssemblyConnectors_PWP_P_IImpl_I_Realization); + AddToElementRepository("instantiate_A_Unconnected_Pattern", AssemblyConnectors_PWP_P_instantiate_A_Unconnected_Pattern); + AddToElementRepository("ObjectFlow141", AssemblyConnectors_PWP_P_instantiate_A_Unconnected_Pattern_ObjectFlow141); + AddToElementRepository("LiteralInteger142", AssemblyConnectors_PWP_P_instantiate_A_Unconnected_Pattern_ObjectFlow141_LiteralInteger142); + AddToElementRepository("LiteralBoolean143", AssemblyConnectors_PWP_P_instantiate_A_Unconnected_Pattern_ObjectFlow141_LiteralBoolean143); + AddToElementRepository("Create A_Unconnected_Pattern", AssemblyConnectors_PWP_P_instantiate_A_Unconnected_Pattern_Create_A_Unconnected_Pattern); + AddToElementRepository("result", AssemblyConnectors_PWP_P_instantiate_A_Unconnected_Pattern_Create_A_Unconnected_Pattern_result); + AddToElementRepository("LiteralUnlimitedNatural144", AssemblyConnectors_PWP_P_instantiate_A_Unconnected_Pattern_Create_A_Unconnected_Pattern_result_LiteralUnlimitedNatural144); + AddToElementRepository("LiteralInteger145", AssemblyConnectors_PWP_P_instantiate_A_Unconnected_Pattern_Create_A_Unconnected_Pattern_result_LiteralInteger145); + AddToElementRepository("A_Unconnected_Pattern()", AssemblyConnectors_PWP_P_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern_); + AddToElementRepository("result", AssemblyConnectors_PWP_P_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern__result); + AddToElementRepository("LiteralUnlimitedNatural146", AssemblyConnectors_PWP_P_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern__result_LiteralUnlimitedNatural146); + AddToElementRepository("LiteralInteger147", AssemblyConnectors_PWP_P_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern__result_LiteralInteger147); + AddToElementRepository("LiteralInteger148", AssemblyConnectors_PWP_P_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern__result_LiteralInteger148); + AddToElementRepository("target", AssemblyConnectors_PWP_P_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern__target); + AddToElementRepository("LiteralUnlimitedNatural149", AssemblyConnectors_PWP_P_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern__target_LiteralUnlimitedNatural149); + AddToElementRepository("LiteralInteger150", AssemblyConnectors_PWP_P_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern__target_LiteralInteger150); + AddToElementRepository("a_Unconnected_Pattern", AssemblyConnectors_PWP_P_instantiate_A_Unconnected_Pattern_a_Unconnected_Pattern); + AddToElementRepository("a_Unconnected_Pattern_node", AssemblyConnectors_PWP_P_instantiate_A_Unconnected_Pattern_a_Unconnected_Pattern_node); + AddToElementRepository("ObjectFlow151", AssemblyConnectors_PWP_P_instantiate_A_Unconnected_Pattern_ObjectFlow151); + AddToElementRepository("LiteralBoolean152", AssemblyConnectors_PWP_P_instantiate_A_Unconnected_Pattern_ObjectFlow151_LiteralBoolean152); + AddToElementRepository("LiteralInteger153", AssemblyConnectors_PWP_P_instantiate_A_Unconnected_Pattern_ObjectFlow151_LiteralInteger153); + AddToElementRepository("A_Empty_Pattern", AssemblyConnectors_PWP_P_A_Empty_Pattern); + AddToElementRepository("partB", AssemblyConnectors_PWP_P_A_Empty_Pattern_partB); + AddToElementRepository("LiteralInteger154", AssemblyConnectors_PWP_P_A_Empty_Pattern_partB_LiteralInteger154); + AddToElementRepository("LiteralUnlimitedNatural155", AssemblyConnectors_PWP_P_A_Empty_Pattern_partB_LiteralUnlimitedNatural155); + AddToElementRepository("partC", AssemblyConnectors_PWP_P_A_Empty_Pattern_partC); + AddToElementRepository("LiteralInteger156", AssemblyConnectors_PWP_P_A_Empty_Pattern_partC_LiteralInteger156); + AddToElementRepository("LiteralUnlimitedNatural157", AssemblyConnectors_PWP_P_A_Empty_Pattern_partC_LiteralUnlimitedNatural157); + AddToElementRepository("A_Empty_Pattern_A_Empty_Pattern", AssemblyConnectors_PWP_P_A_Empty_Pattern_A_Empty_Pattern_A_Empty_Pattern); + AddToElementRepository("result", AssemblyConnectors_PWP_P_A_Empty_Pattern_A_Empty_Pattern_A_Empty_Pattern_result); + AddToElementRepository("r", AssemblyConnectors_PWP_P_A_Empty_Pattern_r); + AddToElementRepository("ConnectorEnd158", AssemblyConnectors_PWP_P_A_Empty_Pattern_r_ConnectorEnd158); + AddToElementRepository("connectorEnd_2_Upper", AssemblyConnectors_PWP_P_A_Empty_Pattern_r_ConnectorEnd158_connectorEnd_2_Upper); + AddToElementRepository("connectorEnd_2_Lower", AssemblyConnectors_PWP_P_A_Empty_Pattern_r_ConnectorEnd158_connectorEnd_2_Lower); + AddToElementRepository("ConnectorEnd159", AssemblyConnectors_PWP_P_A_Empty_Pattern_r_ConnectorEnd159); + AddToElementRepository("connectorEnd_1_Upper", AssemblyConnectors_PWP_P_A_Empty_Pattern_r_ConnectorEnd159_connectorEnd_1_Upper); + AddToElementRepository("connectorEnd_1_Lower", AssemblyConnectors_PWP_P_A_Empty_Pattern_r_ConnectorEnd159_connectorEnd_1_Lower); + AddToElementRepository("Comment160", AssemblyConnectors_PWP_P_A_Empty_Pattern_Comment160); + AddToElementRepository("assert_A_Unconnected_Pattern", AssemblyConnectors_PWP_P_assert_A_Unconnected_Pattern); + AddToElementRepository("ObjectFlow161", AssemblyConnectors_PWP_P_assert_A_Unconnected_Pattern_ObjectFlow161); + AddToElementRepository("LiteralInteger162", AssemblyConnectors_PWP_P_assert_A_Unconnected_Pattern_ObjectFlow161_LiteralInteger162); + AddToElementRepository("LiteralBoolean163", AssemblyConnectors_PWP_P_assert_A_Unconnected_Pattern_ObjectFlow161_LiteralBoolean163); + AddToElementRepository("writeLine", AssemblyConnectors_PWP_P_assert_A_Unconnected_Pattern_writeLine); + AddToElementRepository("errorStatus", AssemblyConnectors_PWP_P_assert_A_Unconnected_Pattern_writeLine_errorStatus); + AddToElementRepository("LiteralUnlimitedNatural164", AssemblyConnectors_PWP_P_assert_A_Unconnected_Pattern_writeLine_errorStatus_LiteralUnlimitedNatural164); + AddToElementRepository("LiteralInteger165", AssemblyConnectors_PWP_P_assert_A_Unconnected_Pattern_writeLine_errorStatus_LiteralInteger165); + AddToElementRepository("LiteralInteger166", AssemblyConnectors_PWP_P_assert_A_Unconnected_Pattern_writeLine_errorStatus_LiteralInteger166); + AddToElementRepository("value", AssemblyConnectors_PWP_P_assert_A_Unconnected_Pattern_writeLine_value); + AddToElementRepository("LiteralInteger167", AssemblyConnectors_PWP_P_assert_A_Unconnected_Pattern_writeLine_value_LiteralInteger167); + AddToElementRepository("LiteralInteger168", AssemblyConnectors_PWP_P_assert_A_Unconnected_Pattern_writeLine_value_LiteralInteger168); + AddToElementRepository("LiteralUnlimitedNatural169", AssemblyConnectors_PWP_P_assert_A_Unconnected_Pattern_writeLine_value_LiteralUnlimitedNatural169); + AddToElementRepository("a_Unconnected_Pattern", AssemblyConnectors_PWP_P_assert_A_Unconnected_Pattern_a_Unconnected_Pattern); + AddToElementRepository("a_Unconnected_Pattern_node", AssemblyConnectors_PWP_P_assert_A_Unconnected_Pattern_a_Unconnected_Pattern_node); + AddToElementRepository("LiteralInteger170", AssemblyConnectors_PWP_P_assert_A_Unconnected_Pattern_a_Unconnected_Pattern_node_LiteralInteger170); + AddToElementRepository("message", AssemblyConnectors_PWP_P_assert_A_Unconnected_Pattern_message); + AddToElementRepository("LiteralString171", AssemblyConnectors_PWP_P_assert_A_Unconnected_Pattern_message_LiteralString171); + AddToElementRepository("result", AssemblyConnectors_PWP_P_assert_A_Unconnected_Pattern_message_result); + AddToElementRepository("LiteralInteger172", AssemblyConnectors_PWP_P_assert_A_Unconnected_Pattern_message_result_LiteralInteger172); + AddToElementRepository("LiteralUnlimitedNatural173", AssemblyConnectors_PWP_P_assert_A_Unconnected_Pattern_message_result_LiteralUnlimitedNatural173); + AddToElementRepository("R", AssemblyConnectors_PWP_P_R); + AddToElementRepository("y", AssemblyConnectors_PWP_P_R_y); + AddToElementRepository("LiteralUnlimitedNatural174", AssemblyConnectors_PWP_P_R_y_LiteralUnlimitedNatural174); + AddToElementRepository("LiteralInteger175", AssemblyConnectors_PWP_P_R_y_LiteralInteger175); + AddToElementRepository("x", AssemblyConnectors_PWP_P_R_x); + AddToElementRepository("LiteralInteger176", AssemblyConnectors_PWP_P_R_x_LiteralInteger176); + AddToElementRepository("LiteralUnlimitedNatural177", AssemblyConnectors_PWP_P_R_x_LiteralUnlimitedNatural177); + + // Initialize public members + /* + * Model AssemblyConnectors_PWP_P + */ + AssemblyConnectors_PWP_P.SetName("AssemblyConnectors_PWP_P"); + AssemblyConnectors_PWP_P.SetVisibility(VisibilityKind.public_); + // Activity instantiate_A_Empty_Pattern + AssemblyConnectors_PWP_P_instantiate_A_Empty_Pattern.SetName("instantiate_A_Empty_Pattern"); + AssemblyConnectors_PWP_P_instantiate_A_Empty_Pattern.SetVisibility(VisibilityKind.public_); + + // Parameter a_Empty_Pattern + AssemblyConnectors_PWP_P_instantiate_A_Empty_Pattern_a_Empty_Pattern.SetName("a_Empty_Pattern"); + AssemblyConnectors_PWP_P_instantiate_A_Empty_Pattern_a_Empty_Pattern.SetVisibility(VisibilityKind.public_); + + AssemblyConnectors_PWP_P_instantiate_A_Empty_Pattern_a_Empty_Pattern.SetType(AssemblyConnectors_PWP_P_A_Empty_Pattern); + AssemblyConnectors_PWP_P_instantiate_A_Empty_Pattern_a_Empty_Pattern.SetDirection(ParameterDirectionKind.return_); + AssemblyConnectors_PWP_P_instantiate_A_Empty_Pattern.AddOwnedParameter(AssemblyConnectors_PWP_P_instantiate_A_Empty_Pattern_a_Empty_Pattern); + // CallOperationAction A_Empty_Pattern() + AssemblyConnectors_PWP_P_instantiate_A_Empty_Pattern_A_Empty_Pattern_.SetName("A_Empty_Pattern()"); + AssemblyConnectors_PWP_P_instantiate_A_Empty_Pattern_A_Empty_Pattern_.SetVisibility(VisibilityKind.public_); + + // OutputPin result + AssemblyConnectors_PWP_P_instantiate_A_Empty_Pattern_A_Empty_Pattern__result.SetName("result"); + AssemblyConnectors_PWP_P_instantiate_A_Empty_Pattern_A_Empty_Pattern__result.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_PWP_P_instantiate_A_Empty_Pattern_A_Empty_Pattern__result.SetType(AssemblyConnectors_PWP_P_A_Empty_Pattern); + AssemblyConnectors_PWP_P_instantiate_A_Empty_Pattern_A_Empty_Pattern_.AddResult(AssemblyConnectors_PWP_P_instantiate_A_Empty_Pattern_A_Empty_Pattern__result); + AssemblyConnectors_PWP_P_instantiate_A_Empty_Pattern_A_Empty_Pattern_.SetOperation(AssemblyConnectors_PWP_P_A_Empty_Pattern_A_Empty_Pattern_A_Empty_Pattern); + // InputPin target + AssemblyConnectors_PWP_P_instantiate_A_Empty_Pattern_A_Empty_Pattern__target.SetName("target"); + AssemblyConnectors_PWP_P_instantiate_A_Empty_Pattern_A_Empty_Pattern__target.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_PWP_P_instantiate_A_Empty_Pattern_A_Empty_Pattern__target.SetType(AssemblyConnectors_PWP_P_A_Empty_Pattern); + AssemblyConnectors_PWP_P_instantiate_A_Empty_Pattern_A_Empty_Pattern_.SetTarget(AssemblyConnectors_PWP_P_instantiate_A_Empty_Pattern_A_Empty_Pattern__target); + AssemblyConnectors_PWP_P_instantiate_A_Empty_Pattern.AddNode(AssemblyConnectors_PWP_P_instantiate_A_Empty_Pattern_A_Empty_Pattern_); + // ActivityParameterNode a_Empty_Pattern_node + AssemblyConnectors_PWP_P_instantiate_A_Empty_Pattern_a_Empty_Pattern_node.SetName("a_Empty_Pattern_node"); + AssemblyConnectors_PWP_P_instantiate_A_Empty_Pattern_a_Empty_Pattern_node.SetVisibility(VisibilityKind.public_); + + AssemblyConnectors_PWP_P_instantiate_A_Empty_Pattern_a_Empty_Pattern_node.SetParameter(AssemblyConnectors_PWP_P_instantiate_A_Empty_Pattern_a_Empty_Pattern); + AssemblyConnectors_PWP_P_instantiate_A_Empty_Pattern.AddNode(AssemblyConnectors_PWP_P_instantiate_A_Empty_Pattern_a_Empty_Pattern_node); + // CreateObjectAction Create A_Empty_Pattern + AssemblyConnectors_PWP_P_instantiate_A_Empty_Pattern_Create_A_Empty_Pattern.SetName("Create A_Empty_Pattern"); + AssemblyConnectors_PWP_P_instantiate_A_Empty_Pattern_Create_A_Empty_Pattern.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_PWP_P_instantiate_A_Empty_Pattern_Create_A_Empty_Pattern.SetClassifier(AssemblyConnectors_PWP_P_A_Empty_Pattern); + // OutputPin result + AssemblyConnectors_PWP_P_instantiate_A_Empty_Pattern_Create_A_Empty_Pattern_result.SetName("result"); + AssemblyConnectors_PWP_P_instantiate_A_Empty_Pattern_Create_A_Empty_Pattern_result.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_PWP_P_instantiate_A_Empty_Pattern_Create_A_Empty_Pattern_result.SetType(AssemblyConnectors_PWP_P_A_Empty_Pattern); + AssemblyConnectors_PWP_P_instantiate_A_Empty_Pattern_Create_A_Empty_Pattern.SetResult(AssemblyConnectors_PWP_P_instantiate_A_Empty_Pattern_Create_A_Empty_Pattern_result); + AssemblyConnectors_PWP_P_instantiate_A_Empty_Pattern.AddNode(AssemblyConnectors_PWP_P_instantiate_A_Empty_Pattern_Create_A_Empty_Pattern); + // ObjectFlow ObjectFlow5 from result to target + AssemblyConnectors_PWP_P_instantiate_A_Empty_Pattern_ObjectFlow5.SetName("ObjectFlow5"); + AssemblyConnectors_PWP_P_instantiate_A_Empty_Pattern_ObjectFlow5.SetVisibility(VisibilityKind.public_); + + AssemblyConnectors_PWP_P_instantiate_A_Empty_Pattern_ObjectFlow5.SetSource(AssemblyConnectors_PWP_P_instantiate_A_Empty_Pattern_Create_A_Empty_Pattern_result); + AssemblyConnectors_PWP_P_instantiate_A_Empty_Pattern_ObjectFlow5.SetTarget(AssemblyConnectors_PWP_P_instantiate_A_Empty_Pattern_A_Empty_Pattern__target); + // LiteralBoolean LiteralBoolean6 + AssemblyConnectors_PWP_P_instantiate_A_Empty_Pattern_ObjectFlow5_LiteralBoolean6.SetName("LiteralBoolean6"); + AssemblyConnectors_PWP_P_instantiate_A_Empty_Pattern_ObjectFlow5_LiteralBoolean6.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_PWP_P_instantiate_A_Empty_Pattern_ObjectFlow5_LiteralBoolean6.SetValue(true); + AssemblyConnectors_PWP_P_instantiate_A_Empty_Pattern_ObjectFlow5.SetGuard(AssemblyConnectors_PWP_P_instantiate_A_Empty_Pattern_ObjectFlow5_LiteralBoolean6); + AssemblyConnectors_PWP_P_instantiate_A_Empty_Pattern.AddEdge(AssemblyConnectors_PWP_P_instantiate_A_Empty_Pattern_ObjectFlow5); + // ObjectFlow ObjectFlow8 from result to a_Empty_Pattern_node + AssemblyConnectors_PWP_P_instantiate_A_Empty_Pattern_ObjectFlow8.SetName("ObjectFlow8"); + AssemblyConnectors_PWP_P_instantiate_A_Empty_Pattern_ObjectFlow8.SetVisibility(VisibilityKind.public_); + + AssemblyConnectors_PWP_P_instantiate_A_Empty_Pattern_ObjectFlow8.SetSource(AssemblyConnectors_PWP_P_instantiate_A_Empty_Pattern_A_Empty_Pattern__result); + AssemblyConnectors_PWP_P_instantiate_A_Empty_Pattern_ObjectFlow8.SetTarget(AssemblyConnectors_PWP_P_instantiate_A_Empty_Pattern_a_Empty_Pattern_node); + // LiteralBoolean LiteralBoolean10 + AssemblyConnectors_PWP_P_instantiate_A_Empty_Pattern_ObjectFlow8_LiteralBoolean10.SetName("LiteralBoolean10"); + AssemblyConnectors_PWP_P_instantiate_A_Empty_Pattern_ObjectFlow8_LiteralBoolean10.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_PWP_P_instantiate_A_Empty_Pattern_ObjectFlow8_LiteralBoolean10.SetValue(true); + AssemblyConnectors_PWP_P_instantiate_A_Empty_Pattern_ObjectFlow8.SetGuard(AssemblyConnectors_PWP_P_instantiate_A_Empty_Pattern_ObjectFlow8_LiteralBoolean10); + AssemblyConnectors_PWP_P_instantiate_A_Empty_Pattern.AddEdge(AssemblyConnectors_PWP_P_instantiate_A_Empty_Pattern_ObjectFlow8); + AssemblyConnectors_PWP_P.AddPackagedElement(AssemblyConnectors_PWP_P_instantiate_A_Empty_Pattern); + // Activity assert_A_Star_Pattern + AssemblyConnectors_PWP_P_assert_A_Star_Pattern.SetName("assert_A_Star_Pattern"); + AssemblyConnectors_PWP_P_assert_A_Star_Pattern.SetVisibility(VisibilityKind.public_); + + // Parameter a_Star_Pattern + AssemblyConnectors_PWP_P_assert_A_Star_Pattern_a_Star_Pattern.SetName("a_Star_Pattern"); + AssemblyConnectors_PWP_P_assert_A_Star_Pattern_a_Star_Pattern.SetVisibility(VisibilityKind.public_); + + AssemblyConnectors_PWP_P_assert_A_Star_Pattern_a_Star_Pattern.SetType(AssemblyConnectors_PWP_P_A_Star_Pattern); + AssemblyConnectors_PWP_P_assert_A_Star_Pattern.AddOwnedParameter(AssemblyConnectors_PWP_P_assert_A_Star_Pattern_a_Star_Pattern); + // ActivityParameterNode a_Star_Pattern_node + AssemblyConnectors_PWP_P_assert_A_Star_Pattern_a_Star_Pattern_node.SetName("a_Star_Pattern_node"); + AssemblyConnectors_PWP_P_assert_A_Star_Pattern_a_Star_Pattern_node.SetVisibility(VisibilityKind.public_); + + AssemblyConnectors_PWP_P_assert_A_Star_Pattern_a_Star_Pattern_node.SetParameter(AssemblyConnectors_PWP_P_assert_A_Star_Pattern_a_Star_Pattern); + AssemblyConnectors_PWP_P_assert_A_Star_Pattern.AddNode(AssemblyConnectors_PWP_P_assert_A_Star_Pattern_a_Star_Pattern_node); + // ValueSpecificationAction message + AssemblyConnectors_PWP_P_assert_A_Star_Pattern_message.SetName("message"); + AssemblyConnectors_PWP_P_assert_A_Star_Pattern_message.SetVisibility(VisibilityKind.public_); + // LiteralString LiteralString17 + AssemblyConnectors_PWP_P_assert_A_Star_Pattern_message_LiteralString17.SetName("LiteralString17"); + AssemblyConnectors_PWP_P_assert_A_Star_Pattern_message_LiteralString17.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_PWP_P_assert_A_Star_Pattern_message_LiteralString17.SetValue("Assertion currently not implemented for A_Star_Pattern."); + AssemblyConnectors_PWP_P_assert_A_Star_Pattern_message.SetValue(AssemblyConnectors_PWP_P_assert_A_Star_Pattern_message_LiteralString17); + // OutputPin result + AssemblyConnectors_PWP_P_assert_A_Star_Pattern_message_result.SetName("result"); + AssemblyConnectors_PWP_P_assert_A_Star_Pattern_message_result.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_PWP_P_assert_A_Star_Pattern_message_result.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_String); + AssemblyConnectors_PWP_P_assert_A_Star_Pattern_message.SetResult(AssemblyConnectors_PWP_P_assert_A_Star_Pattern_message_result); + AssemblyConnectors_PWP_P_assert_A_Star_Pattern.AddNode(AssemblyConnectors_PWP_P_assert_A_Star_Pattern_message); + // CallBehaviorAction writeLine + AssemblyConnectors_PWP_P_assert_A_Star_Pattern_writeLine.SetName("writeLine"); + AssemblyConnectors_PWP_P_assert_A_Star_Pattern_writeLine.SetVisibility(VisibilityKind.public_); + + // OutputPin errorStatus + AssemblyConnectors_PWP_P_assert_A_Star_Pattern_writeLine_errorStatus.SetName("errorStatus"); + AssemblyConnectors_PWP_P_assert_A_Star_Pattern_writeLine_errorStatus.SetVisibility(VisibilityKind.public_); + + AssemblyConnectors_PWP_P_assert_A_Star_Pattern_writeLine_errorStatus.SetLower(0); + AssemblyConnectors_PWP_P_assert_A_Star_Pattern_writeLine.AddResult(AssemblyConnectors_PWP_P_assert_A_Star_Pattern_writeLine_errorStatus); + AssemblyConnectors_PWP_P_assert_A_Star_Pattern_writeLine.SetBehavior(FoundationalModelLibraryModel.Instance().FoundationalModelLibrary_BasicInputOutput_WriteLine); + // InputPin value + AssemblyConnectors_PWP_P_assert_A_Star_Pattern_writeLine_value.SetName("value"); + AssemblyConnectors_PWP_P_assert_A_Star_Pattern_writeLine_value.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_PWP_P_assert_A_Star_Pattern_writeLine_value.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_String); + AssemblyConnectors_PWP_P_assert_A_Star_Pattern_writeLine.AddArgument(AssemblyConnectors_PWP_P_assert_A_Star_Pattern_writeLine_value); + AssemblyConnectors_PWP_P_assert_A_Star_Pattern.AddNode(AssemblyConnectors_PWP_P_assert_A_Star_Pattern_writeLine); + // ObjectFlow ObjectFlow14 from result to value + AssemblyConnectors_PWP_P_assert_A_Star_Pattern_ObjectFlow14.SetName("ObjectFlow14"); + AssemblyConnectors_PWP_P_assert_A_Star_Pattern_ObjectFlow14.SetVisibility(VisibilityKind.public_); + + AssemblyConnectors_PWP_P_assert_A_Star_Pattern_ObjectFlow14.SetSource(AssemblyConnectors_PWP_P_assert_A_Star_Pattern_message_result); + AssemblyConnectors_PWP_P_assert_A_Star_Pattern_ObjectFlow14.SetTarget(AssemblyConnectors_PWP_P_assert_A_Star_Pattern_writeLine_value); + // LiteralBoolean LiteralBoolean15 + AssemblyConnectors_PWP_P_assert_A_Star_Pattern_ObjectFlow14_LiteralBoolean15.SetName("LiteralBoolean15"); + AssemblyConnectors_PWP_P_assert_A_Star_Pattern_ObjectFlow14_LiteralBoolean15.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_PWP_P_assert_A_Star_Pattern_ObjectFlow14_LiteralBoolean15.SetValue(true); + AssemblyConnectors_PWP_P_assert_A_Star_Pattern_ObjectFlow14.SetGuard(AssemblyConnectors_PWP_P_assert_A_Star_Pattern_ObjectFlow14_LiteralBoolean15); + AssemblyConnectors_PWP_P_assert_A_Star_Pattern.AddEdge(AssemblyConnectors_PWP_P_assert_A_Star_Pattern_ObjectFlow14); + AssemblyConnectors_PWP_P.AddPackagedElement(AssemblyConnectors_PWP_P_assert_A_Star_Pattern); + // Class C + AssemblyConnectors_PWP_P_C.SetName("C"); + AssemblyConnectors_PWP_P_C.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_PWP_P.AddPackagedElement(AssemblyConnectors_PWP_P_C); + // Activity instantiate_A_Star_Pattern + AssemblyConnectors_PWP_P_instantiate_A_Star_Pattern.SetName("instantiate_A_Star_Pattern"); + AssemblyConnectors_PWP_P_instantiate_A_Star_Pattern.SetVisibility(VisibilityKind.public_); + + // Parameter a_Star_Pattern + AssemblyConnectors_PWP_P_instantiate_A_Star_Pattern_a_Star_Pattern.SetName("a_Star_Pattern"); + AssemblyConnectors_PWP_P_instantiate_A_Star_Pattern_a_Star_Pattern.SetVisibility(VisibilityKind.public_); + + AssemblyConnectors_PWP_P_instantiate_A_Star_Pattern_a_Star_Pattern.SetType(AssemblyConnectors_PWP_P_A_Star_Pattern); + AssemblyConnectors_PWP_P_instantiate_A_Star_Pattern_a_Star_Pattern.SetDirection(ParameterDirectionKind.return_); + AssemblyConnectors_PWP_P_instantiate_A_Star_Pattern.AddOwnedParameter(AssemblyConnectors_PWP_P_instantiate_A_Star_Pattern_a_Star_Pattern); + // ActivityParameterNode a_Star_Pattern_node + AssemblyConnectors_PWP_P_instantiate_A_Star_Pattern_a_Star_Pattern_node.SetName("a_Star_Pattern_node"); + AssemblyConnectors_PWP_P_instantiate_A_Star_Pattern_a_Star_Pattern_node.SetVisibility(VisibilityKind.public_); + + AssemblyConnectors_PWP_P_instantiate_A_Star_Pattern_a_Star_Pattern_node.SetParameter(AssemblyConnectors_PWP_P_instantiate_A_Star_Pattern_a_Star_Pattern); + AssemblyConnectors_PWP_P_instantiate_A_Star_Pattern.AddNode(AssemblyConnectors_PWP_P_instantiate_A_Star_Pattern_a_Star_Pattern_node); + // CreateObjectAction Create A_Star_Pattern + AssemblyConnectors_PWP_P_instantiate_A_Star_Pattern_Create_A_Star_Pattern.SetName("Create A_Star_Pattern"); + AssemblyConnectors_PWP_P_instantiate_A_Star_Pattern_Create_A_Star_Pattern.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_PWP_P_instantiate_A_Star_Pattern_Create_A_Star_Pattern.SetClassifier(AssemblyConnectors_PWP_P_A_Star_Pattern); + // OutputPin result + AssemblyConnectors_PWP_P_instantiate_A_Star_Pattern_Create_A_Star_Pattern_result.SetName("result"); + AssemblyConnectors_PWP_P_instantiate_A_Star_Pattern_Create_A_Star_Pattern_result.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_PWP_P_instantiate_A_Star_Pattern_Create_A_Star_Pattern_result.SetType(AssemblyConnectors_PWP_P_A_Star_Pattern); + AssemblyConnectors_PWP_P_instantiate_A_Star_Pattern_Create_A_Star_Pattern.SetResult(AssemblyConnectors_PWP_P_instantiate_A_Star_Pattern_Create_A_Star_Pattern_result); + AssemblyConnectors_PWP_P_instantiate_A_Star_Pattern.AddNode(AssemblyConnectors_PWP_P_instantiate_A_Star_Pattern_Create_A_Star_Pattern); + // CallOperationAction A_Star_Pattern() + AssemblyConnectors_PWP_P_instantiate_A_Star_Pattern_A_Star_Pattern_.SetName("A_Star_Pattern()"); + AssemblyConnectors_PWP_P_instantiate_A_Star_Pattern_A_Star_Pattern_.SetVisibility(VisibilityKind.public_); + + // OutputPin result + AssemblyConnectors_PWP_P_instantiate_A_Star_Pattern_A_Star_Pattern__result.SetName("result"); + AssemblyConnectors_PWP_P_instantiate_A_Star_Pattern_A_Star_Pattern__result.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_PWP_P_instantiate_A_Star_Pattern_A_Star_Pattern__result.SetType(AssemblyConnectors_PWP_P_A_Star_Pattern); + AssemblyConnectors_PWP_P_instantiate_A_Star_Pattern_A_Star_Pattern_.AddResult(AssemblyConnectors_PWP_P_instantiate_A_Star_Pattern_A_Star_Pattern__result); + AssemblyConnectors_PWP_P_instantiate_A_Star_Pattern_A_Star_Pattern_.SetOperation(AssemblyConnectors_PWP_P_A_Star_Pattern_A_Star_Pattern_A_Star_Pattern); + // InputPin target + AssemblyConnectors_PWP_P_instantiate_A_Star_Pattern_A_Star_Pattern__target.SetName("target"); + AssemblyConnectors_PWP_P_instantiate_A_Star_Pattern_A_Star_Pattern__target.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_PWP_P_instantiate_A_Star_Pattern_A_Star_Pattern__target.SetType(AssemblyConnectors_PWP_P_A_Star_Pattern); + AssemblyConnectors_PWP_P_instantiate_A_Star_Pattern_A_Star_Pattern_.SetTarget(AssemblyConnectors_PWP_P_instantiate_A_Star_Pattern_A_Star_Pattern__target); + AssemblyConnectors_PWP_P_instantiate_A_Star_Pattern.AddNode(AssemblyConnectors_PWP_P_instantiate_A_Star_Pattern_A_Star_Pattern_); + // ObjectFlow ObjectFlow33 from result to target + AssemblyConnectors_PWP_P_instantiate_A_Star_Pattern_ObjectFlow33.SetName("ObjectFlow33"); + AssemblyConnectors_PWP_P_instantiate_A_Star_Pattern_ObjectFlow33.SetVisibility(VisibilityKind.public_); + + AssemblyConnectors_PWP_P_instantiate_A_Star_Pattern_ObjectFlow33.SetSource(AssemblyConnectors_PWP_P_instantiate_A_Star_Pattern_Create_A_Star_Pattern_result); + AssemblyConnectors_PWP_P_instantiate_A_Star_Pattern_ObjectFlow33.SetTarget(AssemblyConnectors_PWP_P_instantiate_A_Star_Pattern_A_Star_Pattern__target); + // LiteralBoolean LiteralBoolean35 + AssemblyConnectors_PWP_P_instantiate_A_Star_Pattern_ObjectFlow33_LiteralBoolean35.SetName("LiteralBoolean35"); + AssemblyConnectors_PWP_P_instantiate_A_Star_Pattern_ObjectFlow33_LiteralBoolean35.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_PWP_P_instantiate_A_Star_Pattern_ObjectFlow33_LiteralBoolean35.SetValue(true); + AssemblyConnectors_PWP_P_instantiate_A_Star_Pattern_ObjectFlow33.SetGuard(AssemblyConnectors_PWP_P_instantiate_A_Star_Pattern_ObjectFlow33_LiteralBoolean35); + AssemblyConnectors_PWP_P_instantiate_A_Star_Pattern.AddEdge(AssemblyConnectors_PWP_P_instantiate_A_Star_Pattern_ObjectFlow33); + // ObjectFlow ObjectFlow36 from result to a_Star_Pattern_node + AssemblyConnectors_PWP_P_instantiate_A_Star_Pattern_ObjectFlow36.SetName("ObjectFlow36"); + AssemblyConnectors_PWP_P_instantiate_A_Star_Pattern_ObjectFlow36.SetVisibility(VisibilityKind.public_); + + AssemblyConnectors_PWP_P_instantiate_A_Star_Pattern_ObjectFlow36.SetSource(AssemblyConnectors_PWP_P_instantiate_A_Star_Pattern_A_Star_Pattern__result); + AssemblyConnectors_PWP_P_instantiate_A_Star_Pattern_ObjectFlow36.SetTarget(AssemblyConnectors_PWP_P_instantiate_A_Star_Pattern_a_Star_Pattern_node); + // LiteralBoolean LiteralBoolean37 + AssemblyConnectors_PWP_P_instantiate_A_Star_Pattern_ObjectFlow36_LiteralBoolean37.SetName("LiteralBoolean37"); + AssemblyConnectors_PWP_P_instantiate_A_Star_Pattern_ObjectFlow36_LiteralBoolean37.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_PWP_P_instantiate_A_Star_Pattern_ObjectFlow36_LiteralBoolean37.SetValue(true); + AssemblyConnectors_PWP_P_instantiate_A_Star_Pattern_ObjectFlow36.SetGuard(AssemblyConnectors_PWP_P_instantiate_A_Star_Pattern_ObjectFlow36_LiteralBoolean37); + AssemblyConnectors_PWP_P_instantiate_A_Star_Pattern.AddEdge(AssemblyConnectors_PWP_P_instantiate_A_Star_Pattern_ObjectFlow36); + AssemblyConnectors_PWP_P.AddPackagedElement(AssemblyConnectors_PWP_P_instantiate_A_Star_Pattern); + // Class B + AssemblyConnectors_PWP_P_B.SetName("B"); + AssemblyConnectors_PWP_P_B.SetVisibility(VisibilityKind.public_); + + // Port p + AssemblyConnectors_PWP_P_B_p.SetName("p"); + AssemblyConnectors_PWP_P_B_p.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_PWP_P_B_p.SetUpper(-1); + AssemblyConnectors_PWP_P_B_p.SetLower(2); + AssemblyConnectors_PWP_P_B_p.SetType(AssemblyConnectors_PWP_P_IImpl); + AssemblyConnectors_PWP_P_B_p.SetAggregation(AggregationKind.composite); + AssemblyConnectors_PWP_P_B_p.isService = true; + AssemblyConnectors_PWP_P_B_p.AddProvided(AssemblyConnectors_PWP_P_I); + AssemblyConnectors_PWP_P_B.AddOwnedAttribute(AssemblyConnectors_PWP_P_B_p); + AssemblyConnectors_PWP_P.AddPackagedElement(AssemblyConnectors_PWP_P_B); + // Class A_Star_Pattern + AssemblyConnectors_PWP_P_A_Star_Pattern.SetName("A_Star_Pattern"); + AssemblyConnectors_PWP_P_A_Star_Pattern.SetVisibility(VisibilityKind.public_); + + // Property partB + AssemblyConnectors_PWP_P_A_Star_Pattern_partB.SetName("partB"); + AssemblyConnectors_PWP_P_A_Star_Pattern_partB.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_PWP_P_A_Star_Pattern_partB.SetUpper(-1); + AssemblyConnectors_PWP_P_A_Star_Pattern_partB.SetLower(2); + AssemblyConnectors_PWP_P_A_Star_Pattern_partB.SetType(AssemblyConnectors_PWP_P_B); + AssemblyConnectors_PWP_P_A_Star_Pattern_partB.SetAggregation(AggregationKind.composite); + AssemblyConnectors_PWP_P_A_Star_Pattern.AddOwnedAttribute(AssemblyConnectors_PWP_P_A_Star_Pattern_partB); + // Property partC + AssemblyConnectors_PWP_P_A_Star_Pattern_partC.SetName("partC"); + AssemblyConnectors_PWP_P_A_Star_Pattern_partC.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_PWP_P_A_Star_Pattern_partC.SetUpper(-1); + AssemblyConnectors_PWP_P_A_Star_Pattern_partC.SetLower(5); + AssemblyConnectors_PWP_P_A_Star_Pattern_partC.SetType(AssemblyConnectors_PWP_P_C); + AssemblyConnectors_PWP_P_A_Star_Pattern_partC.SetAggregation(AggregationKind.composite); + AssemblyConnectors_PWP_P_A_Star_Pattern.AddOwnedAttribute(AssemblyConnectors_PWP_P_A_Star_Pattern_partC); + + AssemblyConnectors_PWP_P_A_Star_Pattern_r.SetName("r"); + AssemblyConnectors_PWP_P_A_Star_Pattern_r.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_PWP_P_A_Star_Pattern_r_ConnectorEnd45.SetUpper(-1); + AssemblyConnectors_PWP_P_A_Star_Pattern_r_ConnectorEnd45.SetLower(4); + AssemblyConnectors_PWP_P_A_Star_Pattern_r_ConnectorEnd45.SetRole(AssemblyConnectors_PWP_P_B_p); + AssemblyConnectors_PWP_P_A_Star_Pattern_r_ConnectorEnd45.SetPartWithPort(AssemblyConnectors_PWP_P_A_Star_Pattern_partB); + + AssemblyConnectors_PWP_P_A_Star_Pattern_r.AddEnd(AssemblyConnectors_PWP_P_A_Star_Pattern_r_ConnectorEnd45); + AssemblyConnectors_PWP_P_A_Star_Pattern_r_ConnectorEnd44.SetUpper(-1); + AssemblyConnectors_PWP_P_A_Star_Pattern_r_ConnectorEnd44.SetLower(5); + AssemblyConnectors_PWP_P_A_Star_Pattern_r_ConnectorEnd44.SetRole(AssemblyConnectors_PWP_P_A_Star_Pattern_partC); + + AssemblyConnectors_PWP_P_A_Star_Pattern_r.AddEnd(AssemblyConnectors_PWP_P_A_Star_Pattern_r_ConnectorEnd44); + AssemblyConnectors_PWP_P_A_Star_Pattern_r.SetType(AssemblyConnectors_PWP_P_R); + AssemblyConnectors_PWP_P_A_Star_Pattern.AddOwnedConnector(AssemblyConnectors_PWP_P_A_Star_Pattern_r); + // Operation A_Star_Pattern_A_Star_Pattern + AssemblyConnectors_PWP_P_A_Star_Pattern_A_Star_Pattern_A_Star_Pattern.SetName("A_Star_Pattern_A_Star_Pattern"); + AssemblyConnectors_PWP_P_A_Star_Pattern_A_Star_Pattern_A_Star_Pattern.SetVisibility(VisibilityKind.public_); + // Parameter result + AssemblyConnectors_PWP_P_A_Star_Pattern_A_Star_Pattern_A_Star_Pattern_result.SetName("result"); + AssemblyConnectors_PWP_P_A_Star_Pattern_A_Star_Pattern_A_Star_Pattern_result.SetVisibility(VisibilityKind.public_); + + AssemblyConnectors_PWP_P_A_Star_Pattern_A_Star_Pattern_A_Star_Pattern_result.SetType(AssemblyConnectors_PWP_P_A_Star_Pattern); + AssemblyConnectors_PWP_P_A_Star_Pattern_A_Star_Pattern_A_Star_Pattern_result.SetDirection(ParameterDirectionKind.return_); + AssemblyConnectors_PWP_P_A_Star_Pattern_A_Star_Pattern_A_Star_Pattern.AddOwnedParameter(AssemblyConnectors_PWP_P_A_Star_Pattern_A_Star_Pattern_A_Star_Pattern_result); + AssemblyConnectors_PWP_P_A_Star_Pattern_A_Star_Pattern_A_Star_Pattern.ApplyStereotype(uml.standardprofile.StandardProfileModel.Instance().Stereotype_Create); + AssemblyConnectors_PWP_P_A_Star_Pattern.AddOwnedOperation(AssemblyConnectors_PWP_P_A_Star_Pattern_A_Star_Pattern_A_Star_Pattern); + AssemblyConnectors_PWP_P.AddPackagedElement(AssemblyConnectors_PWP_P_A_Star_Pattern); + // Activity assert_A_Array_Pattern + AssemblyConnectors_PWP_P_assert_A_Array_Pattern.SetName("assert_A_Array_Pattern"); + AssemblyConnectors_PWP_P_assert_A_Array_Pattern.SetVisibility(VisibilityKind.public_); + + // Parameter a_Array_Pattern + AssemblyConnectors_PWP_P_assert_A_Array_Pattern_a_Array_Pattern.SetName("a_Array_Pattern"); + AssemblyConnectors_PWP_P_assert_A_Array_Pattern_a_Array_Pattern.SetVisibility(VisibilityKind.public_); + + AssemblyConnectors_PWP_P_assert_A_Array_Pattern_a_Array_Pattern.SetType(AssemblyConnectors_PWP_P_A_Array_Pattern); + AssemblyConnectors_PWP_P_assert_A_Array_Pattern.AddOwnedParameter(AssemblyConnectors_PWP_P_assert_A_Array_Pattern_a_Array_Pattern); + // ValueSpecificationAction message + AssemblyConnectors_PWP_P_assert_A_Array_Pattern_message.SetName("message"); + AssemblyConnectors_PWP_P_assert_A_Array_Pattern_message.SetVisibility(VisibilityKind.public_); + // LiteralString LiteralString50 + AssemblyConnectors_PWP_P_assert_A_Array_Pattern_message_LiteralString50.SetName("LiteralString50"); + AssemblyConnectors_PWP_P_assert_A_Array_Pattern_message_LiteralString50.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_PWP_P_assert_A_Array_Pattern_message_LiteralString50.SetValue("Assertion currently not implemented for A_Array_Pattern."); + AssemblyConnectors_PWP_P_assert_A_Array_Pattern_message.SetValue(AssemblyConnectors_PWP_P_assert_A_Array_Pattern_message_LiteralString50); + // OutputPin result + AssemblyConnectors_PWP_P_assert_A_Array_Pattern_message_result.SetName("result"); + AssemblyConnectors_PWP_P_assert_A_Array_Pattern_message_result.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_PWP_P_assert_A_Array_Pattern_message_result.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_String); + AssemblyConnectors_PWP_P_assert_A_Array_Pattern_message.SetResult(AssemblyConnectors_PWP_P_assert_A_Array_Pattern_message_result); + AssemblyConnectors_PWP_P_assert_A_Array_Pattern.AddNode(AssemblyConnectors_PWP_P_assert_A_Array_Pattern_message); + // CallBehaviorAction writeLine + AssemblyConnectors_PWP_P_assert_A_Array_Pattern_writeLine.SetName("writeLine"); + AssemblyConnectors_PWP_P_assert_A_Array_Pattern_writeLine.SetVisibility(VisibilityKind.public_); + + // OutputPin errorStatus + AssemblyConnectors_PWP_P_assert_A_Array_Pattern_writeLine_errorStatus.SetName("errorStatus"); + AssemblyConnectors_PWP_P_assert_A_Array_Pattern_writeLine_errorStatus.SetVisibility(VisibilityKind.public_); + + AssemblyConnectors_PWP_P_assert_A_Array_Pattern_writeLine_errorStatus.SetLower(0); + AssemblyConnectors_PWP_P_assert_A_Array_Pattern_writeLine.AddResult(AssemblyConnectors_PWP_P_assert_A_Array_Pattern_writeLine_errorStatus); + AssemblyConnectors_PWP_P_assert_A_Array_Pattern_writeLine.SetBehavior(FoundationalModelLibraryModel.Instance().FoundationalModelLibrary_BasicInputOutput_WriteLine); + // InputPin value + AssemblyConnectors_PWP_P_assert_A_Array_Pattern_writeLine_value.SetName("value"); + AssemblyConnectors_PWP_P_assert_A_Array_Pattern_writeLine_value.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_PWP_P_assert_A_Array_Pattern_writeLine_value.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_String); + AssemblyConnectors_PWP_P_assert_A_Array_Pattern_writeLine.AddArgument(AssemblyConnectors_PWP_P_assert_A_Array_Pattern_writeLine_value); + AssemblyConnectors_PWP_P_assert_A_Array_Pattern.AddNode(AssemblyConnectors_PWP_P_assert_A_Array_Pattern_writeLine); + // ActivityParameterNode a_Array_Pattern_node + AssemblyConnectors_PWP_P_assert_A_Array_Pattern_a_Array_Pattern_node.SetName("a_Array_Pattern_node"); + AssemblyConnectors_PWP_P_assert_A_Array_Pattern_a_Array_Pattern_node.SetVisibility(VisibilityKind.public_); + + AssemblyConnectors_PWP_P_assert_A_Array_Pattern_a_Array_Pattern_node.SetParameter(AssemblyConnectors_PWP_P_assert_A_Array_Pattern_a_Array_Pattern); + AssemblyConnectors_PWP_P_assert_A_Array_Pattern.AddNode(AssemblyConnectors_PWP_P_assert_A_Array_Pattern_a_Array_Pattern_node); + // ObjectFlow ObjectFlow58 from result to value + AssemblyConnectors_PWP_P_assert_A_Array_Pattern_ObjectFlow58.SetName("ObjectFlow58"); + AssemblyConnectors_PWP_P_assert_A_Array_Pattern_ObjectFlow58.SetVisibility(VisibilityKind.public_); + + AssemblyConnectors_PWP_P_assert_A_Array_Pattern_ObjectFlow58.SetSource(AssemblyConnectors_PWP_P_assert_A_Array_Pattern_message_result); + AssemblyConnectors_PWP_P_assert_A_Array_Pattern_ObjectFlow58.SetTarget(AssemblyConnectors_PWP_P_assert_A_Array_Pattern_writeLine_value); + // LiteralBoolean LiteralBoolean60 + AssemblyConnectors_PWP_P_assert_A_Array_Pattern_ObjectFlow58_LiteralBoolean60.SetName("LiteralBoolean60"); + AssemblyConnectors_PWP_P_assert_A_Array_Pattern_ObjectFlow58_LiteralBoolean60.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_PWP_P_assert_A_Array_Pattern_ObjectFlow58_LiteralBoolean60.SetValue(true); + AssemblyConnectors_PWP_P_assert_A_Array_Pattern_ObjectFlow58.SetGuard(AssemblyConnectors_PWP_P_assert_A_Array_Pattern_ObjectFlow58_LiteralBoolean60); + AssemblyConnectors_PWP_P_assert_A_Array_Pattern.AddEdge(AssemblyConnectors_PWP_P_assert_A_Array_Pattern_ObjectFlow58); + AssemblyConnectors_PWP_P.AddPackagedElement(AssemblyConnectors_PWP_P_assert_A_Array_Pattern); + // Activity instantiate_A_Array_Pattern + AssemblyConnectors_PWP_P_instantiate_A_Array_Pattern.SetName("instantiate_A_Array_Pattern"); + AssemblyConnectors_PWP_P_instantiate_A_Array_Pattern.SetVisibility(VisibilityKind.public_); + + // Parameter a_Array_Pattern + AssemblyConnectors_PWP_P_instantiate_A_Array_Pattern_a_Array_Pattern.SetName("a_Array_Pattern"); + AssemblyConnectors_PWP_P_instantiate_A_Array_Pattern_a_Array_Pattern.SetVisibility(VisibilityKind.public_); + + AssemblyConnectors_PWP_P_instantiate_A_Array_Pattern_a_Array_Pattern.SetType(AssemblyConnectors_PWP_P_A_Array_Pattern); + AssemblyConnectors_PWP_P_instantiate_A_Array_Pattern_a_Array_Pattern.SetDirection(ParameterDirectionKind.return_); + AssemblyConnectors_PWP_P_instantiate_A_Array_Pattern.AddOwnedParameter(AssemblyConnectors_PWP_P_instantiate_A_Array_Pattern_a_Array_Pattern); + // ActivityParameterNode a_Array_Pattern_node + AssemblyConnectors_PWP_P_instantiate_A_Array_Pattern_a_Array_Pattern_node.SetName("a_Array_Pattern_node"); + AssemblyConnectors_PWP_P_instantiate_A_Array_Pattern_a_Array_Pattern_node.SetVisibility(VisibilityKind.public_); + + AssemblyConnectors_PWP_P_instantiate_A_Array_Pattern_a_Array_Pattern_node.SetParameter(AssemblyConnectors_PWP_P_instantiate_A_Array_Pattern_a_Array_Pattern); + AssemblyConnectors_PWP_P_instantiate_A_Array_Pattern.AddNode(AssemblyConnectors_PWP_P_instantiate_A_Array_Pattern_a_Array_Pattern_node); + // CallOperationAction A_Array_Pattern() + AssemblyConnectors_PWP_P_instantiate_A_Array_Pattern_A_Array_Pattern_.SetName("A_Array_Pattern()"); + AssemblyConnectors_PWP_P_instantiate_A_Array_Pattern_A_Array_Pattern_.SetVisibility(VisibilityKind.public_); + + // OutputPin result + AssemblyConnectors_PWP_P_instantiate_A_Array_Pattern_A_Array_Pattern__result.SetName("result"); + AssemblyConnectors_PWP_P_instantiate_A_Array_Pattern_A_Array_Pattern__result.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_PWP_P_instantiate_A_Array_Pattern_A_Array_Pattern__result.SetType(AssemblyConnectors_PWP_P_A_Array_Pattern); + AssemblyConnectors_PWP_P_instantiate_A_Array_Pattern_A_Array_Pattern_.AddResult(AssemblyConnectors_PWP_P_instantiate_A_Array_Pattern_A_Array_Pattern__result); + AssemblyConnectors_PWP_P_instantiate_A_Array_Pattern_A_Array_Pattern_.SetOperation(AssemblyConnectors_PWP_P_A_Array_Pattern_A_Array_Pattern_A_Array_Pattern); + // InputPin target + AssemblyConnectors_PWP_P_instantiate_A_Array_Pattern_A_Array_Pattern__target.SetName("target"); + AssemblyConnectors_PWP_P_instantiate_A_Array_Pattern_A_Array_Pattern__target.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_PWP_P_instantiate_A_Array_Pattern_A_Array_Pattern__target.SetType(AssemblyConnectors_PWP_P_A_Array_Pattern); + AssemblyConnectors_PWP_P_instantiate_A_Array_Pattern_A_Array_Pattern_.SetTarget(AssemblyConnectors_PWP_P_instantiate_A_Array_Pattern_A_Array_Pattern__target); + AssemblyConnectors_PWP_P_instantiate_A_Array_Pattern.AddNode(AssemblyConnectors_PWP_P_instantiate_A_Array_Pattern_A_Array_Pattern_); + // CreateObjectAction Create A_Array_Pattern + AssemblyConnectors_PWP_P_instantiate_A_Array_Pattern_Create_A_Array_Pattern.SetName("Create A_Array_Pattern"); + AssemblyConnectors_PWP_P_instantiate_A_Array_Pattern_Create_A_Array_Pattern.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_PWP_P_instantiate_A_Array_Pattern_Create_A_Array_Pattern.SetClassifier(AssemblyConnectors_PWP_P_A_Array_Pattern); + // OutputPin result + AssemblyConnectors_PWP_P_instantiate_A_Array_Pattern_Create_A_Array_Pattern_result.SetName("result"); + AssemblyConnectors_PWP_P_instantiate_A_Array_Pattern_Create_A_Array_Pattern_result.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_PWP_P_instantiate_A_Array_Pattern_Create_A_Array_Pattern_result.SetType(AssemblyConnectors_PWP_P_A_Array_Pattern); + AssemblyConnectors_PWP_P_instantiate_A_Array_Pattern_Create_A_Array_Pattern.SetResult(AssemblyConnectors_PWP_P_instantiate_A_Array_Pattern_Create_A_Array_Pattern_result); + AssemblyConnectors_PWP_P_instantiate_A_Array_Pattern.AddNode(AssemblyConnectors_PWP_P_instantiate_A_Array_Pattern_Create_A_Array_Pattern); + // ObjectFlow ObjectFlow69 from result to a_Array_Pattern_node + AssemblyConnectors_PWP_P_instantiate_A_Array_Pattern_ObjectFlow69.SetName("ObjectFlow69"); + AssemblyConnectors_PWP_P_instantiate_A_Array_Pattern_ObjectFlow69.SetVisibility(VisibilityKind.public_); + + AssemblyConnectors_PWP_P_instantiate_A_Array_Pattern_ObjectFlow69.SetSource(AssemblyConnectors_PWP_P_instantiate_A_Array_Pattern_A_Array_Pattern__result); + AssemblyConnectors_PWP_P_instantiate_A_Array_Pattern_ObjectFlow69.SetTarget(AssemblyConnectors_PWP_P_instantiate_A_Array_Pattern_a_Array_Pattern_node); + // LiteralBoolean LiteralBoolean71 + AssemblyConnectors_PWP_P_instantiate_A_Array_Pattern_ObjectFlow69_LiteralBoolean71.SetName("LiteralBoolean71"); + AssemblyConnectors_PWP_P_instantiate_A_Array_Pattern_ObjectFlow69_LiteralBoolean71.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_PWP_P_instantiate_A_Array_Pattern_ObjectFlow69_LiteralBoolean71.SetValue(true); + AssemblyConnectors_PWP_P_instantiate_A_Array_Pattern_ObjectFlow69.SetGuard(AssemblyConnectors_PWP_P_instantiate_A_Array_Pattern_ObjectFlow69_LiteralBoolean71); + AssemblyConnectors_PWP_P_instantiate_A_Array_Pattern.AddEdge(AssemblyConnectors_PWP_P_instantiate_A_Array_Pattern_ObjectFlow69); + // ObjectFlow ObjectFlow72 from result to target + AssemblyConnectors_PWP_P_instantiate_A_Array_Pattern_ObjectFlow72.SetName("ObjectFlow72"); + AssemblyConnectors_PWP_P_instantiate_A_Array_Pattern_ObjectFlow72.SetVisibility(VisibilityKind.public_); + + AssemblyConnectors_PWP_P_instantiate_A_Array_Pattern_ObjectFlow72.SetSource(AssemblyConnectors_PWP_P_instantiate_A_Array_Pattern_Create_A_Array_Pattern_result); + AssemblyConnectors_PWP_P_instantiate_A_Array_Pattern_ObjectFlow72.SetTarget(AssemblyConnectors_PWP_P_instantiate_A_Array_Pattern_A_Array_Pattern__target); + // LiteralBoolean LiteralBoolean73 + AssemblyConnectors_PWP_P_instantiate_A_Array_Pattern_ObjectFlow72_LiteralBoolean73.SetName("LiteralBoolean73"); + AssemblyConnectors_PWP_P_instantiate_A_Array_Pattern_ObjectFlow72_LiteralBoolean73.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_PWP_P_instantiate_A_Array_Pattern_ObjectFlow72_LiteralBoolean73.SetValue(true); + AssemblyConnectors_PWP_P_instantiate_A_Array_Pattern_ObjectFlow72.SetGuard(AssemblyConnectors_PWP_P_instantiate_A_Array_Pattern_ObjectFlow72_LiteralBoolean73); + AssemblyConnectors_PWP_P_instantiate_A_Array_Pattern.AddEdge(AssemblyConnectors_PWP_P_instantiate_A_Array_Pattern_ObjectFlow72); + AssemblyConnectors_PWP_P.AddPackagedElement(AssemblyConnectors_PWP_P_instantiate_A_Array_Pattern); + // Interface I + AssemblyConnectors_PWP_P_I.SetName("I"); + AssemblyConnectors_PWP_P_I.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_PWP_P.AddPackagedElement(AssemblyConnectors_PWP_P_I); + // Class A_Unconnected_Pattern + AssemblyConnectors_PWP_P_A_Unconnected_Pattern.SetName("A_Unconnected_Pattern"); + AssemblyConnectors_PWP_P_A_Unconnected_Pattern.SetVisibility(VisibilityKind.public_); + + // Property partB + AssemblyConnectors_PWP_P_A_Unconnected_Pattern_partB.SetName("partB"); + AssemblyConnectors_PWP_P_A_Unconnected_Pattern_partB.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_PWP_P_A_Unconnected_Pattern_partB.SetUpper(-1); + AssemblyConnectors_PWP_P_A_Unconnected_Pattern_partB.SetLower(2); + AssemblyConnectors_PWP_P_A_Unconnected_Pattern_partB.SetType(AssemblyConnectors_PWP_P_B); + AssemblyConnectors_PWP_P_A_Unconnected_Pattern_partB.SetAggregation(AggregationKind.composite); + AssemblyConnectors_PWP_P_A_Unconnected_Pattern.AddOwnedAttribute(AssemblyConnectors_PWP_P_A_Unconnected_Pattern_partB); + // Property partC + AssemblyConnectors_PWP_P_A_Unconnected_Pattern_partC.SetName("partC"); + AssemblyConnectors_PWP_P_A_Unconnected_Pattern_partC.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_PWP_P_A_Unconnected_Pattern_partC.SetUpper(-1); + AssemblyConnectors_PWP_P_A_Unconnected_Pattern_partC.SetLower(3); + AssemblyConnectors_PWP_P_A_Unconnected_Pattern_partC.SetType(AssemblyConnectors_PWP_P_C); + AssemblyConnectors_PWP_P_A_Unconnected_Pattern_partC.SetAggregation(AggregationKind.composite); + AssemblyConnectors_PWP_P_A_Unconnected_Pattern.AddOwnedAttribute(AssemblyConnectors_PWP_P_A_Unconnected_Pattern_partC); + + AssemblyConnectors_PWP_P_A_Unconnected_Pattern_r.SetName("r"); + AssemblyConnectors_PWP_P_A_Unconnected_Pattern_r.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_PWP_P_A_Unconnected_Pattern_r_ConnectorEnd81.SetUpper(-1); + AssemblyConnectors_PWP_P_A_Unconnected_Pattern_r_ConnectorEnd81.SetLower(0); + AssemblyConnectors_PWP_P_A_Unconnected_Pattern_r_ConnectorEnd81.SetRole(AssemblyConnectors_PWP_P_B_p); + AssemblyConnectors_PWP_P_A_Unconnected_Pattern_r_ConnectorEnd81.SetPartWithPort(AssemblyConnectors_PWP_P_A_Unconnected_Pattern_partB); + + AssemblyConnectors_PWP_P_A_Unconnected_Pattern_r.AddEnd(AssemblyConnectors_PWP_P_A_Unconnected_Pattern_r_ConnectorEnd81); + AssemblyConnectors_PWP_P_A_Unconnected_Pattern_r_ConnectorEnd80.SetUpper(-1); + AssemblyConnectors_PWP_P_A_Unconnected_Pattern_r_ConnectorEnd80.SetLower(0); + AssemblyConnectors_PWP_P_A_Unconnected_Pattern_r_ConnectorEnd80.SetRole(AssemblyConnectors_PWP_P_A_Unconnected_Pattern_partC); + + AssemblyConnectors_PWP_P_A_Unconnected_Pattern_r.AddEnd(AssemblyConnectors_PWP_P_A_Unconnected_Pattern_r_ConnectorEnd80); + AssemblyConnectors_PWP_P_A_Unconnected_Pattern_r.SetType(AssemblyConnectors_PWP_P_R); + AssemblyConnectors_PWP_P_A_Unconnected_Pattern.AddOwnedConnector(AssemblyConnectors_PWP_P_A_Unconnected_Pattern_r); + // Operation A_Unconnected_Pattern_A_Unconnected_Pattern + AssemblyConnectors_PWP_P_A_Unconnected_Pattern_A_Unconnected_Pattern_A_Unconnected_Pattern.SetName("A_Unconnected_Pattern_A_Unconnected_Pattern"); + AssemblyConnectors_PWP_P_A_Unconnected_Pattern_A_Unconnected_Pattern_A_Unconnected_Pattern.SetVisibility(VisibilityKind.public_); + // Parameter result + AssemblyConnectors_PWP_P_A_Unconnected_Pattern_A_Unconnected_Pattern_A_Unconnected_Pattern_result.SetName("result"); + AssemblyConnectors_PWP_P_A_Unconnected_Pattern_A_Unconnected_Pattern_A_Unconnected_Pattern_result.SetVisibility(VisibilityKind.public_); + + AssemblyConnectors_PWP_P_A_Unconnected_Pattern_A_Unconnected_Pattern_A_Unconnected_Pattern_result.SetType(AssemblyConnectors_PWP_P_A_Unconnected_Pattern); + AssemblyConnectors_PWP_P_A_Unconnected_Pattern_A_Unconnected_Pattern_A_Unconnected_Pattern_result.SetDirection(ParameterDirectionKind.return_); + AssemblyConnectors_PWP_P_A_Unconnected_Pattern_A_Unconnected_Pattern_A_Unconnected_Pattern.AddOwnedParameter(AssemblyConnectors_PWP_P_A_Unconnected_Pattern_A_Unconnected_Pattern_A_Unconnected_Pattern_result); + AssemblyConnectors_PWP_P_A_Unconnected_Pattern_A_Unconnected_Pattern_A_Unconnected_Pattern.ApplyStereotype(uml.standardprofile.StandardProfileModel.Instance().Stereotype_Create); + AssemblyConnectors_PWP_P_A_Unconnected_Pattern.AddOwnedOperation(AssemblyConnectors_PWP_P_A_Unconnected_Pattern_A_Unconnected_Pattern_A_Unconnected_Pattern); + AssemblyConnectors_PWP_P.AddPackagedElement(AssemblyConnectors_PWP_P_A_Unconnected_Pattern); + // Class A_Array_Pattern + AssemblyConnectors_PWP_P_A_Array_Pattern.SetName("A_Array_Pattern"); + AssemblyConnectors_PWP_P_A_Array_Pattern.SetVisibility(VisibilityKind.public_); + + // Property partB + AssemblyConnectors_PWP_P_A_Array_Pattern_partB.SetName("partB"); + AssemblyConnectors_PWP_P_A_Array_Pattern_partB.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_PWP_P_A_Array_Pattern_partB.SetUpper(-1); + AssemblyConnectors_PWP_P_A_Array_Pattern_partB.SetLower(2); + AssemblyConnectors_PWP_P_A_Array_Pattern_partB.SetType(AssemblyConnectors_PWP_P_B); + AssemblyConnectors_PWP_P_A_Array_Pattern_partB.SetAggregation(AggregationKind.composite); + AssemblyConnectors_PWP_P_A_Array_Pattern.AddOwnedAttribute(AssemblyConnectors_PWP_P_A_Array_Pattern_partB); + // Property partC + AssemblyConnectors_PWP_P_A_Array_Pattern_partC.SetName("partC"); + AssemblyConnectors_PWP_P_A_Array_Pattern_partC.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_PWP_P_A_Array_Pattern_partC.SetUpper(-1); + AssemblyConnectors_PWP_P_A_Array_Pattern_partC.SetLower(4); + AssemblyConnectors_PWP_P_A_Array_Pattern_partC.SetType(AssemblyConnectors_PWP_P_C); + AssemblyConnectors_PWP_P_A_Array_Pattern_partC.SetAggregation(AggregationKind.composite); + AssemblyConnectors_PWP_P_A_Array_Pattern.AddOwnedAttribute(AssemblyConnectors_PWP_P_A_Array_Pattern_partC); + + AssemblyConnectors_PWP_P_A_Array_Pattern_r.SetName("r"); + AssemblyConnectors_PWP_P_A_Array_Pattern_r.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_PWP_P_A_Array_Pattern_r_ConnectorEnd87.SetUpper(-1); + AssemblyConnectors_PWP_P_A_Array_Pattern_r_ConnectorEnd87.SetRole(AssemblyConnectors_PWP_P_B_p); + AssemblyConnectors_PWP_P_A_Array_Pattern_r_ConnectorEnd87.SetPartWithPort(AssemblyConnectors_PWP_P_A_Array_Pattern_partB); + + AssemblyConnectors_PWP_P_A_Array_Pattern_r.AddEnd(AssemblyConnectors_PWP_P_A_Array_Pattern_r_ConnectorEnd87); + AssemblyConnectors_PWP_P_A_Array_Pattern_r_ConnectorEnd88.SetUpper(-1); + AssemblyConnectors_PWP_P_A_Array_Pattern_r_ConnectorEnd88.SetRole(AssemblyConnectors_PWP_P_A_Array_Pattern_partC); + + AssemblyConnectors_PWP_P_A_Array_Pattern_r.AddEnd(AssemblyConnectors_PWP_P_A_Array_Pattern_r_ConnectorEnd88); + AssemblyConnectors_PWP_P_A_Array_Pattern_r.SetType(AssemblyConnectors_PWP_P_R); + AssemblyConnectors_PWP_P_A_Array_Pattern.AddOwnedConnector(AssemblyConnectors_PWP_P_A_Array_Pattern_r); + // Operation A_Array_Pattern_A_Array_Pattern + AssemblyConnectors_PWP_P_A_Array_Pattern_A_Array_Pattern_A_Array_Pattern.SetName("A_Array_Pattern_A_Array_Pattern"); + AssemblyConnectors_PWP_P_A_Array_Pattern_A_Array_Pattern_A_Array_Pattern.SetVisibility(VisibilityKind.public_); + // Parameter result + AssemblyConnectors_PWP_P_A_Array_Pattern_A_Array_Pattern_A_Array_Pattern_result.SetName("result"); + AssemblyConnectors_PWP_P_A_Array_Pattern_A_Array_Pattern_A_Array_Pattern_result.SetVisibility(VisibilityKind.public_); + + AssemblyConnectors_PWP_P_A_Array_Pattern_A_Array_Pattern_A_Array_Pattern_result.SetType(AssemblyConnectors_PWP_P_A_Array_Pattern); + AssemblyConnectors_PWP_P_A_Array_Pattern_A_Array_Pattern_A_Array_Pattern_result.SetDirection(ParameterDirectionKind.return_); + AssemblyConnectors_PWP_P_A_Array_Pattern_A_Array_Pattern_A_Array_Pattern.AddOwnedParameter(AssemblyConnectors_PWP_P_A_Array_Pattern_A_Array_Pattern_A_Array_Pattern_result); + AssemblyConnectors_PWP_P_A_Array_Pattern_A_Array_Pattern_A_Array_Pattern.ApplyStereotype(uml.standardprofile.StandardProfileModel.Instance().Stereotype_Create); + AssemblyConnectors_PWP_P_A_Array_Pattern.AddOwnedOperation(AssemblyConnectors_PWP_P_A_Array_Pattern_A_Array_Pattern_A_Array_Pattern); + AssemblyConnectors_PWP_P.AddPackagedElement(AssemblyConnectors_PWP_P_A_Array_Pattern); + // Activity main + AssemblyConnectors_PWP_P_main.SetName("main"); + AssemblyConnectors_PWP_P_main.SetVisibility(VisibilityKind.public_); + // CallBehaviorAction instantiate_A_Unconnected_Pattern + AssemblyConnectors_PWP_P_main_instantiate_A_Unconnected_Pattern.SetName("instantiate_A_Unconnected_Pattern"); + AssemblyConnectors_PWP_P_main_instantiate_A_Unconnected_Pattern.SetVisibility(VisibilityKind.public_); + + // OutputPin a_Unconnected_Pattern + AssemblyConnectors_PWP_P_main_instantiate_A_Unconnected_Pattern_a_Unconnected_Pattern.SetName("a_Unconnected_Pattern"); + AssemblyConnectors_PWP_P_main_instantiate_A_Unconnected_Pattern_a_Unconnected_Pattern.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_PWP_P_main_instantiate_A_Unconnected_Pattern_a_Unconnected_Pattern.SetType(AssemblyConnectors_PWP_P_A_Unconnected_Pattern); + AssemblyConnectors_PWP_P_main_instantiate_A_Unconnected_Pattern.AddResult(AssemblyConnectors_PWP_P_main_instantiate_A_Unconnected_Pattern_a_Unconnected_Pattern); + AssemblyConnectors_PWP_P_main_instantiate_A_Unconnected_Pattern.SetBehavior(AssemblyConnectors_PWP_P_instantiate_A_Unconnected_Pattern); + AssemblyConnectors_PWP_P_main.AddNode(AssemblyConnectors_PWP_P_main_instantiate_A_Unconnected_Pattern); + // CallBehaviorAction instantiate_A_Star_Pattern + AssemblyConnectors_PWP_P_main_instantiate_A_Star_Pattern.SetName("instantiate_A_Star_Pattern"); + AssemblyConnectors_PWP_P_main_instantiate_A_Star_Pattern.SetVisibility(VisibilityKind.public_); + + // OutputPin a_Star_Pattern + AssemblyConnectors_PWP_P_main_instantiate_A_Star_Pattern_a_Star_Pattern.SetName("a_Star_Pattern"); + AssemblyConnectors_PWP_P_main_instantiate_A_Star_Pattern_a_Star_Pattern.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_PWP_P_main_instantiate_A_Star_Pattern_a_Star_Pattern.SetType(AssemblyConnectors_PWP_P_A_Star_Pattern); + AssemblyConnectors_PWP_P_main_instantiate_A_Star_Pattern.AddResult(AssemblyConnectors_PWP_P_main_instantiate_A_Star_Pattern_a_Star_Pattern); + AssemblyConnectors_PWP_P_main_instantiate_A_Star_Pattern.SetBehavior(AssemblyConnectors_PWP_P_instantiate_A_Star_Pattern); + AssemblyConnectors_PWP_P_main.AddNode(AssemblyConnectors_PWP_P_main_instantiate_A_Star_Pattern); + // CallBehaviorAction assert_A_Star_Pattern + AssemblyConnectors_PWP_P_main_assert_A_Star_Pattern.SetName("assert_A_Star_Pattern"); + AssemblyConnectors_PWP_P_main_assert_A_Star_Pattern.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_PWP_P_main_assert_A_Star_Pattern.SetBehavior(AssemblyConnectors_PWP_P_assert_A_Star_Pattern); + // InputPin a_Star_Pattern + AssemblyConnectors_PWP_P_main_assert_A_Star_Pattern_a_Star_Pattern.SetName("a_Star_Pattern"); + AssemblyConnectors_PWP_P_main_assert_A_Star_Pattern_a_Star_Pattern.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_PWP_P_main_assert_A_Star_Pattern_a_Star_Pattern.SetType(AssemblyConnectors_PWP_P_A_Star_Pattern); + AssemblyConnectors_PWP_P_main_assert_A_Star_Pattern.AddArgument(AssemblyConnectors_PWP_P_main_assert_A_Star_Pattern_a_Star_Pattern); + AssemblyConnectors_PWP_P_main.AddNode(AssemblyConnectors_PWP_P_main_assert_A_Star_Pattern); + // CallBehaviorAction assert_A_Array_Pattern + AssemblyConnectors_PWP_P_main_assert_A_Array_Pattern.SetName("assert_A_Array_Pattern"); + AssemblyConnectors_PWP_P_main_assert_A_Array_Pattern.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_PWP_P_main_assert_A_Array_Pattern.SetBehavior(AssemblyConnectors_PWP_P_assert_A_Array_Pattern); + // InputPin a_Array_Pattern + AssemblyConnectors_PWP_P_main_assert_A_Array_Pattern_a_Array_Pattern.SetName("a_Array_Pattern"); + AssemblyConnectors_PWP_P_main_assert_A_Array_Pattern_a_Array_Pattern.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_PWP_P_main_assert_A_Array_Pattern_a_Array_Pattern.SetType(AssemblyConnectors_PWP_P_A_Array_Pattern); + AssemblyConnectors_PWP_P_main_assert_A_Array_Pattern.AddArgument(AssemblyConnectors_PWP_P_main_assert_A_Array_Pattern_a_Array_Pattern); + AssemblyConnectors_PWP_P_main.AddNode(AssemblyConnectors_PWP_P_main_assert_A_Array_Pattern); + // CallBehaviorAction instantiate_A_Empty_Pattern + AssemblyConnectors_PWP_P_main_instantiate_A_Empty_Pattern.SetName("instantiate_A_Empty_Pattern"); + AssemblyConnectors_PWP_P_main_instantiate_A_Empty_Pattern.SetVisibility(VisibilityKind.public_); + + // OutputPin a_Empty_Pattern + AssemblyConnectors_PWP_P_main_instantiate_A_Empty_Pattern_a_Empty_Pattern.SetName("a_Empty_Pattern"); + AssemblyConnectors_PWP_P_main_instantiate_A_Empty_Pattern_a_Empty_Pattern.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_PWP_P_main_instantiate_A_Empty_Pattern_a_Empty_Pattern.SetType(AssemblyConnectors_PWP_P_A_Empty_Pattern); + AssemblyConnectors_PWP_P_main_instantiate_A_Empty_Pattern.AddResult(AssemblyConnectors_PWP_P_main_instantiate_A_Empty_Pattern_a_Empty_Pattern); + AssemblyConnectors_PWP_P_main_instantiate_A_Empty_Pattern.SetBehavior(AssemblyConnectors_PWP_P_instantiate_A_Empty_Pattern); + AssemblyConnectors_PWP_P_main.AddNode(AssemblyConnectors_PWP_P_main_instantiate_A_Empty_Pattern); + // CallBehaviorAction assert_A_Unconnected_Pattern + AssemblyConnectors_PWP_P_main_assert_A_Unconnected_Pattern.SetName("assert_A_Unconnected_Pattern"); + AssemblyConnectors_PWP_P_main_assert_A_Unconnected_Pattern.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_PWP_P_main_assert_A_Unconnected_Pattern.SetBehavior(AssemblyConnectors_PWP_P_assert_A_Unconnected_Pattern); + // InputPin a_Unconnected_Pattern + AssemblyConnectors_PWP_P_main_assert_A_Unconnected_Pattern_a_Unconnected_Pattern.SetName("a_Unconnected_Pattern"); + AssemblyConnectors_PWP_P_main_assert_A_Unconnected_Pattern_a_Unconnected_Pattern.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_PWP_P_main_assert_A_Unconnected_Pattern_a_Unconnected_Pattern.SetType(AssemblyConnectors_PWP_P_A_Unconnected_Pattern); + AssemblyConnectors_PWP_P_main_assert_A_Unconnected_Pattern.AddArgument(AssemblyConnectors_PWP_P_main_assert_A_Unconnected_Pattern_a_Unconnected_Pattern); + AssemblyConnectors_PWP_P_main.AddNode(AssemblyConnectors_PWP_P_main_assert_A_Unconnected_Pattern); + // CallBehaviorAction instantiate_A_Array_Pattern + AssemblyConnectors_PWP_P_main_instantiate_A_Array_Pattern.SetName("instantiate_A_Array_Pattern"); + AssemblyConnectors_PWP_P_main_instantiate_A_Array_Pattern.SetVisibility(VisibilityKind.public_); + + // OutputPin a_Array_Pattern + AssemblyConnectors_PWP_P_main_instantiate_A_Array_Pattern_a_Array_Pattern.SetName("a_Array_Pattern"); + AssemblyConnectors_PWP_P_main_instantiate_A_Array_Pattern_a_Array_Pattern.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_PWP_P_main_instantiate_A_Array_Pattern_a_Array_Pattern.SetType(AssemblyConnectors_PWP_P_A_Array_Pattern); + AssemblyConnectors_PWP_P_main_instantiate_A_Array_Pattern.AddResult(AssemblyConnectors_PWP_P_main_instantiate_A_Array_Pattern_a_Array_Pattern); + AssemblyConnectors_PWP_P_main_instantiate_A_Array_Pattern.SetBehavior(AssemblyConnectors_PWP_P_instantiate_A_Array_Pattern); + AssemblyConnectors_PWP_P_main.AddNode(AssemblyConnectors_PWP_P_main_instantiate_A_Array_Pattern); + // CallBehaviorAction assert_A_Empty_Pattern + AssemblyConnectors_PWP_P_main_assert_A_Empty_Pattern.SetName("assert_A_Empty_Pattern"); + AssemblyConnectors_PWP_P_main_assert_A_Empty_Pattern.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_PWP_P_main_assert_A_Empty_Pattern.SetBehavior(AssemblyConnectors_PWP_P_assert_A_Empty_Pattern); + // InputPin a_Empty_Pattern + AssemblyConnectors_PWP_P_main_assert_A_Empty_Pattern_a_Empty_Pattern.SetName("a_Empty_Pattern"); + AssemblyConnectors_PWP_P_main_assert_A_Empty_Pattern_a_Empty_Pattern.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_PWP_P_main_assert_A_Empty_Pattern_a_Empty_Pattern.SetType(AssemblyConnectors_PWP_P_A_Empty_Pattern); + AssemblyConnectors_PWP_P_main_assert_A_Empty_Pattern.AddArgument(AssemblyConnectors_PWP_P_main_assert_A_Empty_Pattern_a_Empty_Pattern); + AssemblyConnectors_PWP_P_main.AddNode(AssemblyConnectors_PWP_P_main_assert_A_Empty_Pattern); + // ObjectFlow ObjectFlow89 from a_Star_Pattern to a_Star_Pattern + AssemblyConnectors_PWP_P_main_ObjectFlow89.SetName("ObjectFlow89"); + AssemblyConnectors_PWP_P_main_ObjectFlow89.SetVisibility(VisibilityKind.public_); + + AssemblyConnectors_PWP_P_main_ObjectFlow89.SetSource(AssemblyConnectors_PWP_P_main_instantiate_A_Star_Pattern_a_Star_Pattern); + AssemblyConnectors_PWP_P_main_ObjectFlow89.SetTarget(AssemblyConnectors_PWP_P_main_assert_A_Star_Pattern_a_Star_Pattern); + // LiteralBoolean LiteralBoolean90 + AssemblyConnectors_PWP_P_main_ObjectFlow89_LiteralBoolean90.SetName("LiteralBoolean90"); + AssemblyConnectors_PWP_P_main_ObjectFlow89_LiteralBoolean90.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_PWP_P_main_ObjectFlow89_LiteralBoolean90.SetValue(true); + AssemblyConnectors_PWP_P_main_ObjectFlow89.SetGuard(AssemblyConnectors_PWP_P_main_ObjectFlow89_LiteralBoolean90); + AssemblyConnectors_PWP_P_main.AddEdge(AssemblyConnectors_PWP_P_main_ObjectFlow89); + // ControlFlow ControlFlow92 from assert_A_Empty_Pattern to instantiate_A_Unconnected_Pattern + AssemblyConnectors_PWP_P_main_ControlFlow92.SetName("ControlFlow92"); + AssemblyConnectors_PWP_P_main_ControlFlow92.SetVisibility(VisibilityKind.public_); + + AssemblyConnectors_PWP_P_main_ControlFlow92.SetSource(AssemblyConnectors_PWP_P_main_assert_A_Empty_Pattern); + AssemblyConnectors_PWP_P_main_ControlFlow92.SetTarget(AssemblyConnectors_PWP_P_main_instantiate_A_Unconnected_Pattern); + AssemblyConnectors_PWP_P_main.AddEdge(AssemblyConnectors_PWP_P_main_ControlFlow92); + // ControlFlow ControlFlow111 from assert_A_Unconnected_Pattern to instantiate_A_Array_Pattern + AssemblyConnectors_PWP_P_main_ControlFlow111.SetName("ControlFlow111"); + AssemblyConnectors_PWP_P_main_ControlFlow111.SetVisibility(VisibilityKind.public_); + + AssemblyConnectors_PWP_P_main_ControlFlow111.SetSource(AssemblyConnectors_PWP_P_main_assert_A_Unconnected_Pattern); + AssemblyConnectors_PWP_P_main_ControlFlow111.SetTarget(AssemblyConnectors_PWP_P_main_instantiate_A_Array_Pattern); + AssemblyConnectors_PWP_P_main.AddEdge(AssemblyConnectors_PWP_P_main_ControlFlow111); + // ControlFlow ControlFlow115 from assert_A_Array_Pattern to instantiate_A_Star_Pattern + AssemblyConnectors_PWP_P_main_ControlFlow115.SetName("ControlFlow115"); + AssemblyConnectors_PWP_P_main_ControlFlow115.SetVisibility(VisibilityKind.public_); + + AssemblyConnectors_PWP_P_main_ControlFlow115.SetSource(AssemblyConnectors_PWP_P_main_assert_A_Array_Pattern); + AssemblyConnectors_PWP_P_main_ControlFlow115.SetTarget(AssemblyConnectors_PWP_P_main_instantiate_A_Star_Pattern); + AssemblyConnectors_PWP_P_main.AddEdge(AssemblyConnectors_PWP_P_main_ControlFlow115); + // ObjectFlow ObjectFlow96 from a_Empty_Pattern to a_Empty_Pattern + AssemblyConnectors_PWP_P_main_ObjectFlow96.SetName("ObjectFlow96"); + AssemblyConnectors_PWP_P_main_ObjectFlow96.SetVisibility(VisibilityKind.public_); + + AssemblyConnectors_PWP_P_main_ObjectFlow96.SetSource(AssemblyConnectors_PWP_P_main_instantiate_A_Empty_Pattern_a_Empty_Pattern); + AssemblyConnectors_PWP_P_main_ObjectFlow96.SetTarget(AssemblyConnectors_PWP_P_main_assert_A_Empty_Pattern_a_Empty_Pattern); + // LiteralBoolean LiteralBoolean97 + AssemblyConnectors_PWP_P_main_ObjectFlow96_LiteralBoolean97.SetName("LiteralBoolean97"); + AssemblyConnectors_PWP_P_main_ObjectFlow96_LiteralBoolean97.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_PWP_P_main_ObjectFlow96_LiteralBoolean97.SetValue(true); + AssemblyConnectors_PWP_P_main_ObjectFlow96.SetGuard(AssemblyConnectors_PWP_P_main_ObjectFlow96_LiteralBoolean97); + AssemblyConnectors_PWP_P_main.AddEdge(AssemblyConnectors_PWP_P_main_ObjectFlow96); + // ObjectFlow ObjectFlow99 from a_Unconnected_Pattern to a_Unconnected_Pattern + AssemblyConnectors_PWP_P_main_ObjectFlow99.SetName("ObjectFlow99"); + AssemblyConnectors_PWP_P_main_ObjectFlow99.SetVisibility(VisibilityKind.public_); + + AssemblyConnectors_PWP_P_main_ObjectFlow99.SetSource(AssemblyConnectors_PWP_P_main_instantiate_A_Unconnected_Pattern_a_Unconnected_Pattern); + AssemblyConnectors_PWP_P_main_ObjectFlow99.SetTarget(AssemblyConnectors_PWP_P_main_assert_A_Unconnected_Pattern_a_Unconnected_Pattern); + // LiteralBoolean LiteralBoolean101 + AssemblyConnectors_PWP_P_main_ObjectFlow99_LiteralBoolean101.SetName("LiteralBoolean101"); + AssemblyConnectors_PWP_P_main_ObjectFlow99_LiteralBoolean101.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_PWP_P_main_ObjectFlow99_LiteralBoolean101.SetValue(true); + AssemblyConnectors_PWP_P_main_ObjectFlow99.SetGuard(AssemblyConnectors_PWP_P_main_ObjectFlow99_LiteralBoolean101); + AssemblyConnectors_PWP_P_main.AddEdge(AssemblyConnectors_PWP_P_main_ObjectFlow99); + // ObjectFlow ObjectFlow122 from a_Array_Pattern to a_Array_Pattern + AssemblyConnectors_PWP_P_main_ObjectFlow122.SetName("ObjectFlow122"); + AssemblyConnectors_PWP_P_main_ObjectFlow122.SetVisibility(VisibilityKind.public_); + + AssemblyConnectors_PWP_P_main_ObjectFlow122.SetSource(AssemblyConnectors_PWP_P_main_instantiate_A_Array_Pattern_a_Array_Pattern); + AssemblyConnectors_PWP_P_main_ObjectFlow122.SetTarget(AssemblyConnectors_PWP_P_main_assert_A_Array_Pattern_a_Array_Pattern); + // LiteralBoolean LiteralBoolean124 + AssemblyConnectors_PWP_P_main_ObjectFlow122_LiteralBoolean124.SetName("LiteralBoolean124"); + AssemblyConnectors_PWP_P_main_ObjectFlow122_LiteralBoolean124.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_PWP_P_main_ObjectFlow122_LiteralBoolean124.SetValue(true); + AssemblyConnectors_PWP_P_main_ObjectFlow122.SetGuard(AssemblyConnectors_PWP_P_main_ObjectFlow122_LiteralBoolean124); + AssemblyConnectors_PWP_P_main.AddEdge(AssemblyConnectors_PWP_P_main_ObjectFlow122); + AssemblyConnectors_PWP_P.AddPackagedElement(AssemblyConnectors_PWP_P_main); + // Activity assert_A_Empty_Pattern + AssemblyConnectors_PWP_P_assert_A_Empty_Pattern.SetName("assert_A_Empty_Pattern"); + AssemblyConnectors_PWP_P_assert_A_Empty_Pattern.SetVisibility(VisibilityKind.public_); + + // Parameter a_Empty_Pattern + AssemblyConnectors_PWP_P_assert_A_Empty_Pattern_a_Empty_Pattern.SetName("a_Empty_Pattern"); + AssemblyConnectors_PWP_P_assert_A_Empty_Pattern_a_Empty_Pattern.SetVisibility(VisibilityKind.public_); + + AssemblyConnectors_PWP_P_assert_A_Empty_Pattern_a_Empty_Pattern.SetType(AssemblyConnectors_PWP_P_A_Empty_Pattern); + AssemblyConnectors_PWP_P_assert_A_Empty_Pattern.AddOwnedParameter(AssemblyConnectors_PWP_P_assert_A_Empty_Pattern_a_Empty_Pattern); + // ActivityParameterNode a_Empty_Pattern_node + AssemblyConnectors_PWP_P_assert_A_Empty_Pattern_a_Empty_Pattern_node.SetName("a_Empty_Pattern_node"); + AssemblyConnectors_PWP_P_assert_A_Empty_Pattern_a_Empty_Pattern_node.SetVisibility(VisibilityKind.public_); + + AssemblyConnectors_PWP_P_assert_A_Empty_Pattern_a_Empty_Pattern_node.SetParameter(AssemblyConnectors_PWP_P_assert_A_Empty_Pattern_a_Empty_Pattern); + AssemblyConnectors_PWP_P_assert_A_Empty_Pattern.AddNode(AssemblyConnectors_PWP_P_assert_A_Empty_Pattern_a_Empty_Pattern_node); + // ValueSpecificationAction message + AssemblyConnectors_PWP_P_assert_A_Empty_Pattern_message.SetName("message"); + AssemblyConnectors_PWP_P_assert_A_Empty_Pattern_message.SetVisibility(VisibilityKind.public_); + // LiteralString LiteralString134 + AssemblyConnectors_PWP_P_assert_A_Empty_Pattern_message_LiteralString134.SetName("LiteralString134"); + AssemblyConnectors_PWP_P_assert_A_Empty_Pattern_message_LiteralString134.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_PWP_P_assert_A_Empty_Pattern_message_LiteralString134.SetValue("Assertion currently not implemented for A_Empty_Pattern."); + AssemblyConnectors_PWP_P_assert_A_Empty_Pattern_message.SetValue(AssemblyConnectors_PWP_P_assert_A_Empty_Pattern_message_LiteralString134); + // OutputPin result + AssemblyConnectors_PWP_P_assert_A_Empty_Pattern_message_result.SetName("result"); + AssemblyConnectors_PWP_P_assert_A_Empty_Pattern_message_result.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_PWP_P_assert_A_Empty_Pattern_message_result.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_String); + AssemblyConnectors_PWP_P_assert_A_Empty_Pattern_message.SetResult(AssemblyConnectors_PWP_P_assert_A_Empty_Pattern_message_result); + AssemblyConnectors_PWP_P_assert_A_Empty_Pattern.AddNode(AssemblyConnectors_PWP_P_assert_A_Empty_Pattern_message); + // CallBehaviorAction writeLine + AssemblyConnectors_PWP_P_assert_A_Empty_Pattern_writeLine.SetName("writeLine"); + AssemblyConnectors_PWP_P_assert_A_Empty_Pattern_writeLine.SetVisibility(VisibilityKind.public_); + + // OutputPin errorStatus + AssemblyConnectors_PWP_P_assert_A_Empty_Pattern_writeLine_errorStatus.SetName("errorStatus"); + AssemblyConnectors_PWP_P_assert_A_Empty_Pattern_writeLine_errorStatus.SetVisibility(VisibilityKind.public_); + + AssemblyConnectors_PWP_P_assert_A_Empty_Pattern_writeLine_errorStatus.SetLower(0); + AssemblyConnectors_PWP_P_assert_A_Empty_Pattern_writeLine.AddResult(AssemblyConnectors_PWP_P_assert_A_Empty_Pattern_writeLine_errorStatus); + AssemblyConnectors_PWP_P_assert_A_Empty_Pattern_writeLine.SetBehavior(FoundationalModelLibraryModel.Instance().FoundationalModelLibrary_BasicInputOutput_WriteLine); + // InputPin value + AssemblyConnectors_PWP_P_assert_A_Empty_Pattern_writeLine_value.SetName("value"); + AssemblyConnectors_PWP_P_assert_A_Empty_Pattern_writeLine_value.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_PWP_P_assert_A_Empty_Pattern_writeLine_value.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_String); + AssemblyConnectors_PWP_P_assert_A_Empty_Pattern_writeLine.AddArgument(AssemblyConnectors_PWP_P_assert_A_Empty_Pattern_writeLine_value); + AssemblyConnectors_PWP_P_assert_A_Empty_Pattern.AddNode(AssemblyConnectors_PWP_P_assert_A_Empty_Pattern_writeLine); + // ObjectFlow ObjectFlow128 from result to value + AssemblyConnectors_PWP_P_assert_A_Empty_Pattern_ObjectFlow128.SetName("ObjectFlow128"); + AssemblyConnectors_PWP_P_assert_A_Empty_Pattern_ObjectFlow128.SetVisibility(VisibilityKind.public_); + + AssemblyConnectors_PWP_P_assert_A_Empty_Pattern_ObjectFlow128.SetSource(AssemblyConnectors_PWP_P_assert_A_Empty_Pattern_message_result); + AssemblyConnectors_PWP_P_assert_A_Empty_Pattern_ObjectFlow128.SetTarget(AssemblyConnectors_PWP_P_assert_A_Empty_Pattern_writeLine_value); + // LiteralBoolean LiteralBoolean129 + AssemblyConnectors_PWP_P_assert_A_Empty_Pattern_ObjectFlow128_LiteralBoolean129.SetName("LiteralBoolean129"); + AssemblyConnectors_PWP_P_assert_A_Empty_Pattern_ObjectFlow128_LiteralBoolean129.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_PWP_P_assert_A_Empty_Pattern_ObjectFlow128_LiteralBoolean129.SetValue(true); + AssemblyConnectors_PWP_P_assert_A_Empty_Pattern_ObjectFlow128.SetGuard(AssemblyConnectors_PWP_P_assert_A_Empty_Pattern_ObjectFlow128_LiteralBoolean129); + AssemblyConnectors_PWP_P_assert_A_Empty_Pattern.AddEdge(AssemblyConnectors_PWP_P_assert_A_Empty_Pattern_ObjectFlow128); + AssemblyConnectors_PWP_P.AddPackagedElement(AssemblyConnectors_PWP_P_assert_A_Empty_Pattern); + // Class IImpl + AssemblyConnectors_PWP_P_IImpl.SetName("IImpl"); + AssemblyConnectors_PWP_P_IImpl.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_PWP_P_IImpl_I_Realization.SetName("I_Realization"); + AssemblyConnectors_PWP_P_IImpl_I_Realization.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_PWP_P_IImpl_I_Realization.SetContract(AssemblyConnectors_PWP_P_I); + + AssemblyConnectors_PWP_P_IImpl.AddInterfaceRealization(AssemblyConnectors_PWP_P_IImpl_I_Realization); + AssemblyConnectors_PWP_P.AddPackagedElement(AssemblyConnectors_PWP_P_IImpl); + // Activity instantiate_A_Unconnected_Pattern + AssemblyConnectors_PWP_P_instantiate_A_Unconnected_Pattern.SetName("instantiate_A_Unconnected_Pattern"); + AssemblyConnectors_PWP_P_instantiate_A_Unconnected_Pattern.SetVisibility(VisibilityKind.public_); + + // Parameter a_Unconnected_Pattern + AssemblyConnectors_PWP_P_instantiate_A_Unconnected_Pattern_a_Unconnected_Pattern.SetName("a_Unconnected_Pattern"); + AssemblyConnectors_PWP_P_instantiate_A_Unconnected_Pattern_a_Unconnected_Pattern.SetVisibility(VisibilityKind.public_); + + AssemblyConnectors_PWP_P_instantiate_A_Unconnected_Pattern_a_Unconnected_Pattern.SetType(AssemblyConnectors_PWP_P_A_Unconnected_Pattern); + AssemblyConnectors_PWP_P_instantiate_A_Unconnected_Pattern_a_Unconnected_Pattern.SetDirection(ParameterDirectionKind.return_); + AssemblyConnectors_PWP_P_instantiate_A_Unconnected_Pattern.AddOwnedParameter(AssemblyConnectors_PWP_P_instantiate_A_Unconnected_Pattern_a_Unconnected_Pattern); + // CreateObjectAction Create A_Unconnected_Pattern + AssemblyConnectors_PWP_P_instantiate_A_Unconnected_Pattern_Create_A_Unconnected_Pattern.SetName("Create A_Unconnected_Pattern"); + AssemblyConnectors_PWP_P_instantiate_A_Unconnected_Pattern_Create_A_Unconnected_Pattern.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_PWP_P_instantiate_A_Unconnected_Pattern_Create_A_Unconnected_Pattern.SetClassifier(AssemblyConnectors_PWP_P_A_Unconnected_Pattern); + // OutputPin result + AssemblyConnectors_PWP_P_instantiate_A_Unconnected_Pattern_Create_A_Unconnected_Pattern_result.SetName("result"); + AssemblyConnectors_PWP_P_instantiate_A_Unconnected_Pattern_Create_A_Unconnected_Pattern_result.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_PWP_P_instantiate_A_Unconnected_Pattern_Create_A_Unconnected_Pattern_result.SetType(AssemblyConnectors_PWP_P_A_Unconnected_Pattern); + AssemblyConnectors_PWP_P_instantiate_A_Unconnected_Pattern_Create_A_Unconnected_Pattern.SetResult(AssemblyConnectors_PWP_P_instantiate_A_Unconnected_Pattern_Create_A_Unconnected_Pattern_result); + AssemblyConnectors_PWP_P_instantiate_A_Unconnected_Pattern.AddNode(AssemblyConnectors_PWP_P_instantiate_A_Unconnected_Pattern_Create_A_Unconnected_Pattern); + // CallOperationAction A_Unconnected_Pattern() + AssemblyConnectors_PWP_P_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern_.SetName("A_Unconnected_Pattern()"); + AssemblyConnectors_PWP_P_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern_.SetVisibility(VisibilityKind.public_); + + // OutputPin result + AssemblyConnectors_PWP_P_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern__result.SetName("result"); + AssemblyConnectors_PWP_P_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern__result.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_PWP_P_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern__result.SetType(AssemblyConnectors_PWP_P_A_Unconnected_Pattern); + AssemblyConnectors_PWP_P_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern_.AddResult(AssemblyConnectors_PWP_P_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern__result); + AssemblyConnectors_PWP_P_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern_.SetOperation(AssemblyConnectors_PWP_P_A_Unconnected_Pattern_A_Unconnected_Pattern_A_Unconnected_Pattern); + // InputPin target + AssemblyConnectors_PWP_P_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern__target.SetName("target"); + AssemblyConnectors_PWP_P_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern__target.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_PWP_P_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern__target.SetType(AssemblyConnectors_PWP_P_A_Unconnected_Pattern); + AssemblyConnectors_PWP_P_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern_.SetTarget(AssemblyConnectors_PWP_P_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern__target); + AssemblyConnectors_PWP_P_instantiate_A_Unconnected_Pattern.AddNode(AssemblyConnectors_PWP_P_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern_); + // ActivityParameterNode a_Unconnected_Pattern_node + AssemblyConnectors_PWP_P_instantiate_A_Unconnected_Pattern_a_Unconnected_Pattern_node.SetName("a_Unconnected_Pattern_node"); + AssemblyConnectors_PWP_P_instantiate_A_Unconnected_Pattern_a_Unconnected_Pattern_node.SetVisibility(VisibilityKind.public_); + + AssemblyConnectors_PWP_P_instantiate_A_Unconnected_Pattern_a_Unconnected_Pattern_node.SetParameter(AssemblyConnectors_PWP_P_instantiate_A_Unconnected_Pattern_a_Unconnected_Pattern); + AssemblyConnectors_PWP_P_instantiate_A_Unconnected_Pattern.AddNode(AssemblyConnectors_PWP_P_instantiate_A_Unconnected_Pattern_a_Unconnected_Pattern_node); + // ObjectFlow ObjectFlow141 from result to target + AssemblyConnectors_PWP_P_instantiate_A_Unconnected_Pattern_ObjectFlow141.SetName("ObjectFlow141"); + AssemblyConnectors_PWP_P_instantiate_A_Unconnected_Pattern_ObjectFlow141.SetVisibility(VisibilityKind.public_); + + AssemblyConnectors_PWP_P_instantiate_A_Unconnected_Pattern_ObjectFlow141.SetSource(AssemblyConnectors_PWP_P_instantiate_A_Unconnected_Pattern_Create_A_Unconnected_Pattern_result); + AssemblyConnectors_PWP_P_instantiate_A_Unconnected_Pattern_ObjectFlow141.SetTarget(AssemblyConnectors_PWP_P_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern__target); + // LiteralBoolean LiteralBoolean143 + AssemblyConnectors_PWP_P_instantiate_A_Unconnected_Pattern_ObjectFlow141_LiteralBoolean143.SetName("LiteralBoolean143"); + AssemblyConnectors_PWP_P_instantiate_A_Unconnected_Pattern_ObjectFlow141_LiteralBoolean143.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_PWP_P_instantiate_A_Unconnected_Pattern_ObjectFlow141_LiteralBoolean143.SetValue(true); + AssemblyConnectors_PWP_P_instantiate_A_Unconnected_Pattern_ObjectFlow141.SetGuard(AssemblyConnectors_PWP_P_instantiate_A_Unconnected_Pattern_ObjectFlow141_LiteralBoolean143); + AssemblyConnectors_PWP_P_instantiate_A_Unconnected_Pattern.AddEdge(AssemblyConnectors_PWP_P_instantiate_A_Unconnected_Pattern_ObjectFlow141); + // ObjectFlow ObjectFlow151 from result to a_Unconnected_Pattern_node + AssemblyConnectors_PWP_P_instantiate_A_Unconnected_Pattern_ObjectFlow151.SetName("ObjectFlow151"); + AssemblyConnectors_PWP_P_instantiate_A_Unconnected_Pattern_ObjectFlow151.SetVisibility(VisibilityKind.public_); + + AssemblyConnectors_PWP_P_instantiate_A_Unconnected_Pattern_ObjectFlow151.SetSource(AssemblyConnectors_PWP_P_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern__result); + AssemblyConnectors_PWP_P_instantiate_A_Unconnected_Pattern_ObjectFlow151.SetTarget(AssemblyConnectors_PWP_P_instantiate_A_Unconnected_Pattern_a_Unconnected_Pattern_node); + // LiteralBoolean LiteralBoolean152 + AssemblyConnectors_PWP_P_instantiate_A_Unconnected_Pattern_ObjectFlow151_LiteralBoolean152.SetName("LiteralBoolean152"); + AssemblyConnectors_PWP_P_instantiate_A_Unconnected_Pattern_ObjectFlow151_LiteralBoolean152.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_PWP_P_instantiate_A_Unconnected_Pattern_ObjectFlow151_LiteralBoolean152.SetValue(true); + AssemblyConnectors_PWP_P_instantiate_A_Unconnected_Pattern_ObjectFlow151.SetGuard(AssemblyConnectors_PWP_P_instantiate_A_Unconnected_Pattern_ObjectFlow151_LiteralBoolean152); + AssemblyConnectors_PWP_P_instantiate_A_Unconnected_Pattern.AddEdge(AssemblyConnectors_PWP_P_instantiate_A_Unconnected_Pattern_ObjectFlow151); + AssemblyConnectors_PWP_P.AddPackagedElement(AssemblyConnectors_PWP_P_instantiate_A_Unconnected_Pattern); + // Class A_Empty_Pattern + AssemblyConnectors_PWP_P_A_Empty_Pattern.SetName("A_Empty_Pattern"); + AssemblyConnectors_PWP_P_A_Empty_Pattern.SetVisibility(VisibilityKind.public_); + + // Property partB + AssemblyConnectors_PWP_P_A_Empty_Pattern_partB.SetName("partB"); + AssemblyConnectors_PWP_P_A_Empty_Pattern_partB.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_PWP_P_A_Empty_Pattern_partB.SetUpper(-1); + AssemblyConnectors_PWP_P_A_Empty_Pattern_partB.SetLower(0); + AssemblyConnectors_PWP_P_A_Empty_Pattern_partB.SetType(AssemblyConnectors_PWP_P_B); + AssemblyConnectors_PWP_P_A_Empty_Pattern_partB.SetAggregation(AggregationKind.composite); + AssemblyConnectors_PWP_P_A_Empty_Pattern.AddOwnedAttribute(AssemblyConnectors_PWP_P_A_Empty_Pattern_partB); + // Property partC + AssemblyConnectors_PWP_P_A_Empty_Pattern_partC.SetName("partC"); + AssemblyConnectors_PWP_P_A_Empty_Pattern_partC.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_PWP_P_A_Empty_Pattern_partC.SetUpper(-1); + AssemblyConnectors_PWP_P_A_Empty_Pattern_partC.SetLower(0); + AssemblyConnectors_PWP_P_A_Empty_Pattern_partC.SetType(AssemblyConnectors_PWP_P_C); + AssemblyConnectors_PWP_P_A_Empty_Pattern_partC.SetAggregation(AggregationKind.composite); + AssemblyConnectors_PWP_P_A_Empty_Pattern.AddOwnedAttribute(AssemblyConnectors_PWP_P_A_Empty_Pattern_partC); + + AssemblyConnectors_PWP_P_A_Empty_Pattern_r.SetName("r"); + AssemblyConnectors_PWP_P_A_Empty_Pattern_r.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_PWP_P_A_Empty_Pattern_r_ConnectorEnd159.SetUpper(-1); + AssemblyConnectors_PWP_P_A_Empty_Pattern_r_ConnectorEnd159.SetRole(AssemblyConnectors_PWP_P_B_p); + AssemblyConnectors_PWP_P_A_Empty_Pattern_r_ConnectorEnd159.SetPartWithPort(AssemblyConnectors_PWP_P_A_Empty_Pattern_partB); + + AssemblyConnectors_PWP_P_A_Empty_Pattern_r.AddEnd(AssemblyConnectors_PWP_P_A_Empty_Pattern_r_ConnectorEnd159); + AssemblyConnectors_PWP_P_A_Empty_Pattern_r_ConnectorEnd158.SetUpper(-1); + AssemblyConnectors_PWP_P_A_Empty_Pattern_r_ConnectorEnd158.SetRole(AssemblyConnectors_PWP_P_A_Empty_Pattern_partC); + + AssemblyConnectors_PWP_P_A_Empty_Pattern_r.AddEnd(AssemblyConnectors_PWP_P_A_Empty_Pattern_r_ConnectorEnd158); + AssemblyConnectors_PWP_P_A_Empty_Pattern_r.SetType(AssemblyConnectors_PWP_P_R); + AssemblyConnectors_PWP_P_A_Empty_Pattern.AddOwnedConnector(AssemblyConnectors_PWP_P_A_Empty_Pattern_r); + // Operation A_Empty_Pattern_A_Empty_Pattern + AssemblyConnectors_PWP_P_A_Empty_Pattern_A_Empty_Pattern_A_Empty_Pattern.SetName("A_Empty_Pattern_A_Empty_Pattern"); + AssemblyConnectors_PWP_P_A_Empty_Pattern_A_Empty_Pattern_A_Empty_Pattern.SetVisibility(VisibilityKind.public_); + // Parameter result + AssemblyConnectors_PWP_P_A_Empty_Pattern_A_Empty_Pattern_A_Empty_Pattern_result.SetName("result"); + AssemblyConnectors_PWP_P_A_Empty_Pattern_A_Empty_Pattern_A_Empty_Pattern_result.SetVisibility(VisibilityKind.public_); + + AssemblyConnectors_PWP_P_A_Empty_Pattern_A_Empty_Pattern_A_Empty_Pattern_result.SetType(AssemblyConnectors_PWP_P_A_Empty_Pattern); + AssemblyConnectors_PWP_P_A_Empty_Pattern_A_Empty_Pattern_A_Empty_Pattern_result.SetDirection(ParameterDirectionKind.return_); + AssemblyConnectors_PWP_P_A_Empty_Pattern_A_Empty_Pattern_A_Empty_Pattern.AddOwnedParameter(AssemblyConnectors_PWP_P_A_Empty_Pattern_A_Empty_Pattern_A_Empty_Pattern_result); + AssemblyConnectors_PWP_P_A_Empty_Pattern_A_Empty_Pattern_A_Empty_Pattern.ApplyStereotype(uml.standardprofile.StandardProfileModel.Instance().Stereotype_Create); + AssemblyConnectors_PWP_P_A_Empty_Pattern.AddOwnedOperation(AssemblyConnectors_PWP_P_A_Empty_Pattern_A_Empty_Pattern_A_Empty_Pattern); + AssemblyConnectors_PWP_P.AddPackagedElement(AssemblyConnectors_PWP_P_A_Empty_Pattern); + // Activity assert_A_Unconnected_Pattern + AssemblyConnectors_PWP_P_assert_A_Unconnected_Pattern.SetName("assert_A_Unconnected_Pattern"); + AssemblyConnectors_PWP_P_assert_A_Unconnected_Pattern.SetVisibility(VisibilityKind.public_); + + // Parameter a_Unconnected_Pattern + AssemblyConnectors_PWP_P_assert_A_Unconnected_Pattern_a_Unconnected_Pattern.SetName("a_Unconnected_Pattern"); + AssemblyConnectors_PWP_P_assert_A_Unconnected_Pattern_a_Unconnected_Pattern.SetVisibility(VisibilityKind.public_); + + AssemblyConnectors_PWP_P_assert_A_Unconnected_Pattern_a_Unconnected_Pattern.SetType(AssemblyConnectors_PWP_P_A_Unconnected_Pattern); + AssemblyConnectors_PWP_P_assert_A_Unconnected_Pattern.AddOwnedParameter(AssemblyConnectors_PWP_P_assert_A_Unconnected_Pattern_a_Unconnected_Pattern); + // CallBehaviorAction writeLine + AssemblyConnectors_PWP_P_assert_A_Unconnected_Pattern_writeLine.SetName("writeLine"); + AssemblyConnectors_PWP_P_assert_A_Unconnected_Pattern_writeLine.SetVisibility(VisibilityKind.public_); + + // OutputPin errorStatus + AssemblyConnectors_PWP_P_assert_A_Unconnected_Pattern_writeLine_errorStatus.SetName("errorStatus"); + AssemblyConnectors_PWP_P_assert_A_Unconnected_Pattern_writeLine_errorStatus.SetVisibility(VisibilityKind.public_); + + AssemblyConnectors_PWP_P_assert_A_Unconnected_Pattern_writeLine_errorStatus.SetLower(0); + AssemblyConnectors_PWP_P_assert_A_Unconnected_Pattern_writeLine.AddResult(AssemblyConnectors_PWP_P_assert_A_Unconnected_Pattern_writeLine_errorStatus); + AssemblyConnectors_PWP_P_assert_A_Unconnected_Pattern_writeLine.SetBehavior(FoundationalModelLibraryModel.Instance().FoundationalModelLibrary_BasicInputOutput_WriteLine); + // InputPin value + AssemblyConnectors_PWP_P_assert_A_Unconnected_Pattern_writeLine_value.SetName("value"); + AssemblyConnectors_PWP_P_assert_A_Unconnected_Pattern_writeLine_value.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_PWP_P_assert_A_Unconnected_Pattern_writeLine_value.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_String); + AssemblyConnectors_PWP_P_assert_A_Unconnected_Pattern_writeLine.AddArgument(AssemblyConnectors_PWP_P_assert_A_Unconnected_Pattern_writeLine_value); + AssemblyConnectors_PWP_P_assert_A_Unconnected_Pattern.AddNode(AssemblyConnectors_PWP_P_assert_A_Unconnected_Pattern_writeLine); + // ActivityParameterNode a_Unconnected_Pattern_node + AssemblyConnectors_PWP_P_assert_A_Unconnected_Pattern_a_Unconnected_Pattern_node.SetName("a_Unconnected_Pattern_node"); + AssemblyConnectors_PWP_P_assert_A_Unconnected_Pattern_a_Unconnected_Pattern_node.SetVisibility(VisibilityKind.public_); + + AssemblyConnectors_PWP_P_assert_A_Unconnected_Pattern_a_Unconnected_Pattern_node.SetParameter(AssemblyConnectors_PWP_P_assert_A_Unconnected_Pattern_a_Unconnected_Pattern); + AssemblyConnectors_PWP_P_assert_A_Unconnected_Pattern.AddNode(AssemblyConnectors_PWP_P_assert_A_Unconnected_Pattern_a_Unconnected_Pattern_node); + // ValueSpecificationAction message + AssemblyConnectors_PWP_P_assert_A_Unconnected_Pattern_message.SetName("message"); + AssemblyConnectors_PWP_P_assert_A_Unconnected_Pattern_message.SetVisibility(VisibilityKind.public_); + // LiteralString LiteralString171 + AssemblyConnectors_PWP_P_assert_A_Unconnected_Pattern_message_LiteralString171.SetName("LiteralString171"); + AssemblyConnectors_PWP_P_assert_A_Unconnected_Pattern_message_LiteralString171.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_PWP_P_assert_A_Unconnected_Pattern_message_LiteralString171.SetValue("Assertion currently not implemented for A_Unconnected_Pattern."); + AssemblyConnectors_PWP_P_assert_A_Unconnected_Pattern_message.SetValue(AssemblyConnectors_PWP_P_assert_A_Unconnected_Pattern_message_LiteralString171); + // OutputPin result + AssemblyConnectors_PWP_P_assert_A_Unconnected_Pattern_message_result.SetName("result"); + AssemblyConnectors_PWP_P_assert_A_Unconnected_Pattern_message_result.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_PWP_P_assert_A_Unconnected_Pattern_message_result.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_String); + AssemblyConnectors_PWP_P_assert_A_Unconnected_Pattern_message.SetResult(AssemblyConnectors_PWP_P_assert_A_Unconnected_Pattern_message_result); + AssemblyConnectors_PWP_P_assert_A_Unconnected_Pattern.AddNode(AssemblyConnectors_PWP_P_assert_A_Unconnected_Pattern_message); + // ObjectFlow ObjectFlow161 from result to value + AssemblyConnectors_PWP_P_assert_A_Unconnected_Pattern_ObjectFlow161.SetName("ObjectFlow161"); + AssemblyConnectors_PWP_P_assert_A_Unconnected_Pattern_ObjectFlow161.SetVisibility(VisibilityKind.public_); + + AssemblyConnectors_PWP_P_assert_A_Unconnected_Pattern_ObjectFlow161.SetSource(AssemblyConnectors_PWP_P_assert_A_Unconnected_Pattern_message_result); + AssemblyConnectors_PWP_P_assert_A_Unconnected_Pattern_ObjectFlow161.SetTarget(AssemblyConnectors_PWP_P_assert_A_Unconnected_Pattern_writeLine_value); + // LiteralBoolean LiteralBoolean163 + AssemblyConnectors_PWP_P_assert_A_Unconnected_Pattern_ObjectFlow161_LiteralBoolean163.SetName("LiteralBoolean163"); + AssemblyConnectors_PWP_P_assert_A_Unconnected_Pattern_ObjectFlow161_LiteralBoolean163.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_PWP_P_assert_A_Unconnected_Pattern_ObjectFlow161_LiteralBoolean163.SetValue(true); + AssemblyConnectors_PWP_P_assert_A_Unconnected_Pattern_ObjectFlow161.SetGuard(AssemblyConnectors_PWP_P_assert_A_Unconnected_Pattern_ObjectFlow161_LiteralBoolean163); + AssemblyConnectors_PWP_P_assert_A_Unconnected_Pattern.AddEdge(AssemblyConnectors_PWP_P_assert_A_Unconnected_Pattern_ObjectFlow161); + AssemblyConnectors_PWP_P.AddPackagedElement(AssemblyConnectors_PWP_P_assert_A_Unconnected_Pattern); + // Association R + AssemblyConnectors_PWP_P_R.SetName("R"); + AssemblyConnectors_PWP_P_R.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_PWP_P_R.AddOwnedEnd(AssemblyConnectors_PWP_P_R_x); + AssemblyConnectors_PWP_P_R.AddOwnedEnd(AssemblyConnectors_PWP_P_R_y); + AssemblyConnectors_PWP_P.AddPackagedElement(AssemblyConnectors_PWP_P_R); + } + + /* Start of user code : User-defined members + * This section may be used for user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } // AssemblyConnectors_PWP_PModel +} diff --git a/fUML-CSharp/tests/pscs-Tests/01_Instantiation/03_AssemblyConnectors_PWP_PWP/.gitignore b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/03_AssemblyConnectors_PWP_PWP/.gitignore new file mode 100644 index 0000000..1736844 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/03_AssemblyConnectors_PWP_PWP/.gitignore @@ -0,0 +1,3 @@ +/.vs/ +/bin/ +/obj/ diff --git a/fUML-CSharp/tests/pscs-Tests/01_Instantiation/03_AssemblyConnectors_PWP_PWP/AssemblyConnectors_PWP_PWP.csproj b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/03_AssemblyConnectors_PWP_PWP/AssemblyConnectors_PWP_PWP.csproj new file mode 100644 index 0000000..772face --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/03_AssemblyConnectors_PWP_PWP/AssemblyConnectors_PWP_PWP.csproj @@ -0,0 +1,50 @@ + + + + Exe + net6.0 + enable + enable + + + + AssemblyConnectors_PWP_PWP.Debug + + + AssemblyConnectors_PWP_PWP.Release + + + + + ..\..\..\..\uml\bin\Debug\net6.0\uml.Debug.dll + + + + + ..\..\..\..\uml\bin\Release\net6.0\uml.Release.dll + + + + + + ..\..\..\..\fuml\bin\Debug\net6.0\fuml.Debug.dll + + + + + ..\..\..\..\fuml\bin\Release\net6.0\fuml.Release.dll + + + + + + ..\..\..\..\pscs\bin\Debug\net6.0\pscs.Debug.dll + + + + + ..\..\..\..\pscs\bin\Release\net6.0\pscs.Release.dll + + + + diff --git a/fUML-CSharp/tests/pscs-Tests/01_Instantiation/03_AssemblyConnectors_PWP_PWP/AssemblyConnectors_PWP_PWP.sln b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/03_AssemblyConnectors_PWP_PWP/AssemblyConnectors_PWP_PWP.sln new file mode 100644 index 0000000..009bb5e --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/03_AssemblyConnectors_PWP_PWP/AssemblyConnectors_PWP_PWP.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.32112.339 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AssemblyConnectors_PWP_PWP", "AssemblyConnectors_PWP_PWP.csproj", "{541153BA-8C09-4CDA-BC78-AC255568276F}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {541153BA-8C09-4CDA-BC78-AC255568276F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {541153BA-8C09-4CDA-BC78-AC255568276F}.Debug|Any CPU.Build.0 = Debug|Any CPU + {541153BA-8C09-4CDA-BC78-AC255568276F}.Release|Any CPU.ActiveCfg = Release|Any CPU + {541153BA-8C09-4CDA-BC78-AC255568276F}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {195EB9CA-8655-4684-880F-E080742462E4} + EndGlobalSection +EndGlobal diff --git a/fUML-CSharp/tests/pscs-Tests/01_Instantiation/03_AssemblyConnectors_PWP_PWP/Properties/launchSettings.json b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/03_AssemblyConnectors_PWP_PWP/Properties/launchSettings.json new file mode 100644 index 0000000..14e99a5 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/03_AssemblyConnectors_PWP_PWP/Properties/launchSettings.json @@ -0,0 +1,8 @@ +{ + "profiles": { + "AssemblyConnectors_PWP_PWP": { + "commandName": "Project", + "commandLineArgs": "main" + } + } +} \ No newline at end of file diff --git a/fUML-CSharp/tests/pscs-Tests/01_Instantiation/03_AssemblyConnectors_PWP_PWP/model/AssemblyConnectors_PWP_PWP.di b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/03_AssemblyConnectors_PWP_PWP/model/AssemblyConnectors_PWP_PWP.di new file mode 100644 index 0000000..bf9abab --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/03_AssemblyConnectors_PWP_PWP/model/AssemblyConnectors_PWP_PWP.di @@ -0,0 +1,2 @@ + + diff --git a/fUML-CSharp/tests/pscs-Tests/01_Instantiation/03_AssemblyConnectors_PWP_PWP/model/AssemblyConnectors_PWP_PWP.notation b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/03_AssemblyConnectors_PWP_PWP/model/AssemblyConnectors_PWP_PWP.notation new file mode 100644 index 0000000..705a9ce --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/03_AssemblyConnectors_PWP_PWP/model/AssemblyConnectors_PWP_PWP.notation @@ -0,0 +1,1751 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+ + + + + +
+ + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+ + + + + +
+ + + +
+ + + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + + + + + + + + + +
+
+ + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + +
+ + + +
+ + + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + + + + + + + + + +
+
+ + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + +
+ + + +
+ + + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + + + + + + + + + +
+
+ + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + +
+ + + +
+ + + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + + + + + + + + + +
+
+ + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + +
+ + + +
+ + + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + + + + + + + + + +
+
+ + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + +
+ + + +
+ + + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + + + + + + + + + +
+
+ + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/fUML-CSharp/tests/pscs-Tests/01_Instantiation/03_AssemblyConnectors_PWP_PWP/model/AssemblyConnectors_PWP_PWP.uml b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/03_AssemblyConnectors_PWP_PWP/model/AssemblyConnectors_PWP_PWP.uml new file mode 100644 index 0000000..5a9a4b2 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/03_AssemblyConnectors_PWP_PWP/model/AssemblyConnectors_PWP_PWP.uml @@ -0,0 +1,480 @@ + + + + + This test case addresses instantiation semantics in the case of an assembly connector between a part with port and a part with port. + + + + + + + Empty pattern: +lower bound of part b and c is 0 + + + + + + + + + + + + + + + + + + + + + + + + + + Unconnected pattern: +lower bound on ends of connector r is 0 + + + + + + + + + + + + + + + + + + + + + + + + + + Array pattern: +lower bound of b and c are equals +lower bound on ends of connector r is 1 + + + + + + + + + + + + + + + + + + + + + + + + + + Star pattern: +lower bound on ends of connector r equal +lower bound of connected parts + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/fUML-CSharp/tests/pscs-Tests/01_Instantiation/03_AssemblyConnectors_PWP_PWP/src/AssemblyConnectors_PWP_PWP.cs b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/03_AssemblyConnectors_PWP_PWP/src/AssemblyConnectors_PWP_PWP.cs new file mode 100644 index 0000000..6619621 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/03_AssemblyConnectors_PWP_PWP/src/AssemblyConnectors_PWP_PWP.cs @@ -0,0 +1,31 @@ +namespace AssemblyConnectors_PWP_PWP +{ + internal class AssemblyConnectors_PWP_PWP + { + static void PrintUsage() + { + Console.WriteLine( + "=============================================================================================\n" + + "USAGE: [ <...>]\n" + + "=============================================================================================\n" + ); + } + + static int Main(string[] args) + { + if(args.Length == 0) + { + Console.WriteLine("[ERROR] Must declare at least one behavior name.\n"); + PrintUsage(); + return -1; + } + + foreach (string arg in args) + { + AssemblyConnectors_PWP_PWPEnvironment.Instance().Execute(arg); + } + + return 0; + } + } +} diff --git a/fUML-CSharp/tests/pscs-Tests/01_Instantiation/03_AssemblyConnectors_PWP_PWP/src/AssemblyConnectors_PWP_PWPEnvironment.cs b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/03_AssemblyConnectors_PWP_PWP/src/AssemblyConnectors_PWP_PWPEnvironment.cs new file mode 100644 index 0000000..9e7d09b --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/03_AssemblyConnectors_PWP_PWP/src/AssemblyConnectors_PWP_PWPEnvironment.cs @@ -0,0 +1,92 @@ +/* + * AssemblyConnectors_PWP_PWPEnvironment.cs + * + * Auto-generated file + */ + +/* Start of user code : User-defined using directives + * This section may be used for using directives. + * It will not be overwritten by future generation processes. + */ + +/* + * End of user code + */ + +namespace AssemblyConnectors_PWP_PWP +{ + public class AssemblyConnectors_PWP_PWPEnvironment : pscs.environment.Environment + { + private static AssemblyConnectors_PWP_PWPEnvironment? instance; + + public static AssemblyConnectors_PWP_PWPEnvironment Instance() + { + if(instance is null) + { + instance = new(); + instance.inMemoryModel = AssemblyConnectors_PWP_PWPModel.Instance(); + } + + return instance; + } + + public AssemblyConnectors_PWP_PWPEnvironment() + { + /* + * Create custom opaque behavior execution instances and add them to the execution environment. + */ + + /* Start of user code : Additional environment initializations + * This section may be used to do any additional environment initialization, + * for example initializing user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } + + public override void Execute(string behaviorName) + { + /* Start of user code : Context and inputs initializations + * This section may be used to initialize the execution context + * as well as input parameter values if required. + * It will not be overwritten by future generation processes. + */ + + //context = ...; + //inputs = ...; + + /* + * End of user code + */ + + /* + * Start execution via base class call + */ + base.Execute(behaviorName); + + /* Start of user code : Outputs evaluation + * This section may be used to evaluate output parameter values if required. + * It will not be overwritten by future generation processes. + */ + + //List theOutputs = outputs; + //... + + /* + * End of user code + */ + } + + /* Start of user code : User-defined members + * This section may be used for user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } // AssemblyConnectors_PWP_PWPEnvironment +} diff --git a/fUML-CSharp/tests/pscs-Tests/01_Instantiation/03_AssemblyConnectors_PWP_PWP/src/AssemblyConnectors_PWP_PWPModel.cs b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/03_AssemblyConnectors_PWP_PWP/src/AssemblyConnectors_PWP_PWPModel.cs new file mode 100644 index 0000000..b6e0ecd --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/03_AssemblyConnectors_PWP_PWP/src/AssemblyConnectors_PWP_PWPModel.cs @@ -0,0 +1,1625 @@ +/* + * AssemblyConnectors_PWP_PWPModel.cs + * + * Auto-generated file + */ + +using uml.actions; +using uml.packages; +using uml.structuredclassifiers; +using fuml.primitivetypes; +using uml.classification; +using fuml.library; +using uml.simpleclassifiers; +using uml.commonbehavior; +using uml.commonstructure; +using uml.values; +using uml.activities; +using uml.environment; + + +/* Start of user code : User-defined includes and forward declarations + * This section may be used for includes and forward declarations. + * It will not be overwritten by future generation processes. + */ + +/* + * End of user code + */ + +namespace AssemblyConnectors_PWP_PWP +{ + public class AssemblyConnectors_PWP_PWPModel : InMemoryModel + { + private static AssemblyConnectors_PWP_PWPModel? instance; + + /* + * Model AssemblyConnectors_PWP_PWP + */ + public Package AssemblyConnectors_PWP_PWP = new(); + public Activity AssemblyConnectors_PWP_PWP_assert_A_Empty_Pattern = new(); + public ActivityParameterNode AssemblyConnectors_PWP_PWP_assert_A_Empty_Pattern_a_Empty_Pattern_node = new(); + public LiteralInteger AssemblyConnectors_PWP_PWP_assert_A_Empty_Pattern_a_Empty_Pattern_node_LiteralInteger0 = new(); + public Parameter AssemblyConnectors_PWP_PWP_assert_A_Empty_Pattern_a_Empty_Pattern = new(); + public ObjectFlow AssemblyConnectors_PWP_PWP_assert_A_Empty_Pattern_ObjectFlow1 = new(); + public LiteralInteger AssemblyConnectors_PWP_PWP_assert_A_Empty_Pattern_ObjectFlow1_LiteralInteger2 = new(); + public LiteralBoolean AssemblyConnectors_PWP_PWP_assert_A_Empty_Pattern_ObjectFlow1_LiteralBoolean3 = new(); + public ValueSpecificationAction AssemblyConnectors_PWP_PWP_assert_A_Empty_Pattern_message = new(); + public OutputPin AssemblyConnectors_PWP_PWP_assert_A_Empty_Pattern_message_result = new(); + public LiteralUnlimitedNatural AssemblyConnectors_PWP_PWP_assert_A_Empty_Pattern_message_result_LiteralUnlimitedNatural4 = new(); + public LiteralInteger AssemblyConnectors_PWP_PWP_assert_A_Empty_Pattern_message_result_LiteralInteger5 = new(); + public LiteralString AssemblyConnectors_PWP_PWP_assert_A_Empty_Pattern_message_LiteralString6 = new(); + public CallBehaviorAction AssemblyConnectors_PWP_PWP_assert_A_Empty_Pattern_writeLine = new(); + public InputPin AssemblyConnectors_PWP_PWP_assert_A_Empty_Pattern_writeLine_value = new(); + public LiteralInteger AssemblyConnectors_PWP_PWP_assert_A_Empty_Pattern_writeLine_value_LiteralInteger7 = new(); + public LiteralInteger AssemblyConnectors_PWP_PWP_assert_A_Empty_Pattern_writeLine_value_LiteralInteger8 = new(); + public LiteralUnlimitedNatural AssemblyConnectors_PWP_PWP_assert_A_Empty_Pattern_writeLine_value_LiteralUnlimitedNatural9 = new(); + public OutputPin AssemblyConnectors_PWP_PWP_assert_A_Empty_Pattern_writeLine_errorStatus = new(); + public LiteralInteger AssemblyConnectors_PWP_PWP_assert_A_Empty_Pattern_writeLine_errorStatus_LiteralInteger10 = new(); + public LiteralUnlimitedNatural AssemblyConnectors_PWP_PWP_assert_A_Empty_Pattern_writeLine_errorStatus_LiteralUnlimitedNatural11 = new(); + public LiteralInteger AssemblyConnectors_PWP_PWP_assert_A_Empty_Pattern_writeLine_errorStatus_LiteralInteger12 = new(); + public Association AssemblyConnectors_PWP_PWP_R = new(); + public Property AssemblyConnectors_PWP_PWP_R_x = new(); + public LiteralUnlimitedNatural AssemblyConnectors_PWP_PWP_R_x_LiteralUnlimitedNatural13 = new(); + public LiteralInteger AssemblyConnectors_PWP_PWP_R_x_LiteralInteger14 = new(); + public Property AssemblyConnectors_PWP_PWP_R_y = new(); + public LiteralUnlimitedNatural AssemblyConnectors_PWP_PWP_R_y_LiteralUnlimitedNatural15 = new(); + public LiteralInteger AssemblyConnectors_PWP_PWP_R_y_LiteralInteger16 = new(); + public Activity AssemblyConnectors_PWP_PWP_instantiate_A_Array_Pattern = new(); + public ObjectFlow AssemblyConnectors_PWP_PWP_instantiate_A_Array_Pattern_ObjectFlow17 = new(); + public LiteralInteger AssemblyConnectors_PWP_PWP_instantiate_A_Array_Pattern_ObjectFlow17_LiteralInteger18 = new(); + public LiteralBoolean AssemblyConnectors_PWP_PWP_instantiate_A_Array_Pattern_ObjectFlow17_LiteralBoolean19 = new(); + public CreateObjectAction AssemblyConnectors_PWP_PWP_instantiate_A_Array_Pattern_Create_A_Array_Pattern = new(); + public OutputPin AssemblyConnectors_PWP_PWP_instantiate_A_Array_Pattern_Create_A_Array_Pattern_result = new(); + public LiteralUnlimitedNatural AssemblyConnectors_PWP_PWP_instantiate_A_Array_Pattern_Create_A_Array_Pattern_result_LiteralUnlimitedNatural20 = new(); + public LiteralInteger AssemblyConnectors_PWP_PWP_instantiate_A_Array_Pattern_Create_A_Array_Pattern_result_LiteralInteger21 = new(); + public Parameter AssemblyConnectors_PWP_PWP_instantiate_A_Array_Pattern_a_Array_Pattern = new(); + public CallOperationAction AssemblyConnectors_PWP_PWP_instantiate_A_Array_Pattern_A_Array_Pattern_ = new(); + public OutputPin AssemblyConnectors_PWP_PWP_instantiate_A_Array_Pattern_A_Array_Pattern__result = new(); + public LiteralInteger AssemblyConnectors_PWP_PWP_instantiate_A_Array_Pattern_A_Array_Pattern__result_LiteralInteger22 = new(); + public LiteralUnlimitedNatural AssemblyConnectors_PWP_PWP_instantiate_A_Array_Pattern_A_Array_Pattern__result_LiteralUnlimitedNatural23 = new(); + public LiteralInteger AssemblyConnectors_PWP_PWP_instantiate_A_Array_Pattern_A_Array_Pattern__result_LiteralInteger24 = new(); + public InputPin AssemblyConnectors_PWP_PWP_instantiate_A_Array_Pattern_A_Array_Pattern__target = new(); + public LiteralUnlimitedNatural AssemblyConnectors_PWP_PWP_instantiate_A_Array_Pattern_A_Array_Pattern__target_LiteralUnlimitedNatural25 = new(); + public LiteralInteger AssemblyConnectors_PWP_PWP_instantiate_A_Array_Pattern_A_Array_Pattern__target_LiteralInteger26 = new(); + public ObjectFlow AssemblyConnectors_PWP_PWP_instantiate_A_Array_Pattern_ObjectFlow27 = new(); + public LiteralInteger AssemblyConnectors_PWP_PWP_instantiate_A_Array_Pattern_ObjectFlow27_LiteralInteger28 = new(); + public LiteralBoolean AssemblyConnectors_PWP_PWP_instantiate_A_Array_Pattern_ObjectFlow27_LiteralBoolean29 = new(); + public ActivityParameterNode AssemblyConnectors_PWP_PWP_instantiate_A_Array_Pattern_a_Array_Pattern_node = new(); + public LiteralInteger AssemblyConnectors_PWP_PWP_instantiate_A_Array_Pattern_a_Array_Pattern_node_LiteralInteger30 = new(); + public Class_ AssemblyConnectors_PWP_PWP_C = new(); + public Port AssemblyConnectors_PWP_PWP_C_q = new(); + public LiteralUnlimitedNatural AssemblyConnectors_PWP_PWP_C_q_LiteralUnlimitedNatural31 = new(); + public LiteralInteger AssemblyConnectors_PWP_PWP_C_q_LiteralInteger32 = new(); + public Class_ AssemblyConnectors_PWP_PWP_B = new(); + public Port AssemblyConnectors_PWP_PWP_B_p = new(); + public LiteralUnlimitedNatural AssemblyConnectors_PWP_PWP_B_p_LiteralUnlimitedNatural33 = new(); + public LiteralInteger AssemblyConnectors_PWP_PWP_B_p_LiteralInteger34 = new(); + public Activity AssemblyConnectors_PWP_PWP_instantiate_A_Unconnected_Pattern = new(); + public CreateObjectAction AssemblyConnectors_PWP_PWP_instantiate_A_Unconnected_Pattern_Create_A_Unconnected_Pattern = new(); + public OutputPin AssemblyConnectors_PWP_PWP_instantiate_A_Unconnected_Pattern_Create_A_Unconnected_Pattern_result = new(); + public LiteralInteger AssemblyConnectors_PWP_PWP_instantiate_A_Unconnected_Pattern_Create_A_Unconnected_Pattern_result_LiteralInteger35 = new(); + public LiteralUnlimitedNatural AssemblyConnectors_PWP_PWP_instantiate_A_Unconnected_Pattern_Create_A_Unconnected_Pattern_result_LiteralUnlimitedNatural36 = new(); + public ActivityParameterNode AssemblyConnectors_PWP_PWP_instantiate_A_Unconnected_Pattern_a_Unconnected_Pattern_node = new(); + public Parameter AssemblyConnectors_PWP_PWP_instantiate_A_Unconnected_Pattern_a_Unconnected_Pattern = new(); + public CallOperationAction AssemblyConnectors_PWP_PWP_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern_ = new(); + public OutputPin AssemblyConnectors_PWP_PWP_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern__result = new(); + public LiteralUnlimitedNatural AssemblyConnectors_PWP_PWP_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern__result_LiteralUnlimitedNatural37 = new(); + public LiteralInteger AssemblyConnectors_PWP_PWP_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern__result_LiteralInteger38 = new(); + public LiteralInteger AssemblyConnectors_PWP_PWP_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern__result_LiteralInteger39 = new(); + public InputPin AssemblyConnectors_PWP_PWP_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern__target = new(); + public LiteralInteger AssemblyConnectors_PWP_PWP_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern__target_LiteralInteger40 = new(); + public LiteralUnlimitedNatural AssemblyConnectors_PWP_PWP_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern__target_LiteralUnlimitedNatural41 = new(); + public ObjectFlow AssemblyConnectors_PWP_PWP_instantiate_A_Unconnected_Pattern_ObjectFlow42 = new(); + public LiteralInteger AssemblyConnectors_PWP_PWP_instantiate_A_Unconnected_Pattern_ObjectFlow42_LiteralInteger43 = new(); + public LiteralBoolean AssemblyConnectors_PWP_PWP_instantiate_A_Unconnected_Pattern_ObjectFlow42_LiteralBoolean44 = new(); + public ObjectFlow AssemblyConnectors_PWP_PWP_instantiate_A_Unconnected_Pattern_ObjectFlow45 = new(); + public LiteralBoolean AssemblyConnectors_PWP_PWP_instantiate_A_Unconnected_Pattern_ObjectFlow45_LiteralBoolean46 = new(); + public LiteralInteger AssemblyConnectors_PWP_PWP_instantiate_A_Unconnected_Pattern_ObjectFlow45_LiteralInteger47 = new(); + public Class_ AssemblyConnectors_PWP_PWP_A_Star_Pattern = new(); + public Comment AssemblyConnectors_PWP_PWP_A_Star_Pattern_Comment48 = new(); + public Property AssemblyConnectors_PWP_PWP_A_Star_Pattern_partC = new(); + public LiteralUnlimitedNatural AssemblyConnectors_PWP_PWP_A_Star_Pattern_partC_LiteralUnlimitedNatural49 = new(); + public LiteralInteger AssemblyConnectors_PWP_PWP_A_Star_Pattern_partC_LiteralInteger50 = new(); + public Operation AssemblyConnectors_PWP_PWP_A_Star_Pattern_A_Star_Pattern_A_Star_Pattern = new(); + public Parameter AssemblyConnectors_PWP_PWP_A_Star_Pattern_A_Star_Pattern_A_Star_Pattern_result = new(); + public Connector AssemblyConnectors_PWP_PWP_A_Star_Pattern_r = new(); + public ConnectorEnd AssemblyConnectors_PWP_PWP_A_Star_Pattern_r_ConnectorEnd51 = new(); + public LiteralInteger AssemblyConnectors_PWP_PWP_A_Star_Pattern_r_ConnectorEnd51_connectorEnd_2_Lower = new(); + public LiteralUnlimitedNatural AssemblyConnectors_PWP_PWP_A_Star_Pattern_r_ConnectorEnd51_connectorEnd_2_Upper = new(); + public ConnectorEnd AssemblyConnectors_PWP_PWP_A_Star_Pattern_r_ConnectorEnd52 = new(); + public LiteralUnlimitedNatural AssemblyConnectors_PWP_PWP_A_Star_Pattern_r_ConnectorEnd52_connectorEnd_1_Upper = new(); + public LiteralInteger AssemblyConnectors_PWP_PWP_A_Star_Pattern_r_ConnectorEnd52_connectorEnd_1_Lower = new(); + public Property AssemblyConnectors_PWP_PWP_A_Star_Pattern_partB = new(); + public LiteralUnlimitedNatural AssemblyConnectors_PWP_PWP_A_Star_Pattern_partB_LiteralUnlimitedNatural53 = new(); + public LiteralInteger AssemblyConnectors_PWP_PWP_A_Star_Pattern_partB_LiteralInteger54 = new(); + public Activity AssemblyConnectors_PWP_PWP_assert_A_Unconnected_Pattern = new(); + public Parameter AssemblyConnectors_PWP_PWP_assert_A_Unconnected_Pattern_a_Unconnected_Pattern = new(); + public CallBehaviorAction AssemblyConnectors_PWP_PWP_assert_A_Unconnected_Pattern_writeLine = new(); + public OutputPin AssemblyConnectors_PWP_PWP_assert_A_Unconnected_Pattern_writeLine_errorStatus = new(); + public LiteralInteger AssemblyConnectors_PWP_PWP_assert_A_Unconnected_Pattern_writeLine_errorStatus_LiteralInteger55 = new(); + public LiteralInteger AssemblyConnectors_PWP_PWP_assert_A_Unconnected_Pattern_writeLine_errorStatus_LiteralInteger56 = new(); + public LiteralUnlimitedNatural AssemblyConnectors_PWP_PWP_assert_A_Unconnected_Pattern_writeLine_errorStatus_LiteralUnlimitedNatural57 = new(); + public InputPin AssemblyConnectors_PWP_PWP_assert_A_Unconnected_Pattern_writeLine_value = new(); + public LiteralInteger AssemblyConnectors_PWP_PWP_assert_A_Unconnected_Pattern_writeLine_value_LiteralInteger58 = new(); + public LiteralInteger AssemblyConnectors_PWP_PWP_assert_A_Unconnected_Pattern_writeLine_value_LiteralInteger59 = new(); + public LiteralUnlimitedNatural AssemblyConnectors_PWP_PWP_assert_A_Unconnected_Pattern_writeLine_value_LiteralUnlimitedNatural60 = new(); + public ObjectFlow AssemblyConnectors_PWP_PWP_assert_A_Unconnected_Pattern_ObjectFlow61 = new(); + public LiteralInteger AssemblyConnectors_PWP_PWP_assert_A_Unconnected_Pattern_ObjectFlow61_LiteralInteger62 = new(); + public LiteralBoolean AssemblyConnectors_PWP_PWP_assert_A_Unconnected_Pattern_ObjectFlow61_LiteralBoolean63 = new(); + public ActivityParameterNode AssemblyConnectors_PWP_PWP_assert_A_Unconnected_Pattern_a_Unconnected_Pattern_node = new(); + public LiteralInteger AssemblyConnectors_PWP_PWP_assert_A_Unconnected_Pattern_a_Unconnected_Pattern_node_LiteralInteger64 = new(); + public ValueSpecificationAction AssemblyConnectors_PWP_PWP_assert_A_Unconnected_Pattern_message = new(); + public LiteralString AssemblyConnectors_PWP_PWP_assert_A_Unconnected_Pattern_message_LiteralString65 = new(); + public OutputPin AssemblyConnectors_PWP_PWP_assert_A_Unconnected_Pattern_message_result = new(); + public LiteralInteger AssemblyConnectors_PWP_PWP_assert_A_Unconnected_Pattern_message_result_LiteralInteger66 = new(); + public LiteralUnlimitedNatural AssemblyConnectors_PWP_PWP_assert_A_Unconnected_Pattern_message_result_LiteralUnlimitedNatural67 = new(); + public Activity AssemblyConnectors_PWP_PWP_assert_A_Array_Pattern = new(); + public ActivityParameterNode AssemblyConnectors_PWP_PWP_assert_A_Array_Pattern_a_Array_Pattern_node = new(); + public LiteralInteger AssemblyConnectors_PWP_PWP_assert_A_Array_Pattern_a_Array_Pattern_node_LiteralInteger68 = new(); + public ValueSpecificationAction AssemblyConnectors_PWP_PWP_assert_A_Array_Pattern_message = new(); + public LiteralString AssemblyConnectors_PWP_PWP_assert_A_Array_Pattern_message_LiteralString69 = new(); + public OutputPin AssemblyConnectors_PWP_PWP_assert_A_Array_Pattern_message_result = new(); + public LiteralUnlimitedNatural AssemblyConnectors_PWP_PWP_assert_A_Array_Pattern_message_result_LiteralUnlimitedNatural70 = new(); + public LiteralInteger AssemblyConnectors_PWP_PWP_assert_A_Array_Pattern_message_result_LiteralInteger71 = new(); + public Parameter AssemblyConnectors_PWP_PWP_assert_A_Array_Pattern_a_Array_Pattern = new(); + public CallBehaviorAction AssemblyConnectors_PWP_PWP_assert_A_Array_Pattern_writeLine = new(); + public OutputPin AssemblyConnectors_PWP_PWP_assert_A_Array_Pattern_writeLine_errorStatus = new(); + public LiteralUnlimitedNatural AssemblyConnectors_PWP_PWP_assert_A_Array_Pattern_writeLine_errorStatus_LiteralUnlimitedNatural72 = new(); + public LiteralInteger AssemblyConnectors_PWP_PWP_assert_A_Array_Pattern_writeLine_errorStatus_LiteralInteger73 = new(); + public LiteralInteger AssemblyConnectors_PWP_PWP_assert_A_Array_Pattern_writeLine_errorStatus_LiteralInteger74 = new(); + public InputPin AssemblyConnectors_PWP_PWP_assert_A_Array_Pattern_writeLine_value = new(); + public LiteralUnlimitedNatural AssemblyConnectors_PWP_PWP_assert_A_Array_Pattern_writeLine_value_LiteralUnlimitedNatural75 = new(); + public LiteralInteger AssemblyConnectors_PWP_PWP_assert_A_Array_Pattern_writeLine_value_LiteralInteger76 = new(); + public LiteralInteger AssemblyConnectors_PWP_PWP_assert_A_Array_Pattern_writeLine_value_LiteralInteger77 = new(); + public ObjectFlow AssemblyConnectors_PWP_PWP_assert_A_Array_Pattern_ObjectFlow78 = new(); + public LiteralBoolean AssemblyConnectors_PWP_PWP_assert_A_Array_Pattern_ObjectFlow78_LiteralBoolean79 = new(); + public LiteralInteger AssemblyConnectors_PWP_PWP_assert_A_Array_Pattern_ObjectFlow78_LiteralInteger80 = new(); + public Activity AssemblyConnectors_PWP_PWP_main = new(); + public ObjectFlow AssemblyConnectors_PWP_PWP_main_ObjectFlow81 = new(); + public LiteralBoolean AssemblyConnectors_PWP_PWP_main_ObjectFlow81_LiteralBoolean82 = new(); + public LiteralInteger AssemblyConnectors_PWP_PWP_main_ObjectFlow81_LiteralInteger83 = new(); + public CallBehaviorAction AssemblyConnectors_PWP_PWP_main_instantiate_A_Array_Pattern = new(); + public OutputPin AssemblyConnectors_PWP_PWP_main_instantiate_A_Array_Pattern_a_Array_Pattern = new(); + public LiteralUnlimitedNatural AssemblyConnectors_PWP_PWP_main_instantiate_A_Array_Pattern_a_Array_Pattern_LiteralUnlimitedNatural84 = new(); + public LiteralInteger AssemblyConnectors_PWP_PWP_main_instantiate_A_Array_Pattern_a_Array_Pattern_LiteralInteger85 = new(); + public LiteralInteger AssemblyConnectors_PWP_PWP_main_instantiate_A_Array_Pattern_a_Array_Pattern_LiteralInteger86 = new(); + public ObjectFlow AssemblyConnectors_PWP_PWP_main_ObjectFlow87 = new(); + public LiteralInteger AssemblyConnectors_PWP_PWP_main_ObjectFlow87_LiteralInteger88 = new(); + public LiteralBoolean AssemblyConnectors_PWP_PWP_main_ObjectFlow87_LiteralBoolean89 = new(); + public CallBehaviorAction AssemblyConnectors_PWP_PWP_main_assert_A_Array_Pattern = new(); + public InputPin AssemblyConnectors_PWP_PWP_main_assert_A_Array_Pattern_a_Array_Pattern = new(); + public LiteralInteger AssemblyConnectors_PWP_PWP_main_assert_A_Array_Pattern_a_Array_Pattern_LiteralInteger90 = new(); + public LiteralUnlimitedNatural AssemblyConnectors_PWP_PWP_main_assert_A_Array_Pattern_a_Array_Pattern_LiteralUnlimitedNatural91 = new(); + public LiteralInteger AssemblyConnectors_PWP_PWP_main_assert_A_Array_Pattern_a_Array_Pattern_LiteralInteger92 = new(); + public CallBehaviorAction AssemblyConnectors_PWP_PWP_main_assert_A_Empty_Pattern = new(); + public InputPin AssemblyConnectors_PWP_PWP_main_assert_A_Empty_Pattern_a_Empty_Pattern = new(); + public LiteralInteger AssemblyConnectors_PWP_PWP_main_assert_A_Empty_Pattern_a_Empty_Pattern_LiteralInteger93 = new(); + public LiteralInteger AssemblyConnectors_PWP_PWP_main_assert_A_Empty_Pattern_a_Empty_Pattern_LiteralInteger94 = new(); + public LiteralUnlimitedNatural AssemblyConnectors_PWP_PWP_main_assert_A_Empty_Pattern_a_Empty_Pattern_LiteralUnlimitedNatural95 = new(); + public CallBehaviorAction AssemblyConnectors_PWP_PWP_main_instantiate_A_Empty_Pattern = new(); + public OutputPin AssemblyConnectors_PWP_PWP_main_instantiate_A_Empty_Pattern_a_Empty_Pattern = new(); + public LiteralInteger AssemblyConnectors_PWP_PWP_main_instantiate_A_Empty_Pattern_a_Empty_Pattern_LiteralInteger96 = new(); + public LiteralInteger AssemblyConnectors_PWP_PWP_main_instantiate_A_Empty_Pattern_a_Empty_Pattern_LiteralInteger97 = new(); + public LiteralUnlimitedNatural AssemblyConnectors_PWP_PWP_main_instantiate_A_Empty_Pattern_a_Empty_Pattern_LiteralUnlimitedNatural98 = new(); + public CallBehaviorAction AssemblyConnectors_PWP_PWP_main_assert_A_Star_Pattern = new(); + public InputPin AssemblyConnectors_PWP_PWP_main_assert_A_Star_Pattern_a_Star_Pattern = new(); + public LiteralInteger AssemblyConnectors_PWP_PWP_main_assert_A_Star_Pattern_a_Star_Pattern_LiteralInteger99 = new(); + public LiteralUnlimitedNatural AssemblyConnectors_PWP_PWP_main_assert_A_Star_Pattern_a_Star_Pattern_LiteralUnlimitedNatural100 = new(); + public LiteralInteger AssemblyConnectors_PWP_PWP_main_assert_A_Star_Pattern_a_Star_Pattern_LiteralInteger101 = new(); + public CallBehaviorAction AssemblyConnectors_PWP_PWP_main_assert_A_Unconnected_Pattern = new(); + public InputPin AssemblyConnectors_PWP_PWP_main_assert_A_Unconnected_Pattern_a_Unconnected_Pattern = new(); + public LiteralInteger AssemblyConnectors_PWP_PWP_main_assert_A_Unconnected_Pattern_a_Unconnected_Pattern_LiteralInteger102 = new(); + public LiteralUnlimitedNatural AssemblyConnectors_PWP_PWP_main_assert_A_Unconnected_Pattern_a_Unconnected_Pattern_LiteralUnlimitedNatural103 = new(); + public LiteralInteger AssemblyConnectors_PWP_PWP_main_assert_A_Unconnected_Pattern_a_Unconnected_Pattern_LiteralInteger104 = new(); + public ObjectFlow AssemblyConnectors_PWP_PWP_main_ObjectFlow105 = new(); + public LiteralBoolean AssemblyConnectors_PWP_PWP_main_ObjectFlow105_LiteralBoolean106 = new(); + public LiteralInteger AssemblyConnectors_PWP_PWP_main_ObjectFlow105_LiteralInteger107 = new(); + public ControlFlow AssemblyConnectors_PWP_PWP_main_ControlFlow108 = new(); + public ControlFlow AssemblyConnectors_PWP_PWP_main_ControlFlow109 = new(); + public ControlFlow AssemblyConnectors_PWP_PWP_main_ControlFlow110 = new(); + public CallBehaviorAction AssemblyConnectors_PWP_PWP_main_instantiate_A_Star_Pattern = new(); + public OutputPin AssemblyConnectors_PWP_PWP_main_instantiate_A_Star_Pattern_a_Star_Pattern = new(); + public LiteralInteger AssemblyConnectors_PWP_PWP_main_instantiate_A_Star_Pattern_a_Star_Pattern_LiteralInteger111 = new(); + public LiteralUnlimitedNatural AssemblyConnectors_PWP_PWP_main_instantiate_A_Star_Pattern_a_Star_Pattern_LiteralUnlimitedNatural112 = new(); + public LiteralInteger AssemblyConnectors_PWP_PWP_main_instantiate_A_Star_Pattern_a_Star_Pattern_LiteralInteger113 = new(); + public CallBehaviorAction AssemblyConnectors_PWP_PWP_main_instantiate_A_Unconnected_Pattern = new(); + public OutputPin AssemblyConnectors_PWP_PWP_main_instantiate_A_Unconnected_Pattern_a_Unconnected_Pattern = new(); + public LiteralUnlimitedNatural AssemblyConnectors_PWP_PWP_main_instantiate_A_Unconnected_Pattern_a_Unconnected_Pattern_LiteralUnlimitedNatural114 = new(); + public LiteralInteger AssemblyConnectors_PWP_PWP_main_instantiate_A_Unconnected_Pattern_a_Unconnected_Pattern_LiteralInteger115 = new(); + public LiteralInteger AssemblyConnectors_PWP_PWP_main_instantiate_A_Unconnected_Pattern_a_Unconnected_Pattern_LiteralInteger116 = new(); + public ObjectFlow AssemblyConnectors_PWP_PWP_main_ObjectFlow117 = new(); + public LiteralInteger AssemblyConnectors_PWP_PWP_main_ObjectFlow117_LiteralInteger118 = new(); + public LiteralBoolean AssemblyConnectors_PWP_PWP_main_ObjectFlow117_LiteralBoolean119 = new(); + public Class_ AssemblyConnectors_PWP_PWP_A_Unconnected_Pattern = new(); + public Comment AssemblyConnectors_PWP_PWP_A_Unconnected_Pattern_Comment120 = new(); + public Property AssemblyConnectors_PWP_PWP_A_Unconnected_Pattern_partC = new(); + public LiteralInteger AssemblyConnectors_PWP_PWP_A_Unconnected_Pattern_partC_LiteralInteger121 = new(); + public LiteralUnlimitedNatural AssemblyConnectors_PWP_PWP_A_Unconnected_Pattern_partC_LiteralUnlimitedNatural122 = new(); + public Property AssemblyConnectors_PWP_PWP_A_Unconnected_Pattern_partB = new(); + public LiteralUnlimitedNatural AssemblyConnectors_PWP_PWP_A_Unconnected_Pattern_partB_LiteralUnlimitedNatural123 = new(); + public LiteralInteger AssemblyConnectors_PWP_PWP_A_Unconnected_Pattern_partB_LiteralInteger124 = new(); + public Connector AssemblyConnectors_PWP_PWP_A_Unconnected_Pattern_r = new(); + public ConnectorEnd AssemblyConnectors_PWP_PWP_A_Unconnected_Pattern_r_ConnectorEnd125 = new(); + public LiteralInteger AssemblyConnectors_PWP_PWP_A_Unconnected_Pattern_r_ConnectorEnd125_connectorEnd_2_Lower = new(); + public LiteralUnlimitedNatural AssemblyConnectors_PWP_PWP_A_Unconnected_Pattern_r_ConnectorEnd125_connectorEnd_2_Upper = new(); + public ConnectorEnd AssemblyConnectors_PWP_PWP_A_Unconnected_Pattern_r_ConnectorEnd126 = new(); + public LiteralInteger AssemblyConnectors_PWP_PWP_A_Unconnected_Pattern_r_ConnectorEnd126_connectorEnd_1_Lower = new(); + public LiteralUnlimitedNatural AssemblyConnectors_PWP_PWP_A_Unconnected_Pattern_r_ConnectorEnd126_connectorEnd_1_Upper = new(); + public Operation AssemblyConnectors_PWP_PWP_A_Unconnected_Pattern_A_Unconnected_Pattern_A_Unconnected_Pattern = new(); + public Parameter AssemblyConnectors_PWP_PWP_A_Unconnected_Pattern_A_Unconnected_Pattern_A_Unconnected_Pattern_result = new(); + public Class_ AssemblyConnectors_PWP_PWP_A_Array_Pattern = new(); + public Property AssemblyConnectors_PWP_PWP_A_Array_Pattern_partB = new(); + public LiteralInteger AssemblyConnectors_PWP_PWP_A_Array_Pattern_partB_LiteralInteger127 = new(); + public LiteralUnlimitedNatural AssemblyConnectors_PWP_PWP_A_Array_Pattern_partB_LiteralUnlimitedNatural128 = new(); + public Property AssemblyConnectors_PWP_PWP_A_Array_Pattern_partC = new(); + public LiteralUnlimitedNatural AssemblyConnectors_PWP_PWP_A_Array_Pattern_partC_LiteralUnlimitedNatural129 = new(); + public LiteralInteger AssemblyConnectors_PWP_PWP_A_Array_Pattern_partC_LiteralInteger130 = new(); + public Comment AssemblyConnectors_PWP_PWP_A_Array_Pattern_Comment131 = new(); + public Connector AssemblyConnectors_PWP_PWP_A_Array_Pattern_r = new(); + public ConnectorEnd AssemblyConnectors_PWP_PWP_A_Array_Pattern_r_ConnectorEnd132 = new(); + public LiteralInteger AssemblyConnectors_PWP_PWP_A_Array_Pattern_r_ConnectorEnd132_connectorEnd_1_Lower = new(); + public LiteralUnlimitedNatural AssemblyConnectors_PWP_PWP_A_Array_Pattern_r_ConnectorEnd132_connectorEnd_1_Upper = new(); + public ConnectorEnd AssemblyConnectors_PWP_PWP_A_Array_Pattern_r_ConnectorEnd133 = new(); + public LiteralInteger AssemblyConnectors_PWP_PWP_A_Array_Pattern_r_ConnectorEnd133_connectorEnd_2_Lower = new(); + public LiteralUnlimitedNatural AssemblyConnectors_PWP_PWP_A_Array_Pattern_r_ConnectorEnd133_connectorEnd_2_Upper = new(); + public Operation AssemblyConnectors_PWP_PWP_A_Array_Pattern_A_Array_Pattern_A_Array_Pattern = new(); + public Parameter AssemblyConnectors_PWP_PWP_A_Array_Pattern_A_Array_Pattern_A_Array_Pattern_result = new(); + public Activity AssemblyConnectors_PWP_PWP_instantiate_A_Empty_Pattern = new(); + public ActivityParameterNode AssemblyConnectors_PWP_PWP_instantiate_A_Empty_Pattern_a_Empty_Pattern_node = new(); + public CallOperationAction AssemblyConnectors_PWP_PWP_instantiate_A_Empty_Pattern_A_Empty_Pattern_ = new(); + public InputPin AssemblyConnectors_PWP_PWP_instantiate_A_Empty_Pattern_A_Empty_Pattern__target = new(); + public LiteralInteger AssemblyConnectors_PWP_PWP_instantiate_A_Empty_Pattern_A_Empty_Pattern__target_LiteralInteger134 = new(); + public LiteralUnlimitedNatural AssemblyConnectors_PWP_PWP_instantiate_A_Empty_Pattern_A_Empty_Pattern__target_LiteralUnlimitedNatural135 = new(); + public OutputPin AssemblyConnectors_PWP_PWP_instantiate_A_Empty_Pattern_A_Empty_Pattern__result = new(); + public LiteralInteger AssemblyConnectors_PWP_PWP_instantiate_A_Empty_Pattern_A_Empty_Pattern__result_LiteralInteger136 = new(); + public LiteralInteger AssemblyConnectors_PWP_PWP_instantiate_A_Empty_Pattern_A_Empty_Pattern__result_LiteralInteger137 = new(); + public LiteralUnlimitedNatural AssemblyConnectors_PWP_PWP_instantiate_A_Empty_Pattern_A_Empty_Pattern__result_LiteralUnlimitedNatural138 = new(); + public ObjectFlow AssemblyConnectors_PWP_PWP_instantiate_A_Empty_Pattern_ObjectFlow139 = new(); + public LiteralInteger AssemblyConnectors_PWP_PWP_instantiate_A_Empty_Pattern_ObjectFlow139_LiteralInteger140 = new(); + public LiteralBoolean AssemblyConnectors_PWP_PWP_instantiate_A_Empty_Pattern_ObjectFlow139_LiteralBoolean141 = new(); + public Parameter AssemblyConnectors_PWP_PWP_instantiate_A_Empty_Pattern_a_Empty_Pattern = new(); + public CreateObjectAction AssemblyConnectors_PWP_PWP_instantiate_A_Empty_Pattern_Create_A_Empty_Pattern = new(); + public OutputPin AssemblyConnectors_PWP_PWP_instantiate_A_Empty_Pattern_Create_A_Empty_Pattern_result = new(); + public LiteralInteger AssemblyConnectors_PWP_PWP_instantiate_A_Empty_Pattern_Create_A_Empty_Pattern_result_LiteralInteger142 = new(); + public LiteralUnlimitedNatural AssemblyConnectors_PWP_PWP_instantiate_A_Empty_Pattern_Create_A_Empty_Pattern_result_LiteralUnlimitedNatural143 = new(); + public ObjectFlow AssemblyConnectors_PWP_PWP_instantiate_A_Empty_Pattern_ObjectFlow144 = new(); + public LiteralInteger AssemblyConnectors_PWP_PWP_instantiate_A_Empty_Pattern_ObjectFlow144_LiteralInteger145 = new(); + public LiteralBoolean AssemblyConnectors_PWP_PWP_instantiate_A_Empty_Pattern_ObjectFlow144_LiteralBoolean146 = new(); + public Activity AssemblyConnectors_PWP_PWP_assert_A_Star_Pattern = new(); + public ObjectFlow AssemblyConnectors_PWP_PWP_assert_A_Star_Pattern_ObjectFlow147 = new(); + public LiteralBoolean AssemblyConnectors_PWP_PWP_assert_A_Star_Pattern_ObjectFlow147_LiteralBoolean148 = new(); + public LiteralInteger AssemblyConnectors_PWP_PWP_assert_A_Star_Pattern_ObjectFlow147_LiteralInteger149 = new(); + public CallBehaviorAction AssemblyConnectors_PWP_PWP_assert_A_Star_Pattern_writeLine = new(); + public InputPin AssemblyConnectors_PWP_PWP_assert_A_Star_Pattern_writeLine_value = new(); + public LiteralInteger AssemblyConnectors_PWP_PWP_assert_A_Star_Pattern_writeLine_value_LiteralInteger150 = new(); + public LiteralInteger AssemblyConnectors_PWP_PWP_assert_A_Star_Pattern_writeLine_value_LiteralInteger151 = new(); + public LiteralUnlimitedNatural AssemblyConnectors_PWP_PWP_assert_A_Star_Pattern_writeLine_value_LiteralUnlimitedNatural152 = new(); + public OutputPin AssemblyConnectors_PWP_PWP_assert_A_Star_Pattern_writeLine_errorStatus = new(); + public LiteralInteger AssemblyConnectors_PWP_PWP_assert_A_Star_Pattern_writeLine_errorStatus_LiteralInteger153 = new(); + public LiteralInteger AssemblyConnectors_PWP_PWP_assert_A_Star_Pattern_writeLine_errorStatus_LiteralInteger154 = new(); + public LiteralUnlimitedNatural AssemblyConnectors_PWP_PWP_assert_A_Star_Pattern_writeLine_errorStatus_LiteralUnlimitedNatural155 = new(); + public ActivityParameterNode AssemblyConnectors_PWP_PWP_assert_A_Star_Pattern_a_Star_Pattern_node = new(); + public LiteralInteger AssemblyConnectors_PWP_PWP_assert_A_Star_Pattern_a_Star_Pattern_node_LiteralInteger156 = new(); + public Parameter AssemblyConnectors_PWP_PWP_assert_A_Star_Pattern_a_Star_Pattern = new(); + public ValueSpecificationAction AssemblyConnectors_PWP_PWP_assert_A_Star_Pattern_message = new(); + public OutputPin AssemblyConnectors_PWP_PWP_assert_A_Star_Pattern_message_result = new(); + public LiteralInteger AssemblyConnectors_PWP_PWP_assert_A_Star_Pattern_message_result_LiteralInteger157 = new(); + public LiteralUnlimitedNatural AssemblyConnectors_PWP_PWP_assert_A_Star_Pattern_message_result_LiteralUnlimitedNatural158 = new(); + public LiteralString AssemblyConnectors_PWP_PWP_assert_A_Star_Pattern_message_LiteralString159 = new(); + public Class_ AssemblyConnectors_PWP_PWP_IImpl = new(); + public InterfaceRealization AssemblyConnectors_PWP_PWP_IImpl_I_Realization = new(); + public Interface AssemblyConnectors_PWP_PWP_I = new(); + public Class_ AssemblyConnectors_PWP_PWP_A_Empty_Pattern = new(); + public Property AssemblyConnectors_PWP_PWP_A_Empty_Pattern_partB = new(); + public LiteralInteger AssemblyConnectors_PWP_PWP_A_Empty_Pattern_partB_LiteralInteger160 = new(); + public LiteralUnlimitedNatural AssemblyConnectors_PWP_PWP_A_Empty_Pattern_partB_LiteralUnlimitedNatural161 = new(); + public Property AssemblyConnectors_PWP_PWP_A_Empty_Pattern_partC = new(); + public LiteralInteger AssemblyConnectors_PWP_PWP_A_Empty_Pattern_partC_LiteralInteger162 = new(); + public LiteralUnlimitedNatural AssemblyConnectors_PWP_PWP_A_Empty_Pattern_partC_LiteralUnlimitedNatural163 = new(); + public Operation AssemblyConnectors_PWP_PWP_A_Empty_Pattern_A_Empty_Pattern_A_Empty_Pattern = new(); + public Parameter AssemblyConnectors_PWP_PWP_A_Empty_Pattern_A_Empty_Pattern_A_Empty_Pattern_result = new(); + public Connector AssemblyConnectors_PWP_PWP_A_Empty_Pattern_r = new(); + public ConnectorEnd AssemblyConnectors_PWP_PWP_A_Empty_Pattern_r_ConnectorEnd164 = new(); + public LiteralUnlimitedNatural AssemblyConnectors_PWP_PWP_A_Empty_Pattern_r_ConnectorEnd164_connectorEnd_2_Upper = new(); + public LiteralInteger AssemblyConnectors_PWP_PWP_A_Empty_Pattern_r_ConnectorEnd164_connectorEnd_2_Lower = new(); + public ConnectorEnd AssemblyConnectors_PWP_PWP_A_Empty_Pattern_r_ConnectorEnd165 = new(); + public LiteralUnlimitedNatural AssemblyConnectors_PWP_PWP_A_Empty_Pattern_r_ConnectorEnd165_connectorEnd_1_Upper = new(); + public LiteralInteger AssemblyConnectors_PWP_PWP_A_Empty_Pattern_r_ConnectorEnd165_connectorEnd_1_Lower = new(); + public Comment AssemblyConnectors_PWP_PWP_A_Empty_Pattern_Comment166 = new(); + public Activity AssemblyConnectors_PWP_PWP_instantiate_A_Star_Pattern = new(); + public CallOperationAction AssemblyConnectors_PWP_PWP_instantiate_A_Star_Pattern_A_Star_Pattern_ = new(); + public InputPin AssemblyConnectors_PWP_PWP_instantiate_A_Star_Pattern_A_Star_Pattern__target = new(); + public LiteralUnlimitedNatural AssemblyConnectors_PWP_PWP_instantiate_A_Star_Pattern_A_Star_Pattern__target_LiteralUnlimitedNatural167 = new(); + public LiteralInteger AssemblyConnectors_PWP_PWP_instantiate_A_Star_Pattern_A_Star_Pattern__target_LiteralInteger168 = new(); + public OutputPin AssemblyConnectors_PWP_PWP_instantiate_A_Star_Pattern_A_Star_Pattern__result = new(); + public LiteralInteger AssemblyConnectors_PWP_PWP_instantiate_A_Star_Pattern_A_Star_Pattern__result_LiteralInteger169 = new(); + public LiteralUnlimitedNatural AssemblyConnectors_PWP_PWP_instantiate_A_Star_Pattern_A_Star_Pattern__result_LiteralUnlimitedNatural170 = new(); + public LiteralInteger AssemblyConnectors_PWP_PWP_instantiate_A_Star_Pattern_A_Star_Pattern__result_LiteralInteger171 = new(); + public ObjectFlow AssemblyConnectors_PWP_PWP_instantiate_A_Star_Pattern_ObjectFlow172 = new(); + public LiteralBoolean AssemblyConnectors_PWP_PWP_instantiate_A_Star_Pattern_ObjectFlow172_LiteralBoolean173 = new(); + public LiteralInteger AssemblyConnectors_PWP_PWP_instantiate_A_Star_Pattern_ObjectFlow172_LiteralInteger174 = new(); + public ActivityParameterNode AssemblyConnectors_PWP_PWP_instantiate_A_Star_Pattern_a_Star_Pattern_node = new(); + public Parameter AssemblyConnectors_PWP_PWP_instantiate_A_Star_Pattern_a_Star_Pattern = new(); + public ObjectFlow AssemblyConnectors_PWP_PWP_instantiate_A_Star_Pattern_ObjectFlow175 = new(); + public LiteralBoolean AssemblyConnectors_PWP_PWP_instantiate_A_Star_Pattern_ObjectFlow175_LiteralBoolean176 = new(); + public LiteralInteger AssemblyConnectors_PWP_PWP_instantiate_A_Star_Pattern_ObjectFlow175_LiteralInteger177 = new(); + public CreateObjectAction AssemblyConnectors_PWP_PWP_instantiate_A_Star_Pattern_Create_A_Star_Pattern = new(); + public OutputPin AssemblyConnectors_PWP_PWP_instantiate_A_Star_Pattern_Create_A_Star_Pattern_result = new(); + public LiteralUnlimitedNatural AssemblyConnectors_PWP_PWP_instantiate_A_Star_Pattern_Create_A_Star_Pattern_result_LiteralUnlimitedNatural178 = new(); + public LiteralInteger AssemblyConnectors_PWP_PWP_instantiate_A_Star_Pattern_Create_A_Star_Pattern_result_LiteralInteger179 = new(); + + public static AssemblyConnectors_PWP_PWPModel Instance() + { + if (instance is null) + { + instance = new(); + instance.InitializeInMemoryModel(); + } + + return instance; + } + + public AssemblyConnectors_PWP_PWPModel() + { + /* Start of user code : Additional model initializations + * This section may be used to do any additional model initialization, + * for example initializing user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } + + private void InitializeInMemoryModel() + { + // Create public members + /* + * Model AssemblyConnectors_PWP_PWP + */ + AddToElementRepository("AssemblyConnectors_PWP_PWP", AssemblyConnectors_PWP_PWP); + AddToElementRepository("assert_A_Empty_Pattern", AssemblyConnectors_PWP_PWP_assert_A_Empty_Pattern); + AddToElementRepository("a_Empty_Pattern_node", AssemblyConnectors_PWP_PWP_assert_A_Empty_Pattern_a_Empty_Pattern_node); + AddToElementRepository("LiteralInteger0", AssemblyConnectors_PWP_PWP_assert_A_Empty_Pattern_a_Empty_Pattern_node_LiteralInteger0); + AddToElementRepository("a_Empty_Pattern", AssemblyConnectors_PWP_PWP_assert_A_Empty_Pattern_a_Empty_Pattern); + AddToElementRepository("ObjectFlow1", AssemblyConnectors_PWP_PWP_assert_A_Empty_Pattern_ObjectFlow1); + AddToElementRepository("LiteralInteger2", AssemblyConnectors_PWP_PWP_assert_A_Empty_Pattern_ObjectFlow1_LiteralInteger2); + AddToElementRepository("LiteralBoolean3", AssemblyConnectors_PWP_PWP_assert_A_Empty_Pattern_ObjectFlow1_LiteralBoolean3); + AddToElementRepository("message", AssemblyConnectors_PWP_PWP_assert_A_Empty_Pattern_message); + AddToElementRepository("result", AssemblyConnectors_PWP_PWP_assert_A_Empty_Pattern_message_result); + AddToElementRepository("LiteralUnlimitedNatural4", AssemblyConnectors_PWP_PWP_assert_A_Empty_Pattern_message_result_LiteralUnlimitedNatural4); + AddToElementRepository("LiteralInteger5", AssemblyConnectors_PWP_PWP_assert_A_Empty_Pattern_message_result_LiteralInteger5); + AddToElementRepository("LiteralString6", AssemblyConnectors_PWP_PWP_assert_A_Empty_Pattern_message_LiteralString6); + AddToElementRepository("writeLine", AssemblyConnectors_PWP_PWP_assert_A_Empty_Pattern_writeLine); + AddToElementRepository("value", AssemblyConnectors_PWP_PWP_assert_A_Empty_Pattern_writeLine_value); + AddToElementRepository("LiteralInteger7", AssemblyConnectors_PWP_PWP_assert_A_Empty_Pattern_writeLine_value_LiteralInteger7); + AddToElementRepository("LiteralInteger8", AssemblyConnectors_PWP_PWP_assert_A_Empty_Pattern_writeLine_value_LiteralInteger8); + AddToElementRepository("LiteralUnlimitedNatural9", AssemblyConnectors_PWP_PWP_assert_A_Empty_Pattern_writeLine_value_LiteralUnlimitedNatural9); + AddToElementRepository("errorStatus", AssemblyConnectors_PWP_PWP_assert_A_Empty_Pattern_writeLine_errorStatus); + AddToElementRepository("LiteralInteger10", AssemblyConnectors_PWP_PWP_assert_A_Empty_Pattern_writeLine_errorStatus_LiteralInteger10); + AddToElementRepository("LiteralUnlimitedNatural11", AssemblyConnectors_PWP_PWP_assert_A_Empty_Pattern_writeLine_errorStatus_LiteralUnlimitedNatural11); + AddToElementRepository("LiteralInteger12", AssemblyConnectors_PWP_PWP_assert_A_Empty_Pattern_writeLine_errorStatus_LiteralInteger12); + AddToElementRepository("R", AssemblyConnectors_PWP_PWP_R); + AddToElementRepository("x", AssemblyConnectors_PWP_PWP_R_x); + AddToElementRepository("LiteralUnlimitedNatural13", AssemblyConnectors_PWP_PWP_R_x_LiteralUnlimitedNatural13); + AddToElementRepository("LiteralInteger14", AssemblyConnectors_PWP_PWP_R_x_LiteralInteger14); + AddToElementRepository("y", AssemblyConnectors_PWP_PWP_R_y); + AddToElementRepository("LiteralUnlimitedNatural15", AssemblyConnectors_PWP_PWP_R_y_LiteralUnlimitedNatural15); + AddToElementRepository("LiteralInteger16", AssemblyConnectors_PWP_PWP_R_y_LiteralInteger16); + AddToElementRepository("instantiate_A_Array_Pattern", AssemblyConnectors_PWP_PWP_instantiate_A_Array_Pattern); + AddToElementRepository("ObjectFlow17", AssemblyConnectors_PWP_PWP_instantiate_A_Array_Pattern_ObjectFlow17); + AddToElementRepository("LiteralInteger18", AssemblyConnectors_PWP_PWP_instantiate_A_Array_Pattern_ObjectFlow17_LiteralInteger18); + AddToElementRepository("LiteralBoolean19", AssemblyConnectors_PWP_PWP_instantiate_A_Array_Pattern_ObjectFlow17_LiteralBoolean19); + AddToElementRepository("Create A_Array_Pattern", AssemblyConnectors_PWP_PWP_instantiate_A_Array_Pattern_Create_A_Array_Pattern); + AddToElementRepository("result", AssemblyConnectors_PWP_PWP_instantiate_A_Array_Pattern_Create_A_Array_Pattern_result); + AddToElementRepository("LiteralUnlimitedNatural20", AssemblyConnectors_PWP_PWP_instantiate_A_Array_Pattern_Create_A_Array_Pattern_result_LiteralUnlimitedNatural20); + AddToElementRepository("LiteralInteger21", AssemblyConnectors_PWP_PWP_instantiate_A_Array_Pattern_Create_A_Array_Pattern_result_LiteralInteger21); + AddToElementRepository("a_Array_Pattern", AssemblyConnectors_PWP_PWP_instantiate_A_Array_Pattern_a_Array_Pattern); + AddToElementRepository("A_Array_Pattern()", AssemblyConnectors_PWP_PWP_instantiate_A_Array_Pattern_A_Array_Pattern_); + AddToElementRepository("result", AssemblyConnectors_PWP_PWP_instantiate_A_Array_Pattern_A_Array_Pattern__result); + AddToElementRepository("LiteralInteger22", AssemblyConnectors_PWP_PWP_instantiate_A_Array_Pattern_A_Array_Pattern__result_LiteralInteger22); + AddToElementRepository("LiteralUnlimitedNatural23", AssemblyConnectors_PWP_PWP_instantiate_A_Array_Pattern_A_Array_Pattern__result_LiteralUnlimitedNatural23); + AddToElementRepository("LiteralInteger24", AssemblyConnectors_PWP_PWP_instantiate_A_Array_Pattern_A_Array_Pattern__result_LiteralInteger24); + AddToElementRepository("target", AssemblyConnectors_PWP_PWP_instantiate_A_Array_Pattern_A_Array_Pattern__target); + AddToElementRepository("LiteralUnlimitedNatural25", AssemblyConnectors_PWP_PWP_instantiate_A_Array_Pattern_A_Array_Pattern__target_LiteralUnlimitedNatural25); + AddToElementRepository("LiteralInteger26", AssemblyConnectors_PWP_PWP_instantiate_A_Array_Pattern_A_Array_Pattern__target_LiteralInteger26); + AddToElementRepository("ObjectFlow27", AssemblyConnectors_PWP_PWP_instantiate_A_Array_Pattern_ObjectFlow27); + AddToElementRepository("LiteralInteger28", AssemblyConnectors_PWP_PWP_instantiate_A_Array_Pattern_ObjectFlow27_LiteralInteger28); + AddToElementRepository("LiteralBoolean29", AssemblyConnectors_PWP_PWP_instantiate_A_Array_Pattern_ObjectFlow27_LiteralBoolean29); + AddToElementRepository("a_Array_Pattern_node", AssemblyConnectors_PWP_PWP_instantiate_A_Array_Pattern_a_Array_Pattern_node); + AddToElementRepository("LiteralInteger30", AssemblyConnectors_PWP_PWP_instantiate_A_Array_Pattern_a_Array_Pattern_node_LiteralInteger30); + AddToElementRepository("C", AssemblyConnectors_PWP_PWP_C); + AddToElementRepository("q", AssemblyConnectors_PWP_PWP_C_q); + AddToElementRepository("LiteralUnlimitedNatural31", AssemblyConnectors_PWP_PWP_C_q_LiteralUnlimitedNatural31); + AddToElementRepository("LiteralInteger32", AssemblyConnectors_PWP_PWP_C_q_LiteralInteger32); + AddToElementRepository("B", AssemblyConnectors_PWP_PWP_B); + AddToElementRepository("p", AssemblyConnectors_PWP_PWP_B_p); + AddToElementRepository("LiteralUnlimitedNatural33", AssemblyConnectors_PWP_PWP_B_p_LiteralUnlimitedNatural33); + AddToElementRepository("LiteralInteger34", AssemblyConnectors_PWP_PWP_B_p_LiteralInteger34); + AddToElementRepository("instantiate_A_Unconnected_Pattern", AssemblyConnectors_PWP_PWP_instantiate_A_Unconnected_Pattern); + AddToElementRepository("Create A_Unconnected_Pattern", AssemblyConnectors_PWP_PWP_instantiate_A_Unconnected_Pattern_Create_A_Unconnected_Pattern); + AddToElementRepository("result", AssemblyConnectors_PWP_PWP_instantiate_A_Unconnected_Pattern_Create_A_Unconnected_Pattern_result); + AddToElementRepository("LiteralInteger35", AssemblyConnectors_PWP_PWP_instantiate_A_Unconnected_Pattern_Create_A_Unconnected_Pattern_result_LiteralInteger35); + AddToElementRepository("LiteralUnlimitedNatural36", AssemblyConnectors_PWP_PWP_instantiate_A_Unconnected_Pattern_Create_A_Unconnected_Pattern_result_LiteralUnlimitedNatural36); + AddToElementRepository("a_Unconnected_Pattern_node", AssemblyConnectors_PWP_PWP_instantiate_A_Unconnected_Pattern_a_Unconnected_Pattern_node); + AddToElementRepository("a_Unconnected_Pattern", AssemblyConnectors_PWP_PWP_instantiate_A_Unconnected_Pattern_a_Unconnected_Pattern); + AddToElementRepository("A_Unconnected_Pattern()", AssemblyConnectors_PWP_PWP_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern_); + AddToElementRepository("result", AssemblyConnectors_PWP_PWP_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern__result); + AddToElementRepository("LiteralUnlimitedNatural37", AssemblyConnectors_PWP_PWP_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern__result_LiteralUnlimitedNatural37); + AddToElementRepository("LiteralInteger38", AssemblyConnectors_PWP_PWP_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern__result_LiteralInteger38); + AddToElementRepository("LiteralInteger39", AssemblyConnectors_PWP_PWP_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern__result_LiteralInteger39); + AddToElementRepository("target", AssemblyConnectors_PWP_PWP_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern__target); + AddToElementRepository("LiteralInteger40", AssemblyConnectors_PWP_PWP_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern__target_LiteralInteger40); + AddToElementRepository("LiteralUnlimitedNatural41", AssemblyConnectors_PWP_PWP_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern__target_LiteralUnlimitedNatural41); + AddToElementRepository("ObjectFlow42", AssemblyConnectors_PWP_PWP_instantiate_A_Unconnected_Pattern_ObjectFlow42); + AddToElementRepository("LiteralInteger43", AssemblyConnectors_PWP_PWP_instantiate_A_Unconnected_Pattern_ObjectFlow42_LiteralInteger43); + AddToElementRepository("LiteralBoolean44", AssemblyConnectors_PWP_PWP_instantiate_A_Unconnected_Pattern_ObjectFlow42_LiteralBoolean44); + AddToElementRepository("ObjectFlow45", AssemblyConnectors_PWP_PWP_instantiate_A_Unconnected_Pattern_ObjectFlow45); + AddToElementRepository("LiteralBoolean46", AssemblyConnectors_PWP_PWP_instantiate_A_Unconnected_Pattern_ObjectFlow45_LiteralBoolean46); + AddToElementRepository("LiteralInteger47", AssemblyConnectors_PWP_PWP_instantiate_A_Unconnected_Pattern_ObjectFlow45_LiteralInteger47); + AddToElementRepository("A_Star_Pattern", AssemblyConnectors_PWP_PWP_A_Star_Pattern); + AddToElementRepository("Comment48", AssemblyConnectors_PWP_PWP_A_Star_Pattern_Comment48); + AddToElementRepository("partC", AssemblyConnectors_PWP_PWP_A_Star_Pattern_partC); + AddToElementRepository("LiteralUnlimitedNatural49", AssemblyConnectors_PWP_PWP_A_Star_Pattern_partC_LiteralUnlimitedNatural49); + AddToElementRepository("LiteralInteger50", AssemblyConnectors_PWP_PWP_A_Star_Pattern_partC_LiteralInteger50); + AddToElementRepository("A_Star_Pattern_A_Star_Pattern", AssemblyConnectors_PWP_PWP_A_Star_Pattern_A_Star_Pattern_A_Star_Pattern); + AddToElementRepository("result", AssemblyConnectors_PWP_PWP_A_Star_Pattern_A_Star_Pattern_A_Star_Pattern_result); + AddToElementRepository("r", AssemblyConnectors_PWP_PWP_A_Star_Pattern_r); + AddToElementRepository("ConnectorEnd51", AssemblyConnectors_PWP_PWP_A_Star_Pattern_r_ConnectorEnd51); + AddToElementRepository("connectorEnd_2_Lower", AssemblyConnectors_PWP_PWP_A_Star_Pattern_r_ConnectorEnd51_connectorEnd_2_Lower); + AddToElementRepository("connectorEnd_2_Upper", AssemblyConnectors_PWP_PWP_A_Star_Pattern_r_ConnectorEnd51_connectorEnd_2_Upper); + AddToElementRepository("ConnectorEnd52", AssemblyConnectors_PWP_PWP_A_Star_Pattern_r_ConnectorEnd52); + AddToElementRepository("connectorEnd_1_Upper", AssemblyConnectors_PWP_PWP_A_Star_Pattern_r_ConnectorEnd52_connectorEnd_1_Upper); + AddToElementRepository("connectorEnd_1_Lower", AssemblyConnectors_PWP_PWP_A_Star_Pattern_r_ConnectorEnd52_connectorEnd_1_Lower); + AddToElementRepository("partB", AssemblyConnectors_PWP_PWP_A_Star_Pattern_partB); + AddToElementRepository("LiteralUnlimitedNatural53", AssemblyConnectors_PWP_PWP_A_Star_Pattern_partB_LiteralUnlimitedNatural53); + AddToElementRepository("LiteralInteger54", AssemblyConnectors_PWP_PWP_A_Star_Pattern_partB_LiteralInteger54); + AddToElementRepository("assert_A_Unconnected_Pattern", AssemblyConnectors_PWP_PWP_assert_A_Unconnected_Pattern); + AddToElementRepository("a_Unconnected_Pattern", AssemblyConnectors_PWP_PWP_assert_A_Unconnected_Pattern_a_Unconnected_Pattern); + AddToElementRepository("writeLine", AssemblyConnectors_PWP_PWP_assert_A_Unconnected_Pattern_writeLine); + AddToElementRepository("errorStatus", AssemblyConnectors_PWP_PWP_assert_A_Unconnected_Pattern_writeLine_errorStatus); + AddToElementRepository("LiteralInteger55", AssemblyConnectors_PWP_PWP_assert_A_Unconnected_Pattern_writeLine_errorStatus_LiteralInteger55); + AddToElementRepository("LiteralInteger56", AssemblyConnectors_PWP_PWP_assert_A_Unconnected_Pattern_writeLine_errorStatus_LiteralInteger56); + AddToElementRepository("LiteralUnlimitedNatural57", AssemblyConnectors_PWP_PWP_assert_A_Unconnected_Pattern_writeLine_errorStatus_LiteralUnlimitedNatural57); + AddToElementRepository("value", AssemblyConnectors_PWP_PWP_assert_A_Unconnected_Pattern_writeLine_value); + AddToElementRepository("LiteralInteger58", AssemblyConnectors_PWP_PWP_assert_A_Unconnected_Pattern_writeLine_value_LiteralInteger58); + AddToElementRepository("LiteralInteger59", AssemblyConnectors_PWP_PWP_assert_A_Unconnected_Pattern_writeLine_value_LiteralInteger59); + AddToElementRepository("LiteralUnlimitedNatural60", AssemblyConnectors_PWP_PWP_assert_A_Unconnected_Pattern_writeLine_value_LiteralUnlimitedNatural60); + AddToElementRepository("ObjectFlow61", AssemblyConnectors_PWP_PWP_assert_A_Unconnected_Pattern_ObjectFlow61); + AddToElementRepository("LiteralInteger62", AssemblyConnectors_PWP_PWP_assert_A_Unconnected_Pattern_ObjectFlow61_LiteralInteger62); + AddToElementRepository("LiteralBoolean63", AssemblyConnectors_PWP_PWP_assert_A_Unconnected_Pattern_ObjectFlow61_LiteralBoolean63); + AddToElementRepository("a_Unconnected_Pattern_node", AssemblyConnectors_PWP_PWP_assert_A_Unconnected_Pattern_a_Unconnected_Pattern_node); + AddToElementRepository("LiteralInteger64", AssemblyConnectors_PWP_PWP_assert_A_Unconnected_Pattern_a_Unconnected_Pattern_node_LiteralInteger64); + AddToElementRepository("message", AssemblyConnectors_PWP_PWP_assert_A_Unconnected_Pattern_message); + AddToElementRepository("LiteralString65", AssemblyConnectors_PWP_PWP_assert_A_Unconnected_Pattern_message_LiteralString65); + AddToElementRepository("result", AssemblyConnectors_PWP_PWP_assert_A_Unconnected_Pattern_message_result); + AddToElementRepository("LiteralInteger66", AssemblyConnectors_PWP_PWP_assert_A_Unconnected_Pattern_message_result_LiteralInteger66); + AddToElementRepository("LiteralUnlimitedNatural67", AssemblyConnectors_PWP_PWP_assert_A_Unconnected_Pattern_message_result_LiteralUnlimitedNatural67); + AddToElementRepository("assert_A_Array_Pattern", AssemblyConnectors_PWP_PWP_assert_A_Array_Pattern); + AddToElementRepository("a_Array_Pattern_node", AssemblyConnectors_PWP_PWP_assert_A_Array_Pattern_a_Array_Pattern_node); + AddToElementRepository("LiteralInteger68", AssemblyConnectors_PWP_PWP_assert_A_Array_Pattern_a_Array_Pattern_node_LiteralInteger68); + AddToElementRepository("message", AssemblyConnectors_PWP_PWP_assert_A_Array_Pattern_message); + AddToElementRepository("LiteralString69", AssemblyConnectors_PWP_PWP_assert_A_Array_Pattern_message_LiteralString69); + AddToElementRepository("result", AssemblyConnectors_PWP_PWP_assert_A_Array_Pattern_message_result); + AddToElementRepository("LiteralUnlimitedNatural70", AssemblyConnectors_PWP_PWP_assert_A_Array_Pattern_message_result_LiteralUnlimitedNatural70); + AddToElementRepository("LiteralInteger71", AssemblyConnectors_PWP_PWP_assert_A_Array_Pattern_message_result_LiteralInteger71); + AddToElementRepository("a_Array_Pattern", AssemblyConnectors_PWP_PWP_assert_A_Array_Pattern_a_Array_Pattern); + AddToElementRepository("writeLine", AssemblyConnectors_PWP_PWP_assert_A_Array_Pattern_writeLine); + AddToElementRepository("errorStatus", AssemblyConnectors_PWP_PWP_assert_A_Array_Pattern_writeLine_errorStatus); + AddToElementRepository("LiteralUnlimitedNatural72", AssemblyConnectors_PWP_PWP_assert_A_Array_Pattern_writeLine_errorStatus_LiteralUnlimitedNatural72); + AddToElementRepository("LiteralInteger73", AssemblyConnectors_PWP_PWP_assert_A_Array_Pattern_writeLine_errorStatus_LiteralInteger73); + AddToElementRepository("LiteralInteger74", AssemblyConnectors_PWP_PWP_assert_A_Array_Pattern_writeLine_errorStatus_LiteralInteger74); + AddToElementRepository("value", AssemblyConnectors_PWP_PWP_assert_A_Array_Pattern_writeLine_value); + AddToElementRepository("LiteralUnlimitedNatural75", AssemblyConnectors_PWP_PWP_assert_A_Array_Pattern_writeLine_value_LiteralUnlimitedNatural75); + AddToElementRepository("LiteralInteger76", AssemblyConnectors_PWP_PWP_assert_A_Array_Pattern_writeLine_value_LiteralInteger76); + AddToElementRepository("LiteralInteger77", AssemblyConnectors_PWP_PWP_assert_A_Array_Pattern_writeLine_value_LiteralInteger77); + AddToElementRepository("ObjectFlow78", AssemblyConnectors_PWP_PWP_assert_A_Array_Pattern_ObjectFlow78); + AddToElementRepository("LiteralBoolean79", AssemblyConnectors_PWP_PWP_assert_A_Array_Pattern_ObjectFlow78_LiteralBoolean79); + AddToElementRepository("LiteralInteger80", AssemblyConnectors_PWP_PWP_assert_A_Array_Pattern_ObjectFlow78_LiteralInteger80); + AddToElementRepository("main", AssemblyConnectors_PWP_PWP_main); + AddToElementRepository("ObjectFlow81", AssemblyConnectors_PWP_PWP_main_ObjectFlow81); + AddToElementRepository("LiteralBoolean82", AssemblyConnectors_PWP_PWP_main_ObjectFlow81_LiteralBoolean82); + AddToElementRepository("LiteralInteger83", AssemblyConnectors_PWP_PWP_main_ObjectFlow81_LiteralInteger83); + AddToElementRepository("instantiate_A_Array_Pattern", AssemblyConnectors_PWP_PWP_main_instantiate_A_Array_Pattern); + AddToElementRepository("a_Array_Pattern", AssemblyConnectors_PWP_PWP_main_instantiate_A_Array_Pattern_a_Array_Pattern); + AddToElementRepository("LiteralUnlimitedNatural84", AssemblyConnectors_PWP_PWP_main_instantiate_A_Array_Pattern_a_Array_Pattern_LiteralUnlimitedNatural84); + AddToElementRepository("LiteralInteger85", AssemblyConnectors_PWP_PWP_main_instantiate_A_Array_Pattern_a_Array_Pattern_LiteralInteger85); + AddToElementRepository("LiteralInteger86", AssemblyConnectors_PWP_PWP_main_instantiate_A_Array_Pattern_a_Array_Pattern_LiteralInteger86); + AddToElementRepository("ObjectFlow87", AssemblyConnectors_PWP_PWP_main_ObjectFlow87); + AddToElementRepository("LiteralInteger88", AssemblyConnectors_PWP_PWP_main_ObjectFlow87_LiteralInteger88); + AddToElementRepository("LiteralBoolean89", AssemblyConnectors_PWP_PWP_main_ObjectFlow87_LiteralBoolean89); + AddToElementRepository("assert_A_Array_Pattern", AssemblyConnectors_PWP_PWP_main_assert_A_Array_Pattern); + AddToElementRepository("a_Array_Pattern", AssemblyConnectors_PWP_PWP_main_assert_A_Array_Pattern_a_Array_Pattern); + AddToElementRepository("LiteralInteger90", AssemblyConnectors_PWP_PWP_main_assert_A_Array_Pattern_a_Array_Pattern_LiteralInteger90); + AddToElementRepository("LiteralUnlimitedNatural91", AssemblyConnectors_PWP_PWP_main_assert_A_Array_Pattern_a_Array_Pattern_LiteralUnlimitedNatural91); + AddToElementRepository("LiteralInteger92", AssemblyConnectors_PWP_PWP_main_assert_A_Array_Pattern_a_Array_Pattern_LiteralInteger92); + AddToElementRepository("assert_A_Empty_Pattern", AssemblyConnectors_PWP_PWP_main_assert_A_Empty_Pattern); + AddToElementRepository("a_Empty_Pattern", AssemblyConnectors_PWP_PWP_main_assert_A_Empty_Pattern_a_Empty_Pattern); + AddToElementRepository("LiteralInteger93", AssemblyConnectors_PWP_PWP_main_assert_A_Empty_Pattern_a_Empty_Pattern_LiteralInteger93); + AddToElementRepository("LiteralInteger94", AssemblyConnectors_PWP_PWP_main_assert_A_Empty_Pattern_a_Empty_Pattern_LiteralInteger94); + AddToElementRepository("LiteralUnlimitedNatural95", AssemblyConnectors_PWP_PWP_main_assert_A_Empty_Pattern_a_Empty_Pattern_LiteralUnlimitedNatural95); + AddToElementRepository("instantiate_A_Empty_Pattern", AssemblyConnectors_PWP_PWP_main_instantiate_A_Empty_Pattern); + AddToElementRepository("a_Empty_Pattern", AssemblyConnectors_PWP_PWP_main_instantiate_A_Empty_Pattern_a_Empty_Pattern); + AddToElementRepository("LiteralInteger96", AssemblyConnectors_PWP_PWP_main_instantiate_A_Empty_Pattern_a_Empty_Pattern_LiteralInteger96); + AddToElementRepository("LiteralInteger97", AssemblyConnectors_PWP_PWP_main_instantiate_A_Empty_Pattern_a_Empty_Pattern_LiteralInteger97); + AddToElementRepository("LiteralUnlimitedNatural98", AssemblyConnectors_PWP_PWP_main_instantiate_A_Empty_Pattern_a_Empty_Pattern_LiteralUnlimitedNatural98); + AddToElementRepository("assert_A_Star_Pattern", AssemblyConnectors_PWP_PWP_main_assert_A_Star_Pattern); + AddToElementRepository("a_Star_Pattern", AssemblyConnectors_PWP_PWP_main_assert_A_Star_Pattern_a_Star_Pattern); + AddToElementRepository("LiteralInteger99", AssemblyConnectors_PWP_PWP_main_assert_A_Star_Pattern_a_Star_Pattern_LiteralInteger99); + AddToElementRepository("LiteralUnlimitedNatural100", AssemblyConnectors_PWP_PWP_main_assert_A_Star_Pattern_a_Star_Pattern_LiteralUnlimitedNatural100); + AddToElementRepository("LiteralInteger101", AssemblyConnectors_PWP_PWP_main_assert_A_Star_Pattern_a_Star_Pattern_LiteralInteger101); + AddToElementRepository("assert_A_Unconnected_Pattern", AssemblyConnectors_PWP_PWP_main_assert_A_Unconnected_Pattern); + AddToElementRepository("a_Unconnected_Pattern", AssemblyConnectors_PWP_PWP_main_assert_A_Unconnected_Pattern_a_Unconnected_Pattern); + AddToElementRepository("LiteralInteger102", AssemblyConnectors_PWP_PWP_main_assert_A_Unconnected_Pattern_a_Unconnected_Pattern_LiteralInteger102); + AddToElementRepository("LiteralUnlimitedNatural103", AssemblyConnectors_PWP_PWP_main_assert_A_Unconnected_Pattern_a_Unconnected_Pattern_LiteralUnlimitedNatural103); + AddToElementRepository("LiteralInteger104", AssemblyConnectors_PWP_PWP_main_assert_A_Unconnected_Pattern_a_Unconnected_Pattern_LiteralInteger104); + AddToElementRepository("ObjectFlow105", AssemblyConnectors_PWP_PWP_main_ObjectFlow105); + AddToElementRepository("LiteralBoolean106", AssemblyConnectors_PWP_PWP_main_ObjectFlow105_LiteralBoolean106); + AddToElementRepository("LiteralInteger107", AssemblyConnectors_PWP_PWP_main_ObjectFlow105_LiteralInteger107); + AddToElementRepository("ControlFlow108", AssemblyConnectors_PWP_PWP_main_ControlFlow108); + AddToElementRepository("ControlFlow109", AssemblyConnectors_PWP_PWP_main_ControlFlow109); + AddToElementRepository("ControlFlow110", AssemblyConnectors_PWP_PWP_main_ControlFlow110); + AddToElementRepository("instantiate_A_Star_Pattern", AssemblyConnectors_PWP_PWP_main_instantiate_A_Star_Pattern); + AddToElementRepository("a_Star_Pattern", AssemblyConnectors_PWP_PWP_main_instantiate_A_Star_Pattern_a_Star_Pattern); + AddToElementRepository("LiteralInteger111", AssemblyConnectors_PWP_PWP_main_instantiate_A_Star_Pattern_a_Star_Pattern_LiteralInteger111); + AddToElementRepository("LiteralUnlimitedNatural112", AssemblyConnectors_PWP_PWP_main_instantiate_A_Star_Pattern_a_Star_Pattern_LiteralUnlimitedNatural112); + AddToElementRepository("LiteralInteger113", AssemblyConnectors_PWP_PWP_main_instantiate_A_Star_Pattern_a_Star_Pattern_LiteralInteger113); + AddToElementRepository("instantiate_A_Unconnected_Pattern", AssemblyConnectors_PWP_PWP_main_instantiate_A_Unconnected_Pattern); + AddToElementRepository("a_Unconnected_Pattern", AssemblyConnectors_PWP_PWP_main_instantiate_A_Unconnected_Pattern_a_Unconnected_Pattern); + AddToElementRepository("LiteralUnlimitedNatural114", AssemblyConnectors_PWP_PWP_main_instantiate_A_Unconnected_Pattern_a_Unconnected_Pattern_LiteralUnlimitedNatural114); + AddToElementRepository("LiteralInteger115", AssemblyConnectors_PWP_PWP_main_instantiate_A_Unconnected_Pattern_a_Unconnected_Pattern_LiteralInteger115); + AddToElementRepository("LiteralInteger116", AssemblyConnectors_PWP_PWP_main_instantiate_A_Unconnected_Pattern_a_Unconnected_Pattern_LiteralInteger116); + AddToElementRepository("ObjectFlow117", AssemblyConnectors_PWP_PWP_main_ObjectFlow117); + AddToElementRepository("LiteralInteger118", AssemblyConnectors_PWP_PWP_main_ObjectFlow117_LiteralInteger118); + AddToElementRepository("LiteralBoolean119", AssemblyConnectors_PWP_PWP_main_ObjectFlow117_LiteralBoolean119); + AddToElementRepository("A_Unconnected_Pattern", AssemblyConnectors_PWP_PWP_A_Unconnected_Pattern); + AddToElementRepository("Comment120", AssemblyConnectors_PWP_PWP_A_Unconnected_Pattern_Comment120); + AddToElementRepository("partC", AssemblyConnectors_PWP_PWP_A_Unconnected_Pattern_partC); + AddToElementRepository("LiteralInteger121", AssemblyConnectors_PWP_PWP_A_Unconnected_Pattern_partC_LiteralInteger121); + AddToElementRepository("LiteralUnlimitedNatural122", AssemblyConnectors_PWP_PWP_A_Unconnected_Pattern_partC_LiteralUnlimitedNatural122); + AddToElementRepository("partB", AssemblyConnectors_PWP_PWP_A_Unconnected_Pattern_partB); + AddToElementRepository("LiteralUnlimitedNatural123", AssemblyConnectors_PWP_PWP_A_Unconnected_Pattern_partB_LiteralUnlimitedNatural123); + AddToElementRepository("LiteralInteger124", AssemblyConnectors_PWP_PWP_A_Unconnected_Pattern_partB_LiteralInteger124); + AddToElementRepository("r", AssemblyConnectors_PWP_PWP_A_Unconnected_Pattern_r); + AddToElementRepository("ConnectorEnd125", AssemblyConnectors_PWP_PWP_A_Unconnected_Pattern_r_ConnectorEnd125); + AddToElementRepository("connectorEnd_2_Lower", AssemblyConnectors_PWP_PWP_A_Unconnected_Pattern_r_ConnectorEnd125_connectorEnd_2_Lower); + AddToElementRepository("connectorEnd_2_Upper", AssemblyConnectors_PWP_PWP_A_Unconnected_Pattern_r_ConnectorEnd125_connectorEnd_2_Upper); + AddToElementRepository("ConnectorEnd126", AssemblyConnectors_PWP_PWP_A_Unconnected_Pattern_r_ConnectorEnd126); + AddToElementRepository("connectorEnd_1_Lower", AssemblyConnectors_PWP_PWP_A_Unconnected_Pattern_r_ConnectorEnd126_connectorEnd_1_Lower); + AddToElementRepository("connectorEnd_1_Upper", AssemblyConnectors_PWP_PWP_A_Unconnected_Pattern_r_ConnectorEnd126_connectorEnd_1_Upper); + AddToElementRepository("A_Unconnected_Pattern_A_Unconnected_Pattern", AssemblyConnectors_PWP_PWP_A_Unconnected_Pattern_A_Unconnected_Pattern_A_Unconnected_Pattern); + AddToElementRepository("result", AssemblyConnectors_PWP_PWP_A_Unconnected_Pattern_A_Unconnected_Pattern_A_Unconnected_Pattern_result); + AddToElementRepository("A_Array_Pattern", AssemblyConnectors_PWP_PWP_A_Array_Pattern); + AddToElementRepository("partB", AssemblyConnectors_PWP_PWP_A_Array_Pattern_partB); + AddToElementRepository("LiteralInteger127", AssemblyConnectors_PWP_PWP_A_Array_Pattern_partB_LiteralInteger127); + AddToElementRepository("LiteralUnlimitedNatural128", AssemblyConnectors_PWP_PWP_A_Array_Pattern_partB_LiteralUnlimitedNatural128); + AddToElementRepository("partC", AssemblyConnectors_PWP_PWP_A_Array_Pattern_partC); + AddToElementRepository("LiteralUnlimitedNatural129", AssemblyConnectors_PWP_PWP_A_Array_Pattern_partC_LiteralUnlimitedNatural129); + AddToElementRepository("LiteralInteger130", AssemblyConnectors_PWP_PWP_A_Array_Pattern_partC_LiteralInteger130); + AddToElementRepository("Comment131", AssemblyConnectors_PWP_PWP_A_Array_Pattern_Comment131); + AddToElementRepository("r", AssemblyConnectors_PWP_PWP_A_Array_Pattern_r); + AddToElementRepository("ConnectorEnd132", AssemblyConnectors_PWP_PWP_A_Array_Pattern_r_ConnectorEnd132); + AddToElementRepository("connectorEnd_1_Lower", AssemblyConnectors_PWP_PWP_A_Array_Pattern_r_ConnectorEnd132_connectorEnd_1_Lower); + AddToElementRepository("connectorEnd_1_Upper", AssemblyConnectors_PWP_PWP_A_Array_Pattern_r_ConnectorEnd132_connectorEnd_1_Upper); + AddToElementRepository("ConnectorEnd133", AssemblyConnectors_PWP_PWP_A_Array_Pattern_r_ConnectorEnd133); + AddToElementRepository("connectorEnd_2_Lower", AssemblyConnectors_PWP_PWP_A_Array_Pattern_r_ConnectorEnd133_connectorEnd_2_Lower); + AddToElementRepository("connectorEnd_2_Upper", AssemblyConnectors_PWP_PWP_A_Array_Pattern_r_ConnectorEnd133_connectorEnd_2_Upper); + AddToElementRepository("A_Array_Pattern_A_Array_Pattern", AssemblyConnectors_PWP_PWP_A_Array_Pattern_A_Array_Pattern_A_Array_Pattern); + AddToElementRepository("result", AssemblyConnectors_PWP_PWP_A_Array_Pattern_A_Array_Pattern_A_Array_Pattern_result); + AddToElementRepository("instantiate_A_Empty_Pattern", AssemblyConnectors_PWP_PWP_instantiate_A_Empty_Pattern); + AddToElementRepository("a_Empty_Pattern_node", AssemblyConnectors_PWP_PWP_instantiate_A_Empty_Pattern_a_Empty_Pattern_node); + AddToElementRepository("A_Empty_Pattern()", AssemblyConnectors_PWP_PWP_instantiate_A_Empty_Pattern_A_Empty_Pattern_); + AddToElementRepository("target", AssemblyConnectors_PWP_PWP_instantiate_A_Empty_Pattern_A_Empty_Pattern__target); + AddToElementRepository("LiteralInteger134", AssemblyConnectors_PWP_PWP_instantiate_A_Empty_Pattern_A_Empty_Pattern__target_LiteralInteger134); + AddToElementRepository("LiteralUnlimitedNatural135", AssemblyConnectors_PWP_PWP_instantiate_A_Empty_Pattern_A_Empty_Pattern__target_LiteralUnlimitedNatural135); + AddToElementRepository("result", AssemblyConnectors_PWP_PWP_instantiate_A_Empty_Pattern_A_Empty_Pattern__result); + AddToElementRepository("LiteralInteger136", AssemblyConnectors_PWP_PWP_instantiate_A_Empty_Pattern_A_Empty_Pattern__result_LiteralInteger136); + AddToElementRepository("LiteralInteger137", AssemblyConnectors_PWP_PWP_instantiate_A_Empty_Pattern_A_Empty_Pattern__result_LiteralInteger137); + AddToElementRepository("LiteralUnlimitedNatural138", AssemblyConnectors_PWP_PWP_instantiate_A_Empty_Pattern_A_Empty_Pattern__result_LiteralUnlimitedNatural138); + AddToElementRepository("ObjectFlow139", AssemblyConnectors_PWP_PWP_instantiate_A_Empty_Pattern_ObjectFlow139); + AddToElementRepository("LiteralInteger140", AssemblyConnectors_PWP_PWP_instantiate_A_Empty_Pattern_ObjectFlow139_LiteralInteger140); + AddToElementRepository("LiteralBoolean141", AssemblyConnectors_PWP_PWP_instantiate_A_Empty_Pattern_ObjectFlow139_LiteralBoolean141); + AddToElementRepository("a_Empty_Pattern", AssemblyConnectors_PWP_PWP_instantiate_A_Empty_Pattern_a_Empty_Pattern); + AddToElementRepository("Create A_Empty_Pattern", AssemblyConnectors_PWP_PWP_instantiate_A_Empty_Pattern_Create_A_Empty_Pattern); + AddToElementRepository("result", AssemblyConnectors_PWP_PWP_instantiate_A_Empty_Pattern_Create_A_Empty_Pattern_result); + AddToElementRepository("LiteralInteger142", AssemblyConnectors_PWP_PWP_instantiate_A_Empty_Pattern_Create_A_Empty_Pattern_result_LiteralInteger142); + AddToElementRepository("LiteralUnlimitedNatural143", AssemblyConnectors_PWP_PWP_instantiate_A_Empty_Pattern_Create_A_Empty_Pattern_result_LiteralUnlimitedNatural143); + AddToElementRepository("ObjectFlow144", AssemblyConnectors_PWP_PWP_instantiate_A_Empty_Pattern_ObjectFlow144); + AddToElementRepository("LiteralInteger145", AssemblyConnectors_PWP_PWP_instantiate_A_Empty_Pattern_ObjectFlow144_LiteralInteger145); + AddToElementRepository("LiteralBoolean146", AssemblyConnectors_PWP_PWP_instantiate_A_Empty_Pattern_ObjectFlow144_LiteralBoolean146); + AddToElementRepository("assert_A_Star_Pattern", AssemblyConnectors_PWP_PWP_assert_A_Star_Pattern); + AddToElementRepository("ObjectFlow147", AssemblyConnectors_PWP_PWP_assert_A_Star_Pattern_ObjectFlow147); + AddToElementRepository("LiteralBoolean148", AssemblyConnectors_PWP_PWP_assert_A_Star_Pattern_ObjectFlow147_LiteralBoolean148); + AddToElementRepository("LiteralInteger149", AssemblyConnectors_PWP_PWP_assert_A_Star_Pattern_ObjectFlow147_LiteralInteger149); + AddToElementRepository("writeLine", AssemblyConnectors_PWP_PWP_assert_A_Star_Pattern_writeLine); + AddToElementRepository("value", AssemblyConnectors_PWP_PWP_assert_A_Star_Pattern_writeLine_value); + AddToElementRepository("LiteralInteger150", AssemblyConnectors_PWP_PWP_assert_A_Star_Pattern_writeLine_value_LiteralInteger150); + AddToElementRepository("LiteralInteger151", AssemblyConnectors_PWP_PWP_assert_A_Star_Pattern_writeLine_value_LiteralInteger151); + AddToElementRepository("LiteralUnlimitedNatural152", AssemblyConnectors_PWP_PWP_assert_A_Star_Pattern_writeLine_value_LiteralUnlimitedNatural152); + AddToElementRepository("errorStatus", AssemblyConnectors_PWP_PWP_assert_A_Star_Pattern_writeLine_errorStatus); + AddToElementRepository("LiteralInteger153", AssemblyConnectors_PWP_PWP_assert_A_Star_Pattern_writeLine_errorStatus_LiteralInteger153); + AddToElementRepository("LiteralInteger154", AssemblyConnectors_PWP_PWP_assert_A_Star_Pattern_writeLine_errorStatus_LiteralInteger154); + AddToElementRepository("LiteralUnlimitedNatural155", AssemblyConnectors_PWP_PWP_assert_A_Star_Pattern_writeLine_errorStatus_LiteralUnlimitedNatural155); + AddToElementRepository("a_Star_Pattern_node", AssemblyConnectors_PWP_PWP_assert_A_Star_Pattern_a_Star_Pattern_node); + AddToElementRepository("LiteralInteger156", AssemblyConnectors_PWP_PWP_assert_A_Star_Pattern_a_Star_Pattern_node_LiteralInteger156); + AddToElementRepository("a_Star_Pattern", AssemblyConnectors_PWP_PWP_assert_A_Star_Pattern_a_Star_Pattern); + AddToElementRepository("message", AssemblyConnectors_PWP_PWP_assert_A_Star_Pattern_message); + AddToElementRepository("result", AssemblyConnectors_PWP_PWP_assert_A_Star_Pattern_message_result); + AddToElementRepository("LiteralInteger157", AssemblyConnectors_PWP_PWP_assert_A_Star_Pattern_message_result_LiteralInteger157); + AddToElementRepository("LiteralUnlimitedNatural158", AssemblyConnectors_PWP_PWP_assert_A_Star_Pattern_message_result_LiteralUnlimitedNatural158); + AddToElementRepository("LiteralString159", AssemblyConnectors_PWP_PWP_assert_A_Star_Pattern_message_LiteralString159); + AddToElementRepository("IImpl", AssemblyConnectors_PWP_PWP_IImpl); + AddToElementRepository("I_Realization", AssemblyConnectors_PWP_PWP_IImpl_I_Realization); + AddToElementRepository("I", AssemblyConnectors_PWP_PWP_I); + AddToElementRepository("A_Empty_Pattern", AssemblyConnectors_PWP_PWP_A_Empty_Pattern); + AddToElementRepository("partB", AssemblyConnectors_PWP_PWP_A_Empty_Pattern_partB); + AddToElementRepository("LiteralInteger160", AssemblyConnectors_PWP_PWP_A_Empty_Pattern_partB_LiteralInteger160); + AddToElementRepository("LiteralUnlimitedNatural161", AssemblyConnectors_PWP_PWP_A_Empty_Pattern_partB_LiteralUnlimitedNatural161); + AddToElementRepository("partC", AssemblyConnectors_PWP_PWP_A_Empty_Pattern_partC); + AddToElementRepository("LiteralInteger162", AssemblyConnectors_PWP_PWP_A_Empty_Pattern_partC_LiteralInteger162); + AddToElementRepository("LiteralUnlimitedNatural163", AssemblyConnectors_PWP_PWP_A_Empty_Pattern_partC_LiteralUnlimitedNatural163); + AddToElementRepository("A_Empty_Pattern_A_Empty_Pattern", AssemblyConnectors_PWP_PWP_A_Empty_Pattern_A_Empty_Pattern_A_Empty_Pattern); + AddToElementRepository("result", AssemblyConnectors_PWP_PWP_A_Empty_Pattern_A_Empty_Pattern_A_Empty_Pattern_result); + AddToElementRepository("r", AssemblyConnectors_PWP_PWP_A_Empty_Pattern_r); + AddToElementRepository("ConnectorEnd164", AssemblyConnectors_PWP_PWP_A_Empty_Pattern_r_ConnectorEnd164); + AddToElementRepository("connectorEnd_2_Upper", AssemblyConnectors_PWP_PWP_A_Empty_Pattern_r_ConnectorEnd164_connectorEnd_2_Upper); + AddToElementRepository("connectorEnd_2_Lower", AssemblyConnectors_PWP_PWP_A_Empty_Pattern_r_ConnectorEnd164_connectorEnd_2_Lower); + AddToElementRepository("ConnectorEnd165", AssemblyConnectors_PWP_PWP_A_Empty_Pattern_r_ConnectorEnd165); + AddToElementRepository("connectorEnd_1_Upper", AssemblyConnectors_PWP_PWP_A_Empty_Pattern_r_ConnectorEnd165_connectorEnd_1_Upper); + AddToElementRepository("connectorEnd_1_Lower", AssemblyConnectors_PWP_PWP_A_Empty_Pattern_r_ConnectorEnd165_connectorEnd_1_Lower); + AddToElementRepository("Comment166", AssemblyConnectors_PWP_PWP_A_Empty_Pattern_Comment166); + AddToElementRepository("instantiate_A_Star_Pattern", AssemblyConnectors_PWP_PWP_instantiate_A_Star_Pattern); + AddToElementRepository("A_Star_Pattern()", AssemblyConnectors_PWP_PWP_instantiate_A_Star_Pattern_A_Star_Pattern_); + AddToElementRepository("target", AssemblyConnectors_PWP_PWP_instantiate_A_Star_Pattern_A_Star_Pattern__target); + AddToElementRepository("LiteralUnlimitedNatural167", AssemblyConnectors_PWP_PWP_instantiate_A_Star_Pattern_A_Star_Pattern__target_LiteralUnlimitedNatural167); + AddToElementRepository("LiteralInteger168", AssemblyConnectors_PWP_PWP_instantiate_A_Star_Pattern_A_Star_Pattern__target_LiteralInteger168); + AddToElementRepository("result", AssemblyConnectors_PWP_PWP_instantiate_A_Star_Pattern_A_Star_Pattern__result); + AddToElementRepository("LiteralInteger169", AssemblyConnectors_PWP_PWP_instantiate_A_Star_Pattern_A_Star_Pattern__result_LiteralInteger169); + AddToElementRepository("LiteralUnlimitedNatural170", AssemblyConnectors_PWP_PWP_instantiate_A_Star_Pattern_A_Star_Pattern__result_LiteralUnlimitedNatural170); + AddToElementRepository("LiteralInteger171", AssemblyConnectors_PWP_PWP_instantiate_A_Star_Pattern_A_Star_Pattern__result_LiteralInteger171); + AddToElementRepository("ObjectFlow172", AssemblyConnectors_PWP_PWP_instantiate_A_Star_Pattern_ObjectFlow172); + AddToElementRepository("LiteralBoolean173", AssemblyConnectors_PWP_PWP_instantiate_A_Star_Pattern_ObjectFlow172_LiteralBoolean173); + AddToElementRepository("LiteralInteger174", AssemblyConnectors_PWP_PWP_instantiate_A_Star_Pattern_ObjectFlow172_LiteralInteger174); + AddToElementRepository("a_Star_Pattern_node", AssemblyConnectors_PWP_PWP_instantiate_A_Star_Pattern_a_Star_Pattern_node); + AddToElementRepository("a_Star_Pattern", AssemblyConnectors_PWP_PWP_instantiate_A_Star_Pattern_a_Star_Pattern); + AddToElementRepository("ObjectFlow175", AssemblyConnectors_PWP_PWP_instantiate_A_Star_Pattern_ObjectFlow175); + AddToElementRepository("LiteralBoolean176", AssemblyConnectors_PWP_PWP_instantiate_A_Star_Pattern_ObjectFlow175_LiteralBoolean176); + AddToElementRepository("LiteralInteger177", AssemblyConnectors_PWP_PWP_instantiate_A_Star_Pattern_ObjectFlow175_LiteralInteger177); + AddToElementRepository("Create A_Star_Pattern", AssemblyConnectors_PWP_PWP_instantiate_A_Star_Pattern_Create_A_Star_Pattern); + AddToElementRepository("result", AssemblyConnectors_PWP_PWP_instantiate_A_Star_Pattern_Create_A_Star_Pattern_result); + AddToElementRepository("LiteralUnlimitedNatural178", AssemblyConnectors_PWP_PWP_instantiate_A_Star_Pattern_Create_A_Star_Pattern_result_LiteralUnlimitedNatural178); + AddToElementRepository("LiteralInteger179", AssemblyConnectors_PWP_PWP_instantiate_A_Star_Pattern_Create_A_Star_Pattern_result_LiteralInteger179); + + // Initialize public members + /* + * Model AssemblyConnectors_PWP_PWP + */ + AssemblyConnectors_PWP_PWP.SetName("AssemblyConnectors_PWP_PWP"); + AssemblyConnectors_PWP_PWP.SetVisibility(VisibilityKind.public_); + // Activity assert_A_Empty_Pattern + AssemblyConnectors_PWP_PWP_assert_A_Empty_Pattern.SetName("assert_A_Empty_Pattern"); + AssemblyConnectors_PWP_PWP_assert_A_Empty_Pattern.SetVisibility(VisibilityKind.public_); + + // Parameter a_Empty_Pattern + AssemblyConnectors_PWP_PWP_assert_A_Empty_Pattern_a_Empty_Pattern.SetName("a_Empty_Pattern"); + AssemblyConnectors_PWP_PWP_assert_A_Empty_Pattern_a_Empty_Pattern.SetVisibility(VisibilityKind.public_); + + AssemblyConnectors_PWP_PWP_assert_A_Empty_Pattern_a_Empty_Pattern.SetType(AssemblyConnectors_PWP_PWP_A_Empty_Pattern); + AssemblyConnectors_PWP_PWP_assert_A_Empty_Pattern.AddOwnedParameter(AssemblyConnectors_PWP_PWP_assert_A_Empty_Pattern_a_Empty_Pattern); + // ActivityParameterNode a_Empty_Pattern_node + AssemblyConnectors_PWP_PWP_assert_A_Empty_Pattern_a_Empty_Pattern_node.SetName("a_Empty_Pattern_node"); + AssemblyConnectors_PWP_PWP_assert_A_Empty_Pattern_a_Empty_Pattern_node.SetVisibility(VisibilityKind.public_); + + AssemblyConnectors_PWP_PWP_assert_A_Empty_Pattern_a_Empty_Pattern_node.SetParameter(AssemblyConnectors_PWP_PWP_assert_A_Empty_Pattern_a_Empty_Pattern); + AssemblyConnectors_PWP_PWP_assert_A_Empty_Pattern.AddNode(AssemblyConnectors_PWP_PWP_assert_A_Empty_Pattern_a_Empty_Pattern_node); + // ValueSpecificationAction message + AssemblyConnectors_PWP_PWP_assert_A_Empty_Pattern_message.SetName("message"); + AssemblyConnectors_PWP_PWP_assert_A_Empty_Pattern_message.SetVisibility(VisibilityKind.public_); + // LiteralString LiteralString6 + AssemblyConnectors_PWP_PWP_assert_A_Empty_Pattern_message_LiteralString6.SetName("LiteralString6"); + AssemblyConnectors_PWP_PWP_assert_A_Empty_Pattern_message_LiteralString6.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_PWP_PWP_assert_A_Empty_Pattern_message_LiteralString6.SetValue("Assertion currently not implemented for A_Empty_Pattern."); + AssemblyConnectors_PWP_PWP_assert_A_Empty_Pattern_message.SetValue(AssemblyConnectors_PWP_PWP_assert_A_Empty_Pattern_message_LiteralString6); + // OutputPin result + AssemblyConnectors_PWP_PWP_assert_A_Empty_Pattern_message_result.SetName("result"); + AssemblyConnectors_PWP_PWP_assert_A_Empty_Pattern_message_result.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_PWP_PWP_assert_A_Empty_Pattern_message_result.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_String); + AssemblyConnectors_PWP_PWP_assert_A_Empty_Pattern_message.SetResult(AssemblyConnectors_PWP_PWP_assert_A_Empty_Pattern_message_result); + AssemblyConnectors_PWP_PWP_assert_A_Empty_Pattern.AddNode(AssemblyConnectors_PWP_PWP_assert_A_Empty_Pattern_message); + // CallBehaviorAction writeLine + AssemblyConnectors_PWP_PWP_assert_A_Empty_Pattern_writeLine.SetName("writeLine"); + AssemblyConnectors_PWP_PWP_assert_A_Empty_Pattern_writeLine.SetVisibility(VisibilityKind.public_); + + // OutputPin errorStatus + AssemblyConnectors_PWP_PWP_assert_A_Empty_Pattern_writeLine_errorStatus.SetName("errorStatus"); + AssemblyConnectors_PWP_PWP_assert_A_Empty_Pattern_writeLine_errorStatus.SetVisibility(VisibilityKind.public_); + + AssemblyConnectors_PWP_PWP_assert_A_Empty_Pattern_writeLine_errorStatus.SetLower(0); + AssemblyConnectors_PWP_PWP_assert_A_Empty_Pattern_writeLine.AddResult(AssemblyConnectors_PWP_PWP_assert_A_Empty_Pattern_writeLine_errorStatus); + AssemblyConnectors_PWP_PWP_assert_A_Empty_Pattern_writeLine.SetBehavior(FoundationalModelLibraryModel.Instance().FoundationalModelLibrary_BasicInputOutput_WriteLine); + // InputPin value + AssemblyConnectors_PWP_PWP_assert_A_Empty_Pattern_writeLine_value.SetName("value"); + AssemblyConnectors_PWP_PWP_assert_A_Empty_Pattern_writeLine_value.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_PWP_PWP_assert_A_Empty_Pattern_writeLine_value.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_String); + AssemblyConnectors_PWP_PWP_assert_A_Empty_Pattern_writeLine.AddArgument(AssemblyConnectors_PWP_PWP_assert_A_Empty_Pattern_writeLine_value); + AssemblyConnectors_PWP_PWP_assert_A_Empty_Pattern.AddNode(AssemblyConnectors_PWP_PWP_assert_A_Empty_Pattern_writeLine); + // ObjectFlow ObjectFlow1 from result to value + AssemblyConnectors_PWP_PWP_assert_A_Empty_Pattern_ObjectFlow1.SetName("ObjectFlow1"); + AssemblyConnectors_PWP_PWP_assert_A_Empty_Pattern_ObjectFlow1.SetVisibility(VisibilityKind.public_); + + AssemblyConnectors_PWP_PWP_assert_A_Empty_Pattern_ObjectFlow1.SetSource(AssemblyConnectors_PWP_PWP_assert_A_Empty_Pattern_message_result); + AssemblyConnectors_PWP_PWP_assert_A_Empty_Pattern_ObjectFlow1.SetTarget(AssemblyConnectors_PWP_PWP_assert_A_Empty_Pattern_writeLine_value); + // LiteralBoolean LiteralBoolean3 + AssemblyConnectors_PWP_PWP_assert_A_Empty_Pattern_ObjectFlow1_LiteralBoolean3.SetName("LiteralBoolean3"); + AssemblyConnectors_PWP_PWP_assert_A_Empty_Pattern_ObjectFlow1_LiteralBoolean3.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_PWP_PWP_assert_A_Empty_Pattern_ObjectFlow1_LiteralBoolean3.SetValue(true); + AssemblyConnectors_PWP_PWP_assert_A_Empty_Pattern_ObjectFlow1.SetGuard(AssemblyConnectors_PWP_PWP_assert_A_Empty_Pattern_ObjectFlow1_LiteralBoolean3); + AssemblyConnectors_PWP_PWP_assert_A_Empty_Pattern.AddEdge(AssemblyConnectors_PWP_PWP_assert_A_Empty_Pattern_ObjectFlow1); + AssemblyConnectors_PWP_PWP.AddPackagedElement(AssemblyConnectors_PWP_PWP_assert_A_Empty_Pattern); + // Association R + AssemblyConnectors_PWP_PWP_R.SetName("R"); + AssemblyConnectors_PWP_PWP_R.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_PWP_PWP_R.AddOwnedEnd(AssemblyConnectors_PWP_PWP_R_x); + AssemblyConnectors_PWP_PWP_R.AddOwnedEnd(AssemblyConnectors_PWP_PWP_R_y); + AssemblyConnectors_PWP_PWP.AddPackagedElement(AssemblyConnectors_PWP_PWP_R); + // Activity instantiate_A_Array_Pattern + AssemblyConnectors_PWP_PWP_instantiate_A_Array_Pattern.SetName("instantiate_A_Array_Pattern"); + AssemblyConnectors_PWP_PWP_instantiate_A_Array_Pattern.SetVisibility(VisibilityKind.public_); + + // Parameter a_Array_Pattern + AssemblyConnectors_PWP_PWP_instantiate_A_Array_Pattern_a_Array_Pattern.SetName("a_Array_Pattern"); + AssemblyConnectors_PWP_PWP_instantiate_A_Array_Pattern_a_Array_Pattern.SetVisibility(VisibilityKind.public_); + + AssemblyConnectors_PWP_PWP_instantiate_A_Array_Pattern_a_Array_Pattern.SetType(AssemblyConnectors_PWP_PWP_A_Array_Pattern); + AssemblyConnectors_PWP_PWP_instantiate_A_Array_Pattern_a_Array_Pattern.SetDirection(ParameterDirectionKind.return_); + AssemblyConnectors_PWP_PWP_instantiate_A_Array_Pattern.AddOwnedParameter(AssemblyConnectors_PWP_PWP_instantiate_A_Array_Pattern_a_Array_Pattern); + // CreateObjectAction Create A_Array_Pattern + AssemblyConnectors_PWP_PWP_instantiate_A_Array_Pattern_Create_A_Array_Pattern.SetName("Create A_Array_Pattern"); + AssemblyConnectors_PWP_PWP_instantiate_A_Array_Pattern_Create_A_Array_Pattern.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_PWP_PWP_instantiate_A_Array_Pattern_Create_A_Array_Pattern.SetClassifier(AssemblyConnectors_PWP_PWP_A_Array_Pattern); + // OutputPin result + AssemblyConnectors_PWP_PWP_instantiate_A_Array_Pattern_Create_A_Array_Pattern_result.SetName("result"); + AssemblyConnectors_PWP_PWP_instantiate_A_Array_Pattern_Create_A_Array_Pattern_result.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_PWP_PWP_instantiate_A_Array_Pattern_Create_A_Array_Pattern_result.SetType(AssemblyConnectors_PWP_PWP_A_Array_Pattern); + AssemblyConnectors_PWP_PWP_instantiate_A_Array_Pattern_Create_A_Array_Pattern.SetResult(AssemblyConnectors_PWP_PWP_instantiate_A_Array_Pattern_Create_A_Array_Pattern_result); + AssemblyConnectors_PWP_PWP_instantiate_A_Array_Pattern.AddNode(AssemblyConnectors_PWP_PWP_instantiate_A_Array_Pattern_Create_A_Array_Pattern); + // CallOperationAction A_Array_Pattern() + AssemblyConnectors_PWP_PWP_instantiate_A_Array_Pattern_A_Array_Pattern_.SetName("A_Array_Pattern()"); + AssemblyConnectors_PWP_PWP_instantiate_A_Array_Pattern_A_Array_Pattern_.SetVisibility(VisibilityKind.public_); + + // OutputPin result + AssemblyConnectors_PWP_PWP_instantiate_A_Array_Pattern_A_Array_Pattern__result.SetName("result"); + AssemblyConnectors_PWP_PWP_instantiate_A_Array_Pattern_A_Array_Pattern__result.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_PWP_PWP_instantiate_A_Array_Pattern_A_Array_Pattern__result.SetType(AssemblyConnectors_PWP_PWP_A_Array_Pattern); + AssemblyConnectors_PWP_PWP_instantiate_A_Array_Pattern_A_Array_Pattern_.AddResult(AssemblyConnectors_PWP_PWP_instantiate_A_Array_Pattern_A_Array_Pattern__result); + AssemblyConnectors_PWP_PWP_instantiate_A_Array_Pattern_A_Array_Pattern_.SetOperation(AssemblyConnectors_PWP_PWP_A_Array_Pattern_A_Array_Pattern_A_Array_Pattern); + // InputPin target + AssemblyConnectors_PWP_PWP_instantiate_A_Array_Pattern_A_Array_Pattern__target.SetName("target"); + AssemblyConnectors_PWP_PWP_instantiate_A_Array_Pattern_A_Array_Pattern__target.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_PWP_PWP_instantiate_A_Array_Pattern_A_Array_Pattern__target.SetType(AssemblyConnectors_PWP_PWP_A_Array_Pattern); + AssemblyConnectors_PWP_PWP_instantiate_A_Array_Pattern_A_Array_Pattern_.SetTarget(AssemblyConnectors_PWP_PWP_instantiate_A_Array_Pattern_A_Array_Pattern__target); + AssemblyConnectors_PWP_PWP_instantiate_A_Array_Pattern.AddNode(AssemblyConnectors_PWP_PWP_instantiate_A_Array_Pattern_A_Array_Pattern_); + // ActivityParameterNode a_Array_Pattern_node + AssemblyConnectors_PWP_PWP_instantiate_A_Array_Pattern_a_Array_Pattern_node.SetName("a_Array_Pattern_node"); + AssemblyConnectors_PWP_PWP_instantiate_A_Array_Pattern_a_Array_Pattern_node.SetVisibility(VisibilityKind.public_); + + AssemblyConnectors_PWP_PWP_instantiate_A_Array_Pattern_a_Array_Pattern_node.SetParameter(AssemblyConnectors_PWP_PWP_instantiate_A_Array_Pattern_a_Array_Pattern); + AssemblyConnectors_PWP_PWP_instantiate_A_Array_Pattern.AddNode(AssemblyConnectors_PWP_PWP_instantiate_A_Array_Pattern_a_Array_Pattern_node); + // ObjectFlow ObjectFlow17 from result to a_Array_Pattern_node + AssemblyConnectors_PWP_PWP_instantiate_A_Array_Pattern_ObjectFlow17.SetName("ObjectFlow17"); + AssemblyConnectors_PWP_PWP_instantiate_A_Array_Pattern_ObjectFlow17.SetVisibility(VisibilityKind.public_); + + AssemblyConnectors_PWP_PWP_instantiate_A_Array_Pattern_ObjectFlow17.SetSource(AssemblyConnectors_PWP_PWP_instantiate_A_Array_Pattern_A_Array_Pattern__result); + AssemblyConnectors_PWP_PWP_instantiate_A_Array_Pattern_ObjectFlow17.SetTarget(AssemblyConnectors_PWP_PWP_instantiate_A_Array_Pattern_a_Array_Pattern_node); + // LiteralBoolean LiteralBoolean19 + AssemblyConnectors_PWP_PWP_instantiate_A_Array_Pattern_ObjectFlow17_LiteralBoolean19.SetName("LiteralBoolean19"); + AssemblyConnectors_PWP_PWP_instantiate_A_Array_Pattern_ObjectFlow17_LiteralBoolean19.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_PWP_PWP_instantiate_A_Array_Pattern_ObjectFlow17_LiteralBoolean19.SetValue(true); + AssemblyConnectors_PWP_PWP_instantiate_A_Array_Pattern_ObjectFlow17.SetGuard(AssemblyConnectors_PWP_PWP_instantiate_A_Array_Pattern_ObjectFlow17_LiteralBoolean19); + AssemblyConnectors_PWP_PWP_instantiate_A_Array_Pattern.AddEdge(AssemblyConnectors_PWP_PWP_instantiate_A_Array_Pattern_ObjectFlow17); + // ObjectFlow ObjectFlow27 from result to target + AssemblyConnectors_PWP_PWP_instantiate_A_Array_Pattern_ObjectFlow27.SetName("ObjectFlow27"); + AssemblyConnectors_PWP_PWP_instantiate_A_Array_Pattern_ObjectFlow27.SetVisibility(VisibilityKind.public_); + + AssemblyConnectors_PWP_PWP_instantiate_A_Array_Pattern_ObjectFlow27.SetSource(AssemblyConnectors_PWP_PWP_instantiate_A_Array_Pattern_Create_A_Array_Pattern_result); + AssemblyConnectors_PWP_PWP_instantiate_A_Array_Pattern_ObjectFlow27.SetTarget(AssemblyConnectors_PWP_PWP_instantiate_A_Array_Pattern_A_Array_Pattern__target); + // LiteralBoolean LiteralBoolean29 + AssemblyConnectors_PWP_PWP_instantiate_A_Array_Pattern_ObjectFlow27_LiteralBoolean29.SetName("LiteralBoolean29"); + AssemblyConnectors_PWP_PWP_instantiate_A_Array_Pattern_ObjectFlow27_LiteralBoolean29.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_PWP_PWP_instantiate_A_Array_Pattern_ObjectFlow27_LiteralBoolean29.SetValue(true); + AssemblyConnectors_PWP_PWP_instantiate_A_Array_Pattern_ObjectFlow27.SetGuard(AssemblyConnectors_PWP_PWP_instantiate_A_Array_Pattern_ObjectFlow27_LiteralBoolean29); + AssemblyConnectors_PWP_PWP_instantiate_A_Array_Pattern.AddEdge(AssemblyConnectors_PWP_PWP_instantiate_A_Array_Pattern_ObjectFlow27); + AssemblyConnectors_PWP_PWP.AddPackagedElement(AssemblyConnectors_PWP_PWP_instantiate_A_Array_Pattern); + // Class C + AssemblyConnectors_PWP_PWP_C.SetName("C"); + AssemblyConnectors_PWP_PWP_C.SetVisibility(VisibilityKind.public_); + + // Port q + AssemblyConnectors_PWP_PWP_C_q.SetName("q"); + AssemblyConnectors_PWP_PWP_C_q.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_PWP_PWP_C_q.SetUpper(-1); + AssemblyConnectors_PWP_PWP_C_q.SetType(AssemblyConnectors_PWP_PWP_IImpl); + AssemblyConnectors_PWP_PWP_C_q.SetAggregation(AggregationKind.composite); + AssemblyConnectors_PWP_PWP_C_q.isService = true; + AssemblyConnectors_PWP_PWP_C_q.AddProvided(AssemblyConnectors_PWP_PWP_I); + AssemblyConnectors_PWP_PWP_C.AddOwnedAttribute(AssemblyConnectors_PWP_PWP_C_q); + AssemblyConnectors_PWP_PWP.AddPackagedElement(AssemblyConnectors_PWP_PWP_C); + // Class B + AssemblyConnectors_PWP_PWP_B.SetName("B"); + AssemblyConnectors_PWP_PWP_B.SetVisibility(VisibilityKind.public_); + + // Port p + AssemblyConnectors_PWP_PWP_B_p.SetName("p"); + AssemblyConnectors_PWP_PWP_B_p.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_PWP_PWP_B_p.SetUpper(-1); + AssemblyConnectors_PWP_PWP_B_p.SetLower(2); + AssemblyConnectors_PWP_PWP_B_p.SetType(AssemblyConnectors_PWP_PWP_IImpl); + AssemblyConnectors_PWP_PWP_B_p.SetAggregation(AggregationKind.composite); + AssemblyConnectors_PWP_PWP_B_p.isService = true; + AssemblyConnectors_PWP_PWP_B_p.AddProvided(AssemblyConnectors_PWP_PWP_I); + AssemblyConnectors_PWP_PWP_B.AddOwnedAttribute(AssemblyConnectors_PWP_PWP_B_p); + AssemblyConnectors_PWP_PWP.AddPackagedElement(AssemblyConnectors_PWP_PWP_B); + // Activity instantiate_A_Unconnected_Pattern + AssemblyConnectors_PWP_PWP_instantiate_A_Unconnected_Pattern.SetName("instantiate_A_Unconnected_Pattern"); + AssemblyConnectors_PWP_PWP_instantiate_A_Unconnected_Pattern.SetVisibility(VisibilityKind.public_); + + // Parameter a_Unconnected_Pattern + AssemblyConnectors_PWP_PWP_instantiate_A_Unconnected_Pattern_a_Unconnected_Pattern.SetName("a_Unconnected_Pattern"); + AssemblyConnectors_PWP_PWP_instantiate_A_Unconnected_Pattern_a_Unconnected_Pattern.SetVisibility(VisibilityKind.public_); + + AssemblyConnectors_PWP_PWP_instantiate_A_Unconnected_Pattern_a_Unconnected_Pattern.SetType(AssemblyConnectors_PWP_PWP_A_Unconnected_Pattern); + AssemblyConnectors_PWP_PWP_instantiate_A_Unconnected_Pattern_a_Unconnected_Pattern.SetDirection(ParameterDirectionKind.return_); + AssemblyConnectors_PWP_PWP_instantiate_A_Unconnected_Pattern.AddOwnedParameter(AssemblyConnectors_PWP_PWP_instantiate_A_Unconnected_Pattern_a_Unconnected_Pattern); + // CreateObjectAction Create A_Unconnected_Pattern + AssemblyConnectors_PWP_PWP_instantiate_A_Unconnected_Pattern_Create_A_Unconnected_Pattern.SetName("Create A_Unconnected_Pattern"); + AssemblyConnectors_PWP_PWP_instantiate_A_Unconnected_Pattern_Create_A_Unconnected_Pattern.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_PWP_PWP_instantiate_A_Unconnected_Pattern_Create_A_Unconnected_Pattern.SetClassifier(AssemblyConnectors_PWP_PWP_A_Unconnected_Pattern); + // OutputPin result + AssemblyConnectors_PWP_PWP_instantiate_A_Unconnected_Pattern_Create_A_Unconnected_Pattern_result.SetName("result"); + AssemblyConnectors_PWP_PWP_instantiate_A_Unconnected_Pattern_Create_A_Unconnected_Pattern_result.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_PWP_PWP_instantiate_A_Unconnected_Pattern_Create_A_Unconnected_Pattern_result.SetType(AssemblyConnectors_PWP_PWP_A_Unconnected_Pattern); + AssemblyConnectors_PWP_PWP_instantiate_A_Unconnected_Pattern_Create_A_Unconnected_Pattern.SetResult(AssemblyConnectors_PWP_PWP_instantiate_A_Unconnected_Pattern_Create_A_Unconnected_Pattern_result); + AssemblyConnectors_PWP_PWP_instantiate_A_Unconnected_Pattern.AddNode(AssemblyConnectors_PWP_PWP_instantiate_A_Unconnected_Pattern_Create_A_Unconnected_Pattern); + // ActivityParameterNode a_Unconnected_Pattern_node + AssemblyConnectors_PWP_PWP_instantiate_A_Unconnected_Pattern_a_Unconnected_Pattern_node.SetName("a_Unconnected_Pattern_node"); + AssemblyConnectors_PWP_PWP_instantiate_A_Unconnected_Pattern_a_Unconnected_Pattern_node.SetVisibility(VisibilityKind.public_); + + AssemblyConnectors_PWP_PWP_instantiate_A_Unconnected_Pattern_a_Unconnected_Pattern_node.SetParameter(AssemblyConnectors_PWP_PWP_instantiate_A_Unconnected_Pattern_a_Unconnected_Pattern); + AssemblyConnectors_PWP_PWP_instantiate_A_Unconnected_Pattern.AddNode(AssemblyConnectors_PWP_PWP_instantiate_A_Unconnected_Pattern_a_Unconnected_Pattern_node); + // CallOperationAction A_Unconnected_Pattern() + AssemblyConnectors_PWP_PWP_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern_.SetName("A_Unconnected_Pattern()"); + AssemblyConnectors_PWP_PWP_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern_.SetVisibility(VisibilityKind.public_); + + // OutputPin result + AssemblyConnectors_PWP_PWP_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern__result.SetName("result"); + AssemblyConnectors_PWP_PWP_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern__result.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_PWP_PWP_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern__result.SetType(AssemblyConnectors_PWP_PWP_A_Unconnected_Pattern); + AssemblyConnectors_PWP_PWP_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern_.AddResult(AssemblyConnectors_PWP_PWP_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern__result); + AssemblyConnectors_PWP_PWP_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern_.SetOperation(AssemblyConnectors_PWP_PWP_A_Unconnected_Pattern_A_Unconnected_Pattern_A_Unconnected_Pattern); + // InputPin target + AssemblyConnectors_PWP_PWP_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern__target.SetName("target"); + AssemblyConnectors_PWP_PWP_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern__target.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_PWP_PWP_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern__target.SetType(AssemblyConnectors_PWP_PWP_A_Unconnected_Pattern); + AssemblyConnectors_PWP_PWP_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern_.SetTarget(AssemblyConnectors_PWP_PWP_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern__target); + AssemblyConnectors_PWP_PWP_instantiate_A_Unconnected_Pattern.AddNode(AssemblyConnectors_PWP_PWP_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern_); + // ObjectFlow ObjectFlow42 from result to a_Unconnected_Pattern_node + AssemblyConnectors_PWP_PWP_instantiate_A_Unconnected_Pattern_ObjectFlow42.SetName("ObjectFlow42"); + AssemblyConnectors_PWP_PWP_instantiate_A_Unconnected_Pattern_ObjectFlow42.SetVisibility(VisibilityKind.public_); + + AssemblyConnectors_PWP_PWP_instantiate_A_Unconnected_Pattern_ObjectFlow42.SetSource(AssemblyConnectors_PWP_PWP_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern__result); + AssemblyConnectors_PWP_PWP_instantiate_A_Unconnected_Pattern_ObjectFlow42.SetTarget(AssemblyConnectors_PWP_PWP_instantiate_A_Unconnected_Pattern_a_Unconnected_Pattern_node); + // LiteralBoolean LiteralBoolean44 + AssemblyConnectors_PWP_PWP_instantiate_A_Unconnected_Pattern_ObjectFlow42_LiteralBoolean44.SetName("LiteralBoolean44"); + AssemblyConnectors_PWP_PWP_instantiate_A_Unconnected_Pattern_ObjectFlow42_LiteralBoolean44.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_PWP_PWP_instantiate_A_Unconnected_Pattern_ObjectFlow42_LiteralBoolean44.SetValue(true); + AssemblyConnectors_PWP_PWP_instantiate_A_Unconnected_Pattern_ObjectFlow42.SetGuard(AssemblyConnectors_PWP_PWP_instantiate_A_Unconnected_Pattern_ObjectFlow42_LiteralBoolean44); + AssemblyConnectors_PWP_PWP_instantiate_A_Unconnected_Pattern.AddEdge(AssemblyConnectors_PWP_PWP_instantiate_A_Unconnected_Pattern_ObjectFlow42); + // ObjectFlow ObjectFlow45 from result to target + AssemblyConnectors_PWP_PWP_instantiate_A_Unconnected_Pattern_ObjectFlow45.SetName("ObjectFlow45"); + AssemblyConnectors_PWP_PWP_instantiate_A_Unconnected_Pattern_ObjectFlow45.SetVisibility(VisibilityKind.public_); + + AssemblyConnectors_PWP_PWP_instantiate_A_Unconnected_Pattern_ObjectFlow45.SetSource(AssemblyConnectors_PWP_PWP_instantiate_A_Unconnected_Pattern_Create_A_Unconnected_Pattern_result); + AssemblyConnectors_PWP_PWP_instantiate_A_Unconnected_Pattern_ObjectFlow45.SetTarget(AssemblyConnectors_PWP_PWP_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern__target); + // LiteralBoolean LiteralBoolean46 + AssemblyConnectors_PWP_PWP_instantiate_A_Unconnected_Pattern_ObjectFlow45_LiteralBoolean46.SetName("LiteralBoolean46"); + AssemblyConnectors_PWP_PWP_instantiate_A_Unconnected_Pattern_ObjectFlow45_LiteralBoolean46.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_PWP_PWP_instantiate_A_Unconnected_Pattern_ObjectFlow45_LiteralBoolean46.SetValue(true); + AssemblyConnectors_PWP_PWP_instantiate_A_Unconnected_Pattern_ObjectFlow45.SetGuard(AssemblyConnectors_PWP_PWP_instantiate_A_Unconnected_Pattern_ObjectFlow45_LiteralBoolean46); + AssemblyConnectors_PWP_PWP_instantiate_A_Unconnected_Pattern.AddEdge(AssemblyConnectors_PWP_PWP_instantiate_A_Unconnected_Pattern_ObjectFlow45); + AssemblyConnectors_PWP_PWP.AddPackagedElement(AssemblyConnectors_PWP_PWP_instantiate_A_Unconnected_Pattern); + // Class A_Star_Pattern + AssemblyConnectors_PWP_PWP_A_Star_Pattern.SetName("A_Star_Pattern"); + AssemblyConnectors_PWP_PWP_A_Star_Pattern.SetVisibility(VisibilityKind.public_); + + // Property partB + AssemblyConnectors_PWP_PWP_A_Star_Pattern_partB.SetName("partB"); + AssemblyConnectors_PWP_PWP_A_Star_Pattern_partB.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_PWP_PWP_A_Star_Pattern_partB.SetUpper(-1); + AssemblyConnectors_PWP_PWP_A_Star_Pattern_partB.SetLower(2); + AssemblyConnectors_PWP_PWP_A_Star_Pattern_partB.SetType(AssemblyConnectors_PWP_PWP_B); + AssemblyConnectors_PWP_PWP_A_Star_Pattern_partB.SetAggregation(AggregationKind.composite); + AssemblyConnectors_PWP_PWP_A_Star_Pattern.AddOwnedAttribute(AssemblyConnectors_PWP_PWP_A_Star_Pattern_partB); + // Property partC + AssemblyConnectors_PWP_PWP_A_Star_Pattern_partC.SetName("partC"); + AssemblyConnectors_PWP_PWP_A_Star_Pattern_partC.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_PWP_PWP_A_Star_Pattern_partC.SetUpper(-1); + AssemblyConnectors_PWP_PWP_A_Star_Pattern_partC.SetLower(5); + AssemblyConnectors_PWP_PWP_A_Star_Pattern_partC.SetType(AssemblyConnectors_PWP_PWP_C); + AssemblyConnectors_PWP_PWP_A_Star_Pattern_partC.SetAggregation(AggregationKind.composite); + AssemblyConnectors_PWP_PWP_A_Star_Pattern.AddOwnedAttribute(AssemblyConnectors_PWP_PWP_A_Star_Pattern_partC); + + AssemblyConnectors_PWP_PWP_A_Star_Pattern_r.SetName("r"); + AssemblyConnectors_PWP_PWP_A_Star_Pattern_r.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_PWP_PWP_A_Star_Pattern_r_ConnectorEnd52.SetUpper(-1); + AssemblyConnectors_PWP_PWP_A_Star_Pattern_r_ConnectorEnd52.SetLower(4); + AssemblyConnectors_PWP_PWP_A_Star_Pattern_r_ConnectorEnd52.SetRole(AssemblyConnectors_PWP_PWP_B_p); + AssemblyConnectors_PWP_PWP_A_Star_Pattern_r_ConnectorEnd52.SetPartWithPort(AssemblyConnectors_PWP_PWP_A_Star_Pattern_partB); + + AssemblyConnectors_PWP_PWP_A_Star_Pattern_r.AddEnd(AssemblyConnectors_PWP_PWP_A_Star_Pattern_r_ConnectorEnd52); + AssemblyConnectors_PWP_PWP_A_Star_Pattern_r_ConnectorEnd51.SetUpper(-1); + AssemblyConnectors_PWP_PWP_A_Star_Pattern_r_ConnectorEnd51.SetLower(5); + AssemblyConnectors_PWP_PWP_A_Star_Pattern_r_ConnectorEnd51.SetRole(AssemblyConnectors_PWP_PWP_C_q); + AssemblyConnectors_PWP_PWP_A_Star_Pattern_r_ConnectorEnd51.SetPartWithPort(AssemblyConnectors_PWP_PWP_A_Star_Pattern_partC); + + AssemblyConnectors_PWP_PWP_A_Star_Pattern_r.AddEnd(AssemblyConnectors_PWP_PWP_A_Star_Pattern_r_ConnectorEnd51); + AssemblyConnectors_PWP_PWP_A_Star_Pattern_r.SetType(AssemblyConnectors_PWP_PWP_R); + AssemblyConnectors_PWP_PWP_A_Star_Pattern.AddOwnedConnector(AssemblyConnectors_PWP_PWP_A_Star_Pattern_r); + // Operation A_Star_Pattern_A_Star_Pattern + AssemblyConnectors_PWP_PWP_A_Star_Pattern_A_Star_Pattern_A_Star_Pattern.SetName("A_Star_Pattern_A_Star_Pattern"); + AssemblyConnectors_PWP_PWP_A_Star_Pattern_A_Star_Pattern_A_Star_Pattern.SetVisibility(VisibilityKind.public_); + // Parameter result + AssemblyConnectors_PWP_PWP_A_Star_Pattern_A_Star_Pattern_A_Star_Pattern_result.SetName("result"); + AssemblyConnectors_PWP_PWP_A_Star_Pattern_A_Star_Pattern_A_Star_Pattern_result.SetVisibility(VisibilityKind.public_); + + AssemblyConnectors_PWP_PWP_A_Star_Pattern_A_Star_Pattern_A_Star_Pattern_result.SetType(AssemblyConnectors_PWP_PWP_A_Star_Pattern); + AssemblyConnectors_PWP_PWP_A_Star_Pattern_A_Star_Pattern_A_Star_Pattern_result.SetDirection(ParameterDirectionKind.return_); + AssemblyConnectors_PWP_PWP_A_Star_Pattern_A_Star_Pattern_A_Star_Pattern.AddOwnedParameter(AssemblyConnectors_PWP_PWP_A_Star_Pattern_A_Star_Pattern_A_Star_Pattern_result); + AssemblyConnectors_PWP_PWP_A_Star_Pattern_A_Star_Pattern_A_Star_Pattern.ApplyStereotype(uml.standardprofile.StandardProfileModel.Instance().Stereotype_Create); + AssemblyConnectors_PWP_PWP_A_Star_Pattern.AddOwnedOperation(AssemblyConnectors_PWP_PWP_A_Star_Pattern_A_Star_Pattern_A_Star_Pattern); + AssemblyConnectors_PWP_PWP.AddPackagedElement(AssemblyConnectors_PWP_PWP_A_Star_Pattern); + // Activity assert_A_Unconnected_Pattern + AssemblyConnectors_PWP_PWP_assert_A_Unconnected_Pattern.SetName("assert_A_Unconnected_Pattern"); + AssemblyConnectors_PWP_PWP_assert_A_Unconnected_Pattern.SetVisibility(VisibilityKind.public_); + + // Parameter a_Unconnected_Pattern + AssemblyConnectors_PWP_PWP_assert_A_Unconnected_Pattern_a_Unconnected_Pattern.SetName("a_Unconnected_Pattern"); + AssemblyConnectors_PWP_PWP_assert_A_Unconnected_Pattern_a_Unconnected_Pattern.SetVisibility(VisibilityKind.public_); + + AssemblyConnectors_PWP_PWP_assert_A_Unconnected_Pattern_a_Unconnected_Pattern.SetType(AssemblyConnectors_PWP_PWP_A_Unconnected_Pattern); + AssemblyConnectors_PWP_PWP_assert_A_Unconnected_Pattern.AddOwnedParameter(AssemblyConnectors_PWP_PWP_assert_A_Unconnected_Pattern_a_Unconnected_Pattern); + // CallBehaviorAction writeLine + AssemblyConnectors_PWP_PWP_assert_A_Unconnected_Pattern_writeLine.SetName("writeLine"); + AssemblyConnectors_PWP_PWP_assert_A_Unconnected_Pattern_writeLine.SetVisibility(VisibilityKind.public_); + + // OutputPin errorStatus + AssemblyConnectors_PWP_PWP_assert_A_Unconnected_Pattern_writeLine_errorStatus.SetName("errorStatus"); + AssemblyConnectors_PWP_PWP_assert_A_Unconnected_Pattern_writeLine_errorStatus.SetVisibility(VisibilityKind.public_); + + AssemblyConnectors_PWP_PWP_assert_A_Unconnected_Pattern_writeLine_errorStatus.SetLower(0); + AssemblyConnectors_PWP_PWP_assert_A_Unconnected_Pattern_writeLine.AddResult(AssemblyConnectors_PWP_PWP_assert_A_Unconnected_Pattern_writeLine_errorStatus); + AssemblyConnectors_PWP_PWP_assert_A_Unconnected_Pattern_writeLine.SetBehavior(FoundationalModelLibraryModel.Instance().FoundationalModelLibrary_BasicInputOutput_WriteLine); + // InputPin value + AssemblyConnectors_PWP_PWP_assert_A_Unconnected_Pattern_writeLine_value.SetName("value"); + AssemblyConnectors_PWP_PWP_assert_A_Unconnected_Pattern_writeLine_value.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_PWP_PWP_assert_A_Unconnected_Pattern_writeLine_value.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_String); + AssemblyConnectors_PWP_PWP_assert_A_Unconnected_Pattern_writeLine.AddArgument(AssemblyConnectors_PWP_PWP_assert_A_Unconnected_Pattern_writeLine_value); + AssemblyConnectors_PWP_PWP_assert_A_Unconnected_Pattern.AddNode(AssemblyConnectors_PWP_PWP_assert_A_Unconnected_Pattern_writeLine); + // ActivityParameterNode a_Unconnected_Pattern_node + AssemblyConnectors_PWP_PWP_assert_A_Unconnected_Pattern_a_Unconnected_Pattern_node.SetName("a_Unconnected_Pattern_node"); + AssemblyConnectors_PWP_PWP_assert_A_Unconnected_Pattern_a_Unconnected_Pattern_node.SetVisibility(VisibilityKind.public_); + + AssemblyConnectors_PWP_PWP_assert_A_Unconnected_Pattern_a_Unconnected_Pattern_node.SetParameter(AssemblyConnectors_PWP_PWP_assert_A_Unconnected_Pattern_a_Unconnected_Pattern); + AssemblyConnectors_PWP_PWP_assert_A_Unconnected_Pattern.AddNode(AssemblyConnectors_PWP_PWP_assert_A_Unconnected_Pattern_a_Unconnected_Pattern_node); + // ValueSpecificationAction message + AssemblyConnectors_PWP_PWP_assert_A_Unconnected_Pattern_message.SetName("message"); + AssemblyConnectors_PWP_PWP_assert_A_Unconnected_Pattern_message.SetVisibility(VisibilityKind.public_); + // LiteralString LiteralString65 + AssemblyConnectors_PWP_PWP_assert_A_Unconnected_Pattern_message_LiteralString65.SetName("LiteralString65"); + AssemblyConnectors_PWP_PWP_assert_A_Unconnected_Pattern_message_LiteralString65.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_PWP_PWP_assert_A_Unconnected_Pattern_message_LiteralString65.SetValue("Assertion currently not implemented for A_Unconnected_Pattern."); + AssemblyConnectors_PWP_PWP_assert_A_Unconnected_Pattern_message.SetValue(AssemblyConnectors_PWP_PWP_assert_A_Unconnected_Pattern_message_LiteralString65); + // OutputPin result + AssemblyConnectors_PWP_PWP_assert_A_Unconnected_Pattern_message_result.SetName("result"); + AssemblyConnectors_PWP_PWP_assert_A_Unconnected_Pattern_message_result.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_PWP_PWP_assert_A_Unconnected_Pattern_message_result.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_String); + AssemblyConnectors_PWP_PWP_assert_A_Unconnected_Pattern_message.SetResult(AssemblyConnectors_PWP_PWP_assert_A_Unconnected_Pattern_message_result); + AssemblyConnectors_PWP_PWP_assert_A_Unconnected_Pattern.AddNode(AssemblyConnectors_PWP_PWP_assert_A_Unconnected_Pattern_message); + // ObjectFlow ObjectFlow61 from result to value + AssemblyConnectors_PWP_PWP_assert_A_Unconnected_Pattern_ObjectFlow61.SetName("ObjectFlow61"); + AssemblyConnectors_PWP_PWP_assert_A_Unconnected_Pattern_ObjectFlow61.SetVisibility(VisibilityKind.public_); + + AssemblyConnectors_PWP_PWP_assert_A_Unconnected_Pattern_ObjectFlow61.SetSource(AssemblyConnectors_PWP_PWP_assert_A_Unconnected_Pattern_message_result); + AssemblyConnectors_PWP_PWP_assert_A_Unconnected_Pattern_ObjectFlow61.SetTarget(AssemblyConnectors_PWP_PWP_assert_A_Unconnected_Pattern_writeLine_value); + // LiteralBoolean LiteralBoolean63 + AssemblyConnectors_PWP_PWP_assert_A_Unconnected_Pattern_ObjectFlow61_LiteralBoolean63.SetName("LiteralBoolean63"); + AssemblyConnectors_PWP_PWP_assert_A_Unconnected_Pattern_ObjectFlow61_LiteralBoolean63.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_PWP_PWP_assert_A_Unconnected_Pattern_ObjectFlow61_LiteralBoolean63.SetValue(true); + AssemblyConnectors_PWP_PWP_assert_A_Unconnected_Pattern_ObjectFlow61.SetGuard(AssemblyConnectors_PWP_PWP_assert_A_Unconnected_Pattern_ObjectFlow61_LiteralBoolean63); + AssemblyConnectors_PWP_PWP_assert_A_Unconnected_Pattern.AddEdge(AssemblyConnectors_PWP_PWP_assert_A_Unconnected_Pattern_ObjectFlow61); + AssemblyConnectors_PWP_PWP.AddPackagedElement(AssemblyConnectors_PWP_PWP_assert_A_Unconnected_Pattern); + // Activity assert_A_Array_Pattern + AssemblyConnectors_PWP_PWP_assert_A_Array_Pattern.SetName("assert_A_Array_Pattern"); + AssemblyConnectors_PWP_PWP_assert_A_Array_Pattern.SetVisibility(VisibilityKind.public_); + + // Parameter a_Array_Pattern + AssemblyConnectors_PWP_PWP_assert_A_Array_Pattern_a_Array_Pattern.SetName("a_Array_Pattern"); + AssemblyConnectors_PWP_PWP_assert_A_Array_Pattern_a_Array_Pattern.SetVisibility(VisibilityKind.public_); + + AssemblyConnectors_PWP_PWP_assert_A_Array_Pattern_a_Array_Pattern.SetType(AssemblyConnectors_PWP_PWP_A_Array_Pattern); + AssemblyConnectors_PWP_PWP_assert_A_Array_Pattern.AddOwnedParameter(AssemblyConnectors_PWP_PWP_assert_A_Array_Pattern_a_Array_Pattern); + // ActivityParameterNode a_Array_Pattern_node + AssemblyConnectors_PWP_PWP_assert_A_Array_Pattern_a_Array_Pattern_node.SetName("a_Array_Pattern_node"); + AssemblyConnectors_PWP_PWP_assert_A_Array_Pattern_a_Array_Pattern_node.SetVisibility(VisibilityKind.public_); + + AssemblyConnectors_PWP_PWP_assert_A_Array_Pattern_a_Array_Pattern_node.SetParameter(AssemblyConnectors_PWP_PWP_assert_A_Array_Pattern_a_Array_Pattern); + AssemblyConnectors_PWP_PWP_assert_A_Array_Pattern.AddNode(AssemblyConnectors_PWP_PWP_assert_A_Array_Pattern_a_Array_Pattern_node); + // ValueSpecificationAction message + AssemblyConnectors_PWP_PWP_assert_A_Array_Pattern_message.SetName("message"); + AssemblyConnectors_PWP_PWP_assert_A_Array_Pattern_message.SetVisibility(VisibilityKind.public_); + // LiteralString LiteralString69 + AssemblyConnectors_PWP_PWP_assert_A_Array_Pattern_message_LiteralString69.SetName("LiteralString69"); + AssemblyConnectors_PWP_PWP_assert_A_Array_Pattern_message_LiteralString69.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_PWP_PWP_assert_A_Array_Pattern_message_LiteralString69.SetValue("Assertion currently not implemented for A_Array_Pattern."); + AssemblyConnectors_PWP_PWP_assert_A_Array_Pattern_message.SetValue(AssemblyConnectors_PWP_PWP_assert_A_Array_Pattern_message_LiteralString69); + // OutputPin result + AssemblyConnectors_PWP_PWP_assert_A_Array_Pattern_message_result.SetName("result"); + AssemblyConnectors_PWP_PWP_assert_A_Array_Pattern_message_result.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_PWP_PWP_assert_A_Array_Pattern_message_result.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_String); + AssemblyConnectors_PWP_PWP_assert_A_Array_Pattern_message.SetResult(AssemblyConnectors_PWP_PWP_assert_A_Array_Pattern_message_result); + AssemblyConnectors_PWP_PWP_assert_A_Array_Pattern.AddNode(AssemblyConnectors_PWP_PWP_assert_A_Array_Pattern_message); + // CallBehaviorAction writeLine + AssemblyConnectors_PWP_PWP_assert_A_Array_Pattern_writeLine.SetName("writeLine"); + AssemblyConnectors_PWP_PWP_assert_A_Array_Pattern_writeLine.SetVisibility(VisibilityKind.public_); + + // OutputPin errorStatus + AssemblyConnectors_PWP_PWP_assert_A_Array_Pattern_writeLine_errorStatus.SetName("errorStatus"); + AssemblyConnectors_PWP_PWP_assert_A_Array_Pattern_writeLine_errorStatus.SetVisibility(VisibilityKind.public_); + + AssemblyConnectors_PWP_PWP_assert_A_Array_Pattern_writeLine_errorStatus.SetLower(0); + AssemblyConnectors_PWP_PWP_assert_A_Array_Pattern_writeLine.AddResult(AssemblyConnectors_PWP_PWP_assert_A_Array_Pattern_writeLine_errorStatus); + AssemblyConnectors_PWP_PWP_assert_A_Array_Pattern_writeLine.SetBehavior(FoundationalModelLibraryModel.Instance().FoundationalModelLibrary_BasicInputOutput_WriteLine); + // InputPin value + AssemblyConnectors_PWP_PWP_assert_A_Array_Pattern_writeLine_value.SetName("value"); + AssemblyConnectors_PWP_PWP_assert_A_Array_Pattern_writeLine_value.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_PWP_PWP_assert_A_Array_Pattern_writeLine_value.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_String); + AssemblyConnectors_PWP_PWP_assert_A_Array_Pattern_writeLine.AddArgument(AssemblyConnectors_PWP_PWP_assert_A_Array_Pattern_writeLine_value); + AssemblyConnectors_PWP_PWP_assert_A_Array_Pattern.AddNode(AssemblyConnectors_PWP_PWP_assert_A_Array_Pattern_writeLine); + // ObjectFlow ObjectFlow78 from result to value + AssemblyConnectors_PWP_PWP_assert_A_Array_Pattern_ObjectFlow78.SetName("ObjectFlow78"); + AssemblyConnectors_PWP_PWP_assert_A_Array_Pattern_ObjectFlow78.SetVisibility(VisibilityKind.public_); + + AssemblyConnectors_PWP_PWP_assert_A_Array_Pattern_ObjectFlow78.SetSource(AssemblyConnectors_PWP_PWP_assert_A_Array_Pattern_message_result); + AssemblyConnectors_PWP_PWP_assert_A_Array_Pattern_ObjectFlow78.SetTarget(AssemblyConnectors_PWP_PWP_assert_A_Array_Pattern_writeLine_value); + // LiteralBoolean LiteralBoolean79 + AssemblyConnectors_PWP_PWP_assert_A_Array_Pattern_ObjectFlow78_LiteralBoolean79.SetName("LiteralBoolean79"); + AssemblyConnectors_PWP_PWP_assert_A_Array_Pattern_ObjectFlow78_LiteralBoolean79.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_PWP_PWP_assert_A_Array_Pattern_ObjectFlow78_LiteralBoolean79.SetValue(true); + AssemblyConnectors_PWP_PWP_assert_A_Array_Pattern_ObjectFlow78.SetGuard(AssemblyConnectors_PWP_PWP_assert_A_Array_Pattern_ObjectFlow78_LiteralBoolean79); + AssemblyConnectors_PWP_PWP_assert_A_Array_Pattern.AddEdge(AssemblyConnectors_PWP_PWP_assert_A_Array_Pattern_ObjectFlow78); + AssemblyConnectors_PWP_PWP.AddPackagedElement(AssemblyConnectors_PWP_PWP_assert_A_Array_Pattern); + // Activity main + AssemblyConnectors_PWP_PWP_main.SetName("main"); + AssemblyConnectors_PWP_PWP_main.SetVisibility(VisibilityKind.public_); + // CallBehaviorAction instantiate_A_Array_Pattern + AssemblyConnectors_PWP_PWP_main_instantiate_A_Array_Pattern.SetName("instantiate_A_Array_Pattern"); + AssemblyConnectors_PWP_PWP_main_instantiate_A_Array_Pattern.SetVisibility(VisibilityKind.public_); + + // OutputPin a_Array_Pattern + AssemblyConnectors_PWP_PWP_main_instantiate_A_Array_Pattern_a_Array_Pattern.SetName("a_Array_Pattern"); + AssemblyConnectors_PWP_PWP_main_instantiate_A_Array_Pattern_a_Array_Pattern.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_PWP_PWP_main_instantiate_A_Array_Pattern_a_Array_Pattern.SetType(AssemblyConnectors_PWP_PWP_A_Array_Pattern); + AssemblyConnectors_PWP_PWP_main_instantiate_A_Array_Pattern.AddResult(AssemblyConnectors_PWP_PWP_main_instantiate_A_Array_Pattern_a_Array_Pattern); + AssemblyConnectors_PWP_PWP_main_instantiate_A_Array_Pattern.SetBehavior(AssemblyConnectors_PWP_PWP_instantiate_A_Array_Pattern); + AssemblyConnectors_PWP_PWP_main.AddNode(AssemblyConnectors_PWP_PWP_main_instantiate_A_Array_Pattern); + // CallBehaviorAction assert_A_Array_Pattern + AssemblyConnectors_PWP_PWP_main_assert_A_Array_Pattern.SetName("assert_A_Array_Pattern"); + AssemblyConnectors_PWP_PWP_main_assert_A_Array_Pattern.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_PWP_PWP_main_assert_A_Array_Pattern.SetBehavior(AssemblyConnectors_PWP_PWP_assert_A_Array_Pattern); + // InputPin a_Array_Pattern + AssemblyConnectors_PWP_PWP_main_assert_A_Array_Pattern_a_Array_Pattern.SetName("a_Array_Pattern"); + AssemblyConnectors_PWP_PWP_main_assert_A_Array_Pattern_a_Array_Pattern.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_PWP_PWP_main_assert_A_Array_Pattern_a_Array_Pattern.SetType(AssemblyConnectors_PWP_PWP_A_Array_Pattern); + AssemblyConnectors_PWP_PWP_main_assert_A_Array_Pattern.AddArgument(AssemblyConnectors_PWP_PWP_main_assert_A_Array_Pattern_a_Array_Pattern); + AssemblyConnectors_PWP_PWP_main.AddNode(AssemblyConnectors_PWP_PWP_main_assert_A_Array_Pattern); + // CallBehaviorAction assert_A_Empty_Pattern + AssemblyConnectors_PWP_PWP_main_assert_A_Empty_Pattern.SetName("assert_A_Empty_Pattern"); + AssemblyConnectors_PWP_PWP_main_assert_A_Empty_Pattern.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_PWP_PWP_main_assert_A_Empty_Pattern.SetBehavior(AssemblyConnectors_PWP_PWP_assert_A_Empty_Pattern); + // InputPin a_Empty_Pattern + AssemblyConnectors_PWP_PWP_main_assert_A_Empty_Pattern_a_Empty_Pattern.SetName("a_Empty_Pattern"); + AssemblyConnectors_PWP_PWP_main_assert_A_Empty_Pattern_a_Empty_Pattern.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_PWP_PWP_main_assert_A_Empty_Pattern_a_Empty_Pattern.SetType(AssemblyConnectors_PWP_PWP_A_Empty_Pattern); + AssemblyConnectors_PWP_PWP_main_assert_A_Empty_Pattern.AddArgument(AssemblyConnectors_PWP_PWP_main_assert_A_Empty_Pattern_a_Empty_Pattern); + AssemblyConnectors_PWP_PWP_main.AddNode(AssemblyConnectors_PWP_PWP_main_assert_A_Empty_Pattern); + // CallBehaviorAction instantiate_A_Star_Pattern + AssemblyConnectors_PWP_PWP_main_instantiate_A_Star_Pattern.SetName("instantiate_A_Star_Pattern"); + AssemblyConnectors_PWP_PWP_main_instantiate_A_Star_Pattern.SetVisibility(VisibilityKind.public_); + + // OutputPin a_Star_Pattern + AssemblyConnectors_PWP_PWP_main_instantiate_A_Star_Pattern_a_Star_Pattern.SetName("a_Star_Pattern"); + AssemblyConnectors_PWP_PWP_main_instantiate_A_Star_Pattern_a_Star_Pattern.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_PWP_PWP_main_instantiate_A_Star_Pattern_a_Star_Pattern.SetType(AssemblyConnectors_PWP_PWP_A_Star_Pattern); + AssemblyConnectors_PWP_PWP_main_instantiate_A_Star_Pattern.AddResult(AssemblyConnectors_PWP_PWP_main_instantiate_A_Star_Pattern_a_Star_Pattern); + AssemblyConnectors_PWP_PWP_main_instantiate_A_Star_Pattern.SetBehavior(AssemblyConnectors_PWP_PWP_instantiate_A_Star_Pattern); + AssemblyConnectors_PWP_PWP_main.AddNode(AssemblyConnectors_PWP_PWP_main_instantiate_A_Star_Pattern); + // CallBehaviorAction instantiate_A_Empty_Pattern + AssemblyConnectors_PWP_PWP_main_instantiate_A_Empty_Pattern.SetName("instantiate_A_Empty_Pattern"); + AssemblyConnectors_PWP_PWP_main_instantiate_A_Empty_Pattern.SetVisibility(VisibilityKind.public_); + + // OutputPin a_Empty_Pattern + AssemblyConnectors_PWP_PWP_main_instantiate_A_Empty_Pattern_a_Empty_Pattern.SetName("a_Empty_Pattern"); + AssemblyConnectors_PWP_PWP_main_instantiate_A_Empty_Pattern_a_Empty_Pattern.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_PWP_PWP_main_instantiate_A_Empty_Pattern_a_Empty_Pattern.SetType(AssemblyConnectors_PWP_PWP_A_Empty_Pattern); + AssemblyConnectors_PWP_PWP_main_instantiate_A_Empty_Pattern.AddResult(AssemblyConnectors_PWP_PWP_main_instantiate_A_Empty_Pattern_a_Empty_Pattern); + AssemblyConnectors_PWP_PWP_main_instantiate_A_Empty_Pattern.SetBehavior(AssemblyConnectors_PWP_PWP_instantiate_A_Empty_Pattern); + AssemblyConnectors_PWP_PWP_main.AddNode(AssemblyConnectors_PWP_PWP_main_instantiate_A_Empty_Pattern); + // CallBehaviorAction instantiate_A_Unconnected_Pattern + AssemblyConnectors_PWP_PWP_main_instantiate_A_Unconnected_Pattern.SetName("instantiate_A_Unconnected_Pattern"); + AssemblyConnectors_PWP_PWP_main_instantiate_A_Unconnected_Pattern.SetVisibility(VisibilityKind.public_); + + // OutputPin a_Unconnected_Pattern + AssemblyConnectors_PWP_PWP_main_instantiate_A_Unconnected_Pattern_a_Unconnected_Pattern.SetName("a_Unconnected_Pattern"); + AssemblyConnectors_PWP_PWP_main_instantiate_A_Unconnected_Pattern_a_Unconnected_Pattern.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_PWP_PWP_main_instantiate_A_Unconnected_Pattern_a_Unconnected_Pattern.SetType(AssemblyConnectors_PWP_PWP_A_Unconnected_Pattern); + AssemblyConnectors_PWP_PWP_main_instantiate_A_Unconnected_Pattern.AddResult(AssemblyConnectors_PWP_PWP_main_instantiate_A_Unconnected_Pattern_a_Unconnected_Pattern); + AssemblyConnectors_PWP_PWP_main_instantiate_A_Unconnected_Pattern.SetBehavior(AssemblyConnectors_PWP_PWP_instantiate_A_Unconnected_Pattern); + AssemblyConnectors_PWP_PWP_main.AddNode(AssemblyConnectors_PWP_PWP_main_instantiate_A_Unconnected_Pattern); + // CallBehaviorAction assert_A_Star_Pattern + AssemblyConnectors_PWP_PWP_main_assert_A_Star_Pattern.SetName("assert_A_Star_Pattern"); + AssemblyConnectors_PWP_PWP_main_assert_A_Star_Pattern.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_PWP_PWP_main_assert_A_Star_Pattern.SetBehavior(AssemblyConnectors_PWP_PWP_assert_A_Star_Pattern); + // InputPin a_Star_Pattern + AssemblyConnectors_PWP_PWP_main_assert_A_Star_Pattern_a_Star_Pattern.SetName("a_Star_Pattern"); + AssemblyConnectors_PWP_PWP_main_assert_A_Star_Pattern_a_Star_Pattern.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_PWP_PWP_main_assert_A_Star_Pattern_a_Star_Pattern.SetType(AssemblyConnectors_PWP_PWP_A_Star_Pattern); + AssemblyConnectors_PWP_PWP_main_assert_A_Star_Pattern.AddArgument(AssemblyConnectors_PWP_PWP_main_assert_A_Star_Pattern_a_Star_Pattern); + AssemblyConnectors_PWP_PWP_main.AddNode(AssemblyConnectors_PWP_PWP_main_assert_A_Star_Pattern); + // CallBehaviorAction assert_A_Unconnected_Pattern + AssemblyConnectors_PWP_PWP_main_assert_A_Unconnected_Pattern.SetName("assert_A_Unconnected_Pattern"); + AssemblyConnectors_PWP_PWP_main_assert_A_Unconnected_Pattern.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_PWP_PWP_main_assert_A_Unconnected_Pattern.SetBehavior(AssemblyConnectors_PWP_PWP_assert_A_Unconnected_Pattern); + // InputPin a_Unconnected_Pattern + AssemblyConnectors_PWP_PWP_main_assert_A_Unconnected_Pattern_a_Unconnected_Pattern.SetName("a_Unconnected_Pattern"); + AssemblyConnectors_PWP_PWP_main_assert_A_Unconnected_Pattern_a_Unconnected_Pattern.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_PWP_PWP_main_assert_A_Unconnected_Pattern_a_Unconnected_Pattern.SetType(AssemblyConnectors_PWP_PWP_A_Unconnected_Pattern); + AssemblyConnectors_PWP_PWP_main_assert_A_Unconnected_Pattern.AddArgument(AssemblyConnectors_PWP_PWP_main_assert_A_Unconnected_Pattern_a_Unconnected_Pattern); + AssemblyConnectors_PWP_PWP_main.AddNode(AssemblyConnectors_PWP_PWP_main_assert_A_Unconnected_Pattern); + // ControlFlow ControlFlow108 from assert_A_Array_Pattern to instantiate_A_Star_Pattern + AssemblyConnectors_PWP_PWP_main_ControlFlow108.SetName("ControlFlow108"); + AssemblyConnectors_PWP_PWP_main_ControlFlow108.SetVisibility(VisibilityKind.public_); + + AssemblyConnectors_PWP_PWP_main_ControlFlow108.SetSource(AssemblyConnectors_PWP_PWP_main_assert_A_Array_Pattern); + AssemblyConnectors_PWP_PWP_main_ControlFlow108.SetTarget(AssemblyConnectors_PWP_PWP_main_instantiate_A_Star_Pattern); + AssemblyConnectors_PWP_PWP_main.AddEdge(AssemblyConnectors_PWP_PWP_main_ControlFlow108); + // ObjectFlow ObjectFlow81 from a_Unconnected_Pattern to a_Unconnected_Pattern + AssemblyConnectors_PWP_PWP_main_ObjectFlow81.SetName("ObjectFlow81"); + AssemblyConnectors_PWP_PWP_main_ObjectFlow81.SetVisibility(VisibilityKind.public_); + + AssemblyConnectors_PWP_PWP_main_ObjectFlow81.SetSource(AssemblyConnectors_PWP_PWP_main_instantiate_A_Unconnected_Pattern_a_Unconnected_Pattern); + AssemblyConnectors_PWP_PWP_main_ObjectFlow81.SetTarget(AssemblyConnectors_PWP_PWP_main_assert_A_Unconnected_Pattern_a_Unconnected_Pattern); + // LiteralBoolean LiteralBoolean82 + AssemblyConnectors_PWP_PWP_main_ObjectFlow81_LiteralBoolean82.SetName("LiteralBoolean82"); + AssemblyConnectors_PWP_PWP_main_ObjectFlow81_LiteralBoolean82.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_PWP_PWP_main_ObjectFlow81_LiteralBoolean82.SetValue(true); + AssemblyConnectors_PWP_PWP_main_ObjectFlow81.SetGuard(AssemblyConnectors_PWP_PWP_main_ObjectFlow81_LiteralBoolean82); + AssemblyConnectors_PWP_PWP_main.AddEdge(AssemblyConnectors_PWP_PWP_main_ObjectFlow81); + // ObjectFlow ObjectFlow87 from a_Empty_Pattern to a_Empty_Pattern + AssemblyConnectors_PWP_PWP_main_ObjectFlow87.SetName("ObjectFlow87"); + AssemblyConnectors_PWP_PWP_main_ObjectFlow87.SetVisibility(VisibilityKind.public_); + + AssemblyConnectors_PWP_PWP_main_ObjectFlow87.SetSource(AssemblyConnectors_PWP_PWP_main_instantiate_A_Empty_Pattern_a_Empty_Pattern); + AssemblyConnectors_PWP_PWP_main_ObjectFlow87.SetTarget(AssemblyConnectors_PWP_PWP_main_assert_A_Empty_Pattern_a_Empty_Pattern); + // LiteralBoolean LiteralBoolean89 + AssemblyConnectors_PWP_PWP_main_ObjectFlow87_LiteralBoolean89.SetName("LiteralBoolean89"); + AssemblyConnectors_PWP_PWP_main_ObjectFlow87_LiteralBoolean89.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_PWP_PWP_main_ObjectFlow87_LiteralBoolean89.SetValue(true); + AssemblyConnectors_PWP_PWP_main_ObjectFlow87.SetGuard(AssemblyConnectors_PWP_PWP_main_ObjectFlow87_LiteralBoolean89); + AssemblyConnectors_PWP_PWP_main.AddEdge(AssemblyConnectors_PWP_PWP_main_ObjectFlow87); + // ControlFlow ControlFlow109 from assert_A_Empty_Pattern to instantiate_A_Unconnected_Pattern + AssemblyConnectors_PWP_PWP_main_ControlFlow109.SetName("ControlFlow109"); + AssemblyConnectors_PWP_PWP_main_ControlFlow109.SetVisibility(VisibilityKind.public_); + + AssemblyConnectors_PWP_PWP_main_ControlFlow109.SetSource(AssemblyConnectors_PWP_PWP_main_assert_A_Empty_Pattern); + AssemblyConnectors_PWP_PWP_main_ControlFlow109.SetTarget(AssemblyConnectors_PWP_PWP_main_instantiate_A_Unconnected_Pattern); + AssemblyConnectors_PWP_PWP_main.AddEdge(AssemblyConnectors_PWP_PWP_main_ControlFlow109); + // ControlFlow ControlFlow110 from assert_A_Unconnected_Pattern to instantiate_A_Array_Pattern + AssemblyConnectors_PWP_PWP_main_ControlFlow110.SetName("ControlFlow110"); + AssemblyConnectors_PWP_PWP_main_ControlFlow110.SetVisibility(VisibilityKind.public_); + + AssemblyConnectors_PWP_PWP_main_ControlFlow110.SetSource(AssemblyConnectors_PWP_PWP_main_assert_A_Unconnected_Pattern); + AssemblyConnectors_PWP_PWP_main_ControlFlow110.SetTarget(AssemblyConnectors_PWP_PWP_main_instantiate_A_Array_Pattern); + AssemblyConnectors_PWP_PWP_main.AddEdge(AssemblyConnectors_PWP_PWP_main_ControlFlow110); + // ObjectFlow ObjectFlow117 from a_Star_Pattern to a_Star_Pattern + AssemblyConnectors_PWP_PWP_main_ObjectFlow117.SetName("ObjectFlow117"); + AssemblyConnectors_PWP_PWP_main_ObjectFlow117.SetVisibility(VisibilityKind.public_); + + AssemblyConnectors_PWP_PWP_main_ObjectFlow117.SetSource(AssemblyConnectors_PWP_PWP_main_instantiate_A_Star_Pattern_a_Star_Pattern); + AssemblyConnectors_PWP_PWP_main_ObjectFlow117.SetTarget(AssemblyConnectors_PWP_PWP_main_assert_A_Star_Pattern_a_Star_Pattern); + // LiteralBoolean LiteralBoolean119 + AssemblyConnectors_PWP_PWP_main_ObjectFlow117_LiteralBoolean119.SetName("LiteralBoolean119"); + AssemblyConnectors_PWP_PWP_main_ObjectFlow117_LiteralBoolean119.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_PWP_PWP_main_ObjectFlow117_LiteralBoolean119.SetValue(true); + AssemblyConnectors_PWP_PWP_main_ObjectFlow117.SetGuard(AssemblyConnectors_PWP_PWP_main_ObjectFlow117_LiteralBoolean119); + AssemblyConnectors_PWP_PWP_main.AddEdge(AssemblyConnectors_PWP_PWP_main_ObjectFlow117); + // ObjectFlow ObjectFlow105 from a_Array_Pattern to a_Array_Pattern + AssemblyConnectors_PWP_PWP_main_ObjectFlow105.SetName("ObjectFlow105"); + AssemblyConnectors_PWP_PWP_main_ObjectFlow105.SetVisibility(VisibilityKind.public_); + + AssemblyConnectors_PWP_PWP_main_ObjectFlow105.SetSource(AssemblyConnectors_PWP_PWP_main_instantiate_A_Array_Pattern_a_Array_Pattern); + AssemblyConnectors_PWP_PWP_main_ObjectFlow105.SetTarget(AssemblyConnectors_PWP_PWP_main_assert_A_Array_Pattern_a_Array_Pattern); + // LiteralBoolean LiteralBoolean106 + AssemblyConnectors_PWP_PWP_main_ObjectFlow105_LiteralBoolean106.SetName("LiteralBoolean106"); + AssemblyConnectors_PWP_PWP_main_ObjectFlow105_LiteralBoolean106.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_PWP_PWP_main_ObjectFlow105_LiteralBoolean106.SetValue(true); + AssemblyConnectors_PWP_PWP_main_ObjectFlow105.SetGuard(AssemblyConnectors_PWP_PWP_main_ObjectFlow105_LiteralBoolean106); + AssemblyConnectors_PWP_PWP_main.AddEdge(AssemblyConnectors_PWP_PWP_main_ObjectFlow105); + AssemblyConnectors_PWP_PWP.AddPackagedElement(AssemblyConnectors_PWP_PWP_main); + // Class A_Unconnected_Pattern + AssemblyConnectors_PWP_PWP_A_Unconnected_Pattern.SetName("A_Unconnected_Pattern"); + AssemblyConnectors_PWP_PWP_A_Unconnected_Pattern.SetVisibility(VisibilityKind.public_); + + // Property partB + AssemblyConnectors_PWP_PWP_A_Unconnected_Pattern_partB.SetName("partB"); + AssemblyConnectors_PWP_PWP_A_Unconnected_Pattern_partB.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_PWP_PWP_A_Unconnected_Pattern_partB.SetUpper(-1); + AssemblyConnectors_PWP_PWP_A_Unconnected_Pattern_partB.SetLower(2); + AssemblyConnectors_PWP_PWP_A_Unconnected_Pattern_partB.SetType(AssemblyConnectors_PWP_PWP_B); + AssemblyConnectors_PWP_PWP_A_Unconnected_Pattern_partB.SetAggregation(AggregationKind.composite); + AssemblyConnectors_PWP_PWP_A_Unconnected_Pattern.AddOwnedAttribute(AssemblyConnectors_PWP_PWP_A_Unconnected_Pattern_partB); + // Property partC + AssemblyConnectors_PWP_PWP_A_Unconnected_Pattern_partC.SetName("partC"); + AssemblyConnectors_PWP_PWP_A_Unconnected_Pattern_partC.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_PWP_PWP_A_Unconnected_Pattern_partC.SetUpper(-1); + AssemblyConnectors_PWP_PWP_A_Unconnected_Pattern_partC.SetLower(3); + AssemblyConnectors_PWP_PWP_A_Unconnected_Pattern_partC.SetType(AssemblyConnectors_PWP_PWP_C); + AssemblyConnectors_PWP_PWP_A_Unconnected_Pattern_partC.SetAggregation(AggregationKind.composite); + AssemblyConnectors_PWP_PWP_A_Unconnected_Pattern.AddOwnedAttribute(AssemblyConnectors_PWP_PWP_A_Unconnected_Pattern_partC); + + AssemblyConnectors_PWP_PWP_A_Unconnected_Pattern_r.SetName("r"); + AssemblyConnectors_PWP_PWP_A_Unconnected_Pattern_r.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_PWP_PWP_A_Unconnected_Pattern_r_ConnectorEnd126.SetUpper(-1); + AssemblyConnectors_PWP_PWP_A_Unconnected_Pattern_r_ConnectorEnd126.SetLower(0); + AssemblyConnectors_PWP_PWP_A_Unconnected_Pattern_r_ConnectorEnd126.SetRole(AssemblyConnectors_PWP_PWP_B_p); + AssemblyConnectors_PWP_PWP_A_Unconnected_Pattern_r_ConnectorEnd126.SetPartWithPort(AssemblyConnectors_PWP_PWP_A_Unconnected_Pattern_partB); + + AssemblyConnectors_PWP_PWP_A_Unconnected_Pattern_r.AddEnd(AssemblyConnectors_PWP_PWP_A_Unconnected_Pattern_r_ConnectorEnd126); + AssemblyConnectors_PWP_PWP_A_Unconnected_Pattern_r_ConnectorEnd125.SetUpper(-1); + AssemblyConnectors_PWP_PWP_A_Unconnected_Pattern_r_ConnectorEnd125.SetLower(0); + AssemblyConnectors_PWP_PWP_A_Unconnected_Pattern_r_ConnectorEnd125.SetRole(AssemblyConnectors_PWP_PWP_C_q); + AssemblyConnectors_PWP_PWP_A_Unconnected_Pattern_r_ConnectorEnd125.SetPartWithPort(AssemblyConnectors_PWP_PWP_A_Unconnected_Pattern_partC); + + AssemblyConnectors_PWP_PWP_A_Unconnected_Pattern_r.AddEnd(AssemblyConnectors_PWP_PWP_A_Unconnected_Pattern_r_ConnectorEnd125); + AssemblyConnectors_PWP_PWP_A_Unconnected_Pattern_r.SetType(AssemblyConnectors_PWP_PWP_R); + AssemblyConnectors_PWP_PWP_A_Unconnected_Pattern.AddOwnedConnector(AssemblyConnectors_PWP_PWP_A_Unconnected_Pattern_r); + // Operation A_Unconnected_Pattern_A_Unconnected_Pattern + AssemblyConnectors_PWP_PWP_A_Unconnected_Pattern_A_Unconnected_Pattern_A_Unconnected_Pattern.SetName("A_Unconnected_Pattern_A_Unconnected_Pattern"); + AssemblyConnectors_PWP_PWP_A_Unconnected_Pattern_A_Unconnected_Pattern_A_Unconnected_Pattern.SetVisibility(VisibilityKind.public_); + // Parameter result + AssemblyConnectors_PWP_PWP_A_Unconnected_Pattern_A_Unconnected_Pattern_A_Unconnected_Pattern_result.SetName("result"); + AssemblyConnectors_PWP_PWP_A_Unconnected_Pattern_A_Unconnected_Pattern_A_Unconnected_Pattern_result.SetVisibility(VisibilityKind.public_); + + AssemblyConnectors_PWP_PWP_A_Unconnected_Pattern_A_Unconnected_Pattern_A_Unconnected_Pattern_result.SetType(AssemblyConnectors_PWP_PWP_A_Unconnected_Pattern); + AssemblyConnectors_PWP_PWP_A_Unconnected_Pattern_A_Unconnected_Pattern_A_Unconnected_Pattern_result.SetDirection(ParameterDirectionKind.return_); + AssemblyConnectors_PWP_PWP_A_Unconnected_Pattern_A_Unconnected_Pattern_A_Unconnected_Pattern.AddOwnedParameter(AssemblyConnectors_PWP_PWP_A_Unconnected_Pattern_A_Unconnected_Pattern_A_Unconnected_Pattern_result); + AssemblyConnectors_PWP_PWP_A_Unconnected_Pattern_A_Unconnected_Pattern_A_Unconnected_Pattern.ApplyStereotype(uml.standardprofile.StandardProfileModel.Instance().Stereotype_Create); + AssemblyConnectors_PWP_PWP_A_Unconnected_Pattern.AddOwnedOperation(AssemblyConnectors_PWP_PWP_A_Unconnected_Pattern_A_Unconnected_Pattern_A_Unconnected_Pattern); + AssemblyConnectors_PWP_PWP.AddPackagedElement(AssemblyConnectors_PWP_PWP_A_Unconnected_Pattern); + // Class A_Array_Pattern + AssemblyConnectors_PWP_PWP_A_Array_Pattern.SetName("A_Array_Pattern"); + AssemblyConnectors_PWP_PWP_A_Array_Pattern.SetVisibility(VisibilityKind.public_); + + // Property partB + AssemblyConnectors_PWP_PWP_A_Array_Pattern_partB.SetName("partB"); + AssemblyConnectors_PWP_PWP_A_Array_Pattern_partB.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_PWP_PWP_A_Array_Pattern_partB.SetUpper(-1); + AssemblyConnectors_PWP_PWP_A_Array_Pattern_partB.SetLower(2); + AssemblyConnectors_PWP_PWP_A_Array_Pattern_partB.SetType(AssemblyConnectors_PWP_PWP_B); + AssemblyConnectors_PWP_PWP_A_Array_Pattern_partB.SetAggregation(AggregationKind.composite); + AssemblyConnectors_PWP_PWP_A_Array_Pattern.AddOwnedAttribute(AssemblyConnectors_PWP_PWP_A_Array_Pattern_partB); + // Property partC + AssemblyConnectors_PWP_PWP_A_Array_Pattern_partC.SetName("partC"); + AssemblyConnectors_PWP_PWP_A_Array_Pattern_partC.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_PWP_PWP_A_Array_Pattern_partC.SetUpper(-1); + AssemblyConnectors_PWP_PWP_A_Array_Pattern_partC.SetLower(4); + AssemblyConnectors_PWP_PWP_A_Array_Pattern_partC.SetType(AssemblyConnectors_PWP_PWP_C); + AssemblyConnectors_PWP_PWP_A_Array_Pattern_partC.SetAggregation(AggregationKind.composite); + AssemblyConnectors_PWP_PWP_A_Array_Pattern.AddOwnedAttribute(AssemblyConnectors_PWP_PWP_A_Array_Pattern_partC); + + AssemblyConnectors_PWP_PWP_A_Array_Pattern_r.SetName("r"); + AssemblyConnectors_PWP_PWP_A_Array_Pattern_r.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_PWP_PWP_A_Array_Pattern_r_ConnectorEnd132.SetUpper(-1); + AssemblyConnectors_PWP_PWP_A_Array_Pattern_r_ConnectorEnd132.SetRole(AssemblyConnectors_PWP_PWP_B_p); + AssemblyConnectors_PWP_PWP_A_Array_Pattern_r_ConnectorEnd132.SetPartWithPort(AssemblyConnectors_PWP_PWP_A_Array_Pattern_partB); + + AssemblyConnectors_PWP_PWP_A_Array_Pattern_r.AddEnd(AssemblyConnectors_PWP_PWP_A_Array_Pattern_r_ConnectorEnd132); + AssemblyConnectors_PWP_PWP_A_Array_Pattern_r_ConnectorEnd133.SetUpper(-1); + AssemblyConnectors_PWP_PWP_A_Array_Pattern_r_ConnectorEnd133.SetRole(AssemblyConnectors_PWP_PWP_C_q); + AssemblyConnectors_PWP_PWP_A_Array_Pattern_r_ConnectorEnd133.SetPartWithPort(AssemblyConnectors_PWP_PWP_A_Array_Pattern_partC); + + AssemblyConnectors_PWP_PWP_A_Array_Pattern_r.AddEnd(AssemblyConnectors_PWP_PWP_A_Array_Pattern_r_ConnectorEnd133); + AssemblyConnectors_PWP_PWP_A_Array_Pattern_r.SetType(AssemblyConnectors_PWP_PWP_R); + AssemblyConnectors_PWP_PWP_A_Array_Pattern.AddOwnedConnector(AssemblyConnectors_PWP_PWP_A_Array_Pattern_r); + // Operation A_Array_Pattern_A_Array_Pattern + AssemblyConnectors_PWP_PWP_A_Array_Pattern_A_Array_Pattern_A_Array_Pattern.SetName("A_Array_Pattern_A_Array_Pattern"); + AssemblyConnectors_PWP_PWP_A_Array_Pattern_A_Array_Pattern_A_Array_Pattern.SetVisibility(VisibilityKind.public_); + // Parameter result + AssemblyConnectors_PWP_PWP_A_Array_Pattern_A_Array_Pattern_A_Array_Pattern_result.SetName("result"); + AssemblyConnectors_PWP_PWP_A_Array_Pattern_A_Array_Pattern_A_Array_Pattern_result.SetVisibility(VisibilityKind.public_); + + AssemblyConnectors_PWP_PWP_A_Array_Pattern_A_Array_Pattern_A_Array_Pattern_result.SetType(AssemblyConnectors_PWP_PWP_A_Array_Pattern); + AssemblyConnectors_PWP_PWP_A_Array_Pattern_A_Array_Pattern_A_Array_Pattern_result.SetDirection(ParameterDirectionKind.return_); + AssemblyConnectors_PWP_PWP_A_Array_Pattern_A_Array_Pattern_A_Array_Pattern.AddOwnedParameter(AssemblyConnectors_PWP_PWP_A_Array_Pattern_A_Array_Pattern_A_Array_Pattern_result); + AssemblyConnectors_PWP_PWP_A_Array_Pattern_A_Array_Pattern_A_Array_Pattern.ApplyStereotype(uml.standardprofile.StandardProfileModel.Instance().Stereotype_Create); + AssemblyConnectors_PWP_PWP_A_Array_Pattern.AddOwnedOperation(AssemblyConnectors_PWP_PWP_A_Array_Pattern_A_Array_Pattern_A_Array_Pattern); + AssemblyConnectors_PWP_PWP.AddPackagedElement(AssemblyConnectors_PWP_PWP_A_Array_Pattern); + // Activity instantiate_A_Empty_Pattern + AssemblyConnectors_PWP_PWP_instantiate_A_Empty_Pattern.SetName("instantiate_A_Empty_Pattern"); + AssemblyConnectors_PWP_PWP_instantiate_A_Empty_Pattern.SetVisibility(VisibilityKind.public_); + + // Parameter a_Empty_Pattern + AssemblyConnectors_PWP_PWP_instantiate_A_Empty_Pattern_a_Empty_Pattern.SetName("a_Empty_Pattern"); + AssemblyConnectors_PWP_PWP_instantiate_A_Empty_Pattern_a_Empty_Pattern.SetVisibility(VisibilityKind.public_); + + AssemblyConnectors_PWP_PWP_instantiate_A_Empty_Pattern_a_Empty_Pattern.SetType(AssemblyConnectors_PWP_PWP_A_Empty_Pattern); + AssemblyConnectors_PWP_PWP_instantiate_A_Empty_Pattern_a_Empty_Pattern.SetDirection(ParameterDirectionKind.return_); + AssemblyConnectors_PWP_PWP_instantiate_A_Empty_Pattern.AddOwnedParameter(AssemblyConnectors_PWP_PWP_instantiate_A_Empty_Pattern_a_Empty_Pattern); + // ActivityParameterNode a_Empty_Pattern_node + AssemblyConnectors_PWP_PWP_instantiate_A_Empty_Pattern_a_Empty_Pattern_node.SetName("a_Empty_Pattern_node"); + AssemblyConnectors_PWP_PWP_instantiate_A_Empty_Pattern_a_Empty_Pattern_node.SetVisibility(VisibilityKind.public_); + + AssemblyConnectors_PWP_PWP_instantiate_A_Empty_Pattern_a_Empty_Pattern_node.SetParameter(AssemblyConnectors_PWP_PWP_instantiate_A_Empty_Pattern_a_Empty_Pattern); + AssemblyConnectors_PWP_PWP_instantiate_A_Empty_Pattern.AddNode(AssemblyConnectors_PWP_PWP_instantiate_A_Empty_Pattern_a_Empty_Pattern_node); + // CallOperationAction A_Empty_Pattern() + AssemblyConnectors_PWP_PWP_instantiate_A_Empty_Pattern_A_Empty_Pattern_.SetName("A_Empty_Pattern()"); + AssemblyConnectors_PWP_PWP_instantiate_A_Empty_Pattern_A_Empty_Pattern_.SetVisibility(VisibilityKind.public_); + + // OutputPin result + AssemblyConnectors_PWP_PWP_instantiate_A_Empty_Pattern_A_Empty_Pattern__result.SetName("result"); + AssemblyConnectors_PWP_PWP_instantiate_A_Empty_Pattern_A_Empty_Pattern__result.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_PWP_PWP_instantiate_A_Empty_Pattern_A_Empty_Pattern__result.SetType(AssemblyConnectors_PWP_PWP_A_Empty_Pattern); + AssemblyConnectors_PWP_PWP_instantiate_A_Empty_Pattern_A_Empty_Pattern_.AddResult(AssemblyConnectors_PWP_PWP_instantiate_A_Empty_Pattern_A_Empty_Pattern__result); + AssemblyConnectors_PWP_PWP_instantiate_A_Empty_Pattern_A_Empty_Pattern_.SetOperation(AssemblyConnectors_PWP_PWP_A_Empty_Pattern_A_Empty_Pattern_A_Empty_Pattern); + // InputPin target + AssemblyConnectors_PWP_PWP_instantiate_A_Empty_Pattern_A_Empty_Pattern__target.SetName("target"); + AssemblyConnectors_PWP_PWP_instantiate_A_Empty_Pattern_A_Empty_Pattern__target.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_PWP_PWP_instantiate_A_Empty_Pattern_A_Empty_Pattern__target.SetType(AssemblyConnectors_PWP_PWP_A_Empty_Pattern); + AssemblyConnectors_PWP_PWP_instantiate_A_Empty_Pattern_A_Empty_Pattern_.SetTarget(AssemblyConnectors_PWP_PWP_instantiate_A_Empty_Pattern_A_Empty_Pattern__target); + AssemblyConnectors_PWP_PWP_instantiate_A_Empty_Pattern.AddNode(AssemblyConnectors_PWP_PWP_instantiate_A_Empty_Pattern_A_Empty_Pattern_); + // CreateObjectAction Create A_Empty_Pattern + AssemblyConnectors_PWP_PWP_instantiate_A_Empty_Pattern_Create_A_Empty_Pattern.SetName("Create A_Empty_Pattern"); + AssemblyConnectors_PWP_PWP_instantiate_A_Empty_Pattern_Create_A_Empty_Pattern.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_PWP_PWP_instantiate_A_Empty_Pattern_Create_A_Empty_Pattern.SetClassifier(AssemblyConnectors_PWP_PWP_A_Empty_Pattern); + // OutputPin result + AssemblyConnectors_PWP_PWP_instantiate_A_Empty_Pattern_Create_A_Empty_Pattern_result.SetName("result"); + AssemblyConnectors_PWP_PWP_instantiate_A_Empty_Pattern_Create_A_Empty_Pattern_result.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_PWP_PWP_instantiate_A_Empty_Pattern_Create_A_Empty_Pattern_result.SetType(AssemblyConnectors_PWP_PWP_A_Empty_Pattern); + AssemblyConnectors_PWP_PWP_instantiate_A_Empty_Pattern_Create_A_Empty_Pattern.SetResult(AssemblyConnectors_PWP_PWP_instantiate_A_Empty_Pattern_Create_A_Empty_Pattern_result); + AssemblyConnectors_PWP_PWP_instantiate_A_Empty_Pattern.AddNode(AssemblyConnectors_PWP_PWP_instantiate_A_Empty_Pattern_Create_A_Empty_Pattern); + // ObjectFlow ObjectFlow139 from result to a_Empty_Pattern_node + AssemblyConnectors_PWP_PWP_instantiate_A_Empty_Pattern_ObjectFlow139.SetName("ObjectFlow139"); + AssemblyConnectors_PWP_PWP_instantiate_A_Empty_Pattern_ObjectFlow139.SetVisibility(VisibilityKind.public_); + + AssemblyConnectors_PWP_PWP_instantiate_A_Empty_Pattern_ObjectFlow139.SetSource(AssemblyConnectors_PWP_PWP_instantiate_A_Empty_Pattern_A_Empty_Pattern__result); + AssemblyConnectors_PWP_PWP_instantiate_A_Empty_Pattern_ObjectFlow139.SetTarget(AssemblyConnectors_PWP_PWP_instantiate_A_Empty_Pattern_a_Empty_Pattern_node); + // LiteralBoolean LiteralBoolean141 + AssemblyConnectors_PWP_PWP_instantiate_A_Empty_Pattern_ObjectFlow139_LiteralBoolean141.SetName("LiteralBoolean141"); + AssemblyConnectors_PWP_PWP_instantiate_A_Empty_Pattern_ObjectFlow139_LiteralBoolean141.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_PWP_PWP_instantiate_A_Empty_Pattern_ObjectFlow139_LiteralBoolean141.SetValue(true); + AssemblyConnectors_PWP_PWP_instantiate_A_Empty_Pattern_ObjectFlow139.SetGuard(AssemblyConnectors_PWP_PWP_instantiate_A_Empty_Pattern_ObjectFlow139_LiteralBoolean141); + AssemblyConnectors_PWP_PWP_instantiate_A_Empty_Pattern.AddEdge(AssemblyConnectors_PWP_PWP_instantiate_A_Empty_Pattern_ObjectFlow139); + // ObjectFlow ObjectFlow144 from result to target + AssemblyConnectors_PWP_PWP_instantiate_A_Empty_Pattern_ObjectFlow144.SetName("ObjectFlow144"); + AssemblyConnectors_PWP_PWP_instantiate_A_Empty_Pattern_ObjectFlow144.SetVisibility(VisibilityKind.public_); + + AssemblyConnectors_PWP_PWP_instantiate_A_Empty_Pattern_ObjectFlow144.SetSource(AssemblyConnectors_PWP_PWP_instantiate_A_Empty_Pattern_Create_A_Empty_Pattern_result); + AssemblyConnectors_PWP_PWP_instantiate_A_Empty_Pattern_ObjectFlow144.SetTarget(AssemblyConnectors_PWP_PWP_instantiate_A_Empty_Pattern_A_Empty_Pattern__target); + // LiteralBoolean LiteralBoolean146 + AssemblyConnectors_PWP_PWP_instantiate_A_Empty_Pattern_ObjectFlow144_LiteralBoolean146.SetName("LiteralBoolean146"); + AssemblyConnectors_PWP_PWP_instantiate_A_Empty_Pattern_ObjectFlow144_LiteralBoolean146.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_PWP_PWP_instantiate_A_Empty_Pattern_ObjectFlow144_LiteralBoolean146.SetValue(true); + AssemblyConnectors_PWP_PWP_instantiate_A_Empty_Pattern_ObjectFlow144.SetGuard(AssemblyConnectors_PWP_PWP_instantiate_A_Empty_Pattern_ObjectFlow144_LiteralBoolean146); + AssemblyConnectors_PWP_PWP_instantiate_A_Empty_Pattern.AddEdge(AssemblyConnectors_PWP_PWP_instantiate_A_Empty_Pattern_ObjectFlow144); + AssemblyConnectors_PWP_PWP.AddPackagedElement(AssemblyConnectors_PWP_PWP_instantiate_A_Empty_Pattern); + // Activity assert_A_Star_Pattern + AssemblyConnectors_PWP_PWP_assert_A_Star_Pattern.SetName("assert_A_Star_Pattern"); + AssemblyConnectors_PWP_PWP_assert_A_Star_Pattern.SetVisibility(VisibilityKind.public_); + + // Parameter a_Star_Pattern + AssemblyConnectors_PWP_PWP_assert_A_Star_Pattern_a_Star_Pattern.SetName("a_Star_Pattern"); + AssemblyConnectors_PWP_PWP_assert_A_Star_Pattern_a_Star_Pattern.SetVisibility(VisibilityKind.public_); + + AssemblyConnectors_PWP_PWP_assert_A_Star_Pattern_a_Star_Pattern.SetType(AssemblyConnectors_PWP_PWP_A_Star_Pattern); + AssemblyConnectors_PWP_PWP_assert_A_Star_Pattern.AddOwnedParameter(AssemblyConnectors_PWP_PWP_assert_A_Star_Pattern_a_Star_Pattern); + // CallBehaviorAction writeLine + AssemblyConnectors_PWP_PWP_assert_A_Star_Pattern_writeLine.SetName("writeLine"); + AssemblyConnectors_PWP_PWP_assert_A_Star_Pattern_writeLine.SetVisibility(VisibilityKind.public_); + + // OutputPin errorStatus + AssemblyConnectors_PWP_PWP_assert_A_Star_Pattern_writeLine_errorStatus.SetName("errorStatus"); + AssemblyConnectors_PWP_PWP_assert_A_Star_Pattern_writeLine_errorStatus.SetVisibility(VisibilityKind.public_); + + AssemblyConnectors_PWP_PWP_assert_A_Star_Pattern_writeLine_errorStatus.SetLower(0); + AssemblyConnectors_PWP_PWP_assert_A_Star_Pattern_writeLine.AddResult(AssemblyConnectors_PWP_PWP_assert_A_Star_Pattern_writeLine_errorStatus); + AssemblyConnectors_PWP_PWP_assert_A_Star_Pattern_writeLine.SetBehavior(FoundationalModelLibraryModel.Instance().FoundationalModelLibrary_BasicInputOutput_WriteLine); + // InputPin value + AssemblyConnectors_PWP_PWP_assert_A_Star_Pattern_writeLine_value.SetName("value"); + AssemblyConnectors_PWP_PWP_assert_A_Star_Pattern_writeLine_value.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_PWP_PWP_assert_A_Star_Pattern_writeLine_value.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_String); + AssemblyConnectors_PWP_PWP_assert_A_Star_Pattern_writeLine.AddArgument(AssemblyConnectors_PWP_PWP_assert_A_Star_Pattern_writeLine_value); + AssemblyConnectors_PWP_PWP_assert_A_Star_Pattern.AddNode(AssemblyConnectors_PWP_PWP_assert_A_Star_Pattern_writeLine); + // ActivityParameterNode a_Star_Pattern_node + AssemblyConnectors_PWP_PWP_assert_A_Star_Pattern_a_Star_Pattern_node.SetName("a_Star_Pattern_node"); + AssemblyConnectors_PWP_PWP_assert_A_Star_Pattern_a_Star_Pattern_node.SetVisibility(VisibilityKind.public_); + + AssemblyConnectors_PWP_PWP_assert_A_Star_Pattern_a_Star_Pattern_node.SetParameter(AssemblyConnectors_PWP_PWP_assert_A_Star_Pattern_a_Star_Pattern); + AssemblyConnectors_PWP_PWP_assert_A_Star_Pattern.AddNode(AssemblyConnectors_PWP_PWP_assert_A_Star_Pattern_a_Star_Pattern_node); + // ValueSpecificationAction message + AssemblyConnectors_PWP_PWP_assert_A_Star_Pattern_message.SetName("message"); + AssemblyConnectors_PWP_PWP_assert_A_Star_Pattern_message.SetVisibility(VisibilityKind.public_); + // LiteralString LiteralString159 + AssemblyConnectors_PWP_PWP_assert_A_Star_Pattern_message_LiteralString159.SetName("LiteralString159"); + AssemblyConnectors_PWP_PWP_assert_A_Star_Pattern_message_LiteralString159.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_PWP_PWP_assert_A_Star_Pattern_message_LiteralString159.SetValue("Assertion currently not implemented for A_Star_Pattern."); + AssemblyConnectors_PWP_PWP_assert_A_Star_Pattern_message.SetValue(AssemblyConnectors_PWP_PWP_assert_A_Star_Pattern_message_LiteralString159); + // OutputPin result + AssemblyConnectors_PWP_PWP_assert_A_Star_Pattern_message_result.SetName("result"); + AssemblyConnectors_PWP_PWP_assert_A_Star_Pattern_message_result.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_PWP_PWP_assert_A_Star_Pattern_message_result.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_String); + AssemblyConnectors_PWP_PWP_assert_A_Star_Pattern_message.SetResult(AssemblyConnectors_PWP_PWP_assert_A_Star_Pattern_message_result); + AssemblyConnectors_PWP_PWP_assert_A_Star_Pattern.AddNode(AssemblyConnectors_PWP_PWP_assert_A_Star_Pattern_message); + // ObjectFlow ObjectFlow147 from result to value + AssemblyConnectors_PWP_PWP_assert_A_Star_Pattern_ObjectFlow147.SetName("ObjectFlow147"); + AssemblyConnectors_PWP_PWP_assert_A_Star_Pattern_ObjectFlow147.SetVisibility(VisibilityKind.public_); + + AssemblyConnectors_PWP_PWP_assert_A_Star_Pattern_ObjectFlow147.SetSource(AssemblyConnectors_PWP_PWP_assert_A_Star_Pattern_message_result); + AssemblyConnectors_PWP_PWP_assert_A_Star_Pattern_ObjectFlow147.SetTarget(AssemblyConnectors_PWP_PWP_assert_A_Star_Pattern_writeLine_value); + // LiteralBoolean LiteralBoolean148 + AssemblyConnectors_PWP_PWP_assert_A_Star_Pattern_ObjectFlow147_LiteralBoolean148.SetName("LiteralBoolean148"); + AssemblyConnectors_PWP_PWP_assert_A_Star_Pattern_ObjectFlow147_LiteralBoolean148.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_PWP_PWP_assert_A_Star_Pattern_ObjectFlow147_LiteralBoolean148.SetValue(true); + AssemblyConnectors_PWP_PWP_assert_A_Star_Pattern_ObjectFlow147.SetGuard(AssemblyConnectors_PWP_PWP_assert_A_Star_Pattern_ObjectFlow147_LiteralBoolean148); + AssemblyConnectors_PWP_PWP_assert_A_Star_Pattern.AddEdge(AssemblyConnectors_PWP_PWP_assert_A_Star_Pattern_ObjectFlow147); + AssemblyConnectors_PWP_PWP.AddPackagedElement(AssemblyConnectors_PWP_PWP_assert_A_Star_Pattern); + // Class IImpl + AssemblyConnectors_PWP_PWP_IImpl.SetName("IImpl"); + AssemblyConnectors_PWP_PWP_IImpl.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_PWP_PWP_IImpl_I_Realization.SetName("I_Realization"); + AssemblyConnectors_PWP_PWP_IImpl_I_Realization.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_PWP_PWP_IImpl_I_Realization.SetContract(AssemblyConnectors_PWP_PWP_I); + + AssemblyConnectors_PWP_PWP_IImpl.AddInterfaceRealization(AssemblyConnectors_PWP_PWP_IImpl_I_Realization); + AssemblyConnectors_PWP_PWP.AddPackagedElement(AssemblyConnectors_PWP_PWP_IImpl); + // Interface I + AssemblyConnectors_PWP_PWP_I.SetName("I"); + AssemblyConnectors_PWP_PWP_I.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_PWP_PWP.AddPackagedElement(AssemblyConnectors_PWP_PWP_I); + // Class A_Empty_Pattern + AssemblyConnectors_PWP_PWP_A_Empty_Pattern.SetName("A_Empty_Pattern"); + AssemblyConnectors_PWP_PWP_A_Empty_Pattern.SetVisibility(VisibilityKind.public_); + + // Property partB + AssemblyConnectors_PWP_PWP_A_Empty_Pattern_partB.SetName("partB"); + AssemblyConnectors_PWP_PWP_A_Empty_Pattern_partB.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_PWP_PWP_A_Empty_Pattern_partB.SetUpper(-1); + AssemblyConnectors_PWP_PWP_A_Empty_Pattern_partB.SetLower(0); + AssemblyConnectors_PWP_PWP_A_Empty_Pattern_partB.SetType(AssemblyConnectors_PWP_PWP_B); + AssemblyConnectors_PWP_PWP_A_Empty_Pattern_partB.SetAggregation(AggregationKind.composite); + AssemblyConnectors_PWP_PWP_A_Empty_Pattern.AddOwnedAttribute(AssemblyConnectors_PWP_PWP_A_Empty_Pattern_partB); + // Property partC + AssemblyConnectors_PWP_PWP_A_Empty_Pattern_partC.SetName("partC"); + AssemblyConnectors_PWP_PWP_A_Empty_Pattern_partC.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_PWP_PWP_A_Empty_Pattern_partC.SetUpper(-1); + AssemblyConnectors_PWP_PWP_A_Empty_Pattern_partC.SetLower(0); + AssemblyConnectors_PWP_PWP_A_Empty_Pattern_partC.SetType(AssemblyConnectors_PWP_PWP_C); + AssemblyConnectors_PWP_PWP_A_Empty_Pattern_partC.SetAggregation(AggregationKind.composite); + AssemblyConnectors_PWP_PWP_A_Empty_Pattern.AddOwnedAttribute(AssemblyConnectors_PWP_PWP_A_Empty_Pattern_partC); + + AssemblyConnectors_PWP_PWP_A_Empty_Pattern_r.SetName("r"); + AssemblyConnectors_PWP_PWP_A_Empty_Pattern_r.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_PWP_PWP_A_Empty_Pattern_r_ConnectorEnd165.SetUpper(-1); + AssemblyConnectors_PWP_PWP_A_Empty_Pattern_r_ConnectorEnd165.SetRole(AssemblyConnectors_PWP_PWP_B_p); + AssemblyConnectors_PWP_PWP_A_Empty_Pattern_r_ConnectorEnd165.SetPartWithPort(AssemblyConnectors_PWP_PWP_A_Empty_Pattern_partB); + + AssemblyConnectors_PWP_PWP_A_Empty_Pattern_r.AddEnd(AssemblyConnectors_PWP_PWP_A_Empty_Pattern_r_ConnectorEnd165); + AssemblyConnectors_PWP_PWP_A_Empty_Pattern_r_ConnectorEnd164.SetUpper(-1); + AssemblyConnectors_PWP_PWP_A_Empty_Pattern_r_ConnectorEnd164.SetRole(AssemblyConnectors_PWP_PWP_C_q); + AssemblyConnectors_PWP_PWP_A_Empty_Pattern_r_ConnectorEnd164.SetPartWithPort(AssemblyConnectors_PWP_PWP_A_Empty_Pattern_partC); + + AssemblyConnectors_PWP_PWP_A_Empty_Pattern_r.AddEnd(AssemblyConnectors_PWP_PWP_A_Empty_Pattern_r_ConnectorEnd164); + AssemblyConnectors_PWP_PWP_A_Empty_Pattern_r.SetType(AssemblyConnectors_PWP_PWP_R); + AssemblyConnectors_PWP_PWP_A_Empty_Pattern.AddOwnedConnector(AssemblyConnectors_PWP_PWP_A_Empty_Pattern_r); + // Operation A_Empty_Pattern_A_Empty_Pattern + AssemblyConnectors_PWP_PWP_A_Empty_Pattern_A_Empty_Pattern_A_Empty_Pattern.SetName("A_Empty_Pattern_A_Empty_Pattern"); + AssemblyConnectors_PWP_PWP_A_Empty_Pattern_A_Empty_Pattern_A_Empty_Pattern.SetVisibility(VisibilityKind.public_); + // Parameter result + AssemblyConnectors_PWP_PWP_A_Empty_Pattern_A_Empty_Pattern_A_Empty_Pattern_result.SetName("result"); + AssemblyConnectors_PWP_PWP_A_Empty_Pattern_A_Empty_Pattern_A_Empty_Pattern_result.SetVisibility(VisibilityKind.public_); + + AssemblyConnectors_PWP_PWP_A_Empty_Pattern_A_Empty_Pattern_A_Empty_Pattern_result.SetType(AssemblyConnectors_PWP_PWP_A_Empty_Pattern); + AssemblyConnectors_PWP_PWP_A_Empty_Pattern_A_Empty_Pattern_A_Empty_Pattern_result.SetDirection(ParameterDirectionKind.return_); + AssemblyConnectors_PWP_PWP_A_Empty_Pattern_A_Empty_Pattern_A_Empty_Pattern.AddOwnedParameter(AssemblyConnectors_PWP_PWP_A_Empty_Pattern_A_Empty_Pattern_A_Empty_Pattern_result); + AssemblyConnectors_PWP_PWP_A_Empty_Pattern_A_Empty_Pattern_A_Empty_Pattern.ApplyStereotype(uml.standardprofile.StandardProfileModel.Instance().Stereotype_Create); + AssemblyConnectors_PWP_PWP_A_Empty_Pattern.AddOwnedOperation(AssemblyConnectors_PWP_PWP_A_Empty_Pattern_A_Empty_Pattern_A_Empty_Pattern); + AssemblyConnectors_PWP_PWP.AddPackagedElement(AssemblyConnectors_PWP_PWP_A_Empty_Pattern); + // Activity instantiate_A_Star_Pattern + AssemblyConnectors_PWP_PWP_instantiate_A_Star_Pattern.SetName("instantiate_A_Star_Pattern"); + AssemblyConnectors_PWP_PWP_instantiate_A_Star_Pattern.SetVisibility(VisibilityKind.public_); + + // Parameter a_Star_Pattern + AssemblyConnectors_PWP_PWP_instantiate_A_Star_Pattern_a_Star_Pattern.SetName("a_Star_Pattern"); + AssemblyConnectors_PWP_PWP_instantiate_A_Star_Pattern_a_Star_Pattern.SetVisibility(VisibilityKind.public_); + + AssemblyConnectors_PWP_PWP_instantiate_A_Star_Pattern_a_Star_Pattern.SetType(AssemblyConnectors_PWP_PWP_A_Star_Pattern); + AssemblyConnectors_PWP_PWP_instantiate_A_Star_Pattern_a_Star_Pattern.SetDirection(ParameterDirectionKind.return_); + AssemblyConnectors_PWP_PWP_instantiate_A_Star_Pattern.AddOwnedParameter(AssemblyConnectors_PWP_PWP_instantiate_A_Star_Pattern_a_Star_Pattern); + // CallOperationAction A_Star_Pattern() + AssemblyConnectors_PWP_PWP_instantiate_A_Star_Pattern_A_Star_Pattern_.SetName("A_Star_Pattern()"); + AssemblyConnectors_PWP_PWP_instantiate_A_Star_Pattern_A_Star_Pattern_.SetVisibility(VisibilityKind.public_); + + // OutputPin result + AssemblyConnectors_PWP_PWP_instantiate_A_Star_Pattern_A_Star_Pattern__result.SetName("result"); + AssemblyConnectors_PWP_PWP_instantiate_A_Star_Pattern_A_Star_Pattern__result.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_PWP_PWP_instantiate_A_Star_Pattern_A_Star_Pattern__result.SetType(AssemblyConnectors_PWP_PWP_A_Star_Pattern); + AssemblyConnectors_PWP_PWP_instantiate_A_Star_Pattern_A_Star_Pattern_.AddResult(AssemblyConnectors_PWP_PWP_instantiate_A_Star_Pattern_A_Star_Pattern__result); + AssemblyConnectors_PWP_PWP_instantiate_A_Star_Pattern_A_Star_Pattern_.SetOperation(AssemblyConnectors_PWP_PWP_A_Star_Pattern_A_Star_Pattern_A_Star_Pattern); + // InputPin target + AssemblyConnectors_PWP_PWP_instantiate_A_Star_Pattern_A_Star_Pattern__target.SetName("target"); + AssemblyConnectors_PWP_PWP_instantiate_A_Star_Pattern_A_Star_Pattern__target.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_PWP_PWP_instantiate_A_Star_Pattern_A_Star_Pattern__target.SetType(AssemblyConnectors_PWP_PWP_A_Star_Pattern); + AssemblyConnectors_PWP_PWP_instantiate_A_Star_Pattern_A_Star_Pattern_.SetTarget(AssemblyConnectors_PWP_PWP_instantiate_A_Star_Pattern_A_Star_Pattern__target); + AssemblyConnectors_PWP_PWP_instantiate_A_Star_Pattern.AddNode(AssemblyConnectors_PWP_PWP_instantiate_A_Star_Pattern_A_Star_Pattern_); + // ActivityParameterNode a_Star_Pattern_node + AssemblyConnectors_PWP_PWP_instantiate_A_Star_Pattern_a_Star_Pattern_node.SetName("a_Star_Pattern_node"); + AssemblyConnectors_PWP_PWP_instantiate_A_Star_Pattern_a_Star_Pattern_node.SetVisibility(VisibilityKind.public_); + + AssemblyConnectors_PWP_PWP_instantiate_A_Star_Pattern_a_Star_Pattern_node.SetParameter(AssemblyConnectors_PWP_PWP_instantiate_A_Star_Pattern_a_Star_Pattern); + AssemblyConnectors_PWP_PWP_instantiate_A_Star_Pattern.AddNode(AssemblyConnectors_PWP_PWP_instantiate_A_Star_Pattern_a_Star_Pattern_node); + // CreateObjectAction Create A_Star_Pattern + AssemblyConnectors_PWP_PWP_instantiate_A_Star_Pattern_Create_A_Star_Pattern.SetName("Create A_Star_Pattern"); + AssemblyConnectors_PWP_PWP_instantiate_A_Star_Pattern_Create_A_Star_Pattern.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_PWP_PWP_instantiate_A_Star_Pattern_Create_A_Star_Pattern.SetClassifier(AssemblyConnectors_PWP_PWP_A_Star_Pattern); + // OutputPin result + AssemblyConnectors_PWP_PWP_instantiate_A_Star_Pattern_Create_A_Star_Pattern_result.SetName("result"); + AssemblyConnectors_PWP_PWP_instantiate_A_Star_Pattern_Create_A_Star_Pattern_result.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_PWP_PWP_instantiate_A_Star_Pattern_Create_A_Star_Pattern_result.SetType(AssemblyConnectors_PWP_PWP_A_Star_Pattern); + AssemblyConnectors_PWP_PWP_instantiate_A_Star_Pattern_Create_A_Star_Pattern.SetResult(AssemblyConnectors_PWP_PWP_instantiate_A_Star_Pattern_Create_A_Star_Pattern_result); + AssemblyConnectors_PWP_PWP_instantiate_A_Star_Pattern.AddNode(AssemblyConnectors_PWP_PWP_instantiate_A_Star_Pattern_Create_A_Star_Pattern); + // ObjectFlow ObjectFlow172 from result to a_Star_Pattern_node + AssemblyConnectors_PWP_PWP_instantiate_A_Star_Pattern_ObjectFlow172.SetName("ObjectFlow172"); + AssemblyConnectors_PWP_PWP_instantiate_A_Star_Pattern_ObjectFlow172.SetVisibility(VisibilityKind.public_); + + AssemblyConnectors_PWP_PWP_instantiate_A_Star_Pattern_ObjectFlow172.SetSource(AssemblyConnectors_PWP_PWP_instantiate_A_Star_Pattern_A_Star_Pattern__result); + AssemblyConnectors_PWP_PWP_instantiate_A_Star_Pattern_ObjectFlow172.SetTarget(AssemblyConnectors_PWP_PWP_instantiate_A_Star_Pattern_a_Star_Pattern_node); + // LiteralBoolean LiteralBoolean173 + AssemblyConnectors_PWP_PWP_instantiate_A_Star_Pattern_ObjectFlow172_LiteralBoolean173.SetName("LiteralBoolean173"); + AssemblyConnectors_PWP_PWP_instantiate_A_Star_Pattern_ObjectFlow172_LiteralBoolean173.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_PWP_PWP_instantiate_A_Star_Pattern_ObjectFlow172_LiteralBoolean173.SetValue(true); + AssemblyConnectors_PWP_PWP_instantiate_A_Star_Pattern_ObjectFlow172.SetGuard(AssemblyConnectors_PWP_PWP_instantiate_A_Star_Pattern_ObjectFlow172_LiteralBoolean173); + AssemblyConnectors_PWP_PWP_instantiate_A_Star_Pattern.AddEdge(AssemblyConnectors_PWP_PWP_instantiate_A_Star_Pattern_ObjectFlow172); + // ObjectFlow ObjectFlow175 from result to target + AssemblyConnectors_PWP_PWP_instantiate_A_Star_Pattern_ObjectFlow175.SetName("ObjectFlow175"); + AssemblyConnectors_PWP_PWP_instantiate_A_Star_Pattern_ObjectFlow175.SetVisibility(VisibilityKind.public_); + + AssemblyConnectors_PWP_PWP_instantiate_A_Star_Pattern_ObjectFlow175.SetSource(AssemblyConnectors_PWP_PWP_instantiate_A_Star_Pattern_Create_A_Star_Pattern_result); + AssemblyConnectors_PWP_PWP_instantiate_A_Star_Pattern_ObjectFlow175.SetTarget(AssemblyConnectors_PWP_PWP_instantiate_A_Star_Pattern_A_Star_Pattern__target); + // LiteralBoolean LiteralBoolean176 + AssemblyConnectors_PWP_PWP_instantiate_A_Star_Pattern_ObjectFlow175_LiteralBoolean176.SetName("LiteralBoolean176"); + AssemblyConnectors_PWP_PWP_instantiate_A_Star_Pattern_ObjectFlow175_LiteralBoolean176.SetVisibility(VisibilityKind.public_); + AssemblyConnectors_PWP_PWP_instantiate_A_Star_Pattern_ObjectFlow175_LiteralBoolean176.SetValue(true); + AssemblyConnectors_PWP_PWP_instantiate_A_Star_Pattern_ObjectFlow175.SetGuard(AssemblyConnectors_PWP_PWP_instantiate_A_Star_Pattern_ObjectFlow175_LiteralBoolean176); + AssemblyConnectors_PWP_PWP_instantiate_A_Star_Pattern.AddEdge(AssemblyConnectors_PWP_PWP_instantiate_A_Star_Pattern_ObjectFlow175); + AssemblyConnectors_PWP_PWP.AddPackagedElement(AssemblyConnectors_PWP_PWP_instantiate_A_Star_Pattern); + } + + /* Start of user code : User-defined members + * This section may be used for user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } // AssemblyConnectors_PWP_PWPModel +} diff --git a/fUML-CSharp/tests/pscs-Tests/01_Instantiation/04_DefaultValue_BasicTypes/.gitignore b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/04_DefaultValue_BasicTypes/.gitignore new file mode 100644 index 0000000..1736844 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/04_DefaultValue_BasicTypes/.gitignore @@ -0,0 +1,3 @@ +/.vs/ +/bin/ +/obj/ diff --git a/fUML-CSharp/tests/pscs-Tests/01_Instantiation/04_DefaultValue_BasicTypes/DefaultValue_BasicTypes.csproj b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/04_DefaultValue_BasicTypes/DefaultValue_BasicTypes.csproj new file mode 100644 index 0000000..b1ab22c --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/04_DefaultValue_BasicTypes/DefaultValue_BasicTypes.csproj @@ -0,0 +1,50 @@ + + + + Exe + net6.0 + enable + enable + + + + DefaultValue_BasicTypes.Debug + + + DefaultValue_BasicTypes.Release + + + + + ..\..\..\..\uml\bin\Debug\net6.0\uml.Debug.dll + + + + + ..\..\..\..\uml\bin\Release\net6.0\uml.Release.dll + + + + + + ..\..\..\..\fuml\bin\Debug\net6.0\fuml.Debug.dll + + + + + ..\..\..\..\fuml\bin\Release\net6.0\fuml.Release.dll + + + + + + ..\..\..\..\pscs\bin\Debug\net6.0\pscs.Debug.dll + + + + + ..\..\..\..\pscs\bin\Release\net6.0\pscs.Release.dll + + + + diff --git a/fUML-CSharp/tests/pscs-Tests/01_Instantiation/04_DefaultValue_BasicTypes/DefaultValue_BasicTypes.sln b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/04_DefaultValue_BasicTypes/DefaultValue_BasicTypes.sln new file mode 100644 index 0000000..cd9eb7b --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/04_DefaultValue_BasicTypes/DefaultValue_BasicTypes.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.32112.339 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DefaultValue_BasicTypes", "DefaultValue_BasicTypes.csproj", "{DC714C47-1557-4518-A7FB-15915AFC234E}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {DC714C47-1557-4518-A7FB-15915AFC234E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {DC714C47-1557-4518-A7FB-15915AFC234E}.Debug|Any CPU.Build.0 = Debug|Any CPU + {DC714C47-1557-4518-A7FB-15915AFC234E}.Release|Any CPU.ActiveCfg = Release|Any CPU + {DC714C47-1557-4518-A7FB-15915AFC234E}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {35724B87-76B0-476A-A56D-084024D724F7} + EndGlobalSection +EndGlobal diff --git a/fUML-CSharp/tests/pscs-Tests/01_Instantiation/04_DefaultValue_BasicTypes/Properties/launchSettings.json b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/04_DefaultValue_BasicTypes/Properties/launchSettings.json new file mode 100644 index 0000000..1c63eaa --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/04_DefaultValue_BasicTypes/Properties/launchSettings.json @@ -0,0 +1,8 @@ +{ + "profiles": { + "DefaultValue_BasicTypes": { + "commandName": "Project", + "commandLineArgs": "main" + } + } +} \ No newline at end of file diff --git a/fUML-CSharp/tests/pscs-Tests/01_Instantiation/04_DefaultValue_BasicTypes/model/DefaultValue_BasicTypes.di b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/04_DefaultValue_BasicTypes/model/DefaultValue_BasicTypes.di new file mode 100644 index 0000000..8c549ee --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/04_DefaultValue_BasicTypes/model/DefaultValue_BasicTypes.di @@ -0,0 +1,2 @@ + + diff --git a/fUML-CSharp/tests/pscs-Tests/01_Instantiation/04_DefaultValue_BasicTypes/model/DefaultValue_BasicTypes.notation b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/04_DefaultValue_BasicTypes/model/DefaultValue_BasicTypes.notation new file mode 100644 index 0000000..c80b159 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/04_DefaultValue_BasicTypes/model/DefaultValue_BasicTypes.notation @@ -0,0 +1,1004 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ + + +
+ + + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + + + + + + + + + + +
+
+ + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/fUML-CSharp/tests/pscs-Tests/01_Instantiation/04_DefaultValue_BasicTypes/model/DefaultValue_BasicTypes.uml b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/04_DefaultValue_BasicTypes/model/DefaultValue_BasicTypes.uml new file mode 100644 index 0000000..be31d75 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/04_DefaultValue_BasicTypes/model/DefaultValue_BasicTypes.uml @@ -0,0 +1,383 @@ + + + + + This test case addresses instantiation of default values for properties typed by primitive types and enumerations. + + + + This test case addresses instantiation of default values for properties typed by primitive types and enumerations. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + C# + Using + Console.WriteLine("Asserting a.pInteger == 4"); + // Test parameter pInteger + int pInteger = ((IntegerValue)inputParameters.ElementAt(0).values.ElementAt(0)).value; + Debug.Println("[doBody] argument pInteger = " + pInteger); + Console.WriteLine("a.pInteger == " + pInteger); + if(pInteger == 4) + { + Console.ForegroundColor = ConsoleColor.Green; + Console.WriteLine("Assertion successful."); + } + else + { + Console.ForegroundColor = ConsoleColor.Red; + Console.WriteLine("Assertion failed!"); + } + Console.ResetColor(); + + + Console.WriteLine("Asserting a.pString == 'Hello'"); + // Test parameter pString + string pString = ((StringValue)inputParameters.ElementAt(1).values.ElementAt(0)).value; + Debug.Println("[doBody] argument " + inputParameters.ElementAt(1).parameter!.name + " = " + pString); + Console.WriteLine("a.pString == " + pString); + if(pString == "Hello") + { + Console.ForegroundColor = ConsoleColor.Green; + Console.WriteLine("Assertion successful."); + } + else + { + Console.ForegroundColor = ConsoleColor.Red; + Console.WriteLine("Assertion failed!"); + } + Console.ResetColor(); + + Console.WriteLine("Asserting a.pBoolean == true"); + // Test parameter pBoolean + bool pBoolean = ((BooleanValue)inputParameters.ElementAt(2).values.ElementAt(0)).value; + Debug.Println("[doBody] argument " + inputParameters.ElementAt(2).parameter!.name + " = " + pBoolean); + Console.WriteLine("a.pBoolean == " + pBoolean); + if(pBoolean) + { + Console.ForegroundColor = ConsoleColor.Green; + Console.WriteLine("Assertion successful."); + } + else + { + Console.ForegroundColor = ConsoleColor.Red; + Console.WriteLine("Assertion failed!"); + } + Console.ResetColor(); + + Console.WriteLine("Asserting a.pUnlimitedNatural == *"); + // Test parameter pUnlimitedNatural + UnlimitedNatural pUnlimitedNatural = ((UnlimitedNaturalValue)inputParameters.ElementAt(3).values.ElementAt(0)).value; + Debug.Println("[doBody] argument " + inputParameters.ElementAt(3).parameter!.name + " = " + pUnlimitedNatural.ToString()); + Console.WriteLine("a.pUnlimitedNatural == " + pUnlimitedNatural.ToString()); + if(pUnlimitedNatural.naturalValue == -1) + { + Console.ForegroundColor = ConsoleColor.Green; + Console.WriteLine("Assertion successful."); + } + else + { + Console.ForegroundColor = ConsoleColor.Red; + Console.WriteLine("Assertion failed!"); + } + Console.ResetColor(); + + Console.WriteLine("Asserting a.pReal == 4.0"); + // Test parameter pReal + float pReal = ((RealValue)inputParameters.ElementAt(4).values.ElementAt(0)).value; + Debug.Println("[doBody] argument " + inputParameters.ElementAt(4).parameter!.name + " = " + pReal); + Console.WriteLine("a.pReal == " + pReal.ToString()); + if(pReal == 4.0) + { + Console.ForegroundColor = ConsoleColor.Green; + Console.WriteLine("Assertion successful."); + } + else + { + Console.ForegroundColor = ConsoleColor.Red; + Console.WriteLine("Assertion failed!"); + } + Console.ResetColor(); + + Console.WriteLine("Asserting a.pEnum == E::e2"); + // Test parameter pEnum + EnumerationLiteral pEnum = ((EnumerationValue)inputParameters.ElementAt(5).values.ElementAt(0)).literal!; + Debug.Println("[doBody] argument " + inputParameters.ElementAt(5).parameter!.name + " = " + pEnum.qualifiedName); + Console.WriteLine("a.pEnum == " + pEnum.qualifiedName); + if(pEnum == DefaultValue_BasicTypesModel.Instance().DefaultValue_BasicTypes_E_e2) + { + Console.ForegroundColor = ConsoleColor.Green; + Console.WriteLine("Assertion successful."); + } + else + { + Console.ForegroundColor = ConsoleColor.Red; + Console.WriteLine("Assertion failed!"); + } + using fuml.semantics.simpleclassifiers; +using uml.simpleclassifiers; +using UMLPrimitiveTypes; + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/fUML-CSharp/tests/pscs-Tests/01_Instantiation/04_DefaultValue_BasicTypes/src/DefaultValue_BasicTypes.cs b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/04_DefaultValue_BasicTypes/src/DefaultValue_BasicTypes.cs new file mode 100644 index 0000000..b746eb0 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/04_DefaultValue_BasicTypes/src/DefaultValue_BasicTypes.cs @@ -0,0 +1,31 @@ +namespace DefaultValue_BasicTypes +{ + internal class DefaultValue_BasicTypes + { + static void PrintUsage() + { + Console.WriteLine( + "=============================================================================================\n" + + "USAGE: [ <...>]\n" + + "=============================================================================================\n" + ); + } + + static int Main(string[] args) + { + if(args.Length == 0) + { + Console.WriteLine("[ERROR] Must declare at least one behavior name.\n"); + PrintUsage(); + return -1; + } + + foreach (string arg in args) + { + DefaultValue_BasicTypesEnvironment.Instance().Execute(arg); + } + + return 0; + } + } +} diff --git a/fUML-CSharp/tests/pscs-Tests/01_Instantiation/04_DefaultValue_BasicTypes/src/DefaultValue_BasicTypesEnvironment.cs b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/04_DefaultValue_BasicTypes/src/DefaultValue_BasicTypesEnvironment.cs new file mode 100644 index 0000000..c6f1b9d --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/04_DefaultValue_BasicTypes/src/DefaultValue_BasicTypesEnvironment.cs @@ -0,0 +1,93 @@ +/* + * DefaultValue_BasicTypesEnvironment.cs + * + * Auto-generated file + */ + +/* Start of user code : User-defined using directives + * This section may be used for using directives. + * It will not be overwritten by future generation processes. + */ + +/* + * End of user code + */ + +namespace DefaultValue_BasicTypes +{ + public class DefaultValue_BasicTypesEnvironment : pscs.environment.Environment + { + private static DefaultValue_BasicTypesEnvironment? instance; + + public static DefaultValue_BasicTypesEnvironment Instance() + { + if(instance is null) + { + instance = new(); + instance.inMemoryModel = DefaultValue_BasicTypesModel.Instance(); + } + + return instance; + } + + public DefaultValue_BasicTypesEnvironment() + { + /* + * Create custom opaque behavior execution instances and add them to the execution environment. + */ + AddPrimitiveBehaviorPrototype(new testDefaultValuesExecution()); + + /* Start of user code : Additional environment initializations + * This section may be used to do any additional environment initialization, + * for example initializing user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } + + public override void Execute(string behaviorName) + { + /* Start of user code : Context and inputs initializations + * This section may be used to initialize the execution context + * as well as input parameter values if required. + * It will not be overwritten by future generation processes. + */ + + //context = ...; + //inputs = ...; + + /* + * End of user code + */ + + /* + * Start execution via base class call + */ + base.Execute(behaviorName); + + /* Start of user code : Outputs evaluation + * This section may be used to evaluate output parameter values if required. + * It will not be overwritten by future generation processes. + */ + + //List theOutputs = outputs; + //... + + /* + * End of user code + */ + } + + /* Start of user code : User-defined members + * This section may be used for user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } // DefaultValue_BasicTypesEnvironment +} diff --git a/fUML-CSharp/tests/pscs-Tests/01_Instantiation/04_DefaultValue_BasicTypes/src/DefaultValue_BasicTypesModel.cs b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/04_DefaultValue_BasicTypes/src/DefaultValue_BasicTypesModel.cs new file mode 100644 index 0000000..a6bdaba --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/04_DefaultValue_BasicTypes/src/DefaultValue_BasicTypesModel.cs @@ -0,0 +1,971 @@ +/* + * DefaultValue_BasicTypesModel.cs + * + * Auto-generated file + */ + +using uml.actions; +using uml.packages; +using uml.structuredclassifiers; +using fuml.primitivetypes; +using uml.classification; +using fuml.library; +using uml.simpleclassifiers; +using uml.commonbehavior; +using uml.commonstructure; +using uml.values; +using uml.activities; +using uml.environment; + + +/* Start of user code : User-defined includes and forward declarations + * This section may be used for includes and forward declarations. + * It will not be overwritten by future generation processes. + */ + +/* + * End of user code + */ + +namespace DefaultValue_BasicTypes +{ + public class DefaultValue_BasicTypesModel : InMemoryModel + { + private static DefaultValue_BasicTypesModel? instance; + + /* + * Model DefaultValue_BasicTypes + */ + public Package DefaultValue_BasicTypes = new(); + public Activity DefaultValue_BasicTypes_main = new(); + public CallBehaviorAction DefaultValue_BasicTypes_main_assert_A = new(); + public InputPin DefaultValue_BasicTypes_main_assert_A_a = new(); + public LiteralInteger DefaultValue_BasicTypes_main_assert_A_a_LiteralInteger0 = new(); + public LiteralUnlimitedNatural DefaultValue_BasicTypes_main_assert_A_a_LiteralUnlimitedNatural1 = new(); + public LiteralInteger DefaultValue_BasicTypes_main_assert_A_a_LiteralInteger2 = new(); + public ObjectFlow DefaultValue_BasicTypes_main_ObjectFlow3 = new(); + public LiteralInteger DefaultValue_BasicTypes_main_ObjectFlow3_LiteralInteger4 = new(); + public LiteralBoolean DefaultValue_BasicTypes_main_ObjectFlow3_LiteralBoolean5 = new(); + public CallBehaviorAction DefaultValue_BasicTypes_main_instantiate_A = new(); + public OutputPin DefaultValue_BasicTypes_main_instantiate_A_a = new(); + public LiteralInteger DefaultValue_BasicTypes_main_instantiate_A_a_LiteralInteger6 = new(); + public LiteralInteger DefaultValue_BasicTypes_main_instantiate_A_a_LiteralInteger7 = new(); + public LiteralUnlimitedNatural DefaultValue_BasicTypes_main_instantiate_A_a_LiteralUnlimitedNatural8 = new(); + public Enumeration DefaultValue_BasicTypes_E = new(); + public EnumerationLiteral DefaultValue_BasicTypes_E_e1 = new(); + public EnumerationLiteral DefaultValue_BasicTypes_E_e2 = new(); + public Class_ DefaultValue_BasicTypes_A = new(); + public Property DefaultValue_BasicTypes_A_pInteger = new(); + public LiteralInteger DefaultValue_BasicTypes_A_pInteger_LiteralInteger9 = new(); + public Property DefaultValue_BasicTypes_A_pReal = new(); + public LiteralReal DefaultValue_BasicTypes_A_pReal_LiteralReal10 = new(); + public Property DefaultValue_BasicTypes_A_pEnum = new(); + public InstanceValue DefaultValue_BasicTypes_A_pEnum_InstanceValue11 = new(); + public Property DefaultValue_BasicTypes_A_pString = new(); + public LiteralString DefaultValue_BasicTypes_A_pString_LiteralString12 = new(); + public Property DefaultValue_BasicTypes_A_pUnlimitedNatural = new(); + public LiteralUnlimitedNatural DefaultValue_BasicTypes_A_pUnlimitedNatural_LiteralUnlimitedNatural13 = new(); + public Operation DefaultValue_BasicTypes_A_A_A = new(); + public Parameter DefaultValue_BasicTypes_A_A_A_result = new(); + public Property DefaultValue_BasicTypes_A_pBoolean = new(); + public LiteralBoolean DefaultValue_BasicTypes_A_pBoolean_LiteralBoolean14 = new(); + public Activity DefaultValue_BasicTypes_assert_A = new(); + public ObjectFlow DefaultValue_BasicTypes_assert_A_ObjectFlow15 = new(); + public LiteralInteger DefaultValue_BasicTypes_assert_A_ObjectFlow15_LiteralInteger16 = new(); + public LiteralBoolean DefaultValue_BasicTypes_assert_A_ObjectFlow15_LiteralBoolean17 = new(); + public CallBehaviorAction DefaultValue_BasicTypes_assert_A_Test_Default_Values = new(); + public InputPin DefaultValue_BasicTypes_assert_A_Test_Default_Values_pInteger = new(); + public LiteralUnlimitedNatural DefaultValue_BasicTypes_assert_A_Test_Default_Values_pInteger_LiteralUnlimitedNatural18 = new(); + public LiteralInteger DefaultValue_BasicTypes_assert_A_Test_Default_Values_pInteger_LiteralInteger19 = new(); + public InputPin DefaultValue_BasicTypes_assert_A_Test_Default_Values_pBoolean = new(); + public LiteralUnlimitedNatural DefaultValue_BasicTypes_assert_A_Test_Default_Values_pBoolean_LiteralUnlimitedNatural20 = new(); + public LiteralInteger DefaultValue_BasicTypes_assert_A_Test_Default_Values_pBoolean_LiteralInteger21 = new(); + public InputPin DefaultValue_BasicTypes_assert_A_Test_Default_Values_pReal = new(); + public LiteralInteger DefaultValue_BasicTypes_assert_A_Test_Default_Values_pReal_LiteralInteger22 = new(); + public LiteralUnlimitedNatural DefaultValue_BasicTypes_assert_A_Test_Default_Values_pReal_LiteralUnlimitedNatural23 = new(); + public InputPin DefaultValue_BasicTypes_assert_A_Test_Default_Values_pUnlimitedNatural = new(); + public LiteralInteger DefaultValue_BasicTypes_assert_A_Test_Default_Values_pUnlimitedNatural_LiteralInteger24 = new(); + public LiteralUnlimitedNatural DefaultValue_BasicTypes_assert_A_Test_Default_Values_pUnlimitedNatural_LiteralUnlimitedNatural25 = new(); + public InputPin DefaultValue_BasicTypes_assert_A_Test_Default_Values_pEnum = new(); + public LiteralInteger DefaultValue_BasicTypes_assert_A_Test_Default_Values_pEnum_LiteralInteger26 = new(); + public LiteralUnlimitedNatural DefaultValue_BasicTypes_assert_A_Test_Default_Values_pEnum_LiteralUnlimitedNatural27 = new(); + public InputPin DefaultValue_BasicTypes_assert_A_Test_Default_Values_pString = new(); + public LiteralUnlimitedNatural DefaultValue_BasicTypes_assert_A_Test_Default_Values_pString_LiteralUnlimitedNatural28 = new(); + public LiteralInteger DefaultValue_BasicTypes_assert_A_Test_Default_Values_pString_LiteralInteger29 = new(); + public ObjectFlow DefaultValue_BasicTypes_assert_A_ObjectFlow30 = new(); + public LiteralInteger DefaultValue_BasicTypes_assert_A_ObjectFlow30_LiteralInteger31 = new(); + public LiteralBoolean DefaultValue_BasicTypes_assert_A_ObjectFlow30_LiteralBoolean32 = new(); + public ObjectFlow DefaultValue_BasicTypes_assert_A_ObjectFlow33 = new(); + public LiteralInteger DefaultValue_BasicTypes_assert_A_ObjectFlow33_LiteralInteger34 = new(); + public LiteralBoolean DefaultValue_BasicTypes_assert_A_ObjectFlow33_LiteralBoolean35 = new(); + public ObjectFlow DefaultValue_BasicTypes_assert_A_ObjectFlow36 = new(); + public LiteralInteger DefaultValue_BasicTypes_assert_A_ObjectFlow36_LiteralInteger37 = new(); + public LiteralBoolean DefaultValue_BasicTypes_assert_A_ObjectFlow36_LiteralBoolean38 = new(); + public Parameter DefaultValue_BasicTypes_assert_A_a = new(); + public ReadStructuralFeatureAction DefaultValue_BasicTypes_assert_A_Read_a_pUnlimitedNatural = new(); + public OutputPin DefaultValue_BasicTypes_assert_A_Read_a_pUnlimitedNatural_result = new(); + public LiteralUnlimitedNatural DefaultValue_BasicTypes_assert_A_Read_a_pUnlimitedNatural_result_LiteralUnlimitedNatural39 = new(); + public LiteralInteger DefaultValue_BasicTypes_assert_A_Read_a_pUnlimitedNatural_result_LiteralInteger40 = new(); + public InputPin DefaultValue_BasicTypes_assert_A_Read_a_pUnlimitedNatural_object = new(); + public LiteralInteger DefaultValue_BasicTypes_assert_A_Read_a_pUnlimitedNatural_object_LiteralInteger41 = new(); + public LiteralUnlimitedNatural DefaultValue_BasicTypes_assert_A_Read_a_pUnlimitedNatural_object_LiteralUnlimitedNatural42 = new(); + public ObjectFlow DefaultValue_BasicTypes_assert_A_ObjectFlow43 = new(); + public LiteralBoolean DefaultValue_BasicTypes_assert_A_ObjectFlow43_LiteralBoolean44 = new(); + public LiteralInteger DefaultValue_BasicTypes_assert_A_ObjectFlow43_LiteralInteger45 = new(); + public ObjectFlow DefaultValue_BasicTypes_assert_A_ObjectFlow46 = new(); + public LiteralBoolean DefaultValue_BasicTypes_assert_A_ObjectFlow46_LiteralBoolean47 = new(); + public LiteralInteger DefaultValue_BasicTypes_assert_A_ObjectFlow46_LiteralInteger48 = new(); + public ObjectFlow DefaultValue_BasicTypes_assert_A_ObjectFlow49 = new(); + public LiteralBoolean DefaultValue_BasicTypes_assert_A_ObjectFlow49_LiteralBoolean50 = new(); + public LiteralInteger DefaultValue_BasicTypes_assert_A_ObjectFlow49_LiteralInteger51 = new(); + public ForkNode DefaultValue_BasicTypes_assert_A_Fork_a = new(); + public ReadStructuralFeatureAction DefaultValue_BasicTypes_assert_A_Read_a_pEnum = new(); + public OutputPin DefaultValue_BasicTypes_assert_A_Read_a_pEnum_result = new(); + public LiteralInteger DefaultValue_BasicTypes_assert_A_Read_a_pEnum_result_LiteralInteger52 = new(); + public LiteralUnlimitedNatural DefaultValue_BasicTypes_assert_A_Read_a_pEnum_result_LiteralUnlimitedNatural53 = new(); + public InputPin DefaultValue_BasicTypes_assert_A_Read_a_pEnum_object = new(); + public LiteralUnlimitedNatural DefaultValue_BasicTypes_assert_A_Read_a_pEnum_object_LiteralUnlimitedNatural54 = new(); + public LiteralInteger DefaultValue_BasicTypes_assert_A_Read_a_pEnum_object_LiteralInteger55 = new(); + public ObjectFlow DefaultValue_BasicTypes_assert_A_ObjectFlow56 = new(); + public LiteralInteger DefaultValue_BasicTypes_assert_A_ObjectFlow56_LiteralInteger57 = new(); + public LiteralBoolean DefaultValue_BasicTypes_assert_A_ObjectFlow56_LiteralBoolean58 = new(); + public ReadStructuralFeatureAction DefaultValue_BasicTypes_assert_A_Read_a_pReal = new(); + public OutputPin DefaultValue_BasicTypes_assert_A_Read_a_pReal_result = new(); + public LiteralInteger DefaultValue_BasicTypes_assert_A_Read_a_pReal_result_LiteralInteger59 = new(); + public LiteralUnlimitedNatural DefaultValue_BasicTypes_assert_A_Read_a_pReal_result_LiteralUnlimitedNatural60 = new(); + public InputPin DefaultValue_BasicTypes_assert_A_Read_a_pReal_object = new(); + public LiteralInteger DefaultValue_BasicTypes_assert_A_Read_a_pReal_object_LiteralInteger61 = new(); + public LiteralUnlimitedNatural DefaultValue_BasicTypes_assert_A_Read_a_pReal_object_LiteralUnlimitedNatural62 = new(); + public ObjectFlow DefaultValue_BasicTypes_assert_A_ObjectFlow63 = new(); + public LiteralBoolean DefaultValue_BasicTypes_assert_A_ObjectFlow63_LiteralBoolean64 = new(); + public LiteralInteger DefaultValue_BasicTypes_assert_A_ObjectFlow63_LiteralInteger65 = new(); + public ObjectFlow DefaultValue_BasicTypes_assert_A_ObjectFlow66 = new(); + public LiteralBoolean DefaultValue_BasicTypes_assert_A_ObjectFlow66_LiteralBoolean67 = new(); + public LiteralInteger DefaultValue_BasicTypes_assert_A_ObjectFlow66_LiteralInteger68 = new(); + public ReadStructuralFeatureAction DefaultValue_BasicTypes_assert_A_Read_a_pInteger = new(); + public OutputPin DefaultValue_BasicTypes_assert_A_Read_a_pInteger_result = new(); + public LiteralInteger DefaultValue_BasicTypes_assert_A_Read_a_pInteger_result_LiteralInteger69 = new(); + public LiteralUnlimitedNatural DefaultValue_BasicTypes_assert_A_Read_a_pInteger_result_LiteralUnlimitedNatural70 = new(); + public InputPin DefaultValue_BasicTypes_assert_A_Read_a_pInteger_object = new(); + public LiteralInteger DefaultValue_BasicTypes_assert_A_Read_a_pInteger_object_LiteralInteger71 = new(); + public LiteralUnlimitedNatural DefaultValue_BasicTypes_assert_A_Read_a_pInteger_object_LiteralUnlimitedNatural72 = new(); + public ObjectFlow DefaultValue_BasicTypes_assert_A_ObjectFlow73 = new(); + public LiteralInteger DefaultValue_BasicTypes_assert_A_ObjectFlow73_LiteralInteger74 = new(); + public LiteralBoolean DefaultValue_BasicTypes_assert_A_ObjectFlow73_LiteralBoolean75 = new(); + public OpaqueBehavior DefaultValue_BasicTypes_assert_A_testDefaultValues = new(); + public Parameter DefaultValue_BasicTypes_assert_A_testDefaultValues_pString = new(); + public Parameter DefaultValue_BasicTypes_assert_A_testDefaultValues_pUnlimitedNatural = new(); + public Parameter DefaultValue_BasicTypes_assert_A_testDefaultValues_pReal = new(); + public Parameter DefaultValue_BasicTypes_assert_A_testDefaultValues_pBoolean = new(); + public Parameter DefaultValue_BasicTypes_assert_A_testDefaultValues_pInteger = new(); + public Parameter DefaultValue_BasicTypes_assert_A_testDefaultValues_pEnum = new(); + public ReadStructuralFeatureAction DefaultValue_BasicTypes_assert_A_Read_a_pString = new(); + public InputPin DefaultValue_BasicTypes_assert_A_Read_a_pString_object = new(); + public LiteralInteger DefaultValue_BasicTypes_assert_A_Read_a_pString_object_LiteralInteger76 = new(); + public LiteralUnlimitedNatural DefaultValue_BasicTypes_assert_A_Read_a_pString_object_LiteralUnlimitedNatural77 = new(); + public OutputPin DefaultValue_BasicTypes_assert_A_Read_a_pString_result = new(); + public LiteralUnlimitedNatural DefaultValue_BasicTypes_assert_A_Read_a_pString_result_LiteralUnlimitedNatural78 = new(); + public LiteralInteger DefaultValue_BasicTypes_assert_A_Read_a_pString_result_LiteralInteger79 = new(); + public ActivityParameterNode DefaultValue_BasicTypes_assert_A_a_node = new(); + public LiteralInteger DefaultValue_BasicTypes_assert_A_a_node_LiteralInteger80 = new(); + public ReadStructuralFeatureAction DefaultValue_BasicTypes_assert_A_Read_a_pBoolean = new(); + public InputPin DefaultValue_BasicTypes_assert_A_Read_a_pBoolean_object = new(); + public LiteralUnlimitedNatural DefaultValue_BasicTypes_assert_A_Read_a_pBoolean_object_LiteralUnlimitedNatural81 = new(); + public LiteralInteger DefaultValue_BasicTypes_assert_A_Read_a_pBoolean_object_LiteralInteger82 = new(); + public OutputPin DefaultValue_BasicTypes_assert_A_Read_a_pBoolean_result = new(); + public LiteralInteger DefaultValue_BasicTypes_assert_A_Read_a_pBoolean_result_LiteralInteger83 = new(); + public LiteralUnlimitedNatural DefaultValue_BasicTypes_assert_A_Read_a_pBoolean_result_LiteralUnlimitedNatural84 = new(); + public ObjectFlow DefaultValue_BasicTypes_assert_A_ObjectFlow85 = new(); + public LiteralInteger DefaultValue_BasicTypes_assert_A_ObjectFlow85_LiteralInteger86 = new(); + public LiteralBoolean DefaultValue_BasicTypes_assert_A_ObjectFlow85_LiteralBoolean87 = new(); + public ObjectFlow DefaultValue_BasicTypes_assert_A_ObjectFlow88 = new(); + public LiteralBoolean DefaultValue_BasicTypes_assert_A_ObjectFlow88_LiteralBoolean89 = new(); + public LiteralInteger DefaultValue_BasicTypes_assert_A_ObjectFlow88_LiteralInteger90 = new(); + public Activity DefaultValue_BasicTypes_instantiate_A = new(); + public ActivityParameterNode DefaultValue_BasicTypes_instantiate_A_a_node = new(); + public LiteralInteger DefaultValue_BasicTypes_instantiate_A_a_node_LiteralInteger91 = new(); + public CallOperationAction DefaultValue_BasicTypes_instantiate_A_A_ = new(); + public InputPin DefaultValue_BasicTypes_instantiate_A_A__target = new(); + public LiteralInteger DefaultValue_BasicTypes_instantiate_A_A__target_LiteralInteger92 = new(); + public LiteralUnlimitedNatural DefaultValue_BasicTypes_instantiate_A_A__target_LiteralUnlimitedNatural93 = new(); + public OutputPin DefaultValue_BasicTypes_instantiate_A_A__result = new(); + public LiteralUnlimitedNatural DefaultValue_BasicTypes_instantiate_A_A__result_LiteralUnlimitedNatural94 = new(); + public LiteralInteger DefaultValue_BasicTypes_instantiate_A_A__result_LiteralInteger95 = new(); + public LiteralInteger DefaultValue_BasicTypes_instantiate_A_A__result_LiteralInteger96 = new(); + public CreateObjectAction DefaultValue_BasicTypes_instantiate_A_Create_A = new(); + public OutputPin DefaultValue_BasicTypes_instantiate_A_Create_A_result = new(); + public LiteralInteger DefaultValue_BasicTypes_instantiate_A_Create_A_result_LiteralInteger97 = new(); + public LiteralUnlimitedNatural DefaultValue_BasicTypes_instantiate_A_Create_A_result_LiteralUnlimitedNatural98 = new(); + public ObjectFlow DefaultValue_BasicTypes_instantiate_A_ObjectFlow99 = new(); + public LiteralInteger DefaultValue_BasicTypes_instantiate_A_ObjectFlow99_LiteralInteger100 = new(); + public LiteralBoolean DefaultValue_BasicTypes_instantiate_A_ObjectFlow99_LiteralBoolean101 = new(); + public Parameter DefaultValue_BasicTypes_instantiate_A_a = new(); + public ObjectFlow DefaultValue_BasicTypes_instantiate_A_ObjectFlow102 = new(); + public LiteralBoolean DefaultValue_BasicTypes_instantiate_A_ObjectFlow102_LiteralBoolean103 = new(); + public LiteralInteger DefaultValue_BasicTypes_instantiate_A_ObjectFlow102_LiteralInteger104 = new(); + + public static DefaultValue_BasicTypesModel Instance() + { + if (instance is null) + { + instance = new(); + instance.InitializeInMemoryModel(); + } + + return instance; + } + + public DefaultValue_BasicTypesModel() + { + /* Start of user code : Additional model initializations + * This section may be used to do any additional model initialization, + * for example initializing user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } + + private void InitializeInMemoryModel() + { + // Create public members + /* + * Model DefaultValue_BasicTypes + */ + AddToElementRepository("DefaultValue_BasicTypes", DefaultValue_BasicTypes); + AddToElementRepository("main", DefaultValue_BasicTypes_main); + AddToElementRepository("assert_A", DefaultValue_BasicTypes_main_assert_A); + AddToElementRepository("a", DefaultValue_BasicTypes_main_assert_A_a); + AddToElementRepository("LiteralInteger0", DefaultValue_BasicTypes_main_assert_A_a_LiteralInteger0); + AddToElementRepository("LiteralUnlimitedNatural1", DefaultValue_BasicTypes_main_assert_A_a_LiteralUnlimitedNatural1); + AddToElementRepository("LiteralInteger2", DefaultValue_BasicTypes_main_assert_A_a_LiteralInteger2); + AddToElementRepository("ObjectFlow3", DefaultValue_BasicTypes_main_ObjectFlow3); + AddToElementRepository("LiteralInteger4", DefaultValue_BasicTypes_main_ObjectFlow3_LiteralInteger4); + AddToElementRepository("LiteralBoolean5", DefaultValue_BasicTypes_main_ObjectFlow3_LiteralBoolean5); + AddToElementRepository("instantiate_A", DefaultValue_BasicTypes_main_instantiate_A); + AddToElementRepository("a", DefaultValue_BasicTypes_main_instantiate_A_a); + AddToElementRepository("LiteralInteger6", DefaultValue_BasicTypes_main_instantiate_A_a_LiteralInteger6); + AddToElementRepository("LiteralInteger7", DefaultValue_BasicTypes_main_instantiate_A_a_LiteralInteger7); + AddToElementRepository("LiteralUnlimitedNatural8", DefaultValue_BasicTypes_main_instantiate_A_a_LiteralUnlimitedNatural8); + AddToElementRepository("E", DefaultValue_BasicTypes_E); + AddToElementRepository("e1", DefaultValue_BasicTypes_E_e1); + AddToElementRepository("e2", DefaultValue_BasicTypes_E_e2); + AddToElementRepository("A", DefaultValue_BasicTypes_A); + AddToElementRepository("pInteger", DefaultValue_BasicTypes_A_pInteger); + AddToElementRepository("LiteralInteger9", DefaultValue_BasicTypes_A_pInteger_LiteralInteger9); + AddToElementRepository("pReal", DefaultValue_BasicTypes_A_pReal); + AddToElementRepository("LiteralReal10", DefaultValue_BasicTypes_A_pReal_LiteralReal10); + AddToElementRepository("pEnum", DefaultValue_BasicTypes_A_pEnum); + AddToElementRepository("InstanceValue11", DefaultValue_BasicTypes_A_pEnum_InstanceValue11); + AddToElementRepository("pString", DefaultValue_BasicTypes_A_pString); + AddToElementRepository("LiteralString12", DefaultValue_BasicTypes_A_pString_LiteralString12); + AddToElementRepository("pUnlimitedNatural", DefaultValue_BasicTypes_A_pUnlimitedNatural); + AddToElementRepository("LiteralUnlimitedNatural13", DefaultValue_BasicTypes_A_pUnlimitedNatural_LiteralUnlimitedNatural13); + AddToElementRepository("A_A", DefaultValue_BasicTypes_A_A_A); + AddToElementRepository("result", DefaultValue_BasicTypes_A_A_A_result); + AddToElementRepository("pBoolean", DefaultValue_BasicTypes_A_pBoolean); + AddToElementRepository("LiteralBoolean14", DefaultValue_BasicTypes_A_pBoolean_LiteralBoolean14); + AddToElementRepository("assert_A", DefaultValue_BasicTypes_assert_A); + AddToElementRepository("ObjectFlow15", DefaultValue_BasicTypes_assert_A_ObjectFlow15); + AddToElementRepository("LiteralInteger16", DefaultValue_BasicTypes_assert_A_ObjectFlow15_LiteralInteger16); + AddToElementRepository("LiteralBoolean17", DefaultValue_BasicTypes_assert_A_ObjectFlow15_LiteralBoolean17); + AddToElementRepository("Test Default Values", DefaultValue_BasicTypes_assert_A_Test_Default_Values); + AddToElementRepository("pInteger", DefaultValue_BasicTypes_assert_A_Test_Default_Values_pInteger); + AddToElementRepository("LiteralUnlimitedNatural18", DefaultValue_BasicTypes_assert_A_Test_Default_Values_pInteger_LiteralUnlimitedNatural18); + AddToElementRepository("LiteralInteger19", DefaultValue_BasicTypes_assert_A_Test_Default_Values_pInteger_LiteralInteger19); + AddToElementRepository("pBoolean", DefaultValue_BasicTypes_assert_A_Test_Default_Values_pBoolean); + AddToElementRepository("LiteralUnlimitedNatural20", DefaultValue_BasicTypes_assert_A_Test_Default_Values_pBoolean_LiteralUnlimitedNatural20); + AddToElementRepository("LiteralInteger21", DefaultValue_BasicTypes_assert_A_Test_Default_Values_pBoolean_LiteralInteger21); + AddToElementRepository("pReal", DefaultValue_BasicTypes_assert_A_Test_Default_Values_pReal); + AddToElementRepository("LiteralInteger22", DefaultValue_BasicTypes_assert_A_Test_Default_Values_pReal_LiteralInteger22); + AddToElementRepository("LiteralUnlimitedNatural23", DefaultValue_BasicTypes_assert_A_Test_Default_Values_pReal_LiteralUnlimitedNatural23); + AddToElementRepository("pUnlimitedNatural", DefaultValue_BasicTypes_assert_A_Test_Default_Values_pUnlimitedNatural); + AddToElementRepository("LiteralInteger24", DefaultValue_BasicTypes_assert_A_Test_Default_Values_pUnlimitedNatural_LiteralInteger24); + AddToElementRepository("LiteralUnlimitedNatural25", DefaultValue_BasicTypes_assert_A_Test_Default_Values_pUnlimitedNatural_LiteralUnlimitedNatural25); + AddToElementRepository("pEnum", DefaultValue_BasicTypes_assert_A_Test_Default_Values_pEnum); + AddToElementRepository("LiteralInteger26", DefaultValue_BasicTypes_assert_A_Test_Default_Values_pEnum_LiteralInteger26); + AddToElementRepository("LiteralUnlimitedNatural27", DefaultValue_BasicTypes_assert_A_Test_Default_Values_pEnum_LiteralUnlimitedNatural27); + AddToElementRepository("pString", DefaultValue_BasicTypes_assert_A_Test_Default_Values_pString); + AddToElementRepository("LiteralUnlimitedNatural28", DefaultValue_BasicTypes_assert_A_Test_Default_Values_pString_LiteralUnlimitedNatural28); + AddToElementRepository("LiteralInteger29", DefaultValue_BasicTypes_assert_A_Test_Default_Values_pString_LiteralInteger29); + AddToElementRepository("ObjectFlow30", DefaultValue_BasicTypes_assert_A_ObjectFlow30); + AddToElementRepository("LiteralInteger31", DefaultValue_BasicTypes_assert_A_ObjectFlow30_LiteralInteger31); + AddToElementRepository("LiteralBoolean32", DefaultValue_BasicTypes_assert_A_ObjectFlow30_LiteralBoolean32); + AddToElementRepository("ObjectFlow33", DefaultValue_BasicTypes_assert_A_ObjectFlow33); + AddToElementRepository("LiteralInteger34", DefaultValue_BasicTypes_assert_A_ObjectFlow33_LiteralInteger34); + AddToElementRepository("LiteralBoolean35", DefaultValue_BasicTypes_assert_A_ObjectFlow33_LiteralBoolean35); + AddToElementRepository("ObjectFlow36", DefaultValue_BasicTypes_assert_A_ObjectFlow36); + AddToElementRepository("LiteralInteger37", DefaultValue_BasicTypes_assert_A_ObjectFlow36_LiteralInteger37); + AddToElementRepository("LiteralBoolean38", DefaultValue_BasicTypes_assert_A_ObjectFlow36_LiteralBoolean38); + AddToElementRepository("a", DefaultValue_BasicTypes_assert_A_a); + AddToElementRepository("Read a.pUnlimitedNatural", DefaultValue_BasicTypes_assert_A_Read_a_pUnlimitedNatural); + AddToElementRepository("result", DefaultValue_BasicTypes_assert_A_Read_a_pUnlimitedNatural_result); + AddToElementRepository("LiteralUnlimitedNatural39", DefaultValue_BasicTypes_assert_A_Read_a_pUnlimitedNatural_result_LiteralUnlimitedNatural39); + AddToElementRepository("LiteralInteger40", DefaultValue_BasicTypes_assert_A_Read_a_pUnlimitedNatural_result_LiteralInteger40); + AddToElementRepository("object", DefaultValue_BasicTypes_assert_A_Read_a_pUnlimitedNatural_object); + AddToElementRepository("LiteralInteger41", DefaultValue_BasicTypes_assert_A_Read_a_pUnlimitedNatural_object_LiteralInteger41); + AddToElementRepository("LiteralUnlimitedNatural42", DefaultValue_BasicTypes_assert_A_Read_a_pUnlimitedNatural_object_LiteralUnlimitedNatural42); + AddToElementRepository("ObjectFlow43", DefaultValue_BasicTypes_assert_A_ObjectFlow43); + AddToElementRepository("LiteralBoolean44", DefaultValue_BasicTypes_assert_A_ObjectFlow43_LiteralBoolean44); + AddToElementRepository("LiteralInteger45", DefaultValue_BasicTypes_assert_A_ObjectFlow43_LiteralInteger45); + AddToElementRepository("ObjectFlow46", DefaultValue_BasicTypes_assert_A_ObjectFlow46); + AddToElementRepository("LiteralBoolean47", DefaultValue_BasicTypes_assert_A_ObjectFlow46_LiteralBoolean47); + AddToElementRepository("LiteralInteger48", DefaultValue_BasicTypes_assert_A_ObjectFlow46_LiteralInteger48); + AddToElementRepository("ObjectFlow49", DefaultValue_BasicTypes_assert_A_ObjectFlow49); + AddToElementRepository("LiteralBoolean50", DefaultValue_BasicTypes_assert_A_ObjectFlow49_LiteralBoolean50); + AddToElementRepository("LiteralInteger51", DefaultValue_BasicTypes_assert_A_ObjectFlow49_LiteralInteger51); + AddToElementRepository("Fork_a", DefaultValue_BasicTypes_assert_A_Fork_a); + AddToElementRepository("Read a.pEnum", DefaultValue_BasicTypes_assert_A_Read_a_pEnum); + AddToElementRepository("result", DefaultValue_BasicTypes_assert_A_Read_a_pEnum_result); + AddToElementRepository("LiteralInteger52", DefaultValue_BasicTypes_assert_A_Read_a_pEnum_result_LiteralInteger52); + AddToElementRepository("LiteralUnlimitedNatural53", DefaultValue_BasicTypes_assert_A_Read_a_pEnum_result_LiteralUnlimitedNatural53); + AddToElementRepository("object", DefaultValue_BasicTypes_assert_A_Read_a_pEnum_object); + AddToElementRepository("LiteralUnlimitedNatural54", DefaultValue_BasicTypes_assert_A_Read_a_pEnum_object_LiteralUnlimitedNatural54); + AddToElementRepository("LiteralInteger55", DefaultValue_BasicTypes_assert_A_Read_a_pEnum_object_LiteralInteger55); + AddToElementRepository("ObjectFlow56", DefaultValue_BasicTypes_assert_A_ObjectFlow56); + AddToElementRepository("LiteralInteger57", DefaultValue_BasicTypes_assert_A_ObjectFlow56_LiteralInteger57); + AddToElementRepository("LiteralBoolean58", DefaultValue_BasicTypes_assert_A_ObjectFlow56_LiteralBoolean58); + AddToElementRepository("Read a.pReal", DefaultValue_BasicTypes_assert_A_Read_a_pReal); + AddToElementRepository("result", DefaultValue_BasicTypes_assert_A_Read_a_pReal_result); + AddToElementRepository("LiteralInteger59", DefaultValue_BasicTypes_assert_A_Read_a_pReal_result_LiteralInteger59); + AddToElementRepository("LiteralUnlimitedNatural60", DefaultValue_BasicTypes_assert_A_Read_a_pReal_result_LiteralUnlimitedNatural60); + AddToElementRepository("object", DefaultValue_BasicTypes_assert_A_Read_a_pReal_object); + AddToElementRepository("LiteralInteger61", DefaultValue_BasicTypes_assert_A_Read_a_pReal_object_LiteralInteger61); + AddToElementRepository("LiteralUnlimitedNatural62", DefaultValue_BasicTypes_assert_A_Read_a_pReal_object_LiteralUnlimitedNatural62); + AddToElementRepository("ObjectFlow63", DefaultValue_BasicTypes_assert_A_ObjectFlow63); + AddToElementRepository("LiteralBoolean64", DefaultValue_BasicTypes_assert_A_ObjectFlow63_LiteralBoolean64); + AddToElementRepository("LiteralInteger65", DefaultValue_BasicTypes_assert_A_ObjectFlow63_LiteralInteger65); + AddToElementRepository("ObjectFlow66", DefaultValue_BasicTypes_assert_A_ObjectFlow66); + AddToElementRepository("LiteralBoolean67", DefaultValue_BasicTypes_assert_A_ObjectFlow66_LiteralBoolean67); + AddToElementRepository("LiteralInteger68", DefaultValue_BasicTypes_assert_A_ObjectFlow66_LiteralInteger68); + AddToElementRepository("Read a.pInteger", DefaultValue_BasicTypes_assert_A_Read_a_pInteger); + AddToElementRepository("result", DefaultValue_BasicTypes_assert_A_Read_a_pInteger_result); + AddToElementRepository("LiteralInteger69", DefaultValue_BasicTypes_assert_A_Read_a_pInteger_result_LiteralInteger69); + AddToElementRepository("LiteralUnlimitedNatural70", DefaultValue_BasicTypes_assert_A_Read_a_pInteger_result_LiteralUnlimitedNatural70); + AddToElementRepository("object", DefaultValue_BasicTypes_assert_A_Read_a_pInteger_object); + AddToElementRepository("LiteralInteger71", DefaultValue_BasicTypes_assert_A_Read_a_pInteger_object_LiteralInteger71); + AddToElementRepository("LiteralUnlimitedNatural72", DefaultValue_BasicTypes_assert_A_Read_a_pInteger_object_LiteralUnlimitedNatural72); + AddToElementRepository("ObjectFlow73", DefaultValue_BasicTypes_assert_A_ObjectFlow73); + AddToElementRepository("LiteralInteger74", DefaultValue_BasicTypes_assert_A_ObjectFlow73_LiteralInteger74); + AddToElementRepository("LiteralBoolean75", DefaultValue_BasicTypes_assert_A_ObjectFlow73_LiteralBoolean75); + AddToElementRepository("testDefaultValues", DefaultValue_BasicTypes_assert_A_testDefaultValues); + AddToElementRepository("pString", DefaultValue_BasicTypes_assert_A_testDefaultValues_pString); + AddToElementRepository("pUnlimitedNatural", DefaultValue_BasicTypes_assert_A_testDefaultValues_pUnlimitedNatural); + AddToElementRepository("pReal", DefaultValue_BasicTypes_assert_A_testDefaultValues_pReal); + AddToElementRepository("pBoolean", DefaultValue_BasicTypes_assert_A_testDefaultValues_pBoolean); + AddToElementRepository("pInteger", DefaultValue_BasicTypes_assert_A_testDefaultValues_pInteger); + AddToElementRepository("pEnum", DefaultValue_BasicTypes_assert_A_testDefaultValues_pEnum); + AddToElementRepository("Read a.pString", DefaultValue_BasicTypes_assert_A_Read_a_pString); + AddToElementRepository("object", DefaultValue_BasicTypes_assert_A_Read_a_pString_object); + AddToElementRepository("LiteralInteger76", DefaultValue_BasicTypes_assert_A_Read_a_pString_object_LiteralInteger76); + AddToElementRepository("LiteralUnlimitedNatural77", DefaultValue_BasicTypes_assert_A_Read_a_pString_object_LiteralUnlimitedNatural77); + AddToElementRepository("result", DefaultValue_BasicTypes_assert_A_Read_a_pString_result); + AddToElementRepository("LiteralUnlimitedNatural78", DefaultValue_BasicTypes_assert_A_Read_a_pString_result_LiteralUnlimitedNatural78); + AddToElementRepository("LiteralInteger79", DefaultValue_BasicTypes_assert_A_Read_a_pString_result_LiteralInteger79); + AddToElementRepository("a_node", DefaultValue_BasicTypes_assert_A_a_node); + AddToElementRepository("LiteralInteger80", DefaultValue_BasicTypes_assert_A_a_node_LiteralInteger80); + AddToElementRepository("Read a.pBoolean", DefaultValue_BasicTypes_assert_A_Read_a_pBoolean); + AddToElementRepository("object", DefaultValue_BasicTypes_assert_A_Read_a_pBoolean_object); + AddToElementRepository("LiteralUnlimitedNatural81", DefaultValue_BasicTypes_assert_A_Read_a_pBoolean_object_LiteralUnlimitedNatural81); + AddToElementRepository("LiteralInteger82", DefaultValue_BasicTypes_assert_A_Read_a_pBoolean_object_LiteralInteger82); + AddToElementRepository("result", DefaultValue_BasicTypes_assert_A_Read_a_pBoolean_result); + AddToElementRepository("LiteralInteger83", DefaultValue_BasicTypes_assert_A_Read_a_pBoolean_result_LiteralInteger83); + AddToElementRepository("LiteralUnlimitedNatural84", DefaultValue_BasicTypes_assert_A_Read_a_pBoolean_result_LiteralUnlimitedNatural84); + AddToElementRepository("ObjectFlow85", DefaultValue_BasicTypes_assert_A_ObjectFlow85); + AddToElementRepository("LiteralInteger86", DefaultValue_BasicTypes_assert_A_ObjectFlow85_LiteralInteger86); + AddToElementRepository("LiteralBoolean87", DefaultValue_BasicTypes_assert_A_ObjectFlow85_LiteralBoolean87); + AddToElementRepository("ObjectFlow88", DefaultValue_BasicTypes_assert_A_ObjectFlow88); + AddToElementRepository("LiteralBoolean89", DefaultValue_BasicTypes_assert_A_ObjectFlow88_LiteralBoolean89); + AddToElementRepository("LiteralInteger90", DefaultValue_BasicTypes_assert_A_ObjectFlow88_LiteralInteger90); + AddToElementRepository("instantiate_A", DefaultValue_BasicTypes_instantiate_A); + AddToElementRepository("a_node", DefaultValue_BasicTypes_instantiate_A_a_node); + AddToElementRepository("LiteralInteger91", DefaultValue_BasicTypes_instantiate_A_a_node_LiteralInteger91); + AddToElementRepository("A()", DefaultValue_BasicTypes_instantiate_A_A_); + AddToElementRepository("target", DefaultValue_BasicTypes_instantiate_A_A__target); + AddToElementRepository("LiteralInteger92", DefaultValue_BasicTypes_instantiate_A_A__target_LiteralInteger92); + AddToElementRepository("LiteralUnlimitedNatural93", DefaultValue_BasicTypes_instantiate_A_A__target_LiteralUnlimitedNatural93); + AddToElementRepository("result", DefaultValue_BasicTypes_instantiate_A_A__result); + AddToElementRepository("LiteralUnlimitedNatural94", DefaultValue_BasicTypes_instantiate_A_A__result_LiteralUnlimitedNatural94); + AddToElementRepository("LiteralInteger95", DefaultValue_BasicTypes_instantiate_A_A__result_LiteralInteger95); + AddToElementRepository("LiteralInteger96", DefaultValue_BasicTypes_instantiate_A_A__result_LiteralInteger96); + AddToElementRepository("Create_A", DefaultValue_BasicTypes_instantiate_A_Create_A); + AddToElementRepository("result", DefaultValue_BasicTypes_instantiate_A_Create_A_result); + AddToElementRepository("LiteralInteger97", DefaultValue_BasicTypes_instantiate_A_Create_A_result_LiteralInteger97); + AddToElementRepository("LiteralUnlimitedNatural98", DefaultValue_BasicTypes_instantiate_A_Create_A_result_LiteralUnlimitedNatural98); + AddToElementRepository("ObjectFlow99", DefaultValue_BasicTypes_instantiate_A_ObjectFlow99); + AddToElementRepository("LiteralInteger100", DefaultValue_BasicTypes_instantiate_A_ObjectFlow99_LiteralInteger100); + AddToElementRepository("LiteralBoolean101", DefaultValue_BasicTypes_instantiate_A_ObjectFlow99_LiteralBoolean101); + AddToElementRepository("a", DefaultValue_BasicTypes_instantiate_A_a); + AddToElementRepository("ObjectFlow102", DefaultValue_BasicTypes_instantiate_A_ObjectFlow102); + AddToElementRepository("LiteralBoolean103", DefaultValue_BasicTypes_instantiate_A_ObjectFlow102_LiteralBoolean103); + AddToElementRepository("LiteralInteger104", DefaultValue_BasicTypes_instantiate_A_ObjectFlow102_LiteralInteger104); + + // Initialize public members + /* + * Model DefaultValue_BasicTypes + */ + DefaultValue_BasicTypes.SetName("DefaultValue_BasicTypes"); + DefaultValue_BasicTypes.SetVisibility(VisibilityKind.public_); + // Activity main + DefaultValue_BasicTypes_main.SetName("main"); + DefaultValue_BasicTypes_main.SetVisibility(VisibilityKind.public_); + // CallBehaviorAction assert_A + DefaultValue_BasicTypes_main_assert_A.SetName("assert_A"); + DefaultValue_BasicTypes_main_assert_A.SetVisibility(VisibilityKind.public_); + DefaultValue_BasicTypes_main_assert_A.SetBehavior(DefaultValue_BasicTypes_assert_A); + // InputPin a + DefaultValue_BasicTypes_main_assert_A_a.SetName("a"); + DefaultValue_BasicTypes_main_assert_A_a.SetVisibility(VisibilityKind.public_); + DefaultValue_BasicTypes_main_assert_A.AddArgument(DefaultValue_BasicTypes_main_assert_A_a); + DefaultValue_BasicTypes_main.AddNode(DefaultValue_BasicTypes_main_assert_A); + // CallBehaviorAction instantiate_A + DefaultValue_BasicTypes_main_instantiate_A.SetName("instantiate_A"); + DefaultValue_BasicTypes_main_instantiate_A.SetVisibility(VisibilityKind.public_); + + // OutputPin a + DefaultValue_BasicTypes_main_instantiate_A_a.SetName("a"); + DefaultValue_BasicTypes_main_instantiate_A_a.SetVisibility(VisibilityKind.public_); + DefaultValue_BasicTypes_main_instantiate_A_a.SetType(DefaultValue_BasicTypes_A); + DefaultValue_BasicTypes_main_instantiate_A.AddResult(DefaultValue_BasicTypes_main_instantiate_A_a); + DefaultValue_BasicTypes_main_instantiate_A.SetBehavior(DefaultValue_BasicTypes_instantiate_A); + DefaultValue_BasicTypes_main.AddNode(DefaultValue_BasicTypes_main_instantiate_A); + // ObjectFlow ObjectFlow3 from a to a + DefaultValue_BasicTypes_main_ObjectFlow3.SetName("ObjectFlow3"); + DefaultValue_BasicTypes_main_ObjectFlow3.SetVisibility(VisibilityKind.public_); + + DefaultValue_BasicTypes_main_ObjectFlow3.SetSource(DefaultValue_BasicTypes_main_instantiate_A_a); + DefaultValue_BasicTypes_main_ObjectFlow3.SetTarget(DefaultValue_BasicTypes_main_assert_A_a); + // LiteralBoolean LiteralBoolean5 + DefaultValue_BasicTypes_main_ObjectFlow3_LiteralBoolean5.SetName("LiteralBoolean5"); + DefaultValue_BasicTypes_main_ObjectFlow3_LiteralBoolean5.SetVisibility(VisibilityKind.public_); + DefaultValue_BasicTypes_main_ObjectFlow3_LiteralBoolean5.SetValue(true); + DefaultValue_BasicTypes_main_ObjectFlow3.SetGuard(DefaultValue_BasicTypes_main_ObjectFlow3_LiteralBoolean5); + DefaultValue_BasicTypes_main.AddEdge(DefaultValue_BasicTypes_main_ObjectFlow3); + DefaultValue_BasicTypes.AddPackagedElement(DefaultValue_BasicTypes_main); + // Enumeration E + DefaultValue_BasicTypes_E.SetName("E"); + DefaultValue_BasicTypes_E.SetVisibility(VisibilityKind.public_); + + // EnumerationLiteral e1 + DefaultValue_BasicTypes_E_e1.SetName("e1"); + DefaultValue_BasicTypes_E_e1.SetVisibility(VisibilityKind.public_); + DefaultValue_BasicTypes_E_e1.AddClassifier(DefaultValue_BasicTypes_E); + DefaultValue_BasicTypes_E.AddOwnedLiteral(DefaultValue_BasicTypes_E_e1); + // EnumerationLiteral e2 + DefaultValue_BasicTypes_E_e2.SetName("e2"); + DefaultValue_BasicTypes_E_e2.SetVisibility(VisibilityKind.public_); + DefaultValue_BasicTypes_E_e2.AddClassifier(DefaultValue_BasicTypes_E); + DefaultValue_BasicTypes_E.AddOwnedLiteral(DefaultValue_BasicTypes_E_e2); + DefaultValue_BasicTypes.AddPackagedElement(DefaultValue_BasicTypes_E); + // Class A + DefaultValue_BasicTypes_A.SetName("A"); + DefaultValue_BasicTypes_A.SetVisibility(VisibilityKind.public_); + + // Property pInteger + DefaultValue_BasicTypes_A_pInteger.SetName("pInteger"); + DefaultValue_BasicTypes_A_pInteger.SetVisibility(VisibilityKind.public_); + + DefaultValue_BasicTypes_A_pInteger.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + // LiteralInteger LiteralInteger9 + DefaultValue_BasicTypes_A_pInteger_LiteralInteger9.SetName("LiteralInteger9"); + DefaultValue_BasicTypes_A_pInteger_LiteralInteger9.SetVisibility(VisibilityKind.public_); + DefaultValue_BasicTypes_A_pInteger_LiteralInteger9.SetValue(4); + DefaultValue_BasicTypes_A_pInteger.SetDefaultValue(DefaultValue_BasicTypes_A_pInteger_LiteralInteger9); + DefaultValue_BasicTypes_A.AddOwnedAttribute(DefaultValue_BasicTypes_A_pInteger); + // Property pString + DefaultValue_BasicTypes_A_pString.SetName("pString"); + DefaultValue_BasicTypes_A_pString.SetVisibility(VisibilityKind.public_); + + DefaultValue_BasicTypes_A_pString.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_String); + // LiteralString LiteralString12 + DefaultValue_BasicTypes_A_pString_LiteralString12.SetName("LiteralString12"); + DefaultValue_BasicTypes_A_pString_LiteralString12.SetVisibility(VisibilityKind.public_); + DefaultValue_BasicTypes_A_pString_LiteralString12.SetValue("Hello"); + DefaultValue_BasicTypes_A_pString.SetDefaultValue(DefaultValue_BasicTypes_A_pString_LiteralString12); + DefaultValue_BasicTypes_A.AddOwnedAttribute(DefaultValue_BasicTypes_A_pString); + // Property pBoolean + DefaultValue_BasicTypes_A_pBoolean.SetName("pBoolean"); + DefaultValue_BasicTypes_A_pBoolean.SetVisibility(VisibilityKind.public_); + + DefaultValue_BasicTypes_A_pBoolean.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Boolean); + // LiteralBoolean LiteralBoolean14 + DefaultValue_BasicTypes_A_pBoolean_LiteralBoolean14.SetName("LiteralBoolean14"); + DefaultValue_BasicTypes_A_pBoolean_LiteralBoolean14.SetVisibility(VisibilityKind.public_); + DefaultValue_BasicTypes_A_pBoolean_LiteralBoolean14.SetValue(true); + DefaultValue_BasicTypes_A_pBoolean.SetDefaultValue(DefaultValue_BasicTypes_A_pBoolean_LiteralBoolean14); + DefaultValue_BasicTypes_A.AddOwnedAttribute(DefaultValue_BasicTypes_A_pBoolean); + // Property pUnlimitedNatural + DefaultValue_BasicTypes_A_pUnlimitedNatural.SetName("pUnlimitedNatural"); + DefaultValue_BasicTypes_A_pUnlimitedNatural.SetVisibility(VisibilityKind.public_); + + DefaultValue_BasicTypes_A_pUnlimitedNatural.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_UnlimitedNatural); + // LiteralUnlimitedNatural LiteralUnlimitedNatural13 + DefaultValue_BasicTypes_A_pUnlimitedNatural_LiteralUnlimitedNatural13.SetName("LiteralUnlimitedNatural13"); + DefaultValue_BasicTypes_A_pUnlimitedNatural_LiteralUnlimitedNatural13.SetVisibility(VisibilityKind.public_); + DefaultValue_BasicTypes_A_pUnlimitedNatural_LiteralUnlimitedNatural13.SetValue(-1); + DefaultValue_BasicTypes_A_pUnlimitedNatural.SetDefaultValue(DefaultValue_BasicTypes_A_pUnlimitedNatural_LiteralUnlimitedNatural13); + DefaultValue_BasicTypes_A.AddOwnedAttribute(DefaultValue_BasicTypes_A_pUnlimitedNatural); + // Property pReal + DefaultValue_BasicTypes_A_pReal.SetName("pReal"); + DefaultValue_BasicTypes_A_pReal.SetVisibility(VisibilityKind.public_); + + DefaultValue_BasicTypes_A_pReal.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Real); + // LiteralReal LiteralReal10 + DefaultValue_BasicTypes_A_pReal_LiteralReal10.SetName("LiteralReal10"); + DefaultValue_BasicTypes_A_pReal_LiteralReal10.SetVisibility(VisibilityKind.public_); + DefaultValue_BasicTypes_A_pReal_LiteralReal10.SetValue(4.0f); + DefaultValue_BasicTypes_A_pReal.SetDefaultValue(DefaultValue_BasicTypes_A_pReal_LiteralReal10); + DefaultValue_BasicTypes_A.AddOwnedAttribute(DefaultValue_BasicTypes_A_pReal); + // Property pEnum + DefaultValue_BasicTypes_A_pEnum.SetName("pEnum"); + DefaultValue_BasicTypes_A_pEnum.SetVisibility(VisibilityKind.public_); + + DefaultValue_BasicTypes_A_pEnum.SetType(DefaultValue_BasicTypes_E); + // InstanceValue InstanceValue11 + DefaultValue_BasicTypes_A_pEnum_InstanceValue11.SetName("InstanceValue11"); + DefaultValue_BasicTypes_A_pEnum_InstanceValue11.SetVisibility(VisibilityKind.public_); + DefaultValue_BasicTypes_A_pEnum_InstanceValue11.SetType(DefaultValue_BasicTypes_E); + DefaultValue_BasicTypes_A_pEnum_InstanceValue11.SetInstance(DefaultValue_BasicTypes_E_e2); + DefaultValue_BasicTypes_A_pEnum.SetDefaultValue(DefaultValue_BasicTypes_A_pEnum_InstanceValue11); + DefaultValue_BasicTypes_A.AddOwnedAttribute(DefaultValue_BasicTypes_A_pEnum); + + + // Operation A_A + DefaultValue_BasicTypes_A_A_A.SetName("A_A"); + DefaultValue_BasicTypes_A_A_A.SetVisibility(VisibilityKind.public_); + // Parameter result + DefaultValue_BasicTypes_A_A_A_result.SetName("result"); + DefaultValue_BasicTypes_A_A_A_result.SetVisibility(VisibilityKind.public_); + + DefaultValue_BasicTypes_A_A_A_result.SetType(DefaultValue_BasicTypes_A); + DefaultValue_BasicTypes_A_A_A_result.SetDirection(ParameterDirectionKind.return_); + DefaultValue_BasicTypes_A_A_A.AddOwnedParameter(DefaultValue_BasicTypes_A_A_A_result); + DefaultValue_BasicTypes_A_A_A.ApplyStereotype(uml.standardprofile.StandardProfileModel.Instance().Stereotype_Create); + DefaultValue_BasicTypes_A.AddOwnedOperation(DefaultValue_BasicTypes_A_A_A); + DefaultValue_BasicTypes.AddPackagedElement(DefaultValue_BasicTypes_A); + // Activity assert_A + DefaultValue_BasicTypes_assert_A.SetName("assert_A"); + DefaultValue_BasicTypes_assert_A.SetVisibility(VisibilityKind.public_); + // FunctionBehavior testDefaultValues + DefaultValue_BasicTypes_assert_A_testDefaultValues.SetName("testDefaultValues"); + DefaultValue_BasicTypes_assert_A_testDefaultValues.SetVisibility(VisibilityKind.public_); + + // Parameter pInteger + DefaultValue_BasicTypes_assert_A_testDefaultValues_pInteger.SetName("pInteger"); + DefaultValue_BasicTypes_assert_A_testDefaultValues_pInteger.SetVisibility(VisibilityKind.public_); + + DefaultValue_BasicTypes_assert_A_testDefaultValues_pInteger.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + DefaultValue_BasicTypes_assert_A_testDefaultValues.AddOwnedParameter(DefaultValue_BasicTypes_assert_A_testDefaultValues_pInteger); + // Parameter pString + DefaultValue_BasicTypes_assert_A_testDefaultValues_pString.SetName("pString"); + DefaultValue_BasicTypes_assert_A_testDefaultValues_pString.SetVisibility(VisibilityKind.public_); + + DefaultValue_BasicTypes_assert_A_testDefaultValues_pString.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_String); + DefaultValue_BasicTypes_assert_A_testDefaultValues.AddOwnedParameter(DefaultValue_BasicTypes_assert_A_testDefaultValues_pString); + // Parameter pBoolean + DefaultValue_BasicTypes_assert_A_testDefaultValues_pBoolean.SetName("pBoolean"); + DefaultValue_BasicTypes_assert_A_testDefaultValues_pBoolean.SetVisibility(VisibilityKind.public_); + + DefaultValue_BasicTypes_assert_A_testDefaultValues_pBoolean.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Boolean); + DefaultValue_BasicTypes_assert_A_testDefaultValues.AddOwnedParameter(DefaultValue_BasicTypes_assert_A_testDefaultValues_pBoolean); + // Parameter pUnlimitedNatural + DefaultValue_BasicTypes_assert_A_testDefaultValues_pUnlimitedNatural.SetName("pUnlimitedNatural"); + DefaultValue_BasicTypes_assert_A_testDefaultValues_pUnlimitedNatural.SetVisibility(VisibilityKind.public_); + + DefaultValue_BasicTypes_assert_A_testDefaultValues_pUnlimitedNatural.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_UnlimitedNatural); + DefaultValue_BasicTypes_assert_A_testDefaultValues.AddOwnedParameter(DefaultValue_BasicTypes_assert_A_testDefaultValues_pUnlimitedNatural); + // Parameter pReal + DefaultValue_BasicTypes_assert_A_testDefaultValues_pReal.SetName("pReal"); + DefaultValue_BasicTypes_assert_A_testDefaultValues_pReal.SetVisibility(VisibilityKind.public_); + + DefaultValue_BasicTypes_assert_A_testDefaultValues_pReal.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Real); + DefaultValue_BasicTypes_assert_A_testDefaultValues.AddOwnedParameter(DefaultValue_BasicTypes_assert_A_testDefaultValues_pReal); + // Parameter pEnum + DefaultValue_BasicTypes_assert_A_testDefaultValues_pEnum.SetName("pEnum"); + DefaultValue_BasicTypes_assert_A_testDefaultValues_pEnum.SetVisibility(VisibilityKind.public_); + + DefaultValue_BasicTypes_assert_A_testDefaultValues_pEnum.SetType(DefaultValue_BasicTypes_E); + DefaultValue_BasicTypes_assert_A_testDefaultValues.AddOwnedParameter(DefaultValue_BasicTypes_assert_A_testDefaultValues_pEnum); + DefaultValue_BasicTypes_assert_A_testDefaultValues.AddLanguage("C#"); + DefaultValue_BasicTypes_assert_A_testDefaultValues.AddLanguage("Using"); + DefaultValue_BasicTypes_assert_A_testDefaultValues.AddBody("Console.WriteLine(\"Asserting a.pInteger == 4\"); // Test parameter pInteger int pInteger = ((IntegerValue)inputParameters.ElementAt(0).values.ElementAt(0)).value; Debug.Println(\"[doBody] argument pInteger = \" + pInteger); Console.WriteLine(\"a.pInteger == \" + pInteger); if(pInteger == 4) { Console.ForegroundColor = ConsoleColor.Green; Console.WriteLine(\"Assertion successful.\"); } else { Console.ForegroundColor = ConsoleColor.Red; Console.WriteLine(\"Assertion failed!\"); } Console.ResetColor(); Console.WriteLine(\"Asserting a.pString == 'Hello'\"); // Test parameter pString string pString = ((StringValue)inputParameters.ElementAt(1).values.ElementAt(0)).value; Debug.Println(\"[doBody] argument \" + inputParameters.ElementAt(1).parameter!.name + \" = \" + pString); Console.WriteLine(\"a.pString == \" + pString); if(pString == \"Hello\") { Console.ForegroundColor = ConsoleColor.Green; Console.WriteLine(\"Assertion successful.\"); } else { Console.ForegroundColor = ConsoleColor.Red; Console.WriteLine(\"Assertion failed!\"); } Console.ResetColor(); Console.WriteLine(\"Asserting a.pBoolean == true\"); // Test parameter pBoolean bool pBoolean = ((BooleanValue)inputParameters.ElementAt(2).values.ElementAt(0)).value; Debug.Println(\"[doBody] argument \" + inputParameters.ElementAt(2).parameter!.name + \" = \" + pBoolean); Console.WriteLine(\"a.pBoolean == \" + pBoolean); if(pBoolean) { Console.ForegroundColor = ConsoleColor.Green; Console.WriteLine(\"Assertion successful.\"); } else { Console.ForegroundColor = ConsoleColor.Red; Console.WriteLine(\"Assertion failed!\"); } Console.ResetColor(); Console.WriteLine(\"Asserting a.pUnlimitedNatural == *\"); // Test parameter pUnlimitedNatural UnlimitedNatural pUnlimitedNatural = ((UnlimitedNaturalValue)inputParameters.ElementAt(3).values.ElementAt(0)).value; Debug.Println(\"[doBody] argument \" + inputParameters.ElementAt(3).parameter!.name + \" = \" + pUnlimitedNatural.ToString()); Console.WriteLine(\"a.pUnlimitedNatural == \" + pUnlimitedNatural.ToString()); if(pUnlimitedNatural.naturalValue == -1) { Console.ForegroundColor = ConsoleColor.Green; Console.WriteLine(\"Assertion successful.\"); } else { Console.ForegroundColor = ConsoleColor.Red; Console.WriteLine(\"Assertion failed!\"); } Console.ResetColor(); Console.WriteLine(\"Asserting a.pReal == 4.0\"); // Test parameter pReal float pReal = ((RealValue)inputParameters.ElementAt(4).values.ElementAt(0)).value; Debug.Println(\"[doBody] argument \" + inputParameters.ElementAt(4).parameter!.name + \" = \" + pReal); Console.WriteLine(\"a.pReal == \" + pReal.ToString()); if(pReal == 4.0) { Console.ForegroundColor = ConsoleColor.Green; Console.WriteLine(\"Assertion successful.\"); } else { Console.ForegroundColor = ConsoleColor.Red; Console.WriteLine(\"Assertion failed!\"); } Console.ResetColor(); Console.WriteLine(\"Asserting a.pEnum == E::e2\"); // Test parameter pEnum EnumerationLiteral pEnum = ((EnumerationValue)inputParameters.ElementAt(5).values.ElementAt(0)).literal!; Debug.Println(\"[doBody] argument \" + inputParameters.ElementAt(5).parameter!.name + \" = \" + pEnum.qualifiedName); Console.WriteLine(\"a.pEnum == \" + pEnum.qualifiedName); if(pEnum == DefaultValue_BasicTypesModel.Instance().DefaultValue_BasicTypes_E_e2) { Console.ForegroundColor = ConsoleColor.Green; Console.WriteLine(\"Assertion successful.\"); } else { Console.ForegroundColor = ConsoleColor.Red; Console.WriteLine(\"Assertion failed!\"); }"); + DefaultValue_BasicTypes_assert_A_testDefaultValues.AddBody("using fuml.semantics.simpleclassifiers; using uml.classification; using uml.simpleclassifiers; using UMLPrimitiveTypes;"); + DefaultValue_BasicTypes_assert_A.AddOwnedBehavior(DefaultValue_BasicTypes_assert_A_testDefaultValues); + // Parameter a + DefaultValue_BasicTypes_assert_A_a.SetName("a"); + DefaultValue_BasicTypes_assert_A_a.SetVisibility(VisibilityKind.public_); + DefaultValue_BasicTypes_assert_A.AddOwnedParameter(DefaultValue_BasicTypes_assert_A_a); + // CallBehaviorAction Test Default Values + DefaultValue_BasicTypes_assert_A_Test_Default_Values.SetName("Test Default Values"); + DefaultValue_BasicTypes_assert_A_Test_Default_Values.SetVisibility(VisibilityKind.public_); + DefaultValue_BasicTypes_assert_A_Test_Default_Values.SetBehavior(DefaultValue_BasicTypes_assert_A_testDefaultValues); + // InputPin pInteger + DefaultValue_BasicTypes_assert_A_Test_Default_Values_pInteger.SetName("pInteger"); + DefaultValue_BasicTypes_assert_A_Test_Default_Values_pInteger.SetVisibility(VisibilityKind.public_); + DefaultValue_BasicTypes_assert_A_Test_Default_Values_pInteger.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + DefaultValue_BasicTypes_assert_A_Test_Default_Values.AddArgument(DefaultValue_BasicTypes_assert_A_Test_Default_Values_pInteger); + // InputPin pString + DefaultValue_BasicTypes_assert_A_Test_Default_Values_pString.SetName("pString"); + DefaultValue_BasicTypes_assert_A_Test_Default_Values_pString.SetVisibility(VisibilityKind.public_); + DefaultValue_BasicTypes_assert_A_Test_Default_Values_pString.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_String); + DefaultValue_BasicTypes_assert_A_Test_Default_Values.AddArgument(DefaultValue_BasicTypes_assert_A_Test_Default_Values_pString); + // InputPin pBoolean + DefaultValue_BasicTypes_assert_A_Test_Default_Values_pBoolean.SetName("pBoolean"); + DefaultValue_BasicTypes_assert_A_Test_Default_Values_pBoolean.SetVisibility(VisibilityKind.public_); + DefaultValue_BasicTypes_assert_A_Test_Default_Values_pBoolean.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Boolean); + DefaultValue_BasicTypes_assert_A_Test_Default_Values.AddArgument(DefaultValue_BasicTypes_assert_A_Test_Default_Values_pBoolean); + // InputPin pUnlimitedNatural + DefaultValue_BasicTypes_assert_A_Test_Default_Values_pUnlimitedNatural.SetName("pUnlimitedNatural"); + DefaultValue_BasicTypes_assert_A_Test_Default_Values_pUnlimitedNatural.SetVisibility(VisibilityKind.public_); + DefaultValue_BasicTypes_assert_A_Test_Default_Values_pUnlimitedNatural.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_UnlimitedNatural); + DefaultValue_BasicTypes_assert_A_Test_Default_Values.AddArgument(DefaultValue_BasicTypes_assert_A_Test_Default_Values_pUnlimitedNatural); + // InputPin pReal + DefaultValue_BasicTypes_assert_A_Test_Default_Values_pReal.SetName("pReal"); + DefaultValue_BasicTypes_assert_A_Test_Default_Values_pReal.SetVisibility(VisibilityKind.public_); + DefaultValue_BasicTypes_assert_A_Test_Default_Values_pReal.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Real); + DefaultValue_BasicTypes_assert_A_Test_Default_Values.AddArgument(DefaultValue_BasicTypes_assert_A_Test_Default_Values_pReal); + // InputPin pEnum + DefaultValue_BasicTypes_assert_A_Test_Default_Values_pEnum.SetName("pEnum"); + DefaultValue_BasicTypes_assert_A_Test_Default_Values_pEnum.SetVisibility(VisibilityKind.public_); + DefaultValue_BasicTypes_assert_A_Test_Default_Values_pEnum.SetType(DefaultValue_BasicTypes_E); + DefaultValue_BasicTypes_assert_A_Test_Default_Values.AddArgument(DefaultValue_BasicTypes_assert_A_Test_Default_Values_pEnum); + DefaultValue_BasicTypes_assert_A.AddNode(DefaultValue_BasicTypes_assert_A_Test_Default_Values); + // ReadStructuralFeatureAction Read a.pInteger + DefaultValue_BasicTypes_assert_A_Read_a_pInteger.SetName("Read a.pInteger"); + DefaultValue_BasicTypes_assert_A_Read_a_pInteger.SetVisibility(VisibilityKind.public_); + DefaultValue_BasicTypes_assert_A_Read_a_pInteger.SetStructuralFeature(DefaultValue_BasicTypes_A_pInteger); + // InputPin object + DefaultValue_BasicTypes_assert_A_Read_a_pInteger_object.SetName("object"); + DefaultValue_BasicTypes_assert_A_Read_a_pInteger_object.SetVisibility(VisibilityKind.public_); + DefaultValue_BasicTypes_assert_A_Read_a_pInteger_object.SetType(DefaultValue_BasicTypes_A); + DefaultValue_BasicTypes_assert_A_Read_a_pInteger.SetObject(DefaultValue_BasicTypes_assert_A_Read_a_pInteger_object); + // OutputPin result + DefaultValue_BasicTypes_assert_A_Read_a_pInteger_result.SetName("result"); + DefaultValue_BasicTypes_assert_A_Read_a_pInteger_result.SetVisibility(VisibilityKind.public_); + DefaultValue_BasicTypes_assert_A_Read_a_pInteger_result.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + DefaultValue_BasicTypes_assert_A_Read_a_pInteger.SetResult(DefaultValue_BasicTypes_assert_A_Read_a_pInteger_result); + DefaultValue_BasicTypes_assert_A.AddNode(DefaultValue_BasicTypes_assert_A_Read_a_pInteger); + // ActivityParameterNode a_node + DefaultValue_BasicTypes_assert_A_a_node.SetName("a_node"); + DefaultValue_BasicTypes_assert_A_a_node.SetVisibility(VisibilityKind.public_); + + DefaultValue_BasicTypes_assert_A_a_node.SetParameter(DefaultValue_BasicTypes_assert_A_a); + DefaultValue_BasicTypes_assert_A.AddNode(DefaultValue_BasicTypes_assert_A_a_node); + // ReadStructuralFeatureAction Read a.pString + DefaultValue_BasicTypes_assert_A_Read_a_pString.SetName("Read a.pString"); + DefaultValue_BasicTypes_assert_A_Read_a_pString.SetVisibility(VisibilityKind.public_); + DefaultValue_BasicTypes_assert_A_Read_a_pString.SetStructuralFeature(DefaultValue_BasicTypes_A_pString); + // InputPin object + DefaultValue_BasicTypes_assert_A_Read_a_pString_object.SetName("object"); + DefaultValue_BasicTypes_assert_A_Read_a_pString_object.SetVisibility(VisibilityKind.public_); + DefaultValue_BasicTypes_assert_A_Read_a_pString_object.SetType(DefaultValue_BasicTypes_A); + DefaultValue_BasicTypes_assert_A_Read_a_pString.SetObject(DefaultValue_BasicTypes_assert_A_Read_a_pString_object); + // OutputPin result + DefaultValue_BasicTypes_assert_A_Read_a_pString_result.SetName("result"); + DefaultValue_BasicTypes_assert_A_Read_a_pString_result.SetVisibility(VisibilityKind.public_); + DefaultValue_BasicTypes_assert_A_Read_a_pString_result.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_String); + DefaultValue_BasicTypes_assert_A_Read_a_pString.SetResult(DefaultValue_BasicTypes_assert_A_Read_a_pString_result); + DefaultValue_BasicTypes_assert_A.AddNode(DefaultValue_BasicTypes_assert_A_Read_a_pString); + // ReadStructuralFeatureAction Read a.pUnlimitedNatural + DefaultValue_BasicTypes_assert_A_Read_a_pUnlimitedNatural.SetName("Read a.pUnlimitedNatural"); + DefaultValue_BasicTypes_assert_A_Read_a_pUnlimitedNatural.SetVisibility(VisibilityKind.public_); + DefaultValue_BasicTypes_assert_A_Read_a_pUnlimitedNatural.SetStructuralFeature(DefaultValue_BasicTypes_A_pUnlimitedNatural); + // InputPin object + DefaultValue_BasicTypes_assert_A_Read_a_pUnlimitedNatural_object.SetName("object"); + DefaultValue_BasicTypes_assert_A_Read_a_pUnlimitedNatural_object.SetVisibility(VisibilityKind.public_); + DefaultValue_BasicTypes_assert_A_Read_a_pUnlimitedNatural_object.SetType(DefaultValue_BasicTypes_A); + DefaultValue_BasicTypes_assert_A_Read_a_pUnlimitedNatural.SetObject(DefaultValue_BasicTypes_assert_A_Read_a_pUnlimitedNatural_object); + // OutputPin result + DefaultValue_BasicTypes_assert_A_Read_a_pUnlimitedNatural_result.SetName("result"); + DefaultValue_BasicTypes_assert_A_Read_a_pUnlimitedNatural_result.SetVisibility(VisibilityKind.public_); + DefaultValue_BasicTypes_assert_A_Read_a_pUnlimitedNatural_result.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_UnlimitedNatural); + DefaultValue_BasicTypes_assert_A_Read_a_pUnlimitedNatural.SetResult(DefaultValue_BasicTypes_assert_A_Read_a_pUnlimitedNatural_result); + DefaultValue_BasicTypes_assert_A.AddNode(DefaultValue_BasicTypes_assert_A_Read_a_pUnlimitedNatural); + // ReadStructuralFeatureAction Read a.pBoolean + DefaultValue_BasicTypes_assert_A_Read_a_pBoolean.SetName("Read a.pBoolean"); + DefaultValue_BasicTypes_assert_A_Read_a_pBoolean.SetVisibility(VisibilityKind.public_); + DefaultValue_BasicTypes_assert_A_Read_a_pBoolean.SetStructuralFeature(DefaultValue_BasicTypes_A_pBoolean); + // InputPin object + DefaultValue_BasicTypes_assert_A_Read_a_pBoolean_object.SetName("object"); + DefaultValue_BasicTypes_assert_A_Read_a_pBoolean_object.SetVisibility(VisibilityKind.public_); + DefaultValue_BasicTypes_assert_A_Read_a_pBoolean_object.SetType(DefaultValue_BasicTypes_A); + DefaultValue_BasicTypes_assert_A_Read_a_pBoolean.SetObject(DefaultValue_BasicTypes_assert_A_Read_a_pBoolean_object); + // OutputPin result + DefaultValue_BasicTypes_assert_A_Read_a_pBoolean_result.SetName("result"); + DefaultValue_BasicTypes_assert_A_Read_a_pBoolean_result.SetVisibility(VisibilityKind.public_); + DefaultValue_BasicTypes_assert_A_Read_a_pBoolean_result.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Boolean); + DefaultValue_BasicTypes_assert_A_Read_a_pBoolean.SetResult(DefaultValue_BasicTypes_assert_A_Read_a_pBoolean_result); + DefaultValue_BasicTypes_assert_A.AddNode(DefaultValue_BasicTypes_assert_A_Read_a_pBoolean); + // ForkNode Fork_a + DefaultValue_BasicTypes_assert_A_Fork_a.SetName("Fork_a"); + DefaultValue_BasicTypes_assert_A_Fork_a.SetVisibility(VisibilityKind.public_); + DefaultValue_BasicTypes_assert_A.AddNode(DefaultValue_BasicTypes_assert_A_Fork_a); + // ReadStructuralFeatureAction Read a.pReal + DefaultValue_BasicTypes_assert_A_Read_a_pReal.SetName("Read a.pReal"); + DefaultValue_BasicTypes_assert_A_Read_a_pReal.SetVisibility(VisibilityKind.public_); + DefaultValue_BasicTypes_assert_A_Read_a_pReal.SetStructuralFeature(DefaultValue_BasicTypes_A_pReal); + // InputPin object + DefaultValue_BasicTypes_assert_A_Read_a_pReal_object.SetName("object"); + DefaultValue_BasicTypes_assert_A_Read_a_pReal_object.SetVisibility(VisibilityKind.public_); + DefaultValue_BasicTypes_assert_A_Read_a_pReal_object.SetType(DefaultValue_BasicTypes_A); + DefaultValue_BasicTypes_assert_A_Read_a_pReal.SetObject(DefaultValue_BasicTypes_assert_A_Read_a_pReal_object); + // OutputPin result + DefaultValue_BasicTypes_assert_A_Read_a_pReal_result.SetName("result"); + DefaultValue_BasicTypes_assert_A_Read_a_pReal_result.SetVisibility(VisibilityKind.public_); + DefaultValue_BasicTypes_assert_A_Read_a_pReal_result.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Real); + DefaultValue_BasicTypes_assert_A_Read_a_pReal.SetResult(DefaultValue_BasicTypes_assert_A_Read_a_pReal_result); + DefaultValue_BasicTypes_assert_A.AddNode(DefaultValue_BasicTypes_assert_A_Read_a_pReal); + // ReadStructuralFeatureAction Read a.pEnum + DefaultValue_BasicTypes_assert_A_Read_a_pEnum.SetName("Read a.pEnum"); + DefaultValue_BasicTypes_assert_A_Read_a_pEnum.SetVisibility(VisibilityKind.public_); + DefaultValue_BasicTypes_assert_A_Read_a_pEnum.SetStructuralFeature(DefaultValue_BasicTypes_A_pEnum); + // InputPin object + DefaultValue_BasicTypes_assert_A_Read_a_pEnum_object.SetName("object"); + DefaultValue_BasicTypes_assert_A_Read_a_pEnum_object.SetVisibility(VisibilityKind.public_); + DefaultValue_BasicTypes_assert_A_Read_a_pEnum_object.SetType(DefaultValue_BasicTypes_A); + DefaultValue_BasicTypes_assert_A_Read_a_pEnum.SetObject(DefaultValue_BasicTypes_assert_A_Read_a_pEnum_object); + // OutputPin result + DefaultValue_BasicTypes_assert_A_Read_a_pEnum_result.SetName("result"); + DefaultValue_BasicTypes_assert_A_Read_a_pEnum_result.SetVisibility(VisibilityKind.public_); + DefaultValue_BasicTypes_assert_A_Read_a_pEnum_result.SetType(DefaultValue_BasicTypes_E); + DefaultValue_BasicTypes_assert_A_Read_a_pEnum.SetResult(DefaultValue_BasicTypes_assert_A_Read_a_pEnum_result); + DefaultValue_BasicTypes_assert_A.AddNode(DefaultValue_BasicTypes_assert_A_Read_a_pEnum); + // ObjectFlow ObjectFlow15 from result to pString + DefaultValue_BasicTypes_assert_A_ObjectFlow15.SetName("ObjectFlow15"); + DefaultValue_BasicTypes_assert_A_ObjectFlow15.SetVisibility(VisibilityKind.public_); + + DefaultValue_BasicTypes_assert_A_ObjectFlow15.SetSource(DefaultValue_BasicTypes_assert_A_Read_a_pString_result); + DefaultValue_BasicTypes_assert_A_ObjectFlow15.SetTarget(DefaultValue_BasicTypes_assert_A_Test_Default_Values_pString); + // LiteralBoolean LiteralBoolean17 + DefaultValue_BasicTypes_assert_A_ObjectFlow15_LiteralBoolean17.SetName("LiteralBoolean17"); + DefaultValue_BasicTypes_assert_A_ObjectFlow15_LiteralBoolean17.SetVisibility(VisibilityKind.public_); + DefaultValue_BasicTypes_assert_A_ObjectFlow15_LiteralBoolean17.SetValue(true); + DefaultValue_BasicTypes_assert_A_ObjectFlow15.SetGuard(DefaultValue_BasicTypes_assert_A_ObjectFlow15_LiteralBoolean17); + DefaultValue_BasicTypes_assert_A.AddEdge(DefaultValue_BasicTypes_assert_A_ObjectFlow15); + // ObjectFlow ObjectFlow30 from Fork_a to object + DefaultValue_BasicTypes_assert_A_ObjectFlow30.SetName("ObjectFlow30"); + DefaultValue_BasicTypes_assert_A_ObjectFlow30.SetVisibility(VisibilityKind.public_); + + DefaultValue_BasicTypes_assert_A_ObjectFlow30.SetSource(DefaultValue_BasicTypes_assert_A_Fork_a); + DefaultValue_BasicTypes_assert_A_ObjectFlow30.SetTarget(DefaultValue_BasicTypes_assert_A_Read_a_pReal_object); + // LiteralBoolean LiteralBoolean32 + DefaultValue_BasicTypes_assert_A_ObjectFlow30_LiteralBoolean32.SetName("LiteralBoolean32"); + DefaultValue_BasicTypes_assert_A_ObjectFlow30_LiteralBoolean32.SetVisibility(VisibilityKind.public_); + DefaultValue_BasicTypes_assert_A_ObjectFlow30_LiteralBoolean32.SetValue(true); + DefaultValue_BasicTypes_assert_A_ObjectFlow30.SetGuard(DefaultValue_BasicTypes_assert_A_ObjectFlow30_LiteralBoolean32); + DefaultValue_BasicTypes_assert_A.AddEdge(DefaultValue_BasicTypes_assert_A_ObjectFlow30); + // ObjectFlow ObjectFlow33 from result to pEnum + DefaultValue_BasicTypes_assert_A_ObjectFlow33.SetName("ObjectFlow33"); + DefaultValue_BasicTypes_assert_A_ObjectFlow33.SetVisibility(VisibilityKind.public_); + + DefaultValue_BasicTypes_assert_A_ObjectFlow33.SetSource(DefaultValue_BasicTypes_assert_A_Read_a_pEnum_result); + DefaultValue_BasicTypes_assert_A_ObjectFlow33.SetTarget(DefaultValue_BasicTypes_assert_A_Test_Default_Values_pEnum); + // LiteralBoolean LiteralBoolean35 + DefaultValue_BasicTypes_assert_A_ObjectFlow33_LiteralBoolean35.SetName("LiteralBoolean35"); + DefaultValue_BasicTypes_assert_A_ObjectFlow33_LiteralBoolean35.SetVisibility(VisibilityKind.public_); + DefaultValue_BasicTypes_assert_A_ObjectFlow33_LiteralBoolean35.SetValue(true); + DefaultValue_BasicTypes_assert_A_ObjectFlow33.SetGuard(DefaultValue_BasicTypes_assert_A_ObjectFlow33_LiteralBoolean35); + DefaultValue_BasicTypes_assert_A.AddEdge(DefaultValue_BasicTypes_assert_A_ObjectFlow33); + // ObjectFlow ObjectFlow36 from Fork_a to object + DefaultValue_BasicTypes_assert_A_ObjectFlow36.SetName("ObjectFlow36"); + DefaultValue_BasicTypes_assert_A_ObjectFlow36.SetVisibility(VisibilityKind.public_); + + DefaultValue_BasicTypes_assert_A_ObjectFlow36.SetSource(DefaultValue_BasicTypes_assert_A_Fork_a); + DefaultValue_BasicTypes_assert_A_ObjectFlow36.SetTarget(DefaultValue_BasicTypes_assert_A_Read_a_pBoolean_object); + // LiteralBoolean LiteralBoolean38 + DefaultValue_BasicTypes_assert_A_ObjectFlow36_LiteralBoolean38.SetName("LiteralBoolean38"); + DefaultValue_BasicTypes_assert_A_ObjectFlow36_LiteralBoolean38.SetVisibility(VisibilityKind.public_); + DefaultValue_BasicTypes_assert_A_ObjectFlow36_LiteralBoolean38.SetValue(true); + DefaultValue_BasicTypes_assert_A_ObjectFlow36.SetGuard(DefaultValue_BasicTypes_assert_A_ObjectFlow36_LiteralBoolean38); + DefaultValue_BasicTypes_assert_A.AddEdge(DefaultValue_BasicTypes_assert_A_ObjectFlow36); + // ObjectFlow ObjectFlow46 from Fork_a to object + DefaultValue_BasicTypes_assert_A_ObjectFlow46.SetName("ObjectFlow46"); + DefaultValue_BasicTypes_assert_A_ObjectFlow46.SetVisibility(VisibilityKind.public_); + + DefaultValue_BasicTypes_assert_A_ObjectFlow46.SetSource(DefaultValue_BasicTypes_assert_A_Fork_a); + DefaultValue_BasicTypes_assert_A_ObjectFlow46.SetTarget(DefaultValue_BasicTypes_assert_A_Read_a_pUnlimitedNatural_object); + // LiteralBoolean LiteralBoolean47 + DefaultValue_BasicTypes_assert_A_ObjectFlow46_LiteralBoolean47.SetName("LiteralBoolean47"); + DefaultValue_BasicTypes_assert_A_ObjectFlow46_LiteralBoolean47.SetVisibility(VisibilityKind.public_); + DefaultValue_BasicTypes_assert_A_ObjectFlow46_LiteralBoolean47.SetValue(true); + DefaultValue_BasicTypes_assert_A_ObjectFlow46.SetGuard(DefaultValue_BasicTypes_assert_A_ObjectFlow46_LiteralBoolean47); + DefaultValue_BasicTypes_assert_A.AddEdge(DefaultValue_BasicTypes_assert_A_ObjectFlow46); + // ObjectFlow ObjectFlow43 from result to pReal + DefaultValue_BasicTypes_assert_A_ObjectFlow43.SetName("ObjectFlow43"); + DefaultValue_BasicTypes_assert_A_ObjectFlow43.SetVisibility(VisibilityKind.public_); + + DefaultValue_BasicTypes_assert_A_ObjectFlow43.SetSource(DefaultValue_BasicTypes_assert_A_Read_a_pReal_result); + DefaultValue_BasicTypes_assert_A_ObjectFlow43.SetTarget(DefaultValue_BasicTypes_assert_A_Test_Default_Values_pReal); + // LiteralBoolean LiteralBoolean44 + DefaultValue_BasicTypes_assert_A_ObjectFlow43_LiteralBoolean44.SetName("LiteralBoolean44"); + DefaultValue_BasicTypes_assert_A_ObjectFlow43_LiteralBoolean44.SetVisibility(VisibilityKind.public_); + DefaultValue_BasicTypes_assert_A_ObjectFlow43_LiteralBoolean44.SetValue(true); + DefaultValue_BasicTypes_assert_A_ObjectFlow43.SetGuard(DefaultValue_BasicTypes_assert_A_ObjectFlow43_LiteralBoolean44); + DefaultValue_BasicTypes_assert_A.AddEdge(DefaultValue_BasicTypes_assert_A_ObjectFlow43); + // ObjectFlow ObjectFlow49 from a_node to Fork_a + DefaultValue_BasicTypes_assert_A_ObjectFlow49.SetName("ObjectFlow49"); + DefaultValue_BasicTypes_assert_A_ObjectFlow49.SetVisibility(VisibilityKind.public_); + + DefaultValue_BasicTypes_assert_A_ObjectFlow49.SetSource(DefaultValue_BasicTypes_assert_A_a_node); + DefaultValue_BasicTypes_assert_A_ObjectFlow49.SetTarget(DefaultValue_BasicTypes_assert_A_Fork_a); + // LiteralBoolean LiteralBoolean50 + DefaultValue_BasicTypes_assert_A_ObjectFlow49_LiteralBoolean50.SetName("LiteralBoolean50"); + DefaultValue_BasicTypes_assert_A_ObjectFlow49_LiteralBoolean50.SetVisibility(VisibilityKind.public_); + DefaultValue_BasicTypes_assert_A_ObjectFlow49_LiteralBoolean50.SetValue(true); + DefaultValue_BasicTypes_assert_A_ObjectFlow49.SetGuard(DefaultValue_BasicTypes_assert_A_ObjectFlow49_LiteralBoolean50); + DefaultValue_BasicTypes_assert_A.AddEdge(DefaultValue_BasicTypes_assert_A_ObjectFlow49); + // ObjectFlow ObjectFlow56 from Fork_a to object + DefaultValue_BasicTypes_assert_A_ObjectFlow56.SetName("ObjectFlow56"); + DefaultValue_BasicTypes_assert_A_ObjectFlow56.SetVisibility(VisibilityKind.public_); + + DefaultValue_BasicTypes_assert_A_ObjectFlow56.SetSource(DefaultValue_BasicTypes_assert_A_Fork_a); + DefaultValue_BasicTypes_assert_A_ObjectFlow56.SetTarget(DefaultValue_BasicTypes_assert_A_Read_a_pInteger_object); + // LiteralBoolean LiteralBoolean58 + DefaultValue_BasicTypes_assert_A_ObjectFlow56_LiteralBoolean58.SetName("LiteralBoolean58"); + DefaultValue_BasicTypes_assert_A_ObjectFlow56_LiteralBoolean58.SetVisibility(VisibilityKind.public_); + DefaultValue_BasicTypes_assert_A_ObjectFlow56_LiteralBoolean58.SetValue(true); + DefaultValue_BasicTypes_assert_A_ObjectFlow56.SetGuard(DefaultValue_BasicTypes_assert_A_ObjectFlow56_LiteralBoolean58); + DefaultValue_BasicTypes_assert_A.AddEdge(DefaultValue_BasicTypes_assert_A_ObjectFlow56); + // ObjectFlow ObjectFlow63 from result to pBoolean + DefaultValue_BasicTypes_assert_A_ObjectFlow63.SetName("ObjectFlow63"); + DefaultValue_BasicTypes_assert_A_ObjectFlow63.SetVisibility(VisibilityKind.public_); + + DefaultValue_BasicTypes_assert_A_ObjectFlow63.SetSource(DefaultValue_BasicTypes_assert_A_Read_a_pBoolean_result); + DefaultValue_BasicTypes_assert_A_ObjectFlow63.SetTarget(DefaultValue_BasicTypes_assert_A_Test_Default_Values_pBoolean); + // LiteralBoolean LiteralBoolean64 + DefaultValue_BasicTypes_assert_A_ObjectFlow63_LiteralBoolean64.SetName("LiteralBoolean64"); + DefaultValue_BasicTypes_assert_A_ObjectFlow63_LiteralBoolean64.SetVisibility(VisibilityKind.public_); + DefaultValue_BasicTypes_assert_A_ObjectFlow63_LiteralBoolean64.SetValue(true); + DefaultValue_BasicTypes_assert_A_ObjectFlow63.SetGuard(DefaultValue_BasicTypes_assert_A_ObjectFlow63_LiteralBoolean64); + DefaultValue_BasicTypes_assert_A.AddEdge(DefaultValue_BasicTypes_assert_A_ObjectFlow63); + // ObjectFlow ObjectFlow66 from result to pInteger + DefaultValue_BasicTypes_assert_A_ObjectFlow66.SetName("ObjectFlow66"); + DefaultValue_BasicTypes_assert_A_ObjectFlow66.SetVisibility(VisibilityKind.public_); + + DefaultValue_BasicTypes_assert_A_ObjectFlow66.SetSource(DefaultValue_BasicTypes_assert_A_Read_a_pInteger_result); + DefaultValue_BasicTypes_assert_A_ObjectFlow66.SetTarget(DefaultValue_BasicTypes_assert_A_Test_Default_Values_pInteger); + // LiteralBoolean LiteralBoolean67 + DefaultValue_BasicTypes_assert_A_ObjectFlow66_LiteralBoolean67.SetName("LiteralBoolean67"); + DefaultValue_BasicTypes_assert_A_ObjectFlow66_LiteralBoolean67.SetVisibility(VisibilityKind.public_); + DefaultValue_BasicTypes_assert_A_ObjectFlow66_LiteralBoolean67.SetValue(true); + DefaultValue_BasicTypes_assert_A_ObjectFlow66.SetGuard(DefaultValue_BasicTypes_assert_A_ObjectFlow66_LiteralBoolean67); + DefaultValue_BasicTypes_assert_A.AddEdge(DefaultValue_BasicTypes_assert_A_ObjectFlow66); + // ObjectFlow ObjectFlow73 from result to pUnlimitedNatural + DefaultValue_BasicTypes_assert_A_ObjectFlow73.SetName("ObjectFlow73"); + DefaultValue_BasicTypes_assert_A_ObjectFlow73.SetVisibility(VisibilityKind.public_); + + DefaultValue_BasicTypes_assert_A_ObjectFlow73.SetSource(DefaultValue_BasicTypes_assert_A_Read_a_pUnlimitedNatural_result); + DefaultValue_BasicTypes_assert_A_ObjectFlow73.SetTarget(DefaultValue_BasicTypes_assert_A_Test_Default_Values_pUnlimitedNatural); + // LiteralBoolean LiteralBoolean75 + DefaultValue_BasicTypes_assert_A_ObjectFlow73_LiteralBoolean75.SetName("LiteralBoolean75"); + DefaultValue_BasicTypes_assert_A_ObjectFlow73_LiteralBoolean75.SetVisibility(VisibilityKind.public_); + DefaultValue_BasicTypes_assert_A_ObjectFlow73_LiteralBoolean75.SetValue(true); + DefaultValue_BasicTypes_assert_A_ObjectFlow73.SetGuard(DefaultValue_BasicTypes_assert_A_ObjectFlow73_LiteralBoolean75); + DefaultValue_BasicTypes_assert_A.AddEdge(DefaultValue_BasicTypes_assert_A_ObjectFlow73); + // ObjectFlow ObjectFlow85 from Fork_a to object + DefaultValue_BasicTypes_assert_A_ObjectFlow85.SetName("ObjectFlow85"); + DefaultValue_BasicTypes_assert_A_ObjectFlow85.SetVisibility(VisibilityKind.public_); + + DefaultValue_BasicTypes_assert_A_ObjectFlow85.SetSource(DefaultValue_BasicTypes_assert_A_Fork_a); + DefaultValue_BasicTypes_assert_A_ObjectFlow85.SetTarget(DefaultValue_BasicTypes_assert_A_Read_a_pEnum_object); + // LiteralBoolean LiteralBoolean87 + DefaultValue_BasicTypes_assert_A_ObjectFlow85_LiteralBoolean87.SetName("LiteralBoolean87"); + DefaultValue_BasicTypes_assert_A_ObjectFlow85_LiteralBoolean87.SetVisibility(VisibilityKind.public_); + DefaultValue_BasicTypes_assert_A_ObjectFlow85_LiteralBoolean87.SetValue(true); + DefaultValue_BasicTypes_assert_A_ObjectFlow85.SetGuard(DefaultValue_BasicTypes_assert_A_ObjectFlow85_LiteralBoolean87); + DefaultValue_BasicTypes_assert_A.AddEdge(DefaultValue_BasicTypes_assert_A_ObjectFlow85); + // ObjectFlow ObjectFlow88 from Fork_a to object + DefaultValue_BasicTypes_assert_A_ObjectFlow88.SetName("ObjectFlow88"); + DefaultValue_BasicTypes_assert_A_ObjectFlow88.SetVisibility(VisibilityKind.public_); + + DefaultValue_BasicTypes_assert_A_ObjectFlow88.SetSource(DefaultValue_BasicTypes_assert_A_Fork_a); + DefaultValue_BasicTypes_assert_A_ObjectFlow88.SetTarget(DefaultValue_BasicTypes_assert_A_Read_a_pString_object); + // LiteralBoolean LiteralBoolean89 + DefaultValue_BasicTypes_assert_A_ObjectFlow88_LiteralBoolean89.SetName("LiteralBoolean89"); + DefaultValue_BasicTypes_assert_A_ObjectFlow88_LiteralBoolean89.SetVisibility(VisibilityKind.public_); + DefaultValue_BasicTypes_assert_A_ObjectFlow88_LiteralBoolean89.SetValue(true); + DefaultValue_BasicTypes_assert_A_ObjectFlow88.SetGuard(DefaultValue_BasicTypes_assert_A_ObjectFlow88_LiteralBoolean89); + DefaultValue_BasicTypes_assert_A.AddEdge(DefaultValue_BasicTypes_assert_A_ObjectFlow88); + DefaultValue_BasicTypes.AddPackagedElement(DefaultValue_BasicTypes_assert_A); + // Activity instantiate_A + DefaultValue_BasicTypes_instantiate_A.SetName("instantiate_A"); + DefaultValue_BasicTypes_instantiate_A.SetVisibility(VisibilityKind.public_); + + // Parameter a + DefaultValue_BasicTypes_instantiate_A_a.SetName("a"); + DefaultValue_BasicTypes_instantiate_A_a.SetVisibility(VisibilityKind.public_); + + DefaultValue_BasicTypes_instantiate_A_a.SetType(DefaultValue_BasicTypes_A); + DefaultValue_BasicTypes_instantiate_A_a.SetDirection(ParameterDirectionKind.return_); + DefaultValue_BasicTypes_instantiate_A.AddOwnedParameter(DefaultValue_BasicTypes_instantiate_A_a); + // ActivityParameterNode a_node + DefaultValue_BasicTypes_instantiate_A_a_node.SetName("a_node"); + DefaultValue_BasicTypes_instantiate_A_a_node.SetVisibility(VisibilityKind.public_); + + DefaultValue_BasicTypes_instantiate_A_a_node.SetParameter(DefaultValue_BasicTypes_instantiate_A_a); + DefaultValue_BasicTypes_instantiate_A.AddNode(DefaultValue_BasicTypes_instantiate_A_a_node); + // CallOperationAction A() + DefaultValue_BasicTypes_instantiate_A_A_.SetName("A()"); + DefaultValue_BasicTypes_instantiate_A_A_.SetVisibility(VisibilityKind.public_); + + // OutputPin result + DefaultValue_BasicTypes_instantiate_A_A__result.SetName("result"); + DefaultValue_BasicTypes_instantiate_A_A__result.SetVisibility(VisibilityKind.public_); + DefaultValue_BasicTypes_instantiate_A_A__result.SetType(DefaultValue_BasicTypes_A); + DefaultValue_BasicTypes_instantiate_A_A_.AddResult(DefaultValue_BasicTypes_instantiate_A_A__result); + DefaultValue_BasicTypes_instantiate_A_A_.SetOperation(DefaultValue_BasicTypes_A_A_A); + // InputPin target + DefaultValue_BasicTypes_instantiate_A_A__target.SetName("target"); + DefaultValue_BasicTypes_instantiate_A_A__target.SetVisibility(VisibilityKind.public_); + DefaultValue_BasicTypes_instantiate_A_A__target.SetType(DefaultValue_BasicTypes_A); + DefaultValue_BasicTypes_instantiate_A_A_.SetTarget(DefaultValue_BasicTypes_instantiate_A_A__target); + DefaultValue_BasicTypes_instantiate_A.AddNode(DefaultValue_BasicTypes_instantiate_A_A_); + // CreateObjectAction Create_A + DefaultValue_BasicTypes_instantiate_A_Create_A.SetName("Create_A"); + DefaultValue_BasicTypes_instantiate_A_Create_A.SetVisibility(VisibilityKind.public_); + DefaultValue_BasicTypes_instantiate_A_Create_A.SetClassifier(DefaultValue_BasicTypes_A); + // OutputPin result + DefaultValue_BasicTypes_instantiate_A_Create_A_result.SetName("result"); + DefaultValue_BasicTypes_instantiate_A_Create_A_result.SetVisibility(VisibilityKind.public_); + DefaultValue_BasicTypes_instantiate_A_Create_A_result.SetType(DefaultValue_BasicTypes_A); + DefaultValue_BasicTypes_instantiate_A_Create_A.SetResult(DefaultValue_BasicTypes_instantiate_A_Create_A_result); + DefaultValue_BasicTypes_instantiate_A.AddNode(DefaultValue_BasicTypes_instantiate_A_Create_A); + // ObjectFlow ObjectFlow99 from result to a_node + DefaultValue_BasicTypes_instantiate_A_ObjectFlow99.SetName("ObjectFlow99"); + DefaultValue_BasicTypes_instantiate_A_ObjectFlow99.SetVisibility(VisibilityKind.public_); + + DefaultValue_BasicTypes_instantiate_A_ObjectFlow99.SetSource(DefaultValue_BasicTypes_instantiate_A_A__result); + DefaultValue_BasicTypes_instantiate_A_ObjectFlow99.SetTarget(DefaultValue_BasicTypes_instantiate_A_a_node); + // LiteralBoolean LiteralBoolean101 + DefaultValue_BasicTypes_instantiate_A_ObjectFlow99_LiteralBoolean101.SetName("LiteralBoolean101"); + DefaultValue_BasicTypes_instantiate_A_ObjectFlow99_LiteralBoolean101.SetVisibility(VisibilityKind.public_); + DefaultValue_BasicTypes_instantiate_A_ObjectFlow99_LiteralBoolean101.SetValue(true); + DefaultValue_BasicTypes_instantiate_A_ObjectFlow99.SetGuard(DefaultValue_BasicTypes_instantiate_A_ObjectFlow99_LiteralBoolean101); + DefaultValue_BasicTypes_instantiate_A.AddEdge(DefaultValue_BasicTypes_instantiate_A_ObjectFlow99); + // ObjectFlow ObjectFlow102 from result to target + DefaultValue_BasicTypes_instantiate_A_ObjectFlow102.SetName("ObjectFlow102"); + DefaultValue_BasicTypes_instantiate_A_ObjectFlow102.SetVisibility(VisibilityKind.public_); + + DefaultValue_BasicTypes_instantiate_A_ObjectFlow102.SetSource(DefaultValue_BasicTypes_instantiate_A_Create_A_result); + DefaultValue_BasicTypes_instantiate_A_ObjectFlow102.SetTarget(DefaultValue_BasicTypes_instantiate_A_A__target); + // LiteralBoolean LiteralBoolean103 + DefaultValue_BasicTypes_instantiate_A_ObjectFlow102_LiteralBoolean103.SetName("LiteralBoolean103"); + DefaultValue_BasicTypes_instantiate_A_ObjectFlow102_LiteralBoolean103.SetVisibility(VisibilityKind.public_); + DefaultValue_BasicTypes_instantiate_A_ObjectFlow102_LiteralBoolean103.SetValue(true); + DefaultValue_BasicTypes_instantiate_A_ObjectFlow102.SetGuard(DefaultValue_BasicTypes_instantiate_A_ObjectFlow102_LiteralBoolean103); + DefaultValue_BasicTypes_instantiate_A.AddEdge(DefaultValue_BasicTypes_instantiate_A_ObjectFlow102); + DefaultValue_BasicTypes.AddPackagedElement(DefaultValue_BasicTypes_instantiate_A); + } + + /* Start of user code : User-defined members + * This section may be used for user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } // DefaultValue_BasicTypesModel +} diff --git a/fUML-CSharp/tests/pscs-Tests/01_Instantiation/04_DefaultValue_BasicTypes/src/testDefaultValuesExecution.cs b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/04_DefaultValue_BasicTypes/src/testDefaultValuesExecution.cs new file mode 100644 index 0000000..8788623 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/04_DefaultValue_BasicTypes/src/testDefaultValuesExecution.cs @@ -0,0 +1,161 @@ +/* + * testDefaultValuesExecution.cs + * + * Auto-generated file + */ + +using UMLPrimitiveTypes; +using fuml.semantics.commonbehavior; +using fuml; +using fuml.semantics.simpleclassifiers; +using uml.simpleclassifiers; +using fuml.semantics.values; +using uml.classification; + +/* Start of user code : User-defined includes and forward declarations + * This section may be used for includes and forward declarations. + * It will not be overwritten by future generation processes. + */ + +/* + * End of user code + */ + +namespace DefaultValue_BasicTypes +{ + public class testDefaultValuesExecution : OpaqueBehaviorExecution + { + public testDefaultValuesExecution() + { + types.Add(DefaultValue_BasicTypesModel.Instance().DefaultValue_BasicTypes_assert_A_testDefaultValues); + /* Start of user code : Additional opaque behavior execution initializations + * This section may be used to do any additional opaque behavior execution initialization, + * for example initializing user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } + + public override void DoBody(List inputParameters, List outputParameters) + { + Console.WriteLine("Asserting a.pInteger == 4"); + // Test parameter pInteger + int pInteger = ((IntegerValue)inputParameters.ElementAt(0).values.ElementAt(0)).value; + Debug.Println("[doBody] argument pInteger = " + pInteger); + Console.WriteLine("a.pInteger == " + pInteger); + if(pInteger == 4) + { + Console.ForegroundColor = ConsoleColor.Green; + Console.WriteLine("Assertion successful."); + } + else + { + Console.ForegroundColor = ConsoleColor.Red; + Console.WriteLine("Assertion failed!"); + } + Console.ResetColor(); + + + Console.WriteLine("Asserting a.pString == 'Hello'"); + // Test parameter pString + string pString = ((StringValue)inputParameters.ElementAt(1).values.ElementAt(0)).value; + Debug.Println("[doBody] argument " + inputParameters.ElementAt(1).parameter!.name + " = " + pString); + Console.WriteLine("a.pString == " + pString); + if(pString == "Hello") + { + Console.ForegroundColor = ConsoleColor.Green; + Console.WriteLine("Assertion successful."); + } + else + { + Console.ForegroundColor = ConsoleColor.Red; + Console.WriteLine("Assertion failed!"); + } + Console.ResetColor(); + + Console.WriteLine("Asserting a.pBoolean == true"); + // Test parameter pBoolean + bool pBoolean = ((BooleanValue)inputParameters.ElementAt(2).values.ElementAt(0)).value; + Debug.Println("[doBody] argument " + inputParameters.ElementAt(2).parameter!.name + " = " + pBoolean); + Console.WriteLine("a.pBoolean == " + pBoolean); + if(pBoolean) + { + Console.ForegroundColor = ConsoleColor.Green; + Console.WriteLine("Assertion successful."); + } + else + { + Console.ForegroundColor = ConsoleColor.Red; + Console.WriteLine("Assertion failed!"); + } + Console.ResetColor(); + + Console.WriteLine("Asserting a.pUnlimitedNatural == *"); + // Test parameter pUnlimitedNatural + UnlimitedNatural pUnlimitedNatural = ((UnlimitedNaturalValue)inputParameters.ElementAt(3).values.ElementAt(0)).value; + Debug.Println("[doBody] argument " + inputParameters.ElementAt(3).parameter!.name + " = " + pUnlimitedNatural.ToString()); + Console.WriteLine("a.pUnlimitedNatural == " + pUnlimitedNatural.ToString()); + if(pUnlimitedNatural.naturalValue == -1) + { + Console.ForegroundColor = ConsoleColor.Green; + Console.WriteLine("Assertion successful."); + } + else + { + Console.ForegroundColor = ConsoleColor.Red; + Console.WriteLine("Assertion failed!"); + } + Console.ResetColor(); + + Console.WriteLine("Asserting a.pReal == 4.0"); + // Test parameter pReal + float pReal = ((RealValue)inputParameters.ElementAt(4).values.ElementAt(0)).value; + Debug.Println("[doBody] argument " + inputParameters.ElementAt(4).parameter!.name + " = " + pReal); + Console.WriteLine("a.pReal == " + pReal.ToString()); + if(pReal == 4.0) + { + Console.ForegroundColor = ConsoleColor.Green; + Console.WriteLine("Assertion successful."); + } + else + { + Console.ForegroundColor = ConsoleColor.Red; + Console.WriteLine("Assertion failed!"); + } + Console.ResetColor(); + + Console.WriteLine("Asserting a.pEnum == E::e2"); + // Test parameter pEnum + EnumerationLiteral pEnum = ((EnumerationValue)inputParameters.ElementAt(5).values.ElementAt(0)).literal!; + Debug.Println("[doBody] argument " + inputParameters.ElementAt(5).parameter!.name + " = " + pEnum.qualifiedName); + Console.WriteLine("a.pEnum == " + pEnum.qualifiedName); + if(pEnum == DefaultValue_BasicTypesModel.Instance().DefaultValue_BasicTypes_E_e2) + { + Console.ForegroundColor = ConsoleColor.Green; + Console.WriteLine("Assertion successful."); + } + else + { + Console.ForegroundColor = ConsoleColor.Red; + Console.WriteLine("Assertion failed!"); + } + } + + protected override Value New_() + { + return new testDefaultValuesExecution(); + } + + /* Start of user code : User-defined members + * This section may be used for user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } // testDefaultValuesExecution +} diff --git a/fUML-CSharp/tests/pscs-Tests/01_Instantiation/05_DefaultValue_Structures/.gitignore b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/05_DefaultValue_Structures/.gitignore new file mode 100644 index 0000000..1736844 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/05_DefaultValue_Structures/.gitignore @@ -0,0 +1,3 @@ +/.vs/ +/bin/ +/obj/ diff --git a/fUML-CSharp/tests/pscs-Tests/01_Instantiation/05_DefaultValue_Structures/DefaultValue_Structures.csproj b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/05_DefaultValue_Structures/DefaultValue_Structures.csproj new file mode 100644 index 0000000..b6381f8 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/05_DefaultValue_Structures/DefaultValue_Structures.csproj @@ -0,0 +1,50 @@ + + + + Exe + net6.0 + enable + enable + + + + DefaultValue_Structures.Debug + + + DefaultValue_Structures.Release + + + + + ..\..\..\..\uml\bin\Debug\net6.0\uml.Debug.dll + + + + + ..\..\..\..\uml\bin\Release\net6.0\uml.Release.dll + + + + + + ..\..\..\..\fuml\bin\Debug\net6.0\fuml.Debug.dll + + + + + ..\..\..\..\fuml\bin\Release\net6.0\fuml.Release.dll + + + + + + ..\..\..\..\pscs\bin\Debug\net6.0\pscs.Debug.dll + + + + + ..\..\..\..\pscs\bin\Release\net6.0\pscs.Release.dll + + + + diff --git a/fUML-CSharp/tests/pscs-Tests/01_Instantiation/05_DefaultValue_Structures/DefaultValue_Structures.sln b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/05_DefaultValue_Structures/DefaultValue_Structures.sln new file mode 100644 index 0000000..9a696fa --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/05_DefaultValue_Structures/DefaultValue_Structures.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.32112.339 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DefaultValue_Structures", "DefaultValue_Structures.csproj", "{7F3D25CD-B413-4C6B-BF6C-3D5ACB5B56B6}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {7F3D25CD-B413-4C6B-BF6C-3D5ACB5B56B6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {7F3D25CD-B413-4C6B-BF6C-3D5ACB5B56B6}.Debug|Any CPU.Build.0 = Debug|Any CPU + {7F3D25CD-B413-4C6B-BF6C-3D5ACB5B56B6}.Release|Any CPU.ActiveCfg = Release|Any CPU + {7F3D25CD-B413-4C6B-BF6C-3D5ACB5B56B6}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {C7A0B611-0538-4C41-9EDC-91F43E41005E} + EndGlobalSection +EndGlobal diff --git a/fUML-CSharp/tests/pscs-Tests/01_Instantiation/05_DefaultValue_Structures/model/DefaultValue_Structures.di b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/05_DefaultValue_Structures/model/DefaultValue_Structures.di new file mode 100644 index 0000000..8c549ee --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/05_DefaultValue_Structures/model/DefaultValue_Structures.di @@ -0,0 +1,2 @@ + + diff --git a/fUML-CSharp/tests/pscs-Tests/01_Instantiation/05_DefaultValue_Structures/model/DefaultValue_Structures.notation b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/05_DefaultValue_Structures/model/DefaultValue_Structures.notation new file mode 100644 index 0000000..a9762e9 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/05_DefaultValue_Structures/model/DefaultValue_Structures.notation @@ -0,0 +1,1384 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ + + +
+ + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+ + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + +
+ + + +
+ + + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/fUML-CSharp/tests/pscs-Tests/01_Instantiation/05_DefaultValue_Structures/model/DefaultValue_Structures.uml b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/05_DefaultValue_Structures/model/DefaultValue_Structures.uml new file mode 100644 index 0000000..b84190b --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/05_DefaultValue_Structures/model/DefaultValue_Structures.uml @@ -0,0 +1,350 @@ + + + + + This test case addresses instantiation of default values for properties typed by composite structures. + + + + This test case addresses instantiation of default values for properties typed by primitive types and enumerations. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + C# + Using + List<Value> values = inputParameters.ElementAt(0).values; + int index = 1; + + foreach(Value value in values) + { + Console.WriteLine("Asserting a.b[" + index + "].p == " + index); + + // Test parameter p[i] + int p =((IntegerValue)value).value; + Debug.Println("[doBody] argument p[" + index + "] = " + p); + + Console.WriteLine("a.b[" + index + "].p == " + p); + Console.Write("Default value correctly evaluated: "); + + if(p == index) + { + Console.ForegroundColor = ConsoleColor.Green; + Console.WriteLine("Assertion successful."); + } + else + { + Console.ForegroundColor = ConsoleColor.Red; + Console.WriteLine("Assertion failed!"); + } + Console.ResetColor(); + + index++; + } + using fuml.semantics.simpleclassifiers; + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/fUML-CSharp/tests/pscs-Tests/01_Instantiation/05_DefaultValue_Structures/src/DefaultValue_Structures.cs b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/05_DefaultValue_Structures/src/DefaultValue_Structures.cs new file mode 100644 index 0000000..54952f6 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/05_DefaultValue_Structures/src/DefaultValue_Structures.cs @@ -0,0 +1,31 @@ +namespace DefaultValue_Structures +{ + internal class DefaultValue_Structures + { + static void PrintUsage() + { + Console.WriteLine( + "=============================================================================================\n" + + "USAGE: [ <...>]\n" + + "=============================================================================================\n" + ); + } + + static int Main(string[] args) + { + if(args.Length == 0) + { + Console.WriteLine("[ERROR] Must declare at least one behavior name.\n"); + PrintUsage(); + return -1; + } + + foreach (string arg in args) + { + DefaultValue_StructuresEnvironment.Instance().Execute(arg); + } + + return 0; + } + } +} diff --git a/fUML-CSharp/tests/pscs-Tests/01_Instantiation/05_DefaultValue_Structures/src/DefaultValue_StructuresEnvironment.cs b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/05_DefaultValue_Structures/src/DefaultValue_StructuresEnvironment.cs new file mode 100644 index 0000000..e9cdafb --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/05_DefaultValue_Structures/src/DefaultValue_StructuresEnvironment.cs @@ -0,0 +1,93 @@ +/* + * DefaultValue_StructuresEnvironment.cs + * + * Auto-generated file + */ + +/* Start of user code : User-defined using directives + * This section may be used for using directives. + * It will not be overwritten by future generation processes. + */ + +/* + * End of user code + */ + +namespace DefaultValue_Structures +{ + public class DefaultValue_StructuresEnvironment : pscs.environment.Environment + { + private static DefaultValue_StructuresEnvironment? instance; + + public static DefaultValue_StructuresEnvironment Instance() + { + if(instance is null) + { + instance = new(); + instance.inMemoryModel = DefaultValue_StructuresModel.Instance(); + } + + return instance; + } + + public DefaultValue_StructuresEnvironment() + { + /* + * Create custom opaque behavior execution instances and add them to the execution environment. + */ + AddPrimitiveBehaviorPrototype(new testDefaultValuesExecution()); + + /* Start of user code : Additional environment initializations + * This section may be used to do any additional environment initialization, + * for example initializing user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } + + public override void Execute(string behaviorName) + { + /* Start of user code : Context and inputs initializations + * This section may be used to initialize the execution context + * as well as input parameter values if required. + * It will not be overwritten by future generation processes. + */ + + //context = ...; + //inputs = ...; + + /* + * End of user code + */ + + /* + * Start execution via base class call + */ + base.Execute(behaviorName); + + /* Start of user code : Outputs evaluation + * This section may be used to evaluate output parameter values if required. + * It will not be overwritten by future generation processes. + */ + + //List theOutputs = outputs; + //... + + /* + * End of user code + */ + } + + /* Start of user code : User-defined members + * This section may be used for user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } // DefaultValue_StructuresEnvironment +} diff --git a/fUML-CSharp/tests/pscs-Tests/01_Instantiation/05_DefaultValue_Structures/src/DefaultValue_StructuresModel.cs b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/05_DefaultValue_Structures/src/DefaultValue_StructuresModel.cs new file mode 100644 index 0000000..541fb89 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/05_DefaultValue_Structures/src/DefaultValue_StructuresModel.cs @@ -0,0 +1,1126 @@ +/* + * DefaultValue_StructuresModel.cs + * + * Auto-generated file + */ + +using uml.actions; +using uml.packages; +using uml.structuredclassifiers; +using fuml.primitivetypes; +using uml.classification; +using fuml.library; +using uml.commonbehavior; +using uml.simpleclassifiers; +using uml.commonstructure; +using uml.values; +using uml.activities; +using uml.environment; + + +/* Start of user code : User-defined includes and forward declarations + * This section may be used for includes and forward declarations. + * It will not be overwritten by future generation processes. + */ + +/* + * End of user code + */ + +namespace DefaultValue_Structures +{ + public class DefaultValue_StructuresModel : InMemoryModel + { + private static DefaultValue_StructuresModel? instance; + + /* + * Model DefaultValue_Structures + */ + public Package DefaultValue_Structures = new(); + public Activity DefaultValue_Structures_instantiate_A = new(); + public CreateObjectAction DefaultValue_Structures_instantiate_A_Create_A = new(); + public OutputPin DefaultValue_Structures_instantiate_A_Create_A_result = new(); + public LiteralInteger DefaultValue_Structures_instantiate_A_Create_A_result_LiteralInteger0 = new(); + public LiteralUnlimitedNatural DefaultValue_Structures_instantiate_A_Create_A_result_LiteralUnlimitedNatural1 = new(); + public ActivityParameterNode DefaultValue_Structures_instantiate_A_a_node = new(); + public LiteralInteger DefaultValue_Structures_instantiate_A_a_node_LiteralInteger2 = new(); + public ObjectFlow DefaultValue_Structures_instantiate_A_ObjectFlow3 = new(); + public LiteralBoolean DefaultValue_Structures_instantiate_A_ObjectFlow3_LiteralBoolean4 = new(); + public LiteralInteger DefaultValue_Structures_instantiate_A_ObjectFlow3_LiteralInteger5 = new(); + public CallOperationAction DefaultValue_Structures_instantiate_A_A_ = new(); + public InputPin DefaultValue_Structures_instantiate_A_A__target = new(); + public LiteralUnlimitedNatural DefaultValue_Structures_instantiate_A_A__target_LiteralUnlimitedNatural6 = new(); + public LiteralInteger DefaultValue_Structures_instantiate_A_A__target_LiteralInteger7 = new(); + public OutputPin DefaultValue_Structures_instantiate_A_A__result = new(); + public LiteralInteger DefaultValue_Structures_instantiate_A_A__result_LiteralInteger8 = new(); + public LiteralUnlimitedNatural DefaultValue_Structures_instantiate_A_A__result_LiteralUnlimitedNatural9 = new(); + public LiteralInteger DefaultValue_Structures_instantiate_A_A__result_LiteralInteger10 = new(); + public ObjectFlow DefaultValue_Structures_instantiate_A_ObjectFlow11 = new(); + public LiteralInteger DefaultValue_Structures_instantiate_A_ObjectFlow11_LiteralInteger12 = new(); + public LiteralBoolean DefaultValue_Structures_instantiate_A_ObjectFlow11_LiteralBoolean13 = new(); + public Parameter DefaultValue_Structures_instantiate_A_a = new(); + public Activity DefaultValue_Structures_assert_A = new(); + public Parameter DefaultValue_Structures_assert_A_a = new(); + public ReadStructuralFeatureAction DefaultValue_Structures_assert_A_Read_a_b = new(); + public InputPin DefaultValue_Structures_assert_A_Read_a_b_object = new(); + public LiteralUnlimitedNatural DefaultValue_Structures_assert_A_Read_a_b_object_LiteralUnlimitedNatural14 = new(); + public LiteralInteger DefaultValue_Structures_assert_A_Read_a_b_object_LiteralInteger15 = new(); + public OutputPin DefaultValue_Structures_assert_A_Read_a_b_result = new(); + public LiteralUnlimitedNatural DefaultValue_Structures_assert_A_Read_a_b_result_LiteralUnlimitedNatural16 = new(); + public LiteralInteger DefaultValue_Structures_assert_A_Read_a_b_result_LiteralInteger17 = new(); + public OpaqueBehavior DefaultValue_Structures_assert_A_testDefaultValues = new(); + public Parameter DefaultValue_Structures_assert_A_testDefaultValues_pList = new(); + public LiteralInteger DefaultValue_Structures_assert_A_testDefaultValues_pList_LiteralInteger18 = new(); + public LiteralUnlimitedNatural DefaultValue_Structures_assert_A_testDefaultValues_pList_LiteralUnlimitedNatural19 = new(); + public ObjectFlow DefaultValue_Structures_assert_A_ObjectFlow20 = new(); + public LiteralInteger DefaultValue_Structures_assert_A_ObjectFlow20_LiteralInteger21 = new(); + public LiteralBoolean DefaultValue_Structures_assert_A_ObjectFlow20_LiteralBoolean22 = new(); + public ObjectFlow DefaultValue_Structures_assert_A_ObjectFlow23 = new(); + public LiteralBoolean DefaultValue_Structures_assert_A_ObjectFlow23_LiteralBoolean24 = new(); + public LiteralInteger DefaultValue_Structures_assert_A_ObjectFlow23_LiteralInteger25 = new(); + public CallBehaviorAction DefaultValue_Structures_assert_A_Test_Default_Values = new(); + public InputPin DefaultValue_Structures_assert_A_Test_Default_Values_pList = new(); + public LiteralInteger DefaultValue_Structures_assert_A_Test_Default_Values_pList_LiteralInteger26 = new(); + public LiteralInteger DefaultValue_Structures_assert_A_Test_Default_Values_pList_LiteralInteger27 = new(); + public LiteralUnlimitedNatural DefaultValue_Structures_assert_A_Test_Default_Values_pList_LiteralUnlimitedNatural28 = new(); + public ObjectFlow DefaultValue_Structures_assert_A_ObjectFlow29 = new(); + public LiteralBoolean DefaultValue_Structures_assert_A_ObjectFlow29_LiteralBoolean30 = new(); + public LiteralInteger DefaultValue_Structures_assert_A_ObjectFlow29_LiteralInteger31 = new(); + public ReadStructuralFeatureAction DefaultValue_Structures_assert_A_Read_b_p = new(); + public OutputPin DefaultValue_Structures_assert_A_Read_b_p_result = new(); + public LiteralUnlimitedNatural DefaultValue_Structures_assert_A_Read_b_p_result_LiteralUnlimitedNatural32 = new(); + public LiteralInteger DefaultValue_Structures_assert_A_Read_b_p_result_LiteralInteger33 = new(); + public InputPin DefaultValue_Structures_assert_A_Read_b_p_object = new(); + public LiteralUnlimitedNatural DefaultValue_Structures_assert_A_Read_b_p_object_LiteralUnlimitedNatural34 = new(); + public LiteralInteger DefaultValue_Structures_assert_A_Read_b_p_object_LiteralInteger35 = new(); + public ActivityParameterNode DefaultValue_Structures_assert_A_a_node = new(); + public LiteralInteger DefaultValue_Structures_assert_A_a_node_LiteralInteger36 = new(); + public Class_ DefaultValue_Structures_A = new(); + public Property DefaultValue_Structures_A_b = new(); + public LiteralInteger DefaultValue_Structures_A_b_LiteralInteger37 = new(); + public LiteralUnlimitedNatural DefaultValue_Structures_A_b_LiteralUnlimitedNatural38 = new(); + public OpaqueExpression DefaultValue_Structures_A_b_OpaqueExpression39 = new(); + public Activity DefaultValue_Structures_A_bDefaultValues = new(); + public Parameter DefaultValue_Structures_A_bDefaultValues_bList = new(); + public LiteralInteger DefaultValue_Structures_A_bDefaultValues_bList_LiteralInteger40 = new(); + public LiteralUnlimitedNatural DefaultValue_Structures_A_bDefaultValues_bList_LiteralUnlimitedNatural41 = new(); + public ObjectFlow DefaultValue_Structures_A_bDefaultValues_ObjectFlow42 = new(); + public LiteralBoolean DefaultValue_Structures_A_bDefaultValues_ObjectFlow42_LiteralBoolean43 = new(); + public LiteralInteger DefaultValue_Structures_A_bDefaultValues_ObjectFlow42_LiteralInteger44 = new(); + public ValueSpecificationAction DefaultValue_Structures_A_bDefaultValues_Integer_4 = new(); + public LiteralInteger DefaultValue_Structures_A_bDefaultValues_Integer_4_LiteralInteger45 = new(); + public OutputPin DefaultValue_Structures_A_bDefaultValues_Integer_4_result = new(); + public LiteralUnlimitedNatural DefaultValue_Structures_A_bDefaultValues_Integer_4_result_LiteralUnlimitedNatural46 = new(); + public LiteralInteger DefaultValue_Structures_A_bDefaultValues_Integer_4_result_LiteralInteger47 = new(); + public AddStructuralFeatureValueAction DefaultValue_Structures_A_bDefaultValues_B_2_p = new(); + public InputPin DefaultValue_Structures_A_bDefaultValues_B_2_p_object = new(); + public LiteralUnlimitedNatural DefaultValue_Structures_A_bDefaultValues_B_2_p_object_LiteralUnlimitedNatural48 = new(); + public LiteralInteger DefaultValue_Structures_A_bDefaultValues_B_2_p_object_LiteralInteger49 = new(); + public OutputPin DefaultValue_Structures_A_bDefaultValues_B_2_p_result = new(); + public LiteralUnlimitedNatural DefaultValue_Structures_A_bDefaultValues_B_2_p_result_LiteralUnlimitedNatural50 = new(); + public LiteralInteger DefaultValue_Structures_A_bDefaultValues_B_2_p_result_LiteralInteger51 = new(); + public InputPin DefaultValue_Structures_A_bDefaultValues_B_2_p_value = new(); + public LiteralUnlimitedNatural DefaultValue_Structures_A_bDefaultValues_B_2_p_value_LiteralUnlimitedNatural52 = new(); + public LiteralInteger DefaultValue_Structures_A_bDefaultValues_B_2_p_value_LiteralInteger53 = new(); + public CreateObjectAction DefaultValue_Structures_A_bDefaultValues_Create_B_1 = new(); + public OutputPin DefaultValue_Structures_A_bDefaultValues_Create_B_1_result = new(); + public LiteralInteger DefaultValue_Structures_A_bDefaultValues_Create_B_1_result_LiteralInteger54 = new(); + public LiteralUnlimitedNatural DefaultValue_Structures_A_bDefaultValues_Create_B_1_result_LiteralUnlimitedNatural55 = new(); + public ControlFlow DefaultValue_Structures_A_bDefaultValues_ControlFlow56 = new(); + public ObjectFlow DefaultValue_Structures_A_bDefaultValues_ObjectFlow57 = new(); + public LiteralBoolean DefaultValue_Structures_A_bDefaultValues_ObjectFlow57_LiteralBoolean58 = new(); + public LiteralInteger DefaultValue_Structures_A_bDefaultValues_ObjectFlow57_LiteralInteger59 = new(); + public ActivityParameterNode DefaultValue_Structures_A_bDefaultValues_bList_node = new(); + public ObjectFlow DefaultValue_Structures_A_bDefaultValues_ObjectFlow60 = new(); + public LiteralBoolean DefaultValue_Structures_A_bDefaultValues_ObjectFlow60_LiteralBoolean61 = new(); + public LiteralInteger DefaultValue_Structures_A_bDefaultValues_ObjectFlow60_LiteralInteger62 = new(); + public CreateObjectAction DefaultValue_Structures_A_bDefaultValues_Create_B_2 = new(); + public OutputPin DefaultValue_Structures_A_bDefaultValues_Create_B_2_result = new(); + public LiteralUnlimitedNatural DefaultValue_Structures_A_bDefaultValues_Create_B_2_result_LiteralUnlimitedNatural63 = new(); + public LiteralInteger DefaultValue_Structures_A_bDefaultValues_Create_B_2_result_LiteralInteger64 = new(); + public ObjectFlow DefaultValue_Structures_A_bDefaultValues_ObjectFlow65 = new(); + public LiteralBoolean DefaultValue_Structures_A_bDefaultValues_ObjectFlow65_LiteralBoolean66 = new(); + public LiteralInteger DefaultValue_Structures_A_bDefaultValues_ObjectFlow65_LiteralInteger67 = new(); + public ObjectFlow DefaultValue_Structures_A_bDefaultValues_ObjectFlow68 = new(); + public LiteralInteger DefaultValue_Structures_A_bDefaultValues_ObjectFlow68_LiteralInteger69 = new(); + public LiteralBoolean DefaultValue_Structures_A_bDefaultValues_ObjectFlow68_LiteralBoolean70 = new(); + public ObjectFlow DefaultValue_Structures_A_bDefaultValues_ObjectFlow71 = new(); + public LiteralInteger DefaultValue_Structures_A_bDefaultValues_ObjectFlow71_LiteralInteger72 = new(); + public LiteralBoolean DefaultValue_Structures_A_bDefaultValues_ObjectFlow71_LiteralBoolean73 = new(); + public ObjectFlow DefaultValue_Structures_A_bDefaultValues_ObjectFlow74 = new(); + public LiteralBoolean DefaultValue_Structures_A_bDefaultValues_ObjectFlow74_LiteralBoolean75 = new(); + public LiteralInteger DefaultValue_Structures_A_bDefaultValues_ObjectFlow74_LiteralInteger76 = new(); + public ControlFlow DefaultValue_Structures_A_bDefaultValues_ControlFlow77 = new(); + public AddStructuralFeatureValueAction DefaultValue_Structures_A_bDefaultValues_B_4_p = new(); + public InputPin DefaultValue_Structures_A_bDefaultValues_B_4_p_value = new(); + public LiteralUnlimitedNatural DefaultValue_Structures_A_bDefaultValues_B_4_p_value_LiteralUnlimitedNatural78 = new(); + public LiteralInteger DefaultValue_Structures_A_bDefaultValues_B_4_p_value_LiteralInteger79 = new(); + public InputPin DefaultValue_Structures_A_bDefaultValues_B_4_p_object = new(); + public LiteralInteger DefaultValue_Structures_A_bDefaultValues_B_4_p_object_LiteralInteger80 = new(); + public LiteralUnlimitedNatural DefaultValue_Structures_A_bDefaultValues_B_4_p_object_LiteralUnlimitedNatural81 = new(); + public OutputPin DefaultValue_Structures_A_bDefaultValues_B_4_p_result = new(); + public LiteralUnlimitedNatural DefaultValue_Structures_A_bDefaultValues_B_4_p_result_LiteralUnlimitedNatural82 = new(); + public LiteralInteger DefaultValue_Structures_A_bDefaultValues_B_4_p_result_LiteralInteger83 = new(); + public ValueSpecificationAction DefaultValue_Structures_A_bDefaultValues_Integer_2 = new(); + public LiteralInteger DefaultValue_Structures_A_bDefaultValues_Integer_2_LiteralInteger84 = new(); + public OutputPin DefaultValue_Structures_A_bDefaultValues_Integer_2_result = new(); + public LiteralUnlimitedNatural DefaultValue_Structures_A_bDefaultValues_Integer_2_result_LiteralUnlimitedNatural85 = new(); + public LiteralInteger DefaultValue_Structures_A_bDefaultValues_Integer_2_result_LiteralInteger86 = new(); + public ObjectFlow DefaultValue_Structures_A_bDefaultValues_ObjectFlow87 = new(); + public LiteralInteger DefaultValue_Structures_A_bDefaultValues_ObjectFlow87_LiteralInteger88 = new(); + public LiteralBoolean DefaultValue_Structures_A_bDefaultValues_ObjectFlow87_LiteralBoolean89 = new(); + public AddStructuralFeatureValueAction DefaultValue_Structures_A_bDefaultValues_B_1_p = new(); + public InputPin DefaultValue_Structures_A_bDefaultValues_B_1_p_object = new(); + public LiteralUnlimitedNatural DefaultValue_Structures_A_bDefaultValues_B_1_p_object_LiteralUnlimitedNatural90 = new(); + public LiteralInteger DefaultValue_Structures_A_bDefaultValues_B_1_p_object_LiteralInteger91 = new(); + public OutputPin DefaultValue_Structures_A_bDefaultValues_B_1_p_result = new(); + public LiteralInteger DefaultValue_Structures_A_bDefaultValues_B_1_p_result_LiteralInteger92 = new(); + public LiteralUnlimitedNatural DefaultValue_Structures_A_bDefaultValues_B_1_p_result_LiteralUnlimitedNatural93 = new(); + public InputPin DefaultValue_Structures_A_bDefaultValues_B_1_p_value = new(); + public LiteralUnlimitedNatural DefaultValue_Structures_A_bDefaultValues_B_1_p_value_LiteralUnlimitedNatural94 = new(); + public LiteralInteger DefaultValue_Structures_A_bDefaultValues_B_1_p_value_LiteralInteger95 = new(); + public ObjectFlow DefaultValue_Structures_A_bDefaultValues_ObjectFlow96 = new(); + public LiteralBoolean DefaultValue_Structures_A_bDefaultValues_ObjectFlow96_LiteralBoolean97 = new(); + public LiteralInteger DefaultValue_Structures_A_bDefaultValues_ObjectFlow96_LiteralInteger98 = new(); + public ObjectFlow DefaultValue_Structures_A_bDefaultValues_ObjectFlow99 = new(); + public LiteralBoolean DefaultValue_Structures_A_bDefaultValues_ObjectFlow99_LiteralBoolean100 = new(); + public LiteralInteger DefaultValue_Structures_A_bDefaultValues_ObjectFlow99_LiteralInteger101 = new(); + public ObjectFlow DefaultValue_Structures_A_bDefaultValues_ObjectFlow102 = new(); + public LiteralInteger DefaultValue_Structures_A_bDefaultValues_ObjectFlow102_LiteralInteger103 = new(); + public LiteralBoolean DefaultValue_Structures_A_bDefaultValues_ObjectFlow102_LiteralBoolean104 = new(); + public ControlFlow DefaultValue_Structures_A_bDefaultValues_ControlFlow105 = new(); + public AddStructuralFeatureValueAction DefaultValue_Structures_A_bDefaultValues_B_3_p = new(); + public OutputPin DefaultValue_Structures_A_bDefaultValues_B_3_p_result = new(); + public LiteralUnlimitedNatural DefaultValue_Structures_A_bDefaultValues_B_3_p_result_LiteralUnlimitedNatural106 = new(); + public LiteralInteger DefaultValue_Structures_A_bDefaultValues_B_3_p_result_LiteralInteger107 = new(); + public InputPin DefaultValue_Structures_A_bDefaultValues_B_3_p_value = new(); + public LiteralInteger DefaultValue_Structures_A_bDefaultValues_B_3_p_value_LiteralInteger108 = new(); + public LiteralUnlimitedNatural DefaultValue_Structures_A_bDefaultValues_B_3_p_value_LiteralUnlimitedNatural109 = new(); + public InputPin DefaultValue_Structures_A_bDefaultValues_B_3_p_object = new(); + public LiteralInteger DefaultValue_Structures_A_bDefaultValues_B_3_p_object_LiteralInteger110 = new(); + public LiteralUnlimitedNatural DefaultValue_Structures_A_bDefaultValues_B_3_p_object_LiteralUnlimitedNatural111 = new(); + public CreateObjectAction DefaultValue_Structures_A_bDefaultValues_Create_B_3 = new(); + public OutputPin DefaultValue_Structures_A_bDefaultValues_Create_B_3_result = new(); + public LiteralInteger DefaultValue_Structures_A_bDefaultValues_Create_B_3_result_LiteralInteger112 = new(); + public LiteralUnlimitedNatural DefaultValue_Structures_A_bDefaultValues_Create_B_3_result_LiteralUnlimitedNatural113 = new(); + public ObjectFlow DefaultValue_Structures_A_bDefaultValues_ObjectFlow114 = new(); + public LiteralBoolean DefaultValue_Structures_A_bDefaultValues_ObjectFlow114_LiteralBoolean115 = new(); + public LiteralInteger DefaultValue_Structures_A_bDefaultValues_ObjectFlow114_LiteralInteger116 = new(); + public CreateObjectAction DefaultValue_Structures_A_bDefaultValues_Create_B_4 = new(); + public OutputPin DefaultValue_Structures_A_bDefaultValues_Create_B_4_result = new(); + public LiteralUnlimitedNatural DefaultValue_Structures_A_bDefaultValues_Create_B_4_result_LiteralUnlimitedNatural117 = new(); + public LiteralInteger DefaultValue_Structures_A_bDefaultValues_Create_B_4_result_LiteralInteger118 = new(); + public ValueSpecificationAction DefaultValue_Structures_A_bDefaultValues_Integer_3 = new(); + public OutputPin DefaultValue_Structures_A_bDefaultValues_Integer_3_result = new(); + public LiteralUnlimitedNatural DefaultValue_Structures_A_bDefaultValues_Integer_3_result_LiteralUnlimitedNatural119 = new(); + public LiteralInteger DefaultValue_Structures_A_bDefaultValues_Integer_3_result_LiteralInteger120 = new(); + public LiteralInteger DefaultValue_Structures_A_bDefaultValues_Integer_3_LiteralInteger121 = new(); + public ValueSpecificationAction DefaultValue_Structures_A_bDefaultValues_Integer_1 = new(); + public OutputPin DefaultValue_Structures_A_bDefaultValues_Integer_1_result = new(); + public LiteralUnlimitedNatural DefaultValue_Structures_A_bDefaultValues_Integer_1_result_LiteralUnlimitedNatural122 = new(); + public LiteralInteger DefaultValue_Structures_A_bDefaultValues_Integer_1_result_LiteralInteger123 = new(); + public LiteralInteger DefaultValue_Structures_A_bDefaultValues_Integer_1_LiteralInteger124 = new(); + public Operation DefaultValue_Structures_A_A_A = new(); + public Parameter DefaultValue_Structures_A_A_A_result = new(); + public Class_ DefaultValue_Structures_B = new(); + public Property DefaultValue_Structures_B_p = new(); + public Operation DefaultValue_Structures_B_B_B = new(); + public Parameter DefaultValue_Structures_B_B_B_result = new(); + public Activity DefaultValue_Structures_main = new(); + public CallBehaviorAction DefaultValue_Structures_main_instantiate_A = new(); + public OutputPin DefaultValue_Structures_main_instantiate_A_a = new(); + public LiteralUnlimitedNatural DefaultValue_Structures_main_instantiate_A_a_LiteralUnlimitedNatural125 = new(); + public LiteralInteger DefaultValue_Structures_main_instantiate_A_a_LiteralInteger126 = new(); + public LiteralInteger DefaultValue_Structures_main_instantiate_A_a_LiteralInteger127 = new(); + public CallBehaviorAction DefaultValue_Structures_main_assert_A = new(); + public InputPin DefaultValue_Structures_main_assert_A_a = new(); + public LiteralUnlimitedNatural DefaultValue_Structures_main_assert_A_a_LiteralUnlimitedNatural128 = new(); + public LiteralInteger DefaultValue_Structures_main_assert_A_a_LiteralInteger129 = new(); + public LiteralInteger DefaultValue_Structures_main_assert_A_a_LiteralInteger130 = new(); + public ObjectFlow DefaultValue_Structures_main_ObjectFlow131 = new(); + public LiteralInteger DefaultValue_Structures_main_ObjectFlow131_LiteralInteger132 = new(); + public LiteralBoolean DefaultValue_Structures_main_ObjectFlow131_LiteralBoolean133 = new(); + + public static DefaultValue_StructuresModel Instance() + { + if (instance is null) + { + instance = new(); + instance.InitializeInMemoryModel(); + } + + return instance; + } + + public DefaultValue_StructuresModel() + { + /* Start of user code : Additional model initializations + * This section may be used to do any additional model initialization, + * for example initializing user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } + + private void InitializeInMemoryModel() + { + // Create public members + /* + * Model DefaultValue_Structures + */ + AddToElementRepository("DefaultValue_Structures", DefaultValue_Structures); + AddToElementRepository("instantiate_A", DefaultValue_Structures_instantiate_A); + AddToElementRepository("Create_A", DefaultValue_Structures_instantiate_A_Create_A); + AddToElementRepository("result", DefaultValue_Structures_instantiate_A_Create_A_result); + AddToElementRepository("LiteralInteger0", DefaultValue_Structures_instantiate_A_Create_A_result_LiteralInteger0); + AddToElementRepository("LiteralUnlimitedNatural1", DefaultValue_Structures_instantiate_A_Create_A_result_LiteralUnlimitedNatural1); + AddToElementRepository("a_node", DefaultValue_Structures_instantiate_A_a_node); + AddToElementRepository("LiteralInteger2", DefaultValue_Structures_instantiate_A_a_node_LiteralInteger2); + AddToElementRepository("ObjectFlow3", DefaultValue_Structures_instantiate_A_ObjectFlow3); + AddToElementRepository("LiteralBoolean4", DefaultValue_Structures_instantiate_A_ObjectFlow3_LiteralBoolean4); + AddToElementRepository("LiteralInteger5", DefaultValue_Structures_instantiate_A_ObjectFlow3_LiteralInteger5); + AddToElementRepository("A()", DefaultValue_Structures_instantiate_A_A_); + AddToElementRepository("target", DefaultValue_Structures_instantiate_A_A__target); + AddToElementRepository("LiteralUnlimitedNatural6", DefaultValue_Structures_instantiate_A_A__target_LiteralUnlimitedNatural6); + AddToElementRepository("LiteralInteger7", DefaultValue_Structures_instantiate_A_A__target_LiteralInteger7); + AddToElementRepository("result", DefaultValue_Structures_instantiate_A_A__result); + AddToElementRepository("LiteralInteger8", DefaultValue_Structures_instantiate_A_A__result_LiteralInteger8); + AddToElementRepository("LiteralUnlimitedNatural9", DefaultValue_Structures_instantiate_A_A__result_LiteralUnlimitedNatural9); + AddToElementRepository("LiteralInteger10", DefaultValue_Structures_instantiate_A_A__result_LiteralInteger10); + AddToElementRepository("ObjectFlow11", DefaultValue_Structures_instantiate_A_ObjectFlow11); + AddToElementRepository("LiteralInteger12", DefaultValue_Structures_instantiate_A_ObjectFlow11_LiteralInteger12); + AddToElementRepository("LiteralBoolean13", DefaultValue_Structures_instantiate_A_ObjectFlow11_LiteralBoolean13); + AddToElementRepository("a", DefaultValue_Structures_instantiate_A_a); + AddToElementRepository("assert_A", DefaultValue_Structures_assert_A); + AddToElementRepository("a", DefaultValue_Structures_assert_A_a); + AddToElementRepository("Read a.b", DefaultValue_Structures_assert_A_Read_a_b); + AddToElementRepository("object", DefaultValue_Structures_assert_A_Read_a_b_object); + AddToElementRepository("LiteralUnlimitedNatural14", DefaultValue_Structures_assert_A_Read_a_b_object_LiteralUnlimitedNatural14); + AddToElementRepository("LiteralInteger15", DefaultValue_Structures_assert_A_Read_a_b_object_LiteralInteger15); + AddToElementRepository("result", DefaultValue_Structures_assert_A_Read_a_b_result); + AddToElementRepository("LiteralUnlimitedNatural16", DefaultValue_Structures_assert_A_Read_a_b_result_LiteralUnlimitedNatural16); + AddToElementRepository("LiteralInteger17", DefaultValue_Structures_assert_A_Read_a_b_result_LiteralInteger17); + AddToElementRepository("testDefaultValues", DefaultValue_Structures_assert_A_testDefaultValues); + AddToElementRepository("pList", DefaultValue_Structures_assert_A_testDefaultValues_pList); + AddToElementRepository("LiteralInteger18", DefaultValue_Structures_assert_A_testDefaultValues_pList_LiteralInteger18); + AddToElementRepository("LiteralUnlimitedNatural19", DefaultValue_Structures_assert_A_testDefaultValues_pList_LiteralUnlimitedNatural19); + AddToElementRepository("ObjectFlow20", DefaultValue_Structures_assert_A_ObjectFlow20); + AddToElementRepository("LiteralInteger21", DefaultValue_Structures_assert_A_ObjectFlow20_LiteralInteger21); + AddToElementRepository("LiteralBoolean22", DefaultValue_Structures_assert_A_ObjectFlow20_LiteralBoolean22); + AddToElementRepository("ObjectFlow23", DefaultValue_Structures_assert_A_ObjectFlow23); + AddToElementRepository("LiteralBoolean24", DefaultValue_Structures_assert_A_ObjectFlow23_LiteralBoolean24); + AddToElementRepository("LiteralInteger25", DefaultValue_Structures_assert_A_ObjectFlow23_LiteralInteger25); + AddToElementRepository("Test Default Values", DefaultValue_Structures_assert_A_Test_Default_Values); + AddToElementRepository("pList", DefaultValue_Structures_assert_A_Test_Default_Values_pList); + AddToElementRepository("LiteralInteger26", DefaultValue_Structures_assert_A_Test_Default_Values_pList_LiteralInteger26); + AddToElementRepository("LiteralInteger27", DefaultValue_Structures_assert_A_Test_Default_Values_pList_LiteralInteger27); + AddToElementRepository("LiteralUnlimitedNatural28", DefaultValue_Structures_assert_A_Test_Default_Values_pList_LiteralUnlimitedNatural28); + AddToElementRepository("ObjectFlow29", DefaultValue_Structures_assert_A_ObjectFlow29); + AddToElementRepository("LiteralBoolean30", DefaultValue_Structures_assert_A_ObjectFlow29_LiteralBoolean30); + AddToElementRepository("LiteralInteger31", DefaultValue_Structures_assert_A_ObjectFlow29_LiteralInteger31); + AddToElementRepository("Read b.p", DefaultValue_Structures_assert_A_Read_b_p); + AddToElementRepository("result", DefaultValue_Structures_assert_A_Read_b_p_result); + AddToElementRepository("LiteralUnlimitedNatural32", DefaultValue_Structures_assert_A_Read_b_p_result_LiteralUnlimitedNatural32); + AddToElementRepository("LiteralInteger33", DefaultValue_Structures_assert_A_Read_b_p_result_LiteralInteger33); + AddToElementRepository("object", DefaultValue_Structures_assert_A_Read_b_p_object); + AddToElementRepository("LiteralUnlimitedNatural34", DefaultValue_Structures_assert_A_Read_b_p_object_LiteralUnlimitedNatural34); + AddToElementRepository("LiteralInteger35", DefaultValue_Structures_assert_A_Read_b_p_object_LiteralInteger35); + AddToElementRepository("a_node", DefaultValue_Structures_assert_A_a_node); + AddToElementRepository("LiteralInteger36", DefaultValue_Structures_assert_A_a_node_LiteralInteger36); + AddToElementRepository("A", DefaultValue_Structures_A); + AddToElementRepository("b", DefaultValue_Structures_A_b); + AddToElementRepository("LiteralInteger37", DefaultValue_Structures_A_b_LiteralInteger37); + AddToElementRepository("LiteralUnlimitedNatural38", DefaultValue_Structures_A_b_LiteralUnlimitedNatural38); + AddToElementRepository("OpaqueExpression39", DefaultValue_Structures_A_b_OpaqueExpression39); + AddToElementRepository("bDefaultValues", DefaultValue_Structures_A_bDefaultValues); + AddToElementRepository("bList", DefaultValue_Structures_A_bDefaultValues_bList); + AddToElementRepository("LiteralInteger40", DefaultValue_Structures_A_bDefaultValues_bList_LiteralInteger40); + AddToElementRepository("LiteralUnlimitedNatural41", DefaultValue_Structures_A_bDefaultValues_bList_LiteralUnlimitedNatural41); + AddToElementRepository("ObjectFlow42", DefaultValue_Structures_A_bDefaultValues_ObjectFlow42); + AddToElementRepository("LiteralBoolean43", DefaultValue_Structures_A_bDefaultValues_ObjectFlow42_LiteralBoolean43); + AddToElementRepository("LiteralInteger44", DefaultValue_Structures_A_bDefaultValues_ObjectFlow42_LiteralInteger44); + AddToElementRepository("Integer(4)", DefaultValue_Structures_A_bDefaultValues_Integer_4); + AddToElementRepository("LiteralInteger45", DefaultValue_Structures_A_bDefaultValues_Integer_4_LiteralInteger45); + AddToElementRepository("result", DefaultValue_Structures_A_bDefaultValues_Integer_4_result); + AddToElementRepository("LiteralUnlimitedNatural46", DefaultValue_Structures_A_bDefaultValues_Integer_4_result_LiteralUnlimitedNatural46); + AddToElementRepository("LiteralInteger47", DefaultValue_Structures_A_bDefaultValues_Integer_4_result_LiteralInteger47); + AddToElementRepository("B_2.p", DefaultValue_Structures_A_bDefaultValues_B_2_p); + AddToElementRepository("object", DefaultValue_Structures_A_bDefaultValues_B_2_p_object); + AddToElementRepository("LiteralUnlimitedNatural48", DefaultValue_Structures_A_bDefaultValues_B_2_p_object_LiteralUnlimitedNatural48); + AddToElementRepository("LiteralInteger49", DefaultValue_Structures_A_bDefaultValues_B_2_p_object_LiteralInteger49); + AddToElementRepository("result", DefaultValue_Structures_A_bDefaultValues_B_2_p_result); + AddToElementRepository("LiteralUnlimitedNatural50", DefaultValue_Structures_A_bDefaultValues_B_2_p_result_LiteralUnlimitedNatural50); + AddToElementRepository("LiteralInteger51", DefaultValue_Structures_A_bDefaultValues_B_2_p_result_LiteralInteger51); + AddToElementRepository("value", DefaultValue_Structures_A_bDefaultValues_B_2_p_value); + AddToElementRepository("LiteralUnlimitedNatural52", DefaultValue_Structures_A_bDefaultValues_B_2_p_value_LiteralUnlimitedNatural52); + AddToElementRepository("LiteralInteger53", DefaultValue_Structures_A_bDefaultValues_B_2_p_value_LiteralInteger53); + AddToElementRepository("Create B_1", DefaultValue_Structures_A_bDefaultValues_Create_B_1); + AddToElementRepository("result", DefaultValue_Structures_A_bDefaultValues_Create_B_1_result); + AddToElementRepository("LiteralInteger54", DefaultValue_Structures_A_bDefaultValues_Create_B_1_result_LiteralInteger54); + AddToElementRepository("LiteralUnlimitedNatural55", DefaultValue_Structures_A_bDefaultValues_Create_B_1_result_LiteralUnlimitedNatural55); + AddToElementRepository("ControlFlow56", DefaultValue_Structures_A_bDefaultValues_ControlFlow56); + AddToElementRepository("ObjectFlow57", DefaultValue_Structures_A_bDefaultValues_ObjectFlow57); + AddToElementRepository("LiteralBoolean58", DefaultValue_Structures_A_bDefaultValues_ObjectFlow57_LiteralBoolean58); + AddToElementRepository("LiteralInteger59", DefaultValue_Structures_A_bDefaultValues_ObjectFlow57_LiteralInteger59); + AddToElementRepository("bList_node", DefaultValue_Structures_A_bDefaultValues_bList_node); + AddToElementRepository("ObjectFlow60", DefaultValue_Structures_A_bDefaultValues_ObjectFlow60); + AddToElementRepository("LiteralBoolean61", DefaultValue_Structures_A_bDefaultValues_ObjectFlow60_LiteralBoolean61); + AddToElementRepository("LiteralInteger62", DefaultValue_Structures_A_bDefaultValues_ObjectFlow60_LiteralInteger62); + AddToElementRepository("Create B_2", DefaultValue_Structures_A_bDefaultValues_Create_B_2); + AddToElementRepository("result", DefaultValue_Structures_A_bDefaultValues_Create_B_2_result); + AddToElementRepository("LiteralUnlimitedNatural63", DefaultValue_Structures_A_bDefaultValues_Create_B_2_result_LiteralUnlimitedNatural63); + AddToElementRepository("LiteralInteger64", DefaultValue_Structures_A_bDefaultValues_Create_B_2_result_LiteralInteger64); + AddToElementRepository("ObjectFlow65", DefaultValue_Structures_A_bDefaultValues_ObjectFlow65); + AddToElementRepository("LiteralBoolean66", DefaultValue_Structures_A_bDefaultValues_ObjectFlow65_LiteralBoolean66); + AddToElementRepository("LiteralInteger67", DefaultValue_Structures_A_bDefaultValues_ObjectFlow65_LiteralInteger67); + AddToElementRepository("ObjectFlow68", DefaultValue_Structures_A_bDefaultValues_ObjectFlow68); + AddToElementRepository("LiteralInteger69", DefaultValue_Structures_A_bDefaultValues_ObjectFlow68_LiteralInteger69); + AddToElementRepository("LiteralBoolean70", DefaultValue_Structures_A_bDefaultValues_ObjectFlow68_LiteralBoolean70); + AddToElementRepository("ObjectFlow71", DefaultValue_Structures_A_bDefaultValues_ObjectFlow71); + AddToElementRepository("LiteralInteger72", DefaultValue_Structures_A_bDefaultValues_ObjectFlow71_LiteralInteger72); + AddToElementRepository("LiteralBoolean73", DefaultValue_Structures_A_bDefaultValues_ObjectFlow71_LiteralBoolean73); + AddToElementRepository("ObjectFlow74", DefaultValue_Structures_A_bDefaultValues_ObjectFlow74); + AddToElementRepository("LiteralBoolean75", DefaultValue_Structures_A_bDefaultValues_ObjectFlow74_LiteralBoolean75); + AddToElementRepository("LiteralInteger76", DefaultValue_Structures_A_bDefaultValues_ObjectFlow74_LiteralInteger76); + AddToElementRepository("ControlFlow77", DefaultValue_Structures_A_bDefaultValues_ControlFlow77); + AddToElementRepository("B_4.p", DefaultValue_Structures_A_bDefaultValues_B_4_p); + AddToElementRepository("value", DefaultValue_Structures_A_bDefaultValues_B_4_p_value); + AddToElementRepository("LiteralUnlimitedNatural78", DefaultValue_Structures_A_bDefaultValues_B_4_p_value_LiteralUnlimitedNatural78); + AddToElementRepository("LiteralInteger79", DefaultValue_Structures_A_bDefaultValues_B_4_p_value_LiteralInteger79); + AddToElementRepository("object", DefaultValue_Structures_A_bDefaultValues_B_4_p_object); + AddToElementRepository("LiteralInteger80", DefaultValue_Structures_A_bDefaultValues_B_4_p_object_LiteralInteger80); + AddToElementRepository("LiteralUnlimitedNatural81", DefaultValue_Structures_A_bDefaultValues_B_4_p_object_LiteralUnlimitedNatural81); + AddToElementRepository("result", DefaultValue_Structures_A_bDefaultValues_B_4_p_result); + AddToElementRepository("LiteralUnlimitedNatural82", DefaultValue_Structures_A_bDefaultValues_B_4_p_result_LiteralUnlimitedNatural82); + AddToElementRepository("LiteralInteger83", DefaultValue_Structures_A_bDefaultValues_B_4_p_result_LiteralInteger83); + AddToElementRepository("Integer(2)", DefaultValue_Structures_A_bDefaultValues_Integer_2); + AddToElementRepository("LiteralInteger84", DefaultValue_Structures_A_bDefaultValues_Integer_2_LiteralInteger84); + AddToElementRepository("result", DefaultValue_Structures_A_bDefaultValues_Integer_2_result); + AddToElementRepository("LiteralUnlimitedNatural85", DefaultValue_Structures_A_bDefaultValues_Integer_2_result_LiteralUnlimitedNatural85); + AddToElementRepository("LiteralInteger86", DefaultValue_Structures_A_bDefaultValues_Integer_2_result_LiteralInteger86); + AddToElementRepository("ObjectFlow87", DefaultValue_Structures_A_bDefaultValues_ObjectFlow87); + AddToElementRepository("LiteralInteger88", DefaultValue_Structures_A_bDefaultValues_ObjectFlow87_LiteralInteger88); + AddToElementRepository("LiteralBoolean89", DefaultValue_Structures_A_bDefaultValues_ObjectFlow87_LiteralBoolean89); + AddToElementRepository("B_1.p", DefaultValue_Structures_A_bDefaultValues_B_1_p); + AddToElementRepository("object", DefaultValue_Structures_A_bDefaultValues_B_1_p_object); + AddToElementRepository("LiteralUnlimitedNatural90", DefaultValue_Structures_A_bDefaultValues_B_1_p_object_LiteralUnlimitedNatural90); + AddToElementRepository("LiteralInteger91", DefaultValue_Structures_A_bDefaultValues_B_1_p_object_LiteralInteger91); + AddToElementRepository("result", DefaultValue_Structures_A_bDefaultValues_B_1_p_result); + AddToElementRepository("LiteralInteger92", DefaultValue_Structures_A_bDefaultValues_B_1_p_result_LiteralInteger92); + AddToElementRepository("LiteralUnlimitedNatural93", DefaultValue_Structures_A_bDefaultValues_B_1_p_result_LiteralUnlimitedNatural93); + AddToElementRepository("value", DefaultValue_Structures_A_bDefaultValues_B_1_p_value); + AddToElementRepository("LiteralUnlimitedNatural94", DefaultValue_Structures_A_bDefaultValues_B_1_p_value_LiteralUnlimitedNatural94); + AddToElementRepository("LiteralInteger95", DefaultValue_Structures_A_bDefaultValues_B_1_p_value_LiteralInteger95); + AddToElementRepository("ObjectFlow96", DefaultValue_Structures_A_bDefaultValues_ObjectFlow96); + AddToElementRepository("LiteralBoolean97", DefaultValue_Structures_A_bDefaultValues_ObjectFlow96_LiteralBoolean97); + AddToElementRepository("LiteralInteger98", DefaultValue_Structures_A_bDefaultValues_ObjectFlow96_LiteralInteger98); + AddToElementRepository("ObjectFlow99", DefaultValue_Structures_A_bDefaultValues_ObjectFlow99); + AddToElementRepository("LiteralBoolean100", DefaultValue_Structures_A_bDefaultValues_ObjectFlow99_LiteralBoolean100); + AddToElementRepository("LiteralInteger101", DefaultValue_Structures_A_bDefaultValues_ObjectFlow99_LiteralInteger101); + AddToElementRepository("ObjectFlow102", DefaultValue_Structures_A_bDefaultValues_ObjectFlow102); + AddToElementRepository("LiteralInteger103", DefaultValue_Structures_A_bDefaultValues_ObjectFlow102_LiteralInteger103); + AddToElementRepository("LiteralBoolean104", DefaultValue_Structures_A_bDefaultValues_ObjectFlow102_LiteralBoolean104); + AddToElementRepository("ControlFlow105", DefaultValue_Structures_A_bDefaultValues_ControlFlow105); + AddToElementRepository("B_3.p", DefaultValue_Structures_A_bDefaultValues_B_3_p); + AddToElementRepository("result", DefaultValue_Structures_A_bDefaultValues_B_3_p_result); + AddToElementRepository("LiteralUnlimitedNatural106", DefaultValue_Structures_A_bDefaultValues_B_3_p_result_LiteralUnlimitedNatural106); + AddToElementRepository("LiteralInteger107", DefaultValue_Structures_A_bDefaultValues_B_3_p_result_LiteralInteger107); + AddToElementRepository("value", DefaultValue_Structures_A_bDefaultValues_B_3_p_value); + AddToElementRepository("LiteralInteger108", DefaultValue_Structures_A_bDefaultValues_B_3_p_value_LiteralInteger108); + AddToElementRepository("LiteralUnlimitedNatural109", DefaultValue_Structures_A_bDefaultValues_B_3_p_value_LiteralUnlimitedNatural109); + AddToElementRepository("object", DefaultValue_Structures_A_bDefaultValues_B_3_p_object); + AddToElementRepository("LiteralInteger110", DefaultValue_Structures_A_bDefaultValues_B_3_p_object_LiteralInteger110); + AddToElementRepository("LiteralUnlimitedNatural111", DefaultValue_Structures_A_bDefaultValues_B_3_p_object_LiteralUnlimitedNatural111); + AddToElementRepository("Create B_3", DefaultValue_Structures_A_bDefaultValues_Create_B_3); + AddToElementRepository("result", DefaultValue_Structures_A_bDefaultValues_Create_B_3_result); + AddToElementRepository("LiteralInteger112", DefaultValue_Structures_A_bDefaultValues_Create_B_3_result_LiteralInteger112); + AddToElementRepository("LiteralUnlimitedNatural113", DefaultValue_Structures_A_bDefaultValues_Create_B_3_result_LiteralUnlimitedNatural113); + AddToElementRepository("ObjectFlow114", DefaultValue_Structures_A_bDefaultValues_ObjectFlow114); + AddToElementRepository("LiteralBoolean115", DefaultValue_Structures_A_bDefaultValues_ObjectFlow114_LiteralBoolean115); + AddToElementRepository("LiteralInteger116", DefaultValue_Structures_A_bDefaultValues_ObjectFlow114_LiteralInteger116); + AddToElementRepository("Create B_4", DefaultValue_Structures_A_bDefaultValues_Create_B_4); + AddToElementRepository("result", DefaultValue_Structures_A_bDefaultValues_Create_B_4_result); + AddToElementRepository("LiteralUnlimitedNatural117", DefaultValue_Structures_A_bDefaultValues_Create_B_4_result_LiteralUnlimitedNatural117); + AddToElementRepository("LiteralInteger118", DefaultValue_Structures_A_bDefaultValues_Create_B_4_result_LiteralInteger118); + AddToElementRepository("Integer(3)", DefaultValue_Structures_A_bDefaultValues_Integer_3); + AddToElementRepository("result", DefaultValue_Structures_A_bDefaultValues_Integer_3_result); + AddToElementRepository("LiteralUnlimitedNatural119", DefaultValue_Structures_A_bDefaultValues_Integer_3_result_LiteralUnlimitedNatural119); + AddToElementRepository("LiteralInteger120", DefaultValue_Structures_A_bDefaultValues_Integer_3_result_LiteralInteger120); + AddToElementRepository("LiteralInteger121", DefaultValue_Structures_A_bDefaultValues_Integer_3_LiteralInteger121); + AddToElementRepository("Integer(1)", DefaultValue_Structures_A_bDefaultValues_Integer_1); + AddToElementRepository("result", DefaultValue_Structures_A_bDefaultValues_Integer_1_result); + AddToElementRepository("LiteralUnlimitedNatural122", DefaultValue_Structures_A_bDefaultValues_Integer_1_result_LiteralUnlimitedNatural122); + AddToElementRepository("LiteralInteger123", DefaultValue_Structures_A_bDefaultValues_Integer_1_result_LiteralInteger123); + AddToElementRepository("LiteralInteger124", DefaultValue_Structures_A_bDefaultValues_Integer_1_LiteralInteger124); + AddToElementRepository("A_A", DefaultValue_Structures_A_A_A); + AddToElementRepository("result", DefaultValue_Structures_A_A_A_result); + AddToElementRepository("B", DefaultValue_Structures_B); + AddToElementRepository("p", DefaultValue_Structures_B_p); + AddToElementRepository("B_B", DefaultValue_Structures_B_B_B); + AddToElementRepository("result", DefaultValue_Structures_B_B_B_result); + AddToElementRepository("main", DefaultValue_Structures_main); + AddToElementRepository("instantiate_A", DefaultValue_Structures_main_instantiate_A); + AddToElementRepository("a", DefaultValue_Structures_main_instantiate_A_a); + AddToElementRepository("LiteralUnlimitedNatural125", DefaultValue_Structures_main_instantiate_A_a_LiteralUnlimitedNatural125); + AddToElementRepository("LiteralInteger126", DefaultValue_Structures_main_instantiate_A_a_LiteralInteger126); + AddToElementRepository("LiteralInteger127", DefaultValue_Structures_main_instantiate_A_a_LiteralInteger127); + AddToElementRepository("assert_A", DefaultValue_Structures_main_assert_A); + AddToElementRepository("a", DefaultValue_Structures_main_assert_A_a); + AddToElementRepository("LiteralUnlimitedNatural128", DefaultValue_Structures_main_assert_A_a_LiteralUnlimitedNatural128); + AddToElementRepository("LiteralInteger129", DefaultValue_Structures_main_assert_A_a_LiteralInteger129); + AddToElementRepository("LiteralInteger130", DefaultValue_Structures_main_assert_A_a_LiteralInteger130); + AddToElementRepository("ObjectFlow131", DefaultValue_Structures_main_ObjectFlow131); + AddToElementRepository("LiteralInteger132", DefaultValue_Structures_main_ObjectFlow131_LiteralInteger132); + AddToElementRepository("LiteralBoolean133", DefaultValue_Structures_main_ObjectFlow131_LiteralBoolean133); + + // Initialize public members + /* + * Model DefaultValue_Structures + */ + DefaultValue_Structures.SetName("DefaultValue_Structures"); + DefaultValue_Structures.SetVisibility(VisibilityKind.public_); + // Activity instantiate_A + DefaultValue_Structures_instantiate_A.SetName("instantiate_A"); + DefaultValue_Structures_instantiate_A.SetVisibility(VisibilityKind.public_); + + // Parameter a + DefaultValue_Structures_instantiate_A_a.SetName("a"); + DefaultValue_Structures_instantiate_A_a.SetVisibility(VisibilityKind.public_); + + DefaultValue_Structures_instantiate_A_a.SetType(DefaultValue_Structures_A); + DefaultValue_Structures_instantiate_A_a.SetDirection(ParameterDirectionKind.return_); + DefaultValue_Structures_instantiate_A.AddOwnedParameter(DefaultValue_Structures_instantiate_A_a); + // CreateObjectAction Create_A + DefaultValue_Structures_instantiate_A_Create_A.SetName("Create_A"); + DefaultValue_Structures_instantiate_A_Create_A.SetVisibility(VisibilityKind.public_); + DefaultValue_Structures_instantiate_A_Create_A.SetClassifier(DefaultValue_Structures_A); + // OutputPin result + DefaultValue_Structures_instantiate_A_Create_A_result.SetName("result"); + DefaultValue_Structures_instantiate_A_Create_A_result.SetVisibility(VisibilityKind.public_); + DefaultValue_Structures_instantiate_A_Create_A_result.SetType(DefaultValue_Structures_A); + DefaultValue_Structures_instantiate_A_Create_A.SetResult(DefaultValue_Structures_instantiate_A_Create_A_result); + DefaultValue_Structures_instantiate_A.AddNode(DefaultValue_Structures_instantiate_A_Create_A); + // ActivityParameterNode a_node + DefaultValue_Structures_instantiate_A_a_node.SetName("a_node"); + DefaultValue_Structures_instantiate_A_a_node.SetVisibility(VisibilityKind.public_); + + DefaultValue_Structures_instantiate_A_a_node.SetParameter(DefaultValue_Structures_instantiate_A_a); + DefaultValue_Structures_instantiate_A.AddNode(DefaultValue_Structures_instantiate_A_a_node); + // CallOperationAction A() + DefaultValue_Structures_instantiate_A_A_.SetName("A()"); + DefaultValue_Structures_instantiate_A_A_.SetVisibility(VisibilityKind.public_); + + // OutputPin result + DefaultValue_Structures_instantiate_A_A__result.SetName("result"); + DefaultValue_Structures_instantiate_A_A__result.SetVisibility(VisibilityKind.public_); + DefaultValue_Structures_instantiate_A_A__result.SetType(DefaultValue_Structures_A); + DefaultValue_Structures_instantiate_A_A_.AddResult(DefaultValue_Structures_instantiate_A_A__result); + DefaultValue_Structures_instantiate_A_A_.SetOperation(DefaultValue_Structures_A_A_A); + // InputPin target + DefaultValue_Structures_instantiate_A_A__target.SetName("target"); + DefaultValue_Structures_instantiate_A_A__target.SetVisibility(VisibilityKind.public_); + DefaultValue_Structures_instantiate_A_A__target.SetType(DefaultValue_Structures_A); + DefaultValue_Structures_instantiate_A_A_.SetTarget(DefaultValue_Structures_instantiate_A_A__target); + DefaultValue_Structures_instantiate_A.AddNode(DefaultValue_Structures_instantiate_A_A_); + // ObjectFlow ObjectFlow3 from result to target + DefaultValue_Structures_instantiate_A_ObjectFlow3.SetName("ObjectFlow3"); + DefaultValue_Structures_instantiate_A_ObjectFlow3.SetVisibility(VisibilityKind.public_); + + DefaultValue_Structures_instantiate_A_ObjectFlow3.SetSource(DefaultValue_Structures_instantiate_A_Create_A_result); + DefaultValue_Structures_instantiate_A_ObjectFlow3.SetTarget(DefaultValue_Structures_instantiate_A_A__target); + // LiteralBoolean LiteralBoolean4 + DefaultValue_Structures_instantiate_A_ObjectFlow3_LiteralBoolean4.SetName("LiteralBoolean4"); + DefaultValue_Structures_instantiate_A_ObjectFlow3_LiteralBoolean4.SetVisibility(VisibilityKind.public_); + DefaultValue_Structures_instantiate_A_ObjectFlow3_LiteralBoolean4.SetValue(true); + DefaultValue_Structures_instantiate_A_ObjectFlow3.SetGuard(DefaultValue_Structures_instantiate_A_ObjectFlow3_LiteralBoolean4); + DefaultValue_Structures_instantiate_A.AddEdge(DefaultValue_Structures_instantiate_A_ObjectFlow3); + // ObjectFlow ObjectFlow11 from result to a_node + DefaultValue_Structures_instantiate_A_ObjectFlow11.SetName("ObjectFlow11"); + DefaultValue_Structures_instantiate_A_ObjectFlow11.SetVisibility(VisibilityKind.public_); + + DefaultValue_Structures_instantiate_A_ObjectFlow11.SetSource(DefaultValue_Structures_instantiate_A_A__result); + DefaultValue_Structures_instantiate_A_ObjectFlow11.SetTarget(DefaultValue_Structures_instantiate_A_a_node); + // LiteralBoolean LiteralBoolean13 + DefaultValue_Structures_instantiate_A_ObjectFlow11_LiteralBoolean13.SetName("LiteralBoolean13"); + DefaultValue_Structures_instantiate_A_ObjectFlow11_LiteralBoolean13.SetVisibility(VisibilityKind.public_); + DefaultValue_Structures_instantiate_A_ObjectFlow11_LiteralBoolean13.SetValue(true); + DefaultValue_Structures_instantiate_A_ObjectFlow11.SetGuard(DefaultValue_Structures_instantiate_A_ObjectFlow11_LiteralBoolean13); + DefaultValue_Structures_instantiate_A.AddEdge(DefaultValue_Structures_instantiate_A_ObjectFlow11); + DefaultValue_Structures.AddPackagedElement(DefaultValue_Structures_instantiate_A); + // Activity assert_A + DefaultValue_Structures_assert_A.SetName("assert_A"); + DefaultValue_Structures_assert_A.SetVisibility(VisibilityKind.public_); + // FunctionBehavior testDefaultValues + DefaultValue_Structures_assert_A_testDefaultValues.SetName("testDefaultValues"); + DefaultValue_Structures_assert_A_testDefaultValues.SetVisibility(VisibilityKind.public_); + + // Parameter pList + DefaultValue_Structures_assert_A_testDefaultValues_pList.SetName("pList"); + DefaultValue_Structures_assert_A_testDefaultValues_pList.SetVisibility(VisibilityKind.public_); + DefaultValue_Structures_assert_A_testDefaultValues_pList.SetUpper(-1); + DefaultValue_Structures_assert_A_testDefaultValues_pList.SetLower(4); + DefaultValue_Structures_assert_A_testDefaultValues_pList.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + DefaultValue_Structures_assert_A_testDefaultValues.AddOwnedParameter(DefaultValue_Structures_assert_A_testDefaultValues_pList); + DefaultValue_Structures_assert_A_testDefaultValues.AddLanguage("C#"); + DefaultValue_Structures_assert_A_testDefaultValues.AddLanguage("Using"); + DefaultValue_Structures_assert_A_testDefaultValues.AddBody("List values = inputParameters.ElementAt(0).values; int index = 1; for(Value value in values) { Console.WriteLine(\"Asserting a.b[\" + index + \"].p == \" + index); // Test parameter p[i] int p =((IntegerValue)value).value; Debug.Println(\"[doBody] argument p[\" + index + \"] = \" + p); Console.WriteLine(\"a.b[\" + index + \"].p == \" + p); Console.Write(\"Default value correctly evaluated: \"); if(p == index) { Console.ForegroundColor = ConsoleColor.Green; Console.WriteLine(\"Assertion successful.\"); } else { Console.ForegroundColor = ConsoleColor.Red; Console.WriteLine(\"Assertion failed!\"); } Console.ResetColor(); index++; }"); + DefaultValue_Structures_assert_A_testDefaultValues.AddBody("using fuml.semantics.simpleclassifiers;"); + DefaultValue_Structures_assert_A.AddOwnedBehavior(DefaultValue_Structures_assert_A_testDefaultValues); + // Parameter a + DefaultValue_Structures_assert_A_a.SetName("a"); + DefaultValue_Structures_assert_A_a.SetVisibility(VisibilityKind.public_); + DefaultValue_Structures_assert_A.AddOwnedParameter(DefaultValue_Structures_assert_A_a); + // ReadStructuralFeatureAction Read a.b + DefaultValue_Structures_assert_A_Read_a_b.SetName("Read a.b"); + DefaultValue_Structures_assert_A_Read_a_b.SetVisibility(VisibilityKind.public_); + DefaultValue_Structures_assert_A_Read_a_b.SetStructuralFeature(DefaultValue_Structures_A_b); + // InputPin object + DefaultValue_Structures_assert_A_Read_a_b_object.SetName("object"); + DefaultValue_Structures_assert_A_Read_a_b_object.SetVisibility(VisibilityKind.public_); + DefaultValue_Structures_assert_A_Read_a_b_object.SetType(DefaultValue_Structures_A); + DefaultValue_Structures_assert_A_Read_a_b.SetObject(DefaultValue_Structures_assert_A_Read_a_b_object); + // OutputPin result + DefaultValue_Structures_assert_A_Read_a_b_result.SetName("result"); + DefaultValue_Structures_assert_A_Read_a_b_result.SetVisibility(VisibilityKind.public_); + DefaultValue_Structures_assert_A_Read_a_b_result.SetType(DefaultValue_Structures_B); + DefaultValue_Structures_assert_A_Read_a_b_result.SetUpper(-1); + DefaultValue_Structures_assert_A_Read_a_b_result.SetLower(4); + DefaultValue_Structures_assert_A_Read_a_b.SetResult(DefaultValue_Structures_assert_A_Read_a_b_result); + DefaultValue_Structures_assert_A.AddNode(DefaultValue_Structures_assert_A_Read_a_b); + // CallBehaviorAction Test Default Values + DefaultValue_Structures_assert_A_Test_Default_Values.SetName("Test Default Values"); + DefaultValue_Structures_assert_A_Test_Default_Values.SetVisibility(VisibilityKind.public_); + DefaultValue_Structures_assert_A_Test_Default_Values.SetBehavior(DefaultValue_Structures_assert_A_testDefaultValues); + // InputPin pList + DefaultValue_Structures_assert_A_Test_Default_Values_pList.SetName("pList"); + DefaultValue_Structures_assert_A_Test_Default_Values_pList.SetVisibility(VisibilityKind.public_); + DefaultValue_Structures_assert_A_Test_Default_Values_pList.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + DefaultValue_Structures_assert_A_Test_Default_Values_pList.SetUpper(-1); + DefaultValue_Structures_assert_A_Test_Default_Values_pList.SetLower(4); + DefaultValue_Structures_assert_A_Test_Default_Values.AddArgument(DefaultValue_Structures_assert_A_Test_Default_Values_pList); + DefaultValue_Structures_assert_A.AddNode(DefaultValue_Structures_assert_A_Test_Default_Values); + // ReadStructuralFeatureAction Read b.p + DefaultValue_Structures_assert_A_Read_b_p.SetName("Read b.p"); + DefaultValue_Structures_assert_A_Read_b_p.SetVisibility(VisibilityKind.public_); + DefaultValue_Structures_assert_A_Read_b_p.SetStructuralFeature(DefaultValue_Structures_B_p); + // InputPin object + DefaultValue_Structures_assert_A_Read_b_p_object.SetName("object"); + DefaultValue_Structures_assert_A_Read_b_p_object.SetVisibility(VisibilityKind.public_); + DefaultValue_Structures_assert_A_Read_b_p_object.SetType(DefaultValue_Structures_B); + DefaultValue_Structures_assert_A_Read_b_p.SetObject(DefaultValue_Structures_assert_A_Read_b_p_object); + // OutputPin result + DefaultValue_Structures_assert_A_Read_b_p_result.SetName("result"); + DefaultValue_Structures_assert_A_Read_b_p_result.SetVisibility(VisibilityKind.public_); + DefaultValue_Structures_assert_A_Read_b_p_result.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + DefaultValue_Structures_assert_A_Read_b_p.SetResult(DefaultValue_Structures_assert_A_Read_b_p_result); + DefaultValue_Structures_assert_A.AddNode(DefaultValue_Structures_assert_A_Read_b_p); + // ActivityParameterNode a_node + DefaultValue_Structures_assert_A_a_node.SetName("a_node"); + DefaultValue_Structures_assert_A_a_node.SetVisibility(VisibilityKind.public_); + + DefaultValue_Structures_assert_A_a_node.SetParameter(DefaultValue_Structures_assert_A_a); + DefaultValue_Structures_assert_A.AddNode(DefaultValue_Structures_assert_A_a_node); + // ObjectFlow ObjectFlow20 from a_node to object + DefaultValue_Structures_assert_A_ObjectFlow20.SetName("ObjectFlow20"); + DefaultValue_Structures_assert_A_ObjectFlow20.SetVisibility(VisibilityKind.public_); + + DefaultValue_Structures_assert_A_ObjectFlow20.SetSource(DefaultValue_Structures_assert_A_a_node); + DefaultValue_Structures_assert_A_ObjectFlow20.SetTarget(DefaultValue_Structures_assert_A_Read_a_b_object); + // LiteralBoolean LiteralBoolean22 + DefaultValue_Structures_assert_A_ObjectFlow20_LiteralBoolean22.SetName("LiteralBoolean22"); + DefaultValue_Structures_assert_A_ObjectFlow20_LiteralBoolean22.SetVisibility(VisibilityKind.public_); + DefaultValue_Structures_assert_A_ObjectFlow20_LiteralBoolean22.SetValue(true); + DefaultValue_Structures_assert_A_ObjectFlow20.SetGuard(DefaultValue_Structures_assert_A_ObjectFlow20_LiteralBoolean22); + DefaultValue_Structures_assert_A.AddEdge(DefaultValue_Structures_assert_A_ObjectFlow20); + // ObjectFlow ObjectFlow23 from result to pList + DefaultValue_Structures_assert_A_ObjectFlow23.SetName("ObjectFlow23"); + DefaultValue_Structures_assert_A_ObjectFlow23.SetVisibility(VisibilityKind.public_); + + DefaultValue_Structures_assert_A_ObjectFlow23.SetSource(DefaultValue_Structures_assert_A_Read_b_p_result); + DefaultValue_Structures_assert_A_ObjectFlow23.SetTarget(DefaultValue_Structures_assert_A_Test_Default_Values_pList); + // LiteralBoolean LiteralBoolean24 + DefaultValue_Structures_assert_A_ObjectFlow23_LiteralBoolean24.SetName("LiteralBoolean24"); + DefaultValue_Structures_assert_A_ObjectFlow23_LiteralBoolean24.SetVisibility(VisibilityKind.public_); + DefaultValue_Structures_assert_A_ObjectFlow23_LiteralBoolean24.SetValue(true); + DefaultValue_Structures_assert_A_ObjectFlow23.SetGuard(DefaultValue_Structures_assert_A_ObjectFlow23_LiteralBoolean24); + DefaultValue_Structures_assert_A.AddEdge(DefaultValue_Structures_assert_A_ObjectFlow23); + // ObjectFlow ObjectFlow29 from result to object + DefaultValue_Structures_assert_A_ObjectFlow29.SetName("ObjectFlow29"); + DefaultValue_Structures_assert_A_ObjectFlow29.SetVisibility(VisibilityKind.public_); + + DefaultValue_Structures_assert_A_ObjectFlow29.SetSource(DefaultValue_Structures_assert_A_Read_a_b_result); + DefaultValue_Structures_assert_A_ObjectFlow29.SetTarget(DefaultValue_Structures_assert_A_Read_b_p_object); + // LiteralBoolean LiteralBoolean30 + DefaultValue_Structures_assert_A_ObjectFlow29_LiteralBoolean30.SetName("LiteralBoolean30"); + DefaultValue_Structures_assert_A_ObjectFlow29_LiteralBoolean30.SetVisibility(VisibilityKind.public_); + DefaultValue_Structures_assert_A_ObjectFlow29_LiteralBoolean30.SetValue(true); + DefaultValue_Structures_assert_A_ObjectFlow29.SetGuard(DefaultValue_Structures_assert_A_ObjectFlow29_LiteralBoolean30); + DefaultValue_Structures_assert_A.AddEdge(DefaultValue_Structures_assert_A_ObjectFlow29); + DefaultValue_Structures.AddPackagedElement(DefaultValue_Structures_assert_A); + // Class A + DefaultValue_Structures_A.SetName("A"); + DefaultValue_Structures_A.SetVisibility(VisibilityKind.public_); + + // Property b + DefaultValue_Structures_A_b.SetName("b"); + DefaultValue_Structures_A_b.SetVisibility(VisibilityKind.public_); + DefaultValue_Structures_A_b.SetUpper(-1); + DefaultValue_Structures_A_b.SetLower(4); + DefaultValue_Structures_A_b.SetType(DefaultValue_Structures_B); + // OpaqueExpression OpaqueExpression39 + DefaultValue_Structures_A_b_OpaqueExpression39.SetName("OpaqueExpression39"); + DefaultValue_Structures_A_b_OpaqueExpression39.SetVisibility(VisibilityKind.public_); + DefaultValue_Structures_A_b_OpaqueExpression39.SetType(DefaultValue_Structures_B); + DefaultValue_Structures_A_b_OpaqueExpression39.SetBehavior(DefaultValue_Structures_A_bDefaultValues); + DefaultValue_Structures_A_b.SetDefaultValue(DefaultValue_Structures_A_b_OpaqueExpression39); + DefaultValue_Structures_A.AddOwnedAttribute(DefaultValue_Structures_A_b); + // Activity bDefaultValues + DefaultValue_Structures_A_bDefaultValues.SetName("bDefaultValues"); + DefaultValue_Structures_A_bDefaultValues.SetVisibility(VisibilityKind.public_); + + // Parameter bList + DefaultValue_Structures_A_bDefaultValues_bList.SetName("bList"); + DefaultValue_Structures_A_bDefaultValues_bList.SetVisibility(VisibilityKind.public_); + DefaultValue_Structures_A_bDefaultValues_bList.SetUpper(-1); + DefaultValue_Structures_A_bDefaultValues_bList.SetLower(0); + DefaultValue_Structures_A_bDefaultValues_bList.SetType(DefaultValue_Structures_B); + DefaultValue_Structures_A_bDefaultValues_bList.SetDirection(ParameterDirectionKind.return_); + DefaultValue_Structures_A_bDefaultValues.AddOwnedParameter(DefaultValue_Structures_A_bDefaultValues_bList); + // AddStructuralFeatureValueAction B_4.p + DefaultValue_Structures_A_bDefaultValues_B_4_p.SetName("B_4.p"); + DefaultValue_Structures_A_bDefaultValues_B_4_p.SetVisibility(VisibilityKind.public_); + DefaultValue_Structures_A_bDefaultValues_B_4_p.SetStructuralFeature(DefaultValue_Structures_B_p); + // InputPin object + DefaultValue_Structures_A_bDefaultValues_B_4_p_object.SetName("object"); + DefaultValue_Structures_A_bDefaultValues_B_4_p_object.SetVisibility(VisibilityKind.public_); + DefaultValue_Structures_A_bDefaultValues_B_4_p_object.SetType(DefaultValue_Structures_B); + DefaultValue_Structures_A_bDefaultValues_B_4_p.SetObject(DefaultValue_Structures_A_bDefaultValues_B_4_p_object); + // InputPin value + DefaultValue_Structures_A_bDefaultValues_B_4_p_value.SetName("value"); + DefaultValue_Structures_A_bDefaultValues_B_4_p_value.SetVisibility(VisibilityKind.public_); + DefaultValue_Structures_A_bDefaultValues_B_4_p_value.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + DefaultValue_Structures_A_bDefaultValues_B_4_p.SetValue(DefaultValue_Structures_A_bDefaultValues_B_4_p_value); + // OutputPin result + DefaultValue_Structures_A_bDefaultValues_B_4_p_result.SetName("result"); + DefaultValue_Structures_A_bDefaultValues_B_4_p_result.SetVisibility(VisibilityKind.public_); + DefaultValue_Structures_A_bDefaultValues_B_4_p_result.SetType(DefaultValue_Structures_B); + DefaultValue_Structures_A_bDefaultValues_B_4_p.SetResult(DefaultValue_Structures_A_bDefaultValues_B_4_p_result); + DefaultValue_Structures_A_bDefaultValues.AddNode(DefaultValue_Structures_A_bDefaultValues_B_4_p); + // ValueSpecificationAction Integer(2) + DefaultValue_Structures_A_bDefaultValues_Integer_2.SetName("Integer(2)"); + DefaultValue_Structures_A_bDefaultValues_Integer_2.SetVisibility(VisibilityKind.public_); + // LiteralInteger LiteralInteger84 + DefaultValue_Structures_A_bDefaultValues_Integer_2_LiteralInteger84.SetName("LiteralInteger84"); + DefaultValue_Structures_A_bDefaultValues_Integer_2_LiteralInteger84.SetVisibility(VisibilityKind.public_); + DefaultValue_Structures_A_bDefaultValues_Integer_2_LiteralInteger84.SetValue(2); + DefaultValue_Structures_A_bDefaultValues_Integer_2.SetValue(DefaultValue_Structures_A_bDefaultValues_Integer_2_LiteralInteger84); + // OutputPin result + DefaultValue_Structures_A_bDefaultValues_Integer_2_result.SetName("result"); + DefaultValue_Structures_A_bDefaultValues_Integer_2_result.SetVisibility(VisibilityKind.public_); + DefaultValue_Structures_A_bDefaultValues_Integer_2_result.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + DefaultValue_Structures_A_bDefaultValues_Integer_2.SetResult(DefaultValue_Structures_A_bDefaultValues_Integer_2_result); + DefaultValue_Structures_A_bDefaultValues.AddNode(DefaultValue_Structures_A_bDefaultValues_Integer_2); + // ValueSpecificationAction Integer(4) + DefaultValue_Structures_A_bDefaultValues_Integer_4.SetName("Integer(4)"); + DefaultValue_Structures_A_bDefaultValues_Integer_4.SetVisibility(VisibilityKind.public_); + // LiteralInteger LiteralInteger45 + DefaultValue_Structures_A_bDefaultValues_Integer_4_LiteralInteger45.SetName("LiteralInteger45"); + DefaultValue_Structures_A_bDefaultValues_Integer_4_LiteralInteger45.SetVisibility(VisibilityKind.public_); + DefaultValue_Structures_A_bDefaultValues_Integer_4_LiteralInteger45.SetValue(4); + DefaultValue_Structures_A_bDefaultValues_Integer_4.SetValue(DefaultValue_Structures_A_bDefaultValues_Integer_4_LiteralInteger45); + // OutputPin result + DefaultValue_Structures_A_bDefaultValues_Integer_4_result.SetName("result"); + DefaultValue_Structures_A_bDefaultValues_Integer_4_result.SetVisibility(VisibilityKind.public_); + DefaultValue_Structures_A_bDefaultValues_Integer_4_result.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + DefaultValue_Structures_A_bDefaultValues_Integer_4.SetResult(DefaultValue_Structures_A_bDefaultValues_Integer_4_result); + DefaultValue_Structures_A_bDefaultValues.AddNode(DefaultValue_Structures_A_bDefaultValues_Integer_4); + // AddStructuralFeatureValueAction B_2.p + DefaultValue_Structures_A_bDefaultValues_B_2_p.SetName("B_2.p"); + DefaultValue_Structures_A_bDefaultValues_B_2_p.SetVisibility(VisibilityKind.public_); + DefaultValue_Structures_A_bDefaultValues_B_2_p.SetStructuralFeature(DefaultValue_Structures_B_p); + // InputPin object + DefaultValue_Structures_A_bDefaultValues_B_2_p_object.SetName("object"); + DefaultValue_Structures_A_bDefaultValues_B_2_p_object.SetVisibility(VisibilityKind.public_); + DefaultValue_Structures_A_bDefaultValues_B_2_p_object.SetType(DefaultValue_Structures_B); + DefaultValue_Structures_A_bDefaultValues_B_2_p.SetObject(DefaultValue_Structures_A_bDefaultValues_B_2_p_object); + // InputPin value + DefaultValue_Structures_A_bDefaultValues_B_2_p_value.SetName("value"); + DefaultValue_Structures_A_bDefaultValues_B_2_p_value.SetVisibility(VisibilityKind.public_); + DefaultValue_Structures_A_bDefaultValues_B_2_p_value.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + DefaultValue_Structures_A_bDefaultValues_B_2_p.SetValue(DefaultValue_Structures_A_bDefaultValues_B_2_p_value); + // OutputPin result + DefaultValue_Structures_A_bDefaultValues_B_2_p_result.SetName("result"); + DefaultValue_Structures_A_bDefaultValues_B_2_p_result.SetVisibility(VisibilityKind.public_); + DefaultValue_Structures_A_bDefaultValues_B_2_p_result.SetType(DefaultValue_Structures_B); + DefaultValue_Structures_A_bDefaultValues_B_2_p.SetResult(DefaultValue_Structures_A_bDefaultValues_B_2_p_result); + DefaultValue_Structures_A_bDefaultValues.AddNode(DefaultValue_Structures_A_bDefaultValues_B_2_p); + // CreateObjectAction Create B_1 + DefaultValue_Structures_A_bDefaultValues_Create_B_1.SetName("Create B_1"); + DefaultValue_Structures_A_bDefaultValues_Create_B_1.SetVisibility(VisibilityKind.public_); + DefaultValue_Structures_A_bDefaultValues_Create_B_1.SetClassifier(DefaultValue_Structures_B); + // OutputPin result + DefaultValue_Structures_A_bDefaultValues_Create_B_1_result.SetName("result"); + DefaultValue_Structures_A_bDefaultValues_Create_B_1_result.SetVisibility(VisibilityKind.public_); + DefaultValue_Structures_A_bDefaultValues_Create_B_1_result.SetType(DefaultValue_Structures_B); + DefaultValue_Structures_A_bDefaultValues_Create_B_1.SetResult(DefaultValue_Structures_A_bDefaultValues_Create_B_1_result); + DefaultValue_Structures_A_bDefaultValues.AddNode(DefaultValue_Structures_A_bDefaultValues_Create_B_1); + // AddStructuralFeatureValueAction B_1.p + DefaultValue_Structures_A_bDefaultValues_B_1_p.SetName("B_1.p"); + DefaultValue_Structures_A_bDefaultValues_B_1_p.SetVisibility(VisibilityKind.public_); + DefaultValue_Structures_A_bDefaultValues_B_1_p.SetStructuralFeature(DefaultValue_Structures_B_p); + // InputPin object + DefaultValue_Structures_A_bDefaultValues_B_1_p_object.SetName("object"); + DefaultValue_Structures_A_bDefaultValues_B_1_p_object.SetVisibility(VisibilityKind.public_); + DefaultValue_Structures_A_bDefaultValues_B_1_p_object.SetType(DefaultValue_Structures_B); + DefaultValue_Structures_A_bDefaultValues_B_1_p.SetObject(DefaultValue_Structures_A_bDefaultValues_B_1_p_object); + // InputPin value + DefaultValue_Structures_A_bDefaultValues_B_1_p_value.SetName("value"); + DefaultValue_Structures_A_bDefaultValues_B_1_p_value.SetVisibility(VisibilityKind.public_); + DefaultValue_Structures_A_bDefaultValues_B_1_p_value.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + DefaultValue_Structures_A_bDefaultValues_B_1_p.SetValue(DefaultValue_Structures_A_bDefaultValues_B_1_p_value); + // OutputPin result + DefaultValue_Structures_A_bDefaultValues_B_1_p_result.SetName("result"); + DefaultValue_Structures_A_bDefaultValues_B_1_p_result.SetVisibility(VisibilityKind.public_); + DefaultValue_Structures_A_bDefaultValues_B_1_p_result.SetType(DefaultValue_Structures_B); + DefaultValue_Structures_A_bDefaultValues_B_1_p.SetResult(DefaultValue_Structures_A_bDefaultValues_B_1_p_result); + DefaultValue_Structures_A_bDefaultValues.AddNode(DefaultValue_Structures_A_bDefaultValues_B_1_p); + // ActivityParameterNode bList_node + DefaultValue_Structures_A_bDefaultValues_bList_node.SetName("bList_node"); + DefaultValue_Structures_A_bDefaultValues_bList_node.SetVisibility(VisibilityKind.public_); + + DefaultValue_Structures_A_bDefaultValues_bList_node.SetParameter(DefaultValue_Structures_A_bDefaultValues_bList); + DefaultValue_Structures_A_bDefaultValues.AddNode(DefaultValue_Structures_A_bDefaultValues_bList_node); + // CreateObjectAction Create B_2 + DefaultValue_Structures_A_bDefaultValues_Create_B_2.SetName("Create B_2"); + DefaultValue_Structures_A_bDefaultValues_Create_B_2.SetVisibility(VisibilityKind.public_); + DefaultValue_Structures_A_bDefaultValues_Create_B_2.SetClassifier(DefaultValue_Structures_B); + // OutputPin result + DefaultValue_Structures_A_bDefaultValues_Create_B_2_result.SetName("result"); + DefaultValue_Structures_A_bDefaultValues_Create_B_2_result.SetVisibility(VisibilityKind.public_); + DefaultValue_Structures_A_bDefaultValues_Create_B_2_result.SetType(DefaultValue_Structures_B); + DefaultValue_Structures_A_bDefaultValues_Create_B_2.SetResult(DefaultValue_Structures_A_bDefaultValues_Create_B_2_result); + DefaultValue_Structures_A_bDefaultValues.AddNode(DefaultValue_Structures_A_bDefaultValues_Create_B_2); + // AddStructuralFeatureValueAction B_3.p + DefaultValue_Structures_A_bDefaultValues_B_3_p.SetName("B_3.p"); + DefaultValue_Structures_A_bDefaultValues_B_3_p.SetVisibility(VisibilityKind.public_); + DefaultValue_Structures_A_bDefaultValues_B_3_p.SetStructuralFeature(DefaultValue_Structures_B_p); + // InputPin object + DefaultValue_Structures_A_bDefaultValues_B_3_p_object.SetName("object"); + DefaultValue_Structures_A_bDefaultValues_B_3_p_object.SetVisibility(VisibilityKind.public_); + DefaultValue_Structures_A_bDefaultValues_B_3_p_object.SetType(DefaultValue_Structures_B); + DefaultValue_Structures_A_bDefaultValues_B_3_p.SetObject(DefaultValue_Structures_A_bDefaultValues_B_3_p_object); + // InputPin value + DefaultValue_Structures_A_bDefaultValues_B_3_p_value.SetName("value"); + DefaultValue_Structures_A_bDefaultValues_B_3_p_value.SetVisibility(VisibilityKind.public_); + DefaultValue_Structures_A_bDefaultValues_B_3_p_value.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + DefaultValue_Structures_A_bDefaultValues_B_3_p.SetValue(DefaultValue_Structures_A_bDefaultValues_B_3_p_value); + // OutputPin result + DefaultValue_Structures_A_bDefaultValues_B_3_p_result.SetName("result"); + DefaultValue_Structures_A_bDefaultValues_B_3_p_result.SetVisibility(VisibilityKind.public_); + DefaultValue_Structures_A_bDefaultValues_B_3_p_result.SetType(DefaultValue_Structures_B); + DefaultValue_Structures_A_bDefaultValues_B_3_p.SetResult(DefaultValue_Structures_A_bDefaultValues_B_3_p_result); + DefaultValue_Structures_A_bDefaultValues.AddNode(DefaultValue_Structures_A_bDefaultValues_B_3_p); + // CreateObjectAction Create B_3 + DefaultValue_Structures_A_bDefaultValues_Create_B_3.SetName("Create B_3"); + DefaultValue_Structures_A_bDefaultValues_Create_B_3.SetVisibility(VisibilityKind.public_); + DefaultValue_Structures_A_bDefaultValues_Create_B_3.SetClassifier(DefaultValue_Structures_B); + // OutputPin result + DefaultValue_Structures_A_bDefaultValues_Create_B_3_result.SetName("result"); + DefaultValue_Structures_A_bDefaultValues_Create_B_3_result.SetVisibility(VisibilityKind.public_); + DefaultValue_Structures_A_bDefaultValues_Create_B_3_result.SetType(DefaultValue_Structures_B); + DefaultValue_Structures_A_bDefaultValues_Create_B_3.SetResult(DefaultValue_Structures_A_bDefaultValues_Create_B_3_result); + DefaultValue_Structures_A_bDefaultValues.AddNode(DefaultValue_Structures_A_bDefaultValues_Create_B_3); + // CreateObjectAction Create B_4 + DefaultValue_Structures_A_bDefaultValues_Create_B_4.SetName("Create B_4"); + DefaultValue_Structures_A_bDefaultValues_Create_B_4.SetVisibility(VisibilityKind.public_); + DefaultValue_Structures_A_bDefaultValues_Create_B_4.SetClassifier(DefaultValue_Structures_B); + // OutputPin result + DefaultValue_Structures_A_bDefaultValues_Create_B_4_result.SetName("result"); + DefaultValue_Structures_A_bDefaultValues_Create_B_4_result.SetVisibility(VisibilityKind.public_); + DefaultValue_Structures_A_bDefaultValues_Create_B_4_result.SetType(DefaultValue_Structures_B); + DefaultValue_Structures_A_bDefaultValues_Create_B_4.SetResult(DefaultValue_Structures_A_bDefaultValues_Create_B_4_result); + DefaultValue_Structures_A_bDefaultValues.AddNode(DefaultValue_Structures_A_bDefaultValues_Create_B_4); + // ValueSpecificationAction Integer(3) + DefaultValue_Structures_A_bDefaultValues_Integer_3.SetName("Integer(3)"); + DefaultValue_Structures_A_bDefaultValues_Integer_3.SetVisibility(VisibilityKind.public_); + // LiteralInteger LiteralInteger121 + DefaultValue_Structures_A_bDefaultValues_Integer_3_LiteralInteger121.SetName("LiteralInteger121"); + DefaultValue_Structures_A_bDefaultValues_Integer_3_LiteralInteger121.SetVisibility(VisibilityKind.public_); + DefaultValue_Structures_A_bDefaultValues_Integer_3_LiteralInteger121.SetValue(3); + DefaultValue_Structures_A_bDefaultValues_Integer_3.SetValue(DefaultValue_Structures_A_bDefaultValues_Integer_3_LiteralInteger121); + // OutputPin result + DefaultValue_Structures_A_bDefaultValues_Integer_3_result.SetName("result"); + DefaultValue_Structures_A_bDefaultValues_Integer_3_result.SetVisibility(VisibilityKind.public_); + DefaultValue_Structures_A_bDefaultValues_Integer_3_result.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + DefaultValue_Structures_A_bDefaultValues_Integer_3.SetResult(DefaultValue_Structures_A_bDefaultValues_Integer_3_result); + DefaultValue_Structures_A_bDefaultValues.AddNode(DefaultValue_Structures_A_bDefaultValues_Integer_3); + // ValueSpecificationAction Integer(1) + DefaultValue_Structures_A_bDefaultValues_Integer_1.SetName("Integer(1)"); + DefaultValue_Structures_A_bDefaultValues_Integer_1.SetVisibility(VisibilityKind.public_); + // LiteralInteger LiteralInteger124 + DefaultValue_Structures_A_bDefaultValues_Integer_1_LiteralInteger124.SetName("LiteralInteger124"); + DefaultValue_Structures_A_bDefaultValues_Integer_1_LiteralInteger124.SetVisibility(VisibilityKind.public_); + DefaultValue_Structures_A_bDefaultValues_Integer_1_LiteralInteger124.SetValue(1); + DefaultValue_Structures_A_bDefaultValues_Integer_1.SetValue(DefaultValue_Structures_A_bDefaultValues_Integer_1_LiteralInteger124); + // OutputPin result + DefaultValue_Structures_A_bDefaultValues_Integer_1_result.SetName("result"); + DefaultValue_Structures_A_bDefaultValues_Integer_1_result.SetVisibility(VisibilityKind.public_); + DefaultValue_Structures_A_bDefaultValues_Integer_1_result.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + DefaultValue_Structures_A_bDefaultValues_Integer_1.SetResult(DefaultValue_Structures_A_bDefaultValues_Integer_1_result); + DefaultValue_Structures_A_bDefaultValues.AddNode(DefaultValue_Structures_A_bDefaultValues_Integer_1); + // ControlFlow ControlFlow77 from B_2.p to Create B_3 + DefaultValue_Structures_A_bDefaultValues_ControlFlow77.SetName("ControlFlow77"); + DefaultValue_Structures_A_bDefaultValues_ControlFlow77.SetVisibility(VisibilityKind.public_); + + DefaultValue_Structures_A_bDefaultValues_ControlFlow77.SetSource(DefaultValue_Structures_A_bDefaultValues_B_2_p); + DefaultValue_Structures_A_bDefaultValues_ControlFlow77.SetTarget(DefaultValue_Structures_A_bDefaultValues_Create_B_3); + DefaultValue_Structures_A_bDefaultValues.AddEdge(DefaultValue_Structures_A_bDefaultValues_ControlFlow77); + // ObjectFlow ObjectFlow42 from result to bList_node + DefaultValue_Structures_A_bDefaultValues_ObjectFlow42.SetName("ObjectFlow42"); + DefaultValue_Structures_A_bDefaultValues_ObjectFlow42.SetVisibility(VisibilityKind.public_); + + DefaultValue_Structures_A_bDefaultValues_ObjectFlow42.SetSource(DefaultValue_Structures_A_bDefaultValues_B_4_p_result); + DefaultValue_Structures_A_bDefaultValues_ObjectFlow42.SetTarget(DefaultValue_Structures_A_bDefaultValues_bList_node); + // LiteralBoolean LiteralBoolean43 + DefaultValue_Structures_A_bDefaultValues_ObjectFlow42_LiteralBoolean43.SetName("LiteralBoolean43"); + DefaultValue_Structures_A_bDefaultValues_ObjectFlow42_LiteralBoolean43.SetVisibility(VisibilityKind.public_); + DefaultValue_Structures_A_bDefaultValues_ObjectFlow42_LiteralBoolean43.SetValue(true); + DefaultValue_Structures_A_bDefaultValues_ObjectFlow42.SetGuard(DefaultValue_Structures_A_bDefaultValues_ObjectFlow42_LiteralBoolean43); + DefaultValue_Structures_A_bDefaultValues.AddEdge(DefaultValue_Structures_A_bDefaultValues_ObjectFlow42); + // ObjectFlow ObjectFlow87 from result to bList_node + DefaultValue_Structures_A_bDefaultValues_ObjectFlow87.SetName("ObjectFlow87"); + DefaultValue_Structures_A_bDefaultValues_ObjectFlow87.SetVisibility(VisibilityKind.public_); + + DefaultValue_Structures_A_bDefaultValues_ObjectFlow87.SetSource(DefaultValue_Structures_A_bDefaultValues_B_2_p_result); + DefaultValue_Structures_A_bDefaultValues_ObjectFlow87.SetTarget(DefaultValue_Structures_A_bDefaultValues_bList_node); + // LiteralBoolean LiteralBoolean89 + DefaultValue_Structures_A_bDefaultValues_ObjectFlow87_LiteralBoolean89.SetName("LiteralBoolean89"); + DefaultValue_Structures_A_bDefaultValues_ObjectFlow87_LiteralBoolean89.SetVisibility(VisibilityKind.public_); + DefaultValue_Structures_A_bDefaultValues_ObjectFlow87_LiteralBoolean89.SetValue(true); + DefaultValue_Structures_A_bDefaultValues_ObjectFlow87.SetGuard(DefaultValue_Structures_A_bDefaultValues_ObjectFlow87_LiteralBoolean89); + DefaultValue_Structures_A_bDefaultValues.AddEdge(DefaultValue_Structures_A_bDefaultValues_ObjectFlow87); + // ControlFlow ControlFlow56 from B_1.p to Create B_2 + DefaultValue_Structures_A_bDefaultValues_ControlFlow56.SetName("ControlFlow56"); + DefaultValue_Structures_A_bDefaultValues_ControlFlow56.SetVisibility(VisibilityKind.public_); + + DefaultValue_Structures_A_bDefaultValues_ControlFlow56.SetSource(DefaultValue_Structures_A_bDefaultValues_B_1_p); + DefaultValue_Structures_A_bDefaultValues_ControlFlow56.SetTarget(DefaultValue_Structures_A_bDefaultValues_Create_B_2); + DefaultValue_Structures_A_bDefaultValues.AddEdge(DefaultValue_Structures_A_bDefaultValues_ControlFlow56); + // ObjectFlow ObjectFlow57 from result to value + DefaultValue_Structures_A_bDefaultValues_ObjectFlow57.SetName("ObjectFlow57"); + DefaultValue_Structures_A_bDefaultValues_ObjectFlow57.SetVisibility(VisibilityKind.public_); + + DefaultValue_Structures_A_bDefaultValues_ObjectFlow57.SetSource(DefaultValue_Structures_A_bDefaultValues_Integer_2_result); + DefaultValue_Structures_A_bDefaultValues_ObjectFlow57.SetTarget(DefaultValue_Structures_A_bDefaultValues_B_2_p_value); + // LiteralBoolean LiteralBoolean58 + DefaultValue_Structures_A_bDefaultValues_ObjectFlow57_LiteralBoolean58.SetName("LiteralBoolean58"); + DefaultValue_Structures_A_bDefaultValues_ObjectFlow57_LiteralBoolean58.SetVisibility(VisibilityKind.public_); + DefaultValue_Structures_A_bDefaultValues_ObjectFlow57_LiteralBoolean58.SetValue(true); + DefaultValue_Structures_A_bDefaultValues_ObjectFlow57.SetGuard(DefaultValue_Structures_A_bDefaultValues_ObjectFlow57_LiteralBoolean58); + DefaultValue_Structures_A_bDefaultValues.AddEdge(DefaultValue_Structures_A_bDefaultValues_ObjectFlow57); + // ObjectFlow ObjectFlow96 from result to object + DefaultValue_Structures_A_bDefaultValues_ObjectFlow96.SetName("ObjectFlow96"); + DefaultValue_Structures_A_bDefaultValues_ObjectFlow96.SetVisibility(VisibilityKind.public_); + + DefaultValue_Structures_A_bDefaultValues_ObjectFlow96.SetSource(DefaultValue_Structures_A_bDefaultValues_Create_B_1_result); + DefaultValue_Structures_A_bDefaultValues_ObjectFlow96.SetTarget(DefaultValue_Structures_A_bDefaultValues_B_1_p_object); + // LiteralBoolean LiteralBoolean97 + DefaultValue_Structures_A_bDefaultValues_ObjectFlow96_LiteralBoolean97.SetName("LiteralBoolean97"); + DefaultValue_Structures_A_bDefaultValues_ObjectFlow96_LiteralBoolean97.SetVisibility(VisibilityKind.public_); + DefaultValue_Structures_A_bDefaultValues_ObjectFlow96_LiteralBoolean97.SetValue(true); + DefaultValue_Structures_A_bDefaultValues_ObjectFlow96.SetGuard(DefaultValue_Structures_A_bDefaultValues_ObjectFlow96_LiteralBoolean97); + DefaultValue_Structures_A_bDefaultValues.AddEdge(DefaultValue_Structures_A_bDefaultValues_ObjectFlow96); + // ObjectFlow ObjectFlow99 from result to value + DefaultValue_Structures_A_bDefaultValues_ObjectFlow99.SetName("ObjectFlow99"); + DefaultValue_Structures_A_bDefaultValues_ObjectFlow99.SetVisibility(VisibilityKind.public_); + + DefaultValue_Structures_A_bDefaultValues_ObjectFlow99.SetSource(DefaultValue_Structures_A_bDefaultValues_Integer_1_result); + DefaultValue_Structures_A_bDefaultValues_ObjectFlow99.SetTarget(DefaultValue_Structures_A_bDefaultValues_B_1_p_value); + // LiteralBoolean LiteralBoolean100 + DefaultValue_Structures_A_bDefaultValues_ObjectFlow99_LiteralBoolean100.SetName("LiteralBoolean100"); + DefaultValue_Structures_A_bDefaultValues_ObjectFlow99_LiteralBoolean100.SetVisibility(VisibilityKind.public_); + DefaultValue_Structures_A_bDefaultValues_ObjectFlow99_LiteralBoolean100.SetValue(true); + DefaultValue_Structures_A_bDefaultValues_ObjectFlow99.SetGuard(DefaultValue_Structures_A_bDefaultValues_ObjectFlow99_LiteralBoolean100); + DefaultValue_Structures_A_bDefaultValues.AddEdge(DefaultValue_Structures_A_bDefaultValues_ObjectFlow99); + // ObjectFlow ObjectFlow60 from result to bList_node + DefaultValue_Structures_A_bDefaultValues_ObjectFlow60.SetName("ObjectFlow60"); + DefaultValue_Structures_A_bDefaultValues_ObjectFlow60.SetVisibility(VisibilityKind.public_); + + DefaultValue_Structures_A_bDefaultValues_ObjectFlow60.SetSource(DefaultValue_Structures_A_bDefaultValues_B_3_p_result); + DefaultValue_Structures_A_bDefaultValues_ObjectFlow60.SetTarget(DefaultValue_Structures_A_bDefaultValues_bList_node); + // LiteralBoolean LiteralBoolean61 + DefaultValue_Structures_A_bDefaultValues_ObjectFlow60_LiteralBoolean61.SetName("LiteralBoolean61"); + DefaultValue_Structures_A_bDefaultValues_ObjectFlow60_LiteralBoolean61.SetVisibility(VisibilityKind.public_); + DefaultValue_Structures_A_bDefaultValues_ObjectFlow60_LiteralBoolean61.SetValue(true); + DefaultValue_Structures_A_bDefaultValues_ObjectFlow60.SetGuard(DefaultValue_Structures_A_bDefaultValues_ObjectFlow60_LiteralBoolean61); + DefaultValue_Structures_A_bDefaultValues.AddEdge(DefaultValue_Structures_A_bDefaultValues_ObjectFlow60); + // ObjectFlow ObjectFlow102 from result to object + DefaultValue_Structures_A_bDefaultValues_ObjectFlow102.SetName("ObjectFlow102"); + DefaultValue_Structures_A_bDefaultValues_ObjectFlow102.SetVisibility(VisibilityKind.public_); + + DefaultValue_Structures_A_bDefaultValues_ObjectFlow102.SetSource(DefaultValue_Structures_A_bDefaultValues_Create_B_3_result); + DefaultValue_Structures_A_bDefaultValues_ObjectFlow102.SetTarget(DefaultValue_Structures_A_bDefaultValues_B_3_p_object); + // LiteralBoolean LiteralBoolean104 + DefaultValue_Structures_A_bDefaultValues_ObjectFlow102_LiteralBoolean104.SetName("LiteralBoolean104"); + DefaultValue_Structures_A_bDefaultValues_ObjectFlow102_LiteralBoolean104.SetVisibility(VisibilityKind.public_); + DefaultValue_Structures_A_bDefaultValues_ObjectFlow102_LiteralBoolean104.SetValue(true); + DefaultValue_Structures_A_bDefaultValues_ObjectFlow102.SetGuard(DefaultValue_Structures_A_bDefaultValues_ObjectFlow102_LiteralBoolean104); + DefaultValue_Structures_A_bDefaultValues.AddEdge(DefaultValue_Structures_A_bDefaultValues_ObjectFlow102); + // ControlFlow ControlFlow105 from B_3.p to Create B_4 + DefaultValue_Structures_A_bDefaultValues_ControlFlow105.SetName("ControlFlow105"); + DefaultValue_Structures_A_bDefaultValues_ControlFlow105.SetVisibility(VisibilityKind.public_); + + DefaultValue_Structures_A_bDefaultValues_ControlFlow105.SetSource(DefaultValue_Structures_A_bDefaultValues_B_3_p); + DefaultValue_Structures_A_bDefaultValues_ControlFlow105.SetTarget(DefaultValue_Structures_A_bDefaultValues_Create_B_4); + DefaultValue_Structures_A_bDefaultValues.AddEdge(DefaultValue_Structures_A_bDefaultValues_ControlFlow105); + // ObjectFlow ObjectFlow65 from result to object + DefaultValue_Structures_A_bDefaultValues_ObjectFlow65.SetName("ObjectFlow65"); + DefaultValue_Structures_A_bDefaultValues_ObjectFlow65.SetVisibility(VisibilityKind.public_); + + DefaultValue_Structures_A_bDefaultValues_ObjectFlow65.SetSource(DefaultValue_Structures_A_bDefaultValues_Create_B_2_result); + DefaultValue_Structures_A_bDefaultValues_ObjectFlow65.SetTarget(DefaultValue_Structures_A_bDefaultValues_B_2_p_object); + // LiteralBoolean LiteralBoolean66 + DefaultValue_Structures_A_bDefaultValues_ObjectFlow65_LiteralBoolean66.SetName("LiteralBoolean66"); + DefaultValue_Structures_A_bDefaultValues_ObjectFlow65_LiteralBoolean66.SetVisibility(VisibilityKind.public_); + DefaultValue_Structures_A_bDefaultValues_ObjectFlow65_LiteralBoolean66.SetValue(true); + DefaultValue_Structures_A_bDefaultValues_ObjectFlow65.SetGuard(DefaultValue_Structures_A_bDefaultValues_ObjectFlow65_LiteralBoolean66); + DefaultValue_Structures_A_bDefaultValues.AddEdge(DefaultValue_Structures_A_bDefaultValues_ObjectFlow65); + // ObjectFlow ObjectFlow68 from result to value + DefaultValue_Structures_A_bDefaultValues_ObjectFlow68.SetName("ObjectFlow68"); + DefaultValue_Structures_A_bDefaultValues_ObjectFlow68.SetVisibility(VisibilityKind.public_); + + DefaultValue_Structures_A_bDefaultValues_ObjectFlow68.SetSource(DefaultValue_Structures_A_bDefaultValues_Integer_4_result); + DefaultValue_Structures_A_bDefaultValues_ObjectFlow68.SetTarget(DefaultValue_Structures_A_bDefaultValues_B_4_p_value); + // LiteralBoolean LiteralBoolean70 + DefaultValue_Structures_A_bDefaultValues_ObjectFlow68_LiteralBoolean70.SetName("LiteralBoolean70"); + DefaultValue_Structures_A_bDefaultValues_ObjectFlow68_LiteralBoolean70.SetVisibility(VisibilityKind.public_); + DefaultValue_Structures_A_bDefaultValues_ObjectFlow68_LiteralBoolean70.SetValue(true); + DefaultValue_Structures_A_bDefaultValues_ObjectFlow68.SetGuard(DefaultValue_Structures_A_bDefaultValues_ObjectFlow68_LiteralBoolean70); + DefaultValue_Structures_A_bDefaultValues.AddEdge(DefaultValue_Structures_A_bDefaultValues_ObjectFlow68); + // ObjectFlow ObjectFlow71 from result to object + DefaultValue_Structures_A_bDefaultValues_ObjectFlow71.SetName("ObjectFlow71"); + DefaultValue_Structures_A_bDefaultValues_ObjectFlow71.SetVisibility(VisibilityKind.public_); + + DefaultValue_Structures_A_bDefaultValues_ObjectFlow71.SetSource(DefaultValue_Structures_A_bDefaultValues_Create_B_4_result); + DefaultValue_Structures_A_bDefaultValues_ObjectFlow71.SetTarget(DefaultValue_Structures_A_bDefaultValues_B_4_p_object); + // LiteralBoolean LiteralBoolean73 + DefaultValue_Structures_A_bDefaultValues_ObjectFlow71_LiteralBoolean73.SetName("LiteralBoolean73"); + DefaultValue_Structures_A_bDefaultValues_ObjectFlow71_LiteralBoolean73.SetVisibility(VisibilityKind.public_); + DefaultValue_Structures_A_bDefaultValues_ObjectFlow71_LiteralBoolean73.SetValue(true); + DefaultValue_Structures_A_bDefaultValues_ObjectFlow71.SetGuard(DefaultValue_Structures_A_bDefaultValues_ObjectFlow71_LiteralBoolean73); + DefaultValue_Structures_A_bDefaultValues.AddEdge(DefaultValue_Structures_A_bDefaultValues_ObjectFlow71); + // ObjectFlow ObjectFlow114 from result to bList_node + DefaultValue_Structures_A_bDefaultValues_ObjectFlow114.SetName("ObjectFlow114"); + DefaultValue_Structures_A_bDefaultValues_ObjectFlow114.SetVisibility(VisibilityKind.public_); + + DefaultValue_Structures_A_bDefaultValues_ObjectFlow114.SetSource(DefaultValue_Structures_A_bDefaultValues_B_1_p_result); + DefaultValue_Structures_A_bDefaultValues_ObjectFlow114.SetTarget(DefaultValue_Structures_A_bDefaultValues_bList_node); + // LiteralBoolean LiteralBoolean115 + DefaultValue_Structures_A_bDefaultValues_ObjectFlow114_LiteralBoolean115.SetName("LiteralBoolean115"); + DefaultValue_Structures_A_bDefaultValues_ObjectFlow114_LiteralBoolean115.SetVisibility(VisibilityKind.public_); + DefaultValue_Structures_A_bDefaultValues_ObjectFlow114_LiteralBoolean115.SetValue(true); + DefaultValue_Structures_A_bDefaultValues_ObjectFlow114.SetGuard(DefaultValue_Structures_A_bDefaultValues_ObjectFlow114_LiteralBoolean115); + DefaultValue_Structures_A_bDefaultValues.AddEdge(DefaultValue_Structures_A_bDefaultValues_ObjectFlow114); + // ObjectFlow ObjectFlow74 from result to value + DefaultValue_Structures_A_bDefaultValues_ObjectFlow74.SetName("ObjectFlow74"); + DefaultValue_Structures_A_bDefaultValues_ObjectFlow74.SetVisibility(VisibilityKind.public_); + + DefaultValue_Structures_A_bDefaultValues_ObjectFlow74.SetSource(DefaultValue_Structures_A_bDefaultValues_Integer_3_result); + DefaultValue_Structures_A_bDefaultValues_ObjectFlow74.SetTarget(DefaultValue_Structures_A_bDefaultValues_B_3_p_value); + // LiteralBoolean LiteralBoolean75 + DefaultValue_Structures_A_bDefaultValues_ObjectFlow74_LiteralBoolean75.SetName("LiteralBoolean75"); + DefaultValue_Structures_A_bDefaultValues_ObjectFlow74_LiteralBoolean75.SetVisibility(VisibilityKind.public_); + DefaultValue_Structures_A_bDefaultValues_ObjectFlow74_LiteralBoolean75.SetValue(true); + DefaultValue_Structures_A_bDefaultValues_ObjectFlow74.SetGuard(DefaultValue_Structures_A_bDefaultValues_ObjectFlow74_LiteralBoolean75); + DefaultValue_Structures_A_bDefaultValues.AddEdge(DefaultValue_Structures_A_bDefaultValues_ObjectFlow74); + DefaultValue_Structures_A.AddOwnedBehavior(DefaultValue_Structures_A_bDefaultValues); + + // Operation A_A + DefaultValue_Structures_A_A_A.SetName("A_A"); + DefaultValue_Structures_A_A_A.SetVisibility(VisibilityKind.public_); + // Parameter result + DefaultValue_Structures_A_A_A_result.SetName("result"); + DefaultValue_Structures_A_A_A_result.SetVisibility(VisibilityKind.public_); + + DefaultValue_Structures_A_A_A_result.SetType(DefaultValue_Structures_A); + DefaultValue_Structures_A_A_A_result.SetDirection(ParameterDirectionKind.return_); + DefaultValue_Structures_A_A_A.AddOwnedParameter(DefaultValue_Structures_A_A_A_result); + DefaultValue_Structures_A_A_A.ApplyStereotype(uml.standardprofile.StandardProfileModel.Instance().Stereotype_Create); + DefaultValue_Structures_A.AddOwnedOperation(DefaultValue_Structures_A_A_A); + DefaultValue_Structures.AddPackagedElement(DefaultValue_Structures_A); + // Class B + DefaultValue_Structures_B.SetName("B"); + DefaultValue_Structures_B.SetVisibility(VisibilityKind.public_); + + // Property p + DefaultValue_Structures_B_p.SetName("p"); + DefaultValue_Structures_B_p.SetVisibility(VisibilityKind.public_); + + DefaultValue_Structures_B_p.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + DefaultValue_Structures_B.AddOwnedAttribute(DefaultValue_Structures_B_p); + + + // Operation B_B + DefaultValue_Structures_B_B_B.SetName("B_B"); + DefaultValue_Structures_B_B_B.SetVisibility(VisibilityKind.public_); + // Parameter result + DefaultValue_Structures_B_B_B_result.SetName("result"); + DefaultValue_Structures_B_B_B_result.SetVisibility(VisibilityKind.public_); + + DefaultValue_Structures_B_B_B_result.SetType(DefaultValue_Structures_B); + DefaultValue_Structures_B_B_B_result.SetDirection(ParameterDirectionKind.return_); + DefaultValue_Structures_B_B_B.AddOwnedParameter(DefaultValue_Structures_B_B_B_result); + DefaultValue_Structures_B_B_B.ApplyStereotype(uml.standardprofile.StandardProfileModel.Instance().Stereotype_Create); + DefaultValue_Structures_B.AddOwnedOperation(DefaultValue_Structures_B_B_B); + DefaultValue_Structures.AddPackagedElement(DefaultValue_Structures_B); + // Activity main + DefaultValue_Structures_main.SetName("main"); + DefaultValue_Structures_main.SetVisibility(VisibilityKind.public_); + // CallBehaviorAction instantiate_A + DefaultValue_Structures_main_instantiate_A.SetName("instantiate_A"); + DefaultValue_Structures_main_instantiate_A.SetVisibility(VisibilityKind.public_); + + // OutputPin a + DefaultValue_Structures_main_instantiate_A_a.SetName("a"); + DefaultValue_Structures_main_instantiate_A_a.SetVisibility(VisibilityKind.public_); + DefaultValue_Structures_main_instantiate_A_a.SetType(DefaultValue_Structures_A); + DefaultValue_Structures_main_instantiate_A.AddResult(DefaultValue_Structures_main_instantiate_A_a); + DefaultValue_Structures_main_instantiate_A.SetBehavior(DefaultValue_Structures_instantiate_A); + DefaultValue_Structures_main.AddNode(DefaultValue_Structures_main_instantiate_A); + // CallBehaviorAction assert_A + DefaultValue_Structures_main_assert_A.SetName("assert_A"); + DefaultValue_Structures_main_assert_A.SetVisibility(VisibilityKind.public_); + DefaultValue_Structures_main_assert_A.SetBehavior(DefaultValue_Structures_assert_A); + // InputPin a + DefaultValue_Structures_main_assert_A_a.SetName("a"); + DefaultValue_Structures_main_assert_A_a.SetVisibility(VisibilityKind.public_); + DefaultValue_Structures_main_assert_A.AddArgument(DefaultValue_Structures_main_assert_A_a); + DefaultValue_Structures_main.AddNode(DefaultValue_Structures_main_assert_A); + // ObjectFlow ObjectFlow131 from a to a + DefaultValue_Structures_main_ObjectFlow131.SetName("ObjectFlow131"); + DefaultValue_Structures_main_ObjectFlow131.SetVisibility(VisibilityKind.public_); + + DefaultValue_Structures_main_ObjectFlow131.SetSource(DefaultValue_Structures_main_instantiate_A_a); + DefaultValue_Structures_main_ObjectFlow131.SetTarget(DefaultValue_Structures_main_assert_A_a); + // LiteralBoolean LiteralBoolean133 + DefaultValue_Structures_main_ObjectFlow131_LiteralBoolean133.SetName("LiteralBoolean133"); + DefaultValue_Structures_main_ObjectFlow131_LiteralBoolean133.SetVisibility(VisibilityKind.public_); + DefaultValue_Structures_main_ObjectFlow131_LiteralBoolean133.SetValue(true); + DefaultValue_Structures_main_ObjectFlow131.SetGuard(DefaultValue_Structures_main_ObjectFlow131_LiteralBoolean133); + DefaultValue_Structures_main.AddEdge(DefaultValue_Structures_main_ObjectFlow131); + DefaultValue_Structures.AddPackagedElement(DefaultValue_Structures_main); + } + + /* Start of user code : User-defined members + * This section may be used for user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } // DefaultValue_StructuresModel +} diff --git a/fUML-CSharp/tests/pscs-Tests/01_Instantiation/05_DefaultValue_Structures/src/testDefaultValuesExecution.cs b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/05_DefaultValue_Structures/src/testDefaultValuesExecution.cs new file mode 100644 index 0000000..1b83ab6 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/05_DefaultValue_Structures/src/testDefaultValuesExecution.cs @@ -0,0 +1,85 @@ +/* + * testDefaultValuesExecution.cs + * + * Auto-generated file + */ + +using fuml.semantics.commonbehavior; +using fuml; +using fuml.semantics.simpleclassifiers; +using fuml.semantics.values; + +/* Start of user code : User-defined includes and forward declarations + * This section may be used for includes and forward declarations. + * It will not be overwritten by future generation processes. + */ + +/* + * End of user code + */ + +namespace DefaultValue_Structures +{ + public class testDefaultValuesExecution : OpaqueBehaviorExecution + { + public testDefaultValuesExecution() + { + types.Add(DefaultValue_StructuresModel.Instance().DefaultValue_Structures_assert_A_testDefaultValues); + /* Start of user code : Additional opaque behavior execution initializations + * This section may be used to do any additional opaque behavior execution initialization, + * for example initializing user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } + + public override void DoBody(List inputParameters, List outputParameters) + { + List values = inputParameters.ElementAt(0).values; + int index = 1; + + foreach(Value value in values) + { + Console.WriteLine("Asserting a.b[" + index + "].p == " + index); + + // Test parameter p[i] + int p =((IntegerValue)value).value; + Debug.Println("[doBody] argument p[" + index + "] = " + p); + + Console.WriteLine("a.b[" + index + "].p == " + p); + Console.Write("Default value correctly evaluated: "); + + if(p == index) + { + Console.ForegroundColor = ConsoleColor.Green; + Console.WriteLine("Assertion successful."); + } + else + { + Console.ForegroundColor = ConsoleColor.Red; + Console.WriteLine("Assertion failed!"); + } + Console.ResetColor(); + + index++; + } + } + + protected override Value New_() + { + return new testDefaultValuesExecution(); + } + + /* Start of user code : User-defined members + * This section may be used for user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } // testDefaultValuesExecution +} diff --git a/fUML-CSharp/tests/pscs-Tests/01_Instantiation/06_DelegationConnectors_P_P/.gitignore b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/06_DelegationConnectors_P_P/.gitignore new file mode 100644 index 0000000..1736844 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/06_DelegationConnectors_P_P/.gitignore @@ -0,0 +1,3 @@ +/.vs/ +/bin/ +/obj/ diff --git a/fUML-CSharp/tests/pscs-Tests/01_Instantiation/06_DelegationConnectors_P_P/DelegationConnectors_P_P.csproj b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/06_DelegationConnectors_P_P/DelegationConnectors_P_P.csproj new file mode 100644 index 0000000..bfae97a --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/06_DelegationConnectors_P_P/DelegationConnectors_P_P.csproj @@ -0,0 +1,50 @@ + + + + Exe + net6.0 + enable + enable + + + + DelegationConnectors_P_P.Debug + + + DelegationConnectors_P_P.Release + + + + + ..\..\..\..\uml\bin\Debug\net6.0\uml.Debug.dll + + + + + ..\..\..\..\uml\bin\Release\net6.0\uml.Release.dll + + + + + + ..\..\..\..\fuml\bin\Debug\net6.0\fuml.Debug.dll + + + + + ..\..\..\..\fuml\bin\Release\net6.0\fuml.Release.dll + + + + + + ..\..\..\..\pscs\bin\Debug\net6.0\pscs.Debug.dll + + + + + ..\..\..\..\pscs\bin\Release\net6.0\pscs.Release.dll + + + + diff --git a/fUML-CSharp/tests/pscs-Tests/01_Instantiation/06_DelegationConnectors_P_P/DelegationConnectors_P_P.sln b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/06_DelegationConnectors_P_P/DelegationConnectors_P_P.sln new file mode 100644 index 0000000..28086a6 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/06_DelegationConnectors_P_P/DelegationConnectors_P_P.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.32112.339 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DelegationConnectors_P_P", "DelegationConnectors_P_P.csproj", "{F06888FD-9163-4414-ADA8-BDE6B14551F4}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {F06888FD-9163-4414-ADA8-BDE6B14551F4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {F06888FD-9163-4414-ADA8-BDE6B14551F4}.Debug|Any CPU.Build.0 = Debug|Any CPU + {F06888FD-9163-4414-ADA8-BDE6B14551F4}.Release|Any CPU.ActiveCfg = Release|Any CPU + {F06888FD-9163-4414-ADA8-BDE6B14551F4}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {521CB94D-5463-487B-9AC0-ECE18AD31266} + EndGlobalSection +EndGlobal diff --git a/fUML-CSharp/tests/pscs-Tests/01_Instantiation/06_DelegationConnectors_P_P/model/DelegationConnectors_P_P.di b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/06_DelegationConnectors_P_P/model/DelegationConnectors_P_P.di new file mode 100644 index 0000000..bf9abab --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/06_DelegationConnectors_P_P/model/DelegationConnectors_P_P.di @@ -0,0 +1,2 @@ + + diff --git a/fUML-CSharp/tests/pscs-Tests/01_Instantiation/06_DelegationConnectors_P_P/model/DelegationConnectors_P_P.notation b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/06_DelegationConnectors_P_P/model/DelegationConnectors_P_P.notation new file mode 100644 index 0000000..32c9dd3 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/06_DelegationConnectors_P_P/model/DelegationConnectors_P_P.notation @@ -0,0 +1,1751 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+ + + + + +
+ + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+ + + + + +
+ + + +
+ + + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + + + + + + + + + +
+
+ + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + +
+ + + +
+ + + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + + + + + + + + + +
+
+ + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + +
+ + + +
+ + + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + + + + + + + + + +
+
+ + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + +
+ + + +
+ + + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + + + + + + + + + +
+
+ + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + +
+ + + +
+ + + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + + + + + + + + + +
+
+ + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + +
+ + + +
+ + + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + + + + + + + + + +
+
+ + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/fUML-CSharp/tests/pscs-Tests/01_Instantiation/06_DelegationConnectors_P_P/model/DelegationConnectors_P_P.uml b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/06_DelegationConnectors_P_P/model/DelegationConnectors_P_P.uml new file mode 100644 index 0000000..5be26d1 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/06_DelegationConnectors_P_P/model/DelegationConnectors_P_P.uml @@ -0,0 +1,467 @@ + + + + + This test case addresses instantiation semantics in the case of a delegation connector between a port and a part. + + + + + + + Empty pattern: +lower bound of port p and part b is 0 + + + + + + + + + + + + + + + + + + + + + + + + Unconnected pattern: +lower bound on ends of connector r is 0 + + + + + + + + + + + + + + + + + + + + + + + + + + Array pattern: +lower bound of p and b are equals +lower bound on ends of connector r is 1 + + + + + + + + + + + + + + + + + + + + + + + + Star pattern: +lower bound on ends of connector r equal +lower bound of connected parts + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/fUML-CSharp/tests/pscs-Tests/01_Instantiation/06_DelegationConnectors_P_P/src/DelegationConnectors_P_P.cs b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/06_DelegationConnectors_P_P/src/DelegationConnectors_P_P.cs new file mode 100644 index 0000000..c737fe3 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/06_DelegationConnectors_P_P/src/DelegationConnectors_P_P.cs @@ -0,0 +1,31 @@ +namespace DelegationConnectors_P_P +{ + internal class DelegationConnectors_P_P + { + static void PrintUsage() + { + Console.WriteLine( + "=============================================================================================\n" + + "USAGE: [ <...>]\n" + + "=============================================================================================\n" + ); + } + + static int Main(string[] args) + { + if(args.Length == 0) + { + Console.WriteLine("[ERROR] Must declare at least one behavior name.\n"); + PrintUsage(); + return -1; + } + + foreach (string arg in args) + { + DelegationConnectors_P_PEnvironment.Instance().Execute(arg); + } + + return 0; + } + } +} diff --git a/fUML-CSharp/tests/pscs-Tests/01_Instantiation/06_DelegationConnectors_P_P/src/DelegationConnectors_P_PEnvironment.cs b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/06_DelegationConnectors_P_P/src/DelegationConnectors_P_PEnvironment.cs new file mode 100644 index 0000000..1fb7c58 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/06_DelegationConnectors_P_P/src/DelegationConnectors_P_PEnvironment.cs @@ -0,0 +1,92 @@ +/* + * DelegationConnectors_P_PEnvironment.cs + * + * Auto-generated file + */ + +/* Start of user code : User-defined using directives + * This section may be used for using directives. + * It will not be overwritten by future generation processes. + */ + +/* + * End of user code + */ + +namespace DelegationConnectors_P_P +{ + public class DelegationConnectors_P_PEnvironment : pscs.environment.Environment + { + private static DelegationConnectors_P_PEnvironment? instance; + + public static DelegationConnectors_P_PEnvironment Instance() + { + if(instance is null) + { + instance = new(); + instance.inMemoryModel = DelegationConnectors_P_PModel.Instance(); + } + + return instance; + } + + public DelegationConnectors_P_PEnvironment() + { + /* + * Create custom opaque behavior execution instances and add them to the execution environment. + */ + + /* Start of user code : Additional environment initializations + * This section may be used to do any additional environment initialization, + * for example initializing user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } + + public override void Execute(string behaviorName) + { + /* Start of user code : Context and inputs initializations + * This section may be used to initialize the execution context + * as well as input parameter values if required. + * It will not be overwritten by future generation processes. + */ + + //context = ...; + //inputs = ...; + + /* + * End of user code + */ + + /* + * Start execution via base class call + */ + base.Execute(behaviorName); + + /* Start of user code : Outputs evaluation + * This section may be used to evaluate output parameter values if required. + * It will not be overwritten by future generation processes. + */ + + //List theOutputs = outputs; + //... + + /* + * End of user code + */ + } + + /* Start of user code : User-defined members + * This section may be used for user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } // DelegationConnectors_P_PEnvironment +} diff --git a/fUML-CSharp/tests/pscs-Tests/01_Instantiation/06_DelegationConnectors_P_P/src/DelegationConnectors_P_PModel.cs b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/06_DelegationConnectors_P_P/src/DelegationConnectors_P_PModel.cs new file mode 100644 index 0000000..38e356d --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/06_DelegationConnectors_P_P/src/DelegationConnectors_P_PModel.cs @@ -0,0 +1,1585 @@ +/* + * DelegationConnectors_P_PModel.cs + * + * Auto-generated file + */ + +using uml.actions; +using uml.packages; +using uml.structuredclassifiers; +using fuml.primitivetypes; +using uml.classification; +using fuml.library; +using uml.simpleclassifiers; +using uml.commonbehavior; +using uml.commonstructure; +using uml.values; +using uml.activities; +using uml.environment; + + +/* Start of user code : User-defined includes and forward declarations + * This section may be used for includes and forward declarations. + * It will not be overwritten by future generation processes. + */ + +/* + * End of user code + */ + +namespace DelegationConnectors_P_P +{ + public class DelegationConnectors_P_PModel : InMemoryModel + { + private static DelegationConnectors_P_PModel? instance; + + /* + * Model DelegationConnectors_P_P + */ + public Package DelegationConnectors_P_P = new(); + public Activity DelegationConnectors_P_P_assert_A_Star_Pattern = new(); + public CallBehaviorAction DelegationConnectors_P_P_assert_A_Star_Pattern_writeLine = new(); + public InputPin DelegationConnectors_P_P_assert_A_Star_Pattern_writeLine_value = new(); + public LiteralUnlimitedNatural DelegationConnectors_P_P_assert_A_Star_Pattern_writeLine_value_LiteralUnlimitedNatural0 = new(); + public LiteralInteger DelegationConnectors_P_P_assert_A_Star_Pattern_writeLine_value_LiteralInteger1 = new(); + public LiteralInteger DelegationConnectors_P_P_assert_A_Star_Pattern_writeLine_value_LiteralInteger2 = new(); + public OutputPin DelegationConnectors_P_P_assert_A_Star_Pattern_writeLine_errorStatus = new(); + public LiteralInteger DelegationConnectors_P_P_assert_A_Star_Pattern_writeLine_errorStatus_LiteralInteger3 = new(); + public LiteralInteger DelegationConnectors_P_P_assert_A_Star_Pattern_writeLine_errorStatus_LiteralInteger4 = new(); + public LiteralUnlimitedNatural DelegationConnectors_P_P_assert_A_Star_Pattern_writeLine_errorStatus_LiteralUnlimitedNatural5 = new(); + public Parameter DelegationConnectors_P_P_assert_A_Star_Pattern_a_Star_Pattern = new(); + public ValueSpecificationAction DelegationConnectors_P_P_assert_A_Star_Pattern_message = new(); + public OutputPin DelegationConnectors_P_P_assert_A_Star_Pattern_message_result = new(); + public LiteralUnlimitedNatural DelegationConnectors_P_P_assert_A_Star_Pattern_message_result_LiteralUnlimitedNatural6 = new(); + public LiteralInteger DelegationConnectors_P_P_assert_A_Star_Pattern_message_result_LiteralInteger7 = new(); + public LiteralString DelegationConnectors_P_P_assert_A_Star_Pattern_message_LiteralString8 = new(); + public ObjectFlow DelegationConnectors_P_P_assert_A_Star_Pattern_ObjectFlow9 = new(); + public LiteralBoolean DelegationConnectors_P_P_assert_A_Star_Pattern_ObjectFlow9_LiteralBoolean10 = new(); + public LiteralInteger DelegationConnectors_P_P_assert_A_Star_Pattern_ObjectFlow9_LiteralInteger11 = new(); + public ActivityParameterNode DelegationConnectors_P_P_assert_A_Star_Pattern_a_Star_Pattern_node = new(); + public LiteralInteger DelegationConnectors_P_P_assert_A_Star_Pattern_a_Star_Pattern_node_LiteralInteger12 = new(); + public Activity DelegationConnectors_P_P_instantiate_A_Star_Pattern = new(); + public CallOperationAction DelegationConnectors_P_P_instantiate_A_Star_Pattern_A_Star_Pattern_ = new(); + public InputPin DelegationConnectors_P_P_instantiate_A_Star_Pattern_A_Star_Pattern__target = new(); + public LiteralUnlimitedNatural DelegationConnectors_P_P_instantiate_A_Star_Pattern_A_Star_Pattern__target_LiteralUnlimitedNatural13 = new(); + public LiteralInteger DelegationConnectors_P_P_instantiate_A_Star_Pattern_A_Star_Pattern__target_LiteralInteger14 = new(); + public OutputPin DelegationConnectors_P_P_instantiate_A_Star_Pattern_A_Star_Pattern__result = new(); + public LiteralInteger DelegationConnectors_P_P_instantiate_A_Star_Pattern_A_Star_Pattern__result_LiteralInteger15 = new(); + public LiteralInteger DelegationConnectors_P_P_instantiate_A_Star_Pattern_A_Star_Pattern__result_LiteralInteger16 = new(); + public LiteralUnlimitedNatural DelegationConnectors_P_P_instantiate_A_Star_Pattern_A_Star_Pattern__result_LiteralUnlimitedNatural17 = new(); + public ObjectFlow DelegationConnectors_P_P_instantiate_A_Star_Pattern_ObjectFlow18 = new(); + public LiteralBoolean DelegationConnectors_P_P_instantiate_A_Star_Pattern_ObjectFlow18_LiteralBoolean19 = new(); + public LiteralInteger DelegationConnectors_P_P_instantiate_A_Star_Pattern_ObjectFlow18_LiteralInteger20 = new(); + public ObjectFlow DelegationConnectors_P_P_instantiate_A_Star_Pattern_ObjectFlow21 = new(); + public LiteralBoolean DelegationConnectors_P_P_instantiate_A_Star_Pattern_ObjectFlow21_LiteralBoolean22 = new(); + public LiteralInteger DelegationConnectors_P_P_instantiate_A_Star_Pattern_ObjectFlow21_LiteralInteger23 = new(); + public Parameter DelegationConnectors_P_P_instantiate_A_Star_Pattern_a_Star_Pattern = new(); + public ActivityParameterNode DelegationConnectors_P_P_instantiate_A_Star_Pattern_a_Star_Pattern_node = new(); + public CreateObjectAction DelegationConnectors_P_P_instantiate_A_Star_Pattern_Create_A_Star_Pattern = new(); + public OutputPin DelegationConnectors_P_P_instantiate_A_Star_Pattern_Create_A_Star_Pattern_result = new(); + public LiteralInteger DelegationConnectors_P_P_instantiate_A_Star_Pattern_Create_A_Star_Pattern_result_LiteralInteger24 = new(); + public LiteralUnlimitedNatural DelegationConnectors_P_P_instantiate_A_Star_Pattern_Create_A_Star_Pattern_result_LiteralUnlimitedNatural25 = new(); + public Class_ DelegationConnectors_P_P_A_Star_Pattern = new(); + public Property DelegationConnectors_P_P_A_Star_Pattern_b = new(); + public LiteralInteger DelegationConnectors_P_P_A_Star_Pattern_b_LiteralInteger26 = new(); + public LiteralUnlimitedNatural DelegationConnectors_P_P_A_Star_Pattern_b_LiteralUnlimitedNatural27 = new(); + public Port DelegationConnectors_P_P_A_Star_Pattern_p = new(); + public LiteralInteger DelegationConnectors_P_P_A_Star_Pattern_p_LiteralInteger28 = new(); + public LiteralUnlimitedNatural DelegationConnectors_P_P_A_Star_Pattern_p_LiteralUnlimitedNatural29 = new(); + public Connector DelegationConnectors_P_P_A_Star_Pattern_r = new(); + public ConnectorEnd DelegationConnectors_P_P_A_Star_Pattern_r_ConnectorEnd30 = new(); + public LiteralInteger DelegationConnectors_P_P_A_Star_Pattern_r_ConnectorEnd30_LiteralInteger31 = new(); + public LiteralUnlimitedNatural DelegationConnectors_P_P_A_Star_Pattern_r_ConnectorEnd30_LiteralUnlimitedNatural32 = new(); + public ConnectorEnd DelegationConnectors_P_P_A_Star_Pattern_r_ConnectorEnd33 = new(); + public LiteralUnlimitedNatural DelegationConnectors_P_P_A_Star_Pattern_r_ConnectorEnd33_LiteralUnlimitedNatural34 = new(); + public LiteralInteger DelegationConnectors_P_P_A_Star_Pattern_r_ConnectorEnd33_LiteralInteger35 = new(); + public Comment DelegationConnectors_P_P_A_Star_Pattern_Comment36 = new(); + public Operation DelegationConnectors_P_P_A_Star_Pattern_A_Star_Pattern_A_Star_Pattern = new(); + public Parameter DelegationConnectors_P_P_A_Star_Pattern_A_Star_Pattern_A_Star_Pattern_result = new(); + public Class_ DelegationConnectors_P_P_B = new(); + public InterfaceRealization DelegationConnectors_P_P_B_I_Realization = new(); + public Activity DelegationConnectors_P_P_main = new(); + public ControlFlow DelegationConnectors_P_P_main_ControlFlow37 = new(); + public CallBehaviorAction DelegationConnectors_P_P_main_assert_A_Array_Pattern = new(); + public InputPin DelegationConnectors_P_P_main_assert_A_Array_Pattern_a_Array_Pattern = new(); + public LiteralInteger DelegationConnectors_P_P_main_assert_A_Array_Pattern_a_Array_Pattern_LiteralInteger38 = new(); + public LiteralInteger DelegationConnectors_P_P_main_assert_A_Array_Pattern_a_Array_Pattern_LiteralInteger39 = new(); + public LiteralUnlimitedNatural DelegationConnectors_P_P_main_assert_A_Array_Pattern_a_Array_Pattern_LiteralUnlimitedNatural40 = new(); + public ObjectFlow DelegationConnectors_P_P_main_ObjectFlow41 = new(); + public LiteralInteger DelegationConnectors_P_P_main_ObjectFlow41_LiteralInteger42 = new(); + public LiteralBoolean DelegationConnectors_P_P_main_ObjectFlow41_LiteralBoolean43 = new(); + public CallBehaviorAction DelegationConnectors_P_P_main_assert_A_Unconnected_Pattern = new(); + public InputPin DelegationConnectors_P_P_main_assert_A_Unconnected_Pattern_a_Unconnected_Pattern = new(); + public LiteralInteger DelegationConnectors_P_P_main_assert_A_Unconnected_Pattern_a_Unconnected_Pattern_LiteralInteger44 = new(); + public LiteralInteger DelegationConnectors_P_P_main_assert_A_Unconnected_Pattern_a_Unconnected_Pattern_LiteralInteger45 = new(); + public LiteralUnlimitedNatural DelegationConnectors_P_P_main_assert_A_Unconnected_Pattern_a_Unconnected_Pattern_LiteralUnlimitedNatural46 = new(); + public CallBehaviorAction DelegationConnectors_P_P_main_instantiate_A_Unconnected_Pattern = new(); + public OutputPin DelegationConnectors_P_P_main_instantiate_A_Unconnected_Pattern_a_Unconnected_Pattern = new(); + public LiteralInteger DelegationConnectors_P_P_main_instantiate_A_Unconnected_Pattern_a_Unconnected_Pattern_LiteralInteger47 = new(); + public LiteralInteger DelegationConnectors_P_P_main_instantiate_A_Unconnected_Pattern_a_Unconnected_Pattern_LiteralInteger48 = new(); + public LiteralUnlimitedNatural DelegationConnectors_P_P_main_instantiate_A_Unconnected_Pattern_a_Unconnected_Pattern_LiteralUnlimitedNatural49 = new(); + public CallBehaviorAction DelegationConnectors_P_P_main_instantiate_A_Empty_Pattern = new(); + public OutputPin DelegationConnectors_P_P_main_instantiate_A_Empty_Pattern_a_Empty_Pattern = new(); + public LiteralUnlimitedNatural DelegationConnectors_P_P_main_instantiate_A_Empty_Pattern_a_Empty_Pattern_LiteralUnlimitedNatural50 = new(); + public LiteralInteger DelegationConnectors_P_P_main_instantiate_A_Empty_Pattern_a_Empty_Pattern_LiteralInteger51 = new(); + public LiteralInteger DelegationConnectors_P_P_main_instantiate_A_Empty_Pattern_a_Empty_Pattern_LiteralInteger52 = new(); + public CallBehaviorAction DelegationConnectors_P_P_main_assert_A_Star_Pattern = new(); + public InputPin DelegationConnectors_P_P_main_assert_A_Star_Pattern_a_Star_Pattern = new(); + public LiteralInteger DelegationConnectors_P_P_main_assert_A_Star_Pattern_a_Star_Pattern_LiteralInteger53 = new(); + public LiteralUnlimitedNatural DelegationConnectors_P_P_main_assert_A_Star_Pattern_a_Star_Pattern_LiteralUnlimitedNatural54 = new(); + public LiteralInteger DelegationConnectors_P_P_main_assert_A_Star_Pattern_a_Star_Pattern_LiteralInteger55 = new(); + public CallBehaviorAction DelegationConnectors_P_P_main_assert_A_Empty_Pattern = new(); + public InputPin DelegationConnectors_P_P_main_assert_A_Empty_Pattern_a_Empty_Pattern = new(); + public LiteralInteger DelegationConnectors_P_P_main_assert_A_Empty_Pattern_a_Empty_Pattern_LiteralInteger56 = new(); + public LiteralUnlimitedNatural DelegationConnectors_P_P_main_assert_A_Empty_Pattern_a_Empty_Pattern_LiteralUnlimitedNatural57 = new(); + public LiteralInteger DelegationConnectors_P_P_main_assert_A_Empty_Pattern_a_Empty_Pattern_LiteralInteger58 = new(); + public ObjectFlow DelegationConnectors_P_P_main_ObjectFlow59 = new(); + public LiteralInteger DelegationConnectors_P_P_main_ObjectFlow59_LiteralInteger60 = new(); + public LiteralBoolean DelegationConnectors_P_P_main_ObjectFlow59_LiteralBoolean61 = new(); + public CallBehaviorAction DelegationConnectors_P_P_main_instantiate_A_Array_Pattern = new(); + public OutputPin DelegationConnectors_P_P_main_instantiate_A_Array_Pattern_a_Array_Pattern = new(); + public LiteralInteger DelegationConnectors_P_P_main_instantiate_A_Array_Pattern_a_Array_Pattern_LiteralInteger62 = new(); + public LiteralInteger DelegationConnectors_P_P_main_instantiate_A_Array_Pattern_a_Array_Pattern_LiteralInteger63 = new(); + public LiteralUnlimitedNatural DelegationConnectors_P_P_main_instantiate_A_Array_Pattern_a_Array_Pattern_LiteralUnlimitedNatural64 = new(); + public ObjectFlow DelegationConnectors_P_P_main_ObjectFlow65 = new(); + public LiteralInteger DelegationConnectors_P_P_main_ObjectFlow65_LiteralInteger66 = new(); + public LiteralBoolean DelegationConnectors_P_P_main_ObjectFlow65_LiteralBoolean67 = new(); + public ObjectFlow DelegationConnectors_P_P_main_ObjectFlow68 = new(); + public LiteralInteger DelegationConnectors_P_P_main_ObjectFlow68_LiteralInteger69 = new(); + public LiteralBoolean DelegationConnectors_P_P_main_ObjectFlow68_LiteralBoolean70 = new(); + public CallBehaviorAction DelegationConnectors_P_P_main_instantiate_A_Star_Pattern = new(); + public OutputPin DelegationConnectors_P_P_main_instantiate_A_Star_Pattern_a_Star_Pattern = new(); + public LiteralUnlimitedNatural DelegationConnectors_P_P_main_instantiate_A_Star_Pattern_a_Star_Pattern_LiteralUnlimitedNatural71 = new(); + public LiteralInteger DelegationConnectors_P_P_main_instantiate_A_Star_Pattern_a_Star_Pattern_LiteralInteger72 = new(); + public LiteralInteger DelegationConnectors_P_P_main_instantiate_A_Star_Pattern_a_Star_Pattern_LiteralInteger73 = new(); + public ControlFlow DelegationConnectors_P_P_main_ControlFlow74 = new(); + public ControlFlow DelegationConnectors_P_P_main_ControlFlow75 = new(); + public Activity DelegationConnectors_P_P_instantiate_A_Unconnected_Pattern = new(); + public CallOperationAction DelegationConnectors_P_P_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern_ = new(); + public OutputPin DelegationConnectors_P_P_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern__result = new(); + public LiteralUnlimitedNatural DelegationConnectors_P_P_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern__result_LiteralUnlimitedNatural76 = new(); + public LiteralInteger DelegationConnectors_P_P_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern__result_LiteralInteger77 = new(); + public LiteralInteger DelegationConnectors_P_P_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern__result_LiteralInteger78 = new(); + public InputPin DelegationConnectors_P_P_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern__target = new(); + public LiteralInteger DelegationConnectors_P_P_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern__target_LiteralInteger79 = new(); + public LiteralUnlimitedNatural DelegationConnectors_P_P_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern__target_LiteralUnlimitedNatural80 = new(); + public ObjectFlow DelegationConnectors_P_P_instantiate_A_Unconnected_Pattern_ObjectFlow81 = new(); + public LiteralBoolean DelegationConnectors_P_P_instantiate_A_Unconnected_Pattern_ObjectFlow81_LiteralBoolean82 = new(); + public LiteralInteger DelegationConnectors_P_P_instantiate_A_Unconnected_Pattern_ObjectFlow81_LiteralInteger83 = new(); + public Parameter DelegationConnectors_P_P_instantiate_A_Unconnected_Pattern_a_Unconnected_Pattern = new(); + public CreateObjectAction DelegationConnectors_P_P_instantiate_A_Unconnected_Pattern_Create_A_Unconnected_Pattern = new(); + public OutputPin DelegationConnectors_P_P_instantiate_A_Unconnected_Pattern_Create_A_Unconnected_Pattern_result = new(); + public LiteralInteger DelegationConnectors_P_P_instantiate_A_Unconnected_Pattern_Create_A_Unconnected_Pattern_result_LiteralInteger84 = new(); + public LiteralUnlimitedNatural DelegationConnectors_P_P_instantiate_A_Unconnected_Pattern_Create_A_Unconnected_Pattern_result_LiteralUnlimitedNatural85 = new(); + public ObjectFlow DelegationConnectors_P_P_instantiate_A_Unconnected_Pattern_ObjectFlow86 = new(); + public LiteralBoolean DelegationConnectors_P_P_instantiate_A_Unconnected_Pattern_ObjectFlow86_LiteralBoolean87 = new(); + public LiteralInteger DelegationConnectors_P_P_instantiate_A_Unconnected_Pattern_ObjectFlow86_LiteralInteger88 = new(); + public ActivityParameterNode DelegationConnectors_P_P_instantiate_A_Unconnected_Pattern_a_Unconnected_Pattern_node = new(); + public Class_ DelegationConnectors_P_P_IImpl = new(); + public InterfaceRealization DelegationConnectors_P_P_IImpl_I_Realization = new(); + public Activity DelegationConnectors_P_P_instantiate_A_Array_Pattern = new(); + public CallOperationAction DelegationConnectors_P_P_instantiate_A_Array_Pattern_A_Array_Pattern_ = new(); + public OutputPin DelegationConnectors_P_P_instantiate_A_Array_Pattern_A_Array_Pattern__result = new(); + public LiteralInteger DelegationConnectors_P_P_instantiate_A_Array_Pattern_A_Array_Pattern__result_LiteralInteger89 = new(); + public LiteralInteger DelegationConnectors_P_P_instantiate_A_Array_Pattern_A_Array_Pattern__result_LiteralInteger90 = new(); + public LiteralUnlimitedNatural DelegationConnectors_P_P_instantiate_A_Array_Pattern_A_Array_Pattern__result_LiteralUnlimitedNatural91 = new(); + public InputPin DelegationConnectors_P_P_instantiate_A_Array_Pattern_A_Array_Pattern__target = new(); + public LiteralInteger DelegationConnectors_P_P_instantiate_A_Array_Pattern_A_Array_Pattern__target_LiteralInteger92 = new(); + public LiteralUnlimitedNatural DelegationConnectors_P_P_instantiate_A_Array_Pattern_A_Array_Pattern__target_LiteralUnlimitedNatural93 = new(); + public CreateObjectAction DelegationConnectors_P_P_instantiate_A_Array_Pattern_Create_A_Array_Pattern = new(); + public OutputPin DelegationConnectors_P_P_instantiate_A_Array_Pattern_Create_A_Array_Pattern_result = new(); + public LiteralInteger DelegationConnectors_P_P_instantiate_A_Array_Pattern_Create_A_Array_Pattern_result_LiteralInteger94 = new(); + public LiteralUnlimitedNatural DelegationConnectors_P_P_instantiate_A_Array_Pattern_Create_A_Array_Pattern_result_LiteralUnlimitedNatural95 = new(); + public ObjectFlow DelegationConnectors_P_P_instantiate_A_Array_Pattern_ObjectFlow96 = new(); + public LiteralInteger DelegationConnectors_P_P_instantiate_A_Array_Pattern_ObjectFlow96_LiteralInteger97 = new(); + public LiteralBoolean DelegationConnectors_P_P_instantiate_A_Array_Pattern_ObjectFlow96_LiteralBoolean98 = new(); + public Parameter DelegationConnectors_P_P_instantiate_A_Array_Pattern_a_Array_Pattern = new(); + public ObjectFlow DelegationConnectors_P_P_instantiate_A_Array_Pattern_ObjectFlow99 = new(); + public LiteralBoolean DelegationConnectors_P_P_instantiate_A_Array_Pattern_ObjectFlow99_LiteralBoolean100 = new(); + public LiteralInteger DelegationConnectors_P_P_instantiate_A_Array_Pattern_ObjectFlow99_LiteralInteger101 = new(); + public ActivityParameterNode DelegationConnectors_P_P_instantiate_A_Array_Pattern_a_Array_Pattern_node = new(); + public LiteralInteger DelegationConnectors_P_P_instantiate_A_Array_Pattern_a_Array_Pattern_node_LiteralInteger102 = new(); + public Activity DelegationConnectors_P_P_assert_A_Unconnected_Pattern = new(); + public ActivityParameterNode DelegationConnectors_P_P_assert_A_Unconnected_Pattern_a_Unconnected_Pattern_node = new(); + public LiteralInteger DelegationConnectors_P_P_assert_A_Unconnected_Pattern_a_Unconnected_Pattern_node_LiteralInteger103 = new(); + public CallBehaviorAction DelegationConnectors_P_P_assert_A_Unconnected_Pattern_writeLine = new(); + public InputPin DelegationConnectors_P_P_assert_A_Unconnected_Pattern_writeLine_value = new(); + public LiteralUnlimitedNatural DelegationConnectors_P_P_assert_A_Unconnected_Pattern_writeLine_value_LiteralUnlimitedNatural104 = new(); + public LiteralInteger DelegationConnectors_P_P_assert_A_Unconnected_Pattern_writeLine_value_LiteralInteger105 = new(); + public LiteralInteger DelegationConnectors_P_P_assert_A_Unconnected_Pattern_writeLine_value_LiteralInteger106 = new(); + public OutputPin DelegationConnectors_P_P_assert_A_Unconnected_Pattern_writeLine_errorStatus = new(); + public LiteralInteger DelegationConnectors_P_P_assert_A_Unconnected_Pattern_writeLine_errorStatus_LiteralInteger107 = new(); + public LiteralInteger DelegationConnectors_P_P_assert_A_Unconnected_Pattern_writeLine_errorStatus_LiteralInteger108 = new(); + public LiteralUnlimitedNatural DelegationConnectors_P_P_assert_A_Unconnected_Pattern_writeLine_errorStatus_LiteralUnlimitedNatural109 = new(); + public Parameter DelegationConnectors_P_P_assert_A_Unconnected_Pattern_a_Unconnected_Pattern = new(); + public ObjectFlow DelegationConnectors_P_P_assert_A_Unconnected_Pattern_ObjectFlow110 = new(); + public LiteralBoolean DelegationConnectors_P_P_assert_A_Unconnected_Pattern_ObjectFlow110_LiteralBoolean111 = new(); + public LiteralInteger DelegationConnectors_P_P_assert_A_Unconnected_Pattern_ObjectFlow110_LiteralInteger112 = new(); + public ValueSpecificationAction DelegationConnectors_P_P_assert_A_Unconnected_Pattern_message = new(); + public OutputPin DelegationConnectors_P_P_assert_A_Unconnected_Pattern_message_result = new(); + public LiteralInteger DelegationConnectors_P_P_assert_A_Unconnected_Pattern_message_result_LiteralInteger113 = new(); + public LiteralUnlimitedNatural DelegationConnectors_P_P_assert_A_Unconnected_Pattern_message_result_LiteralUnlimitedNatural114 = new(); + public LiteralString DelegationConnectors_P_P_assert_A_Unconnected_Pattern_message_LiteralString115 = new(); + public Class_ DelegationConnectors_P_P_A_Array_Pattern = new(); + public Comment DelegationConnectors_P_P_A_Array_Pattern_Comment116 = new(); + public Connector DelegationConnectors_P_P_A_Array_Pattern_r = new(); + public ConnectorEnd DelegationConnectors_P_P_A_Array_Pattern_r_ConnectorEnd117 = new(); + public LiteralUnlimitedNatural DelegationConnectors_P_P_A_Array_Pattern_r_ConnectorEnd117_LiteralUnlimitedNatural118 = new(); + public ConnectorEnd DelegationConnectors_P_P_A_Array_Pattern_r_ConnectorEnd119 = new(); + public LiteralUnlimitedNatural DelegationConnectors_P_P_A_Array_Pattern_r_ConnectorEnd119_LiteralUnlimitedNatural120 = new(); + public Property DelegationConnectors_P_P_A_Array_Pattern_b = new(); + public LiteralUnlimitedNatural DelegationConnectors_P_P_A_Array_Pattern_b_LiteralUnlimitedNatural121 = new(); + public LiteralInteger DelegationConnectors_P_P_A_Array_Pattern_b_LiteralInteger122 = new(); + public Operation DelegationConnectors_P_P_A_Array_Pattern_A_Array_Pattern_A_Array_Pattern = new(); + public Parameter DelegationConnectors_P_P_A_Array_Pattern_A_Array_Pattern_A_Array_Pattern_result = new(); + public Port DelegationConnectors_P_P_A_Array_Pattern_p = new(); + public LiteralInteger DelegationConnectors_P_P_A_Array_Pattern_p_LiteralInteger123 = new(); + public LiteralUnlimitedNatural DelegationConnectors_P_P_A_Array_Pattern_p_LiteralUnlimitedNatural124 = new(); + public Association DelegationConnectors_P_P_R = new(); + public Property DelegationConnectors_P_P_R_x = new(); + public LiteralInteger DelegationConnectors_P_P_R_x_LiteralInteger125 = new(); + public LiteralUnlimitedNatural DelegationConnectors_P_P_R_x_LiteralUnlimitedNatural126 = new(); + public Property DelegationConnectors_P_P_R_y = new(); + public LiteralInteger DelegationConnectors_P_P_R_y_LiteralInteger127 = new(); + public LiteralUnlimitedNatural DelegationConnectors_P_P_R_y_LiteralUnlimitedNatural128 = new(); + public Class_ DelegationConnectors_P_P_A_Unconnected_Pattern = new(); + public Port DelegationConnectors_P_P_A_Unconnected_Pattern_p = new(); + public LiteralInteger DelegationConnectors_P_P_A_Unconnected_Pattern_p_LiteralInteger129 = new(); + public LiteralUnlimitedNatural DelegationConnectors_P_P_A_Unconnected_Pattern_p_LiteralUnlimitedNatural130 = new(); + public Operation DelegationConnectors_P_P_A_Unconnected_Pattern_A_Unconnected_Pattern_A_Unconnected_Pattern = new(); + public Parameter DelegationConnectors_P_P_A_Unconnected_Pattern_A_Unconnected_Pattern_A_Unconnected_Pattern_result = new(); + public Property DelegationConnectors_P_P_A_Unconnected_Pattern_b = new(); + public LiteralInteger DelegationConnectors_P_P_A_Unconnected_Pattern_b_LiteralInteger131 = new(); + public LiteralUnlimitedNatural DelegationConnectors_P_P_A_Unconnected_Pattern_b_LiteralUnlimitedNatural132 = new(); + public Connector DelegationConnectors_P_P_A_Unconnected_Pattern_r = new(); + public ConnectorEnd DelegationConnectors_P_P_A_Unconnected_Pattern_r_ConnectorEnd133 = new(); + public LiteralInteger DelegationConnectors_P_P_A_Unconnected_Pattern_r_ConnectorEnd133_LiteralInteger134 = new(); + public LiteralUnlimitedNatural DelegationConnectors_P_P_A_Unconnected_Pattern_r_ConnectorEnd133_LiteralUnlimitedNatural135 = new(); + public ConnectorEnd DelegationConnectors_P_P_A_Unconnected_Pattern_r_ConnectorEnd136 = new(); + public LiteralUnlimitedNatural DelegationConnectors_P_P_A_Unconnected_Pattern_r_ConnectorEnd136_LiteralUnlimitedNatural137 = new(); + public LiteralInteger DelegationConnectors_P_P_A_Unconnected_Pattern_r_ConnectorEnd136_LiteralInteger138 = new(); + public Comment DelegationConnectors_P_P_A_Unconnected_Pattern_Comment139 = new(); + public Interface DelegationConnectors_P_P_I = new(); + public Activity DelegationConnectors_P_P_instantiate_A_Empty_Pattern = new(); + public ObjectFlow DelegationConnectors_P_P_instantiate_A_Empty_Pattern_ObjectFlow140 = new(); + public LiteralInteger DelegationConnectors_P_P_instantiate_A_Empty_Pattern_ObjectFlow140_LiteralInteger141 = new(); + public LiteralBoolean DelegationConnectors_P_P_instantiate_A_Empty_Pattern_ObjectFlow140_LiteralBoolean142 = new(); + public CreateObjectAction DelegationConnectors_P_P_instantiate_A_Empty_Pattern_Create_A_Empty_Pattern = new(); + public OutputPin DelegationConnectors_P_P_instantiate_A_Empty_Pattern_Create_A_Empty_Pattern_result = new(); + public LiteralInteger DelegationConnectors_P_P_instantiate_A_Empty_Pattern_Create_A_Empty_Pattern_result_LiteralInteger143 = new(); + public LiteralUnlimitedNatural DelegationConnectors_P_P_instantiate_A_Empty_Pattern_Create_A_Empty_Pattern_result_LiteralUnlimitedNatural144 = new(); + public ActivityParameterNode DelegationConnectors_P_P_instantiate_A_Empty_Pattern_a_Empty_Pattern_node = new(); + public Parameter DelegationConnectors_P_P_instantiate_A_Empty_Pattern_a_Empty_Pattern = new(); + public ObjectFlow DelegationConnectors_P_P_instantiate_A_Empty_Pattern_ObjectFlow145 = new(); + public LiteralBoolean DelegationConnectors_P_P_instantiate_A_Empty_Pattern_ObjectFlow145_LiteralBoolean146 = new(); + public LiteralInteger DelegationConnectors_P_P_instantiate_A_Empty_Pattern_ObjectFlow145_LiteralInteger147 = new(); + public CallOperationAction DelegationConnectors_P_P_instantiate_A_Empty_Pattern_A_Empty_Pattern_ = new(); + public InputPin DelegationConnectors_P_P_instantiate_A_Empty_Pattern_A_Empty_Pattern__target = new(); + public LiteralUnlimitedNatural DelegationConnectors_P_P_instantiate_A_Empty_Pattern_A_Empty_Pattern__target_LiteralUnlimitedNatural148 = new(); + public LiteralInteger DelegationConnectors_P_P_instantiate_A_Empty_Pattern_A_Empty_Pattern__target_LiteralInteger149 = new(); + public OutputPin DelegationConnectors_P_P_instantiate_A_Empty_Pattern_A_Empty_Pattern__result = new(); + public LiteralInteger DelegationConnectors_P_P_instantiate_A_Empty_Pattern_A_Empty_Pattern__result_LiteralInteger150 = new(); + public LiteralInteger DelegationConnectors_P_P_instantiate_A_Empty_Pattern_A_Empty_Pattern__result_LiteralInteger151 = new(); + public LiteralUnlimitedNatural DelegationConnectors_P_P_instantiate_A_Empty_Pattern_A_Empty_Pattern__result_LiteralUnlimitedNatural152 = new(); + public Activity DelegationConnectors_P_P_assert_A_Array_Pattern = new(); + public ObjectFlow DelegationConnectors_P_P_assert_A_Array_Pattern_ObjectFlow153 = new(); + public LiteralBoolean DelegationConnectors_P_P_assert_A_Array_Pattern_ObjectFlow153_LiteralBoolean154 = new(); + public LiteralInteger DelegationConnectors_P_P_assert_A_Array_Pattern_ObjectFlow153_LiteralInteger155 = new(); + public ValueSpecificationAction DelegationConnectors_P_P_assert_A_Array_Pattern_message = new(); + public OutputPin DelegationConnectors_P_P_assert_A_Array_Pattern_message_result = new(); + public LiteralInteger DelegationConnectors_P_P_assert_A_Array_Pattern_message_result_LiteralInteger156 = new(); + public LiteralUnlimitedNatural DelegationConnectors_P_P_assert_A_Array_Pattern_message_result_LiteralUnlimitedNatural157 = new(); + public LiteralString DelegationConnectors_P_P_assert_A_Array_Pattern_message_LiteralString158 = new(); + public CallBehaviorAction DelegationConnectors_P_P_assert_A_Array_Pattern_writeLine = new(); + public OutputPin DelegationConnectors_P_P_assert_A_Array_Pattern_writeLine_errorStatus = new(); + public LiteralUnlimitedNatural DelegationConnectors_P_P_assert_A_Array_Pattern_writeLine_errorStatus_LiteralUnlimitedNatural159 = new(); + public LiteralInteger DelegationConnectors_P_P_assert_A_Array_Pattern_writeLine_errorStatus_LiteralInteger160 = new(); + public LiteralInteger DelegationConnectors_P_P_assert_A_Array_Pattern_writeLine_errorStatus_LiteralInteger161 = new(); + public InputPin DelegationConnectors_P_P_assert_A_Array_Pattern_writeLine_value = new(); + public LiteralInteger DelegationConnectors_P_P_assert_A_Array_Pattern_writeLine_value_LiteralInteger162 = new(); + public LiteralUnlimitedNatural DelegationConnectors_P_P_assert_A_Array_Pattern_writeLine_value_LiteralUnlimitedNatural163 = new(); + public LiteralInteger DelegationConnectors_P_P_assert_A_Array_Pattern_writeLine_value_LiteralInteger164 = new(); + public Parameter DelegationConnectors_P_P_assert_A_Array_Pattern_a_Array_Pattern = new(); + public ActivityParameterNode DelegationConnectors_P_P_assert_A_Array_Pattern_a_Array_Pattern_node = new(); + public LiteralInteger DelegationConnectors_P_P_assert_A_Array_Pattern_a_Array_Pattern_node_LiteralInteger165 = new(); + public Class_ DelegationConnectors_P_P_A_Empty_Pattern = new(); + public Property DelegationConnectors_P_P_A_Empty_Pattern_b = new(); + public LiteralInteger DelegationConnectors_P_P_A_Empty_Pattern_b_LiteralInteger166 = new(); + public LiteralUnlimitedNatural DelegationConnectors_P_P_A_Empty_Pattern_b_LiteralUnlimitedNatural167 = new(); + public Operation DelegationConnectors_P_P_A_Empty_Pattern_A_Empty_Pattern_A_Empty_Pattern = new(); + public Parameter DelegationConnectors_P_P_A_Empty_Pattern_A_Empty_Pattern_A_Empty_Pattern_result = new(); + public Comment DelegationConnectors_P_P_A_Empty_Pattern_Comment168 = new(); + public Port DelegationConnectors_P_P_A_Empty_Pattern_p = new(); + public LiteralInteger DelegationConnectors_P_P_A_Empty_Pattern_p_LiteralInteger169 = new(); + public LiteralUnlimitedNatural DelegationConnectors_P_P_A_Empty_Pattern_p_LiteralUnlimitedNatural170 = new(); + public Connector DelegationConnectors_P_P_A_Empty_Pattern_r = new(); + public ConnectorEnd DelegationConnectors_P_P_A_Empty_Pattern_r_ConnectorEnd171 = new(); + public LiteralUnlimitedNatural DelegationConnectors_P_P_A_Empty_Pattern_r_ConnectorEnd171_LiteralUnlimitedNatural172 = new(); + public ConnectorEnd DelegationConnectors_P_P_A_Empty_Pattern_r_ConnectorEnd173 = new(); + public LiteralUnlimitedNatural DelegationConnectors_P_P_A_Empty_Pattern_r_ConnectorEnd173_LiteralUnlimitedNatural174 = new(); + public Activity DelegationConnectors_P_P_assert_A_Empty_Pattern = new(); + public ValueSpecificationAction DelegationConnectors_P_P_assert_A_Empty_Pattern_message = new(); + public OutputPin DelegationConnectors_P_P_assert_A_Empty_Pattern_message_result = new(); + public LiteralUnlimitedNatural DelegationConnectors_P_P_assert_A_Empty_Pattern_message_result_LiteralUnlimitedNatural175 = new(); + public LiteralInteger DelegationConnectors_P_P_assert_A_Empty_Pattern_message_result_LiteralInteger176 = new(); + public LiteralString DelegationConnectors_P_P_assert_A_Empty_Pattern_message_LiteralString177 = new(); + public ObjectFlow DelegationConnectors_P_P_assert_A_Empty_Pattern_ObjectFlow178 = new(); + public LiteralInteger DelegationConnectors_P_P_assert_A_Empty_Pattern_ObjectFlow178_LiteralInteger179 = new(); + public LiteralBoolean DelegationConnectors_P_P_assert_A_Empty_Pattern_ObjectFlow178_LiteralBoolean180 = new(); + public CallBehaviorAction DelegationConnectors_P_P_assert_A_Empty_Pattern_writeLine = new(); + public OutputPin DelegationConnectors_P_P_assert_A_Empty_Pattern_writeLine_errorStatus = new(); + public LiteralUnlimitedNatural DelegationConnectors_P_P_assert_A_Empty_Pattern_writeLine_errorStatus_LiteralUnlimitedNatural181 = new(); + public LiteralInteger DelegationConnectors_P_P_assert_A_Empty_Pattern_writeLine_errorStatus_LiteralInteger182 = new(); + public LiteralInteger DelegationConnectors_P_P_assert_A_Empty_Pattern_writeLine_errorStatus_LiteralInteger183 = new(); + public InputPin DelegationConnectors_P_P_assert_A_Empty_Pattern_writeLine_value = new(); + public LiteralInteger DelegationConnectors_P_P_assert_A_Empty_Pattern_writeLine_value_LiteralInteger184 = new(); + public LiteralInteger DelegationConnectors_P_P_assert_A_Empty_Pattern_writeLine_value_LiteralInteger185 = new(); + public LiteralUnlimitedNatural DelegationConnectors_P_P_assert_A_Empty_Pattern_writeLine_value_LiteralUnlimitedNatural186 = new(); + public ActivityParameterNode DelegationConnectors_P_P_assert_A_Empty_Pattern_a_Empty_Pattern_node = new(); + public LiteralInteger DelegationConnectors_P_P_assert_A_Empty_Pattern_a_Empty_Pattern_node_LiteralInteger187 = new(); + public Parameter DelegationConnectors_P_P_assert_A_Empty_Pattern_a_Empty_Pattern = new(); + + public static DelegationConnectors_P_PModel Instance() + { + if (instance is null) + { + instance = new(); + instance.InitializeInMemoryModel(); + } + + return instance; + } + + public DelegationConnectors_P_PModel() + { + /* Start of user code : Additional model initializations + * This section may be used to do any additional model initialization, + * for example initializing user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } + + private void InitializeInMemoryModel() + { + // Create public members + /* + * Model DelegationConnectors_P_P + */ + AddToElementRepository("DelegationConnectors_P_P", DelegationConnectors_P_P); + AddToElementRepository("assert_A_Star_Pattern", DelegationConnectors_P_P_assert_A_Star_Pattern); + AddToElementRepository("writeLine", DelegationConnectors_P_P_assert_A_Star_Pattern_writeLine); + AddToElementRepository("value", DelegationConnectors_P_P_assert_A_Star_Pattern_writeLine_value); + AddToElementRepository("LiteralUnlimitedNatural0", DelegationConnectors_P_P_assert_A_Star_Pattern_writeLine_value_LiteralUnlimitedNatural0); + AddToElementRepository("LiteralInteger1", DelegationConnectors_P_P_assert_A_Star_Pattern_writeLine_value_LiteralInteger1); + AddToElementRepository("LiteralInteger2", DelegationConnectors_P_P_assert_A_Star_Pattern_writeLine_value_LiteralInteger2); + AddToElementRepository("errorStatus", DelegationConnectors_P_P_assert_A_Star_Pattern_writeLine_errorStatus); + AddToElementRepository("LiteralInteger3", DelegationConnectors_P_P_assert_A_Star_Pattern_writeLine_errorStatus_LiteralInteger3); + AddToElementRepository("LiteralInteger4", DelegationConnectors_P_P_assert_A_Star_Pattern_writeLine_errorStatus_LiteralInteger4); + AddToElementRepository("LiteralUnlimitedNatural5", DelegationConnectors_P_P_assert_A_Star_Pattern_writeLine_errorStatus_LiteralUnlimitedNatural5); + AddToElementRepository("a_Star_Pattern", DelegationConnectors_P_P_assert_A_Star_Pattern_a_Star_Pattern); + AddToElementRepository("message", DelegationConnectors_P_P_assert_A_Star_Pattern_message); + AddToElementRepository("result", DelegationConnectors_P_P_assert_A_Star_Pattern_message_result); + AddToElementRepository("LiteralUnlimitedNatural6", DelegationConnectors_P_P_assert_A_Star_Pattern_message_result_LiteralUnlimitedNatural6); + AddToElementRepository("LiteralInteger7", DelegationConnectors_P_P_assert_A_Star_Pattern_message_result_LiteralInteger7); + AddToElementRepository("LiteralString8", DelegationConnectors_P_P_assert_A_Star_Pattern_message_LiteralString8); + AddToElementRepository("ObjectFlow9", DelegationConnectors_P_P_assert_A_Star_Pattern_ObjectFlow9); + AddToElementRepository("LiteralBoolean10", DelegationConnectors_P_P_assert_A_Star_Pattern_ObjectFlow9_LiteralBoolean10); + AddToElementRepository("LiteralInteger11", DelegationConnectors_P_P_assert_A_Star_Pattern_ObjectFlow9_LiteralInteger11); + AddToElementRepository("a_Star_Pattern_node", DelegationConnectors_P_P_assert_A_Star_Pattern_a_Star_Pattern_node); + AddToElementRepository("LiteralInteger12", DelegationConnectors_P_P_assert_A_Star_Pattern_a_Star_Pattern_node_LiteralInteger12); + AddToElementRepository("instantiate_A_Star_Pattern", DelegationConnectors_P_P_instantiate_A_Star_Pattern); + AddToElementRepository("A_Star_Pattern()", DelegationConnectors_P_P_instantiate_A_Star_Pattern_A_Star_Pattern_); + AddToElementRepository("target", DelegationConnectors_P_P_instantiate_A_Star_Pattern_A_Star_Pattern__target); + AddToElementRepository("LiteralUnlimitedNatural13", DelegationConnectors_P_P_instantiate_A_Star_Pattern_A_Star_Pattern__target_LiteralUnlimitedNatural13); + AddToElementRepository("LiteralInteger14", DelegationConnectors_P_P_instantiate_A_Star_Pattern_A_Star_Pattern__target_LiteralInteger14); + AddToElementRepository("result", DelegationConnectors_P_P_instantiate_A_Star_Pattern_A_Star_Pattern__result); + AddToElementRepository("LiteralInteger15", DelegationConnectors_P_P_instantiate_A_Star_Pattern_A_Star_Pattern__result_LiteralInteger15); + AddToElementRepository("LiteralInteger16", DelegationConnectors_P_P_instantiate_A_Star_Pattern_A_Star_Pattern__result_LiteralInteger16); + AddToElementRepository("LiteralUnlimitedNatural17", DelegationConnectors_P_P_instantiate_A_Star_Pattern_A_Star_Pattern__result_LiteralUnlimitedNatural17); + AddToElementRepository("ObjectFlow18", DelegationConnectors_P_P_instantiate_A_Star_Pattern_ObjectFlow18); + AddToElementRepository("LiteralBoolean19", DelegationConnectors_P_P_instantiate_A_Star_Pattern_ObjectFlow18_LiteralBoolean19); + AddToElementRepository("LiteralInteger20", DelegationConnectors_P_P_instantiate_A_Star_Pattern_ObjectFlow18_LiteralInteger20); + AddToElementRepository("ObjectFlow21", DelegationConnectors_P_P_instantiate_A_Star_Pattern_ObjectFlow21); + AddToElementRepository("LiteralBoolean22", DelegationConnectors_P_P_instantiate_A_Star_Pattern_ObjectFlow21_LiteralBoolean22); + AddToElementRepository("LiteralInteger23", DelegationConnectors_P_P_instantiate_A_Star_Pattern_ObjectFlow21_LiteralInteger23); + AddToElementRepository("a_Star_Pattern", DelegationConnectors_P_P_instantiate_A_Star_Pattern_a_Star_Pattern); + AddToElementRepository("a_Star_Pattern_node", DelegationConnectors_P_P_instantiate_A_Star_Pattern_a_Star_Pattern_node); + AddToElementRepository("Create A_Star_Pattern", DelegationConnectors_P_P_instantiate_A_Star_Pattern_Create_A_Star_Pattern); + AddToElementRepository("result", DelegationConnectors_P_P_instantiate_A_Star_Pattern_Create_A_Star_Pattern_result); + AddToElementRepository("LiteralInteger24", DelegationConnectors_P_P_instantiate_A_Star_Pattern_Create_A_Star_Pattern_result_LiteralInteger24); + AddToElementRepository("LiteralUnlimitedNatural25", DelegationConnectors_P_P_instantiate_A_Star_Pattern_Create_A_Star_Pattern_result_LiteralUnlimitedNatural25); + AddToElementRepository("A_Star_Pattern", DelegationConnectors_P_P_A_Star_Pattern); + AddToElementRepository("b", DelegationConnectors_P_P_A_Star_Pattern_b); + AddToElementRepository("LiteralInteger26", DelegationConnectors_P_P_A_Star_Pattern_b_LiteralInteger26); + AddToElementRepository("LiteralUnlimitedNatural27", DelegationConnectors_P_P_A_Star_Pattern_b_LiteralUnlimitedNatural27); + AddToElementRepository("p", DelegationConnectors_P_P_A_Star_Pattern_p); + AddToElementRepository("LiteralInteger28", DelegationConnectors_P_P_A_Star_Pattern_p_LiteralInteger28); + AddToElementRepository("LiteralUnlimitedNatural29", DelegationConnectors_P_P_A_Star_Pattern_p_LiteralUnlimitedNatural29); + AddToElementRepository("r", DelegationConnectors_P_P_A_Star_Pattern_r); + AddToElementRepository("ConnectorEnd30", DelegationConnectors_P_P_A_Star_Pattern_r_ConnectorEnd30); + AddToElementRepository("LiteralInteger31", DelegationConnectors_P_P_A_Star_Pattern_r_ConnectorEnd30_LiteralInteger31); + AddToElementRepository("LiteralUnlimitedNatural32", DelegationConnectors_P_P_A_Star_Pattern_r_ConnectorEnd30_LiteralUnlimitedNatural32); + AddToElementRepository("ConnectorEnd33", DelegationConnectors_P_P_A_Star_Pattern_r_ConnectorEnd33); + AddToElementRepository("LiteralUnlimitedNatural34", DelegationConnectors_P_P_A_Star_Pattern_r_ConnectorEnd33_LiteralUnlimitedNatural34); + AddToElementRepository("LiteralInteger35", DelegationConnectors_P_P_A_Star_Pattern_r_ConnectorEnd33_LiteralInteger35); + AddToElementRepository("Comment36", DelegationConnectors_P_P_A_Star_Pattern_Comment36); + AddToElementRepository("A_Star_Pattern_A_Star_Pattern", DelegationConnectors_P_P_A_Star_Pattern_A_Star_Pattern_A_Star_Pattern); + AddToElementRepository("result", DelegationConnectors_P_P_A_Star_Pattern_A_Star_Pattern_A_Star_Pattern_result); + AddToElementRepository("B", DelegationConnectors_P_P_B); + AddToElementRepository("I_Realization", DelegationConnectors_P_P_B_I_Realization); + AddToElementRepository("main", DelegationConnectors_P_P_main); + AddToElementRepository("ControlFlow37", DelegationConnectors_P_P_main_ControlFlow37); + AddToElementRepository("assert_A_Array_Pattern", DelegationConnectors_P_P_main_assert_A_Array_Pattern); + AddToElementRepository("a_Array_Pattern", DelegationConnectors_P_P_main_assert_A_Array_Pattern_a_Array_Pattern); + AddToElementRepository("LiteralInteger38", DelegationConnectors_P_P_main_assert_A_Array_Pattern_a_Array_Pattern_LiteralInteger38); + AddToElementRepository("LiteralInteger39", DelegationConnectors_P_P_main_assert_A_Array_Pattern_a_Array_Pattern_LiteralInteger39); + AddToElementRepository("LiteralUnlimitedNatural40", DelegationConnectors_P_P_main_assert_A_Array_Pattern_a_Array_Pattern_LiteralUnlimitedNatural40); + AddToElementRepository("ObjectFlow41", DelegationConnectors_P_P_main_ObjectFlow41); + AddToElementRepository("LiteralInteger42", DelegationConnectors_P_P_main_ObjectFlow41_LiteralInteger42); + AddToElementRepository("LiteralBoolean43", DelegationConnectors_P_P_main_ObjectFlow41_LiteralBoolean43); + AddToElementRepository("assert_A_Unconnected_Pattern", DelegationConnectors_P_P_main_assert_A_Unconnected_Pattern); + AddToElementRepository("a_Unconnected_Pattern", DelegationConnectors_P_P_main_assert_A_Unconnected_Pattern_a_Unconnected_Pattern); + AddToElementRepository("LiteralInteger44", DelegationConnectors_P_P_main_assert_A_Unconnected_Pattern_a_Unconnected_Pattern_LiteralInteger44); + AddToElementRepository("LiteralInteger45", DelegationConnectors_P_P_main_assert_A_Unconnected_Pattern_a_Unconnected_Pattern_LiteralInteger45); + AddToElementRepository("LiteralUnlimitedNatural46", DelegationConnectors_P_P_main_assert_A_Unconnected_Pattern_a_Unconnected_Pattern_LiteralUnlimitedNatural46); + AddToElementRepository("instantiate_A_Unconnected_Pattern", DelegationConnectors_P_P_main_instantiate_A_Unconnected_Pattern); + AddToElementRepository("a_Unconnected_Pattern", DelegationConnectors_P_P_main_instantiate_A_Unconnected_Pattern_a_Unconnected_Pattern); + AddToElementRepository("LiteralInteger47", DelegationConnectors_P_P_main_instantiate_A_Unconnected_Pattern_a_Unconnected_Pattern_LiteralInteger47); + AddToElementRepository("LiteralInteger48", DelegationConnectors_P_P_main_instantiate_A_Unconnected_Pattern_a_Unconnected_Pattern_LiteralInteger48); + AddToElementRepository("LiteralUnlimitedNatural49", DelegationConnectors_P_P_main_instantiate_A_Unconnected_Pattern_a_Unconnected_Pattern_LiteralUnlimitedNatural49); + AddToElementRepository("instantiate_A_Empty_Pattern", DelegationConnectors_P_P_main_instantiate_A_Empty_Pattern); + AddToElementRepository("a_Empty_Pattern", DelegationConnectors_P_P_main_instantiate_A_Empty_Pattern_a_Empty_Pattern); + AddToElementRepository("LiteralUnlimitedNatural50", DelegationConnectors_P_P_main_instantiate_A_Empty_Pattern_a_Empty_Pattern_LiteralUnlimitedNatural50); + AddToElementRepository("LiteralInteger51", DelegationConnectors_P_P_main_instantiate_A_Empty_Pattern_a_Empty_Pattern_LiteralInteger51); + AddToElementRepository("LiteralInteger52", DelegationConnectors_P_P_main_instantiate_A_Empty_Pattern_a_Empty_Pattern_LiteralInteger52); + AddToElementRepository("assert_A_Star_Pattern", DelegationConnectors_P_P_main_assert_A_Star_Pattern); + AddToElementRepository("a_Star_Pattern", DelegationConnectors_P_P_main_assert_A_Star_Pattern_a_Star_Pattern); + AddToElementRepository("LiteralInteger53", DelegationConnectors_P_P_main_assert_A_Star_Pattern_a_Star_Pattern_LiteralInteger53); + AddToElementRepository("LiteralUnlimitedNatural54", DelegationConnectors_P_P_main_assert_A_Star_Pattern_a_Star_Pattern_LiteralUnlimitedNatural54); + AddToElementRepository("LiteralInteger55", DelegationConnectors_P_P_main_assert_A_Star_Pattern_a_Star_Pattern_LiteralInteger55); + AddToElementRepository("assert_A_Empty_Pattern", DelegationConnectors_P_P_main_assert_A_Empty_Pattern); + AddToElementRepository("a_Empty_Pattern", DelegationConnectors_P_P_main_assert_A_Empty_Pattern_a_Empty_Pattern); + AddToElementRepository("LiteralInteger56", DelegationConnectors_P_P_main_assert_A_Empty_Pattern_a_Empty_Pattern_LiteralInteger56); + AddToElementRepository("LiteralUnlimitedNatural57", DelegationConnectors_P_P_main_assert_A_Empty_Pattern_a_Empty_Pattern_LiteralUnlimitedNatural57); + AddToElementRepository("LiteralInteger58", DelegationConnectors_P_P_main_assert_A_Empty_Pattern_a_Empty_Pattern_LiteralInteger58); + AddToElementRepository("ObjectFlow59", DelegationConnectors_P_P_main_ObjectFlow59); + AddToElementRepository("LiteralInteger60", DelegationConnectors_P_P_main_ObjectFlow59_LiteralInteger60); + AddToElementRepository("LiteralBoolean61", DelegationConnectors_P_P_main_ObjectFlow59_LiteralBoolean61); + AddToElementRepository("instantiate_A_Array_Pattern", DelegationConnectors_P_P_main_instantiate_A_Array_Pattern); + AddToElementRepository("a_Array_Pattern", DelegationConnectors_P_P_main_instantiate_A_Array_Pattern_a_Array_Pattern); + AddToElementRepository("LiteralInteger62", DelegationConnectors_P_P_main_instantiate_A_Array_Pattern_a_Array_Pattern_LiteralInteger62); + AddToElementRepository("LiteralInteger63", DelegationConnectors_P_P_main_instantiate_A_Array_Pattern_a_Array_Pattern_LiteralInteger63); + AddToElementRepository("LiteralUnlimitedNatural64", DelegationConnectors_P_P_main_instantiate_A_Array_Pattern_a_Array_Pattern_LiteralUnlimitedNatural64); + AddToElementRepository("ObjectFlow65", DelegationConnectors_P_P_main_ObjectFlow65); + AddToElementRepository("LiteralInteger66", DelegationConnectors_P_P_main_ObjectFlow65_LiteralInteger66); + AddToElementRepository("LiteralBoolean67", DelegationConnectors_P_P_main_ObjectFlow65_LiteralBoolean67); + AddToElementRepository("ObjectFlow68", DelegationConnectors_P_P_main_ObjectFlow68); + AddToElementRepository("LiteralInteger69", DelegationConnectors_P_P_main_ObjectFlow68_LiteralInteger69); + AddToElementRepository("LiteralBoolean70", DelegationConnectors_P_P_main_ObjectFlow68_LiteralBoolean70); + AddToElementRepository("instantiate_A_Star_Pattern", DelegationConnectors_P_P_main_instantiate_A_Star_Pattern); + AddToElementRepository("a_Star_Pattern", DelegationConnectors_P_P_main_instantiate_A_Star_Pattern_a_Star_Pattern); + AddToElementRepository("LiteralUnlimitedNatural71", DelegationConnectors_P_P_main_instantiate_A_Star_Pattern_a_Star_Pattern_LiteralUnlimitedNatural71); + AddToElementRepository("LiteralInteger72", DelegationConnectors_P_P_main_instantiate_A_Star_Pattern_a_Star_Pattern_LiteralInteger72); + AddToElementRepository("LiteralInteger73", DelegationConnectors_P_P_main_instantiate_A_Star_Pattern_a_Star_Pattern_LiteralInteger73); + AddToElementRepository("ControlFlow74", DelegationConnectors_P_P_main_ControlFlow74); + AddToElementRepository("ControlFlow75", DelegationConnectors_P_P_main_ControlFlow75); + AddToElementRepository("instantiate_A_Unconnected_Pattern", DelegationConnectors_P_P_instantiate_A_Unconnected_Pattern); + AddToElementRepository("A_Unconnected_Pattern()", DelegationConnectors_P_P_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern_); + AddToElementRepository("result", DelegationConnectors_P_P_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern__result); + AddToElementRepository("LiteralUnlimitedNatural76", DelegationConnectors_P_P_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern__result_LiteralUnlimitedNatural76); + AddToElementRepository("LiteralInteger77", DelegationConnectors_P_P_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern__result_LiteralInteger77); + AddToElementRepository("LiteralInteger78", DelegationConnectors_P_P_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern__result_LiteralInteger78); + AddToElementRepository("target", DelegationConnectors_P_P_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern__target); + AddToElementRepository("LiteralInteger79", DelegationConnectors_P_P_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern__target_LiteralInteger79); + AddToElementRepository("LiteralUnlimitedNatural80", DelegationConnectors_P_P_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern__target_LiteralUnlimitedNatural80); + AddToElementRepository("ObjectFlow81", DelegationConnectors_P_P_instantiate_A_Unconnected_Pattern_ObjectFlow81); + AddToElementRepository("LiteralBoolean82", DelegationConnectors_P_P_instantiate_A_Unconnected_Pattern_ObjectFlow81_LiteralBoolean82); + AddToElementRepository("LiteralInteger83", DelegationConnectors_P_P_instantiate_A_Unconnected_Pattern_ObjectFlow81_LiteralInteger83); + AddToElementRepository("a_Unconnected_Pattern", DelegationConnectors_P_P_instantiate_A_Unconnected_Pattern_a_Unconnected_Pattern); + AddToElementRepository("Create A_Unconnected_Pattern", DelegationConnectors_P_P_instantiate_A_Unconnected_Pattern_Create_A_Unconnected_Pattern); + AddToElementRepository("result", DelegationConnectors_P_P_instantiate_A_Unconnected_Pattern_Create_A_Unconnected_Pattern_result); + AddToElementRepository("LiteralInteger84", DelegationConnectors_P_P_instantiate_A_Unconnected_Pattern_Create_A_Unconnected_Pattern_result_LiteralInteger84); + AddToElementRepository("LiteralUnlimitedNatural85", DelegationConnectors_P_P_instantiate_A_Unconnected_Pattern_Create_A_Unconnected_Pattern_result_LiteralUnlimitedNatural85); + AddToElementRepository("ObjectFlow86", DelegationConnectors_P_P_instantiate_A_Unconnected_Pattern_ObjectFlow86); + AddToElementRepository("LiteralBoolean87", DelegationConnectors_P_P_instantiate_A_Unconnected_Pattern_ObjectFlow86_LiteralBoolean87); + AddToElementRepository("LiteralInteger88", DelegationConnectors_P_P_instantiate_A_Unconnected_Pattern_ObjectFlow86_LiteralInteger88); + AddToElementRepository("a_Unconnected_Pattern_node", DelegationConnectors_P_P_instantiate_A_Unconnected_Pattern_a_Unconnected_Pattern_node); + AddToElementRepository("IImpl", DelegationConnectors_P_P_IImpl); + AddToElementRepository("I_Realization", DelegationConnectors_P_P_IImpl_I_Realization); + AddToElementRepository("instantiate_A_Array_Pattern", DelegationConnectors_P_P_instantiate_A_Array_Pattern); + AddToElementRepository("A_Array_Pattern()", DelegationConnectors_P_P_instantiate_A_Array_Pattern_A_Array_Pattern_); + AddToElementRepository("result", DelegationConnectors_P_P_instantiate_A_Array_Pattern_A_Array_Pattern__result); + AddToElementRepository("LiteralInteger89", DelegationConnectors_P_P_instantiate_A_Array_Pattern_A_Array_Pattern__result_LiteralInteger89); + AddToElementRepository("LiteralInteger90", DelegationConnectors_P_P_instantiate_A_Array_Pattern_A_Array_Pattern__result_LiteralInteger90); + AddToElementRepository("LiteralUnlimitedNatural91", DelegationConnectors_P_P_instantiate_A_Array_Pattern_A_Array_Pattern__result_LiteralUnlimitedNatural91); + AddToElementRepository("target", DelegationConnectors_P_P_instantiate_A_Array_Pattern_A_Array_Pattern__target); + AddToElementRepository("LiteralInteger92", DelegationConnectors_P_P_instantiate_A_Array_Pattern_A_Array_Pattern__target_LiteralInteger92); + AddToElementRepository("LiteralUnlimitedNatural93", DelegationConnectors_P_P_instantiate_A_Array_Pattern_A_Array_Pattern__target_LiteralUnlimitedNatural93); + AddToElementRepository("Create A_Array_Pattern", DelegationConnectors_P_P_instantiate_A_Array_Pattern_Create_A_Array_Pattern); + AddToElementRepository("result", DelegationConnectors_P_P_instantiate_A_Array_Pattern_Create_A_Array_Pattern_result); + AddToElementRepository("LiteralInteger94", DelegationConnectors_P_P_instantiate_A_Array_Pattern_Create_A_Array_Pattern_result_LiteralInteger94); + AddToElementRepository("LiteralUnlimitedNatural95", DelegationConnectors_P_P_instantiate_A_Array_Pattern_Create_A_Array_Pattern_result_LiteralUnlimitedNatural95); + AddToElementRepository("ObjectFlow96", DelegationConnectors_P_P_instantiate_A_Array_Pattern_ObjectFlow96); + AddToElementRepository("LiteralInteger97", DelegationConnectors_P_P_instantiate_A_Array_Pattern_ObjectFlow96_LiteralInteger97); + AddToElementRepository("LiteralBoolean98", DelegationConnectors_P_P_instantiate_A_Array_Pattern_ObjectFlow96_LiteralBoolean98); + AddToElementRepository("a_Array_Pattern", DelegationConnectors_P_P_instantiate_A_Array_Pattern_a_Array_Pattern); + AddToElementRepository("ObjectFlow99", DelegationConnectors_P_P_instantiate_A_Array_Pattern_ObjectFlow99); + AddToElementRepository("LiteralBoolean100", DelegationConnectors_P_P_instantiate_A_Array_Pattern_ObjectFlow99_LiteralBoolean100); + AddToElementRepository("LiteralInteger101", DelegationConnectors_P_P_instantiate_A_Array_Pattern_ObjectFlow99_LiteralInteger101); + AddToElementRepository("a_Array_Pattern_node", DelegationConnectors_P_P_instantiate_A_Array_Pattern_a_Array_Pattern_node); + AddToElementRepository("LiteralInteger102", DelegationConnectors_P_P_instantiate_A_Array_Pattern_a_Array_Pattern_node_LiteralInteger102); + AddToElementRepository("assert_A_Unconnected_Pattern", DelegationConnectors_P_P_assert_A_Unconnected_Pattern); + AddToElementRepository("a_Unconnected_Pattern_node", DelegationConnectors_P_P_assert_A_Unconnected_Pattern_a_Unconnected_Pattern_node); + AddToElementRepository("LiteralInteger103", DelegationConnectors_P_P_assert_A_Unconnected_Pattern_a_Unconnected_Pattern_node_LiteralInteger103); + AddToElementRepository("writeLine", DelegationConnectors_P_P_assert_A_Unconnected_Pattern_writeLine); + AddToElementRepository("value", DelegationConnectors_P_P_assert_A_Unconnected_Pattern_writeLine_value); + AddToElementRepository("LiteralUnlimitedNatural104", DelegationConnectors_P_P_assert_A_Unconnected_Pattern_writeLine_value_LiteralUnlimitedNatural104); + AddToElementRepository("LiteralInteger105", DelegationConnectors_P_P_assert_A_Unconnected_Pattern_writeLine_value_LiteralInteger105); + AddToElementRepository("LiteralInteger106", DelegationConnectors_P_P_assert_A_Unconnected_Pattern_writeLine_value_LiteralInteger106); + AddToElementRepository("errorStatus", DelegationConnectors_P_P_assert_A_Unconnected_Pattern_writeLine_errorStatus); + AddToElementRepository("LiteralInteger107", DelegationConnectors_P_P_assert_A_Unconnected_Pattern_writeLine_errorStatus_LiteralInteger107); + AddToElementRepository("LiteralInteger108", DelegationConnectors_P_P_assert_A_Unconnected_Pattern_writeLine_errorStatus_LiteralInteger108); + AddToElementRepository("LiteralUnlimitedNatural109", DelegationConnectors_P_P_assert_A_Unconnected_Pattern_writeLine_errorStatus_LiteralUnlimitedNatural109); + AddToElementRepository("a_Unconnected_Pattern", DelegationConnectors_P_P_assert_A_Unconnected_Pattern_a_Unconnected_Pattern); + AddToElementRepository("ObjectFlow110", DelegationConnectors_P_P_assert_A_Unconnected_Pattern_ObjectFlow110); + AddToElementRepository("LiteralBoolean111", DelegationConnectors_P_P_assert_A_Unconnected_Pattern_ObjectFlow110_LiteralBoolean111); + AddToElementRepository("LiteralInteger112", DelegationConnectors_P_P_assert_A_Unconnected_Pattern_ObjectFlow110_LiteralInteger112); + AddToElementRepository("message", DelegationConnectors_P_P_assert_A_Unconnected_Pattern_message); + AddToElementRepository("result", DelegationConnectors_P_P_assert_A_Unconnected_Pattern_message_result); + AddToElementRepository("LiteralInteger113", DelegationConnectors_P_P_assert_A_Unconnected_Pattern_message_result_LiteralInteger113); + AddToElementRepository("LiteralUnlimitedNatural114", DelegationConnectors_P_P_assert_A_Unconnected_Pattern_message_result_LiteralUnlimitedNatural114); + AddToElementRepository("LiteralString115", DelegationConnectors_P_P_assert_A_Unconnected_Pattern_message_LiteralString115); + AddToElementRepository("A_Array_Pattern", DelegationConnectors_P_P_A_Array_Pattern); + AddToElementRepository("Comment116", DelegationConnectors_P_P_A_Array_Pattern_Comment116); + AddToElementRepository("r", DelegationConnectors_P_P_A_Array_Pattern_r); + AddToElementRepository("ConnectorEnd117", DelegationConnectors_P_P_A_Array_Pattern_r_ConnectorEnd117); + AddToElementRepository("LiteralUnlimitedNatural118", DelegationConnectors_P_P_A_Array_Pattern_r_ConnectorEnd117_LiteralUnlimitedNatural118); + AddToElementRepository("ConnectorEnd119", DelegationConnectors_P_P_A_Array_Pattern_r_ConnectorEnd119); + AddToElementRepository("LiteralUnlimitedNatural120", DelegationConnectors_P_P_A_Array_Pattern_r_ConnectorEnd119_LiteralUnlimitedNatural120); + AddToElementRepository("b", DelegationConnectors_P_P_A_Array_Pattern_b); + AddToElementRepository("LiteralUnlimitedNatural121", DelegationConnectors_P_P_A_Array_Pattern_b_LiteralUnlimitedNatural121); + AddToElementRepository("LiteralInteger122", DelegationConnectors_P_P_A_Array_Pattern_b_LiteralInteger122); + AddToElementRepository("A_Array_Pattern_A_Array_Pattern", DelegationConnectors_P_P_A_Array_Pattern_A_Array_Pattern_A_Array_Pattern); + AddToElementRepository("result", DelegationConnectors_P_P_A_Array_Pattern_A_Array_Pattern_A_Array_Pattern_result); + AddToElementRepository("p", DelegationConnectors_P_P_A_Array_Pattern_p); + AddToElementRepository("LiteralInteger123", DelegationConnectors_P_P_A_Array_Pattern_p_LiteralInteger123); + AddToElementRepository("LiteralUnlimitedNatural124", DelegationConnectors_P_P_A_Array_Pattern_p_LiteralUnlimitedNatural124); + AddToElementRepository("R", DelegationConnectors_P_P_R); + AddToElementRepository("x", DelegationConnectors_P_P_R_x); + AddToElementRepository("LiteralInteger125", DelegationConnectors_P_P_R_x_LiteralInteger125); + AddToElementRepository("LiteralUnlimitedNatural126", DelegationConnectors_P_P_R_x_LiteralUnlimitedNatural126); + AddToElementRepository("y", DelegationConnectors_P_P_R_y); + AddToElementRepository("LiteralInteger127", DelegationConnectors_P_P_R_y_LiteralInteger127); + AddToElementRepository("LiteralUnlimitedNatural128", DelegationConnectors_P_P_R_y_LiteralUnlimitedNatural128); + AddToElementRepository("A_Unconnected_Pattern", DelegationConnectors_P_P_A_Unconnected_Pattern); + AddToElementRepository("p", DelegationConnectors_P_P_A_Unconnected_Pattern_p); + AddToElementRepository("LiteralInteger129", DelegationConnectors_P_P_A_Unconnected_Pattern_p_LiteralInteger129); + AddToElementRepository("LiteralUnlimitedNatural130", DelegationConnectors_P_P_A_Unconnected_Pattern_p_LiteralUnlimitedNatural130); + AddToElementRepository("A_Unconnected_Pattern_A_Unconnected_Pattern", DelegationConnectors_P_P_A_Unconnected_Pattern_A_Unconnected_Pattern_A_Unconnected_Pattern); + AddToElementRepository("result", DelegationConnectors_P_P_A_Unconnected_Pattern_A_Unconnected_Pattern_A_Unconnected_Pattern_result); + AddToElementRepository("b", DelegationConnectors_P_P_A_Unconnected_Pattern_b); + AddToElementRepository("LiteralInteger131", DelegationConnectors_P_P_A_Unconnected_Pattern_b_LiteralInteger131); + AddToElementRepository("LiteralUnlimitedNatural132", DelegationConnectors_P_P_A_Unconnected_Pattern_b_LiteralUnlimitedNatural132); + AddToElementRepository("r", DelegationConnectors_P_P_A_Unconnected_Pattern_r); + AddToElementRepository("ConnectorEnd133", DelegationConnectors_P_P_A_Unconnected_Pattern_r_ConnectorEnd133); + AddToElementRepository("LiteralInteger134", DelegationConnectors_P_P_A_Unconnected_Pattern_r_ConnectorEnd133_LiteralInteger134); + AddToElementRepository("LiteralUnlimitedNatural135", DelegationConnectors_P_P_A_Unconnected_Pattern_r_ConnectorEnd133_LiteralUnlimitedNatural135); + AddToElementRepository("ConnectorEnd136", DelegationConnectors_P_P_A_Unconnected_Pattern_r_ConnectorEnd136); + AddToElementRepository("LiteralUnlimitedNatural137", DelegationConnectors_P_P_A_Unconnected_Pattern_r_ConnectorEnd136_LiteralUnlimitedNatural137); + AddToElementRepository("LiteralInteger138", DelegationConnectors_P_P_A_Unconnected_Pattern_r_ConnectorEnd136_LiteralInteger138); + AddToElementRepository("Comment139", DelegationConnectors_P_P_A_Unconnected_Pattern_Comment139); + AddToElementRepository("I", DelegationConnectors_P_P_I); + AddToElementRepository("instantiate_A_Empty_Pattern", DelegationConnectors_P_P_instantiate_A_Empty_Pattern); + AddToElementRepository("ObjectFlow140", DelegationConnectors_P_P_instantiate_A_Empty_Pattern_ObjectFlow140); + AddToElementRepository("LiteralInteger141", DelegationConnectors_P_P_instantiate_A_Empty_Pattern_ObjectFlow140_LiteralInteger141); + AddToElementRepository("LiteralBoolean142", DelegationConnectors_P_P_instantiate_A_Empty_Pattern_ObjectFlow140_LiteralBoolean142); + AddToElementRepository("Create A_Empty_Pattern", DelegationConnectors_P_P_instantiate_A_Empty_Pattern_Create_A_Empty_Pattern); + AddToElementRepository("result", DelegationConnectors_P_P_instantiate_A_Empty_Pattern_Create_A_Empty_Pattern_result); + AddToElementRepository("LiteralInteger143", DelegationConnectors_P_P_instantiate_A_Empty_Pattern_Create_A_Empty_Pattern_result_LiteralInteger143); + AddToElementRepository("LiteralUnlimitedNatural144", DelegationConnectors_P_P_instantiate_A_Empty_Pattern_Create_A_Empty_Pattern_result_LiteralUnlimitedNatural144); + AddToElementRepository("a_Empty_Pattern_node", DelegationConnectors_P_P_instantiate_A_Empty_Pattern_a_Empty_Pattern_node); + AddToElementRepository("a_Empty_Pattern", DelegationConnectors_P_P_instantiate_A_Empty_Pattern_a_Empty_Pattern); + AddToElementRepository("ObjectFlow145", DelegationConnectors_P_P_instantiate_A_Empty_Pattern_ObjectFlow145); + AddToElementRepository("LiteralBoolean146", DelegationConnectors_P_P_instantiate_A_Empty_Pattern_ObjectFlow145_LiteralBoolean146); + AddToElementRepository("LiteralInteger147", DelegationConnectors_P_P_instantiate_A_Empty_Pattern_ObjectFlow145_LiteralInteger147); + AddToElementRepository("A_Empty_Pattern()", DelegationConnectors_P_P_instantiate_A_Empty_Pattern_A_Empty_Pattern_); + AddToElementRepository("target", DelegationConnectors_P_P_instantiate_A_Empty_Pattern_A_Empty_Pattern__target); + AddToElementRepository("LiteralUnlimitedNatural148", DelegationConnectors_P_P_instantiate_A_Empty_Pattern_A_Empty_Pattern__target_LiteralUnlimitedNatural148); + AddToElementRepository("LiteralInteger149", DelegationConnectors_P_P_instantiate_A_Empty_Pattern_A_Empty_Pattern__target_LiteralInteger149); + AddToElementRepository("result", DelegationConnectors_P_P_instantiate_A_Empty_Pattern_A_Empty_Pattern__result); + AddToElementRepository("LiteralInteger150", DelegationConnectors_P_P_instantiate_A_Empty_Pattern_A_Empty_Pattern__result_LiteralInteger150); + AddToElementRepository("LiteralInteger151", DelegationConnectors_P_P_instantiate_A_Empty_Pattern_A_Empty_Pattern__result_LiteralInteger151); + AddToElementRepository("LiteralUnlimitedNatural152", DelegationConnectors_P_P_instantiate_A_Empty_Pattern_A_Empty_Pattern__result_LiteralUnlimitedNatural152); + AddToElementRepository("assert_A_Array_Pattern", DelegationConnectors_P_P_assert_A_Array_Pattern); + AddToElementRepository("ObjectFlow153", DelegationConnectors_P_P_assert_A_Array_Pattern_ObjectFlow153); + AddToElementRepository("LiteralBoolean154", DelegationConnectors_P_P_assert_A_Array_Pattern_ObjectFlow153_LiteralBoolean154); + AddToElementRepository("LiteralInteger155", DelegationConnectors_P_P_assert_A_Array_Pattern_ObjectFlow153_LiteralInteger155); + AddToElementRepository("message", DelegationConnectors_P_P_assert_A_Array_Pattern_message); + AddToElementRepository("result", DelegationConnectors_P_P_assert_A_Array_Pattern_message_result); + AddToElementRepository("LiteralInteger156", DelegationConnectors_P_P_assert_A_Array_Pattern_message_result_LiteralInteger156); + AddToElementRepository("LiteralUnlimitedNatural157", DelegationConnectors_P_P_assert_A_Array_Pattern_message_result_LiteralUnlimitedNatural157); + AddToElementRepository("LiteralString158", DelegationConnectors_P_P_assert_A_Array_Pattern_message_LiteralString158); + AddToElementRepository("writeLine", DelegationConnectors_P_P_assert_A_Array_Pattern_writeLine); + AddToElementRepository("errorStatus", DelegationConnectors_P_P_assert_A_Array_Pattern_writeLine_errorStatus); + AddToElementRepository("LiteralUnlimitedNatural159", DelegationConnectors_P_P_assert_A_Array_Pattern_writeLine_errorStatus_LiteralUnlimitedNatural159); + AddToElementRepository("LiteralInteger160", DelegationConnectors_P_P_assert_A_Array_Pattern_writeLine_errorStatus_LiteralInteger160); + AddToElementRepository("LiteralInteger161", DelegationConnectors_P_P_assert_A_Array_Pattern_writeLine_errorStatus_LiteralInteger161); + AddToElementRepository("value", DelegationConnectors_P_P_assert_A_Array_Pattern_writeLine_value); + AddToElementRepository("LiteralInteger162", DelegationConnectors_P_P_assert_A_Array_Pattern_writeLine_value_LiteralInteger162); + AddToElementRepository("LiteralUnlimitedNatural163", DelegationConnectors_P_P_assert_A_Array_Pattern_writeLine_value_LiteralUnlimitedNatural163); + AddToElementRepository("LiteralInteger164", DelegationConnectors_P_P_assert_A_Array_Pattern_writeLine_value_LiteralInteger164); + AddToElementRepository("a_Array_Pattern", DelegationConnectors_P_P_assert_A_Array_Pattern_a_Array_Pattern); + AddToElementRepository("a_Array_Pattern_node", DelegationConnectors_P_P_assert_A_Array_Pattern_a_Array_Pattern_node); + AddToElementRepository("LiteralInteger165", DelegationConnectors_P_P_assert_A_Array_Pattern_a_Array_Pattern_node_LiteralInteger165); + AddToElementRepository("A_Empty_Pattern", DelegationConnectors_P_P_A_Empty_Pattern); + AddToElementRepository("b", DelegationConnectors_P_P_A_Empty_Pattern_b); + AddToElementRepository("LiteralInteger166", DelegationConnectors_P_P_A_Empty_Pattern_b_LiteralInteger166); + AddToElementRepository("LiteralUnlimitedNatural167", DelegationConnectors_P_P_A_Empty_Pattern_b_LiteralUnlimitedNatural167); + AddToElementRepository("A_Empty_Pattern_A_Empty_Pattern", DelegationConnectors_P_P_A_Empty_Pattern_A_Empty_Pattern_A_Empty_Pattern); + AddToElementRepository("result", DelegationConnectors_P_P_A_Empty_Pattern_A_Empty_Pattern_A_Empty_Pattern_result); + AddToElementRepository("Comment168", DelegationConnectors_P_P_A_Empty_Pattern_Comment168); + AddToElementRepository("p", DelegationConnectors_P_P_A_Empty_Pattern_p); + AddToElementRepository("LiteralInteger169", DelegationConnectors_P_P_A_Empty_Pattern_p_LiteralInteger169); + AddToElementRepository("LiteralUnlimitedNatural170", DelegationConnectors_P_P_A_Empty_Pattern_p_LiteralUnlimitedNatural170); + AddToElementRepository("r", DelegationConnectors_P_P_A_Empty_Pattern_r); + AddToElementRepository("ConnectorEnd171", DelegationConnectors_P_P_A_Empty_Pattern_r_ConnectorEnd171); + AddToElementRepository("LiteralUnlimitedNatural172", DelegationConnectors_P_P_A_Empty_Pattern_r_ConnectorEnd171_LiteralUnlimitedNatural172); + AddToElementRepository("ConnectorEnd173", DelegationConnectors_P_P_A_Empty_Pattern_r_ConnectorEnd173); + AddToElementRepository("LiteralUnlimitedNatural174", DelegationConnectors_P_P_A_Empty_Pattern_r_ConnectorEnd173_LiteralUnlimitedNatural174); + AddToElementRepository("assert_A_Empty_Pattern", DelegationConnectors_P_P_assert_A_Empty_Pattern); + AddToElementRepository("message", DelegationConnectors_P_P_assert_A_Empty_Pattern_message); + AddToElementRepository("result", DelegationConnectors_P_P_assert_A_Empty_Pattern_message_result); + AddToElementRepository("LiteralUnlimitedNatural175", DelegationConnectors_P_P_assert_A_Empty_Pattern_message_result_LiteralUnlimitedNatural175); + AddToElementRepository("LiteralInteger176", DelegationConnectors_P_P_assert_A_Empty_Pattern_message_result_LiteralInteger176); + AddToElementRepository("LiteralString177", DelegationConnectors_P_P_assert_A_Empty_Pattern_message_LiteralString177); + AddToElementRepository("ObjectFlow178", DelegationConnectors_P_P_assert_A_Empty_Pattern_ObjectFlow178); + AddToElementRepository("LiteralInteger179", DelegationConnectors_P_P_assert_A_Empty_Pattern_ObjectFlow178_LiteralInteger179); + AddToElementRepository("LiteralBoolean180", DelegationConnectors_P_P_assert_A_Empty_Pattern_ObjectFlow178_LiteralBoolean180); + AddToElementRepository("writeLine", DelegationConnectors_P_P_assert_A_Empty_Pattern_writeLine); + AddToElementRepository("errorStatus", DelegationConnectors_P_P_assert_A_Empty_Pattern_writeLine_errorStatus); + AddToElementRepository("LiteralUnlimitedNatural181", DelegationConnectors_P_P_assert_A_Empty_Pattern_writeLine_errorStatus_LiteralUnlimitedNatural181); + AddToElementRepository("LiteralInteger182", DelegationConnectors_P_P_assert_A_Empty_Pattern_writeLine_errorStatus_LiteralInteger182); + AddToElementRepository("LiteralInteger183", DelegationConnectors_P_P_assert_A_Empty_Pattern_writeLine_errorStatus_LiteralInteger183); + AddToElementRepository("value", DelegationConnectors_P_P_assert_A_Empty_Pattern_writeLine_value); + AddToElementRepository("LiteralInteger184", DelegationConnectors_P_P_assert_A_Empty_Pattern_writeLine_value_LiteralInteger184); + AddToElementRepository("LiteralInteger185", DelegationConnectors_P_P_assert_A_Empty_Pattern_writeLine_value_LiteralInteger185); + AddToElementRepository("LiteralUnlimitedNatural186", DelegationConnectors_P_P_assert_A_Empty_Pattern_writeLine_value_LiteralUnlimitedNatural186); + AddToElementRepository("a_Empty_Pattern_node", DelegationConnectors_P_P_assert_A_Empty_Pattern_a_Empty_Pattern_node); + AddToElementRepository("LiteralInteger187", DelegationConnectors_P_P_assert_A_Empty_Pattern_a_Empty_Pattern_node_LiteralInteger187); + AddToElementRepository("a_Empty_Pattern", DelegationConnectors_P_P_assert_A_Empty_Pattern_a_Empty_Pattern); + + // Initialize public members + /* + * Model DelegationConnectors_P_P + */ + DelegationConnectors_P_P.SetName("DelegationConnectors_P_P"); + DelegationConnectors_P_P.SetVisibility(VisibilityKind.public_); + // Activity assert_A_Star_Pattern + DelegationConnectors_P_P_assert_A_Star_Pattern.SetName("assert_A_Star_Pattern"); + DelegationConnectors_P_P_assert_A_Star_Pattern.SetVisibility(VisibilityKind.public_); + + // Parameter a_Star_Pattern + DelegationConnectors_P_P_assert_A_Star_Pattern_a_Star_Pattern.SetName("a_Star_Pattern"); + DelegationConnectors_P_P_assert_A_Star_Pattern_a_Star_Pattern.SetVisibility(VisibilityKind.public_); + + DelegationConnectors_P_P_assert_A_Star_Pattern_a_Star_Pattern.SetType(DelegationConnectors_P_P_A_Star_Pattern); + DelegationConnectors_P_P_assert_A_Star_Pattern.AddOwnedParameter(DelegationConnectors_P_P_assert_A_Star_Pattern_a_Star_Pattern); + // CallBehaviorAction writeLine + DelegationConnectors_P_P_assert_A_Star_Pattern_writeLine.SetName("writeLine"); + DelegationConnectors_P_P_assert_A_Star_Pattern_writeLine.SetVisibility(VisibilityKind.public_); + + // OutputPin errorStatus + DelegationConnectors_P_P_assert_A_Star_Pattern_writeLine_errorStatus.SetName("errorStatus"); + DelegationConnectors_P_P_assert_A_Star_Pattern_writeLine_errorStatus.SetVisibility(VisibilityKind.public_); + + DelegationConnectors_P_P_assert_A_Star_Pattern_writeLine_errorStatus.SetLower(0); + DelegationConnectors_P_P_assert_A_Star_Pattern_writeLine.AddResult(DelegationConnectors_P_P_assert_A_Star_Pattern_writeLine_errorStatus); + DelegationConnectors_P_P_assert_A_Star_Pattern_writeLine.SetBehavior(FoundationalModelLibraryModel.Instance().FoundationalModelLibrary_BasicInputOutput_WriteLine); + // InputPin value + DelegationConnectors_P_P_assert_A_Star_Pattern_writeLine_value.SetName("value"); + DelegationConnectors_P_P_assert_A_Star_Pattern_writeLine_value.SetVisibility(VisibilityKind.public_); + DelegationConnectors_P_P_assert_A_Star_Pattern_writeLine_value.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_String); + DelegationConnectors_P_P_assert_A_Star_Pattern_writeLine.AddArgument(DelegationConnectors_P_P_assert_A_Star_Pattern_writeLine_value); + DelegationConnectors_P_P_assert_A_Star_Pattern.AddNode(DelegationConnectors_P_P_assert_A_Star_Pattern_writeLine); + // ValueSpecificationAction message + DelegationConnectors_P_P_assert_A_Star_Pattern_message.SetName("message"); + DelegationConnectors_P_P_assert_A_Star_Pattern_message.SetVisibility(VisibilityKind.public_); + // LiteralString LiteralString8 + DelegationConnectors_P_P_assert_A_Star_Pattern_message_LiteralString8.SetName("LiteralString8"); + DelegationConnectors_P_P_assert_A_Star_Pattern_message_LiteralString8.SetVisibility(VisibilityKind.public_); + DelegationConnectors_P_P_assert_A_Star_Pattern_message_LiteralString8.SetValue("Assertion currently not implemented for A_Star_Pattern."); + DelegationConnectors_P_P_assert_A_Star_Pattern_message.SetValue(DelegationConnectors_P_P_assert_A_Star_Pattern_message_LiteralString8); + // OutputPin result + DelegationConnectors_P_P_assert_A_Star_Pattern_message_result.SetName("result"); + DelegationConnectors_P_P_assert_A_Star_Pattern_message_result.SetVisibility(VisibilityKind.public_); + DelegationConnectors_P_P_assert_A_Star_Pattern_message_result.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_String); + DelegationConnectors_P_P_assert_A_Star_Pattern_message.SetResult(DelegationConnectors_P_P_assert_A_Star_Pattern_message_result); + DelegationConnectors_P_P_assert_A_Star_Pattern.AddNode(DelegationConnectors_P_P_assert_A_Star_Pattern_message); + // ActivityParameterNode a_Star_Pattern_node + DelegationConnectors_P_P_assert_A_Star_Pattern_a_Star_Pattern_node.SetName("a_Star_Pattern_node"); + DelegationConnectors_P_P_assert_A_Star_Pattern_a_Star_Pattern_node.SetVisibility(VisibilityKind.public_); + + DelegationConnectors_P_P_assert_A_Star_Pattern_a_Star_Pattern_node.SetParameter(DelegationConnectors_P_P_assert_A_Star_Pattern_a_Star_Pattern); + DelegationConnectors_P_P_assert_A_Star_Pattern.AddNode(DelegationConnectors_P_P_assert_A_Star_Pattern_a_Star_Pattern_node); + // ObjectFlow ObjectFlow9 from result to value + DelegationConnectors_P_P_assert_A_Star_Pattern_ObjectFlow9.SetName("ObjectFlow9"); + DelegationConnectors_P_P_assert_A_Star_Pattern_ObjectFlow9.SetVisibility(VisibilityKind.public_); + + DelegationConnectors_P_P_assert_A_Star_Pattern_ObjectFlow9.SetSource(DelegationConnectors_P_P_assert_A_Star_Pattern_message_result); + DelegationConnectors_P_P_assert_A_Star_Pattern_ObjectFlow9.SetTarget(DelegationConnectors_P_P_assert_A_Star_Pattern_writeLine_value); + // LiteralBoolean LiteralBoolean10 + DelegationConnectors_P_P_assert_A_Star_Pattern_ObjectFlow9_LiteralBoolean10.SetName("LiteralBoolean10"); + DelegationConnectors_P_P_assert_A_Star_Pattern_ObjectFlow9_LiteralBoolean10.SetVisibility(VisibilityKind.public_); + DelegationConnectors_P_P_assert_A_Star_Pattern_ObjectFlow9_LiteralBoolean10.SetValue(true); + DelegationConnectors_P_P_assert_A_Star_Pattern_ObjectFlow9.SetGuard(DelegationConnectors_P_P_assert_A_Star_Pattern_ObjectFlow9_LiteralBoolean10); + DelegationConnectors_P_P_assert_A_Star_Pattern.AddEdge(DelegationConnectors_P_P_assert_A_Star_Pattern_ObjectFlow9); + DelegationConnectors_P_P.AddPackagedElement(DelegationConnectors_P_P_assert_A_Star_Pattern); + // Activity instantiate_A_Star_Pattern + DelegationConnectors_P_P_instantiate_A_Star_Pattern.SetName("instantiate_A_Star_Pattern"); + DelegationConnectors_P_P_instantiate_A_Star_Pattern.SetVisibility(VisibilityKind.public_); + + // Parameter a_Star_Pattern + DelegationConnectors_P_P_instantiate_A_Star_Pattern_a_Star_Pattern.SetName("a_Star_Pattern"); + DelegationConnectors_P_P_instantiate_A_Star_Pattern_a_Star_Pattern.SetVisibility(VisibilityKind.public_); + + DelegationConnectors_P_P_instantiate_A_Star_Pattern_a_Star_Pattern.SetType(DelegationConnectors_P_P_A_Star_Pattern); + DelegationConnectors_P_P_instantiate_A_Star_Pattern_a_Star_Pattern.SetDirection(ParameterDirectionKind.return_); + DelegationConnectors_P_P_instantiate_A_Star_Pattern.AddOwnedParameter(DelegationConnectors_P_P_instantiate_A_Star_Pattern_a_Star_Pattern); + // CallOperationAction A_Star_Pattern() + DelegationConnectors_P_P_instantiate_A_Star_Pattern_A_Star_Pattern_.SetName("A_Star_Pattern()"); + DelegationConnectors_P_P_instantiate_A_Star_Pattern_A_Star_Pattern_.SetVisibility(VisibilityKind.public_); + + // OutputPin result + DelegationConnectors_P_P_instantiate_A_Star_Pattern_A_Star_Pattern__result.SetName("result"); + DelegationConnectors_P_P_instantiate_A_Star_Pattern_A_Star_Pattern__result.SetVisibility(VisibilityKind.public_); + DelegationConnectors_P_P_instantiate_A_Star_Pattern_A_Star_Pattern__result.SetType(DelegationConnectors_P_P_A_Star_Pattern); + DelegationConnectors_P_P_instantiate_A_Star_Pattern_A_Star_Pattern_.AddResult(DelegationConnectors_P_P_instantiate_A_Star_Pattern_A_Star_Pattern__result); + DelegationConnectors_P_P_instantiate_A_Star_Pattern_A_Star_Pattern_.SetOperation(DelegationConnectors_P_P_A_Star_Pattern_A_Star_Pattern_A_Star_Pattern); + // InputPin target + DelegationConnectors_P_P_instantiate_A_Star_Pattern_A_Star_Pattern__target.SetName("target"); + DelegationConnectors_P_P_instantiate_A_Star_Pattern_A_Star_Pattern__target.SetVisibility(VisibilityKind.public_); + DelegationConnectors_P_P_instantiate_A_Star_Pattern_A_Star_Pattern__target.SetType(DelegationConnectors_P_P_A_Star_Pattern); + DelegationConnectors_P_P_instantiate_A_Star_Pattern_A_Star_Pattern_.SetTarget(DelegationConnectors_P_P_instantiate_A_Star_Pattern_A_Star_Pattern__target); + DelegationConnectors_P_P_instantiate_A_Star_Pattern.AddNode(DelegationConnectors_P_P_instantiate_A_Star_Pattern_A_Star_Pattern_); + // ActivityParameterNode a_Star_Pattern_node + DelegationConnectors_P_P_instantiate_A_Star_Pattern_a_Star_Pattern_node.SetName("a_Star_Pattern_node"); + DelegationConnectors_P_P_instantiate_A_Star_Pattern_a_Star_Pattern_node.SetVisibility(VisibilityKind.public_); + + DelegationConnectors_P_P_instantiate_A_Star_Pattern_a_Star_Pattern_node.SetParameter(DelegationConnectors_P_P_instantiate_A_Star_Pattern_a_Star_Pattern); + DelegationConnectors_P_P_instantiate_A_Star_Pattern.AddNode(DelegationConnectors_P_P_instantiate_A_Star_Pattern_a_Star_Pattern_node); + // CreateObjectAction Create A_Star_Pattern + DelegationConnectors_P_P_instantiate_A_Star_Pattern_Create_A_Star_Pattern.SetName("Create A_Star_Pattern"); + DelegationConnectors_P_P_instantiate_A_Star_Pattern_Create_A_Star_Pattern.SetVisibility(VisibilityKind.public_); + DelegationConnectors_P_P_instantiate_A_Star_Pattern_Create_A_Star_Pattern.SetClassifier(DelegationConnectors_P_P_A_Star_Pattern); + // OutputPin result + DelegationConnectors_P_P_instantiate_A_Star_Pattern_Create_A_Star_Pattern_result.SetName("result"); + DelegationConnectors_P_P_instantiate_A_Star_Pattern_Create_A_Star_Pattern_result.SetVisibility(VisibilityKind.public_); + DelegationConnectors_P_P_instantiate_A_Star_Pattern_Create_A_Star_Pattern_result.SetType(DelegationConnectors_P_P_A_Star_Pattern); + DelegationConnectors_P_P_instantiate_A_Star_Pattern_Create_A_Star_Pattern.SetResult(DelegationConnectors_P_P_instantiate_A_Star_Pattern_Create_A_Star_Pattern_result); + DelegationConnectors_P_P_instantiate_A_Star_Pattern.AddNode(DelegationConnectors_P_P_instantiate_A_Star_Pattern_Create_A_Star_Pattern); + // ObjectFlow ObjectFlow18 from result to a_Star_Pattern_node + DelegationConnectors_P_P_instantiate_A_Star_Pattern_ObjectFlow18.SetName("ObjectFlow18"); + DelegationConnectors_P_P_instantiate_A_Star_Pattern_ObjectFlow18.SetVisibility(VisibilityKind.public_); + + DelegationConnectors_P_P_instantiate_A_Star_Pattern_ObjectFlow18.SetSource(DelegationConnectors_P_P_instantiate_A_Star_Pattern_A_Star_Pattern__result); + DelegationConnectors_P_P_instantiate_A_Star_Pattern_ObjectFlow18.SetTarget(DelegationConnectors_P_P_instantiate_A_Star_Pattern_a_Star_Pattern_node); + // LiteralBoolean LiteralBoolean19 + DelegationConnectors_P_P_instantiate_A_Star_Pattern_ObjectFlow18_LiteralBoolean19.SetName("LiteralBoolean19"); + DelegationConnectors_P_P_instantiate_A_Star_Pattern_ObjectFlow18_LiteralBoolean19.SetVisibility(VisibilityKind.public_); + DelegationConnectors_P_P_instantiate_A_Star_Pattern_ObjectFlow18_LiteralBoolean19.SetValue(true); + DelegationConnectors_P_P_instantiate_A_Star_Pattern_ObjectFlow18.SetGuard(DelegationConnectors_P_P_instantiate_A_Star_Pattern_ObjectFlow18_LiteralBoolean19); + DelegationConnectors_P_P_instantiate_A_Star_Pattern.AddEdge(DelegationConnectors_P_P_instantiate_A_Star_Pattern_ObjectFlow18); + // ObjectFlow ObjectFlow21 from result to target + DelegationConnectors_P_P_instantiate_A_Star_Pattern_ObjectFlow21.SetName("ObjectFlow21"); + DelegationConnectors_P_P_instantiate_A_Star_Pattern_ObjectFlow21.SetVisibility(VisibilityKind.public_); + + DelegationConnectors_P_P_instantiate_A_Star_Pattern_ObjectFlow21.SetSource(DelegationConnectors_P_P_instantiate_A_Star_Pattern_Create_A_Star_Pattern_result); + DelegationConnectors_P_P_instantiate_A_Star_Pattern_ObjectFlow21.SetTarget(DelegationConnectors_P_P_instantiate_A_Star_Pattern_A_Star_Pattern__target); + // LiteralBoolean LiteralBoolean22 + DelegationConnectors_P_P_instantiate_A_Star_Pattern_ObjectFlow21_LiteralBoolean22.SetName("LiteralBoolean22"); + DelegationConnectors_P_P_instantiate_A_Star_Pattern_ObjectFlow21_LiteralBoolean22.SetVisibility(VisibilityKind.public_); + DelegationConnectors_P_P_instantiate_A_Star_Pattern_ObjectFlow21_LiteralBoolean22.SetValue(true); + DelegationConnectors_P_P_instantiate_A_Star_Pattern_ObjectFlow21.SetGuard(DelegationConnectors_P_P_instantiate_A_Star_Pattern_ObjectFlow21_LiteralBoolean22); + DelegationConnectors_P_P_instantiate_A_Star_Pattern.AddEdge(DelegationConnectors_P_P_instantiate_A_Star_Pattern_ObjectFlow21); + DelegationConnectors_P_P.AddPackagedElement(DelegationConnectors_P_P_instantiate_A_Star_Pattern); + // Class A_Star_Pattern + DelegationConnectors_P_P_A_Star_Pattern.SetName("A_Star_Pattern"); + DelegationConnectors_P_P_A_Star_Pattern.SetVisibility(VisibilityKind.public_); + + // Property b + DelegationConnectors_P_P_A_Star_Pattern_b.SetName("b"); + DelegationConnectors_P_P_A_Star_Pattern_b.SetVisibility(VisibilityKind.public_); + DelegationConnectors_P_P_A_Star_Pattern_b.SetUpper(-1); + DelegationConnectors_P_P_A_Star_Pattern_b.SetLower(4); + DelegationConnectors_P_P_A_Star_Pattern_b.SetType(DelegationConnectors_P_P_B); + DelegationConnectors_P_P_A_Star_Pattern_b.SetAggregation(AggregationKind.composite); + DelegationConnectors_P_P_A_Star_Pattern.AddOwnedAttribute(DelegationConnectors_P_P_A_Star_Pattern_b); + // Port p + DelegationConnectors_P_P_A_Star_Pattern_p.SetName("p"); + DelegationConnectors_P_P_A_Star_Pattern_p.SetVisibility(VisibilityKind.public_); + DelegationConnectors_P_P_A_Star_Pattern_p.SetUpper(-1); + DelegationConnectors_P_P_A_Star_Pattern_p.SetLower(3); + DelegationConnectors_P_P_A_Star_Pattern_p.SetType(DelegationConnectors_P_P_IImpl); + DelegationConnectors_P_P_A_Star_Pattern_p.SetAggregation(AggregationKind.composite); + DelegationConnectors_P_P_A_Star_Pattern_p.isService = true; + DelegationConnectors_P_P_A_Star_Pattern_p.AddProvided(DelegationConnectors_P_P_I); + DelegationConnectors_P_P_A_Star_Pattern.AddOwnedAttribute(DelegationConnectors_P_P_A_Star_Pattern_p); + + DelegationConnectors_P_P_A_Star_Pattern_r.SetName("r"); + DelegationConnectors_P_P_A_Star_Pattern_r.SetVisibility(VisibilityKind.public_); + DelegationConnectors_P_P_A_Star_Pattern_r_ConnectorEnd33.SetUpper(-1); + DelegationConnectors_P_P_A_Star_Pattern_r_ConnectorEnd33.SetLower(3); + DelegationConnectors_P_P_A_Star_Pattern_r_ConnectorEnd33.SetRole(DelegationConnectors_P_P_A_Star_Pattern_p); + + DelegationConnectors_P_P_A_Star_Pattern_r.AddEnd(DelegationConnectors_P_P_A_Star_Pattern_r_ConnectorEnd33); + DelegationConnectors_P_P_A_Star_Pattern_r_ConnectorEnd30.SetUpper(-1); + DelegationConnectors_P_P_A_Star_Pattern_r_ConnectorEnd30.SetLower(4); + DelegationConnectors_P_P_A_Star_Pattern_r_ConnectorEnd30.SetRole(DelegationConnectors_P_P_A_Star_Pattern_b); + + DelegationConnectors_P_P_A_Star_Pattern_r.AddEnd(DelegationConnectors_P_P_A_Star_Pattern_r_ConnectorEnd30); + DelegationConnectors_P_P_A_Star_Pattern_r.SetType(DelegationConnectors_P_P_R); + DelegationConnectors_P_P_A_Star_Pattern.AddOwnedConnector(DelegationConnectors_P_P_A_Star_Pattern_r); + // Operation A_Star_Pattern_A_Star_Pattern + DelegationConnectors_P_P_A_Star_Pattern_A_Star_Pattern_A_Star_Pattern.SetName("A_Star_Pattern_A_Star_Pattern"); + DelegationConnectors_P_P_A_Star_Pattern_A_Star_Pattern_A_Star_Pattern.SetVisibility(VisibilityKind.public_); + // Parameter result + DelegationConnectors_P_P_A_Star_Pattern_A_Star_Pattern_A_Star_Pattern_result.SetName("result"); + DelegationConnectors_P_P_A_Star_Pattern_A_Star_Pattern_A_Star_Pattern_result.SetVisibility(VisibilityKind.public_); + + DelegationConnectors_P_P_A_Star_Pattern_A_Star_Pattern_A_Star_Pattern_result.SetType(DelegationConnectors_P_P_A_Star_Pattern); + DelegationConnectors_P_P_A_Star_Pattern_A_Star_Pattern_A_Star_Pattern_result.SetDirection(ParameterDirectionKind.return_); + DelegationConnectors_P_P_A_Star_Pattern_A_Star_Pattern_A_Star_Pattern.AddOwnedParameter(DelegationConnectors_P_P_A_Star_Pattern_A_Star_Pattern_A_Star_Pattern_result); + DelegationConnectors_P_P_A_Star_Pattern_A_Star_Pattern_A_Star_Pattern.ApplyStereotype(uml.standardprofile.StandardProfileModel.Instance().Stereotype_Create); + DelegationConnectors_P_P_A_Star_Pattern.AddOwnedOperation(DelegationConnectors_P_P_A_Star_Pattern_A_Star_Pattern_A_Star_Pattern); + DelegationConnectors_P_P.AddPackagedElement(DelegationConnectors_P_P_A_Star_Pattern); + // Class B + DelegationConnectors_P_P_B.SetName("B"); + DelegationConnectors_P_P_B.SetVisibility(VisibilityKind.public_); + DelegationConnectors_P_P_B_I_Realization.SetName("I_Realization"); + DelegationConnectors_P_P_B_I_Realization.SetVisibility(VisibilityKind.public_); + DelegationConnectors_P_P_B_I_Realization.SetContract(DelegationConnectors_P_P_I); + + DelegationConnectors_P_P_B.AddInterfaceRealization(DelegationConnectors_P_P_B_I_Realization); + DelegationConnectors_P_P.AddPackagedElement(DelegationConnectors_P_P_B); + // Activity main + DelegationConnectors_P_P_main.SetName("main"); + DelegationConnectors_P_P_main.SetVisibility(VisibilityKind.public_); + // CallBehaviorAction assert_A_Empty_Pattern + DelegationConnectors_P_P_main_assert_A_Empty_Pattern.SetName("assert_A_Empty_Pattern"); + DelegationConnectors_P_P_main_assert_A_Empty_Pattern.SetVisibility(VisibilityKind.public_); + DelegationConnectors_P_P_main_assert_A_Empty_Pattern.SetBehavior(DelegationConnectors_P_P_assert_A_Empty_Pattern); + // InputPin a_Empty_Pattern + DelegationConnectors_P_P_main_assert_A_Empty_Pattern_a_Empty_Pattern.SetName("a_Empty_Pattern"); + DelegationConnectors_P_P_main_assert_A_Empty_Pattern_a_Empty_Pattern.SetVisibility(VisibilityKind.public_); + DelegationConnectors_P_P_main_assert_A_Empty_Pattern_a_Empty_Pattern.SetType(DelegationConnectors_P_P_A_Empty_Pattern); + DelegationConnectors_P_P_main_assert_A_Empty_Pattern.AddArgument(DelegationConnectors_P_P_main_assert_A_Empty_Pattern_a_Empty_Pattern); + DelegationConnectors_P_P_main.AddNode(DelegationConnectors_P_P_main_assert_A_Empty_Pattern); + // CallBehaviorAction assert_A_Array_Pattern + DelegationConnectors_P_P_main_assert_A_Array_Pattern.SetName("assert_A_Array_Pattern"); + DelegationConnectors_P_P_main_assert_A_Array_Pattern.SetVisibility(VisibilityKind.public_); + DelegationConnectors_P_P_main_assert_A_Array_Pattern.SetBehavior(DelegationConnectors_P_P_assert_A_Array_Pattern); + // InputPin a_Array_Pattern + DelegationConnectors_P_P_main_assert_A_Array_Pattern_a_Array_Pattern.SetName("a_Array_Pattern"); + DelegationConnectors_P_P_main_assert_A_Array_Pattern_a_Array_Pattern.SetVisibility(VisibilityKind.public_); + DelegationConnectors_P_P_main_assert_A_Array_Pattern_a_Array_Pattern.SetType(DelegationConnectors_P_P_A_Array_Pattern); + DelegationConnectors_P_P_main_assert_A_Array_Pattern.AddArgument(DelegationConnectors_P_P_main_assert_A_Array_Pattern_a_Array_Pattern); + DelegationConnectors_P_P_main.AddNode(DelegationConnectors_P_P_main_assert_A_Array_Pattern); + // CallBehaviorAction instantiate_A_Array_Pattern + DelegationConnectors_P_P_main_instantiate_A_Array_Pattern.SetName("instantiate_A_Array_Pattern"); + DelegationConnectors_P_P_main_instantiate_A_Array_Pattern.SetVisibility(VisibilityKind.public_); + + // OutputPin a_Array_Pattern + DelegationConnectors_P_P_main_instantiate_A_Array_Pattern_a_Array_Pattern.SetName("a_Array_Pattern"); + DelegationConnectors_P_P_main_instantiate_A_Array_Pattern_a_Array_Pattern.SetVisibility(VisibilityKind.public_); + DelegationConnectors_P_P_main_instantiate_A_Array_Pattern_a_Array_Pattern.SetType(DelegationConnectors_P_P_A_Array_Pattern); + DelegationConnectors_P_P_main_instantiate_A_Array_Pattern.AddResult(DelegationConnectors_P_P_main_instantiate_A_Array_Pattern_a_Array_Pattern); + DelegationConnectors_P_P_main_instantiate_A_Array_Pattern.SetBehavior(DelegationConnectors_P_P_instantiate_A_Array_Pattern); + DelegationConnectors_P_P_main.AddNode(DelegationConnectors_P_P_main_instantiate_A_Array_Pattern); + // CallBehaviorAction assert_A_Unconnected_Pattern + DelegationConnectors_P_P_main_assert_A_Unconnected_Pattern.SetName("assert_A_Unconnected_Pattern"); + DelegationConnectors_P_P_main_assert_A_Unconnected_Pattern.SetVisibility(VisibilityKind.public_); + DelegationConnectors_P_P_main_assert_A_Unconnected_Pattern.SetBehavior(DelegationConnectors_P_P_assert_A_Unconnected_Pattern); + // InputPin a_Unconnected_Pattern + DelegationConnectors_P_P_main_assert_A_Unconnected_Pattern_a_Unconnected_Pattern.SetName("a_Unconnected_Pattern"); + DelegationConnectors_P_P_main_assert_A_Unconnected_Pattern_a_Unconnected_Pattern.SetVisibility(VisibilityKind.public_); + DelegationConnectors_P_P_main_assert_A_Unconnected_Pattern_a_Unconnected_Pattern.SetType(DelegationConnectors_P_P_A_Unconnected_Pattern); + DelegationConnectors_P_P_main_assert_A_Unconnected_Pattern.AddArgument(DelegationConnectors_P_P_main_assert_A_Unconnected_Pattern_a_Unconnected_Pattern); + DelegationConnectors_P_P_main.AddNode(DelegationConnectors_P_P_main_assert_A_Unconnected_Pattern); + // CallBehaviorAction instantiate_A_Unconnected_Pattern + DelegationConnectors_P_P_main_instantiate_A_Unconnected_Pattern.SetName("instantiate_A_Unconnected_Pattern"); + DelegationConnectors_P_P_main_instantiate_A_Unconnected_Pattern.SetVisibility(VisibilityKind.public_); + + // OutputPin a_Unconnected_Pattern + DelegationConnectors_P_P_main_instantiate_A_Unconnected_Pattern_a_Unconnected_Pattern.SetName("a_Unconnected_Pattern"); + DelegationConnectors_P_P_main_instantiate_A_Unconnected_Pattern_a_Unconnected_Pattern.SetVisibility(VisibilityKind.public_); + DelegationConnectors_P_P_main_instantiate_A_Unconnected_Pattern_a_Unconnected_Pattern.SetType(DelegationConnectors_P_P_A_Unconnected_Pattern); + DelegationConnectors_P_P_main_instantiate_A_Unconnected_Pattern.AddResult(DelegationConnectors_P_P_main_instantiate_A_Unconnected_Pattern_a_Unconnected_Pattern); + DelegationConnectors_P_P_main_instantiate_A_Unconnected_Pattern.SetBehavior(DelegationConnectors_P_P_instantiate_A_Unconnected_Pattern); + DelegationConnectors_P_P_main.AddNode(DelegationConnectors_P_P_main_instantiate_A_Unconnected_Pattern); + // CallBehaviorAction instantiate_A_Star_Pattern + DelegationConnectors_P_P_main_instantiate_A_Star_Pattern.SetName("instantiate_A_Star_Pattern"); + DelegationConnectors_P_P_main_instantiate_A_Star_Pattern.SetVisibility(VisibilityKind.public_); + + // OutputPin a_Star_Pattern + DelegationConnectors_P_P_main_instantiate_A_Star_Pattern_a_Star_Pattern.SetName("a_Star_Pattern"); + DelegationConnectors_P_P_main_instantiate_A_Star_Pattern_a_Star_Pattern.SetVisibility(VisibilityKind.public_); + DelegationConnectors_P_P_main_instantiate_A_Star_Pattern_a_Star_Pattern.SetType(DelegationConnectors_P_P_A_Star_Pattern); + DelegationConnectors_P_P_main_instantiate_A_Star_Pattern.AddResult(DelegationConnectors_P_P_main_instantiate_A_Star_Pattern_a_Star_Pattern); + DelegationConnectors_P_P_main_instantiate_A_Star_Pattern.SetBehavior(DelegationConnectors_P_P_instantiate_A_Star_Pattern); + DelegationConnectors_P_P_main.AddNode(DelegationConnectors_P_P_main_instantiate_A_Star_Pattern); + // CallBehaviorAction instantiate_A_Empty_Pattern + DelegationConnectors_P_P_main_instantiate_A_Empty_Pattern.SetName("instantiate_A_Empty_Pattern"); + DelegationConnectors_P_P_main_instantiate_A_Empty_Pattern.SetVisibility(VisibilityKind.public_); + + // OutputPin a_Empty_Pattern + DelegationConnectors_P_P_main_instantiate_A_Empty_Pattern_a_Empty_Pattern.SetName("a_Empty_Pattern"); + DelegationConnectors_P_P_main_instantiate_A_Empty_Pattern_a_Empty_Pattern.SetVisibility(VisibilityKind.public_); + DelegationConnectors_P_P_main_instantiate_A_Empty_Pattern_a_Empty_Pattern.SetType(DelegationConnectors_P_P_A_Empty_Pattern); + DelegationConnectors_P_P_main_instantiate_A_Empty_Pattern.AddResult(DelegationConnectors_P_P_main_instantiate_A_Empty_Pattern_a_Empty_Pattern); + DelegationConnectors_P_P_main_instantiate_A_Empty_Pattern.SetBehavior(DelegationConnectors_P_P_instantiate_A_Empty_Pattern); + DelegationConnectors_P_P_main.AddNode(DelegationConnectors_P_P_main_instantiate_A_Empty_Pattern); + // CallBehaviorAction assert_A_Star_Pattern + DelegationConnectors_P_P_main_assert_A_Star_Pattern.SetName("assert_A_Star_Pattern"); + DelegationConnectors_P_P_main_assert_A_Star_Pattern.SetVisibility(VisibilityKind.public_); + DelegationConnectors_P_P_main_assert_A_Star_Pattern.SetBehavior(DelegationConnectors_P_P_assert_A_Star_Pattern); + // InputPin a_Star_Pattern + DelegationConnectors_P_P_main_assert_A_Star_Pattern_a_Star_Pattern.SetName("a_Star_Pattern"); + DelegationConnectors_P_P_main_assert_A_Star_Pattern_a_Star_Pattern.SetVisibility(VisibilityKind.public_); + DelegationConnectors_P_P_main_assert_A_Star_Pattern_a_Star_Pattern.SetType(DelegationConnectors_P_P_A_Star_Pattern); + DelegationConnectors_P_P_main_assert_A_Star_Pattern.AddArgument(DelegationConnectors_P_P_main_assert_A_Star_Pattern_a_Star_Pattern); + DelegationConnectors_P_P_main.AddNode(DelegationConnectors_P_P_main_assert_A_Star_Pattern); + // ControlFlow ControlFlow37 from assert_A_Empty_Pattern to instantiate_A_Unconnected_Pattern + DelegationConnectors_P_P_main_ControlFlow37.SetName("ControlFlow37"); + DelegationConnectors_P_P_main_ControlFlow37.SetVisibility(VisibilityKind.public_); + + DelegationConnectors_P_P_main_ControlFlow37.SetSource(DelegationConnectors_P_P_main_assert_A_Empty_Pattern); + DelegationConnectors_P_P_main_ControlFlow37.SetTarget(DelegationConnectors_P_P_main_instantiate_A_Unconnected_Pattern); + DelegationConnectors_P_P_main.AddEdge(DelegationConnectors_P_P_main_ControlFlow37); + // ObjectFlow ObjectFlow59 from a_Unconnected_Pattern to a_Unconnected_Pattern + DelegationConnectors_P_P_main_ObjectFlow59.SetName("ObjectFlow59"); + DelegationConnectors_P_P_main_ObjectFlow59.SetVisibility(VisibilityKind.public_); + + DelegationConnectors_P_P_main_ObjectFlow59.SetSource(DelegationConnectors_P_P_main_instantiate_A_Unconnected_Pattern_a_Unconnected_Pattern); + DelegationConnectors_P_P_main_ObjectFlow59.SetTarget(DelegationConnectors_P_P_main_assert_A_Unconnected_Pattern_a_Unconnected_Pattern); + // LiteralBoolean LiteralBoolean61 + DelegationConnectors_P_P_main_ObjectFlow59_LiteralBoolean61.SetName("LiteralBoolean61"); + DelegationConnectors_P_P_main_ObjectFlow59_LiteralBoolean61.SetVisibility(VisibilityKind.public_); + DelegationConnectors_P_P_main_ObjectFlow59_LiteralBoolean61.SetValue(true); + DelegationConnectors_P_P_main_ObjectFlow59.SetGuard(DelegationConnectors_P_P_main_ObjectFlow59_LiteralBoolean61); + DelegationConnectors_P_P_main.AddEdge(DelegationConnectors_P_P_main_ObjectFlow59); + // ObjectFlow ObjectFlow41 from a_Star_Pattern to a_Star_Pattern + DelegationConnectors_P_P_main_ObjectFlow41.SetName("ObjectFlow41"); + DelegationConnectors_P_P_main_ObjectFlow41.SetVisibility(VisibilityKind.public_); + + DelegationConnectors_P_P_main_ObjectFlow41.SetSource(DelegationConnectors_P_P_main_instantiate_A_Star_Pattern_a_Star_Pattern); + DelegationConnectors_P_P_main_ObjectFlow41.SetTarget(DelegationConnectors_P_P_main_assert_A_Star_Pattern_a_Star_Pattern); + // LiteralBoolean LiteralBoolean43 + DelegationConnectors_P_P_main_ObjectFlow41_LiteralBoolean43.SetName("LiteralBoolean43"); + DelegationConnectors_P_P_main_ObjectFlow41_LiteralBoolean43.SetVisibility(VisibilityKind.public_); + DelegationConnectors_P_P_main_ObjectFlow41_LiteralBoolean43.SetValue(true); + DelegationConnectors_P_P_main_ObjectFlow41.SetGuard(DelegationConnectors_P_P_main_ObjectFlow41_LiteralBoolean43); + DelegationConnectors_P_P_main.AddEdge(DelegationConnectors_P_P_main_ObjectFlow41); + // ObjectFlow ObjectFlow65 from a_Array_Pattern to a_Array_Pattern + DelegationConnectors_P_P_main_ObjectFlow65.SetName("ObjectFlow65"); + DelegationConnectors_P_P_main_ObjectFlow65.SetVisibility(VisibilityKind.public_); + + DelegationConnectors_P_P_main_ObjectFlow65.SetSource(DelegationConnectors_P_P_main_instantiate_A_Array_Pattern_a_Array_Pattern); + DelegationConnectors_P_P_main_ObjectFlow65.SetTarget(DelegationConnectors_P_P_main_assert_A_Array_Pattern_a_Array_Pattern); + // LiteralBoolean LiteralBoolean67 + DelegationConnectors_P_P_main_ObjectFlow65_LiteralBoolean67.SetName("LiteralBoolean67"); + DelegationConnectors_P_P_main_ObjectFlow65_LiteralBoolean67.SetVisibility(VisibilityKind.public_); + DelegationConnectors_P_P_main_ObjectFlow65_LiteralBoolean67.SetValue(true); + DelegationConnectors_P_P_main_ObjectFlow65.SetGuard(DelegationConnectors_P_P_main_ObjectFlow65_LiteralBoolean67); + DelegationConnectors_P_P_main.AddEdge(DelegationConnectors_P_P_main_ObjectFlow65); + // ObjectFlow ObjectFlow68 from a_Empty_Pattern to a_Empty_Pattern + DelegationConnectors_P_P_main_ObjectFlow68.SetName("ObjectFlow68"); + DelegationConnectors_P_P_main_ObjectFlow68.SetVisibility(VisibilityKind.public_); + + DelegationConnectors_P_P_main_ObjectFlow68.SetSource(DelegationConnectors_P_P_main_instantiate_A_Empty_Pattern_a_Empty_Pattern); + DelegationConnectors_P_P_main_ObjectFlow68.SetTarget(DelegationConnectors_P_P_main_assert_A_Empty_Pattern_a_Empty_Pattern); + // LiteralBoolean LiteralBoolean70 + DelegationConnectors_P_P_main_ObjectFlow68_LiteralBoolean70.SetName("LiteralBoolean70"); + DelegationConnectors_P_P_main_ObjectFlow68_LiteralBoolean70.SetVisibility(VisibilityKind.public_); + DelegationConnectors_P_P_main_ObjectFlow68_LiteralBoolean70.SetValue(true); + DelegationConnectors_P_P_main_ObjectFlow68.SetGuard(DelegationConnectors_P_P_main_ObjectFlow68_LiteralBoolean70); + DelegationConnectors_P_P_main.AddEdge(DelegationConnectors_P_P_main_ObjectFlow68); + // ControlFlow ControlFlow74 from assert_A_Unconnected_Pattern to instantiate_A_Array_Pattern + DelegationConnectors_P_P_main_ControlFlow74.SetName("ControlFlow74"); + DelegationConnectors_P_P_main_ControlFlow74.SetVisibility(VisibilityKind.public_); + + DelegationConnectors_P_P_main_ControlFlow74.SetSource(DelegationConnectors_P_P_main_assert_A_Unconnected_Pattern); + DelegationConnectors_P_P_main_ControlFlow74.SetTarget(DelegationConnectors_P_P_main_instantiate_A_Array_Pattern); + DelegationConnectors_P_P_main.AddEdge(DelegationConnectors_P_P_main_ControlFlow74); + // ControlFlow ControlFlow75 from assert_A_Array_Pattern to instantiate_A_Star_Pattern + DelegationConnectors_P_P_main_ControlFlow75.SetName("ControlFlow75"); + DelegationConnectors_P_P_main_ControlFlow75.SetVisibility(VisibilityKind.public_); + + DelegationConnectors_P_P_main_ControlFlow75.SetSource(DelegationConnectors_P_P_main_assert_A_Array_Pattern); + DelegationConnectors_P_P_main_ControlFlow75.SetTarget(DelegationConnectors_P_P_main_instantiate_A_Star_Pattern); + DelegationConnectors_P_P_main.AddEdge(DelegationConnectors_P_P_main_ControlFlow75); + DelegationConnectors_P_P.AddPackagedElement(DelegationConnectors_P_P_main); + // Activity instantiate_A_Unconnected_Pattern + DelegationConnectors_P_P_instantiate_A_Unconnected_Pattern.SetName("instantiate_A_Unconnected_Pattern"); + DelegationConnectors_P_P_instantiate_A_Unconnected_Pattern.SetVisibility(VisibilityKind.public_); + + // Parameter a_Unconnected_Pattern + DelegationConnectors_P_P_instantiate_A_Unconnected_Pattern_a_Unconnected_Pattern.SetName("a_Unconnected_Pattern"); + DelegationConnectors_P_P_instantiate_A_Unconnected_Pattern_a_Unconnected_Pattern.SetVisibility(VisibilityKind.public_); + + DelegationConnectors_P_P_instantiate_A_Unconnected_Pattern_a_Unconnected_Pattern.SetType(DelegationConnectors_P_P_A_Unconnected_Pattern); + DelegationConnectors_P_P_instantiate_A_Unconnected_Pattern_a_Unconnected_Pattern.SetDirection(ParameterDirectionKind.return_); + DelegationConnectors_P_P_instantiate_A_Unconnected_Pattern.AddOwnedParameter(DelegationConnectors_P_P_instantiate_A_Unconnected_Pattern_a_Unconnected_Pattern); + // CallOperationAction A_Unconnected_Pattern() + DelegationConnectors_P_P_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern_.SetName("A_Unconnected_Pattern()"); + DelegationConnectors_P_P_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern_.SetVisibility(VisibilityKind.public_); + + // OutputPin result + DelegationConnectors_P_P_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern__result.SetName("result"); + DelegationConnectors_P_P_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern__result.SetVisibility(VisibilityKind.public_); + DelegationConnectors_P_P_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern__result.SetType(DelegationConnectors_P_P_A_Unconnected_Pattern); + DelegationConnectors_P_P_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern_.AddResult(DelegationConnectors_P_P_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern__result); + DelegationConnectors_P_P_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern_.SetOperation(DelegationConnectors_P_P_A_Unconnected_Pattern_A_Unconnected_Pattern_A_Unconnected_Pattern); + // InputPin target + DelegationConnectors_P_P_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern__target.SetName("target"); + DelegationConnectors_P_P_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern__target.SetVisibility(VisibilityKind.public_); + DelegationConnectors_P_P_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern__target.SetType(DelegationConnectors_P_P_A_Unconnected_Pattern); + DelegationConnectors_P_P_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern_.SetTarget(DelegationConnectors_P_P_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern__target); + DelegationConnectors_P_P_instantiate_A_Unconnected_Pattern.AddNode(DelegationConnectors_P_P_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern_); + // CreateObjectAction Create A_Unconnected_Pattern + DelegationConnectors_P_P_instantiate_A_Unconnected_Pattern_Create_A_Unconnected_Pattern.SetName("Create A_Unconnected_Pattern"); + DelegationConnectors_P_P_instantiate_A_Unconnected_Pattern_Create_A_Unconnected_Pattern.SetVisibility(VisibilityKind.public_); + DelegationConnectors_P_P_instantiate_A_Unconnected_Pattern_Create_A_Unconnected_Pattern.SetClassifier(DelegationConnectors_P_P_A_Unconnected_Pattern); + // OutputPin result + DelegationConnectors_P_P_instantiate_A_Unconnected_Pattern_Create_A_Unconnected_Pattern_result.SetName("result"); + DelegationConnectors_P_P_instantiate_A_Unconnected_Pattern_Create_A_Unconnected_Pattern_result.SetVisibility(VisibilityKind.public_); + DelegationConnectors_P_P_instantiate_A_Unconnected_Pattern_Create_A_Unconnected_Pattern_result.SetType(DelegationConnectors_P_P_A_Unconnected_Pattern); + DelegationConnectors_P_P_instantiate_A_Unconnected_Pattern_Create_A_Unconnected_Pattern.SetResult(DelegationConnectors_P_P_instantiate_A_Unconnected_Pattern_Create_A_Unconnected_Pattern_result); + DelegationConnectors_P_P_instantiate_A_Unconnected_Pattern.AddNode(DelegationConnectors_P_P_instantiate_A_Unconnected_Pattern_Create_A_Unconnected_Pattern); + // ActivityParameterNode a_Unconnected_Pattern_node + DelegationConnectors_P_P_instantiate_A_Unconnected_Pattern_a_Unconnected_Pattern_node.SetName("a_Unconnected_Pattern_node"); + DelegationConnectors_P_P_instantiate_A_Unconnected_Pattern_a_Unconnected_Pattern_node.SetVisibility(VisibilityKind.public_); + + DelegationConnectors_P_P_instantiate_A_Unconnected_Pattern_a_Unconnected_Pattern_node.SetParameter(DelegationConnectors_P_P_instantiate_A_Unconnected_Pattern_a_Unconnected_Pattern); + DelegationConnectors_P_P_instantiate_A_Unconnected_Pattern.AddNode(DelegationConnectors_P_P_instantiate_A_Unconnected_Pattern_a_Unconnected_Pattern_node); + // ObjectFlow ObjectFlow81 from result to a_Unconnected_Pattern_node + DelegationConnectors_P_P_instantiate_A_Unconnected_Pattern_ObjectFlow81.SetName("ObjectFlow81"); + DelegationConnectors_P_P_instantiate_A_Unconnected_Pattern_ObjectFlow81.SetVisibility(VisibilityKind.public_); + + DelegationConnectors_P_P_instantiate_A_Unconnected_Pattern_ObjectFlow81.SetSource(DelegationConnectors_P_P_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern__result); + DelegationConnectors_P_P_instantiate_A_Unconnected_Pattern_ObjectFlow81.SetTarget(DelegationConnectors_P_P_instantiate_A_Unconnected_Pattern_a_Unconnected_Pattern_node); + // LiteralBoolean LiteralBoolean82 + DelegationConnectors_P_P_instantiate_A_Unconnected_Pattern_ObjectFlow81_LiteralBoolean82.SetName("LiteralBoolean82"); + DelegationConnectors_P_P_instantiate_A_Unconnected_Pattern_ObjectFlow81_LiteralBoolean82.SetVisibility(VisibilityKind.public_); + DelegationConnectors_P_P_instantiate_A_Unconnected_Pattern_ObjectFlow81_LiteralBoolean82.SetValue(true); + DelegationConnectors_P_P_instantiate_A_Unconnected_Pattern_ObjectFlow81.SetGuard(DelegationConnectors_P_P_instantiate_A_Unconnected_Pattern_ObjectFlow81_LiteralBoolean82); + DelegationConnectors_P_P_instantiate_A_Unconnected_Pattern.AddEdge(DelegationConnectors_P_P_instantiate_A_Unconnected_Pattern_ObjectFlow81); + // ObjectFlow ObjectFlow86 from result to target + DelegationConnectors_P_P_instantiate_A_Unconnected_Pattern_ObjectFlow86.SetName("ObjectFlow86"); + DelegationConnectors_P_P_instantiate_A_Unconnected_Pattern_ObjectFlow86.SetVisibility(VisibilityKind.public_); + + DelegationConnectors_P_P_instantiate_A_Unconnected_Pattern_ObjectFlow86.SetSource(DelegationConnectors_P_P_instantiate_A_Unconnected_Pattern_Create_A_Unconnected_Pattern_result); + DelegationConnectors_P_P_instantiate_A_Unconnected_Pattern_ObjectFlow86.SetTarget(DelegationConnectors_P_P_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern__target); + // LiteralBoolean LiteralBoolean87 + DelegationConnectors_P_P_instantiate_A_Unconnected_Pattern_ObjectFlow86_LiteralBoolean87.SetName("LiteralBoolean87"); + DelegationConnectors_P_P_instantiate_A_Unconnected_Pattern_ObjectFlow86_LiteralBoolean87.SetVisibility(VisibilityKind.public_); + DelegationConnectors_P_P_instantiate_A_Unconnected_Pattern_ObjectFlow86_LiteralBoolean87.SetValue(true); + DelegationConnectors_P_P_instantiate_A_Unconnected_Pattern_ObjectFlow86.SetGuard(DelegationConnectors_P_P_instantiate_A_Unconnected_Pattern_ObjectFlow86_LiteralBoolean87); + DelegationConnectors_P_P_instantiate_A_Unconnected_Pattern.AddEdge(DelegationConnectors_P_P_instantiate_A_Unconnected_Pattern_ObjectFlow86); + DelegationConnectors_P_P.AddPackagedElement(DelegationConnectors_P_P_instantiate_A_Unconnected_Pattern); + // Class IImpl + DelegationConnectors_P_P_IImpl.SetName("IImpl"); + DelegationConnectors_P_P_IImpl.SetVisibility(VisibilityKind.public_); + DelegationConnectors_P_P_IImpl_I_Realization.SetName("I_Realization"); + DelegationConnectors_P_P_IImpl_I_Realization.SetVisibility(VisibilityKind.public_); + DelegationConnectors_P_P_IImpl_I_Realization.SetContract(DelegationConnectors_P_P_I); + + DelegationConnectors_P_P_IImpl.AddInterfaceRealization(DelegationConnectors_P_P_IImpl_I_Realization); + DelegationConnectors_P_P.AddPackagedElement(DelegationConnectors_P_P_IImpl); + // Activity instantiate_A_Array_Pattern + DelegationConnectors_P_P_instantiate_A_Array_Pattern.SetName("instantiate_A_Array_Pattern"); + DelegationConnectors_P_P_instantiate_A_Array_Pattern.SetVisibility(VisibilityKind.public_); + + // Parameter a_Array_Pattern + DelegationConnectors_P_P_instantiate_A_Array_Pattern_a_Array_Pattern.SetName("a_Array_Pattern"); + DelegationConnectors_P_P_instantiate_A_Array_Pattern_a_Array_Pattern.SetVisibility(VisibilityKind.public_); + + DelegationConnectors_P_P_instantiate_A_Array_Pattern_a_Array_Pattern.SetType(DelegationConnectors_P_P_A_Array_Pattern); + DelegationConnectors_P_P_instantiate_A_Array_Pattern_a_Array_Pattern.SetDirection(ParameterDirectionKind.return_); + DelegationConnectors_P_P_instantiate_A_Array_Pattern.AddOwnedParameter(DelegationConnectors_P_P_instantiate_A_Array_Pattern_a_Array_Pattern); + // CallOperationAction A_Array_Pattern() + DelegationConnectors_P_P_instantiate_A_Array_Pattern_A_Array_Pattern_.SetName("A_Array_Pattern()"); + DelegationConnectors_P_P_instantiate_A_Array_Pattern_A_Array_Pattern_.SetVisibility(VisibilityKind.public_); + + // OutputPin result + DelegationConnectors_P_P_instantiate_A_Array_Pattern_A_Array_Pattern__result.SetName("result"); + DelegationConnectors_P_P_instantiate_A_Array_Pattern_A_Array_Pattern__result.SetVisibility(VisibilityKind.public_); + DelegationConnectors_P_P_instantiate_A_Array_Pattern_A_Array_Pattern__result.SetType(DelegationConnectors_P_P_A_Array_Pattern); + DelegationConnectors_P_P_instantiate_A_Array_Pattern_A_Array_Pattern_.AddResult(DelegationConnectors_P_P_instantiate_A_Array_Pattern_A_Array_Pattern__result); + DelegationConnectors_P_P_instantiate_A_Array_Pattern_A_Array_Pattern_.SetOperation(DelegationConnectors_P_P_A_Array_Pattern_A_Array_Pattern_A_Array_Pattern); + // InputPin target + DelegationConnectors_P_P_instantiate_A_Array_Pattern_A_Array_Pattern__target.SetName("target"); + DelegationConnectors_P_P_instantiate_A_Array_Pattern_A_Array_Pattern__target.SetVisibility(VisibilityKind.public_); + DelegationConnectors_P_P_instantiate_A_Array_Pattern_A_Array_Pattern__target.SetType(DelegationConnectors_P_P_A_Array_Pattern); + DelegationConnectors_P_P_instantiate_A_Array_Pattern_A_Array_Pattern_.SetTarget(DelegationConnectors_P_P_instantiate_A_Array_Pattern_A_Array_Pattern__target); + DelegationConnectors_P_P_instantiate_A_Array_Pattern.AddNode(DelegationConnectors_P_P_instantiate_A_Array_Pattern_A_Array_Pattern_); + // CreateObjectAction Create A_Array_Pattern + DelegationConnectors_P_P_instantiate_A_Array_Pattern_Create_A_Array_Pattern.SetName("Create A_Array_Pattern"); + DelegationConnectors_P_P_instantiate_A_Array_Pattern_Create_A_Array_Pattern.SetVisibility(VisibilityKind.public_); + DelegationConnectors_P_P_instantiate_A_Array_Pattern_Create_A_Array_Pattern.SetClassifier(DelegationConnectors_P_P_A_Array_Pattern); + // OutputPin result + DelegationConnectors_P_P_instantiate_A_Array_Pattern_Create_A_Array_Pattern_result.SetName("result"); + DelegationConnectors_P_P_instantiate_A_Array_Pattern_Create_A_Array_Pattern_result.SetVisibility(VisibilityKind.public_); + DelegationConnectors_P_P_instantiate_A_Array_Pattern_Create_A_Array_Pattern_result.SetType(DelegationConnectors_P_P_A_Array_Pattern); + DelegationConnectors_P_P_instantiate_A_Array_Pattern_Create_A_Array_Pattern.SetResult(DelegationConnectors_P_P_instantiate_A_Array_Pattern_Create_A_Array_Pattern_result); + DelegationConnectors_P_P_instantiate_A_Array_Pattern.AddNode(DelegationConnectors_P_P_instantiate_A_Array_Pattern_Create_A_Array_Pattern); + // ActivityParameterNode a_Array_Pattern_node + DelegationConnectors_P_P_instantiate_A_Array_Pattern_a_Array_Pattern_node.SetName("a_Array_Pattern_node"); + DelegationConnectors_P_P_instantiate_A_Array_Pattern_a_Array_Pattern_node.SetVisibility(VisibilityKind.public_); + + DelegationConnectors_P_P_instantiate_A_Array_Pattern_a_Array_Pattern_node.SetParameter(DelegationConnectors_P_P_instantiate_A_Array_Pattern_a_Array_Pattern); + DelegationConnectors_P_P_instantiate_A_Array_Pattern.AddNode(DelegationConnectors_P_P_instantiate_A_Array_Pattern_a_Array_Pattern_node); + // ObjectFlow ObjectFlow96 from result to target + DelegationConnectors_P_P_instantiate_A_Array_Pattern_ObjectFlow96.SetName("ObjectFlow96"); + DelegationConnectors_P_P_instantiate_A_Array_Pattern_ObjectFlow96.SetVisibility(VisibilityKind.public_); + + DelegationConnectors_P_P_instantiate_A_Array_Pattern_ObjectFlow96.SetSource(DelegationConnectors_P_P_instantiate_A_Array_Pattern_Create_A_Array_Pattern_result); + DelegationConnectors_P_P_instantiate_A_Array_Pattern_ObjectFlow96.SetTarget(DelegationConnectors_P_P_instantiate_A_Array_Pattern_A_Array_Pattern__target); + // LiteralBoolean LiteralBoolean98 + DelegationConnectors_P_P_instantiate_A_Array_Pattern_ObjectFlow96_LiteralBoolean98.SetName("LiteralBoolean98"); + DelegationConnectors_P_P_instantiate_A_Array_Pattern_ObjectFlow96_LiteralBoolean98.SetVisibility(VisibilityKind.public_); + DelegationConnectors_P_P_instantiate_A_Array_Pattern_ObjectFlow96_LiteralBoolean98.SetValue(true); + DelegationConnectors_P_P_instantiate_A_Array_Pattern_ObjectFlow96.SetGuard(DelegationConnectors_P_P_instantiate_A_Array_Pattern_ObjectFlow96_LiteralBoolean98); + DelegationConnectors_P_P_instantiate_A_Array_Pattern.AddEdge(DelegationConnectors_P_P_instantiate_A_Array_Pattern_ObjectFlow96); + // ObjectFlow ObjectFlow99 from result to a_Array_Pattern_node + DelegationConnectors_P_P_instantiate_A_Array_Pattern_ObjectFlow99.SetName("ObjectFlow99"); + DelegationConnectors_P_P_instantiate_A_Array_Pattern_ObjectFlow99.SetVisibility(VisibilityKind.public_); + + DelegationConnectors_P_P_instantiate_A_Array_Pattern_ObjectFlow99.SetSource(DelegationConnectors_P_P_instantiate_A_Array_Pattern_A_Array_Pattern__result); + DelegationConnectors_P_P_instantiate_A_Array_Pattern_ObjectFlow99.SetTarget(DelegationConnectors_P_P_instantiate_A_Array_Pattern_a_Array_Pattern_node); + // LiteralBoolean LiteralBoolean100 + DelegationConnectors_P_P_instantiate_A_Array_Pattern_ObjectFlow99_LiteralBoolean100.SetName("LiteralBoolean100"); + DelegationConnectors_P_P_instantiate_A_Array_Pattern_ObjectFlow99_LiteralBoolean100.SetVisibility(VisibilityKind.public_); + DelegationConnectors_P_P_instantiate_A_Array_Pattern_ObjectFlow99_LiteralBoolean100.SetValue(true); + DelegationConnectors_P_P_instantiate_A_Array_Pattern_ObjectFlow99.SetGuard(DelegationConnectors_P_P_instantiate_A_Array_Pattern_ObjectFlow99_LiteralBoolean100); + DelegationConnectors_P_P_instantiate_A_Array_Pattern.AddEdge(DelegationConnectors_P_P_instantiate_A_Array_Pattern_ObjectFlow99); + DelegationConnectors_P_P.AddPackagedElement(DelegationConnectors_P_P_instantiate_A_Array_Pattern); + // Activity assert_A_Unconnected_Pattern + DelegationConnectors_P_P_assert_A_Unconnected_Pattern.SetName("assert_A_Unconnected_Pattern"); + DelegationConnectors_P_P_assert_A_Unconnected_Pattern.SetVisibility(VisibilityKind.public_); + + // Parameter a_Unconnected_Pattern + DelegationConnectors_P_P_assert_A_Unconnected_Pattern_a_Unconnected_Pattern.SetName("a_Unconnected_Pattern"); + DelegationConnectors_P_P_assert_A_Unconnected_Pattern_a_Unconnected_Pattern.SetVisibility(VisibilityKind.public_); + + DelegationConnectors_P_P_assert_A_Unconnected_Pattern_a_Unconnected_Pattern.SetType(DelegationConnectors_P_P_A_Unconnected_Pattern); + DelegationConnectors_P_P_assert_A_Unconnected_Pattern.AddOwnedParameter(DelegationConnectors_P_P_assert_A_Unconnected_Pattern_a_Unconnected_Pattern); + // ActivityParameterNode a_Unconnected_Pattern_node + DelegationConnectors_P_P_assert_A_Unconnected_Pattern_a_Unconnected_Pattern_node.SetName("a_Unconnected_Pattern_node"); + DelegationConnectors_P_P_assert_A_Unconnected_Pattern_a_Unconnected_Pattern_node.SetVisibility(VisibilityKind.public_); + + DelegationConnectors_P_P_assert_A_Unconnected_Pattern_a_Unconnected_Pattern_node.SetParameter(DelegationConnectors_P_P_assert_A_Unconnected_Pattern_a_Unconnected_Pattern); + DelegationConnectors_P_P_assert_A_Unconnected_Pattern.AddNode(DelegationConnectors_P_P_assert_A_Unconnected_Pattern_a_Unconnected_Pattern_node); + // CallBehaviorAction writeLine + DelegationConnectors_P_P_assert_A_Unconnected_Pattern_writeLine.SetName("writeLine"); + DelegationConnectors_P_P_assert_A_Unconnected_Pattern_writeLine.SetVisibility(VisibilityKind.public_); + + // OutputPin errorStatus + DelegationConnectors_P_P_assert_A_Unconnected_Pattern_writeLine_errorStatus.SetName("errorStatus"); + DelegationConnectors_P_P_assert_A_Unconnected_Pattern_writeLine_errorStatus.SetVisibility(VisibilityKind.public_); + + DelegationConnectors_P_P_assert_A_Unconnected_Pattern_writeLine_errorStatus.SetLower(0); + DelegationConnectors_P_P_assert_A_Unconnected_Pattern_writeLine.AddResult(DelegationConnectors_P_P_assert_A_Unconnected_Pattern_writeLine_errorStatus); + DelegationConnectors_P_P_assert_A_Unconnected_Pattern_writeLine.SetBehavior(FoundationalModelLibraryModel.Instance().FoundationalModelLibrary_BasicInputOutput_WriteLine); + // InputPin value + DelegationConnectors_P_P_assert_A_Unconnected_Pattern_writeLine_value.SetName("value"); + DelegationConnectors_P_P_assert_A_Unconnected_Pattern_writeLine_value.SetVisibility(VisibilityKind.public_); + DelegationConnectors_P_P_assert_A_Unconnected_Pattern_writeLine_value.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_String); + DelegationConnectors_P_P_assert_A_Unconnected_Pattern_writeLine.AddArgument(DelegationConnectors_P_P_assert_A_Unconnected_Pattern_writeLine_value); + DelegationConnectors_P_P_assert_A_Unconnected_Pattern.AddNode(DelegationConnectors_P_P_assert_A_Unconnected_Pattern_writeLine); + // ValueSpecificationAction message + DelegationConnectors_P_P_assert_A_Unconnected_Pattern_message.SetName("message"); + DelegationConnectors_P_P_assert_A_Unconnected_Pattern_message.SetVisibility(VisibilityKind.public_); + // LiteralString LiteralString115 + DelegationConnectors_P_P_assert_A_Unconnected_Pattern_message_LiteralString115.SetName("LiteralString115"); + DelegationConnectors_P_P_assert_A_Unconnected_Pattern_message_LiteralString115.SetVisibility(VisibilityKind.public_); + DelegationConnectors_P_P_assert_A_Unconnected_Pattern_message_LiteralString115.SetValue("Assertion currently not implemented for A_Unconnected_Pattern."); + DelegationConnectors_P_P_assert_A_Unconnected_Pattern_message.SetValue(DelegationConnectors_P_P_assert_A_Unconnected_Pattern_message_LiteralString115); + // OutputPin result + DelegationConnectors_P_P_assert_A_Unconnected_Pattern_message_result.SetName("result"); + DelegationConnectors_P_P_assert_A_Unconnected_Pattern_message_result.SetVisibility(VisibilityKind.public_); + DelegationConnectors_P_P_assert_A_Unconnected_Pattern_message_result.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_String); + DelegationConnectors_P_P_assert_A_Unconnected_Pattern_message.SetResult(DelegationConnectors_P_P_assert_A_Unconnected_Pattern_message_result); + DelegationConnectors_P_P_assert_A_Unconnected_Pattern.AddNode(DelegationConnectors_P_P_assert_A_Unconnected_Pattern_message); + // ObjectFlow ObjectFlow110 from result to value + DelegationConnectors_P_P_assert_A_Unconnected_Pattern_ObjectFlow110.SetName("ObjectFlow110"); + DelegationConnectors_P_P_assert_A_Unconnected_Pattern_ObjectFlow110.SetVisibility(VisibilityKind.public_); + + DelegationConnectors_P_P_assert_A_Unconnected_Pattern_ObjectFlow110.SetSource(DelegationConnectors_P_P_assert_A_Unconnected_Pattern_message_result); + DelegationConnectors_P_P_assert_A_Unconnected_Pattern_ObjectFlow110.SetTarget(DelegationConnectors_P_P_assert_A_Unconnected_Pattern_writeLine_value); + // LiteralBoolean LiteralBoolean111 + DelegationConnectors_P_P_assert_A_Unconnected_Pattern_ObjectFlow110_LiteralBoolean111.SetName("LiteralBoolean111"); + DelegationConnectors_P_P_assert_A_Unconnected_Pattern_ObjectFlow110_LiteralBoolean111.SetVisibility(VisibilityKind.public_); + DelegationConnectors_P_P_assert_A_Unconnected_Pattern_ObjectFlow110_LiteralBoolean111.SetValue(true); + DelegationConnectors_P_P_assert_A_Unconnected_Pattern_ObjectFlow110.SetGuard(DelegationConnectors_P_P_assert_A_Unconnected_Pattern_ObjectFlow110_LiteralBoolean111); + DelegationConnectors_P_P_assert_A_Unconnected_Pattern.AddEdge(DelegationConnectors_P_P_assert_A_Unconnected_Pattern_ObjectFlow110); + DelegationConnectors_P_P.AddPackagedElement(DelegationConnectors_P_P_assert_A_Unconnected_Pattern); + // Class A_Array_Pattern + DelegationConnectors_P_P_A_Array_Pattern.SetName("A_Array_Pattern"); + DelegationConnectors_P_P_A_Array_Pattern.SetVisibility(VisibilityKind.public_); + + // Property b + DelegationConnectors_P_P_A_Array_Pattern_b.SetName("b"); + DelegationConnectors_P_P_A_Array_Pattern_b.SetVisibility(VisibilityKind.public_); + DelegationConnectors_P_P_A_Array_Pattern_b.SetUpper(-1); + DelegationConnectors_P_P_A_Array_Pattern_b.SetLower(4); + DelegationConnectors_P_P_A_Array_Pattern_b.SetType(DelegationConnectors_P_P_B); + DelegationConnectors_P_P_A_Array_Pattern_b.SetAggregation(AggregationKind.composite); + DelegationConnectors_P_P_A_Array_Pattern.AddOwnedAttribute(DelegationConnectors_P_P_A_Array_Pattern_b); + // Port p + DelegationConnectors_P_P_A_Array_Pattern_p.SetName("p"); + DelegationConnectors_P_P_A_Array_Pattern_p.SetVisibility(VisibilityKind.public_); + DelegationConnectors_P_P_A_Array_Pattern_p.SetUpper(-1); + DelegationConnectors_P_P_A_Array_Pattern_p.SetLower(4); + DelegationConnectors_P_P_A_Array_Pattern_p.SetType(DelegationConnectors_P_P_IImpl); + DelegationConnectors_P_P_A_Array_Pattern_p.SetAggregation(AggregationKind.composite); + DelegationConnectors_P_P_A_Array_Pattern_p.isService = true; + DelegationConnectors_P_P_A_Array_Pattern_p.AddProvided(DelegationConnectors_P_P_I); + DelegationConnectors_P_P_A_Array_Pattern.AddOwnedAttribute(DelegationConnectors_P_P_A_Array_Pattern_p); + + DelegationConnectors_P_P_A_Array_Pattern_r.SetName("r"); + DelegationConnectors_P_P_A_Array_Pattern_r.SetVisibility(VisibilityKind.public_); + DelegationConnectors_P_P_A_Array_Pattern_r_ConnectorEnd117.SetUpper(-1); + DelegationConnectors_P_P_A_Array_Pattern_r_ConnectorEnd117.SetRole(DelegationConnectors_P_P_A_Array_Pattern_p); + + DelegationConnectors_P_P_A_Array_Pattern_r.AddEnd(DelegationConnectors_P_P_A_Array_Pattern_r_ConnectorEnd117); + DelegationConnectors_P_P_A_Array_Pattern_r_ConnectorEnd119.SetUpper(-1); + DelegationConnectors_P_P_A_Array_Pattern_r_ConnectorEnd119.SetRole(DelegationConnectors_P_P_A_Array_Pattern_b); + + DelegationConnectors_P_P_A_Array_Pattern_r.AddEnd(DelegationConnectors_P_P_A_Array_Pattern_r_ConnectorEnd119); + DelegationConnectors_P_P_A_Array_Pattern_r.SetType(DelegationConnectors_P_P_R); + DelegationConnectors_P_P_A_Array_Pattern.AddOwnedConnector(DelegationConnectors_P_P_A_Array_Pattern_r); + // Operation A_Array_Pattern_A_Array_Pattern + DelegationConnectors_P_P_A_Array_Pattern_A_Array_Pattern_A_Array_Pattern.SetName("A_Array_Pattern_A_Array_Pattern"); + DelegationConnectors_P_P_A_Array_Pattern_A_Array_Pattern_A_Array_Pattern.SetVisibility(VisibilityKind.public_); + // Parameter result + DelegationConnectors_P_P_A_Array_Pattern_A_Array_Pattern_A_Array_Pattern_result.SetName("result"); + DelegationConnectors_P_P_A_Array_Pattern_A_Array_Pattern_A_Array_Pattern_result.SetVisibility(VisibilityKind.public_); + + DelegationConnectors_P_P_A_Array_Pattern_A_Array_Pattern_A_Array_Pattern_result.SetType(DelegationConnectors_P_P_A_Array_Pattern); + DelegationConnectors_P_P_A_Array_Pattern_A_Array_Pattern_A_Array_Pattern_result.SetDirection(ParameterDirectionKind.return_); + DelegationConnectors_P_P_A_Array_Pattern_A_Array_Pattern_A_Array_Pattern.AddOwnedParameter(DelegationConnectors_P_P_A_Array_Pattern_A_Array_Pattern_A_Array_Pattern_result); + DelegationConnectors_P_P_A_Array_Pattern_A_Array_Pattern_A_Array_Pattern.ApplyStereotype(uml.standardprofile.StandardProfileModel.Instance().Stereotype_Create); + DelegationConnectors_P_P_A_Array_Pattern.AddOwnedOperation(DelegationConnectors_P_P_A_Array_Pattern_A_Array_Pattern_A_Array_Pattern); + DelegationConnectors_P_P.AddPackagedElement(DelegationConnectors_P_P_A_Array_Pattern); + // Association R + DelegationConnectors_P_P_R.SetName("R"); + DelegationConnectors_P_P_R.SetVisibility(VisibilityKind.public_); + DelegationConnectors_P_P_R.AddOwnedEnd(DelegationConnectors_P_P_R_x); + DelegationConnectors_P_P_R.AddOwnedEnd(DelegationConnectors_P_P_R_y); + DelegationConnectors_P_P.AddPackagedElement(DelegationConnectors_P_P_R); + // Class A_Unconnected_Pattern + DelegationConnectors_P_P_A_Unconnected_Pattern.SetName("A_Unconnected_Pattern"); + DelegationConnectors_P_P_A_Unconnected_Pattern.SetVisibility(VisibilityKind.public_); + + // Property b + DelegationConnectors_P_P_A_Unconnected_Pattern_b.SetName("b"); + DelegationConnectors_P_P_A_Unconnected_Pattern_b.SetVisibility(VisibilityKind.public_); + DelegationConnectors_P_P_A_Unconnected_Pattern_b.SetUpper(-1); + DelegationConnectors_P_P_A_Unconnected_Pattern_b.SetLower(2); + DelegationConnectors_P_P_A_Unconnected_Pattern_b.SetType(DelegationConnectors_P_P_B); + DelegationConnectors_P_P_A_Unconnected_Pattern_b.SetAggregation(AggregationKind.composite); + DelegationConnectors_P_P_A_Unconnected_Pattern.AddOwnedAttribute(DelegationConnectors_P_P_A_Unconnected_Pattern_b); + // Port p + DelegationConnectors_P_P_A_Unconnected_Pattern_p.SetName("p"); + DelegationConnectors_P_P_A_Unconnected_Pattern_p.SetVisibility(VisibilityKind.public_); + DelegationConnectors_P_P_A_Unconnected_Pattern_p.SetUpper(-1); + DelegationConnectors_P_P_A_Unconnected_Pattern_p.SetLower(3); + DelegationConnectors_P_P_A_Unconnected_Pattern_p.SetType(DelegationConnectors_P_P_IImpl); + DelegationConnectors_P_P_A_Unconnected_Pattern_p.SetAggregation(AggregationKind.composite); + DelegationConnectors_P_P_A_Unconnected_Pattern_p.isService = true; + DelegationConnectors_P_P_A_Unconnected_Pattern_p.AddProvided(DelegationConnectors_P_P_I); + DelegationConnectors_P_P_A_Unconnected_Pattern.AddOwnedAttribute(DelegationConnectors_P_P_A_Unconnected_Pattern_p); + + DelegationConnectors_P_P_A_Unconnected_Pattern_r.SetName("r"); + DelegationConnectors_P_P_A_Unconnected_Pattern_r.SetVisibility(VisibilityKind.public_); + DelegationConnectors_P_P_A_Unconnected_Pattern_r_ConnectorEnd136.SetUpper(-1); + DelegationConnectors_P_P_A_Unconnected_Pattern_r_ConnectorEnd136.SetLower(0); + DelegationConnectors_P_P_A_Unconnected_Pattern_r_ConnectorEnd136.SetRole(DelegationConnectors_P_P_A_Unconnected_Pattern_p); + + DelegationConnectors_P_P_A_Unconnected_Pattern_r.AddEnd(DelegationConnectors_P_P_A_Unconnected_Pattern_r_ConnectorEnd136); + DelegationConnectors_P_P_A_Unconnected_Pattern_r_ConnectorEnd133.SetUpper(-1); + DelegationConnectors_P_P_A_Unconnected_Pattern_r_ConnectorEnd133.SetLower(0); + DelegationConnectors_P_P_A_Unconnected_Pattern_r_ConnectorEnd133.SetRole(DelegationConnectors_P_P_A_Unconnected_Pattern_b); + + DelegationConnectors_P_P_A_Unconnected_Pattern_r.AddEnd(DelegationConnectors_P_P_A_Unconnected_Pattern_r_ConnectorEnd133); + DelegationConnectors_P_P_A_Unconnected_Pattern_r.SetType(DelegationConnectors_P_P_R); + DelegationConnectors_P_P_A_Unconnected_Pattern.AddOwnedConnector(DelegationConnectors_P_P_A_Unconnected_Pattern_r); + // Operation A_Unconnected_Pattern_A_Unconnected_Pattern + DelegationConnectors_P_P_A_Unconnected_Pattern_A_Unconnected_Pattern_A_Unconnected_Pattern.SetName("A_Unconnected_Pattern_A_Unconnected_Pattern"); + DelegationConnectors_P_P_A_Unconnected_Pattern_A_Unconnected_Pattern_A_Unconnected_Pattern.SetVisibility(VisibilityKind.public_); + // Parameter result + DelegationConnectors_P_P_A_Unconnected_Pattern_A_Unconnected_Pattern_A_Unconnected_Pattern_result.SetName("result"); + DelegationConnectors_P_P_A_Unconnected_Pattern_A_Unconnected_Pattern_A_Unconnected_Pattern_result.SetVisibility(VisibilityKind.public_); + + DelegationConnectors_P_P_A_Unconnected_Pattern_A_Unconnected_Pattern_A_Unconnected_Pattern_result.SetType(DelegationConnectors_P_P_A_Unconnected_Pattern); + DelegationConnectors_P_P_A_Unconnected_Pattern_A_Unconnected_Pattern_A_Unconnected_Pattern_result.SetDirection(ParameterDirectionKind.return_); + DelegationConnectors_P_P_A_Unconnected_Pattern_A_Unconnected_Pattern_A_Unconnected_Pattern.AddOwnedParameter(DelegationConnectors_P_P_A_Unconnected_Pattern_A_Unconnected_Pattern_A_Unconnected_Pattern_result); + DelegationConnectors_P_P_A_Unconnected_Pattern_A_Unconnected_Pattern_A_Unconnected_Pattern.ApplyStereotype(uml.standardprofile.StandardProfileModel.Instance().Stereotype_Create); + DelegationConnectors_P_P_A_Unconnected_Pattern.AddOwnedOperation(DelegationConnectors_P_P_A_Unconnected_Pattern_A_Unconnected_Pattern_A_Unconnected_Pattern); + DelegationConnectors_P_P.AddPackagedElement(DelegationConnectors_P_P_A_Unconnected_Pattern); + // Interface I + DelegationConnectors_P_P_I.SetName("I"); + DelegationConnectors_P_P_I.SetVisibility(VisibilityKind.public_); + DelegationConnectors_P_P.AddPackagedElement(DelegationConnectors_P_P_I); + // Activity instantiate_A_Empty_Pattern + DelegationConnectors_P_P_instantiate_A_Empty_Pattern.SetName("instantiate_A_Empty_Pattern"); + DelegationConnectors_P_P_instantiate_A_Empty_Pattern.SetVisibility(VisibilityKind.public_); + + // Parameter a_Empty_Pattern + DelegationConnectors_P_P_instantiate_A_Empty_Pattern_a_Empty_Pattern.SetName("a_Empty_Pattern"); + DelegationConnectors_P_P_instantiate_A_Empty_Pattern_a_Empty_Pattern.SetVisibility(VisibilityKind.public_); + + DelegationConnectors_P_P_instantiate_A_Empty_Pattern_a_Empty_Pattern.SetType(DelegationConnectors_P_P_A_Empty_Pattern); + DelegationConnectors_P_P_instantiate_A_Empty_Pattern_a_Empty_Pattern.SetDirection(ParameterDirectionKind.return_); + DelegationConnectors_P_P_instantiate_A_Empty_Pattern.AddOwnedParameter(DelegationConnectors_P_P_instantiate_A_Empty_Pattern_a_Empty_Pattern); + // CreateObjectAction Create A_Empty_Pattern + DelegationConnectors_P_P_instantiate_A_Empty_Pattern_Create_A_Empty_Pattern.SetName("Create A_Empty_Pattern"); + DelegationConnectors_P_P_instantiate_A_Empty_Pattern_Create_A_Empty_Pattern.SetVisibility(VisibilityKind.public_); + DelegationConnectors_P_P_instantiate_A_Empty_Pattern_Create_A_Empty_Pattern.SetClassifier(DelegationConnectors_P_P_A_Empty_Pattern); + // OutputPin result + DelegationConnectors_P_P_instantiate_A_Empty_Pattern_Create_A_Empty_Pattern_result.SetName("result"); + DelegationConnectors_P_P_instantiate_A_Empty_Pattern_Create_A_Empty_Pattern_result.SetVisibility(VisibilityKind.public_); + DelegationConnectors_P_P_instantiate_A_Empty_Pattern_Create_A_Empty_Pattern_result.SetType(DelegationConnectors_P_P_A_Empty_Pattern); + DelegationConnectors_P_P_instantiate_A_Empty_Pattern_Create_A_Empty_Pattern.SetResult(DelegationConnectors_P_P_instantiate_A_Empty_Pattern_Create_A_Empty_Pattern_result); + DelegationConnectors_P_P_instantiate_A_Empty_Pattern.AddNode(DelegationConnectors_P_P_instantiate_A_Empty_Pattern_Create_A_Empty_Pattern); + // ActivityParameterNode a_Empty_Pattern_node + DelegationConnectors_P_P_instantiate_A_Empty_Pattern_a_Empty_Pattern_node.SetName("a_Empty_Pattern_node"); + DelegationConnectors_P_P_instantiate_A_Empty_Pattern_a_Empty_Pattern_node.SetVisibility(VisibilityKind.public_); + + DelegationConnectors_P_P_instantiate_A_Empty_Pattern_a_Empty_Pattern_node.SetParameter(DelegationConnectors_P_P_instantiate_A_Empty_Pattern_a_Empty_Pattern); + DelegationConnectors_P_P_instantiate_A_Empty_Pattern.AddNode(DelegationConnectors_P_P_instantiate_A_Empty_Pattern_a_Empty_Pattern_node); + // CallOperationAction A_Empty_Pattern() + DelegationConnectors_P_P_instantiate_A_Empty_Pattern_A_Empty_Pattern_.SetName("A_Empty_Pattern()"); + DelegationConnectors_P_P_instantiate_A_Empty_Pattern_A_Empty_Pattern_.SetVisibility(VisibilityKind.public_); + + // OutputPin result + DelegationConnectors_P_P_instantiate_A_Empty_Pattern_A_Empty_Pattern__result.SetName("result"); + DelegationConnectors_P_P_instantiate_A_Empty_Pattern_A_Empty_Pattern__result.SetVisibility(VisibilityKind.public_); + DelegationConnectors_P_P_instantiate_A_Empty_Pattern_A_Empty_Pattern__result.SetType(DelegationConnectors_P_P_A_Empty_Pattern); + DelegationConnectors_P_P_instantiate_A_Empty_Pattern_A_Empty_Pattern_.AddResult(DelegationConnectors_P_P_instantiate_A_Empty_Pattern_A_Empty_Pattern__result); + DelegationConnectors_P_P_instantiate_A_Empty_Pattern_A_Empty_Pattern_.SetOperation(DelegationConnectors_P_P_A_Empty_Pattern_A_Empty_Pattern_A_Empty_Pattern); + // InputPin target + DelegationConnectors_P_P_instantiate_A_Empty_Pattern_A_Empty_Pattern__target.SetName("target"); + DelegationConnectors_P_P_instantiate_A_Empty_Pattern_A_Empty_Pattern__target.SetVisibility(VisibilityKind.public_); + DelegationConnectors_P_P_instantiate_A_Empty_Pattern_A_Empty_Pattern__target.SetType(DelegationConnectors_P_P_A_Empty_Pattern); + DelegationConnectors_P_P_instantiate_A_Empty_Pattern_A_Empty_Pattern_.SetTarget(DelegationConnectors_P_P_instantiate_A_Empty_Pattern_A_Empty_Pattern__target); + DelegationConnectors_P_P_instantiate_A_Empty_Pattern.AddNode(DelegationConnectors_P_P_instantiate_A_Empty_Pattern_A_Empty_Pattern_); + // ObjectFlow ObjectFlow140 from result to target + DelegationConnectors_P_P_instantiate_A_Empty_Pattern_ObjectFlow140.SetName("ObjectFlow140"); + DelegationConnectors_P_P_instantiate_A_Empty_Pattern_ObjectFlow140.SetVisibility(VisibilityKind.public_); + + DelegationConnectors_P_P_instantiate_A_Empty_Pattern_ObjectFlow140.SetSource(DelegationConnectors_P_P_instantiate_A_Empty_Pattern_Create_A_Empty_Pattern_result); + DelegationConnectors_P_P_instantiate_A_Empty_Pattern_ObjectFlow140.SetTarget(DelegationConnectors_P_P_instantiate_A_Empty_Pattern_A_Empty_Pattern__target); + // LiteralBoolean LiteralBoolean142 + DelegationConnectors_P_P_instantiate_A_Empty_Pattern_ObjectFlow140_LiteralBoolean142.SetName("LiteralBoolean142"); + DelegationConnectors_P_P_instantiate_A_Empty_Pattern_ObjectFlow140_LiteralBoolean142.SetVisibility(VisibilityKind.public_); + DelegationConnectors_P_P_instantiate_A_Empty_Pattern_ObjectFlow140_LiteralBoolean142.SetValue(true); + DelegationConnectors_P_P_instantiate_A_Empty_Pattern_ObjectFlow140.SetGuard(DelegationConnectors_P_P_instantiate_A_Empty_Pattern_ObjectFlow140_LiteralBoolean142); + DelegationConnectors_P_P_instantiate_A_Empty_Pattern.AddEdge(DelegationConnectors_P_P_instantiate_A_Empty_Pattern_ObjectFlow140); + // ObjectFlow ObjectFlow145 from result to a_Empty_Pattern_node + DelegationConnectors_P_P_instantiate_A_Empty_Pattern_ObjectFlow145.SetName("ObjectFlow145"); + DelegationConnectors_P_P_instantiate_A_Empty_Pattern_ObjectFlow145.SetVisibility(VisibilityKind.public_); + + DelegationConnectors_P_P_instantiate_A_Empty_Pattern_ObjectFlow145.SetSource(DelegationConnectors_P_P_instantiate_A_Empty_Pattern_A_Empty_Pattern__result); + DelegationConnectors_P_P_instantiate_A_Empty_Pattern_ObjectFlow145.SetTarget(DelegationConnectors_P_P_instantiate_A_Empty_Pattern_a_Empty_Pattern_node); + // LiteralBoolean LiteralBoolean146 + DelegationConnectors_P_P_instantiate_A_Empty_Pattern_ObjectFlow145_LiteralBoolean146.SetName("LiteralBoolean146"); + DelegationConnectors_P_P_instantiate_A_Empty_Pattern_ObjectFlow145_LiteralBoolean146.SetVisibility(VisibilityKind.public_); + DelegationConnectors_P_P_instantiate_A_Empty_Pattern_ObjectFlow145_LiteralBoolean146.SetValue(true); + DelegationConnectors_P_P_instantiate_A_Empty_Pattern_ObjectFlow145.SetGuard(DelegationConnectors_P_P_instantiate_A_Empty_Pattern_ObjectFlow145_LiteralBoolean146); + DelegationConnectors_P_P_instantiate_A_Empty_Pattern.AddEdge(DelegationConnectors_P_P_instantiate_A_Empty_Pattern_ObjectFlow145); + DelegationConnectors_P_P.AddPackagedElement(DelegationConnectors_P_P_instantiate_A_Empty_Pattern); + // Activity assert_A_Array_Pattern + DelegationConnectors_P_P_assert_A_Array_Pattern.SetName("assert_A_Array_Pattern"); + DelegationConnectors_P_P_assert_A_Array_Pattern.SetVisibility(VisibilityKind.public_); + + // Parameter a_Array_Pattern + DelegationConnectors_P_P_assert_A_Array_Pattern_a_Array_Pattern.SetName("a_Array_Pattern"); + DelegationConnectors_P_P_assert_A_Array_Pattern_a_Array_Pattern.SetVisibility(VisibilityKind.public_); + + DelegationConnectors_P_P_assert_A_Array_Pattern_a_Array_Pattern.SetType(DelegationConnectors_P_P_A_Array_Pattern); + DelegationConnectors_P_P_assert_A_Array_Pattern.AddOwnedParameter(DelegationConnectors_P_P_assert_A_Array_Pattern_a_Array_Pattern); + // ValueSpecificationAction message + DelegationConnectors_P_P_assert_A_Array_Pattern_message.SetName("message"); + DelegationConnectors_P_P_assert_A_Array_Pattern_message.SetVisibility(VisibilityKind.public_); + // LiteralString LiteralString158 + DelegationConnectors_P_P_assert_A_Array_Pattern_message_LiteralString158.SetName("LiteralString158"); + DelegationConnectors_P_P_assert_A_Array_Pattern_message_LiteralString158.SetVisibility(VisibilityKind.public_); + DelegationConnectors_P_P_assert_A_Array_Pattern_message_LiteralString158.SetValue("Assertion currently not implemented for A_Array_Pattern."); + DelegationConnectors_P_P_assert_A_Array_Pattern_message.SetValue(DelegationConnectors_P_P_assert_A_Array_Pattern_message_LiteralString158); + // OutputPin result + DelegationConnectors_P_P_assert_A_Array_Pattern_message_result.SetName("result"); + DelegationConnectors_P_P_assert_A_Array_Pattern_message_result.SetVisibility(VisibilityKind.public_); + DelegationConnectors_P_P_assert_A_Array_Pattern_message_result.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_String); + DelegationConnectors_P_P_assert_A_Array_Pattern_message.SetResult(DelegationConnectors_P_P_assert_A_Array_Pattern_message_result); + DelegationConnectors_P_P_assert_A_Array_Pattern.AddNode(DelegationConnectors_P_P_assert_A_Array_Pattern_message); + // CallBehaviorAction writeLine + DelegationConnectors_P_P_assert_A_Array_Pattern_writeLine.SetName("writeLine"); + DelegationConnectors_P_P_assert_A_Array_Pattern_writeLine.SetVisibility(VisibilityKind.public_); + + // OutputPin errorStatus + DelegationConnectors_P_P_assert_A_Array_Pattern_writeLine_errorStatus.SetName("errorStatus"); + DelegationConnectors_P_P_assert_A_Array_Pattern_writeLine_errorStatus.SetVisibility(VisibilityKind.public_); + + DelegationConnectors_P_P_assert_A_Array_Pattern_writeLine_errorStatus.SetLower(0); + DelegationConnectors_P_P_assert_A_Array_Pattern_writeLine.AddResult(DelegationConnectors_P_P_assert_A_Array_Pattern_writeLine_errorStatus); + DelegationConnectors_P_P_assert_A_Array_Pattern_writeLine.SetBehavior(FoundationalModelLibraryModel.Instance().FoundationalModelLibrary_BasicInputOutput_WriteLine); + // InputPin value + DelegationConnectors_P_P_assert_A_Array_Pattern_writeLine_value.SetName("value"); + DelegationConnectors_P_P_assert_A_Array_Pattern_writeLine_value.SetVisibility(VisibilityKind.public_); + DelegationConnectors_P_P_assert_A_Array_Pattern_writeLine_value.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_String); + DelegationConnectors_P_P_assert_A_Array_Pattern_writeLine.AddArgument(DelegationConnectors_P_P_assert_A_Array_Pattern_writeLine_value); + DelegationConnectors_P_P_assert_A_Array_Pattern.AddNode(DelegationConnectors_P_P_assert_A_Array_Pattern_writeLine); + // ActivityParameterNode a_Array_Pattern_node + DelegationConnectors_P_P_assert_A_Array_Pattern_a_Array_Pattern_node.SetName("a_Array_Pattern_node"); + DelegationConnectors_P_P_assert_A_Array_Pattern_a_Array_Pattern_node.SetVisibility(VisibilityKind.public_); + + DelegationConnectors_P_P_assert_A_Array_Pattern_a_Array_Pattern_node.SetParameter(DelegationConnectors_P_P_assert_A_Array_Pattern_a_Array_Pattern); + DelegationConnectors_P_P_assert_A_Array_Pattern.AddNode(DelegationConnectors_P_P_assert_A_Array_Pattern_a_Array_Pattern_node); + // ObjectFlow ObjectFlow153 from result to value + DelegationConnectors_P_P_assert_A_Array_Pattern_ObjectFlow153.SetName("ObjectFlow153"); + DelegationConnectors_P_P_assert_A_Array_Pattern_ObjectFlow153.SetVisibility(VisibilityKind.public_); + + DelegationConnectors_P_P_assert_A_Array_Pattern_ObjectFlow153.SetSource(DelegationConnectors_P_P_assert_A_Array_Pattern_message_result); + DelegationConnectors_P_P_assert_A_Array_Pattern_ObjectFlow153.SetTarget(DelegationConnectors_P_P_assert_A_Array_Pattern_writeLine_value); + // LiteralBoolean LiteralBoolean154 + DelegationConnectors_P_P_assert_A_Array_Pattern_ObjectFlow153_LiteralBoolean154.SetName("LiteralBoolean154"); + DelegationConnectors_P_P_assert_A_Array_Pattern_ObjectFlow153_LiteralBoolean154.SetVisibility(VisibilityKind.public_); + DelegationConnectors_P_P_assert_A_Array_Pattern_ObjectFlow153_LiteralBoolean154.SetValue(true); + DelegationConnectors_P_P_assert_A_Array_Pattern_ObjectFlow153.SetGuard(DelegationConnectors_P_P_assert_A_Array_Pattern_ObjectFlow153_LiteralBoolean154); + DelegationConnectors_P_P_assert_A_Array_Pattern.AddEdge(DelegationConnectors_P_P_assert_A_Array_Pattern_ObjectFlow153); + DelegationConnectors_P_P.AddPackagedElement(DelegationConnectors_P_P_assert_A_Array_Pattern); + // Class A_Empty_Pattern + DelegationConnectors_P_P_A_Empty_Pattern.SetName("A_Empty_Pattern"); + DelegationConnectors_P_P_A_Empty_Pattern.SetVisibility(VisibilityKind.public_); + + // Property b + DelegationConnectors_P_P_A_Empty_Pattern_b.SetName("b"); + DelegationConnectors_P_P_A_Empty_Pattern_b.SetVisibility(VisibilityKind.public_); + DelegationConnectors_P_P_A_Empty_Pattern_b.SetUpper(-1); + DelegationConnectors_P_P_A_Empty_Pattern_b.SetLower(0); + DelegationConnectors_P_P_A_Empty_Pattern_b.SetType(DelegationConnectors_P_P_B); + DelegationConnectors_P_P_A_Empty_Pattern_b.SetAggregation(AggregationKind.composite); + DelegationConnectors_P_P_A_Empty_Pattern.AddOwnedAttribute(DelegationConnectors_P_P_A_Empty_Pattern_b); + // Port p + DelegationConnectors_P_P_A_Empty_Pattern_p.SetName("p"); + DelegationConnectors_P_P_A_Empty_Pattern_p.SetVisibility(VisibilityKind.public_); + DelegationConnectors_P_P_A_Empty_Pattern_p.SetUpper(-1); + DelegationConnectors_P_P_A_Empty_Pattern_p.SetLower(0); + DelegationConnectors_P_P_A_Empty_Pattern_p.SetType(DelegationConnectors_P_P_IImpl); + DelegationConnectors_P_P_A_Empty_Pattern_p.SetAggregation(AggregationKind.composite); + DelegationConnectors_P_P_A_Empty_Pattern_p.isService = true; + DelegationConnectors_P_P_A_Empty_Pattern_p.AddProvided(DelegationConnectors_P_P_I); + DelegationConnectors_P_P_A_Empty_Pattern.AddOwnedAttribute(DelegationConnectors_P_P_A_Empty_Pattern_p); + + DelegationConnectors_P_P_A_Empty_Pattern_r.SetName("r"); + DelegationConnectors_P_P_A_Empty_Pattern_r.SetVisibility(VisibilityKind.public_); + DelegationConnectors_P_P_A_Empty_Pattern_r_ConnectorEnd173.SetUpper(-1); + DelegationConnectors_P_P_A_Empty_Pattern_r_ConnectorEnd173.SetRole(DelegationConnectors_P_P_A_Empty_Pattern_p); + + DelegationConnectors_P_P_A_Empty_Pattern_r.AddEnd(DelegationConnectors_P_P_A_Empty_Pattern_r_ConnectorEnd173); + DelegationConnectors_P_P_A_Empty_Pattern_r_ConnectorEnd171.SetUpper(-1); + DelegationConnectors_P_P_A_Empty_Pattern_r_ConnectorEnd171.SetRole(DelegationConnectors_P_P_A_Empty_Pattern_b); + + DelegationConnectors_P_P_A_Empty_Pattern_r.AddEnd(DelegationConnectors_P_P_A_Empty_Pattern_r_ConnectorEnd171); + DelegationConnectors_P_P_A_Empty_Pattern_r.SetType(DelegationConnectors_P_P_R); + DelegationConnectors_P_P_A_Empty_Pattern.AddOwnedConnector(DelegationConnectors_P_P_A_Empty_Pattern_r); + // Operation A_Empty_Pattern_A_Empty_Pattern + DelegationConnectors_P_P_A_Empty_Pattern_A_Empty_Pattern_A_Empty_Pattern.SetName("A_Empty_Pattern_A_Empty_Pattern"); + DelegationConnectors_P_P_A_Empty_Pattern_A_Empty_Pattern_A_Empty_Pattern.SetVisibility(VisibilityKind.public_); + // Parameter result + DelegationConnectors_P_P_A_Empty_Pattern_A_Empty_Pattern_A_Empty_Pattern_result.SetName("result"); + DelegationConnectors_P_P_A_Empty_Pattern_A_Empty_Pattern_A_Empty_Pattern_result.SetVisibility(VisibilityKind.public_); + + DelegationConnectors_P_P_A_Empty_Pattern_A_Empty_Pattern_A_Empty_Pattern_result.SetType(DelegationConnectors_P_P_A_Empty_Pattern); + DelegationConnectors_P_P_A_Empty_Pattern_A_Empty_Pattern_A_Empty_Pattern_result.SetDirection(ParameterDirectionKind.return_); + DelegationConnectors_P_P_A_Empty_Pattern_A_Empty_Pattern_A_Empty_Pattern.AddOwnedParameter(DelegationConnectors_P_P_A_Empty_Pattern_A_Empty_Pattern_A_Empty_Pattern_result); + DelegationConnectors_P_P_A_Empty_Pattern_A_Empty_Pattern_A_Empty_Pattern.ApplyStereotype(uml.standardprofile.StandardProfileModel.Instance().Stereotype_Create); + DelegationConnectors_P_P_A_Empty_Pattern.AddOwnedOperation(DelegationConnectors_P_P_A_Empty_Pattern_A_Empty_Pattern_A_Empty_Pattern); + DelegationConnectors_P_P.AddPackagedElement(DelegationConnectors_P_P_A_Empty_Pattern); + // Activity assert_A_Empty_Pattern + DelegationConnectors_P_P_assert_A_Empty_Pattern.SetName("assert_A_Empty_Pattern"); + DelegationConnectors_P_P_assert_A_Empty_Pattern.SetVisibility(VisibilityKind.public_); + + // Parameter a_Empty_Pattern + DelegationConnectors_P_P_assert_A_Empty_Pattern_a_Empty_Pattern.SetName("a_Empty_Pattern"); + DelegationConnectors_P_P_assert_A_Empty_Pattern_a_Empty_Pattern.SetVisibility(VisibilityKind.public_); + + DelegationConnectors_P_P_assert_A_Empty_Pattern_a_Empty_Pattern.SetType(DelegationConnectors_P_P_A_Empty_Pattern); + DelegationConnectors_P_P_assert_A_Empty_Pattern.AddOwnedParameter(DelegationConnectors_P_P_assert_A_Empty_Pattern_a_Empty_Pattern); + // ValueSpecificationAction message + DelegationConnectors_P_P_assert_A_Empty_Pattern_message.SetName("message"); + DelegationConnectors_P_P_assert_A_Empty_Pattern_message.SetVisibility(VisibilityKind.public_); + // LiteralString LiteralString177 + DelegationConnectors_P_P_assert_A_Empty_Pattern_message_LiteralString177.SetName("LiteralString177"); + DelegationConnectors_P_P_assert_A_Empty_Pattern_message_LiteralString177.SetVisibility(VisibilityKind.public_); + DelegationConnectors_P_P_assert_A_Empty_Pattern_message_LiteralString177.SetValue("Assertion currently not implemented for A_Empty_Pattern."); + DelegationConnectors_P_P_assert_A_Empty_Pattern_message.SetValue(DelegationConnectors_P_P_assert_A_Empty_Pattern_message_LiteralString177); + // OutputPin result + DelegationConnectors_P_P_assert_A_Empty_Pattern_message_result.SetName("result"); + DelegationConnectors_P_P_assert_A_Empty_Pattern_message_result.SetVisibility(VisibilityKind.public_); + DelegationConnectors_P_P_assert_A_Empty_Pattern_message_result.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_String); + DelegationConnectors_P_P_assert_A_Empty_Pattern_message.SetResult(DelegationConnectors_P_P_assert_A_Empty_Pattern_message_result); + DelegationConnectors_P_P_assert_A_Empty_Pattern.AddNode(DelegationConnectors_P_P_assert_A_Empty_Pattern_message); + // CallBehaviorAction writeLine + DelegationConnectors_P_P_assert_A_Empty_Pattern_writeLine.SetName("writeLine"); + DelegationConnectors_P_P_assert_A_Empty_Pattern_writeLine.SetVisibility(VisibilityKind.public_); + + // OutputPin errorStatus + DelegationConnectors_P_P_assert_A_Empty_Pattern_writeLine_errorStatus.SetName("errorStatus"); + DelegationConnectors_P_P_assert_A_Empty_Pattern_writeLine_errorStatus.SetVisibility(VisibilityKind.public_); + + DelegationConnectors_P_P_assert_A_Empty_Pattern_writeLine_errorStatus.SetLower(0); + DelegationConnectors_P_P_assert_A_Empty_Pattern_writeLine.AddResult(DelegationConnectors_P_P_assert_A_Empty_Pattern_writeLine_errorStatus); + DelegationConnectors_P_P_assert_A_Empty_Pattern_writeLine.SetBehavior(FoundationalModelLibraryModel.Instance().FoundationalModelLibrary_BasicInputOutput_WriteLine); + // InputPin value + DelegationConnectors_P_P_assert_A_Empty_Pattern_writeLine_value.SetName("value"); + DelegationConnectors_P_P_assert_A_Empty_Pattern_writeLine_value.SetVisibility(VisibilityKind.public_); + DelegationConnectors_P_P_assert_A_Empty_Pattern_writeLine_value.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_String); + DelegationConnectors_P_P_assert_A_Empty_Pattern_writeLine.AddArgument(DelegationConnectors_P_P_assert_A_Empty_Pattern_writeLine_value); + DelegationConnectors_P_P_assert_A_Empty_Pattern.AddNode(DelegationConnectors_P_P_assert_A_Empty_Pattern_writeLine); + // ActivityParameterNode a_Empty_Pattern_node + DelegationConnectors_P_P_assert_A_Empty_Pattern_a_Empty_Pattern_node.SetName("a_Empty_Pattern_node"); + DelegationConnectors_P_P_assert_A_Empty_Pattern_a_Empty_Pattern_node.SetVisibility(VisibilityKind.public_); + + DelegationConnectors_P_P_assert_A_Empty_Pattern_a_Empty_Pattern_node.SetParameter(DelegationConnectors_P_P_assert_A_Empty_Pattern_a_Empty_Pattern); + DelegationConnectors_P_P_assert_A_Empty_Pattern.AddNode(DelegationConnectors_P_P_assert_A_Empty_Pattern_a_Empty_Pattern_node); + // ObjectFlow ObjectFlow178 from result to value + DelegationConnectors_P_P_assert_A_Empty_Pattern_ObjectFlow178.SetName("ObjectFlow178"); + DelegationConnectors_P_P_assert_A_Empty_Pattern_ObjectFlow178.SetVisibility(VisibilityKind.public_); + + DelegationConnectors_P_P_assert_A_Empty_Pattern_ObjectFlow178.SetSource(DelegationConnectors_P_P_assert_A_Empty_Pattern_message_result); + DelegationConnectors_P_P_assert_A_Empty_Pattern_ObjectFlow178.SetTarget(DelegationConnectors_P_P_assert_A_Empty_Pattern_writeLine_value); + // LiteralBoolean LiteralBoolean180 + DelegationConnectors_P_P_assert_A_Empty_Pattern_ObjectFlow178_LiteralBoolean180.SetName("LiteralBoolean180"); + DelegationConnectors_P_P_assert_A_Empty_Pattern_ObjectFlow178_LiteralBoolean180.SetVisibility(VisibilityKind.public_); + DelegationConnectors_P_P_assert_A_Empty_Pattern_ObjectFlow178_LiteralBoolean180.SetValue(true); + DelegationConnectors_P_P_assert_A_Empty_Pattern_ObjectFlow178.SetGuard(DelegationConnectors_P_P_assert_A_Empty_Pattern_ObjectFlow178_LiteralBoolean180); + DelegationConnectors_P_P_assert_A_Empty_Pattern.AddEdge(DelegationConnectors_P_P_assert_A_Empty_Pattern_ObjectFlow178); + DelegationConnectors_P_P.AddPackagedElement(DelegationConnectors_P_P_assert_A_Empty_Pattern); + } + + /* Start of user code : User-defined members + * This section may be used for user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } // DelegationConnectors_P_PModel +} diff --git a/fUML-CSharp/tests/pscs-Tests/01_Instantiation/07_DelegationConnectors_P_PWP/.gitignore b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/07_DelegationConnectors_P_PWP/.gitignore new file mode 100644 index 0000000..1736844 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/07_DelegationConnectors_P_PWP/.gitignore @@ -0,0 +1,3 @@ +/.vs/ +/bin/ +/obj/ diff --git a/fUML-CSharp/tests/pscs-Tests/01_Instantiation/07_DelegationConnectors_P_PWP/DelegationConnectors_P_PWP.csproj b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/07_DelegationConnectors_P_PWP/DelegationConnectors_P_PWP.csproj new file mode 100644 index 0000000..bb01a57 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/07_DelegationConnectors_P_PWP/DelegationConnectors_P_PWP.csproj @@ -0,0 +1,50 @@ + + + + Exe + net6.0 + enable + enable + + + + DelegationConnectors_P_PWP.Debug + + + DelegationConnectors_P_PWP.Release + + + + + ..\..\..\..\uml\bin\Debug\net6.0\uml.Debug.dll + + + + + ..\..\..\..\uml\bin\Release\net6.0\uml.Release.dll + + + + + + ..\..\..\..\fuml\bin\Debug\net6.0\fuml.Debug.dll + + + + + ..\..\..\..\fuml\bin\Release\net6.0\fuml.Release.dll + + + + + + ..\..\..\..\pscs\bin\Debug\net6.0\pscs.Debug.dll + + + + + ..\..\..\..\pscs\bin\Release\net6.0\pscs.Release.dll + + + + diff --git a/fUML-CSharp/tests/pscs-Tests/01_Instantiation/07_DelegationConnectors_P_PWP/DelegationConnectors_P_PWP.sln b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/07_DelegationConnectors_P_PWP/DelegationConnectors_P_PWP.sln new file mode 100644 index 0000000..99181d3 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/07_DelegationConnectors_P_PWP/DelegationConnectors_P_PWP.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.32112.339 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DelegationConnectors_P_PWP", "DelegationConnectors_P_PWP.csproj", "{FFC33D8E-4464-418D-9BBC-F8FA8ABF28DF}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {FFC33D8E-4464-418D-9BBC-F8FA8ABF28DF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {FFC33D8E-4464-418D-9BBC-F8FA8ABF28DF}.Debug|Any CPU.Build.0 = Debug|Any CPU + {FFC33D8E-4464-418D-9BBC-F8FA8ABF28DF}.Release|Any CPU.ActiveCfg = Release|Any CPU + {FFC33D8E-4464-418D-9BBC-F8FA8ABF28DF}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {6F784F36-C308-49DB-B1FF-2F5A9CEEBF4B} + EndGlobalSection +EndGlobal diff --git a/fUML-CSharp/tests/pscs-Tests/01_Instantiation/07_DelegationConnectors_P_PWP/model/DelegationConnectors_P_PWP.di b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/07_DelegationConnectors_P_PWP/model/DelegationConnectors_P_PWP.di new file mode 100644 index 0000000..bf9abab --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/07_DelegationConnectors_P_PWP/model/DelegationConnectors_P_PWP.di @@ -0,0 +1,2 @@ + + diff --git a/fUML-CSharp/tests/pscs-Tests/01_Instantiation/07_DelegationConnectors_P_PWP/model/DelegationConnectors_P_PWP.notation b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/07_DelegationConnectors_P_PWP/model/DelegationConnectors_P_PWP.notation new file mode 100644 index 0000000..2de13e3 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/07_DelegationConnectors_P_PWP/model/DelegationConnectors_P_PWP.notation @@ -0,0 +1,1751 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+ + + + + +
+ + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+ + + + + +
+ + + +
+ + + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + + + + + + + + + +
+
+ + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + +
+ + + +
+ + + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + + + + + + + + + +
+
+ + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + +
+ + + +
+ + + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + + + + + + + + + +
+
+ + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + +
+ + + +
+ + + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + + + + + + + + + +
+
+ + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + +
+ + + +
+ + + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + + + + + + + + + +
+
+ + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + +
+ + + +
+ + + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + + + + + + + + + +
+
+ + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/fUML-CSharp/tests/pscs-Tests/01_Instantiation/07_DelegationConnectors_P_PWP/model/DelegationConnectors_P_PWP.uml b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/07_DelegationConnectors_P_PWP/model/DelegationConnectors_P_PWP.uml new file mode 100644 index 0000000..ab3dc6d --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/07_DelegationConnectors_P_PWP/model/DelegationConnectors_P_PWP.uml @@ -0,0 +1,470 @@ + + + + + This test case addresses instantiation semantics in the case of a delegation connector between a port and a part with port. + + + + + + + Empty pattern: +lower bound of port p and part b is 0 + + + + + + + + + + + + + + + + + + + + + + + + Unconnected pattern: +lower bound on ends of connector r is 0 + + + + + + + + + + + + + + + + + + + + + + + + + + Array pattern: +lower bound of p and b*p are equals +lower bound on ends of connector r is 1 + + + + + + + + + + + + + + + + + + + + + + + + Star pattern: +lower bound on ends of connector r equal +lower bound of connected parts + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/fUML-CSharp/tests/pscs-Tests/01_Instantiation/07_DelegationConnectors_P_PWP/src/DelegationConnectors_P_PWP.cs b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/07_DelegationConnectors_P_PWP/src/DelegationConnectors_P_PWP.cs new file mode 100644 index 0000000..2dde83a --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/07_DelegationConnectors_P_PWP/src/DelegationConnectors_P_PWP.cs @@ -0,0 +1,31 @@ +namespace DelegationConnectors_P_PWP +{ + internal class DelegationConnectors_P_PWP + { + static void PrintUsage() + { + Console.WriteLine( + "=============================================================================================\n" + + "USAGE: [ <...>]\n" + + "=============================================================================================\n" + ); + } + + static int Main(string[] args) + { + if(args.Length == 0) + { + Console.WriteLine("[ERROR] Must declare at least one behavior name.\n"); + PrintUsage(); + return -1; + } + + foreach (string arg in args) + { + DelegationConnectors_P_PWPEnvironment.Instance().Execute(arg); + } + + return 0; + } + } +} diff --git a/fUML-CSharp/tests/pscs-Tests/01_Instantiation/07_DelegationConnectors_P_PWP/src/DelegationConnectors_P_PWPEnvironment.cs b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/07_DelegationConnectors_P_PWP/src/DelegationConnectors_P_PWPEnvironment.cs new file mode 100644 index 0000000..5feeeb2 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/07_DelegationConnectors_P_PWP/src/DelegationConnectors_P_PWPEnvironment.cs @@ -0,0 +1,92 @@ +/* + * DelegationConnectors_P_PWPEnvironment.cs + * + * Auto-generated file + */ + +/* Start of user code : User-defined using directives + * This section may be used for using directives. + * It will not be overwritten by future generation processes. + */ + +/* + * End of user code + */ + +namespace DelegationConnectors_P_PWP +{ + public class DelegationConnectors_P_PWPEnvironment : pscs.environment.Environment + { + private static DelegationConnectors_P_PWPEnvironment? instance; + + public static DelegationConnectors_P_PWPEnvironment Instance() + { + if(instance is null) + { + instance = new(); + instance.inMemoryModel = DelegationConnectors_P_PWPModel.Instance(); + } + + return instance; + } + + public DelegationConnectors_P_PWPEnvironment() + { + /* + * Create custom opaque behavior execution instances and add them to the execution environment. + */ + + /* Start of user code : Additional environment initializations + * This section may be used to do any additional environment initialization, + * for example initializing user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } + + public override void Execute(string behaviorName) + { + /* Start of user code : Context and inputs initializations + * This section may be used to initialize the execution context + * as well as input parameter values if required. + * It will not be overwritten by future generation processes. + */ + + //context = ...; + //inputs = ...; + + /* + * End of user code + */ + + /* + * Start execution via base class call + */ + base.Execute(behaviorName); + + /* Start of user code : Outputs evaluation + * This section may be used to evaluate output parameter values if required. + * It will not be overwritten by future generation processes. + */ + + //List theOutputs = outputs; + //... + + /* + * End of user code + */ + } + + /* Start of user code : User-defined members + * This section may be used for user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } // DelegationConnectors_P_PWPEnvironment +} diff --git a/fUML-CSharp/tests/pscs-Tests/01_Instantiation/07_DelegationConnectors_P_PWP/src/DelegationConnectors_P_PWPModel.cs b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/07_DelegationConnectors_P_PWP/src/DelegationConnectors_P_PWPModel.cs new file mode 100644 index 0000000..824aa4c --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/07_DelegationConnectors_P_PWP/src/DelegationConnectors_P_PWPModel.cs @@ -0,0 +1,1599 @@ +/* + * DelegationConnectors_P_PWPModel.cs + * + * Auto-generated file + */ + +using uml.actions; +using uml.packages; +using uml.structuredclassifiers; +using fuml.primitivetypes; +using uml.classification; +using fuml.library; +using uml.simpleclassifiers; +using uml.commonbehavior; +using uml.commonstructure; +using uml.values; +using uml.activities; +using uml.environment; + + +/* Start of user code : User-defined includes and forward declarations + * This section may be used for includes and forward declarations. + * It will not be overwritten by future generation processes. + */ + +/* + * End of user code + */ + +namespace DelegationConnectors_P_PWP +{ + public class DelegationConnectors_P_PWPModel : InMemoryModel + { + private static DelegationConnectors_P_PWPModel? instance; + + /* + * Model DelegationConnectors_P_PWP + */ + public Package DelegationConnectors_P_PWP = new(); + public Class_ DelegationConnectors_P_PWP_B = new(); + public Port DelegationConnectors_P_PWP_B_q = new(); + public LiteralInteger DelegationConnectors_P_PWP_B_q_LiteralInteger0 = new(); + public LiteralUnlimitedNatural DelegationConnectors_P_PWP_B_q_LiteralUnlimitedNatural1 = new(); + public Association DelegationConnectors_P_PWP_R = new(); + public Property DelegationConnectors_P_PWP_R_x = new(); + public LiteralInteger DelegationConnectors_P_PWP_R_x_LiteralInteger2 = new(); + public LiteralUnlimitedNatural DelegationConnectors_P_PWP_R_x_LiteralUnlimitedNatural3 = new(); + public Property DelegationConnectors_P_PWP_R_y = new(); + public LiteralUnlimitedNatural DelegationConnectors_P_PWP_R_y_LiteralUnlimitedNatural4 = new(); + public LiteralInteger DelegationConnectors_P_PWP_R_y_LiteralInteger5 = new(); + public Interface DelegationConnectors_P_PWP_I = new(); + public Activity DelegationConnectors_P_PWP_assert_A_Array_Pattern = new(); + public Parameter DelegationConnectors_P_PWP_assert_A_Array_Pattern_a_Array_Pattern = new(); + public ObjectFlow DelegationConnectors_P_PWP_assert_A_Array_Pattern_ObjectFlow6 = new(); + public LiteralInteger DelegationConnectors_P_PWP_assert_A_Array_Pattern_ObjectFlow6_LiteralInteger7 = new(); + public LiteralBoolean DelegationConnectors_P_PWP_assert_A_Array_Pattern_ObjectFlow6_LiteralBoolean8 = new(); + public CallBehaviorAction DelegationConnectors_P_PWP_assert_A_Array_Pattern_writeLine = new(); + public InputPin DelegationConnectors_P_PWP_assert_A_Array_Pattern_writeLine_value = new(); + public LiteralInteger DelegationConnectors_P_PWP_assert_A_Array_Pattern_writeLine_value_LiteralInteger9 = new(); + public LiteralInteger DelegationConnectors_P_PWP_assert_A_Array_Pattern_writeLine_value_LiteralInteger10 = new(); + public LiteralUnlimitedNatural DelegationConnectors_P_PWP_assert_A_Array_Pattern_writeLine_value_LiteralUnlimitedNatural11 = new(); + public OutputPin DelegationConnectors_P_PWP_assert_A_Array_Pattern_writeLine_errorStatus = new(); + public LiteralInteger DelegationConnectors_P_PWP_assert_A_Array_Pattern_writeLine_errorStatus_LiteralInteger12 = new(); + public LiteralInteger DelegationConnectors_P_PWP_assert_A_Array_Pattern_writeLine_errorStatus_LiteralInteger13 = new(); + public LiteralUnlimitedNatural DelegationConnectors_P_PWP_assert_A_Array_Pattern_writeLine_errorStatus_LiteralUnlimitedNatural14 = new(); + public ActivityParameterNode DelegationConnectors_P_PWP_assert_A_Array_Pattern_a_Array_Pattern_node = new(); + public LiteralInteger DelegationConnectors_P_PWP_assert_A_Array_Pattern_a_Array_Pattern_node_LiteralInteger15 = new(); + public ValueSpecificationAction DelegationConnectors_P_PWP_assert_A_Array_Pattern_message = new(); + public LiteralString DelegationConnectors_P_PWP_assert_A_Array_Pattern_message_LiteralString16 = new(); + public OutputPin DelegationConnectors_P_PWP_assert_A_Array_Pattern_message_result = new(); + public LiteralInteger DelegationConnectors_P_PWP_assert_A_Array_Pattern_message_result_LiteralInteger17 = new(); + public LiteralUnlimitedNatural DelegationConnectors_P_PWP_assert_A_Array_Pattern_message_result_LiteralUnlimitedNatural18 = new(); + public Class_ DelegationConnectors_P_PWP_A_Star_Pattern = new(); + public Property DelegationConnectors_P_PWP_A_Star_Pattern_b = new(); + public LiteralInteger DelegationConnectors_P_PWP_A_Star_Pattern_b_LiteralInteger19 = new(); + public LiteralUnlimitedNatural DelegationConnectors_P_PWP_A_Star_Pattern_b_LiteralUnlimitedNatural20 = new(); + public Port DelegationConnectors_P_PWP_A_Star_Pattern_p = new(); + public LiteralInteger DelegationConnectors_P_PWP_A_Star_Pattern_p_LiteralInteger21 = new(); + public LiteralUnlimitedNatural DelegationConnectors_P_PWP_A_Star_Pattern_p_LiteralUnlimitedNatural22 = new(); + public Connector DelegationConnectors_P_PWP_A_Star_Pattern_r = new(); + public ConnectorEnd DelegationConnectors_P_PWP_A_Star_Pattern_r_ConnectorEnd23 = new(); + public LiteralInteger DelegationConnectors_P_PWP_A_Star_Pattern_r_ConnectorEnd23_LiteralInteger24 = new(); + public LiteralUnlimitedNatural DelegationConnectors_P_PWP_A_Star_Pattern_r_ConnectorEnd23_LiteralUnlimitedNatural25 = new(); + public ConnectorEnd DelegationConnectors_P_PWP_A_Star_Pattern_r_ConnectorEnd26 = new(); + public LiteralUnlimitedNatural DelegationConnectors_P_PWP_A_Star_Pattern_r_ConnectorEnd26_LiteralUnlimitedNatural27 = new(); + public LiteralInteger DelegationConnectors_P_PWP_A_Star_Pattern_r_ConnectorEnd26_LiteralInteger28 = new(); + public Comment DelegationConnectors_P_PWP_A_Star_Pattern_Comment29 = new(); + public Operation DelegationConnectors_P_PWP_A_Star_Pattern_A_Star_Pattern_A_Star_Pattern = new(); + public Parameter DelegationConnectors_P_PWP_A_Star_Pattern_A_Star_Pattern_A_Star_Pattern_result = new(); + public Class_ DelegationConnectors_P_PWP_IImpl = new(); + public InterfaceRealization DelegationConnectors_P_PWP_IImpl_I_Realization = new(); + public Activity DelegationConnectors_P_PWP_instantiate_A_Unconnected_Pattern = new(); + public Parameter DelegationConnectors_P_PWP_instantiate_A_Unconnected_Pattern_a_Unconnected_Pattern = new(); + public CreateObjectAction DelegationConnectors_P_PWP_instantiate_A_Unconnected_Pattern_Create_A_Unconnected_Pattern = new(); + public OutputPin DelegationConnectors_P_PWP_instantiate_A_Unconnected_Pattern_Create_A_Unconnected_Pattern_result = new(); + public LiteralInteger DelegationConnectors_P_PWP_instantiate_A_Unconnected_Pattern_Create_A_Unconnected_Pattern_result_LiteralInteger30 = new(); + public LiteralUnlimitedNatural DelegationConnectors_P_PWP_instantiate_A_Unconnected_Pattern_Create_A_Unconnected_Pattern_result_LiteralUnlimitedNatural31 = new(); + public ObjectFlow DelegationConnectors_P_PWP_instantiate_A_Unconnected_Pattern_ObjectFlow32 = new(); + public LiteralBoolean DelegationConnectors_P_PWP_instantiate_A_Unconnected_Pattern_ObjectFlow32_LiteralBoolean33 = new(); + public LiteralInteger DelegationConnectors_P_PWP_instantiate_A_Unconnected_Pattern_ObjectFlow32_LiteralInteger34 = new(); + public ActivityParameterNode DelegationConnectors_P_PWP_instantiate_A_Unconnected_Pattern_a_Unconnected_Pattern_node = new(); + public ObjectFlow DelegationConnectors_P_PWP_instantiate_A_Unconnected_Pattern_ObjectFlow35 = new(); + public LiteralInteger DelegationConnectors_P_PWP_instantiate_A_Unconnected_Pattern_ObjectFlow35_LiteralInteger36 = new(); + public LiteralBoolean DelegationConnectors_P_PWP_instantiate_A_Unconnected_Pattern_ObjectFlow35_LiteralBoolean37 = new(); + public CallOperationAction DelegationConnectors_P_PWP_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern_ = new(); + public OutputPin DelegationConnectors_P_PWP_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern__result = new(); + public LiteralUnlimitedNatural DelegationConnectors_P_PWP_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern__result_LiteralUnlimitedNatural38 = new(); + public LiteralInteger DelegationConnectors_P_PWP_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern__result_LiteralInteger39 = new(); + public LiteralInteger DelegationConnectors_P_PWP_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern__result_LiteralInteger40 = new(); + public InputPin DelegationConnectors_P_PWP_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern__target = new(); + public LiteralInteger DelegationConnectors_P_PWP_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern__target_LiteralInteger41 = new(); + public LiteralUnlimitedNatural DelegationConnectors_P_PWP_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern__target_LiteralUnlimitedNatural42 = new(); + public Activity DelegationConnectors_P_PWP_instantiate_A_Empty_Pattern = new(); + public ObjectFlow DelegationConnectors_P_PWP_instantiate_A_Empty_Pattern_ObjectFlow43 = new(); + public LiteralInteger DelegationConnectors_P_PWP_instantiate_A_Empty_Pattern_ObjectFlow43_LiteralInteger44 = new(); + public LiteralBoolean DelegationConnectors_P_PWP_instantiate_A_Empty_Pattern_ObjectFlow43_LiteralBoolean45 = new(); + public ObjectFlow DelegationConnectors_P_PWP_instantiate_A_Empty_Pattern_ObjectFlow46 = new(); + public LiteralInteger DelegationConnectors_P_PWP_instantiate_A_Empty_Pattern_ObjectFlow46_LiteralInteger47 = new(); + public LiteralBoolean DelegationConnectors_P_PWP_instantiate_A_Empty_Pattern_ObjectFlow46_LiteralBoolean48 = new(); + public CreateObjectAction DelegationConnectors_P_PWP_instantiate_A_Empty_Pattern_Create_A_Empty_Pattern = new(); + public OutputPin DelegationConnectors_P_PWP_instantiate_A_Empty_Pattern_Create_A_Empty_Pattern_result = new(); + public LiteralInteger DelegationConnectors_P_PWP_instantiate_A_Empty_Pattern_Create_A_Empty_Pattern_result_LiteralInteger49 = new(); + public LiteralUnlimitedNatural DelegationConnectors_P_PWP_instantiate_A_Empty_Pattern_Create_A_Empty_Pattern_result_LiteralUnlimitedNatural50 = new(); + public CallOperationAction DelegationConnectors_P_PWP_instantiate_A_Empty_Pattern_A_Empty_Pattern_ = new(); + public InputPin DelegationConnectors_P_PWP_instantiate_A_Empty_Pattern_A_Empty_Pattern__target = new(); + public LiteralUnlimitedNatural DelegationConnectors_P_PWP_instantiate_A_Empty_Pattern_A_Empty_Pattern__target_LiteralUnlimitedNatural51 = new(); + public LiteralInteger DelegationConnectors_P_PWP_instantiate_A_Empty_Pattern_A_Empty_Pattern__target_LiteralInteger52 = new(); + public OutputPin DelegationConnectors_P_PWP_instantiate_A_Empty_Pattern_A_Empty_Pattern__result = new(); + public LiteralInteger DelegationConnectors_P_PWP_instantiate_A_Empty_Pattern_A_Empty_Pattern__result_LiteralInteger53 = new(); + public LiteralUnlimitedNatural DelegationConnectors_P_PWP_instantiate_A_Empty_Pattern_A_Empty_Pattern__result_LiteralUnlimitedNatural54 = new(); + public LiteralInteger DelegationConnectors_P_PWP_instantiate_A_Empty_Pattern_A_Empty_Pattern__result_LiteralInteger55 = new(); + public ActivityParameterNode DelegationConnectors_P_PWP_instantiate_A_Empty_Pattern_a_Empty_Pattern_node = new(); + public Parameter DelegationConnectors_P_PWP_instantiate_A_Empty_Pattern_a_Empty_Pattern = new(); + public Activity DelegationConnectors_P_PWP_instantiate_A_Array_Pattern = new(); + public ObjectFlow DelegationConnectors_P_PWP_instantiate_A_Array_Pattern_ObjectFlow56 = new(); + public LiteralBoolean DelegationConnectors_P_PWP_instantiate_A_Array_Pattern_ObjectFlow56_LiteralBoolean57 = new(); + public LiteralInteger DelegationConnectors_P_PWP_instantiate_A_Array_Pattern_ObjectFlow56_LiteralInteger58 = new(); + public ActivityParameterNode DelegationConnectors_P_PWP_instantiate_A_Array_Pattern_a_Array_Pattern_node = new(); + public LiteralInteger DelegationConnectors_P_PWP_instantiate_A_Array_Pattern_a_Array_Pattern_node_LiteralInteger59 = new(); + public CreateObjectAction DelegationConnectors_P_PWP_instantiate_A_Array_Pattern_Create_A_Array_Pattern = new(); + public OutputPin DelegationConnectors_P_PWP_instantiate_A_Array_Pattern_Create_A_Array_Pattern_result = new(); + public LiteralUnlimitedNatural DelegationConnectors_P_PWP_instantiate_A_Array_Pattern_Create_A_Array_Pattern_result_LiteralUnlimitedNatural60 = new(); + public LiteralInteger DelegationConnectors_P_PWP_instantiate_A_Array_Pattern_Create_A_Array_Pattern_result_LiteralInteger61 = new(); + public Parameter DelegationConnectors_P_PWP_instantiate_A_Array_Pattern_a_Array_Pattern = new(); + public ObjectFlow DelegationConnectors_P_PWP_instantiate_A_Array_Pattern_ObjectFlow62 = new(); + public LiteralBoolean DelegationConnectors_P_PWP_instantiate_A_Array_Pattern_ObjectFlow62_LiteralBoolean63 = new(); + public LiteralInteger DelegationConnectors_P_PWP_instantiate_A_Array_Pattern_ObjectFlow62_LiteralInteger64 = new(); + public CallOperationAction DelegationConnectors_P_PWP_instantiate_A_Array_Pattern_A_Array_Pattern_ = new(); + public InputPin DelegationConnectors_P_PWP_instantiate_A_Array_Pattern_A_Array_Pattern__target = new(); + public LiteralUnlimitedNatural DelegationConnectors_P_PWP_instantiate_A_Array_Pattern_A_Array_Pattern__target_LiteralUnlimitedNatural65 = new(); + public LiteralInteger DelegationConnectors_P_PWP_instantiate_A_Array_Pattern_A_Array_Pattern__target_LiteralInteger66 = new(); + public OutputPin DelegationConnectors_P_PWP_instantiate_A_Array_Pattern_A_Array_Pattern__result = new(); + public LiteralUnlimitedNatural DelegationConnectors_P_PWP_instantiate_A_Array_Pattern_A_Array_Pattern__result_LiteralUnlimitedNatural67 = new(); + public LiteralInteger DelegationConnectors_P_PWP_instantiate_A_Array_Pattern_A_Array_Pattern__result_LiteralInteger68 = new(); + public LiteralInteger DelegationConnectors_P_PWP_instantiate_A_Array_Pattern_A_Array_Pattern__result_LiteralInteger69 = new(); + public Class_ DelegationConnectors_P_PWP_A_Array_Pattern = new(); + public Comment DelegationConnectors_P_PWP_A_Array_Pattern_Comment70 = new(); + public Connector DelegationConnectors_P_PWP_A_Array_Pattern_r = new(); + public ConnectorEnd DelegationConnectors_P_PWP_A_Array_Pattern_r_ConnectorEnd71 = new(); + public LiteralUnlimitedNatural DelegationConnectors_P_PWP_A_Array_Pattern_r_ConnectorEnd71_LiteralUnlimitedNatural72 = new(); + public ConnectorEnd DelegationConnectors_P_PWP_A_Array_Pattern_r_ConnectorEnd73 = new(); + public LiteralUnlimitedNatural DelegationConnectors_P_PWP_A_Array_Pattern_r_ConnectorEnd73_LiteralUnlimitedNatural74 = new(); + public Property DelegationConnectors_P_PWP_A_Array_Pattern_b = new(); + public LiteralUnlimitedNatural DelegationConnectors_P_PWP_A_Array_Pattern_b_LiteralUnlimitedNatural75 = new(); + public LiteralInteger DelegationConnectors_P_PWP_A_Array_Pattern_b_LiteralInteger76 = new(); + public Operation DelegationConnectors_P_PWP_A_Array_Pattern_A_Array_Pattern_A_Array_Pattern = new(); + public Parameter DelegationConnectors_P_PWP_A_Array_Pattern_A_Array_Pattern_A_Array_Pattern_result = new(); + public Port DelegationConnectors_P_PWP_A_Array_Pattern_p = new(); + public LiteralInteger DelegationConnectors_P_PWP_A_Array_Pattern_p_LiteralInteger77 = new(); + public LiteralUnlimitedNatural DelegationConnectors_P_PWP_A_Array_Pattern_p_LiteralUnlimitedNatural78 = new(); + public Activity DelegationConnectors_P_PWP_assert_A_Empty_Pattern = new(); + public ObjectFlow DelegationConnectors_P_PWP_assert_A_Empty_Pattern_ObjectFlow79 = new(); + public LiteralInteger DelegationConnectors_P_PWP_assert_A_Empty_Pattern_ObjectFlow79_LiteralInteger80 = new(); + public LiteralBoolean DelegationConnectors_P_PWP_assert_A_Empty_Pattern_ObjectFlow79_LiteralBoolean81 = new(); + public CallBehaviorAction DelegationConnectors_P_PWP_assert_A_Empty_Pattern_writeLine = new(); + public OutputPin DelegationConnectors_P_PWP_assert_A_Empty_Pattern_writeLine_errorStatus = new(); + public LiteralInteger DelegationConnectors_P_PWP_assert_A_Empty_Pattern_writeLine_errorStatus_LiteralInteger82 = new(); + public LiteralInteger DelegationConnectors_P_PWP_assert_A_Empty_Pattern_writeLine_errorStatus_LiteralInteger83 = new(); + public LiteralUnlimitedNatural DelegationConnectors_P_PWP_assert_A_Empty_Pattern_writeLine_errorStatus_LiteralUnlimitedNatural84 = new(); + public InputPin DelegationConnectors_P_PWP_assert_A_Empty_Pattern_writeLine_value = new(); + public LiteralInteger DelegationConnectors_P_PWP_assert_A_Empty_Pattern_writeLine_value_LiteralInteger85 = new(); + public LiteralUnlimitedNatural DelegationConnectors_P_PWP_assert_A_Empty_Pattern_writeLine_value_LiteralUnlimitedNatural86 = new(); + public LiteralInteger DelegationConnectors_P_PWP_assert_A_Empty_Pattern_writeLine_value_LiteralInteger87 = new(); + public ValueSpecificationAction DelegationConnectors_P_PWP_assert_A_Empty_Pattern_message = new(); + public OutputPin DelegationConnectors_P_PWP_assert_A_Empty_Pattern_message_result = new(); + public LiteralInteger DelegationConnectors_P_PWP_assert_A_Empty_Pattern_message_result_LiteralInteger88 = new(); + public LiteralUnlimitedNatural DelegationConnectors_P_PWP_assert_A_Empty_Pattern_message_result_LiteralUnlimitedNatural89 = new(); + public LiteralString DelegationConnectors_P_PWP_assert_A_Empty_Pattern_message_LiteralString90 = new(); + public ActivityParameterNode DelegationConnectors_P_PWP_assert_A_Empty_Pattern_a_Empty_Pattern_node = new(); + public LiteralInteger DelegationConnectors_P_PWP_assert_A_Empty_Pattern_a_Empty_Pattern_node_LiteralInteger91 = new(); + public Parameter DelegationConnectors_P_PWP_assert_A_Empty_Pattern_a_Empty_Pattern = new(); + public Activity DelegationConnectors_P_PWP_main = new(); + public CallBehaviorAction DelegationConnectors_P_PWP_main_assert_A_Star_Pattern = new(); + public InputPin DelegationConnectors_P_PWP_main_assert_A_Star_Pattern_a_Star_Pattern = new(); + public LiteralUnlimitedNatural DelegationConnectors_P_PWP_main_assert_A_Star_Pattern_a_Star_Pattern_LiteralUnlimitedNatural92 = new(); + public LiteralInteger DelegationConnectors_P_PWP_main_assert_A_Star_Pattern_a_Star_Pattern_LiteralInteger93 = new(); + public LiteralInteger DelegationConnectors_P_PWP_main_assert_A_Star_Pattern_a_Star_Pattern_LiteralInteger94 = new(); + public CallBehaviorAction DelegationConnectors_P_PWP_main_instantiate_A_Empty_Pattern = new(); + public OutputPin DelegationConnectors_P_PWP_main_instantiate_A_Empty_Pattern_a_Empty_Pattern = new(); + public LiteralInteger DelegationConnectors_P_PWP_main_instantiate_A_Empty_Pattern_a_Empty_Pattern_LiteralInteger95 = new(); + public LiteralInteger DelegationConnectors_P_PWP_main_instantiate_A_Empty_Pattern_a_Empty_Pattern_LiteralInteger96 = new(); + public LiteralUnlimitedNatural DelegationConnectors_P_PWP_main_instantiate_A_Empty_Pattern_a_Empty_Pattern_LiteralUnlimitedNatural97 = new(); + public CallBehaviorAction DelegationConnectors_P_PWP_main_instantiate_A_Array_Pattern = new(); + public OutputPin DelegationConnectors_P_PWP_main_instantiate_A_Array_Pattern_a_Array_Pattern = new(); + public LiteralInteger DelegationConnectors_P_PWP_main_instantiate_A_Array_Pattern_a_Array_Pattern_LiteralInteger98 = new(); + public LiteralUnlimitedNatural DelegationConnectors_P_PWP_main_instantiate_A_Array_Pattern_a_Array_Pattern_LiteralUnlimitedNatural99 = new(); + public LiteralInteger DelegationConnectors_P_PWP_main_instantiate_A_Array_Pattern_a_Array_Pattern_LiteralInteger100 = new(); + public ObjectFlow DelegationConnectors_P_PWP_main_ObjectFlow101 = new(); + public LiteralBoolean DelegationConnectors_P_PWP_main_ObjectFlow101_LiteralBoolean102 = new(); + public LiteralInteger DelegationConnectors_P_PWP_main_ObjectFlow101_LiteralInteger103 = new(); + public ObjectFlow DelegationConnectors_P_PWP_main_ObjectFlow104 = new(); + public LiteralInteger DelegationConnectors_P_PWP_main_ObjectFlow104_LiteralInteger105 = new(); + public LiteralBoolean DelegationConnectors_P_PWP_main_ObjectFlow104_LiteralBoolean106 = new(); + public CallBehaviorAction DelegationConnectors_P_PWP_main_instantiate_A_Unconnected_Pattern = new(); + public OutputPin DelegationConnectors_P_PWP_main_instantiate_A_Unconnected_Pattern_a_Unconnected_Pattern = new(); + public LiteralInteger DelegationConnectors_P_PWP_main_instantiate_A_Unconnected_Pattern_a_Unconnected_Pattern_LiteralInteger107 = new(); + public LiteralUnlimitedNatural DelegationConnectors_P_PWP_main_instantiate_A_Unconnected_Pattern_a_Unconnected_Pattern_LiteralUnlimitedNatural108 = new(); + public LiteralInteger DelegationConnectors_P_PWP_main_instantiate_A_Unconnected_Pattern_a_Unconnected_Pattern_LiteralInteger109 = new(); + public ObjectFlow DelegationConnectors_P_PWP_main_ObjectFlow110 = new(); + public LiteralBoolean DelegationConnectors_P_PWP_main_ObjectFlow110_LiteralBoolean111 = new(); + public LiteralInteger DelegationConnectors_P_PWP_main_ObjectFlow110_LiteralInteger112 = new(); + public CallBehaviorAction DelegationConnectors_P_PWP_main_assert_A_Unconnected_Pattern = new(); + public InputPin DelegationConnectors_P_PWP_main_assert_A_Unconnected_Pattern_a_Unconnected_Pattern = new(); + public LiteralInteger DelegationConnectors_P_PWP_main_assert_A_Unconnected_Pattern_a_Unconnected_Pattern_LiteralInteger113 = new(); + public LiteralUnlimitedNatural DelegationConnectors_P_PWP_main_assert_A_Unconnected_Pattern_a_Unconnected_Pattern_LiteralUnlimitedNatural114 = new(); + public LiteralInteger DelegationConnectors_P_PWP_main_assert_A_Unconnected_Pattern_a_Unconnected_Pattern_LiteralInteger115 = new(); + public ObjectFlow DelegationConnectors_P_PWP_main_ObjectFlow116 = new(); + public LiteralBoolean DelegationConnectors_P_PWP_main_ObjectFlow116_LiteralBoolean117 = new(); + public LiteralInteger DelegationConnectors_P_PWP_main_ObjectFlow116_LiteralInteger118 = new(); + public CallBehaviorAction DelegationConnectors_P_PWP_main_assert_A_Array_Pattern = new(); + public InputPin DelegationConnectors_P_PWP_main_assert_A_Array_Pattern_a_Array_Pattern = new(); + public LiteralUnlimitedNatural DelegationConnectors_P_PWP_main_assert_A_Array_Pattern_a_Array_Pattern_LiteralUnlimitedNatural119 = new(); + public LiteralInteger DelegationConnectors_P_PWP_main_assert_A_Array_Pattern_a_Array_Pattern_LiteralInteger120 = new(); + public LiteralInteger DelegationConnectors_P_PWP_main_assert_A_Array_Pattern_a_Array_Pattern_LiteralInteger121 = new(); + public CallBehaviorAction DelegationConnectors_P_PWP_main_assert_A_Empty_Pattern = new(); + public InputPin DelegationConnectors_P_PWP_main_assert_A_Empty_Pattern_a_Empty_Pattern = new(); + public LiteralUnlimitedNatural DelegationConnectors_P_PWP_main_assert_A_Empty_Pattern_a_Empty_Pattern_LiteralUnlimitedNatural122 = new(); + public LiteralInteger DelegationConnectors_P_PWP_main_assert_A_Empty_Pattern_a_Empty_Pattern_LiteralInteger123 = new(); + public LiteralInteger DelegationConnectors_P_PWP_main_assert_A_Empty_Pattern_a_Empty_Pattern_LiteralInteger124 = new(); + public CallBehaviorAction DelegationConnectors_P_PWP_main_instantiate_A_Star_Pattern = new(); + public OutputPin DelegationConnectors_P_PWP_main_instantiate_A_Star_Pattern_a_Star_Pattern = new(); + public LiteralInteger DelegationConnectors_P_PWP_main_instantiate_A_Star_Pattern_a_Star_Pattern_LiteralInteger125 = new(); + public LiteralUnlimitedNatural DelegationConnectors_P_PWP_main_instantiate_A_Star_Pattern_a_Star_Pattern_LiteralUnlimitedNatural126 = new(); + public LiteralInteger DelegationConnectors_P_PWP_main_instantiate_A_Star_Pattern_a_Star_Pattern_LiteralInteger127 = new(); + public ControlFlow DelegationConnectors_P_PWP_main_ControlFlow128 = new(); + public ControlFlow DelegationConnectors_P_PWP_main_ControlFlow129 = new(); + public ControlFlow DelegationConnectors_P_PWP_main_ControlFlow130 = new(); + public Class_ DelegationConnectors_P_PWP_A_Unconnected_Pattern = new(); + public Port DelegationConnectors_P_PWP_A_Unconnected_Pattern_p = new(); + public LiteralInteger DelegationConnectors_P_PWP_A_Unconnected_Pattern_p_LiteralInteger131 = new(); + public LiteralUnlimitedNatural DelegationConnectors_P_PWP_A_Unconnected_Pattern_p_LiteralUnlimitedNatural132 = new(); + public Operation DelegationConnectors_P_PWP_A_Unconnected_Pattern_A_Unconnected_Pattern_A_Unconnected_Pattern = new(); + public Parameter DelegationConnectors_P_PWP_A_Unconnected_Pattern_A_Unconnected_Pattern_A_Unconnected_Pattern_result = new(); + public Property DelegationConnectors_P_PWP_A_Unconnected_Pattern_b = new(); + public LiteralInteger DelegationConnectors_P_PWP_A_Unconnected_Pattern_b_LiteralInteger133 = new(); + public LiteralUnlimitedNatural DelegationConnectors_P_PWP_A_Unconnected_Pattern_b_LiteralUnlimitedNatural134 = new(); + public Connector DelegationConnectors_P_PWP_A_Unconnected_Pattern_r = new(); + public ConnectorEnd DelegationConnectors_P_PWP_A_Unconnected_Pattern_r_ConnectorEnd135 = new(); + public LiteralInteger DelegationConnectors_P_PWP_A_Unconnected_Pattern_r_ConnectorEnd135_LiteralInteger136 = new(); + public LiteralUnlimitedNatural DelegationConnectors_P_PWP_A_Unconnected_Pattern_r_ConnectorEnd135_LiteralUnlimitedNatural137 = new(); + public ConnectorEnd DelegationConnectors_P_PWP_A_Unconnected_Pattern_r_ConnectorEnd138 = new(); + public LiteralUnlimitedNatural DelegationConnectors_P_PWP_A_Unconnected_Pattern_r_ConnectorEnd138_LiteralUnlimitedNatural139 = new(); + public LiteralInteger DelegationConnectors_P_PWP_A_Unconnected_Pattern_r_ConnectorEnd138_LiteralInteger140 = new(); + public Comment DelegationConnectors_P_PWP_A_Unconnected_Pattern_Comment141 = new(); + public Activity DelegationConnectors_P_PWP_instantiate_A_Star_Pattern = new(); + public Parameter DelegationConnectors_P_PWP_instantiate_A_Star_Pattern_a_Star_Pattern = new(); + public CallOperationAction DelegationConnectors_P_PWP_instantiate_A_Star_Pattern_A_Star_Pattern_ = new(); + public OutputPin DelegationConnectors_P_PWP_instantiate_A_Star_Pattern_A_Star_Pattern__result = new(); + public LiteralInteger DelegationConnectors_P_PWP_instantiate_A_Star_Pattern_A_Star_Pattern__result_LiteralInteger142 = new(); + public LiteralUnlimitedNatural DelegationConnectors_P_PWP_instantiate_A_Star_Pattern_A_Star_Pattern__result_LiteralUnlimitedNatural143 = new(); + public LiteralInteger DelegationConnectors_P_PWP_instantiate_A_Star_Pattern_A_Star_Pattern__result_LiteralInteger144 = new(); + public InputPin DelegationConnectors_P_PWP_instantiate_A_Star_Pattern_A_Star_Pattern__target = new(); + public LiteralUnlimitedNatural DelegationConnectors_P_PWP_instantiate_A_Star_Pattern_A_Star_Pattern__target_LiteralUnlimitedNatural145 = new(); + public LiteralInteger DelegationConnectors_P_PWP_instantiate_A_Star_Pattern_A_Star_Pattern__target_LiteralInteger146 = new(); + public ObjectFlow DelegationConnectors_P_PWP_instantiate_A_Star_Pattern_ObjectFlow147 = new(); + public LiteralBoolean DelegationConnectors_P_PWP_instantiate_A_Star_Pattern_ObjectFlow147_LiteralBoolean148 = new(); + public LiteralInteger DelegationConnectors_P_PWP_instantiate_A_Star_Pattern_ObjectFlow147_LiteralInteger149 = new(); + public CreateObjectAction DelegationConnectors_P_PWP_instantiate_A_Star_Pattern_Create_A_Star_Pattern = new(); + public OutputPin DelegationConnectors_P_PWP_instantiate_A_Star_Pattern_Create_A_Star_Pattern_result = new(); + public LiteralInteger DelegationConnectors_P_PWP_instantiate_A_Star_Pattern_Create_A_Star_Pattern_result_LiteralInteger150 = new(); + public LiteralUnlimitedNatural DelegationConnectors_P_PWP_instantiate_A_Star_Pattern_Create_A_Star_Pattern_result_LiteralUnlimitedNatural151 = new(); + public ObjectFlow DelegationConnectors_P_PWP_instantiate_A_Star_Pattern_ObjectFlow152 = new(); + public LiteralInteger DelegationConnectors_P_PWP_instantiate_A_Star_Pattern_ObjectFlow152_LiteralInteger153 = new(); + public LiteralBoolean DelegationConnectors_P_PWP_instantiate_A_Star_Pattern_ObjectFlow152_LiteralBoolean154 = new(); + public ActivityParameterNode DelegationConnectors_P_PWP_instantiate_A_Star_Pattern_a_Star_Pattern_node = new(); + public Activity DelegationConnectors_P_PWP_assert_A_Unconnected_Pattern = new(); + public ValueSpecificationAction DelegationConnectors_P_PWP_assert_A_Unconnected_Pattern_message = new(); + public LiteralString DelegationConnectors_P_PWP_assert_A_Unconnected_Pattern_message_LiteralString155 = new(); + public OutputPin DelegationConnectors_P_PWP_assert_A_Unconnected_Pattern_message_result = new(); + public LiteralInteger DelegationConnectors_P_PWP_assert_A_Unconnected_Pattern_message_result_LiteralInteger156 = new(); + public LiteralUnlimitedNatural DelegationConnectors_P_PWP_assert_A_Unconnected_Pattern_message_result_LiteralUnlimitedNatural157 = new(); + public Parameter DelegationConnectors_P_PWP_assert_A_Unconnected_Pattern_a_Unconnected_Pattern = new(); + public ObjectFlow DelegationConnectors_P_PWP_assert_A_Unconnected_Pattern_ObjectFlow158 = new(); + public LiteralBoolean DelegationConnectors_P_PWP_assert_A_Unconnected_Pattern_ObjectFlow158_LiteralBoolean159 = new(); + public LiteralInteger DelegationConnectors_P_PWP_assert_A_Unconnected_Pattern_ObjectFlow158_LiteralInteger160 = new(); + public CallBehaviorAction DelegationConnectors_P_PWP_assert_A_Unconnected_Pattern_writeLine = new(); + public OutputPin DelegationConnectors_P_PWP_assert_A_Unconnected_Pattern_writeLine_errorStatus = new(); + public LiteralInteger DelegationConnectors_P_PWP_assert_A_Unconnected_Pattern_writeLine_errorStatus_LiteralInteger161 = new(); + public LiteralUnlimitedNatural DelegationConnectors_P_PWP_assert_A_Unconnected_Pattern_writeLine_errorStatus_LiteralUnlimitedNatural162 = new(); + public LiteralInteger DelegationConnectors_P_PWP_assert_A_Unconnected_Pattern_writeLine_errorStatus_LiteralInteger163 = new(); + public InputPin DelegationConnectors_P_PWP_assert_A_Unconnected_Pattern_writeLine_value = new(); + public LiteralInteger DelegationConnectors_P_PWP_assert_A_Unconnected_Pattern_writeLine_value_LiteralInteger164 = new(); + public LiteralUnlimitedNatural DelegationConnectors_P_PWP_assert_A_Unconnected_Pattern_writeLine_value_LiteralUnlimitedNatural165 = new(); + public LiteralInteger DelegationConnectors_P_PWP_assert_A_Unconnected_Pattern_writeLine_value_LiteralInteger166 = new(); + public ActivityParameterNode DelegationConnectors_P_PWP_assert_A_Unconnected_Pattern_a_Unconnected_Pattern_node = new(); + public LiteralInteger DelegationConnectors_P_PWP_assert_A_Unconnected_Pattern_a_Unconnected_Pattern_node_LiteralInteger167 = new(); + public Class_ DelegationConnectors_P_PWP_A_Empty_Pattern = new(); + public Property DelegationConnectors_P_PWP_A_Empty_Pattern_b = new(); + public LiteralInteger DelegationConnectors_P_PWP_A_Empty_Pattern_b_LiteralInteger168 = new(); + public LiteralUnlimitedNatural DelegationConnectors_P_PWP_A_Empty_Pattern_b_LiteralUnlimitedNatural169 = new(); + public Operation DelegationConnectors_P_PWP_A_Empty_Pattern_A_Empty_Pattern_A_Empty_Pattern = new(); + public Parameter DelegationConnectors_P_PWP_A_Empty_Pattern_A_Empty_Pattern_A_Empty_Pattern_result = new(); + public Comment DelegationConnectors_P_PWP_A_Empty_Pattern_Comment170 = new(); + public Port DelegationConnectors_P_PWP_A_Empty_Pattern_p = new(); + public LiteralInteger DelegationConnectors_P_PWP_A_Empty_Pattern_p_LiteralInteger171 = new(); + public LiteralUnlimitedNatural DelegationConnectors_P_PWP_A_Empty_Pattern_p_LiteralUnlimitedNatural172 = new(); + public Connector DelegationConnectors_P_PWP_A_Empty_Pattern_r = new(); + public ConnectorEnd DelegationConnectors_P_PWP_A_Empty_Pattern_r_ConnectorEnd173 = new(); + public LiteralUnlimitedNatural DelegationConnectors_P_PWP_A_Empty_Pattern_r_ConnectorEnd173_LiteralUnlimitedNatural174 = new(); + public ConnectorEnd DelegationConnectors_P_PWP_A_Empty_Pattern_r_ConnectorEnd175 = new(); + public LiteralUnlimitedNatural DelegationConnectors_P_PWP_A_Empty_Pattern_r_ConnectorEnd175_LiteralUnlimitedNatural176 = new(); + public Activity DelegationConnectors_P_PWP_assert_A_Star_Pattern = new(); + public ActivityParameterNode DelegationConnectors_P_PWP_assert_A_Star_Pattern_a_Star_Pattern_node = new(); + public LiteralInteger DelegationConnectors_P_PWP_assert_A_Star_Pattern_a_Star_Pattern_node_LiteralInteger177 = new(); + public ValueSpecificationAction DelegationConnectors_P_PWP_assert_A_Star_Pattern_message = new(); + public LiteralString DelegationConnectors_P_PWP_assert_A_Star_Pattern_message_LiteralString178 = new(); + public OutputPin DelegationConnectors_P_PWP_assert_A_Star_Pattern_message_result = new(); + public LiteralUnlimitedNatural DelegationConnectors_P_PWP_assert_A_Star_Pattern_message_result_LiteralUnlimitedNatural179 = new(); + public LiteralInteger DelegationConnectors_P_PWP_assert_A_Star_Pattern_message_result_LiteralInteger180 = new(); + public Parameter DelegationConnectors_P_PWP_assert_A_Star_Pattern_a_Star_Pattern = new(); + public CallBehaviorAction DelegationConnectors_P_PWP_assert_A_Star_Pattern_writeLine = new(); + public InputPin DelegationConnectors_P_PWP_assert_A_Star_Pattern_writeLine_value = new(); + public LiteralInteger DelegationConnectors_P_PWP_assert_A_Star_Pattern_writeLine_value_LiteralInteger181 = new(); + public LiteralUnlimitedNatural DelegationConnectors_P_PWP_assert_A_Star_Pattern_writeLine_value_LiteralUnlimitedNatural182 = new(); + public LiteralInteger DelegationConnectors_P_PWP_assert_A_Star_Pattern_writeLine_value_LiteralInteger183 = new(); + public OutputPin DelegationConnectors_P_PWP_assert_A_Star_Pattern_writeLine_errorStatus = new(); + public LiteralUnlimitedNatural DelegationConnectors_P_PWP_assert_A_Star_Pattern_writeLine_errorStatus_LiteralUnlimitedNatural184 = new(); + public LiteralInteger DelegationConnectors_P_PWP_assert_A_Star_Pattern_writeLine_errorStatus_LiteralInteger185 = new(); + public LiteralInteger DelegationConnectors_P_PWP_assert_A_Star_Pattern_writeLine_errorStatus_LiteralInteger186 = new(); + public ObjectFlow DelegationConnectors_P_PWP_assert_A_Star_Pattern_ObjectFlow187 = new(); + public LiteralInteger DelegationConnectors_P_PWP_assert_A_Star_Pattern_ObjectFlow187_LiteralInteger188 = new(); + public LiteralBoolean DelegationConnectors_P_PWP_assert_A_Star_Pattern_ObjectFlow187_LiteralBoolean189 = new(); + + public static DelegationConnectors_P_PWPModel Instance() + { + if (instance is null) + { + instance = new(); + instance.InitializeInMemoryModel(); + } + + return instance; + } + + public DelegationConnectors_P_PWPModel() + { + /* Start of user code : Additional model initializations + * This section may be used to do any additional model initialization, + * for example initializing user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } + + private void InitializeInMemoryModel() + { + // Create public members + /* + * Model DelegationConnectors_P_PWP + */ + AddToElementRepository("DelegationConnectors_P_PWP", DelegationConnectors_P_PWP); + AddToElementRepository("B", DelegationConnectors_P_PWP_B); + AddToElementRepository("q", DelegationConnectors_P_PWP_B_q); + AddToElementRepository("LiteralInteger0", DelegationConnectors_P_PWP_B_q_LiteralInteger0); + AddToElementRepository("LiteralUnlimitedNatural1", DelegationConnectors_P_PWP_B_q_LiteralUnlimitedNatural1); + AddToElementRepository("R", DelegationConnectors_P_PWP_R); + AddToElementRepository("x", DelegationConnectors_P_PWP_R_x); + AddToElementRepository("LiteralInteger2", DelegationConnectors_P_PWP_R_x_LiteralInteger2); + AddToElementRepository("LiteralUnlimitedNatural3", DelegationConnectors_P_PWP_R_x_LiteralUnlimitedNatural3); + AddToElementRepository("y", DelegationConnectors_P_PWP_R_y); + AddToElementRepository("LiteralUnlimitedNatural4", DelegationConnectors_P_PWP_R_y_LiteralUnlimitedNatural4); + AddToElementRepository("LiteralInteger5", DelegationConnectors_P_PWP_R_y_LiteralInteger5); + AddToElementRepository("I", DelegationConnectors_P_PWP_I); + AddToElementRepository("assert_A_Array_Pattern", DelegationConnectors_P_PWP_assert_A_Array_Pattern); + AddToElementRepository("a_Array_Pattern", DelegationConnectors_P_PWP_assert_A_Array_Pattern_a_Array_Pattern); + AddToElementRepository("ObjectFlow6", DelegationConnectors_P_PWP_assert_A_Array_Pattern_ObjectFlow6); + AddToElementRepository("LiteralInteger7", DelegationConnectors_P_PWP_assert_A_Array_Pattern_ObjectFlow6_LiteralInteger7); + AddToElementRepository("LiteralBoolean8", DelegationConnectors_P_PWP_assert_A_Array_Pattern_ObjectFlow6_LiteralBoolean8); + AddToElementRepository("writeLine", DelegationConnectors_P_PWP_assert_A_Array_Pattern_writeLine); + AddToElementRepository("value", DelegationConnectors_P_PWP_assert_A_Array_Pattern_writeLine_value); + AddToElementRepository("LiteralInteger9", DelegationConnectors_P_PWP_assert_A_Array_Pattern_writeLine_value_LiteralInteger9); + AddToElementRepository("LiteralInteger10", DelegationConnectors_P_PWP_assert_A_Array_Pattern_writeLine_value_LiteralInteger10); + AddToElementRepository("LiteralUnlimitedNatural11", DelegationConnectors_P_PWP_assert_A_Array_Pattern_writeLine_value_LiteralUnlimitedNatural11); + AddToElementRepository("errorStatus", DelegationConnectors_P_PWP_assert_A_Array_Pattern_writeLine_errorStatus); + AddToElementRepository("LiteralInteger12", DelegationConnectors_P_PWP_assert_A_Array_Pattern_writeLine_errorStatus_LiteralInteger12); + AddToElementRepository("LiteralInteger13", DelegationConnectors_P_PWP_assert_A_Array_Pattern_writeLine_errorStatus_LiteralInteger13); + AddToElementRepository("LiteralUnlimitedNatural14", DelegationConnectors_P_PWP_assert_A_Array_Pattern_writeLine_errorStatus_LiteralUnlimitedNatural14); + AddToElementRepository("a_Array_Pattern_node", DelegationConnectors_P_PWP_assert_A_Array_Pattern_a_Array_Pattern_node); + AddToElementRepository("LiteralInteger15", DelegationConnectors_P_PWP_assert_A_Array_Pattern_a_Array_Pattern_node_LiteralInteger15); + AddToElementRepository("message", DelegationConnectors_P_PWP_assert_A_Array_Pattern_message); + AddToElementRepository("LiteralString16", DelegationConnectors_P_PWP_assert_A_Array_Pattern_message_LiteralString16); + AddToElementRepository("result", DelegationConnectors_P_PWP_assert_A_Array_Pattern_message_result); + AddToElementRepository("LiteralInteger17", DelegationConnectors_P_PWP_assert_A_Array_Pattern_message_result_LiteralInteger17); + AddToElementRepository("LiteralUnlimitedNatural18", DelegationConnectors_P_PWP_assert_A_Array_Pattern_message_result_LiteralUnlimitedNatural18); + AddToElementRepository("A_Star_Pattern", DelegationConnectors_P_PWP_A_Star_Pattern); + AddToElementRepository("b", DelegationConnectors_P_PWP_A_Star_Pattern_b); + AddToElementRepository("LiteralInteger19", DelegationConnectors_P_PWP_A_Star_Pattern_b_LiteralInteger19); + AddToElementRepository("LiteralUnlimitedNatural20", DelegationConnectors_P_PWP_A_Star_Pattern_b_LiteralUnlimitedNatural20); + AddToElementRepository("p", DelegationConnectors_P_PWP_A_Star_Pattern_p); + AddToElementRepository("LiteralInteger21", DelegationConnectors_P_PWP_A_Star_Pattern_p_LiteralInteger21); + AddToElementRepository("LiteralUnlimitedNatural22", DelegationConnectors_P_PWP_A_Star_Pattern_p_LiteralUnlimitedNatural22); + AddToElementRepository("r", DelegationConnectors_P_PWP_A_Star_Pattern_r); + AddToElementRepository("ConnectorEnd23", DelegationConnectors_P_PWP_A_Star_Pattern_r_ConnectorEnd23); + AddToElementRepository("LiteralInteger24", DelegationConnectors_P_PWP_A_Star_Pattern_r_ConnectorEnd23_LiteralInteger24); + AddToElementRepository("LiteralUnlimitedNatural25", DelegationConnectors_P_PWP_A_Star_Pattern_r_ConnectorEnd23_LiteralUnlimitedNatural25); + AddToElementRepository("ConnectorEnd26", DelegationConnectors_P_PWP_A_Star_Pattern_r_ConnectorEnd26); + AddToElementRepository("LiteralUnlimitedNatural27", DelegationConnectors_P_PWP_A_Star_Pattern_r_ConnectorEnd26_LiteralUnlimitedNatural27); + AddToElementRepository("LiteralInteger28", DelegationConnectors_P_PWP_A_Star_Pattern_r_ConnectorEnd26_LiteralInteger28); + AddToElementRepository("Comment29", DelegationConnectors_P_PWP_A_Star_Pattern_Comment29); + AddToElementRepository("A_Star_Pattern_A_Star_Pattern", DelegationConnectors_P_PWP_A_Star_Pattern_A_Star_Pattern_A_Star_Pattern); + AddToElementRepository("result", DelegationConnectors_P_PWP_A_Star_Pattern_A_Star_Pattern_A_Star_Pattern_result); + AddToElementRepository("IImpl", DelegationConnectors_P_PWP_IImpl); + AddToElementRepository("I_Realization", DelegationConnectors_P_PWP_IImpl_I_Realization); + AddToElementRepository("instantiate_A_Unconnected_Pattern", DelegationConnectors_P_PWP_instantiate_A_Unconnected_Pattern); + AddToElementRepository("a_Unconnected_Pattern", DelegationConnectors_P_PWP_instantiate_A_Unconnected_Pattern_a_Unconnected_Pattern); + AddToElementRepository("Create A_Unconnected_Pattern", DelegationConnectors_P_PWP_instantiate_A_Unconnected_Pattern_Create_A_Unconnected_Pattern); + AddToElementRepository("result", DelegationConnectors_P_PWP_instantiate_A_Unconnected_Pattern_Create_A_Unconnected_Pattern_result); + AddToElementRepository("LiteralInteger30", DelegationConnectors_P_PWP_instantiate_A_Unconnected_Pattern_Create_A_Unconnected_Pattern_result_LiteralInteger30); + AddToElementRepository("LiteralUnlimitedNatural31", DelegationConnectors_P_PWP_instantiate_A_Unconnected_Pattern_Create_A_Unconnected_Pattern_result_LiteralUnlimitedNatural31); + AddToElementRepository("ObjectFlow32", DelegationConnectors_P_PWP_instantiate_A_Unconnected_Pattern_ObjectFlow32); + AddToElementRepository("LiteralBoolean33", DelegationConnectors_P_PWP_instantiate_A_Unconnected_Pattern_ObjectFlow32_LiteralBoolean33); + AddToElementRepository("LiteralInteger34", DelegationConnectors_P_PWP_instantiate_A_Unconnected_Pattern_ObjectFlow32_LiteralInteger34); + AddToElementRepository("a_Unconnected_Pattern_node", DelegationConnectors_P_PWP_instantiate_A_Unconnected_Pattern_a_Unconnected_Pattern_node); + AddToElementRepository("ObjectFlow35", DelegationConnectors_P_PWP_instantiate_A_Unconnected_Pattern_ObjectFlow35); + AddToElementRepository("LiteralInteger36", DelegationConnectors_P_PWP_instantiate_A_Unconnected_Pattern_ObjectFlow35_LiteralInteger36); + AddToElementRepository("LiteralBoolean37", DelegationConnectors_P_PWP_instantiate_A_Unconnected_Pattern_ObjectFlow35_LiteralBoolean37); + AddToElementRepository("A_Unconnected_Pattern()", DelegationConnectors_P_PWP_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern_); + AddToElementRepository("result", DelegationConnectors_P_PWP_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern__result); + AddToElementRepository("LiteralUnlimitedNatural38", DelegationConnectors_P_PWP_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern__result_LiteralUnlimitedNatural38); + AddToElementRepository("LiteralInteger39", DelegationConnectors_P_PWP_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern__result_LiteralInteger39); + AddToElementRepository("LiteralInteger40", DelegationConnectors_P_PWP_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern__result_LiteralInteger40); + AddToElementRepository("target", DelegationConnectors_P_PWP_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern__target); + AddToElementRepository("LiteralInteger41", DelegationConnectors_P_PWP_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern__target_LiteralInteger41); + AddToElementRepository("LiteralUnlimitedNatural42", DelegationConnectors_P_PWP_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern__target_LiteralUnlimitedNatural42); + AddToElementRepository("instantiate_A_Empty_Pattern", DelegationConnectors_P_PWP_instantiate_A_Empty_Pattern); + AddToElementRepository("ObjectFlow43", DelegationConnectors_P_PWP_instantiate_A_Empty_Pattern_ObjectFlow43); + AddToElementRepository("LiteralInteger44", DelegationConnectors_P_PWP_instantiate_A_Empty_Pattern_ObjectFlow43_LiteralInteger44); + AddToElementRepository("LiteralBoolean45", DelegationConnectors_P_PWP_instantiate_A_Empty_Pattern_ObjectFlow43_LiteralBoolean45); + AddToElementRepository("ObjectFlow46", DelegationConnectors_P_PWP_instantiate_A_Empty_Pattern_ObjectFlow46); + AddToElementRepository("LiteralInteger47", DelegationConnectors_P_PWP_instantiate_A_Empty_Pattern_ObjectFlow46_LiteralInteger47); + AddToElementRepository("LiteralBoolean48", DelegationConnectors_P_PWP_instantiate_A_Empty_Pattern_ObjectFlow46_LiteralBoolean48); + AddToElementRepository("Create A_Empty_Pattern", DelegationConnectors_P_PWP_instantiate_A_Empty_Pattern_Create_A_Empty_Pattern); + AddToElementRepository("result", DelegationConnectors_P_PWP_instantiate_A_Empty_Pattern_Create_A_Empty_Pattern_result); + AddToElementRepository("LiteralInteger49", DelegationConnectors_P_PWP_instantiate_A_Empty_Pattern_Create_A_Empty_Pattern_result_LiteralInteger49); + AddToElementRepository("LiteralUnlimitedNatural50", DelegationConnectors_P_PWP_instantiate_A_Empty_Pattern_Create_A_Empty_Pattern_result_LiteralUnlimitedNatural50); + AddToElementRepository("A_Empty_Pattern()", DelegationConnectors_P_PWP_instantiate_A_Empty_Pattern_A_Empty_Pattern_); + AddToElementRepository("target", DelegationConnectors_P_PWP_instantiate_A_Empty_Pattern_A_Empty_Pattern__target); + AddToElementRepository("LiteralUnlimitedNatural51", DelegationConnectors_P_PWP_instantiate_A_Empty_Pattern_A_Empty_Pattern__target_LiteralUnlimitedNatural51); + AddToElementRepository("LiteralInteger52", DelegationConnectors_P_PWP_instantiate_A_Empty_Pattern_A_Empty_Pattern__target_LiteralInteger52); + AddToElementRepository("result", DelegationConnectors_P_PWP_instantiate_A_Empty_Pattern_A_Empty_Pattern__result); + AddToElementRepository("LiteralInteger53", DelegationConnectors_P_PWP_instantiate_A_Empty_Pattern_A_Empty_Pattern__result_LiteralInteger53); + AddToElementRepository("LiteralUnlimitedNatural54", DelegationConnectors_P_PWP_instantiate_A_Empty_Pattern_A_Empty_Pattern__result_LiteralUnlimitedNatural54); + AddToElementRepository("LiteralInteger55", DelegationConnectors_P_PWP_instantiate_A_Empty_Pattern_A_Empty_Pattern__result_LiteralInteger55); + AddToElementRepository("a_Empty_Pattern_node", DelegationConnectors_P_PWP_instantiate_A_Empty_Pattern_a_Empty_Pattern_node); + AddToElementRepository("a_Empty_Pattern", DelegationConnectors_P_PWP_instantiate_A_Empty_Pattern_a_Empty_Pattern); + AddToElementRepository("instantiate_A_Array_Pattern", DelegationConnectors_P_PWP_instantiate_A_Array_Pattern); + AddToElementRepository("ObjectFlow56", DelegationConnectors_P_PWP_instantiate_A_Array_Pattern_ObjectFlow56); + AddToElementRepository("LiteralBoolean57", DelegationConnectors_P_PWP_instantiate_A_Array_Pattern_ObjectFlow56_LiteralBoolean57); + AddToElementRepository("LiteralInteger58", DelegationConnectors_P_PWP_instantiate_A_Array_Pattern_ObjectFlow56_LiteralInteger58); + AddToElementRepository("a_Array_Pattern_node", DelegationConnectors_P_PWP_instantiate_A_Array_Pattern_a_Array_Pattern_node); + AddToElementRepository("LiteralInteger59", DelegationConnectors_P_PWP_instantiate_A_Array_Pattern_a_Array_Pattern_node_LiteralInteger59); + AddToElementRepository("Create A_Array_Pattern", DelegationConnectors_P_PWP_instantiate_A_Array_Pattern_Create_A_Array_Pattern); + AddToElementRepository("result", DelegationConnectors_P_PWP_instantiate_A_Array_Pattern_Create_A_Array_Pattern_result); + AddToElementRepository("LiteralUnlimitedNatural60", DelegationConnectors_P_PWP_instantiate_A_Array_Pattern_Create_A_Array_Pattern_result_LiteralUnlimitedNatural60); + AddToElementRepository("LiteralInteger61", DelegationConnectors_P_PWP_instantiate_A_Array_Pattern_Create_A_Array_Pattern_result_LiteralInteger61); + AddToElementRepository("a_Array_Pattern", DelegationConnectors_P_PWP_instantiate_A_Array_Pattern_a_Array_Pattern); + AddToElementRepository("ObjectFlow62", DelegationConnectors_P_PWP_instantiate_A_Array_Pattern_ObjectFlow62); + AddToElementRepository("LiteralBoolean63", DelegationConnectors_P_PWP_instantiate_A_Array_Pattern_ObjectFlow62_LiteralBoolean63); + AddToElementRepository("LiteralInteger64", DelegationConnectors_P_PWP_instantiate_A_Array_Pattern_ObjectFlow62_LiteralInteger64); + AddToElementRepository("A_Array_Pattern()", DelegationConnectors_P_PWP_instantiate_A_Array_Pattern_A_Array_Pattern_); + AddToElementRepository("target", DelegationConnectors_P_PWP_instantiate_A_Array_Pattern_A_Array_Pattern__target); + AddToElementRepository("LiteralUnlimitedNatural65", DelegationConnectors_P_PWP_instantiate_A_Array_Pattern_A_Array_Pattern__target_LiteralUnlimitedNatural65); + AddToElementRepository("LiteralInteger66", DelegationConnectors_P_PWP_instantiate_A_Array_Pattern_A_Array_Pattern__target_LiteralInteger66); + AddToElementRepository("result", DelegationConnectors_P_PWP_instantiate_A_Array_Pattern_A_Array_Pattern__result); + AddToElementRepository("LiteralUnlimitedNatural67", DelegationConnectors_P_PWP_instantiate_A_Array_Pattern_A_Array_Pattern__result_LiteralUnlimitedNatural67); + AddToElementRepository("LiteralInteger68", DelegationConnectors_P_PWP_instantiate_A_Array_Pattern_A_Array_Pattern__result_LiteralInteger68); + AddToElementRepository("LiteralInteger69", DelegationConnectors_P_PWP_instantiate_A_Array_Pattern_A_Array_Pattern__result_LiteralInteger69); + AddToElementRepository("A_Array_Pattern", DelegationConnectors_P_PWP_A_Array_Pattern); + AddToElementRepository("Comment70", DelegationConnectors_P_PWP_A_Array_Pattern_Comment70); + AddToElementRepository("r", DelegationConnectors_P_PWP_A_Array_Pattern_r); + AddToElementRepository("ConnectorEnd71", DelegationConnectors_P_PWP_A_Array_Pattern_r_ConnectorEnd71); + AddToElementRepository("LiteralUnlimitedNatural72", DelegationConnectors_P_PWP_A_Array_Pattern_r_ConnectorEnd71_LiteralUnlimitedNatural72); + AddToElementRepository("ConnectorEnd73", DelegationConnectors_P_PWP_A_Array_Pattern_r_ConnectorEnd73); + AddToElementRepository("LiteralUnlimitedNatural74", DelegationConnectors_P_PWP_A_Array_Pattern_r_ConnectorEnd73_LiteralUnlimitedNatural74); + AddToElementRepository("b", DelegationConnectors_P_PWP_A_Array_Pattern_b); + AddToElementRepository("LiteralUnlimitedNatural75", DelegationConnectors_P_PWP_A_Array_Pattern_b_LiteralUnlimitedNatural75); + AddToElementRepository("LiteralInteger76", DelegationConnectors_P_PWP_A_Array_Pattern_b_LiteralInteger76); + AddToElementRepository("A_Array_Pattern_A_Array_Pattern", DelegationConnectors_P_PWP_A_Array_Pattern_A_Array_Pattern_A_Array_Pattern); + AddToElementRepository("result", DelegationConnectors_P_PWP_A_Array_Pattern_A_Array_Pattern_A_Array_Pattern_result); + AddToElementRepository("p", DelegationConnectors_P_PWP_A_Array_Pattern_p); + AddToElementRepository("LiteralInteger77", DelegationConnectors_P_PWP_A_Array_Pattern_p_LiteralInteger77); + AddToElementRepository("LiteralUnlimitedNatural78", DelegationConnectors_P_PWP_A_Array_Pattern_p_LiteralUnlimitedNatural78); + AddToElementRepository("assert_A_Empty_Pattern", DelegationConnectors_P_PWP_assert_A_Empty_Pattern); + AddToElementRepository("ObjectFlow79", DelegationConnectors_P_PWP_assert_A_Empty_Pattern_ObjectFlow79); + AddToElementRepository("LiteralInteger80", DelegationConnectors_P_PWP_assert_A_Empty_Pattern_ObjectFlow79_LiteralInteger80); + AddToElementRepository("LiteralBoolean81", DelegationConnectors_P_PWP_assert_A_Empty_Pattern_ObjectFlow79_LiteralBoolean81); + AddToElementRepository("writeLine", DelegationConnectors_P_PWP_assert_A_Empty_Pattern_writeLine); + AddToElementRepository("errorStatus", DelegationConnectors_P_PWP_assert_A_Empty_Pattern_writeLine_errorStatus); + AddToElementRepository("LiteralInteger82", DelegationConnectors_P_PWP_assert_A_Empty_Pattern_writeLine_errorStatus_LiteralInteger82); + AddToElementRepository("LiteralInteger83", DelegationConnectors_P_PWP_assert_A_Empty_Pattern_writeLine_errorStatus_LiteralInteger83); + AddToElementRepository("LiteralUnlimitedNatural84", DelegationConnectors_P_PWP_assert_A_Empty_Pattern_writeLine_errorStatus_LiteralUnlimitedNatural84); + AddToElementRepository("value", DelegationConnectors_P_PWP_assert_A_Empty_Pattern_writeLine_value); + AddToElementRepository("LiteralInteger85", DelegationConnectors_P_PWP_assert_A_Empty_Pattern_writeLine_value_LiteralInteger85); + AddToElementRepository("LiteralUnlimitedNatural86", DelegationConnectors_P_PWP_assert_A_Empty_Pattern_writeLine_value_LiteralUnlimitedNatural86); + AddToElementRepository("LiteralInteger87", DelegationConnectors_P_PWP_assert_A_Empty_Pattern_writeLine_value_LiteralInteger87); + AddToElementRepository("message", DelegationConnectors_P_PWP_assert_A_Empty_Pattern_message); + AddToElementRepository("result", DelegationConnectors_P_PWP_assert_A_Empty_Pattern_message_result); + AddToElementRepository("LiteralInteger88", DelegationConnectors_P_PWP_assert_A_Empty_Pattern_message_result_LiteralInteger88); + AddToElementRepository("LiteralUnlimitedNatural89", DelegationConnectors_P_PWP_assert_A_Empty_Pattern_message_result_LiteralUnlimitedNatural89); + AddToElementRepository("LiteralString90", DelegationConnectors_P_PWP_assert_A_Empty_Pattern_message_LiteralString90); + AddToElementRepository("a_Empty_Pattern_node", DelegationConnectors_P_PWP_assert_A_Empty_Pattern_a_Empty_Pattern_node); + AddToElementRepository("LiteralInteger91", DelegationConnectors_P_PWP_assert_A_Empty_Pattern_a_Empty_Pattern_node_LiteralInteger91); + AddToElementRepository("a_Empty_Pattern", DelegationConnectors_P_PWP_assert_A_Empty_Pattern_a_Empty_Pattern); + AddToElementRepository("main", DelegationConnectors_P_PWP_main); + AddToElementRepository("assert_A_Star_Pattern", DelegationConnectors_P_PWP_main_assert_A_Star_Pattern); + AddToElementRepository("a_Star_Pattern", DelegationConnectors_P_PWP_main_assert_A_Star_Pattern_a_Star_Pattern); + AddToElementRepository("LiteralUnlimitedNatural92", DelegationConnectors_P_PWP_main_assert_A_Star_Pattern_a_Star_Pattern_LiteralUnlimitedNatural92); + AddToElementRepository("LiteralInteger93", DelegationConnectors_P_PWP_main_assert_A_Star_Pattern_a_Star_Pattern_LiteralInteger93); + AddToElementRepository("LiteralInteger94", DelegationConnectors_P_PWP_main_assert_A_Star_Pattern_a_Star_Pattern_LiteralInteger94); + AddToElementRepository("instantiate_A_Empty_Pattern", DelegationConnectors_P_PWP_main_instantiate_A_Empty_Pattern); + AddToElementRepository("a_Empty_Pattern", DelegationConnectors_P_PWP_main_instantiate_A_Empty_Pattern_a_Empty_Pattern); + AddToElementRepository("LiteralInteger95", DelegationConnectors_P_PWP_main_instantiate_A_Empty_Pattern_a_Empty_Pattern_LiteralInteger95); + AddToElementRepository("LiteralInteger96", DelegationConnectors_P_PWP_main_instantiate_A_Empty_Pattern_a_Empty_Pattern_LiteralInteger96); + AddToElementRepository("LiteralUnlimitedNatural97", DelegationConnectors_P_PWP_main_instantiate_A_Empty_Pattern_a_Empty_Pattern_LiteralUnlimitedNatural97); + AddToElementRepository("instantiate_A_Array_Pattern", DelegationConnectors_P_PWP_main_instantiate_A_Array_Pattern); + AddToElementRepository("a_Array_Pattern", DelegationConnectors_P_PWP_main_instantiate_A_Array_Pattern_a_Array_Pattern); + AddToElementRepository("LiteralInteger98", DelegationConnectors_P_PWP_main_instantiate_A_Array_Pattern_a_Array_Pattern_LiteralInteger98); + AddToElementRepository("LiteralUnlimitedNatural99", DelegationConnectors_P_PWP_main_instantiate_A_Array_Pattern_a_Array_Pattern_LiteralUnlimitedNatural99); + AddToElementRepository("LiteralInteger100", DelegationConnectors_P_PWP_main_instantiate_A_Array_Pattern_a_Array_Pattern_LiteralInteger100); + AddToElementRepository("ObjectFlow101", DelegationConnectors_P_PWP_main_ObjectFlow101); + AddToElementRepository("LiteralBoolean102", DelegationConnectors_P_PWP_main_ObjectFlow101_LiteralBoolean102); + AddToElementRepository("LiteralInteger103", DelegationConnectors_P_PWP_main_ObjectFlow101_LiteralInteger103); + AddToElementRepository("ObjectFlow104", DelegationConnectors_P_PWP_main_ObjectFlow104); + AddToElementRepository("LiteralInteger105", DelegationConnectors_P_PWP_main_ObjectFlow104_LiteralInteger105); + AddToElementRepository("LiteralBoolean106", DelegationConnectors_P_PWP_main_ObjectFlow104_LiteralBoolean106); + AddToElementRepository("instantiate_A_Unconnected_Pattern", DelegationConnectors_P_PWP_main_instantiate_A_Unconnected_Pattern); + AddToElementRepository("a_Unconnected_Pattern", DelegationConnectors_P_PWP_main_instantiate_A_Unconnected_Pattern_a_Unconnected_Pattern); + AddToElementRepository("LiteralInteger107", DelegationConnectors_P_PWP_main_instantiate_A_Unconnected_Pattern_a_Unconnected_Pattern_LiteralInteger107); + AddToElementRepository("LiteralUnlimitedNatural108", DelegationConnectors_P_PWP_main_instantiate_A_Unconnected_Pattern_a_Unconnected_Pattern_LiteralUnlimitedNatural108); + AddToElementRepository("LiteralInteger109", DelegationConnectors_P_PWP_main_instantiate_A_Unconnected_Pattern_a_Unconnected_Pattern_LiteralInteger109); + AddToElementRepository("ObjectFlow110", DelegationConnectors_P_PWP_main_ObjectFlow110); + AddToElementRepository("LiteralBoolean111", DelegationConnectors_P_PWP_main_ObjectFlow110_LiteralBoolean111); + AddToElementRepository("LiteralInteger112", DelegationConnectors_P_PWP_main_ObjectFlow110_LiteralInteger112); + AddToElementRepository("assert_A_Unconnected_Pattern", DelegationConnectors_P_PWP_main_assert_A_Unconnected_Pattern); + AddToElementRepository("a_Unconnected_Pattern", DelegationConnectors_P_PWP_main_assert_A_Unconnected_Pattern_a_Unconnected_Pattern); + AddToElementRepository("LiteralInteger113", DelegationConnectors_P_PWP_main_assert_A_Unconnected_Pattern_a_Unconnected_Pattern_LiteralInteger113); + AddToElementRepository("LiteralUnlimitedNatural114", DelegationConnectors_P_PWP_main_assert_A_Unconnected_Pattern_a_Unconnected_Pattern_LiteralUnlimitedNatural114); + AddToElementRepository("LiteralInteger115", DelegationConnectors_P_PWP_main_assert_A_Unconnected_Pattern_a_Unconnected_Pattern_LiteralInteger115); + AddToElementRepository("ObjectFlow116", DelegationConnectors_P_PWP_main_ObjectFlow116); + AddToElementRepository("LiteralBoolean117", DelegationConnectors_P_PWP_main_ObjectFlow116_LiteralBoolean117); + AddToElementRepository("LiteralInteger118", DelegationConnectors_P_PWP_main_ObjectFlow116_LiteralInteger118); + AddToElementRepository("assert_A_Array_Pattern", DelegationConnectors_P_PWP_main_assert_A_Array_Pattern); + AddToElementRepository("a_Array_Pattern", DelegationConnectors_P_PWP_main_assert_A_Array_Pattern_a_Array_Pattern); + AddToElementRepository("LiteralUnlimitedNatural119", DelegationConnectors_P_PWP_main_assert_A_Array_Pattern_a_Array_Pattern_LiteralUnlimitedNatural119); + AddToElementRepository("LiteralInteger120", DelegationConnectors_P_PWP_main_assert_A_Array_Pattern_a_Array_Pattern_LiteralInteger120); + AddToElementRepository("LiteralInteger121", DelegationConnectors_P_PWP_main_assert_A_Array_Pattern_a_Array_Pattern_LiteralInteger121); + AddToElementRepository("assert_A_Empty_Pattern", DelegationConnectors_P_PWP_main_assert_A_Empty_Pattern); + AddToElementRepository("a_Empty_Pattern", DelegationConnectors_P_PWP_main_assert_A_Empty_Pattern_a_Empty_Pattern); + AddToElementRepository("LiteralUnlimitedNatural122", DelegationConnectors_P_PWP_main_assert_A_Empty_Pattern_a_Empty_Pattern_LiteralUnlimitedNatural122); + AddToElementRepository("LiteralInteger123", DelegationConnectors_P_PWP_main_assert_A_Empty_Pattern_a_Empty_Pattern_LiteralInteger123); + AddToElementRepository("LiteralInteger124", DelegationConnectors_P_PWP_main_assert_A_Empty_Pattern_a_Empty_Pattern_LiteralInteger124); + AddToElementRepository("instantiate_A_Star_Pattern", DelegationConnectors_P_PWP_main_instantiate_A_Star_Pattern); + AddToElementRepository("a_Star_Pattern", DelegationConnectors_P_PWP_main_instantiate_A_Star_Pattern_a_Star_Pattern); + AddToElementRepository("LiteralInteger125", DelegationConnectors_P_PWP_main_instantiate_A_Star_Pattern_a_Star_Pattern_LiteralInteger125); + AddToElementRepository("LiteralUnlimitedNatural126", DelegationConnectors_P_PWP_main_instantiate_A_Star_Pattern_a_Star_Pattern_LiteralUnlimitedNatural126); + AddToElementRepository("LiteralInteger127", DelegationConnectors_P_PWP_main_instantiate_A_Star_Pattern_a_Star_Pattern_LiteralInteger127); + AddToElementRepository("ControlFlow128", DelegationConnectors_P_PWP_main_ControlFlow128); + AddToElementRepository("ControlFlow129", DelegationConnectors_P_PWP_main_ControlFlow129); + AddToElementRepository("ControlFlow130", DelegationConnectors_P_PWP_main_ControlFlow130); + AddToElementRepository("A_Unconnected_Pattern", DelegationConnectors_P_PWP_A_Unconnected_Pattern); + AddToElementRepository("p", DelegationConnectors_P_PWP_A_Unconnected_Pattern_p); + AddToElementRepository("LiteralInteger131", DelegationConnectors_P_PWP_A_Unconnected_Pattern_p_LiteralInteger131); + AddToElementRepository("LiteralUnlimitedNatural132", DelegationConnectors_P_PWP_A_Unconnected_Pattern_p_LiteralUnlimitedNatural132); + AddToElementRepository("A_Unconnected_Pattern_A_Unconnected_Pattern", DelegationConnectors_P_PWP_A_Unconnected_Pattern_A_Unconnected_Pattern_A_Unconnected_Pattern); + AddToElementRepository("result", DelegationConnectors_P_PWP_A_Unconnected_Pattern_A_Unconnected_Pattern_A_Unconnected_Pattern_result); + AddToElementRepository("b", DelegationConnectors_P_PWP_A_Unconnected_Pattern_b); + AddToElementRepository("LiteralInteger133", DelegationConnectors_P_PWP_A_Unconnected_Pattern_b_LiteralInteger133); + AddToElementRepository("LiteralUnlimitedNatural134", DelegationConnectors_P_PWP_A_Unconnected_Pattern_b_LiteralUnlimitedNatural134); + AddToElementRepository("r", DelegationConnectors_P_PWP_A_Unconnected_Pattern_r); + AddToElementRepository("ConnectorEnd135", DelegationConnectors_P_PWP_A_Unconnected_Pattern_r_ConnectorEnd135); + AddToElementRepository("LiteralInteger136", DelegationConnectors_P_PWP_A_Unconnected_Pattern_r_ConnectorEnd135_LiteralInteger136); + AddToElementRepository("LiteralUnlimitedNatural137", DelegationConnectors_P_PWP_A_Unconnected_Pattern_r_ConnectorEnd135_LiteralUnlimitedNatural137); + AddToElementRepository("ConnectorEnd138", DelegationConnectors_P_PWP_A_Unconnected_Pattern_r_ConnectorEnd138); + AddToElementRepository("LiteralUnlimitedNatural139", DelegationConnectors_P_PWP_A_Unconnected_Pattern_r_ConnectorEnd138_LiteralUnlimitedNatural139); + AddToElementRepository("LiteralInteger140", DelegationConnectors_P_PWP_A_Unconnected_Pattern_r_ConnectorEnd138_LiteralInteger140); + AddToElementRepository("Comment141", DelegationConnectors_P_PWP_A_Unconnected_Pattern_Comment141); + AddToElementRepository("instantiate_A_Star_Pattern", DelegationConnectors_P_PWP_instantiate_A_Star_Pattern); + AddToElementRepository("a_Star_Pattern", DelegationConnectors_P_PWP_instantiate_A_Star_Pattern_a_Star_Pattern); + AddToElementRepository("A_Star_Pattern()", DelegationConnectors_P_PWP_instantiate_A_Star_Pattern_A_Star_Pattern_); + AddToElementRepository("result", DelegationConnectors_P_PWP_instantiate_A_Star_Pattern_A_Star_Pattern__result); + AddToElementRepository("LiteralInteger142", DelegationConnectors_P_PWP_instantiate_A_Star_Pattern_A_Star_Pattern__result_LiteralInteger142); + AddToElementRepository("LiteralUnlimitedNatural143", DelegationConnectors_P_PWP_instantiate_A_Star_Pattern_A_Star_Pattern__result_LiteralUnlimitedNatural143); + AddToElementRepository("LiteralInteger144", DelegationConnectors_P_PWP_instantiate_A_Star_Pattern_A_Star_Pattern__result_LiteralInteger144); + AddToElementRepository("target", DelegationConnectors_P_PWP_instantiate_A_Star_Pattern_A_Star_Pattern__target); + AddToElementRepository("LiteralUnlimitedNatural145", DelegationConnectors_P_PWP_instantiate_A_Star_Pattern_A_Star_Pattern__target_LiteralUnlimitedNatural145); + AddToElementRepository("LiteralInteger146", DelegationConnectors_P_PWP_instantiate_A_Star_Pattern_A_Star_Pattern__target_LiteralInteger146); + AddToElementRepository("ObjectFlow147", DelegationConnectors_P_PWP_instantiate_A_Star_Pattern_ObjectFlow147); + AddToElementRepository("LiteralBoolean148", DelegationConnectors_P_PWP_instantiate_A_Star_Pattern_ObjectFlow147_LiteralBoolean148); + AddToElementRepository("LiteralInteger149", DelegationConnectors_P_PWP_instantiate_A_Star_Pattern_ObjectFlow147_LiteralInteger149); + AddToElementRepository("Create A_Star_Pattern", DelegationConnectors_P_PWP_instantiate_A_Star_Pattern_Create_A_Star_Pattern); + AddToElementRepository("result", DelegationConnectors_P_PWP_instantiate_A_Star_Pattern_Create_A_Star_Pattern_result); + AddToElementRepository("LiteralInteger150", DelegationConnectors_P_PWP_instantiate_A_Star_Pattern_Create_A_Star_Pattern_result_LiteralInteger150); + AddToElementRepository("LiteralUnlimitedNatural151", DelegationConnectors_P_PWP_instantiate_A_Star_Pattern_Create_A_Star_Pattern_result_LiteralUnlimitedNatural151); + AddToElementRepository("ObjectFlow152", DelegationConnectors_P_PWP_instantiate_A_Star_Pattern_ObjectFlow152); + AddToElementRepository("LiteralInteger153", DelegationConnectors_P_PWP_instantiate_A_Star_Pattern_ObjectFlow152_LiteralInteger153); + AddToElementRepository("LiteralBoolean154", DelegationConnectors_P_PWP_instantiate_A_Star_Pattern_ObjectFlow152_LiteralBoolean154); + AddToElementRepository("a_Star_Pattern_node", DelegationConnectors_P_PWP_instantiate_A_Star_Pattern_a_Star_Pattern_node); + AddToElementRepository("assert_A_Unconnected_Pattern", DelegationConnectors_P_PWP_assert_A_Unconnected_Pattern); + AddToElementRepository("message", DelegationConnectors_P_PWP_assert_A_Unconnected_Pattern_message); + AddToElementRepository("LiteralString155", DelegationConnectors_P_PWP_assert_A_Unconnected_Pattern_message_LiteralString155); + AddToElementRepository("result", DelegationConnectors_P_PWP_assert_A_Unconnected_Pattern_message_result); + AddToElementRepository("LiteralInteger156", DelegationConnectors_P_PWP_assert_A_Unconnected_Pattern_message_result_LiteralInteger156); + AddToElementRepository("LiteralUnlimitedNatural157", DelegationConnectors_P_PWP_assert_A_Unconnected_Pattern_message_result_LiteralUnlimitedNatural157); + AddToElementRepository("a_Unconnected_Pattern", DelegationConnectors_P_PWP_assert_A_Unconnected_Pattern_a_Unconnected_Pattern); + AddToElementRepository("ObjectFlow158", DelegationConnectors_P_PWP_assert_A_Unconnected_Pattern_ObjectFlow158); + AddToElementRepository("LiteralBoolean159", DelegationConnectors_P_PWP_assert_A_Unconnected_Pattern_ObjectFlow158_LiteralBoolean159); + AddToElementRepository("LiteralInteger160", DelegationConnectors_P_PWP_assert_A_Unconnected_Pattern_ObjectFlow158_LiteralInteger160); + AddToElementRepository("writeLine", DelegationConnectors_P_PWP_assert_A_Unconnected_Pattern_writeLine); + AddToElementRepository("errorStatus", DelegationConnectors_P_PWP_assert_A_Unconnected_Pattern_writeLine_errorStatus); + AddToElementRepository("LiteralInteger161", DelegationConnectors_P_PWP_assert_A_Unconnected_Pattern_writeLine_errorStatus_LiteralInteger161); + AddToElementRepository("LiteralUnlimitedNatural162", DelegationConnectors_P_PWP_assert_A_Unconnected_Pattern_writeLine_errorStatus_LiteralUnlimitedNatural162); + AddToElementRepository("LiteralInteger163", DelegationConnectors_P_PWP_assert_A_Unconnected_Pattern_writeLine_errorStatus_LiteralInteger163); + AddToElementRepository("value", DelegationConnectors_P_PWP_assert_A_Unconnected_Pattern_writeLine_value); + AddToElementRepository("LiteralInteger164", DelegationConnectors_P_PWP_assert_A_Unconnected_Pattern_writeLine_value_LiteralInteger164); + AddToElementRepository("LiteralUnlimitedNatural165", DelegationConnectors_P_PWP_assert_A_Unconnected_Pattern_writeLine_value_LiteralUnlimitedNatural165); + AddToElementRepository("LiteralInteger166", DelegationConnectors_P_PWP_assert_A_Unconnected_Pattern_writeLine_value_LiteralInteger166); + AddToElementRepository("a_Unconnected_Pattern_node", DelegationConnectors_P_PWP_assert_A_Unconnected_Pattern_a_Unconnected_Pattern_node); + AddToElementRepository("LiteralInteger167", DelegationConnectors_P_PWP_assert_A_Unconnected_Pattern_a_Unconnected_Pattern_node_LiteralInteger167); + AddToElementRepository("A_Empty_Pattern", DelegationConnectors_P_PWP_A_Empty_Pattern); + AddToElementRepository("b", DelegationConnectors_P_PWP_A_Empty_Pattern_b); + AddToElementRepository("LiteralInteger168", DelegationConnectors_P_PWP_A_Empty_Pattern_b_LiteralInteger168); + AddToElementRepository("LiteralUnlimitedNatural169", DelegationConnectors_P_PWP_A_Empty_Pattern_b_LiteralUnlimitedNatural169); + AddToElementRepository("A_Empty_Pattern_A_Empty_Pattern", DelegationConnectors_P_PWP_A_Empty_Pattern_A_Empty_Pattern_A_Empty_Pattern); + AddToElementRepository("result", DelegationConnectors_P_PWP_A_Empty_Pattern_A_Empty_Pattern_A_Empty_Pattern_result); + AddToElementRepository("Comment170", DelegationConnectors_P_PWP_A_Empty_Pattern_Comment170); + AddToElementRepository("p", DelegationConnectors_P_PWP_A_Empty_Pattern_p); + AddToElementRepository("LiteralInteger171", DelegationConnectors_P_PWP_A_Empty_Pattern_p_LiteralInteger171); + AddToElementRepository("LiteralUnlimitedNatural172", DelegationConnectors_P_PWP_A_Empty_Pattern_p_LiteralUnlimitedNatural172); + AddToElementRepository("r", DelegationConnectors_P_PWP_A_Empty_Pattern_r); + AddToElementRepository("ConnectorEnd173", DelegationConnectors_P_PWP_A_Empty_Pattern_r_ConnectorEnd173); + AddToElementRepository("LiteralUnlimitedNatural174", DelegationConnectors_P_PWP_A_Empty_Pattern_r_ConnectorEnd173_LiteralUnlimitedNatural174); + AddToElementRepository("ConnectorEnd175", DelegationConnectors_P_PWP_A_Empty_Pattern_r_ConnectorEnd175); + AddToElementRepository("LiteralUnlimitedNatural176", DelegationConnectors_P_PWP_A_Empty_Pattern_r_ConnectorEnd175_LiteralUnlimitedNatural176); + AddToElementRepository("assert_A_Star_Pattern", DelegationConnectors_P_PWP_assert_A_Star_Pattern); + AddToElementRepository("a_Star_Pattern_node", DelegationConnectors_P_PWP_assert_A_Star_Pattern_a_Star_Pattern_node); + AddToElementRepository("LiteralInteger177", DelegationConnectors_P_PWP_assert_A_Star_Pattern_a_Star_Pattern_node_LiteralInteger177); + AddToElementRepository("message", DelegationConnectors_P_PWP_assert_A_Star_Pattern_message); + AddToElementRepository("LiteralString178", DelegationConnectors_P_PWP_assert_A_Star_Pattern_message_LiteralString178); + AddToElementRepository("result", DelegationConnectors_P_PWP_assert_A_Star_Pattern_message_result); + AddToElementRepository("LiteralUnlimitedNatural179", DelegationConnectors_P_PWP_assert_A_Star_Pattern_message_result_LiteralUnlimitedNatural179); + AddToElementRepository("LiteralInteger180", DelegationConnectors_P_PWP_assert_A_Star_Pattern_message_result_LiteralInteger180); + AddToElementRepository("a_Star_Pattern", DelegationConnectors_P_PWP_assert_A_Star_Pattern_a_Star_Pattern); + AddToElementRepository("writeLine", DelegationConnectors_P_PWP_assert_A_Star_Pattern_writeLine); + AddToElementRepository("value", DelegationConnectors_P_PWP_assert_A_Star_Pattern_writeLine_value); + AddToElementRepository("LiteralInteger181", DelegationConnectors_P_PWP_assert_A_Star_Pattern_writeLine_value_LiteralInteger181); + AddToElementRepository("LiteralUnlimitedNatural182", DelegationConnectors_P_PWP_assert_A_Star_Pattern_writeLine_value_LiteralUnlimitedNatural182); + AddToElementRepository("LiteralInteger183", DelegationConnectors_P_PWP_assert_A_Star_Pattern_writeLine_value_LiteralInteger183); + AddToElementRepository("errorStatus", DelegationConnectors_P_PWP_assert_A_Star_Pattern_writeLine_errorStatus); + AddToElementRepository("LiteralUnlimitedNatural184", DelegationConnectors_P_PWP_assert_A_Star_Pattern_writeLine_errorStatus_LiteralUnlimitedNatural184); + AddToElementRepository("LiteralInteger185", DelegationConnectors_P_PWP_assert_A_Star_Pattern_writeLine_errorStatus_LiteralInteger185); + AddToElementRepository("LiteralInteger186", DelegationConnectors_P_PWP_assert_A_Star_Pattern_writeLine_errorStatus_LiteralInteger186); + AddToElementRepository("ObjectFlow187", DelegationConnectors_P_PWP_assert_A_Star_Pattern_ObjectFlow187); + AddToElementRepository("LiteralInteger188", DelegationConnectors_P_PWP_assert_A_Star_Pattern_ObjectFlow187_LiteralInteger188); + AddToElementRepository("LiteralBoolean189", DelegationConnectors_P_PWP_assert_A_Star_Pattern_ObjectFlow187_LiteralBoolean189); + + // Initialize public members + /* + * Model DelegationConnectors_P_PWP + */ + DelegationConnectors_P_PWP.SetName("DelegationConnectors_P_PWP"); + DelegationConnectors_P_PWP.SetVisibility(VisibilityKind.public_); + // Class B + DelegationConnectors_P_PWP_B.SetName("B"); + DelegationConnectors_P_PWP_B.SetVisibility(VisibilityKind.public_); + + // Port q + DelegationConnectors_P_PWP_B_q.SetName("q"); + DelegationConnectors_P_PWP_B_q.SetVisibility(VisibilityKind.public_); + DelegationConnectors_P_PWP_B_q.SetUpper(-1); + DelegationConnectors_P_PWP_B_q.SetLower(2); + DelegationConnectors_P_PWP_B_q.SetType(DelegationConnectors_P_PWP_IImpl); + DelegationConnectors_P_PWP_B_q.SetAggregation(AggregationKind.composite); + DelegationConnectors_P_PWP_B_q.isService = true; + DelegationConnectors_P_PWP_B_q.AddProvided(DelegationConnectors_P_PWP_I); + DelegationConnectors_P_PWP_B.AddOwnedAttribute(DelegationConnectors_P_PWP_B_q); + DelegationConnectors_P_PWP.AddPackagedElement(DelegationConnectors_P_PWP_B); + // Association R + DelegationConnectors_P_PWP_R.SetName("R"); + DelegationConnectors_P_PWP_R.SetVisibility(VisibilityKind.public_); + DelegationConnectors_P_PWP_R.AddOwnedEnd(DelegationConnectors_P_PWP_R_x); + DelegationConnectors_P_PWP_R.AddOwnedEnd(DelegationConnectors_P_PWP_R_y); + DelegationConnectors_P_PWP.AddPackagedElement(DelegationConnectors_P_PWP_R); + // Interface I + DelegationConnectors_P_PWP_I.SetName("I"); + DelegationConnectors_P_PWP_I.SetVisibility(VisibilityKind.public_); + DelegationConnectors_P_PWP.AddPackagedElement(DelegationConnectors_P_PWP_I); + // Activity assert_A_Array_Pattern + DelegationConnectors_P_PWP_assert_A_Array_Pattern.SetName("assert_A_Array_Pattern"); + DelegationConnectors_P_PWP_assert_A_Array_Pattern.SetVisibility(VisibilityKind.public_); + + // Parameter a_Array_Pattern + DelegationConnectors_P_PWP_assert_A_Array_Pattern_a_Array_Pattern.SetName("a_Array_Pattern"); + DelegationConnectors_P_PWP_assert_A_Array_Pattern_a_Array_Pattern.SetVisibility(VisibilityKind.public_); + + DelegationConnectors_P_PWP_assert_A_Array_Pattern_a_Array_Pattern.SetType(DelegationConnectors_P_PWP_A_Array_Pattern); + DelegationConnectors_P_PWP_assert_A_Array_Pattern.AddOwnedParameter(DelegationConnectors_P_PWP_assert_A_Array_Pattern_a_Array_Pattern); + // CallBehaviorAction writeLine + DelegationConnectors_P_PWP_assert_A_Array_Pattern_writeLine.SetName("writeLine"); + DelegationConnectors_P_PWP_assert_A_Array_Pattern_writeLine.SetVisibility(VisibilityKind.public_); + + // OutputPin errorStatus + DelegationConnectors_P_PWP_assert_A_Array_Pattern_writeLine_errorStatus.SetName("errorStatus"); + DelegationConnectors_P_PWP_assert_A_Array_Pattern_writeLine_errorStatus.SetVisibility(VisibilityKind.public_); + + DelegationConnectors_P_PWP_assert_A_Array_Pattern_writeLine_errorStatus.SetLower(0); + DelegationConnectors_P_PWP_assert_A_Array_Pattern_writeLine.AddResult(DelegationConnectors_P_PWP_assert_A_Array_Pattern_writeLine_errorStatus); + DelegationConnectors_P_PWP_assert_A_Array_Pattern_writeLine.SetBehavior(FoundationalModelLibraryModel.Instance().FoundationalModelLibrary_BasicInputOutput_WriteLine); + // InputPin value + DelegationConnectors_P_PWP_assert_A_Array_Pattern_writeLine_value.SetName("value"); + DelegationConnectors_P_PWP_assert_A_Array_Pattern_writeLine_value.SetVisibility(VisibilityKind.public_); + DelegationConnectors_P_PWP_assert_A_Array_Pattern_writeLine_value.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_String); + DelegationConnectors_P_PWP_assert_A_Array_Pattern_writeLine.AddArgument(DelegationConnectors_P_PWP_assert_A_Array_Pattern_writeLine_value); + DelegationConnectors_P_PWP_assert_A_Array_Pattern.AddNode(DelegationConnectors_P_PWP_assert_A_Array_Pattern_writeLine); + // ActivityParameterNode a_Array_Pattern_node + DelegationConnectors_P_PWP_assert_A_Array_Pattern_a_Array_Pattern_node.SetName("a_Array_Pattern_node"); + DelegationConnectors_P_PWP_assert_A_Array_Pattern_a_Array_Pattern_node.SetVisibility(VisibilityKind.public_); + + DelegationConnectors_P_PWP_assert_A_Array_Pattern_a_Array_Pattern_node.SetParameter(DelegationConnectors_P_PWP_assert_A_Array_Pattern_a_Array_Pattern); + DelegationConnectors_P_PWP_assert_A_Array_Pattern.AddNode(DelegationConnectors_P_PWP_assert_A_Array_Pattern_a_Array_Pattern_node); + // ValueSpecificationAction message + DelegationConnectors_P_PWP_assert_A_Array_Pattern_message.SetName("message"); + DelegationConnectors_P_PWP_assert_A_Array_Pattern_message.SetVisibility(VisibilityKind.public_); + // LiteralString LiteralString16 + DelegationConnectors_P_PWP_assert_A_Array_Pattern_message_LiteralString16.SetName("LiteralString16"); + DelegationConnectors_P_PWP_assert_A_Array_Pattern_message_LiteralString16.SetVisibility(VisibilityKind.public_); + DelegationConnectors_P_PWP_assert_A_Array_Pattern_message_LiteralString16.SetValue("Assertion currently not implemented for A_Array_Pattern."); + DelegationConnectors_P_PWP_assert_A_Array_Pattern_message.SetValue(DelegationConnectors_P_PWP_assert_A_Array_Pattern_message_LiteralString16); + // OutputPin result + DelegationConnectors_P_PWP_assert_A_Array_Pattern_message_result.SetName("result"); + DelegationConnectors_P_PWP_assert_A_Array_Pattern_message_result.SetVisibility(VisibilityKind.public_); + DelegationConnectors_P_PWP_assert_A_Array_Pattern_message_result.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_String); + DelegationConnectors_P_PWP_assert_A_Array_Pattern_message.SetResult(DelegationConnectors_P_PWP_assert_A_Array_Pattern_message_result); + DelegationConnectors_P_PWP_assert_A_Array_Pattern.AddNode(DelegationConnectors_P_PWP_assert_A_Array_Pattern_message); + // ObjectFlow ObjectFlow6 from result to value + DelegationConnectors_P_PWP_assert_A_Array_Pattern_ObjectFlow6.SetName("ObjectFlow6"); + DelegationConnectors_P_PWP_assert_A_Array_Pattern_ObjectFlow6.SetVisibility(VisibilityKind.public_); + + DelegationConnectors_P_PWP_assert_A_Array_Pattern_ObjectFlow6.SetSource(DelegationConnectors_P_PWP_assert_A_Array_Pattern_message_result); + DelegationConnectors_P_PWP_assert_A_Array_Pattern_ObjectFlow6.SetTarget(DelegationConnectors_P_PWP_assert_A_Array_Pattern_writeLine_value); + // LiteralBoolean LiteralBoolean8 + DelegationConnectors_P_PWP_assert_A_Array_Pattern_ObjectFlow6_LiteralBoolean8.SetName("LiteralBoolean8"); + DelegationConnectors_P_PWP_assert_A_Array_Pattern_ObjectFlow6_LiteralBoolean8.SetVisibility(VisibilityKind.public_); + DelegationConnectors_P_PWP_assert_A_Array_Pattern_ObjectFlow6_LiteralBoolean8.SetValue(true); + DelegationConnectors_P_PWP_assert_A_Array_Pattern_ObjectFlow6.SetGuard(DelegationConnectors_P_PWP_assert_A_Array_Pattern_ObjectFlow6_LiteralBoolean8); + DelegationConnectors_P_PWP_assert_A_Array_Pattern.AddEdge(DelegationConnectors_P_PWP_assert_A_Array_Pattern_ObjectFlow6); + DelegationConnectors_P_PWP.AddPackagedElement(DelegationConnectors_P_PWP_assert_A_Array_Pattern); + // Class A_Star_Pattern + DelegationConnectors_P_PWP_A_Star_Pattern.SetName("A_Star_Pattern"); + DelegationConnectors_P_PWP_A_Star_Pattern.SetVisibility(VisibilityKind.public_); + + // Property b + DelegationConnectors_P_PWP_A_Star_Pattern_b.SetName("b"); + DelegationConnectors_P_PWP_A_Star_Pattern_b.SetVisibility(VisibilityKind.public_); + DelegationConnectors_P_PWP_A_Star_Pattern_b.SetUpper(-1); + DelegationConnectors_P_PWP_A_Star_Pattern_b.SetLower(2); + DelegationConnectors_P_PWP_A_Star_Pattern_b.SetType(DelegationConnectors_P_PWP_B); + DelegationConnectors_P_PWP_A_Star_Pattern_b.SetAggregation(AggregationKind.composite); + DelegationConnectors_P_PWP_A_Star_Pattern.AddOwnedAttribute(DelegationConnectors_P_PWP_A_Star_Pattern_b); + // Port p + DelegationConnectors_P_PWP_A_Star_Pattern_p.SetName("p"); + DelegationConnectors_P_PWP_A_Star_Pattern_p.SetVisibility(VisibilityKind.public_); + DelegationConnectors_P_PWP_A_Star_Pattern_p.SetUpper(-1); + DelegationConnectors_P_PWP_A_Star_Pattern_p.SetLower(3); + DelegationConnectors_P_PWP_A_Star_Pattern_p.SetType(DelegationConnectors_P_PWP_IImpl); + DelegationConnectors_P_PWP_A_Star_Pattern_p.SetAggregation(AggregationKind.composite); + DelegationConnectors_P_PWP_A_Star_Pattern_p.isService = true; + DelegationConnectors_P_PWP_A_Star_Pattern_p.AddProvided(DelegationConnectors_P_PWP_I); + DelegationConnectors_P_PWP_A_Star_Pattern.AddOwnedAttribute(DelegationConnectors_P_PWP_A_Star_Pattern_p); + + DelegationConnectors_P_PWP_A_Star_Pattern_r.SetName("r"); + DelegationConnectors_P_PWP_A_Star_Pattern_r.SetVisibility(VisibilityKind.public_); + DelegationConnectors_P_PWP_A_Star_Pattern_r_ConnectorEnd26.SetUpper(-1); + DelegationConnectors_P_PWP_A_Star_Pattern_r_ConnectorEnd26.SetLower(3); + DelegationConnectors_P_PWP_A_Star_Pattern_r_ConnectorEnd26.SetRole(DelegationConnectors_P_PWP_A_Star_Pattern_p); + + DelegationConnectors_P_PWP_A_Star_Pattern_r.AddEnd(DelegationConnectors_P_PWP_A_Star_Pattern_r_ConnectorEnd26); + DelegationConnectors_P_PWP_A_Star_Pattern_r_ConnectorEnd23.SetUpper(-1); + DelegationConnectors_P_PWP_A_Star_Pattern_r_ConnectorEnd23.SetLower(4); + DelegationConnectors_P_PWP_A_Star_Pattern_r_ConnectorEnd23.SetRole(DelegationConnectors_P_PWP_B_q); + DelegationConnectors_P_PWP_A_Star_Pattern_r_ConnectorEnd23.SetPartWithPort(DelegationConnectors_P_PWP_A_Star_Pattern_b); + + DelegationConnectors_P_PWP_A_Star_Pattern_r.AddEnd(DelegationConnectors_P_PWP_A_Star_Pattern_r_ConnectorEnd23); + DelegationConnectors_P_PWP_A_Star_Pattern_r.SetType(DelegationConnectors_P_PWP_R); + DelegationConnectors_P_PWP_A_Star_Pattern.AddOwnedConnector(DelegationConnectors_P_PWP_A_Star_Pattern_r); + // Operation A_Star_Pattern_A_Star_Pattern + DelegationConnectors_P_PWP_A_Star_Pattern_A_Star_Pattern_A_Star_Pattern.SetName("A_Star_Pattern_A_Star_Pattern"); + DelegationConnectors_P_PWP_A_Star_Pattern_A_Star_Pattern_A_Star_Pattern.SetVisibility(VisibilityKind.public_); + // Parameter result + DelegationConnectors_P_PWP_A_Star_Pattern_A_Star_Pattern_A_Star_Pattern_result.SetName("result"); + DelegationConnectors_P_PWP_A_Star_Pattern_A_Star_Pattern_A_Star_Pattern_result.SetVisibility(VisibilityKind.public_); + + DelegationConnectors_P_PWP_A_Star_Pattern_A_Star_Pattern_A_Star_Pattern_result.SetType(DelegationConnectors_P_PWP_A_Star_Pattern); + DelegationConnectors_P_PWP_A_Star_Pattern_A_Star_Pattern_A_Star_Pattern_result.SetDirection(ParameterDirectionKind.return_); + DelegationConnectors_P_PWP_A_Star_Pattern_A_Star_Pattern_A_Star_Pattern.AddOwnedParameter(DelegationConnectors_P_PWP_A_Star_Pattern_A_Star_Pattern_A_Star_Pattern_result); + DelegationConnectors_P_PWP_A_Star_Pattern_A_Star_Pattern_A_Star_Pattern.ApplyStereotype(uml.standardprofile.StandardProfileModel.Instance().Stereotype_Create); + DelegationConnectors_P_PWP_A_Star_Pattern.AddOwnedOperation(DelegationConnectors_P_PWP_A_Star_Pattern_A_Star_Pattern_A_Star_Pattern); + DelegationConnectors_P_PWP.AddPackagedElement(DelegationConnectors_P_PWP_A_Star_Pattern); + // Class IImpl + DelegationConnectors_P_PWP_IImpl.SetName("IImpl"); + DelegationConnectors_P_PWP_IImpl.SetVisibility(VisibilityKind.public_); + DelegationConnectors_P_PWP_IImpl_I_Realization.SetName("I_Realization"); + DelegationConnectors_P_PWP_IImpl_I_Realization.SetVisibility(VisibilityKind.public_); + DelegationConnectors_P_PWP_IImpl_I_Realization.SetContract(DelegationConnectors_P_PWP_I); + + DelegationConnectors_P_PWP_IImpl.AddInterfaceRealization(DelegationConnectors_P_PWP_IImpl_I_Realization); + DelegationConnectors_P_PWP.AddPackagedElement(DelegationConnectors_P_PWP_IImpl); + // Activity instantiate_A_Unconnected_Pattern + DelegationConnectors_P_PWP_instantiate_A_Unconnected_Pattern.SetName("instantiate_A_Unconnected_Pattern"); + DelegationConnectors_P_PWP_instantiate_A_Unconnected_Pattern.SetVisibility(VisibilityKind.public_); + + // Parameter a_Unconnected_Pattern + DelegationConnectors_P_PWP_instantiate_A_Unconnected_Pattern_a_Unconnected_Pattern.SetName("a_Unconnected_Pattern"); + DelegationConnectors_P_PWP_instantiate_A_Unconnected_Pattern_a_Unconnected_Pattern.SetVisibility(VisibilityKind.public_); + + DelegationConnectors_P_PWP_instantiate_A_Unconnected_Pattern_a_Unconnected_Pattern.SetType(DelegationConnectors_P_PWP_A_Unconnected_Pattern); + DelegationConnectors_P_PWP_instantiate_A_Unconnected_Pattern_a_Unconnected_Pattern.SetDirection(ParameterDirectionKind.return_); + DelegationConnectors_P_PWP_instantiate_A_Unconnected_Pattern.AddOwnedParameter(DelegationConnectors_P_PWP_instantiate_A_Unconnected_Pattern_a_Unconnected_Pattern); + // CreateObjectAction Create A_Unconnected_Pattern + DelegationConnectors_P_PWP_instantiate_A_Unconnected_Pattern_Create_A_Unconnected_Pattern.SetName("Create A_Unconnected_Pattern"); + DelegationConnectors_P_PWP_instantiate_A_Unconnected_Pattern_Create_A_Unconnected_Pattern.SetVisibility(VisibilityKind.public_); + DelegationConnectors_P_PWP_instantiate_A_Unconnected_Pattern_Create_A_Unconnected_Pattern.SetClassifier(DelegationConnectors_P_PWP_A_Unconnected_Pattern); + // OutputPin result + DelegationConnectors_P_PWP_instantiate_A_Unconnected_Pattern_Create_A_Unconnected_Pattern_result.SetName("result"); + DelegationConnectors_P_PWP_instantiate_A_Unconnected_Pattern_Create_A_Unconnected_Pattern_result.SetVisibility(VisibilityKind.public_); + DelegationConnectors_P_PWP_instantiate_A_Unconnected_Pattern_Create_A_Unconnected_Pattern_result.SetType(DelegationConnectors_P_PWP_A_Unconnected_Pattern); + DelegationConnectors_P_PWP_instantiate_A_Unconnected_Pattern_Create_A_Unconnected_Pattern.SetResult(DelegationConnectors_P_PWP_instantiate_A_Unconnected_Pattern_Create_A_Unconnected_Pattern_result); + DelegationConnectors_P_PWP_instantiate_A_Unconnected_Pattern.AddNode(DelegationConnectors_P_PWP_instantiate_A_Unconnected_Pattern_Create_A_Unconnected_Pattern); + // ActivityParameterNode a_Unconnected_Pattern_node + DelegationConnectors_P_PWP_instantiate_A_Unconnected_Pattern_a_Unconnected_Pattern_node.SetName("a_Unconnected_Pattern_node"); + DelegationConnectors_P_PWP_instantiate_A_Unconnected_Pattern_a_Unconnected_Pattern_node.SetVisibility(VisibilityKind.public_); + + DelegationConnectors_P_PWP_instantiate_A_Unconnected_Pattern_a_Unconnected_Pattern_node.SetParameter(DelegationConnectors_P_PWP_instantiate_A_Unconnected_Pattern_a_Unconnected_Pattern); + DelegationConnectors_P_PWP_instantiate_A_Unconnected_Pattern.AddNode(DelegationConnectors_P_PWP_instantiate_A_Unconnected_Pattern_a_Unconnected_Pattern_node); + // CallOperationAction A_Unconnected_Pattern() + DelegationConnectors_P_PWP_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern_.SetName("A_Unconnected_Pattern()"); + DelegationConnectors_P_PWP_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern_.SetVisibility(VisibilityKind.public_); + + // OutputPin result + DelegationConnectors_P_PWP_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern__result.SetName("result"); + DelegationConnectors_P_PWP_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern__result.SetVisibility(VisibilityKind.public_); + DelegationConnectors_P_PWP_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern__result.SetType(DelegationConnectors_P_PWP_A_Unconnected_Pattern); + DelegationConnectors_P_PWP_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern_.AddResult(DelegationConnectors_P_PWP_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern__result); + DelegationConnectors_P_PWP_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern_.SetOperation(DelegationConnectors_P_PWP_A_Unconnected_Pattern_A_Unconnected_Pattern_A_Unconnected_Pattern); + // InputPin target + DelegationConnectors_P_PWP_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern__target.SetName("target"); + DelegationConnectors_P_PWP_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern__target.SetVisibility(VisibilityKind.public_); + DelegationConnectors_P_PWP_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern__target.SetType(DelegationConnectors_P_PWP_A_Unconnected_Pattern); + DelegationConnectors_P_PWP_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern_.SetTarget(DelegationConnectors_P_PWP_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern__target); + DelegationConnectors_P_PWP_instantiate_A_Unconnected_Pattern.AddNode(DelegationConnectors_P_PWP_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern_); + // ObjectFlow ObjectFlow32 from result to target + DelegationConnectors_P_PWP_instantiate_A_Unconnected_Pattern_ObjectFlow32.SetName("ObjectFlow32"); + DelegationConnectors_P_PWP_instantiate_A_Unconnected_Pattern_ObjectFlow32.SetVisibility(VisibilityKind.public_); + + DelegationConnectors_P_PWP_instantiate_A_Unconnected_Pattern_ObjectFlow32.SetSource(DelegationConnectors_P_PWP_instantiate_A_Unconnected_Pattern_Create_A_Unconnected_Pattern_result); + DelegationConnectors_P_PWP_instantiate_A_Unconnected_Pattern_ObjectFlow32.SetTarget(DelegationConnectors_P_PWP_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern__target); + // LiteralBoolean LiteralBoolean33 + DelegationConnectors_P_PWP_instantiate_A_Unconnected_Pattern_ObjectFlow32_LiteralBoolean33.SetName("LiteralBoolean33"); + DelegationConnectors_P_PWP_instantiate_A_Unconnected_Pattern_ObjectFlow32_LiteralBoolean33.SetVisibility(VisibilityKind.public_); + DelegationConnectors_P_PWP_instantiate_A_Unconnected_Pattern_ObjectFlow32_LiteralBoolean33.SetValue(true); + DelegationConnectors_P_PWP_instantiate_A_Unconnected_Pattern_ObjectFlow32.SetGuard(DelegationConnectors_P_PWP_instantiate_A_Unconnected_Pattern_ObjectFlow32_LiteralBoolean33); + DelegationConnectors_P_PWP_instantiate_A_Unconnected_Pattern.AddEdge(DelegationConnectors_P_PWP_instantiate_A_Unconnected_Pattern_ObjectFlow32); + // ObjectFlow ObjectFlow35 from result to a_Unconnected_Pattern_node + DelegationConnectors_P_PWP_instantiate_A_Unconnected_Pattern_ObjectFlow35.SetName("ObjectFlow35"); + DelegationConnectors_P_PWP_instantiate_A_Unconnected_Pattern_ObjectFlow35.SetVisibility(VisibilityKind.public_); + + DelegationConnectors_P_PWP_instantiate_A_Unconnected_Pattern_ObjectFlow35.SetSource(DelegationConnectors_P_PWP_instantiate_A_Unconnected_Pattern_A_Unconnected_Pattern__result); + DelegationConnectors_P_PWP_instantiate_A_Unconnected_Pattern_ObjectFlow35.SetTarget(DelegationConnectors_P_PWP_instantiate_A_Unconnected_Pattern_a_Unconnected_Pattern_node); + // LiteralBoolean LiteralBoolean37 + DelegationConnectors_P_PWP_instantiate_A_Unconnected_Pattern_ObjectFlow35_LiteralBoolean37.SetName("LiteralBoolean37"); + DelegationConnectors_P_PWP_instantiate_A_Unconnected_Pattern_ObjectFlow35_LiteralBoolean37.SetVisibility(VisibilityKind.public_); + DelegationConnectors_P_PWP_instantiate_A_Unconnected_Pattern_ObjectFlow35_LiteralBoolean37.SetValue(true); + DelegationConnectors_P_PWP_instantiate_A_Unconnected_Pattern_ObjectFlow35.SetGuard(DelegationConnectors_P_PWP_instantiate_A_Unconnected_Pattern_ObjectFlow35_LiteralBoolean37); + DelegationConnectors_P_PWP_instantiate_A_Unconnected_Pattern.AddEdge(DelegationConnectors_P_PWP_instantiate_A_Unconnected_Pattern_ObjectFlow35); + DelegationConnectors_P_PWP.AddPackagedElement(DelegationConnectors_P_PWP_instantiate_A_Unconnected_Pattern); + // Activity instantiate_A_Empty_Pattern + DelegationConnectors_P_PWP_instantiate_A_Empty_Pattern.SetName("instantiate_A_Empty_Pattern"); + DelegationConnectors_P_PWP_instantiate_A_Empty_Pattern.SetVisibility(VisibilityKind.public_); + + // Parameter a_Empty_Pattern + DelegationConnectors_P_PWP_instantiate_A_Empty_Pattern_a_Empty_Pattern.SetName("a_Empty_Pattern"); + DelegationConnectors_P_PWP_instantiate_A_Empty_Pattern_a_Empty_Pattern.SetVisibility(VisibilityKind.public_); + + DelegationConnectors_P_PWP_instantiate_A_Empty_Pattern_a_Empty_Pattern.SetType(DelegationConnectors_P_PWP_A_Empty_Pattern); + DelegationConnectors_P_PWP_instantiate_A_Empty_Pattern_a_Empty_Pattern.SetDirection(ParameterDirectionKind.return_); + DelegationConnectors_P_PWP_instantiate_A_Empty_Pattern.AddOwnedParameter(DelegationConnectors_P_PWP_instantiate_A_Empty_Pattern_a_Empty_Pattern); + // CreateObjectAction Create A_Empty_Pattern + DelegationConnectors_P_PWP_instantiate_A_Empty_Pattern_Create_A_Empty_Pattern.SetName("Create A_Empty_Pattern"); + DelegationConnectors_P_PWP_instantiate_A_Empty_Pattern_Create_A_Empty_Pattern.SetVisibility(VisibilityKind.public_); + DelegationConnectors_P_PWP_instantiate_A_Empty_Pattern_Create_A_Empty_Pattern.SetClassifier(DelegationConnectors_P_PWP_A_Empty_Pattern); + // OutputPin result + DelegationConnectors_P_PWP_instantiate_A_Empty_Pattern_Create_A_Empty_Pattern_result.SetName("result"); + DelegationConnectors_P_PWP_instantiate_A_Empty_Pattern_Create_A_Empty_Pattern_result.SetVisibility(VisibilityKind.public_); + DelegationConnectors_P_PWP_instantiate_A_Empty_Pattern_Create_A_Empty_Pattern_result.SetType(DelegationConnectors_P_PWP_A_Empty_Pattern); + DelegationConnectors_P_PWP_instantiate_A_Empty_Pattern_Create_A_Empty_Pattern.SetResult(DelegationConnectors_P_PWP_instantiate_A_Empty_Pattern_Create_A_Empty_Pattern_result); + DelegationConnectors_P_PWP_instantiate_A_Empty_Pattern.AddNode(DelegationConnectors_P_PWP_instantiate_A_Empty_Pattern_Create_A_Empty_Pattern); + // CallOperationAction A_Empty_Pattern() + DelegationConnectors_P_PWP_instantiate_A_Empty_Pattern_A_Empty_Pattern_.SetName("A_Empty_Pattern()"); + DelegationConnectors_P_PWP_instantiate_A_Empty_Pattern_A_Empty_Pattern_.SetVisibility(VisibilityKind.public_); + + // OutputPin result + DelegationConnectors_P_PWP_instantiate_A_Empty_Pattern_A_Empty_Pattern__result.SetName("result"); + DelegationConnectors_P_PWP_instantiate_A_Empty_Pattern_A_Empty_Pattern__result.SetVisibility(VisibilityKind.public_); + DelegationConnectors_P_PWP_instantiate_A_Empty_Pattern_A_Empty_Pattern__result.SetType(DelegationConnectors_P_PWP_A_Empty_Pattern); + DelegationConnectors_P_PWP_instantiate_A_Empty_Pattern_A_Empty_Pattern_.AddResult(DelegationConnectors_P_PWP_instantiate_A_Empty_Pattern_A_Empty_Pattern__result); + DelegationConnectors_P_PWP_instantiate_A_Empty_Pattern_A_Empty_Pattern_.SetOperation(DelegationConnectors_P_PWP_A_Empty_Pattern_A_Empty_Pattern_A_Empty_Pattern); + // InputPin target + DelegationConnectors_P_PWP_instantiate_A_Empty_Pattern_A_Empty_Pattern__target.SetName("target"); + DelegationConnectors_P_PWP_instantiate_A_Empty_Pattern_A_Empty_Pattern__target.SetVisibility(VisibilityKind.public_); + DelegationConnectors_P_PWP_instantiate_A_Empty_Pattern_A_Empty_Pattern__target.SetType(DelegationConnectors_P_PWP_A_Empty_Pattern); + DelegationConnectors_P_PWP_instantiate_A_Empty_Pattern_A_Empty_Pattern_.SetTarget(DelegationConnectors_P_PWP_instantiate_A_Empty_Pattern_A_Empty_Pattern__target); + DelegationConnectors_P_PWP_instantiate_A_Empty_Pattern.AddNode(DelegationConnectors_P_PWP_instantiate_A_Empty_Pattern_A_Empty_Pattern_); + // ActivityParameterNode a_Empty_Pattern_node + DelegationConnectors_P_PWP_instantiate_A_Empty_Pattern_a_Empty_Pattern_node.SetName("a_Empty_Pattern_node"); + DelegationConnectors_P_PWP_instantiate_A_Empty_Pattern_a_Empty_Pattern_node.SetVisibility(VisibilityKind.public_); + + DelegationConnectors_P_PWP_instantiate_A_Empty_Pattern_a_Empty_Pattern_node.SetParameter(DelegationConnectors_P_PWP_instantiate_A_Empty_Pattern_a_Empty_Pattern); + DelegationConnectors_P_PWP_instantiate_A_Empty_Pattern.AddNode(DelegationConnectors_P_PWP_instantiate_A_Empty_Pattern_a_Empty_Pattern_node); + // ObjectFlow ObjectFlow43 from result to a_Empty_Pattern_node + DelegationConnectors_P_PWP_instantiate_A_Empty_Pattern_ObjectFlow43.SetName("ObjectFlow43"); + DelegationConnectors_P_PWP_instantiate_A_Empty_Pattern_ObjectFlow43.SetVisibility(VisibilityKind.public_); + + DelegationConnectors_P_PWP_instantiate_A_Empty_Pattern_ObjectFlow43.SetSource(DelegationConnectors_P_PWP_instantiate_A_Empty_Pattern_A_Empty_Pattern__result); + DelegationConnectors_P_PWP_instantiate_A_Empty_Pattern_ObjectFlow43.SetTarget(DelegationConnectors_P_PWP_instantiate_A_Empty_Pattern_a_Empty_Pattern_node); + // LiteralBoolean LiteralBoolean45 + DelegationConnectors_P_PWP_instantiate_A_Empty_Pattern_ObjectFlow43_LiteralBoolean45.SetName("LiteralBoolean45"); + DelegationConnectors_P_PWP_instantiate_A_Empty_Pattern_ObjectFlow43_LiteralBoolean45.SetVisibility(VisibilityKind.public_); + DelegationConnectors_P_PWP_instantiate_A_Empty_Pattern_ObjectFlow43_LiteralBoolean45.SetValue(true); + DelegationConnectors_P_PWP_instantiate_A_Empty_Pattern_ObjectFlow43.SetGuard(DelegationConnectors_P_PWP_instantiate_A_Empty_Pattern_ObjectFlow43_LiteralBoolean45); + DelegationConnectors_P_PWP_instantiate_A_Empty_Pattern.AddEdge(DelegationConnectors_P_PWP_instantiate_A_Empty_Pattern_ObjectFlow43); + // ObjectFlow ObjectFlow46 from result to target + DelegationConnectors_P_PWP_instantiate_A_Empty_Pattern_ObjectFlow46.SetName("ObjectFlow46"); + DelegationConnectors_P_PWP_instantiate_A_Empty_Pattern_ObjectFlow46.SetVisibility(VisibilityKind.public_); + + DelegationConnectors_P_PWP_instantiate_A_Empty_Pattern_ObjectFlow46.SetSource(DelegationConnectors_P_PWP_instantiate_A_Empty_Pattern_Create_A_Empty_Pattern_result); + DelegationConnectors_P_PWP_instantiate_A_Empty_Pattern_ObjectFlow46.SetTarget(DelegationConnectors_P_PWP_instantiate_A_Empty_Pattern_A_Empty_Pattern__target); + // LiteralBoolean LiteralBoolean48 + DelegationConnectors_P_PWP_instantiate_A_Empty_Pattern_ObjectFlow46_LiteralBoolean48.SetName("LiteralBoolean48"); + DelegationConnectors_P_PWP_instantiate_A_Empty_Pattern_ObjectFlow46_LiteralBoolean48.SetVisibility(VisibilityKind.public_); + DelegationConnectors_P_PWP_instantiate_A_Empty_Pattern_ObjectFlow46_LiteralBoolean48.SetValue(true); + DelegationConnectors_P_PWP_instantiate_A_Empty_Pattern_ObjectFlow46.SetGuard(DelegationConnectors_P_PWP_instantiate_A_Empty_Pattern_ObjectFlow46_LiteralBoolean48); + DelegationConnectors_P_PWP_instantiate_A_Empty_Pattern.AddEdge(DelegationConnectors_P_PWP_instantiate_A_Empty_Pattern_ObjectFlow46); + DelegationConnectors_P_PWP.AddPackagedElement(DelegationConnectors_P_PWP_instantiate_A_Empty_Pattern); + // Activity instantiate_A_Array_Pattern + DelegationConnectors_P_PWP_instantiate_A_Array_Pattern.SetName("instantiate_A_Array_Pattern"); + DelegationConnectors_P_PWP_instantiate_A_Array_Pattern.SetVisibility(VisibilityKind.public_); + + // Parameter a_Array_Pattern + DelegationConnectors_P_PWP_instantiate_A_Array_Pattern_a_Array_Pattern.SetName("a_Array_Pattern"); + DelegationConnectors_P_PWP_instantiate_A_Array_Pattern_a_Array_Pattern.SetVisibility(VisibilityKind.public_); + + DelegationConnectors_P_PWP_instantiate_A_Array_Pattern_a_Array_Pattern.SetType(DelegationConnectors_P_PWP_A_Array_Pattern); + DelegationConnectors_P_PWP_instantiate_A_Array_Pattern_a_Array_Pattern.SetDirection(ParameterDirectionKind.return_); + DelegationConnectors_P_PWP_instantiate_A_Array_Pattern.AddOwnedParameter(DelegationConnectors_P_PWP_instantiate_A_Array_Pattern_a_Array_Pattern); + // ActivityParameterNode a_Array_Pattern_node + DelegationConnectors_P_PWP_instantiate_A_Array_Pattern_a_Array_Pattern_node.SetName("a_Array_Pattern_node"); + DelegationConnectors_P_PWP_instantiate_A_Array_Pattern_a_Array_Pattern_node.SetVisibility(VisibilityKind.public_); + + DelegationConnectors_P_PWP_instantiate_A_Array_Pattern_a_Array_Pattern_node.SetParameter(DelegationConnectors_P_PWP_instantiate_A_Array_Pattern_a_Array_Pattern); + DelegationConnectors_P_PWP_instantiate_A_Array_Pattern.AddNode(DelegationConnectors_P_PWP_instantiate_A_Array_Pattern_a_Array_Pattern_node); + // CreateObjectAction Create A_Array_Pattern + DelegationConnectors_P_PWP_instantiate_A_Array_Pattern_Create_A_Array_Pattern.SetName("Create A_Array_Pattern"); + DelegationConnectors_P_PWP_instantiate_A_Array_Pattern_Create_A_Array_Pattern.SetVisibility(VisibilityKind.public_); + DelegationConnectors_P_PWP_instantiate_A_Array_Pattern_Create_A_Array_Pattern.SetClassifier(DelegationConnectors_P_PWP_A_Array_Pattern); + // OutputPin result + DelegationConnectors_P_PWP_instantiate_A_Array_Pattern_Create_A_Array_Pattern_result.SetName("result"); + DelegationConnectors_P_PWP_instantiate_A_Array_Pattern_Create_A_Array_Pattern_result.SetVisibility(VisibilityKind.public_); + DelegationConnectors_P_PWP_instantiate_A_Array_Pattern_Create_A_Array_Pattern_result.SetType(DelegationConnectors_P_PWP_A_Array_Pattern); + DelegationConnectors_P_PWP_instantiate_A_Array_Pattern_Create_A_Array_Pattern.SetResult(DelegationConnectors_P_PWP_instantiate_A_Array_Pattern_Create_A_Array_Pattern_result); + DelegationConnectors_P_PWP_instantiate_A_Array_Pattern.AddNode(DelegationConnectors_P_PWP_instantiate_A_Array_Pattern_Create_A_Array_Pattern); + // CallOperationAction A_Array_Pattern() + DelegationConnectors_P_PWP_instantiate_A_Array_Pattern_A_Array_Pattern_.SetName("A_Array_Pattern()"); + DelegationConnectors_P_PWP_instantiate_A_Array_Pattern_A_Array_Pattern_.SetVisibility(VisibilityKind.public_); + + // OutputPin result + DelegationConnectors_P_PWP_instantiate_A_Array_Pattern_A_Array_Pattern__result.SetName("result"); + DelegationConnectors_P_PWP_instantiate_A_Array_Pattern_A_Array_Pattern__result.SetVisibility(VisibilityKind.public_); + DelegationConnectors_P_PWP_instantiate_A_Array_Pattern_A_Array_Pattern__result.SetType(DelegationConnectors_P_PWP_A_Array_Pattern); + DelegationConnectors_P_PWP_instantiate_A_Array_Pattern_A_Array_Pattern_.AddResult(DelegationConnectors_P_PWP_instantiate_A_Array_Pattern_A_Array_Pattern__result); + DelegationConnectors_P_PWP_instantiate_A_Array_Pattern_A_Array_Pattern_.SetOperation(DelegationConnectors_P_PWP_A_Array_Pattern_A_Array_Pattern_A_Array_Pattern); + // InputPin target + DelegationConnectors_P_PWP_instantiate_A_Array_Pattern_A_Array_Pattern__target.SetName("target"); + DelegationConnectors_P_PWP_instantiate_A_Array_Pattern_A_Array_Pattern__target.SetVisibility(VisibilityKind.public_); + DelegationConnectors_P_PWP_instantiate_A_Array_Pattern_A_Array_Pattern__target.SetType(DelegationConnectors_P_PWP_A_Array_Pattern); + DelegationConnectors_P_PWP_instantiate_A_Array_Pattern_A_Array_Pattern_.SetTarget(DelegationConnectors_P_PWP_instantiate_A_Array_Pattern_A_Array_Pattern__target); + DelegationConnectors_P_PWP_instantiate_A_Array_Pattern.AddNode(DelegationConnectors_P_PWP_instantiate_A_Array_Pattern_A_Array_Pattern_); + // ObjectFlow ObjectFlow56 from result to target + DelegationConnectors_P_PWP_instantiate_A_Array_Pattern_ObjectFlow56.SetName("ObjectFlow56"); + DelegationConnectors_P_PWP_instantiate_A_Array_Pattern_ObjectFlow56.SetVisibility(VisibilityKind.public_); + + DelegationConnectors_P_PWP_instantiate_A_Array_Pattern_ObjectFlow56.SetSource(DelegationConnectors_P_PWP_instantiate_A_Array_Pattern_Create_A_Array_Pattern_result); + DelegationConnectors_P_PWP_instantiate_A_Array_Pattern_ObjectFlow56.SetTarget(DelegationConnectors_P_PWP_instantiate_A_Array_Pattern_A_Array_Pattern__target); + // LiteralBoolean LiteralBoolean57 + DelegationConnectors_P_PWP_instantiate_A_Array_Pattern_ObjectFlow56_LiteralBoolean57.SetName("LiteralBoolean57"); + DelegationConnectors_P_PWP_instantiate_A_Array_Pattern_ObjectFlow56_LiteralBoolean57.SetVisibility(VisibilityKind.public_); + DelegationConnectors_P_PWP_instantiate_A_Array_Pattern_ObjectFlow56_LiteralBoolean57.SetValue(true); + DelegationConnectors_P_PWP_instantiate_A_Array_Pattern_ObjectFlow56.SetGuard(DelegationConnectors_P_PWP_instantiate_A_Array_Pattern_ObjectFlow56_LiteralBoolean57); + DelegationConnectors_P_PWP_instantiate_A_Array_Pattern.AddEdge(DelegationConnectors_P_PWP_instantiate_A_Array_Pattern_ObjectFlow56); + // ObjectFlow ObjectFlow62 from result to a_Array_Pattern_node + DelegationConnectors_P_PWP_instantiate_A_Array_Pattern_ObjectFlow62.SetName("ObjectFlow62"); + DelegationConnectors_P_PWP_instantiate_A_Array_Pattern_ObjectFlow62.SetVisibility(VisibilityKind.public_); + + DelegationConnectors_P_PWP_instantiate_A_Array_Pattern_ObjectFlow62.SetSource(DelegationConnectors_P_PWP_instantiate_A_Array_Pattern_A_Array_Pattern__result); + DelegationConnectors_P_PWP_instantiate_A_Array_Pattern_ObjectFlow62.SetTarget(DelegationConnectors_P_PWP_instantiate_A_Array_Pattern_a_Array_Pattern_node); + // LiteralBoolean LiteralBoolean63 + DelegationConnectors_P_PWP_instantiate_A_Array_Pattern_ObjectFlow62_LiteralBoolean63.SetName("LiteralBoolean63"); + DelegationConnectors_P_PWP_instantiate_A_Array_Pattern_ObjectFlow62_LiteralBoolean63.SetVisibility(VisibilityKind.public_); + DelegationConnectors_P_PWP_instantiate_A_Array_Pattern_ObjectFlow62_LiteralBoolean63.SetValue(true); + DelegationConnectors_P_PWP_instantiate_A_Array_Pattern_ObjectFlow62.SetGuard(DelegationConnectors_P_PWP_instantiate_A_Array_Pattern_ObjectFlow62_LiteralBoolean63); + DelegationConnectors_P_PWP_instantiate_A_Array_Pattern.AddEdge(DelegationConnectors_P_PWP_instantiate_A_Array_Pattern_ObjectFlow62); + DelegationConnectors_P_PWP.AddPackagedElement(DelegationConnectors_P_PWP_instantiate_A_Array_Pattern); + // Class A_Array_Pattern + DelegationConnectors_P_PWP_A_Array_Pattern.SetName("A_Array_Pattern"); + DelegationConnectors_P_PWP_A_Array_Pattern.SetVisibility(VisibilityKind.public_); + + // Property b + DelegationConnectors_P_PWP_A_Array_Pattern_b.SetName("b"); + DelegationConnectors_P_PWP_A_Array_Pattern_b.SetVisibility(VisibilityKind.public_); + DelegationConnectors_P_PWP_A_Array_Pattern_b.SetUpper(-1); + DelegationConnectors_P_PWP_A_Array_Pattern_b.SetLower(2); + DelegationConnectors_P_PWP_A_Array_Pattern_b.SetType(DelegationConnectors_P_PWP_B); + DelegationConnectors_P_PWP_A_Array_Pattern_b.SetAggregation(AggregationKind.composite); + DelegationConnectors_P_PWP_A_Array_Pattern.AddOwnedAttribute(DelegationConnectors_P_PWP_A_Array_Pattern_b); + // Port p + DelegationConnectors_P_PWP_A_Array_Pattern_p.SetName("p"); + DelegationConnectors_P_PWP_A_Array_Pattern_p.SetVisibility(VisibilityKind.public_); + DelegationConnectors_P_PWP_A_Array_Pattern_p.SetUpper(-1); + DelegationConnectors_P_PWP_A_Array_Pattern_p.SetLower(4); + DelegationConnectors_P_PWP_A_Array_Pattern_p.SetType(DelegationConnectors_P_PWP_IImpl); + DelegationConnectors_P_PWP_A_Array_Pattern_p.SetAggregation(AggregationKind.composite); + DelegationConnectors_P_PWP_A_Array_Pattern_p.isService = true; + DelegationConnectors_P_PWP_A_Array_Pattern_p.AddProvided(DelegationConnectors_P_PWP_I); + DelegationConnectors_P_PWP_A_Array_Pattern.AddOwnedAttribute(DelegationConnectors_P_PWP_A_Array_Pattern_p); + + DelegationConnectors_P_PWP_A_Array_Pattern_r.SetName("r"); + DelegationConnectors_P_PWP_A_Array_Pattern_r.SetVisibility(VisibilityKind.public_); + DelegationConnectors_P_PWP_A_Array_Pattern_r_ConnectorEnd71.SetUpper(-1); + DelegationConnectors_P_PWP_A_Array_Pattern_r_ConnectorEnd71.SetRole(DelegationConnectors_P_PWP_A_Array_Pattern_p); + + DelegationConnectors_P_PWP_A_Array_Pattern_r.AddEnd(DelegationConnectors_P_PWP_A_Array_Pattern_r_ConnectorEnd71); + DelegationConnectors_P_PWP_A_Array_Pattern_r_ConnectorEnd73.SetUpper(-1); + DelegationConnectors_P_PWP_A_Array_Pattern_r_ConnectorEnd73.SetRole(DelegationConnectors_P_PWP_B_q); + DelegationConnectors_P_PWP_A_Array_Pattern_r_ConnectorEnd73.SetPartWithPort(DelegationConnectors_P_PWP_A_Array_Pattern_b); + + DelegationConnectors_P_PWP_A_Array_Pattern_r.AddEnd(DelegationConnectors_P_PWP_A_Array_Pattern_r_ConnectorEnd73); + DelegationConnectors_P_PWP_A_Array_Pattern_r.SetType(DelegationConnectors_P_PWP_R); + DelegationConnectors_P_PWP_A_Array_Pattern.AddOwnedConnector(DelegationConnectors_P_PWP_A_Array_Pattern_r); + // Operation A_Array_Pattern_A_Array_Pattern + DelegationConnectors_P_PWP_A_Array_Pattern_A_Array_Pattern_A_Array_Pattern.SetName("A_Array_Pattern_A_Array_Pattern"); + DelegationConnectors_P_PWP_A_Array_Pattern_A_Array_Pattern_A_Array_Pattern.SetVisibility(VisibilityKind.public_); + // Parameter result + DelegationConnectors_P_PWP_A_Array_Pattern_A_Array_Pattern_A_Array_Pattern_result.SetName("result"); + DelegationConnectors_P_PWP_A_Array_Pattern_A_Array_Pattern_A_Array_Pattern_result.SetVisibility(VisibilityKind.public_); + + DelegationConnectors_P_PWP_A_Array_Pattern_A_Array_Pattern_A_Array_Pattern_result.SetType(DelegationConnectors_P_PWP_A_Array_Pattern); + DelegationConnectors_P_PWP_A_Array_Pattern_A_Array_Pattern_A_Array_Pattern_result.SetDirection(ParameterDirectionKind.return_); + DelegationConnectors_P_PWP_A_Array_Pattern_A_Array_Pattern_A_Array_Pattern.AddOwnedParameter(DelegationConnectors_P_PWP_A_Array_Pattern_A_Array_Pattern_A_Array_Pattern_result); + DelegationConnectors_P_PWP_A_Array_Pattern_A_Array_Pattern_A_Array_Pattern.ApplyStereotype(uml.standardprofile.StandardProfileModel.Instance().Stereotype_Create); + DelegationConnectors_P_PWP_A_Array_Pattern.AddOwnedOperation(DelegationConnectors_P_PWP_A_Array_Pattern_A_Array_Pattern_A_Array_Pattern); + DelegationConnectors_P_PWP.AddPackagedElement(DelegationConnectors_P_PWP_A_Array_Pattern); + // Activity assert_A_Empty_Pattern + DelegationConnectors_P_PWP_assert_A_Empty_Pattern.SetName("assert_A_Empty_Pattern"); + DelegationConnectors_P_PWP_assert_A_Empty_Pattern.SetVisibility(VisibilityKind.public_); + + // Parameter a_Empty_Pattern + DelegationConnectors_P_PWP_assert_A_Empty_Pattern_a_Empty_Pattern.SetName("a_Empty_Pattern"); + DelegationConnectors_P_PWP_assert_A_Empty_Pattern_a_Empty_Pattern.SetVisibility(VisibilityKind.public_); + + DelegationConnectors_P_PWP_assert_A_Empty_Pattern_a_Empty_Pattern.SetType(DelegationConnectors_P_PWP_A_Empty_Pattern); + DelegationConnectors_P_PWP_assert_A_Empty_Pattern.AddOwnedParameter(DelegationConnectors_P_PWP_assert_A_Empty_Pattern_a_Empty_Pattern); + // CallBehaviorAction writeLine + DelegationConnectors_P_PWP_assert_A_Empty_Pattern_writeLine.SetName("writeLine"); + DelegationConnectors_P_PWP_assert_A_Empty_Pattern_writeLine.SetVisibility(VisibilityKind.public_); + + // OutputPin errorStatus + DelegationConnectors_P_PWP_assert_A_Empty_Pattern_writeLine_errorStatus.SetName("errorStatus"); + DelegationConnectors_P_PWP_assert_A_Empty_Pattern_writeLine_errorStatus.SetVisibility(VisibilityKind.public_); + + DelegationConnectors_P_PWP_assert_A_Empty_Pattern_writeLine_errorStatus.SetLower(0); + DelegationConnectors_P_PWP_assert_A_Empty_Pattern_writeLine.AddResult(DelegationConnectors_P_PWP_assert_A_Empty_Pattern_writeLine_errorStatus); + DelegationConnectors_P_PWP_assert_A_Empty_Pattern_writeLine.SetBehavior(FoundationalModelLibraryModel.Instance().FoundationalModelLibrary_BasicInputOutput_WriteLine); + // InputPin value + DelegationConnectors_P_PWP_assert_A_Empty_Pattern_writeLine_value.SetName("value"); + DelegationConnectors_P_PWP_assert_A_Empty_Pattern_writeLine_value.SetVisibility(VisibilityKind.public_); + DelegationConnectors_P_PWP_assert_A_Empty_Pattern_writeLine_value.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_String); + DelegationConnectors_P_PWP_assert_A_Empty_Pattern_writeLine.AddArgument(DelegationConnectors_P_PWP_assert_A_Empty_Pattern_writeLine_value); + DelegationConnectors_P_PWP_assert_A_Empty_Pattern.AddNode(DelegationConnectors_P_PWP_assert_A_Empty_Pattern_writeLine); + // ValueSpecificationAction message + DelegationConnectors_P_PWP_assert_A_Empty_Pattern_message.SetName("message"); + DelegationConnectors_P_PWP_assert_A_Empty_Pattern_message.SetVisibility(VisibilityKind.public_); + // LiteralString LiteralString90 + DelegationConnectors_P_PWP_assert_A_Empty_Pattern_message_LiteralString90.SetName("LiteralString90"); + DelegationConnectors_P_PWP_assert_A_Empty_Pattern_message_LiteralString90.SetVisibility(VisibilityKind.public_); + DelegationConnectors_P_PWP_assert_A_Empty_Pattern_message_LiteralString90.SetValue("Assertion currently not implemented for A_Empty_Pattern."); + DelegationConnectors_P_PWP_assert_A_Empty_Pattern_message.SetValue(DelegationConnectors_P_PWP_assert_A_Empty_Pattern_message_LiteralString90); + // OutputPin result + DelegationConnectors_P_PWP_assert_A_Empty_Pattern_message_result.SetName("result"); + DelegationConnectors_P_PWP_assert_A_Empty_Pattern_message_result.SetVisibility(VisibilityKind.public_); + DelegationConnectors_P_PWP_assert_A_Empty_Pattern_message_result.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_String); + DelegationConnectors_P_PWP_assert_A_Empty_Pattern_message.SetResult(DelegationConnectors_P_PWP_assert_A_Empty_Pattern_message_result); + DelegationConnectors_P_PWP_assert_A_Empty_Pattern.AddNode(DelegationConnectors_P_PWP_assert_A_Empty_Pattern_message); + // ActivityParameterNode a_Empty_Pattern_node + DelegationConnectors_P_PWP_assert_A_Empty_Pattern_a_Empty_Pattern_node.SetName("a_Empty_Pattern_node"); + DelegationConnectors_P_PWP_assert_A_Empty_Pattern_a_Empty_Pattern_node.SetVisibility(VisibilityKind.public_); + + DelegationConnectors_P_PWP_assert_A_Empty_Pattern_a_Empty_Pattern_node.SetParameter(DelegationConnectors_P_PWP_assert_A_Empty_Pattern_a_Empty_Pattern); + DelegationConnectors_P_PWP_assert_A_Empty_Pattern.AddNode(DelegationConnectors_P_PWP_assert_A_Empty_Pattern_a_Empty_Pattern_node); + // ObjectFlow ObjectFlow79 from result to value + DelegationConnectors_P_PWP_assert_A_Empty_Pattern_ObjectFlow79.SetName("ObjectFlow79"); + DelegationConnectors_P_PWP_assert_A_Empty_Pattern_ObjectFlow79.SetVisibility(VisibilityKind.public_); + + DelegationConnectors_P_PWP_assert_A_Empty_Pattern_ObjectFlow79.SetSource(DelegationConnectors_P_PWP_assert_A_Empty_Pattern_message_result); + DelegationConnectors_P_PWP_assert_A_Empty_Pattern_ObjectFlow79.SetTarget(DelegationConnectors_P_PWP_assert_A_Empty_Pattern_writeLine_value); + // LiteralBoolean LiteralBoolean81 + DelegationConnectors_P_PWP_assert_A_Empty_Pattern_ObjectFlow79_LiteralBoolean81.SetName("LiteralBoolean81"); + DelegationConnectors_P_PWP_assert_A_Empty_Pattern_ObjectFlow79_LiteralBoolean81.SetVisibility(VisibilityKind.public_); + DelegationConnectors_P_PWP_assert_A_Empty_Pattern_ObjectFlow79_LiteralBoolean81.SetValue(true); + DelegationConnectors_P_PWP_assert_A_Empty_Pattern_ObjectFlow79.SetGuard(DelegationConnectors_P_PWP_assert_A_Empty_Pattern_ObjectFlow79_LiteralBoolean81); + DelegationConnectors_P_PWP_assert_A_Empty_Pattern.AddEdge(DelegationConnectors_P_PWP_assert_A_Empty_Pattern_ObjectFlow79); + DelegationConnectors_P_PWP.AddPackagedElement(DelegationConnectors_P_PWP_assert_A_Empty_Pattern); + // Activity main + DelegationConnectors_P_PWP_main.SetName("main"); + DelegationConnectors_P_PWP_main.SetVisibility(VisibilityKind.public_); + // CallBehaviorAction assert_A_Unconnected_Pattern + DelegationConnectors_P_PWP_main_assert_A_Unconnected_Pattern.SetName("assert_A_Unconnected_Pattern"); + DelegationConnectors_P_PWP_main_assert_A_Unconnected_Pattern.SetVisibility(VisibilityKind.public_); + DelegationConnectors_P_PWP_main_assert_A_Unconnected_Pattern.SetBehavior(DelegationConnectors_P_PWP_assert_A_Unconnected_Pattern); + // InputPin a_Unconnected_Pattern + DelegationConnectors_P_PWP_main_assert_A_Unconnected_Pattern_a_Unconnected_Pattern.SetName("a_Unconnected_Pattern"); + DelegationConnectors_P_PWP_main_assert_A_Unconnected_Pattern_a_Unconnected_Pattern.SetVisibility(VisibilityKind.public_); + DelegationConnectors_P_PWP_main_assert_A_Unconnected_Pattern_a_Unconnected_Pattern.SetType(DelegationConnectors_P_PWP_A_Unconnected_Pattern); + DelegationConnectors_P_PWP_main_assert_A_Unconnected_Pattern.AddArgument(DelegationConnectors_P_PWP_main_assert_A_Unconnected_Pattern_a_Unconnected_Pattern); + DelegationConnectors_P_PWP_main.AddNode(DelegationConnectors_P_PWP_main_assert_A_Unconnected_Pattern); + // CallBehaviorAction assert_A_Star_Pattern + DelegationConnectors_P_PWP_main_assert_A_Star_Pattern.SetName("assert_A_Star_Pattern"); + DelegationConnectors_P_PWP_main_assert_A_Star_Pattern.SetVisibility(VisibilityKind.public_); + DelegationConnectors_P_PWP_main_assert_A_Star_Pattern.SetBehavior(DelegationConnectors_P_PWP_assert_A_Star_Pattern); + // InputPin a_Star_Pattern + DelegationConnectors_P_PWP_main_assert_A_Star_Pattern_a_Star_Pattern.SetName("a_Star_Pattern"); + DelegationConnectors_P_PWP_main_assert_A_Star_Pattern_a_Star_Pattern.SetVisibility(VisibilityKind.public_); + DelegationConnectors_P_PWP_main_assert_A_Star_Pattern_a_Star_Pattern.SetType(DelegationConnectors_P_PWP_A_Star_Pattern); + DelegationConnectors_P_PWP_main_assert_A_Star_Pattern.AddArgument(DelegationConnectors_P_PWP_main_assert_A_Star_Pattern_a_Star_Pattern); + DelegationConnectors_P_PWP_main.AddNode(DelegationConnectors_P_PWP_main_assert_A_Star_Pattern); + // CallBehaviorAction assert_A_Array_Pattern + DelegationConnectors_P_PWP_main_assert_A_Array_Pattern.SetName("assert_A_Array_Pattern"); + DelegationConnectors_P_PWP_main_assert_A_Array_Pattern.SetVisibility(VisibilityKind.public_); + DelegationConnectors_P_PWP_main_assert_A_Array_Pattern.SetBehavior(DelegationConnectors_P_PWP_assert_A_Array_Pattern); + // InputPin a_Array_Pattern + DelegationConnectors_P_PWP_main_assert_A_Array_Pattern_a_Array_Pattern.SetName("a_Array_Pattern"); + DelegationConnectors_P_PWP_main_assert_A_Array_Pattern_a_Array_Pattern.SetVisibility(VisibilityKind.public_); + DelegationConnectors_P_PWP_main_assert_A_Array_Pattern_a_Array_Pattern.SetType(DelegationConnectors_P_PWP_A_Array_Pattern); + DelegationConnectors_P_PWP_main_assert_A_Array_Pattern.AddArgument(DelegationConnectors_P_PWP_main_assert_A_Array_Pattern_a_Array_Pattern); + DelegationConnectors_P_PWP_main.AddNode(DelegationConnectors_P_PWP_main_assert_A_Array_Pattern); + // CallBehaviorAction instantiate_A_Empty_Pattern + DelegationConnectors_P_PWP_main_instantiate_A_Empty_Pattern.SetName("instantiate_A_Empty_Pattern"); + DelegationConnectors_P_PWP_main_instantiate_A_Empty_Pattern.SetVisibility(VisibilityKind.public_); + + // OutputPin a_Empty_Pattern + DelegationConnectors_P_PWP_main_instantiate_A_Empty_Pattern_a_Empty_Pattern.SetName("a_Empty_Pattern"); + DelegationConnectors_P_PWP_main_instantiate_A_Empty_Pattern_a_Empty_Pattern.SetVisibility(VisibilityKind.public_); + DelegationConnectors_P_PWP_main_instantiate_A_Empty_Pattern_a_Empty_Pattern.SetType(DelegationConnectors_P_PWP_A_Empty_Pattern); + DelegationConnectors_P_PWP_main_instantiate_A_Empty_Pattern.AddResult(DelegationConnectors_P_PWP_main_instantiate_A_Empty_Pattern_a_Empty_Pattern); + DelegationConnectors_P_PWP_main_instantiate_A_Empty_Pattern.SetBehavior(DelegationConnectors_P_PWP_instantiate_A_Empty_Pattern); + DelegationConnectors_P_PWP_main.AddNode(DelegationConnectors_P_PWP_main_instantiate_A_Empty_Pattern); + // CallBehaviorAction assert_A_Empty_Pattern + DelegationConnectors_P_PWP_main_assert_A_Empty_Pattern.SetName("assert_A_Empty_Pattern"); + DelegationConnectors_P_PWP_main_assert_A_Empty_Pattern.SetVisibility(VisibilityKind.public_); + DelegationConnectors_P_PWP_main_assert_A_Empty_Pattern.SetBehavior(DelegationConnectors_P_PWP_assert_A_Empty_Pattern); + // InputPin a_Empty_Pattern + DelegationConnectors_P_PWP_main_assert_A_Empty_Pattern_a_Empty_Pattern.SetName("a_Empty_Pattern"); + DelegationConnectors_P_PWP_main_assert_A_Empty_Pattern_a_Empty_Pattern.SetVisibility(VisibilityKind.public_); + DelegationConnectors_P_PWP_main_assert_A_Empty_Pattern_a_Empty_Pattern.SetType(DelegationConnectors_P_PWP_A_Empty_Pattern); + DelegationConnectors_P_PWP_main_assert_A_Empty_Pattern.AddArgument(DelegationConnectors_P_PWP_main_assert_A_Empty_Pattern_a_Empty_Pattern); + DelegationConnectors_P_PWP_main.AddNode(DelegationConnectors_P_PWP_main_assert_A_Empty_Pattern); + // CallBehaviorAction instantiate_A_Array_Pattern + DelegationConnectors_P_PWP_main_instantiate_A_Array_Pattern.SetName("instantiate_A_Array_Pattern"); + DelegationConnectors_P_PWP_main_instantiate_A_Array_Pattern.SetVisibility(VisibilityKind.public_); + + // OutputPin a_Array_Pattern + DelegationConnectors_P_PWP_main_instantiate_A_Array_Pattern_a_Array_Pattern.SetName("a_Array_Pattern"); + DelegationConnectors_P_PWP_main_instantiate_A_Array_Pattern_a_Array_Pattern.SetVisibility(VisibilityKind.public_); + DelegationConnectors_P_PWP_main_instantiate_A_Array_Pattern_a_Array_Pattern.SetType(DelegationConnectors_P_PWP_A_Array_Pattern); + DelegationConnectors_P_PWP_main_instantiate_A_Array_Pattern.AddResult(DelegationConnectors_P_PWP_main_instantiate_A_Array_Pattern_a_Array_Pattern); + DelegationConnectors_P_PWP_main_instantiate_A_Array_Pattern.SetBehavior(DelegationConnectors_P_PWP_instantiate_A_Array_Pattern); + DelegationConnectors_P_PWP_main.AddNode(DelegationConnectors_P_PWP_main_instantiate_A_Array_Pattern); + // CallBehaviorAction instantiate_A_Star_Pattern + DelegationConnectors_P_PWP_main_instantiate_A_Star_Pattern.SetName("instantiate_A_Star_Pattern"); + DelegationConnectors_P_PWP_main_instantiate_A_Star_Pattern.SetVisibility(VisibilityKind.public_); + + // OutputPin a_Star_Pattern + DelegationConnectors_P_PWP_main_instantiate_A_Star_Pattern_a_Star_Pattern.SetName("a_Star_Pattern"); + DelegationConnectors_P_PWP_main_instantiate_A_Star_Pattern_a_Star_Pattern.SetVisibility(VisibilityKind.public_); + DelegationConnectors_P_PWP_main_instantiate_A_Star_Pattern_a_Star_Pattern.SetType(DelegationConnectors_P_PWP_A_Star_Pattern); + DelegationConnectors_P_PWP_main_instantiate_A_Star_Pattern.AddResult(DelegationConnectors_P_PWP_main_instantiate_A_Star_Pattern_a_Star_Pattern); + DelegationConnectors_P_PWP_main_instantiate_A_Star_Pattern.SetBehavior(DelegationConnectors_P_PWP_instantiate_A_Star_Pattern); + DelegationConnectors_P_PWP_main.AddNode(DelegationConnectors_P_PWP_main_instantiate_A_Star_Pattern); + // CallBehaviorAction instantiate_A_Unconnected_Pattern + DelegationConnectors_P_PWP_main_instantiate_A_Unconnected_Pattern.SetName("instantiate_A_Unconnected_Pattern"); + DelegationConnectors_P_PWP_main_instantiate_A_Unconnected_Pattern.SetVisibility(VisibilityKind.public_); + + // OutputPin a_Unconnected_Pattern + DelegationConnectors_P_PWP_main_instantiate_A_Unconnected_Pattern_a_Unconnected_Pattern.SetName("a_Unconnected_Pattern"); + DelegationConnectors_P_PWP_main_instantiate_A_Unconnected_Pattern_a_Unconnected_Pattern.SetVisibility(VisibilityKind.public_); + DelegationConnectors_P_PWP_main_instantiate_A_Unconnected_Pattern_a_Unconnected_Pattern.SetType(DelegationConnectors_P_PWP_A_Unconnected_Pattern); + DelegationConnectors_P_PWP_main_instantiate_A_Unconnected_Pattern.AddResult(DelegationConnectors_P_PWP_main_instantiate_A_Unconnected_Pattern_a_Unconnected_Pattern); + DelegationConnectors_P_PWP_main_instantiate_A_Unconnected_Pattern.SetBehavior(DelegationConnectors_P_PWP_instantiate_A_Unconnected_Pattern); + DelegationConnectors_P_PWP_main.AddNode(DelegationConnectors_P_PWP_main_instantiate_A_Unconnected_Pattern); + // ObjectFlow ObjectFlow110 from a_Star_Pattern to a_Star_Pattern + DelegationConnectors_P_PWP_main_ObjectFlow110.SetName("ObjectFlow110"); + DelegationConnectors_P_PWP_main_ObjectFlow110.SetVisibility(VisibilityKind.public_); + + DelegationConnectors_P_PWP_main_ObjectFlow110.SetSource(DelegationConnectors_P_PWP_main_instantiate_A_Star_Pattern_a_Star_Pattern); + DelegationConnectors_P_PWP_main_ObjectFlow110.SetTarget(DelegationConnectors_P_PWP_main_assert_A_Star_Pattern_a_Star_Pattern); + // LiteralBoolean LiteralBoolean111 + DelegationConnectors_P_PWP_main_ObjectFlow110_LiteralBoolean111.SetName("LiteralBoolean111"); + DelegationConnectors_P_PWP_main_ObjectFlow110_LiteralBoolean111.SetVisibility(VisibilityKind.public_); + DelegationConnectors_P_PWP_main_ObjectFlow110_LiteralBoolean111.SetValue(true); + DelegationConnectors_P_PWP_main_ObjectFlow110.SetGuard(DelegationConnectors_P_PWP_main_ObjectFlow110_LiteralBoolean111); + DelegationConnectors_P_PWP_main.AddEdge(DelegationConnectors_P_PWP_main_ObjectFlow110); + // ObjectFlow ObjectFlow116 from a_Array_Pattern to a_Array_Pattern + DelegationConnectors_P_PWP_main_ObjectFlow116.SetName("ObjectFlow116"); + DelegationConnectors_P_PWP_main_ObjectFlow116.SetVisibility(VisibilityKind.public_); + + DelegationConnectors_P_PWP_main_ObjectFlow116.SetSource(DelegationConnectors_P_PWP_main_instantiate_A_Array_Pattern_a_Array_Pattern); + DelegationConnectors_P_PWP_main_ObjectFlow116.SetTarget(DelegationConnectors_P_PWP_main_assert_A_Array_Pattern_a_Array_Pattern); + // LiteralBoolean LiteralBoolean117 + DelegationConnectors_P_PWP_main_ObjectFlow116_LiteralBoolean117.SetName("LiteralBoolean117"); + DelegationConnectors_P_PWP_main_ObjectFlow116_LiteralBoolean117.SetVisibility(VisibilityKind.public_); + DelegationConnectors_P_PWP_main_ObjectFlow116_LiteralBoolean117.SetValue(true); + DelegationConnectors_P_PWP_main_ObjectFlow116.SetGuard(DelegationConnectors_P_PWP_main_ObjectFlow116_LiteralBoolean117); + DelegationConnectors_P_PWP_main.AddEdge(DelegationConnectors_P_PWP_main_ObjectFlow116); + // ObjectFlow ObjectFlow101 from a_Empty_Pattern to a_Empty_Pattern + DelegationConnectors_P_PWP_main_ObjectFlow101.SetName("ObjectFlow101"); + DelegationConnectors_P_PWP_main_ObjectFlow101.SetVisibility(VisibilityKind.public_); + + DelegationConnectors_P_PWP_main_ObjectFlow101.SetSource(DelegationConnectors_P_PWP_main_instantiate_A_Empty_Pattern_a_Empty_Pattern); + DelegationConnectors_P_PWP_main_ObjectFlow101.SetTarget(DelegationConnectors_P_PWP_main_assert_A_Empty_Pattern_a_Empty_Pattern); + // LiteralBoolean LiteralBoolean102 + DelegationConnectors_P_PWP_main_ObjectFlow101_LiteralBoolean102.SetName("LiteralBoolean102"); + DelegationConnectors_P_PWP_main_ObjectFlow101_LiteralBoolean102.SetVisibility(VisibilityKind.public_); + DelegationConnectors_P_PWP_main_ObjectFlow101_LiteralBoolean102.SetValue(true); + DelegationConnectors_P_PWP_main_ObjectFlow101.SetGuard(DelegationConnectors_P_PWP_main_ObjectFlow101_LiteralBoolean102); + DelegationConnectors_P_PWP_main.AddEdge(DelegationConnectors_P_PWP_main_ObjectFlow101); + // ObjectFlow ObjectFlow104 from a_Unconnected_Pattern to a_Unconnected_Pattern + DelegationConnectors_P_PWP_main_ObjectFlow104.SetName("ObjectFlow104"); + DelegationConnectors_P_PWP_main_ObjectFlow104.SetVisibility(VisibilityKind.public_); + + DelegationConnectors_P_PWP_main_ObjectFlow104.SetSource(DelegationConnectors_P_PWP_main_instantiate_A_Unconnected_Pattern_a_Unconnected_Pattern); + DelegationConnectors_P_PWP_main_ObjectFlow104.SetTarget(DelegationConnectors_P_PWP_main_assert_A_Unconnected_Pattern_a_Unconnected_Pattern); + // LiteralBoolean LiteralBoolean106 + DelegationConnectors_P_PWP_main_ObjectFlow104_LiteralBoolean106.SetName("LiteralBoolean106"); + DelegationConnectors_P_PWP_main_ObjectFlow104_LiteralBoolean106.SetVisibility(VisibilityKind.public_); + DelegationConnectors_P_PWP_main_ObjectFlow104_LiteralBoolean106.SetValue(true); + DelegationConnectors_P_PWP_main_ObjectFlow104.SetGuard(DelegationConnectors_P_PWP_main_ObjectFlow104_LiteralBoolean106); + DelegationConnectors_P_PWP_main.AddEdge(DelegationConnectors_P_PWP_main_ObjectFlow104); + // ControlFlow ControlFlow128 from assert_A_Array_Pattern to instantiate_A_Star_Pattern + DelegationConnectors_P_PWP_main_ControlFlow128.SetName("ControlFlow128"); + DelegationConnectors_P_PWP_main_ControlFlow128.SetVisibility(VisibilityKind.public_); + + DelegationConnectors_P_PWP_main_ControlFlow128.SetSource(DelegationConnectors_P_PWP_main_assert_A_Array_Pattern); + DelegationConnectors_P_PWP_main_ControlFlow128.SetTarget(DelegationConnectors_P_PWP_main_instantiate_A_Star_Pattern); + DelegationConnectors_P_PWP_main.AddEdge(DelegationConnectors_P_PWP_main_ControlFlow128); + // ControlFlow ControlFlow129 from assert_A_Unconnected_Pattern to instantiate_A_Array_Pattern + DelegationConnectors_P_PWP_main_ControlFlow129.SetName("ControlFlow129"); + DelegationConnectors_P_PWP_main_ControlFlow129.SetVisibility(VisibilityKind.public_); + + DelegationConnectors_P_PWP_main_ControlFlow129.SetSource(DelegationConnectors_P_PWP_main_assert_A_Unconnected_Pattern); + DelegationConnectors_P_PWP_main_ControlFlow129.SetTarget(DelegationConnectors_P_PWP_main_instantiate_A_Array_Pattern); + DelegationConnectors_P_PWP_main.AddEdge(DelegationConnectors_P_PWP_main_ControlFlow129); + // ControlFlow ControlFlow130 from assert_A_Empty_Pattern to instantiate_A_Unconnected_Pattern + DelegationConnectors_P_PWP_main_ControlFlow130.SetName("ControlFlow130"); + DelegationConnectors_P_PWP_main_ControlFlow130.SetVisibility(VisibilityKind.public_); + + DelegationConnectors_P_PWP_main_ControlFlow130.SetSource(DelegationConnectors_P_PWP_main_assert_A_Empty_Pattern); + DelegationConnectors_P_PWP_main_ControlFlow130.SetTarget(DelegationConnectors_P_PWP_main_instantiate_A_Unconnected_Pattern); + DelegationConnectors_P_PWP_main.AddEdge(DelegationConnectors_P_PWP_main_ControlFlow130); + DelegationConnectors_P_PWP.AddPackagedElement(DelegationConnectors_P_PWP_main); + // Class A_Unconnected_Pattern + DelegationConnectors_P_PWP_A_Unconnected_Pattern.SetName("A_Unconnected_Pattern"); + DelegationConnectors_P_PWP_A_Unconnected_Pattern.SetVisibility(VisibilityKind.public_); + + // Property b + DelegationConnectors_P_PWP_A_Unconnected_Pattern_b.SetName("b"); + DelegationConnectors_P_PWP_A_Unconnected_Pattern_b.SetVisibility(VisibilityKind.public_); + DelegationConnectors_P_PWP_A_Unconnected_Pattern_b.SetUpper(-1); + DelegationConnectors_P_PWP_A_Unconnected_Pattern_b.SetLower(2); + DelegationConnectors_P_PWP_A_Unconnected_Pattern_b.SetType(DelegationConnectors_P_PWP_B); + DelegationConnectors_P_PWP_A_Unconnected_Pattern_b.SetAggregation(AggregationKind.composite); + DelegationConnectors_P_PWP_A_Unconnected_Pattern.AddOwnedAttribute(DelegationConnectors_P_PWP_A_Unconnected_Pattern_b); + // Port p + DelegationConnectors_P_PWP_A_Unconnected_Pattern_p.SetName("p"); + DelegationConnectors_P_PWP_A_Unconnected_Pattern_p.SetVisibility(VisibilityKind.public_); + DelegationConnectors_P_PWP_A_Unconnected_Pattern_p.SetUpper(-1); + DelegationConnectors_P_PWP_A_Unconnected_Pattern_p.SetLower(3); + DelegationConnectors_P_PWP_A_Unconnected_Pattern_p.SetType(DelegationConnectors_P_PWP_IImpl); + DelegationConnectors_P_PWP_A_Unconnected_Pattern_p.SetAggregation(AggregationKind.composite); + DelegationConnectors_P_PWP_A_Unconnected_Pattern_p.isService = true; + DelegationConnectors_P_PWP_A_Unconnected_Pattern_p.AddProvided(DelegationConnectors_P_PWP_I); + DelegationConnectors_P_PWP_A_Unconnected_Pattern.AddOwnedAttribute(DelegationConnectors_P_PWP_A_Unconnected_Pattern_p); + + DelegationConnectors_P_PWP_A_Unconnected_Pattern_r.SetName("r"); + DelegationConnectors_P_PWP_A_Unconnected_Pattern_r.SetVisibility(VisibilityKind.public_); + DelegationConnectors_P_PWP_A_Unconnected_Pattern_r_ConnectorEnd138.SetUpper(-1); + DelegationConnectors_P_PWP_A_Unconnected_Pattern_r_ConnectorEnd138.SetLower(0); + DelegationConnectors_P_PWP_A_Unconnected_Pattern_r_ConnectorEnd138.SetRole(DelegationConnectors_P_PWP_A_Unconnected_Pattern_p); + + DelegationConnectors_P_PWP_A_Unconnected_Pattern_r.AddEnd(DelegationConnectors_P_PWP_A_Unconnected_Pattern_r_ConnectorEnd138); + DelegationConnectors_P_PWP_A_Unconnected_Pattern_r_ConnectorEnd135.SetUpper(-1); + DelegationConnectors_P_PWP_A_Unconnected_Pattern_r_ConnectorEnd135.SetLower(0); + DelegationConnectors_P_PWP_A_Unconnected_Pattern_r_ConnectorEnd135.SetRole(DelegationConnectors_P_PWP_B_q); + DelegationConnectors_P_PWP_A_Unconnected_Pattern_r_ConnectorEnd135.SetPartWithPort(DelegationConnectors_P_PWP_A_Unconnected_Pattern_b); + + DelegationConnectors_P_PWP_A_Unconnected_Pattern_r.AddEnd(DelegationConnectors_P_PWP_A_Unconnected_Pattern_r_ConnectorEnd135); + DelegationConnectors_P_PWP_A_Unconnected_Pattern_r.SetType(DelegationConnectors_P_PWP_R); + DelegationConnectors_P_PWP_A_Unconnected_Pattern.AddOwnedConnector(DelegationConnectors_P_PWP_A_Unconnected_Pattern_r); + // Operation A_Unconnected_Pattern_A_Unconnected_Pattern + DelegationConnectors_P_PWP_A_Unconnected_Pattern_A_Unconnected_Pattern_A_Unconnected_Pattern.SetName("A_Unconnected_Pattern_A_Unconnected_Pattern"); + DelegationConnectors_P_PWP_A_Unconnected_Pattern_A_Unconnected_Pattern_A_Unconnected_Pattern.SetVisibility(VisibilityKind.public_); + // Parameter result + DelegationConnectors_P_PWP_A_Unconnected_Pattern_A_Unconnected_Pattern_A_Unconnected_Pattern_result.SetName("result"); + DelegationConnectors_P_PWP_A_Unconnected_Pattern_A_Unconnected_Pattern_A_Unconnected_Pattern_result.SetVisibility(VisibilityKind.public_); + + DelegationConnectors_P_PWP_A_Unconnected_Pattern_A_Unconnected_Pattern_A_Unconnected_Pattern_result.SetType(DelegationConnectors_P_PWP_A_Unconnected_Pattern); + DelegationConnectors_P_PWP_A_Unconnected_Pattern_A_Unconnected_Pattern_A_Unconnected_Pattern_result.SetDirection(ParameterDirectionKind.return_); + DelegationConnectors_P_PWP_A_Unconnected_Pattern_A_Unconnected_Pattern_A_Unconnected_Pattern.AddOwnedParameter(DelegationConnectors_P_PWP_A_Unconnected_Pattern_A_Unconnected_Pattern_A_Unconnected_Pattern_result); + DelegationConnectors_P_PWP_A_Unconnected_Pattern_A_Unconnected_Pattern_A_Unconnected_Pattern.ApplyStereotype(uml.standardprofile.StandardProfileModel.Instance().Stereotype_Create); + DelegationConnectors_P_PWP_A_Unconnected_Pattern.AddOwnedOperation(DelegationConnectors_P_PWP_A_Unconnected_Pattern_A_Unconnected_Pattern_A_Unconnected_Pattern); + DelegationConnectors_P_PWP.AddPackagedElement(DelegationConnectors_P_PWP_A_Unconnected_Pattern); + // Activity instantiate_A_Star_Pattern + DelegationConnectors_P_PWP_instantiate_A_Star_Pattern.SetName("instantiate_A_Star_Pattern"); + DelegationConnectors_P_PWP_instantiate_A_Star_Pattern.SetVisibility(VisibilityKind.public_); + + // Parameter a_Star_Pattern + DelegationConnectors_P_PWP_instantiate_A_Star_Pattern_a_Star_Pattern.SetName("a_Star_Pattern"); + DelegationConnectors_P_PWP_instantiate_A_Star_Pattern_a_Star_Pattern.SetVisibility(VisibilityKind.public_); + + DelegationConnectors_P_PWP_instantiate_A_Star_Pattern_a_Star_Pattern.SetType(DelegationConnectors_P_PWP_A_Star_Pattern); + DelegationConnectors_P_PWP_instantiate_A_Star_Pattern_a_Star_Pattern.SetDirection(ParameterDirectionKind.return_); + DelegationConnectors_P_PWP_instantiate_A_Star_Pattern.AddOwnedParameter(DelegationConnectors_P_PWP_instantiate_A_Star_Pattern_a_Star_Pattern); + // CallOperationAction A_Star_Pattern() + DelegationConnectors_P_PWP_instantiate_A_Star_Pattern_A_Star_Pattern_.SetName("A_Star_Pattern()"); + DelegationConnectors_P_PWP_instantiate_A_Star_Pattern_A_Star_Pattern_.SetVisibility(VisibilityKind.public_); + + // OutputPin result + DelegationConnectors_P_PWP_instantiate_A_Star_Pattern_A_Star_Pattern__result.SetName("result"); + DelegationConnectors_P_PWP_instantiate_A_Star_Pattern_A_Star_Pattern__result.SetVisibility(VisibilityKind.public_); + DelegationConnectors_P_PWP_instantiate_A_Star_Pattern_A_Star_Pattern__result.SetType(DelegationConnectors_P_PWP_A_Star_Pattern); + DelegationConnectors_P_PWP_instantiate_A_Star_Pattern_A_Star_Pattern_.AddResult(DelegationConnectors_P_PWP_instantiate_A_Star_Pattern_A_Star_Pattern__result); + DelegationConnectors_P_PWP_instantiate_A_Star_Pattern_A_Star_Pattern_.SetOperation(DelegationConnectors_P_PWP_A_Star_Pattern_A_Star_Pattern_A_Star_Pattern); + // InputPin target + DelegationConnectors_P_PWP_instantiate_A_Star_Pattern_A_Star_Pattern__target.SetName("target"); + DelegationConnectors_P_PWP_instantiate_A_Star_Pattern_A_Star_Pattern__target.SetVisibility(VisibilityKind.public_); + DelegationConnectors_P_PWP_instantiate_A_Star_Pattern_A_Star_Pattern__target.SetType(DelegationConnectors_P_PWP_A_Star_Pattern); + DelegationConnectors_P_PWP_instantiate_A_Star_Pattern_A_Star_Pattern_.SetTarget(DelegationConnectors_P_PWP_instantiate_A_Star_Pattern_A_Star_Pattern__target); + DelegationConnectors_P_PWP_instantiate_A_Star_Pattern.AddNode(DelegationConnectors_P_PWP_instantiate_A_Star_Pattern_A_Star_Pattern_); + // CreateObjectAction Create A_Star_Pattern + DelegationConnectors_P_PWP_instantiate_A_Star_Pattern_Create_A_Star_Pattern.SetName("Create A_Star_Pattern"); + DelegationConnectors_P_PWP_instantiate_A_Star_Pattern_Create_A_Star_Pattern.SetVisibility(VisibilityKind.public_); + DelegationConnectors_P_PWP_instantiate_A_Star_Pattern_Create_A_Star_Pattern.SetClassifier(DelegationConnectors_P_PWP_A_Star_Pattern); + // OutputPin result + DelegationConnectors_P_PWP_instantiate_A_Star_Pattern_Create_A_Star_Pattern_result.SetName("result"); + DelegationConnectors_P_PWP_instantiate_A_Star_Pattern_Create_A_Star_Pattern_result.SetVisibility(VisibilityKind.public_); + DelegationConnectors_P_PWP_instantiate_A_Star_Pattern_Create_A_Star_Pattern_result.SetType(DelegationConnectors_P_PWP_A_Star_Pattern); + DelegationConnectors_P_PWP_instantiate_A_Star_Pattern_Create_A_Star_Pattern.SetResult(DelegationConnectors_P_PWP_instantiate_A_Star_Pattern_Create_A_Star_Pattern_result); + DelegationConnectors_P_PWP_instantiate_A_Star_Pattern.AddNode(DelegationConnectors_P_PWP_instantiate_A_Star_Pattern_Create_A_Star_Pattern); + // ActivityParameterNode a_Star_Pattern_node + DelegationConnectors_P_PWP_instantiate_A_Star_Pattern_a_Star_Pattern_node.SetName("a_Star_Pattern_node"); + DelegationConnectors_P_PWP_instantiate_A_Star_Pattern_a_Star_Pattern_node.SetVisibility(VisibilityKind.public_); + + DelegationConnectors_P_PWP_instantiate_A_Star_Pattern_a_Star_Pattern_node.SetParameter(DelegationConnectors_P_PWP_instantiate_A_Star_Pattern_a_Star_Pattern); + DelegationConnectors_P_PWP_instantiate_A_Star_Pattern.AddNode(DelegationConnectors_P_PWP_instantiate_A_Star_Pattern_a_Star_Pattern_node); + // ObjectFlow ObjectFlow147 from result to a_Star_Pattern_node + DelegationConnectors_P_PWP_instantiate_A_Star_Pattern_ObjectFlow147.SetName("ObjectFlow147"); + DelegationConnectors_P_PWP_instantiate_A_Star_Pattern_ObjectFlow147.SetVisibility(VisibilityKind.public_); + + DelegationConnectors_P_PWP_instantiate_A_Star_Pattern_ObjectFlow147.SetSource(DelegationConnectors_P_PWP_instantiate_A_Star_Pattern_A_Star_Pattern__result); + DelegationConnectors_P_PWP_instantiate_A_Star_Pattern_ObjectFlow147.SetTarget(DelegationConnectors_P_PWP_instantiate_A_Star_Pattern_a_Star_Pattern_node); + // LiteralBoolean LiteralBoolean148 + DelegationConnectors_P_PWP_instantiate_A_Star_Pattern_ObjectFlow147_LiteralBoolean148.SetName("LiteralBoolean148"); + DelegationConnectors_P_PWP_instantiate_A_Star_Pattern_ObjectFlow147_LiteralBoolean148.SetVisibility(VisibilityKind.public_); + DelegationConnectors_P_PWP_instantiate_A_Star_Pattern_ObjectFlow147_LiteralBoolean148.SetValue(true); + DelegationConnectors_P_PWP_instantiate_A_Star_Pattern_ObjectFlow147.SetGuard(DelegationConnectors_P_PWP_instantiate_A_Star_Pattern_ObjectFlow147_LiteralBoolean148); + DelegationConnectors_P_PWP_instantiate_A_Star_Pattern.AddEdge(DelegationConnectors_P_PWP_instantiate_A_Star_Pattern_ObjectFlow147); + // ObjectFlow ObjectFlow152 from result to target + DelegationConnectors_P_PWP_instantiate_A_Star_Pattern_ObjectFlow152.SetName("ObjectFlow152"); + DelegationConnectors_P_PWP_instantiate_A_Star_Pattern_ObjectFlow152.SetVisibility(VisibilityKind.public_); + + DelegationConnectors_P_PWP_instantiate_A_Star_Pattern_ObjectFlow152.SetSource(DelegationConnectors_P_PWP_instantiate_A_Star_Pattern_Create_A_Star_Pattern_result); + DelegationConnectors_P_PWP_instantiate_A_Star_Pattern_ObjectFlow152.SetTarget(DelegationConnectors_P_PWP_instantiate_A_Star_Pattern_A_Star_Pattern__target); + // LiteralBoolean LiteralBoolean154 + DelegationConnectors_P_PWP_instantiate_A_Star_Pattern_ObjectFlow152_LiteralBoolean154.SetName("LiteralBoolean154"); + DelegationConnectors_P_PWP_instantiate_A_Star_Pattern_ObjectFlow152_LiteralBoolean154.SetVisibility(VisibilityKind.public_); + DelegationConnectors_P_PWP_instantiate_A_Star_Pattern_ObjectFlow152_LiteralBoolean154.SetValue(true); + DelegationConnectors_P_PWP_instantiate_A_Star_Pattern_ObjectFlow152.SetGuard(DelegationConnectors_P_PWP_instantiate_A_Star_Pattern_ObjectFlow152_LiteralBoolean154); + DelegationConnectors_P_PWP_instantiate_A_Star_Pattern.AddEdge(DelegationConnectors_P_PWP_instantiate_A_Star_Pattern_ObjectFlow152); + DelegationConnectors_P_PWP.AddPackagedElement(DelegationConnectors_P_PWP_instantiate_A_Star_Pattern); + // Activity assert_A_Unconnected_Pattern + DelegationConnectors_P_PWP_assert_A_Unconnected_Pattern.SetName("assert_A_Unconnected_Pattern"); + DelegationConnectors_P_PWP_assert_A_Unconnected_Pattern.SetVisibility(VisibilityKind.public_); + + // Parameter a_Unconnected_Pattern + DelegationConnectors_P_PWP_assert_A_Unconnected_Pattern_a_Unconnected_Pattern.SetName("a_Unconnected_Pattern"); + DelegationConnectors_P_PWP_assert_A_Unconnected_Pattern_a_Unconnected_Pattern.SetVisibility(VisibilityKind.public_); + + DelegationConnectors_P_PWP_assert_A_Unconnected_Pattern_a_Unconnected_Pattern.SetType(DelegationConnectors_P_PWP_A_Unconnected_Pattern); + DelegationConnectors_P_PWP_assert_A_Unconnected_Pattern.AddOwnedParameter(DelegationConnectors_P_PWP_assert_A_Unconnected_Pattern_a_Unconnected_Pattern); + // ValueSpecificationAction message + DelegationConnectors_P_PWP_assert_A_Unconnected_Pattern_message.SetName("message"); + DelegationConnectors_P_PWP_assert_A_Unconnected_Pattern_message.SetVisibility(VisibilityKind.public_); + // LiteralString LiteralString155 + DelegationConnectors_P_PWP_assert_A_Unconnected_Pattern_message_LiteralString155.SetName("LiteralString155"); + DelegationConnectors_P_PWP_assert_A_Unconnected_Pattern_message_LiteralString155.SetVisibility(VisibilityKind.public_); + DelegationConnectors_P_PWP_assert_A_Unconnected_Pattern_message_LiteralString155.SetValue("Assertion currently not implemented for A_Unconnected_Pattern."); + DelegationConnectors_P_PWP_assert_A_Unconnected_Pattern_message.SetValue(DelegationConnectors_P_PWP_assert_A_Unconnected_Pattern_message_LiteralString155); + // OutputPin result + DelegationConnectors_P_PWP_assert_A_Unconnected_Pattern_message_result.SetName("result"); + DelegationConnectors_P_PWP_assert_A_Unconnected_Pattern_message_result.SetVisibility(VisibilityKind.public_); + DelegationConnectors_P_PWP_assert_A_Unconnected_Pattern_message_result.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_String); + DelegationConnectors_P_PWP_assert_A_Unconnected_Pattern_message.SetResult(DelegationConnectors_P_PWP_assert_A_Unconnected_Pattern_message_result); + DelegationConnectors_P_PWP_assert_A_Unconnected_Pattern.AddNode(DelegationConnectors_P_PWP_assert_A_Unconnected_Pattern_message); + // CallBehaviorAction writeLine + DelegationConnectors_P_PWP_assert_A_Unconnected_Pattern_writeLine.SetName("writeLine"); + DelegationConnectors_P_PWP_assert_A_Unconnected_Pattern_writeLine.SetVisibility(VisibilityKind.public_); + + // OutputPin errorStatus + DelegationConnectors_P_PWP_assert_A_Unconnected_Pattern_writeLine_errorStatus.SetName("errorStatus"); + DelegationConnectors_P_PWP_assert_A_Unconnected_Pattern_writeLine_errorStatus.SetVisibility(VisibilityKind.public_); + + DelegationConnectors_P_PWP_assert_A_Unconnected_Pattern_writeLine_errorStatus.SetLower(0); + DelegationConnectors_P_PWP_assert_A_Unconnected_Pattern_writeLine.AddResult(DelegationConnectors_P_PWP_assert_A_Unconnected_Pattern_writeLine_errorStatus); + DelegationConnectors_P_PWP_assert_A_Unconnected_Pattern_writeLine.SetBehavior(FoundationalModelLibraryModel.Instance().FoundationalModelLibrary_BasicInputOutput_WriteLine); + // InputPin value + DelegationConnectors_P_PWP_assert_A_Unconnected_Pattern_writeLine_value.SetName("value"); + DelegationConnectors_P_PWP_assert_A_Unconnected_Pattern_writeLine_value.SetVisibility(VisibilityKind.public_); + DelegationConnectors_P_PWP_assert_A_Unconnected_Pattern_writeLine_value.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_String); + DelegationConnectors_P_PWP_assert_A_Unconnected_Pattern_writeLine.AddArgument(DelegationConnectors_P_PWP_assert_A_Unconnected_Pattern_writeLine_value); + DelegationConnectors_P_PWP_assert_A_Unconnected_Pattern.AddNode(DelegationConnectors_P_PWP_assert_A_Unconnected_Pattern_writeLine); + // ActivityParameterNode a_Unconnected_Pattern_node + DelegationConnectors_P_PWP_assert_A_Unconnected_Pattern_a_Unconnected_Pattern_node.SetName("a_Unconnected_Pattern_node"); + DelegationConnectors_P_PWP_assert_A_Unconnected_Pattern_a_Unconnected_Pattern_node.SetVisibility(VisibilityKind.public_); + + DelegationConnectors_P_PWP_assert_A_Unconnected_Pattern_a_Unconnected_Pattern_node.SetParameter(DelegationConnectors_P_PWP_assert_A_Unconnected_Pattern_a_Unconnected_Pattern); + DelegationConnectors_P_PWP_assert_A_Unconnected_Pattern.AddNode(DelegationConnectors_P_PWP_assert_A_Unconnected_Pattern_a_Unconnected_Pattern_node); + // ObjectFlow ObjectFlow158 from result to value + DelegationConnectors_P_PWP_assert_A_Unconnected_Pattern_ObjectFlow158.SetName("ObjectFlow158"); + DelegationConnectors_P_PWP_assert_A_Unconnected_Pattern_ObjectFlow158.SetVisibility(VisibilityKind.public_); + + DelegationConnectors_P_PWP_assert_A_Unconnected_Pattern_ObjectFlow158.SetSource(DelegationConnectors_P_PWP_assert_A_Unconnected_Pattern_message_result); + DelegationConnectors_P_PWP_assert_A_Unconnected_Pattern_ObjectFlow158.SetTarget(DelegationConnectors_P_PWP_assert_A_Unconnected_Pattern_writeLine_value); + // LiteralBoolean LiteralBoolean159 + DelegationConnectors_P_PWP_assert_A_Unconnected_Pattern_ObjectFlow158_LiteralBoolean159.SetName("LiteralBoolean159"); + DelegationConnectors_P_PWP_assert_A_Unconnected_Pattern_ObjectFlow158_LiteralBoolean159.SetVisibility(VisibilityKind.public_); + DelegationConnectors_P_PWP_assert_A_Unconnected_Pattern_ObjectFlow158_LiteralBoolean159.SetValue(true); + DelegationConnectors_P_PWP_assert_A_Unconnected_Pattern_ObjectFlow158.SetGuard(DelegationConnectors_P_PWP_assert_A_Unconnected_Pattern_ObjectFlow158_LiteralBoolean159); + DelegationConnectors_P_PWP_assert_A_Unconnected_Pattern.AddEdge(DelegationConnectors_P_PWP_assert_A_Unconnected_Pattern_ObjectFlow158); + DelegationConnectors_P_PWP.AddPackagedElement(DelegationConnectors_P_PWP_assert_A_Unconnected_Pattern); + // Class A_Empty_Pattern + DelegationConnectors_P_PWP_A_Empty_Pattern.SetName("A_Empty_Pattern"); + DelegationConnectors_P_PWP_A_Empty_Pattern.SetVisibility(VisibilityKind.public_); + + // Property b + DelegationConnectors_P_PWP_A_Empty_Pattern_b.SetName("b"); + DelegationConnectors_P_PWP_A_Empty_Pattern_b.SetVisibility(VisibilityKind.public_); + DelegationConnectors_P_PWP_A_Empty_Pattern_b.SetUpper(-1); + DelegationConnectors_P_PWP_A_Empty_Pattern_b.SetLower(0); + DelegationConnectors_P_PWP_A_Empty_Pattern_b.SetType(DelegationConnectors_P_PWP_B); + DelegationConnectors_P_PWP_A_Empty_Pattern_b.SetAggregation(AggregationKind.composite); + DelegationConnectors_P_PWP_A_Empty_Pattern.AddOwnedAttribute(DelegationConnectors_P_PWP_A_Empty_Pattern_b); + // Port p + DelegationConnectors_P_PWP_A_Empty_Pattern_p.SetName("p"); + DelegationConnectors_P_PWP_A_Empty_Pattern_p.SetVisibility(VisibilityKind.public_); + DelegationConnectors_P_PWP_A_Empty_Pattern_p.SetUpper(-1); + DelegationConnectors_P_PWP_A_Empty_Pattern_p.SetLower(0); + DelegationConnectors_P_PWP_A_Empty_Pattern_p.SetType(DelegationConnectors_P_PWP_IImpl); + DelegationConnectors_P_PWP_A_Empty_Pattern_p.SetAggregation(AggregationKind.composite); + DelegationConnectors_P_PWP_A_Empty_Pattern_p.isService = true; + DelegationConnectors_P_PWP_A_Empty_Pattern_p.AddProvided(DelegationConnectors_P_PWP_I); + DelegationConnectors_P_PWP_A_Empty_Pattern.AddOwnedAttribute(DelegationConnectors_P_PWP_A_Empty_Pattern_p); + + DelegationConnectors_P_PWP_A_Empty_Pattern_r.SetName("r"); + DelegationConnectors_P_PWP_A_Empty_Pattern_r.SetVisibility(VisibilityKind.public_); + DelegationConnectors_P_PWP_A_Empty_Pattern_r_ConnectorEnd175.SetUpper(-1); + DelegationConnectors_P_PWP_A_Empty_Pattern_r_ConnectorEnd175.SetRole(DelegationConnectors_P_PWP_A_Empty_Pattern_p); + + DelegationConnectors_P_PWP_A_Empty_Pattern_r.AddEnd(DelegationConnectors_P_PWP_A_Empty_Pattern_r_ConnectorEnd175); + DelegationConnectors_P_PWP_A_Empty_Pattern_r_ConnectorEnd173.SetUpper(-1); + DelegationConnectors_P_PWP_A_Empty_Pattern_r_ConnectorEnd173.SetRole(DelegationConnectors_P_PWP_B_q); + DelegationConnectors_P_PWP_A_Empty_Pattern_r_ConnectorEnd173.SetPartWithPort(DelegationConnectors_P_PWP_A_Empty_Pattern_b); + + DelegationConnectors_P_PWP_A_Empty_Pattern_r.AddEnd(DelegationConnectors_P_PWP_A_Empty_Pattern_r_ConnectorEnd173); + DelegationConnectors_P_PWP_A_Empty_Pattern_r.SetType(DelegationConnectors_P_PWP_R); + DelegationConnectors_P_PWP_A_Empty_Pattern.AddOwnedConnector(DelegationConnectors_P_PWP_A_Empty_Pattern_r); + // Operation A_Empty_Pattern_A_Empty_Pattern + DelegationConnectors_P_PWP_A_Empty_Pattern_A_Empty_Pattern_A_Empty_Pattern.SetName("A_Empty_Pattern_A_Empty_Pattern"); + DelegationConnectors_P_PWP_A_Empty_Pattern_A_Empty_Pattern_A_Empty_Pattern.SetVisibility(VisibilityKind.public_); + // Parameter result + DelegationConnectors_P_PWP_A_Empty_Pattern_A_Empty_Pattern_A_Empty_Pattern_result.SetName("result"); + DelegationConnectors_P_PWP_A_Empty_Pattern_A_Empty_Pattern_A_Empty_Pattern_result.SetVisibility(VisibilityKind.public_); + + DelegationConnectors_P_PWP_A_Empty_Pattern_A_Empty_Pattern_A_Empty_Pattern_result.SetType(DelegationConnectors_P_PWP_A_Empty_Pattern); + DelegationConnectors_P_PWP_A_Empty_Pattern_A_Empty_Pattern_A_Empty_Pattern_result.SetDirection(ParameterDirectionKind.return_); + DelegationConnectors_P_PWP_A_Empty_Pattern_A_Empty_Pattern_A_Empty_Pattern.AddOwnedParameter(DelegationConnectors_P_PWP_A_Empty_Pattern_A_Empty_Pattern_A_Empty_Pattern_result); + DelegationConnectors_P_PWP_A_Empty_Pattern_A_Empty_Pattern_A_Empty_Pattern.ApplyStereotype(uml.standardprofile.StandardProfileModel.Instance().Stereotype_Create); + DelegationConnectors_P_PWP_A_Empty_Pattern.AddOwnedOperation(DelegationConnectors_P_PWP_A_Empty_Pattern_A_Empty_Pattern_A_Empty_Pattern); + DelegationConnectors_P_PWP.AddPackagedElement(DelegationConnectors_P_PWP_A_Empty_Pattern); + // Activity assert_A_Star_Pattern + DelegationConnectors_P_PWP_assert_A_Star_Pattern.SetName("assert_A_Star_Pattern"); + DelegationConnectors_P_PWP_assert_A_Star_Pattern.SetVisibility(VisibilityKind.public_); + + // Parameter a_Star_Pattern + DelegationConnectors_P_PWP_assert_A_Star_Pattern_a_Star_Pattern.SetName("a_Star_Pattern"); + DelegationConnectors_P_PWP_assert_A_Star_Pattern_a_Star_Pattern.SetVisibility(VisibilityKind.public_); + + DelegationConnectors_P_PWP_assert_A_Star_Pattern_a_Star_Pattern.SetType(DelegationConnectors_P_PWP_A_Star_Pattern); + DelegationConnectors_P_PWP_assert_A_Star_Pattern.AddOwnedParameter(DelegationConnectors_P_PWP_assert_A_Star_Pattern_a_Star_Pattern); + // ActivityParameterNode a_Star_Pattern_node + DelegationConnectors_P_PWP_assert_A_Star_Pattern_a_Star_Pattern_node.SetName("a_Star_Pattern_node"); + DelegationConnectors_P_PWP_assert_A_Star_Pattern_a_Star_Pattern_node.SetVisibility(VisibilityKind.public_); + + DelegationConnectors_P_PWP_assert_A_Star_Pattern_a_Star_Pattern_node.SetParameter(DelegationConnectors_P_PWP_assert_A_Star_Pattern_a_Star_Pattern); + DelegationConnectors_P_PWP_assert_A_Star_Pattern.AddNode(DelegationConnectors_P_PWP_assert_A_Star_Pattern_a_Star_Pattern_node); + // ValueSpecificationAction message + DelegationConnectors_P_PWP_assert_A_Star_Pattern_message.SetName("message"); + DelegationConnectors_P_PWP_assert_A_Star_Pattern_message.SetVisibility(VisibilityKind.public_); + // LiteralString LiteralString178 + DelegationConnectors_P_PWP_assert_A_Star_Pattern_message_LiteralString178.SetName("LiteralString178"); + DelegationConnectors_P_PWP_assert_A_Star_Pattern_message_LiteralString178.SetVisibility(VisibilityKind.public_); + DelegationConnectors_P_PWP_assert_A_Star_Pattern_message_LiteralString178.SetValue("Assertion currently not implemented for A_Star_Pattern."); + DelegationConnectors_P_PWP_assert_A_Star_Pattern_message.SetValue(DelegationConnectors_P_PWP_assert_A_Star_Pattern_message_LiteralString178); + // OutputPin result + DelegationConnectors_P_PWP_assert_A_Star_Pattern_message_result.SetName("result"); + DelegationConnectors_P_PWP_assert_A_Star_Pattern_message_result.SetVisibility(VisibilityKind.public_); + DelegationConnectors_P_PWP_assert_A_Star_Pattern_message_result.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_String); + DelegationConnectors_P_PWP_assert_A_Star_Pattern_message.SetResult(DelegationConnectors_P_PWP_assert_A_Star_Pattern_message_result); + DelegationConnectors_P_PWP_assert_A_Star_Pattern.AddNode(DelegationConnectors_P_PWP_assert_A_Star_Pattern_message); + // CallBehaviorAction writeLine + DelegationConnectors_P_PWP_assert_A_Star_Pattern_writeLine.SetName("writeLine"); + DelegationConnectors_P_PWP_assert_A_Star_Pattern_writeLine.SetVisibility(VisibilityKind.public_); + + // OutputPin errorStatus + DelegationConnectors_P_PWP_assert_A_Star_Pattern_writeLine_errorStatus.SetName("errorStatus"); + DelegationConnectors_P_PWP_assert_A_Star_Pattern_writeLine_errorStatus.SetVisibility(VisibilityKind.public_); + + DelegationConnectors_P_PWP_assert_A_Star_Pattern_writeLine_errorStatus.SetLower(0); + DelegationConnectors_P_PWP_assert_A_Star_Pattern_writeLine.AddResult(DelegationConnectors_P_PWP_assert_A_Star_Pattern_writeLine_errorStatus); + DelegationConnectors_P_PWP_assert_A_Star_Pattern_writeLine.SetBehavior(FoundationalModelLibraryModel.Instance().FoundationalModelLibrary_BasicInputOutput_WriteLine); + // InputPin value + DelegationConnectors_P_PWP_assert_A_Star_Pattern_writeLine_value.SetName("value"); + DelegationConnectors_P_PWP_assert_A_Star_Pattern_writeLine_value.SetVisibility(VisibilityKind.public_); + DelegationConnectors_P_PWP_assert_A_Star_Pattern_writeLine_value.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_String); + DelegationConnectors_P_PWP_assert_A_Star_Pattern_writeLine.AddArgument(DelegationConnectors_P_PWP_assert_A_Star_Pattern_writeLine_value); + DelegationConnectors_P_PWP_assert_A_Star_Pattern.AddNode(DelegationConnectors_P_PWP_assert_A_Star_Pattern_writeLine); + // ObjectFlow ObjectFlow187 from result to value + DelegationConnectors_P_PWP_assert_A_Star_Pattern_ObjectFlow187.SetName("ObjectFlow187"); + DelegationConnectors_P_PWP_assert_A_Star_Pattern_ObjectFlow187.SetVisibility(VisibilityKind.public_); + + DelegationConnectors_P_PWP_assert_A_Star_Pattern_ObjectFlow187.SetSource(DelegationConnectors_P_PWP_assert_A_Star_Pattern_message_result); + DelegationConnectors_P_PWP_assert_A_Star_Pattern_ObjectFlow187.SetTarget(DelegationConnectors_P_PWP_assert_A_Star_Pattern_writeLine_value); + // LiteralBoolean LiteralBoolean189 + DelegationConnectors_P_PWP_assert_A_Star_Pattern_ObjectFlow187_LiteralBoolean189.SetName("LiteralBoolean189"); + DelegationConnectors_P_PWP_assert_A_Star_Pattern_ObjectFlow187_LiteralBoolean189.SetVisibility(VisibilityKind.public_); + DelegationConnectors_P_PWP_assert_A_Star_Pattern_ObjectFlow187_LiteralBoolean189.SetValue(true); + DelegationConnectors_P_PWP_assert_A_Star_Pattern_ObjectFlow187.SetGuard(DelegationConnectors_P_PWP_assert_A_Star_Pattern_ObjectFlow187_LiteralBoolean189); + DelegationConnectors_P_PWP_assert_A_Star_Pattern.AddEdge(DelegationConnectors_P_PWP_assert_A_Star_Pattern_ObjectFlow187); + DelegationConnectors_P_PWP.AddPackagedElement(DelegationConnectors_P_PWP_assert_A_Star_Pattern); + } + + /* Start of user code : User-defined members + * This section may be used for user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } // DelegationConnectors_P_PWPModel +} diff --git a/fUML-CSharp/tests/pscs-Tests/01_Instantiation/08_Hierarchy/.gitignore b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/08_Hierarchy/.gitignore new file mode 100644 index 0000000..1736844 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/08_Hierarchy/.gitignore @@ -0,0 +1,3 @@ +/.vs/ +/bin/ +/obj/ diff --git a/fUML-CSharp/tests/pscs-Tests/01_Instantiation/08_Hierarchy/Hierarchy.csproj b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/08_Hierarchy/Hierarchy.csproj new file mode 100644 index 0000000..fbb4a68 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/08_Hierarchy/Hierarchy.csproj @@ -0,0 +1,50 @@ + + + + Exe + net6.0 + enable + enable + + + + Hierarchy.Debug + + + Hierarchy.Release + + + + + ..\..\..\..\uml\bin\Debug\net6.0\uml.Debug.dll + + + + + ..\..\..\..\uml\bin\Release\net6.0\uml.Release.dll + + + + + + ..\..\..\..\fuml\bin\Debug\net6.0\fuml.Debug.dll + + + + + ..\..\..\..\fuml\bin\Release\net6.0\fuml.Release.dll + + + + + + ..\..\..\..\pscs\bin\Debug\net6.0\pscs.Debug.dll + + + + + ..\..\..\..\pscs\bin\Release\net6.0\pscs.Release.dll + + + + diff --git a/fUML-CSharp/tests/pscs-Tests/01_Instantiation/08_Hierarchy/Hierarchy.sln b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/08_Hierarchy/Hierarchy.sln new file mode 100644 index 0000000..41a9af8 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/08_Hierarchy/Hierarchy.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.32112.339 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Hierarchy", "Hierarchy.csproj", "{94942E05-CAB7-4AC1-B0F5-9DEB1FD360AE}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {94942E05-CAB7-4AC1-B0F5-9DEB1FD360AE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {94942E05-CAB7-4AC1-B0F5-9DEB1FD360AE}.Debug|Any CPU.Build.0 = Debug|Any CPU + {94942E05-CAB7-4AC1-B0F5-9DEB1FD360AE}.Release|Any CPU.ActiveCfg = Release|Any CPU + {94942E05-CAB7-4AC1-B0F5-9DEB1FD360AE}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {BEE3D860-2DB1-4071-A199-A0BCFA93CEA7} + EndGlobalSection +EndGlobal diff --git a/fUML-CSharp/tests/pscs-Tests/01_Instantiation/08_Hierarchy/model/Hierarchy.di b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/08_Hierarchy/model/Hierarchy.di new file mode 100644 index 0000000..8c549ee --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/08_Hierarchy/model/Hierarchy.di @@ -0,0 +1,2 @@ + + diff --git a/fUML-CSharp/tests/pscs-Tests/01_Instantiation/08_Hierarchy/model/Hierarchy.notation b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/08_Hierarchy/model/Hierarchy.notation new file mode 100644 index 0000000..f7189f0 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/08_Hierarchy/model/Hierarchy.notation @@ -0,0 +1,1700 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ + + +
+ + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+ + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + +
+
+ + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/fUML-CSharp/tests/pscs-Tests/01_Instantiation/08_Hierarchy/model/Hierarchy.uml b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/08_Hierarchy/model/Hierarchy.uml new file mode 100644 index 0000000..42599e4 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/08_Hierarchy/model/Hierarchy.uml @@ -0,0 +1,452 @@ + + + + + This test case addresses instantiation a composite structure with multiple hierarchy levels. + + + + This test case addresses instantiation of default values for properties typed by primitive types and enumerations. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + C# + Using + string parameterName = inputParameters.ElementAt(0).parameter!.name; + // Test parameter listSize + int listSize = ((IntegerValue)inputParameters.ElementAt(0).values.ElementAt(0)).value; + Debug.Println("[doBody] argument " + parameterName + " = " + listSize); + + Console.Write("Part is empty: "); + + if(listSize == 0) + { + Console.ForegroundColor = ConsoleColor.Green; + Console.WriteLine("Assertion successful."); + } + else + { + Console.ForegroundColor = ConsoleColor.Red; + Console.WriteLine("Assertion failed!"); + } + Console.ResetColor(); + using fuml.semantics.simpleclassifiers; + + + + + + C# + Using + string parameterName = inputParameters.ElementAt(0).parameter!.name; + // Test parameter listSize + int listSize = ((IntegerValue)inputParameters.ElementAt(0).values.ElementAt(0)).value; + Debug.Println("[doBody] argument " + parameterName + " = " + listSize); + + Console.Write("Part is not empty: "); + + if(listSize > 0) + { + Console.ForegroundColor = ConsoleColor.Green; + Console.WriteLine("Assertion successful."); + } + else + { + Console.ForegroundColor = ConsoleColor.Red; + Console.WriteLine("Assertion failed!"); + } + Console.ResetColor(); + using fuml.semantics.simpleclassifiers; + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/fUML-CSharp/tests/pscs-Tests/01_Instantiation/08_Hierarchy/src/Hierarchy.cs b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/08_Hierarchy/src/Hierarchy.cs new file mode 100644 index 0000000..d832252 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/08_Hierarchy/src/Hierarchy.cs @@ -0,0 +1,31 @@ +namespace Hierarchy +{ + internal class Hierarchy + { + static void PrintUsage() + { + Console.WriteLine( + "=============================================================================================\n" + + "USAGE: [ <...>]\n" + + "=============================================================================================\n" + ); + } + + static int Main(string[] args) + { + if(args.Length == 0) + { + Console.WriteLine("[ERROR] Must declare at least one behavior name.\n"); + PrintUsage(); + return -1; + } + + foreach (string arg in args) + { + HierarchyEnvironment.Instance().Execute(arg); + } + + return 0; + } + } +} diff --git a/fUML-CSharp/tests/pscs-Tests/01_Instantiation/08_Hierarchy/src/HierarchyEnvironment.cs b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/08_Hierarchy/src/HierarchyEnvironment.cs new file mode 100644 index 0000000..e215793 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/08_Hierarchy/src/HierarchyEnvironment.cs @@ -0,0 +1,94 @@ +/* + * HierarchyEnvironment.cs + * + * Auto-generated file + */ + +/* Start of user code : User-defined using directives + * This section may be used for using directives. + * It will not be overwritten by future generation processes. + */ + +/* + * End of user code + */ + +namespace Hierarchy +{ + public class HierarchyEnvironment : pscs.environment.Environment + { + private static HierarchyEnvironment? instance; + + public static HierarchyEnvironment Instance() + { + if(instance is null) + { + instance = new(); + instance.inMemoryModel = HierarchyModel.Instance(); + } + + return instance; + } + + public HierarchyEnvironment() + { + /* + * Create custom opaque behavior execution instances and add them to the execution environment. + */ + AddPrimitiveBehaviorPrototype(new testNonEmptyListExecution()); + AddPrimitiveBehaviorPrototype(new testEmptyListExecution()); + + /* Start of user code : Additional environment initializations + * This section may be used to do any additional environment initialization, + * for example initializing user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } + + public override void Execute(string behaviorName) + { + /* Start of user code : Context and inputs initializations + * This section may be used to initialize the execution context + * as well as input parameter values if required. + * It will not be overwritten by future generation processes. + */ + + //context = ...; + //inputs = ...; + + /* + * End of user code + */ + + /* + * Start execution via base class call + */ + base.Execute(behaviorName); + + /* Start of user code : Outputs evaluation + * This section may be used to evaluate output parameter values if required. + * It will not be overwritten by future generation processes. + */ + + //List theOutputs = outputs; + //... + + /* + * End of user code + */ + } + + /* Start of user code : User-defined members + * This section may be used for user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } // HierarchyEnvironment +} diff --git a/fUML-CSharp/tests/pscs-Tests/01_Instantiation/08_Hierarchy/src/HierarchyModel.cs b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/08_Hierarchy/src/HierarchyModel.cs new file mode 100644 index 0000000..1be347d --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/08_Hierarchy/src/HierarchyModel.cs @@ -0,0 +1,1449 @@ +/* + * HierarchyModel.cs + * + * Auto-generated file + */ + +using uml.actions; +using uml.packages; +using uml.structuredclassifiers; +using fuml.primitivetypes; +using uml.classification; +using fuml.library; +using uml.commonbehavior; +using uml.simpleclassifiers; +using uml.commonstructure; +using uml.values; +using uml.activities; +using uml.environment; + + +/* Start of user code : User-defined includes and forward declarations + * This section may be used for includes and forward declarations. + * It will not be overwritten by future generation processes. + */ + +/* + * End of user code + */ + +namespace Hierarchy +{ + public class HierarchyModel : InMemoryModel + { + private static HierarchyModel? instance; + + /* + * Model Hierarchy + */ + public Package Hierarchy = new(); + public Activity Hierarchy_instantiate_A = new(); + public CallOperationAction Hierarchy_instantiate_A_A_ = new(); + public OutputPin Hierarchy_instantiate_A_A__result = new(); + public LiteralUnlimitedNatural Hierarchy_instantiate_A_A__result_LiteralUnlimitedNatural0 = new(); + public LiteralInteger Hierarchy_instantiate_A_A__result_LiteralInteger1 = new(); + public LiteralInteger Hierarchy_instantiate_A_A__result_LiteralInteger2 = new(); + public InputPin Hierarchy_instantiate_A_A__target = new(); + public LiteralUnlimitedNatural Hierarchy_instantiate_A_A__target_LiteralUnlimitedNatural3 = new(); + public LiteralInteger Hierarchy_instantiate_A_A__target_LiteralInteger4 = new(); + public ObjectFlow Hierarchy_instantiate_A_ObjectFlow5 = new(); + public LiteralInteger Hierarchy_instantiate_A_ObjectFlow5_LiteralInteger6 = new(); + public LiteralBoolean Hierarchy_instantiate_A_ObjectFlow5_LiteralBoolean7 = new(); + public ActivityParameterNode Hierarchy_instantiate_A_a_node = new(); + public LiteralInteger Hierarchy_instantiate_A_a_node_LiteralInteger8 = new(); + public CreateObjectAction Hierarchy_instantiate_A_Create_A = new(); + public OutputPin Hierarchy_instantiate_A_Create_A_result = new(); + public LiteralUnlimitedNatural Hierarchy_instantiate_A_Create_A_result_LiteralUnlimitedNatural9 = new(); + public LiteralInteger Hierarchy_instantiate_A_Create_A_result_LiteralInteger10 = new(); + public Parameter Hierarchy_instantiate_A_a = new(); + public ObjectFlow Hierarchy_instantiate_A_ObjectFlow11 = new(); + public LiteralInteger Hierarchy_instantiate_A_ObjectFlow11_LiteralInteger12 = new(); + public LiteralBoolean Hierarchy_instantiate_A_ObjectFlow11_LiteralBoolean13 = new(); + public Activity Hierarchy_assert_A = new(); + public OpaqueBehavior Hierarchy_assert_A_testNonEmptyList = new(); + public Parameter Hierarchy_assert_A_testNonEmptyList_listSize = new(); + public CallBehaviorAction Hierarchy_assert_A_Test_a_b_c_d_e_size = new(); + public InputPin Hierarchy_assert_A_Test_a_b_c_d_e_size_listSize = new(); + public LiteralUnlimitedNatural Hierarchy_assert_A_Test_a_b_c_d_e_size_listSize_LiteralUnlimitedNatural14 = new(); + public LiteralInteger Hierarchy_assert_A_Test_a_b_c_d_e_size_listSize_LiteralInteger15 = new(); + public LiteralInteger Hierarchy_assert_A_Test_a_b_c_d_e_size_listSize_LiteralInteger16 = new(); + public ObjectFlow Hierarchy_assert_A_ObjectFlow17 = new(); + public LiteralBoolean Hierarchy_assert_A_ObjectFlow17_LiteralBoolean18 = new(); + public LiteralInteger Hierarchy_assert_A_ObjectFlow17_LiteralInteger19 = new(); + public ReadStructuralFeatureAction Hierarchy_assert_A_Read_a_b_c_d = new(); + public InputPin Hierarchy_assert_A_Read_a_b_c_d_object = new(); + public LiteralInteger Hierarchy_assert_A_Read_a_b_c_d_object_LiteralInteger20 = new(); + public LiteralUnlimitedNatural Hierarchy_assert_A_Read_a_b_c_d_object_LiteralUnlimitedNatural21 = new(); + public OutputPin Hierarchy_assert_A_Read_a_b_c_d_result = new(); + public LiteralUnlimitedNatural Hierarchy_assert_A_Read_a_b_c_d_result_LiteralUnlimitedNatural22 = new(); + public LiteralInteger Hierarchy_assert_A_Read_a_b_c_d_result_LiteralInteger23 = new(); + public ForkNode Hierarchy_assert_A_Fork_a_b_c_d = new(); + public ValueSpecificationAction Hierarchy_assert_A_String_a_b_c_d_e_size = new(); + public LiteralString Hierarchy_assert_A_String_a_b_c_d_e_size_LiteralString24 = new(); + public OutputPin Hierarchy_assert_A_String_a_b_c_d_e_size_result = new(); + public LiteralInteger Hierarchy_assert_A_String_a_b_c_d_e_size_result_LiteralInteger25 = new(); + public LiteralUnlimitedNatural Hierarchy_assert_A_String_a_b_c_d_e_size_result_LiteralUnlimitedNatural26 = new(); + public CallBehaviorAction Hierarchy_assert_A_a_b_c_d_e_size_ = new(); + public InputPin Hierarchy_assert_A_a_b_c_d_e_size__list = new(); + public LiteralUnlimitedNatural Hierarchy_assert_A_a_b_c_d_e_size__list_LiteralUnlimitedNatural27 = new(); + public LiteralInteger Hierarchy_assert_A_a_b_c_d_e_size__list_LiteralInteger28 = new(); + public LiteralInteger Hierarchy_assert_A_a_b_c_d_e_size__list_LiteralInteger29 = new(); + public OutputPin Hierarchy_assert_A_a_b_c_d_e_size__result = new(); + public LiteralUnlimitedNatural Hierarchy_assert_A_a_b_c_d_e_size__result_LiteralUnlimitedNatural30 = new(); + public LiteralInteger Hierarchy_assert_A_a_b_c_d_e_size__result_LiteralInteger31 = new(); + public LiteralInteger Hierarchy_assert_A_a_b_c_d_e_size__result_LiteralInteger32 = new(); + public ObjectFlow Hierarchy_assert_A_ObjectFlow33 = new(); + public LiteralBoolean Hierarchy_assert_A_ObjectFlow33_LiteralBoolean34 = new(); + public LiteralInteger Hierarchy_assert_A_ObjectFlow33_LiteralInteger35 = new(); + public CallBehaviorAction Hierarchy_assert_A_WriteLine_a_b_c = new(); + public OutputPin Hierarchy_assert_A_WriteLine_a_b_c_errorStatus = new(); + public LiteralInteger Hierarchy_assert_A_WriteLine_a_b_c_errorStatus_LiteralInteger36 = new(); + public LiteralInteger Hierarchy_assert_A_WriteLine_a_b_c_errorStatus_LiteralInteger37 = new(); + public LiteralUnlimitedNatural Hierarchy_assert_A_WriteLine_a_b_c_errorStatus_LiteralUnlimitedNatural38 = new(); + public InputPin Hierarchy_assert_A_WriteLine_a_b_c_value = new(); + public LiteralUnlimitedNatural Hierarchy_assert_A_WriteLine_a_b_c_value_LiteralUnlimitedNatural39 = new(); + public LiteralInteger Hierarchy_assert_A_WriteLine_a_b_c_value_LiteralInteger40 = new(); + public LiteralInteger Hierarchy_assert_A_WriteLine_a_b_c_value_LiteralInteger41 = new(); + public ControlFlow Hierarchy_assert_A_ControlFlow42 = new(); + public ForkNode Hierarchy_assert_A_Fork_a_b_c = new(); + public CallBehaviorAction Hierarchy_assert_A_WriteLine_a_b_c_d_e = new(); + public OutputPin Hierarchy_assert_A_WriteLine_a_b_c_d_e_errorStatus = new(); + public LiteralUnlimitedNatural Hierarchy_assert_A_WriteLine_a_b_c_d_e_errorStatus_LiteralUnlimitedNatural43 = new(); + public LiteralInteger Hierarchy_assert_A_WriteLine_a_b_c_d_e_errorStatus_LiteralInteger44 = new(); + public LiteralInteger Hierarchy_assert_A_WriteLine_a_b_c_d_e_errorStatus_LiteralInteger45 = new(); + public InputPin Hierarchy_assert_A_WriteLine_a_b_c_d_e_value = new(); + public LiteralUnlimitedNatural Hierarchy_assert_A_WriteLine_a_b_c_d_e_value_LiteralUnlimitedNatural46 = new(); + public LiteralInteger Hierarchy_assert_A_WriteLine_a_b_c_d_e_value_LiteralInteger47 = new(); + public LiteralInteger Hierarchy_assert_A_WriteLine_a_b_c_d_e_value_LiteralInteger48 = new(); + public CallBehaviorAction Hierarchy_assert_A_a_b_c_d_size_ = new(); + public InputPin Hierarchy_assert_A_a_b_c_d_size__list = new(); + public LiteralInteger Hierarchy_assert_A_a_b_c_d_size__list_LiteralInteger49 = new(); + public LiteralUnlimitedNatural Hierarchy_assert_A_a_b_c_d_size__list_LiteralUnlimitedNatural50 = new(); + public LiteralInteger Hierarchy_assert_A_a_b_c_d_size__list_LiteralInteger51 = new(); + public OutputPin Hierarchy_assert_A_a_b_c_d_size__result = new(); + public LiteralUnlimitedNatural Hierarchy_assert_A_a_b_c_d_size__result_LiteralUnlimitedNatural52 = new(); + public LiteralInteger Hierarchy_assert_A_a_b_c_d_size__result_LiteralInteger53 = new(); + public LiteralInteger Hierarchy_assert_A_a_b_c_d_size__result_LiteralInteger54 = new(); + public CallBehaviorAction Hierarchy_assert_A_Test_a_b_c_d_size = new(); + public InputPin Hierarchy_assert_A_Test_a_b_c_d_size_listSize = new(); + public LiteralUnlimitedNatural Hierarchy_assert_A_Test_a_b_c_d_size_listSize_LiteralUnlimitedNatural55 = new(); + public LiteralInteger Hierarchy_assert_A_Test_a_b_c_d_size_listSize_LiteralInteger56 = new(); + public LiteralInteger Hierarchy_assert_A_Test_a_b_c_d_size_listSize_LiteralInteger57 = new(); + public Parameter Hierarchy_assert_A_a = new(); + public ControlFlow Hierarchy_assert_A_ControlFlow58 = new(); + public CallBehaviorAction Hierarchy_assert_A_a_b_size_ = new(); + public OutputPin Hierarchy_assert_A_a_b_size__result = new(); + public LiteralInteger Hierarchy_assert_A_a_b_size__result_LiteralInteger59 = new(); + public LiteralUnlimitedNatural Hierarchy_assert_A_a_b_size__result_LiteralUnlimitedNatural60 = new(); + public LiteralInteger Hierarchy_assert_A_a_b_size__result_LiteralInteger61 = new(); + public InputPin Hierarchy_assert_A_a_b_size__list = new(); + public LiteralInteger Hierarchy_assert_A_a_b_size__list_LiteralInteger62 = new(); + public LiteralInteger Hierarchy_assert_A_a_b_size__list_LiteralInteger63 = new(); + public LiteralUnlimitedNatural Hierarchy_assert_A_a_b_size__list_LiteralUnlimitedNatural64 = new(); + public ObjectFlow Hierarchy_assert_A_ObjectFlow65 = new(); + public LiteralInteger Hierarchy_assert_A_ObjectFlow65_LiteralInteger66 = new(); + public LiteralBoolean Hierarchy_assert_A_ObjectFlow65_LiteralBoolean67 = new(); + public ActivityParameterNode Hierarchy_assert_A_a_node = new(); + public LiteralInteger Hierarchy_assert_A_a_node_LiteralInteger68 = new(); + public ObjectFlow Hierarchy_assert_A_ObjectFlow69 = new(); + public LiteralInteger Hierarchy_assert_A_ObjectFlow69_LiteralInteger70 = new(); + public LiteralBoolean Hierarchy_assert_A_ObjectFlow69_LiteralBoolean71 = new(); + public OpaqueBehavior Hierarchy_assert_A_testEmptyList = new(); + public Parameter Hierarchy_assert_A_testEmptyList_listSize = new(); + public ControlFlow Hierarchy_assert_A_ControlFlow72 = new(); + public ValueSpecificationAction Hierarchy_assert_A_String_a_b_c_d_size = new(); + public OutputPin Hierarchy_assert_A_String_a_b_c_d_size_result = new(); + public LiteralUnlimitedNatural Hierarchy_assert_A_String_a_b_c_d_size_result_LiteralUnlimitedNatural73 = new(); + public LiteralInteger Hierarchy_assert_A_String_a_b_c_d_size_result_LiteralInteger74 = new(); + public LiteralString Hierarchy_assert_A_String_a_b_c_d_size_LiteralString75 = new(); + public ObjectFlow Hierarchy_assert_A_ObjectFlow76 = new(); + public LiteralInteger Hierarchy_assert_A_ObjectFlow76_LiteralInteger77 = new(); + public LiteralBoolean Hierarchy_assert_A_ObjectFlow76_LiteralBoolean78 = new(); + public ControlFlow Hierarchy_assert_A_ControlFlow79 = new(); + public ControlFlow Hierarchy_assert_A_ControlFlow80 = new(); + public ControlFlow Hierarchy_assert_A_ControlFlow81 = new(); + public CallBehaviorAction Hierarchy_assert_A_WriteLine_a_b = new(); + public InputPin Hierarchy_assert_A_WriteLine_a_b_value = new(); + public LiteralInteger Hierarchy_assert_A_WriteLine_a_b_value_LiteralInteger82 = new(); + public LiteralUnlimitedNatural Hierarchy_assert_A_WriteLine_a_b_value_LiteralUnlimitedNatural83 = new(); + public LiteralInteger Hierarchy_assert_A_WriteLine_a_b_value_LiteralInteger84 = new(); + public OutputPin Hierarchy_assert_A_WriteLine_a_b_errorStatus = new(); + public LiteralInteger Hierarchy_assert_A_WriteLine_a_b_errorStatus_LiteralInteger85 = new(); + public LiteralInteger Hierarchy_assert_A_WriteLine_a_b_errorStatus_LiteralInteger86 = new(); + public LiteralUnlimitedNatural Hierarchy_assert_A_WriteLine_a_b_errorStatus_LiteralUnlimitedNatural87 = new(); + public ControlFlow Hierarchy_assert_A_ControlFlow88 = new(); + public ObjectFlow Hierarchy_assert_A_ObjectFlow89 = new(); + public LiteralInteger Hierarchy_assert_A_ObjectFlow89_LiteralInteger90 = new(); + public LiteralBoolean Hierarchy_assert_A_ObjectFlow89_LiteralBoolean91 = new(); + public ObjectFlow Hierarchy_assert_A_ObjectFlow92 = new(); + public LiteralInteger Hierarchy_assert_A_ObjectFlow92_LiteralInteger93 = new(); + public LiteralBoolean Hierarchy_assert_A_ObjectFlow92_LiteralBoolean94 = new(); + public CallBehaviorAction Hierarchy_assert_A_a_b_c_size_ = new(); + public OutputPin Hierarchy_assert_A_a_b_c_size__result = new(); + public LiteralInteger Hierarchy_assert_A_a_b_c_size__result_LiteralInteger95 = new(); + public LiteralInteger Hierarchy_assert_A_a_b_c_size__result_LiteralInteger96 = new(); + public LiteralUnlimitedNatural Hierarchy_assert_A_a_b_c_size__result_LiteralUnlimitedNatural97 = new(); + public InputPin Hierarchy_assert_A_a_b_c_size__list = new(); + public LiteralInteger Hierarchy_assert_A_a_b_c_size__list_LiteralInteger98 = new(); + public LiteralInteger Hierarchy_assert_A_a_b_c_size__list_LiteralInteger99 = new(); + public LiteralUnlimitedNatural Hierarchy_assert_A_a_b_c_size__list_LiteralUnlimitedNatural100 = new(); + public ControlFlow Hierarchy_assert_A_ControlFlow101 = new(); + public ControlFlow Hierarchy_assert_A_ControlFlow102 = new(); + public ControlFlow Hierarchy_assert_A_ControlFlow103 = new(); + public ObjectFlow Hierarchy_assert_A_ObjectFlow104 = new(); + public LiteralBoolean Hierarchy_assert_A_ObjectFlow104_LiteralBoolean105 = new(); + public LiteralInteger Hierarchy_assert_A_ObjectFlow104_LiteralInteger106 = new(); + public ObjectFlow Hierarchy_assert_A_ObjectFlow107 = new(); + public LiteralBoolean Hierarchy_assert_A_ObjectFlow107_LiteralBoolean108 = new(); + public LiteralInteger Hierarchy_assert_A_ObjectFlow107_LiteralInteger109 = new(); + public ReadStructuralFeatureAction Hierarchy_assert_A_Read_a_b = new(); + public OutputPin Hierarchy_assert_A_Read_a_b_result = new(); + public LiteralInteger Hierarchy_assert_A_Read_a_b_result_LiteralInteger110 = new(); + public LiteralUnlimitedNatural Hierarchy_assert_A_Read_a_b_result_LiteralUnlimitedNatural111 = new(); + public InputPin Hierarchy_assert_A_Read_a_b_object = new(); + public LiteralInteger Hierarchy_assert_A_Read_a_b_object_LiteralInteger112 = new(); + public LiteralUnlimitedNatural Hierarchy_assert_A_Read_a_b_object_LiteralUnlimitedNatural113 = new(); + public CallBehaviorAction Hierarchy_assert_A_WriteLine_a_b_c_d = new(); + public InputPin Hierarchy_assert_A_WriteLine_a_b_c_d_value = new(); + public LiteralInteger Hierarchy_assert_A_WriteLine_a_b_c_d_value_LiteralInteger114 = new(); + public LiteralInteger Hierarchy_assert_A_WriteLine_a_b_c_d_value_LiteralInteger115 = new(); + public LiteralUnlimitedNatural Hierarchy_assert_A_WriteLine_a_b_c_d_value_LiteralUnlimitedNatural116 = new(); + public OutputPin Hierarchy_assert_A_WriteLine_a_b_c_d_errorStatus = new(); + public LiteralInteger Hierarchy_assert_A_WriteLine_a_b_c_d_errorStatus_LiteralInteger117 = new(); + public LiteralUnlimitedNatural Hierarchy_assert_A_WriteLine_a_b_c_d_errorStatus_LiteralUnlimitedNatural118 = new(); + public LiteralInteger Hierarchy_assert_A_WriteLine_a_b_c_d_errorStatus_LiteralInteger119 = new(); + public ObjectFlow Hierarchy_assert_A_ObjectFlow120 = new(); + public LiteralBoolean Hierarchy_assert_A_ObjectFlow120_LiteralBoolean121 = new(); + public LiteralInteger Hierarchy_assert_A_ObjectFlow120_LiteralInteger122 = new(); + public ObjectFlow Hierarchy_assert_A_ObjectFlow123 = new(); + public LiteralBoolean Hierarchy_assert_A_ObjectFlow123_LiteralBoolean124 = new(); + public LiteralInteger Hierarchy_assert_A_ObjectFlow123_LiteralInteger125 = new(); + public ObjectFlow Hierarchy_assert_A_ObjectFlow126 = new(); + public LiteralBoolean Hierarchy_assert_A_ObjectFlow126_LiteralBoolean127 = new(); + public LiteralInteger Hierarchy_assert_A_ObjectFlow126_LiteralInteger128 = new(); + public CallBehaviorAction Hierarchy_assert_A_Test_a_b_size = new(); + public InputPin Hierarchy_assert_A_Test_a_b_size_listSize = new(); + public LiteralUnlimitedNatural Hierarchy_assert_A_Test_a_b_size_listSize_LiteralUnlimitedNatural129 = new(); + public LiteralInteger Hierarchy_assert_A_Test_a_b_size_listSize_LiteralInteger130 = new(); + public LiteralInteger Hierarchy_assert_A_Test_a_b_size_listSize_LiteralInteger131 = new(); + public ValueSpecificationAction Hierarchy_assert_A_String_a_b_size = new(); + public LiteralString Hierarchy_assert_A_String_a_b_size_LiteralString132 = new(); + public OutputPin Hierarchy_assert_A_String_a_b_size_result = new(); + public LiteralInteger Hierarchy_assert_A_String_a_b_size_result_LiteralInteger133 = new(); + public LiteralUnlimitedNatural Hierarchy_assert_A_String_a_b_size_result_LiteralUnlimitedNatural134 = new(); + public ControlFlow Hierarchy_assert_A_ControlFlow135 = new(); + public ValueSpecificationAction Hierarchy_assert_A_String_a_b_c_size = new(); + public LiteralString Hierarchy_assert_A_String_a_b_c_size_LiteralString136 = new(); + public OutputPin Hierarchy_assert_A_String_a_b_c_size_result = new(); + public LiteralInteger Hierarchy_assert_A_String_a_b_c_size_result_LiteralInteger137 = new(); + public LiteralUnlimitedNatural Hierarchy_assert_A_String_a_b_c_size_result_LiteralUnlimitedNatural138 = new(); + public ObjectFlow Hierarchy_assert_A_ObjectFlow139 = new(); + public LiteralInteger Hierarchy_assert_A_ObjectFlow139_LiteralInteger140 = new(); + public LiteralBoolean Hierarchy_assert_A_ObjectFlow139_LiteralBoolean141 = new(); + public ObjectFlow Hierarchy_assert_A_ObjectFlow142 = new(); + public LiteralInteger Hierarchy_assert_A_ObjectFlow142_LiteralInteger143 = new(); + public LiteralBoolean Hierarchy_assert_A_ObjectFlow142_LiteralBoolean144 = new(); + public ReadStructuralFeatureAction Hierarchy_assert_A_Read_a_b_c = new(); + public OutputPin Hierarchy_assert_A_Read_a_b_c_result = new(); + public LiteralUnlimitedNatural Hierarchy_assert_A_Read_a_b_c_result_LiteralUnlimitedNatural145 = new(); + public LiteralInteger Hierarchy_assert_A_Read_a_b_c_result_LiteralInteger146 = new(); + public InputPin Hierarchy_assert_A_Read_a_b_c_object = new(); + public LiteralInteger Hierarchy_assert_A_Read_a_b_c_object_LiteralInteger147 = new(); + public LiteralUnlimitedNatural Hierarchy_assert_A_Read_a_b_c_object_LiteralUnlimitedNatural148 = new(); + public ObjectFlow Hierarchy_assert_A_ObjectFlow149 = new(); + public LiteralBoolean Hierarchy_assert_A_ObjectFlow149_LiteralBoolean150 = new(); + public LiteralInteger Hierarchy_assert_A_ObjectFlow149_LiteralInteger151 = new(); + public ObjectFlow Hierarchy_assert_A_ObjectFlow152 = new(); + public LiteralBoolean Hierarchy_assert_A_ObjectFlow152_LiteralBoolean153 = new(); + public LiteralInteger Hierarchy_assert_A_ObjectFlow152_LiteralInteger154 = new(); + public ReadStructuralFeatureAction Hierarchy_assert_A_Read_a_b_c_d_e = new(); + public OutputPin Hierarchy_assert_A_Read_a_b_c_d_e_result = new(); + public LiteralUnlimitedNatural Hierarchy_assert_A_Read_a_b_c_d_e_result_LiteralUnlimitedNatural155 = new(); + public LiteralInteger Hierarchy_assert_A_Read_a_b_c_d_e_result_LiteralInteger156 = new(); + public InputPin Hierarchy_assert_A_Read_a_b_c_d_e_object = new(); + public LiteralUnlimitedNatural Hierarchy_assert_A_Read_a_b_c_d_e_object_LiteralUnlimitedNatural157 = new(); + public LiteralInteger Hierarchy_assert_A_Read_a_b_c_d_e_object_LiteralInteger158 = new(); + public ObjectFlow Hierarchy_assert_A_ObjectFlow159 = new(); + public LiteralInteger Hierarchy_assert_A_ObjectFlow159_LiteralInteger160 = new(); + public LiteralBoolean Hierarchy_assert_A_ObjectFlow159_LiteralBoolean161 = new(); + public ObjectFlow Hierarchy_assert_A_ObjectFlow162 = new(); + public LiteralBoolean Hierarchy_assert_A_ObjectFlow162_LiteralBoolean163 = new(); + public LiteralInteger Hierarchy_assert_A_ObjectFlow162_LiteralInteger164 = new(); + public CallBehaviorAction Hierarchy_assert_A_Test_a_b_c_size = new(); + public InputPin Hierarchy_assert_A_Test_a_b_c_size_listSize = new(); + public LiteralUnlimitedNatural Hierarchy_assert_A_Test_a_b_c_size_listSize_LiteralUnlimitedNatural165 = new(); + public LiteralInteger Hierarchy_assert_A_Test_a_b_c_size_listSize_LiteralInteger166 = new(); + public LiteralInteger Hierarchy_assert_A_Test_a_b_c_size_listSize_LiteralInteger167 = new(); + public ForkNode Hierarchy_assert_A_Fork_a_b = new(); + public ObjectFlow Hierarchy_assert_A_ObjectFlow168 = new(); + public LiteralInteger Hierarchy_assert_A_ObjectFlow168_LiteralInteger169 = new(); + public LiteralBoolean Hierarchy_assert_A_ObjectFlow168_LiteralBoolean170 = new(); + public Class_ Hierarchy_B = new(); + public Property Hierarchy_B_c = new(); + public Class_ Hierarchy_D = new(); + public Property Hierarchy_D_e = new(); + public Class_ Hierarchy_E = new(); + public Class_ Hierarchy_A = new(); + public Property Hierarchy_A_b = new(); + public Operation Hierarchy_A_A_A = new(); + public Parameter Hierarchy_A_A_A_result = new(); + public Activity Hierarchy_main = new(); + public ObjectFlow Hierarchy_main_ObjectFlow171 = new(); + public LiteralBoolean Hierarchy_main_ObjectFlow171_LiteralBoolean172 = new(); + public LiteralInteger Hierarchy_main_ObjectFlow171_LiteralInteger173 = new(); + public CallBehaviorAction Hierarchy_main_instantiate_A = new(); + public OutputPin Hierarchy_main_instantiate_A_a = new(); + public LiteralUnlimitedNatural Hierarchy_main_instantiate_A_a_LiteralUnlimitedNatural174 = new(); + public LiteralInteger Hierarchy_main_instantiate_A_a_LiteralInteger175 = new(); + public LiteralInteger Hierarchy_main_instantiate_A_a_LiteralInteger176 = new(); + public CallBehaviorAction Hierarchy_main_assert_A = new(); + public InputPin Hierarchy_main_assert_A_a = new(); + public LiteralInteger Hierarchy_main_assert_A_a_LiteralInteger177 = new(); + public LiteralInteger Hierarchy_main_assert_A_a_LiteralInteger178 = new(); + public LiteralUnlimitedNatural Hierarchy_main_assert_A_a_LiteralUnlimitedNatural179 = new(); + public Class_ Hierarchy_C = new(); + public Property Hierarchy_C_d = new(); + + public static HierarchyModel Instance() + { + if (instance is null) + { + instance = new(); + instance.InitializeInMemoryModel(); + } + + return instance; + } + + public HierarchyModel() + { + /* Start of user code : Additional model initializations + * This section may be used to do any additional model initialization, + * for example initializing user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } + + private void InitializeInMemoryModel() + { + // Create public members + /* + * Model Hierarchy + */ + AddToElementRepository("Hierarchy", Hierarchy); + AddToElementRepository("instantiate_A", Hierarchy_instantiate_A); + AddToElementRepository("A()", Hierarchy_instantiate_A_A_); + AddToElementRepository("result", Hierarchy_instantiate_A_A__result); + AddToElementRepository("LiteralUnlimitedNatural0", Hierarchy_instantiate_A_A__result_LiteralUnlimitedNatural0); + AddToElementRepository("LiteralInteger1", Hierarchy_instantiate_A_A__result_LiteralInteger1); + AddToElementRepository("LiteralInteger2", Hierarchy_instantiate_A_A__result_LiteralInteger2); + AddToElementRepository("target", Hierarchy_instantiate_A_A__target); + AddToElementRepository("LiteralUnlimitedNatural3", Hierarchy_instantiate_A_A__target_LiteralUnlimitedNatural3); + AddToElementRepository("LiteralInteger4", Hierarchy_instantiate_A_A__target_LiteralInteger4); + AddToElementRepository("ObjectFlow5", Hierarchy_instantiate_A_ObjectFlow5); + AddToElementRepository("LiteralInteger6", Hierarchy_instantiate_A_ObjectFlow5_LiteralInteger6); + AddToElementRepository("LiteralBoolean7", Hierarchy_instantiate_A_ObjectFlow5_LiteralBoolean7); + AddToElementRepository("a_node", Hierarchy_instantiate_A_a_node); + AddToElementRepository("LiteralInteger8", Hierarchy_instantiate_A_a_node_LiteralInteger8); + AddToElementRepository("Create_A", Hierarchy_instantiate_A_Create_A); + AddToElementRepository("result", Hierarchy_instantiate_A_Create_A_result); + AddToElementRepository("LiteralUnlimitedNatural9", Hierarchy_instantiate_A_Create_A_result_LiteralUnlimitedNatural9); + AddToElementRepository("LiteralInteger10", Hierarchy_instantiate_A_Create_A_result_LiteralInteger10); + AddToElementRepository("a", Hierarchy_instantiate_A_a); + AddToElementRepository("ObjectFlow11", Hierarchy_instantiate_A_ObjectFlow11); + AddToElementRepository("LiteralInteger12", Hierarchy_instantiate_A_ObjectFlow11_LiteralInteger12); + AddToElementRepository("LiteralBoolean13", Hierarchy_instantiate_A_ObjectFlow11_LiteralBoolean13); + AddToElementRepository("assert_A", Hierarchy_assert_A); + AddToElementRepository("testNonEmptyList", Hierarchy_assert_A_testNonEmptyList); + AddToElementRepository("listSize", Hierarchy_assert_A_testNonEmptyList_listSize); + AddToElementRepository("Test a.b.c.d.e.size", Hierarchy_assert_A_Test_a_b_c_d_e_size); + AddToElementRepository("listSize", Hierarchy_assert_A_Test_a_b_c_d_e_size_listSize); + AddToElementRepository("LiteralUnlimitedNatural14", Hierarchy_assert_A_Test_a_b_c_d_e_size_listSize_LiteralUnlimitedNatural14); + AddToElementRepository("LiteralInteger15", Hierarchy_assert_A_Test_a_b_c_d_e_size_listSize_LiteralInteger15); + AddToElementRepository("LiteralInteger16", Hierarchy_assert_A_Test_a_b_c_d_e_size_listSize_LiteralInteger16); + AddToElementRepository("ObjectFlow17", Hierarchy_assert_A_ObjectFlow17); + AddToElementRepository("LiteralBoolean18", Hierarchy_assert_A_ObjectFlow17_LiteralBoolean18); + AddToElementRepository("LiteralInteger19", Hierarchy_assert_A_ObjectFlow17_LiteralInteger19); + AddToElementRepository("Read a.b.c.d", Hierarchy_assert_A_Read_a_b_c_d); + AddToElementRepository("object", Hierarchy_assert_A_Read_a_b_c_d_object); + AddToElementRepository("LiteralInteger20", Hierarchy_assert_A_Read_a_b_c_d_object_LiteralInteger20); + AddToElementRepository("LiteralUnlimitedNatural21", Hierarchy_assert_A_Read_a_b_c_d_object_LiteralUnlimitedNatural21); + AddToElementRepository("result", Hierarchy_assert_A_Read_a_b_c_d_result); + AddToElementRepository("LiteralUnlimitedNatural22", Hierarchy_assert_A_Read_a_b_c_d_result_LiteralUnlimitedNatural22); + AddToElementRepository("LiteralInteger23", Hierarchy_assert_A_Read_a_b_c_d_result_LiteralInteger23); + AddToElementRepository("Fork a.b.c.d", Hierarchy_assert_A_Fork_a_b_c_d); + AddToElementRepository("String(a.b.c.d.e.size)", Hierarchy_assert_A_String_a_b_c_d_e_size); + AddToElementRepository("LiteralString24", Hierarchy_assert_A_String_a_b_c_d_e_size_LiteralString24); + AddToElementRepository("result", Hierarchy_assert_A_String_a_b_c_d_e_size_result); + AddToElementRepository("LiteralInteger25", Hierarchy_assert_A_String_a_b_c_d_e_size_result_LiteralInteger25); + AddToElementRepository("LiteralUnlimitedNatural26", Hierarchy_assert_A_String_a_b_c_d_e_size_result_LiteralUnlimitedNatural26); + AddToElementRepository("a.b.c.d.e.size()", Hierarchy_assert_A_a_b_c_d_e_size_); + AddToElementRepository("list", Hierarchy_assert_A_a_b_c_d_e_size__list); + AddToElementRepository("LiteralUnlimitedNatural27", Hierarchy_assert_A_a_b_c_d_e_size__list_LiteralUnlimitedNatural27); + AddToElementRepository("LiteralInteger28", Hierarchy_assert_A_a_b_c_d_e_size__list_LiteralInteger28); + AddToElementRepository("LiteralInteger29", Hierarchy_assert_A_a_b_c_d_e_size__list_LiteralInteger29); + AddToElementRepository("result", Hierarchy_assert_A_a_b_c_d_e_size__result); + AddToElementRepository("LiteralUnlimitedNatural30", Hierarchy_assert_A_a_b_c_d_e_size__result_LiteralUnlimitedNatural30); + AddToElementRepository("LiteralInteger31", Hierarchy_assert_A_a_b_c_d_e_size__result_LiteralInteger31); + AddToElementRepository("LiteralInteger32", Hierarchy_assert_A_a_b_c_d_e_size__result_LiteralInteger32); + AddToElementRepository("ObjectFlow33", Hierarchy_assert_A_ObjectFlow33); + AddToElementRepository("LiteralBoolean34", Hierarchy_assert_A_ObjectFlow33_LiteralBoolean34); + AddToElementRepository("LiteralInteger35", Hierarchy_assert_A_ObjectFlow33_LiteralInteger35); + AddToElementRepository("WriteLine_a.b.c", Hierarchy_assert_A_WriteLine_a_b_c); + AddToElementRepository("errorStatus", Hierarchy_assert_A_WriteLine_a_b_c_errorStatus); + AddToElementRepository("LiteralInteger36", Hierarchy_assert_A_WriteLine_a_b_c_errorStatus_LiteralInteger36); + AddToElementRepository("LiteralInteger37", Hierarchy_assert_A_WriteLine_a_b_c_errorStatus_LiteralInteger37); + AddToElementRepository("LiteralUnlimitedNatural38", Hierarchy_assert_A_WriteLine_a_b_c_errorStatus_LiteralUnlimitedNatural38); + AddToElementRepository("value", Hierarchy_assert_A_WriteLine_a_b_c_value); + AddToElementRepository("LiteralUnlimitedNatural39", Hierarchy_assert_A_WriteLine_a_b_c_value_LiteralUnlimitedNatural39); + AddToElementRepository("LiteralInteger40", Hierarchy_assert_A_WriteLine_a_b_c_value_LiteralInteger40); + AddToElementRepository("LiteralInteger41", Hierarchy_assert_A_WriteLine_a_b_c_value_LiteralInteger41); + AddToElementRepository("ControlFlow42", Hierarchy_assert_A_ControlFlow42); + AddToElementRepository("Fork a.b.c", Hierarchy_assert_A_Fork_a_b_c); + AddToElementRepository("WriteLine_a.b.c.d.e", Hierarchy_assert_A_WriteLine_a_b_c_d_e); + AddToElementRepository("errorStatus", Hierarchy_assert_A_WriteLine_a_b_c_d_e_errorStatus); + AddToElementRepository("LiteralUnlimitedNatural43", Hierarchy_assert_A_WriteLine_a_b_c_d_e_errorStatus_LiteralUnlimitedNatural43); + AddToElementRepository("LiteralInteger44", Hierarchy_assert_A_WriteLine_a_b_c_d_e_errorStatus_LiteralInteger44); + AddToElementRepository("LiteralInteger45", Hierarchy_assert_A_WriteLine_a_b_c_d_e_errorStatus_LiteralInteger45); + AddToElementRepository("value", Hierarchy_assert_A_WriteLine_a_b_c_d_e_value); + AddToElementRepository("LiteralUnlimitedNatural46", Hierarchy_assert_A_WriteLine_a_b_c_d_e_value_LiteralUnlimitedNatural46); + AddToElementRepository("LiteralInteger47", Hierarchy_assert_A_WriteLine_a_b_c_d_e_value_LiteralInteger47); + AddToElementRepository("LiteralInteger48", Hierarchy_assert_A_WriteLine_a_b_c_d_e_value_LiteralInteger48); + AddToElementRepository("a.b.c.d.size()", Hierarchy_assert_A_a_b_c_d_size_); + AddToElementRepository("list", Hierarchy_assert_A_a_b_c_d_size__list); + AddToElementRepository("LiteralInteger49", Hierarchy_assert_A_a_b_c_d_size__list_LiteralInteger49); + AddToElementRepository("LiteralUnlimitedNatural50", Hierarchy_assert_A_a_b_c_d_size__list_LiteralUnlimitedNatural50); + AddToElementRepository("LiteralInteger51", Hierarchy_assert_A_a_b_c_d_size__list_LiteralInteger51); + AddToElementRepository("result", Hierarchy_assert_A_a_b_c_d_size__result); + AddToElementRepository("LiteralUnlimitedNatural52", Hierarchy_assert_A_a_b_c_d_size__result_LiteralUnlimitedNatural52); + AddToElementRepository("LiteralInteger53", Hierarchy_assert_A_a_b_c_d_size__result_LiteralInteger53); + AddToElementRepository("LiteralInteger54", Hierarchy_assert_A_a_b_c_d_size__result_LiteralInteger54); + AddToElementRepository("Test a.b.c.d.size", Hierarchy_assert_A_Test_a_b_c_d_size); + AddToElementRepository("listSize", Hierarchy_assert_A_Test_a_b_c_d_size_listSize); + AddToElementRepository("LiteralUnlimitedNatural55", Hierarchy_assert_A_Test_a_b_c_d_size_listSize_LiteralUnlimitedNatural55); + AddToElementRepository("LiteralInteger56", Hierarchy_assert_A_Test_a_b_c_d_size_listSize_LiteralInteger56); + AddToElementRepository("LiteralInteger57", Hierarchy_assert_A_Test_a_b_c_d_size_listSize_LiteralInteger57); + AddToElementRepository("a", Hierarchy_assert_A_a); + AddToElementRepository("ControlFlow58", Hierarchy_assert_A_ControlFlow58); + AddToElementRepository("a.b.size()", Hierarchy_assert_A_a_b_size_); + AddToElementRepository("result", Hierarchy_assert_A_a_b_size__result); + AddToElementRepository("LiteralInteger59", Hierarchy_assert_A_a_b_size__result_LiteralInteger59); + AddToElementRepository("LiteralUnlimitedNatural60", Hierarchy_assert_A_a_b_size__result_LiteralUnlimitedNatural60); + AddToElementRepository("LiteralInteger61", Hierarchy_assert_A_a_b_size__result_LiteralInteger61); + AddToElementRepository("list", Hierarchy_assert_A_a_b_size__list); + AddToElementRepository("LiteralInteger62", Hierarchy_assert_A_a_b_size__list_LiteralInteger62); + AddToElementRepository("LiteralInteger63", Hierarchy_assert_A_a_b_size__list_LiteralInteger63); + AddToElementRepository("LiteralUnlimitedNatural64", Hierarchy_assert_A_a_b_size__list_LiteralUnlimitedNatural64); + AddToElementRepository("ObjectFlow65", Hierarchy_assert_A_ObjectFlow65); + AddToElementRepository("LiteralInteger66", Hierarchy_assert_A_ObjectFlow65_LiteralInteger66); + AddToElementRepository("LiteralBoolean67", Hierarchy_assert_A_ObjectFlow65_LiteralBoolean67); + AddToElementRepository("a_node", Hierarchy_assert_A_a_node); + AddToElementRepository("LiteralInteger68", Hierarchy_assert_A_a_node_LiteralInteger68); + AddToElementRepository("ObjectFlow69", Hierarchy_assert_A_ObjectFlow69); + AddToElementRepository("LiteralInteger70", Hierarchy_assert_A_ObjectFlow69_LiteralInteger70); + AddToElementRepository("LiteralBoolean71", Hierarchy_assert_A_ObjectFlow69_LiteralBoolean71); + AddToElementRepository("testEmptyList", Hierarchy_assert_A_testEmptyList); + AddToElementRepository("listSize", Hierarchy_assert_A_testEmptyList_listSize); + AddToElementRepository("ControlFlow72", Hierarchy_assert_A_ControlFlow72); + AddToElementRepository("String(a.b.c.d.size)", Hierarchy_assert_A_String_a_b_c_d_size); + AddToElementRepository("result", Hierarchy_assert_A_String_a_b_c_d_size_result); + AddToElementRepository("LiteralUnlimitedNatural73", Hierarchy_assert_A_String_a_b_c_d_size_result_LiteralUnlimitedNatural73); + AddToElementRepository("LiteralInteger74", Hierarchy_assert_A_String_a_b_c_d_size_result_LiteralInteger74); + AddToElementRepository("LiteralString75", Hierarchy_assert_A_String_a_b_c_d_size_LiteralString75); + AddToElementRepository("ObjectFlow76", Hierarchy_assert_A_ObjectFlow76); + AddToElementRepository("LiteralInteger77", Hierarchy_assert_A_ObjectFlow76_LiteralInteger77); + AddToElementRepository("LiteralBoolean78", Hierarchy_assert_A_ObjectFlow76_LiteralBoolean78); + AddToElementRepository("ControlFlow79", Hierarchy_assert_A_ControlFlow79); + AddToElementRepository("ControlFlow80", Hierarchy_assert_A_ControlFlow80); + AddToElementRepository("ControlFlow81", Hierarchy_assert_A_ControlFlow81); + AddToElementRepository("WriteLine_a.b", Hierarchy_assert_A_WriteLine_a_b); + AddToElementRepository("value", Hierarchy_assert_A_WriteLine_a_b_value); + AddToElementRepository("LiteralInteger82", Hierarchy_assert_A_WriteLine_a_b_value_LiteralInteger82); + AddToElementRepository("LiteralUnlimitedNatural83", Hierarchy_assert_A_WriteLine_a_b_value_LiteralUnlimitedNatural83); + AddToElementRepository("LiteralInteger84", Hierarchy_assert_A_WriteLine_a_b_value_LiteralInteger84); + AddToElementRepository("errorStatus", Hierarchy_assert_A_WriteLine_a_b_errorStatus); + AddToElementRepository("LiteralInteger85", Hierarchy_assert_A_WriteLine_a_b_errorStatus_LiteralInteger85); + AddToElementRepository("LiteralInteger86", Hierarchy_assert_A_WriteLine_a_b_errorStatus_LiteralInteger86); + AddToElementRepository("LiteralUnlimitedNatural87", Hierarchy_assert_A_WriteLine_a_b_errorStatus_LiteralUnlimitedNatural87); + AddToElementRepository("ControlFlow88", Hierarchy_assert_A_ControlFlow88); + AddToElementRepository("ObjectFlow89", Hierarchy_assert_A_ObjectFlow89); + AddToElementRepository("LiteralInteger90", Hierarchy_assert_A_ObjectFlow89_LiteralInteger90); + AddToElementRepository("LiteralBoolean91", Hierarchy_assert_A_ObjectFlow89_LiteralBoolean91); + AddToElementRepository("ObjectFlow92", Hierarchy_assert_A_ObjectFlow92); + AddToElementRepository("LiteralInteger93", Hierarchy_assert_A_ObjectFlow92_LiteralInteger93); + AddToElementRepository("LiteralBoolean94", Hierarchy_assert_A_ObjectFlow92_LiteralBoolean94); + AddToElementRepository("a.b.c.size()", Hierarchy_assert_A_a_b_c_size_); + AddToElementRepository("result", Hierarchy_assert_A_a_b_c_size__result); + AddToElementRepository("LiteralInteger95", Hierarchy_assert_A_a_b_c_size__result_LiteralInteger95); + AddToElementRepository("LiteralInteger96", Hierarchy_assert_A_a_b_c_size__result_LiteralInteger96); + AddToElementRepository("LiteralUnlimitedNatural97", Hierarchy_assert_A_a_b_c_size__result_LiteralUnlimitedNatural97); + AddToElementRepository("list", Hierarchy_assert_A_a_b_c_size__list); + AddToElementRepository("LiteralInteger98", Hierarchy_assert_A_a_b_c_size__list_LiteralInteger98); + AddToElementRepository("LiteralInteger99", Hierarchy_assert_A_a_b_c_size__list_LiteralInteger99); + AddToElementRepository("LiteralUnlimitedNatural100", Hierarchy_assert_A_a_b_c_size__list_LiteralUnlimitedNatural100); + AddToElementRepository("ControlFlow101", Hierarchy_assert_A_ControlFlow101); + AddToElementRepository("ControlFlow102", Hierarchy_assert_A_ControlFlow102); + AddToElementRepository("ControlFlow103", Hierarchy_assert_A_ControlFlow103); + AddToElementRepository("ObjectFlow104", Hierarchy_assert_A_ObjectFlow104); + AddToElementRepository("LiteralBoolean105", Hierarchy_assert_A_ObjectFlow104_LiteralBoolean105); + AddToElementRepository("LiteralInteger106", Hierarchy_assert_A_ObjectFlow104_LiteralInteger106); + AddToElementRepository("ObjectFlow107", Hierarchy_assert_A_ObjectFlow107); + AddToElementRepository("LiteralBoolean108", Hierarchy_assert_A_ObjectFlow107_LiteralBoolean108); + AddToElementRepository("LiteralInteger109", Hierarchy_assert_A_ObjectFlow107_LiteralInteger109); + AddToElementRepository("Read a.b", Hierarchy_assert_A_Read_a_b); + AddToElementRepository("result", Hierarchy_assert_A_Read_a_b_result); + AddToElementRepository("LiteralInteger110", Hierarchy_assert_A_Read_a_b_result_LiteralInteger110); + AddToElementRepository("LiteralUnlimitedNatural111", Hierarchy_assert_A_Read_a_b_result_LiteralUnlimitedNatural111); + AddToElementRepository("object", Hierarchy_assert_A_Read_a_b_object); + AddToElementRepository("LiteralInteger112", Hierarchy_assert_A_Read_a_b_object_LiteralInteger112); + AddToElementRepository("LiteralUnlimitedNatural113", Hierarchy_assert_A_Read_a_b_object_LiteralUnlimitedNatural113); + AddToElementRepository("WriteLine_a.b.c.d", Hierarchy_assert_A_WriteLine_a_b_c_d); + AddToElementRepository("value", Hierarchy_assert_A_WriteLine_a_b_c_d_value); + AddToElementRepository("LiteralInteger114", Hierarchy_assert_A_WriteLine_a_b_c_d_value_LiteralInteger114); + AddToElementRepository("LiteralInteger115", Hierarchy_assert_A_WriteLine_a_b_c_d_value_LiteralInteger115); + AddToElementRepository("LiteralUnlimitedNatural116", Hierarchy_assert_A_WriteLine_a_b_c_d_value_LiteralUnlimitedNatural116); + AddToElementRepository("errorStatus", Hierarchy_assert_A_WriteLine_a_b_c_d_errorStatus); + AddToElementRepository("LiteralInteger117", Hierarchy_assert_A_WriteLine_a_b_c_d_errorStatus_LiteralInteger117); + AddToElementRepository("LiteralUnlimitedNatural118", Hierarchy_assert_A_WriteLine_a_b_c_d_errorStatus_LiteralUnlimitedNatural118); + AddToElementRepository("LiteralInteger119", Hierarchy_assert_A_WriteLine_a_b_c_d_errorStatus_LiteralInteger119); + AddToElementRepository("ObjectFlow120", Hierarchy_assert_A_ObjectFlow120); + AddToElementRepository("LiteralBoolean121", Hierarchy_assert_A_ObjectFlow120_LiteralBoolean121); + AddToElementRepository("LiteralInteger122", Hierarchy_assert_A_ObjectFlow120_LiteralInteger122); + AddToElementRepository("ObjectFlow123", Hierarchy_assert_A_ObjectFlow123); + AddToElementRepository("LiteralBoolean124", Hierarchy_assert_A_ObjectFlow123_LiteralBoolean124); + AddToElementRepository("LiteralInteger125", Hierarchy_assert_A_ObjectFlow123_LiteralInteger125); + AddToElementRepository("ObjectFlow126", Hierarchy_assert_A_ObjectFlow126); + AddToElementRepository("LiteralBoolean127", Hierarchy_assert_A_ObjectFlow126_LiteralBoolean127); + AddToElementRepository("LiteralInteger128", Hierarchy_assert_A_ObjectFlow126_LiteralInteger128); + AddToElementRepository("Test a.b.size", Hierarchy_assert_A_Test_a_b_size); + AddToElementRepository("listSize", Hierarchy_assert_A_Test_a_b_size_listSize); + AddToElementRepository("LiteralUnlimitedNatural129", Hierarchy_assert_A_Test_a_b_size_listSize_LiteralUnlimitedNatural129); + AddToElementRepository("LiteralInteger130", Hierarchy_assert_A_Test_a_b_size_listSize_LiteralInteger130); + AddToElementRepository("LiteralInteger131", Hierarchy_assert_A_Test_a_b_size_listSize_LiteralInteger131); + AddToElementRepository("String(a.b.size)", Hierarchy_assert_A_String_a_b_size); + AddToElementRepository("LiteralString132", Hierarchy_assert_A_String_a_b_size_LiteralString132); + AddToElementRepository("result", Hierarchy_assert_A_String_a_b_size_result); + AddToElementRepository("LiteralInteger133", Hierarchy_assert_A_String_a_b_size_result_LiteralInteger133); + AddToElementRepository("LiteralUnlimitedNatural134", Hierarchy_assert_A_String_a_b_size_result_LiteralUnlimitedNatural134); + AddToElementRepository("ControlFlow135", Hierarchy_assert_A_ControlFlow135); + AddToElementRepository("String(a.b.c.size)", Hierarchy_assert_A_String_a_b_c_size); + AddToElementRepository("LiteralString136", Hierarchy_assert_A_String_a_b_c_size_LiteralString136); + AddToElementRepository("result", Hierarchy_assert_A_String_a_b_c_size_result); + AddToElementRepository("LiteralInteger137", Hierarchy_assert_A_String_a_b_c_size_result_LiteralInteger137); + AddToElementRepository("LiteralUnlimitedNatural138", Hierarchy_assert_A_String_a_b_c_size_result_LiteralUnlimitedNatural138); + AddToElementRepository("ObjectFlow139", Hierarchy_assert_A_ObjectFlow139); + AddToElementRepository("LiteralInteger140", Hierarchy_assert_A_ObjectFlow139_LiteralInteger140); + AddToElementRepository("LiteralBoolean141", Hierarchy_assert_A_ObjectFlow139_LiteralBoolean141); + AddToElementRepository("ObjectFlow142", Hierarchy_assert_A_ObjectFlow142); + AddToElementRepository("LiteralInteger143", Hierarchy_assert_A_ObjectFlow142_LiteralInteger143); + AddToElementRepository("LiteralBoolean144", Hierarchy_assert_A_ObjectFlow142_LiteralBoolean144); + AddToElementRepository("Read a.b.c", Hierarchy_assert_A_Read_a_b_c); + AddToElementRepository("result", Hierarchy_assert_A_Read_a_b_c_result); + AddToElementRepository("LiteralUnlimitedNatural145", Hierarchy_assert_A_Read_a_b_c_result_LiteralUnlimitedNatural145); + AddToElementRepository("LiteralInteger146", Hierarchy_assert_A_Read_a_b_c_result_LiteralInteger146); + AddToElementRepository("object", Hierarchy_assert_A_Read_a_b_c_object); + AddToElementRepository("LiteralInteger147", Hierarchy_assert_A_Read_a_b_c_object_LiteralInteger147); + AddToElementRepository("LiteralUnlimitedNatural148", Hierarchy_assert_A_Read_a_b_c_object_LiteralUnlimitedNatural148); + AddToElementRepository("ObjectFlow149", Hierarchy_assert_A_ObjectFlow149); + AddToElementRepository("LiteralBoolean150", Hierarchy_assert_A_ObjectFlow149_LiteralBoolean150); + AddToElementRepository("LiteralInteger151", Hierarchy_assert_A_ObjectFlow149_LiteralInteger151); + AddToElementRepository("ObjectFlow152", Hierarchy_assert_A_ObjectFlow152); + AddToElementRepository("LiteralBoolean153", Hierarchy_assert_A_ObjectFlow152_LiteralBoolean153); + AddToElementRepository("LiteralInteger154", Hierarchy_assert_A_ObjectFlow152_LiteralInteger154); + AddToElementRepository("Read a.b.c.d.e", Hierarchy_assert_A_Read_a_b_c_d_e); + AddToElementRepository("result", Hierarchy_assert_A_Read_a_b_c_d_e_result); + AddToElementRepository("LiteralUnlimitedNatural155", Hierarchy_assert_A_Read_a_b_c_d_e_result_LiteralUnlimitedNatural155); + AddToElementRepository("LiteralInteger156", Hierarchy_assert_A_Read_a_b_c_d_e_result_LiteralInteger156); + AddToElementRepository("object", Hierarchy_assert_A_Read_a_b_c_d_e_object); + AddToElementRepository("LiteralUnlimitedNatural157", Hierarchy_assert_A_Read_a_b_c_d_e_object_LiteralUnlimitedNatural157); + AddToElementRepository("LiteralInteger158", Hierarchy_assert_A_Read_a_b_c_d_e_object_LiteralInteger158); + AddToElementRepository("ObjectFlow159", Hierarchy_assert_A_ObjectFlow159); + AddToElementRepository("LiteralInteger160", Hierarchy_assert_A_ObjectFlow159_LiteralInteger160); + AddToElementRepository("LiteralBoolean161", Hierarchy_assert_A_ObjectFlow159_LiteralBoolean161); + AddToElementRepository("ObjectFlow162", Hierarchy_assert_A_ObjectFlow162); + AddToElementRepository("LiteralBoolean163", Hierarchy_assert_A_ObjectFlow162_LiteralBoolean163); + AddToElementRepository("LiteralInteger164", Hierarchy_assert_A_ObjectFlow162_LiteralInteger164); + AddToElementRepository("Test a.b.c.size", Hierarchy_assert_A_Test_a_b_c_size); + AddToElementRepository("listSize", Hierarchy_assert_A_Test_a_b_c_size_listSize); + AddToElementRepository("LiteralUnlimitedNatural165", Hierarchy_assert_A_Test_a_b_c_size_listSize_LiteralUnlimitedNatural165); + AddToElementRepository("LiteralInteger166", Hierarchy_assert_A_Test_a_b_c_size_listSize_LiteralInteger166); + AddToElementRepository("LiteralInteger167", Hierarchy_assert_A_Test_a_b_c_size_listSize_LiteralInteger167); + AddToElementRepository("Fork a.b", Hierarchy_assert_A_Fork_a_b); + AddToElementRepository("ObjectFlow168", Hierarchy_assert_A_ObjectFlow168); + AddToElementRepository("LiteralInteger169", Hierarchy_assert_A_ObjectFlow168_LiteralInteger169); + AddToElementRepository("LiteralBoolean170", Hierarchy_assert_A_ObjectFlow168_LiteralBoolean170); + AddToElementRepository("B", Hierarchy_B); + AddToElementRepository("c", Hierarchy_B_c); + AddToElementRepository("D", Hierarchy_D); + AddToElementRepository("e", Hierarchy_D_e); + AddToElementRepository("E", Hierarchy_E); + AddToElementRepository("A", Hierarchy_A); + AddToElementRepository("b", Hierarchy_A_b); + AddToElementRepository("A_A", Hierarchy_A_A_A); + AddToElementRepository("result", Hierarchy_A_A_A_result); + AddToElementRepository("main", Hierarchy_main); + AddToElementRepository("ObjectFlow171", Hierarchy_main_ObjectFlow171); + AddToElementRepository("LiteralBoolean172", Hierarchy_main_ObjectFlow171_LiteralBoolean172); + AddToElementRepository("LiteralInteger173", Hierarchy_main_ObjectFlow171_LiteralInteger173); + AddToElementRepository("instantiate_A", Hierarchy_main_instantiate_A); + AddToElementRepository("a", Hierarchy_main_instantiate_A_a); + AddToElementRepository("LiteralUnlimitedNatural174", Hierarchy_main_instantiate_A_a_LiteralUnlimitedNatural174); + AddToElementRepository("LiteralInteger175", Hierarchy_main_instantiate_A_a_LiteralInteger175); + AddToElementRepository("LiteralInteger176", Hierarchy_main_instantiate_A_a_LiteralInteger176); + AddToElementRepository("assert_A", Hierarchy_main_assert_A); + AddToElementRepository("a", Hierarchy_main_assert_A_a); + AddToElementRepository("LiteralInteger177", Hierarchy_main_assert_A_a_LiteralInteger177); + AddToElementRepository("LiteralInteger178", Hierarchy_main_assert_A_a_LiteralInteger178); + AddToElementRepository("LiteralUnlimitedNatural179", Hierarchy_main_assert_A_a_LiteralUnlimitedNatural179); + AddToElementRepository("C", Hierarchy_C); + AddToElementRepository("d", Hierarchy_C_d); + + // Initialize public members + /* + * Model Hierarchy + */ + Hierarchy.SetName("Hierarchy"); + Hierarchy.SetVisibility(VisibilityKind.public_); + // Activity instantiate_A + Hierarchy_instantiate_A.SetName("instantiate_A"); + Hierarchy_instantiate_A.SetVisibility(VisibilityKind.public_); + + // Parameter a + Hierarchy_instantiate_A_a.SetName("a"); + Hierarchy_instantiate_A_a.SetVisibility(VisibilityKind.public_); + + Hierarchy_instantiate_A_a.SetType(Hierarchy_A); + Hierarchy_instantiate_A_a.SetDirection(ParameterDirectionKind.return_); + Hierarchy_instantiate_A.AddOwnedParameter(Hierarchy_instantiate_A_a); + // CallOperationAction A() + Hierarchy_instantiate_A_A_.SetName("A()"); + Hierarchy_instantiate_A_A_.SetVisibility(VisibilityKind.public_); + + // OutputPin result + Hierarchy_instantiate_A_A__result.SetName("result"); + Hierarchy_instantiate_A_A__result.SetVisibility(VisibilityKind.public_); + Hierarchy_instantiate_A_A__result.SetType(Hierarchy_A); + Hierarchy_instantiate_A_A_.AddResult(Hierarchy_instantiate_A_A__result); + Hierarchy_instantiate_A_A_.SetOperation(Hierarchy_A_A_A); + // InputPin target + Hierarchy_instantiate_A_A__target.SetName("target"); + Hierarchy_instantiate_A_A__target.SetVisibility(VisibilityKind.public_); + Hierarchy_instantiate_A_A__target.SetType(Hierarchy_A); + Hierarchy_instantiate_A_A_.SetTarget(Hierarchy_instantiate_A_A__target); + Hierarchy_instantiate_A.AddNode(Hierarchy_instantiate_A_A_); + // ActivityParameterNode a_node + Hierarchy_instantiate_A_a_node.SetName("a_node"); + Hierarchy_instantiate_A_a_node.SetVisibility(VisibilityKind.public_); + + Hierarchy_instantiate_A_a_node.SetParameter(Hierarchy_instantiate_A_a); + Hierarchy_instantiate_A.AddNode(Hierarchy_instantiate_A_a_node); + // CreateObjectAction Create_A + Hierarchy_instantiate_A_Create_A.SetName("Create_A"); + Hierarchy_instantiate_A_Create_A.SetVisibility(VisibilityKind.public_); + Hierarchy_instantiate_A_Create_A.SetClassifier(Hierarchy_A); + // OutputPin result + Hierarchy_instantiate_A_Create_A_result.SetName("result"); + Hierarchy_instantiate_A_Create_A_result.SetVisibility(VisibilityKind.public_); + Hierarchy_instantiate_A_Create_A_result.SetType(Hierarchy_A); + Hierarchy_instantiate_A_Create_A.SetResult(Hierarchy_instantiate_A_Create_A_result); + Hierarchy_instantiate_A.AddNode(Hierarchy_instantiate_A_Create_A); + // ObjectFlow ObjectFlow5 from result to target + Hierarchy_instantiate_A_ObjectFlow5.SetName("ObjectFlow5"); + Hierarchy_instantiate_A_ObjectFlow5.SetVisibility(VisibilityKind.public_); + + Hierarchy_instantiate_A_ObjectFlow5.SetSource(Hierarchy_instantiate_A_Create_A_result); + Hierarchy_instantiate_A_ObjectFlow5.SetTarget(Hierarchy_instantiate_A_A__target); + // LiteralBoolean LiteralBoolean7 + Hierarchy_instantiate_A_ObjectFlow5_LiteralBoolean7.SetName("LiteralBoolean7"); + Hierarchy_instantiate_A_ObjectFlow5_LiteralBoolean7.SetVisibility(VisibilityKind.public_); + Hierarchy_instantiate_A_ObjectFlow5_LiteralBoolean7.SetValue(true); + Hierarchy_instantiate_A_ObjectFlow5.SetGuard(Hierarchy_instantiate_A_ObjectFlow5_LiteralBoolean7); + Hierarchy_instantiate_A.AddEdge(Hierarchy_instantiate_A_ObjectFlow5); + // ObjectFlow ObjectFlow11 from result to a_node + Hierarchy_instantiate_A_ObjectFlow11.SetName("ObjectFlow11"); + Hierarchy_instantiate_A_ObjectFlow11.SetVisibility(VisibilityKind.public_); + + Hierarchy_instantiate_A_ObjectFlow11.SetSource(Hierarchy_instantiate_A_A__result); + Hierarchy_instantiate_A_ObjectFlow11.SetTarget(Hierarchy_instantiate_A_a_node); + // LiteralBoolean LiteralBoolean13 + Hierarchy_instantiate_A_ObjectFlow11_LiteralBoolean13.SetName("LiteralBoolean13"); + Hierarchy_instantiate_A_ObjectFlow11_LiteralBoolean13.SetVisibility(VisibilityKind.public_); + Hierarchy_instantiate_A_ObjectFlow11_LiteralBoolean13.SetValue(true); + Hierarchy_instantiate_A_ObjectFlow11.SetGuard(Hierarchy_instantiate_A_ObjectFlow11_LiteralBoolean13); + Hierarchy_instantiate_A.AddEdge(Hierarchy_instantiate_A_ObjectFlow11); + Hierarchy.AddPackagedElement(Hierarchy_instantiate_A); + // Activity assert_A + Hierarchy_assert_A.SetName("assert_A"); + Hierarchy_assert_A.SetVisibility(VisibilityKind.public_); + // FunctionBehavior testNonEmptyList + Hierarchy_assert_A_testNonEmptyList.SetName("testNonEmptyList"); + Hierarchy_assert_A_testNonEmptyList.SetVisibility(VisibilityKind.public_); + + // Parameter listSize + Hierarchy_assert_A_testNonEmptyList_listSize.SetName("listSize"); + Hierarchy_assert_A_testNonEmptyList_listSize.SetVisibility(VisibilityKind.public_); + + Hierarchy_assert_A_testNonEmptyList_listSize.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + Hierarchy_assert_A_testNonEmptyList.AddOwnedParameter(Hierarchy_assert_A_testNonEmptyList_listSize); + Hierarchy_assert_A_testNonEmptyList.AddLanguage("C#"); + Hierarchy_assert_A_testNonEmptyList.AddLanguage("Using"); + Hierarchy_assert_A_testNonEmptyList.AddBody("string parameterName = inputParameters.ElementAt(0).parameter!.name; Console.WriteLine(\"Asserting \" + parameterName + \"->size() > 0\"); // Test parameter listSize int listSize = ((IntegerValue)inputParameters.ElementAt(0).values.ElementAt(0)).value; Debug.Println(\"[doBody] argument \" + parameterName + \" = \" + listSize); Console.WriteLine(parameterName + \"->size() == \" + listSize); Console.Write(\"Part is not empty: \"); if(listSize > 0) { Console.ForegroundColor = ConsoleColor.Green; Console.WriteLine(\"Assertion successful.\"); } else { Console.ForegroundColor = ConsoleColor.Red; Console.WriteLine(\"Assertion failed!\"); } Console.ResetColor();"); + Hierarchy_assert_A_testNonEmptyList.AddBody("using fuml.semantics.simpleclassifiers;"); + Hierarchy_assert_A.AddOwnedBehavior(Hierarchy_assert_A_testNonEmptyList); + // FunctionBehavior testEmptyList + Hierarchy_assert_A_testEmptyList.SetName("testEmptyList"); + Hierarchy_assert_A_testEmptyList.SetVisibility(VisibilityKind.public_); + + // Parameter listSize + Hierarchy_assert_A_testEmptyList_listSize.SetName("listSize"); + Hierarchy_assert_A_testEmptyList_listSize.SetVisibility(VisibilityKind.public_); + + Hierarchy_assert_A_testEmptyList_listSize.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + Hierarchy_assert_A_testEmptyList.AddOwnedParameter(Hierarchy_assert_A_testEmptyList_listSize); + Hierarchy_assert_A_testEmptyList.AddLanguage("C#"); + Hierarchy_assert_A_testEmptyList.AddLanguage("Using"); + Hierarchy_assert_A_testEmptyList.AddBody("string parameterName = inputParameters.ElementAt(0).parameter!.name; Console.WriteLine(\"Asserting \" + parameterName + \"->size() == 0\"); // Test parameter listSize int listSize = ((IntegerValue)inputParameters.ElementAt(0).values.ElementAt(0)).value; Debug.Println(\"[doBody] argument \" + parameterName + \" = \" + listSize); Console.WriteLine(parameterName + \"->size() == \" + listSize); Console.Write(\"Part is empty: \"); if(listSize == 0) { Console.ForegroundColor = ConsoleColor.Green; Console.WriteLine(\"Assertion successful.\"); } else { Console.ForegroundColor = ConsoleColor.Red; Console.WriteLine(\"Assertion failed!\"); } Console.ResetColor();"); + Hierarchy_assert_A_testEmptyList.AddBody("using fuml.semantics.simpleclassifiers;"); + Hierarchy_assert_A.AddOwnedBehavior(Hierarchy_assert_A_testEmptyList); + // Parameter a + Hierarchy_assert_A_a.SetName("a"); + Hierarchy_assert_A_a.SetVisibility(VisibilityKind.public_); + Hierarchy_assert_A.AddOwnedParameter(Hierarchy_assert_A_a); + // CallBehaviorAction Test a.b.c.d.e.size + Hierarchy_assert_A_Test_a_b_c_d_e_size.SetName("Test a.b.c.d.e.size"); + Hierarchy_assert_A_Test_a_b_c_d_e_size.SetVisibility(VisibilityKind.public_); + Hierarchy_assert_A_Test_a_b_c_d_e_size.SetBehavior(Hierarchy_assert_A_testEmptyList); + // InputPin listSize + Hierarchy_assert_A_Test_a_b_c_d_e_size_listSize.SetName("listSize"); + Hierarchy_assert_A_Test_a_b_c_d_e_size_listSize.SetVisibility(VisibilityKind.public_); + Hierarchy_assert_A_Test_a_b_c_d_e_size_listSize.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + Hierarchy_assert_A_Test_a_b_c_d_e_size.AddArgument(Hierarchy_assert_A_Test_a_b_c_d_e_size_listSize); + Hierarchy_assert_A.AddNode(Hierarchy_assert_A_Test_a_b_c_d_e_size); + // ReadStructuralFeatureAction Read a.b.c.d + Hierarchy_assert_A_Read_a_b_c_d.SetName("Read a.b.c.d"); + Hierarchy_assert_A_Read_a_b_c_d.SetVisibility(VisibilityKind.public_); + Hierarchy_assert_A_Read_a_b_c_d.SetStructuralFeature(Hierarchy_C_d); + // InputPin object + Hierarchy_assert_A_Read_a_b_c_d_object.SetName("object"); + Hierarchy_assert_A_Read_a_b_c_d_object.SetVisibility(VisibilityKind.public_); + Hierarchy_assert_A_Read_a_b_c_d_object.SetType(Hierarchy_C); + Hierarchy_assert_A_Read_a_b_c_d.SetObject(Hierarchy_assert_A_Read_a_b_c_d_object); + // OutputPin result + Hierarchy_assert_A_Read_a_b_c_d_result.SetName("result"); + Hierarchy_assert_A_Read_a_b_c_d_result.SetVisibility(VisibilityKind.public_); + Hierarchy_assert_A_Read_a_b_c_d_result.SetType(Hierarchy_D); + Hierarchy_assert_A_Read_a_b_c_d.SetResult(Hierarchy_assert_A_Read_a_b_c_d_result); + Hierarchy_assert_A.AddNode(Hierarchy_assert_A_Read_a_b_c_d); + // ForkNode Fork a.b.c.d + Hierarchy_assert_A_Fork_a_b_c_d.SetName("Fork a.b.c.d"); + Hierarchy_assert_A_Fork_a_b_c_d.SetVisibility(VisibilityKind.public_); + Hierarchy_assert_A.AddNode(Hierarchy_assert_A_Fork_a_b_c_d); + // ValueSpecificationAction String(a.b.c.d.e.size) + Hierarchy_assert_A_String_a_b_c_d_e_size.SetName("String(a.b.c.d.e.size)"); + Hierarchy_assert_A_String_a_b_c_d_e_size.SetVisibility(VisibilityKind.public_); + // LiteralString LiteralString24 + Hierarchy_assert_A_String_a_b_c_d_e_size_LiteralString24.SetName("LiteralString24"); + Hierarchy_assert_A_String_a_b_c_d_e_size_LiteralString24.SetVisibility(VisibilityKind.public_); + Hierarchy_assert_A_String_a_b_c_d_e_size_LiteralString24.SetValue("Asserting a.b.c.d.e.size == 0"); + Hierarchy_assert_A_String_a_b_c_d_e_size.SetValue(Hierarchy_assert_A_String_a_b_c_d_e_size_LiteralString24); + // OutputPin result + Hierarchy_assert_A_String_a_b_c_d_e_size_result.SetName("result"); + Hierarchy_assert_A_String_a_b_c_d_e_size_result.SetVisibility(VisibilityKind.public_); + Hierarchy_assert_A_String_a_b_c_d_e_size_result.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_String); + Hierarchy_assert_A_String_a_b_c_d_e_size.SetResult(Hierarchy_assert_A_String_a_b_c_d_e_size_result); + Hierarchy_assert_A.AddNode(Hierarchy_assert_A_String_a_b_c_d_e_size); + // CallBehaviorAction a.b.c.d.e.size() + Hierarchy_assert_A_a_b_c_d_e_size_.SetName("a.b.c.d.e.size()"); + Hierarchy_assert_A_a_b_c_d_e_size_.SetVisibility(VisibilityKind.public_); + + // OutputPin result + Hierarchy_assert_A_a_b_c_d_e_size__result.SetName("result"); + Hierarchy_assert_A_a_b_c_d_e_size__result.SetVisibility(VisibilityKind.public_); + Hierarchy_assert_A_a_b_c_d_e_size__result.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + Hierarchy_assert_A_a_b_c_d_e_size_.AddResult(Hierarchy_assert_A_a_b_c_d_e_size__result); + Hierarchy_assert_A_a_b_c_d_e_size_.SetBehavior(FoundationalModelLibraryModel.Instance().FoundationalModelLibrary_PrimitiveBehaviors_ListFunctions_ListSize); + // InputPin list + Hierarchy_assert_A_a_b_c_d_e_size__list.SetName("list"); + Hierarchy_assert_A_a_b_c_d_e_size__list.SetVisibility(VisibilityKind.public_); + + Hierarchy_assert_A_a_b_c_d_e_size__list.SetUpper(-1); + Hierarchy_assert_A_a_b_c_d_e_size__list.SetLower(0); + Hierarchy_assert_A_a_b_c_d_e_size_.AddArgument(Hierarchy_assert_A_a_b_c_d_e_size__list); + Hierarchy_assert_A.AddNode(Hierarchy_assert_A_a_b_c_d_e_size_); + // CallBehaviorAction a.b.c.size() + Hierarchy_assert_A_a_b_c_size_.SetName("a.b.c.size()"); + Hierarchy_assert_A_a_b_c_size_.SetVisibility(VisibilityKind.public_); + + // OutputPin result + Hierarchy_assert_A_a_b_c_size__result.SetName("result"); + Hierarchy_assert_A_a_b_c_size__result.SetVisibility(VisibilityKind.public_); + Hierarchy_assert_A_a_b_c_size__result.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + Hierarchy_assert_A_a_b_c_size_.AddResult(Hierarchy_assert_A_a_b_c_size__result); + Hierarchy_assert_A_a_b_c_size_.SetBehavior(FoundationalModelLibraryModel.Instance().FoundationalModelLibrary_PrimitiveBehaviors_ListFunctions_ListSize); + // InputPin list + Hierarchy_assert_A_a_b_c_size__list.SetName("list"); + Hierarchy_assert_A_a_b_c_size__list.SetVisibility(VisibilityKind.public_); + + Hierarchy_assert_A_a_b_c_size__list.SetUpper(-1); + Hierarchy_assert_A_a_b_c_size__list.SetLower(0); + Hierarchy_assert_A_a_b_c_size_.AddArgument(Hierarchy_assert_A_a_b_c_size__list); + Hierarchy_assert_A.AddNode(Hierarchy_assert_A_a_b_c_size_); + // CallBehaviorAction WriteLine_a.b.c + Hierarchy_assert_A_WriteLine_a_b_c.SetName("WriteLine_a.b.c"); + Hierarchy_assert_A_WriteLine_a_b_c.SetVisibility(VisibilityKind.public_); + + // OutputPin errorStatus + Hierarchy_assert_A_WriteLine_a_b_c_errorStatus.SetName("errorStatus"); + Hierarchy_assert_A_WriteLine_a_b_c_errorStatus.SetVisibility(VisibilityKind.public_); + + Hierarchy_assert_A_WriteLine_a_b_c_errorStatus.SetLower(0); + Hierarchy_assert_A_WriteLine_a_b_c.AddResult(Hierarchy_assert_A_WriteLine_a_b_c_errorStatus); + Hierarchy_assert_A_WriteLine_a_b_c.SetBehavior(FoundationalModelLibraryModel.Instance().FoundationalModelLibrary_BasicInputOutput_WriteLine); + // InputPin value + Hierarchy_assert_A_WriteLine_a_b_c_value.SetName("value"); + Hierarchy_assert_A_WriteLine_a_b_c_value.SetVisibility(VisibilityKind.public_); + Hierarchy_assert_A_WriteLine_a_b_c_value.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_String); + Hierarchy_assert_A_WriteLine_a_b_c.AddArgument(Hierarchy_assert_A_WriteLine_a_b_c_value); + Hierarchy_assert_A.AddNode(Hierarchy_assert_A_WriteLine_a_b_c); + // ForkNode Fork a.b.c + Hierarchy_assert_A_Fork_a_b_c.SetName("Fork a.b.c"); + Hierarchy_assert_A_Fork_a_b_c.SetVisibility(VisibilityKind.public_); + Hierarchy_assert_A.AddNode(Hierarchy_assert_A_Fork_a_b_c); + // CallBehaviorAction WriteLine_a.b.c.d.e + Hierarchy_assert_A_WriteLine_a_b_c_d_e.SetName("WriteLine_a.b.c.d.e"); + Hierarchy_assert_A_WriteLine_a_b_c_d_e.SetVisibility(VisibilityKind.public_); + + // OutputPin errorStatus + Hierarchy_assert_A_WriteLine_a_b_c_d_e_errorStatus.SetName("errorStatus"); + Hierarchy_assert_A_WriteLine_a_b_c_d_e_errorStatus.SetVisibility(VisibilityKind.public_); + + Hierarchy_assert_A_WriteLine_a_b_c_d_e_errorStatus.SetLower(0); + Hierarchy_assert_A_WriteLine_a_b_c_d_e.AddResult(Hierarchy_assert_A_WriteLine_a_b_c_d_e_errorStatus); + Hierarchy_assert_A_WriteLine_a_b_c_d_e.SetBehavior(FoundationalModelLibraryModel.Instance().FoundationalModelLibrary_BasicInputOutput_WriteLine); + // InputPin value + Hierarchy_assert_A_WriteLine_a_b_c_d_e_value.SetName("value"); + Hierarchy_assert_A_WriteLine_a_b_c_d_e_value.SetVisibility(VisibilityKind.public_); + Hierarchy_assert_A_WriteLine_a_b_c_d_e_value.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_String); + Hierarchy_assert_A_WriteLine_a_b_c_d_e.AddArgument(Hierarchy_assert_A_WriteLine_a_b_c_d_e_value); + Hierarchy_assert_A.AddNode(Hierarchy_assert_A_WriteLine_a_b_c_d_e); + // CallBehaviorAction a.b.c.d.size() + Hierarchy_assert_A_a_b_c_d_size_.SetName("a.b.c.d.size()"); + Hierarchy_assert_A_a_b_c_d_size_.SetVisibility(VisibilityKind.public_); + + // OutputPin result + Hierarchy_assert_A_a_b_c_d_size__result.SetName("result"); + Hierarchy_assert_A_a_b_c_d_size__result.SetVisibility(VisibilityKind.public_); + Hierarchy_assert_A_a_b_c_d_size__result.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + Hierarchy_assert_A_a_b_c_d_size_.AddResult(Hierarchy_assert_A_a_b_c_d_size__result); + Hierarchy_assert_A_a_b_c_d_size_.SetBehavior(FoundationalModelLibraryModel.Instance().FoundationalModelLibrary_PrimitiveBehaviors_ListFunctions_ListSize); + // InputPin list + Hierarchy_assert_A_a_b_c_d_size__list.SetName("list"); + Hierarchy_assert_A_a_b_c_d_size__list.SetVisibility(VisibilityKind.public_); + + Hierarchy_assert_A_a_b_c_d_size__list.SetUpper(-1); + Hierarchy_assert_A_a_b_c_d_size__list.SetLower(0); + Hierarchy_assert_A_a_b_c_d_size_.AddArgument(Hierarchy_assert_A_a_b_c_d_size__list); + Hierarchy_assert_A.AddNode(Hierarchy_assert_A_a_b_c_d_size_); + // ReadStructuralFeatureAction Read a.b + Hierarchy_assert_A_Read_a_b.SetName("Read a.b"); + Hierarchy_assert_A_Read_a_b.SetVisibility(VisibilityKind.public_); + Hierarchy_assert_A_Read_a_b.SetStructuralFeature(Hierarchy_A_b); + // InputPin object + Hierarchy_assert_A_Read_a_b_object.SetName("object"); + Hierarchy_assert_A_Read_a_b_object.SetVisibility(VisibilityKind.public_); + Hierarchy_assert_A_Read_a_b_object.SetType(Hierarchy_A); + Hierarchy_assert_A_Read_a_b.SetObject(Hierarchy_assert_A_Read_a_b_object); + // OutputPin result + Hierarchy_assert_A_Read_a_b_result.SetName("result"); + Hierarchy_assert_A_Read_a_b_result.SetVisibility(VisibilityKind.public_); + Hierarchy_assert_A_Read_a_b_result.SetType(Hierarchy_B); + Hierarchy_assert_A_Read_a_b.SetResult(Hierarchy_assert_A_Read_a_b_result); + Hierarchy_assert_A.AddNode(Hierarchy_assert_A_Read_a_b); + // CallBehaviorAction Test a.b.c.d.size + Hierarchy_assert_A_Test_a_b_c_d_size.SetName("Test a.b.c.d.size"); + Hierarchy_assert_A_Test_a_b_c_d_size.SetVisibility(VisibilityKind.public_); + Hierarchy_assert_A_Test_a_b_c_d_size.SetBehavior(Hierarchy_assert_A_testNonEmptyList); + // InputPin listSize + Hierarchy_assert_A_Test_a_b_c_d_size_listSize.SetName("listSize"); + Hierarchy_assert_A_Test_a_b_c_d_size_listSize.SetVisibility(VisibilityKind.public_); + Hierarchy_assert_A_Test_a_b_c_d_size_listSize.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + Hierarchy_assert_A_Test_a_b_c_d_size.AddArgument(Hierarchy_assert_A_Test_a_b_c_d_size_listSize); + Hierarchy_assert_A.AddNode(Hierarchy_assert_A_Test_a_b_c_d_size); + // CallBehaviorAction WriteLine_a.b.c.d + Hierarchy_assert_A_WriteLine_a_b_c_d.SetName("WriteLine_a.b.c.d"); + Hierarchy_assert_A_WriteLine_a_b_c_d.SetVisibility(VisibilityKind.public_); + + // OutputPin errorStatus + Hierarchy_assert_A_WriteLine_a_b_c_d_errorStatus.SetName("errorStatus"); + Hierarchy_assert_A_WriteLine_a_b_c_d_errorStatus.SetVisibility(VisibilityKind.public_); + + Hierarchy_assert_A_WriteLine_a_b_c_d_errorStatus.SetLower(0); + Hierarchy_assert_A_WriteLine_a_b_c_d.AddResult(Hierarchy_assert_A_WriteLine_a_b_c_d_errorStatus); + Hierarchy_assert_A_WriteLine_a_b_c_d.SetBehavior(FoundationalModelLibraryModel.Instance().FoundationalModelLibrary_BasicInputOutput_WriteLine); + // InputPin value + Hierarchy_assert_A_WriteLine_a_b_c_d_value.SetName("value"); + Hierarchy_assert_A_WriteLine_a_b_c_d_value.SetVisibility(VisibilityKind.public_); + Hierarchy_assert_A_WriteLine_a_b_c_d_value.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_String); + Hierarchy_assert_A_WriteLine_a_b_c_d.AddArgument(Hierarchy_assert_A_WriteLine_a_b_c_d_value); + Hierarchy_assert_A.AddNode(Hierarchy_assert_A_WriteLine_a_b_c_d); + // CallBehaviorAction a.b.size() + Hierarchy_assert_A_a_b_size_.SetName("a.b.size()"); + Hierarchy_assert_A_a_b_size_.SetVisibility(VisibilityKind.public_); + + // OutputPin result + Hierarchy_assert_A_a_b_size__result.SetName("result"); + Hierarchy_assert_A_a_b_size__result.SetVisibility(VisibilityKind.public_); + Hierarchy_assert_A_a_b_size__result.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + Hierarchy_assert_A_a_b_size_.AddResult(Hierarchy_assert_A_a_b_size__result); + Hierarchy_assert_A_a_b_size_.SetBehavior(FoundationalModelLibraryModel.Instance().FoundationalModelLibrary_PrimitiveBehaviors_ListFunctions_ListSize); + // InputPin list + Hierarchy_assert_A_a_b_size__list.SetName("list"); + Hierarchy_assert_A_a_b_size__list.SetVisibility(VisibilityKind.public_); + + Hierarchy_assert_A_a_b_size__list.SetUpper(-1); + Hierarchy_assert_A_a_b_size__list.SetLower(0); + Hierarchy_assert_A_a_b_size_.AddArgument(Hierarchy_assert_A_a_b_size__list); + Hierarchy_assert_A.AddNode(Hierarchy_assert_A_a_b_size_); + // CallBehaviorAction Test a.b.size + Hierarchy_assert_A_Test_a_b_size.SetName("Test a.b.size"); + Hierarchy_assert_A_Test_a_b_size.SetVisibility(VisibilityKind.public_); + Hierarchy_assert_A_Test_a_b_size.SetBehavior(Hierarchy_assert_A_testNonEmptyList); + // InputPin listSize + Hierarchy_assert_A_Test_a_b_size_listSize.SetName("listSize"); + Hierarchy_assert_A_Test_a_b_size_listSize.SetVisibility(VisibilityKind.public_); + Hierarchy_assert_A_Test_a_b_size_listSize.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + Hierarchy_assert_A_Test_a_b_size.AddArgument(Hierarchy_assert_A_Test_a_b_size_listSize); + Hierarchy_assert_A.AddNode(Hierarchy_assert_A_Test_a_b_size); + // ActivityParameterNode a_node + Hierarchy_assert_A_a_node.SetName("a_node"); + Hierarchy_assert_A_a_node.SetVisibility(VisibilityKind.public_); + + Hierarchy_assert_A_a_node.SetParameter(Hierarchy_assert_A_a); + Hierarchy_assert_A.AddNode(Hierarchy_assert_A_a_node); + // ValueSpecificationAction String(a.b.size) + Hierarchy_assert_A_String_a_b_size.SetName("String(a.b.size)"); + Hierarchy_assert_A_String_a_b_size.SetVisibility(VisibilityKind.public_); + // LiteralString LiteralString132 + Hierarchy_assert_A_String_a_b_size_LiteralString132.SetName("LiteralString132"); + Hierarchy_assert_A_String_a_b_size_LiteralString132.SetVisibility(VisibilityKind.public_); + Hierarchy_assert_A_String_a_b_size_LiteralString132.SetValue("Asserting a.b.size > 0"); + Hierarchy_assert_A_String_a_b_size.SetValue(Hierarchy_assert_A_String_a_b_size_LiteralString132); + // OutputPin result + Hierarchy_assert_A_String_a_b_size_result.SetName("result"); + Hierarchy_assert_A_String_a_b_size_result.SetVisibility(VisibilityKind.public_); + Hierarchy_assert_A_String_a_b_size_result.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_String); + Hierarchy_assert_A_String_a_b_size.SetResult(Hierarchy_assert_A_String_a_b_size_result); + Hierarchy_assert_A.AddNode(Hierarchy_assert_A_String_a_b_size); + // ValueSpecificationAction String(a.b.c.size) + Hierarchy_assert_A_String_a_b_c_size.SetName("String(a.b.c.size)"); + Hierarchy_assert_A_String_a_b_c_size.SetVisibility(VisibilityKind.public_); + // LiteralString LiteralString136 + Hierarchy_assert_A_String_a_b_c_size_LiteralString136.SetName("LiteralString136"); + Hierarchy_assert_A_String_a_b_c_size_LiteralString136.SetVisibility(VisibilityKind.public_); + Hierarchy_assert_A_String_a_b_c_size_LiteralString136.SetValue("Asserting a.b.c.size > 0"); + Hierarchy_assert_A_String_a_b_c_size.SetValue(Hierarchy_assert_A_String_a_b_c_size_LiteralString136); + // OutputPin result + Hierarchy_assert_A_String_a_b_c_size_result.SetName("result"); + Hierarchy_assert_A_String_a_b_c_size_result.SetVisibility(VisibilityKind.public_); + Hierarchy_assert_A_String_a_b_c_size_result.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_String); + Hierarchy_assert_A_String_a_b_c_size.SetResult(Hierarchy_assert_A_String_a_b_c_size_result); + Hierarchy_assert_A.AddNode(Hierarchy_assert_A_String_a_b_c_size); + // ReadStructuralFeatureAction Read a.b.c + Hierarchy_assert_A_Read_a_b_c.SetName("Read a.b.c"); + Hierarchy_assert_A_Read_a_b_c.SetVisibility(VisibilityKind.public_); + Hierarchy_assert_A_Read_a_b_c.SetStructuralFeature(Hierarchy_B_c); + // InputPin object + Hierarchy_assert_A_Read_a_b_c_object.SetName("object"); + Hierarchy_assert_A_Read_a_b_c_object.SetVisibility(VisibilityKind.public_); + Hierarchy_assert_A_Read_a_b_c_object.SetType(Hierarchy_B); + Hierarchy_assert_A_Read_a_b_c.SetObject(Hierarchy_assert_A_Read_a_b_c_object); + // OutputPin result + Hierarchy_assert_A_Read_a_b_c_result.SetName("result"); + Hierarchy_assert_A_Read_a_b_c_result.SetVisibility(VisibilityKind.public_); + Hierarchy_assert_A_Read_a_b_c_result.SetType(Hierarchy_C); + Hierarchy_assert_A_Read_a_b_c.SetResult(Hierarchy_assert_A_Read_a_b_c_result); + Hierarchy_assert_A.AddNode(Hierarchy_assert_A_Read_a_b_c); + // ValueSpecificationAction String(a.b.c.d.size) + Hierarchy_assert_A_String_a_b_c_d_size.SetName("String(a.b.c.d.size)"); + Hierarchy_assert_A_String_a_b_c_d_size.SetVisibility(VisibilityKind.public_); + // LiteralString LiteralString75 + Hierarchy_assert_A_String_a_b_c_d_size_LiteralString75.SetName("LiteralString75"); + Hierarchy_assert_A_String_a_b_c_d_size_LiteralString75.SetVisibility(VisibilityKind.public_); + Hierarchy_assert_A_String_a_b_c_d_size_LiteralString75.SetValue("Asserting a.b.c.d.size > 0"); + Hierarchy_assert_A_String_a_b_c_d_size.SetValue(Hierarchy_assert_A_String_a_b_c_d_size_LiteralString75); + // OutputPin result + Hierarchy_assert_A_String_a_b_c_d_size_result.SetName("result"); + Hierarchy_assert_A_String_a_b_c_d_size_result.SetVisibility(VisibilityKind.public_); + Hierarchy_assert_A_String_a_b_c_d_size_result.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_String); + Hierarchy_assert_A_String_a_b_c_d_size.SetResult(Hierarchy_assert_A_String_a_b_c_d_size_result); + Hierarchy_assert_A.AddNode(Hierarchy_assert_A_String_a_b_c_d_size); + // ReadStructuralFeatureAction Read a.b.c.d.e + Hierarchy_assert_A_Read_a_b_c_d_e.SetName("Read a.b.c.d.e"); + Hierarchy_assert_A_Read_a_b_c_d_e.SetVisibility(VisibilityKind.public_); + Hierarchy_assert_A_Read_a_b_c_d_e.SetStructuralFeature(Hierarchy_D_e); + // InputPin object + Hierarchy_assert_A_Read_a_b_c_d_e_object.SetName("object"); + Hierarchy_assert_A_Read_a_b_c_d_e_object.SetVisibility(VisibilityKind.public_); + Hierarchy_assert_A_Read_a_b_c_d_e_object.SetType(Hierarchy_D); + Hierarchy_assert_A_Read_a_b_c_d_e.SetObject(Hierarchy_assert_A_Read_a_b_c_d_e_object); + // OutputPin result + Hierarchy_assert_A_Read_a_b_c_d_e_result.SetName("result"); + Hierarchy_assert_A_Read_a_b_c_d_e_result.SetVisibility(VisibilityKind.public_); + Hierarchy_assert_A_Read_a_b_c_d_e_result.SetType(Hierarchy_E); + Hierarchy_assert_A_Read_a_b_c_d_e.SetResult(Hierarchy_assert_A_Read_a_b_c_d_e_result); + Hierarchy_assert_A.AddNode(Hierarchy_assert_A_Read_a_b_c_d_e); + // CallBehaviorAction Test a.b.c.size + Hierarchy_assert_A_Test_a_b_c_size.SetName("Test a.b.c.size"); + Hierarchy_assert_A_Test_a_b_c_size.SetVisibility(VisibilityKind.public_); + Hierarchy_assert_A_Test_a_b_c_size.SetBehavior(Hierarchy_assert_A_testNonEmptyList); + // InputPin listSize + Hierarchy_assert_A_Test_a_b_c_size_listSize.SetName("listSize"); + Hierarchy_assert_A_Test_a_b_c_size_listSize.SetVisibility(VisibilityKind.public_); + Hierarchy_assert_A_Test_a_b_c_size_listSize.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + Hierarchy_assert_A_Test_a_b_c_size.AddArgument(Hierarchy_assert_A_Test_a_b_c_size_listSize); + Hierarchy_assert_A.AddNode(Hierarchy_assert_A_Test_a_b_c_size); + // CallBehaviorAction WriteLine_a.b + Hierarchy_assert_A_WriteLine_a_b.SetName("WriteLine_a.b"); + Hierarchy_assert_A_WriteLine_a_b.SetVisibility(VisibilityKind.public_); + + // OutputPin errorStatus + Hierarchy_assert_A_WriteLine_a_b_errorStatus.SetName("errorStatus"); + Hierarchy_assert_A_WriteLine_a_b_errorStatus.SetVisibility(VisibilityKind.public_); + + Hierarchy_assert_A_WriteLine_a_b_errorStatus.SetLower(0); + Hierarchy_assert_A_WriteLine_a_b.AddResult(Hierarchy_assert_A_WriteLine_a_b_errorStatus); + Hierarchy_assert_A_WriteLine_a_b.SetBehavior(FoundationalModelLibraryModel.Instance().FoundationalModelLibrary_BasicInputOutput_WriteLine); + // InputPin value + Hierarchy_assert_A_WriteLine_a_b_value.SetName("value"); + Hierarchy_assert_A_WriteLine_a_b_value.SetVisibility(VisibilityKind.public_); + Hierarchy_assert_A_WriteLine_a_b_value.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_String); + Hierarchy_assert_A_WriteLine_a_b.AddArgument(Hierarchy_assert_A_WriteLine_a_b_value); + Hierarchy_assert_A.AddNode(Hierarchy_assert_A_WriteLine_a_b); + // ForkNode Fork a.b + Hierarchy_assert_A_Fork_a_b.SetName("Fork a.b"); + Hierarchy_assert_A_Fork_a_b.SetVisibility(VisibilityKind.public_); + Hierarchy_assert_A.AddNode(Hierarchy_assert_A_Fork_a_b); + // ControlFlow ControlFlow88 from a.b.c.size() to String(a.b.c.size) + Hierarchy_assert_A_ControlFlow88.SetName("ControlFlow88"); + Hierarchy_assert_A_ControlFlow88.SetVisibility(VisibilityKind.public_); + + Hierarchy_assert_A_ControlFlow88.SetSource(Hierarchy_assert_A_a_b_c_size_); + Hierarchy_assert_A_ControlFlow88.SetTarget(Hierarchy_assert_A_String_a_b_c_size); + Hierarchy_assert_A.AddEdge(Hierarchy_assert_A_ControlFlow88); + // ObjectFlow ObjectFlow17 from result to Fork a.b.c + Hierarchy_assert_A_ObjectFlow17.SetName("ObjectFlow17"); + Hierarchy_assert_A_ObjectFlow17.SetVisibility(VisibilityKind.public_); + + Hierarchy_assert_A_ObjectFlow17.SetSource(Hierarchy_assert_A_Read_a_b_c_result); + Hierarchy_assert_A_ObjectFlow17.SetTarget(Hierarchy_assert_A_Fork_a_b_c); + // LiteralBoolean LiteralBoolean18 + Hierarchy_assert_A_ObjectFlow17_LiteralBoolean18.SetName("LiteralBoolean18"); + Hierarchy_assert_A_ObjectFlow17_LiteralBoolean18.SetVisibility(VisibilityKind.public_); + Hierarchy_assert_A_ObjectFlow17_LiteralBoolean18.SetValue(true); + Hierarchy_assert_A_ObjectFlow17.SetGuard(Hierarchy_assert_A_ObjectFlow17_LiteralBoolean18); + Hierarchy_assert_A.AddEdge(Hierarchy_assert_A_ObjectFlow17); + // ObjectFlow ObjectFlow89 from result to Fork a.b.c.d + Hierarchy_assert_A_ObjectFlow89.SetName("ObjectFlow89"); + Hierarchy_assert_A_ObjectFlow89.SetVisibility(VisibilityKind.public_); + + Hierarchy_assert_A_ObjectFlow89.SetSource(Hierarchy_assert_A_Read_a_b_c_d_result); + Hierarchy_assert_A_ObjectFlow89.SetTarget(Hierarchy_assert_A_Fork_a_b_c_d); + // LiteralBoolean LiteralBoolean91 + Hierarchy_assert_A_ObjectFlow89_LiteralBoolean91.SetName("LiteralBoolean91"); + Hierarchy_assert_A_ObjectFlow89_LiteralBoolean91.SetVisibility(VisibilityKind.public_); + Hierarchy_assert_A_ObjectFlow89_LiteralBoolean91.SetValue(true); + Hierarchy_assert_A_ObjectFlow89.SetGuard(Hierarchy_assert_A_ObjectFlow89_LiteralBoolean91); + Hierarchy_assert_A.AddEdge(Hierarchy_assert_A_ObjectFlow89); + // ObjectFlow ObjectFlow92 from result to Fork a.b + Hierarchy_assert_A_ObjectFlow92.SetName("ObjectFlow92"); + Hierarchy_assert_A_ObjectFlow92.SetVisibility(VisibilityKind.public_); + + Hierarchy_assert_A_ObjectFlow92.SetSource(Hierarchy_assert_A_Read_a_b_result); + Hierarchy_assert_A_ObjectFlow92.SetTarget(Hierarchy_assert_A_Fork_a_b); + // LiteralBoolean LiteralBoolean94 + Hierarchy_assert_A_ObjectFlow92_LiteralBoolean94.SetName("LiteralBoolean94"); + Hierarchy_assert_A_ObjectFlow92_LiteralBoolean94.SetVisibility(VisibilityKind.public_); + Hierarchy_assert_A_ObjectFlow92_LiteralBoolean94.SetValue(true); + Hierarchy_assert_A_ObjectFlow92.SetGuard(Hierarchy_assert_A_ObjectFlow92_LiteralBoolean94); + Hierarchy_assert_A.AddEdge(Hierarchy_assert_A_ObjectFlow92); + // ObjectFlow ObjectFlow33 from result to listSize + Hierarchy_assert_A_ObjectFlow33.SetName("ObjectFlow33"); + Hierarchy_assert_A_ObjectFlow33.SetVisibility(VisibilityKind.public_); + + Hierarchy_assert_A_ObjectFlow33.SetSource(Hierarchy_assert_A_a_b_c_size__result); + Hierarchy_assert_A_ObjectFlow33.SetTarget(Hierarchy_assert_A_Test_a_b_c_size_listSize); + // LiteralBoolean LiteralBoolean34 + Hierarchy_assert_A_ObjectFlow33_LiteralBoolean34.SetName("LiteralBoolean34"); + Hierarchy_assert_A_ObjectFlow33_LiteralBoolean34.SetVisibility(VisibilityKind.public_); + Hierarchy_assert_A_ObjectFlow33_LiteralBoolean34.SetValue(true); + Hierarchy_assert_A_ObjectFlow33.SetGuard(Hierarchy_assert_A_ObjectFlow33_LiteralBoolean34); + Hierarchy_assert_A.AddEdge(Hierarchy_assert_A_ObjectFlow33); + // ControlFlow ControlFlow101 from a.b.c.d.size() to String(a.b.c.d.size) + Hierarchy_assert_A_ControlFlow101.SetName("ControlFlow101"); + Hierarchy_assert_A_ControlFlow101.SetVisibility(VisibilityKind.public_); + + Hierarchy_assert_A_ControlFlow101.SetSource(Hierarchy_assert_A_a_b_c_d_size_); + Hierarchy_assert_A_ControlFlow101.SetTarget(Hierarchy_assert_A_String_a_b_c_d_size); + Hierarchy_assert_A.AddEdge(Hierarchy_assert_A_ControlFlow101); + // ControlFlow ControlFlow102 from WriteLine_a.b to Test a.b.size + Hierarchy_assert_A_ControlFlow102.SetName("ControlFlow102"); + Hierarchy_assert_A_ControlFlow102.SetVisibility(VisibilityKind.public_); + + Hierarchy_assert_A_ControlFlow102.SetSource(Hierarchy_assert_A_WriteLine_a_b); + Hierarchy_assert_A_ControlFlow102.SetTarget(Hierarchy_assert_A_Test_a_b_size); + Hierarchy_assert_A.AddEdge(Hierarchy_assert_A_ControlFlow102); + // ControlFlow ControlFlow103 from WriteLine_a.b.c.d.e to Test a.b.c.d.e.size + Hierarchy_assert_A_ControlFlow103.SetName("ControlFlow103"); + Hierarchy_assert_A_ControlFlow103.SetVisibility(VisibilityKind.public_); + + Hierarchy_assert_A_ControlFlow103.SetSource(Hierarchy_assert_A_WriteLine_a_b_c_d_e); + Hierarchy_assert_A_ControlFlow103.SetTarget(Hierarchy_assert_A_Test_a_b_c_d_e_size); + Hierarchy_assert_A.AddEdge(Hierarchy_assert_A_ControlFlow103); + // ControlFlow ControlFlow42 from a.b.size() to String(a.b.size) + Hierarchy_assert_A_ControlFlow42.SetName("ControlFlow42"); + Hierarchy_assert_A_ControlFlow42.SetVisibility(VisibilityKind.public_); + + Hierarchy_assert_A_ControlFlow42.SetSource(Hierarchy_assert_A_a_b_size_); + Hierarchy_assert_A_ControlFlow42.SetTarget(Hierarchy_assert_A_String_a_b_size); + Hierarchy_assert_A.AddEdge(Hierarchy_assert_A_ControlFlow42); + // ObjectFlow ObjectFlow104 from result to listSize + Hierarchy_assert_A_ObjectFlow104.SetName("ObjectFlow104"); + Hierarchy_assert_A_ObjectFlow104.SetVisibility(VisibilityKind.public_); + + Hierarchy_assert_A_ObjectFlow104.SetSource(Hierarchy_assert_A_a_b_size__result); + Hierarchy_assert_A_ObjectFlow104.SetTarget(Hierarchy_assert_A_Test_a_b_size_listSize); + // LiteralBoolean LiteralBoolean105 + Hierarchy_assert_A_ObjectFlow104_LiteralBoolean105.SetName("LiteralBoolean105"); + Hierarchy_assert_A_ObjectFlow104_LiteralBoolean105.SetVisibility(VisibilityKind.public_); + Hierarchy_assert_A_ObjectFlow104_LiteralBoolean105.SetValue(true); + Hierarchy_assert_A_ObjectFlow104.SetGuard(Hierarchy_assert_A_ObjectFlow104_LiteralBoolean105); + Hierarchy_assert_A.AddEdge(Hierarchy_assert_A_ObjectFlow104); + // ObjectFlow ObjectFlow107 from result to value + Hierarchy_assert_A_ObjectFlow107.SetName("ObjectFlow107"); + Hierarchy_assert_A_ObjectFlow107.SetVisibility(VisibilityKind.public_); + + Hierarchy_assert_A_ObjectFlow107.SetSource(Hierarchy_assert_A_String_a_b_c_size_result); + Hierarchy_assert_A_ObjectFlow107.SetTarget(Hierarchy_assert_A_WriteLine_a_b_c_value); + // LiteralBoolean LiteralBoolean108 + Hierarchy_assert_A_ObjectFlow107_LiteralBoolean108.SetName("LiteralBoolean108"); + Hierarchy_assert_A_ObjectFlow107_LiteralBoolean108.SetVisibility(VisibilityKind.public_); + Hierarchy_assert_A_ObjectFlow107_LiteralBoolean108.SetValue(true); + Hierarchy_assert_A_ObjectFlow107.SetGuard(Hierarchy_assert_A_ObjectFlow107_LiteralBoolean108); + Hierarchy_assert_A.AddEdge(Hierarchy_assert_A_ObjectFlow107); + // ObjectFlow ObjectFlow120 from Fork a.b.c to object + Hierarchy_assert_A_ObjectFlow120.SetName("ObjectFlow120"); + Hierarchy_assert_A_ObjectFlow120.SetVisibility(VisibilityKind.public_); + + Hierarchy_assert_A_ObjectFlow120.SetSource(Hierarchy_assert_A_Fork_a_b_c); + Hierarchy_assert_A_ObjectFlow120.SetTarget(Hierarchy_assert_A_Read_a_b_c_d_object); + // LiteralBoolean LiteralBoolean121 + Hierarchy_assert_A_ObjectFlow120_LiteralBoolean121.SetName("LiteralBoolean121"); + Hierarchy_assert_A_ObjectFlow120_LiteralBoolean121.SetVisibility(VisibilityKind.public_); + Hierarchy_assert_A_ObjectFlow120_LiteralBoolean121.SetValue(true); + Hierarchy_assert_A_ObjectFlow120.SetGuard(Hierarchy_assert_A_ObjectFlow120_LiteralBoolean121); + Hierarchy_assert_A.AddEdge(Hierarchy_assert_A_ObjectFlow120); + // ControlFlow ControlFlow58 from WriteLine_a.b.c.d to Test a.b.c.d.size + Hierarchy_assert_A_ControlFlow58.SetName("ControlFlow58"); + Hierarchy_assert_A_ControlFlow58.SetVisibility(VisibilityKind.public_); + + Hierarchy_assert_A_ControlFlow58.SetSource(Hierarchy_assert_A_WriteLine_a_b_c_d); + Hierarchy_assert_A_ControlFlow58.SetTarget(Hierarchy_assert_A_Test_a_b_c_d_size); + Hierarchy_assert_A.AddEdge(Hierarchy_assert_A_ControlFlow58); + // ObjectFlow ObjectFlow123 from result to listSize + Hierarchy_assert_A_ObjectFlow123.SetName("ObjectFlow123"); + Hierarchy_assert_A_ObjectFlow123.SetVisibility(VisibilityKind.public_); + + Hierarchy_assert_A_ObjectFlow123.SetSource(Hierarchy_assert_A_a_b_c_d_e_size__result); + Hierarchy_assert_A_ObjectFlow123.SetTarget(Hierarchy_assert_A_Test_a_b_c_d_e_size_listSize); + // LiteralBoolean LiteralBoolean124 + Hierarchy_assert_A_ObjectFlow123_LiteralBoolean124.SetName("LiteralBoolean124"); + Hierarchy_assert_A_ObjectFlow123_LiteralBoolean124.SetVisibility(VisibilityKind.public_); + Hierarchy_assert_A_ObjectFlow123_LiteralBoolean124.SetValue(true); + Hierarchy_assert_A_ObjectFlow123.SetGuard(Hierarchy_assert_A_ObjectFlow123_LiteralBoolean124); + Hierarchy_assert_A.AddEdge(Hierarchy_assert_A_ObjectFlow123); + // ObjectFlow ObjectFlow65 from result to value + Hierarchy_assert_A_ObjectFlow65.SetName("ObjectFlow65"); + Hierarchy_assert_A_ObjectFlow65.SetVisibility(VisibilityKind.public_); + + Hierarchy_assert_A_ObjectFlow65.SetSource(Hierarchy_assert_A_String_a_b_size_result); + Hierarchy_assert_A_ObjectFlow65.SetTarget(Hierarchy_assert_A_WriteLine_a_b_value); + // LiteralBoolean LiteralBoolean67 + Hierarchy_assert_A_ObjectFlow65_LiteralBoolean67.SetName("LiteralBoolean67"); + Hierarchy_assert_A_ObjectFlow65_LiteralBoolean67.SetVisibility(VisibilityKind.public_); + Hierarchy_assert_A_ObjectFlow65_LiteralBoolean67.SetValue(true); + Hierarchy_assert_A_ObjectFlow65.SetGuard(Hierarchy_assert_A_ObjectFlow65_LiteralBoolean67); + Hierarchy_assert_A.AddEdge(Hierarchy_assert_A_ObjectFlow65); + // ObjectFlow ObjectFlow126 from Fork a.b.c to list + Hierarchy_assert_A_ObjectFlow126.SetName("ObjectFlow126"); + Hierarchy_assert_A_ObjectFlow126.SetVisibility(VisibilityKind.public_); + + Hierarchy_assert_A_ObjectFlow126.SetSource(Hierarchy_assert_A_Fork_a_b_c); + Hierarchy_assert_A_ObjectFlow126.SetTarget(Hierarchy_assert_A_a_b_c_size__list); + // LiteralBoolean LiteralBoolean127 + Hierarchy_assert_A_ObjectFlow126_LiteralBoolean127.SetName("LiteralBoolean127"); + Hierarchy_assert_A_ObjectFlow126_LiteralBoolean127.SetVisibility(VisibilityKind.public_); + Hierarchy_assert_A_ObjectFlow126_LiteralBoolean127.SetValue(true); + Hierarchy_assert_A_ObjectFlow126.SetGuard(Hierarchy_assert_A_ObjectFlow126_LiteralBoolean127); + Hierarchy_assert_A.AddEdge(Hierarchy_assert_A_ObjectFlow126); + // ControlFlow ControlFlow135 from a.b.c.d.e.size() to String(a.b.c.d.e.size) + Hierarchy_assert_A_ControlFlow135.SetName("ControlFlow135"); + Hierarchy_assert_A_ControlFlow135.SetVisibility(VisibilityKind.public_); + + Hierarchy_assert_A_ControlFlow135.SetSource(Hierarchy_assert_A_a_b_c_d_e_size_); + Hierarchy_assert_A_ControlFlow135.SetTarget(Hierarchy_assert_A_String_a_b_c_d_e_size); + Hierarchy_assert_A.AddEdge(Hierarchy_assert_A_ControlFlow135); + // ObjectFlow ObjectFlow69 from result to value + Hierarchy_assert_A_ObjectFlow69.SetName("ObjectFlow69"); + Hierarchy_assert_A_ObjectFlow69.SetVisibility(VisibilityKind.public_); + + Hierarchy_assert_A_ObjectFlow69.SetSource(Hierarchy_assert_A_String_a_b_c_d_size_result); + Hierarchy_assert_A_ObjectFlow69.SetTarget(Hierarchy_assert_A_WriteLine_a_b_c_d_value); + // LiteralBoolean LiteralBoolean71 + Hierarchy_assert_A_ObjectFlow69_LiteralBoolean71.SetName("LiteralBoolean71"); + Hierarchy_assert_A_ObjectFlow69_LiteralBoolean71.SetVisibility(VisibilityKind.public_); + Hierarchy_assert_A_ObjectFlow69_LiteralBoolean71.SetValue(true); + Hierarchy_assert_A_ObjectFlow69.SetGuard(Hierarchy_assert_A_ObjectFlow69_LiteralBoolean71); + Hierarchy_assert_A.AddEdge(Hierarchy_assert_A_ObjectFlow69); + // ObjectFlow ObjectFlow139 from Fork a.b.c.d to object + Hierarchy_assert_A_ObjectFlow139.SetName("ObjectFlow139"); + Hierarchy_assert_A_ObjectFlow139.SetVisibility(VisibilityKind.public_); + + Hierarchy_assert_A_ObjectFlow139.SetSource(Hierarchy_assert_A_Fork_a_b_c_d); + Hierarchy_assert_A_ObjectFlow139.SetTarget(Hierarchy_assert_A_Read_a_b_c_d_e_object); + // LiteralBoolean LiteralBoolean141 + Hierarchy_assert_A_ObjectFlow139_LiteralBoolean141.SetName("LiteralBoolean141"); + Hierarchy_assert_A_ObjectFlow139_LiteralBoolean141.SetVisibility(VisibilityKind.public_); + Hierarchy_assert_A_ObjectFlow139_LiteralBoolean141.SetValue(true); + Hierarchy_assert_A_ObjectFlow139.SetGuard(Hierarchy_assert_A_ObjectFlow139_LiteralBoolean141); + Hierarchy_assert_A.AddEdge(Hierarchy_assert_A_ObjectFlow139); + // ObjectFlow ObjectFlow142 from result to value + Hierarchy_assert_A_ObjectFlow142.SetName("ObjectFlow142"); + Hierarchy_assert_A_ObjectFlow142.SetVisibility(VisibilityKind.public_); + + Hierarchy_assert_A_ObjectFlow142.SetSource(Hierarchy_assert_A_String_a_b_c_d_e_size_result); + Hierarchy_assert_A_ObjectFlow142.SetTarget(Hierarchy_assert_A_WriteLine_a_b_c_d_e_value); + // LiteralBoolean LiteralBoolean144 + Hierarchy_assert_A_ObjectFlow142_LiteralBoolean144.SetName("LiteralBoolean144"); + Hierarchy_assert_A_ObjectFlow142_LiteralBoolean144.SetVisibility(VisibilityKind.public_); + Hierarchy_assert_A_ObjectFlow142_LiteralBoolean144.SetValue(true); + Hierarchy_assert_A_ObjectFlow142.SetGuard(Hierarchy_assert_A_ObjectFlow142_LiteralBoolean144); + Hierarchy_assert_A.AddEdge(Hierarchy_assert_A_ObjectFlow142); + // ObjectFlow ObjectFlow149 from a_node to object + Hierarchy_assert_A_ObjectFlow149.SetName("ObjectFlow149"); + Hierarchy_assert_A_ObjectFlow149.SetVisibility(VisibilityKind.public_); + + Hierarchy_assert_A_ObjectFlow149.SetSource(Hierarchy_assert_A_a_node); + Hierarchy_assert_A_ObjectFlow149.SetTarget(Hierarchy_assert_A_Read_a_b_object); + // LiteralBoolean LiteralBoolean150 + Hierarchy_assert_A_ObjectFlow149_LiteralBoolean150.SetName("LiteralBoolean150"); + Hierarchy_assert_A_ObjectFlow149_LiteralBoolean150.SetVisibility(VisibilityKind.public_); + Hierarchy_assert_A_ObjectFlow149_LiteralBoolean150.SetValue(true); + Hierarchy_assert_A_ObjectFlow149.SetGuard(Hierarchy_assert_A_ObjectFlow149_LiteralBoolean150); + Hierarchy_assert_A.AddEdge(Hierarchy_assert_A_ObjectFlow149); + // ControlFlow ControlFlow72 from WriteLine_a.b.c to Test a.b.c.size + Hierarchy_assert_A_ControlFlow72.SetName("ControlFlow72"); + Hierarchy_assert_A_ControlFlow72.SetVisibility(VisibilityKind.public_); + + Hierarchy_assert_A_ControlFlow72.SetSource(Hierarchy_assert_A_WriteLine_a_b_c); + Hierarchy_assert_A_ControlFlow72.SetTarget(Hierarchy_assert_A_Test_a_b_c_size); + Hierarchy_assert_A.AddEdge(Hierarchy_assert_A_ControlFlow72); + // ObjectFlow ObjectFlow152 from Fork a.b to list + Hierarchy_assert_A_ObjectFlow152.SetName("ObjectFlow152"); + Hierarchy_assert_A_ObjectFlow152.SetVisibility(VisibilityKind.public_); + + Hierarchy_assert_A_ObjectFlow152.SetSource(Hierarchy_assert_A_Fork_a_b); + Hierarchy_assert_A_ObjectFlow152.SetTarget(Hierarchy_assert_A_a_b_size__list); + // LiteralBoolean LiteralBoolean153 + Hierarchy_assert_A_ObjectFlow152_LiteralBoolean153.SetName("LiteralBoolean153"); + Hierarchy_assert_A_ObjectFlow152_LiteralBoolean153.SetVisibility(VisibilityKind.public_); + Hierarchy_assert_A_ObjectFlow152_LiteralBoolean153.SetValue(true); + Hierarchy_assert_A_ObjectFlow152.SetGuard(Hierarchy_assert_A_ObjectFlow152_LiteralBoolean153); + Hierarchy_assert_A.AddEdge(Hierarchy_assert_A_ObjectFlow152); + // ObjectFlow ObjectFlow76 from result to list + Hierarchy_assert_A_ObjectFlow76.SetName("ObjectFlow76"); + Hierarchy_assert_A_ObjectFlow76.SetVisibility(VisibilityKind.public_); + + Hierarchy_assert_A_ObjectFlow76.SetSource(Hierarchy_assert_A_Read_a_b_c_d_e_result); + Hierarchy_assert_A_ObjectFlow76.SetTarget(Hierarchy_assert_A_a_b_c_d_e_size__list); + // LiteralBoolean LiteralBoolean78 + Hierarchy_assert_A_ObjectFlow76_LiteralBoolean78.SetName("LiteralBoolean78"); + Hierarchy_assert_A_ObjectFlow76_LiteralBoolean78.SetVisibility(VisibilityKind.public_); + Hierarchy_assert_A_ObjectFlow76_LiteralBoolean78.SetValue(true); + Hierarchy_assert_A_ObjectFlow76.SetGuard(Hierarchy_assert_A_ObjectFlow76_LiteralBoolean78); + Hierarchy_assert_A.AddEdge(Hierarchy_assert_A_ObjectFlow76); + // ControlFlow ControlFlow79 from Test a.b.c.d.size to Read a.b.c.d.e + Hierarchy_assert_A_ControlFlow79.SetName("ControlFlow79"); + Hierarchy_assert_A_ControlFlow79.SetVisibility(VisibilityKind.public_); + + Hierarchy_assert_A_ControlFlow79.SetSource(Hierarchy_assert_A_Test_a_b_c_d_size); + Hierarchy_assert_A_ControlFlow79.SetTarget(Hierarchy_assert_A_Read_a_b_c_d_e); + Hierarchy_assert_A.AddEdge(Hierarchy_assert_A_ControlFlow79); + // ObjectFlow ObjectFlow159 from result to listSize + Hierarchy_assert_A_ObjectFlow159.SetName("ObjectFlow159"); + Hierarchy_assert_A_ObjectFlow159.SetVisibility(VisibilityKind.public_); + + Hierarchy_assert_A_ObjectFlow159.SetSource(Hierarchy_assert_A_a_b_c_d_size__result); + Hierarchy_assert_A_ObjectFlow159.SetTarget(Hierarchy_assert_A_Test_a_b_c_d_size_listSize); + // LiteralBoolean LiteralBoolean161 + Hierarchy_assert_A_ObjectFlow159_LiteralBoolean161.SetName("LiteralBoolean161"); + Hierarchy_assert_A_ObjectFlow159_LiteralBoolean161.SetVisibility(VisibilityKind.public_); + Hierarchy_assert_A_ObjectFlow159_LiteralBoolean161.SetValue(true); + Hierarchy_assert_A_ObjectFlow159.SetGuard(Hierarchy_assert_A_ObjectFlow159_LiteralBoolean161); + Hierarchy_assert_A.AddEdge(Hierarchy_assert_A_ObjectFlow159); + // ControlFlow ControlFlow80 from Test a.b.c.size to Read a.b.c.d + Hierarchy_assert_A_ControlFlow80.SetName("ControlFlow80"); + Hierarchy_assert_A_ControlFlow80.SetVisibility(VisibilityKind.public_); + + Hierarchy_assert_A_ControlFlow80.SetSource(Hierarchy_assert_A_Test_a_b_c_size); + Hierarchy_assert_A_ControlFlow80.SetTarget(Hierarchy_assert_A_Read_a_b_c_d); + Hierarchy_assert_A.AddEdge(Hierarchy_assert_A_ControlFlow80); + // ControlFlow ControlFlow81 from Test a.b.size to Read a.b.c + Hierarchy_assert_A_ControlFlow81.SetName("ControlFlow81"); + Hierarchy_assert_A_ControlFlow81.SetVisibility(VisibilityKind.public_); + + Hierarchy_assert_A_ControlFlow81.SetSource(Hierarchy_assert_A_Test_a_b_size); + Hierarchy_assert_A_ControlFlow81.SetTarget(Hierarchy_assert_A_Read_a_b_c); + Hierarchy_assert_A.AddEdge(Hierarchy_assert_A_ControlFlow81); + // ObjectFlow ObjectFlow162 from Fork a.b.c.d to list + Hierarchy_assert_A_ObjectFlow162.SetName("ObjectFlow162"); + Hierarchy_assert_A_ObjectFlow162.SetVisibility(VisibilityKind.public_); + + Hierarchy_assert_A_ObjectFlow162.SetSource(Hierarchy_assert_A_Fork_a_b_c_d); + Hierarchy_assert_A_ObjectFlow162.SetTarget(Hierarchy_assert_A_a_b_c_d_size__list); + // LiteralBoolean LiteralBoolean163 + Hierarchy_assert_A_ObjectFlow162_LiteralBoolean163.SetName("LiteralBoolean163"); + Hierarchy_assert_A_ObjectFlow162_LiteralBoolean163.SetVisibility(VisibilityKind.public_); + Hierarchy_assert_A_ObjectFlow162_LiteralBoolean163.SetValue(true); + Hierarchy_assert_A_ObjectFlow162.SetGuard(Hierarchy_assert_A_ObjectFlow162_LiteralBoolean163); + Hierarchy_assert_A.AddEdge(Hierarchy_assert_A_ObjectFlow162); + // ObjectFlow ObjectFlow168 from Fork a.b to object + Hierarchy_assert_A_ObjectFlow168.SetName("ObjectFlow168"); + Hierarchy_assert_A_ObjectFlow168.SetVisibility(VisibilityKind.public_); + + Hierarchy_assert_A_ObjectFlow168.SetSource(Hierarchy_assert_A_Fork_a_b); + Hierarchy_assert_A_ObjectFlow168.SetTarget(Hierarchy_assert_A_Read_a_b_c_object); + // LiteralBoolean LiteralBoolean170 + Hierarchy_assert_A_ObjectFlow168_LiteralBoolean170.SetName("LiteralBoolean170"); + Hierarchy_assert_A_ObjectFlow168_LiteralBoolean170.SetVisibility(VisibilityKind.public_); + Hierarchy_assert_A_ObjectFlow168_LiteralBoolean170.SetValue(true); + Hierarchy_assert_A_ObjectFlow168.SetGuard(Hierarchy_assert_A_ObjectFlow168_LiteralBoolean170); + Hierarchy_assert_A.AddEdge(Hierarchy_assert_A_ObjectFlow168); + Hierarchy.AddPackagedElement(Hierarchy_assert_A); + // Class B + Hierarchy_B.SetName("B"); + Hierarchy_B.SetVisibility(VisibilityKind.public_); + + // Property c + Hierarchy_B_c.SetName("c"); + Hierarchy_B_c.SetVisibility(VisibilityKind.public_); + + Hierarchy_B_c.SetType(Hierarchy_C); + Hierarchy_B_c.SetAggregation(AggregationKind.composite); + Hierarchy_B.AddOwnedAttribute(Hierarchy_B_c); + Hierarchy.AddPackagedElement(Hierarchy_B); + // Class D + Hierarchy_D.SetName("D"); + Hierarchy_D.SetVisibility(VisibilityKind.public_); + + // Property e + Hierarchy_D_e.SetName("e"); + Hierarchy_D_e.SetVisibility(VisibilityKind.public_); + + Hierarchy_D_e.SetType(Hierarchy_E); + Hierarchy_D_e.SetAggregation(AggregationKind.shared); + Hierarchy_D.AddOwnedAttribute(Hierarchy_D_e); + Hierarchy.AddPackagedElement(Hierarchy_D); + // Class E + Hierarchy_E.SetName("E"); + Hierarchy_E.SetVisibility(VisibilityKind.public_); + Hierarchy.AddPackagedElement(Hierarchy_E); + // Class A + Hierarchy_A.SetName("A"); + Hierarchy_A.SetVisibility(VisibilityKind.public_); + + // Property b + Hierarchy_A_b.SetName("b"); + Hierarchy_A_b.SetVisibility(VisibilityKind.public_); + + Hierarchy_A_b.SetType(Hierarchy_B); + Hierarchy_A_b.SetAggregation(AggregationKind.composite); + Hierarchy_A.AddOwnedAttribute(Hierarchy_A_b); + + + // Operation A_A + Hierarchy_A_A_A.SetName("A_A"); + Hierarchy_A_A_A.SetVisibility(VisibilityKind.public_); + // Parameter result + Hierarchy_A_A_A_result.SetName("result"); + Hierarchy_A_A_A_result.SetVisibility(VisibilityKind.public_); + + Hierarchy_A_A_A_result.SetType(Hierarchy_A); + Hierarchy_A_A_A_result.SetDirection(ParameterDirectionKind.return_); + Hierarchy_A_A_A.AddOwnedParameter(Hierarchy_A_A_A_result); + Hierarchy_A_A_A.ApplyStereotype(uml.standardprofile.StandardProfileModel.Instance().Stereotype_Create); + Hierarchy_A.AddOwnedOperation(Hierarchy_A_A_A); + Hierarchy.AddPackagedElement(Hierarchy_A); + // Activity main + Hierarchy_main.SetName("main"); + Hierarchy_main.SetVisibility(VisibilityKind.public_); + // CallBehaviorAction instantiate_A + Hierarchy_main_instantiate_A.SetName("instantiate_A"); + Hierarchy_main_instantiate_A.SetVisibility(VisibilityKind.public_); + + // OutputPin a + Hierarchy_main_instantiate_A_a.SetName("a"); + Hierarchy_main_instantiate_A_a.SetVisibility(VisibilityKind.public_); + Hierarchy_main_instantiate_A_a.SetType(Hierarchy_A); + Hierarchy_main_instantiate_A.AddResult(Hierarchy_main_instantiate_A_a); + Hierarchy_main_instantiate_A.SetBehavior(Hierarchy_instantiate_A); + Hierarchy_main.AddNode(Hierarchy_main_instantiate_A); + // CallBehaviorAction assert_A + Hierarchy_main_assert_A.SetName("assert_A"); + Hierarchy_main_assert_A.SetVisibility(VisibilityKind.public_); + Hierarchy_main_assert_A.SetBehavior(Hierarchy_assert_A); + // InputPin a + Hierarchy_main_assert_A_a.SetName("a"); + Hierarchy_main_assert_A_a.SetVisibility(VisibilityKind.public_); + Hierarchy_main_assert_A.AddArgument(Hierarchy_main_assert_A_a); + Hierarchy_main.AddNode(Hierarchy_main_assert_A); + // ObjectFlow ObjectFlow171 from a to a + Hierarchy_main_ObjectFlow171.SetName("ObjectFlow171"); + Hierarchy_main_ObjectFlow171.SetVisibility(VisibilityKind.public_); + + Hierarchy_main_ObjectFlow171.SetSource(Hierarchy_main_instantiate_A_a); + Hierarchy_main_ObjectFlow171.SetTarget(Hierarchy_main_assert_A_a); + // LiteralBoolean LiteralBoolean172 + Hierarchy_main_ObjectFlow171_LiteralBoolean172.SetName("LiteralBoolean172"); + Hierarchy_main_ObjectFlow171_LiteralBoolean172.SetVisibility(VisibilityKind.public_); + Hierarchy_main_ObjectFlow171_LiteralBoolean172.SetValue(true); + Hierarchy_main_ObjectFlow171.SetGuard(Hierarchy_main_ObjectFlow171_LiteralBoolean172); + Hierarchy_main.AddEdge(Hierarchy_main_ObjectFlow171); + Hierarchy.AddPackagedElement(Hierarchy_main); + // Class C + Hierarchy_C.SetName("C"); + Hierarchy_C.SetVisibility(VisibilityKind.public_); + + // Property d + Hierarchy_C_d.SetName("d"); + Hierarchy_C_d.SetVisibility(VisibilityKind.public_); + + Hierarchy_C_d.SetType(Hierarchy_D); + Hierarchy_C_d.SetAggregation(AggregationKind.composite); + Hierarchy_C.AddOwnedAttribute(Hierarchy_C_d); + Hierarchy.AddPackagedElement(Hierarchy_C); + } + + /* Start of user code : User-defined members + * This section may be used for user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } // HierarchyModel +} diff --git a/fUML-CSharp/tests/pscs-Tests/01_Instantiation/08_Hierarchy/src/testEmptyListExecution.cs b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/08_Hierarchy/src/testEmptyListExecution.cs new file mode 100644 index 0000000..96d6b2c --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/08_Hierarchy/src/testEmptyListExecution.cs @@ -0,0 +1,75 @@ +/* + * testEmptyListExecution.cs + * + * Auto-generated file + */ + +using fuml.semantics.commonbehavior; +using fuml; +using fuml.semantics.simpleclassifiers; +using fuml.semantics.values; + +/* Start of user code : User-defined includes and forward declarations + * This section may be used for includes and forward declarations. + * It will not be overwritten by future generation processes. + */ + +/* + * End of user code + */ + +namespace Hierarchy +{ + public class testEmptyListExecution : OpaqueBehaviorExecution + { + public testEmptyListExecution() + { + types.Add(HierarchyModel.Instance().Hierarchy_assert_A_testEmptyList); + /* Start of user code : Additional opaque behavior execution initializations + * This section may be used to do any additional opaque behavior execution initialization, + * for example initializing user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } + + public override void DoBody(List inputParameters, List outputParameters) + { + string parameterName = inputParameters.ElementAt(0).parameter!.name; + // Test parameter listSize + int listSize = ((IntegerValue)inputParameters.ElementAt(0).values.ElementAt(0)).value; + Debug.Println("[doBody] argument " + parameterName + " = " + listSize); + + Console.Write("Part is empty: "); + + if(listSize == 0) + { + Console.ForegroundColor = ConsoleColor.Green; + Console.WriteLine("Assertion successful."); + } + else + { + Console.ForegroundColor = ConsoleColor.Red; + Console.WriteLine("Assertion failed!"); + } + Console.ResetColor(); + } + + protected override Value New_() + { + return new testEmptyListExecution(); + } + + /* Start of user code : User-defined members + * This section may be used for user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } // testEmptyListExecution +} diff --git a/fUML-CSharp/tests/pscs-Tests/01_Instantiation/08_Hierarchy/src/testNonEmptyListExecution.cs b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/08_Hierarchy/src/testNonEmptyListExecution.cs new file mode 100644 index 0000000..ed75aef --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/01_Instantiation/08_Hierarchy/src/testNonEmptyListExecution.cs @@ -0,0 +1,76 @@ +/* + * testNonEmptyListExecution.cs + * + * Auto-generated file + */ + +using fuml.semantics.commonbehavior; +using fuml; +using fuml.semantics.simpleclassifiers; +using fuml.semantics.values; + +/* Start of user code : User-defined includes and forward declarations + * This section may be used for includes and forward declarations. + * It will not be overwritten by future generation processes. + */ + +/* + * End of user code + */ + +namespace Hierarchy +{ + public class testNonEmptyListExecution : OpaqueBehaviorExecution + { + public testNonEmptyListExecution() + { + types.Add(HierarchyModel.Instance().Hierarchy_assert_A_testNonEmptyList); + /* Start of user code : Additional opaque behavior execution initializations + * This section may be used to do any additional opaque behavior execution initialization, + * for example initializing user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } + + public override void DoBody(List inputParameters, List outputParameters) + { + string parameterName = inputParameters.ElementAt(0).parameter!.name; + + // Test parameter listSize + int listSize = ((IntegerValue)inputParameters.ElementAt(0).values.ElementAt(0)).value; + Debug.Println("[doBody] argument " + parameterName + " = " + listSize); + + Console.Write("Part is not empty: "); + + if(listSize > 0) + { + Console.ForegroundColor = ConsoleColor.Green; + Console.WriteLine("Assertion successful."); + } + else + { + Console.ForegroundColor = ConsoleColor.Red; + Console.WriteLine("Assertion failed!"); + } + Console.ResetColor(); + } + + protected override Value New_() + { + return new testNonEmptyListExecution(); + } + + /* Start of user code : User-defined members + * This section may be used for user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } // testNonEmptyListExecution +} diff --git a/fUML-CSharp/tests/pscs-Tests/02_Communication/01_BehaviorPort_Signal/.gitignore b/fUML-CSharp/tests/pscs-Tests/02_Communication/01_BehaviorPort_Signal/.gitignore new file mode 100644 index 0000000..1736844 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/02_Communication/01_BehaviorPort_Signal/.gitignore @@ -0,0 +1,3 @@ +/.vs/ +/bin/ +/obj/ diff --git a/fUML-CSharp/tests/pscs-Tests/02_Communication/01_BehaviorPort_Signal/BehaviorPort_Signal.csproj b/fUML-CSharp/tests/pscs-Tests/02_Communication/01_BehaviorPort_Signal/BehaviorPort_Signal.csproj new file mode 100644 index 0000000..ad767f3 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/02_Communication/01_BehaviorPort_Signal/BehaviorPort_Signal.csproj @@ -0,0 +1,50 @@ + + + + Exe + net6.0 + enable + enable + + + + BehaviorPort_Signal.Debug + + + BehaviorPort_Signal.Release + + + + + ..\..\..\..\uml\bin\Debug\net6.0\uml.Debug.dll + + + + + ..\..\..\..\uml\bin\Release\net6.0\uml.Release.dll + + + + + + ..\..\..\..\fuml\bin\Debug\net6.0\fuml.Debug.dll + + + + + ..\..\..\..\fuml\bin\Release\net6.0\fuml.Release.dll + + + + + + ..\..\..\..\pscs\bin\Debug\net6.0\pscs.Debug.dll + + + + + ..\..\..\..\pscs\bin\Release\net6.0\pscs.Release.dll + + + + diff --git a/fUML-CSharp/tests/pscs-Tests/02_Communication/01_BehaviorPort_Signal/BehaviorPort_Signal.sln b/fUML-CSharp/tests/pscs-Tests/02_Communication/01_BehaviorPort_Signal/BehaviorPort_Signal.sln new file mode 100644 index 0000000..eae1f22 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/02_Communication/01_BehaviorPort_Signal/BehaviorPort_Signal.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.32112.339 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BehaviorPort_Signal", "BehaviorPort_Signal.csproj", "{3B31C79D-4203-4240-8DCD-499A668C1661}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {3B31C79D-4203-4240-8DCD-499A668C1661}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {3B31C79D-4203-4240-8DCD-499A668C1661}.Debug|Any CPU.Build.0 = Debug|Any CPU + {3B31C79D-4203-4240-8DCD-499A668C1661}.Release|Any CPU.ActiveCfg = Release|Any CPU + {3B31C79D-4203-4240-8DCD-499A668C1661}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {D0D239AF-DBB7-42ED-B28E-57CA5B74B937} + EndGlobalSection +EndGlobal diff --git a/fUML-CSharp/tests/pscs-Tests/02_Communication/01_BehaviorPort_Signal/Properties/launchSettings.json b/fUML-CSharp/tests/pscs-Tests/02_Communication/01_BehaviorPort_Signal/Properties/launchSettings.json new file mode 100644 index 0000000..be17c78 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/02_Communication/01_BehaviorPort_Signal/Properties/launchSettings.json @@ -0,0 +1,8 @@ +{ + "profiles": { + "BehaviorPort_Signal": { + "commandName": "Project", + "commandLineArgs": "main" + } + } +} \ No newline at end of file diff --git a/fUML-CSharp/tests/pscs-Tests/02_Communication/01_BehaviorPort_Signal/model/BehaviorPort_Signal.di b/fUML-CSharp/tests/pscs-Tests/02_Communication/01_BehaviorPort_Signal/model/BehaviorPort_Signal.di new file mode 100644 index 0000000..bf9abab --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/02_Communication/01_BehaviorPort_Signal/model/BehaviorPort_Signal.di @@ -0,0 +1,2 @@ + + diff --git a/fUML-CSharp/tests/pscs-Tests/02_Communication/01_BehaviorPort_Signal/model/BehaviorPort_Signal.notation b/fUML-CSharp/tests/pscs-Tests/02_Communication/01_BehaviorPort_Signal/model/BehaviorPort_Signal.notation new file mode 100644 index 0000000..bf9abab --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/02_Communication/01_BehaviorPort_Signal/model/BehaviorPort_Signal.notation @@ -0,0 +1,2 @@ + + diff --git a/fUML-CSharp/tests/pscs-Tests/02_Communication/01_BehaviorPort_Signal/model/BehaviorPort_Signal.uml b/fUML-CSharp/tests/pscs-Tests/02_Communication/01_BehaviorPort_Signal/model/BehaviorPort_Signal.uml new file mode 100644 index 0000000..57f5342 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/02_Communication/01_BehaviorPort_Signal/model/BehaviorPort_Signal.uml @@ -0,0 +1,383 @@ + + + + + This test case addresses reception of a signal on a behavior port. + + + Passing: true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + C# + Using + Console.WriteLine("Asserting a.p == 4"); + + // Test parameter p + int p = ((IntegerValue)inputParameters.ElementAt(0).values.ElementAt(0)).value; + Debug.Println("[doBody] argument p = " + p); + + Console.WriteLine("a.p == " + p); + Console.Write("Signal delegated to classifier behavior: "); + + if(p == 4) + { + Console.ForegroundColor = ConsoleColor.Green; + Console.WriteLine("Assertion successful."); + } + else + { + Console.ForegroundColor = ConsoleColor.Red; + Console.WriteLine("Assertion failed!"); + } + + Console.ResetColor(); + using fuml.semantics.simpleclassifiers; + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/fUML-CSharp/tests/pscs-Tests/02_Communication/01_BehaviorPort_Signal/src/BehaviorPort_Signal.cs b/fUML-CSharp/tests/pscs-Tests/02_Communication/01_BehaviorPort_Signal/src/BehaviorPort_Signal.cs new file mode 100644 index 0000000..35bca64 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/02_Communication/01_BehaviorPort_Signal/src/BehaviorPort_Signal.cs @@ -0,0 +1,31 @@ +namespace BehaviorPort_Signal +{ + internal class BehaviorPort_Signal + { + static void PrintUsage() + { + Console.WriteLine( + "=============================================================================================\n" + + "USAGE: [ <...>]\n" + + "=============================================================================================\n" + ); + } + + static int Main(string[] args) + { + if(args.Length == 0) + { + Console.WriteLine("[ERROR] Must declare at least one behavior name.\n"); + PrintUsage(); + return -1; + } + + foreach (string arg in args) + { + BehaviorPort_SignalEnvironment.Instance().Execute(arg); + } + + return 0; + } + } +} diff --git a/fUML-CSharp/tests/pscs-Tests/02_Communication/01_BehaviorPort_Signal/src/BehaviorPort_SignalEnvironment.cs b/fUML-CSharp/tests/pscs-Tests/02_Communication/01_BehaviorPort_Signal/src/BehaviorPort_SignalEnvironment.cs new file mode 100644 index 0000000..ddf5570 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/02_Communication/01_BehaviorPort_Signal/src/BehaviorPort_SignalEnvironment.cs @@ -0,0 +1,93 @@ +/* + * BehaviorPort_SignalEnvironment.cs + * + * Auto-generated file + */ + +/* Start of user code : User-defined using directives + * This section may be used for using directives. + * It will not be overwritten by future generation processes. + */ + +/* + * End of user code + */ + +namespace BehaviorPort_Signal +{ + public class BehaviorPort_SignalEnvironment : pscs.environment.Environment + { + private static BehaviorPort_SignalEnvironment? instance; + + public static BehaviorPort_SignalEnvironment Instance() + { + if(instance is null) + { + instance = new(); + instance.inMemoryModel = BehaviorPort_SignalModel.Instance(); + } + + return instance; + } + + public BehaviorPort_SignalEnvironment() + { + /* + * Create custom opaque behavior execution instances and add them to the execution environment. + */ + AddPrimitiveBehaviorPrototype(new testPExecution()); + + /* Start of user code : Additional environment initializations + * This section may be used to do any additional environment initialization, + * for example initializing user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } + + public override void Execute(string behaviorName) + { + /* Start of user code : Context and inputs initializations + * This section may be used to initialize the execution context + * as well as input parameter values if required. + * It will not be overwritten by future generation processes. + */ + + //context = ...; + //inputs = ...; + + /* + * End of user code + */ + + /* + * Start execution via base class call + */ + base.Execute(behaviorName); + + /* Start of user code : Outputs evaluation + * This section may be used to evaluate output parameter values if required. + * It will not be overwritten by future generation processes. + */ + + //List theOutputs = outputs; + //... + + /* + * End of user code + */ + } + + /* Start of user code : User-defined members + * This section may be used for user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } // BehaviorPort_SignalEnvironment +} diff --git a/fUML-CSharp/tests/pscs-Tests/02_Communication/01_BehaviorPort_Signal/src/BehaviorPort_SignalModel.cs b/fUML-CSharp/tests/pscs-Tests/02_Communication/01_BehaviorPort_Signal/src/BehaviorPort_SignalModel.cs new file mode 100644 index 0000000..9723d49 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/02_Communication/01_BehaviorPort_Signal/src/BehaviorPort_SignalModel.cs @@ -0,0 +1,1359 @@ +/* + * BehaviorPort_SignalModel.cs + * + * Auto-generated file + */ + +using uml.actions; +using uml.packages; +using uml.structuredclassifiers; +using fuml.primitivetypes; +using uml.classification; +using fuml.library; +using uml.simpleclassifiers; +using uml.commonbehavior; +using uml.commonstructure; +using uml.values; +using uml.activities; +using uml.environment; + + +/* Start of user code : User-defined includes and forward declarations + * This section may be used for includes and forward declarations. + * It will not be overwritten by future generation processes. + */ + +/* + * End of user code + */ + +namespace BehaviorPort_Signal +{ + public class BehaviorPort_SignalModel : InMemoryModel + { + private static BehaviorPort_SignalModel? instance; + + /* + * Model BehaviorPort_Signal + */ + public Package BehaviorPort_Signal = new(); + public SignalEvent BehaviorPort_Signal_SignalEventStart = new(); + public Class_ BehaviorPort_Signal_Tester = new(); + public Activity BehaviorPort_Signal_Tester_TesterClassifierBehavior = new(); + public ObjectFlow BehaviorPort_Signal_Tester_TesterClassifierBehavior_ObjectFlow0 = new(); + public LiteralInteger BehaviorPort_Signal_Tester_TesterClassifierBehavior_ObjectFlow0_LiteralInteger1 = new(); + public LiteralBoolean BehaviorPort_Signal_Tester_TesterClassifierBehavior_ObjectFlow0_LiteralBoolean2 = new(); + public SendSignalAction BehaviorPort_Signal_Tester_TesterClassifierBehavior_Send_S = new(); + public InputPin BehaviorPort_Signal_Tester_TesterClassifierBehavior_Send_S_v = new(); + public LiteralUnlimitedNatural BehaviorPort_Signal_Tester_TesterClassifierBehavior_Send_S_v_LiteralUnlimitedNatural3 = new(); + public LiteralInteger BehaviorPort_Signal_Tester_TesterClassifierBehavior_Send_S_v_LiteralInteger4 = new(); + public InputPin BehaviorPort_Signal_Tester_TesterClassifierBehavior_Send_S_t = new(); + public LiteralInteger BehaviorPort_Signal_Tester_TesterClassifierBehavior_Send_S_t_LiteralInteger5 = new(); + public LiteralUnlimitedNatural BehaviorPort_Signal_Tester_TesterClassifierBehavior_Send_S_t_LiteralUnlimitedNatural6 = new(); + public InputPin BehaviorPort_Signal_Tester_TesterClassifierBehavior_Send_S_target = new(); + public LiteralUnlimitedNatural BehaviorPort_Signal_Tester_TesterClassifierBehavior_Send_S_target_LiteralUnlimitedNatural7 = new(); + public LiteralInteger BehaviorPort_Signal_Tester_TesterClassifierBehavior_Send_S_target_LiteralInteger8 = new(); + public CallOperationAction BehaviorPort_Signal_Tester_TesterClassifierBehavior_Call_test_ = new(); + public InputPin BehaviorPort_Signal_Tester_TesterClassifierBehavior_Call_test__target = new(); + public LiteralInteger BehaviorPort_Signal_Tester_TesterClassifierBehavior_Call_test__target_LiteralInteger9 = new(); + public LiteralUnlimitedNatural BehaviorPort_Signal_Tester_TesterClassifierBehavior_Call_test__target_LiteralUnlimitedNatural10 = new(); + public ForkNode BehaviorPort_Signal_Tester_TesterClassifierBehavior_Fork_this = new(); + public ObjectFlow BehaviorPort_Signal_Tester_TesterClassifierBehavior_ObjectFlow11 = new(); + public LiteralInteger BehaviorPort_Signal_Tester_TesterClassifierBehavior_ObjectFlow11_LiteralInteger12 = new(); + public LiteralBoolean BehaviorPort_Signal_Tester_TesterClassifierBehavior_ObjectFlow11_LiteralBoolean13 = new(); + public ObjectFlow BehaviorPort_Signal_Tester_TesterClassifierBehavior_ObjectFlow14 = new(); + public LiteralBoolean BehaviorPort_Signal_Tester_TesterClassifierBehavior_ObjectFlow14_LiteralBoolean15 = new(); + public LiteralInteger BehaviorPort_Signal_Tester_TesterClassifierBehavior_ObjectFlow14_LiteralInteger16 = new(); + public ControlFlow BehaviorPort_Signal_Tester_TesterClassifierBehavior_ControlFlow17 = new(); + public ReadStructuralFeatureAction BehaviorPort_Signal_Tester_TesterClassifierBehavior_Read_this_a_q = new(); + public OutputPin BehaviorPort_Signal_Tester_TesterClassifierBehavior_Read_this_a_q_result = new(); + public LiteralUnlimitedNatural BehaviorPort_Signal_Tester_TesterClassifierBehavior_Read_this_a_q_result_LiteralUnlimitedNatural18 = new(); + public LiteralInteger BehaviorPort_Signal_Tester_TesterClassifierBehavior_Read_this_a_q_result_LiteralInteger19 = new(); + public InputPin BehaviorPort_Signal_Tester_TesterClassifierBehavior_Read_this_a_q_object = new(); + public LiteralUnlimitedNatural BehaviorPort_Signal_Tester_TesterClassifierBehavior_Read_this_a_q_object_LiteralUnlimitedNatural20 = new(); + public LiteralInteger BehaviorPort_Signal_Tester_TesterClassifierBehavior_Read_this_a_q_object_LiteralInteger21 = new(); + public ControlFlow BehaviorPort_Signal_Tester_TesterClassifierBehavior_ControlFlow22 = new(); + public ReadStructuralFeatureAction BehaviorPort_Signal_Tester_TesterClassifierBehavior_Read_this_a = new(); + public OutputPin BehaviorPort_Signal_Tester_TesterClassifierBehavior_Read_this_a_result = new(); + public LiteralUnlimitedNatural BehaviorPort_Signal_Tester_TesterClassifierBehavior_Read_this_a_result_LiteralUnlimitedNatural23 = new(); + public LiteralInteger BehaviorPort_Signal_Tester_TesterClassifierBehavior_Read_this_a_result_LiteralInteger24 = new(); + public InputPin BehaviorPort_Signal_Tester_TesterClassifierBehavior_Read_this_a_object = new(); + public LiteralInteger BehaviorPort_Signal_Tester_TesterClassifierBehavior_Read_this_a_object_LiteralInteger25 = new(); + public LiteralUnlimitedNatural BehaviorPort_Signal_Tester_TesterClassifierBehavior_Read_this_a_object_LiteralUnlimitedNatural26 = new(); + public ObjectFlow BehaviorPort_Signal_Tester_TesterClassifierBehavior_ObjectFlow27 = new(); + public LiteralInteger BehaviorPort_Signal_Tester_TesterClassifierBehavior_ObjectFlow27_LiteralInteger28 = new(); + public LiteralBoolean BehaviorPort_Signal_Tester_TesterClassifierBehavior_ObjectFlow27_LiteralBoolean29 = new(); + public ObjectFlow BehaviorPort_Signal_Tester_TesterClassifierBehavior_ObjectFlow30 = new(); + public LiteralBoolean BehaviorPort_Signal_Tester_TesterClassifierBehavior_ObjectFlow30_LiteralBoolean31 = new(); + public LiteralInteger BehaviorPort_Signal_Tester_TesterClassifierBehavior_ObjectFlow30_LiteralInteger32 = new(); + public ObjectFlow BehaviorPort_Signal_Tester_TesterClassifierBehavior_ObjectFlow33 = new(); + public LiteralBoolean BehaviorPort_Signal_Tester_TesterClassifierBehavior_ObjectFlow33_LiteralBoolean34 = new(); + public LiteralInteger BehaviorPort_Signal_Tester_TesterClassifierBehavior_ObjectFlow33_LiteralInteger35 = new(); + public ObjectFlow BehaviorPort_Signal_Tester_TesterClassifierBehavior_ObjectFlow36 = new(); + public LiteralInteger BehaviorPort_Signal_Tester_TesterClassifierBehavior_ObjectFlow36_LiteralInteger37 = new(); + public LiteralBoolean BehaviorPort_Signal_Tester_TesterClassifierBehavior_ObjectFlow36_LiteralBoolean38 = new(); + public AcceptEventAction BehaviorPort_Signal_Tester_TesterClassifierBehavior_Accept_Start = new(); + public OutputPin BehaviorPort_Signal_Tester_TesterClassifierBehavior_Accept_Start_result = new(); + public LiteralInteger BehaviorPort_Signal_Tester_TesterClassifierBehavior_Accept_Start_result_LiteralInteger39 = new(); + public LiteralUnlimitedNatural BehaviorPort_Signal_Tester_TesterClassifierBehavior_Accept_Start_result_LiteralUnlimitedNatural40 = new(); + public LiteralInteger BehaviorPort_Signal_Tester_TesterClassifierBehavior_Accept_Start_result_LiteralInteger41 = new(); + public Trigger BehaviorPort_Signal_Tester_TesterClassifierBehavior_Accept_Start_Trigger42 = new(); + public InitialNode BehaviorPort_Signal_Tester_TesterClassifierBehavior_Initial = new(); + public ReadSelfAction BehaviorPort_Signal_Tester_TesterClassifierBehavior_this = new(); + public OutputPin BehaviorPort_Signal_Tester_TesterClassifierBehavior_this_result = new(); + public LiteralUnlimitedNatural BehaviorPort_Signal_Tester_TesterClassifierBehavior_this_result_LiteralUnlimitedNatural43 = new(); + public LiteralInteger BehaviorPort_Signal_Tester_TesterClassifierBehavior_this_result_LiteralInteger44 = new(); + public ControlFlow BehaviorPort_Signal_Tester_TesterClassifierBehavior_ControlFlow45 = new(); + public ValueSpecificationAction BehaviorPort_Signal_Tester_TesterClassifierBehavior_Value_4 = new(); + public LiteralInteger BehaviorPort_Signal_Tester_TesterClassifierBehavior_Value_4_LiteralInteger46 = new(); + public OutputPin BehaviorPort_Signal_Tester_TesterClassifierBehavior_Value_4_result = new(); + public LiteralInteger BehaviorPort_Signal_Tester_TesterClassifierBehavior_Value_4_result_LiteralInteger47 = new(); + public LiteralUnlimitedNatural BehaviorPort_Signal_Tester_TesterClassifierBehavior_Value_4_result_LiteralUnlimitedNatural48 = new(); + public AcceptEventAction BehaviorPort_Signal_Tester_TesterClassifierBehavior_Accept_Continue = new(); + public OutputPin BehaviorPort_Signal_Tester_TesterClassifierBehavior_Accept_Continue_result = new(); + public LiteralInteger BehaviorPort_Signal_Tester_TesterClassifierBehavior_Accept_Continue_result_LiteralInteger49 = new(); + public LiteralUnlimitedNatural BehaviorPort_Signal_Tester_TesterClassifierBehavior_Accept_Continue_result_LiteralUnlimitedNatural50 = new(); + public LiteralInteger BehaviorPort_Signal_Tester_TesterClassifierBehavior_Accept_Continue_result_LiteralInteger51 = new(); + public Trigger BehaviorPort_Signal_Tester_TesterClassifierBehavior_Accept_Continue_Trigger52 = new(); + public Operation BehaviorPort_Signal_Tester_Tester_Tester = new(); + public Parameter BehaviorPort_Signal_Tester_Tester_Tester_result = new(); + public Property BehaviorPort_Signal_Tester_a = new(); + public Operation BehaviorPort_Signal_Tester_test = new(); + public Generalization BehaviorPort_Signal_Tester_Generalization53 = new(); + public Activity BehaviorPort_Signal_Tester_testActivity = new(); + public CallBehaviorAction BehaviorPort_Signal_Tester_testActivity_Call_testP = new(); + public InputPin BehaviorPort_Signal_Tester_testActivity_Call_testP_p = new(); + public LiteralUnlimitedNatural BehaviorPort_Signal_Tester_testActivity_Call_testP_p_LiteralUnlimitedNatural54 = new(); + public LiteralInteger BehaviorPort_Signal_Tester_testActivity_Call_testP_p_LiteralInteger55 = new(); + public LiteralInteger BehaviorPort_Signal_Tester_testActivity_Call_testP_p_LiteralInteger56 = new(); + public ReadStructuralFeatureAction BehaviorPort_Signal_Tester_testActivity_this_a = new(); + public InputPin BehaviorPort_Signal_Tester_testActivity_this_a_object = new(); + public LiteralUnlimitedNatural BehaviorPort_Signal_Tester_testActivity_this_a_object_LiteralUnlimitedNatural57 = new(); + public LiteralInteger BehaviorPort_Signal_Tester_testActivity_this_a_object_LiteralInteger58 = new(); + public OutputPin BehaviorPort_Signal_Tester_testActivity_this_a_result = new(); + public LiteralInteger BehaviorPort_Signal_Tester_testActivity_this_a_result_LiteralInteger59 = new(); + public LiteralUnlimitedNatural BehaviorPort_Signal_Tester_testActivity_this_a_result_LiteralUnlimitedNatural60 = new(); + public ObjectFlow BehaviorPort_Signal_Tester_testActivity_ObjectFlow61 = new(); + public LiteralBoolean BehaviorPort_Signal_Tester_testActivity_ObjectFlow61_LiteralBoolean62 = new(); + public LiteralInteger BehaviorPort_Signal_Tester_testActivity_ObjectFlow61_LiteralInteger63 = new(); + public ObjectFlow BehaviorPort_Signal_Tester_testActivity_ObjectFlow64 = new(); + public LiteralBoolean BehaviorPort_Signal_Tester_testActivity_ObjectFlow64_LiteralBoolean65 = new(); + public LiteralInteger BehaviorPort_Signal_Tester_testActivity_ObjectFlow64_LiteralInteger66 = new(); + public ObjectFlow BehaviorPort_Signal_Tester_testActivity_ObjectFlow67 = new(); + public LiteralBoolean BehaviorPort_Signal_Tester_testActivity_ObjectFlow67_LiteralBoolean68 = new(); + public LiteralInteger BehaviorPort_Signal_Tester_testActivity_ObjectFlow67_LiteralInteger69 = new(); + public ReadSelfAction BehaviorPort_Signal_Tester_testActivity_this = new(); + public OutputPin BehaviorPort_Signal_Tester_testActivity_this_result = new(); + public LiteralInteger BehaviorPort_Signal_Tester_testActivity_this_result_LiteralInteger70 = new(); + public LiteralUnlimitedNatural BehaviorPort_Signal_Tester_testActivity_this_result_LiteralUnlimitedNatural71 = new(); + public ReadStructuralFeatureAction BehaviorPort_Signal_Tester_testActivity_this_a_p = new(); + public InputPin BehaviorPort_Signal_Tester_testActivity_this_a_p_object = new(); + public LiteralUnlimitedNatural BehaviorPort_Signal_Tester_testActivity_this_a_p_object_LiteralUnlimitedNatural72 = new(); + public LiteralInteger BehaviorPort_Signal_Tester_testActivity_this_a_p_object_LiteralInteger73 = new(); + public OutputPin BehaviorPort_Signal_Tester_testActivity_this_a_p_result = new(); + public LiteralInteger BehaviorPort_Signal_Tester_testActivity_this_a_p_result_LiteralInteger74 = new(); + public LiteralUnlimitedNatural BehaviorPort_Signal_Tester_testActivity_this_a_p_result_LiteralUnlimitedNatural75 = new(); + public OpaqueBehavior BehaviorPort_Signal_Tester_testActivity_testP = new(); + public Parameter BehaviorPort_Signal_Tester_testActivity_testP_p = new(); + public Signal BehaviorPort_Signal_S = new(); + public Property BehaviorPort_Signal_S_v = new(); + public Property BehaviorPort_Signal_S_t = new(); + public Class_ BehaviorPort_Signal_AbstractTester = new(); + public Reception BehaviorPort_Signal_AbstractTester_Continue = new(); + public Reception BehaviorPort_Signal_AbstractTester_Start = new(); + public Operation BehaviorPort_Signal_AbstractTester_test = new(); + public Interface BehaviorPort_Signal_I = new(); + public Reception BehaviorPort_Signal_I_S = new(); + public Class_ BehaviorPort_Signal_A = new(); + public Activity BehaviorPort_Signal_A_AClassifierBehavior = new(); + public ReadSelfAction BehaviorPort_Signal_A_AClassifierBehavior_this = new(); + public OutputPin BehaviorPort_Signal_A_AClassifierBehavior_this_result = new(); + public LiteralUnlimitedNatural BehaviorPort_Signal_A_AClassifierBehavior_this_result_LiteralUnlimitedNatural76 = new(); + public LiteralInteger BehaviorPort_Signal_A_AClassifierBehavior_this_result_LiteralInteger77 = new(); + public ObjectFlow BehaviorPort_Signal_A_AClassifierBehavior_ObjectFlow78 = new(); + public LiteralBoolean BehaviorPort_Signal_A_AClassifierBehavior_ObjectFlow78_LiteralBoolean79 = new(); + public LiteralInteger BehaviorPort_Signal_A_AClassifierBehavior_ObjectFlow78_LiteralInteger80 = new(); + public ReadStructuralFeatureAction BehaviorPort_Signal_A_AClassifierBehavior_Read_S_v = new(); + public OutputPin BehaviorPort_Signal_A_AClassifierBehavior_Read_S_v_result = new(); + public LiteralUnlimitedNatural BehaviorPort_Signal_A_AClassifierBehavior_Read_S_v_result_LiteralUnlimitedNatural81 = new(); + public LiteralInteger BehaviorPort_Signal_A_AClassifierBehavior_Read_S_v_result_LiteralInteger82 = new(); + public InputPin BehaviorPort_Signal_A_AClassifierBehavior_Read_S_v_object = new(); + public LiteralUnlimitedNatural BehaviorPort_Signal_A_AClassifierBehavior_Read_S_v_object_LiteralUnlimitedNatural83 = new(); + public LiteralInteger BehaviorPort_Signal_A_AClassifierBehavior_Read_S_v_object_LiteralInteger84 = new(); + public ObjectFlow BehaviorPort_Signal_A_AClassifierBehavior_ObjectFlow85 = new(); + public LiteralInteger BehaviorPort_Signal_A_AClassifierBehavior_ObjectFlow85_LiteralInteger86 = new(); + public LiteralBoolean BehaviorPort_Signal_A_AClassifierBehavior_ObjectFlow85_LiteralBoolean87 = new(); + public InitialNode BehaviorPort_Signal_A_AClassifierBehavior_Initial = new(); + public AcceptEventAction BehaviorPort_Signal_A_AClassifierBehavior_Accept_S = new(); + public OutputPin BehaviorPort_Signal_A_AClassifierBehavior_Accept_S_result = new(); + public LiteralUnlimitedNatural BehaviorPort_Signal_A_AClassifierBehavior_Accept_S_result_LiteralUnlimitedNatural88 = new(); + public LiteralInteger BehaviorPort_Signal_A_AClassifierBehavior_Accept_S_result_LiteralInteger89 = new(); + public LiteralInteger BehaviorPort_Signal_A_AClassifierBehavior_Accept_S_result_LiteralInteger90 = new(); + public Trigger BehaviorPort_Signal_A_AClassifierBehavior_Accept_S_Trigger91 = new(); + public SendSignalAction BehaviorPort_Signal_A_AClassifierBehavior_Send_Continue = new(); + public InputPin BehaviorPort_Signal_A_AClassifierBehavior_Send_Continue_target = new(); + public LiteralUnlimitedNatural BehaviorPort_Signal_A_AClassifierBehavior_Send_Continue_target_LiteralUnlimitedNatural92 = new(); + public LiteralInteger BehaviorPort_Signal_A_AClassifierBehavior_Send_Continue_target_LiteralInteger93 = new(); + public ReadStructuralFeatureAction BehaviorPort_Signal_A_AClassifierBehavior_Read_S_t = new(); + public InputPin BehaviorPort_Signal_A_AClassifierBehavior_Read_S_t_object = new(); + public LiteralInteger BehaviorPort_Signal_A_AClassifierBehavior_Read_S_t_object_LiteralInteger94 = new(); + public LiteralUnlimitedNatural BehaviorPort_Signal_A_AClassifierBehavior_Read_S_t_object_LiteralUnlimitedNatural95 = new(); + public OutputPin BehaviorPort_Signal_A_AClassifierBehavior_Read_S_t_result = new(); + public LiteralUnlimitedNatural BehaviorPort_Signal_A_AClassifierBehavior_Read_S_t_result_LiteralUnlimitedNatural96 = new(); + public LiteralInteger BehaviorPort_Signal_A_AClassifierBehavior_Read_S_t_result_LiteralInteger97 = new(); + public ObjectFlow BehaviorPort_Signal_A_AClassifierBehavior_ObjectFlow98 = new(); + public LiteralBoolean BehaviorPort_Signal_A_AClassifierBehavior_ObjectFlow98_LiteralBoolean99 = new(); + public LiteralInteger BehaviorPort_Signal_A_AClassifierBehavior_ObjectFlow98_LiteralInteger100 = new(); + public ObjectFlow BehaviorPort_Signal_A_AClassifierBehavior_ObjectFlow101 = new(); + public LiteralInteger BehaviorPort_Signal_A_AClassifierBehavior_ObjectFlow101_LiteralInteger102 = new(); + public LiteralBoolean BehaviorPort_Signal_A_AClassifierBehavior_ObjectFlow101_LiteralBoolean103 = new(); + public ControlFlow BehaviorPort_Signal_A_AClassifierBehavior_ControlFlow104 = new(); + public ObjectFlow BehaviorPort_Signal_A_AClassifierBehavior_ObjectFlow105 = new(); + public LiteralInteger BehaviorPort_Signal_A_AClassifierBehavior_ObjectFlow105_LiteralInteger106 = new(); + public LiteralBoolean BehaviorPort_Signal_A_AClassifierBehavior_ObjectFlow105_LiteralBoolean107 = new(); + public AddStructuralFeatureValueAction BehaviorPort_Signal_A_AClassifierBehavior_Set_this_p = new(); + public OutputPin BehaviorPort_Signal_A_AClassifierBehavior_Set_this_p_result = new(); + public LiteralInteger BehaviorPort_Signal_A_AClassifierBehavior_Set_this_p_result_LiteralInteger108 = new(); + public LiteralUnlimitedNatural BehaviorPort_Signal_A_AClassifierBehavior_Set_this_p_result_LiteralUnlimitedNatural109 = new(); + public InputPin BehaviorPort_Signal_A_AClassifierBehavior_Set_this_p_object = new(); + public LiteralUnlimitedNatural BehaviorPort_Signal_A_AClassifierBehavior_Set_this_p_object_LiteralUnlimitedNatural110 = new(); + public LiteralInteger BehaviorPort_Signal_A_AClassifierBehavior_Set_this_p_object_LiteralInteger111 = new(); + public InputPin BehaviorPort_Signal_A_AClassifierBehavior_Set_this_p_value = new(); + public LiteralUnlimitedNatural BehaviorPort_Signal_A_AClassifierBehavior_Set_this_p_value_LiteralUnlimitedNatural112 = new(); + public LiteralInteger BehaviorPort_Signal_A_AClassifierBehavior_Set_this_p_value_LiteralInteger113 = new(); + public ObjectFlow BehaviorPort_Signal_A_AClassifierBehavior_ObjectFlow114 = new(); + public LiteralInteger BehaviorPort_Signal_A_AClassifierBehavior_ObjectFlow114_LiteralInteger115 = new(); + public LiteralBoolean BehaviorPort_Signal_A_AClassifierBehavior_ObjectFlow114_LiteralBoolean116 = new(); + public ControlFlow BehaviorPort_Signal_A_AClassifierBehavior_ControlFlow117 = new(); + public ForkNode BehaviorPort_Signal_A_AClassifierBehavior_Fork_S = new(); + public InterfaceRealization BehaviorPort_Signal_A_IRealization = new(); + public Reception BehaviorPort_Signal_A_S = new(); + public Property BehaviorPort_Signal_A_p = new(); + public Port BehaviorPort_Signal_A_q = new(); + public Operation BehaviorPort_Signal_A_A_A = new(); + public Parameter BehaviorPort_Signal_A_A_A_result = new(); + public SignalEvent BehaviorPort_Signal_SignalEventContinue = new(); + public Signal BehaviorPort_Signal_Start = new(); + public Signal BehaviorPort_Signal_Continue = new(); + public SignalEvent BehaviorPort_Signal_SignalEventS = new(); + public Class_ BehaviorPort_Signal_IImpl = new(); + public InterfaceRealization BehaviorPort_Signal_IImpl_IRealization = new(); + public Reception BehaviorPort_Signal_IImpl_S = new(); + public Activity BehaviorPort_Signal_main = new(); + public ObjectFlow BehaviorPort_Signal_main_ObjectFlow118 = new(); + public LiteralBoolean BehaviorPort_Signal_main_ObjectFlow118_LiteralBoolean119 = new(); + public LiteralInteger BehaviorPort_Signal_main_ObjectFlow118_LiteralInteger120 = new(); + public ObjectFlow BehaviorPort_Signal_main_ObjectFlow121 = new(); + public LiteralBoolean BehaviorPort_Signal_main_ObjectFlow121_LiteralBoolean122 = new(); + public LiteralInteger BehaviorPort_Signal_main_ObjectFlow121_LiteralInteger123 = new(); + public CreateObjectAction BehaviorPort_Signal_main_Create_Tester = new(); + public OutputPin BehaviorPort_Signal_main_Create_Tester_result = new(); + public LiteralUnlimitedNatural BehaviorPort_Signal_main_Create_Tester_result_LiteralUnlimitedNatural124 = new(); + public LiteralInteger BehaviorPort_Signal_main_Create_Tester_result_LiteralInteger125 = new(); + public StartObjectBehaviorAction BehaviorPort_Signal_main_Start_Tester = new(); + public InputPin BehaviorPort_Signal_main_Start_Tester_object = new(); + public LiteralInteger BehaviorPort_Signal_main_Start_Tester_object_LiteralInteger126 = new(); + public LiteralUnlimitedNatural BehaviorPort_Signal_main_Start_Tester_object_LiteralUnlimitedNatural127 = new(); + public ForkNode BehaviorPort_Signal_main_Fork_Tester = new(); + public ObjectFlow BehaviorPort_Signal_main_ObjectFlow128 = new(); + public LiteralBoolean BehaviorPort_Signal_main_ObjectFlow128_LiteralBoolean129 = new(); + public LiteralInteger BehaviorPort_Signal_main_ObjectFlow128_LiteralInteger130 = new(); + public ControlFlow BehaviorPort_Signal_main_ControlFlow131 = new(); + public CallOperationAction BehaviorPort_Signal_main_Tester_ = new(); + public InputPin BehaviorPort_Signal_main_Tester__target = new(); + public LiteralInteger BehaviorPort_Signal_main_Tester__target_LiteralInteger132 = new(); + public LiteralUnlimitedNatural BehaviorPort_Signal_main_Tester__target_LiteralUnlimitedNatural133 = new(); + public OutputPin BehaviorPort_Signal_main_Tester__result = new(); + public LiteralInteger BehaviorPort_Signal_main_Tester__result_LiteralInteger134 = new(); + public LiteralUnlimitedNatural BehaviorPort_Signal_main_Tester__result_LiteralUnlimitedNatural135 = new(); + public LiteralInteger BehaviorPort_Signal_main_Tester__result_LiteralInteger136 = new(); + public SendSignalAction BehaviorPort_Signal_main_Send_Start = new(); + public InputPin BehaviorPort_Signal_main_Send_Start_target = new(); + public LiteralInteger BehaviorPort_Signal_main_Send_Start_target_LiteralInteger137 = new(); + public LiteralUnlimitedNatural BehaviorPort_Signal_main_Send_Start_target_LiteralUnlimitedNatural138 = new(); + public ObjectFlow BehaviorPort_Signal_main_ObjectFlow139 = new(); + public LiteralInteger BehaviorPort_Signal_main_ObjectFlow139_LiteralInteger140 = new(); + public LiteralBoolean BehaviorPort_Signal_main_ObjectFlow139_LiteralBoolean141 = new(); + + public static BehaviorPort_SignalModel Instance() + { + if (instance is null) + { + instance = new(); + instance.InitializeInMemoryModel(); + } + + return instance; + } + + public BehaviorPort_SignalModel() + { + /* Start of user code : Additional model initializations + * This section may be used to do any additional model initialization, + * for example initializing user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } + + private void InitializeInMemoryModel() + { + // Create public members + /* + * Model BehaviorPort_Signal + */ + AddToElementRepository("BehaviorPort_Signal", BehaviorPort_Signal); + AddToElementRepository("SignalEventStart", BehaviorPort_Signal_SignalEventStart); + AddToElementRepository("Tester", BehaviorPort_Signal_Tester); + AddToElementRepository("TesterClassifierBehavior", BehaviorPort_Signal_Tester_TesterClassifierBehavior); + AddToElementRepository("ObjectFlow0", BehaviorPort_Signal_Tester_TesterClassifierBehavior_ObjectFlow0); + AddToElementRepository("LiteralInteger1", BehaviorPort_Signal_Tester_TesterClassifierBehavior_ObjectFlow0_LiteralInteger1); + AddToElementRepository("LiteralBoolean2", BehaviorPort_Signal_Tester_TesterClassifierBehavior_ObjectFlow0_LiteralBoolean2); + AddToElementRepository("Send S", BehaviorPort_Signal_Tester_TesterClassifierBehavior_Send_S); + AddToElementRepository("v", BehaviorPort_Signal_Tester_TesterClassifierBehavior_Send_S_v); + AddToElementRepository("LiteralUnlimitedNatural3", BehaviorPort_Signal_Tester_TesterClassifierBehavior_Send_S_v_LiteralUnlimitedNatural3); + AddToElementRepository("LiteralInteger4", BehaviorPort_Signal_Tester_TesterClassifierBehavior_Send_S_v_LiteralInteger4); + AddToElementRepository("t", BehaviorPort_Signal_Tester_TesterClassifierBehavior_Send_S_t); + AddToElementRepository("LiteralInteger5", BehaviorPort_Signal_Tester_TesterClassifierBehavior_Send_S_t_LiteralInteger5); + AddToElementRepository("LiteralUnlimitedNatural6", BehaviorPort_Signal_Tester_TesterClassifierBehavior_Send_S_t_LiteralUnlimitedNatural6); + AddToElementRepository("target", BehaviorPort_Signal_Tester_TesterClassifierBehavior_Send_S_target); + AddToElementRepository("LiteralUnlimitedNatural7", BehaviorPort_Signal_Tester_TesterClassifierBehavior_Send_S_target_LiteralUnlimitedNatural7); + AddToElementRepository("LiteralInteger8", BehaviorPort_Signal_Tester_TesterClassifierBehavior_Send_S_target_LiteralInteger8); + AddToElementRepository("Call test()", BehaviorPort_Signal_Tester_TesterClassifierBehavior_Call_test_); + AddToElementRepository("target", BehaviorPort_Signal_Tester_TesterClassifierBehavior_Call_test__target); + AddToElementRepository("LiteralInteger9", BehaviorPort_Signal_Tester_TesterClassifierBehavior_Call_test__target_LiteralInteger9); + AddToElementRepository("LiteralUnlimitedNatural10", BehaviorPort_Signal_Tester_TesterClassifierBehavior_Call_test__target_LiteralUnlimitedNatural10); + AddToElementRepository("Fork this", BehaviorPort_Signal_Tester_TesterClassifierBehavior_Fork_this); + AddToElementRepository("ObjectFlow11", BehaviorPort_Signal_Tester_TesterClassifierBehavior_ObjectFlow11); + AddToElementRepository("LiteralInteger12", BehaviorPort_Signal_Tester_TesterClassifierBehavior_ObjectFlow11_LiteralInteger12); + AddToElementRepository("LiteralBoolean13", BehaviorPort_Signal_Tester_TesterClassifierBehavior_ObjectFlow11_LiteralBoolean13); + AddToElementRepository("ObjectFlow14", BehaviorPort_Signal_Tester_TesterClassifierBehavior_ObjectFlow14); + AddToElementRepository("LiteralBoolean15", BehaviorPort_Signal_Tester_TesterClassifierBehavior_ObjectFlow14_LiteralBoolean15); + AddToElementRepository("LiteralInteger16", BehaviorPort_Signal_Tester_TesterClassifierBehavior_ObjectFlow14_LiteralInteger16); + AddToElementRepository("ControlFlow17", BehaviorPort_Signal_Tester_TesterClassifierBehavior_ControlFlow17); + AddToElementRepository("Read this.a.q", BehaviorPort_Signal_Tester_TesterClassifierBehavior_Read_this_a_q); + AddToElementRepository("result", BehaviorPort_Signal_Tester_TesterClassifierBehavior_Read_this_a_q_result); + AddToElementRepository("LiteralUnlimitedNatural18", BehaviorPort_Signal_Tester_TesterClassifierBehavior_Read_this_a_q_result_LiteralUnlimitedNatural18); + AddToElementRepository("LiteralInteger19", BehaviorPort_Signal_Tester_TesterClassifierBehavior_Read_this_a_q_result_LiteralInteger19); + AddToElementRepository("object", BehaviorPort_Signal_Tester_TesterClassifierBehavior_Read_this_a_q_object); + AddToElementRepository("LiteralUnlimitedNatural20", BehaviorPort_Signal_Tester_TesterClassifierBehavior_Read_this_a_q_object_LiteralUnlimitedNatural20); + AddToElementRepository("LiteralInteger21", BehaviorPort_Signal_Tester_TesterClassifierBehavior_Read_this_a_q_object_LiteralInteger21); + AddToElementRepository("ControlFlow22", BehaviorPort_Signal_Tester_TesterClassifierBehavior_ControlFlow22); + AddToElementRepository("Read this.a", BehaviorPort_Signal_Tester_TesterClassifierBehavior_Read_this_a); + AddToElementRepository("result", BehaviorPort_Signal_Tester_TesterClassifierBehavior_Read_this_a_result); + AddToElementRepository("LiteralUnlimitedNatural23", BehaviorPort_Signal_Tester_TesterClassifierBehavior_Read_this_a_result_LiteralUnlimitedNatural23); + AddToElementRepository("LiteralInteger24", BehaviorPort_Signal_Tester_TesterClassifierBehavior_Read_this_a_result_LiteralInteger24); + AddToElementRepository("object", BehaviorPort_Signal_Tester_TesterClassifierBehavior_Read_this_a_object); + AddToElementRepository("LiteralInteger25", BehaviorPort_Signal_Tester_TesterClassifierBehavior_Read_this_a_object_LiteralInteger25); + AddToElementRepository("LiteralUnlimitedNatural26", BehaviorPort_Signal_Tester_TesterClassifierBehavior_Read_this_a_object_LiteralUnlimitedNatural26); + AddToElementRepository("ObjectFlow27", BehaviorPort_Signal_Tester_TesterClassifierBehavior_ObjectFlow27); + AddToElementRepository("LiteralInteger28", BehaviorPort_Signal_Tester_TesterClassifierBehavior_ObjectFlow27_LiteralInteger28); + AddToElementRepository("LiteralBoolean29", BehaviorPort_Signal_Tester_TesterClassifierBehavior_ObjectFlow27_LiteralBoolean29); + AddToElementRepository("ObjectFlow30", BehaviorPort_Signal_Tester_TesterClassifierBehavior_ObjectFlow30); + AddToElementRepository("LiteralBoolean31", BehaviorPort_Signal_Tester_TesterClassifierBehavior_ObjectFlow30_LiteralBoolean31); + AddToElementRepository("LiteralInteger32", BehaviorPort_Signal_Tester_TesterClassifierBehavior_ObjectFlow30_LiteralInteger32); + AddToElementRepository("ObjectFlow33", BehaviorPort_Signal_Tester_TesterClassifierBehavior_ObjectFlow33); + AddToElementRepository("LiteralBoolean34", BehaviorPort_Signal_Tester_TesterClassifierBehavior_ObjectFlow33_LiteralBoolean34); + AddToElementRepository("LiteralInteger35", BehaviorPort_Signal_Tester_TesterClassifierBehavior_ObjectFlow33_LiteralInteger35); + AddToElementRepository("ObjectFlow36", BehaviorPort_Signal_Tester_TesterClassifierBehavior_ObjectFlow36); + AddToElementRepository("LiteralInteger37", BehaviorPort_Signal_Tester_TesterClassifierBehavior_ObjectFlow36_LiteralInteger37); + AddToElementRepository("LiteralBoolean38", BehaviorPort_Signal_Tester_TesterClassifierBehavior_ObjectFlow36_LiteralBoolean38); + AddToElementRepository("Accept Start", BehaviorPort_Signal_Tester_TesterClassifierBehavior_Accept_Start); + AddToElementRepository("result", BehaviorPort_Signal_Tester_TesterClassifierBehavior_Accept_Start_result); + AddToElementRepository("LiteralInteger39", BehaviorPort_Signal_Tester_TesterClassifierBehavior_Accept_Start_result_LiteralInteger39); + AddToElementRepository("LiteralUnlimitedNatural40", BehaviorPort_Signal_Tester_TesterClassifierBehavior_Accept_Start_result_LiteralUnlimitedNatural40); + AddToElementRepository("LiteralInteger41", BehaviorPort_Signal_Tester_TesterClassifierBehavior_Accept_Start_result_LiteralInteger41); + AddToElementRepository("Trigger42", BehaviorPort_Signal_Tester_TesterClassifierBehavior_Accept_Start_Trigger42); + AddToElementRepository("Initial", BehaviorPort_Signal_Tester_TesterClassifierBehavior_Initial); + AddToElementRepository("this", BehaviorPort_Signal_Tester_TesterClassifierBehavior_this); + AddToElementRepository("result", BehaviorPort_Signal_Tester_TesterClassifierBehavior_this_result); + AddToElementRepository("LiteralUnlimitedNatural43", BehaviorPort_Signal_Tester_TesterClassifierBehavior_this_result_LiteralUnlimitedNatural43); + AddToElementRepository("LiteralInteger44", BehaviorPort_Signal_Tester_TesterClassifierBehavior_this_result_LiteralInteger44); + AddToElementRepository("ControlFlow45", BehaviorPort_Signal_Tester_TesterClassifierBehavior_ControlFlow45); + AddToElementRepository("Value 4", BehaviorPort_Signal_Tester_TesterClassifierBehavior_Value_4); + AddToElementRepository("LiteralInteger46", BehaviorPort_Signal_Tester_TesterClassifierBehavior_Value_4_LiteralInteger46); + AddToElementRepository("result", BehaviorPort_Signal_Tester_TesterClassifierBehavior_Value_4_result); + AddToElementRepository("LiteralInteger47", BehaviorPort_Signal_Tester_TesterClassifierBehavior_Value_4_result_LiteralInteger47); + AddToElementRepository("LiteralUnlimitedNatural48", BehaviorPort_Signal_Tester_TesterClassifierBehavior_Value_4_result_LiteralUnlimitedNatural48); + AddToElementRepository("Accept Continue", BehaviorPort_Signal_Tester_TesterClassifierBehavior_Accept_Continue); + AddToElementRepository("result", BehaviorPort_Signal_Tester_TesterClassifierBehavior_Accept_Continue_result); + AddToElementRepository("LiteralInteger49", BehaviorPort_Signal_Tester_TesterClassifierBehavior_Accept_Continue_result_LiteralInteger49); + AddToElementRepository("LiteralUnlimitedNatural50", BehaviorPort_Signal_Tester_TesterClassifierBehavior_Accept_Continue_result_LiteralUnlimitedNatural50); + AddToElementRepository("LiteralInteger51", BehaviorPort_Signal_Tester_TesterClassifierBehavior_Accept_Continue_result_LiteralInteger51); + AddToElementRepository("Trigger52", BehaviorPort_Signal_Tester_TesterClassifierBehavior_Accept_Continue_Trigger52); + AddToElementRepository("Tester_Tester", BehaviorPort_Signal_Tester_Tester_Tester); + AddToElementRepository("result", BehaviorPort_Signal_Tester_Tester_Tester_result); + AddToElementRepository("a", BehaviorPort_Signal_Tester_a); + AddToElementRepository("test", BehaviorPort_Signal_Tester_test); + AddToElementRepository("Generalization53", BehaviorPort_Signal_Tester_Generalization53); + AddToElementRepository("testActivity", BehaviorPort_Signal_Tester_testActivity); + AddToElementRepository("Call testP", BehaviorPort_Signal_Tester_testActivity_Call_testP); + AddToElementRepository("p", BehaviorPort_Signal_Tester_testActivity_Call_testP_p); + AddToElementRepository("LiteralUnlimitedNatural54", BehaviorPort_Signal_Tester_testActivity_Call_testP_p_LiteralUnlimitedNatural54); + AddToElementRepository("LiteralInteger55", BehaviorPort_Signal_Tester_testActivity_Call_testP_p_LiteralInteger55); + AddToElementRepository("LiteralInteger56", BehaviorPort_Signal_Tester_testActivity_Call_testP_p_LiteralInteger56); + AddToElementRepository("this.a", BehaviorPort_Signal_Tester_testActivity_this_a); + AddToElementRepository("object", BehaviorPort_Signal_Tester_testActivity_this_a_object); + AddToElementRepository("LiteralUnlimitedNatural57", BehaviorPort_Signal_Tester_testActivity_this_a_object_LiteralUnlimitedNatural57); + AddToElementRepository("LiteralInteger58", BehaviorPort_Signal_Tester_testActivity_this_a_object_LiteralInteger58); + AddToElementRepository("result", BehaviorPort_Signal_Tester_testActivity_this_a_result); + AddToElementRepository("LiteralInteger59", BehaviorPort_Signal_Tester_testActivity_this_a_result_LiteralInteger59); + AddToElementRepository("LiteralUnlimitedNatural60", BehaviorPort_Signal_Tester_testActivity_this_a_result_LiteralUnlimitedNatural60); + AddToElementRepository("ObjectFlow61", BehaviorPort_Signal_Tester_testActivity_ObjectFlow61); + AddToElementRepository("LiteralBoolean62", BehaviorPort_Signal_Tester_testActivity_ObjectFlow61_LiteralBoolean62); + AddToElementRepository("LiteralInteger63", BehaviorPort_Signal_Tester_testActivity_ObjectFlow61_LiteralInteger63); + AddToElementRepository("ObjectFlow64", BehaviorPort_Signal_Tester_testActivity_ObjectFlow64); + AddToElementRepository("LiteralBoolean65", BehaviorPort_Signal_Tester_testActivity_ObjectFlow64_LiteralBoolean65); + AddToElementRepository("LiteralInteger66", BehaviorPort_Signal_Tester_testActivity_ObjectFlow64_LiteralInteger66); + AddToElementRepository("ObjectFlow67", BehaviorPort_Signal_Tester_testActivity_ObjectFlow67); + AddToElementRepository("LiteralBoolean68", BehaviorPort_Signal_Tester_testActivity_ObjectFlow67_LiteralBoolean68); + AddToElementRepository("LiteralInteger69", BehaviorPort_Signal_Tester_testActivity_ObjectFlow67_LiteralInteger69); + AddToElementRepository("this", BehaviorPort_Signal_Tester_testActivity_this); + AddToElementRepository("result", BehaviorPort_Signal_Tester_testActivity_this_result); + AddToElementRepository("LiteralInteger70", BehaviorPort_Signal_Tester_testActivity_this_result_LiteralInteger70); + AddToElementRepository("LiteralUnlimitedNatural71", BehaviorPort_Signal_Tester_testActivity_this_result_LiteralUnlimitedNatural71); + AddToElementRepository("this.a.p", BehaviorPort_Signal_Tester_testActivity_this_a_p); + AddToElementRepository("object", BehaviorPort_Signal_Tester_testActivity_this_a_p_object); + AddToElementRepository("LiteralUnlimitedNatural72", BehaviorPort_Signal_Tester_testActivity_this_a_p_object_LiteralUnlimitedNatural72); + AddToElementRepository("LiteralInteger73", BehaviorPort_Signal_Tester_testActivity_this_a_p_object_LiteralInteger73); + AddToElementRepository("result", BehaviorPort_Signal_Tester_testActivity_this_a_p_result); + AddToElementRepository("LiteralInteger74", BehaviorPort_Signal_Tester_testActivity_this_a_p_result_LiteralInteger74); + AddToElementRepository("LiteralUnlimitedNatural75", BehaviorPort_Signal_Tester_testActivity_this_a_p_result_LiteralUnlimitedNatural75); + AddToElementRepository("testP", BehaviorPort_Signal_Tester_testActivity_testP); + AddToElementRepository("p", BehaviorPort_Signal_Tester_testActivity_testP_p); + AddToElementRepository("S", BehaviorPort_Signal_S); + AddToElementRepository("v", BehaviorPort_Signal_S_v); + AddToElementRepository("t", BehaviorPort_Signal_S_t); + AddToElementRepository("AbstractTester", BehaviorPort_Signal_AbstractTester); + AddToElementRepository("Continue", BehaviorPort_Signal_AbstractTester_Continue); + AddToElementRepository("Start", BehaviorPort_Signal_AbstractTester_Start); + AddToElementRepository("test", BehaviorPort_Signal_AbstractTester_test); + AddToElementRepository("I", BehaviorPort_Signal_I); + AddToElementRepository("S", BehaviorPort_Signal_I_S); + AddToElementRepository("A", BehaviorPort_Signal_A); + AddToElementRepository("AClassifierBehavior", BehaviorPort_Signal_A_AClassifierBehavior); + AddToElementRepository("this", BehaviorPort_Signal_A_AClassifierBehavior_this); + AddToElementRepository("result", BehaviorPort_Signal_A_AClassifierBehavior_this_result); + AddToElementRepository("LiteralUnlimitedNatural76", BehaviorPort_Signal_A_AClassifierBehavior_this_result_LiteralUnlimitedNatural76); + AddToElementRepository("LiteralInteger77", BehaviorPort_Signal_A_AClassifierBehavior_this_result_LiteralInteger77); + AddToElementRepository("ObjectFlow78", BehaviorPort_Signal_A_AClassifierBehavior_ObjectFlow78); + AddToElementRepository("LiteralBoolean79", BehaviorPort_Signal_A_AClassifierBehavior_ObjectFlow78_LiteralBoolean79); + AddToElementRepository("LiteralInteger80", BehaviorPort_Signal_A_AClassifierBehavior_ObjectFlow78_LiteralInteger80); + AddToElementRepository("Read S::v", BehaviorPort_Signal_A_AClassifierBehavior_Read_S_v); + AddToElementRepository("result", BehaviorPort_Signal_A_AClassifierBehavior_Read_S_v_result); + AddToElementRepository("LiteralUnlimitedNatural81", BehaviorPort_Signal_A_AClassifierBehavior_Read_S_v_result_LiteralUnlimitedNatural81); + AddToElementRepository("LiteralInteger82", BehaviorPort_Signal_A_AClassifierBehavior_Read_S_v_result_LiteralInteger82); + AddToElementRepository("object", BehaviorPort_Signal_A_AClassifierBehavior_Read_S_v_object); + AddToElementRepository("LiteralUnlimitedNatural83", BehaviorPort_Signal_A_AClassifierBehavior_Read_S_v_object_LiteralUnlimitedNatural83); + AddToElementRepository("LiteralInteger84", BehaviorPort_Signal_A_AClassifierBehavior_Read_S_v_object_LiteralInteger84); + AddToElementRepository("ObjectFlow85", BehaviorPort_Signal_A_AClassifierBehavior_ObjectFlow85); + AddToElementRepository("LiteralInteger86", BehaviorPort_Signal_A_AClassifierBehavior_ObjectFlow85_LiteralInteger86); + AddToElementRepository("LiteralBoolean87", BehaviorPort_Signal_A_AClassifierBehavior_ObjectFlow85_LiteralBoolean87); + AddToElementRepository("Initial", BehaviorPort_Signal_A_AClassifierBehavior_Initial); + AddToElementRepository("Accept S", BehaviorPort_Signal_A_AClassifierBehavior_Accept_S); + AddToElementRepository("result", BehaviorPort_Signal_A_AClassifierBehavior_Accept_S_result); + AddToElementRepository("LiteralUnlimitedNatural88", BehaviorPort_Signal_A_AClassifierBehavior_Accept_S_result_LiteralUnlimitedNatural88); + AddToElementRepository("LiteralInteger89", BehaviorPort_Signal_A_AClassifierBehavior_Accept_S_result_LiteralInteger89); + AddToElementRepository("LiteralInteger90", BehaviorPort_Signal_A_AClassifierBehavior_Accept_S_result_LiteralInteger90); + AddToElementRepository("Trigger91", BehaviorPort_Signal_A_AClassifierBehavior_Accept_S_Trigger91); + AddToElementRepository("Send Continue", BehaviorPort_Signal_A_AClassifierBehavior_Send_Continue); + AddToElementRepository("target", BehaviorPort_Signal_A_AClassifierBehavior_Send_Continue_target); + AddToElementRepository("LiteralUnlimitedNatural92", BehaviorPort_Signal_A_AClassifierBehavior_Send_Continue_target_LiteralUnlimitedNatural92); + AddToElementRepository("LiteralInteger93", BehaviorPort_Signal_A_AClassifierBehavior_Send_Continue_target_LiteralInteger93); + AddToElementRepository("Read S::t", BehaviorPort_Signal_A_AClassifierBehavior_Read_S_t); + AddToElementRepository("object", BehaviorPort_Signal_A_AClassifierBehavior_Read_S_t_object); + AddToElementRepository("LiteralInteger94", BehaviorPort_Signal_A_AClassifierBehavior_Read_S_t_object_LiteralInteger94); + AddToElementRepository("LiteralUnlimitedNatural95", BehaviorPort_Signal_A_AClassifierBehavior_Read_S_t_object_LiteralUnlimitedNatural95); + AddToElementRepository("result", BehaviorPort_Signal_A_AClassifierBehavior_Read_S_t_result); + AddToElementRepository("LiteralUnlimitedNatural96", BehaviorPort_Signal_A_AClassifierBehavior_Read_S_t_result_LiteralUnlimitedNatural96); + AddToElementRepository("LiteralInteger97", BehaviorPort_Signal_A_AClassifierBehavior_Read_S_t_result_LiteralInteger97); + AddToElementRepository("ObjectFlow98", BehaviorPort_Signal_A_AClassifierBehavior_ObjectFlow98); + AddToElementRepository("LiteralBoolean99", BehaviorPort_Signal_A_AClassifierBehavior_ObjectFlow98_LiteralBoolean99); + AddToElementRepository("LiteralInteger100", BehaviorPort_Signal_A_AClassifierBehavior_ObjectFlow98_LiteralInteger100); + AddToElementRepository("ObjectFlow101", BehaviorPort_Signal_A_AClassifierBehavior_ObjectFlow101); + AddToElementRepository("LiteralInteger102", BehaviorPort_Signal_A_AClassifierBehavior_ObjectFlow101_LiteralInteger102); + AddToElementRepository("LiteralBoolean103", BehaviorPort_Signal_A_AClassifierBehavior_ObjectFlow101_LiteralBoolean103); + AddToElementRepository("ControlFlow104", BehaviorPort_Signal_A_AClassifierBehavior_ControlFlow104); + AddToElementRepository("ObjectFlow105", BehaviorPort_Signal_A_AClassifierBehavior_ObjectFlow105); + AddToElementRepository("LiteralInteger106", BehaviorPort_Signal_A_AClassifierBehavior_ObjectFlow105_LiteralInteger106); + AddToElementRepository("LiteralBoolean107", BehaviorPort_Signal_A_AClassifierBehavior_ObjectFlow105_LiteralBoolean107); + AddToElementRepository("Set this.p", BehaviorPort_Signal_A_AClassifierBehavior_Set_this_p); + AddToElementRepository("result", BehaviorPort_Signal_A_AClassifierBehavior_Set_this_p_result); + AddToElementRepository("LiteralInteger108", BehaviorPort_Signal_A_AClassifierBehavior_Set_this_p_result_LiteralInteger108); + AddToElementRepository("LiteralUnlimitedNatural109", BehaviorPort_Signal_A_AClassifierBehavior_Set_this_p_result_LiteralUnlimitedNatural109); + AddToElementRepository("object", BehaviorPort_Signal_A_AClassifierBehavior_Set_this_p_object); + AddToElementRepository("LiteralUnlimitedNatural110", BehaviorPort_Signal_A_AClassifierBehavior_Set_this_p_object_LiteralUnlimitedNatural110); + AddToElementRepository("LiteralInteger111", BehaviorPort_Signal_A_AClassifierBehavior_Set_this_p_object_LiteralInteger111); + AddToElementRepository("value", BehaviorPort_Signal_A_AClassifierBehavior_Set_this_p_value); + AddToElementRepository("LiteralUnlimitedNatural112", BehaviorPort_Signal_A_AClassifierBehavior_Set_this_p_value_LiteralUnlimitedNatural112); + AddToElementRepository("LiteralInteger113", BehaviorPort_Signal_A_AClassifierBehavior_Set_this_p_value_LiteralInteger113); + AddToElementRepository("ObjectFlow114", BehaviorPort_Signal_A_AClassifierBehavior_ObjectFlow114); + AddToElementRepository("LiteralInteger115", BehaviorPort_Signal_A_AClassifierBehavior_ObjectFlow114_LiteralInteger115); + AddToElementRepository("LiteralBoolean116", BehaviorPort_Signal_A_AClassifierBehavior_ObjectFlow114_LiteralBoolean116); + AddToElementRepository("ControlFlow117", BehaviorPort_Signal_A_AClassifierBehavior_ControlFlow117); + AddToElementRepository("Fork S", BehaviorPort_Signal_A_AClassifierBehavior_Fork_S); + AddToElementRepository("IRealization", BehaviorPort_Signal_A_IRealization); + AddToElementRepository("S", BehaviorPort_Signal_A_S); + AddToElementRepository("p", BehaviorPort_Signal_A_p); + AddToElementRepository("q", BehaviorPort_Signal_A_q); + AddToElementRepository("A_A", BehaviorPort_Signal_A_A_A); + AddToElementRepository("result", BehaviorPort_Signal_A_A_A_result); + AddToElementRepository("SignalEventContinue", BehaviorPort_Signal_SignalEventContinue); + AddToElementRepository("Start", BehaviorPort_Signal_Start); + AddToElementRepository("Continue", BehaviorPort_Signal_Continue); + AddToElementRepository("SignalEventS", BehaviorPort_Signal_SignalEventS); + AddToElementRepository("IImpl", BehaviorPort_Signal_IImpl); + AddToElementRepository("IRealization", BehaviorPort_Signal_IImpl_IRealization); + AddToElementRepository("S", BehaviorPort_Signal_IImpl_S); + AddToElementRepository("main", BehaviorPort_Signal_main); + AddToElementRepository("ObjectFlow118", BehaviorPort_Signal_main_ObjectFlow118); + AddToElementRepository("LiteralBoolean119", BehaviorPort_Signal_main_ObjectFlow118_LiteralBoolean119); + AddToElementRepository("LiteralInteger120", BehaviorPort_Signal_main_ObjectFlow118_LiteralInteger120); + AddToElementRepository("ObjectFlow121", BehaviorPort_Signal_main_ObjectFlow121); + AddToElementRepository("LiteralBoolean122", BehaviorPort_Signal_main_ObjectFlow121_LiteralBoolean122); + AddToElementRepository("LiteralInteger123", BehaviorPort_Signal_main_ObjectFlow121_LiteralInteger123); + AddToElementRepository("Create Tester", BehaviorPort_Signal_main_Create_Tester); + AddToElementRepository("result", BehaviorPort_Signal_main_Create_Tester_result); + AddToElementRepository("LiteralUnlimitedNatural124", BehaviorPort_Signal_main_Create_Tester_result_LiteralUnlimitedNatural124); + AddToElementRepository("LiteralInteger125", BehaviorPort_Signal_main_Create_Tester_result_LiteralInteger125); + AddToElementRepository("Start Tester", BehaviorPort_Signal_main_Start_Tester); + AddToElementRepository("object", BehaviorPort_Signal_main_Start_Tester_object); + AddToElementRepository("LiteralInteger126", BehaviorPort_Signal_main_Start_Tester_object_LiteralInteger126); + AddToElementRepository("LiteralUnlimitedNatural127", BehaviorPort_Signal_main_Start_Tester_object_LiteralUnlimitedNatural127); + AddToElementRepository("Fork Tester", BehaviorPort_Signal_main_Fork_Tester); + AddToElementRepository("ObjectFlow128", BehaviorPort_Signal_main_ObjectFlow128); + AddToElementRepository("LiteralBoolean129", BehaviorPort_Signal_main_ObjectFlow128_LiteralBoolean129); + AddToElementRepository("LiteralInteger130", BehaviorPort_Signal_main_ObjectFlow128_LiteralInteger130); + AddToElementRepository("ControlFlow131", BehaviorPort_Signal_main_ControlFlow131); + AddToElementRepository("Tester()", BehaviorPort_Signal_main_Tester_); + AddToElementRepository("target", BehaviorPort_Signal_main_Tester__target); + AddToElementRepository("LiteralInteger132", BehaviorPort_Signal_main_Tester__target_LiteralInteger132); + AddToElementRepository("LiteralUnlimitedNatural133", BehaviorPort_Signal_main_Tester__target_LiteralUnlimitedNatural133); + AddToElementRepository("result", BehaviorPort_Signal_main_Tester__result); + AddToElementRepository("LiteralInteger134", BehaviorPort_Signal_main_Tester__result_LiteralInteger134); + AddToElementRepository("LiteralUnlimitedNatural135", BehaviorPort_Signal_main_Tester__result_LiteralUnlimitedNatural135); + AddToElementRepository("LiteralInteger136", BehaviorPort_Signal_main_Tester__result_LiteralInteger136); + AddToElementRepository("Send Start", BehaviorPort_Signal_main_Send_Start); + AddToElementRepository("target", BehaviorPort_Signal_main_Send_Start_target); + AddToElementRepository("LiteralInteger137", BehaviorPort_Signal_main_Send_Start_target_LiteralInteger137); + AddToElementRepository("LiteralUnlimitedNatural138", BehaviorPort_Signal_main_Send_Start_target_LiteralUnlimitedNatural138); + AddToElementRepository("ObjectFlow139", BehaviorPort_Signal_main_ObjectFlow139); + AddToElementRepository("LiteralInteger140", BehaviorPort_Signal_main_ObjectFlow139_LiteralInteger140); + AddToElementRepository("LiteralBoolean141", BehaviorPort_Signal_main_ObjectFlow139_LiteralBoolean141); + + // Initialize public members + /* + * Model BehaviorPort_Signal + */ + BehaviorPort_Signal.SetName("BehaviorPort_Signal"); + BehaviorPort_Signal.SetVisibility(VisibilityKind.public_); + // SignalEvent SignalEventStart + BehaviorPort_Signal_SignalEventStart.SetName("SignalEventStart"); + BehaviorPort_Signal_SignalEventStart.SetVisibility(VisibilityKind.public_); + BehaviorPort_Signal_SignalEventStart.SetSignal(BehaviorPort_Signal_Start); + BehaviorPort_Signal.AddPackagedElement(BehaviorPort_Signal_SignalEventStart); + // Class Tester + BehaviorPort_Signal_Tester.SetName("Tester"); + BehaviorPort_Signal_Tester.SetVisibility(VisibilityKind.public_); + + // Generalization to AbstractTester + BehaviorPort_Signal_Tester_Generalization53.SetGeneral(BehaviorPort_Signal_AbstractTester); + BehaviorPort_Signal_Tester.AddGeneralization(BehaviorPort_Signal_Tester_Generalization53); + // Property a + BehaviorPort_Signal_Tester_a.SetName("a"); + BehaviorPort_Signal_Tester_a.SetVisibility(VisibilityKind.public_); + + BehaviorPort_Signal_Tester_a.SetType(BehaviorPort_Signal_A); + BehaviorPort_Signal_Tester_a.SetAggregation(AggregationKind.composite); + BehaviorPort_Signal_Tester.AddOwnedAttribute(BehaviorPort_Signal_Tester_a); + BehaviorPort_Signal_Tester.SetClassifierBehavior(BehaviorPort_Signal_Tester_TesterClassifierBehavior); + // Activity TesterClassifierBehavior + BehaviorPort_Signal_Tester_TesterClassifierBehavior.SetName("TesterClassifierBehavior"); + BehaviorPort_Signal_Tester_TesterClassifierBehavior.SetVisibility(VisibilityKind.public_); + // ReadStructuralFeatureAction Read this.a + BehaviorPort_Signal_Tester_TesterClassifierBehavior_Read_this_a.SetName("Read this.a"); + BehaviorPort_Signal_Tester_TesterClassifierBehavior_Read_this_a.SetVisibility(VisibilityKind.public_); + BehaviorPort_Signal_Tester_TesterClassifierBehavior_Read_this_a.SetStructuralFeature(BehaviorPort_Signal_Tester_a); + // InputPin object + BehaviorPort_Signal_Tester_TesterClassifierBehavior_Read_this_a_object.SetName("object"); + BehaviorPort_Signal_Tester_TesterClassifierBehavior_Read_this_a_object.SetVisibility(VisibilityKind.public_); + BehaviorPort_Signal_Tester_TesterClassifierBehavior_Read_this_a_object.SetType(BehaviorPort_Signal_Tester); + BehaviorPort_Signal_Tester_TesterClassifierBehavior_Read_this_a.SetObject(BehaviorPort_Signal_Tester_TesterClassifierBehavior_Read_this_a_object); + // OutputPin result + BehaviorPort_Signal_Tester_TesterClassifierBehavior_Read_this_a_result.SetName("result"); + BehaviorPort_Signal_Tester_TesterClassifierBehavior_Read_this_a_result.SetVisibility(VisibilityKind.public_); + BehaviorPort_Signal_Tester_TesterClassifierBehavior_Read_this_a_result.SetType(BehaviorPort_Signal_A); + BehaviorPort_Signal_Tester_TesterClassifierBehavior_Read_this_a.SetResult(BehaviorPort_Signal_Tester_TesterClassifierBehavior_Read_this_a_result); + BehaviorPort_Signal_Tester_TesterClassifierBehavior.AddNode(BehaviorPort_Signal_Tester_TesterClassifierBehavior_Read_this_a); + // SendSignalAction Send S + BehaviorPort_Signal_Tester_TesterClassifierBehavior_Send_S.SetName("Send S"); + BehaviorPort_Signal_Tester_TesterClassifierBehavior_Send_S.SetVisibility(VisibilityKind.public_); + BehaviorPort_Signal_Tester_TesterClassifierBehavior_Send_S.SetSignal(BehaviorPort_Signal_S); + // InputPin target + BehaviorPort_Signal_Tester_TesterClassifierBehavior_Send_S_target.SetName("target"); + BehaviorPort_Signal_Tester_TesterClassifierBehavior_Send_S_target.SetVisibility(VisibilityKind.public_); + BehaviorPort_Signal_Tester_TesterClassifierBehavior_Send_S_target.SetType(BehaviorPort_Signal_IImpl); + BehaviorPort_Signal_Tester_TesterClassifierBehavior_Send_S.SetTarget(BehaviorPort_Signal_Tester_TesterClassifierBehavior_Send_S_target); + // InputPin v + BehaviorPort_Signal_Tester_TesterClassifierBehavior_Send_S_v.SetName("v"); + BehaviorPort_Signal_Tester_TesterClassifierBehavior_Send_S_v.SetVisibility(VisibilityKind.public_); + BehaviorPort_Signal_Tester_TesterClassifierBehavior_Send_S_v.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + BehaviorPort_Signal_Tester_TesterClassifierBehavior_Send_S.AddArgument(BehaviorPort_Signal_Tester_TesterClassifierBehavior_Send_S_v); + // InputPin t + BehaviorPort_Signal_Tester_TesterClassifierBehavior_Send_S_t.SetName("t"); + BehaviorPort_Signal_Tester_TesterClassifierBehavior_Send_S_t.SetVisibility(VisibilityKind.public_); + BehaviorPort_Signal_Tester_TesterClassifierBehavior_Send_S_t.SetType(BehaviorPort_Signal_AbstractTester); + BehaviorPort_Signal_Tester_TesterClassifierBehavior_Send_S.AddArgument(BehaviorPort_Signal_Tester_TesterClassifierBehavior_Send_S_t); + BehaviorPort_Signal_Tester_TesterClassifierBehavior.AddNode(BehaviorPort_Signal_Tester_TesterClassifierBehavior_Send_S); + // CallOperationAction Call test() + BehaviorPort_Signal_Tester_TesterClassifierBehavior_Call_test_.SetName("Call test()"); + BehaviorPort_Signal_Tester_TesterClassifierBehavior_Call_test_.SetVisibility(VisibilityKind.public_); + BehaviorPort_Signal_Tester_TesterClassifierBehavior_Call_test_.SetOperation(BehaviorPort_Signal_Tester_test); + // InputPin target + BehaviorPort_Signal_Tester_TesterClassifierBehavior_Call_test__target.SetName("target"); + BehaviorPort_Signal_Tester_TesterClassifierBehavior_Call_test__target.SetVisibility(VisibilityKind.public_); + BehaviorPort_Signal_Tester_TesterClassifierBehavior_Call_test__target.SetType(BehaviorPort_Signal_Tester); + BehaviorPort_Signal_Tester_TesterClassifierBehavior_Call_test_.SetTarget(BehaviorPort_Signal_Tester_TesterClassifierBehavior_Call_test__target); + BehaviorPort_Signal_Tester_TesterClassifierBehavior.AddNode(BehaviorPort_Signal_Tester_TesterClassifierBehavior_Call_test_); + // ForkNode Fork this + BehaviorPort_Signal_Tester_TesterClassifierBehavior_Fork_this.SetName("Fork this"); + BehaviorPort_Signal_Tester_TesterClassifierBehavior_Fork_this.SetVisibility(VisibilityKind.public_); + BehaviorPort_Signal_Tester_TesterClassifierBehavior.AddNode(BehaviorPort_Signal_Tester_TesterClassifierBehavior_Fork_this); + // AcceptEventAction Accept Start + BehaviorPort_Signal_Tester_TesterClassifierBehavior_Accept_Start.SetName("Accept Start"); + BehaviorPort_Signal_Tester_TesterClassifierBehavior_Accept_Start.SetVisibility(VisibilityKind.public_); + // OutputPin result + BehaviorPort_Signal_Tester_TesterClassifierBehavior_Accept_Start_result.SetName("result"); + BehaviorPort_Signal_Tester_TesterClassifierBehavior_Accept_Start_result.SetVisibility(VisibilityKind.public_); + BehaviorPort_Signal_Tester_TesterClassifierBehavior_Accept_Start_result.SetType(BehaviorPort_Signal_Start); + BehaviorPort_Signal_Tester_TesterClassifierBehavior_Accept_Start.AddResult(BehaviorPort_Signal_Tester_TesterClassifierBehavior_Accept_Start_result); + // Trigger Trigger42 + BehaviorPort_Signal_Tester_TesterClassifierBehavior_Accept_Start_Trigger42.SetName("Trigger42"); + BehaviorPort_Signal_Tester_TesterClassifierBehavior_Accept_Start_Trigger42.SetVisibility(VisibilityKind.public_); + BehaviorPort_Signal_Tester_TesterClassifierBehavior_Accept_Start_Trigger42.SetEvent(BehaviorPort_Signal_SignalEventStart); + BehaviorPort_Signal_Tester_TesterClassifierBehavior_Accept_Start.AddTrigger(BehaviorPort_Signal_Tester_TesterClassifierBehavior_Accept_Start_Trigger42); + BehaviorPort_Signal_Tester_TesterClassifierBehavior.AddNode(BehaviorPort_Signal_Tester_TesterClassifierBehavior_Accept_Start); + // InitialNode Initial + BehaviorPort_Signal_Tester_TesterClassifierBehavior_Initial.SetName("Initial"); + BehaviorPort_Signal_Tester_TesterClassifierBehavior_Initial.SetVisibility(VisibilityKind.public_); + BehaviorPort_Signal_Tester_TesterClassifierBehavior.AddNode(BehaviorPort_Signal_Tester_TesterClassifierBehavior_Initial); + // ReadSelfAction this + BehaviorPort_Signal_Tester_TesterClassifierBehavior_this.SetName("this"); + BehaviorPort_Signal_Tester_TesterClassifierBehavior_this.SetVisibility(VisibilityKind.public_); + // OutputPin result + BehaviorPort_Signal_Tester_TesterClassifierBehavior_this_result.SetName("result"); + BehaviorPort_Signal_Tester_TesterClassifierBehavior_this_result.SetVisibility(VisibilityKind.public_); + BehaviorPort_Signal_Tester_TesterClassifierBehavior_this_result.SetType(BehaviorPort_Signal_Tester); + BehaviorPort_Signal_Tester_TesterClassifierBehavior_this.SetResult(BehaviorPort_Signal_Tester_TesterClassifierBehavior_this_result); + BehaviorPort_Signal_Tester_TesterClassifierBehavior.AddNode(BehaviorPort_Signal_Tester_TesterClassifierBehavior_this); + // ReadStructuralFeatureAction Read this.a.q + BehaviorPort_Signal_Tester_TesterClassifierBehavior_Read_this_a_q.SetName("Read this.a.q"); + BehaviorPort_Signal_Tester_TesterClassifierBehavior_Read_this_a_q.SetVisibility(VisibilityKind.public_); + BehaviorPort_Signal_Tester_TesterClassifierBehavior_Read_this_a_q.SetStructuralFeature(BehaviorPort_Signal_A_q); + // InputPin object + BehaviorPort_Signal_Tester_TesterClassifierBehavior_Read_this_a_q_object.SetName("object"); + BehaviorPort_Signal_Tester_TesterClassifierBehavior_Read_this_a_q_object.SetVisibility(VisibilityKind.public_); + BehaviorPort_Signal_Tester_TesterClassifierBehavior_Read_this_a_q_object.SetType(BehaviorPort_Signal_A); + BehaviorPort_Signal_Tester_TesterClassifierBehavior_Read_this_a_q.SetObject(BehaviorPort_Signal_Tester_TesterClassifierBehavior_Read_this_a_q_object); + // OutputPin result + BehaviorPort_Signal_Tester_TesterClassifierBehavior_Read_this_a_q_result.SetName("result"); + BehaviorPort_Signal_Tester_TesterClassifierBehavior_Read_this_a_q_result.SetVisibility(VisibilityKind.public_); + BehaviorPort_Signal_Tester_TesterClassifierBehavior_Read_this_a_q_result.SetType(BehaviorPort_Signal_IImpl); + BehaviorPort_Signal_Tester_TesterClassifierBehavior_Read_this_a_q.SetResult(BehaviorPort_Signal_Tester_TesterClassifierBehavior_Read_this_a_q_result); + BehaviorPort_Signal_Tester_TesterClassifierBehavior.AddNode(BehaviorPort_Signal_Tester_TesterClassifierBehavior_Read_this_a_q); + // ValueSpecificationAction Value 4 + BehaviorPort_Signal_Tester_TesterClassifierBehavior_Value_4.SetName("Value 4"); + BehaviorPort_Signal_Tester_TesterClassifierBehavior_Value_4.SetVisibility(VisibilityKind.public_); + // LiteralInteger LiteralInteger46 + BehaviorPort_Signal_Tester_TesterClassifierBehavior_Value_4_LiteralInteger46.SetName("LiteralInteger46"); + BehaviorPort_Signal_Tester_TesterClassifierBehavior_Value_4_LiteralInteger46.SetVisibility(VisibilityKind.public_); + BehaviorPort_Signal_Tester_TesterClassifierBehavior_Value_4_LiteralInteger46.SetValue(4); + BehaviorPort_Signal_Tester_TesterClassifierBehavior_Value_4.SetValue(BehaviorPort_Signal_Tester_TesterClassifierBehavior_Value_4_LiteralInteger46); + // OutputPin result + BehaviorPort_Signal_Tester_TesterClassifierBehavior_Value_4_result.SetName("result"); + BehaviorPort_Signal_Tester_TesterClassifierBehavior_Value_4_result.SetVisibility(VisibilityKind.public_); + BehaviorPort_Signal_Tester_TesterClassifierBehavior_Value_4_result.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + BehaviorPort_Signal_Tester_TesterClassifierBehavior_Value_4.SetResult(BehaviorPort_Signal_Tester_TesterClassifierBehavior_Value_4_result); + BehaviorPort_Signal_Tester_TesterClassifierBehavior.AddNode(BehaviorPort_Signal_Tester_TesterClassifierBehavior_Value_4); + // AcceptEventAction Accept Continue + BehaviorPort_Signal_Tester_TesterClassifierBehavior_Accept_Continue.SetName("Accept Continue"); + BehaviorPort_Signal_Tester_TesterClassifierBehavior_Accept_Continue.SetVisibility(VisibilityKind.public_); + // OutputPin result + BehaviorPort_Signal_Tester_TesterClassifierBehavior_Accept_Continue_result.SetName("result"); + BehaviorPort_Signal_Tester_TesterClassifierBehavior_Accept_Continue_result.SetVisibility(VisibilityKind.public_); + BehaviorPort_Signal_Tester_TesterClassifierBehavior_Accept_Continue_result.SetType(BehaviorPort_Signal_Continue); + BehaviorPort_Signal_Tester_TesterClassifierBehavior_Accept_Continue.AddResult(BehaviorPort_Signal_Tester_TesterClassifierBehavior_Accept_Continue_result); + // Trigger Trigger52 + BehaviorPort_Signal_Tester_TesterClassifierBehavior_Accept_Continue_Trigger52.SetName("Trigger52"); + BehaviorPort_Signal_Tester_TesterClassifierBehavior_Accept_Continue_Trigger52.SetVisibility(VisibilityKind.public_); + BehaviorPort_Signal_Tester_TesterClassifierBehavior_Accept_Continue_Trigger52.SetEvent(BehaviorPort_Signal_SignalEventContinue); + BehaviorPort_Signal_Tester_TesterClassifierBehavior_Accept_Continue.AddTrigger(BehaviorPort_Signal_Tester_TesterClassifierBehavior_Accept_Continue_Trigger52); + BehaviorPort_Signal_Tester_TesterClassifierBehavior.AddNode(BehaviorPort_Signal_Tester_TesterClassifierBehavior_Accept_Continue); + // ControlFlow ControlFlow22 from Initial to Accept Start + BehaviorPort_Signal_Tester_TesterClassifierBehavior_ControlFlow22.SetName("ControlFlow22"); + BehaviorPort_Signal_Tester_TesterClassifierBehavior_ControlFlow22.SetVisibility(VisibilityKind.public_); + + BehaviorPort_Signal_Tester_TesterClassifierBehavior_ControlFlow22.SetSource(BehaviorPort_Signal_Tester_TesterClassifierBehavior_Initial); + BehaviorPort_Signal_Tester_TesterClassifierBehavior_ControlFlow22.SetTarget(BehaviorPort_Signal_Tester_TesterClassifierBehavior_Accept_Start); + BehaviorPort_Signal_Tester_TesterClassifierBehavior.AddEdge(BehaviorPort_Signal_Tester_TesterClassifierBehavior_ControlFlow22); + // ObjectFlow ObjectFlow0 from result to object + BehaviorPort_Signal_Tester_TesterClassifierBehavior_ObjectFlow0.SetName("ObjectFlow0"); + BehaviorPort_Signal_Tester_TesterClassifierBehavior_ObjectFlow0.SetVisibility(VisibilityKind.public_); + + BehaviorPort_Signal_Tester_TesterClassifierBehavior_ObjectFlow0.SetSource(BehaviorPort_Signal_Tester_TesterClassifierBehavior_Read_this_a_result); + BehaviorPort_Signal_Tester_TesterClassifierBehavior_ObjectFlow0.SetTarget(BehaviorPort_Signal_Tester_TesterClassifierBehavior_Read_this_a_q_object); + // LiteralBoolean LiteralBoolean2 + BehaviorPort_Signal_Tester_TesterClassifierBehavior_ObjectFlow0_LiteralBoolean2.SetName("LiteralBoolean2"); + BehaviorPort_Signal_Tester_TesterClassifierBehavior_ObjectFlow0_LiteralBoolean2.SetVisibility(VisibilityKind.public_); + BehaviorPort_Signal_Tester_TesterClassifierBehavior_ObjectFlow0_LiteralBoolean2.SetValue(true); + BehaviorPort_Signal_Tester_TesterClassifierBehavior_ObjectFlow0.SetGuard(BehaviorPort_Signal_Tester_TesterClassifierBehavior_ObjectFlow0_LiteralBoolean2); + BehaviorPort_Signal_Tester_TesterClassifierBehavior.AddEdge(BehaviorPort_Signal_Tester_TesterClassifierBehavior_ObjectFlow0); + // ObjectFlow ObjectFlow27 from result to Fork this + BehaviorPort_Signal_Tester_TesterClassifierBehavior_ObjectFlow27.SetName("ObjectFlow27"); + BehaviorPort_Signal_Tester_TesterClassifierBehavior_ObjectFlow27.SetVisibility(VisibilityKind.public_); + + BehaviorPort_Signal_Tester_TesterClassifierBehavior_ObjectFlow27.SetSource(BehaviorPort_Signal_Tester_TesterClassifierBehavior_this_result); + BehaviorPort_Signal_Tester_TesterClassifierBehavior_ObjectFlow27.SetTarget(BehaviorPort_Signal_Tester_TesterClassifierBehavior_Fork_this); + // LiteralBoolean LiteralBoolean29 + BehaviorPort_Signal_Tester_TesterClassifierBehavior_ObjectFlow27_LiteralBoolean29.SetName("LiteralBoolean29"); + BehaviorPort_Signal_Tester_TesterClassifierBehavior_ObjectFlow27_LiteralBoolean29.SetVisibility(VisibilityKind.public_); + BehaviorPort_Signal_Tester_TesterClassifierBehavior_ObjectFlow27_LiteralBoolean29.SetValue(true); + BehaviorPort_Signal_Tester_TesterClassifierBehavior_ObjectFlow27.SetGuard(BehaviorPort_Signal_Tester_TesterClassifierBehavior_ObjectFlow27_LiteralBoolean29); + BehaviorPort_Signal_Tester_TesterClassifierBehavior.AddEdge(BehaviorPort_Signal_Tester_TesterClassifierBehavior_ObjectFlow27); + // ObjectFlow ObjectFlow30 from Fork this to target + BehaviorPort_Signal_Tester_TesterClassifierBehavior_ObjectFlow30.SetName("ObjectFlow30"); + BehaviorPort_Signal_Tester_TesterClassifierBehavior_ObjectFlow30.SetVisibility(VisibilityKind.public_); + + BehaviorPort_Signal_Tester_TesterClassifierBehavior_ObjectFlow30.SetSource(BehaviorPort_Signal_Tester_TesterClassifierBehavior_Fork_this); + BehaviorPort_Signal_Tester_TesterClassifierBehavior_ObjectFlow30.SetTarget(BehaviorPort_Signal_Tester_TesterClassifierBehavior_Call_test__target); + // LiteralBoolean LiteralBoolean31 + BehaviorPort_Signal_Tester_TesterClassifierBehavior_ObjectFlow30_LiteralBoolean31.SetName("LiteralBoolean31"); + BehaviorPort_Signal_Tester_TesterClassifierBehavior_ObjectFlow30_LiteralBoolean31.SetVisibility(VisibilityKind.public_); + BehaviorPort_Signal_Tester_TesterClassifierBehavior_ObjectFlow30_LiteralBoolean31.SetValue(true); + BehaviorPort_Signal_Tester_TesterClassifierBehavior_ObjectFlow30.SetGuard(BehaviorPort_Signal_Tester_TesterClassifierBehavior_ObjectFlow30_LiteralBoolean31); + BehaviorPort_Signal_Tester_TesterClassifierBehavior.AddEdge(BehaviorPort_Signal_Tester_TesterClassifierBehavior_ObjectFlow30); + // ObjectFlow ObjectFlow33 from Fork this to t + BehaviorPort_Signal_Tester_TesterClassifierBehavior_ObjectFlow33.SetName("ObjectFlow33"); + BehaviorPort_Signal_Tester_TesterClassifierBehavior_ObjectFlow33.SetVisibility(VisibilityKind.public_); + + BehaviorPort_Signal_Tester_TesterClassifierBehavior_ObjectFlow33.SetSource(BehaviorPort_Signal_Tester_TesterClassifierBehavior_Fork_this); + BehaviorPort_Signal_Tester_TesterClassifierBehavior_ObjectFlow33.SetTarget(BehaviorPort_Signal_Tester_TesterClassifierBehavior_Send_S_t); + // LiteralBoolean LiteralBoolean34 + BehaviorPort_Signal_Tester_TesterClassifierBehavior_ObjectFlow33_LiteralBoolean34.SetName("LiteralBoolean34"); + BehaviorPort_Signal_Tester_TesterClassifierBehavior_ObjectFlow33_LiteralBoolean34.SetVisibility(VisibilityKind.public_); + BehaviorPort_Signal_Tester_TesterClassifierBehavior_ObjectFlow33_LiteralBoolean34.SetValue(true); + BehaviorPort_Signal_Tester_TesterClassifierBehavior_ObjectFlow33.SetGuard(BehaviorPort_Signal_Tester_TesterClassifierBehavior_ObjectFlow33_LiteralBoolean34); + BehaviorPort_Signal_Tester_TesterClassifierBehavior.AddEdge(BehaviorPort_Signal_Tester_TesterClassifierBehavior_ObjectFlow33); + // ObjectFlow ObjectFlow36 from result to v + BehaviorPort_Signal_Tester_TesterClassifierBehavior_ObjectFlow36.SetName("ObjectFlow36"); + BehaviorPort_Signal_Tester_TesterClassifierBehavior_ObjectFlow36.SetVisibility(VisibilityKind.public_); + + BehaviorPort_Signal_Tester_TesterClassifierBehavior_ObjectFlow36.SetSource(BehaviorPort_Signal_Tester_TesterClassifierBehavior_Value_4_result); + BehaviorPort_Signal_Tester_TesterClassifierBehavior_ObjectFlow36.SetTarget(BehaviorPort_Signal_Tester_TesterClassifierBehavior_Send_S_v); + // LiteralBoolean LiteralBoolean38 + BehaviorPort_Signal_Tester_TesterClassifierBehavior_ObjectFlow36_LiteralBoolean38.SetName("LiteralBoolean38"); + BehaviorPort_Signal_Tester_TesterClassifierBehavior_ObjectFlow36_LiteralBoolean38.SetVisibility(VisibilityKind.public_); + BehaviorPort_Signal_Tester_TesterClassifierBehavior_ObjectFlow36_LiteralBoolean38.SetValue(true); + BehaviorPort_Signal_Tester_TesterClassifierBehavior_ObjectFlow36.SetGuard(BehaviorPort_Signal_Tester_TesterClassifierBehavior_ObjectFlow36_LiteralBoolean38); + BehaviorPort_Signal_Tester_TesterClassifierBehavior.AddEdge(BehaviorPort_Signal_Tester_TesterClassifierBehavior_ObjectFlow36); + // ObjectFlow ObjectFlow11 from result to target + BehaviorPort_Signal_Tester_TesterClassifierBehavior_ObjectFlow11.SetName("ObjectFlow11"); + BehaviorPort_Signal_Tester_TesterClassifierBehavior_ObjectFlow11.SetVisibility(VisibilityKind.public_); + + BehaviorPort_Signal_Tester_TesterClassifierBehavior_ObjectFlow11.SetSource(BehaviorPort_Signal_Tester_TesterClassifierBehavior_Read_this_a_q_result); + BehaviorPort_Signal_Tester_TesterClassifierBehavior_ObjectFlow11.SetTarget(BehaviorPort_Signal_Tester_TesterClassifierBehavior_Send_S_target); + // LiteralBoolean LiteralBoolean13 + BehaviorPort_Signal_Tester_TesterClassifierBehavior_ObjectFlow11_LiteralBoolean13.SetName("LiteralBoolean13"); + BehaviorPort_Signal_Tester_TesterClassifierBehavior_ObjectFlow11_LiteralBoolean13.SetVisibility(VisibilityKind.public_); + BehaviorPort_Signal_Tester_TesterClassifierBehavior_ObjectFlow11_LiteralBoolean13.SetValue(true); + BehaviorPort_Signal_Tester_TesterClassifierBehavior_ObjectFlow11.SetGuard(BehaviorPort_Signal_Tester_TesterClassifierBehavior_ObjectFlow11_LiteralBoolean13); + BehaviorPort_Signal_Tester_TesterClassifierBehavior.AddEdge(BehaviorPort_Signal_Tester_TesterClassifierBehavior_ObjectFlow11); + // ObjectFlow ObjectFlow14 from Fork this to object + BehaviorPort_Signal_Tester_TesterClassifierBehavior_ObjectFlow14.SetName("ObjectFlow14"); + BehaviorPort_Signal_Tester_TesterClassifierBehavior_ObjectFlow14.SetVisibility(VisibilityKind.public_); + + BehaviorPort_Signal_Tester_TesterClassifierBehavior_ObjectFlow14.SetSource(BehaviorPort_Signal_Tester_TesterClassifierBehavior_Fork_this); + BehaviorPort_Signal_Tester_TesterClassifierBehavior_ObjectFlow14.SetTarget(BehaviorPort_Signal_Tester_TesterClassifierBehavior_Read_this_a_object); + // LiteralBoolean LiteralBoolean15 + BehaviorPort_Signal_Tester_TesterClassifierBehavior_ObjectFlow14_LiteralBoolean15.SetName("LiteralBoolean15"); + BehaviorPort_Signal_Tester_TesterClassifierBehavior_ObjectFlow14_LiteralBoolean15.SetVisibility(VisibilityKind.public_); + BehaviorPort_Signal_Tester_TesterClassifierBehavior_ObjectFlow14_LiteralBoolean15.SetValue(true); + BehaviorPort_Signal_Tester_TesterClassifierBehavior_ObjectFlow14.SetGuard(BehaviorPort_Signal_Tester_TesterClassifierBehavior_ObjectFlow14_LiteralBoolean15); + BehaviorPort_Signal_Tester_TesterClassifierBehavior.AddEdge(BehaviorPort_Signal_Tester_TesterClassifierBehavior_ObjectFlow14); + // ControlFlow ControlFlow45 from Accept Start to this + BehaviorPort_Signal_Tester_TesterClassifierBehavior_ControlFlow45.SetName("ControlFlow45"); + BehaviorPort_Signal_Tester_TesterClassifierBehavior_ControlFlow45.SetVisibility(VisibilityKind.public_); + + BehaviorPort_Signal_Tester_TesterClassifierBehavior_ControlFlow45.SetSource(BehaviorPort_Signal_Tester_TesterClassifierBehavior_Accept_Start); + BehaviorPort_Signal_Tester_TesterClassifierBehavior_ControlFlow45.SetTarget(BehaviorPort_Signal_Tester_TesterClassifierBehavior_this); + BehaviorPort_Signal_Tester_TesterClassifierBehavior.AddEdge(BehaviorPort_Signal_Tester_TesterClassifierBehavior_ControlFlow45); + // ControlFlow ControlFlow17 from Accept Continue to Call test() + BehaviorPort_Signal_Tester_TesterClassifierBehavior_ControlFlow17.SetName("ControlFlow17"); + BehaviorPort_Signal_Tester_TesterClassifierBehavior_ControlFlow17.SetVisibility(VisibilityKind.public_); + + BehaviorPort_Signal_Tester_TesterClassifierBehavior_ControlFlow17.SetSource(BehaviorPort_Signal_Tester_TesterClassifierBehavior_Accept_Continue); + BehaviorPort_Signal_Tester_TesterClassifierBehavior_ControlFlow17.SetTarget(BehaviorPort_Signal_Tester_TesterClassifierBehavior_Call_test_); + BehaviorPort_Signal_Tester_TesterClassifierBehavior.AddEdge(BehaviorPort_Signal_Tester_TesterClassifierBehavior_ControlFlow17); + BehaviorPort_Signal_Tester.AddOwnedBehavior(BehaviorPort_Signal_Tester_TesterClassifierBehavior); + // Activity testActivity + BehaviorPort_Signal_Tester_testActivity.SetName("testActivity"); + BehaviorPort_Signal_Tester_testActivity.SetVisibility(VisibilityKind.public_); + // FunctionBehavior testP + BehaviorPort_Signal_Tester_testActivity_testP.SetName("testP"); + BehaviorPort_Signal_Tester_testActivity_testP.SetVisibility(VisibilityKind.public_); + + // Parameter p + BehaviorPort_Signal_Tester_testActivity_testP_p.SetName("p"); + BehaviorPort_Signal_Tester_testActivity_testP_p.SetVisibility(VisibilityKind.public_); + + BehaviorPort_Signal_Tester_testActivity_testP_p.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + BehaviorPort_Signal_Tester_testActivity_testP.AddOwnedParameter(BehaviorPort_Signal_Tester_testActivity_testP_p); + BehaviorPort_Signal_Tester_testActivity_testP.AddLanguage("C#"); + BehaviorPort_Signal_Tester_testActivity_testP.AddLanguage("Using"); + BehaviorPort_Signal_Tester_testActivity_testP.AddBody("Console.WriteLine(\"Asserting a.p == 4\"); // Test parameter p int p = ((IntegerValue)inputParameters.ElementAt(0).values.ElementAt(0)).value; Debug.Println(\"[doBody] argument p = \" + p); Console.WriteLine(\"a.p == \" + p); Console.Write(\"Signal delegated to classifier behavior: \"); if(p == 4) { Console.ForegroundColor = ConsoleColor.Green; Console.WriteLine(\"Assertion successful.\"); } else { Console.ForegroundColor = ConsoleColor.Red; Console.WriteLine(\"Assertion failed!\"); } Console.ResetColor();"); + BehaviorPort_Signal_Tester_testActivity_testP.AddBody("using fuml.semantics.simpleclassifiers;"); + BehaviorPort_Signal_Tester_testActivity.AddOwnedBehavior(BehaviorPort_Signal_Tester_testActivity_testP); + // CallBehaviorAction Call testP + BehaviorPort_Signal_Tester_testActivity_Call_testP.SetName("Call testP"); + BehaviorPort_Signal_Tester_testActivity_Call_testP.SetVisibility(VisibilityKind.public_); + BehaviorPort_Signal_Tester_testActivity_Call_testP.SetBehavior(BehaviorPort_Signal_Tester_testActivity_testP); + // InputPin p + BehaviorPort_Signal_Tester_testActivity_Call_testP_p.SetName("p"); + BehaviorPort_Signal_Tester_testActivity_Call_testP_p.SetVisibility(VisibilityKind.public_); + BehaviorPort_Signal_Tester_testActivity_Call_testP_p.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + BehaviorPort_Signal_Tester_testActivity_Call_testP.AddArgument(BehaviorPort_Signal_Tester_testActivity_Call_testP_p); + BehaviorPort_Signal_Tester_testActivity.AddNode(BehaviorPort_Signal_Tester_testActivity_Call_testP); + // ReadStructuralFeatureAction this.a + BehaviorPort_Signal_Tester_testActivity_this_a.SetName("this.a"); + BehaviorPort_Signal_Tester_testActivity_this_a.SetVisibility(VisibilityKind.public_); + BehaviorPort_Signal_Tester_testActivity_this_a.SetStructuralFeature(BehaviorPort_Signal_Tester_a); + // InputPin object + BehaviorPort_Signal_Tester_testActivity_this_a_object.SetName("object"); + BehaviorPort_Signal_Tester_testActivity_this_a_object.SetVisibility(VisibilityKind.public_); + BehaviorPort_Signal_Tester_testActivity_this_a_object.SetType(BehaviorPort_Signal_Tester); + BehaviorPort_Signal_Tester_testActivity_this_a.SetObject(BehaviorPort_Signal_Tester_testActivity_this_a_object); + // OutputPin result + BehaviorPort_Signal_Tester_testActivity_this_a_result.SetName("result"); + BehaviorPort_Signal_Tester_testActivity_this_a_result.SetVisibility(VisibilityKind.public_); + BehaviorPort_Signal_Tester_testActivity_this_a_result.SetType(BehaviorPort_Signal_A); + BehaviorPort_Signal_Tester_testActivity_this_a.SetResult(BehaviorPort_Signal_Tester_testActivity_this_a_result); + BehaviorPort_Signal_Tester_testActivity.AddNode(BehaviorPort_Signal_Tester_testActivity_this_a); + // ReadSelfAction this + BehaviorPort_Signal_Tester_testActivity_this.SetName("this"); + BehaviorPort_Signal_Tester_testActivity_this.SetVisibility(VisibilityKind.public_); + // OutputPin result + BehaviorPort_Signal_Tester_testActivity_this_result.SetName("result"); + BehaviorPort_Signal_Tester_testActivity_this_result.SetVisibility(VisibilityKind.public_); + BehaviorPort_Signal_Tester_testActivity_this_result.SetType(BehaviorPort_Signal_Tester); + BehaviorPort_Signal_Tester_testActivity_this.SetResult(BehaviorPort_Signal_Tester_testActivity_this_result); + BehaviorPort_Signal_Tester_testActivity.AddNode(BehaviorPort_Signal_Tester_testActivity_this); + // ReadStructuralFeatureAction this.a.p + BehaviorPort_Signal_Tester_testActivity_this_a_p.SetName("this.a.p"); + BehaviorPort_Signal_Tester_testActivity_this_a_p.SetVisibility(VisibilityKind.public_); + BehaviorPort_Signal_Tester_testActivity_this_a_p.SetStructuralFeature(BehaviorPort_Signal_A_p); + // InputPin object + BehaviorPort_Signal_Tester_testActivity_this_a_p_object.SetName("object"); + BehaviorPort_Signal_Tester_testActivity_this_a_p_object.SetVisibility(VisibilityKind.public_); + BehaviorPort_Signal_Tester_testActivity_this_a_p_object.SetType(BehaviorPort_Signal_A); + BehaviorPort_Signal_Tester_testActivity_this_a_p.SetObject(BehaviorPort_Signal_Tester_testActivity_this_a_p_object); + // OutputPin result + BehaviorPort_Signal_Tester_testActivity_this_a_p_result.SetName("result"); + BehaviorPort_Signal_Tester_testActivity_this_a_p_result.SetVisibility(VisibilityKind.public_); + BehaviorPort_Signal_Tester_testActivity_this_a_p_result.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + BehaviorPort_Signal_Tester_testActivity_this_a_p.SetResult(BehaviorPort_Signal_Tester_testActivity_this_a_p_result); + BehaviorPort_Signal_Tester_testActivity.AddNode(BehaviorPort_Signal_Tester_testActivity_this_a_p); + // ObjectFlow ObjectFlow61 from result to object + BehaviorPort_Signal_Tester_testActivity_ObjectFlow61.SetName("ObjectFlow61"); + BehaviorPort_Signal_Tester_testActivity_ObjectFlow61.SetVisibility(VisibilityKind.public_); + + BehaviorPort_Signal_Tester_testActivity_ObjectFlow61.SetSource(BehaviorPort_Signal_Tester_testActivity_this_a_result); + BehaviorPort_Signal_Tester_testActivity_ObjectFlow61.SetTarget(BehaviorPort_Signal_Tester_testActivity_this_a_p_object); + // LiteralBoolean LiteralBoolean62 + BehaviorPort_Signal_Tester_testActivity_ObjectFlow61_LiteralBoolean62.SetName("LiteralBoolean62"); + BehaviorPort_Signal_Tester_testActivity_ObjectFlow61_LiteralBoolean62.SetVisibility(VisibilityKind.public_); + BehaviorPort_Signal_Tester_testActivity_ObjectFlow61_LiteralBoolean62.SetValue(true); + BehaviorPort_Signal_Tester_testActivity_ObjectFlow61.SetGuard(BehaviorPort_Signal_Tester_testActivity_ObjectFlow61_LiteralBoolean62); + BehaviorPort_Signal_Tester_testActivity.AddEdge(BehaviorPort_Signal_Tester_testActivity_ObjectFlow61); + // ObjectFlow ObjectFlow64 from result to object + BehaviorPort_Signal_Tester_testActivity_ObjectFlow64.SetName("ObjectFlow64"); + BehaviorPort_Signal_Tester_testActivity_ObjectFlow64.SetVisibility(VisibilityKind.public_); + + BehaviorPort_Signal_Tester_testActivity_ObjectFlow64.SetSource(BehaviorPort_Signal_Tester_testActivity_this_result); + BehaviorPort_Signal_Tester_testActivity_ObjectFlow64.SetTarget(BehaviorPort_Signal_Tester_testActivity_this_a_object); + // LiteralBoolean LiteralBoolean65 + BehaviorPort_Signal_Tester_testActivity_ObjectFlow64_LiteralBoolean65.SetName("LiteralBoolean65"); + BehaviorPort_Signal_Tester_testActivity_ObjectFlow64_LiteralBoolean65.SetVisibility(VisibilityKind.public_); + BehaviorPort_Signal_Tester_testActivity_ObjectFlow64_LiteralBoolean65.SetValue(true); + BehaviorPort_Signal_Tester_testActivity_ObjectFlow64.SetGuard(BehaviorPort_Signal_Tester_testActivity_ObjectFlow64_LiteralBoolean65); + BehaviorPort_Signal_Tester_testActivity.AddEdge(BehaviorPort_Signal_Tester_testActivity_ObjectFlow64); + // ObjectFlow ObjectFlow67 from result to p + BehaviorPort_Signal_Tester_testActivity_ObjectFlow67.SetName("ObjectFlow67"); + BehaviorPort_Signal_Tester_testActivity_ObjectFlow67.SetVisibility(VisibilityKind.public_); + + BehaviorPort_Signal_Tester_testActivity_ObjectFlow67.SetSource(BehaviorPort_Signal_Tester_testActivity_this_a_p_result); + BehaviorPort_Signal_Tester_testActivity_ObjectFlow67.SetTarget(BehaviorPort_Signal_Tester_testActivity_Call_testP_p); + // LiteralBoolean LiteralBoolean68 + BehaviorPort_Signal_Tester_testActivity_ObjectFlow67_LiteralBoolean68.SetName("LiteralBoolean68"); + BehaviorPort_Signal_Tester_testActivity_ObjectFlow67_LiteralBoolean68.SetVisibility(VisibilityKind.public_); + BehaviorPort_Signal_Tester_testActivity_ObjectFlow67_LiteralBoolean68.SetValue(true); + BehaviorPort_Signal_Tester_testActivity_ObjectFlow67.SetGuard(BehaviorPort_Signal_Tester_testActivity_ObjectFlow67_LiteralBoolean68); + BehaviorPort_Signal_Tester_testActivity.AddEdge(BehaviorPort_Signal_Tester_testActivity_ObjectFlow67); + BehaviorPort_Signal_Tester.AddOwnedBehavior(BehaviorPort_Signal_Tester_testActivity); + + BehaviorPort_Signal_Tester.SetIsActive(true); + // Operation Tester_Tester + BehaviorPort_Signal_Tester_Tester_Tester.SetName("Tester_Tester"); + BehaviorPort_Signal_Tester_Tester_Tester.SetVisibility(VisibilityKind.public_); + // Parameter result + BehaviorPort_Signal_Tester_Tester_Tester_result.SetName("result"); + BehaviorPort_Signal_Tester_Tester_Tester_result.SetVisibility(VisibilityKind.public_); + + BehaviorPort_Signal_Tester_Tester_Tester_result.SetType(BehaviorPort_Signal_Tester); + BehaviorPort_Signal_Tester_Tester_Tester_result.SetDirection(ParameterDirectionKind.return_); + BehaviorPort_Signal_Tester_Tester_Tester.AddOwnedParameter(BehaviorPort_Signal_Tester_Tester_Tester_result); + BehaviorPort_Signal_Tester_Tester_Tester.ApplyStereotype(uml.standardprofile.StandardProfileModel.Instance().Stereotype_Create); + BehaviorPort_Signal_Tester.AddOwnedOperation(BehaviorPort_Signal_Tester_Tester_Tester); + // Operation test + BehaviorPort_Signal_Tester_test.SetName("test"); + BehaviorPort_Signal_Tester_test.SetVisibility(VisibilityKind.public_); + BehaviorPort_Signal_Tester_test.AddMethod(BehaviorPort_Signal_Tester_testActivity); + BehaviorPort_Signal_Tester_test.AddRedefinedOperation(BehaviorPort_Signal_AbstractTester_test); + BehaviorPort_Signal_Tester.AddOwnedOperation(BehaviorPort_Signal_Tester_test); + BehaviorPort_Signal.AddPackagedElement(BehaviorPort_Signal_Tester); + // Signal S + BehaviorPort_Signal_S.SetName("S"); + BehaviorPort_Signal_S.SetVisibility(VisibilityKind.public_); + + // Property v + BehaviorPort_Signal_S_v.SetName("v"); + BehaviorPort_Signal_S_v.SetVisibility(VisibilityKind.public_); + + BehaviorPort_Signal_S_v.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + BehaviorPort_Signal_S.AddOwnedAttribute(BehaviorPort_Signal_S_v); + // Property t + BehaviorPort_Signal_S_t.SetName("t"); + BehaviorPort_Signal_S_t.SetVisibility(VisibilityKind.public_); + + BehaviorPort_Signal_S_t.SetType(BehaviorPort_Signal_AbstractTester); + BehaviorPort_Signal_S.AddOwnedAttribute(BehaviorPort_Signal_S_t); + BehaviorPort_Signal.AddPackagedElement(BehaviorPort_Signal_S); + // Class AbstractTester + BehaviorPort_Signal_AbstractTester.SetName("AbstractTester"); + BehaviorPort_Signal_AbstractTester.SetVisibility(VisibilityKind.public_); + + BehaviorPort_Signal_AbstractTester.SetIsAbstract(true); + + + BehaviorPort_Signal_AbstractTester.SetIsActive(true); + // Operation test + BehaviorPort_Signal_AbstractTester_test.SetName("test"); + BehaviorPort_Signal_AbstractTester_test.SetVisibility(VisibilityKind.public_); + BehaviorPort_Signal_AbstractTester_test.SetIsAbstract(true); + BehaviorPort_Signal_AbstractTester.AddOwnedOperation(BehaviorPort_Signal_AbstractTester_test); + // Reception Continue + BehaviorPort_Signal_AbstractTester_Continue.SetName("Continue"); + BehaviorPort_Signal_AbstractTester_Continue.SetVisibility(VisibilityKind.public_); + BehaviorPort_Signal_AbstractTester_Continue.SetSignal(BehaviorPort_Signal_Continue); + BehaviorPort_Signal_AbstractTester.AddOwnedReception(BehaviorPort_Signal_AbstractTester_Continue); + // Reception Start + BehaviorPort_Signal_AbstractTester_Start.SetName("Start"); + BehaviorPort_Signal_AbstractTester_Start.SetVisibility(VisibilityKind.public_); + BehaviorPort_Signal_AbstractTester_Start.SetSignal(BehaviorPort_Signal_Start); + BehaviorPort_Signal_AbstractTester.AddOwnedReception(BehaviorPort_Signal_AbstractTester_Start); + BehaviorPort_Signal.AddPackagedElement(BehaviorPort_Signal_AbstractTester); + // Interface I + BehaviorPort_Signal_I.SetName("I"); + BehaviorPort_Signal_I.SetVisibility(VisibilityKind.public_); + // Reception S + BehaviorPort_Signal_I_S.SetName("S"); + BehaviorPort_Signal_I_S.SetVisibility(VisibilityKind.public_); + BehaviorPort_Signal_I_S.SetSignal(BehaviorPort_Signal_S); + BehaviorPort_Signal_I.AddOwnedReception(BehaviorPort_Signal_I_S); + BehaviorPort_Signal.AddPackagedElement(BehaviorPort_Signal_I); + // Class A + BehaviorPort_Signal_A.SetName("A"); + BehaviorPort_Signal_A.SetVisibility(VisibilityKind.public_); + + // Property p + BehaviorPort_Signal_A_p.SetName("p"); + BehaviorPort_Signal_A_p.SetVisibility(VisibilityKind.public_); + + BehaviorPort_Signal_A_p.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + BehaviorPort_Signal_A.AddOwnedAttribute(BehaviorPort_Signal_A_p); + // Port q + BehaviorPort_Signal_A_q.SetName("q"); + BehaviorPort_Signal_A_q.SetVisibility(VisibilityKind.public_); + + BehaviorPort_Signal_A_q.SetType(BehaviorPort_Signal_IImpl); + BehaviorPort_Signal_A_q.SetAggregation(AggregationKind.composite); + BehaviorPort_Signal_A_q.isBehavior = true; + BehaviorPort_Signal_A_q.isService = true; + BehaviorPort_Signal_A_q.AddProvided(BehaviorPort_Signal_I); + BehaviorPort_Signal_A.AddOwnedAttribute(BehaviorPort_Signal_A_q); + BehaviorPort_Signal_A.SetClassifierBehavior(BehaviorPort_Signal_A_AClassifierBehavior); + // Activity AClassifierBehavior + BehaviorPort_Signal_A_AClassifierBehavior.SetName("AClassifierBehavior"); + BehaviorPort_Signal_A_AClassifierBehavior.SetVisibility(VisibilityKind.public_); + // ReadSelfAction this + BehaviorPort_Signal_A_AClassifierBehavior_this.SetName("this"); + BehaviorPort_Signal_A_AClassifierBehavior_this.SetVisibility(VisibilityKind.public_); + // OutputPin result + BehaviorPort_Signal_A_AClassifierBehavior_this_result.SetName("result"); + BehaviorPort_Signal_A_AClassifierBehavior_this_result.SetVisibility(VisibilityKind.public_); + BehaviorPort_Signal_A_AClassifierBehavior_this_result.SetType(BehaviorPort_Signal_A); + BehaviorPort_Signal_A_AClassifierBehavior_this.SetResult(BehaviorPort_Signal_A_AClassifierBehavior_this_result); + BehaviorPort_Signal_A_AClassifierBehavior.AddNode(BehaviorPort_Signal_A_AClassifierBehavior_this); + // ReadStructuralFeatureAction Read S::v + BehaviorPort_Signal_A_AClassifierBehavior_Read_S_v.SetName("Read S::v"); + BehaviorPort_Signal_A_AClassifierBehavior_Read_S_v.SetVisibility(VisibilityKind.public_); + BehaviorPort_Signal_A_AClassifierBehavior_Read_S_v.SetStructuralFeature(BehaviorPort_Signal_S_v); + // InputPin object + BehaviorPort_Signal_A_AClassifierBehavior_Read_S_v_object.SetName("object"); + BehaviorPort_Signal_A_AClassifierBehavior_Read_S_v_object.SetVisibility(VisibilityKind.public_); + BehaviorPort_Signal_A_AClassifierBehavior_Read_S_v.SetObject(BehaviorPort_Signal_A_AClassifierBehavior_Read_S_v_object); + // OutputPin result + BehaviorPort_Signal_A_AClassifierBehavior_Read_S_v_result.SetName("result"); + BehaviorPort_Signal_A_AClassifierBehavior_Read_S_v_result.SetVisibility(VisibilityKind.public_); + BehaviorPort_Signal_A_AClassifierBehavior_Read_S_v_result.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + BehaviorPort_Signal_A_AClassifierBehavior_Read_S_v.SetResult(BehaviorPort_Signal_A_AClassifierBehavior_Read_S_v_result); + BehaviorPort_Signal_A_AClassifierBehavior.AddNode(BehaviorPort_Signal_A_AClassifierBehavior_Read_S_v); + // AddStructuralFeatureValueAction Set this.p + BehaviorPort_Signal_A_AClassifierBehavior_Set_this_p.SetName("Set this.p"); + BehaviorPort_Signal_A_AClassifierBehavior_Set_this_p.SetVisibility(VisibilityKind.public_); + BehaviorPort_Signal_A_AClassifierBehavior_Set_this_p.SetStructuralFeature(BehaviorPort_Signal_A_p); + // InputPin object + BehaviorPort_Signal_A_AClassifierBehavior_Set_this_p_object.SetName("object"); + BehaviorPort_Signal_A_AClassifierBehavior_Set_this_p_object.SetVisibility(VisibilityKind.public_); + BehaviorPort_Signal_A_AClassifierBehavior_Set_this_p_object.SetType(BehaviorPort_Signal_A); + BehaviorPort_Signal_A_AClassifierBehavior_Set_this_p.SetObject(BehaviorPort_Signal_A_AClassifierBehavior_Set_this_p_object); + // InputPin value + BehaviorPort_Signal_A_AClassifierBehavior_Set_this_p_value.SetName("value"); + BehaviorPort_Signal_A_AClassifierBehavior_Set_this_p_value.SetVisibility(VisibilityKind.public_); + BehaviorPort_Signal_A_AClassifierBehavior_Set_this_p_value.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + BehaviorPort_Signal_A_AClassifierBehavior_Set_this_p.SetValue(BehaviorPort_Signal_A_AClassifierBehavior_Set_this_p_value); + // OutputPin result + BehaviorPort_Signal_A_AClassifierBehavior_Set_this_p_result.SetName("result"); + BehaviorPort_Signal_A_AClassifierBehavior_Set_this_p_result.SetVisibility(VisibilityKind.public_); + BehaviorPort_Signal_A_AClassifierBehavior_Set_this_p_result.SetType(BehaviorPort_Signal_A); + BehaviorPort_Signal_A_AClassifierBehavior_Set_this_p.SetResult(BehaviorPort_Signal_A_AClassifierBehavior_Set_this_p_result); + BehaviorPort_Signal_A_AClassifierBehavior.AddNode(BehaviorPort_Signal_A_AClassifierBehavior_Set_this_p); + // ForkNode Fork S + BehaviorPort_Signal_A_AClassifierBehavior_Fork_S.SetName("Fork S"); + BehaviorPort_Signal_A_AClassifierBehavior_Fork_S.SetVisibility(VisibilityKind.public_); + BehaviorPort_Signal_A_AClassifierBehavior.AddNode(BehaviorPort_Signal_A_AClassifierBehavior_Fork_S); + // InitialNode Initial + BehaviorPort_Signal_A_AClassifierBehavior_Initial.SetName("Initial"); + BehaviorPort_Signal_A_AClassifierBehavior_Initial.SetVisibility(VisibilityKind.public_); + BehaviorPort_Signal_A_AClassifierBehavior.AddNode(BehaviorPort_Signal_A_AClassifierBehavior_Initial); + // AcceptEventAction Accept S + BehaviorPort_Signal_A_AClassifierBehavior_Accept_S.SetName("Accept S"); + BehaviorPort_Signal_A_AClassifierBehavior_Accept_S.SetVisibility(VisibilityKind.public_); + // OutputPin result + BehaviorPort_Signal_A_AClassifierBehavior_Accept_S_result.SetName("result"); + BehaviorPort_Signal_A_AClassifierBehavior_Accept_S_result.SetVisibility(VisibilityKind.public_); + BehaviorPort_Signal_A_AClassifierBehavior_Accept_S_result.SetType(BehaviorPort_Signal_S); + BehaviorPort_Signal_A_AClassifierBehavior_Accept_S_result.SetIsOrdered(true); + BehaviorPort_Signal_A_AClassifierBehavior_Accept_S_result.SetIsUnique(false); + BehaviorPort_Signal_A_AClassifierBehavior_Accept_S.AddResult(BehaviorPort_Signal_A_AClassifierBehavior_Accept_S_result); + // Trigger Trigger91 + BehaviorPort_Signal_A_AClassifierBehavior_Accept_S_Trigger91.SetName("Trigger91"); + BehaviorPort_Signal_A_AClassifierBehavior_Accept_S_Trigger91.SetVisibility(VisibilityKind.public_); + BehaviorPort_Signal_A_AClassifierBehavior_Accept_S_Trigger91.SetEvent(BehaviorPort_Signal_SignalEventS); + BehaviorPort_Signal_A_AClassifierBehavior_Accept_S.AddTrigger(BehaviorPort_Signal_A_AClassifierBehavior_Accept_S_Trigger91); + BehaviorPort_Signal_A_AClassifierBehavior.AddNode(BehaviorPort_Signal_A_AClassifierBehavior_Accept_S); + // SendSignalAction Send Continue + BehaviorPort_Signal_A_AClassifierBehavior_Send_Continue.SetName("Send Continue"); + BehaviorPort_Signal_A_AClassifierBehavior_Send_Continue.SetVisibility(VisibilityKind.public_); + BehaviorPort_Signal_A_AClassifierBehavior_Send_Continue.SetSignal(BehaviorPort_Signal_Continue); + // InputPin target + BehaviorPort_Signal_A_AClassifierBehavior_Send_Continue_target.SetName("target"); + BehaviorPort_Signal_A_AClassifierBehavior_Send_Continue_target.SetVisibility(VisibilityKind.public_); + BehaviorPort_Signal_A_AClassifierBehavior_Send_Continue_target.SetType(BehaviorPort_Signal_AbstractTester); + BehaviorPort_Signal_A_AClassifierBehavior_Send_Continue.SetTarget(BehaviorPort_Signal_A_AClassifierBehavior_Send_Continue_target); + BehaviorPort_Signal_A_AClassifierBehavior.AddNode(BehaviorPort_Signal_A_AClassifierBehavior_Send_Continue); + // ReadStructuralFeatureAction Read S::t + BehaviorPort_Signal_A_AClassifierBehavior_Read_S_t.SetName("Read S::t"); + BehaviorPort_Signal_A_AClassifierBehavior_Read_S_t.SetVisibility(VisibilityKind.public_); + BehaviorPort_Signal_A_AClassifierBehavior_Read_S_t.SetStructuralFeature(BehaviorPort_Signal_S_t); + // InputPin object + BehaviorPort_Signal_A_AClassifierBehavior_Read_S_t_object.SetName("object"); + BehaviorPort_Signal_A_AClassifierBehavior_Read_S_t_object.SetVisibility(VisibilityKind.public_); + BehaviorPort_Signal_A_AClassifierBehavior_Read_S_t.SetObject(BehaviorPort_Signal_A_AClassifierBehavior_Read_S_t_object); + // OutputPin result + BehaviorPort_Signal_A_AClassifierBehavior_Read_S_t_result.SetName("result"); + BehaviorPort_Signal_A_AClassifierBehavior_Read_S_t_result.SetVisibility(VisibilityKind.public_); + BehaviorPort_Signal_A_AClassifierBehavior_Read_S_t_result.SetType(BehaviorPort_Signal_AbstractTester); + BehaviorPort_Signal_A_AClassifierBehavior_Read_S_t.SetResult(BehaviorPort_Signal_A_AClassifierBehavior_Read_S_t_result); + BehaviorPort_Signal_A_AClassifierBehavior.AddNode(BehaviorPort_Signal_A_AClassifierBehavior_Read_S_t); + // ObjectFlow ObjectFlow98 from result to object + BehaviorPort_Signal_A_AClassifierBehavior_ObjectFlow98.SetName("ObjectFlow98"); + BehaviorPort_Signal_A_AClassifierBehavior_ObjectFlow98.SetVisibility(VisibilityKind.public_); + + BehaviorPort_Signal_A_AClassifierBehavior_ObjectFlow98.SetSource(BehaviorPort_Signal_A_AClassifierBehavior_this_result); + BehaviorPort_Signal_A_AClassifierBehavior_ObjectFlow98.SetTarget(BehaviorPort_Signal_A_AClassifierBehavior_Set_this_p_object); + // LiteralBoolean LiteralBoolean99 + BehaviorPort_Signal_A_AClassifierBehavior_ObjectFlow98_LiteralBoolean99.SetName("LiteralBoolean99"); + BehaviorPort_Signal_A_AClassifierBehavior_ObjectFlow98_LiteralBoolean99.SetVisibility(VisibilityKind.public_); + BehaviorPort_Signal_A_AClassifierBehavior_ObjectFlow98_LiteralBoolean99.SetValue(true); + BehaviorPort_Signal_A_AClassifierBehavior_ObjectFlow98.SetGuard(BehaviorPort_Signal_A_AClassifierBehavior_ObjectFlow98_LiteralBoolean99); + BehaviorPort_Signal_A_AClassifierBehavior.AddEdge(BehaviorPort_Signal_A_AClassifierBehavior_ObjectFlow98); + // ObjectFlow ObjectFlow78 from result to target + BehaviorPort_Signal_A_AClassifierBehavior_ObjectFlow78.SetName("ObjectFlow78"); + BehaviorPort_Signal_A_AClassifierBehavior_ObjectFlow78.SetVisibility(VisibilityKind.public_); + + BehaviorPort_Signal_A_AClassifierBehavior_ObjectFlow78.SetSource(BehaviorPort_Signal_A_AClassifierBehavior_Read_S_t_result); + BehaviorPort_Signal_A_AClassifierBehavior_ObjectFlow78.SetTarget(BehaviorPort_Signal_A_AClassifierBehavior_Send_Continue_target); + // LiteralBoolean LiteralBoolean79 + BehaviorPort_Signal_A_AClassifierBehavior_ObjectFlow78_LiteralBoolean79.SetName("LiteralBoolean79"); + BehaviorPort_Signal_A_AClassifierBehavior_ObjectFlow78_LiteralBoolean79.SetVisibility(VisibilityKind.public_); + BehaviorPort_Signal_A_AClassifierBehavior_ObjectFlow78_LiteralBoolean79.SetValue(true); + BehaviorPort_Signal_A_AClassifierBehavior_ObjectFlow78.SetGuard(BehaviorPort_Signal_A_AClassifierBehavior_ObjectFlow78_LiteralBoolean79); + BehaviorPort_Signal_A_AClassifierBehavior.AddEdge(BehaviorPort_Signal_A_AClassifierBehavior_ObjectFlow78); + // ObjectFlow ObjectFlow101 from Fork S to object + BehaviorPort_Signal_A_AClassifierBehavior_ObjectFlow101.SetName("ObjectFlow101"); + BehaviorPort_Signal_A_AClassifierBehavior_ObjectFlow101.SetVisibility(VisibilityKind.public_); + + BehaviorPort_Signal_A_AClassifierBehavior_ObjectFlow101.SetSource(BehaviorPort_Signal_A_AClassifierBehavior_Fork_S); + BehaviorPort_Signal_A_AClassifierBehavior_ObjectFlow101.SetTarget(BehaviorPort_Signal_A_AClassifierBehavior_Read_S_t_object); + // LiteralBoolean LiteralBoolean103 + BehaviorPort_Signal_A_AClassifierBehavior_ObjectFlow101_LiteralBoolean103.SetName("LiteralBoolean103"); + BehaviorPort_Signal_A_AClassifierBehavior_ObjectFlow101_LiteralBoolean103.SetVisibility(VisibilityKind.public_); + BehaviorPort_Signal_A_AClassifierBehavior_ObjectFlow101_LiteralBoolean103.SetValue(true); + BehaviorPort_Signal_A_AClassifierBehavior_ObjectFlow101.SetGuard(BehaviorPort_Signal_A_AClassifierBehavior_ObjectFlow101_LiteralBoolean103); + BehaviorPort_Signal_A_AClassifierBehavior.AddEdge(BehaviorPort_Signal_A_AClassifierBehavior_ObjectFlow101); + // ControlFlow ControlFlow104 from Set this.p to Read S::t + BehaviorPort_Signal_A_AClassifierBehavior_ControlFlow104.SetName("ControlFlow104"); + BehaviorPort_Signal_A_AClassifierBehavior_ControlFlow104.SetVisibility(VisibilityKind.public_); + + BehaviorPort_Signal_A_AClassifierBehavior_ControlFlow104.SetSource(BehaviorPort_Signal_A_AClassifierBehavior_Set_this_p); + BehaviorPort_Signal_A_AClassifierBehavior_ControlFlow104.SetTarget(BehaviorPort_Signal_A_AClassifierBehavior_Read_S_t); + BehaviorPort_Signal_A_AClassifierBehavior.AddEdge(BehaviorPort_Signal_A_AClassifierBehavior_ControlFlow104); + // ObjectFlow ObjectFlow105 from result to value + BehaviorPort_Signal_A_AClassifierBehavior_ObjectFlow105.SetName("ObjectFlow105"); + BehaviorPort_Signal_A_AClassifierBehavior_ObjectFlow105.SetVisibility(VisibilityKind.public_); + + BehaviorPort_Signal_A_AClassifierBehavior_ObjectFlow105.SetSource(BehaviorPort_Signal_A_AClassifierBehavior_Read_S_v_result); + BehaviorPort_Signal_A_AClassifierBehavior_ObjectFlow105.SetTarget(BehaviorPort_Signal_A_AClassifierBehavior_Set_this_p_value); + // LiteralBoolean LiteralBoolean107 + BehaviorPort_Signal_A_AClassifierBehavior_ObjectFlow105_LiteralBoolean107.SetName("LiteralBoolean107"); + BehaviorPort_Signal_A_AClassifierBehavior_ObjectFlow105_LiteralBoolean107.SetVisibility(VisibilityKind.public_); + BehaviorPort_Signal_A_AClassifierBehavior_ObjectFlow105_LiteralBoolean107.SetValue(true); + BehaviorPort_Signal_A_AClassifierBehavior_ObjectFlow105.SetGuard(BehaviorPort_Signal_A_AClassifierBehavior_ObjectFlow105_LiteralBoolean107); + BehaviorPort_Signal_A_AClassifierBehavior.AddEdge(BehaviorPort_Signal_A_AClassifierBehavior_ObjectFlow105); + // ObjectFlow ObjectFlow114 from Fork S to object + BehaviorPort_Signal_A_AClassifierBehavior_ObjectFlow114.SetName("ObjectFlow114"); + BehaviorPort_Signal_A_AClassifierBehavior_ObjectFlow114.SetVisibility(VisibilityKind.public_); + + BehaviorPort_Signal_A_AClassifierBehavior_ObjectFlow114.SetSource(BehaviorPort_Signal_A_AClassifierBehavior_Fork_S); + BehaviorPort_Signal_A_AClassifierBehavior_ObjectFlow114.SetTarget(BehaviorPort_Signal_A_AClassifierBehavior_Read_S_v_object); + // LiteralBoolean LiteralBoolean116 + BehaviorPort_Signal_A_AClassifierBehavior_ObjectFlow114_LiteralBoolean116.SetName("LiteralBoolean116"); + BehaviorPort_Signal_A_AClassifierBehavior_ObjectFlow114_LiteralBoolean116.SetVisibility(VisibilityKind.public_); + BehaviorPort_Signal_A_AClassifierBehavior_ObjectFlow114_LiteralBoolean116.SetValue(true); + BehaviorPort_Signal_A_AClassifierBehavior_ObjectFlow114.SetGuard(BehaviorPort_Signal_A_AClassifierBehavior_ObjectFlow114_LiteralBoolean116); + BehaviorPort_Signal_A_AClassifierBehavior.AddEdge(BehaviorPort_Signal_A_AClassifierBehavior_ObjectFlow114); + // ControlFlow ControlFlow117 from Initial to Accept S + BehaviorPort_Signal_A_AClassifierBehavior_ControlFlow117.SetName("ControlFlow117"); + BehaviorPort_Signal_A_AClassifierBehavior_ControlFlow117.SetVisibility(VisibilityKind.public_); + + BehaviorPort_Signal_A_AClassifierBehavior_ControlFlow117.SetSource(BehaviorPort_Signal_A_AClassifierBehavior_Initial); + BehaviorPort_Signal_A_AClassifierBehavior_ControlFlow117.SetTarget(BehaviorPort_Signal_A_AClassifierBehavior_Accept_S); + BehaviorPort_Signal_A_AClassifierBehavior.AddEdge(BehaviorPort_Signal_A_AClassifierBehavior_ControlFlow117); + // ObjectFlow ObjectFlow85 from result to Fork S + BehaviorPort_Signal_A_AClassifierBehavior_ObjectFlow85.SetName("ObjectFlow85"); + BehaviorPort_Signal_A_AClassifierBehavior_ObjectFlow85.SetVisibility(VisibilityKind.public_); + + BehaviorPort_Signal_A_AClassifierBehavior_ObjectFlow85.SetSource(BehaviorPort_Signal_A_AClassifierBehavior_Accept_S_result); + BehaviorPort_Signal_A_AClassifierBehavior_ObjectFlow85.SetTarget(BehaviorPort_Signal_A_AClassifierBehavior_Fork_S); + // LiteralBoolean LiteralBoolean87 + BehaviorPort_Signal_A_AClassifierBehavior_ObjectFlow85_LiteralBoolean87.SetName("LiteralBoolean87"); + BehaviorPort_Signal_A_AClassifierBehavior_ObjectFlow85_LiteralBoolean87.SetVisibility(VisibilityKind.public_); + BehaviorPort_Signal_A_AClassifierBehavior_ObjectFlow85_LiteralBoolean87.SetValue(true); + BehaviorPort_Signal_A_AClassifierBehavior_ObjectFlow85.SetGuard(BehaviorPort_Signal_A_AClassifierBehavior_ObjectFlow85_LiteralBoolean87); + BehaviorPort_Signal_A_AClassifierBehavior.AddEdge(BehaviorPort_Signal_A_AClassifierBehavior_ObjectFlow85); + BehaviorPort_Signal_A.AddOwnedBehavior(BehaviorPort_Signal_A_AClassifierBehavior); + BehaviorPort_Signal_A_IRealization.SetName("IRealization"); + BehaviorPort_Signal_A_IRealization.SetVisibility(VisibilityKind.public_); + BehaviorPort_Signal_A_IRealization.SetContract(BehaviorPort_Signal_I); + + BehaviorPort_Signal_A.AddInterfaceRealization(BehaviorPort_Signal_A_IRealization); + + BehaviorPort_Signal_A.SetIsActive(true); + // Operation A_A + BehaviorPort_Signal_A_A_A.SetName("A_A"); + BehaviorPort_Signal_A_A_A.SetVisibility(VisibilityKind.public_); + // Parameter result + BehaviorPort_Signal_A_A_A_result.SetName("result"); + BehaviorPort_Signal_A_A_A_result.SetVisibility(VisibilityKind.public_); + + BehaviorPort_Signal_A_A_A_result.SetType(BehaviorPort_Signal_A); + BehaviorPort_Signal_A_A_A_result.SetDirection(ParameterDirectionKind.return_); + BehaviorPort_Signal_A_A_A.AddOwnedParameter(BehaviorPort_Signal_A_A_A_result); + BehaviorPort_Signal_A_A_A.ApplyStereotype(uml.standardprofile.StandardProfileModel.Instance().Stereotype_Create); + BehaviorPort_Signal_A.AddOwnedOperation(BehaviorPort_Signal_A_A_A); + // Reception S + BehaviorPort_Signal_A_S.SetName("S"); + BehaviorPort_Signal_A_S.SetVisibility(VisibilityKind.public_); + BehaviorPort_Signal_A_S.SetSignal(BehaviorPort_Signal_S); + BehaviorPort_Signal_A.AddOwnedReception(BehaviorPort_Signal_A_S); + BehaviorPort_Signal.AddPackagedElement(BehaviorPort_Signal_A); + // SignalEvent SignalEventContinue + BehaviorPort_Signal_SignalEventContinue.SetName("SignalEventContinue"); + BehaviorPort_Signal_SignalEventContinue.SetVisibility(VisibilityKind.public_); + BehaviorPort_Signal_SignalEventContinue.SetSignal(BehaviorPort_Signal_Continue); + BehaviorPort_Signal.AddPackagedElement(BehaviorPort_Signal_SignalEventContinue); + // Signal Start + BehaviorPort_Signal_Start.SetName("Start"); + BehaviorPort_Signal_Start.SetVisibility(VisibilityKind.public_); + BehaviorPort_Signal.AddPackagedElement(BehaviorPort_Signal_Start); + // Signal Continue + BehaviorPort_Signal_Continue.SetName("Continue"); + BehaviorPort_Signal_Continue.SetVisibility(VisibilityKind.public_); + BehaviorPort_Signal.AddPackagedElement(BehaviorPort_Signal_Continue); + // SignalEvent SignalEventS + BehaviorPort_Signal_SignalEventS.SetName("SignalEventS"); + BehaviorPort_Signal_SignalEventS.SetVisibility(VisibilityKind.public_); + BehaviorPort_Signal_SignalEventS.SetSignal(BehaviorPort_Signal_S); + BehaviorPort_Signal.AddPackagedElement(BehaviorPort_Signal_SignalEventS); + // Class IImpl + BehaviorPort_Signal_IImpl.SetName("IImpl"); + BehaviorPort_Signal_IImpl.SetVisibility(VisibilityKind.public_); + BehaviorPort_Signal_IImpl_IRealization.SetName("IRealization"); + BehaviorPort_Signal_IImpl_IRealization.SetVisibility(VisibilityKind.public_); + BehaviorPort_Signal_IImpl_IRealization.SetContract(BehaviorPort_Signal_I); + + BehaviorPort_Signal_IImpl.AddInterfaceRealization(BehaviorPort_Signal_IImpl_IRealization); + + // Reception S + BehaviorPort_Signal_IImpl_S.SetName("S"); + BehaviorPort_Signal_IImpl_S.SetVisibility(VisibilityKind.public_); + BehaviorPort_Signal_IImpl_S.SetSignal(BehaviorPort_Signal_S); + BehaviorPort_Signal_IImpl.AddOwnedReception(BehaviorPort_Signal_IImpl_S); + BehaviorPort_Signal.AddPackagedElement(BehaviorPort_Signal_IImpl); + // Activity main + BehaviorPort_Signal_main.SetName("main"); + BehaviorPort_Signal_main.SetVisibility(VisibilityKind.public_); + // CreateObjectAction Create Tester + BehaviorPort_Signal_main_Create_Tester.SetName("Create Tester"); + BehaviorPort_Signal_main_Create_Tester.SetVisibility(VisibilityKind.public_); + BehaviorPort_Signal_main_Create_Tester.SetClassifier(BehaviorPort_Signal_Tester); + // OutputPin result + BehaviorPort_Signal_main_Create_Tester_result.SetName("result"); + BehaviorPort_Signal_main_Create_Tester_result.SetVisibility(VisibilityKind.public_); + BehaviorPort_Signal_main_Create_Tester_result.SetType(BehaviorPort_Signal_Tester); + BehaviorPort_Signal_main_Create_Tester.SetResult(BehaviorPort_Signal_main_Create_Tester_result); + BehaviorPort_Signal_main.AddNode(BehaviorPort_Signal_main_Create_Tester); + // StartObjectBehaviorAction Start Tester + BehaviorPort_Signal_main_Start_Tester.SetName("Start Tester"); + BehaviorPort_Signal_main_Start_Tester.SetVisibility(VisibilityKind.public_); + // InputPin object + BehaviorPort_Signal_main_Start_Tester_object.SetName("object"); + BehaviorPort_Signal_main_Start_Tester_object.SetVisibility(VisibilityKind.public_); + BehaviorPort_Signal_main_Start_Tester_object.SetType(BehaviorPort_Signal_Tester); + BehaviorPort_Signal_main_Start_Tester_object.SetIsOrdered(true); + BehaviorPort_Signal_main_Start_Tester_object.SetIsUnique(false); + BehaviorPort_Signal_main_Start_Tester.SetObject(BehaviorPort_Signal_main_Start_Tester_object); + BehaviorPort_Signal_main.AddNode(BehaviorPort_Signal_main_Start_Tester); + // ForkNode Fork Tester + BehaviorPort_Signal_main_Fork_Tester.SetName("Fork Tester"); + BehaviorPort_Signal_main_Fork_Tester.SetVisibility(VisibilityKind.public_); + BehaviorPort_Signal_main.AddNode(BehaviorPort_Signal_main_Fork_Tester); + // CallOperationAction Tester() + BehaviorPort_Signal_main_Tester_.SetName("Tester()"); + BehaviorPort_Signal_main_Tester_.SetVisibility(VisibilityKind.public_); + + // OutputPin result + BehaviorPort_Signal_main_Tester__result.SetName("result"); + BehaviorPort_Signal_main_Tester__result.SetVisibility(VisibilityKind.public_); + BehaviorPort_Signal_main_Tester__result.SetType(BehaviorPort_Signal_Tester); + BehaviorPort_Signal_main_Tester_.AddResult(BehaviorPort_Signal_main_Tester__result); + BehaviorPort_Signal_main_Tester_.SetOperation(BehaviorPort_Signal_Tester_Tester_Tester); + // InputPin target + BehaviorPort_Signal_main_Tester__target.SetName("target"); + BehaviorPort_Signal_main_Tester__target.SetVisibility(VisibilityKind.public_); + BehaviorPort_Signal_main_Tester__target.SetType(BehaviorPort_Signal_Tester); + BehaviorPort_Signal_main_Tester_.SetTarget(BehaviorPort_Signal_main_Tester__target); + BehaviorPort_Signal_main.AddNode(BehaviorPort_Signal_main_Tester_); + // SendSignalAction Send Start + BehaviorPort_Signal_main_Send_Start.SetName("Send Start"); + BehaviorPort_Signal_main_Send_Start.SetVisibility(VisibilityKind.public_); + BehaviorPort_Signal_main_Send_Start.SetSignal(BehaviorPort_Signal_Start); + // InputPin target + BehaviorPort_Signal_main_Send_Start_target.SetName("target"); + BehaviorPort_Signal_main_Send_Start_target.SetVisibility(VisibilityKind.public_); + BehaviorPort_Signal_main_Send_Start_target.SetType(BehaviorPort_Signal_Tester); + BehaviorPort_Signal_main_Send_Start_target.SetIsOrdered(true); + BehaviorPort_Signal_main_Send_Start_target.SetIsUnique(false); + BehaviorPort_Signal_main_Send_Start.SetTarget(BehaviorPort_Signal_main_Send_Start_target); + BehaviorPort_Signal_main.AddNode(BehaviorPort_Signal_main_Send_Start); + // ObjectFlow ObjectFlow118 from result to Fork Tester + BehaviorPort_Signal_main_ObjectFlow118.SetName("ObjectFlow118"); + BehaviorPort_Signal_main_ObjectFlow118.SetVisibility(VisibilityKind.public_); + + BehaviorPort_Signal_main_ObjectFlow118.SetSource(BehaviorPort_Signal_main_Tester__result); + BehaviorPort_Signal_main_ObjectFlow118.SetTarget(BehaviorPort_Signal_main_Fork_Tester); + // LiteralBoolean LiteralBoolean119 + BehaviorPort_Signal_main_ObjectFlow118_LiteralBoolean119.SetName("LiteralBoolean119"); + BehaviorPort_Signal_main_ObjectFlow118_LiteralBoolean119.SetVisibility(VisibilityKind.public_); + BehaviorPort_Signal_main_ObjectFlow118_LiteralBoolean119.SetValue(true); + BehaviorPort_Signal_main_ObjectFlow118.SetGuard(BehaviorPort_Signal_main_ObjectFlow118_LiteralBoolean119); + BehaviorPort_Signal_main.AddEdge(BehaviorPort_Signal_main_ObjectFlow118); + // ObjectFlow ObjectFlow121 from result to target + BehaviorPort_Signal_main_ObjectFlow121.SetName("ObjectFlow121"); + BehaviorPort_Signal_main_ObjectFlow121.SetVisibility(VisibilityKind.public_); + + BehaviorPort_Signal_main_ObjectFlow121.SetSource(BehaviorPort_Signal_main_Create_Tester_result); + BehaviorPort_Signal_main_ObjectFlow121.SetTarget(BehaviorPort_Signal_main_Tester__target); + // LiteralBoolean LiteralBoolean122 + BehaviorPort_Signal_main_ObjectFlow121_LiteralBoolean122.SetName("LiteralBoolean122"); + BehaviorPort_Signal_main_ObjectFlow121_LiteralBoolean122.SetVisibility(VisibilityKind.public_); + BehaviorPort_Signal_main_ObjectFlow121_LiteralBoolean122.SetValue(true); + BehaviorPort_Signal_main_ObjectFlow121.SetGuard(BehaviorPort_Signal_main_ObjectFlow121_LiteralBoolean122); + BehaviorPort_Signal_main.AddEdge(BehaviorPort_Signal_main_ObjectFlow121); + // ObjectFlow ObjectFlow128 from Fork Tester to object + BehaviorPort_Signal_main_ObjectFlow128.SetName("ObjectFlow128"); + BehaviorPort_Signal_main_ObjectFlow128.SetVisibility(VisibilityKind.public_); + + BehaviorPort_Signal_main_ObjectFlow128.SetSource(BehaviorPort_Signal_main_Fork_Tester); + BehaviorPort_Signal_main_ObjectFlow128.SetTarget(BehaviorPort_Signal_main_Start_Tester_object); + // LiteralBoolean LiteralBoolean129 + BehaviorPort_Signal_main_ObjectFlow128_LiteralBoolean129.SetName("LiteralBoolean129"); + BehaviorPort_Signal_main_ObjectFlow128_LiteralBoolean129.SetVisibility(VisibilityKind.public_); + BehaviorPort_Signal_main_ObjectFlow128_LiteralBoolean129.SetValue(true); + BehaviorPort_Signal_main_ObjectFlow128.SetGuard(BehaviorPort_Signal_main_ObjectFlow128_LiteralBoolean129); + BehaviorPort_Signal_main.AddEdge(BehaviorPort_Signal_main_ObjectFlow128); + // ControlFlow ControlFlow131 from Start Tester to Send Start + BehaviorPort_Signal_main_ControlFlow131.SetName("ControlFlow131"); + BehaviorPort_Signal_main_ControlFlow131.SetVisibility(VisibilityKind.public_); + + BehaviorPort_Signal_main_ControlFlow131.SetSource(BehaviorPort_Signal_main_Start_Tester); + BehaviorPort_Signal_main_ControlFlow131.SetTarget(BehaviorPort_Signal_main_Send_Start); + BehaviorPort_Signal_main.AddEdge(BehaviorPort_Signal_main_ControlFlow131); + // ObjectFlow ObjectFlow139 from Fork Tester to target + BehaviorPort_Signal_main_ObjectFlow139.SetName("ObjectFlow139"); + BehaviorPort_Signal_main_ObjectFlow139.SetVisibility(VisibilityKind.public_); + + BehaviorPort_Signal_main_ObjectFlow139.SetSource(BehaviorPort_Signal_main_Fork_Tester); + BehaviorPort_Signal_main_ObjectFlow139.SetTarget(BehaviorPort_Signal_main_Send_Start_target); + // LiteralBoolean LiteralBoolean141 + BehaviorPort_Signal_main_ObjectFlow139_LiteralBoolean141.SetName("LiteralBoolean141"); + BehaviorPort_Signal_main_ObjectFlow139_LiteralBoolean141.SetVisibility(VisibilityKind.public_); + BehaviorPort_Signal_main_ObjectFlow139_LiteralBoolean141.SetValue(true); + BehaviorPort_Signal_main_ObjectFlow139.SetGuard(BehaviorPort_Signal_main_ObjectFlow139_LiteralBoolean141); + BehaviorPort_Signal_main.AddEdge(BehaviorPort_Signal_main_ObjectFlow139); + BehaviorPort_Signal.AddPackagedElement(BehaviorPort_Signal_main); + } + + /* Start of user code : User-defined members + * This section may be used for user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } // BehaviorPort_SignalModel +} diff --git a/fUML-CSharp/tests/pscs-Tests/02_Communication/01_BehaviorPort_Signal/src/testPExecution.cs b/fUML-CSharp/tests/pscs-Tests/02_Communication/01_BehaviorPort_Signal/src/testPExecution.cs new file mode 100644 index 0000000..f54a8ba --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/02_Communication/01_BehaviorPort_Signal/src/testPExecution.cs @@ -0,0 +1,78 @@ +/* + * testPExecution.cs + * + * Auto-generated file + */ + +using fuml.semantics.commonbehavior; +using fuml; +using fuml.semantics.simpleclassifiers; +using fuml.semantics.values; + +/* Start of user code : User-defined includes and forward declarations + * This section may be used for includes and forward declarations. + * It will not be overwritten by future generation processes. + */ + +/* + * End of user code + */ + +namespace BehaviorPort_Signal +{ + public class testPExecution : OpaqueBehaviorExecution + { + public testPExecution() + { + types.Add(BehaviorPort_SignalModel.Instance().BehaviorPort_Signal_Tester_testActivity_testP); + /* Start of user code : Additional opaque behavior execution initializations + * This section may be used to do any additional opaque behavior execution initialization, + * for example initializing user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } + + public override void DoBody(List inputParameters, List outputParameters) + { + Console.WriteLine("Asserting a.p == 4"); + + // Test parameter p + int p = ((IntegerValue)inputParameters.ElementAt(0).values.ElementAt(0)).value; + Debug.Println("[doBody] argument p = " + p); + + Console.WriteLine("a.p == " + p); + Console.Write("Signal delegated to classifier behavior: "); + + if(p == 4) + { + Console.ForegroundColor = ConsoleColor.Green; + Console.WriteLine("Assertion successful."); + } + else + { + Console.ForegroundColor = ConsoleColor.Red; + Console.WriteLine("Assertion failed!"); + } + + Console.ResetColor(); + } + + protected override Value New_() + { + return new testPExecution(); + } + + /* Start of user code : User-defined members + * This section may be used for user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } // testPExecution +} diff --git a/fUML-CSharp/tests/pscs-Tests/02_Communication/02_BehaviorPort_Operation/.gitignore b/fUML-CSharp/tests/pscs-Tests/02_Communication/02_BehaviorPort_Operation/.gitignore new file mode 100644 index 0000000..1736844 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/02_Communication/02_BehaviorPort_Operation/.gitignore @@ -0,0 +1,3 @@ +/.vs/ +/bin/ +/obj/ diff --git a/fUML-CSharp/tests/pscs-Tests/02_Communication/02_BehaviorPort_Operation/BehaviorPort_Operation.csproj b/fUML-CSharp/tests/pscs-Tests/02_Communication/02_BehaviorPort_Operation/BehaviorPort_Operation.csproj new file mode 100644 index 0000000..0427700 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/02_Communication/02_BehaviorPort_Operation/BehaviorPort_Operation.csproj @@ -0,0 +1,50 @@ + + + + Exe + net6.0 + enable + enable + + + + BehaviorPort_Operation.Debug + + + BehaviorPort_Operation.Release + + + + + ..\..\..\..\uml\bin\Debug\net6.0\uml.Debug.dll + + + + + ..\..\..\..\uml\bin\Release\net6.0\uml.Release.dll + + + + + + ..\..\..\..\fuml\bin\Debug\net6.0\fuml.Debug.dll + + + + + ..\..\..\..\fuml\bin\Release\net6.0\fuml.Release.dll + + + + + + ..\..\..\..\pscs\bin\Debug\net6.0\pscs.Debug.dll + + + + + ..\..\..\..\pscs\bin\Release\net6.0\pscs.Release.dll + + + + diff --git a/fUML-CSharp/tests/pscs-Tests/02_Communication/02_BehaviorPort_Operation/BehaviorPort_Operation.sln b/fUML-CSharp/tests/pscs-Tests/02_Communication/02_BehaviorPort_Operation/BehaviorPort_Operation.sln new file mode 100644 index 0000000..aed1625 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/02_Communication/02_BehaviorPort_Operation/BehaviorPort_Operation.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.32112.339 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BehaviorPort_Operation", "BehaviorPort_Operation.csproj", "{4ED95753-25A5-43E0-AEA5-ADE3F92D1A5B}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {4ED95753-25A5-43E0-AEA5-ADE3F92D1A5B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {4ED95753-25A5-43E0-AEA5-ADE3F92D1A5B}.Debug|Any CPU.Build.0 = Debug|Any CPU + {4ED95753-25A5-43E0-AEA5-ADE3F92D1A5B}.Release|Any CPU.ActiveCfg = Release|Any CPU + {4ED95753-25A5-43E0-AEA5-ADE3F92D1A5B}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {CBF03F6B-30DB-4107-93C9-2FA3189A1855} + EndGlobalSection +EndGlobal diff --git a/fUML-CSharp/tests/pscs-Tests/02_Communication/02_BehaviorPort_Operation/model/BehaviorPort_Operation.di b/fUML-CSharp/tests/pscs-Tests/02_Communication/02_BehaviorPort_Operation/model/BehaviorPort_Operation.di new file mode 100644 index 0000000..bf9abab --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/02_Communication/02_BehaviorPort_Operation/model/BehaviorPort_Operation.di @@ -0,0 +1,2 @@ + + diff --git a/fUML-CSharp/tests/pscs-Tests/02_Communication/02_BehaviorPort_Operation/model/BehaviorPort_Operation.notation b/fUML-CSharp/tests/pscs-Tests/02_Communication/02_BehaviorPort_Operation/model/BehaviorPort_Operation.notation new file mode 100644 index 0000000..bf9abab --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/02_Communication/02_BehaviorPort_Operation/model/BehaviorPort_Operation.notation @@ -0,0 +1,2 @@ + + diff --git a/fUML-CSharp/tests/pscs-Tests/02_Communication/02_BehaviorPort_Operation/model/BehaviorPort_Operation.uml b/fUML-CSharp/tests/pscs-Tests/02_Communication/02_BehaviorPort_Operation/model/BehaviorPort_Operation.uml new file mode 100644 index 0000000..842f63a --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/02_Communication/02_BehaviorPort_Operation/model/BehaviorPort_Operation.uml @@ -0,0 +1,588 @@ + + + + + This test case addresses the reception of an operation call on a behavior port. If the operation call is correctly dispatched +and the operation that is called has no implementation a call event occurrence is placed in the event pool of the active +object which owns the behavior port. The caller is suspended until the receiver replies to the call. The receiver reply is +the only possibility of the caller to return from the call. + + + Passing: true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + C# + Using + // Test parameter input + bool input = ((BooleanValue)inputParameters.ElementAt(0).values.ElementAt(0)).value; + Debug.Println("[doBody] argument input = " + input); + + if(input == false) + { + Console.ForegroundColor = ConsoleColor.Green; + Console.WriteLine("Assertion successful."); + } + else + { + Console.ForegroundColor = ConsoleColor.Red; + Console.WriteLine("Assertion failed!"); + } + + Console.ResetColor(); + using fuml.semantics.simpleclassifiers; + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/fUML-CSharp/tests/pscs-Tests/02_Communication/02_BehaviorPort_Operation/src/BehaviorPort_Operation.cs b/fUML-CSharp/tests/pscs-Tests/02_Communication/02_BehaviorPort_Operation/src/BehaviorPort_Operation.cs new file mode 100644 index 0000000..9aa0ec4 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/02_Communication/02_BehaviorPort_Operation/src/BehaviorPort_Operation.cs @@ -0,0 +1,31 @@ +namespace BehaviorPort_Operation +{ + internal class BehaviorPort_Operation + { + static void PrintUsage() + { + Console.WriteLine( + "=============================================================================================\n" + + "USAGE: [ <...>]\n" + + "=============================================================================================\n" + ); + } + + static int Main(string[] args) + { + if(args.Length == 0) + { + Console.WriteLine("[ERROR] Must declare at least one behavior name.\n"); + PrintUsage(); + return -1; + } + + foreach (string arg in args) + { + BehaviorPort_OperationEnvironment.Instance().Execute(arg); + } + + return 0; + } + } +} diff --git a/fUML-CSharp/tests/pscs-Tests/02_Communication/02_BehaviorPort_Operation/src/BehaviorPort_OperationEnvironment.cs b/fUML-CSharp/tests/pscs-Tests/02_Communication/02_BehaviorPort_Operation/src/BehaviorPort_OperationEnvironment.cs new file mode 100644 index 0000000..f11340f --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/02_Communication/02_BehaviorPort_Operation/src/BehaviorPort_OperationEnvironment.cs @@ -0,0 +1,93 @@ +/* + * BehaviorPort_OperationEnvironment.cs + * + * Auto-generated file + */ + +/* Start of user code : User-defined using directives + * This section may be used for using directives. + * It will not be overwritten by future generation processes. + */ + +/* + * End of user code + */ + +namespace BehaviorPort_Operation +{ + public class BehaviorPort_OperationEnvironment : pscs.environment.Environment + { + private static BehaviorPort_OperationEnvironment? instance; + + public static BehaviorPort_OperationEnvironment Instance() + { + if(instance is null) + { + instance = new(); + instance.inMemoryModel = BehaviorPort_OperationModel.Instance(); + } + + return instance; + } + + public BehaviorPort_OperationEnvironment() + { + /* + * Create custom opaque behavior execution instances and add them to the execution environment. + */ + AddPrimitiveBehaviorPrototype(new testFalseExecution()); + + /* Start of user code : Additional environment initializations + * This section may be used to do any additional environment initialization, + * for example initializing user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } + + public override void Execute(string behaviorName) + { + /* Start of user code : Context and inputs initializations + * This section may be used to initialize the execution context + * as well as input parameter values if required. + * It will not be overwritten by future generation processes. + */ + + //context = ...; + //inputs = ...; + + /* + * End of user code + */ + + /* + * Start execution via base class call + */ + base.Execute(behaviorName); + + /* Start of user code : Outputs evaluation + * This section may be used to evaluate output parameter values if required. + * It will not be overwritten by future generation processes. + */ + + //List theOutputs = outputs; + //... + + /* + * End of user code + */ + } + + /* Start of user code : User-defined members + * This section may be used for user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } // BehaviorPort_OperationEnvironment +} diff --git a/fUML-CSharp/tests/pscs-Tests/02_Communication/02_BehaviorPort_Operation/src/BehaviorPort_OperationModel.cs b/fUML-CSharp/tests/pscs-Tests/02_Communication/02_BehaviorPort_Operation/src/BehaviorPort_OperationModel.cs new file mode 100644 index 0000000..e7f5d3b --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/02_Communication/02_BehaviorPort_Operation/src/BehaviorPort_OperationModel.cs @@ -0,0 +1,2045 @@ +/* + * BehaviorPort_OperationModel.cs + * + * Auto-generated file + */ + +using uml.actions; +using uml.packages; +using uml.structuredclassifiers; +using fuml.primitivetypes; +using uml.classification; +using fuml.library; +using uml.simpleclassifiers; +using uml.commonbehavior; +using uml.commonstructure; +using uml.values; +using uml.activities; +using uml.environment; + + +/* Start of user code : User-defined includes and forward declarations + * This section may be used for includes and forward declarations. + * It will not be overwritten by future generation processes. + */ + +/* + * End of user code + */ + +namespace BehaviorPort_Operation +{ + public class BehaviorPort_OperationModel : InMemoryModel + { + private static BehaviorPort_OperationModel? instance; + + /* + * Model BehaviorPort_Operation + */ + public Package BehaviorPort_Operation = new(); + public CallEvent BehaviorPort_Operation_CallEventOr = new(); + public Interface BehaviorPort_Operation_I = new(); + public Operation BehaviorPort_Operation_I_Boolean_or_Boolean_Boolean_Boolean = new(); + public Parameter BehaviorPort_Operation_I_Boolean_or_Boolean_Boolean_Boolean_a = new(); + public Parameter BehaviorPort_Operation_I_Boolean_or_Boolean_Boolean_Boolean_result = new(); + public Parameter BehaviorPort_Operation_I_Boolean_or_Boolean_Boolean_Boolean_c = new(); + public Parameter BehaviorPort_Operation_I_Boolean_or_Boolean_Boolean_Boolean_b = new(); + public SignalEvent BehaviorPort_Operation_SignalEventStart = new(); + public Class_ BehaviorPort_Operation_P = new(); + public Activity BehaviorPort_Operation_P_P_ClassifierBehavior = new(); + public ObjectFlow BehaviorPort_Operation_P_P_ClassifierBehavior_ObjectFlow0 = new(); + public LiteralBoolean BehaviorPort_Operation_P_P_ClassifierBehavior_ObjectFlow0_LiteralBoolean1 = new(); + public LiteralInteger BehaviorPort_Operation_P_P_ClassifierBehavior_ObjectFlow0_LiteralInteger2 = new(); + public ObjectFlow BehaviorPort_Operation_P_P_ClassifierBehavior_ObjectFlow3 = new(); + public LiteralInteger BehaviorPort_Operation_P_P_ClassifierBehavior_ObjectFlow3_LiteralInteger4 = new(); + public LiteralBoolean BehaviorPort_Operation_P_P_ClassifierBehavior_ObjectFlow3_LiteralBoolean5 = new(); + public ForkNode BehaviorPort_Operation_P_P_ClassifierBehavior_ForkNode2 = new(); + public ControlFlow BehaviorPort_Operation_P_P_ClassifierBehavior_ControlFlow6 = new(); + public ObjectFlow BehaviorPort_Operation_P_P_ClassifierBehavior_ObjectFlow7 = new(); + public LiteralInteger BehaviorPort_Operation_P_P_ClassifierBehavior_ObjectFlow7_LiteralInteger8 = new(); + public LiteralBoolean BehaviorPort_Operation_P_P_ClassifierBehavior_ObjectFlow7_LiteralBoolean9 = new(); + public ObjectFlow BehaviorPort_Operation_P_P_ClassifierBehavior_ObjectFlow10 = new(); + public LiteralBoolean BehaviorPort_Operation_P_P_ClassifierBehavior_ObjectFlow10_LiteralBoolean11 = new(); + public LiteralInteger BehaviorPort_Operation_P_P_ClassifierBehavior_ObjectFlow10_LiteralInteger12 = new(); + public AddStructuralFeatureValueAction BehaviorPort_Operation_P_P_ClassifierBehavior_set_out = new(); + public InputPin BehaviorPort_Operation_P_P_ClassifierBehavior_set_out_value = new(); + public LiteralUnlimitedNatural BehaviorPort_Operation_P_P_ClassifierBehavior_set_out_value_LiteralUnlimitedNatural13 = new(); + public LiteralInteger BehaviorPort_Operation_P_P_ClassifierBehavior_set_out_value_LiteralInteger14 = new(); + public InputPin BehaviorPort_Operation_P_P_ClassifierBehavior_set_out_object = new(); + public LiteralUnlimitedNatural BehaviorPort_Operation_P_P_ClassifierBehavior_set_out_object_LiteralUnlimitedNatural15 = new(); + public LiteralInteger BehaviorPort_Operation_P_P_ClassifierBehavior_set_out_object_LiteralInteger16 = new(); + public OutputPin BehaviorPort_Operation_P_P_ClassifierBehavior_set_out_result = new(); + public LiteralInteger BehaviorPort_Operation_P_P_ClassifierBehavior_set_out_result_LiteralInteger17 = new(); + public LiteralUnlimitedNatural BehaviorPort_Operation_P_P_ClassifierBehavior_set_out_result_LiteralUnlimitedNatural18 = new(); + public ObjectFlow BehaviorPort_Operation_P_P_ClassifierBehavior_ObjectFlow19 = new(); + public LiteralInteger BehaviorPort_Operation_P_P_ClassifierBehavior_ObjectFlow19_LiteralInteger20 = new(); + public LiteralBoolean BehaviorPort_Operation_P_P_ClassifierBehavior_ObjectFlow19_LiteralBoolean21 = new(); + public ObjectFlow BehaviorPort_Operation_P_P_ClassifierBehavior_ObjectFlow22 = new(); + public LiteralBoolean BehaviorPort_Operation_P_P_ClassifierBehavior_ObjectFlow22_LiteralBoolean23 = new(); + public LiteralInteger BehaviorPort_Operation_P_P_ClassifierBehavior_ObjectFlow22_LiteralInteger24 = new(); + public CallOperationAction BehaviorPort_Operation_P_P_ClassifierBehavior_Call_or_via_pp = new(); + public OutputPin BehaviorPort_Operation_P_P_ClassifierBehavior_Call_or_via_pp_c = new(); + public LiteralUnlimitedNatural BehaviorPort_Operation_P_P_ClassifierBehavior_Call_or_via_pp_c_LiteralUnlimitedNatural25 = new(); + public LiteralInteger BehaviorPort_Operation_P_P_ClassifierBehavior_Call_or_via_pp_c_LiteralInteger26 = new(); + public OutputPin BehaviorPort_Operation_P_P_ClassifierBehavior_Call_or_via_pp_result = new(); + public LiteralInteger BehaviorPort_Operation_P_P_ClassifierBehavior_Call_or_via_pp_result_LiteralInteger27 = new(); + public LiteralUnlimitedNatural BehaviorPort_Operation_P_P_ClassifierBehavior_Call_or_via_pp_result_LiteralUnlimitedNatural28 = new(); + public InputPin BehaviorPort_Operation_P_P_ClassifierBehavior_Call_or_via_pp_a = new(); + public LiteralInteger BehaviorPort_Operation_P_P_ClassifierBehavior_Call_or_via_pp_a_LiteralInteger29 = new(); + public LiteralUnlimitedNatural BehaviorPort_Operation_P_P_ClassifierBehavior_Call_or_via_pp_a_LiteralUnlimitedNatural30 = new(); + public InputPin BehaviorPort_Operation_P_P_ClassifierBehavior_Call_or_via_pp_target = new(); + public LiteralInteger BehaviorPort_Operation_P_P_ClassifierBehavior_Call_or_via_pp_target_LiteralInteger31 = new(); + public LiteralUnlimitedNatural BehaviorPort_Operation_P_P_ClassifierBehavior_Call_or_via_pp_target_LiteralUnlimitedNatural32 = new(); + public InputPin BehaviorPort_Operation_P_P_ClassifierBehavior_Call_or_via_pp_b = new(); + public LiteralUnlimitedNatural BehaviorPort_Operation_P_P_ClassifierBehavior_Call_or_via_pp_b_LiteralUnlimitedNatural33 = new(); + public LiteralInteger BehaviorPort_Operation_P_P_ClassifierBehavior_Call_or_via_pp_b_LiteralInteger34 = new(); + public ForkNode BehaviorPort_Operation_P_P_ClassifierBehavior_ForkNode1 = new(); + public ReadSelfAction BehaviorPort_Operation_P_P_ClassifierBehavior_this = new(); + public OutputPin BehaviorPort_Operation_P_P_ClassifierBehavior_this_p = new(); + public LiteralUnlimitedNatural BehaviorPort_Operation_P_P_ClassifierBehavior_this_p_LiteralUnlimitedNatural35 = new(); + public LiteralInteger BehaviorPort_Operation_P_P_ClassifierBehavior_this_p_LiteralInteger36 = new(); + public ObjectFlow BehaviorPort_Operation_P_P_ClassifierBehavior_ObjectFlow37 = new(); + public LiteralInteger BehaviorPort_Operation_P_P_ClassifierBehavior_ObjectFlow37_LiteralInteger38 = new(); + public LiteralBoolean BehaviorPort_Operation_P_P_ClassifierBehavior_ObjectFlow37_LiteralBoolean39 = new(); + public ControlFlow BehaviorPort_Operation_P_P_ClassifierBehavior_ControlFlow40 = new(); + public ObjectFlow BehaviorPort_Operation_P_P_ClassifierBehavior_ObjectFlow41 = new(); + public LiteralInteger BehaviorPort_Operation_P_P_ClassifierBehavior_ObjectFlow41_LiteralInteger42 = new(); + public LiteralBoolean BehaviorPort_Operation_P_P_ClassifierBehavior_ObjectFlow41_LiteralBoolean43 = new(); + public InitialNode BehaviorPort_Operation_P_P_ClassifierBehavior_InitialNode1 = new(); + public AcceptEventAction BehaviorPort_Operation_P_P_ClassifierBehavior_Accept_Start = new(); + public Trigger BehaviorPort_Operation_P_P_ClassifierBehavior_Accept_Start_SignalEventStartTrigger = new(); + public OutputPin BehaviorPort_Operation_P_P_ClassifierBehavior_Accept_Start_result = new(); + public LiteralInteger BehaviorPort_Operation_P_P_ClassifierBehavior_Accept_Start_result_LiteralInteger44 = new(); + public LiteralInteger BehaviorPort_Operation_P_P_ClassifierBehavior_Accept_Start_result_LiteralInteger45 = new(); + public LiteralUnlimitedNatural BehaviorPort_Operation_P_P_ClassifierBehavior_Accept_Start_result_LiteralUnlimitedNatural46 = new(); + public ValueSpecificationAction BehaviorPort_Operation_P_P_ClassifierBehavior_true = new(); + public OutputPin BehaviorPort_Operation_P_P_ClassifierBehavior_true_result = new(); + public LiteralUnlimitedNatural BehaviorPort_Operation_P_P_ClassifierBehavior_true_result_LiteralUnlimitedNatural47 = new(); + public LiteralInteger BehaviorPort_Operation_P_P_ClassifierBehavior_true_result_LiteralInteger48 = new(); + public LiteralBoolean BehaviorPort_Operation_P_P_ClassifierBehavior_true_LiteralBoolean49 = new(); + public AddStructuralFeatureValueAction BehaviorPort_Operation_P_P_ClassifierBehavior_set_return = new(); + public InputPin BehaviorPort_Operation_P_P_ClassifierBehavior_set_return_value = new(); + public LiteralUnlimitedNatural BehaviorPort_Operation_P_P_ClassifierBehavior_set_return_value_LiteralUnlimitedNatural50 = new(); + public LiteralInteger BehaviorPort_Operation_P_P_ClassifierBehavior_set_return_value_LiteralInteger51 = new(); + public OutputPin BehaviorPort_Operation_P_P_ClassifierBehavior_set_return_result = new(); + public LiteralUnlimitedNatural BehaviorPort_Operation_P_P_ClassifierBehavior_set_return_result_LiteralUnlimitedNatural52 = new(); + public LiteralInteger BehaviorPort_Operation_P_P_ClassifierBehavior_set_return_result_LiteralInteger53 = new(); + public InputPin BehaviorPort_Operation_P_P_ClassifierBehavior_set_return_object = new(); + public LiteralUnlimitedNatural BehaviorPort_Operation_P_P_ClassifierBehavior_set_return_object_LiteralUnlimitedNatural54 = new(); + public LiteralInteger BehaviorPort_Operation_P_P_ClassifierBehavior_set_return_object_LiteralInteger55 = new(); + public ObjectFlow BehaviorPort_Operation_P_P_ClassifierBehavior_ObjectFlow56 = new(); + public LiteralInteger BehaviorPort_Operation_P_P_ClassifierBehavior_ObjectFlow56_LiteralInteger57 = new(); + public LiteralBoolean BehaviorPort_Operation_P_P_ClassifierBehavior_ObjectFlow56_LiteralBoolean58 = new(); + public Activity BehaviorPort_Operation_P_P_Factory = new(); + public ObjectFlow BehaviorPort_Operation_P_P_Factory_ObjectFlow59 = new(); + public LiteralInteger BehaviorPort_Operation_P_P_Factory_ObjectFlow59_LiteralInteger60 = new(); + public LiteralBoolean BehaviorPort_Operation_P_P_Factory_ObjectFlow59_LiteralBoolean61 = new(); + public CreateObjectAction BehaviorPort_Operation_P_P_Factory_Create_P = new(); + public OutputPin BehaviorPort_Operation_P_P_Factory_Create_P_result = new(); + public LiteralUnlimitedNatural BehaviorPort_Operation_P_P_Factory_Create_P_result_LiteralUnlimitedNatural62 = new(); + public LiteralInteger BehaviorPort_Operation_P_P_Factory_Create_P_result_LiteralInteger63 = new(); + public ObjectFlow BehaviorPort_Operation_P_P_Factory_ObjectFlow64 = new(); + public LiteralInteger BehaviorPort_Operation_P_P_Factory_ObjectFlow64_LiteralInteger65 = new(); + public LiteralBoolean BehaviorPort_Operation_P_P_Factory_ObjectFlow64_LiteralBoolean66 = new(); + public CallOperationAction BehaviorPort_Operation_P_P_Factory_P_ = new(); + public InputPin BehaviorPort_Operation_P_P_Factory_P__target = new(); + public LiteralInteger BehaviorPort_Operation_P_P_Factory_P__target_LiteralInteger67 = new(); + public LiteralUnlimitedNatural BehaviorPort_Operation_P_P_Factory_P__target_LiteralUnlimitedNatural68 = new(); + public OutputPin BehaviorPort_Operation_P_P_Factory_P__result = new(); + public LiteralInteger BehaviorPort_Operation_P_P_Factory_P__result_LiteralInteger69 = new(); + public LiteralUnlimitedNatural BehaviorPort_Operation_P_P_Factory_P__result_LiteralUnlimitedNatural70 = new(); + public LiteralInteger BehaviorPort_Operation_P_P_Factory_P__result_LiteralInteger71 = new(); + public ObjectFlow BehaviorPort_Operation_P_P_Factory_ObjectFlow72 = new(); + public LiteralBoolean BehaviorPort_Operation_P_P_Factory_ObjectFlow72_LiteralBoolean73 = new(); + public LiteralInteger BehaviorPort_Operation_P_P_Factory_ObjectFlow72_LiteralInteger74 = new(); + public ActivityParameterNode BehaviorPort_Operation_P_P_Factory_resultParameterNode = new(); + public LiteralInteger BehaviorPort_Operation_P_P_Factory_resultParameterNode_LiteralInteger75 = new(); + public StartObjectBehaviorAction BehaviorPort_Operation_P_P_Factory_Start_classifierBehavior = new(); + public InputPin BehaviorPort_Operation_P_P_Factory_Start_classifierBehavior_object = new(); + public LiteralUnlimitedNatural BehaviorPort_Operation_P_P_Factory_Start_classifierBehavior_object_LiteralUnlimitedNatural76 = new(); + public LiteralInteger BehaviorPort_Operation_P_P_Factory_Start_classifierBehavior_object_LiteralInteger77 = new(); + public ObjectFlow BehaviorPort_Operation_P_P_Factory_ObjectFlow78 = new(); + public LiteralBoolean BehaviorPort_Operation_P_P_Factory_ObjectFlow78_LiteralBoolean79 = new(); + public LiteralInteger BehaviorPort_Operation_P_P_Factory_ObjectFlow78_LiteralInteger80 = new(); + public ForkNode BehaviorPort_Operation_P_P_Factory_Fork_object = new(); + public Parameter BehaviorPort_Operation_P_P_Factory_result = new(); + public Property BehaviorPort_Operation_P_return = new(); + public LiteralInteger BehaviorPort_Operation_P_return_LiteralInteger81 = new(); + public Port BehaviorPort_Operation_P_pp = new(); + public Property BehaviorPort_Operation_P_out = new(); + public LiteralInteger BehaviorPort_Operation_P_out_LiteralInteger82 = new(); + public Operation BehaviorPort_Operation_P_P_P = new(); + public Parameter BehaviorPort_Operation_P_P_P_result = new(); + public Reception BehaviorPort_Operation_P_Start = new(); + public Activity BehaviorPort_Operation_main = new(); + public ControlFlow BehaviorPort_Operation_main_ControlFlow83 = new(); + public ReadStructuralFeatureAction BehaviorPort_Operation_main_s_p = new(); + public InputPin BehaviorPort_Operation_main_s_p_s = new(); + public LiteralUnlimitedNatural BehaviorPort_Operation_main_s_p_s_LiteralUnlimitedNatural84 = new(); + public LiteralInteger BehaviorPort_Operation_main_s_p_s_LiteralInteger85 = new(); + public OutputPin BehaviorPort_Operation_main_s_p_result = new(); + public LiteralUnlimitedNatural BehaviorPort_Operation_main_s_p_result_LiteralUnlimitedNatural86 = new(); + public LiteralInteger BehaviorPort_Operation_main_s_p_result_LiteralInteger87 = new(); + public CreateObjectAction BehaviorPort_Operation_main_Create_S = new(); + public OutputPin BehaviorPort_Operation_main_Create_S_result = new(); + public LiteralInteger BehaviorPort_Operation_main_Create_S_result_LiteralInteger88 = new(); + public LiteralUnlimitedNatural BehaviorPort_Operation_main_Create_S_result_LiteralUnlimitedNatural89 = new(); + public CallBehaviorAction BehaviorPort_Operation_main_assertP = new(); + public InputPin BehaviorPort_Operation_main_assertP_p = new(); + public LiteralInteger BehaviorPort_Operation_main_assertP_p_LiteralInteger90 = new(); + public LiteralInteger BehaviorPort_Operation_main_assertP_p_LiteralInteger91 = new(); + public LiteralUnlimitedNatural BehaviorPort_Operation_main_assertP_p_LiteralUnlimitedNatural92 = new(); + public ObjectFlow BehaviorPort_Operation_main_ObjectFlow93 = new(); + public LiteralInteger BehaviorPort_Operation_main_ObjectFlow93_LiteralInteger94 = new(); + public LiteralBoolean BehaviorPort_Operation_main_ObjectFlow93_LiteralBoolean95 = new(); + public SendSignalAction BehaviorPort_Operation_main_Send_Start = new(); + public InputPin BehaviorPort_Operation_main_Send_Start_target = new(); + public LiteralInteger BehaviorPort_Operation_main_Send_Start_target_LiteralInteger96 = new(); + public LiteralUnlimitedNatural BehaviorPort_Operation_main_Send_Start_target_LiteralUnlimitedNatural97 = new(); + public ForkNode BehaviorPort_Operation_main_Fork_s_p = new(); + public ObjectFlow BehaviorPort_Operation_main_ObjectFlow98 = new(); + public LiteralInteger BehaviorPort_Operation_main_ObjectFlow98_LiteralInteger99 = new(); + public LiteralBoolean BehaviorPort_Operation_main_ObjectFlow98_LiteralBoolean100 = new(); + public ObjectFlow BehaviorPort_Operation_main_ObjectFlow101 = new(); + public LiteralInteger BehaviorPort_Operation_main_ObjectFlow101_LiteralInteger102 = new(); + public LiteralBoolean BehaviorPort_Operation_main_ObjectFlow101_LiteralBoolean103 = new(); + public ObjectFlow BehaviorPort_Operation_main_ObjectFlow104 = new(); + public LiteralBoolean BehaviorPort_Operation_main_ObjectFlow104_LiteralBoolean105 = new(); + public LiteralInteger BehaviorPort_Operation_main_ObjectFlow104_LiteralInteger106 = new(); + public ObjectFlow BehaviorPort_Operation_main_ObjectFlow107 = new(); + public LiteralInteger BehaviorPort_Operation_main_ObjectFlow107_LiteralInteger108 = new(); + public LiteralBoolean BehaviorPort_Operation_main_ObjectFlow107_LiteralBoolean109 = new(); + public CallOperationAction BehaviorPort_Operation_main_S_ = new(); + public InputPin BehaviorPort_Operation_main_S__target = new(); + public LiteralInteger BehaviorPort_Operation_main_S__target_LiteralInteger110 = new(); + public LiteralUnlimitedNatural BehaviorPort_Operation_main_S__target_LiteralUnlimitedNatural111 = new(); + public OutputPin BehaviorPort_Operation_main_S__result = new(); + public LiteralInteger BehaviorPort_Operation_main_S__result_LiteralInteger112 = new(); + public LiteralUnlimitedNatural BehaviorPort_Operation_main_S__result_LiteralUnlimitedNatural113 = new(); + public LiteralInteger BehaviorPort_Operation_main_S__result_LiteralInteger114 = new(); + public Class_ BehaviorPort_Operation_C = new(); + public Activity BehaviorPort_Operation_C_C_Factory = new(); + public ObjectFlow BehaviorPort_Operation_C_C_Factory_ObjectFlow115 = new(); + public LiteralBoolean BehaviorPort_Operation_C_C_Factory_ObjectFlow115_LiteralBoolean116 = new(); + public LiteralInteger BehaviorPort_Operation_C_C_Factory_ObjectFlow115_LiteralInteger117 = new(); + public ForkNode BehaviorPort_Operation_C_C_Factory_Fork_object = new(); + public Parameter BehaviorPort_Operation_C_C_Factory_result = new(); + public ObjectFlow BehaviorPort_Operation_C_C_Factory_ObjectFlow118 = new(); + public LiteralBoolean BehaviorPort_Operation_C_C_Factory_ObjectFlow118_LiteralBoolean119 = new(); + public LiteralInteger BehaviorPort_Operation_C_C_Factory_ObjectFlow118_LiteralInteger120 = new(); + public ObjectFlow BehaviorPort_Operation_C_C_Factory_ObjectFlow121 = new(); + public LiteralBoolean BehaviorPort_Operation_C_C_Factory_ObjectFlow121_LiteralBoolean122 = new(); + public LiteralInteger BehaviorPort_Operation_C_C_Factory_ObjectFlow121_LiteralInteger123 = new(); + public CreateObjectAction BehaviorPort_Operation_C_C_Factory_Create_C = new(); + public OutputPin BehaviorPort_Operation_C_C_Factory_Create_C_result = new(); + public LiteralInteger BehaviorPort_Operation_C_C_Factory_Create_C_result_LiteralInteger124 = new(); + public LiteralUnlimitedNatural BehaviorPort_Operation_C_C_Factory_Create_C_result_LiteralUnlimitedNatural125 = new(); + public StartObjectBehaviorAction BehaviorPort_Operation_C_C_Factory_Start_classifierBehavior = new(); + public InputPin BehaviorPort_Operation_C_C_Factory_Start_classifierBehavior_object = new(); + public LiteralInteger BehaviorPort_Operation_C_C_Factory_Start_classifierBehavior_object_LiteralInteger126 = new(); + public LiteralUnlimitedNatural BehaviorPort_Operation_C_C_Factory_Start_classifierBehavior_object_LiteralUnlimitedNatural127 = new(); + public ObjectFlow BehaviorPort_Operation_C_C_Factory_ObjectFlow128 = new(); + public LiteralInteger BehaviorPort_Operation_C_C_Factory_ObjectFlow128_LiteralInteger129 = new(); + public LiteralBoolean BehaviorPort_Operation_C_C_Factory_ObjectFlow128_LiteralBoolean130 = new(); + public ActivityParameterNode BehaviorPort_Operation_C_C_Factory_resultParameterNode = new(); + public LiteralInteger BehaviorPort_Operation_C_C_Factory_resultParameterNode_LiteralInteger131 = new(); + public CallOperationAction BehaviorPort_Operation_C_C_Factory_C_ = new(); + public OutputPin BehaviorPort_Operation_C_C_Factory_C__result = new(); + public LiteralUnlimitedNatural BehaviorPort_Operation_C_C_Factory_C__result_LiteralUnlimitedNatural132 = new(); + public LiteralInteger BehaviorPort_Operation_C_C_Factory_C__result_LiteralInteger133 = new(); + public LiteralInteger BehaviorPort_Operation_C_C_Factory_C__result_LiteralInteger134 = new(); + public InputPin BehaviorPort_Operation_C_C_Factory_C__target = new(); + public LiteralInteger BehaviorPort_Operation_C_C_Factory_C__target_LiteralInteger135 = new(); + public LiteralUnlimitedNatural BehaviorPort_Operation_C_C_Factory_C__target_LiteralUnlimitedNatural136 = new(); + public Port BehaviorPort_Operation_C_pc = new(); + public Operation BehaviorPort_Operation_C_C_C = new(); + public Parameter BehaviorPort_Operation_C_C_C_result = new(); + public InterfaceRealization BehaviorPort_Operation_C_I_Realization = new(); + public Operation BehaviorPort_Operation_C_Boolean_or_Boolean_Boolean_Boolean = new(); + public Parameter BehaviorPort_Operation_C_Boolean_or_Boolean_Boolean_Boolean_b = new(); + public Parameter BehaviorPort_Operation_C_Boolean_or_Boolean_Boolean_Boolean_result = new(); + public Parameter BehaviorPort_Operation_C_Boolean_or_Boolean_Boolean_Boolean_c = new(); + public Parameter BehaviorPort_Operation_C_Boolean_or_Boolean_Boolean_Boolean_a = new(); + public Activity BehaviorPort_Operation_C_C_ClassifierBehavior = new(); + public ObjectFlow BehaviorPort_Operation_C_C_ClassifierBehavior_ObjectFlow137 = new(); + public LiteralInteger BehaviorPort_Operation_C_C_ClassifierBehavior_ObjectFlow137_LiteralInteger138 = new(); + public LiteralBoolean BehaviorPort_Operation_C_C_ClassifierBehavior_ObjectFlow137_LiteralBoolean139 = new(); + public ControlFlow BehaviorPort_Operation_C_C_ClassifierBehavior_ControlFlow140 = new(); + public ForkNode BehaviorPort_Operation_C_C_ClassifierBehavior_Fork_result = new(); + public ObjectFlow BehaviorPort_Operation_C_C_ClassifierBehavior_ObjectFlow141 = new(); + public LiteralInteger BehaviorPort_Operation_C_C_ClassifierBehavior_ObjectFlow141_LiteralInteger142 = new(); + public LiteralBoolean BehaviorPort_Operation_C_C_ClassifierBehavior_ObjectFlow141_LiteralBoolean143 = new(); + public ObjectFlow BehaviorPort_Operation_C_C_ClassifierBehavior_ObjectFlow144 = new(); + public LiteralBoolean BehaviorPort_Operation_C_C_ClassifierBehavior_ObjectFlow144_LiteralBoolean145 = new(); + public LiteralInteger BehaviorPort_Operation_C_C_ClassifierBehavior_ObjectFlow144_LiteralInteger146 = new(); + public InitialNode BehaviorPort_Operation_C_C_ClassifierBehavior_InitialNode1 = new(); + public ObjectFlow BehaviorPort_Operation_C_C_ClassifierBehavior_ObjectFlow147 = new(); + public LiteralBoolean BehaviorPort_Operation_C_C_ClassifierBehavior_ObjectFlow147_LiteralBoolean148 = new(); + public LiteralInteger BehaviorPort_Operation_C_C_ClassifierBehavior_ObjectFlow147_LiteralInteger149 = new(); + public CallBehaviorAction BehaviorPort_Operation_C_C_ClassifierBehavior_Call_Xor = new(); + public InputPin BehaviorPort_Operation_C_C_ClassifierBehavior_Call_Xor_y = new(); + public LiteralInteger BehaviorPort_Operation_C_C_ClassifierBehavior_Call_Xor_y_LiteralInteger150 = new(); + public LiteralUnlimitedNatural BehaviorPort_Operation_C_C_ClassifierBehavior_Call_Xor_y_LiteralUnlimitedNatural151 = new(); + public OutputPin BehaviorPort_Operation_C_C_ClassifierBehavior_Call_Xor_result = new(); + public LiteralInteger BehaviorPort_Operation_C_C_ClassifierBehavior_Call_Xor_result_LiteralInteger152 = new(); + public LiteralInteger BehaviorPort_Operation_C_C_ClassifierBehavior_Call_Xor_result_LiteralInteger153 = new(); + public LiteralUnlimitedNatural BehaviorPort_Operation_C_C_ClassifierBehavior_Call_Xor_result_LiteralUnlimitedNatural154 = new(); + public InputPin BehaviorPort_Operation_C_C_ClassifierBehavior_Call_Xor_x = new(); + public LiteralInteger BehaviorPort_Operation_C_C_ClassifierBehavior_Call_Xor_x_LiteralInteger155 = new(); + public LiteralUnlimitedNatural BehaviorPort_Operation_C_C_ClassifierBehavior_Call_Xor_x_LiteralUnlimitedNatural156 = new(); + public ObjectFlow BehaviorPort_Operation_C_C_ClassifierBehavior_ObjectFlow157 = new(); + public LiteralBoolean BehaviorPort_Operation_C_C_ClassifierBehavior_ObjectFlow157_LiteralBoolean158 = new(); + public LiteralInteger BehaviorPort_Operation_C_C_ClassifierBehavior_ObjectFlow157_LiteralInteger159 = new(); + public AcceptCallAction BehaviorPort_Operation_C_C_ClassifierBehavior_Accept_or_ = new(); + public OutputPin BehaviorPort_Operation_C_C_ClassifierBehavior_Accept_or__b = new(); + public LiteralInteger BehaviorPort_Operation_C_C_ClassifierBehavior_Accept_or__b_LiteralInteger160 = new(); + public OutputPin BehaviorPort_Operation_C_C_ClassifierBehavior_Accept_or__returnInformation = new(); + public OutputPin BehaviorPort_Operation_C_C_ClassifierBehavior_Accept_or__a = new(); + public LiteralInteger BehaviorPort_Operation_C_C_ClassifierBehavior_Accept_or__a_LiteralInteger161 = new(); + public Trigger BehaviorPort_Operation_C_C_ClassifierBehavior_Accept_or__CallEventOrTrigger = new(); + public ReplyAction BehaviorPort_Operation_C_C_ClassifierBehavior_Reply_or_ = new(); + public InputPin BehaviorPort_Operation_C_C_ClassifierBehavior_Reply_or__r = new(); + public InputPin BehaviorPort_Operation_C_C_ClassifierBehavior_Reply_or__cr = new(); + public InputPin BehaviorPort_Operation_C_C_ClassifierBehavior_Reply_or__returnInformation = new(); + public ObjectFlow BehaviorPort_Operation_C_C_ClassifierBehavior_ObjectFlow162 = new(); + public LiteralInteger BehaviorPort_Operation_C_C_ClassifierBehavior_ObjectFlow162_LiteralInteger163 = new(); + public LiteralBoolean BehaviorPort_Operation_C_C_ClassifierBehavior_ObjectFlow162_LiteralBoolean164 = new(); + public Class_ BehaviorPort_Operation_S = new(); + public Property BehaviorPort_Operation_S_p = new(); + public Property BehaviorPort_Operation_S_c = new(); + public Connector BehaviorPort_Operation_S_Connector1 = new(); + public ConnectorEnd BehaviorPort_Operation_S_Connector1_ConnectorEnd165 = new(); + public ConnectorEnd BehaviorPort_Operation_S_Connector1_ConnectorEnd166 = new(); + public Operation BehaviorPort_Operation_S_S_S = new(); + public Parameter BehaviorPort_Operation_S_S_S_result = new(); + public Signal BehaviorPort_Operation_Start = new(); + public Usage BehaviorPort_Operation_I_Usage_P = new(); + public Activity BehaviorPort_Operation_assertP = new(); + public ObjectFlow BehaviorPort_Operation_assertP_ObjectFlow167 = new(); + public LiteralInteger BehaviorPort_Operation_assertP_ObjectFlow167_LiteralInteger168 = new(); + public LiteralBoolean BehaviorPort_Operation_assertP_ObjectFlow167_LiteralBoolean169 = new(); + public ControlFlow BehaviorPort_Operation_assertP_ControlFlow170 = new(); + public ObjectFlow BehaviorPort_Operation_assertP_ObjectFlow171 = new(); + public LiteralBoolean BehaviorPort_Operation_assertP_ObjectFlow171_LiteralBoolean172 = new(); + public LiteralInteger BehaviorPort_Operation_assertP_ObjectFlow171_LiteralInteger173 = new(); + public ObjectFlow BehaviorPort_Operation_assertP_ObjectFlow174 = new(); + public LiteralBoolean BehaviorPort_Operation_assertP_ObjectFlow174_LiteralBoolean175 = new(); + public LiteralInteger BehaviorPort_Operation_assertP_ObjectFlow174_LiteralInteger176 = new(); + public ForkNode BehaviorPort_Operation_assertP_Fork_p = new(); + public CallBehaviorAction BehaviorPort_Operation_assertP_test_out = new(); + public InputPin BehaviorPort_Operation_assertP_test_out_input = new(); + public LiteralUnlimitedNatural BehaviorPort_Operation_assertP_test_out_input_LiteralUnlimitedNatural177 = new(); + public LiteralInteger BehaviorPort_Operation_assertP_test_out_input_LiteralInteger178 = new(); + public LiteralInteger BehaviorPort_Operation_assertP_test_out_input_LiteralInteger179 = new(); + public CallBehaviorAction BehaviorPort_Operation_assertP_writeLine_p_return = new(); + public OutputPin BehaviorPort_Operation_assertP_writeLine_p_return_errorStatus = new(); + public LiteralUnlimitedNatural BehaviorPort_Operation_assertP_writeLine_p_return_errorStatus_LiteralUnlimitedNatural180 = new(); + public LiteralInteger BehaviorPort_Operation_assertP_writeLine_p_return_errorStatus_LiteralInteger181 = new(); + public LiteralInteger BehaviorPort_Operation_assertP_writeLine_p_return_errorStatus_LiteralInteger182 = new(); + public InputPin BehaviorPort_Operation_assertP_writeLine_p_return_value = new(); + public LiteralInteger BehaviorPort_Operation_assertP_writeLine_p_return_value_LiteralInteger183 = new(); + public LiteralUnlimitedNatural BehaviorPort_Operation_assertP_writeLine_p_return_value_LiteralUnlimitedNatural184 = new(); + public LiteralInteger BehaviorPort_Operation_assertP_writeLine_p_return_value_LiteralInteger185 = new(); + public CallBehaviorAction BehaviorPort_Operation_assertP_writeLine_p_out = new(); + public InputPin BehaviorPort_Operation_assertP_writeLine_p_out_value = new(); + public LiteralUnlimitedNatural BehaviorPort_Operation_assertP_writeLine_p_out_value_LiteralUnlimitedNatural186 = new(); + public LiteralInteger BehaviorPort_Operation_assertP_writeLine_p_out_value_LiteralInteger187 = new(); + public LiteralInteger BehaviorPort_Operation_assertP_writeLine_p_out_value_LiteralInteger188 = new(); + public OutputPin BehaviorPort_Operation_assertP_writeLine_p_out_errorStatus = new(); + public LiteralUnlimitedNatural BehaviorPort_Operation_assertP_writeLine_p_out_errorStatus_LiteralUnlimitedNatural189 = new(); + public LiteralInteger BehaviorPort_Operation_assertP_writeLine_p_out_errorStatus_LiteralInteger190 = new(); + public LiteralInteger BehaviorPort_Operation_assertP_writeLine_p_out_errorStatus_LiteralInteger191 = new(); + public ReadStructuralFeatureAction BehaviorPort_Operation_assertP_p_out = new(); + public OutputPin BehaviorPort_Operation_assertP_p_out_result = new(); + public LiteralInteger BehaviorPort_Operation_assertP_p_out_result_LiteralInteger192 = new(); + public LiteralUnlimitedNatural BehaviorPort_Operation_assertP_p_out_result_LiteralUnlimitedNatural193 = new(); + public InputPin BehaviorPort_Operation_assertP_p_out_object = new(); + public LiteralUnlimitedNatural BehaviorPort_Operation_assertP_p_out_object_LiteralUnlimitedNatural194 = new(); + public LiteralInteger BehaviorPort_Operation_assertP_p_out_object_LiteralInteger195 = new(); + public ControlFlow BehaviorPort_Operation_assertP_ControlFlow196 = new(); + public Parameter BehaviorPort_Operation_assertP_p = new(); + public ControlFlow BehaviorPort_Operation_assertP_ControlFlow197 = new(); + public ActivityParameterNode BehaviorPort_Operation_assertP_pParameterNode = new(); + public LiteralInteger BehaviorPort_Operation_assertP_pParameterNode_LiteralInteger198 = new(); + public CallBehaviorAction BehaviorPort_Operation_assertP_test_return = new(); + public InputPin BehaviorPort_Operation_assertP_test_return_input = new(); + public LiteralInteger BehaviorPort_Operation_assertP_test_return_input_LiteralInteger199 = new(); + public LiteralInteger BehaviorPort_Operation_assertP_test_return_input_LiteralInteger200 = new(); + public LiteralUnlimitedNatural BehaviorPort_Operation_assertP_test_return_input_LiteralUnlimitedNatural201 = new(); + public ValueSpecificationAction BehaviorPort_Operation_assertP_p_out_message = new(); + public LiteralString BehaviorPort_Operation_assertP_p_out_message_LiteralString202 = new(); + public OutputPin BehaviorPort_Operation_assertP_p_out_message_result = new(); + public LiteralUnlimitedNatural BehaviorPort_Operation_assertP_p_out_message_result_LiteralUnlimitedNatural203 = new(); + public LiteralInteger BehaviorPort_Operation_assertP_p_out_message_result_LiteralInteger204 = new(); + public ReadStructuralFeatureAction BehaviorPort_Operation_assertP_p_return = new(); + public InputPin BehaviorPort_Operation_assertP_p_return_object = new(); + public LiteralInteger BehaviorPort_Operation_assertP_p_return_object_LiteralInteger205 = new(); + public LiteralUnlimitedNatural BehaviorPort_Operation_assertP_p_return_object_LiteralUnlimitedNatural206 = new(); + public OutputPin BehaviorPort_Operation_assertP_p_return_result = new(); + public LiteralUnlimitedNatural BehaviorPort_Operation_assertP_p_return_result_LiteralUnlimitedNatural207 = new(); + public LiteralInteger BehaviorPort_Operation_assertP_p_return_result_LiteralInteger208 = new(); + public ObjectFlow BehaviorPort_Operation_assertP_ObjectFlow209 = new(); + public LiteralBoolean BehaviorPort_Operation_assertP_ObjectFlow209_LiteralBoolean210 = new(); + public LiteralInteger BehaviorPort_Operation_assertP_ObjectFlow209_LiteralInteger211 = new(); + public ControlFlow BehaviorPort_Operation_assertP_ControlFlow212 = new(); + public ValueSpecificationAction BehaviorPort_Operation_assertP_p_return_message = new(); + public LiteralString BehaviorPort_Operation_assertP_p_return_message_LiteralString213 = new(); + public OutputPin BehaviorPort_Operation_assertP_p_return_message_result = new(); + public LiteralUnlimitedNatural BehaviorPort_Operation_assertP_p_return_message_result_LiteralUnlimitedNatural214 = new(); + public LiteralInteger BehaviorPort_Operation_assertP_p_return_message_result_LiteralInteger215 = new(); + public ObjectFlow BehaviorPort_Operation_assertP_ObjectFlow216 = new(); + public LiteralBoolean BehaviorPort_Operation_assertP_ObjectFlow216_LiteralBoolean217 = new(); + public LiteralInteger BehaviorPort_Operation_assertP_ObjectFlow216_LiteralInteger218 = new(); + public ControlFlow BehaviorPort_Operation_assertP_ControlFlow219 = new(); + public ObjectFlow BehaviorPort_Operation_assertP_ObjectFlow220 = new(); + public LiteralInteger BehaviorPort_Operation_assertP_ObjectFlow220_LiteralInteger221 = new(); + public LiteralBoolean BehaviorPort_Operation_assertP_ObjectFlow220_LiteralBoolean222 = new(); + public OpaqueBehavior BehaviorPort_Operation_assertP_testFalse = new(); + public Parameter BehaviorPort_Operation_assertP_testFalse_input = new(); + public ObjectFlow BehaviorPort_Operation_assertP_ObjectFlow223 = new(); + public LiteralBoolean BehaviorPort_Operation_assertP_ObjectFlow223_LiteralBoolean224 = new(); + public LiteralInteger BehaviorPort_Operation_assertP_ObjectFlow223_LiteralInteger225 = new(); + + public static BehaviorPort_OperationModel Instance() + { + if (instance is null) + { + instance = new(); + instance.InitializeInMemoryModel(); + } + + return instance; + } + + public BehaviorPort_OperationModel() + { + /* Start of user code : Additional model initializations + * This section may be used to do any additional model initialization, + * for example initializing user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } + + private void InitializeInMemoryModel() + { + // Create public members + /* + * Model BehaviorPort_Operation + */ + AddToElementRepository("BehaviorPort_Operation", BehaviorPort_Operation); + AddToElementRepository("CallEventOr", BehaviorPort_Operation_CallEventOr); + AddToElementRepository("I", BehaviorPort_Operation_I); + AddToElementRepository("Boolean_or_Boolean_Boolean_Boolean", BehaviorPort_Operation_I_Boolean_or_Boolean_Boolean_Boolean); + AddToElementRepository("a", BehaviorPort_Operation_I_Boolean_or_Boolean_Boolean_Boolean_a); + AddToElementRepository("result", BehaviorPort_Operation_I_Boolean_or_Boolean_Boolean_Boolean_result); + AddToElementRepository("c", BehaviorPort_Operation_I_Boolean_or_Boolean_Boolean_Boolean_c); + AddToElementRepository("b", BehaviorPort_Operation_I_Boolean_or_Boolean_Boolean_Boolean_b); + AddToElementRepository("SignalEventStart", BehaviorPort_Operation_SignalEventStart); + AddToElementRepository("P", BehaviorPort_Operation_P); + AddToElementRepository("P$ClassifierBehavior", BehaviorPort_Operation_P_P_ClassifierBehavior); + AddToElementRepository("ObjectFlow0", BehaviorPort_Operation_P_P_ClassifierBehavior_ObjectFlow0); + AddToElementRepository("LiteralBoolean1", BehaviorPort_Operation_P_P_ClassifierBehavior_ObjectFlow0_LiteralBoolean1); + AddToElementRepository("LiteralInteger2", BehaviorPort_Operation_P_P_ClassifierBehavior_ObjectFlow0_LiteralInteger2); + AddToElementRepository("ObjectFlow3", BehaviorPort_Operation_P_P_ClassifierBehavior_ObjectFlow3); + AddToElementRepository("LiteralInteger4", BehaviorPort_Operation_P_P_ClassifierBehavior_ObjectFlow3_LiteralInteger4); + AddToElementRepository("LiteralBoolean5", BehaviorPort_Operation_P_P_ClassifierBehavior_ObjectFlow3_LiteralBoolean5); + AddToElementRepository("ForkNode2", BehaviorPort_Operation_P_P_ClassifierBehavior_ForkNode2); + AddToElementRepository("ControlFlow6", BehaviorPort_Operation_P_P_ClassifierBehavior_ControlFlow6); + AddToElementRepository("ObjectFlow7", BehaviorPort_Operation_P_P_ClassifierBehavior_ObjectFlow7); + AddToElementRepository("LiteralInteger8", BehaviorPort_Operation_P_P_ClassifierBehavior_ObjectFlow7_LiteralInteger8); + AddToElementRepository("LiteralBoolean9", BehaviorPort_Operation_P_P_ClassifierBehavior_ObjectFlow7_LiteralBoolean9); + AddToElementRepository("ObjectFlow10", BehaviorPort_Operation_P_P_ClassifierBehavior_ObjectFlow10); + AddToElementRepository("LiteralBoolean11", BehaviorPort_Operation_P_P_ClassifierBehavior_ObjectFlow10_LiteralBoolean11); + AddToElementRepository("LiteralInteger12", BehaviorPort_Operation_P_P_ClassifierBehavior_ObjectFlow10_LiteralInteger12); + AddToElementRepository("set out", BehaviorPort_Operation_P_P_ClassifierBehavior_set_out); + AddToElementRepository("value", BehaviorPort_Operation_P_P_ClassifierBehavior_set_out_value); + AddToElementRepository("LiteralUnlimitedNatural13", BehaviorPort_Operation_P_P_ClassifierBehavior_set_out_value_LiteralUnlimitedNatural13); + AddToElementRepository("LiteralInteger14", BehaviorPort_Operation_P_P_ClassifierBehavior_set_out_value_LiteralInteger14); + AddToElementRepository("object", BehaviorPort_Operation_P_P_ClassifierBehavior_set_out_object); + AddToElementRepository("LiteralUnlimitedNatural15", BehaviorPort_Operation_P_P_ClassifierBehavior_set_out_object_LiteralUnlimitedNatural15); + AddToElementRepository("LiteralInteger16", BehaviorPort_Operation_P_P_ClassifierBehavior_set_out_object_LiteralInteger16); + AddToElementRepository("result", BehaviorPort_Operation_P_P_ClassifierBehavior_set_out_result); + AddToElementRepository("LiteralInteger17", BehaviorPort_Operation_P_P_ClassifierBehavior_set_out_result_LiteralInteger17); + AddToElementRepository("LiteralUnlimitedNatural18", BehaviorPort_Operation_P_P_ClassifierBehavior_set_out_result_LiteralUnlimitedNatural18); + AddToElementRepository("ObjectFlow19", BehaviorPort_Operation_P_P_ClassifierBehavior_ObjectFlow19); + AddToElementRepository("LiteralInteger20", BehaviorPort_Operation_P_P_ClassifierBehavior_ObjectFlow19_LiteralInteger20); + AddToElementRepository("LiteralBoolean21", BehaviorPort_Operation_P_P_ClassifierBehavior_ObjectFlow19_LiteralBoolean21); + AddToElementRepository("ObjectFlow22", BehaviorPort_Operation_P_P_ClassifierBehavior_ObjectFlow22); + AddToElementRepository("LiteralBoolean23", BehaviorPort_Operation_P_P_ClassifierBehavior_ObjectFlow22_LiteralBoolean23); + AddToElementRepository("LiteralInteger24", BehaviorPort_Operation_P_P_ClassifierBehavior_ObjectFlow22_LiteralInteger24); + AddToElementRepository("Call or() via pp", BehaviorPort_Operation_P_P_ClassifierBehavior_Call_or_via_pp); + AddToElementRepository("c", BehaviorPort_Operation_P_P_ClassifierBehavior_Call_or_via_pp_c); + AddToElementRepository("LiteralUnlimitedNatural25", BehaviorPort_Operation_P_P_ClassifierBehavior_Call_or_via_pp_c_LiteralUnlimitedNatural25); + AddToElementRepository("LiteralInteger26", BehaviorPort_Operation_P_P_ClassifierBehavior_Call_or_via_pp_c_LiteralInteger26); + AddToElementRepository("result", BehaviorPort_Operation_P_P_ClassifierBehavior_Call_or_via_pp_result); + AddToElementRepository("LiteralInteger27", BehaviorPort_Operation_P_P_ClassifierBehavior_Call_or_via_pp_result_LiteralInteger27); + AddToElementRepository("LiteralUnlimitedNatural28", BehaviorPort_Operation_P_P_ClassifierBehavior_Call_or_via_pp_result_LiteralUnlimitedNatural28); + AddToElementRepository("a", BehaviorPort_Operation_P_P_ClassifierBehavior_Call_or_via_pp_a); + AddToElementRepository("LiteralInteger29", BehaviorPort_Operation_P_P_ClassifierBehavior_Call_or_via_pp_a_LiteralInteger29); + AddToElementRepository("LiteralUnlimitedNatural30", BehaviorPort_Operation_P_P_ClassifierBehavior_Call_or_via_pp_a_LiteralUnlimitedNatural30); + AddToElementRepository("target", BehaviorPort_Operation_P_P_ClassifierBehavior_Call_or_via_pp_target); + AddToElementRepository("LiteralInteger31", BehaviorPort_Operation_P_P_ClassifierBehavior_Call_or_via_pp_target_LiteralInteger31); + AddToElementRepository("LiteralUnlimitedNatural32", BehaviorPort_Operation_P_P_ClassifierBehavior_Call_or_via_pp_target_LiteralUnlimitedNatural32); + AddToElementRepository("b", BehaviorPort_Operation_P_P_ClassifierBehavior_Call_or_via_pp_b); + AddToElementRepository("LiteralUnlimitedNatural33", BehaviorPort_Operation_P_P_ClassifierBehavior_Call_or_via_pp_b_LiteralUnlimitedNatural33); + AddToElementRepository("LiteralInteger34", BehaviorPort_Operation_P_P_ClassifierBehavior_Call_or_via_pp_b_LiteralInteger34); + AddToElementRepository("ForkNode1", BehaviorPort_Operation_P_P_ClassifierBehavior_ForkNode1); + AddToElementRepository("this", BehaviorPort_Operation_P_P_ClassifierBehavior_this); + AddToElementRepository("p", BehaviorPort_Operation_P_P_ClassifierBehavior_this_p); + AddToElementRepository("LiteralUnlimitedNatural35", BehaviorPort_Operation_P_P_ClassifierBehavior_this_p_LiteralUnlimitedNatural35); + AddToElementRepository("LiteralInteger36", BehaviorPort_Operation_P_P_ClassifierBehavior_this_p_LiteralInteger36); + AddToElementRepository("ObjectFlow37", BehaviorPort_Operation_P_P_ClassifierBehavior_ObjectFlow37); + AddToElementRepository("LiteralInteger38", BehaviorPort_Operation_P_P_ClassifierBehavior_ObjectFlow37_LiteralInteger38); + AddToElementRepository("LiteralBoolean39", BehaviorPort_Operation_P_P_ClassifierBehavior_ObjectFlow37_LiteralBoolean39); + AddToElementRepository("ControlFlow40", BehaviorPort_Operation_P_P_ClassifierBehavior_ControlFlow40); + AddToElementRepository("ObjectFlow41", BehaviorPort_Operation_P_P_ClassifierBehavior_ObjectFlow41); + AddToElementRepository("LiteralInteger42", BehaviorPort_Operation_P_P_ClassifierBehavior_ObjectFlow41_LiteralInteger42); + AddToElementRepository("LiteralBoolean43", BehaviorPort_Operation_P_P_ClassifierBehavior_ObjectFlow41_LiteralBoolean43); + AddToElementRepository("InitialNode1", BehaviorPort_Operation_P_P_ClassifierBehavior_InitialNode1); + AddToElementRepository("Accept Start", BehaviorPort_Operation_P_P_ClassifierBehavior_Accept_Start); + AddToElementRepository("SignalEventStartTrigger", BehaviorPort_Operation_P_P_ClassifierBehavior_Accept_Start_SignalEventStartTrigger); + AddToElementRepository("result", BehaviorPort_Operation_P_P_ClassifierBehavior_Accept_Start_result); + AddToElementRepository("LiteralInteger44", BehaviorPort_Operation_P_P_ClassifierBehavior_Accept_Start_result_LiteralInteger44); + AddToElementRepository("LiteralInteger45", BehaviorPort_Operation_P_P_ClassifierBehavior_Accept_Start_result_LiteralInteger45); + AddToElementRepository("LiteralUnlimitedNatural46", BehaviorPort_Operation_P_P_ClassifierBehavior_Accept_Start_result_LiteralUnlimitedNatural46); + AddToElementRepository("true", BehaviorPort_Operation_P_P_ClassifierBehavior_true); + AddToElementRepository("result", BehaviorPort_Operation_P_P_ClassifierBehavior_true_result); + AddToElementRepository("LiteralUnlimitedNatural47", BehaviorPort_Operation_P_P_ClassifierBehavior_true_result_LiteralUnlimitedNatural47); + AddToElementRepository("LiteralInteger48", BehaviorPort_Operation_P_P_ClassifierBehavior_true_result_LiteralInteger48); + AddToElementRepository("LiteralBoolean49", BehaviorPort_Operation_P_P_ClassifierBehavior_true_LiteralBoolean49); + AddToElementRepository("set return", BehaviorPort_Operation_P_P_ClassifierBehavior_set_return); + AddToElementRepository("value", BehaviorPort_Operation_P_P_ClassifierBehavior_set_return_value); + AddToElementRepository("LiteralUnlimitedNatural50", BehaviorPort_Operation_P_P_ClassifierBehavior_set_return_value_LiteralUnlimitedNatural50); + AddToElementRepository("LiteralInteger51", BehaviorPort_Operation_P_P_ClassifierBehavior_set_return_value_LiteralInteger51); + AddToElementRepository("result", BehaviorPort_Operation_P_P_ClassifierBehavior_set_return_result); + AddToElementRepository("LiteralUnlimitedNatural52", BehaviorPort_Operation_P_P_ClassifierBehavior_set_return_result_LiteralUnlimitedNatural52); + AddToElementRepository("LiteralInteger53", BehaviorPort_Operation_P_P_ClassifierBehavior_set_return_result_LiteralInteger53); + AddToElementRepository("object", BehaviorPort_Operation_P_P_ClassifierBehavior_set_return_object); + AddToElementRepository("LiteralUnlimitedNatural54", BehaviorPort_Operation_P_P_ClassifierBehavior_set_return_object_LiteralUnlimitedNatural54); + AddToElementRepository("LiteralInteger55", BehaviorPort_Operation_P_P_ClassifierBehavior_set_return_object_LiteralInteger55); + AddToElementRepository("ObjectFlow56", BehaviorPort_Operation_P_P_ClassifierBehavior_ObjectFlow56); + AddToElementRepository("LiteralInteger57", BehaviorPort_Operation_P_P_ClassifierBehavior_ObjectFlow56_LiteralInteger57); + AddToElementRepository("LiteralBoolean58", BehaviorPort_Operation_P_P_ClassifierBehavior_ObjectFlow56_LiteralBoolean58); + AddToElementRepository("P_Factory", BehaviorPort_Operation_P_P_Factory); + AddToElementRepository("ObjectFlow59", BehaviorPort_Operation_P_P_Factory_ObjectFlow59); + AddToElementRepository("LiteralInteger60", BehaviorPort_Operation_P_P_Factory_ObjectFlow59_LiteralInteger60); + AddToElementRepository("LiteralBoolean61", BehaviorPort_Operation_P_P_Factory_ObjectFlow59_LiteralBoolean61); + AddToElementRepository("Create P", BehaviorPort_Operation_P_P_Factory_Create_P); + AddToElementRepository("result", BehaviorPort_Operation_P_P_Factory_Create_P_result); + AddToElementRepository("LiteralUnlimitedNatural62", BehaviorPort_Operation_P_P_Factory_Create_P_result_LiteralUnlimitedNatural62); + AddToElementRepository("LiteralInteger63", BehaviorPort_Operation_P_P_Factory_Create_P_result_LiteralInteger63); + AddToElementRepository("ObjectFlow64", BehaviorPort_Operation_P_P_Factory_ObjectFlow64); + AddToElementRepository("LiteralInteger65", BehaviorPort_Operation_P_P_Factory_ObjectFlow64_LiteralInteger65); + AddToElementRepository("LiteralBoolean66", BehaviorPort_Operation_P_P_Factory_ObjectFlow64_LiteralBoolean66); + AddToElementRepository("P()", BehaviorPort_Operation_P_P_Factory_P_); + AddToElementRepository("target", BehaviorPort_Operation_P_P_Factory_P__target); + AddToElementRepository("LiteralInteger67", BehaviorPort_Operation_P_P_Factory_P__target_LiteralInteger67); + AddToElementRepository("LiteralUnlimitedNatural68", BehaviorPort_Operation_P_P_Factory_P__target_LiteralUnlimitedNatural68); + AddToElementRepository("result", BehaviorPort_Operation_P_P_Factory_P__result); + AddToElementRepository("LiteralInteger69", BehaviorPort_Operation_P_P_Factory_P__result_LiteralInteger69); + AddToElementRepository("LiteralUnlimitedNatural70", BehaviorPort_Operation_P_P_Factory_P__result_LiteralUnlimitedNatural70); + AddToElementRepository("LiteralInteger71", BehaviorPort_Operation_P_P_Factory_P__result_LiteralInteger71); + AddToElementRepository("ObjectFlow72", BehaviorPort_Operation_P_P_Factory_ObjectFlow72); + AddToElementRepository("LiteralBoolean73", BehaviorPort_Operation_P_P_Factory_ObjectFlow72_LiteralBoolean73); + AddToElementRepository("LiteralInteger74", BehaviorPort_Operation_P_P_Factory_ObjectFlow72_LiteralInteger74); + AddToElementRepository("resultParameterNode", BehaviorPort_Operation_P_P_Factory_resultParameterNode); + AddToElementRepository("LiteralInteger75", BehaviorPort_Operation_P_P_Factory_resultParameterNode_LiteralInteger75); + AddToElementRepository("Start classifierBehavior", BehaviorPort_Operation_P_P_Factory_Start_classifierBehavior); + AddToElementRepository("object", BehaviorPort_Operation_P_P_Factory_Start_classifierBehavior_object); + AddToElementRepository("LiteralUnlimitedNatural76", BehaviorPort_Operation_P_P_Factory_Start_classifierBehavior_object_LiteralUnlimitedNatural76); + AddToElementRepository("LiteralInteger77", BehaviorPort_Operation_P_P_Factory_Start_classifierBehavior_object_LiteralInteger77); + AddToElementRepository("ObjectFlow78", BehaviorPort_Operation_P_P_Factory_ObjectFlow78); + AddToElementRepository("LiteralBoolean79", BehaviorPort_Operation_P_P_Factory_ObjectFlow78_LiteralBoolean79); + AddToElementRepository("LiteralInteger80", BehaviorPort_Operation_P_P_Factory_ObjectFlow78_LiteralInteger80); + AddToElementRepository("Fork object", BehaviorPort_Operation_P_P_Factory_Fork_object); + AddToElementRepository("result", BehaviorPort_Operation_P_P_Factory_result); + AddToElementRepository("return", BehaviorPort_Operation_P_return); + AddToElementRepository("LiteralInteger81", BehaviorPort_Operation_P_return_LiteralInteger81); + AddToElementRepository("pp", BehaviorPort_Operation_P_pp); + AddToElementRepository("out", BehaviorPort_Operation_P_out); + AddToElementRepository("LiteralInteger82", BehaviorPort_Operation_P_out_LiteralInteger82); + AddToElementRepository("P_P", BehaviorPort_Operation_P_P_P); + AddToElementRepository("result", BehaviorPort_Operation_P_P_P_result); + AddToElementRepository("Start", BehaviorPort_Operation_P_Start); + AddToElementRepository("main", BehaviorPort_Operation_main); + AddToElementRepository("ControlFlow83", BehaviorPort_Operation_main_ControlFlow83); + AddToElementRepository("s.p", BehaviorPort_Operation_main_s_p); + AddToElementRepository("s", BehaviorPort_Operation_main_s_p_s); + AddToElementRepository("LiteralUnlimitedNatural84", BehaviorPort_Operation_main_s_p_s_LiteralUnlimitedNatural84); + AddToElementRepository("LiteralInteger85", BehaviorPort_Operation_main_s_p_s_LiteralInteger85); + AddToElementRepository("result", BehaviorPort_Operation_main_s_p_result); + AddToElementRepository("LiteralUnlimitedNatural86", BehaviorPort_Operation_main_s_p_result_LiteralUnlimitedNatural86); + AddToElementRepository("LiteralInteger87", BehaviorPort_Operation_main_s_p_result_LiteralInteger87); + AddToElementRepository("Create S", BehaviorPort_Operation_main_Create_S); + AddToElementRepository("result", BehaviorPort_Operation_main_Create_S_result); + AddToElementRepository("LiteralInteger88", BehaviorPort_Operation_main_Create_S_result_LiteralInteger88); + AddToElementRepository("LiteralUnlimitedNatural89", BehaviorPort_Operation_main_Create_S_result_LiteralUnlimitedNatural89); + AddToElementRepository("assertP", BehaviorPort_Operation_main_assertP); + AddToElementRepository("p", BehaviorPort_Operation_main_assertP_p); + AddToElementRepository("LiteralInteger90", BehaviorPort_Operation_main_assertP_p_LiteralInteger90); + AddToElementRepository("LiteralInteger91", BehaviorPort_Operation_main_assertP_p_LiteralInteger91); + AddToElementRepository("LiteralUnlimitedNatural92", BehaviorPort_Operation_main_assertP_p_LiteralUnlimitedNatural92); + AddToElementRepository("ObjectFlow93", BehaviorPort_Operation_main_ObjectFlow93); + AddToElementRepository("LiteralInteger94", BehaviorPort_Operation_main_ObjectFlow93_LiteralInteger94); + AddToElementRepository("LiteralBoolean95", BehaviorPort_Operation_main_ObjectFlow93_LiteralBoolean95); + AddToElementRepository("Send Start", BehaviorPort_Operation_main_Send_Start); + AddToElementRepository("target", BehaviorPort_Operation_main_Send_Start_target); + AddToElementRepository("LiteralInteger96", BehaviorPort_Operation_main_Send_Start_target_LiteralInteger96); + AddToElementRepository("LiteralUnlimitedNatural97", BehaviorPort_Operation_main_Send_Start_target_LiteralUnlimitedNatural97); + AddToElementRepository("Fork s.p", BehaviorPort_Operation_main_Fork_s_p); + AddToElementRepository("ObjectFlow98", BehaviorPort_Operation_main_ObjectFlow98); + AddToElementRepository("LiteralInteger99", BehaviorPort_Operation_main_ObjectFlow98_LiteralInteger99); + AddToElementRepository("LiteralBoolean100", BehaviorPort_Operation_main_ObjectFlow98_LiteralBoolean100); + AddToElementRepository("ObjectFlow101", BehaviorPort_Operation_main_ObjectFlow101); + AddToElementRepository("LiteralInteger102", BehaviorPort_Operation_main_ObjectFlow101_LiteralInteger102); + AddToElementRepository("LiteralBoolean103", BehaviorPort_Operation_main_ObjectFlow101_LiteralBoolean103); + AddToElementRepository("ObjectFlow104", BehaviorPort_Operation_main_ObjectFlow104); + AddToElementRepository("LiteralBoolean105", BehaviorPort_Operation_main_ObjectFlow104_LiteralBoolean105); + AddToElementRepository("LiteralInteger106", BehaviorPort_Operation_main_ObjectFlow104_LiteralInteger106); + AddToElementRepository("ObjectFlow107", BehaviorPort_Operation_main_ObjectFlow107); + AddToElementRepository("LiteralInteger108", BehaviorPort_Operation_main_ObjectFlow107_LiteralInteger108); + AddToElementRepository("LiteralBoolean109", BehaviorPort_Operation_main_ObjectFlow107_LiteralBoolean109); + AddToElementRepository("S()", BehaviorPort_Operation_main_S_); + AddToElementRepository("target", BehaviorPort_Operation_main_S__target); + AddToElementRepository("LiteralInteger110", BehaviorPort_Operation_main_S__target_LiteralInteger110); + AddToElementRepository("LiteralUnlimitedNatural111", BehaviorPort_Operation_main_S__target_LiteralUnlimitedNatural111); + AddToElementRepository("result", BehaviorPort_Operation_main_S__result); + AddToElementRepository("LiteralInteger112", BehaviorPort_Operation_main_S__result_LiteralInteger112); + AddToElementRepository("LiteralUnlimitedNatural113", BehaviorPort_Operation_main_S__result_LiteralUnlimitedNatural113); + AddToElementRepository("LiteralInteger114", BehaviorPort_Operation_main_S__result_LiteralInteger114); + AddToElementRepository("C", BehaviorPort_Operation_C); + AddToElementRepository("C_Factory", BehaviorPort_Operation_C_C_Factory); + AddToElementRepository("ObjectFlow115", BehaviorPort_Operation_C_C_Factory_ObjectFlow115); + AddToElementRepository("LiteralBoolean116", BehaviorPort_Operation_C_C_Factory_ObjectFlow115_LiteralBoolean116); + AddToElementRepository("LiteralInteger117", BehaviorPort_Operation_C_C_Factory_ObjectFlow115_LiteralInteger117); + AddToElementRepository("Fork object", BehaviorPort_Operation_C_C_Factory_Fork_object); + AddToElementRepository("result", BehaviorPort_Operation_C_C_Factory_result); + AddToElementRepository("ObjectFlow118", BehaviorPort_Operation_C_C_Factory_ObjectFlow118); + AddToElementRepository("LiteralBoolean119", BehaviorPort_Operation_C_C_Factory_ObjectFlow118_LiteralBoolean119); + AddToElementRepository("LiteralInteger120", BehaviorPort_Operation_C_C_Factory_ObjectFlow118_LiteralInteger120); + AddToElementRepository("ObjectFlow121", BehaviorPort_Operation_C_C_Factory_ObjectFlow121); + AddToElementRepository("LiteralBoolean122", BehaviorPort_Operation_C_C_Factory_ObjectFlow121_LiteralBoolean122); + AddToElementRepository("LiteralInteger123", BehaviorPort_Operation_C_C_Factory_ObjectFlow121_LiteralInteger123); + AddToElementRepository("Create C", BehaviorPort_Operation_C_C_Factory_Create_C); + AddToElementRepository("result", BehaviorPort_Operation_C_C_Factory_Create_C_result); + AddToElementRepository("LiteralInteger124", BehaviorPort_Operation_C_C_Factory_Create_C_result_LiteralInteger124); + AddToElementRepository("LiteralUnlimitedNatural125", BehaviorPort_Operation_C_C_Factory_Create_C_result_LiteralUnlimitedNatural125); + AddToElementRepository("Start classifierBehavior", BehaviorPort_Operation_C_C_Factory_Start_classifierBehavior); + AddToElementRepository("object", BehaviorPort_Operation_C_C_Factory_Start_classifierBehavior_object); + AddToElementRepository("LiteralInteger126", BehaviorPort_Operation_C_C_Factory_Start_classifierBehavior_object_LiteralInteger126); + AddToElementRepository("LiteralUnlimitedNatural127", BehaviorPort_Operation_C_C_Factory_Start_classifierBehavior_object_LiteralUnlimitedNatural127); + AddToElementRepository("ObjectFlow128", BehaviorPort_Operation_C_C_Factory_ObjectFlow128); + AddToElementRepository("LiteralInteger129", BehaviorPort_Operation_C_C_Factory_ObjectFlow128_LiteralInteger129); + AddToElementRepository("LiteralBoolean130", BehaviorPort_Operation_C_C_Factory_ObjectFlow128_LiteralBoolean130); + AddToElementRepository("resultParameterNode", BehaviorPort_Operation_C_C_Factory_resultParameterNode); + AddToElementRepository("LiteralInteger131", BehaviorPort_Operation_C_C_Factory_resultParameterNode_LiteralInteger131); + AddToElementRepository("C()", BehaviorPort_Operation_C_C_Factory_C_); + AddToElementRepository("result", BehaviorPort_Operation_C_C_Factory_C__result); + AddToElementRepository("LiteralUnlimitedNatural132", BehaviorPort_Operation_C_C_Factory_C__result_LiteralUnlimitedNatural132); + AddToElementRepository("LiteralInteger133", BehaviorPort_Operation_C_C_Factory_C__result_LiteralInteger133); + AddToElementRepository("LiteralInteger134", BehaviorPort_Operation_C_C_Factory_C__result_LiteralInteger134); + AddToElementRepository("target", BehaviorPort_Operation_C_C_Factory_C__target); + AddToElementRepository("LiteralInteger135", BehaviorPort_Operation_C_C_Factory_C__target_LiteralInteger135); + AddToElementRepository("LiteralUnlimitedNatural136", BehaviorPort_Operation_C_C_Factory_C__target_LiteralUnlimitedNatural136); + AddToElementRepository("pc", BehaviorPort_Operation_C_pc); + AddToElementRepository("C_C", BehaviorPort_Operation_C_C_C); + AddToElementRepository("result", BehaviorPort_Operation_C_C_C_result); + AddToElementRepository("I_Realization", BehaviorPort_Operation_C_I_Realization); + AddToElementRepository("Boolean_or_Boolean_Boolean_Boolean", BehaviorPort_Operation_C_Boolean_or_Boolean_Boolean_Boolean); + AddToElementRepository("b", BehaviorPort_Operation_C_Boolean_or_Boolean_Boolean_Boolean_b); + AddToElementRepository("result", BehaviorPort_Operation_C_Boolean_or_Boolean_Boolean_Boolean_result); + AddToElementRepository("c", BehaviorPort_Operation_C_Boolean_or_Boolean_Boolean_Boolean_c); + AddToElementRepository("a", BehaviorPort_Operation_C_Boolean_or_Boolean_Boolean_Boolean_a); + AddToElementRepository("C$ClassifierBehavior", BehaviorPort_Operation_C_C_ClassifierBehavior); + AddToElementRepository("ObjectFlow137", BehaviorPort_Operation_C_C_ClassifierBehavior_ObjectFlow137); + AddToElementRepository("LiteralInteger138", BehaviorPort_Operation_C_C_ClassifierBehavior_ObjectFlow137_LiteralInteger138); + AddToElementRepository("LiteralBoolean139", BehaviorPort_Operation_C_C_ClassifierBehavior_ObjectFlow137_LiteralBoolean139); + AddToElementRepository("ControlFlow140", BehaviorPort_Operation_C_C_ClassifierBehavior_ControlFlow140); + AddToElementRepository("Fork result", BehaviorPort_Operation_C_C_ClassifierBehavior_Fork_result); + AddToElementRepository("ObjectFlow141", BehaviorPort_Operation_C_C_ClassifierBehavior_ObjectFlow141); + AddToElementRepository("LiteralInteger142", BehaviorPort_Operation_C_C_ClassifierBehavior_ObjectFlow141_LiteralInteger142); + AddToElementRepository("LiteralBoolean143", BehaviorPort_Operation_C_C_ClassifierBehavior_ObjectFlow141_LiteralBoolean143); + AddToElementRepository("ObjectFlow144", BehaviorPort_Operation_C_C_ClassifierBehavior_ObjectFlow144); + AddToElementRepository("LiteralBoolean145", BehaviorPort_Operation_C_C_ClassifierBehavior_ObjectFlow144_LiteralBoolean145); + AddToElementRepository("LiteralInteger146", BehaviorPort_Operation_C_C_ClassifierBehavior_ObjectFlow144_LiteralInteger146); + AddToElementRepository("InitialNode1", BehaviorPort_Operation_C_C_ClassifierBehavior_InitialNode1); + AddToElementRepository("ObjectFlow147", BehaviorPort_Operation_C_C_ClassifierBehavior_ObjectFlow147); + AddToElementRepository("LiteralBoolean148", BehaviorPort_Operation_C_C_ClassifierBehavior_ObjectFlow147_LiteralBoolean148); + AddToElementRepository("LiteralInteger149", BehaviorPort_Operation_C_C_ClassifierBehavior_ObjectFlow147_LiteralInteger149); + AddToElementRepository("Call Xor", BehaviorPort_Operation_C_C_ClassifierBehavior_Call_Xor); + AddToElementRepository("y", BehaviorPort_Operation_C_C_ClassifierBehavior_Call_Xor_y); + AddToElementRepository("LiteralInteger150", BehaviorPort_Operation_C_C_ClassifierBehavior_Call_Xor_y_LiteralInteger150); + AddToElementRepository("LiteralUnlimitedNatural151", BehaviorPort_Operation_C_C_ClassifierBehavior_Call_Xor_y_LiteralUnlimitedNatural151); + AddToElementRepository("result", BehaviorPort_Operation_C_C_ClassifierBehavior_Call_Xor_result); + AddToElementRepository("LiteralInteger152", BehaviorPort_Operation_C_C_ClassifierBehavior_Call_Xor_result_LiteralInteger152); + AddToElementRepository("LiteralInteger153", BehaviorPort_Operation_C_C_ClassifierBehavior_Call_Xor_result_LiteralInteger153); + AddToElementRepository("LiteralUnlimitedNatural154", BehaviorPort_Operation_C_C_ClassifierBehavior_Call_Xor_result_LiteralUnlimitedNatural154); + AddToElementRepository("x", BehaviorPort_Operation_C_C_ClassifierBehavior_Call_Xor_x); + AddToElementRepository("LiteralInteger155", BehaviorPort_Operation_C_C_ClassifierBehavior_Call_Xor_x_LiteralInteger155); + AddToElementRepository("LiteralUnlimitedNatural156", BehaviorPort_Operation_C_C_ClassifierBehavior_Call_Xor_x_LiteralUnlimitedNatural156); + AddToElementRepository("ObjectFlow157", BehaviorPort_Operation_C_C_ClassifierBehavior_ObjectFlow157); + AddToElementRepository("LiteralBoolean158", BehaviorPort_Operation_C_C_ClassifierBehavior_ObjectFlow157_LiteralBoolean158); + AddToElementRepository("LiteralInteger159", BehaviorPort_Operation_C_C_ClassifierBehavior_ObjectFlow157_LiteralInteger159); + AddToElementRepository("Accept or()", BehaviorPort_Operation_C_C_ClassifierBehavior_Accept_or_); + AddToElementRepository("b", BehaviorPort_Operation_C_C_ClassifierBehavior_Accept_or__b); + AddToElementRepository("LiteralInteger160", BehaviorPort_Operation_C_C_ClassifierBehavior_Accept_or__b_LiteralInteger160); + AddToElementRepository("returnInformation", BehaviorPort_Operation_C_C_ClassifierBehavior_Accept_or__returnInformation); + AddToElementRepository("a", BehaviorPort_Operation_C_C_ClassifierBehavior_Accept_or__a); + AddToElementRepository("LiteralInteger161", BehaviorPort_Operation_C_C_ClassifierBehavior_Accept_or__a_LiteralInteger161); + AddToElementRepository("CallEventOrTrigger", BehaviorPort_Operation_C_C_ClassifierBehavior_Accept_or__CallEventOrTrigger); + AddToElementRepository("Reply or()", BehaviorPort_Operation_C_C_ClassifierBehavior_Reply_or_); + AddToElementRepository("r", BehaviorPort_Operation_C_C_ClassifierBehavior_Reply_or__r); + AddToElementRepository("cr", BehaviorPort_Operation_C_C_ClassifierBehavior_Reply_or__cr); + AddToElementRepository("returnInformation", BehaviorPort_Operation_C_C_ClassifierBehavior_Reply_or__returnInformation); + AddToElementRepository("ObjectFlow162", BehaviorPort_Operation_C_C_ClassifierBehavior_ObjectFlow162); + AddToElementRepository("LiteralInteger163", BehaviorPort_Operation_C_C_ClassifierBehavior_ObjectFlow162_LiteralInteger163); + AddToElementRepository("LiteralBoolean164", BehaviorPort_Operation_C_C_ClassifierBehavior_ObjectFlow162_LiteralBoolean164); + AddToElementRepository("S", BehaviorPort_Operation_S); + AddToElementRepository("p", BehaviorPort_Operation_S_p); + AddToElementRepository("c", BehaviorPort_Operation_S_c); + AddToElementRepository("Connector1", BehaviorPort_Operation_S_Connector1); + AddToElementRepository("ConnectorEnd165", BehaviorPort_Operation_S_Connector1_ConnectorEnd165); + AddToElementRepository("ConnectorEnd166", BehaviorPort_Operation_S_Connector1_ConnectorEnd166); + AddToElementRepository("S_S", BehaviorPort_Operation_S_S_S); + AddToElementRepository("result", BehaviorPort_Operation_S_S_S_result); + AddToElementRepository("Start", BehaviorPort_Operation_Start); + AddToElementRepository("I_Usage_P", BehaviorPort_Operation_I_Usage_P); + AddToElementRepository("assertP", BehaviorPort_Operation_assertP); + AddToElementRepository("ObjectFlow167", BehaviorPort_Operation_assertP_ObjectFlow167); + AddToElementRepository("LiteralInteger168", BehaviorPort_Operation_assertP_ObjectFlow167_LiteralInteger168); + AddToElementRepository("LiteralBoolean169", BehaviorPort_Operation_assertP_ObjectFlow167_LiteralBoolean169); + AddToElementRepository("ControlFlow170", BehaviorPort_Operation_assertP_ControlFlow170); + AddToElementRepository("ObjectFlow171", BehaviorPort_Operation_assertP_ObjectFlow171); + AddToElementRepository("LiteralBoolean172", BehaviorPort_Operation_assertP_ObjectFlow171_LiteralBoolean172); + AddToElementRepository("LiteralInteger173", BehaviorPort_Operation_assertP_ObjectFlow171_LiteralInteger173); + AddToElementRepository("ObjectFlow174", BehaviorPort_Operation_assertP_ObjectFlow174); + AddToElementRepository("LiteralBoolean175", BehaviorPort_Operation_assertP_ObjectFlow174_LiteralBoolean175); + AddToElementRepository("LiteralInteger176", BehaviorPort_Operation_assertP_ObjectFlow174_LiteralInteger176); + AddToElementRepository("Fork p", BehaviorPort_Operation_assertP_Fork_p); + AddToElementRepository("test out", BehaviorPort_Operation_assertP_test_out); + AddToElementRepository("input", BehaviorPort_Operation_assertP_test_out_input); + AddToElementRepository("LiteralUnlimitedNatural177", BehaviorPort_Operation_assertP_test_out_input_LiteralUnlimitedNatural177); + AddToElementRepository("LiteralInteger178", BehaviorPort_Operation_assertP_test_out_input_LiteralInteger178); + AddToElementRepository("LiteralInteger179", BehaviorPort_Operation_assertP_test_out_input_LiteralInteger179); + AddToElementRepository("writeLine p.return", BehaviorPort_Operation_assertP_writeLine_p_return); + AddToElementRepository("errorStatus", BehaviorPort_Operation_assertP_writeLine_p_return_errorStatus); + AddToElementRepository("LiteralUnlimitedNatural180", BehaviorPort_Operation_assertP_writeLine_p_return_errorStatus_LiteralUnlimitedNatural180); + AddToElementRepository("LiteralInteger181", BehaviorPort_Operation_assertP_writeLine_p_return_errorStatus_LiteralInteger181); + AddToElementRepository("LiteralInteger182", BehaviorPort_Operation_assertP_writeLine_p_return_errorStatus_LiteralInteger182); + AddToElementRepository("value", BehaviorPort_Operation_assertP_writeLine_p_return_value); + AddToElementRepository("LiteralInteger183", BehaviorPort_Operation_assertP_writeLine_p_return_value_LiteralInteger183); + AddToElementRepository("LiteralUnlimitedNatural184", BehaviorPort_Operation_assertP_writeLine_p_return_value_LiteralUnlimitedNatural184); + AddToElementRepository("LiteralInteger185", BehaviorPort_Operation_assertP_writeLine_p_return_value_LiteralInteger185); + AddToElementRepository("writeLine p.out", BehaviorPort_Operation_assertP_writeLine_p_out); + AddToElementRepository("value", BehaviorPort_Operation_assertP_writeLine_p_out_value); + AddToElementRepository("LiteralUnlimitedNatural186", BehaviorPort_Operation_assertP_writeLine_p_out_value_LiteralUnlimitedNatural186); + AddToElementRepository("LiteralInteger187", BehaviorPort_Operation_assertP_writeLine_p_out_value_LiteralInteger187); + AddToElementRepository("LiteralInteger188", BehaviorPort_Operation_assertP_writeLine_p_out_value_LiteralInteger188); + AddToElementRepository("errorStatus", BehaviorPort_Operation_assertP_writeLine_p_out_errorStatus); + AddToElementRepository("LiteralUnlimitedNatural189", BehaviorPort_Operation_assertP_writeLine_p_out_errorStatus_LiteralUnlimitedNatural189); + AddToElementRepository("LiteralInteger190", BehaviorPort_Operation_assertP_writeLine_p_out_errorStatus_LiteralInteger190); + AddToElementRepository("LiteralInteger191", BehaviorPort_Operation_assertP_writeLine_p_out_errorStatus_LiteralInteger191); + AddToElementRepository("p.out", BehaviorPort_Operation_assertP_p_out); + AddToElementRepository("result", BehaviorPort_Operation_assertP_p_out_result); + AddToElementRepository("LiteralInteger192", BehaviorPort_Operation_assertP_p_out_result_LiteralInteger192); + AddToElementRepository("LiteralUnlimitedNatural193", BehaviorPort_Operation_assertP_p_out_result_LiteralUnlimitedNatural193); + AddToElementRepository("object", BehaviorPort_Operation_assertP_p_out_object); + AddToElementRepository("LiteralUnlimitedNatural194", BehaviorPort_Operation_assertP_p_out_object_LiteralUnlimitedNatural194); + AddToElementRepository("LiteralInteger195", BehaviorPort_Operation_assertP_p_out_object_LiteralInteger195); + AddToElementRepository("ControlFlow196", BehaviorPort_Operation_assertP_ControlFlow196); + AddToElementRepository("p", BehaviorPort_Operation_assertP_p); + AddToElementRepository("ControlFlow197", BehaviorPort_Operation_assertP_ControlFlow197); + AddToElementRepository("pParameterNode", BehaviorPort_Operation_assertP_pParameterNode); + AddToElementRepository("LiteralInteger198", BehaviorPort_Operation_assertP_pParameterNode_LiteralInteger198); + AddToElementRepository("test return", BehaviorPort_Operation_assertP_test_return); + AddToElementRepository("input", BehaviorPort_Operation_assertP_test_return_input); + AddToElementRepository("LiteralInteger199", BehaviorPort_Operation_assertP_test_return_input_LiteralInteger199); + AddToElementRepository("LiteralInteger200", BehaviorPort_Operation_assertP_test_return_input_LiteralInteger200); + AddToElementRepository("LiteralUnlimitedNatural201", BehaviorPort_Operation_assertP_test_return_input_LiteralUnlimitedNatural201); + AddToElementRepository("p.out message", BehaviorPort_Operation_assertP_p_out_message); + AddToElementRepository("LiteralString202", BehaviorPort_Operation_assertP_p_out_message_LiteralString202); + AddToElementRepository("result", BehaviorPort_Operation_assertP_p_out_message_result); + AddToElementRepository("LiteralUnlimitedNatural203", BehaviorPort_Operation_assertP_p_out_message_result_LiteralUnlimitedNatural203); + AddToElementRepository("LiteralInteger204", BehaviorPort_Operation_assertP_p_out_message_result_LiteralInteger204); + AddToElementRepository("p.return", BehaviorPort_Operation_assertP_p_return); + AddToElementRepository("object", BehaviorPort_Operation_assertP_p_return_object); + AddToElementRepository("LiteralInteger205", BehaviorPort_Operation_assertP_p_return_object_LiteralInteger205); + AddToElementRepository("LiteralUnlimitedNatural206", BehaviorPort_Operation_assertP_p_return_object_LiteralUnlimitedNatural206); + AddToElementRepository("result", BehaviorPort_Operation_assertP_p_return_result); + AddToElementRepository("LiteralUnlimitedNatural207", BehaviorPort_Operation_assertP_p_return_result_LiteralUnlimitedNatural207); + AddToElementRepository("LiteralInteger208", BehaviorPort_Operation_assertP_p_return_result_LiteralInteger208); + AddToElementRepository("ObjectFlow209", BehaviorPort_Operation_assertP_ObjectFlow209); + AddToElementRepository("LiteralBoolean210", BehaviorPort_Operation_assertP_ObjectFlow209_LiteralBoolean210); + AddToElementRepository("LiteralInteger211", BehaviorPort_Operation_assertP_ObjectFlow209_LiteralInteger211); + AddToElementRepository("ControlFlow212", BehaviorPort_Operation_assertP_ControlFlow212); + AddToElementRepository("p.return message", BehaviorPort_Operation_assertP_p_return_message); + AddToElementRepository("LiteralString213", BehaviorPort_Operation_assertP_p_return_message_LiteralString213); + AddToElementRepository("result", BehaviorPort_Operation_assertP_p_return_message_result); + AddToElementRepository("LiteralUnlimitedNatural214", BehaviorPort_Operation_assertP_p_return_message_result_LiteralUnlimitedNatural214); + AddToElementRepository("LiteralInteger215", BehaviorPort_Operation_assertP_p_return_message_result_LiteralInteger215); + AddToElementRepository("ObjectFlow216", BehaviorPort_Operation_assertP_ObjectFlow216); + AddToElementRepository("LiteralBoolean217", BehaviorPort_Operation_assertP_ObjectFlow216_LiteralBoolean217); + AddToElementRepository("LiteralInteger218", BehaviorPort_Operation_assertP_ObjectFlow216_LiteralInteger218); + AddToElementRepository("ControlFlow219", BehaviorPort_Operation_assertP_ControlFlow219); + AddToElementRepository("ObjectFlow220", BehaviorPort_Operation_assertP_ObjectFlow220); + AddToElementRepository("LiteralInteger221", BehaviorPort_Operation_assertP_ObjectFlow220_LiteralInteger221); + AddToElementRepository("LiteralBoolean222", BehaviorPort_Operation_assertP_ObjectFlow220_LiteralBoolean222); + AddToElementRepository("testFalse", BehaviorPort_Operation_assertP_testFalse); + AddToElementRepository("input", BehaviorPort_Operation_assertP_testFalse_input); + AddToElementRepository("ObjectFlow223", BehaviorPort_Operation_assertP_ObjectFlow223); + AddToElementRepository("LiteralBoolean224", BehaviorPort_Operation_assertP_ObjectFlow223_LiteralBoolean224); + AddToElementRepository("LiteralInteger225", BehaviorPort_Operation_assertP_ObjectFlow223_LiteralInteger225); + + // Initialize public members + /* + * Model BehaviorPort_Operation + */ + BehaviorPort_Operation.SetName("BehaviorPort_Operation"); + BehaviorPort_Operation.SetVisibility(VisibilityKind.public_); + // CallEvent CallEventOr + BehaviorPort_Operation_CallEventOr.SetName("CallEventOr"); + BehaviorPort_Operation_CallEventOr.SetVisibility(VisibilityKind.public_); + BehaviorPort_Operation_CallEventOr.SetOperation(BehaviorPort_Operation_C_Boolean_or_Boolean_Boolean_Boolean); + BehaviorPort_Operation.AddPackagedElement(BehaviorPort_Operation_CallEventOr); + // Interface I + BehaviorPort_Operation_I.SetName("I"); + BehaviorPort_Operation_I.SetVisibility(VisibilityKind.public_); + // Operation Boolean_or_Boolean_Boolean_Boolean + BehaviorPort_Operation_I_Boolean_or_Boolean_Boolean_Boolean.SetName("Boolean_or_Boolean_Boolean_Boolean"); + BehaviorPort_Operation_I_Boolean_or_Boolean_Boolean_Boolean.SetVisibility(VisibilityKind.public_); + // Parameter a + BehaviorPort_Operation_I_Boolean_or_Boolean_Boolean_Boolean_a.SetName("a"); + BehaviorPort_Operation_I_Boolean_or_Boolean_Boolean_Boolean_a.SetVisibility(VisibilityKind.public_); + + BehaviorPort_Operation_I_Boolean_or_Boolean_Boolean_Boolean_a.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Boolean); + BehaviorPort_Operation_I_Boolean_or_Boolean_Boolean_Boolean.AddOwnedParameter(BehaviorPort_Operation_I_Boolean_or_Boolean_Boolean_Boolean_a); + // Parameter b + BehaviorPort_Operation_I_Boolean_or_Boolean_Boolean_Boolean_b.SetName("b"); + BehaviorPort_Operation_I_Boolean_or_Boolean_Boolean_Boolean_b.SetVisibility(VisibilityKind.public_); + + BehaviorPort_Operation_I_Boolean_or_Boolean_Boolean_Boolean_b.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Boolean); + BehaviorPort_Operation_I_Boolean_or_Boolean_Boolean_Boolean.AddOwnedParameter(BehaviorPort_Operation_I_Boolean_or_Boolean_Boolean_Boolean_b); + // Parameter c + BehaviorPort_Operation_I_Boolean_or_Boolean_Boolean_Boolean_c.SetName("c"); + BehaviorPort_Operation_I_Boolean_or_Boolean_Boolean_Boolean_c.SetVisibility(VisibilityKind.public_); + + BehaviorPort_Operation_I_Boolean_or_Boolean_Boolean_Boolean_c.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Boolean); + BehaviorPort_Operation_I_Boolean_or_Boolean_Boolean_Boolean_c.SetDirection(ParameterDirectionKind.out_); + BehaviorPort_Operation_I_Boolean_or_Boolean_Boolean_Boolean.AddOwnedParameter(BehaviorPort_Operation_I_Boolean_or_Boolean_Boolean_Boolean_c); + // Parameter result + BehaviorPort_Operation_I_Boolean_or_Boolean_Boolean_Boolean_result.SetName("result"); + BehaviorPort_Operation_I_Boolean_or_Boolean_Boolean_Boolean_result.SetVisibility(VisibilityKind.public_); + + BehaviorPort_Operation_I_Boolean_or_Boolean_Boolean_Boolean_result.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Boolean); + BehaviorPort_Operation_I_Boolean_or_Boolean_Boolean_Boolean_result.SetDirection(ParameterDirectionKind.return_); + BehaviorPort_Operation_I_Boolean_or_Boolean_Boolean_Boolean.AddOwnedParameter(BehaviorPort_Operation_I_Boolean_or_Boolean_Boolean_Boolean_result); + BehaviorPort_Operation_I.AddOwnedOperation(BehaviorPort_Operation_I_Boolean_or_Boolean_Boolean_Boolean); + BehaviorPort_Operation.AddPackagedElement(BehaviorPort_Operation_I); + // SignalEvent SignalEventStart + BehaviorPort_Operation_SignalEventStart.SetName("SignalEventStart"); + BehaviorPort_Operation_SignalEventStart.SetVisibility(VisibilityKind.public_); + BehaviorPort_Operation_SignalEventStart.SetSignal(BehaviorPort_Operation_Start); + BehaviorPort_Operation.AddPackagedElement(BehaviorPort_Operation_SignalEventStart); + // Class P + BehaviorPort_Operation_P.SetName("P"); + BehaviorPort_Operation_P.SetVisibility(VisibilityKind.public_); + + // Property out + BehaviorPort_Operation_P_out.SetName("out"); + BehaviorPort_Operation_P_out.SetVisibility(VisibilityKind.public_); + BehaviorPort_Operation_P_out.SetLower(0); + BehaviorPort_Operation_P_out.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Boolean); + BehaviorPort_Operation_P.AddOwnedAttribute(BehaviorPort_Operation_P_out); + // Property return + BehaviorPort_Operation_P_return.SetName("return"); + BehaviorPort_Operation_P_return.SetVisibility(VisibilityKind.public_); + BehaviorPort_Operation_P_return.SetLower(0); + BehaviorPort_Operation_P_return.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Boolean); + BehaviorPort_Operation_P.AddOwnedAttribute(BehaviorPort_Operation_P_return); + // Port pp + BehaviorPort_Operation_P_pp.SetName("pp"); + BehaviorPort_Operation_P_pp.SetVisibility(VisibilityKind.public_); + + BehaviorPort_Operation_P_pp.SetType(BehaviorPort_Operation_I); + BehaviorPort_Operation_P_pp.SetAggregation(AggregationKind.composite); + BehaviorPort_Operation_P_pp.isConjugated = true;; + BehaviorPort_Operation_P_pp.isService = true; + BehaviorPort_Operation_P_pp.AddRequired(BehaviorPort_Operation_I); + BehaviorPort_Operation_P.AddOwnedAttribute(BehaviorPort_Operation_P_pp); + BehaviorPort_Operation_P.SetClassifierBehavior(BehaviorPort_Operation_P_P_ClassifierBehavior); + // Activity P$ClassifierBehavior + BehaviorPort_Operation_P_P_ClassifierBehavior.SetName("P$ClassifierBehavior"); + BehaviorPort_Operation_P_P_ClassifierBehavior.SetVisibility(VisibilityKind.public_); + + BehaviorPort_Operation_P_P_ClassifierBehavior.isReentrant = false; + // CallOperationAction Call or() via pp + BehaviorPort_Operation_P_P_ClassifierBehavior_Call_or_via_pp.SetName("Call or() via pp"); + BehaviorPort_Operation_P_P_ClassifierBehavior_Call_or_via_pp.SetVisibility(VisibilityKind.public_); + BehaviorPort_Operation_P_P_ClassifierBehavior_Call_or_via_pp.SetOnPort(BehaviorPort_Operation_P_pp); + + // OutputPin c + BehaviorPort_Operation_P_P_ClassifierBehavior_Call_or_via_pp_c.SetName("c"); + BehaviorPort_Operation_P_P_ClassifierBehavior_Call_or_via_pp_c.SetVisibility(VisibilityKind.public_); + BehaviorPort_Operation_P_P_ClassifierBehavior_Call_or_via_pp_c.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Boolean); + BehaviorPort_Operation_P_P_ClassifierBehavior_Call_or_via_pp.AddResult(BehaviorPort_Operation_P_P_ClassifierBehavior_Call_or_via_pp_c); + // OutputPin result + BehaviorPort_Operation_P_P_ClassifierBehavior_Call_or_via_pp_result.SetName("result"); + BehaviorPort_Operation_P_P_ClassifierBehavior_Call_or_via_pp_result.SetVisibility(VisibilityKind.public_); + BehaviorPort_Operation_P_P_ClassifierBehavior_Call_or_via_pp_result.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Boolean); + BehaviorPort_Operation_P_P_ClassifierBehavior_Call_or_via_pp.AddResult(BehaviorPort_Operation_P_P_ClassifierBehavior_Call_or_via_pp_result); + BehaviorPort_Operation_P_P_ClassifierBehavior_Call_or_via_pp.SetOperation(BehaviorPort_Operation_I_Boolean_or_Boolean_Boolean_Boolean); + // InputPin target + BehaviorPort_Operation_P_P_ClassifierBehavior_Call_or_via_pp_target.SetName("target"); + BehaviorPort_Operation_P_P_ClassifierBehavior_Call_or_via_pp_target.SetVisibility(VisibilityKind.public_); + BehaviorPort_Operation_P_P_ClassifierBehavior_Call_or_via_pp.SetTarget(BehaviorPort_Operation_P_P_ClassifierBehavior_Call_or_via_pp_target); + // InputPin a + BehaviorPort_Operation_P_P_ClassifierBehavior_Call_or_via_pp_a.SetName("a"); + BehaviorPort_Operation_P_P_ClassifierBehavior_Call_or_via_pp_a.SetVisibility(VisibilityKind.public_); + BehaviorPort_Operation_P_P_ClassifierBehavior_Call_or_via_pp_a.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Boolean); + BehaviorPort_Operation_P_P_ClassifierBehavior_Call_or_via_pp.AddArgument(BehaviorPort_Operation_P_P_ClassifierBehavior_Call_or_via_pp_a); + // InputPin b + BehaviorPort_Operation_P_P_ClassifierBehavior_Call_or_via_pp_b.SetName("b"); + BehaviorPort_Operation_P_P_ClassifierBehavior_Call_or_via_pp_b.SetVisibility(VisibilityKind.public_); + BehaviorPort_Operation_P_P_ClassifierBehavior_Call_or_via_pp_b.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Boolean); + BehaviorPort_Operation_P_P_ClassifierBehavior_Call_or_via_pp.AddArgument(BehaviorPort_Operation_P_P_ClassifierBehavior_Call_or_via_pp_b); + BehaviorPort_Operation_P_P_ClassifierBehavior.AddNode(BehaviorPort_Operation_P_P_ClassifierBehavior_Call_or_via_pp); + // ForkNode ForkNode1 + BehaviorPort_Operation_P_P_ClassifierBehavior_ForkNode1.SetName("ForkNode1"); + BehaviorPort_Operation_P_P_ClassifierBehavior_ForkNode1.SetVisibility(VisibilityKind.public_); + BehaviorPort_Operation_P_P_ClassifierBehavior.AddNode(BehaviorPort_Operation_P_P_ClassifierBehavior_ForkNode1); + // ReadSelfAction this + BehaviorPort_Operation_P_P_ClassifierBehavior_this.SetName("this"); + BehaviorPort_Operation_P_P_ClassifierBehavior_this.SetVisibility(VisibilityKind.public_); + // OutputPin p + BehaviorPort_Operation_P_P_ClassifierBehavior_this_p.SetName("p"); + BehaviorPort_Operation_P_P_ClassifierBehavior_this_p.SetVisibility(VisibilityKind.public_); + BehaviorPort_Operation_P_P_ClassifierBehavior_this_p.SetType(BehaviorPort_Operation_P); + BehaviorPort_Operation_P_P_ClassifierBehavior_this.SetResult(BehaviorPort_Operation_P_P_ClassifierBehavior_this_p); + BehaviorPort_Operation_P_P_ClassifierBehavior.AddNode(BehaviorPort_Operation_P_P_ClassifierBehavior_this); + // ForkNode ForkNode2 + BehaviorPort_Operation_P_P_ClassifierBehavior_ForkNode2.SetName("ForkNode2"); + BehaviorPort_Operation_P_P_ClassifierBehavior_ForkNode2.SetVisibility(VisibilityKind.public_); + BehaviorPort_Operation_P_P_ClassifierBehavior.AddNode(BehaviorPort_Operation_P_P_ClassifierBehavior_ForkNode2); + // InitialNode InitialNode1 + BehaviorPort_Operation_P_P_ClassifierBehavior_InitialNode1.SetName("InitialNode1"); + BehaviorPort_Operation_P_P_ClassifierBehavior_InitialNode1.SetVisibility(VisibilityKind.public_); + BehaviorPort_Operation_P_P_ClassifierBehavior.AddNode(BehaviorPort_Operation_P_P_ClassifierBehavior_InitialNode1); + // AddStructuralFeatureValueAction set out + BehaviorPort_Operation_P_P_ClassifierBehavior_set_out.SetName("set out"); + BehaviorPort_Operation_P_P_ClassifierBehavior_set_out.SetVisibility(VisibilityKind.public_); + BehaviorPort_Operation_P_P_ClassifierBehavior_set_out.SetStructuralFeature(BehaviorPort_Operation_P_out); + // InputPin object + BehaviorPort_Operation_P_P_ClassifierBehavior_set_out_object.SetName("object"); + BehaviorPort_Operation_P_P_ClassifierBehavior_set_out_object.SetVisibility(VisibilityKind.public_); + BehaviorPort_Operation_P_P_ClassifierBehavior_set_out_object.SetType(BehaviorPort_Operation_P); + BehaviorPort_Operation_P_P_ClassifierBehavior_set_out.SetObject(BehaviorPort_Operation_P_P_ClassifierBehavior_set_out_object); + // InputPin value + BehaviorPort_Operation_P_P_ClassifierBehavior_set_out_value.SetName("value"); + BehaviorPort_Operation_P_P_ClassifierBehavior_set_out_value.SetVisibility(VisibilityKind.public_); + BehaviorPort_Operation_P_P_ClassifierBehavior_set_out_value.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Boolean); + BehaviorPort_Operation_P_P_ClassifierBehavior_set_out.SetValue(BehaviorPort_Operation_P_P_ClassifierBehavior_set_out_value); + // OutputPin result + BehaviorPort_Operation_P_P_ClassifierBehavior_set_out_result.SetName("result"); + BehaviorPort_Operation_P_P_ClassifierBehavior_set_out_result.SetVisibility(VisibilityKind.public_); + BehaviorPort_Operation_P_P_ClassifierBehavior_set_out_result.SetType(BehaviorPort_Operation_P); + BehaviorPort_Operation_P_P_ClassifierBehavior_set_out.SetResult(BehaviorPort_Operation_P_P_ClassifierBehavior_set_out_result); + BehaviorPort_Operation_P_P_ClassifierBehavior_set_out.SetIsReplaceAll(true); + BehaviorPort_Operation_P_P_ClassifierBehavior.AddNode(BehaviorPort_Operation_P_P_ClassifierBehavior_set_out); + // AcceptEventAction Accept Start + BehaviorPort_Operation_P_P_ClassifierBehavior_Accept_Start.SetName("Accept Start"); + BehaviorPort_Operation_P_P_ClassifierBehavior_Accept_Start.SetVisibility(VisibilityKind.package_); + // OutputPin result + BehaviorPort_Operation_P_P_ClassifierBehavior_Accept_Start_result.SetName("result"); + BehaviorPort_Operation_P_P_ClassifierBehavior_Accept_Start_result.SetVisibility(VisibilityKind.public_); + BehaviorPort_Operation_P_P_ClassifierBehavior_Accept_Start_result.SetType(BehaviorPort_Operation_Start); + BehaviorPort_Operation_P_P_ClassifierBehavior_Accept_Start.AddResult(BehaviorPort_Operation_P_P_ClassifierBehavior_Accept_Start_result); + // Trigger SignalEventStartTrigger + BehaviorPort_Operation_P_P_ClassifierBehavior_Accept_Start_SignalEventStartTrigger.SetName("SignalEventStartTrigger"); + BehaviorPort_Operation_P_P_ClassifierBehavior_Accept_Start_SignalEventStartTrigger.SetVisibility(VisibilityKind.public_); + BehaviorPort_Operation_P_P_ClassifierBehavior_Accept_Start_SignalEventStartTrigger.SetEvent(BehaviorPort_Operation_SignalEventStart); + BehaviorPort_Operation_P_P_ClassifierBehavior_Accept_Start.AddTrigger(BehaviorPort_Operation_P_P_ClassifierBehavior_Accept_Start_SignalEventStartTrigger); + BehaviorPort_Operation_P_P_ClassifierBehavior.AddNode(BehaviorPort_Operation_P_P_ClassifierBehavior_Accept_Start); + // ValueSpecificationAction true + BehaviorPort_Operation_P_P_ClassifierBehavior_true.SetName("true"); + BehaviorPort_Operation_P_P_ClassifierBehavior_true.SetVisibility(VisibilityKind.public_); + // LiteralBoolean LiteralBoolean49 + BehaviorPort_Operation_P_P_ClassifierBehavior_true_LiteralBoolean49.SetName("LiteralBoolean49"); + BehaviorPort_Operation_P_P_ClassifierBehavior_true_LiteralBoolean49.SetVisibility(VisibilityKind.public_); + BehaviorPort_Operation_P_P_ClassifierBehavior_true_LiteralBoolean49.SetValue(true); + BehaviorPort_Operation_P_P_ClassifierBehavior_true.SetValue(BehaviorPort_Operation_P_P_ClassifierBehavior_true_LiteralBoolean49); + // OutputPin result + BehaviorPort_Operation_P_P_ClassifierBehavior_true_result.SetName("result"); + BehaviorPort_Operation_P_P_ClassifierBehavior_true_result.SetVisibility(VisibilityKind.public_); + BehaviorPort_Operation_P_P_ClassifierBehavior_true_result.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Boolean); + BehaviorPort_Operation_P_P_ClassifierBehavior_true.SetResult(BehaviorPort_Operation_P_P_ClassifierBehavior_true_result); + BehaviorPort_Operation_P_P_ClassifierBehavior.AddNode(BehaviorPort_Operation_P_P_ClassifierBehavior_true); + // AddStructuralFeatureValueAction set return + BehaviorPort_Operation_P_P_ClassifierBehavior_set_return.SetName("set return"); + BehaviorPort_Operation_P_P_ClassifierBehavior_set_return.SetVisibility(VisibilityKind.public_); + BehaviorPort_Operation_P_P_ClassifierBehavior_set_return.SetStructuralFeature(BehaviorPort_Operation_P_return); + // InputPin object + BehaviorPort_Operation_P_P_ClassifierBehavior_set_return_object.SetName("object"); + BehaviorPort_Operation_P_P_ClassifierBehavior_set_return_object.SetVisibility(VisibilityKind.public_); + BehaviorPort_Operation_P_P_ClassifierBehavior_set_return_object.SetType(BehaviorPort_Operation_P); + BehaviorPort_Operation_P_P_ClassifierBehavior_set_return.SetObject(BehaviorPort_Operation_P_P_ClassifierBehavior_set_return_object); + // InputPin value + BehaviorPort_Operation_P_P_ClassifierBehavior_set_return_value.SetName("value"); + BehaviorPort_Operation_P_P_ClassifierBehavior_set_return_value.SetVisibility(VisibilityKind.public_); + BehaviorPort_Operation_P_P_ClassifierBehavior_set_return_value.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Boolean); + BehaviorPort_Operation_P_P_ClassifierBehavior_set_return.SetValue(BehaviorPort_Operation_P_P_ClassifierBehavior_set_return_value); + // OutputPin result + BehaviorPort_Operation_P_P_ClassifierBehavior_set_return_result.SetName("result"); + BehaviorPort_Operation_P_P_ClassifierBehavior_set_return_result.SetVisibility(VisibilityKind.public_); + BehaviorPort_Operation_P_P_ClassifierBehavior_set_return_result.SetType(BehaviorPort_Operation_P); + BehaviorPort_Operation_P_P_ClassifierBehavior_set_return.SetResult(BehaviorPort_Operation_P_P_ClassifierBehavior_set_return_result); + BehaviorPort_Operation_P_P_ClassifierBehavior.AddNode(BehaviorPort_Operation_P_P_ClassifierBehavior_set_return); + // ObjectFlow ObjectFlow0 from ForkNode2 to b + BehaviorPort_Operation_P_P_ClassifierBehavior_ObjectFlow0.SetName("ObjectFlow0"); + BehaviorPort_Operation_P_P_ClassifierBehavior_ObjectFlow0.SetVisibility(VisibilityKind.public_); + + BehaviorPort_Operation_P_P_ClassifierBehavior_ObjectFlow0.SetSource(BehaviorPort_Operation_P_P_ClassifierBehavior_ForkNode2); + BehaviorPort_Operation_P_P_ClassifierBehavior_ObjectFlow0.SetTarget(BehaviorPort_Operation_P_P_ClassifierBehavior_Call_or_via_pp_b); + // LiteralBoolean LiteralBoolean1 + BehaviorPort_Operation_P_P_ClassifierBehavior_ObjectFlow0_LiteralBoolean1.SetName("LiteralBoolean1"); + BehaviorPort_Operation_P_P_ClassifierBehavior_ObjectFlow0_LiteralBoolean1.SetVisibility(VisibilityKind.public_); + BehaviorPort_Operation_P_P_ClassifierBehavior_ObjectFlow0_LiteralBoolean1.SetValue(true); + BehaviorPort_Operation_P_P_ClassifierBehavior_ObjectFlow0.SetGuard(BehaviorPort_Operation_P_P_ClassifierBehavior_ObjectFlow0_LiteralBoolean1); + BehaviorPort_Operation_P_P_ClassifierBehavior.AddEdge(BehaviorPort_Operation_P_P_ClassifierBehavior_ObjectFlow0); + // ObjectFlow ObjectFlow37 from result to ForkNode2 + BehaviorPort_Operation_P_P_ClassifierBehavior_ObjectFlow37.SetName("ObjectFlow37"); + BehaviorPort_Operation_P_P_ClassifierBehavior_ObjectFlow37.SetVisibility(VisibilityKind.public_); + + BehaviorPort_Operation_P_P_ClassifierBehavior_ObjectFlow37.SetSource(BehaviorPort_Operation_P_P_ClassifierBehavior_true_result); + BehaviorPort_Operation_P_P_ClassifierBehavior_ObjectFlow37.SetTarget(BehaviorPort_Operation_P_P_ClassifierBehavior_ForkNode2); + // LiteralBoolean LiteralBoolean39 + BehaviorPort_Operation_P_P_ClassifierBehavior_ObjectFlow37_LiteralBoolean39.SetName("LiteralBoolean39"); + BehaviorPort_Operation_P_P_ClassifierBehavior_ObjectFlow37_LiteralBoolean39.SetVisibility(VisibilityKind.public_); + BehaviorPort_Operation_P_P_ClassifierBehavior_ObjectFlow37_LiteralBoolean39.SetValue(true); + BehaviorPort_Operation_P_P_ClassifierBehavior_ObjectFlow37.SetGuard(BehaviorPort_Operation_P_P_ClassifierBehavior_ObjectFlow37_LiteralBoolean39); + BehaviorPort_Operation_P_P_ClassifierBehavior.AddEdge(BehaviorPort_Operation_P_P_ClassifierBehavior_ObjectFlow37); + // ControlFlow ControlFlow40 from Accept Start to this + BehaviorPort_Operation_P_P_ClassifierBehavior_ControlFlow40.SetName("ControlFlow40"); + BehaviorPort_Operation_P_P_ClassifierBehavior_ControlFlow40.SetVisibility(VisibilityKind.public_); + + BehaviorPort_Operation_P_P_ClassifierBehavior_ControlFlow40.SetSource(BehaviorPort_Operation_P_P_ClassifierBehavior_Accept_Start); + BehaviorPort_Operation_P_P_ClassifierBehavior_ControlFlow40.SetTarget(BehaviorPort_Operation_P_P_ClassifierBehavior_this); + BehaviorPort_Operation_P_P_ClassifierBehavior.AddEdge(BehaviorPort_Operation_P_P_ClassifierBehavior_ControlFlow40); + // ObjectFlow ObjectFlow3 from ForkNode1 to object + BehaviorPort_Operation_P_P_ClassifierBehavior_ObjectFlow3.SetName("ObjectFlow3"); + BehaviorPort_Operation_P_P_ClassifierBehavior_ObjectFlow3.SetVisibility(VisibilityKind.public_); + + BehaviorPort_Operation_P_P_ClassifierBehavior_ObjectFlow3.SetSource(BehaviorPort_Operation_P_P_ClassifierBehavior_ForkNode1); + BehaviorPort_Operation_P_P_ClassifierBehavior_ObjectFlow3.SetTarget(BehaviorPort_Operation_P_P_ClassifierBehavior_set_return_object); + // LiteralBoolean LiteralBoolean5 + BehaviorPort_Operation_P_P_ClassifierBehavior_ObjectFlow3_LiteralBoolean5.SetName("LiteralBoolean5"); + BehaviorPort_Operation_P_P_ClassifierBehavior_ObjectFlow3_LiteralBoolean5.SetVisibility(VisibilityKind.public_); + BehaviorPort_Operation_P_P_ClassifierBehavior_ObjectFlow3_LiteralBoolean5.SetValue(true); + BehaviorPort_Operation_P_P_ClassifierBehavior_ObjectFlow3.SetGuard(BehaviorPort_Operation_P_P_ClassifierBehavior_ObjectFlow3_LiteralBoolean5); + BehaviorPort_Operation_P_P_ClassifierBehavior.AddEdge(BehaviorPort_Operation_P_P_ClassifierBehavior_ObjectFlow3); + // ObjectFlow ObjectFlow41 from p to ForkNode1 + BehaviorPort_Operation_P_P_ClassifierBehavior_ObjectFlow41.SetName("ObjectFlow41"); + BehaviorPort_Operation_P_P_ClassifierBehavior_ObjectFlow41.SetVisibility(VisibilityKind.public_); + + BehaviorPort_Operation_P_P_ClassifierBehavior_ObjectFlow41.SetSource(BehaviorPort_Operation_P_P_ClassifierBehavior_this_p); + BehaviorPort_Operation_P_P_ClassifierBehavior_ObjectFlow41.SetTarget(BehaviorPort_Operation_P_P_ClassifierBehavior_ForkNode1); + // LiteralBoolean LiteralBoolean43 + BehaviorPort_Operation_P_P_ClassifierBehavior_ObjectFlow41_LiteralBoolean43.SetName("LiteralBoolean43"); + BehaviorPort_Operation_P_P_ClassifierBehavior_ObjectFlow41_LiteralBoolean43.SetVisibility(VisibilityKind.public_); + BehaviorPort_Operation_P_P_ClassifierBehavior_ObjectFlow41_LiteralBoolean43.SetValue(true); + BehaviorPort_Operation_P_P_ClassifierBehavior_ObjectFlow41.SetGuard(BehaviorPort_Operation_P_P_ClassifierBehavior_ObjectFlow41_LiteralBoolean43); + BehaviorPort_Operation_P_P_ClassifierBehavior.AddEdge(BehaviorPort_Operation_P_P_ClassifierBehavior_ObjectFlow41); + // ControlFlow ControlFlow6 from InitialNode1 to Accept Start + BehaviorPort_Operation_P_P_ClassifierBehavior_ControlFlow6.SetName("ControlFlow6"); + BehaviorPort_Operation_P_P_ClassifierBehavior_ControlFlow6.SetVisibility(VisibilityKind.public_); + + BehaviorPort_Operation_P_P_ClassifierBehavior_ControlFlow6.SetSource(BehaviorPort_Operation_P_P_ClassifierBehavior_InitialNode1); + BehaviorPort_Operation_P_P_ClassifierBehavior_ControlFlow6.SetTarget(BehaviorPort_Operation_P_P_ClassifierBehavior_Accept_Start); + BehaviorPort_Operation_P_P_ClassifierBehavior.AddEdge(BehaviorPort_Operation_P_P_ClassifierBehavior_ControlFlow6); + // ObjectFlow ObjectFlow7 from ForkNode2 to a + BehaviorPort_Operation_P_P_ClassifierBehavior_ObjectFlow7.SetName("ObjectFlow7"); + BehaviorPort_Operation_P_P_ClassifierBehavior_ObjectFlow7.SetVisibility(VisibilityKind.public_); + + BehaviorPort_Operation_P_P_ClassifierBehavior_ObjectFlow7.SetSource(BehaviorPort_Operation_P_P_ClassifierBehavior_ForkNode2); + BehaviorPort_Operation_P_P_ClassifierBehavior_ObjectFlow7.SetTarget(BehaviorPort_Operation_P_P_ClassifierBehavior_Call_or_via_pp_a); + // LiteralBoolean LiteralBoolean9 + BehaviorPort_Operation_P_P_ClassifierBehavior_ObjectFlow7_LiteralBoolean9.SetName("LiteralBoolean9"); + BehaviorPort_Operation_P_P_ClassifierBehavior_ObjectFlow7_LiteralBoolean9.SetVisibility(VisibilityKind.public_); + BehaviorPort_Operation_P_P_ClassifierBehavior_ObjectFlow7_LiteralBoolean9.SetValue(true); + BehaviorPort_Operation_P_P_ClassifierBehavior_ObjectFlow7.SetGuard(BehaviorPort_Operation_P_P_ClassifierBehavior_ObjectFlow7_LiteralBoolean9); + BehaviorPort_Operation_P_P_ClassifierBehavior.AddEdge(BehaviorPort_Operation_P_P_ClassifierBehavior_ObjectFlow7); + // ObjectFlow ObjectFlow10 from ForkNode1 to object + BehaviorPort_Operation_P_P_ClassifierBehavior_ObjectFlow10.SetName("ObjectFlow10"); + BehaviorPort_Operation_P_P_ClassifierBehavior_ObjectFlow10.SetVisibility(VisibilityKind.public_); + + BehaviorPort_Operation_P_P_ClassifierBehavior_ObjectFlow10.SetSource(BehaviorPort_Operation_P_P_ClassifierBehavior_ForkNode1); + BehaviorPort_Operation_P_P_ClassifierBehavior_ObjectFlow10.SetTarget(BehaviorPort_Operation_P_P_ClassifierBehavior_set_out_object); + // LiteralBoolean LiteralBoolean11 + BehaviorPort_Operation_P_P_ClassifierBehavior_ObjectFlow10_LiteralBoolean11.SetName("LiteralBoolean11"); + BehaviorPort_Operation_P_P_ClassifierBehavior_ObjectFlow10_LiteralBoolean11.SetVisibility(VisibilityKind.public_); + BehaviorPort_Operation_P_P_ClassifierBehavior_ObjectFlow10_LiteralBoolean11.SetValue(true); + BehaviorPort_Operation_P_P_ClassifierBehavior_ObjectFlow10.SetGuard(BehaviorPort_Operation_P_P_ClassifierBehavior_ObjectFlow10_LiteralBoolean11); + BehaviorPort_Operation_P_P_ClassifierBehavior.AddEdge(BehaviorPort_Operation_P_P_ClassifierBehavior_ObjectFlow10); + // ObjectFlow ObjectFlow19 from ForkNode1 to target + BehaviorPort_Operation_P_P_ClassifierBehavior_ObjectFlow19.SetName("ObjectFlow19"); + BehaviorPort_Operation_P_P_ClassifierBehavior_ObjectFlow19.SetVisibility(VisibilityKind.public_); + + BehaviorPort_Operation_P_P_ClassifierBehavior_ObjectFlow19.SetSource(BehaviorPort_Operation_P_P_ClassifierBehavior_ForkNode1); + BehaviorPort_Operation_P_P_ClassifierBehavior_ObjectFlow19.SetTarget(BehaviorPort_Operation_P_P_ClassifierBehavior_Call_or_via_pp_target); + // LiteralBoolean LiteralBoolean21 + BehaviorPort_Operation_P_P_ClassifierBehavior_ObjectFlow19_LiteralBoolean21.SetName("LiteralBoolean21"); + BehaviorPort_Operation_P_P_ClassifierBehavior_ObjectFlow19_LiteralBoolean21.SetVisibility(VisibilityKind.public_); + BehaviorPort_Operation_P_P_ClassifierBehavior_ObjectFlow19_LiteralBoolean21.SetValue(true); + BehaviorPort_Operation_P_P_ClassifierBehavior_ObjectFlow19.SetGuard(BehaviorPort_Operation_P_P_ClassifierBehavior_ObjectFlow19_LiteralBoolean21); + BehaviorPort_Operation_P_P_ClassifierBehavior.AddEdge(BehaviorPort_Operation_P_P_ClassifierBehavior_ObjectFlow19); + // ObjectFlow ObjectFlow22 from result to value + BehaviorPort_Operation_P_P_ClassifierBehavior_ObjectFlow22.SetName("ObjectFlow22"); + BehaviorPort_Operation_P_P_ClassifierBehavior_ObjectFlow22.SetVisibility(VisibilityKind.public_); + + BehaviorPort_Operation_P_P_ClassifierBehavior_ObjectFlow22.SetSource(BehaviorPort_Operation_P_P_ClassifierBehavior_Call_or_via_pp_result); + BehaviorPort_Operation_P_P_ClassifierBehavior_ObjectFlow22.SetTarget(BehaviorPort_Operation_P_P_ClassifierBehavior_set_return_value); + // LiteralBoolean LiteralBoolean23 + BehaviorPort_Operation_P_P_ClassifierBehavior_ObjectFlow22_LiteralBoolean23.SetName("LiteralBoolean23"); + BehaviorPort_Operation_P_P_ClassifierBehavior_ObjectFlow22_LiteralBoolean23.SetVisibility(VisibilityKind.public_); + BehaviorPort_Operation_P_P_ClassifierBehavior_ObjectFlow22_LiteralBoolean23.SetValue(true); + BehaviorPort_Operation_P_P_ClassifierBehavior_ObjectFlow22.SetGuard(BehaviorPort_Operation_P_P_ClassifierBehavior_ObjectFlow22_LiteralBoolean23); + BehaviorPort_Operation_P_P_ClassifierBehavior.AddEdge(BehaviorPort_Operation_P_P_ClassifierBehavior_ObjectFlow22); + // ObjectFlow ObjectFlow56 from c to value + BehaviorPort_Operation_P_P_ClassifierBehavior_ObjectFlow56.SetName("ObjectFlow56"); + BehaviorPort_Operation_P_P_ClassifierBehavior_ObjectFlow56.SetVisibility(VisibilityKind.public_); + + BehaviorPort_Operation_P_P_ClassifierBehavior_ObjectFlow56.SetSource(BehaviorPort_Operation_P_P_ClassifierBehavior_Call_or_via_pp_c); + BehaviorPort_Operation_P_P_ClassifierBehavior_ObjectFlow56.SetTarget(BehaviorPort_Operation_P_P_ClassifierBehavior_set_out_value); + // LiteralBoolean LiteralBoolean58 + BehaviorPort_Operation_P_P_ClassifierBehavior_ObjectFlow56_LiteralBoolean58.SetName("LiteralBoolean58"); + BehaviorPort_Operation_P_P_ClassifierBehavior_ObjectFlow56_LiteralBoolean58.SetVisibility(VisibilityKind.public_); + BehaviorPort_Operation_P_P_ClassifierBehavior_ObjectFlow56_LiteralBoolean58.SetValue(true); + BehaviorPort_Operation_P_P_ClassifierBehavior_ObjectFlow56.SetGuard(BehaviorPort_Operation_P_P_ClassifierBehavior_ObjectFlow56_LiteralBoolean58); + BehaviorPort_Operation_P_P_ClassifierBehavior.AddEdge(BehaviorPort_Operation_P_P_ClassifierBehavior_ObjectFlow56); + BehaviorPort_Operation_P.AddOwnedBehavior(BehaviorPort_Operation_P_P_ClassifierBehavior); + // Activity P_Factory + BehaviorPort_Operation_P_P_Factory.SetName("P_Factory"); + BehaviorPort_Operation_P_P_Factory.SetVisibility(VisibilityKind.public_); + + // Parameter result + BehaviorPort_Operation_P_P_Factory_result.SetName("result"); + BehaviorPort_Operation_P_P_Factory_result.SetVisibility(VisibilityKind.public_); + + BehaviorPort_Operation_P_P_Factory_result.SetType(BehaviorPort_Operation_P); + BehaviorPort_Operation_P_P_Factory_result.SetDirection(ParameterDirectionKind.return_); + BehaviorPort_Operation_P_P_Factory.AddOwnedParameter(BehaviorPort_Operation_P_P_Factory_result); + // CreateObjectAction Create P + BehaviorPort_Operation_P_P_Factory_Create_P.SetName("Create P"); + BehaviorPort_Operation_P_P_Factory_Create_P.SetVisibility(VisibilityKind.public_); + BehaviorPort_Operation_P_P_Factory_Create_P.SetClassifier(BehaviorPort_Operation_P); + // OutputPin result + BehaviorPort_Operation_P_P_Factory_Create_P_result.SetName("result"); + BehaviorPort_Operation_P_P_Factory_Create_P_result.SetVisibility(VisibilityKind.public_); + BehaviorPort_Operation_P_P_Factory_Create_P_result.SetType(BehaviorPort_Operation_P); + BehaviorPort_Operation_P_P_Factory_Create_P.SetResult(BehaviorPort_Operation_P_P_Factory_Create_P_result); + BehaviorPort_Operation_P_P_Factory.AddNode(BehaviorPort_Operation_P_P_Factory_Create_P); + // CallOperationAction P() + BehaviorPort_Operation_P_P_Factory_P_.SetName("P()"); + BehaviorPort_Operation_P_P_Factory_P_.SetVisibility(VisibilityKind.public_); + + // OutputPin result + BehaviorPort_Operation_P_P_Factory_P__result.SetName("result"); + BehaviorPort_Operation_P_P_Factory_P__result.SetVisibility(VisibilityKind.public_); + BehaviorPort_Operation_P_P_Factory_P__result.SetType(BehaviorPort_Operation_P); + BehaviorPort_Operation_P_P_Factory_P_.AddResult(BehaviorPort_Operation_P_P_Factory_P__result); + BehaviorPort_Operation_P_P_Factory_P_.SetOperation(BehaviorPort_Operation_P_P_P); + // InputPin target + BehaviorPort_Operation_P_P_Factory_P__target.SetName("target"); + BehaviorPort_Operation_P_P_Factory_P__target.SetVisibility(VisibilityKind.public_); + BehaviorPort_Operation_P_P_Factory_P__target.SetType(BehaviorPort_Operation_P); + BehaviorPort_Operation_P_P_Factory_P_.SetTarget(BehaviorPort_Operation_P_P_Factory_P__target); + BehaviorPort_Operation_P_P_Factory.AddNode(BehaviorPort_Operation_P_P_Factory_P_); + // ActivityParameterNode resultParameterNode + BehaviorPort_Operation_P_P_Factory_resultParameterNode.SetName("resultParameterNode"); + BehaviorPort_Operation_P_P_Factory_resultParameterNode.SetVisibility(VisibilityKind.public_); + + BehaviorPort_Operation_P_P_Factory_resultParameterNode.SetParameter(BehaviorPort_Operation_P_P_Factory_result); + BehaviorPort_Operation_P_P_Factory.AddNode(BehaviorPort_Operation_P_P_Factory_resultParameterNode); + // StartObjectBehaviorAction Start classifierBehavior + BehaviorPort_Operation_P_P_Factory_Start_classifierBehavior.SetName("Start classifierBehavior"); + BehaviorPort_Operation_P_P_Factory_Start_classifierBehavior.SetVisibility(VisibilityKind.public_); + // InputPin object + BehaviorPort_Operation_P_P_Factory_Start_classifierBehavior_object.SetName("object"); + BehaviorPort_Operation_P_P_Factory_Start_classifierBehavior_object.SetVisibility(VisibilityKind.public_); + BehaviorPort_Operation_P_P_Factory_Start_classifierBehavior_object.SetType(BehaviorPort_Operation_P); + BehaviorPort_Operation_P_P_Factory_Start_classifierBehavior.SetObject(BehaviorPort_Operation_P_P_Factory_Start_classifierBehavior_object); + BehaviorPort_Operation_P_P_Factory.AddNode(BehaviorPort_Operation_P_P_Factory_Start_classifierBehavior); + // ForkNode Fork object + BehaviorPort_Operation_P_P_Factory_Fork_object.SetName("Fork object"); + BehaviorPort_Operation_P_P_Factory_Fork_object.SetVisibility(VisibilityKind.public_); + BehaviorPort_Operation_P_P_Factory.AddNode(BehaviorPort_Operation_P_P_Factory_Fork_object); + // ObjectFlow ObjectFlow59 from Fork object to resultParameterNode + BehaviorPort_Operation_P_P_Factory_ObjectFlow59.SetName("ObjectFlow59"); + BehaviorPort_Operation_P_P_Factory_ObjectFlow59.SetVisibility(VisibilityKind.public_); + + BehaviorPort_Operation_P_P_Factory_ObjectFlow59.SetSource(BehaviorPort_Operation_P_P_Factory_Fork_object); + BehaviorPort_Operation_P_P_Factory_ObjectFlow59.SetTarget(BehaviorPort_Operation_P_P_Factory_resultParameterNode); + // LiteralBoolean LiteralBoolean61 + BehaviorPort_Operation_P_P_Factory_ObjectFlow59_LiteralBoolean61.SetName("LiteralBoolean61"); + BehaviorPort_Operation_P_P_Factory_ObjectFlow59_LiteralBoolean61.SetVisibility(VisibilityKind.public_); + BehaviorPort_Operation_P_P_Factory_ObjectFlow59_LiteralBoolean61.SetValue(true); + BehaviorPort_Operation_P_P_Factory_ObjectFlow59.SetGuard(BehaviorPort_Operation_P_P_Factory_ObjectFlow59_LiteralBoolean61); + BehaviorPort_Operation_P_P_Factory.AddEdge(BehaviorPort_Operation_P_P_Factory_ObjectFlow59); + // ObjectFlow ObjectFlow64 from result to target + BehaviorPort_Operation_P_P_Factory_ObjectFlow64.SetName("ObjectFlow64"); + BehaviorPort_Operation_P_P_Factory_ObjectFlow64.SetVisibility(VisibilityKind.public_); + + BehaviorPort_Operation_P_P_Factory_ObjectFlow64.SetSource(BehaviorPort_Operation_P_P_Factory_Create_P_result); + BehaviorPort_Operation_P_P_Factory_ObjectFlow64.SetTarget(BehaviorPort_Operation_P_P_Factory_P__target); + // LiteralBoolean LiteralBoolean66 + BehaviorPort_Operation_P_P_Factory_ObjectFlow64_LiteralBoolean66.SetName("LiteralBoolean66"); + BehaviorPort_Operation_P_P_Factory_ObjectFlow64_LiteralBoolean66.SetVisibility(VisibilityKind.public_); + BehaviorPort_Operation_P_P_Factory_ObjectFlow64_LiteralBoolean66.SetValue(true); + BehaviorPort_Operation_P_P_Factory_ObjectFlow64.SetGuard(BehaviorPort_Operation_P_P_Factory_ObjectFlow64_LiteralBoolean66); + BehaviorPort_Operation_P_P_Factory.AddEdge(BehaviorPort_Operation_P_P_Factory_ObjectFlow64); + // ObjectFlow ObjectFlow72 from result to Fork object + BehaviorPort_Operation_P_P_Factory_ObjectFlow72.SetName("ObjectFlow72"); + BehaviorPort_Operation_P_P_Factory_ObjectFlow72.SetVisibility(VisibilityKind.public_); + + BehaviorPort_Operation_P_P_Factory_ObjectFlow72.SetSource(BehaviorPort_Operation_P_P_Factory_P__result); + BehaviorPort_Operation_P_P_Factory_ObjectFlow72.SetTarget(BehaviorPort_Operation_P_P_Factory_Fork_object); + // LiteralBoolean LiteralBoolean73 + BehaviorPort_Operation_P_P_Factory_ObjectFlow72_LiteralBoolean73.SetName("LiteralBoolean73"); + BehaviorPort_Operation_P_P_Factory_ObjectFlow72_LiteralBoolean73.SetVisibility(VisibilityKind.public_); + BehaviorPort_Operation_P_P_Factory_ObjectFlow72_LiteralBoolean73.SetValue(true); + BehaviorPort_Operation_P_P_Factory_ObjectFlow72.SetGuard(BehaviorPort_Operation_P_P_Factory_ObjectFlow72_LiteralBoolean73); + BehaviorPort_Operation_P_P_Factory.AddEdge(BehaviorPort_Operation_P_P_Factory_ObjectFlow72); + // ObjectFlow ObjectFlow78 from Fork object to object + BehaviorPort_Operation_P_P_Factory_ObjectFlow78.SetName("ObjectFlow78"); + BehaviorPort_Operation_P_P_Factory_ObjectFlow78.SetVisibility(VisibilityKind.public_); + + BehaviorPort_Operation_P_P_Factory_ObjectFlow78.SetSource(BehaviorPort_Operation_P_P_Factory_Fork_object); + BehaviorPort_Operation_P_P_Factory_ObjectFlow78.SetTarget(BehaviorPort_Operation_P_P_Factory_Start_classifierBehavior_object); + // LiteralBoolean LiteralBoolean79 + BehaviorPort_Operation_P_P_Factory_ObjectFlow78_LiteralBoolean79.SetName("LiteralBoolean79"); + BehaviorPort_Operation_P_P_Factory_ObjectFlow78_LiteralBoolean79.SetVisibility(VisibilityKind.public_); + BehaviorPort_Operation_P_P_Factory_ObjectFlow78_LiteralBoolean79.SetValue(true); + BehaviorPort_Operation_P_P_Factory_ObjectFlow78.SetGuard(BehaviorPort_Operation_P_P_Factory_ObjectFlow78_LiteralBoolean79); + BehaviorPort_Operation_P_P_Factory.AddEdge(BehaviorPort_Operation_P_P_Factory_ObjectFlow78); + BehaviorPort_Operation_P.AddOwnedBehavior(BehaviorPort_Operation_P_P_Factory); + + BehaviorPort_Operation_P.SetIsActive(true); + // Operation P_P + BehaviorPort_Operation_P_P_P.SetName("P_P"); + BehaviorPort_Operation_P_P_P.SetVisibility(VisibilityKind.public_); + // Parameter result + BehaviorPort_Operation_P_P_P_result.SetName("result"); + BehaviorPort_Operation_P_P_P_result.SetVisibility(VisibilityKind.public_); + + BehaviorPort_Operation_P_P_P_result.SetType(BehaviorPort_Operation_P); + BehaviorPort_Operation_P_P_P_result.SetDirection(ParameterDirectionKind.return_); + BehaviorPort_Operation_P_P_P.AddOwnedParameter(BehaviorPort_Operation_P_P_P_result); + BehaviorPort_Operation_P_P_P.ApplyStereotype(uml.standardprofile.StandardProfileModel.Instance().Stereotype_Create); + BehaviorPort_Operation_P.AddOwnedOperation(BehaviorPort_Operation_P_P_P); + // Reception Start + BehaviorPort_Operation_P_Start.SetName("Start"); + BehaviorPort_Operation_P_Start.SetVisibility(VisibilityKind.public_); + BehaviorPort_Operation_P_Start.SetSignal(BehaviorPort_Operation_Start); + BehaviorPort_Operation_P.AddOwnedReception(BehaviorPort_Operation_P_Start); + BehaviorPort_Operation.AddPackagedElement(BehaviorPort_Operation_P); + // Activity main + BehaviorPort_Operation_main.SetName("main"); + BehaviorPort_Operation_main.SetVisibility(VisibilityKind.public_); + // ReadStructuralFeatureAction s.p + BehaviorPort_Operation_main_s_p.SetName("s.p"); + BehaviorPort_Operation_main_s_p.SetVisibility(VisibilityKind.public_); + BehaviorPort_Operation_main_s_p.SetStructuralFeature(BehaviorPort_Operation_S_p); + // InputPin s + BehaviorPort_Operation_main_s_p_s.SetName("s"); + BehaviorPort_Operation_main_s_p_s.SetVisibility(VisibilityKind.public_); + BehaviorPort_Operation_main_s_p_s.SetType(BehaviorPort_Operation_S); + BehaviorPort_Operation_main_s_p.SetObject(BehaviorPort_Operation_main_s_p_s); + // OutputPin result + BehaviorPort_Operation_main_s_p_result.SetName("result"); + BehaviorPort_Operation_main_s_p_result.SetVisibility(VisibilityKind.public_); + BehaviorPort_Operation_main_s_p_result.SetType(BehaviorPort_Operation_P); + BehaviorPort_Operation_main_s_p.SetResult(BehaviorPort_Operation_main_s_p_result); + BehaviorPort_Operation_main.AddNode(BehaviorPort_Operation_main_s_p); + // CreateObjectAction Create S + BehaviorPort_Operation_main_Create_S.SetName("Create S"); + BehaviorPort_Operation_main_Create_S.SetVisibility(VisibilityKind.public_); + BehaviorPort_Operation_main_Create_S.SetClassifier(BehaviorPort_Operation_S); + // OutputPin result + BehaviorPort_Operation_main_Create_S_result.SetName("result"); + BehaviorPort_Operation_main_Create_S_result.SetVisibility(VisibilityKind.public_); + BehaviorPort_Operation_main_Create_S_result.SetType(BehaviorPort_Operation_S); + BehaviorPort_Operation_main_Create_S.SetResult(BehaviorPort_Operation_main_Create_S_result); + BehaviorPort_Operation_main.AddNode(BehaviorPort_Operation_main_Create_S); + // CallBehaviorAction assertP + BehaviorPort_Operation_main_assertP.SetName("assertP"); + BehaviorPort_Operation_main_assertP.SetVisibility(VisibilityKind.public_); + BehaviorPort_Operation_main_assertP.SetBehavior(BehaviorPort_Operation_assertP); + // InputPin p + BehaviorPort_Operation_main_assertP_p.SetName("p"); + BehaviorPort_Operation_main_assertP_p.SetVisibility(VisibilityKind.public_); + BehaviorPort_Operation_main_assertP_p.SetType(BehaviorPort_Operation_P); + BehaviorPort_Operation_main_assertP.AddArgument(BehaviorPort_Operation_main_assertP_p); + BehaviorPort_Operation_main.AddNode(BehaviorPort_Operation_main_assertP); + // SendSignalAction Send Start + BehaviorPort_Operation_main_Send_Start.SetName("Send Start"); + BehaviorPort_Operation_main_Send_Start.SetVisibility(VisibilityKind.public_); + BehaviorPort_Operation_main_Send_Start.SetSignal(BehaviorPort_Operation_Start); + // InputPin target + BehaviorPort_Operation_main_Send_Start_target.SetName("target"); + BehaviorPort_Operation_main_Send_Start_target.SetVisibility(VisibilityKind.public_); + BehaviorPort_Operation_main_Send_Start_target.SetType(BehaviorPort_Operation_P); + BehaviorPort_Operation_main_Send_Start.SetTarget(BehaviorPort_Operation_main_Send_Start_target); + BehaviorPort_Operation_main.AddNode(BehaviorPort_Operation_main_Send_Start); + // ForkNode Fork s.p + BehaviorPort_Operation_main_Fork_s_p.SetName("Fork s.p"); + BehaviorPort_Operation_main_Fork_s_p.SetVisibility(VisibilityKind.public_); + BehaviorPort_Operation_main.AddNode(BehaviorPort_Operation_main_Fork_s_p); + // CallOperationAction S() + BehaviorPort_Operation_main_S_.SetName("S()"); + BehaviorPort_Operation_main_S_.SetVisibility(VisibilityKind.public_); + + // OutputPin result + BehaviorPort_Operation_main_S__result.SetName("result"); + BehaviorPort_Operation_main_S__result.SetVisibility(VisibilityKind.public_); + BehaviorPort_Operation_main_S__result.SetType(BehaviorPort_Operation_S); + BehaviorPort_Operation_main_S_.AddResult(BehaviorPort_Operation_main_S__result); + BehaviorPort_Operation_main_S_.SetOperation(BehaviorPort_Operation_S_S_S); + // InputPin target + BehaviorPort_Operation_main_S__target.SetName("target"); + BehaviorPort_Operation_main_S__target.SetVisibility(VisibilityKind.public_); + BehaviorPort_Operation_main_S__target.SetType(BehaviorPort_Operation_S); + BehaviorPort_Operation_main_S_.SetTarget(BehaviorPort_Operation_main_S__target); + BehaviorPort_Operation_main.AddNode(BehaviorPort_Operation_main_S_); + // ControlFlow ControlFlow83 from Send Start to assertP + BehaviorPort_Operation_main_ControlFlow83.SetName("ControlFlow83"); + BehaviorPort_Operation_main_ControlFlow83.SetVisibility(VisibilityKind.public_); + + BehaviorPort_Operation_main_ControlFlow83.SetSource(BehaviorPort_Operation_main_Send_Start); + BehaviorPort_Operation_main_ControlFlow83.SetTarget(BehaviorPort_Operation_main_assertP); + BehaviorPort_Operation_main.AddEdge(BehaviorPort_Operation_main_ControlFlow83); + // ObjectFlow ObjectFlow93 from result to target + BehaviorPort_Operation_main_ObjectFlow93.SetName("ObjectFlow93"); + BehaviorPort_Operation_main_ObjectFlow93.SetVisibility(VisibilityKind.public_); + + BehaviorPort_Operation_main_ObjectFlow93.SetSource(BehaviorPort_Operation_main_Create_S_result); + BehaviorPort_Operation_main_ObjectFlow93.SetTarget(BehaviorPort_Operation_main_S__target); + // LiteralBoolean LiteralBoolean95 + BehaviorPort_Operation_main_ObjectFlow93_LiteralBoolean95.SetName("LiteralBoolean95"); + BehaviorPort_Operation_main_ObjectFlow93_LiteralBoolean95.SetVisibility(VisibilityKind.public_); + BehaviorPort_Operation_main_ObjectFlow93_LiteralBoolean95.SetValue(true); + BehaviorPort_Operation_main_ObjectFlow93.SetGuard(BehaviorPort_Operation_main_ObjectFlow93_LiteralBoolean95); + BehaviorPort_Operation_main.AddEdge(BehaviorPort_Operation_main_ObjectFlow93); + // ObjectFlow ObjectFlow98 from result to Fork s.p + BehaviorPort_Operation_main_ObjectFlow98.SetName("ObjectFlow98"); + BehaviorPort_Operation_main_ObjectFlow98.SetVisibility(VisibilityKind.public_); + + BehaviorPort_Operation_main_ObjectFlow98.SetSource(BehaviorPort_Operation_main_s_p_result); + BehaviorPort_Operation_main_ObjectFlow98.SetTarget(BehaviorPort_Operation_main_Fork_s_p); + // LiteralBoolean LiteralBoolean100 + BehaviorPort_Operation_main_ObjectFlow98_LiteralBoolean100.SetName("LiteralBoolean100"); + BehaviorPort_Operation_main_ObjectFlow98_LiteralBoolean100.SetVisibility(VisibilityKind.public_); + BehaviorPort_Operation_main_ObjectFlow98_LiteralBoolean100.SetValue(true); + BehaviorPort_Operation_main_ObjectFlow98.SetGuard(BehaviorPort_Operation_main_ObjectFlow98_LiteralBoolean100); + BehaviorPort_Operation_main.AddEdge(BehaviorPort_Operation_main_ObjectFlow98); + // ObjectFlow ObjectFlow101 from result to s + BehaviorPort_Operation_main_ObjectFlow101.SetName("ObjectFlow101"); + BehaviorPort_Operation_main_ObjectFlow101.SetVisibility(VisibilityKind.public_); + + BehaviorPort_Operation_main_ObjectFlow101.SetSource(BehaviorPort_Operation_main_S__result); + BehaviorPort_Operation_main_ObjectFlow101.SetTarget(BehaviorPort_Operation_main_s_p_s); + // LiteralBoolean LiteralBoolean103 + BehaviorPort_Operation_main_ObjectFlow101_LiteralBoolean103.SetName("LiteralBoolean103"); + BehaviorPort_Operation_main_ObjectFlow101_LiteralBoolean103.SetVisibility(VisibilityKind.public_); + BehaviorPort_Operation_main_ObjectFlow101_LiteralBoolean103.SetValue(true); + BehaviorPort_Operation_main_ObjectFlow101.SetGuard(BehaviorPort_Operation_main_ObjectFlow101_LiteralBoolean103); + BehaviorPort_Operation_main.AddEdge(BehaviorPort_Operation_main_ObjectFlow101); + // ObjectFlow ObjectFlow104 from Fork s.p to target + BehaviorPort_Operation_main_ObjectFlow104.SetName("ObjectFlow104"); + BehaviorPort_Operation_main_ObjectFlow104.SetVisibility(VisibilityKind.public_); + + BehaviorPort_Operation_main_ObjectFlow104.SetSource(BehaviorPort_Operation_main_Fork_s_p); + BehaviorPort_Operation_main_ObjectFlow104.SetTarget(BehaviorPort_Operation_main_Send_Start_target); + // LiteralBoolean LiteralBoolean105 + BehaviorPort_Operation_main_ObjectFlow104_LiteralBoolean105.SetName("LiteralBoolean105"); + BehaviorPort_Operation_main_ObjectFlow104_LiteralBoolean105.SetVisibility(VisibilityKind.public_); + BehaviorPort_Operation_main_ObjectFlow104_LiteralBoolean105.SetValue(true); + BehaviorPort_Operation_main_ObjectFlow104.SetGuard(BehaviorPort_Operation_main_ObjectFlow104_LiteralBoolean105); + BehaviorPort_Operation_main.AddEdge(BehaviorPort_Operation_main_ObjectFlow104); + // ObjectFlow ObjectFlow107 from Fork s.p to p + BehaviorPort_Operation_main_ObjectFlow107.SetName("ObjectFlow107"); + BehaviorPort_Operation_main_ObjectFlow107.SetVisibility(VisibilityKind.public_); + + BehaviorPort_Operation_main_ObjectFlow107.SetSource(BehaviorPort_Operation_main_Fork_s_p); + BehaviorPort_Operation_main_ObjectFlow107.SetTarget(BehaviorPort_Operation_main_assertP_p); + // LiteralBoolean LiteralBoolean109 + BehaviorPort_Operation_main_ObjectFlow107_LiteralBoolean109.SetName("LiteralBoolean109"); + BehaviorPort_Operation_main_ObjectFlow107_LiteralBoolean109.SetVisibility(VisibilityKind.public_); + BehaviorPort_Operation_main_ObjectFlow107_LiteralBoolean109.SetValue(true); + BehaviorPort_Operation_main_ObjectFlow107.SetGuard(BehaviorPort_Operation_main_ObjectFlow107_LiteralBoolean109); + BehaviorPort_Operation_main.AddEdge(BehaviorPort_Operation_main_ObjectFlow107); + BehaviorPort_Operation.AddPackagedElement(BehaviorPort_Operation_main); + // Class C + BehaviorPort_Operation_C.SetName("C"); + BehaviorPort_Operation_C.SetVisibility(VisibilityKind.public_); + + // Port pc + BehaviorPort_Operation_C_pc.SetName("pc"); + BehaviorPort_Operation_C_pc.SetVisibility(VisibilityKind.public_); + + BehaviorPort_Operation_C_pc.SetType(BehaviorPort_Operation_I); + BehaviorPort_Operation_C_pc.SetAggregation(AggregationKind.composite); + BehaviorPort_Operation_C_pc.isBehavior = true; + BehaviorPort_Operation_C_pc.isService = true; + BehaviorPort_Operation_C_pc.AddProvided(BehaviorPort_Operation_I); + BehaviorPort_Operation_C.AddOwnedAttribute(BehaviorPort_Operation_C_pc); + BehaviorPort_Operation_C.SetClassifierBehavior(BehaviorPort_Operation_C_C_ClassifierBehavior); + // Activity C_Factory + BehaviorPort_Operation_C_C_Factory.SetName("C_Factory"); + BehaviorPort_Operation_C_C_Factory.SetVisibility(VisibilityKind.public_); + + // Parameter result + BehaviorPort_Operation_C_C_Factory_result.SetName("result"); + BehaviorPort_Operation_C_C_Factory_result.SetVisibility(VisibilityKind.public_); + + BehaviorPort_Operation_C_C_Factory_result.SetType(BehaviorPort_Operation_C); + BehaviorPort_Operation_C_C_Factory_result.SetDirection(ParameterDirectionKind.return_); + BehaviorPort_Operation_C_C_Factory.AddOwnedParameter(BehaviorPort_Operation_C_C_Factory_result); + // ForkNode Fork object + BehaviorPort_Operation_C_C_Factory_Fork_object.SetName("Fork object"); + BehaviorPort_Operation_C_C_Factory_Fork_object.SetVisibility(VisibilityKind.public_); + BehaviorPort_Operation_C_C_Factory.AddNode(BehaviorPort_Operation_C_C_Factory_Fork_object); + // CreateObjectAction Create C + BehaviorPort_Operation_C_C_Factory_Create_C.SetName("Create C"); + BehaviorPort_Operation_C_C_Factory_Create_C.SetVisibility(VisibilityKind.public_); + BehaviorPort_Operation_C_C_Factory_Create_C.SetClassifier(BehaviorPort_Operation_C); + // OutputPin result + BehaviorPort_Operation_C_C_Factory_Create_C_result.SetName("result"); + BehaviorPort_Operation_C_C_Factory_Create_C_result.SetVisibility(VisibilityKind.public_); + BehaviorPort_Operation_C_C_Factory_Create_C_result.SetType(BehaviorPort_Operation_C); + BehaviorPort_Operation_C_C_Factory_Create_C.SetResult(BehaviorPort_Operation_C_C_Factory_Create_C_result); + BehaviorPort_Operation_C_C_Factory.AddNode(BehaviorPort_Operation_C_C_Factory_Create_C); + // StartObjectBehaviorAction Start classifierBehavior + BehaviorPort_Operation_C_C_Factory_Start_classifierBehavior.SetName("Start classifierBehavior"); + BehaviorPort_Operation_C_C_Factory_Start_classifierBehavior.SetVisibility(VisibilityKind.public_); + // InputPin object + BehaviorPort_Operation_C_C_Factory_Start_classifierBehavior_object.SetName("object"); + BehaviorPort_Operation_C_C_Factory_Start_classifierBehavior_object.SetVisibility(VisibilityKind.public_); + BehaviorPort_Operation_C_C_Factory_Start_classifierBehavior_object.SetType(BehaviorPort_Operation_C); + BehaviorPort_Operation_C_C_Factory_Start_classifierBehavior.SetObject(BehaviorPort_Operation_C_C_Factory_Start_classifierBehavior_object); + BehaviorPort_Operation_C_C_Factory.AddNode(BehaviorPort_Operation_C_C_Factory_Start_classifierBehavior); + // ActivityParameterNode resultParameterNode + BehaviorPort_Operation_C_C_Factory_resultParameterNode.SetName("resultParameterNode"); + BehaviorPort_Operation_C_C_Factory_resultParameterNode.SetVisibility(VisibilityKind.public_); + + BehaviorPort_Operation_C_C_Factory_resultParameterNode.SetParameter(BehaviorPort_Operation_C_C_Factory_result); + BehaviorPort_Operation_C_C_Factory.AddNode(BehaviorPort_Operation_C_C_Factory_resultParameterNode); + // CallOperationAction C() + BehaviorPort_Operation_C_C_Factory_C_.SetName("C()"); + BehaviorPort_Operation_C_C_Factory_C_.SetVisibility(VisibilityKind.public_); + + // OutputPin result + BehaviorPort_Operation_C_C_Factory_C__result.SetName("result"); + BehaviorPort_Operation_C_C_Factory_C__result.SetVisibility(VisibilityKind.public_); + BehaviorPort_Operation_C_C_Factory_C__result.SetType(BehaviorPort_Operation_C); + BehaviorPort_Operation_C_C_Factory_C_.AddResult(BehaviorPort_Operation_C_C_Factory_C__result); + BehaviorPort_Operation_C_C_Factory_C_.SetOperation(BehaviorPort_Operation_C_C_C); + // InputPin target + BehaviorPort_Operation_C_C_Factory_C__target.SetName("target"); + BehaviorPort_Operation_C_C_Factory_C__target.SetVisibility(VisibilityKind.public_); + BehaviorPort_Operation_C_C_Factory_C__target.SetType(BehaviorPort_Operation_C); + BehaviorPort_Operation_C_C_Factory_C_.SetTarget(BehaviorPort_Operation_C_C_Factory_C__target); + BehaviorPort_Operation_C_C_Factory.AddNode(BehaviorPort_Operation_C_C_Factory_C_); + // ObjectFlow ObjectFlow115 from result to Fork object + BehaviorPort_Operation_C_C_Factory_ObjectFlow115.SetName("ObjectFlow115"); + BehaviorPort_Operation_C_C_Factory_ObjectFlow115.SetVisibility(VisibilityKind.public_); + + BehaviorPort_Operation_C_C_Factory_ObjectFlow115.SetSource(BehaviorPort_Operation_C_C_Factory_C__result); + BehaviorPort_Operation_C_C_Factory_ObjectFlow115.SetTarget(BehaviorPort_Operation_C_C_Factory_Fork_object); + // LiteralBoolean LiteralBoolean116 + BehaviorPort_Operation_C_C_Factory_ObjectFlow115_LiteralBoolean116.SetName("LiteralBoolean116"); + BehaviorPort_Operation_C_C_Factory_ObjectFlow115_LiteralBoolean116.SetVisibility(VisibilityKind.public_); + BehaviorPort_Operation_C_C_Factory_ObjectFlow115_LiteralBoolean116.SetValue(true); + BehaviorPort_Operation_C_C_Factory_ObjectFlow115.SetGuard(BehaviorPort_Operation_C_C_Factory_ObjectFlow115_LiteralBoolean116); + BehaviorPort_Operation_C_C_Factory.AddEdge(BehaviorPort_Operation_C_C_Factory_ObjectFlow115); + // ObjectFlow ObjectFlow118 from Fork object to resultParameterNode + BehaviorPort_Operation_C_C_Factory_ObjectFlow118.SetName("ObjectFlow118"); + BehaviorPort_Operation_C_C_Factory_ObjectFlow118.SetVisibility(VisibilityKind.public_); + + BehaviorPort_Operation_C_C_Factory_ObjectFlow118.SetSource(BehaviorPort_Operation_C_C_Factory_Fork_object); + BehaviorPort_Operation_C_C_Factory_ObjectFlow118.SetTarget(BehaviorPort_Operation_C_C_Factory_resultParameterNode); + // LiteralBoolean LiteralBoolean119 + BehaviorPort_Operation_C_C_Factory_ObjectFlow118_LiteralBoolean119.SetName("LiteralBoolean119"); + BehaviorPort_Operation_C_C_Factory_ObjectFlow118_LiteralBoolean119.SetVisibility(VisibilityKind.public_); + BehaviorPort_Operation_C_C_Factory_ObjectFlow118_LiteralBoolean119.SetValue(true); + BehaviorPort_Operation_C_C_Factory_ObjectFlow118.SetGuard(BehaviorPort_Operation_C_C_Factory_ObjectFlow118_LiteralBoolean119); + BehaviorPort_Operation_C_C_Factory.AddEdge(BehaviorPort_Operation_C_C_Factory_ObjectFlow118); + // ObjectFlow ObjectFlow121 from Fork object to object + BehaviorPort_Operation_C_C_Factory_ObjectFlow121.SetName("ObjectFlow121"); + BehaviorPort_Operation_C_C_Factory_ObjectFlow121.SetVisibility(VisibilityKind.public_); + + BehaviorPort_Operation_C_C_Factory_ObjectFlow121.SetSource(BehaviorPort_Operation_C_C_Factory_Fork_object); + BehaviorPort_Operation_C_C_Factory_ObjectFlow121.SetTarget(BehaviorPort_Operation_C_C_Factory_Start_classifierBehavior_object); + // LiteralBoolean LiteralBoolean122 + BehaviorPort_Operation_C_C_Factory_ObjectFlow121_LiteralBoolean122.SetName("LiteralBoolean122"); + BehaviorPort_Operation_C_C_Factory_ObjectFlow121_LiteralBoolean122.SetVisibility(VisibilityKind.public_); + BehaviorPort_Operation_C_C_Factory_ObjectFlow121_LiteralBoolean122.SetValue(true); + BehaviorPort_Operation_C_C_Factory_ObjectFlow121.SetGuard(BehaviorPort_Operation_C_C_Factory_ObjectFlow121_LiteralBoolean122); + BehaviorPort_Operation_C_C_Factory.AddEdge(BehaviorPort_Operation_C_C_Factory_ObjectFlow121); + // ObjectFlow ObjectFlow128 from result to target + BehaviorPort_Operation_C_C_Factory_ObjectFlow128.SetName("ObjectFlow128"); + BehaviorPort_Operation_C_C_Factory_ObjectFlow128.SetVisibility(VisibilityKind.public_); + + BehaviorPort_Operation_C_C_Factory_ObjectFlow128.SetSource(BehaviorPort_Operation_C_C_Factory_Create_C_result); + BehaviorPort_Operation_C_C_Factory_ObjectFlow128.SetTarget(BehaviorPort_Operation_C_C_Factory_C__target); + // LiteralBoolean LiteralBoolean130 + BehaviorPort_Operation_C_C_Factory_ObjectFlow128_LiteralBoolean130.SetName("LiteralBoolean130"); + BehaviorPort_Operation_C_C_Factory_ObjectFlow128_LiteralBoolean130.SetVisibility(VisibilityKind.public_); + BehaviorPort_Operation_C_C_Factory_ObjectFlow128_LiteralBoolean130.SetValue(true); + BehaviorPort_Operation_C_C_Factory_ObjectFlow128.SetGuard(BehaviorPort_Operation_C_C_Factory_ObjectFlow128_LiteralBoolean130); + BehaviorPort_Operation_C_C_Factory.AddEdge(BehaviorPort_Operation_C_C_Factory_ObjectFlow128); + BehaviorPort_Operation_C.AddOwnedBehavior(BehaviorPort_Operation_C_C_Factory); + // Activity C$ClassifierBehavior + BehaviorPort_Operation_C_C_ClassifierBehavior.SetName("C$ClassifierBehavior"); + BehaviorPort_Operation_C_C_ClassifierBehavior.SetVisibility(VisibilityKind.public_); + // ForkNode Fork result + BehaviorPort_Operation_C_C_ClassifierBehavior_Fork_result.SetName("Fork result"); + BehaviorPort_Operation_C_C_ClassifierBehavior_Fork_result.SetVisibility(VisibilityKind.public_); + BehaviorPort_Operation_C_C_ClassifierBehavior.AddNode(BehaviorPort_Operation_C_C_ClassifierBehavior_Fork_result); + // InitialNode InitialNode1 + BehaviorPort_Operation_C_C_ClassifierBehavior_InitialNode1.SetName("InitialNode1"); + BehaviorPort_Operation_C_C_ClassifierBehavior_InitialNode1.SetVisibility(VisibilityKind.public_); + BehaviorPort_Operation_C_C_ClassifierBehavior.AddNode(BehaviorPort_Operation_C_C_ClassifierBehavior_InitialNode1); + // CallBehaviorAction Call Xor + BehaviorPort_Operation_C_C_ClassifierBehavior_Call_Xor.SetName("Call Xor"); + BehaviorPort_Operation_C_C_ClassifierBehavior_Call_Xor.SetVisibility(VisibilityKind.public_); + + // OutputPin result + BehaviorPort_Operation_C_C_ClassifierBehavior_Call_Xor_result.SetName("result"); + BehaviorPort_Operation_C_C_ClassifierBehavior_Call_Xor_result.SetVisibility(VisibilityKind.public_); + BehaviorPort_Operation_C_C_ClassifierBehavior_Call_Xor_result.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Boolean); + BehaviorPort_Operation_C_C_ClassifierBehavior_Call_Xor.AddResult(BehaviorPort_Operation_C_C_ClassifierBehavior_Call_Xor_result); + BehaviorPort_Operation_C_C_ClassifierBehavior_Call_Xor.SetBehavior(FoundationalModelLibraryModel.Instance().FoundationalModelLibrary_PrimitiveBehaviors_BooleanFunctions_Xor); + // InputPin x + BehaviorPort_Operation_C_C_ClassifierBehavior_Call_Xor_x.SetName("x"); + BehaviorPort_Operation_C_C_ClassifierBehavior_Call_Xor_x.SetVisibility(VisibilityKind.public_); + BehaviorPort_Operation_C_C_ClassifierBehavior_Call_Xor_x.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Boolean); + BehaviorPort_Operation_C_C_ClassifierBehavior_Call_Xor.AddArgument(BehaviorPort_Operation_C_C_ClassifierBehavior_Call_Xor_x); + // InputPin y + BehaviorPort_Operation_C_C_ClassifierBehavior_Call_Xor_y.SetName("y"); + BehaviorPort_Operation_C_C_ClassifierBehavior_Call_Xor_y.SetVisibility(VisibilityKind.public_); + BehaviorPort_Operation_C_C_ClassifierBehavior_Call_Xor_y.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Boolean); + BehaviorPort_Operation_C_C_ClassifierBehavior_Call_Xor.AddArgument(BehaviorPort_Operation_C_C_ClassifierBehavior_Call_Xor_y); + BehaviorPort_Operation_C_C_ClassifierBehavior.AddNode(BehaviorPort_Operation_C_C_ClassifierBehavior_Call_Xor); + // AcceptCallAction Accept or() + BehaviorPort_Operation_C_C_ClassifierBehavior_Accept_or_.SetName("Accept or()"); + BehaviorPort_Operation_C_C_ClassifierBehavior_Accept_or_.SetVisibility(VisibilityKind.public_); + BehaviorPort_Operation_C_C_ClassifierBehavior_Accept_or_.SetIsUnmarshall(true); + // OutputPin a + BehaviorPort_Operation_C_C_ClassifierBehavior_Accept_or__a.SetName("a"); + BehaviorPort_Operation_C_C_ClassifierBehavior_Accept_or__a.SetVisibility(VisibilityKind.public_); + BehaviorPort_Operation_C_C_ClassifierBehavior_Accept_or__a.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Boolean); + BehaviorPort_Operation_C_C_ClassifierBehavior_Accept_or_.AddResult(BehaviorPort_Operation_C_C_ClassifierBehavior_Accept_or__a); + // OutputPin b + BehaviorPort_Operation_C_C_ClassifierBehavior_Accept_or__b.SetName("b"); + BehaviorPort_Operation_C_C_ClassifierBehavior_Accept_or__b.SetVisibility(VisibilityKind.public_); + BehaviorPort_Operation_C_C_ClassifierBehavior_Accept_or__b.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Boolean); + BehaviorPort_Operation_C_C_ClassifierBehavior_Accept_or_.AddResult(BehaviorPort_Operation_C_C_ClassifierBehavior_Accept_or__b); + // Trigger CallEventOrTrigger + BehaviorPort_Operation_C_C_ClassifierBehavior_Accept_or__CallEventOrTrigger.SetName("CallEventOrTrigger"); + BehaviorPort_Operation_C_C_ClassifierBehavior_Accept_or__CallEventOrTrigger.SetVisibility(VisibilityKind.public_); + BehaviorPort_Operation_C_C_ClassifierBehavior_Accept_or__CallEventOrTrigger.SetEvent(BehaviorPort_Operation_CallEventOr); + BehaviorPort_Operation_C_C_ClassifierBehavior_Accept_or_.AddTrigger(BehaviorPort_Operation_C_C_ClassifierBehavior_Accept_or__CallEventOrTrigger); + // OutputPin returnInformation + BehaviorPort_Operation_C_C_ClassifierBehavior_Accept_or__returnInformation.SetName("returnInformation"); + BehaviorPort_Operation_C_C_ClassifierBehavior_Accept_or__returnInformation.SetVisibility(VisibilityKind.public_); + BehaviorPort_Operation_C_C_ClassifierBehavior_Accept_or__returnInformation.SetType(BehaviorPort_Operation_P); + BehaviorPort_Operation_C_C_ClassifierBehavior_Accept_or_.SetReturnInformation(BehaviorPort_Operation_C_C_ClassifierBehavior_Accept_or__returnInformation); + BehaviorPort_Operation_C_C_ClassifierBehavior.AddNode(BehaviorPort_Operation_C_C_ClassifierBehavior_Accept_or_); + // ReplyAction Reply or() + BehaviorPort_Operation_C_C_ClassifierBehavior_Reply_or_.SetName("Reply or()"); + BehaviorPort_Operation_C_C_ClassifierBehavior_Reply_or_.SetVisibility(VisibilityKind.public_); + BehaviorPort_Operation_C_C_ClassifierBehavior_Reply_or_.SetReplyToCall(BehaviorPort_Operation_C_C_ClassifierBehavior_Accept_or__CallEventOrTrigger); + // InputPin returnInformation + BehaviorPort_Operation_C_C_ClassifierBehavior_Reply_or__returnInformation.SetName("returnInformation"); + BehaviorPort_Operation_C_C_ClassifierBehavior_Reply_or__returnInformation.SetVisibility(VisibilityKind.public_); + BehaviorPort_Operation_C_C_ClassifierBehavior_Reply_or__returnInformation.SetType(BehaviorPort_Operation_P); + BehaviorPort_Operation_C_C_ClassifierBehavior_Reply_or_.SetReturnInformation(BehaviorPort_Operation_C_C_ClassifierBehavior_Reply_or__returnInformation); + // InputPin cr + BehaviorPort_Operation_C_C_ClassifierBehavior_Reply_or__cr.SetName("cr"); + BehaviorPort_Operation_C_C_ClassifierBehavior_Reply_or__cr.SetVisibility(VisibilityKind.public_); + BehaviorPort_Operation_C_C_ClassifierBehavior_Reply_or__cr.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Boolean); + BehaviorPort_Operation_C_C_ClassifierBehavior_Reply_or_.AddReplyValue(BehaviorPort_Operation_C_C_ClassifierBehavior_Reply_or__cr); + // InputPin r + BehaviorPort_Operation_C_C_ClassifierBehavior_Reply_or__r.SetName("r"); + BehaviorPort_Operation_C_C_ClassifierBehavior_Reply_or__r.SetVisibility(VisibilityKind.public_); + BehaviorPort_Operation_C_C_ClassifierBehavior_Reply_or__r.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Boolean); + BehaviorPort_Operation_C_C_ClassifierBehavior_Reply_or_.AddReplyValue(BehaviorPort_Operation_C_C_ClassifierBehavior_Reply_or__r); + BehaviorPort_Operation_C_C_ClassifierBehavior.AddNode(BehaviorPort_Operation_C_C_ClassifierBehavior_Reply_or_); + // ObjectFlow ObjectFlow137 from a to x + BehaviorPort_Operation_C_C_ClassifierBehavior_ObjectFlow137.SetName("ObjectFlow137"); + BehaviorPort_Operation_C_C_ClassifierBehavior_ObjectFlow137.SetVisibility(VisibilityKind.public_); + + BehaviorPort_Operation_C_C_ClassifierBehavior_ObjectFlow137.SetSource(BehaviorPort_Operation_C_C_ClassifierBehavior_Accept_or__a); + BehaviorPort_Operation_C_C_ClassifierBehavior_ObjectFlow137.SetTarget(BehaviorPort_Operation_C_C_ClassifierBehavior_Call_Xor_x); + // LiteralBoolean LiteralBoolean139 + BehaviorPort_Operation_C_C_ClassifierBehavior_ObjectFlow137_LiteralBoolean139.SetName("LiteralBoolean139"); + BehaviorPort_Operation_C_C_ClassifierBehavior_ObjectFlow137_LiteralBoolean139.SetVisibility(VisibilityKind.public_); + BehaviorPort_Operation_C_C_ClassifierBehavior_ObjectFlow137_LiteralBoolean139.SetValue(true); + BehaviorPort_Operation_C_C_ClassifierBehavior_ObjectFlow137.SetGuard(BehaviorPort_Operation_C_C_ClassifierBehavior_ObjectFlow137_LiteralBoolean139); + BehaviorPort_Operation_C_C_ClassifierBehavior.AddEdge(BehaviorPort_Operation_C_C_ClassifierBehavior_ObjectFlow137); + // ControlFlow ControlFlow140 from InitialNode1 to Accept or() + BehaviorPort_Operation_C_C_ClassifierBehavior_ControlFlow140.SetName("ControlFlow140"); + BehaviorPort_Operation_C_C_ClassifierBehavior_ControlFlow140.SetVisibility(VisibilityKind.public_); + + BehaviorPort_Operation_C_C_ClassifierBehavior_ControlFlow140.SetSource(BehaviorPort_Operation_C_C_ClassifierBehavior_InitialNode1); + BehaviorPort_Operation_C_C_ClassifierBehavior_ControlFlow140.SetTarget(BehaviorPort_Operation_C_C_ClassifierBehavior_Accept_or_); + BehaviorPort_Operation_C_C_ClassifierBehavior.AddEdge(BehaviorPort_Operation_C_C_ClassifierBehavior_ControlFlow140); + // ObjectFlow ObjectFlow141 from result to Fork result + BehaviorPort_Operation_C_C_ClassifierBehavior_ObjectFlow141.SetName("ObjectFlow141"); + BehaviorPort_Operation_C_C_ClassifierBehavior_ObjectFlow141.SetVisibility(VisibilityKind.public_); + + BehaviorPort_Operation_C_C_ClassifierBehavior_ObjectFlow141.SetSource(BehaviorPort_Operation_C_C_ClassifierBehavior_Call_Xor_result); + BehaviorPort_Operation_C_C_ClassifierBehavior_ObjectFlow141.SetTarget(BehaviorPort_Operation_C_C_ClassifierBehavior_Fork_result); + // LiteralBoolean LiteralBoolean143 + BehaviorPort_Operation_C_C_ClassifierBehavior_ObjectFlow141_LiteralBoolean143.SetName("LiteralBoolean143"); + BehaviorPort_Operation_C_C_ClassifierBehavior_ObjectFlow141_LiteralBoolean143.SetVisibility(VisibilityKind.public_); + BehaviorPort_Operation_C_C_ClassifierBehavior_ObjectFlow141_LiteralBoolean143.SetValue(true); + BehaviorPort_Operation_C_C_ClassifierBehavior_ObjectFlow141.SetGuard(BehaviorPort_Operation_C_C_ClassifierBehavior_ObjectFlow141_LiteralBoolean143); + BehaviorPort_Operation_C_C_ClassifierBehavior.AddEdge(BehaviorPort_Operation_C_C_ClassifierBehavior_ObjectFlow141); + // ObjectFlow ObjectFlow144 from Fork result to r + BehaviorPort_Operation_C_C_ClassifierBehavior_ObjectFlow144.SetName("ObjectFlow144"); + BehaviorPort_Operation_C_C_ClassifierBehavior_ObjectFlow144.SetVisibility(VisibilityKind.public_); + + BehaviorPort_Operation_C_C_ClassifierBehavior_ObjectFlow144.SetSource(BehaviorPort_Operation_C_C_ClassifierBehavior_Fork_result); + BehaviorPort_Operation_C_C_ClassifierBehavior_ObjectFlow144.SetTarget(BehaviorPort_Operation_C_C_ClassifierBehavior_Reply_or__r); + // LiteralBoolean LiteralBoolean145 + BehaviorPort_Operation_C_C_ClassifierBehavior_ObjectFlow144_LiteralBoolean145.SetName("LiteralBoolean145"); + BehaviorPort_Operation_C_C_ClassifierBehavior_ObjectFlow144_LiteralBoolean145.SetVisibility(VisibilityKind.public_); + BehaviorPort_Operation_C_C_ClassifierBehavior_ObjectFlow144_LiteralBoolean145.SetValue(true); + BehaviorPort_Operation_C_C_ClassifierBehavior_ObjectFlow144.SetGuard(BehaviorPort_Operation_C_C_ClassifierBehavior_ObjectFlow144_LiteralBoolean145); + BehaviorPort_Operation_C_C_ClassifierBehavior.AddEdge(BehaviorPort_Operation_C_C_ClassifierBehavior_ObjectFlow144); + // ObjectFlow ObjectFlow147 from Fork result to cr + BehaviorPort_Operation_C_C_ClassifierBehavior_ObjectFlow147.SetName("ObjectFlow147"); + BehaviorPort_Operation_C_C_ClassifierBehavior_ObjectFlow147.SetVisibility(VisibilityKind.public_); + + BehaviorPort_Operation_C_C_ClassifierBehavior_ObjectFlow147.SetSource(BehaviorPort_Operation_C_C_ClassifierBehavior_Fork_result); + BehaviorPort_Operation_C_C_ClassifierBehavior_ObjectFlow147.SetTarget(BehaviorPort_Operation_C_C_ClassifierBehavior_Reply_or__cr); + // LiteralBoolean LiteralBoolean148 + BehaviorPort_Operation_C_C_ClassifierBehavior_ObjectFlow147_LiteralBoolean148.SetName("LiteralBoolean148"); + BehaviorPort_Operation_C_C_ClassifierBehavior_ObjectFlow147_LiteralBoolean148.SetVisibility(VisibilityKind.public_); + BehaviorPort_Operation_C_C_ClassifierBehavior_ObjectFlow147_LiteralBoolean148.SetValue(true); + BehaviorPort_Operation_C_C_ClassifierBehavior_ObjectFlow147.SetGuard(BehaviorPort_Operation_C_C_ClassifierBehavior_ObjectFlow147_LiteralBoolean148); + BehaviorPort_Operation_C_C_ClassifierBehavior.AddEdge(BehaviorPort_Operation_C_C_ClassifierBehavior_ObjectFlow147); + // ObjectFlow ObjectFlow157 from returnInformation to returnInformation + BehaviorPort_Operation_C_C_ClassifierBehavior_ObjectFlow157.SetName("ObjectFlow157"); + BehaviorPort_Operation_C_C_ClassifierBehavior_ObjectFlow157.SetVisibility(VisibilityKind.public_); + + BehaviorPort_Operation_C_C_ClassifierBehavior_ObjectFlow157.SetSource(BehaviorPort_Operation_C_C_ClassifierBehavior_Accept_or__returnInformation); + BehaviorPort_Operation_C_C_ClassifierBehavior_ObjectFlow157.SetTarget(BehaviorPort_Operation_C_C_ClassifierBehavior_Reply_or__returnInformation); + // LiteralBoolean LiteralBoolean158 + BehaviorPort_Operation_C_C_ClassifierBehavior_ObjectFlow157_LiteralBoolean158.SetName("LiteralBoolean158"); + BehaviorPort_Operation_C_C_ClassifierBehavior_ObjectFlow157_LiteralBoolean158.SetVisibility(VisibilityKind.public_); + BehaviorPort_Operation_C_C_ClassifierBehavior_ObjectFlow157_LiteralBoolean158.SetValue(true); + BehaviorPort_Operation_C_C_ClassifierBehavior_ObjectFlow157.SetGuard(BehaviorPort_Operation_C_C_ClassifierBehavior_ObjectFlow157_LiteralBoolean158); + BehaviorPort_Operation_C_C_ClassifierBehavior.AddEdge(BehaviorPort_Operation_C_C_ClassifierBehavior_ObjectFlow157); + // ObjectFlow ObjectFlow162 from b to y + BehaviorPort_Operation_C_C_ClassifierBehavior_ObjectFlow162.SetName("ObjectFlow162"); + BehaviorPort_Operation_C_C_ClassifierBehavior_ObjectFlow162.SetVisibility(VisibilityKind.public_); + + BehaviorPort_Operation_C_C_ClassifierBehavior_ObjectFlow162.SetSource(BehaviorPort_Operation_C_C_ClassifierBehavior_Accept_or__b); + BehaviorPort_Operation_C_C_ClassifierBehavior_ObjectFlow162.SetTarget(BehaviorPort_Operation_C_C_ClassifierBehavior_Call_Xor_y); + // LiteralBoolean LiteralBoolean164 + BehaviorPort_Operation_C_C_ClassifierBehavior_ObjectFlow162_LiteralBoolean164.SetName("LiteralBoolean164"); + BehaviorPort_Operation_C_C_ClassifierBehavior_ObjectFlow162_LiteralBoolean164.SetVisibility(VisibilityKind.public_); + BehaviorPort_Operation_C_C_ClassifierBehavior_ObjectFlow162_LiteralBoolean164.SetValue(true); + BehaviorPort_Operation_C_C_ClassifierBehavior_ObjectFlow162.SetGuard(BehaviorPort_Operation_C_C_ClassifierBehavior_ObjectFlow162_LiteralBoolean164); + BehaviorPort_Operation_C_C_ClassifierBehavior.AddEdge(BehaviorPort_Operation_C_C_ClassifierBehavior_ObjectFlow162); + BehaviorPort_Operation_C.AddOwnedBehavior(BehaviorPort_Operation_C_C_ClassifierBehavior); + BehaviorPort_Operation_C_I_Realization.SetName("I_Realization"); + BehaviorPort_Operation_C_I_Realization.SetVisibility(VisibilityKind.public_); + BehaviorPort_Operation_C_I_Realization.SetContract(BehaviorPort_Operation_I); + + BehaviorPort_Operation_C.AddInterfaceRealization(BehaviorPort_Operation_C_I_Realization); + + BehaviorPort_Operation_C.SetIsActive(true); + // Operation C_C + BehaviorPort_Operation_C_C_C.SetName("C_C"); + BehaviorPort_Operation_C_C_C.SetVisibility(VisibilityKind.public_); + // Parameter result + BehaviorPort_Operation_C_C_C_result.SetName("result"); + BehaviorPort_Operation_C_C_C_result.SetVisibility(VisibilityKind.public_); + + BehaviorPort_Operation_C_C_C_result.SetType(BehaviorPort_Operation_C); + BehaviorPort_Operation_C_C_C_result.SetDirection(ParameterDirectionKind.return_); + BehaviorPort_Operation_C_C_C.AddOwnedParameter(BehaviorPort_Operation_C_C_C_result); + BehaviorPort_Operation_C_C_C.ApplyStereotype(uml.standardprofile.StandardProfileModel.Instance().Stereotype_Create); + BehaviorPort_Operation_C.AddOwnedOperation(BehaviorPort_Operation_C_C_C); + // Operation Boolean_or_Boolean_Boolean_Boolean + BehaviorPort_Operation_C_Boolean_or_Boolean_Boolean_Boolean.SetName("Boolean_or_Boolean_Boolean_Boolean"); + BehaviorPort_Operation_C_Boolean_or_Boolean_Boolean_Boolean.SetVisibility(VisibilityKind.public_); + // Parameter a + BehaviorPort_Operation_C_Boolean_or_Boolean_Boolean_Boolean_a.SetName("a"); + BehaviorPort_Operation_C_Boolean_or_Boolean_Boolean_Boolean_a.SetVisibility(VisibilityKind.public_); + + BehaviorPort_Operation_C_Boolean_or_Boolean_Boolean_Boolean_a.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Boolean); + BehaviorPort_Operation_C_Boolean_or_Boolean_Boolean_Boolean.AddOwnedParameter(BehaviorPort_Operation_C_Boolean_or_Boolean_Boolean_Boolean_a); + // Parameter b + BehaviorPort_Operation_C_Boolean_or_Boolean_Boolean_Boolean_b.SetName("b"); + BehaviorPort_Operation_C_Boolean_or_Boolean_Boolean_Boolean_b.SetVisibility(VisibilityKind.public_); + + BehaviorPort_Operation_C_Boolean_or_Boolean_Boolean_Boolean_b.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Boolean); + BehaviorPort_Operation_C_Boolean_or_Boolean_Boolean_Boolean.AddOwnedParameter(BehaviorPort_Operation_C_Boolean_or_Boolean_Boolean_Boolean_b); + // Parameter c + BehaviorPort_Operation_C_Boolean_or_Boolean_Boolean_Boolean_c.SetName("c"); + BehaviorPort_Operation_C_Boolean_or_Boolean_Boolean_Boolean_c.SetVisibility(VisibilityKind.public_); + + BehaviorPort_Operation_C_Boolean_or_Boolean_Boolean_Boolean_c.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Boolean); + BehaviorPort_Operation_C_Boolean_or_Boolean_Boolean_Boolean_c.SetDirection(ParameterDirectionKind.out_); + BehaviorPort_Operation_C_Boolean_or_Boolean_Boolean_Boolean.AddOwnedParameter(BehaviorPort_Operation_C_Boolean_or_Boolean_Boolean_Boolean_c); + // Parameter result + BehaviorPort_Operation_C_Boolean_or_Boolean_Boolean_Boolean_result.SetName("result"); + BehaviorPort_Operation_C_Boolean_or_Boolean_Boolean_Boolean_result.SetVisibility(VisibilityKind.public_); + + BehaviorPort_Operation_C_Boolean_or_Boolean_Boolean_Boolean_result.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Boolean); + BehaviorPort_Operation_C_Boolean_or_Boolean_Boolean_Boolean_result.SetDirection(ParameterDirectionKind.return_); + BehaviorPort_Operation_C_Boolean_or_Boolean_Boolean_Boolean.AddOwnedParameter(BehaviorPort_Operation_C_Boolean_or_Boolean_Boolean_Boolean_result); + BehaviorPort_Operation_C.AddOwnedOperation(BehaviorPort_Operation_C_Boolean_or_Boolean_Boolean_Boolean); + BehaviorPort_Operation.AddPackagedElement(BehaviorPort_Operation_C); + // Class S + BehaviorPort_Operation_S.SetName("S"); + BehaviorPort_Operation_S.SetVisibility(VisibilityKind.public_); + + // Property p + BehaviorPort_Operation_S_p.SetName("p"); + BehaviorPort_Operation_S_p.SetVisibility(VisibilityKind.public_); + + BehaviorPort_Operation_S_p.SetType(BehaviorPort_Operation_P); + BehaviorPort_Operation_S_p.SetAggregation(AggregationKind.composite); + BehaviorPort_Operation_S.AddOwnedAttribute(BehaviorPort_Operation_S_p); + // Property c + BehaviorPort_Operation_S_c.SetName("c"); + BehaviorPort_Operation_S_c.SetVisibility(VisibilityKind.public_); + + BehaviorPort_Operation_S_c.SetType(BehaviorPort_Operation_C); + BehaviorPort_Operation_S_c.SetAggregation(AggregationKind.composite); + BehaviorPort_Operation_S.AddOwnedAttribute(BehaviorPort_Operation_S_c); + + BehaviorPort_Operation_S_Connector1.SetName("Connector1"); + BehaviorPort_Operation_S_Connector1.SetVisibility(VisibilityKind.public_); + + BehaviorPort_Operation_S_Connector1_ConnectorEnd165.SetRole(BehaviorPort_Operation_P_pp); + BehaviorPort_Operation_S_Connector1_ConnectorEnd165.SetPartWithPort(BehaviorPort_Operation_S_p); + + BehaviorPort_Operation_S_Connector1.AddEnd(BehaviorPort_Operation_S_Connector1_ConnectorEnd165); + + BehaviorPort_Operation_S_Connector1_ConnectorEnd166.SetRole(BehaviorPort_Operation_C_pc); + BehaviorPort_Operation_S_Connector1_ConnectorEnd166.SetPartWithPort(BehaviorPort_Operation_S_c); + + BehaviorPort_Operation_S_Connector1.AddEnd(BehaviorPort_Operation_S_Connector1_ConnectorEnd166); + BehaviorPort_Operation_S.AddOwnedConnector(BehaviorPort_Operation_S_Connector1); + // Operation S_S + BehaviorPort_Operation_S_S_S.SetName("S_S"); + BehaviorPort_Operation_S_S_S.SetVisibility(VisibilityKind.public_); + // Parameter result + BehaviorPort_Operation_S_S_S_result.SetName("result"); + BehaviorPort_Operation_S_S_S_result.SetVisibility(VisibilityKind.public_); + + BehaviorPort_Operation_S_S_S_result.SetType(BehaviorPort_Operation_S); + BehaviorPort_Operation_S_S_S_result.SetDirection(ParameterDirectionKind.return_); + BehaviorPort_Operation_S_S_S.AddOwnedParameter(BehaviorPort_Operation_S_S_S_result); + BehaviorPort_Operation_S_S_S.ApplyStereotype(uml.standardprofile.StandardProfileModel.Instance().Stereotype_Create); + BehaviorPort_Operation_S.AddOwnedOperation(BehaviorPort_Operation_S_S_S); + BehaviorPort_Operation.AddPackagedElement(BehaviorPort_Operation_S); + // Signal Start + BehaviorPort_Operation_Start.SetName("Start"); + BehaviorPort_Operation_Start.SetVisibility(VisibilityKind.public_); + BehaviorPort_Operation.AddPackagedElement(BehaviorPort_Operation_Start); + // Usage I_Usage_P + BehaviorPort_Operation_I_Usage_P.SetName("I_Usage_P"); + BehaviorPort_Operation_I_Usage_P.SetVisibility(VisibilityKind.public_); + BehaviorPort_Operation_I_Usage_P.AddClient(BehaviorPort_Operation_P); + BehaviorPort_Operation_I_Usage_P.AddSupplier(BehaviorPort_Operation_I); + BehaviorPort_Operation.AddPackagedElement(BehaviorPort_Operation_I_Usage_P); + // Activity assertP + BehaviorPort_Operation_assertP.SetName("assertP"); + BehaviorPort_Operation_assertP.SetVisibility(VisibilityKind.public_); + // FunctionBehavior testFalse + BehaviorPort_Operation_assertP_testFalse.SetName("testFalse"); + BehaviorPort_Operation_assertP_testFalse.SetVisibility(VisibilityKind.public_); + + // Parameter input + BehaviorPort_Operation_assertP_testFalse_input.SetName("input"); + BehaviorPort_Operation_assertP_testFalse_input.SetVisibility(VisibilityKind.public_); + + BehaviorPort_Operation_assertP_testFalse_input.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Boolean); + BehaviorPort_Operation_assertP_testFalse.AddOwnedParameter(BehaviorPort_Operation_assertP_testFalse_input); + BehaviorPort_Operation_assertP_testFalse.AddLanguage("C#"); + BehaviorPort_Operation_assertP_testFalse.AddLanguage("Using"); + BehaviorPort_Operation_assertP_testFalse.AddBody("// Test parameter input bool input = ((BooleanValue)inputParameters.ElementAt(0).values.ElementAt(0)).value; Debug.Println(\"[doBody] argument input = \" + input); if(input == false) { Console.ForegroundColor = ConsoleColor.Green; Console.WriteLine(\"Assertion successful.\"); } else { Console.ForegroundColor = ConsoleColor.Red; Console.WriteLine(\"Assertion failed!\"); } Console.ResetColor();"); + BehaviorPort_Operation_assertP_testFalse.AddBody("using fuml.semantics.simpleclassifiers; "); + BehaviorPort_Operation_assertP.AddOwnedBehavior(BehaviorPort_Operation_assertP_testFalse); + // Parameter p + BehaviorPort_Operation_assertP_p.SetName("p"); + BehaviorPort_Operation_assertP_p.SetVisibility(VisibilityKind.public_); + + BehaviorPort_Operation_assertP_p.SetType(BehaviorPort_Operation_P); + BehaviorPort_Operation_assertP.AddOwnedParameter(BehaviorPort_Operation_assertP_p); + // CallBehaviorAction test return + BehaviorPort_Operation_assertP_test_return.SetName("test return"); + BehaviorPort_Operation_assertP_test_return.SetVisibility(VisibilityKind.public_); + BehaviorPort_Operation_assertP_test_return.SetBehavior(BehaviorPort_Operation_assertP_testFalse); + // InputPin input + BehaviorPort_Operation_assertP_test_return_input.SetName("input"); + BehaviorPort_Operation_assertP_test_return_input.SetVisibility(VisibilityKind.public_); + BehaviorPort_Operation_assertP_test_return_input.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Boolean); + BehaviorPort_Operation_assertP_test_return.AddArgument(BehaviorPort_Operation_assertP_test_return_input); + BehaviorPort_Operation_assertP.AddNode(BehaviorPort_Operation_assertP_test_return); + // ForkNode Fork p + BehaviorPort_Operation_assertP_Fork_p.SetName("Fork p"); + BehaviorPort_Operation_assertP_Fork_p.SetVisibility(VisibilityKind.public_); + BehaviorPort_Operation_assertP.AddNode(BehaviorPort_Operation_assertP_Fork_p); + // ValueSpecificationAction p.out message + BehaviorPort_Operation_assertP_p_out_message.SetName("p.out message"); + BehaviorPort_Operation_assertP_p_out_message.SetVisibility(VisibilityKind.public_); + // LiteralString LiteralString202 + BehaviorPort_Operation_assertP_p_out_message_LiteralString202.SetName("LiteralString202"); + BehaviorPort_Operation_assertP_p_out_message_LiteralString202.SetVisibility(VisibilityKind.public_); + BehaviorPort_Operation_assertP_p_out_message_LiteralString202.SetValue("Asserting p.out == false"); + BehaviorPort_Operation_assertP_p_out_message.SetValue(BehaviorPort_Operation_assertP_p_out_message_LiteralString202); + // OutputPin result + BehaviorPort_Operation_assertP_p_out_message_result.SetName("result"); + BehaviorPort_Operation_assertP_p_out_message_result.SetVisibility(VisibilityKind.public_); + BehaviorPort_Operation_assertP_p_out_message_result.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_String); + BehaviorPort_Operation_assertP_p_out_message.SetResult(BehaviorPort_Operation_assertP_p_out_message_result); + BehaviorPort_Operation_assertP.AddNode(BehaviorPort_Operation_assertP_p_out_message); + // CallBehaviorAction test out + BehaviorPort_Operation_assertP_test_out.SetName("test out"); + BehaviorPort_Operation_assertP_test_out.SetVisibility(VisibilityKind.public_); + BehaviorPort_Operation_assertP_test_out.SetBehavior(BehaviorPort_Operation_assertP_testFalse); + // InputPin input + BehaviorPort_Operation_assertP_test_out_input.SetName("input"); + BehaviorPort_Operation_assertP_test_out_input.SetVisibility(VisibilityKind.public_); + BehaviorPort_Operation_assertP_test_out_input.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Boolean); + BehaviorPort_Operation_assertP_test_out.AddArgument(BehaviorPort_Operation_assertP_test_out_input); + BehaviorPort_Operation_assertP.AddNode(BehaviorPort_Operation_assertP_test_out); + // CallBehaviorAction writeLine p.return + BehaviorPort_Operation_assertP_writeLine_p_return.SetName("writeLine p.return"); + BehaviorPort_Operation_assertP_writeLine_p_return.SetVisibility(VisibilityKind.public_); + + // OutputPin errorStatus + BehaviorPort_Operation_assertP_writeLine_p_return_errorStatus.SetName("errorStatus"); + BehaviorPort_Operation_assertP_writeLine_p_return_errorStatus.SetVisibility(VisibilityKind.public_); + BehaviorPort_Operation_assertP_writeLine_p_return_errorStatus.SetType(FoundationalModelLibraryModel.Instance().FoundationalModelLibrary_Common_Status); + BehaviorPort_Operation_assertP_writeLine_p_return_errorStatus.SetLower(0); + BehaviorPort_Operation_assertP_writeLine_p_return.AddResult(BehaviorPort_Operation_assertP_writeLine_p_return_errorStatus); + BehaviorPort_Operation_assertP_writeLine_p_return.SetBehavior(FoundationalModelLibraryModel.Instance().FoundationalModelLibrary_BasicInputOutput_WriteLine); + // InputPin value + BehaviorPort_Operation_assertP_writeLine_p_return_value.SetName("value"); + BehaviorPort_Operation_assertP_writeLine_p_return_value.SetVisibility(VisibilityKind.public_); + BehaviorPort_Operation_assertP_writeLine_p_return_value.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_String); + BehaviorPort_Operation_assertP_writeLine_p_return.AddArgument(BehaviorPort_Operation_assertP_writeLine_p_return_value); + BehaviorPort_Operation_assertP.AddNode(BehaviorPort_Operation_assertP_writeLine_p_return); + // ReadStructuralFeatureAction p.return + BehaviorPort_Operation_assertP_p_return.SetName("p.return"); + BehaviorPort_Operation_assertP_p_return.SetVisibility(VisibilityKind.public_); + BehaviorPort_Operation_assertP_p_return.SetStructuralFeature(BehaviorPort_Operation_P_return); + // InputPin object + BehaviorPort_Operation_assertP_p_return_object.SetName("object"); + BehaviorPort_Operation_assertP_p_return_object.SetVisibility(VisibilityKind.public_); + BehaviorPort_Operation_assertP_p_return_object.SetType(BehaviorPort_Operation_P); + BehaviorPort_Operation_assertP_p_return.SetObject(BehaviorPort_Operation_assertP_p_return_object); + // OutputPin result + BehaviorPort_Operation_assertP_p_return_result.SetName("result"); + BehaviorPort_Operation_assertP_p_return_result.SetVisibility(VisibilityKind.public_); + BehaviorPort_Operation_assertP_p_return_result.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Boolean); + BehaviorPort_Operation_assertP_p_return_result.SetLower(0); + BehaviorPort_Operation_assertP_p_return.SetResult(BehaviorPort_Operation_assertP_p_return_result); + BehaviorPort_Operation_assertP.AddNode(BehaviorPort_Operation_assertP_p_return); + // CallBehaviorAction writeLine p.out + BehaviorPort_Operation_assertP_writeLine_p_out.SetName("writeLine p.out"); + BehaviorPort_Operation_assertP_writeLine_p_out.SetVisibility(VisibilityKind.public_); + + // OutputPin errorStatus + BehaviorPort_Operation_assertP_writeLine_p_out_errorStatus.SetName("errorStatus"); + BehaviorPort_Operation_assertP_writeLine_p_out_errorStatus.SetVisibility(VisibilityKind.public_); + BehaviorPort_Operation_assertP_writeLine_p_out_errorStatus.SetType(FoundationalModelLibraryModel.Instance().FoundationalModelLibrary_Common_Status); + BehaviorPort_Operation_assertP_writeLine_p_out_errorStatus.SetLower(0); + BehaviorPort_Operation_assertP_writeLine_p_out.AddResult(BehaviorPort_Operation_assertP_writeLine_p_out_errorStatus); + BehaviorPort_Operation_assertP_writeLine_p_out.SetBehavior(FoundationalModelLibraryModel.Instance().FoundationalModelLibrary_BasicInputOutput_WriteLine); + // InputPin value + BehaviorPort_Operation_assertP_writeLine_p_out_value.SetName("value"); + BehaviorPort_Operation_assertP_writeLine_p_out_value.SetVisibility(VisibilityKind.public_); + BehaviorPort_Operation_assertP_writeLine_p_out_value.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_String); + BehaviorPort_Operation_assertP_writeLine_p_out.AddArgument(BehaviorPort_Operation_assertP_writeLine_p_out_value); + BehaviorPort_Operation_assertP.AddNode(BehaviorPort_Operation_assertP_writeLine_p_out); + // ReadStructuralFeatureAction p.out + BehaviorPort_Operation_assertP_p_out.SetName("p.out"); + BehaviorPort_Operation_assertP_p_out.SetVisibility(VisibilityKind.public_); + BehaviorPort_Operation_assertP_p_out.SetStructuralFeature(BehaviorPort_Operation_P_out); + // InputPin object + BehaviorPort_Operation_assertP_p_out_object.SetName("object"); + BehaviorPort_Operation_assertP_p_out_object.SetVisibility(VisibilityKind.public_); + BehaviorPort_Operation_assertP_p_out_object.SetType(BehaviorPort_Operation_P); + BehaviorPort_Operation_assertP_p_out.SetObject(BehaviorPort_Operation_assertP_p_out_object); + // OutputPin result + BehaviorPort_Operation_assertP_p_out_result.SetName("result"); + BehaviorPort_Operation_assertP_p_out_result.SetVisibility(VisibilityKind.public_); + BehaviorPort_Operation_assertP_p_out_result.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Boolean); + BehaviorPort_Operation_assertP_p_out_result.SetLower(0); + BehaviorPort_Operation_assertP_p_out.SetResult(BehaviorPort_Operation_assertP_p_out_result); + BehaviorPort_Operation_assertP.AddNode(BehaviorPort_Operation_assertP_p_out); + // ValueSpecificationAction p.return message + BehaviorPort_Operation_assertP_p_return_message.SetName("p.return message"); + BehaviorPort_Operation_assertP_p_return_message.SetVisibility(VisibilityKind.public_); + // LiteralString LiteralString213 + BehaviorPort_Operation_assertP_p_return_message_LiteralString213.SetName("LiteralString213"); + BehaviorPort_Operation_assertP_p_return_message_LiteralString213.SetVisibility(VisibilityKind.public_); + BehaviorPort_Operation_assertP_p_return_message_LiteralString213.SetValue("Asserting p.return == false"); + BehaviorPort_Operation_assertP_p_return_message.SetValue(BehaviorPort_Operation_assertP_p_return_message_LiteralString213); + // OutputPin result + BehaviorPort_Operation_assertP_p_return_message_result.SetName("result"); + BehaviorPort_Operation_assertP_p_return_message_result.SetVisibility(VisibilityKind.public_); + BehaviorPort_Operation_assertP_p_return_message_result.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_String); + BehaviorPort_Operation_assertP_p_return_message.SetResult(BehaviorPort_Operation_assertP_p_return_message_result); + BehaviorPort_Operation_assertP.AddNode(BehaviorPort_Operation_assertP_p_return_message); + // ActivityParameterNode pParameterNode + BehaviorPort_Operation_assertP_pParameterNode.SetName("pParameterNode"); + BehaviorPort_Operation_assertP_pParameterNode.SetVisibility(VisibilityKind.public_); + + BehaviorPort_Operation_assertP_pParameterNode.SetParameter(BehaviorPort_Operation_assertP_p); + BehaviorPort_Operation_assertP.AddNode(BehaviorPort_Operation_assertP_pParameterNode); + // ObjectFlow ObjectFlow167 from result to input + BehaviorPort_Operation_assertP_ObjectFlow167.SetName("ObjectFlow167"); + BehaviorPort_Operation_assertP_ObjectFlow167.SetVisibility(VisibilityKind.public_); + + BehaviorPort_Operation_assertP_ObjectFlow167.SetSource(BehaviorPort_Operation_assertP_p_return_result); + BehaviorPort_Operation_assertP_ObjectFlow167.SetTarget(BehaviorPort_Operation_assertP_test_return_input); + // LiteralBoolean LiteralBoolean169 + BehaviorPort_Operation_assertP_ObjectFlow167_LiteralBoolean169.SetName("LiteralBoolean169"); + BehaviorPort_Operation_assertP_ObjectFlow167_LiteralBoolean169.SetVisibility(VisibilityKind.public_); + BehaviorPort_Operation_assertP_ObjectFlow167_LiteralBoolean169.SetValue(true); + BehaviorPort_Operation_assertP_ObjectFlow167.SetGuard(BehaviorPort_Operation_assertP_ObjectFlow167_LiteralBoolean169); + BehaviorPort_Operation_assertP.AddEdge(BehaviorPort_Operation_assertP_ObjectFlow167); + // ControlFlow ControlFlow170 from p.out to p.out message + BehaviorPort_Operation_assertP_ControlFlow170.SetName("ControlFlow170"); + BehaviorPort_Operation_assertP_ControlFlow170.SetVisibility(VisibilityKind.public_); + + BehaviorPort_Operation_assertP_ControlFlow170.SetSource(BehaviorPort_Operation_assertP_p_out); + BehaviorPort_Operation_assertP_ControlFlow170.SetTarget(BehaviorPort_Operation_assertP_p_out_message); + BehaviorPort_Operation_assertP.AddEdge(BehaviorPort_Operation_assertP_ControlFlow170); + // ObjectFlow ObjectFlow171 from pParameterNode to Fork p + BehaviorPort_Operation_assertP_ObjectFlow171.SetName("ObjectFlow171"); + BehaviorPort_Operation_assertP_ObjectFlow171.SetVisibility(VisibilityKind.public_); + + BehaviorPort_Operation_assertP_ObjectFlow171.SetSource(BehaviorPort_Operation_assertP_pParameterNode); + BehaviorPort_Operation_assertP_ObjectFlow171.SetTarget(BehaviorPort_Operation_assertP_Fork_p); + // LiteralBoolean LiteralBoolean172 + BehaviorPort_Operation_assertP_ObjectFlow171_LiteralBoolean172.SetName("LiteralBoolean172"); + BehaviorPort_Operation_assertP_ObjectFlow171_LiteralBoolean172.SetVisibility(VisibilityKind.public_); + BehaviorPort_Operation_assertP_ObjectFlow171_LiteralBoolean172.SetValue(true); + BehaviorPort_Operation_assertP_ObjectFlow171.SetGuard(BehaviorPort_Operation_assertP_ObjectFlow171_LiteralBoolean172); + BehaviorPort_Operation_assertP.AddEdge(BehaviorPort_Operation_assertP_ObjectFlow171); + // ObjectFlow ObjectFlow174 from Fork p to object + BehaviorPort_Operation_assertP_ObjectFlow174.SetName("ObjectFlow174"); + BehaviorPort_Operation_assertP_ObjectFlow174.SetVisibility(VisibilityKind.public_); + + BehaviorPort_Operation_assertP_ObjectFlow174.SetSource(BehaviorPort_Operation_assertP_Fork_p); + BehaviorPort_Operation_assertP_ObjectFlow174.SetTarget(BehaviorPort_Operation_assertP_p_out_object); + // LiteralBoolean LiteralBoolean175 + BehaviorPort_Operation_assertP_ObjectFlow174_LiteralBoolean175.SetName("LiteralBoolean175"); + BehaviorPort_Operation_assertP_ObjectFlow174_LiteralBoolean175.SetVisibility(VisibilityKind.public_); + BehaviorPort_Operation_assertP_ObjectFlow174_LiteralBoolean175.SetValue(true); + BehaviorPort_Operation_assertP_ObjectFlow174.SetGuard(BehaviorPort_Operation_assertP_ObjectFlow174_LiteralBoolean175); + BehaviorPort_Operation_assertP.AddEdge(BehaviorPort_Operation_assertP_ObjectFlow174); + // ControlFlow ControlFlow196 from writeLine p.return to test return + BehaviorPort_Operation_assertP_ControlFlow196.SetName("ControlFlow196"); + BehaviorPort_Operation_assertP_ControlFlow196.SetVisibility(VisibilityKind.public_); + + BehaviorPort_Operation_assertP_ControlFlow196.SetSource(BehaviorPort_Operation_assertP_writeLine_p_return); + BehaviorPort_Operation_assertP_ControlFlow196.SetTarget(BehaviorPort_Operation_assertP_test_return); + BehaviorPort_Operation_assertP.AddEdge(BehaviorPort_Operation_assertP_ControlFlow196); + // ControlFlow ControlFlow197 from test out to test return + BehaviorPort_Operation_assertP_ControlFlow197.SetName("ControlFlow197"); + BehaviorPort_Operation_assertP_ControlFlow197.SetVisibility(VisibilityKind.public_); + + BehaviorPort_Operation_assertP_ControlFlow197.SetSource(BehaviorPort_Operation_assertP_test_out); + BehaviorPort_Operation_assertP_ControlFlow197.SetTarget(BehaviorPort_Operation_assertP_test_return); + BehaviorPort_Operation_assertP.AddEdge(BehaviorPort_Operation_assertP_ControlFlow197); + // ObjectFlow ObjectFlow209 from result to value + BehaviorPort_Operation_assertP_ObjectFlow209.SetName("ObjectFlow209"); + BehaviorPort_Operation_assertP_ObjectFlow209.SetVisibility(VisibilityKind.public_); + + BehaviorPort_Operation_assertP_ObjectFlow209.SetSource(BehaviorPort_Operation_assertP_p_out_message_result); + BehaviorPort_Operation_assertP_ObjectFlow209.SetTarget(BehaviorPort_Operation_assertP_writeLine_p_out_value); + // LiteralBoolean LiteralBoolean210 + BehaviorPort_Operation_assertP_ObjectFlow209_LiteralBoolean210.SetName("LiteralBoolean210"); + BehaviorPort_Operation_assertP_ObjectFlow209_LiteralBoolean210.SetVisibility(VisibilityKind.public_); + BehaviorPort_Operation_assertP_ObjectFlow209_LiteralBoolean210.SetValue(true); + BehaviorPort_Operation_assertP_ObjectFlow209.SetGuard(BehaviorPort_Operation_assertP_ObjectFlow209_LiteralBoolean210); + BehaviorPort_Operation_assertP.AddEdge(BehaviorPort_Operation_assertP_ObjectFlow209); + // ControlFlow ControlFlow212 from p.return to p.return message + BehaviorPort_Operation_assertP_ControlFlow212.SetName("ControlFlow212"); + BehaviorPort_Operation_assertP_ControlFlow212.SetVisibility(VisibilityKind.public_); + + BehaviorPort_Operation_assertP_ControlFlow212.SetSource(BehaviorPort_Operation_assertP_p_return); + BehaviorPort_Operation_assertP_ControlFlow212.SetTarget(BehaviorPort_Operation_assertP_p_return_message); + BehaviorPort_Operation_assertP.AddEdge(BehaviorPort_Operation_assertP_ControlFlow212); + // ObjectFlow ObjectFlow216 from result to input + BehaviorPort_Operation_assertP_ObjectFlow216.SetName("ObjectFlow216"); + BehaviorPort_Operation_assertP_ObjectFlow216.SetVisibility(VisibilityKind.public_); + + BehaviorPort_Operation_assertP_ObjectFlow216.SetSource(BehaviorPort_Operation_assertP_p_out_result); + BehaviorPort_Operation_assertP_ObjectFlow216.SetTarget(BehaviorPort_Operation_assertP_test_out_input); + // LiteralBoolean LiteralBoolean217 + BehaviorPort_Operation_assertP_ObjectFlow216_LiteralBoolean217.SetName("LiteralBoolean217"); + BehaviorPort_Operation_assertP_ObjectFlow216_LiteralBoolean217.SetVisibility(VisibilityKind.public_); + BehaviorPort_Operation_assertP_ObjectFlow216_LiteralBoolean217.SetValue(true); + BehaviorPort_Operation_assertP_ObjectFlow216.SetGuard(BehaviorPort_Operation_assertP_ObjectFlow216_LiteralBoolean217); + BehaviorPort_Operation_assertP.AddEdge(BehaviorPort_Operation_assertP_ObjectFlow216); + // ControlFlow ControlFlow219 from writeLine p.out to test out + BehaviorPort_Operation_assertP_ControlFlow219.SetName("ControlFlow219"); + BehaviorPort_Operation_assertP_ControlFlow219.SetVisibility(VisibilityKind.public_); + + BehaviorPort_Operation_assertP_ControlFlow219.SetSource(BehaviorPort_Operation_assertP_writeLine_p_out); + BehaviorPort_Operation_assertP_ControlFlow219.SetTarget(BehaviorPort_Operation_assertP_test_out); + BehaviorPort_Operation_assertP.AddEdge(BehaviorPort_Operation_assertP_ControlFlow219); + // ObjectFlow ObjectFlow220 from result to value + BehaviorPort_Operation_assertP_ObjectFlow220.SetName("ObjectFlow220"); + BehaviorPort_Operation_assertP_ObjectFlow220.SetVisibility(VisibilityKind.public_); + + BehaviorPort_Operation_assertP_ObjectFlow220.SetSource(BehaviorPort_Operation_assertP_p_return_message_result); + BehaviorPort_Operation_assertP_ObjectFlow220.SetTarget(BehaviorPort_Operation_assertP_writeLine_p_return_value); + // LiteralBoolean LiteralBoolean222 + BehaviorPort_Operation_assertP_ObjectFlow220_LiteralBoolean222.SetName("LiteralBoolean222"); + BehaviorPort_Operation_assertP_ObjectFlow220_LiteralBoolean222.SetVisibility(VisibilityKind.public_); + BehaviorPort_Operation_assertP_ObjectFlow220_LiteralBoolean222.SetValue(true); + BehaviorPort_Operation_assertP_ObjectFlow220.SetGuard(BehaviorPort_Operation_assertP_ObjectFlow220_LiteralBoolean222); + BehaviorPort_Operation_assertP.AddEdge(BehaviorPort_Operation_assertP_ObjectFlow220); + // ObjectFlow ObjectFlow223 from Fork p to object + BehaviorPort_Operation_assertP_ObjectFlow223.SetName("ObjectFlow223"); + BehaviorPort_Operation_assertP_ObjectFlow223.SetVisibility(VisibilityKind.public_); + + BehaviorPort_Operation_assertP_ObjectFlow223.SetSource(BehaviorPort_Operation_assertP_Fork_p); + BehaviorPort_Operation_assertP_ObjectFlow223.SetTarget(BehaviorPort_Operation_assertP_p_return_object); + // LiteralBoolean LiteralBoolean224 + BehaviorPort_Operation_assertP_ObjectFlow223_LiteralBoolean224.SetName("LiteralBoolean224"); + BehaviorPort_Operation_assertP_ObjectFlow223_LiteralBoolean224.SetVisibility(VisibilityKind.public_); + BehaviorPort_Operation_assertP_ObjectFlow223_LiteralBoolean224.SetValue(true); + BehaviorPort_Operation_assertP_ObjectFlow223.SetGuard(BehaviorPort_Operation_assertP_ObjectFlow223_LiteralBoolean224); + BehaviorPort_Operation_assertP.AddEdge(BehaviorPort_Operation_assertP_ObjectFlow223); + BehaviorPort_Operation.AddPackagedElement(BehaviorPort_Operation_assertP); + } + + /* Start of user code : User-defined members + * This section may be used for user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } // BehaviorPort_OperationModel +} diff --git a/fUML-CSharp/tests/pscs-Tests/02_Communication/02_BehaviorPort_Operation/src/testFalseExecution.cs b/fUML-CSharp/tests/pscs-Tests/02_Communication/02_BehaviorPort_Operation/src/testFalseExecution.cs new file mode 100644 index 0000000..457a4e7 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/02_Communication/02_BehaviorPort_Operation/src/testFalseExecution.cs @@ -0,0 +1,73 @@ +/* + * testFalseExecution.cs + * + * Auto-generated file + */ + +using fuml.semantics.commonbehavior; +using fuml; +using fuml.semantics.simpleclassifiers; +using fuml.semantics.values; + +/* Start of user code : User-defined includes and forward declarations + * This section may be used for includes and forward declarations. + * It will not be overwritten by future generation processes. + */ + +/* + * End of user code + */ + +namespace BehaviorPort_Operation +{ + public class testFalseExecution : OpaqueBehaviorExecution + { + public testFalseExecution() + { + types.Add(BehaviorPort_OperationModel.Instance().BehaviorPort_Operation_assertP_testFalse); + /* Start of user code : Additional opaque behavior execution initializations + * This section may be used to do any additional opaque behavior execution initialization, + * for example initializing user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } + + public override void DoBody(List inputParameters, List outputParameters) + { + // Test parameter input + bool input = ((BooleanValue)inputParameters.ElementAt(0).values.ElementAt(0)).value; + Debug.Println("[doBody] argument input = " + input); + + if(input == false) + { + Console.ForegroundColor = ConsoleColor.Green; + Console.WriteLine("Assertion successful."); + } + else + { + Console.ForegroundColor = ConsoleColor.Red; + Console.WriteLine("Assertion failed!"); + } + + Console.ResetColor(); + } + + protected override Value New_() + { + return new testFalseExecution(); + } + + /* Start of user code : User-defined members + * This section may be used for user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } // testFalseExecution +} diff --git a/fUML-CSharp/tests/pscs-Tests/02_Communication/03_LossOfMessages_Signal/.gitignore b/fUML-CSharp/tests/pscs-Tests/02_Communication/03_LossOfMessages_Signal/.gitignore new file mode 100644 index 0000000..1736844 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/02_Communication/03_LossOfMessages_Signal/.gitignore @@ -0,0 +1,3 @@ +/.vs/ +/bin/ +/obj/ diff --git a/fUML-CSharp/tests/pscs-Tests/02_Communication/03_LossOfMessages_Signal/LossOfMessages_Signal.csproj b/fUML-CSharp/tests/pscs-Tests/02_Communication/03_LossOfMessages_Signal/LossOfMessages_Signal.csproj new file mode 100644 index 0000000..f4b2390 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/02_Communication/03_LossOfMessages_Signal/LossOfMessages_Signal.csproj @@ -0,0 +1,50 @@ + + + + Exe + net6.0 + enable + enable + + + + LossOfMessages_Signal.Debug + + + LossOfMessages_Signal.Release + + + + + ..\..\..\..\uml\bin\Debug\net6.0\uml.Debug.dll + + + + + ..\..\..\..\uml\bin\Release\net6.0\uml.Release.dll + + + + + + ..\..\..\..\fuml\bin\Debug\net6.0\fuml.Debug.dll + + + + + ..\..\..\..\fuml\bin\Release\net6.0\fuml.Release.dll + + + + + + ..\..\..\..\pscs\bin\Debug\net6.0\pscs.Debug.dll + + + + + ..\..\..\..\pscs\bin\Release\net6.0\pscs.Release.dll + + + + diff --git a/fUML-CSharp/tests/pscs-Tests/02_Communication/03_LossOfMessages_Signal/LossOfMessages_Signal.sln b/fUML-CSharp/tests/pscs-Tests/02_Communication/03_LossOfMessages_Signal/LossOfMessages_Signal.sln new file mode 100644 index 0000000..aaf276c --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/02_Communication/03_LossOfMessages_Signal/LossOfMessages_Signal.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.32112.339 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "LossOfMessages_Signal", "LossOfMessages_Signal.csproj", "{35DDE798-C045-4BFF-ABD1-372A8D105897}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {35DDE798-C045-4BFF-ABD1-372A8D105897}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {35DDE798-C045-4BFF-ABD1-372A8D105897}.Debug|Any CPU.Build.0 = Debug|Any CPU + {35DDE798-C045-4BFF-ABD1-372A8D105897}.Release|Any CPU.ActiveCfg = Release|Any CPU + {35DDE798-C045-4BFF-ABD1-372A8D105897}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {4E35ADA1-F92B-41C1-A988-7EFDCCDDEB84} + EndGlobalSection +EndGlobal diff --git a/fUML-CSharp/tests/pscs-Tests/02_Communication/03_LossOfMessages_Signal/model/LossOfMessages_Signal.di b/fUML-CSharp/tests/pscs-Tests/02_Communication/03_LossOfMessages_Signal/model/LossOfMessages_Signal.di new file mode 100644 index 0000000..8c549ee --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/02_Communication/03_LossOfMessages_Signal/model/LossOfMessages_Signal.di @@ -0,0 +1,2 @@ + + diff --git a/fUML-CSharp/tests/pscs-Tests/02_Communication/03_LossOfMessages_Signal/model/LossOfMessages_Signal.notation b/fUML-CSharp/tests/pscs-Tests/02_Communication/03_LossOfMessages_Signal/model/LossOfMessages_Signal.notation new file mode 100644 index 0000000..fd782ad --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/02_Communication/03_LossOfMessages_Signal/model/LossOfMessages_Signal.notation @@ -0,0 +1,796 @@ + + + + + +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/fUML-CSharp/tests/pscs-Tests/02_Communication/03_LossOfMessages_Signal/model/LossOfMessages_Signal.uml b/fUML-CSharp/tests/pscs-Tests/02_Communication/03_LossOfMessages_Signal/model/LossOfMessages_Signal.uml new file mode 100644 index 0000000..656f193 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/02_Communication/03_LossOfMessages_Signal/model/LossOfMessages_Signal.uml @@ -0,0 +1,230 @@ + + + + + This test case addresses loss of a signal on non-behavior port with no delegation connector. + + + Passing: true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + C# + Using + Console.WriteLine("Asserting a.p != 4"); + + // Test parameter p + int p = ((IntegerValue)inputParameters.ElementAt(0).values.ElementAt(0)).value; + Debug.Println("[doBody] argument p = " + p); + + Console.WriteLine("a.p == " + p); + Console.Write("Signal lost: "); + + if(p != 4) + { + Console.ForegroundColor = ConsoleColor.Green; + Console.WriteLine("Assertion successful."); + } + else + { + Console.ForegroundColor = ConsoleColor.Red; + Console.WriteLine("Assertion failed!"); + } + + Console.ResetColor(); + using fuml.semantics.simpleclassifiers; + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/fUML-CSharp/tests/pscs-Tests/02_Communication/03_LossOfMessages_Signal/src/LossOfMessages_Signal.cs b/fUML-CSharp/tests/pscs-Tests/02_Communication/03_LossOfMessages_Signal/src/LossOfMessages_Signal.cs new file mode 100644 index 0000000..df5a1e2 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/02_Communication/03_LossOfMessages_Signal/src/LossOfMessages_Signal.cs @@ -0,0 +1,31 @@ +namespace LossOfMessages_Signal +{ + internal class LossOfMessages_Signal + { + static void PrintUsage() + { + Console.WriteLine( + "=============================================================================================\n" + + "USAGE: [ <...>]\n" + + "=============================================================================================\n" + ); + } + + static int Main(string[] args) + { + if(args.Length == 0) + { + Console.WriteLine("[ERROR] Must declare at least one behavior name.\n"); + PrintUsage(); + return -1; + } + + foreach (string arg in args) + { + LossOfMessages_SignalEnvironment.Instance().Execute(arg); + } + + return 0; + } + } +} diff --git a/fUML-CSharp/tests/pscs-Tests/02_Communication/03_LossOfMessages_Signal/src/LossOfMessages_SignalEnvironment.cs b/fUML-CSharp/tests/pscs-Tests/02_Communication/03_LossOfMessages_Signal/src/LossOfMessages_SignalEnvironment.cs new file mode 100644 index 0000000..5bac56b --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/02_Communication/03_LossOfMessages_Signal/src/LossOfMessages_SignalEnvironment.cs @@ -0,0 +1,93 @@ +/* + * LossOfMessages_SignalEnvironment.cs + * + * Auto-generated file + */ + +/* Start of user code : User-defined using directives + * This section may be used for using directives. + * It will not be overwritten by future generation processes. + */ + +/* + * End of user code + */ + +namespace LossOfMessages_Signal +{ + public class LossOfMessages_SignalEnvironment : pscs.environment.Environment + { + private static LossOfMessages_SignalEnvironment? instance; + + public static LossOfMessages_SignalEnvironment Instance() + { + if(instance is null) + { + instance = new(); + instance.inMemoryModel = LossOfMessages_SignalModel.Instance(); + } + + return instance; + } + + public LossOfMessages_SignalEnvironment() + { + /* + * Create custom opaque behavior execution instances and add them to the execution environment. + */ + AddPrimitiveBehaviorPrototype(new testPExecution()); + + /* Start of user code : Additional environment initializations + * This section may be used to do any additional environment initialization, + * for example initializing user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } + + public override void Execute(string behaviorName) + { + /* Start of user code : Context and inputs initializations + * This section may be used to initialize the execution context + * as well as input parameter values if required. + * It will not be overwritten by future generation processes. + */ + + //context = ...; + //inputs = ...; + + /* + * End of user code + */ + + /* + * Start execution via base class call + */ + base.Execute(behaviorName); + + /* Start of user code : Outputs evaluation + * This section may be used to evaluate output parameter values if required. + * It will not be overwritten by future generation processes. + */ + + //List theOutputs = outputs; + //... + + /* + * End of user code + */ + } + + /* Start of user code : User-defined members + * This section may be used for user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } // LossOfMessages_SignalEnvironment +} diff --git a/fUML-CSharp/tests/pscs-Tests/02_Communication/03_LossOfMessages_Signal/src/LossOfMessages_SignalModel.cs b/fUML-CSharp/tests/pscs-Tests/02_Communication/03_LossOfMessages_Signal/src/LossOfMessages_SignalModel.cs new file mode 100644 index 0000000..594a7ae --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/02_Communication/03_LossOfMessages_Signal/src/LossOfMessages_SignalModel.cs @@ -0,0 +1,748 @@ +/* + * LossOfMessages_SignalModel.cs + * + * Auto-generated file + */ + +using uml.actions; +using uml.packages; +using uml.structuredclassifiers; +using fuml.primitivetypes; +using uml.classification; +using fuml.library; +using uml.commonbehavior; +using uml.simpleclassifiers; +using uml.commonstructure; +using uml.values; +using uml.activities; +using uml.environment; + + +/* Start of user code : User-defined includes and forward declarations + * This section may be used for includes and forward declarations. + * It will not be overwritten by future generation processes. + */ + +/* + * End of user code + */ + +namespace LossOfMessages_Signal +{ + public class LossOfMessages_SignalModel : InMemoryModel + { + private static LossOfMessages_SignalModel? instance; + + /* + * Model LossOfMessages_Signal + */ + public Package LossOfMessages_Signal = new(); + public Interface LossOfMessages_Signal_I = new(); + public Reception LossOfMessages_Signal_I_S = new(); + public Class_ LossOfMessages_Signal_A = new(); + public Port LossOfMessages_Signal_A_q = new(); + public InterfaceRealization LossOfMessages_Signal_A_IRealization = new(); + public Activity LossOfMessages_Signal_A_AClassifierBehavior = new(); + public InitialNode LossOfMessages_Signal_A_AClassifierBehavior_Initial = new(); + public ObjectFlow LossOfMessages_Signal_A_AClassifierBehavior_ObjectFlow0 = new(); + public LiteralInteger LossOfMessages_Signal_A_AClassifierBehavior_ObjectFlow0_LiteralInteger1 = new(); + public LiteralBoolean LossOfMessages_Signal_A_AClassifierBehavior_ObjectFlow0_LiteralBoolean2 = new(); + public ObjectFlow LossOfMessages_Signal_A_AClassifierBehavior_ObjectFlow3 = new(); + public LiteralBoolean LossOfMessages_Signal_A_AClassifierBehavior_ObjectFlow3_LiteralBoolean4 = new(); + public LiteralInteger LossOfMessages_Signal_A_AClassifierBehavior_ObjectFlow3_LiteralInteger5 = new(); + public ObjectFlow LossOfMessages_Signal_A_AClassifierBehavior_ObjectFlow6 = new(); + public LiteralInteger LossOfMessages_Signal_A_AClassifierBehavior_ObjectFlow6_LiteralInteger7 = new(); + public LiteralBoolean LossOfMessages_Signal_A_AClassifierBehavior_ObjectFlow6_LiteralBoolean8 = new(); + public AddStructuralFeatureValueAction LossOfMessages_Signal_A_AClassifierBehavior_Set_this_p = new(); + public InputPin LossOfMessages_Signal_A_AClassifierBehavior_Set_this_p_value = new(); + public LiteralUnlimitedNatural LossOfMessages_Signal_A_AClassifierBehavior_Set_this_p_value_LiteralUnlimitedNatural9 = new(); + public LiteralInteger LossOfMessages_Signal_A_AClassifierBehavior_Set_this_p_value_LiteralInteger10 = new(); + public InputPin LossOfMessages_Signal_A_AClassifierBehavior_Set_this_p_object = new(); + public LiteralInteger LossOfMessages_Signal_A_AClassifierBehavior_Set_this_p_object_LiteralInteger11 = new(); + public LiteralUnlimitedNatural LossOfMessages_Signal_A_AClassifierBehavior_Set_this_p_object_LiteralUnlimitedNatural12 = new(); + public OutputPin LossOfMessages_Signal_A_AClassifierBehavior_Set_this_p_result = new(); + public LiteralUnlimitedNatural LossOfMessages_Signal_A_AClassifierBehavior_Set_this_p_result_LiteralUnlimitedNatural13 = new(); + public LiteralInteger LossOfMessages_Signal_A_AClassifierBehavior_Set_this_p_result_LiteralInteger14 = new(); + public ReadSelfAction LossOfMessages_Signal_A_AClassifierBehavior_this = new(); + public OutputPin LossOfMessages_Signal_A_AClassifierBehavior_this_result = new(); + public LiteralInteger LossOfMessages_Signal_A_AClassifierBehavior_this_result_LiteralInteger15 = new(); + public LiteralUnlimitedNatural LossOfMessages_Signal_A_AClassifierBehavior_this_result_LiteralUnlimitedNatural16 = new(); + public ReadStructuralFeatureAction LossOfMessages_Signal_A_AClassifierBehavior_Read_s_v = new(); + public OutputPin LossOfMessages_Signal_A_AClassifierBehavior_Read_s_v_result = new(); + public LiteralInteger LossOfMessages_Signal_A_AClassifierBehavior_Read_s_v_result_LiteralInteger17 = new(); + public LiteralUnlimitedNatural LossOfMessages_Signal_A_AClassifierBehavior_Read_s_v_result_LiteralUnlimitedNatural18 = new(); + public InputPin LossOfMessages_Signal_A_AClassifierBehavior_Read_s_v_object = new(); + public LiteralInteger LossOfMessages_Signal_A_AClassifierBehavior_Read_s_v_object_LiteralInteger19 = new(); + public LiteralUnlimitedNatural LossOfMessages_Signal_A_AClassifierBehavior_Read_s_v_object_LiteralUnlimitedNatural20 = new(); + public ControlFlow LossOfMessages_Signal_A_AClassifierBehavior_ControlFlow21 = new(); + public AcceptEventAction LossOfMessages_Signal_A_AClassifierBehavior_Accept_S = new(); + public Trigger LossOfMessages_Signal_A_AClassifierBehavior_Accept_S_Trigger22 = new(); + public OutputPin LossOfMessages_Signal_A_AClassifierBehavior_Accept_S_result = new(); + public LiteralUnlimitedNatural LossOfMessages_Signal_A_AClassifierBehavior_Accept_S_result_LiteralUnlimitedNatural23 = new(); + public LiteralInteger LossOfMessages_Signal_A_AClassifierBehavior_Accept_S_result_LiteralInteger24 = new(); + public LiteralInteger LossOfMessages_Signal_A_AClassifierBehavior_Accept_S_result_LiteralInteger25 = new(); + public Property LossOfMessages_Signal_A_p = new(); + public LiteralInteger LossOfMessages_Signal_A_p_LiteralInteger26 = new(); + public Operation LossOfMessages_Signal_A_A_A = new(); + public Parameter LossOfMessages_Signal_A_A_A_result = new(); + public Reception LossOfMessages_Signal_A_S = new(); + public Signal LossOfMessages_Signal_S = new(); + public Property LossOfMessages_Signal_S_v = new(); + public SignalEvent LossOfMessages_Signal_SignalEventS = new(); + public Activity LossOfMessages_Signal_main = new(); + public ObjectFlow LossOfMessages_Signal_main_ObjectFlow27 = new(); + public LiteralInteger LossOfMessages_Signal_main_ObjectFlow27_LiteralInteger28 = new(); + public LiteralBoolean LossOfMessages_Signal_main_ObjectFlow27_LiteralBoolean29 = new(); + public ForkNode LossOfMessages_Signal_main_Fork_A = new(); + public ObjectFlow LossOfMessages_Signal_main_ObjectFlow30 = new(); + public LiteralInteger LossOfMessages_Signal_main_ObjectFlow30_LiteralInteger31 = new(); + public LiteralBoolean LossOfMessages_Signal_main_ObjectFlow30_LiteralBoolean32 = new(); + public ObjectFlow LossOfMessages_Signal_main_ObjectFlow33 = new(); + public LiteralInteger LossOfMessages_Signal_main_ObjectFlow33_LiteralInteger34 = new(); + public LiteralBoolean LossOfMessages_Signal_main_ObjectFlow33_LiteralBoolean35 = new(); + public ObjectFlow LossOfMessages_Signal_main_ObjectFlow36 = new(); + public LiteralInteger LossOfMessages_Signal_main_ObjectFlow36_LiteralInteger37 = new(); + public LiteralBoolean LossOfMessages_Signal_main_ObjectFlow36_LiteralBoolean38 = new(); + public OpaqueBehavior LossOfMessages_Signal_main_testP = new(); + public Parameter LossOfMessages_Signal_main_testP_p = new(); + public CreateObjectAction LossOfMessages_Signal_main_Create_A = new(); + public OutputPin LossOfMessages_Signal_main_Create_A_result = new(); + public LiteralInteger LossOfMessages_Signal_main_Create_A_result_LiteralInteger39 = new(); + public LiteralUnlimitedNatural LossOfMessages_Signal_main_Create_A_result_LiteralUnlimitedNatural40 = new(); + public CallBehaviorAction LossOfMessages_Signal_main_Call_testP = new(); + public InputPin LossOfMessages_Signal_main_Call_testP_p = new(); + public LiteralUnlimitedNatural LossOfMessages_Signal_main_Call_testP_p_LiteralUnlimitedNatural41 = new(); + public LiteralInteger LossOfMessages_Signal_main_Call_testP_p_LiteralInteger42 = new(); + public LiteralInteger LossOfMessages_Signal_main_Call_testP_p_LiteralInteger43 = new(); + public ReadStructuralFeatureAction LossOfMessages_Signal_main_Read_a_p = new(); + public OutputPin LossOfMessages_Signal_main_Read_a_p_result = new(); + public LiteralUnlimitedNatural LossOfMessages_Signal_main_Read_a_p_result_LiteralUnlimitedNatural44 = new(); + public LiteralInteger LossOfMessages_Signal_main_Read_a_p_result_LiteralInteger45 = new(); + public InputPin LossOfMessages_Signal_main_Read_a_p_object = new(); + public LiteralUnlimitedNatural LossOfMessages_Signal_main_Read_a_p_object_LiteralUnlimitedNatural46 = new(); + public LiteralInteger LossOfMessages_Signal_main_Read_a_p_object_LiteralInteger47 = new(); + public ControlFlow LossOfMessages_Signal_main_ControlFlow48 = new(); + public ValueSpecificationAction LossOfMessages_Signal_main_Value_4 = new(); + public OutputPin LossOfMessages_Signal_main_Value_4_result = new(); + public LiteralInteger LossOfMessages_Signal_main_Value_4_result_LiteralInteger49 = new(); + public LiteralUnlimitedNatural LossOfMessages_Signal_main_Value_4_result_LiteralUnlimitedNatural50 = new(); + public LiteralInteger LossOfMessages_Signal_main_Value_4_LiteralInteger51 = new(); + public ObjectFlow LossOfMessages_Signal_main_ObjectFlow52 = new(); + public LiteralBoolean LossOfMessages_Signal_main_ObjectFlow52_LiteralBoolean53 = new(); + public LiteralInteger LossOfMessages_Signal_main_ObjectFlow52_LiteralInteger54 = new(); + public CallOperationAction LossOfMessages_Signal_main_A_ = new(); + public InputPin LossOfMessages_Signal_main_A__target = new(); + public LiteralUnlimitedNatural LossOfMessages_Signal_main_A__target_LiteralUnlimitedNatural55 = new(); + public LiteralInteger LossOfMessages_Signal_main_A__target_LiteralInteger56 = new(); + public OutputPin LossOfMessages_Signal_main_A__result = new(); + public LiteralInteger LossOfMessages_Signal_main_A__result_LiteralInteger57 = new(); + public LiteralUnlimitedNatural LossOfMessages_Signal_main_A__result_LiteralUnlimitedNatural58 = new(); + public LiteralInteger LossOfMessages_Signal_main_A__result_LiteralInteger59 = new(); + public ReadStructuralFeatureAction LossOfMessages_Signal_main_Read_a_q = new(); + public OutputPin LossOfMessages_Signal_main_Read_a_q_result = new(); + public LiteralUnlimitedNatural LossOfMessages_Signal_main_Read_a_q_result_LiteralUnlimitedNatural60 = new(); + public LiteralInteger LossOfMessages_Signal_main_Read_a_q_result_LiteralInteger61 = new(); + public InputPin LossOfMessages_Signal_main_Read_a_q_object = new(); + public LiteralInteger LossOfMessages_Signal_main_Read_a_q_object_LiteralInteger62 = new(); + public LiteralUnlimitedNatural LossOfMessages_Signal_main_Read_a_q_object_LiteralUnlimitedNatural63 = new(); + public ObjectFlow LossOfMessages_Signal_main_ObjectFlow64 = new(); + public LiteralBoolean LossOfMessages_Signal_main_ObjectFlow64_LiteralBoolean65 = new(); + public LiteralInteger LossOfMessages_Signal_main_ObjectFlow64_LiteralInteger66 = new(); + public ObjectFlow LossOfMessages_Signal_main_ObjectFlow67 = new(); + public LiteralInteger LossOfMessages_Signal_main_ObjectFlow67_LiteralInteger68 = new(); + public LiteralBoolean LossOfMessages_Signal_main_ObjectFlow67_LiteralBoolean69 = new(); + public SendSignalAction LossOfMessages_Signal_main_Send_S = new(); + public InputPin LossOfMessages_Signal_main_Send_S_v = new(); + public LiteralInteger LossOfMessages_Signal_main_Send_S_v_LiteralInteger70 = new(); + public LiteralInteger LossOfMessages_Signal_main_Send_S_v_LiteralInteger71 = new(); + public LiteralUnlimitedNatural LossOfMessages_Signal_main_Send_S_v_LiteralUnlimitedNatural72 = new(); + public InputPin LossOfMessages_Signal_main_Send_S_target = new(); + public LiteralUnlimitedNatural LossOfMessages_Signal_main_Send_S_target_LiteralUnlimitedNatural73 = new(); + public LiteralInteger LossOfMessages_Signal_main_Send_S_target_LiteralInteger74 = new(); + public Class_ LossOfMessages_Signal_IImpl = new(); + public Reception LossOfMessages_Signal_IImpl_S = new(); + public InterfaceRealization LossOfMessages_Signal_IImpl_IRealization = new(); + + public static LossOfMessages_SignalModel Instance() + { + if (instance is null) + { + instance = new(); + instance.InitializeInMemoryModel(); + } + + return instance; + } + + public LossOfMessages_SignalModel() + { + /* Start of user code : Additional model initializations + * This section may be used to do any additional model initialization, + * for example initializing user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } + + private void InitializeInMemoryModel() + { + // Create public members + /* + * Model LossOfMessages_Signal + */ + AddToElementRepository("LossOfMessages_Signal", LossOfMessages_Signal); + AddToElementRepository("I", LossOfMessages_Signal_I); + AddToElementRepository("S", LossOfMessages_Signal_I_S); + AddToElementRepository("A", LossOfMessages_Signal_A); + AddToElementRepository("q", LossOfMessages_Signal_A_q); + AddToElementRepository("IRealization", LossOfMessages_Signal_A_IRealization); + AddToElementRepository("AClassifierBehavior", LossOfMessages_Signal_A_AClassifierBehavior); + AddToElementRepository("Initial", LossOfMessages_Signal_A_AClassifierBehavior_Initial); + AddToElementRepository("ObjectFlow0", LossOfMessages_Signal_A_AClassifierBehavior_ObjectFlow0); + AddToElementRepository("LiteralInteger1", LossOfMessages_Signal_A_AClassifierBehavior_ObjectFlow0_LiteralInteger1); + AddToElementRepository("LiteralBoolean2", LossOfMessages_Signal_A_AClassifierBehavior_ObjectFlow0_LiteralBoolean2); + AddToElementRepository("ObjectFlow3", LossOfMessages_Signal_A_AClassifierBehavior_ObjectFlow3); + AddToElementRepository("LiteralBoolean4", LossOfMessages_Signal_A_AClassifierBehavior_ObjectFlow3_LiteralBoolean4); + AddToElementRepository("LiteralInteger5", LossOfMessages_Signal_A_AClassifierBehavior_ObjectFlow3_LiteralInteger5); + AddToElementRepository("ObjectFlow6", LossOfMessages_Signal_A_AClassifierBehavior_ObjectFlow6); + AddToElementRepository("LiteralInteger7", LossOfMessages_Signal_A_AClassifierBehavior_ObjectFlow6_LiteralInteger7); + AddToElementRepository("LiteralBoolean8", LossOfMessages_Signal_A_AClassifierBehavior_ObjectFlow6_LiteralBoolean8); + AddToElementRepository("Set this.p", LossOfMessages_Signal_A_AClassifierBehavior_Set_this_p); + AddToElementRepository("value", LossOfMessages_Signal_A_AClassifierBehavior_Set_this_p_value); + AddToElementRepository("LiteralUnlimitedNatural9", LossOfMessages_Signal_A_AClassifierBehavior_Set_this_p_value_LiteralUnlimitedNatural9); + AddToElementRepository("LiteralInteger10", LossOfMessages_Signal_A_AClassifierBehavior_Set_this_p_value_LiteralInteger10); + AddToElementRepository("object", LossOfMessages_Signal_A_AClassifierBehavior_Set_this_p_object); + AddToElementRepository("LiteralInteger11", LossOfMessages_Signal_A_AClassifierBehavior_Set_this_p_object_LiteralInteger11); + AddToElementRepository("LiteralUnlimitedNatural12", LossOfMessages_Signal_A_AClassifierBehavior_Set_this_p_object_LiteralUnlimitedNatural12); + AddToElementRepository("result", LossOfMessages_Signal_A_AClassifierBehavior_Set_this_p_result); + AddToElementRepository("LiteralUnlimitedNatural13", LossOfMessages_Signal_A_AClassifierBehavior_Set_this_p_result_LiteralUnlimitedNatural13); + AddToElementRepository("LiteralInteger14", LossOfMessages_Signal_A_AClassifierBehavior_Set_this_p_result_LiteralInteger14); + AddToElementRepository("this", LossOfMessages_Signal_A_AClassifierBehavior_this); + AddToElementRepository("result", LossOfMessages_Signal_A_AClassifierBehavior_this_result); + AddToElementRepository("LiteralInteger15", LossOfMessages_Signal_A_AClassifierBehavior_this_result_LiteralInteger15); + AddToElementRepository("LiteralUnlimitedNatural16", LossOfMessages_Signal_A_AClassifierBehavior_this_result_LiteralUnlimitedNatural16); + AddToElementRepository("Read s.v", LossOfMessages_Signal_A_AClassifierBehavior_Read_s_v); + AddToElementRepository("result", LossOfMessages_Signal_A_AClassifierBehavior_Read_s_v_result); + AddToElementRepository("LiteralInteger17", LossOfMessages_Signal_A_AClassifierBehavior_Read_s_v_result_LiteralInteger17); + AddToElementRepository("LiteralUnlimitedNatural18", LossOfMessages_Signal_A_AClassifierBehavior_Read_s_v_result_LiteralUnlimitedNatural18); + AddToElementRepository("object", LossOfMessages_Signal_A_AClassifierBehavior_Read_s_v_object); + AddToElementRepository("LiteralInteger19", LossOfMessages_Signal_A_AClassifierBehavior_Read_s_v_object_LiteralInteger19); + AddToElementRepository("LiteralUnlimitedNatural20", LossOfMessages_Signal_A_AClassifierBehavior_Read_s_v_object_LiteralUnlimitedNatural20); + AddToElementRepository("ControlFlow21", LossOfMessages_Signal_A_AClassifierBehavior_ControlFlow21); + AddToElementRepository("Accept S", LossOfMessages_Signal_A_AClassifierBehavior_Accept_S); + AddToElementRepository("Trigger22", LossOfMessages_Signal_A_AClassifierBehavior_Accept_S_Trigger22); + AddToElementRepository("result", LossOfMessages_Signal_A_AClassifierBehavior_Accept_S_result); + AddToElementRepository("LiteralUnlimitedNatural23", LossOfMessages_Signal_A_AClassifierBehavior_Accept_S_result_LiteralUnlimitedNatural23); + AddToElementRepository("LiteralInteger24", LossOfMessages_Signal_A_AClassifierBehavior_Accept_S_result_LiteralInteger24); + AddToElementRepository("LiteralInteger25", LossOfMessages_Signal_A_AClassifierBehavior_Accept_S_result_LiteralInteger25); + AddToElementRepository("p", LossOfMessages_Signal_A_p); + AddToElementRepository("LiteralInteger26", LossOfMessages_Signal_A_p_LiteralInteger26); + AddToElementRepository("A_A", LossOfMessages_Signal_A_A_A); + AddToElementRepository("result", LossOfMessages_Signal_A_A_A_result); + AddToElementRepository("S", LossOfMessages_Signal_A_S); + AddToElementRepository("S", LossOfMessages_Signal_S); + AddToElementRepository("v", LossOfMessages_Signal_S_v); + AddToElementRepository("SignalEventS", LossOfMessages_Signal_SignalEventS); + AddToElementRepository("main", LossOfMessages_Signal_main); + AddToElementRepository("ObjectFlow27", LossOfMessages_Signal_main_ObjectFlow27); + AddToElementRepository("LiteralInteger28", LossOfMessages_Signal_main_ObjectFlow27_LiteralInteger28); + AddToElementRepository("LiteralBoolean29", LossOfMessages_Signal_main_ObjectFlow27_LiteralBoolean29); + AddToElementRepository("Fork A", LossOfMessages_Signal_main_Fork_A); + AddToElementRepository("ObjectFlow30", LossOfMessages_Signal_main_ObjectFlow30); + AddToElementRepository("LiteralInteger31", LossOfMessages_Signal_main_ObjectFlow30_LiteralInteger31); + AddToElementRepository("LiteralBoolean32", LossOfMessages_Signal_main_ObjectFlow30_LiteralBoolean32); + AddToElementRepository("ObjectFlow33", LossOfMessages_Signal_main_ObjectFlow33); + AddToElementRepository("LiteralInteger34", LossOfMessages_Signal_main_ObjectFlow33_LiteralInteger34); + AddToElementRepository("LiteralBoolean35", LossOfMessages_Signal_main_ObjectFlow33_LiteralBoolean35); + AddToElementRepository("ObjectFlow36", LossOfMessages_Signal_main_ObjectFlow36); + AddToElementRepository("LiteralInteger37", LossOfMessages_Signal_main_ObjectFlow36_LiteralInteger37); + AddToElementRepository("LiteralBoolean38", LossOfMessages_Signal_main_ObjectFlow36_LiteralBoolean38); + AddToElementRepository("testP", LossOfMessages_Signal_main_testP); + AddToElementRepository("p", LossOfMessages_Signal_main_testP_p); + AddToElementRepository("Create A", LossOfMessages_Signal_main_Create_A); + AddToElementRepository("result", LossOfMessages_Signal_main_Create_A_result); + AddToElementRepository("LiteralInteger39", LossOfMessages_Signal_main_Create_A_result_LiteralInteger39); + AddToElementRepository("LiteralUnlimitedNatural40", LossOfMessages_Signal_main_Create_A_result_LiteralUnlimitedNatural40); + AddToElementRepository("Call testP", LossOfMessages_Signal_main_Call_testP); + AddToElementRepository("p", LossOfMessages_Signal_main_Call_testP_p); + AddToElementRepository("LiteralUnlimitedNatural41", LossOfMessages_Signal_main_Call_testP_p_LiteralUnlimitedNatural41); + AddToElementRepository("LiteralInteger42", LossOfMessages_Signal_main_Call_testP_p_LiteralInteger42); + AddToElementRepository("LiteralInteger43", LossOfMessages_Signal_main_Call_testP_p_LiteralInteger43); + AddToElementRepository("Read a.p", LossOfMessages_Signal_main_Read_a_p); + AddToElementRepository("result", LossOfMessages_Signal_main_Read_a_p_result); + AddToElementRepository("LiteralUnlimitedNatural44", LossOfMessages_Signal_main_Read_a_p_result_LiteralUnlimitedNatural44); + AddToElementRepository("LiteralInteger45", LossOfMessages_Signal_main_Read_a_p_result_LiteralInteger45); + AddToElementRepository("object", LossOfMessages_Signal_main_Read_a_p_object); + AddToElementRepository("LiteralUnlimitedNatural46", LossOfMessages_Signal_main_Read_a_p_object_LiteralUnlimitedNatural46); + AddToElementRepository("LiteralInteger47", LossOfMessages_Signal_main_Read_a_p_object_LiteralInteger47); + AddToElementRepository("ControlFlow48", LossOfMessages_Signal_main_ControlFlow48); + AddToElementRepository("Value 4", LossOfMessages_Signal_main_Value_4); + AddToElementRepository("result", LossOfMessages_Signal_main_Value_4_result); + AddToElementRepository("LiteralInteger49", LossOfMessages_Signal_main_Value_4_result_LiteralInteger49); + AddToElementRepository("LiteralUnlimitedNatural50", LossOfMessages_Signal_main_Value_4_result_LiteralUnlimitedNatural50); + AddToElementRepository("LiteralInteger51", LossOfMessages_Signal_main_Value_4_LiteralInteger51); + AddToElementRepository("ObjectFlow52", LossOfMessages_Signal_main_ObjectFlow52); + AddToElementRepository("LiteralBoolean53", LossOfMessages_Signal_main_ObjectFlow52_LiteralBoolean53); + AddToElementRepository("LiteralInteger54", LossOfMessages_Signal_main_ObjectFlow52_LiteralInteger54); + AddToElementRepository("A()", LossOfMessages_Signal_main_A_); + AddToElementRepository("target", LossOfMessages_Signal_main_A__target); + AddToElementRepository("LiteralUnlimitedNatural55", LossOfMessages_Signal_main_A__target_LiteralUnlimitedNatural55); + AddToElementRepository("LiteralInteger56", LossOfMessages_Signal_main_A__target_LiteralInteger56); + AddToElementRepository("result", LossOfMessages_Signal_main_A__result); + AddToElementRepository("LiteralInteger57", LossOfMessages_Signal_main_A__result_LiteralInteger57); + AddToElementRepository("LiteralUnlimitedNatural58", LossOfMessages_Signal_main_A__result_LiteralUnlimitedNatural58); + AddToElementRepository("LiteralInteger59", LossOfMessages_Signal_main_A__result_LiteralInteger59); + AddToElementRepository("Read a.q", LossOfMessages_Signal_main_Read_a_q); + AddToElementRepository("result", LossOfMessages_Signal_main_Read_a_q_result); + AddToElementRepository("LiteralUnlimitedNatural60", LossOfMessages_Signal_main_Read_a_q_result_LiteralUnlimitedNatural60); + AddToElementRepository("LiteralInteger61", LossOfMessages_Signal_main_Read_a_q_result_LiteralInteger61); + AddToElementRepository("object", LossOfMessages_Signal_main_Read_a_q_object); + AddToElementRepository("LiteralInteger62", LossOfMessages_Signal_main_Read_a_q_object_LiteralInteger62); + AddToElementRepository("LiteralUnlimitedNatural63", LossOfMessages_Signal_main_Read_a_q_object_LiteralUnlimitedNatural63); + AddToElementRepository("ObjectFlow64", LossOfMessages_Signal_main_ObjectFlow64); + AddToElementRepository("LiteralBoolean65", LossOfMessages_Signal_main_ObjectFlow64_LiteralBoolean65); + AddToElementRepository("LiteralInteger66", LossOfMessages_Signal_main_ObjectFlow64_LiteralInteger66); + AddToElementRepository("ObjectFlow67", LossOfMessages_Signal_main_ObjectFlow67); + AddToElementRepository("LiteralInteger68", LossOfMessages_Signal_main_ObjectFlow67_LiteralInteger68); + AddToElementRepository("LiteralBoolean69", LossOfMessages_Signal_main_ObjectFlow67_LiteralBoolean69); + AddToElementRepository("Send S", LossOfMessages_Signal_main_Send_S); + AddToElementRepository("v", LossOfMessages_Signal_main_Send_S_v); + AddToElementRepository("LiteralInteger70", LossOfMessages_Signal_main_Send_S_v_LiteralInteger70); + AddToElementRepository("LiteralInteger71", LossOfMessages_Signal_main_Send_S_v_LiteralInteger71); + AddToElementRepository("LiteralUnlimitedNatural72", LossOfMessages_Signal_main_Send_S_v_LiteralUnlimitedNatural72); + AddToElementRepository("target", LossOfMessages_Signal_main_Send_S_target); + AddToElementRepository("LiteralUnlimitedNatural73", LossOfMessages_Signal_main_Send_S_target_LiteralUnlimitedNatural73); + AddToElementRepository("LiteralInteger74", LossOfMessages_Signal_main_Send_S_target_LiteralInteger74); + AddToElementRepository("IImpl", LossOfMessages_Signal_IImpl); + AddToElementRepository("S", LossOfMessages_Signal_IImpl_S); + AddToElementRepository("IRealization", LossOfMessages_Signal_IImpl_IRealization); + + // Initialize public members + /* + * Model LossOfMessages_Signal + */ + LossOfMessages_Signal.SetName("LossOfMessages_Signal"); + LossOfMessages_Signal.SetVisibility(VisibilityKind.public_); + // Interface I + LossOfMessages_Signal_I.SetName("I"); + LossOfMessages_Signal_I.SetVisibility(VisibilityKind.public_); + // Reception S + LossOfMessages_Signal_I_S.SetName("S"); + LossOfMessages_Signal_I_S.SetVisibility(VisibilityKind.public_); + LossOfMessages_Signal_I_S.SetSignal(LossOfMessages_Signal_S); + LossOfMessages_Signal_I.AddOwnedReception(LossOfMessages_Signal_I_S); + LossOfMessages_Signal.AddPackagedElement(LossOfMessages_Signal_I); + // Class A + LossOfMessages_Signal_A.SetName("A"); + LossOfMessages_Signal_A.SetVisibility(VisibilityKind.public_); + + // Property p + LossOfMessages_Signal_A_p.SetName("p"); + LossOfMessages_Signal_A_p.SetVisibility(VisibilityKind.public_); + + LossOfMessages_Signal_A_p.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + LossOfMessages_Signal_A_p.SetAggregation(AggregationKind.composite); + // LiteralInteger LiteralInteger26 + LossOfMessages_Signal_A_p_LiteralInteger26.SetName("LiteralInteger26"); + LossOfMessages_Signal_A_p_LiteralInteger26.SetVisibility(VisibilityKind.public_); + LossOfMessages_Signal_A_p_LiteralInteger26.SetValue(0); + LossOfMessages_Signal_A_p.SetDefaultValue(LossOfMessages_Signal_A_p_LiteralInteger26); + LossOfMessages_Signal_A.AddOwnedAttribute(LossOfMessages_Signal_A_p); + // Port q + LossOfMessages_Signal_A_q.SetName("q"); + LossOfMessages_Signal_A_q.SetVisibility(VisibilityKind.public_); + + LossOfMessages_Signal_A_q.SetType(LossOfMessages_Signal_IImpl); + LossOfMessages_Signal_A_q.SetAggregation(AggregationKind.composite); + LossOfMessages_Signal_A_q.isService = true; + LossOfMessages_Signal_A_q.AddProvided(LossOfMessages_Signal_I); + LossOfMessages_Signal_A.AddOwnedAttribute(LossOfMessages_Signal_A_q); + LossOfMessages_Signal_A.SetClassifierBehavior(LossOfMessages_Signal_A_AClassifierBehavior); + // Activity AClassifierBehavior + LossOfMessages_Signal_A_AClassifierBehavior.SetName("AClassifierBehavior"); + LossOfMessages_Signal_A_AClassifierBehavior.SetVisibility(VisibilityKind.public_); + // InitialNode Initial + LossOfMessages_Signal_A_AClassifierBehavior_Initial.SetName("Initial"); + LossOfMessages_Signal_A_AClassifierBehavior_Initial.SetVisibility(VisibilityKind.public_); + LossOfMessages_Signal_A_AClassifierBehavior.AddNode(LossOfMessages_Signal_A_AClassifierBehavior_Initial); + // AddStructuralFeatureValueAction Set this.p + LossOfMessages_Signal_A_AClassifierBehavior_Set_this_p.SetName("Set this.p"); + LossOfMessages_Signal_A_AClassifierBehavior_Set_this_p.SetVisibility(VisibilityKind.public_); + LossOfMessages_Signal_A_AClassifierBehavior_Set_this_p.SetStructuralFeature(LossOfMessages_Signal_A_p); + // InputPin object + LossOfMessages_Signal_A_AClassifierBehavior_Set_this_p_object.SetName("object"); + LossOfMessages_Signal_A_AClassifierBehavior_Set_this_p_object.SetVisibility(VisibilityKind.public_); + LossOfMessages_Signal_A_AClassifierBehavior_Set_this_p_object.SetType(LossOfMessages_Signal_A); + LossOfMessages_Signal_A_AClassifierBehavior_Set_this_p.SetObject(LossOfMessages_Signal_A_AClassifierBehavior_Set_this_p_object); + // InputPin value + LossOfMessages_Signal_A_AClassifierBehavior_Set_this_p_value.SetName("value"); + LossOfMessages_Signal_A_AClassifierBehavior_Set_this_p_value.SetVisibility(VisibilityKind.public_); + LossOfMessages_Signal_A_AClassifierBehavior_Set_this_p_value.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + LossOfMessages_Signal_A_AClassifierBehavior_Set_this_p.SetValue(LossOfMessages_Signal_A_AClassifierBehavior_Set_this_p_value); + // OutputPin result + LossOfMessages_Signal_A_AClassifierBehavior_Set_this_p_result.SetName("result"); + LossOfMessages_Signal_A_AClassifierBehavior_Set_this_p_result.SetVisibility(VisibilityKind.public_); + LossOfMessages_Signal_A_AClassifierBehavior_Set_this_p_result.SetType(LossOfMessages_Signal_A); + LossOfMessages_Signal_A_AClassifierBehavior_Set_this_p.SetResult(LossOfMessages_Signal_A_AClassifierBehavior_Set_this_p_result); + LossOfMessages_Signal_A_AClassifierBehavior.AddNode(LossOfMessages_Signal_A_AClassifierBehavior_Set_this_p); + // ReadSelfAction this + LossOfMessages_Signal_A_AClassifierBehavior_this.SetName("this"); + LossOfMessages_Signal_A_AClassifierBehavior_this.SetVisibility(VisibilityKind.public_); + // OutputPin result + LossOfMessages_Signal_A_AClassifierBehavior_this_result.SetName("result"); + LossOfMessages_Signal_A_AClassifierBehavior_this_result.SetVisibility(VisibilityKind.public_); + LossOfMessages_Signal_A_AClassifierBehavior_this_result.SetType(LossOfMessages_Signal_A); + LossOfMessages_Signal_A_AClassifierBehavior_this.SetResult(LossOfMessages_Signal_A_AClassifierBehavior_this_result); + LossOfMessages_Signal_A_AClassifierBehavior.AddNode(LossOfMessages_Signal_A_AClassifierBehavior_this); + // ReadStructuralFeatureAction Read s.v + LossOfMessages_Signal_A_AClassifierBehavior_Read_s_v.SetName("Read s.v"); + LossOfMessages_Signal_A_AClassifierBehavior_Read_s_v.SetVisibility(VisibilityKind.public_); + LossOfMessages_Signal_A_AClassifierBehavior_Read_s_v.SetStructuralFeature(LossOfMessages_Signal_S_v); + // InputPin object + LossOfMessages_Signal_A_AClassifierBehavior_Read_s_v_object.SetName("object"); + LossOfMessages_Signal_A_AClassifierBehavior_Read_s_v_object.SetVisibility(VisibilityKind.public_); + LossOfMessages_Signal_A_AClassifierBehavior_Read_s_v.SetObject(LossOfMessages_Signal_A_AClassifierBehavior_Read_s_v_object); + // OutputPin result + LossOfMessages_Signal_A_AClassifierBehavior_Read_s_v_result.SetName("result"); + LossOfMessages_Signal_A_AClassifierBehavior_Read_s_v_result.SetVisibility(VisibilityKind.public_); + LossOfMessages_Signal_A_AClassifierBehavior_Read_s_v_result.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + LossOfMessages_Signal_A_AClassifierBehavior_Read_s_v.SetResult(LossOfMessages_Signal_A_AClassifierBehavior_Read_s_v_result); + LossOfMessages_Signal_A_AClassifierBehavior.AddNode(LossOfMessages_Signal_A_AClassifierBehavior_Read_s_v); + // AcceptEventAction Accept S + LossOfMessages_Signal_A_AClassifierBehavior_Accept_S.SetName("Accept S"); + LossOfMessages_Signal_A_AClassifierBehavior_Accept_S.SetVisibility(VisibilityKind.public_); + // OutputPin result + LossOfMessages_Signal_A_AClassifierBehavior_Accept_S_result.SetName("result"); + LossOfMessages_Signal_A_AClassifierBehavior_Accept_S_result.SetVisibility(VisibilityKind.public_); + LossOfMessages_Signal_A_AClassifierBehavior_Accept_S_result.SetType(LossOfMessages_Signal_S); + LossOfMessages_Signal_A_AClassifierBehavior_Accept_S.AddResult(LossOfMessages_Signal_A_AClassifierBehavior_Accept_S_result); + // Trigger Trigger22 + LossOfMessages_Signal_A_AClassifierBehavior_Accept_S_Trigger22.SetName("Trigger22"); + LossOfMessages_Signal_A_AClassifierBehavior_Accept_S_Trigger22.SetVisibility(VisibilityKind.public_); + LossOfMessages_Signal_A_AClassifierBehavior_Accept_S_Trigger22.SetEvent(LossOfMessages_Signal_SignalEventS); + LossOfMessages_Signal_A_AClassifierBehavior_Accept_S.AddTrigger(LossOfMessages_Signal_A_AClassifierBehavior_Accept_S_Trigger22); + LossOfMessages_Signal_A_AClassifierBehavior.AddNode(LossOfMessages_Signal_A_AClassifierBehavior_Accept_S); + // ObjectFlow ObjectFlow0 from result to object + LossOfMessages_Signal_A_AClassifierBehavior_ObjectFlow0.SetName("ObjectFlow0"); + LossOfMessages_Signal_A_AClassifierBehavior_ObjectFlow0.SetVisibility(VisibilityKind.public_); + + LossOfMessages_Signal_A_AClassifierBehavior_ObjectFlow0.SetSource(LossOfMessages_Signal_A_AClassifierBehavior_Accept_S_result); + LossOfMessages_Signal_A_AClassifierBehavior_ObjectFlow0.SetTarget(LossOfMessages_Signal_A_AClassifierBehavior_Read_s_v_object); + // LiteralBoolean LiteralBoolean2 + LossOfMessages_Signal_A_AClassifierBehavior_ObjectFlow0_LiteralBoolean2.SetName("LiteralBoolean2"); + LossOfMessages_Signal_A_AClassifierBehavior_ObjectFlow0_LiteralBoolean2.SetVisibility(VisibilityKind.public_); + LossOfMessages_Signal_A_AClassifierBehavior_ObjectFlow0_LiteralBoolean2.SetValue(true); + LossOfMessages_Signal_A_AClassifierBehavior_ObjectFlow0.SetGuard(LossOfMessages_Signal_A_AClassifierBehavior_ObjectFlow0_LiteralBoolean2); + LossOfMessages_Signal_A_AClassifierBehavior.AddEdge(LossOfMessages_Signal_A_AClassifierBehavior_ObjectFlow0); + // ObjectFlow ObjectFlow3 from result to object + LossOfMessages_Signal_A_AClassifierBehavior_ObjectFlow3.SetName("ObjectFlow3"); + LossOfMessages_Signal_A_AClassifierBehavior_ObjectFlow3.SetVisibility(VisibilityKind.public_); + + LossOfMessages_Signal_A_AClassifierBehavior_ObjectFlow3.SetSource(LossOfMessages_Signal_A_AClassifierBehavior_this_result); + LossOfMessages_Signal_A_AClassifierBehavior_ObjectFlow3.SetTarget(LossOfMessages_Signal_A_AClassifierBehavior_Set_this_p_object); + // LiteralBoolean LiteralBoolean4 + LossOfMessages_Signal_A_AClassifierBehavior_ObjectFlow3_LiteralBoolean4.SetName("LiteralBoolean4"); + LossOfMessages_Signal_A_AClassifierBehavior_ObjectFlow3_LiteralBoolean4.SetVisibility(VisibilityKind.public_); + LossOfMessages_Signal_A_AClassifierBehavior_ObjectFlow3_LiteralBoolean4.SetValue(true); + LossOfMessages_Signal_A_AClassifierBehavior_ObjectFlow3.SetGuard(LossOfMessages_Signal_A_AClassifierBehavior_ObjectFlow3_LiteralBoolean4); + LossOfMessages_Signal_A_AClassifierBehavior.AddEdge(LossOfMessages_Signal_A_AClassifierBehavior_ObjectFlow3); + // ObjectFlow ObjectFlow6 from result to value + LossOfMessages_Signal_A_AClassifierBehavior_ObjectFlow6.SetName("ObjectFlow6"); + LossOfMessages_Signal_A_AClassifierBehavior_ObjectFlow6.SetVisibility(VisibilityKind.public_); + + LossOfMessages_Signal_A_AClassifierBehavior_ObjectFlow6.SetSource(LossOfMessages_Signal_A_AClassifierBehavior_Read_s_v_result); + LossOfMessages_Signal_A_AClassifierBehavior_ObjectFlow6.SetTarget(LossOfMessages_Signal_A_AClassifierBehavior_Set_this_p_value); + // LiteralBoolean LiteralBoolean8 + LossOfMessages_Signal_A_AClassifierBehavior_ObjectFlow6_LiteralBoolean8.SetName("LiteralBoolean8"); + LossOfMessages_Signal_A_AClassifierBehavior_ObjectFlow6_LiteralBoolean8.SetVisibility(VisibilityKind.public_); + LossOfMessages_Signal_A_AClassifierBehavior_ObjectFlow6_LiteralBoolean8.SetValue(true); + LossOfMessages_Signal_A_AClassifierBehavior_ObjectFlow6.SetGuard(LossOfMessages_Signal_A_AClassifierBehavior_ObjectFlow6_LiteralBoolean8); + LossOfMessages_Signal_A_AClassifierBehavior.AddEdge(LossOfMessages_Signal_A_AClassifierBehavior_ObjectFlow6); + // ControlFlow ControlFlow21 from Initial to Accept S + LossOfMessages_Signal_A_AClassifierBehavior_ControlFlow21.SetName("ControlFlow21"); + LossOfMessages_Signal_A_AClassifierBehavior_ControlFlow21.SetVisibility(VisibilityKind.public_); + + LossOfMessages_Signal_A_AClassifierBehavior_ControlFlow21.SetSource(LossOfMessages_Signal_A_AClassifierBehavior_Initial); + LossOfMessages_Signal_A_AClassifierBehavior_ControlFlow21.SetTarget(LossOfMessages_Signal_A_AClassifierBehavior_Accept_S); + LossOfMessages_Signal_A_AClassifierBehavior.AddEdge(LossOfMessages_Signal_A_AClassifierBehavior_ControlFlow21); + LossOfMessages_Signal_A.AddOwnedBehavior(LossOfMessages_Signal_A_AClassifierBehavior); + LossOfMessages_Signal_A_IRealization.SetName("IRealization"); + LossOfMessages_Signal_A_IRealization.SetVisibility(VisibilityKind.public_); + LossOfMessages_Signal_A_IRealization.SetContract(LossOfMessages_Signal_I); + + LossOfMessages_Signal_A.AddInterfaceRealization(LossOfMessages_Signal_A_IRealization); + + LossOfMessages_Signal_A.SetIsActive(true); + // Operation A_A + LossOfMessages_Signal_A_A_A.SetName("A_A"); + LossOfMessages_Signal_A_A_A.SetVisibility(VisibilityKind.public_); + // Parameter result + LossOfMessages_Signal_A_A_A_result.SetName("result"); + LossOfMessages_Signal_A_A_A_result.SetVisibility(VisibilityKind.public_); + + LossOfMessages_Signal_A_A_A_result.SetType(LossOfMessages_Signal_A); + LossOfMessages_Signal_A_A_A_result.SetDirection(ParameterDirectionKind.return_); + LossOfMessages_Signal_A_A_A.AddOwnedParameter(LossOfMessages_Signal_A_A_A_result); + LossOfMessages_Signal_A_A_A.ApplyStereotype(uml.standardprofile.StandardProfileModel.Instance().Stereotype_Create); + LossOfMessages_Signal_A.AddOwnedOperation(LossOfMessages_Signal_A_A_A); + // Reception S + LossOfMessages_Signal_A_S.SetName("S"); + LossOfMessages_Signal_A_S.SetVisibility(VisibilityKind.public_); + LossOfMessages_Signal_A_S.SetSignal(LossOfMessages_Signal_S); + LossOfMessages_Signal_A.AddOwnedReception(LossOfMessages_Signal_A_S); + LossOfMessages_Signal.AddPackagedElement(LossOfMessages_Signal_A); + // Signal S + LossOfMessages_Signal_S.SetName("S"); + LossOfMessages_Signal_S.SetVisibility(VisibilityKind.public_); + + // Property v + LossOfMessages_Signal_S_v.SetName("v"); + LossOfMessages_Signal_S_v.SetVisibility(VisibilityKind.public_); + + LossOfMessages_Signal_S_v.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + LossOfMessages_Signal_S.AddOwnedAttribute(LossOfMessages_Signal_S_v); + LossOfMessages_Signal.AddPackagedElement(LossOfMessages_Signal_S); + // SignalEvent SignalEventS + LossOfMessages_Signal_SignalEventS.SetName("SignalEventS"); + LossOfMessages_Signal_SignalEventS.SetVisibility(VisibilityKind.public_); + LossOfMessages_Signal_SignalEventS.SetSignal(LossOfMessages_Signal_S); + LossOfMessages_Signal.AddPackagedElement(LossOfMessages_Signal_SignalEventS); + // Activity main + LossOfMessages_Signal_main.SetName("main"); + LossOfMessages_Signal_main.SetVisibility(VisibilityKind.public_); + // FunctionBehavior testP + LossOfMessages_Signal_main_testP.SetName("testP"); + LossOfMessages_Signal_main_testP.SetVisibility(VisibilityKind.public_); + + // Parameter p + LossOfMessages_Signal_main_testP_p.SetName("p"); + LossOfMessages_Signal_main_testP_p.SetVisibility(VisibilityKind.public_); + + LossOfMessages_Signal_main_testP_p.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + LossOfMessages_Signal_main_testP.AddOwnedParameter(LossOfMessages_Signal_main_testP_p); + LossOfMessages_Signal_main_testP.AddLanguage("C#"); + LossOfMessages_Signal_main_testP.AddLanguage("Using"); + LossOfMessages_Signal_main_testP.AddBody("Console.WriteLine(\"Asserting a.p != 4\"); // Test parameter p int p = ((IntegerValue)inputParameters.ElementAt(0).values.ElementAt(0)).value; Debug.Println(\"[doBody] argument p = \" + p); Console.WriteLine(\"a.p == == \" + p); Console.Write(\"Signal lost: \"); if(p == 4) { Console.ForegroundColor = ConsoleColor.Green; Console.WriteLine(\"Assertion successful.\"); } else { Console.ForegroundColor = ConsoleColor.Red; Console.WriteLine(\"Assertion failed!\"); } Console.ResetColor();"); + LossOfMessages_Signal_main_testP.AddBody("using fuml.semantics.simpleclassifiers; "); + LossOfMessages_Signal_main.AddOwnedBehavior(LossOfMessages_Signal_main_testP); + // ValueSpecificationAction Value 4 + LossOfMessages_Signal_main_Value_4.SetName("Value 4"); + LossOfMessages_Signal_main_Value_4.SetVisibility(VisibilityKind.public_); + // LiteralInteger LiteralInteger51 + LossOfMessages_Signal_main_Value_4_LiteralInteger51.SetName("LiteralInteger51"); + LossOfMessages_Signal_main_Value_4_LiteralInteger51.SetVisibility(VisibilityKind.public_); + LossOfMessages_Signal_main_Value_4_LiteralInteger51.SetValue(4); + LossOfMessages_Signal_main_Value_4.SetValue(LossOfMessages_Signal_main_Value_4_LiteralInteger51); + // OutputPin result + LossOfMessages_Signal_main_Value_4_result.SetName("result"); + LossOfMessages_Signal_main_Value_4_result.SetVisibility(VisibilityKind.public_); + LossOfMessages_Signal_main_Value_4_result.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + LossOfMessages_Signal_main_Value_4.SetResult(LossOfMessages_Signal_main_Value_4_result); + LossOfMessages_Signal_main.AddNode(LossOfMessages_Signal_main_Value_4); + // ForkNode Fork A + LossOfMessages_Signal_main_Fork_A.SetName("Fork A"); + LossOfMessages_Signal_main_Fork_A.SetVisibility(VisibilityKind.public_); + LossOfMessages_Signal_main.AddNode(LossOfMessages_Signal_main_Fork_A); + // CreateObjectAction Create A + LossOfMessages_Signal_main_Create_A.SetName("Create A"); + LossOfMessages_Signal_main_Create_A.SetVisibility(VisibilityKind.public_); + LossOfMessages_Signal_main_Create_A.SetClassifier(LossOfMessages_Signal_A); + // OutputPin result + LossOfMessages_Signal_main_Create_A_result.SetName("result"); + LossOfMessages_Signal_main_Create_A_result.SetVisibility(VisibilityKind.public_); + LossOfMessages_Signal_main_Create_A_result.SetType(LossOfMessages_Signal_A); + LossOfMessages_Signal_main_Create_A.SetResult(LossOfMessages_Signal_main_Create_A_result); + LossOfMessages_Signal_main.AddNode(LossOfMessages_Signal_main_Create_A); + // CallOperationAction A() + LossOfMessages_Signal_main_A_.SetName("A()"); + LossOfMessages_Signal_main_A_.SetVisibility(VisibilityKind.public_); + + // OutputPin result + LossOfMessages_Signal_main_A__result.SetName("result"); + LossOfMessages_Signal_main_A__result.SetVisibility(VisibilityKind.public_); + LossOfMessages_Signal_main_A__result.SetType(LossOfMessages_Signal_A); + LossOfMessages_Signal_main_A_.AddResult(LossOfMessages_Signal_main_A__result); + LossOfMessages_Signal_main_A_.SetOperation(LossOfMessages_Signal_A_A_A); + // InputPin target + LossOfMessages_Signal_main_A__target.SetName("target"); + LossOfMessages_Signal_main_A__target.SetVisibility(VisibilityKind.public_); + LossOfMessages_Signal_main_A__target.SetType(LossOfMessages_Signal_A); + LossOfMessages_Signal_main_A_.SetTarget(LossOfMessages_Signal_main_A__target); + LossOfMessages_Signal_main.AddNode(LossOfMessages_Signal_main_A_); + // ReadStructuralFeatureAction Read a.q + LossOfMessages_Signal_main_Read_a_q.SetName("Read a.q"); + LossOfMessages_Signal_main_Read_a_q.SetVisibility(VisibilityKind.public_); + LossOfMessages_Signal_main_Read_a_q.SetStructuralFeature(LossOfMessages_Signal_A_q); + // InputPin object + LossOfMessages_Signal_main_Read_a_q_object.SetName("object"); + LossOfMessages_Signal_main_Read_a_q_object.SetVisibility(VisibilityKind.public_); + LossOfMessages_Signal_main_Read_a_q_object.SetType(LossOfMessages_Signal_A); + LossOfMessages_Signal_main_Read_a_q.SetObject(LossOfMessages_Signal_main_Read_a_q_object); + // OutputPin result + LossOfMessages_Signal_main_Read_a_q_result.SetName("result"); + LossOfMessages_Signal_main_Read_a_q_result.SetVisibility(VisibilityKind.public_); + LossOfMessages_Signal_main_Read_a_q_result.SetType(LossOfMessages_Signal_I); + LossOfMessages_Signal_main_Read_a_q.SetResult(LossOfMessages_Signal_main_Read_a_q_result); + LossOfMessages_Signal_main.AddNode(LossOfMessages_Signal_main_Read_a_q); + // CallBehaviorAction Call testP + LossOfMessages_Signal_main_Call_testP.SetName("Call testP"); + LossOfMessages_Signal_main_Call_testP.SetVisibility(VisibilityKind.public_); + LossOfMessages_Signal_main_Call_testP.SetBehavior(LossOfMessages_Signal_main_testP); + // InputPin p + LossOfMessages_Signal_main_Call_testP_p.SetName("p"); + LossOfMessages_Signal_main_Call_testP_p.SetVisibility(VisibilityKind.public_); + LossOfMessages_Signal_main_Call_testP_p.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + LossOfMessages_Signal_main_Call_testP.AddArgument(LossOfMessages_Signal_main_Call_testP_p); + LossOfMessages_Signal_main.AddNode(LossOfMessages_Signal_main_Call_testP); + // ReadStructuralFeatureAction Read a.p + LossOfMessages_Signal_main_Read_a_p.SetName("Read a.p"); + LossOfMessages_Signal_main_Read_a_p.SetVisibility(VisibilityKind.public_); + LossOfMessages_Signal_main_Read_a_p.SetStructuralFeature(LossOfMessages_Signal_A_p); + // InputPin object + LossOfMessages_Signal_main_Read_a_p_object.SetName("object"); + LossOfMessages_Signal_main_Read_a_p_object.SetVisibility(VisibilityKind.public_); + LossOfMessages_Signal_main_Read_a_p_object.SetType(LossOfMessages_Signal_A); + LossOfMessages_Signal_main_Read_a_p.SetObject(LossOfMessages_Signal_main_Read_a_p_object); + // OutputPin result + LossOfMessages_Signal_main_Read_a_p_result.SetName("result"); + LossOfMessages_Signal_main_Read_a_p_result.SetVisibility(VisibilityKind.public_); + LossOfMessages_Signal_main_Read_a_p_result.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + LossOfMessages_Signal_main_Read_a_p.SetResult(LossOfMessages_Signal_main_Read_a_p_result); + LossOfMessages_Signal_main.AddNode(LossOfMessages_Signal_main_Read_a_p); + // SendSignalAction Send S + LossOfMessages_Signal_main_Send_S.SetName("Send S"); + LossOfMessages_Signal_main_Send_S.SetVisibility(VisibilityKind.public_); + LossOfMessages_Signal_main_Send_S.SetSignal(LossOfMessages_Signal_S); + // InputPin target + LossOfMessages_Signal_main_Send_S_target.SetName("target"); + LossOfMessages_Signal_main_Send_S_target.SetVisibility(VisibilityKind.public_); + LossOfMessages_Signal_main_Send_S_target.SetType(LossOfMessages_Signal_IImpl); + LossOfMessages_Signal_main_Send_S.SetTarget(LossOfMessages_Signal_main_Send_S_target); + // InputPin v + LossOfMessages_Signal_main_Send_S_v.SetName("v"); + LossOfMessages_Signal_main_Send_S_v.SetVisibility(VisibilityKind.public_); + LossOfMessages_Signal_main_Send_S_v.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + LossOfMessages_Signal_main_Send_S.AddArgument(LossOfMessages_Signal_main_Send_S_v); + LossOfMessages_Signal_main.AddNode(LossOfMessages_Signal_main_Send_S); + // ControlFlow ControlFlow48 from Send S to Read a.p + LossOfMessages_Signal_main_ControlFlow48.SetName("ControlFlow48"); + LossOfMessages_Signal_main_ControlFlow48.SetVisibility(VisibilityKind.public_); + + LossOfMessages_Signal_main_ControlFlow48.SetSource(LossOfMessages_Signal_main_Send_S); + LossOfMessages_Signal_main_ControlFlow48.SetTarget(LossOfMessages_Signal_main_Read_a_p); + LossOfMessages_Signal_main.AddEdge(LossOfMessages_Signal_main_ControlFlow48); + // ObjectFlow ObjectFlow27 from result to target + LossOfMessages_Signal_main_ObjectFlow27.SetName("ObjectFlow27"); + LossOfMessages_Signal_main_ObjectFlow27.SetVisibility(VisibilityKind.public_); + + LossOfMessages_Signal_main_ObjectFlow27.SetSource(LossOfMessages_Signal_main_Create_A_result); + LossOfMessages_Signal_main_ObjectFlow27.SetTarget(LossOfMessages_Signal_main_A__target); + // LiteralBoolean LiteralBoolean29 + LossOfMessages_Signal_main_ObjectFlow27_LiteralBoolean29.SetName("LiteralBoolean29"); + LossOfMessages_Signal_main_ObjectFlow27_LiteralBoolean29.SetVisibility(VisibilityKind.public_); + LossOfMessages_Signal_main_ObjectFlow27_LiteralBoolean29.SetValue(true); + LossOfMessages_Signal_main_ObjectFlow27.SetGuard(LossOfMessages_Signal_main_ObjectFlow27_LiteralBoolean29); + LossOfMessages_Signal_main.AddEdge(LossOfMessages_Signal_main_ObjectFlow27); + // ObjectFlow ObjectFlow30 from Fork A to object + LossOfMessages_Signal_main_ObjectFlow30.SetName("ObjectFlow30"); + LossOfMessages_Signal_main_ObjectFlow30.SetVisibility(VisibilityKind.public_); + + LossOfMessages_Signal_main_ObjectFlow30.SetSource(LossOfMessages_Signal_main_Fork_A); + LossOfMessages_Signal_main_ObjectFlow30.SetTarget(LossOfMessages_Signal_main_Read_a_q_object); + // LiteralBoolean LiteralBoolean32 + LossOfMessages_Signal_main_ObjectFlow30_LiteralBoolean32.SetName("LiteralBoolean32"); + LossOfMessages_Signal_main_ObjectFlow30_LiteralBoolean32.SetVisibility(VisibilityKind.public_); + LossOfMessages_Signal_main_ObjectFlow30_LiteralBoolean32.SetValue(true); + LossOfMessages_Signal_main_ObjectFlow30.SetGuard(LossOfMessages_Signal_main_ObjectFlow30_LiteralBoolean32); + LossOfMessages_Signal_main.AddEdge(LossOfMessages_Signal_main_ObjectFlow30); + // ObjectFlow ObjectFlow33 from result to target + LossOfMessages_Signal_main_ObjectFlow33.SetName("ObjectFlow33"); + LossOfMessages_Signal_main_ObjectFlow33.SetVisibility(VisibilityKind.public_); + + LossOfMessages_Signal_main_ObjectFlow33.SetSource(LossOfMessages_Signal_main_Read_a_q_result); + LossOfMessages_Signal_main_ObjectFlow33.SetTarget(LossOfMessages_Signal_main_Send_S_target); + // LiteralBoolean LiteralBoolean35 + LossOfMessages_Signal_main_ObjectFlow33_LiteralBoolean35.SetName("LiteralBoolean35"); + LossOfMessages_Signal_main_ObjectFlow33_LiteralBoolean35.SetVisibility(VisibilityKind.public_); + LossOfMessages_Signal_main_ObjectFlow33_LiteralBoolean35.SetValue(true); + LossOfMessages_Signal_main_ObjectFlow33.SetGuard(LossOfMessages_Signal_main_ObjectFlow33_LiteralBoolean35); + LossOfMessages_Signal_main.AddEdge(LossOfMessages_Signal_main_ObjectFlow33); + // ObjectFlow ObjectFlow36 from result to v + LossOfMessages_Signal_main_ObjectFlow36.SetName("ObjectFlow36"); + LossOfMessages_Signal_main_ObjectFlow36.SetVisibility(VisibilityKind.public_); + + LossOfMessages_Signal_main_ObjectFlow36.SetSource(LossOfMessages_Signal_main_Value_4_result); + LossOfMessages_Signal_main_ObjectFlow36.SetTarget(LossOfMessages_Signal_main_Send_S_v); + // LiteralBoolean LiteralBoolean38 + LossOfMessages_Signal_main_ObjectFlow36_LiteralBoolean38.SetName("LiteralBoolean38"); + LossOfMessages_Signal_main_ObjectFlow36_LiteralBoolean38.SetVisibility(VisibilityKind.public_); + LossOfMessages_Signal_main_ObjectFlow36_LiteralBoolean38.SetValue(true); + LossOfMessages_Signal_main_ObjectFlow36.SetGuard(LossOfMessages_Signal_main_ObjectFlow36_LiteralBoolean38); + LossOfMessages_Signal_main.AddEdge(LossOfMessages_Signal_main_ObjectFlow36); + // ObjectFlow ObjectFlow52 from result to Fork A + LossOfMessages_Signal_main_ObjectFlow52.SetName("ObjectFlow52"); + LossOfMessages_Signal_main_ObjectFlow52.SetVisibility(VisibilityKind.public_); + + LossOfMessages_Signal_main_ObjectFlow52.SetSource(LossOfMessages_Signal_main_A__result); + LossOfMessages_Signal_main_ObjectFlow52.SetTarget(LossOfMessages_Signal_main_Fork_A); + // LiteralBoolean LiteralBoolean53 + LossOfMessages_Signal_main_ObjectFlow52_LiteralBoolean53.SetName("LiteralBoolean53"); + LossOfMessages_Signal_main_ObjectFlow52_LiteralBoolean53.SetVisibility(VisibilityKind.public_); + LossOfMessages_Signal_main_ObjectFlow52_LiteralBoolean53.SetValue(true); + LossOfMessages_Signal_main_ObjectFlow52.SetGuard(LossOfMessages_Signal_main_ObjectFlow52_LiteralBoolean53); + LossOfMessages_Signal_main.AddEdge(LossOfMessages_Signal_main_ObjectFlow52); + // ObjectFlow ObjectFlow64 from Fork A to object + LossOfMessages_Signal_main_ObjectFlow64.SetName("ObjectFlow64"); + LossOfMessages_Signal_main_ObjectFlow64.SetVisibility(VisibilityKind.public_); + + LossOfMessages_Signal_main_ObjectFlow64.SetSource(LossOfMessages_Signal_main_Fork_A); + LossOfMessages_Signal_main_ObjectFlow64.SetTarget(LossOfMessages_Signal_main_Read_a_p_object); + // LiteralBoolean LiteralBoolean65 + LossOfMessages_Signal_main_ObjectFlow64_LiteralBoolean65.SetName("LiteralBoolean65"); + LossOfMessages_Signal_main_ObjectFlow64_LiteralBoolean65.SetVisibility(VisibilityKind.public_); + LossOfMessages_Signal_main_ObjectFlow64_LiteralBoolean65.SetValue(true); + LossOfMessages_Signal_main_ObjectFlow64.SetGuard(LossOfMessages_Signal_main_ObjectFlow64_LiteralBoolean65); + LossOfMessages_Signal_main.AddEdge(LossOfMessages_Signal_main_ObjectFlow64); + // ObjectFlow ObjectFlow67 from result to p + LossOfMessages_Signal_main_ObjectFlow67.SetName("ObjectFlow67"); + LossOfMessages_Signal_main_ObjectFlow67.SetVisibility(VisibilityKind.public_); + + LossOfMessages_Signal_main_ObjectFlow67.SetSource(LossOfMessages_Signal_main_Read_a_p_result); + LossOfMessages_Signal_main_ObjectFlow67.SetTarget(LossOfMessages_Signal_main_Call_testP_p); + // LiteralBoolean LiteralBoolean69 + LossOfMessages_Signal_main_ObjectFlow67_LiteralBoolean69.SetName("LiteralBoolean69"); + LossOfMessages_Signal_main_ObjectFlow67_LiteralBoolean69.SetVisibility(VisibilityKind.public_); + LossOfMessages_Signal_main_ObjectFlow67_LiteralBoolean69.SetValue(true); + LossOfMessages_Signal_main_ObjectFlow67.SetGuard(LossOfMessages_Signal_main_ObjectFlow67_LiteralBoolean69); + LossOfMessages_Signal_main.AddEdge(LossOfMessages_Signal_main_ObjectFlow67); + LossOfMessages_Signal.AddPackagedElement(LossOfMessages_Signal_main); + // Class IImpl + LossOfMessages_Signal_IImpl.SetName("IImpl"); + LossOfMessages_Signal_IImpl.SetVisibility(VisibilityKind.public_); + LossOfMessages_Signal_IImpl_IRealization.SetName("IRealization"); + LossOfMessages_Signal_IImpl_IRealization.SetVisibility(VisibilityKind.public_); + LossOfMessages_Signal_IImpl_IRealization.SetContract(LossOfMessages_Signal_I); + + LossOfMessages_Signal_IImpl.AddInterfaceRealization(LossOfMessages_Signal_IImpl_IRealization); + + // Reception S + LossOfMessages_Signal_IImpl_S.SetName("S"); + LossOfMessages_Signal_IImpl_S.SetVisibility(VisibilityKind.public_); + LossOfMessages_Signal_IImpl_S.SetSignal(LossOfMessages_Signal_S); + LossOfMessages_Signal_IImpl.AddOwnedReception(LossOfMessages_Signal_IImpl_S); + LossOfMessages_Signal.AddPackagedElement(LossOfMessages_Signal_IImpl); + } + + /* Start of user code : User-defined members + * This section may be used for user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } // LossOfMessages_SignalModel +} diff --git a/fUML-CSharp/tests/pscs-Tests/02_Communication/03_LossOfMessages_Signal/src/testPExecution.cs b/fUML-CSharp/tests/pscs-Tests/02_Communication/03_LossOfMessages_Signal/src/testPExecution.cs new file mode 100644 index 0000000..8825267 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/02_Communication/03_LossOfMessages_Signal/src/testPExecution.cs @@ -0,0 +1,78 @@ +/* + * testPExecution.cs + * + * Auto-generated file + */ + +using fuml.semantics.commonbehavior; +using fuml; +using fuml.semantics.simpleclassifiers; +using fuml.semantics.values; + +/* Start of user code : User-defined includes and forward declarations + * This section may be used for includes and forward declarations. + * It will not be overwritten by future generation processes. + */ + +/* + * End of user code + */ + +namespace LossOfMessages_Signal +{ + public class testPExecution : OpaqueBehaviorExecution + { + public testPExecution() + { + types.Add(LossOfMessages_SignalModel.Instance().LossOfMessages_Signal_main_testP); + /* Start of user code : Additional opaque behavior execution initializations + * This section may be used to do any additional opaque behavior execution initialization, + * for example initializing user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } + + public override void DoBody(List inputParameters, List outputParameters) + { + Console.WriteLine("Asserting a.p != 4"); + + // Test parameter p + int p = ((IntegerValue)inputParameters.ElementAt(0).values.ElementAt(0)).value; + Debug.Println("[doBody] argument p = " + p); + + Console.WriteLine("a.p == " + p); + Console.Write("Signal lost: "); + + if(p != 4) + { + Console.ForegroundColor = ConsoleColor.Green; + Console.WriteLine("Assertion successful."); + } + else + { + Console.ForegroundColor = ConsoleColor.Red; + Console.WriteLine("Assertion failed!"); + } + + Console.ResetColor(); + } + + protected override Value New_() + { + return new testPExecution(); + } + + /* Start of user code : User-defined members + * This section may be used for user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } // testPExecution +} diff --git a/fUML-CSharp/tests/pscs-Tests/02_Communication/04_LossOfMessages_Operation/.gitignore b/fUML-CSharp/tests/pscs-Tests/02_Communication/04_LossOfMessages_Operation/.gitignore new file mode 100644 index 0000000..1736844 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/02_Communication/04_LossOfMessages_Operation/.gitignore @@ -0,0 +1,3 @@ +/.vs/ +/bin/ +/obj/ diff --git a/fUML-CSharp/tests/pscs-Tests/02_Communication/04_LossOfMessages_Operation/LossOfMessages_Operation.csproj b/fUML-CSharp/tests/pscs-Tests/02_Communication/04_LossOfMessages_Operation/LossOfMessages_Operation.csproj new file mode 100644 index 0000000..c524f3b --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/02_Communication/04_LossOfMessages_Operation/LossOfMessages_Operation.csproj @@ -0,0 +1,50 @@ + + + + Exe + net6.0 + enable + enable + + + + LossOfMessages_Operation.Debug + + + LossOfMessages_Operation.Release + + + + + ..\..\..\..\uml\bin\Debug\net6.0\uml.Debug.dll + + + + + ..\..\..\..\uml\bin\Release\net6.0\uml.Release.dll + + + + + + ..\..\..\..\fuml\bin\Debug\net6.0\fuml.Debug.dll + + + + + ..\..\..\..\fuml\bin\Release\net6.0\fuml.Release.dll + + + + + + ..\..\..\..\pscs\bin\Debug\net6.0\pscs.Debug.dll + + + + + ..\..\..\..\pscs\bin\Release\net6.0\pscs.Release.dll + + + + diff --git a/fUML-CSharp/tests/pscs-Tests/02_Communication/04_LossOfMessages_Operation/LossOfMessages_Operation.sln b/fUML-CSharp/tests/pscs-Tests/02_Communication/04_LossOfMessages_Operation/LossOfMessages_Operation.sln new file mode 100644 index 0000000..50b60b3 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/02_Communication/04_LossOfMessages_Operation/LossOfMessages_Operation.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.32112.339 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "LossOfMessages_Operation", "LossOfMessages_Operation.csproj", "{E071FC7A-11CB-41E0-9913-FE61C28E75F9}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {E071FC7A-11CB-41E0-9913-FE61C28E75F9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {E071FC7A-11CB-41E0-9913-FE61C28E75F9}.Debug|Any CPU.Build.0 = Debug|Any CPU + {E071FC7A-11CB-41E0-9913-FE61C28E75F9}.Release|Any CPU.ActiveCfg = Release|Any CPU + {E071FC7A-11CB-41E0-9913-FE61C28E75F9}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {AFDEA06F-98AD-4EAC-B45E-F6B96000E2A7} + EndGlobalSection +EndGlobal diff --git a/fUML-CSharp/tests/pscs-Tests/02_Communication/04_LossOfMessages_Operation/model/LossOfMessages_Operation.di b/fUML-CSharp/tests/pscs-Tests/02_Communication/04_LossOfMessages_Operation/model/LossOfMessages_Operation.di new file mode 100644 index 0000000..8c549ee --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/02_Communication/04_LossOfMessages_Operation/model/LossOfMessages_Operation.di @@ -0,0 +1,2 @@ + + diff --git a/fUML-CSharp/tests/pscs-Tests/02_Communication/04_LossOfMessages_Operation/model/LossOfMessages_Operation.notation b/fUML-CSharp/tests/pscs-Tests/02_Communication/04_LossOfMessages_Operation/model/LossOfMessages_Operation.notation new file mode 100644 index 0000000..873a69c --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/02_Communication/04_LossOfMessages_Operation/model/LossOfMessages_Operation.notation @@ -0,0 +1,673 @@ + + + + + +
+
+ + + + + +
+ + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/fUML-CSharp/tests/pscs-Tests/02_Communication/04_LossOfMessages_Operation/model/LossOfMessages_Operation.uml b/fUML-CSharp/tests/pscs-Tests/02_Communication/04_LossOfMessages_Operation/model/LossOfMessages_Operation.uml new file mode 100644 index 0000000..4992bfb --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/02_Communication/04_LossOfMessages_Operation/model/LossOfMessages_Operation.uml @@ -0,0 +1,217 @@ + + + + + This test case addresses loss of an operation call on non-behavior port with no delegation connector. + + + Passing: true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + C# + Using + Console.WriteLine("Asserting a.p != 4"); + + // Test parameter p + int p = ((IntegerValue)inputParameters.ElementAt(0).values.ElementAt(0)).value; + Debug.Println("[doBody] argument p = " + p); + + Console.WriteLine("a.p == " + p); + Console.Write("Operation call lost: "); + + if(p != 4) + { + Console.ForegroundColor = ConsoleColor.Green; + Console.WriteLine("Assertion successful."); + } + else + { + Console.ForegroundColor = ConsoleColor.Red; + Console.WriteLine("Assertion failed!"); + } + + Console.ResetColor(); + using fuml.semantics.simpleclassifiers; + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/fUML-CSharp/tests/pscs-Tests/02_Communication/04_LossOfMessages_Operation/src/LossOfMessages_Operation.cs b/fUML-CSharp/tests/pscs-Tests/02_Communication/04_LossOfMessages_Operation/src/LossOfMessages_Operation.cs new file mode 100644 index 0000000..a5d5410 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/02_Communication/04_LossOfMessages_Operation/src/LossOfMessages_Operation.cs @@ -0,0 +1,31 @@ +namespace LossOfMessages_Operation +{ + internal class LossOfMessages_Operation + { + static void PrintUsage() + { + Console.WriteLine( + "=============================================================================================\n" + + "USAGE: [ <...>]\n" + + "=============================================================================================\n" + ); + } + + static int Main(string[] args) + { + if(args.Length == 0) + { + Console.WriteLine("[ERROR] Must declare at least one behavior name.\n"); + PrintUsage(); + return -1; + } + + foreach (string arg in args) + { + LossOfMessages_OperationEnvironment.Instance().Execute(arg); + } + + return 0; + } + } +} diff --git a/fUML-CSharp/tests/pscs-Tests/02_Communication/04_LossOfMessages_Operation/src/LossOfMessages_OperationEnvironment.cs b/fUML-CSharp/tests/pscs-Tests/02_Communication/04_LossOfMessages_Operation/src/LossOfMessages_OperationEnvironment.cs new file mode 100644 index 0000000..2b01c24 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/02_Communication/04_LossOfMessages_Operation/src/LossOfMessages_OperationEnvironment.cs @@ -0,0 +1,93 @@ +/* + * LossOfMessages_OperationEnvironment.cs + * + * Auto-generated file + */ + +/* Start of user code : User-defined using directives + * This section may be used for using directives. + * It will not be overwritten by future generation processes. + */ + +/* + * End of user code + */ + +namespace LossOfMessages_Operation +{ + public class LossOfMessages_OperationEnvironment : pscs.environment.Environment + { + private static LossOfMessages_OperationEnvironment? instance; + + public static LossOfMessages_OperationEnvironment Instance() + { + if(instance is null) + { + instance = new(); + instance.inMemoryModel = LossOfMessages_OperationModel.Instance(); + } + + return instance; + } + + public LossOfMessages_OperationEnvironment() + { + /* + * Create custom opaque behavior execution instances and add them to the execution environment. + */ + AddPrimitiveBehaviorPrototype(new testPExecution()); + + /* Start of user code : Additional environment initializations + * This section may be used to do any additional environment initialization, + * for example initializing user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } + + public override void Execute(string behaviorName) + { + /* Start of user code : Context and inputs initializations + * This section may be used to initialize the execution context + * as well as input parameter values if required. + * It will not be overwritten by future generation processes. + */ + + //context = ...; + //inputs = ...; + + /* + * End of user code + */ + + /* + * Start execution via base class call + */ + base.Execute(behaviorName); + + /* Start of user code : Outputs evaluation + * This section may be used to evaluate output parameter values if required. + * It will not be overwritten by future generation processes. + */ + + //List theOutputs = outputs; + //... + + /* + * End of user code + */ + } + + /* Start of user code : User-defined members + * This section may be used for user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } // LossOfMessages_OperationEnvironment +} diff --git a/fUML-CSharp/tests/pscs-Tests/02_Communication/04_LossOfMessages_Operation/src/LossOfMessages_OperationModel.cs b/fUML-CSharp/tests/pscs-Tests/02_Communication/04_LossOfMessages_Operation/src/LossOfMessages_OperationModel.cs new file mode 100644 index 0000000..3225dc1 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/02_Communication/04_LossOfMessages_Operation/src/LossOfMessages_OperationModel.cs @@ -0,0 +1,679 @@ +/* + * LossOfMessages_OperationModel.cs + * + * Auto-generated file + */ + +using uml.actions; +using uml.packages; +using uml.structuredclassifiers; +using fuml.primitivetypes; +using uml.classification; +using fuml.library; +using uml.simpleclassifiers; +using uml.commonbehavior; +using uml.commonstructure; +using uml.values; +using uml.activities; +using uml.environment; + + +/* Start of user code : User-defined includes and forward declarations + * This section may be used for includes and forward declarations. + * It will not be overwritten by future generation processes. + */ + +/* + * End of user code + */ + +namespace LossOfMessages_Operation +{ + public class LossOfMessages_OperationModel : InMemoryModel + { + private static LossOfMessages_OperationModel? instance; + + /* + * Model LossOfMessages_Operation + */ + public Package LossOfMessages_Operation = new(); + public Activity LossOfMessages_Operation_main = new(); + public OpaqueBehavior LossOfMessages_Operation_main_testP = new(); + public Parameter LossOfMessages_Operation_main_testP_p = new(); + public ObjectFlow LossOfMessages_Operation_main_ObjectFlow0 = new(); + public LiteralBoolean LossOfMessages_Operation_main_ObjectFlow0_LiteralBoolean1 = new(); + public LiteralInteger LossOfMessages_Operation_main_ObjectFlow0_LiteralInteger2 = new(); + public ObjectFlow LossOfMessages_Operation_main_ObjectFlow3 = new(); + public LiteralBoolean LossOfMessages_Operation_main_ObjectFlow3_LiteralBoolean4 = new(); + public LiteralInteger LossOfMessages_Operation_main_ObjectFlow3_LiteralInteger5 = new(); + public ObjectFlow LossOfMessages_Operation_main_ObjectFlow6 = new(); + public LiteralInteger LossOfMessages_Operation_main_ObjectFlow6_LiteralInteger7 = new(); + public LiteralBoolean LossOfMessages_Operation_main_ObjectFlow6_LiteralBoolean8 = new(); + public CreateObjectAction LossOfMessages_Operation_main_Create_A = new(); + public OutputPin LossOfMessages_Operation_main_Create_A_result = new(); + public LiteralInteger LossOfMessages_Operation_main_Create_A_result_LiteralInteger9 = new(); + public LiteralUnlimitedNatural LossOfMessages_Operation_main_Create_A_result_LiteralUnlimitedNatural10 = new(); + public CallOperationAction LossOfMessages_Operation_main_Call_setP = new(); + public InputPin LossOfMessages_Operation_main_Call_setP_v = new(); + public LiteralInteger LossOfMessages_Operation_main_Call_setP_v_LiteralInteger11 = new(); + public LiteralInteger LossOfMessages_Operation_main_Call_setP_v_LiteralInteger12 = new(); + public LiteralUnlimitedNatural LossOfMessages_Operation_main_Call_setP_v_LiteralUnlimitedNatural13 = new(); + public InputPin LossOfMessages_Operation_main_Call_setP_target = new(); + public LiteralUnlimitedNatural LossOfMessages_Operation_main_Call_setP_target_LiteralUnlimitedNatural14 = new(); + public LiteralInteger LossOfMessages_Operation_main_Call_setP_target_LiteralInteger15 = new(); + public ControlFlow LossOfMessages_Operation_main_ControlFlow16 = new(); + public CallOperationAction LossOfMessages_Operation_main_A_ = new(); + public InputPin LossOfMessages_Operation_main_A__target = new(); + public LiteralUnlimitedNatural LossOfMessages_Operation_main_A__target_LiteralUnlimitedNatural17 = new(); + public LiteralInteger LossOfMessages_Operation_main_A__target_LiteralInteger18 = new(); + public OutputPin LossOfMessages_Operation_main_A__result = new(); + public LiteralInteger LossOfMessages_Operation_main_A__result_LiteralInteger19 = new(); + public LiteralUnlimitedNatural LossOfMessages_Operation_main_A__result_LiteralUnlimitedNatural20 = new(); + public LiteralInteger LossOfMessages_Operation_main_A__result_LiteralInteger21 = new(); + public ValueSpecificationAction LossOfMessages_Operation_main_Value_4 = new(); + public OutputPin LossOfMessages_Operation_main_Value_4_result = new(); + public LiteralUnlimitedNatural LossOfMessages_Operation_main_Value_4_result_LiteralUnlimitedNatural22 = new(); + public LiteralInteger LossOfMessages_Operation_main_Value_4_result_LiteralInteger23 = new(); + public LiteralInteger LossOfMessages_Operation_main_Value_4_LiteralInteger24 = new(); + public ReadStructuralFeatureAction LossOfMessages_Operation_main_Read_a_q = new(); + public InputPin LossOfMessages_Operation_main_Read_a_q_object = new(); + public LiteralUnlimitedNatural LossOfMessages_Operation_main_Read_a_q_object_LiteralUnlimitedNatural25 = new(); + public LiteralInteger LossOfMessages_Operation_main_Read_a_q_object_LiteralInteger26 = new(); + public OutputPin LossOfMessages_Operation_main_Read_a_q_result = new(); + public LiteralInteger LossOfMessages_Operation_main_Read_a_q_result_LiteralInteger27 = new(); + public LiteralUnlimitedNatural LossOfMessages_Operation_main_Read_a_q_result_LiteralUnlimitedNatural28 = new(); + public ObjectFlow LossOfMessages_Operation_main_ObjectFlow29 = new(); + public LiteralBoolean LossOfMessages_Operation_main_ObjectFlow29_LiteralBoolean30 = new(); + public LiteralInteger LossOfMessages_Operation_main_ObjectFlow29_LiteralInteger31 = new(); + public ObjectFlow LossOfMessages_Operation_main_ObjectFlow32 = new(); + public LiteralInteger LossOfMessages_Operation_main_ObjectFlow32_LiteralInteger33 = new(); + public LiteralBoolean LossOfMessages_Operation_main_ObjectFlow32_LiteralBoolean34 = new(); + public ObjectFlow LossOfMessages_Operation_main_ObjectFlow35 = new(); + public LiteralBoolean LossOfMessages_Operation_main_ObjectFlow35_LiteralBoolean36 = new(); + public LiteralInteger LossOfMessages_Operation_main_ObjectFlow35_LiteralInteger37 = new(); + public CallBehaviorAction LossOfMessages_Operation_main_Call_testP = new(); + public InputPin LossOfMessages_Operation_main_Call_testP_p = new(); + public LiteralInteger LossOfMessages_Operation_main_Call_testP_p_LiteralInteger38 = new(); + public LiteralInteger LossOfMessages_Operation_main_Call_testP_p_LiteralInteger39 = new(); + public LiteralUnlimitedNatural LossOfMessages_Operation_main_Call_testP_p_LiteralUnlimitedNatural40 = new(); + public ReadStructuralFeatureAction LossOfMessages_Operation_main_Read_a_p = new(); + public InputPin LossOfMessages_Operation_main_Read_a_p_object = new(); + public LiteralInteger LossOfMessages_Operation_main_Read_a_p_object_LiteralInteger41 = new(); + public LiteralUnlimitedNatural LossOfMessages_Operation_main_Read_a_p_object_LiteralUnlimitedNatural42 = new(); + public OutputPin LossOfMessages_Operation_main_Read_a_p_result = new(); + public LiteralUnlimitedNatural LossOfMessages_Operation_main_Read_a_p_result_LiteralUnlimitedNatural43 = new(); + public LiteralInteger LossOfMessages_Operation_main_Read_a_p_result_LiteralInteger44 = new(); + public ForkNode LossOfMessages_Operation_main_Fork_A = new(); + public ObjectFlow LossOfMessages_Operation_main_ObjectFlow45 = new(); + public LiteralInteger LossOfMessages_Operation_main_ObjectFlow45_LiteralInteger46 = new(); + public LiteralBoolean LossOfMessages_Operation_main_ObjectFlow45_LiteralBoolean47 = new(); + public Interface LossOfMessages_Operation_I = new(); + public Operation LossOfMessages_Operation_I_setP_Integer = new(); + public Parameter LossOfMessages_Operation_I_setP_Integer_v = new(); + public Class_ LossOfMessages_Operation_A = new(); + public Property LossOfMessages_Operation_A_p = new(); + public LiteralInteger LossOfMessages_Operation_A_p_LiteralInteger48 = new(); + public Activity LossOfMessages_Operation_A_setPActivity = new(); + public ObjectFlow LossOfMessages_Operation_A_setPActivity_ObjectFlow49 = new(); + public LiteralBoolean LossOfMessages_Operation_A_setPActivity_ObjectFlow49_LiteralBoolean50 = new(); + public LiteralInteger LossOfMessages_Operation_A_setPActivity_ObjectFlow49_LiteralInteger51 = new(); + public Parameter LossOfMessages_Operation_A_setPActivity_v = new(); + public ObjectFlow LossOfMessages_Operation_A_setPActivity_ObjectFlow52 = new(); + public LiteralBoolean LossOfMessages_Operation_A_setPActivity_ObjectFlow52_LiteralBoolean53 = new(); + public LiteralInteger LossOfMessages_Operation_A_setPActivity_ObjectFlow52_LiteralInteger54 = new(); + public ActivityParameterNode LossOfMessages_Operation_A_setPActivity_vParameterNode = new(); + public LiteralInteger LossOfMessages_Operation_A_setPActivity_vParameterNode_LiteralInteger55 = new(); + public ReadSelfAction LossOfMessages_Operation_A_setPActivity_this = new(); + public OutputPin LossOfMessages_Operation_A_setPActivity_this_result = new(); + public LiteralInteger LossOfMessages_Operation_A_setPActivity_this_result_LiteralInteger56 = new(); + public LiteralUnlimitedNatural LossOfMessages_Operation_A_setPActivity_this_result_LiteralUnlimitedNatural57 = new(); + public AddStructuralFeatureValueAction LossOfMessages_Operation_A_setPActivity_Set_this_p = new(); + public InputPin LossOfMessages_Operation_A_setPActivity_Set_this_p_object = new(); + public LiteralUnlimitedNatural LossOfMessages_Operation_A_setPActivity_Set_this_p_object_LiteralUnlimitedNatural58 = new(); + public LiteralInteger LossOfMessages_Operation_A_setPActivity_Set_this_p_object_LiteralInteger59 = new(); + public OutputPin LossOfMessages_Operation_A_setPActivity_Set_this_p_result = new(); + public LiteralInteger LossOfMessages_Operation_A_setPActivity_Set_this_p_result_LiteralInteger60 = new(); + public LiteralUnlimitedNatural LossOfMessages_Operation_A_setPActivity_Set_this_p_result_LiteralUnlimitedNatural61 = new(); + public InputPin LossOfMessages_Operation_A_setPActivity_Set_this_p_value = new(); + public LiteralUnlimitedNatural LossOfMessages_Operation_A_setPActivity_Set_this_p_value_LiteralUnlimitedNatural62 = new(); + public LiteralInteger LossOfMessages_Operation_A_setPActivity_Set_this_p_value_LiteralInteger63 = new(); + public Port LossOfMessages_Operation_A_q = new(); + public Operation LossOfMessages_Operation_A_setP_Integer = new(); + public Parameter LossOfMessages_Operation_A_setP_Integer_v = new(); + public InterfaceRealization LossOfMessages_Operation_A_IRealization = new(); + public Operation LossOfMessages_Operation_A_A_A = new(); + public Parameter LossOfMessages_Operation_A_A_A_result = new(); + public Class_ LossOfMessages_Operation_IImpl = new(); + public Operation LossOfMessages_Operation_IImpl_setP_Integer = new(); + public Parameter LossOfMessages_Operation_IImpl_setP_Integer_v = new(); + public InterfaceRealization LossOfMessages_Operation_IImpl_IRealization = new(); + + public static LossOfMessages_OperationModel Instance() + { + if (instance is null) + { + instance = new(); + instance.InitializeInMemoryModel(); + } + + return instance; + } + + public LossOfMessages_OperationModel() + { + /* Start of user code : Additional model initializations + * This section may be used to do any additional model initialization, + * for example initializing user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } + + private void InitializeInMemoryModel() + { + // Create public members + /* + * Model LossOfMessages_Operation + */ + AddToElementRepository("LossOfMessages_Operation", LossOfMessages_Operation); + AddToElementRepository("main", LossOfMessages_Operation_main); + AddToElementRepository("testP", LossOfMessages_Operation_main_testP); + AddToElementRepository("p", LossOfMessages_Operation_main_testP_p); + AddToElementRepository("ObjectFlow0", LossOfMessages_Operation_main_ObjectFlow0); + AddToElementRepository("LiteralBoolean1", LossOfMessages_Operation_main_ObjectFlow0_LiteralBoolean1); + AddToElementRepository("LiteralInteger2", LossOfMessages_Operation_main_ObjectFlow0_LiteralInteger2); + AddToElementRepository("ObjectFlow3", LossOfMessages_Operation_main_ObjectFlow3); + AddToElementRepository("LiteralBoolean4", LossOfMessages_Operation_main_ObjectFlow3_LiteralBoolean4); + AddToElementRepository("LiteralInteger5", LossOfMessages_Operation_main_ObjectFlow3_LiteralInteger5); + AddToElementRepository("ObjectFlow6", LossOfMessages_Operation_main_ObjectFlow6); + AddToElementRepository("LiteralInteger7", LossOfMessages_Operation_main_ObjectFlow6_LiteralInteger7); + AddToElementRepository("LiteralBoolean8", LossOfMessages_Operation_main_ObjectFlow6_LiteralBoolean8); + AddToElementRepository("Create A", LossOfMessages_Operation_main_Create_A); + AddToElementRepository("result", LossOfMessages_Operation_main_Create_A_result); + AddToElementRepository("LiteralInteger9", LossOfMessages_Operation_main_Create_A_result_LiteralInteger9); + AddToElementRepository("LiteralUnlimitedNatural10", LossOfMessages_Operation_main_Create_A_result_LiteralUnlimitedNatural10); + AddToElementRepository("Call setP", LossOfMessages_Operation_main_Call_setP); + AddToElementRepository("v", LossOfMessages_Operation_main_Call_setP_v); + AddToElementRepository("LiteralInteger11", LossOfMessages_Operation_main_Call_setP_v_LiteralInteger11); + AddToElementRepository("LiteralInteger12", LossOfMessages_Operation_main_Call_setP_v_LiteralInteger12); + AddToElementRepository("LiteralUnlimitedNatural13", LossOfMessages_Operation_main_Call_setP_v_LiteralUnlimitedNatural13); + AddToElementRepository("target", LossOfMessages_Operation_main_Call_setP_target); + AddToElementRepository("LiteralUnlimitedNatural14", LossOfMessages_Operation_main_Call_setP_target_LiteralUnlimitedNatural14); + AddToElementRepository("LiteralInteger15", LossOfMessages_Operation_main_Call_setP_target_LiteralInteger15); + AddToElementRepository("ControlFlow16", LossOfMessages_Operation_main_ControlFlow16); + AddToElementRepository("A()", LossOfMessages_Operation_main_A_); + AddToElementRepository("target", LossOfMessages_Operation_main_A__target); + AddToElementRepository("LiteralUnlimitedNatural17", LossOfMessages_Operation_main_A__target_LiteralUnlimitedNatural17); + AddToElementRepository("LiteralInteger18", LossOfMessages_Operation_main_A__target_LiteralInteger18); + AddToElementRepository("result", LossOfMessages_Operation_main_A__result); + AddToElementRepository("LiteralInteger19", LossOfMessages_Operation_main_A__result_LiteralInteger19); + AddToElementRepository("LiteralUnlimitedNatural20", LossOfMessages_Operation_main_A__result_LiteralUnlimitedNatural20); + AddToElementRepository("LiteralInteger21", LossOfMessages_Operation_main_A__result_LiteralInteger21); + AddToElementRepository("Value 4", LossOfMessages_Operation_main_Value_4); + AddToElementRepository("result", LossOfMessages_Operation_main_Value_4_result); + AddToElementRepository("LiteralUnlimitedNatural22", LossOfMessages_Operation_main_Value_4_result_LiteralUnlimitedNatural22); + AddToElementRepository("LiteralInteger23", LossOfMessages_Operation_main_Value_4_result_LiteralInteger23); + AddToElementRepository("LiteralInteger24", LossOfMessages_Operation_main_Value_4_LiteralInteger24); + AddToElementRepository("Read a.q", LossOfMessages_Operation_main_Read_a_q); + AddToElementRepository("object", LossOfMessages_Operation_main_Read_a_q_object); + AddToElementRepository("LiteralUnlimitedNatural25", LossOfMessages_Operation_main_Read_a_q_object_LiteralUnlimitedNatural25); + AddToElementRepository("LiteralInteger26", LossOfMessages_Operation_main_Read_a_q_object_LiteralInteger26); + AddToElementRepository("result", LossOfMessages_Operation_main_Read_a_q_result); + AddToElementRepository("LiteralInteger27", LossOfMessages_Operation_main_Read_a_q_result_LiteralInteger27); + AddToElementRepository("LiteralUnlimitedNatural28", LossOfMessages_Operation_main_Read_a_q_result_LiteralUnlimitedNatural28); + AddToElementRepository("ObjectFlow29", LossOfMessages_Operation_main_ObjectFlow29); + AddToElementRepository("LiteralBoolean30", LossOfMessages_Operation_main_ObjectFlow29_LiteralBoolean30); + AddToElementRepository("LiteralInteger31", LossOfMessages_Operation_main_ObjectFlow29_LiteralInteger31); + AddToElementRepository("ObjectFlow32", LossOfMessages_Operation_main_ObjectFlow32); + AddToElementRepository("LiteralInteger33", LossOfMessages_Operation_main_ObjectFlow32_LiteralInteger33); + AddToElementRepository("LiteralBoolean34", LossOfMessages_Operation_main_ObjectFlow32_LiteralBoolean34); + AddToElementRepository("ObjectFlow35", LossOfMessages_Operation_main_ObjectFlow35); + AddToElementRepository("LiteralBoolean36", LossOfMessages_Operation_main_ObjectFlow35_LiteralBoolean36); + AddToElementRepository("LiteralInteger37", LossOfMessages_Operation_main_ObjectFlow35_LiteralInteger37); + AddToElementRepository("Call testP", LossOfMessages_Operation_main_Call_testP); + AddToElementRepository("p", LossOfMessages_Operation_main_Call_testP_p); + AddToElementRepository("LiteralInteger38", LossOfMessages_Operation_main_Call_testP_p_LiteralInteger38); + AddToElementRepository("LiteralInteger39", LossOfMessages_Operation_main_Call_testP_p_LiteralInteger39); + AddToElementRepository("LiteralUnlimitedNatural40", LossOfMessages_Operation_main_Call_testP_p_LiteralUnlimitedNatural40); + AddToElementRepository("Read a.p", LossOfMessages_Operation_main_Read_a_p); + AddToElementRepository("object", LossOfMessages_Operation_main_Read_a_p_object); + AddToElementRepository("LiteralInteger41", LossOfMessages_Operation_main_Read_a_p_object_LiteralInteger41); + AddToElementRepository("LiteralUnlimitedNatural42", LossOfMessages_Operation_main_Read_a_p_object_LiteralUnlimitedNatural42); + AddToElementRepository("result", LossOfMessages_Operation_main_Read_a_p_result); + AddToElementRepository("LiteralUnlimitedNatural43", LossOfMessages_Operation_main_Read_a_p_result_LiteralUnlimitedNatural43); + AddToElementRepository("LiteralInteger44", LossOfMessages_Operation_main_Read_a_p_result_LiteralInteger44); + AddToElementRepository("Fork A", LossOfMessages_Operation_main_Fork_A); + AddToElementRepository("ObjectFlow45", LossOfMessages_Operation_main_ObjectFlow45); + AddToElementRepository("LiteralInteger46", LossOfMessages_Operation_main_ObjectFlow45_LiteralInteger46); + AddToElementRepository("LiteralBoolean47", LossOfMessages_Operation_main_ObjectFlow45_LiteralBoolean47); + AddToElementRepository("I", LossOfMessages_Operation_I); + AddToElementRepository("setP_Integer", LossOfMessages_Operation_I_setP_Integer); + AddToElementRepository("v", LossOfMessages_Operation_I_setP_Integer_v); + AddToElementRepository("A", LossOfMessages_Operation_A); + AddToElementRepository("p", LossOfMessages_Operation_A_p); + AddToElementRepository("LiteralInteger48", LossOfMessages_Operation_A_p_LiteralInteger48); + AddToElementRepository("setPActivity", LossOfMessages_Operation_A_setPActivity); + AddToElementRepository("ObjectFlow49", LossOfMessages_Operation_A_setPActivity_ObjectFlow49); + AddToElementRepository("LiteralBoolean50", LossOfMessages_Operation_A_setPActivity_ObjectFlow49_LiteralBoolean50); + AddToElementRepository("LiteralInteger51", LossOfMessages_Operation_A_setPActivity_ObjectFlow49_LiteralInteger51); + AddToElementRepository("v", LossOfMessages_Operation_A_setPActivity_v); + AddToElementRepository("ObjectFlow52", LossOfMessages_Operation_A_setPActivity_ObjectFlow52); + AddToElementRepository("LiteralBoolean53", LossOfMessages_Operation_A_setPActivity_ObjectFlow52_LiteralBoolean53); + AddToElementRepository("LiteralInteger54", LossOfMessages_Operation_A_setPActivity_ObjectFlow52_LiteralInteger54); + AddToElementRepository("vParameterNode", LossOfMessages_Operation_A_setPActivity_vParameterNode); + AddToElementRepository("LiteralInteger55", LossOfMessages_Operation_A_setPActivity_vParameterNode_LiteralInteger55); + AddToElementRepository("this", LossOfMessages_Operation_A_setPActivity_this); + AddToElementRepository("result", LossOfMessages_Operation_A_setPActivity_this_result); + AddToElementRepository("LiteralInteger56", LossOfMessages_Operation_A_setPActivity_this_result_LiteralInteger56); + AddToElementRepository("LiteralUnlimitedNatural57", LossOfMessages_Operation_A_setPActivity_this_result_LiteralUnlimitedNatural57); + AddToElementRepository("Set this.p", LossOfMessages_Operation_A_setPActivity_Set_this_p); + AddToElementRepository("object", LossOfMessages_Operation_A_setPActivity_Set_this_p_object); + AddToElementRepository("LiteralUnlimitedNatural58", LossOfMessages_Operation_A_setPActivity_Set_this_p_object_LiteralUnlimitedNatural58); + AddToElementRepository("LiteralInteger59", LossOfMessages_Operation_A_setPActivity_Set_this_p_object_LiteralInteger59); + AddToElementRepository("result", LossOfMessages_Operation_A_setPActivity_Set_this_p_result); + AddToElementRepository("LiteralInteger60", LossOfMessages_Operation_A_setPActivity_Set_this_p_result_LiteralInteger60); + AddToElementRepository("LiteralUnlimitedNatural61", LossOfMessages_Operation_A_setPActivity_Set_this_p_result_LiteralUnlimitedNatural61); + AddToElementRepository("value", LossOfMessages_Operation_A_setPActivity_Set_this_p_value); + AddToElementRepository("LiteralUnlimitedNatural62", LossOfMessages_Operation_A_setPActivity_Set_this_p_value_LiteralUnlimitedNatural62); + AddToElementRepository("LiteralInteger63", LossOfMessages_Operation_A_setPActivity_Set_this_p_value_LiteralInteger63); + AddToElementRepository("q", LossOfMessages_Operation_A_q); + AddToElementRepository("setP_Integer", LossOfMessages_Operation_A_setP_Integer); + AddToElementRepository("v", LossOfMessages_Operation_A_setP_Integer_v); + AddToElementRepository("IRealization", LossOfMessages_Operation_A_IRealization); + AddToElementRepository("A_A", LossOfMessages_Operation_A_A_A); + AddToElementRepository("result", LossOfMessages_Operation_A_A_A_result); + AddToElementRepository("IImpl", LossOfMessages_Operation_IImpl); + AddToElementRepository("setP_Integer", LossOfMessages_Operation_IImpl_setP_Integer); + AddToElementRepository("v", LossOfMessages_Operation_IImpl_setP_Integer_v); + AddToElementRepository("IRealization", LossOfMessages_Operation_IImpl_IRealization); + + // Initialize public members + /* + * Model LossOfMessages_Operation + */ + LossOfMessages_Operation.SetName("LossOfMessages_Operation"); + LossOfMessages_Operation.SetVisibility(VisibilityKind.public_); + // Activity main + LossOfMessages_Operation_main.SetName("main"); + LossOfMessages_Operation_main.SetVisibility(VisibilityKind.public_); + // FunctionBehavior testP + LossOfMessages_Operation_main_testP.SetName("testP"); + LossOfMessages_Operation_main_testP.SetVisibility(VisibilityKind.public_); + + // Parameter p + LossOfMessages_Operation_main_testP_p.SetName("p"); + LossOfMessages_Operation_main_testP_p.SetVisibility(VisibilityKind.public_); + + LossOfMessages_Operation_main_testP_p.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + LossOfMessages_Operation_main_testP.AddOwnedParameter(LossOfMessages_Operation_main_testP_p); + LossOfMessages_Operation_main_testP.AddLanguage("C#"); + LossOfMessages_Operation_main_testP.AddLanguage("Using"); + LossOfMessages_Operation_main_testP.AddBody("Console.WriteLine(\"Asserting a.p != 4\"); // Test parameter p int p = ((IntegerValue)inputParameters.ElementAt(0).values.ElementAt(0)).value; Debug.Println(\"[doBody] argument p = \" + p); Console.WriteLine(\"a.p == \" + p); Console.Write(\"Operation call lost: \"); if(p != 4) { Console.ForegroundColor = ConsoleColor.Green; Console.WriteLine(\"Assertion successful.\"); } else { Console.ForegroundColor = ConsoleColor.Red; Console.WriteLine(\"Assertion failed!\"); } Console.ResetColor();"); + LossOfMessages_Operation_main_testP.AddBody("using fuml.semantics.simpleclassifiers; "); + LossOfMessages_Operation_main.AddOwnedBehavior(LossOfMessages_Operation_main_testP); + // CallBehaviorAction Call testP + LossOfMessages_Operation_main_Call_testP.SetName("Call testP"); + LossOfMessages_Operation_main_Call_testP.SetVisibility(VisibilityKind.public_); + LossOfMessages_Operation_main_Call_testP.SetBehavior(LossOfMessages_Operation_main_testP); + // InputPin p + LossOfMessages_Operation_main_Call_testP_p.SetName("p"); + LossOfMessages_Operation_main_Call_testP_p.SetVisibility(VisibilityKind.public_); + LossOfMessages_Operation_main_Call_testP_p.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + LossOfMessages_Operation_main_Call_testP.AddArgument(LossOfMessages_Operation_main_Call_testP_p); + LossOfMessages_Operation_main.AddNode(LossOfMessages_Operation_main_Call_testP); + // CreateObjectAction Create A + LossOfMessages_Operation_main_Create_A.SetName("Create A"); + LossOfMessages_Operation_main_Create_A.SetVisibility(VisibilityKind.public_); + LossOfMessages_Operation_main_Create_A.SetClassifier(LossOfMessages_Operation_A); + // OutputPin result + LossOfMessages_Operation_main_Create_A_result.SetName("result"); + LossOfMessages_Operation_main_Create_A_result.SetVisibility(VisibilityKind.public_); + LossOfMessages_Operation_main_Create_A_result.SetType(LossOfMessages_Operation_A); + LossOfMessages_Operation_main_Create_A.SetResult(LossOfMessages_Operation_main_Create_A_result); + LossOfMessages_Operation_main.AddNode(LossOfMessages_Operation_main_Create_A); + // CallOperationAction Call setP + LossOfMessages_Operation_main_Call_setP.SetName("Call setP"); + LossOfMessages_Operation_main_Call_setP.SetVisibility(VisibilityKind.public_); + LossOfMessages_Operation_main_Call_setP.SetOperation(LossOfMessages_Operation_IImpl_setP_Integer); + // InputPin target + LossOfMessages_Operation_main_Call_setP_target.SetName("target"); + LossOfMessages_Operation_main_Call_setP_target.SetVisibility(VisibilityKind.public_); + LossOfMessages_Operation_main_Call_setP.SetTarget(LossOfMessages_Operation_main_Call_setP_target); + // InputPin v + LossOfMessages_Operation_main_Call_setP_v.SetName("v"); + LossOfMessages_Operation_main_Call_setP_v.SetVisibility(VisibilityKind.public_); + LossOfMessages_Operation_main_Call_setP_v.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + LossOfMessages_Operation_main_Call_setP.AddArgument(LossOfMessages_Operation_main_Call_setP_v); + LossOfMessages_Operation_main.AddNode(LossOfMessages_Operation_main_Call_setP); + // ReadStructuralFeatureAction Read a.p + LossOfMessages_Operation_main_Read_a_p.SetName("Read a.p"); + LossOfMessages_Operation_main_Read_a_p.SetVisibility(VisibilityKind.public_); + LossOfMessages_Operation_main_Read_a_p.SetStructuralFeature(LossOfMessages_Operation_A_p); + // InputPin object + LossOfMessages_Operation_main_Read_a_p_object.SetName("object"); + LossOfMessages_Operation_main_Read_a_p_object.SetVisibility(VisibilityKind.public_); + LossOfMessages_Operation_main_Read_a_p_object.SetType(LossOfMessages_Operation_A); + LossOfMessages_Operation_main_Read_a_p.SetObject(LossOfMessages_Operation_main_Read_a_p_object); + // OutputPin result + LossOfMessages_Operation_main_Read_a_p_result.SetName("result"); + LossOfMessages_Operation_main_Read_a_p_result.SetVisibility(VisibilityKind.public_); + LossOfMessages_Operation_main_Read_a_p_result.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + LossOfMessages_Operation_main_Read_a_p.SetResult(LossOfMessages_Operation_main_Read_a_p_result); + LossOfMessages_Operation_main.AddNode(LossOfMessages_Operation_main_Read_a_p); + // ForkNode Fork A + LossOfMessages_Operation_main_Fork_A.SetName("Fork A"); + LossOfMessages_Operation_main_Fork_A.SetVisibility(VisibilityKind.public_); + LossOfMessages_Operation_main.AddNode(LossOfMessages_Operation_main_Fork_A); + // CallOperationAction A() + LossOfMessages_Operation_main_A_.SetName("A()"); + LossOfMessages_Operation_main_A_.SetVisibility(VisibilityKind.public_); + + // OutputPin result + LossOfMessages_Operation_main_A__result.SetName("result"); + LossOfMessages_Operation_main_A__result.SetVisibility(VisibilityKind.public_); + LossOfMessages_Operation_main_A__result.SetType(LossOfMessages_Operation_A); + LossOfMessages_Operation_main_A_.AddResult(LossOfMessages_Operation_main_A__result); + LossOfMessages_Operation_main_A_.SetOperation(LossOfMessages_Operation_A_A_A); + // InputPin target + LossOfMessages_Operation_main_A__target.SetName("target"); + LossOfMessages_Operation_main_A__target.SetVisibility(VisibilityKind.public_); + LossOfMessages_Operation_main_A__target.SetType(LossOfMessages_Operation_A); + LossOfMessages_Operation_main_A_.SetTarget(LossOfMessages_Operation_main_A__target); + LossOfMessages_Operation_main.AddNode(LossOfMessages_Operation_main_A_); + // ValueSpecificationAction Value 4 + LossOfMessages_Operation_main_Value_4.SetName("Value 4"); + LossOfMessages_Operation_main_Value_4.SetVisibility(VisibilityKind.public_); + // LiteralInteger LiteralInteger24 + LossOfMessages_Operation_main_Value_4_LiteralInteger24.SetName("LiteralInteger24"); + LossOfMessages_Operation_main_Value_4_LiteralInteger24.SetVisibility(VisibilityKind.public_); + LossOfMessages_Operation_main_Value_4_LiteralInteger24.SetValue(4); + LossOfMessages_Operation_main_Value_4.SetValue(LossOfMessages_Operation_main_Value_4_LiteralInteger24); + // OutputPin result + LossOfMessages_Operation_main_Value_4_result.SetName("result"); + LossOfMessages_Operation_main_Value_4_result.SetVisibility(VisibilityKind.public_); + LossOfMessages_Operation_main_Value_4_result.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + LossOfMessages_Operation_main_Value_4.SetResult(LossOfMessages_Operation_main_Value_4_result); + LossOfMessages_Operation_main.AddNode(LossOfMessages_Operation_main_Value_4); + // ReadStructuralFeatureAction Read a.q + LossOfMessages_Operation_main_Read_a_q.SetName("Read a.q"); + LossOfMessages_Operation_main_Read_a_q.SetVisibility(VisibilityKind.public_); + LossOfMessages_Operation_main_Read_a_q.SetStructuralFeature(LossOfMessages_Operation_A_q); + // InputPin object + LossOfMessages_Operation_main_Read_a_q_object.SetName("object"); + LossOfMessages_Operation_main_Read_a_q_object.SetVisibility(VisibilityKind.public_); + LossOfMessages_Operation_main_Read_a_q_object.SetType(LossOfMessages_Operation_A); + LossOfMessages_Operation_main_Read_a_q.SetObject(LossOfMessages_Operation_main_Read_a_q_object); + // OutputPin result + LossOfMessages_Operation_main_Read_a_q_result.SetName("result"); + LossOfMessages_Operation_main_Read_a_q_result.SetVisibility(VisibilityKind.public_); + LossOfMessages_Operation_main_Read_a_q_result.SetType(LossOfMessages_Operation_I); + LossOfMessages_Operation_main_Read_a_q.SetResult(LossOfMessages_Operation_main_Read_a_q_result); + LossOfMessages_Operation_main.AddNode(LossOfMessages_Operation_main_Read_a_q); + // ObjectFlow ObjectFlow32 from result to p + LossOfMessages_Operation_main_ObjectFlow32.SetName("ObjectFlow32"); + LossOfMessages_Operation_main_ObjectFlow32.SetVisibility(VisibilityKind.public_); + + LossOfMessages_Operation_main_ObjectFlow32.SetSource(LossOfMessages_Operation_main_Read_a_p_result); + LossOfMessages_Operation_main_ObjectFlow32.SetTarget(LossOfMessages_Operation_main_Call_testP_p); + // LiteralBoolean LiteralBoolean34 + LossOfMessages_Operation_main_ObjectFlow32_LiteralBoolean34.SetName("LiteralBoolean34"); + LossOfMessages_Operation_main_ObjectFlow32_LiteralBoolean34.SetVisibility(VisibilityKind.public_); + LossOfMessages_Operation_main_ObjectFlow32_LiteralBoolean34.SetValue(true); + LossOfMessages_Operation_main_ObjectFlow32.SetGuard(LossOfMessages_Operation_main_ObjectFlow32_LiteralBoolean34); + LossOfMessages_Operation_main.AddEdge(LossOfMessages_Operation_main_ObjectFlow32); + // ObjectFlow ObjectFlow0 from result to target + LossOfMessages_Operation_main_ObjectFlow0.SetName("ObjectFlow0"); + LossOfMessages_Operation_main_ObjectFlow0.SetVisibility(VisibilityKind.public_); + + LossOfMessages_Operation_main_ObjectFlow0.SetSource(LossOfMessages_Operation_main_Read_a_q_result); + LossOfMessages_Operation_main_ObjectFlow0.SetTarget(LossOfMessages_Operation_main_Call_setP_target); + // LiteralBoolean LiteralBoolean1 + LossOfMessages_Operation_main_ObjectFlow0_LiteralBoolean1.SetName("LiteralBoolean1"); + LossOfMessages_Operation_main_ObjectFlow0_LiteralBoolean1.SetVisibility(VisibilityKind.public_); + LossOfMessages_Operation_main_ObjectFlow0_LiteralBoolean1.SetValue(true); + LossOfMessages_Operation_main_ObjectFlow0.SetGuard(LossOfMessages_Operation_main_ObjectFlow0_LiteralBoolean1); + LossOfMessages_Operation_main.AddEdge(LossOfMessages_Operation_main_ObjectFlow0); + // ObjectFlow ObjectFlow35 from Fork A to object + LossOfMessages_Operation_main_ObjectFlow35.SetName("ObjectFlow35"); + LossOfMessages_Operation_main_ObjectFlow35.SetVisibility(VisibilityKind.public_); + + LossOfMessages_Operation_main_ObjectFlow35.SetSource(LossOfMessages_Operation_main_Fork_A); + LossOfMessages_Operation_main_ObjectFlow35.SetTarget(LossOfMessages_Operation_main_Read_a_p_object); + // LiteralBoolean LiteralBoolean36 + LossOfMessages_Operation_main_ObjectFlow35_LiteralBoolean36.SetName("LiteralBoolean36"); + LossOfMessages_Operation_main_ObjectFlow35_LiteralBoolean36.SetVisibility(VisibilityKind.public_); + LossOfMessages_Operation_main_ObjectFlow35_LiteralBoolean36.SetValue(true); + LossOfMessages_Operation_main_ObjectFlow35.SetGuard(LossOfMessages_Operation_main_ObjectFlow35_LiteralBoolean36); + LossOfMessages_Operation_main.AddEdge(LossOfMessages_Operation_main_ObjectFlow35); + // ObjectFlow ObjectFlow3 from result to target + LossOfMessages_Operation_main_ObjectFlow3.SetName("ObjectFlow3"); + LossOfMessages_Operation_main_ObjectFlow3.SetVisibility(VisibilityKind.public_); + + LossOfMessages_Operation_main_ObjectFlow3.SetSource(LossOfMessages_Operation_main_Create_A_result); + LossOfMessages_Operation_main_ObjectFlow3.SetTarget(LossOfMessages_Operation_main_A__target); + // LiteralBoolean LiteralBoolean4 + LossOfMessages_Operation_main_ObjectFlow3_LiteralBoolean4.SetName("LiteralBoolean4"); + LossOfMessages_Operation_main_ObjectFlow3_LiteralBoolean4.SetVisibility(VisibilityKind.public_); + LossOfMessages_Operation_main_ObjectFlow3_LiteralBoolean4.SetValue(true); + LossOfMessages_Operation_main_ObjectFlow3.SetGuard(LossOfMessages_Operation_main_ObjectFlow3_LiteralBoolean4); + LossOfMessages_Operation_main.AddEdge(LossOfMessages_Operation_main_ObjectFlow3); + // ObjectFlow ObjectFlow6 from result to v + LossOfMessages_Operation_main_ObjectFlow6.SetName("ObjectFlow6"); + LossOfMessages_Operation_main_ObjectFlow6.SetVisibility(VisibilityKind.public_); + + LossOfMessages_Operation_main_ObjectFlow6.SetSource(LossOfMessages_Operation_main_Value_4_result); + LossOfMessages_Operation_main_ObjectFlow6.SetTarget(LossOfMessages_Operation_main_Call_setP_v); + // LiteralBoolean LiteralBoolean8 + LossOfMessages_Operation_main_ObjectFlow6_LiteralBoolean8.SetName("LiteralBoolean8"); + LossOfMessages_Operation_main_ObjectFlow6_LiteralBoolean8.SetVisibility(VisibilityKind.public_); + LossOfMessages_Operation_main_ObjectFlow6_LiteralBoolean8.SetValue(true); + LossOfMessages_Operation_main_ObjectFlow6.SetGuard(LossOfMessages_Operation_main_ObjectFlow6_LiteralBoolean8); + LossOfMessages_Operation_main.AddEdge(LossOfMessages_Operation_main_ObjectFlow6); + // ControlFlow ControlFlow16 from Call setP to Read a.p + LossOfMessages_Operation_main_ControlFlow16.SetName("ControlFlow16"); + LossOfMessages_Operation_main_ControlFlow16.SetVisibility(VisibilityKind.public_); + + LossOfMessages_Operation_main_ControlFlow16.SetSource(LossOfMessages_Operation_main_Call_setP); + LossOfMessages_Operation_main_ControlFlow16.SetTarget(LossOfMessages_Operation_main_Read_a_p); + LossOfMessages_Operation_main.AddEdge(LossOfMessages_Operation_main_ControlFlow16); + // ObjectFlow ObjectFlow45 from result to Fork A + LossOfMessages_Operation_main_ObjectFlow45.SetName("ObjectFlow45"); + LossOfMessages_Operation_main_ObjectFlow45.SetVisibility(VisibilityKind.public_); + + LossOfMessages_Operation_main_ObjectFlow45.SetSource(LossOfMessages_Operation_main_A__result); + LossOfMessages_Operation_main_ObjectFlow45.SetTarget(LossOfMessages_Operation_main_Fork_A); + // LiteralBoolean LiteralBoolean47 + LossOfMessages_Operation_main_ObjectFlow45_LiteralBoolean47.SetName("LiteralBoolean47"); + LossOfMessages_Operation_main_ObjectFlow45_LiteralBoolean47.SetVisibility(VisibilityKind.public_); + LossOfMessages_Operation_main_ObjectFlow45_LiteralBoolean47.SetValue(true); + LossOfMessages_Operation_main_ObjectFlow45.SetGuard(LossOfMessages_Operation_main_ObjectFlow45_LiteralBoolean47); + LossOfMessages_Operation_main.AddEdge(LossOfMessages_Operation_main_ObjectFlow45); + // ObjectFlow ObjectFlow29 from Fork A to object + LossOfMessages_Operation_main_ObjectFlow29.SetName("ObjectFlow29"); + LossOfMessages_Operation_main_ObjectFlow29.SetVisibility(VisibilityKind.public_); + + LossOfMessages_Operation_main_ObjectFlow29.SetSource(LossOfMessages_Operation_main_Fork_A); + LossOfMessages_Operation_main_ObjectFlow29.SetTarget(LossOfMessages_Operation_main_Read_a_q_object); + // LiteralBoolean LiteralBoolean30 + LossOfMessages_Operation_main_ObjectFlow29_LiteralBoolean30.SetName("LiteralBoolean30"); + LossOfMessages_Operation_main_ObjectFlow29_LiteralBoolean30.SetVisibility(VisibilityKind.public_); + LossOfMessages_Operation_main_ObjectFlow29_LiteralBoolean30.SetValue(true); + LossOfMessages_Operation_main_ObjectFlow29.SetGuard(LossOfMessages_Operation_main_ObjectFlow29_LiteralBoolean30); + LossOfMessages_Operation_main.AddEdge(LossOfMessages_Operation_main_ObjectFlow29); + LossOfMessages_Operation.AddPackagedElement(LossOfMessages_Operation_main); + // Interface I + LossOfMessages_Operation_I.SetName("I"); + LossOfMessages_Operation_I.SetVisibility(VisibilityKind.public_); + // Operation setP_Integer + LossOfMessages_Operation_I_setP_Integer.SetName("setP_Integer"); + LossOfMessages_Operation_I_setP_Integer.SetVisibility(VisibilityKind.public_); + // Parameter v + LossOfMessages_Operation_I_setP_Integer_v.SetName("v"); + LossOfMessages_Operation_I_setP_Integer_v.SetVisibility(VisibilityKind.package_); + + LossOfMessages_Operation_I_setP_Integer_v.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + LossOfMessages_Operation_I_setP_Integer.AddOwnedParameter(LossOfMessages_Operation_I_setP_Integer_v); + LossOfMessages_Operation_I.AddOwnedOperation(LossOfMessages_Operation_I_setP_Integer); + LossOfMessages_Operation.AddPackagedElement(LossOfMessages_Operation_I); + // Class A + LossOfMessages_Operation_A.SetName("A"); + LossOfMessages_Operation_A.SetVisibility(VisibilityKind.public_); + + // Property p + LossOfMessages_Operation_A_p.SetName("p"); + LossOfMessages_Operation_A_p.SetVisibility(VisibilityKind.public_); + + LossOfMessages_Operation_A_p.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + LossOfMessages_Operation_A_p.SetAggregation(AggregationKind.composite); + // LiteralInteger LiteralInteger48 + LossOfMessages_Operation_A_p_LiteralInteger48.SetName("LiteralInteger48"); + LossOfMessages_Operation_A_p_LiteralInteger48.SetVisibility(VisibilityKind.public_); + LossOfMessages_Operation_A_p_LiteralInteger48.SetValue(0); + LossOfMessages_Operation_A_p.SetDefaultValue(LossOfMessages_Operation_A_p_LiteralInteger48); + LossOfMessages_Operation_A.AddOwnedAttribute(LossOfMessages_Operation_A_p); + // Port q + LossOfMessages_Operation_A_q.SetName("q"); + LossOfMessages_Operation_A_q.SetVisibility(VisibilityKind.public_); + + LossOfMessages_Operation_A_q.SetType(LossOfMessages_Operation_IImpl); + LossOfMessages_Operation_A_q.SetAggregation(AggregationKind.composite); + LossOfMessages_Operation_A_q.isService = true; + LossOfMessages_Operation_A_q.AddProvided(LossOfMessages_Operation_I); + LossOfMessages_Operation_A.AddOwnedAttribute(LossOfMessages_Operation_A_q); + // Activity setPActivity + LossOfMessages_Operation_A_setPActivity.SetName("setPActivity"); + LossOfMessages_Operation_A_setPActivity.SetVisibility(VisibilityKind.public_); + + // Parameter v + LossOfMessages_Operation_A_setPActivity_v.SetName("v"); + LossOfMessages_Operation_A_setPActivity_v.SetVisibility(VisibilityKind.package_); + + LossOfMessages_Operation_A_setPActivity_v.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + LossOfMessages_Operation_A_setPActivity.AddOwnedParameter(LossOfMessages_Operation_A_setPActivity_v); + // ActivityParameterNode vParameterNode + LossOfMessages_Operation_A_setPActivity_vParameterNode.SetName("vParameterNode"); + LossOfMessages_Operation_A_setPActivity_vParameterNode.SetVisibility(VisibilityKind.public_); + + LossOfMessages_Operation_A_setPActivity_vParameterNode.SetParameter(LossOfMessages_Operation_A_setPActivity_v); + LossOfMessages_Operation_A_setPActivity.AddNode(LossOfMessages_Operation_A_setPActivity_vParameterNode); + // ReadSelfAction this + LossOfMessages_Operation_A_setPActivity_this.SetName("this"); + LossOfMessages_Operation_A_setPActivity_this.SetVisibility(VisibilityKind.public_); + // OutputPin result + LossOfMessages_Operation_A_setPActivity_this_result.SetName("result"); + LossOfMessages_Operation_A_setPActivity_this_result.SetVisibility(VisibilityKind.public_); + LossOfMessages_Operation_A_setPActivity_this_result.SetType(LossOfMessages_Operation_A); + LossOfMessages_Operation_A_setPActivity_this.SetResult(LossOfMessages_Operation_A_setPActivity_this_result); + LossOfMessages_Operation_A_setPActivity.AddNode(LossOfMessages_Operation_A_setPActivity_this); + // AddStructuralFeatureValueAction Set this.p + LossOfMessages_Operation_A_setPActivity_Set_this_p.SetName("Set this.p"); + LossOfMessages_Operation_A_setPActivity_Set_this_p.SetVisibility(VisibilityKind.public_); + LossOfMessages_Operation_A_setPActivity_Set_this_p.SetStructuralFeature(LossOfMessages_Operation_A_p); + // InputPin object + LossOfMessages_Operation_A_setPActivity_Set_this_p_object.SetName("object"); + LossOfMessages_Operation_A_setPActivity_Set_this_p_object.SetVisibility(VisibilityKind.public_); + LossOfMessages_Operation_A_setPActivity_Set_this_p_object.SetType(LossOfMessages_Operation_A); + LossOfMessages_Operation_A_setPActivity_Set_this_p.SetObject(LossOfMessages_Operation_A_setPActivity_Set_this_p_object); + // InputPin value + LossOfMessages_Operation_A_setPActivity_Set_this_p_value.SetName("value"); + LossOfMessages_Operation_A_setPActivity_Set_this_p_value.SetVisibility(VisibilityKind.public_); + LossOfMessages_Operation_A_setPActivity_Set_this_p_value.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + LossOfMessages_Operation_A_setPActivity_Set_this_p.SetValue(LossOfMessages_Operation_A_setPActivity_Set_this_p_value); + // OutputPin result + LossOfMessages_Operation_A_setPActivity_Set_this_p_result.SetName("result"); + LossOfMessages_Operation_A_setPActivity_Set_this_p_result.SetVisibility(VisibilityKind.public_); + LossOfMessages_Operation_A_setPActivity_Set_this_p_result.SetType(LossOfMessages_Operation_A); + LossOfMessages_Operation_A_setPActivity_Set_this_p.SetResult(LossOfMessages_Operation_A_setPActivity_Set_this_p_result); + LossOfMessages_Operation_A_setPActivity.AddNode(LossOfMessages_Operation_A_setPActivity_Set_this_p); + // ObjectFlow ObjectFlow49 from vParameterNode to value + LossOfMessages_Operation_A_setPActivity_ObjectFlow49.SetName("ObjectFlow49"); + LossOfMessages_Operation_A_setPActivity_ObjectFlow49.SetVisibility(VisibilityKind.public_); + + LossOfMessages_Operation_A_setPActivity_ObjectFlow49.SetSource(LossOfMessages_Operation_A_setPActivity_vParameterNode); + LossOfMessages_Operation_A_setPActivity_ObjectFlow49.SetTarget(LossOfMessages_Operation_A_setPActivity_Set_this_p_value); + // LiteralBoolean LiteralBoolean50 + LossOfMessages_Operation_A_setPActivity_ObjectFlow49_LiteralBoolean50.SetName("LiteralBoolean50"); + LossOfMessages_Operation_A_setPActivity_ObjectFlow49_LiteralBoolean50.SetVisibility(VisibilityKind.public_); + LossOfMessages_Operation_A_setPActivity_ObjectFlow49_LiteralBoolean50.SetValue(true); + LossOfMessages_Operation_A_setPActivity_ObjectFlow49.SetGuard(LossOfMessages_Operation_A_setPActivity_ObjectFlow49_LiteralBoolean50); + LossOfMessages_Operation_A_setPActivity.AddEdge(LossOfMessages_Operation_A_setPActivity_ObjectFlow49); + // ObjectFlow ObjectFlow52 from result to object + LossOfMessages_Operation_A_setPActivity_ObjectFlow52.SetName("ObjectFlow52"); + LossOfMessages_Operation_A_setPActivity_ObjectFlow52.SetVisibility(VisibilityKind.public_); + + LossOfMessages_Operation_A_setPActivity_ObjectFlow52.SetSource(LossOfMessages_Operation_A_setPActivity_this_result); + LossOfMessages_Operation_A_setPActivity_ObjectFlow52.SetTarget(LossOfMessages_Operation_A_setPActivity_Set_this_p_object); + // LiteralBoolean LiteralBoolean53 + LossOfMessages_Operation_A_setPActivity_ObjectFlow52_LiteralBoolean53.SetName("LiteralBoolean53"); + LossOfMessages_Operation_A_setPActivity_ObjectFlow52_LiteralBoolean53.SetVisibility(VisibilityKind.public_); + LossOfMessages_Operation_A_setPActivity_ObjectFlow52_LiteralBoolean53.SetValue(true); + LossOfMessages_Operation_A_setPActivity_ObjectFlow52.SetGuard(LossOfMessages_Operation_A_setPActivity_ObjectFlow52_LiteralBoolean53); + LossOfMessages_Operation_A_setPActivity.AddEdge(LossOfMessages_Operation_A_setPActivity_ObjectFlow52); + LossOfMessages_Operation_A.AddOwnedBehavior(LossOfMessages_Operation_A_setPActivity); + LossOfMessages_Operation_A_IRealization.SetName("IRealization"); + LossOfMessages_Operation_A_IRealization.SetVisibility(VisibilityKind.public_); + LossOfMessages_Operation_A_IRealization.SetContract(LossOfMessages_Operation_I); + + LossOfMessages_Operation_A.AddInterfaceRealization(LossOfMessages_Operation_A_IRealization); + + // Operation setP_Integer + LossOfMessages_Operation_A_setP_Integer.SetName("setP_Integer"); + LossOfMessages_Operation_A_setP_Integer.SetVisibility(VisibilityKind.public_); + // Parameter v + LossOfMessages_Operation_A_setP_Integer_v.SetName("v"); + LossOfMessages_Operation_A_setP_Integer_v.SetVisibility(VisibilityKind.package_); + + LossOfMessages_Operation_A_setP_Integer_v.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + LossOfMessages_Operation_A_setP_Integer.AddOwnedParameter(LossOfMessages_Operation_A_setP_Integer_v); + LossOfMessages_Operation_A_setP_Integer.AddMethod(LossOfMessages_Operation_A_setPActivity); + LossOfMessages_Operation_A_setP_Integer.AddRedefinedOperation(LossOfMessages_Operation_I_setP_Integer); + LossOfMessages_Operation_A.AddOwnedOperation(LossOfMessages_Operation_A_setP_Integer); + // Operation A_A + LossOfMessages_Operation_A_A_A.SetName("A_A"); + LossOfMessages_Operation_A_A_A.SetVisibility(VisibilityKind.public_); + // Parameter result + LossOfMessages_Operation_A_A_A_result.SetName("result"); + LossOfMessages_Operation_A_A_A_result.SetVisibility(VisibilityKind.public_); + + LossOfMessages_Operation_A_A_A_result.SetType(LossOfMessages_Operation_A); + LossOfMessages_Operation_A_A_A_result.SetDirection(ParameterDirectionKind.return_); + LossOfMessages_Operation_A_A_A.AddOwnedParameter(LossOfMessages_Operation_A_A_A_result); + LossOfMessages_Operation_A_A_A.ApplyStereotype(uml.standardprofile.StandardProfileModel.Instance().Stereotype_Create); + LossOfMessages_Operation_A.AddOwnedOperation(LossOfMessages_Operation_A_A_A); + LossOfMessages_Operation.AddPackagedElement(LossOfMessages_Operation_A); + // Class IImpl + LossOfMessages_Operation_IImpl.SetName("IImpl"); + LossOfMessages_Operation_IImpl.SetVisibility(VisibilityKind.public_); + LossOfMessages_Operation_IImpl_IRealization.SetName("IRealization"); + LossOfMessages_Operation_IImpl_IRealization.SetVisibility(VisibilityKind.public_); + LossOfMessages_Operation_IImpl_IRealization.SetContract(LossOfMessages_Operation_I); + + LossOfMessages_Operation_IImpl.AddInterfaceRealization(LossOfMessages_Operation_IImpl_IRealization); + + // Operation setP_Integer + LossOfMessages_Operation_IImpl_setP_Integer.SetName("setP_Integer"); + LossOfMessages_Operation_IImpl_setP_Integer.SetVisibility(VisibilityKind.public_); + // Parameter v + LossOfMessages_Operation_IImpl_setP_Integer_v.SetName("v"); + LossOfMessages_Operation_IImpl_setP_Integer_v.SetVisibility(VisibilityKind.package_); + + LossOfMessages_Operation_IImpl_setP_Integer_v.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + LossOfMessages_Operation_IImpl_setP_Integer.AddOwnedParameter(LossOfMessages_Operation_IImpl_setP_Integer_v); + LossOfMessages_Operation_IImpl_setP_Integer.AddRedefinedOperation(LossOfMessages_Operation_I_setP_Integer); + LossOfMessages_Operation_IImpl.AddOwnedOperation(LossOfMessages_Operation_IImpl_setP_Integer); + LossOfMessages_Operation.AddPackagedElement(LossOfMessages_Operation_IImpl); + } + + /* Start of user code : User-defined members + * This section may be used for user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } // LossOfMessages_OperationModel +} diff --git a/fUML-CSharp/tests/pscs-Tests/02_Communication/04_LossOfMessages_Operation/src/testPExecution.cs b/fUML-CSharp/tests/pscs-Tests/02_Communication/04_LossOfMessages_Operation/src/testPExecution.cs new file mode 100644 index 0000000..30f96c1 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/02_Communication/04_LossOfMessages_Operation/src/testPExecution.cs @@ -0,0 +1,78 @@ +/* + * testPExecution.cs + * + * Auto-generated file + */ + +using fuml.semantics.commonbehavior; +using fuml; +using fuml.semantics.simpleclassifiers; +using fuml.semantics.values; + +/* Start of user code : User-defined includes and forward declarations + * This section may be used for includes and forward declarations. + * It will not be overwritten by future generation processes. + */ + +/* + * End of user code + */ + +namespace LossOfMessages_Operation +{ + public class testPExecution : OpaqueBehaviorExecution + { + public testPExecution() + { + types.Add(LossOfMessages_OperationModel.Instance().LossOfMessages_Operation_main_testP); + /* Start of user code : Additional opaque behavior execution initializations + * This section may be used to do any additional opaque behavior execution initialization, + * for example initializing user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } + + public override void DoBody(List inputParameters, List outputParameters) + { + Console.WriteLine("Asserting a.p != 4"); + + // Test parameter p + int p = ((IntegerValue)inputParameters.ElementAt(0).values.ElementAt(0)).value; + Debug.Println("[doBody] argument p = " + p); + + Console.WriteLine("a.p == " + p); + Console.Write("Operation call lost: "); + + if(p != 4) + { + Console.ForegroundColor = ConsoleColor.Green; + Console.WriteLine("Assertion successful."); + } + else + { + Console.ForegroundColor = ConsoleColor.Red; + Console.WriteLine("Assertion failed!"); + } + + Console.ResetColor(); + } + + protected override Value New_() + { + return new testPExecution(); + } + + /* Start of user code : User-defined members + * This section may be used for user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } // testPExecution +} diff --git a/fUML-CSharp/tests/pscs-Tests/02_Communication/05_SingleDelegation_P_P_Operation/.gitignore b/fUML-CSharp/tests/pscs-Tests/02_Communication/05_SingleDelegation_P_P_Operation/.gitignore new file mode 100644 index 0000000..1736844 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/02_Communication/05_SingleDelegation_P_P_Operation/.gitignore @@ -0,0 +1,3 @@ +/.vs/ +/bin/ +/obj/ diff --git a/fUML-CSharp/tests/pscs-Tests/02_Communication/05_SingleDelegation_P_P_Operation/Properties/launchSettings.json b/fUML-CSharp/tests/pscs-Tests/02_Communication/05_SingleDelegation_P_P_Operation/Properties/launchSettings.json new file mode 100644 index 0000000..9597fc0 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/02_Communication/05_SingleDelegation_P_P_Operation/Properties/launchSettings.json @@ -0,0 +1,8 @@ +{ + "profiles": { + "SingleDelegation_P_P_Operation": { + "commandName": "Project", + "commandLineArgs": "main" + } + } +} \ No newline at end of file diff --git a/fUML-CSharp/tests/pscs-Tests/02_Communication/05_SingleDelegation_P_P_Operation/SingleDelegation_P_P_Operation.csproj b/fUML-CSharp/tests/pscs-Tests/02_Communication/05_SingleDelegation_P_P_Operation/SingleDelegation_P_P_Operation.csproj new file mode 100644 index 0000000..2d20ce5 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/02_Communication/05_SingleDelegation_P_P_Operation/SingleDelegation_P_P_Operation.csproj @@ -0,0 +1,50 @@ + + + + Exe + net6.0 + enable + enable + + + + SingleDelegation_P_P_Operation.Debug + + + SingleDelegation_P_P_Operation.Release + + + + + ..\..\..\..\uml\bin\Debug\net6.0\uml.Debug.dll + + + + + ..\..\..\..\uml\bin\Release\net6.0\uml.Release.dll + + + + + + ..\..\..\..\fuml\bin\Debug\net6.0\fuml.Debug.dll + + + + + ..\..\..\..\fuml\bin\Release\net6.0\fuml.Release.dll + + + + + + ..\..\..\..\pscs\bin\Debug\net6.0\pscs.Debug.dll + + + + + ..\..\..\..\pscs\bin\Release\net6.0\pscs.Release.dll + + + + diff --git a/fUML-CSharp/tests/pscs-Tests/02_Communication/05_SingleDelegation_P_P_Operation/SingleDelegation_P_P_Operation.sln b/fUML-CSharp/tests/pscs-Tests/02_Communication/05_SingleDelegation_P_P_Operation/SingleDelegation_P_P_Operation.sln new file mode 100644 index 0000000..373ecbf --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/02_Communication/05_SingleDelegation_P_P_Operation/SingleDelegation_P_P_Operation.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.32112.339 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SingleDelegation_P_P_Operation", "SingleDelegation_P_P_Operation.csproj", "{7EEBB5ED-559B-4DB9-9D80-EDE4755023AE}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {7EEBB5ED-559B-4DB9-9D80-EDE4755023AE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {7EEBB5ED-559B-4DB9-9D80-EDE4755023AE}.Debug|Any CPU.Build.0 = Debug|Any CPU + {7EEBB5ED-559B-4DB9-9D80-EDE4755023AE}.Release|Any CPU.ActiveCfg = Release|Any CPU + {7EEBB5ED-559B-4DB9-9D80-EDE4755023AE}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {1EA9BF12-5DB7-4D02-A1F0-5197A608CAD0} + EndGlobalSection +EndGlobal diff --git a/fUML-CSharp/tests/pscs-Tests/02_Communication/05_SingleDelegation_P_P_Operation/model/SingleDelegation_P_P_Operation.di b/fUML-CSharp/tests/pscs-Tests/02_Communication/05_SingleDelegation_P_P_Operation/model/SingleDelegation_P_P_Operation.di new file mode 100644 index 0000000..8c549ee --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/02_Communication/05_SingleDelegation_P_P_Operation/model/SingleDelegation_P_P_Operation.di @@ -0,0 +1,2 @@ + + diff --git a/fUML-CSharp/tests/pscs-Tests/02_Communication/05_SingleDelegation_P_P_Operation/model/SingleDelegation_P_P_Operation.notation b/fUML-CSharp/tests/pscs-Tests/02_Communication/05_SingleDelegation_P_P_Operation/model/SingleDelegation_P_P_Operation.notation new file mode 100644 index 0000000..99c95b5 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/02_Communication/05_SingleDelegation_P_P_Operation/model/SingleDelegation_P_P_Operation.notation @@ -0,0 +1,948 @@ + + + + + +
+
+ + + + + +
+ + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/fUML-CSharp/tests/pscs-Tests/02_Communication/05_SingleDelegation_P_P_Operation/model/SingleDelegation_P_P_Operation.uml b/fUML-CSharp/tests/pscs-Tests/02_Communication/05_SingleDelegation_P_P_Operation/model/SingleDelegation_P_P_Operation.uml new file mode 100644 index 0000000..fc43b3c --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/02_Communication/05_SingleDelegation_P_P_Operation/model/SingleDelegation_P_P_Operation.uml @@ -0,0 +1,300 @@ + + + + + This test case addresses forwarding of an operation through a single delegation link, corresponding to a single connector. + + + Passing: true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + C# + Using + Console.WriteLine("Asserting a.b.p == 4"); + + // Test parameter p + int p = ((IntegerValue)inputParameters.ElementAt(0).values.ElementAt(0)).value; + Debug.Println("[doBody] argument p = " + p); + + Console.WriteLine("a.b.p == " + p); + Console.Write("Operation call delegated: "); + + if(p == 4) + { + Console.ForegroundColor = ConsoleColor.Green; + Console.WriteLine("Assertion successful."); + } + else + { + Console.ForegroundColor = ConsoleColor.Red; + Console.WriteLine("Assertion failed!"); + } + + Console.ResetColor(); + using fuml.semantics.simpleclassifiers; + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/fUML-CSharp/tests/pscs-Tests/02_Communication/05_SingleDelegation_P_P_Operation/src/SingleDelegation_P_P_Operation.cs b/fUML-CSharp/tests/pscs-Tests/02_Communication/05_SingleDelegation_P_P_Operation/src/SingleDelegation_P_P_Operation.cs new file mode 100644 index 0000000..0231e0f --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/02_Communication/05_SingleDelegation_P_P_Operation/src/SingleDelegation_P_P_Operation.cs @@ -0,0 +1,31 @@ +namespace SingleDelegation_P_P_Operation +{ + internal class SingleDelegation_P_P_Operation + { + static void PrintUsage() + { + Console.WriteLine( + "=============================================================================================\n" + + "USAGE: [ <...>]\n" + + "=============================================================================================\n" + ); + } + + static int Main(string[] args) + { + if(args.Length == 0) + { + Console.WriteLine("[ERROR] Must declare at least one behavior name.\n"); + PrintUsage(); + return -1; + } + + foreach (string arg in args) + { + SingleDelegation_P_P_OperationEnvironment.Instance().Execute(arg); + } + + return 0; + } + } +} diff --git a/fUML-CSharp/tests/pscs-Tests/02_Communication/05_SingleDelegation_P_P_Operation/src/SingleDelegation_P_P_OperationEnvironment.cs b/fUML-CSharp/tests/pscs-Tests/02_Communication/05_SingleDelegation_P_P_Operation/src/SingleDelegation_P_P_OperationEnvironment.cs new file mode 100644 index 0000000..bd7cac9 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/02_Communication/05_SingleDelegation_P_P_Operation/src/SingleDelegation_P_P_OperationEnvironment.cs @@ -0,0 +1,93 @@ +/* + * SingleDelegation_P_P_OperationEnvironment.cs + * + * Auto-generated file + */ + +/* Start of user code : User-defined using directives + * This section may be used for using directives. + * It will not be overwritten by future generation processes. + */ + +/* + * End of user code + */ + +namespace SingleDelegation_P_P_Operation +{ + public class SingleDelegation_P_P_OperationEnvironment : pscs.environment.Environment + { + private static SingleDelegation_P_P_OperationEnvironment? instance; + + public static SingleDelegation_P_P_OperationEnvironment Instance() + { + if(instance is null) + { + instance = new(); + instance.inMemoryModel = SingleDelegation_P_P_OperationModel.Instance(); + } + + return instance; + } + + public SingleDelegation_P_P_OperationEnvironment() + { + /* + * Create custom opaque behavior execution instances and add them to the execution environment. + */ + AddPrimitiveBehaviorPrototype(new testPExecution()); + + /* Start of user code : Additional environment initializations + * This section may be used to do any additional environment initialization, + * for example initializing user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } + + public override void Execute(string behaviorName) + { + /* Start of user code : Context and inputs initializations + * This section may be used to initialize the execution context + * as well as input parameter values if required. + * It will not be overwritten by future generation processes. + */ + + //context = ...; + //inputs = ...; + + /* + * End of user code + */ + + /* + * Start execution via base class call + */ + base.Execute(behaviorName); + + /* Start of user code : Outputs evaluation + * This section may be used to evaluate output parameter values if required. + * It will not be overwritten by future generation processes. + */ + + //List theOutputs = outputs; + //... + + /* + * End of user code + */ + } + + /* Start of user code : User-defined members + * This section may be used for user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } // SingleDelegation_P_P_OperationEnvironment +} diff --git a/fUML-CSharp/tests/pscs-Tests/02_Communication/05_SingleDelegation_P_P_Operation/src/SingleDelegation_P_P_OperationModel.cs b/fUML-CSharp/tests/pscs-Tests/02_Communication/05_SingleDelegation_P_P_Operation/src/SingleDelegation_P_P_OperationModel.cs new file mode 100644 index 0000000..a806e52 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/02_Communication/05_SingleDelegation_P_P_Operation/src/SingleDelegation_P_P_OperationModel.cs @@ -0,0 +1,951 @@ +/* + * SingleDelegation_P_P_OperationModel.cs + * + * Auto-generated file + */ + +using uml.actions; +using uml.packages; +using uml.structuredclassifiers; +using fuml.primitivetypes; +using uml.classification; +using fuml.library; +using uml.simpleclassifiers; +using uml.commonbehavior; +using uml.commonstructure; +using uml.values; +using uml.activities; +using uml.environment; + + +/* Start of user code : User-defined includes and forward declarations + * This section may be used for includes and forward declarations. + * It will not be overwritten by future generation processes. + */ + +/* + * End of user code + */ + +namespace SingleDelegation_P_P_Operation +{ + public class SingleDelegation_P_P_OperationModel : InMemoryModel + { + private static SingleDelegation_P_P_OperationModel? instance; + + /* + * Model SingleDelegation_P_P_Operation + */ + public Package SingleDelegation_P_P_Operation = new(); + public Class_ SingleDelegation_P_P_Operation_IImpl = new(); + public InterfaceRealization SingleDelegation_P_P_Operation_IImpl_IRealization = new(); + public Operation SingleDelegation_P_P_Operation_IImpl_setP_Integer = new(); + public Parameter SingleDelegation_P_P_Operation_IImpl_setP_Integer_v = new(); + public Association SingleDelegation_P_P_Operation_R = new(); + public Property SingleDelegation_P_P_Operation_R_y = new(); + public Property SingleDelegation_P_P_Operation_R_x = new(); + public Class_ SingleDelegation_P_P_Operation_B = new(); + public Operation SingleDelegation_P_P_Operation_B_setP_Integer = new(); + public Parameter SingleDelegation_P_P_Operation_B_setP_Integer_v = new(); + public Activity SingleDelegation_P_P_Operation_B_setPActivity = new(); + public ObjectFlow SingleDelegation_P_P_Operation_B_setPActivity_ObjectFlow0 = new(); + public LiteralBoolean SingleDelegation_P_P_Operation_B_setPActivity_ObjectFlow0_LiteralBoolean1 = new(); + public LiteralInteger SingleDelegation_P_P_Operation_B_setPActivity_ObjectFlow0_LiteralInteger2 = new(); + public ActivityParameterNode SingleDelegation_P_P_Operation_B_setPActivity_vParameterNode = new(); + public LiteralInteger SingleDelegation_P_P_Operation_B_setPActivity_vParameterNode_LiteralInteger3 = new(); + public ObjectFlow SingleDelegation_P_P_Operation_B_setPActivity_ObjectFlow4 = new(); + public LiteralInteger SingleDelegation_P_P_Operation_B_setPActivity_ObjectFlow4_LiteralInteger5 = new(); + public LiteralBoolean SingleDelegation_P_P_Operation_B_setPActivity_ObjectFlow4_LiteralBoolean6 = new(); + public ReadSelfAction SingleDelegation_P_P_Operation_B_setPActivity_this = new(); + public OutputPin SingleDelegation_P_P_Operation_B_setPActivity_this_result = new(); + public LiteralInteger SingleDelegation_P_P_Operation_B_setPActivity_this_result_LiteralInteger7 = new(); + public LiteralUnlimitedNatural SingleDelegation_P_P_Operation_B_setPActivity_this_result_LiteralUnlimitedNatural8 = new(); + public AddStructuralFeatureValueAction SingleDelegation_P_P_Operation_B_setPActivity_Set_this_p = new(); + public InputPin SingleDelegation_P_P_Operation_B_setPActivity_Set_this_p_value = new(); + public LiteralUnlimitedNatural SingleDelegation_P_P_Operation_B_setPActivity_Set_this_p_value_LiteralUnlimitedNatural9 = new(); + public LiteralInteger SingleDelegation_P_P_Operation_B_setPActivity_Set_this_p_value_LiteralInteger10 = new(); + public InputPin SingleDelegation_P_P_Operation_B_setPActivity_Set_this_p_object = new(); + public LiteralUnlimitedNatural SingleDelegation_P_P_Operation_B_setPActivity_Set_this_p_object_LiteralUnlimitedNatural11 = new(); + public LiteralInteger SingleDelegation_P_P_Operation_B_setPActivity_Set_this_p_object_LiteralInteger12 = new(); + public OutputPin SingleDelegation_P_P_Operation_B_setPActivity_Set_this_p_result = new(); + public LiteralInteger SingleDelegation_P_P_Operation_B_setPActivity_Set_this_p_result_LiteralInteger13 = new(); + public LiteralUnlimitedNatural SingleDelegation_P_P_Operation_B_setPActivity_Set_this_p_result_LiteralUnlimitedNatural14 = new(); + public Parameter SingleDelegation_P_P_Operation_B_setPActivity_v = new(); + public Property SingleDelegation_P_P_Operation_B_p = new(); + public Operation SingleDelegation_P_P_Operation_B_B_B = new(); + public Parameter SingleDelegation_P_P_Operation_B_B_B_result = new(); + public InterfaceRealization SingleDelegation_P_P_Operation_B_IRealization = new(); + public Class_ SingleDelegation_P_P_Operation_A = new(); + public Property SingleDelegation_P_P_Operation_A_b = new(); + public Connector SingleDelegation_P_P_Operation_A_r = new(); + public ConnectorEnd SingleDelegation_P_P_Operation_A_r_ConnectorEnd15 = new(); + public ConnectorEnd SingleDelegation_P_P_Operation_A_r_ConnectorEnd16 = new(); + public Operation SingleDelegation_P_P_Operation_A_A_A = new(); + public Parameter SingleDelegation_P_P_Operation_A_A_A_result = new(); + public Port SingleDelegation_P_P_Operation_A_q = new(); + public Interface SingleDelegation_P_P_Operation_I = new(); + public Operation SingleDelegation_P_P_Operation_I_setP_Integer = new(); + public Parameter SingleDelegation_P_P_Operation_I_setP_Integer_v = new(); + public Activity SingleDelegation_P_P_Operation_main = new(); + public ReadStructuralFeatureAction SingleDelegation_P_P_Operation_main_Read_a_b_p = new(); + public InputPin SingleDelegation_P_P_Operation_main_Read_a_b_p_object = new(); + public LiteralInteger SingleDelegation_P_P_Operation_main_Read_a_b_p_object_LiteralInteger17 = new(); + public LiteralUnlimitedNatural SingleDelegation_P_P_Operation_main_Read_a_b_p_object_LiteralUnlimitedNatural18 = new(); + public OutputPin SingleDelegation_P_P_Operation_main_Read_a_b_p_result = new(); + public LiteralUnlimitedNatural SingleDelegation_P_P_Operation_main_Read_a_b_p_result_LiteralUnlimitedNatural19 = new(); + public LiteralInteger SingleDelegation_P_P_Operation_main_Read_a_b_p_result_LiteralInteger20 = new(); + public ControlFlow SingleDelegation_P_P_Operation_main_ControlFlow21 = new(); + public ObjectFlow SingleDelegation_P_P_Operation_main_ObjectFlow22 = new(); + public LiteralBoolean SingleDelegation_P_P_Operation_main_ObjectFlow22_LiteralBoolean23 = new(); + public LiteralInteger SingleDelegation_P_P_Operation_main_ObjectFlow22_LiteralInteger24 = new(); + public CallBehaviorAction SingleDelegation_P_P_Operation_main_Call_testP = new(); + public InputPin SingleDelegation_P_P_Operation_main_Call_testP_p = new(); + public LiteralInteger SingleDelegation_P_P_Operation_main_Call_testP_p_LiteralInteger25 = new(); + public LiteralInteger SingleDelegation_P_P_Operation_main_Call_testP_p_LiteralInteger26 = new(); + public LiteralUnlimitedNatural SingleDelegation_P_P_Operation_main_Call_testP_p_LiteralUnlimitedNatural27 = new(); + public CallBehaviorAction SingleDelegation_P_P_Operation_main_WriteLine_InitialMessage = new(); + public OutputPin SingleDelegation_P_P_Operation_main_WriteLine_InitialMessage_errorStatus = new(); + public LiteralInteger SingleDelegation_P_P_Operation_main_WriteLine_InitialMessage_errorStatus_LiteralInteger28 = new(); + public LiteralUnlimitedNatural SingleDelegation_P_P_Operation_main_WriteLine_InitialMessage_errorStatus_LiteralUnlimitedNatural29 = new(); + public LiteralInteger SingleDelegation_P_P_Operation_main_WriteLine_InitialMessage_errorStatus_LiteralInteger30 = new(); + public InputPin SingleDelegation_P_P_Operation_main_WriteLine_InitialMessage_value = new(); + public LiteralUnlimitedNatural SingleDelegation_P_P_Operation_main_WriteLine_InitialMessage_value_LiteralUnlimitedNatural31 = new(); + public LiteralInteger SingleDelegation_P_P_Operation_main_WriteLine_InitialMessage_value_LiteralInteger32 = new(); + public LiteralInteger SingleDelegation_P_P_Operation_main_WriteLine_InitialMessage_value_LiteralInteger33 = new(); + public ObjectFlow SingleDelegation_P_P_Operation_main_ObjectFlow34 = new(); + public LiteralBoolean SingleDelegation_P_P_Operation_main_ObjectFlow34_LiteralBoolean35 = new(); + public LiteralInteger SingleDelegation_P_P_Operation_main_ObjectFlow34_LiteralInteger36 = new(); + public ControlFlow SingleDelegation_P_P_Operation_main_ControlFlow37 = new(); + public ReadStructuralFeatureAction SingleDelegation_P_P_Operation_main_Read_a_q = new(); + public OutputPin SingleDelegation_P_P_Operation_main_Read_a_q_result = new(); + public LiteralInteger SingleDelegation_P_P_Operation_main_Read_a_q_result_LiteralInteger38 = new(); + public LiteralUnlimitedNatural SingleDelegation_P_P_Operation_main_Read_a_q_result_LiteralUnlimitedNatural39 = new(); + public InputPin SingleDelegation_P_P_Operation_main_Read_a_q_object = new(); + public LiteralUnlimitedNatural SingleDelegation_P_P_Operation_main_Read_a_q_object_LiteralUnlimitedNatural40 = new(); + public LiteralInteger SingleDelegation_P_P_Operation_main_Read_a_q_object_LiteralInteger41 = new(); + public ValueSpecificationAction SingleDelegation_P_P_Operation_main_InitialMessage = new(); + public OutputPin SingleDelegation_P_P_Operation_main_InitialMessage_result = new(); + public LiteralInteger SingleDelegation_P_P_Operation_main_InitialMessage_result_LiteralInteger42 = new(); + public LiteralUnlimitedNatural SingleDelegation_P_P_Operation_main_InitialMessage_result_LiteralUnlimitedNatural43 = new(); + public LiteralString SingleDelegation_P_P_Operation_main_InitialMessage_LiteralString44 = new(); + public ForkNode SingleDelegation_P_P_Operation_main_Fork_A = new(); + public ObjectFlow SingleDelegation_P_P_Operation_main_ObjectFlow45 = new(); + public LiteralInteger SingleDelegation_P_P_Operation_main_ObjectFlow45_LiteralInteger46 = new(); + public LiteralBoolean SingleDelegation_P_P_Operation_main_ObjectFlow45_LiteralBoolean47 = new(); + public CallBehaviorAction SingleDelegation_P_P_Operation_main_WriteLine_EndMessage = new(); + public InputPin SingleDelegation_P_P_Operation_main_WriteLine_EndMessage_value = new(); + public LiteralInteger SingleDelegation_P_P_Operation_main_WriteLine_EndMessage_value_LiteralInteger48 = new(); + public LiteralInteger SingleDelegation_P_P_Operation_main_WriteLine_EndMessage_value_LiteralInteger49 = new(); + public LiteralUnlimitedNatural SingleDelegation_P_P_Operation_main_WriteLine_EndMessage_value_LiteralUnlimitedNatural50 = new(); + public OutputPin SingleDelegation_P_P_Operation_main_WriteLine_EndMessage_errorStatus = new(); + public LiteralInteger SingleDelegation_P_P_Operation_main_WriteLine_EndMessage_errorStatus_LiteralInteger51 = new(); + public LiteralInteger SingleDelegation_P_P_Operation_main_WriteLine_EndMessage_errorStatus_LiteralInteger52 = new(); + public LiteralUnlimitedNatural SingleDelegation_P_P_Operation_main_WriteLine_EndMessage_errorStatus_LiteralUnlimitedNatural53 = new(); + public CallOperationAction SingleDelegation_P_P_Operation_main_A_ = new(); + public OutputPin SingleDelegation_P_P_Operation_main_A__result = new(); + public LiteralUnlimitedNatural SingleDelegation_P_P_Operation_main_A__result_LiteralUnlimitedNatural54 = new(); + public LiteralInteger SingleDelegation_P_P_Operation_main_A__result_LiteralInteger55 = new(); + public LiteralInteger SingleDelegation_P_P_Operation_main_A__result_LiteralInteger56 = new(); + public InputPin SingleDelegation_P_P_Operation_main_A__target = new(); + public LiteralInteger SingleDelegation_P_P_Operation_main_A__target_LiteralInteger57 = new(); + public LiteralUnlimitedNatural SingleDelegation_P_P_Operation_main_A__target_LiteralUnlimitedNatural58 = new(); + public ReadStructuralFeatureAction SingleDelegation_P_P_Operation_main_Read_a_b = new(); + public OutputPin SingleDelegation_P_P_Operation_main_Read_a_b_result = new(); + public LiteralUnlimitedNatural SingleDelegation_P_P_Operation_main_Read_a_b_result_LiteralUnlimitedNatural59 = new(); + public LiteralInteger SingleDelegation_P_P_Operation_main_Read_a_b_result_LiteralInteger60 = new(); + public InputPin SingleDelegation_P_P_Operation_main_Read_a_b_object = new(); + public LiteralUnlimitedNatural SingleDelegation_P_P_Operation_main_Read_a_b_object_LiteralUnlimitedNatural61 = new(); + public LiteralInteger SingleDelegation_P_P_Operation_main_Read_a_b_object_LiteralInteger62 = new(); + public ObjectFlow SingleDelegation_P_P_Operation_main_ObjectFlow63 = new(); + public LiteralBoolean SingleDelegation_P_P_Operation_main_ObjectFlow63_LiteralBoolean64 = new(); + public LiteralInteger SingleDelegation_P_P_Operation_main_ObjectFlow63_LiteralInteger65 = new(); + public ObjectFlow SingleDelegation_P_P_Operation_main_ObjectFlow66 = new(); + public LiteralBoolean SingleDelegation_P_P_Operation_main_ObjectFlow66_LiteralBoolean67 = new(); + public LiteralInteger SingleDelegation_P_P_Operation_main_ObjectFlow66_LiteralInteger68 = new(); + public ValueSpecificationAction SingleDelegation_P_P_Operation_main_Value_4 = new(); + public OutputPin SingleDelegation_P_P_Operation_main_Value_4_result = new(); + public LiteralInteger SingleDelegation_P_P_Operation_main_Value_4_result_LiteralInteger69 = new(); + public LiteralUnlimitedNatural SingleDelegation_P_P_Operation_main_Value_4_result_LiteralUnlimitedNatural70 = new(); + public LiteralInteger SingleDelegation_P_P_Operation_main_Value_4_LiteralInteger71 = new(); + public ObjectFlow SingleDelegation_P_P_Operation_main_ObjectFlow72 = new(); + public LiteralInteger SingleDelegation_P_P_Operation_main_ObjectFlow72_LiteralInteger73 = new(); + public LiteralBoolean SingleDelegation_P_P_Operation_main_ObjectFlow72_LiteralBoolean74 = new(); + public ObjectFlow SingleDelegation_P_P_Operation_main_ObjectFlow75 = new(); + public LiteralInteger SingleDelegation_P_P_Operation_main_ObjectFlow75_LiteralInteger76 = new(); + public LiteralBoolean SingleDelegation_P_P_Operation_main_ObjectFlow75_LiteralBoolean77 = new(); + public ObjectFlow SingleDelegation_P_P_Operation_main_ObjectFlow78 = new(); + public LiteralInteger SingleDelegation_P_P_Operation_main_ObjectFlow78_LiteralInteger79 = new(); + public LiteralBoolean SingleDelegation_P_P_Operation_main_ObjectFlow78_LiteralBoolean80 = new(); + public ControlFlow SingleDelegation_P_P_Operation_main_ControlFlow81 = new(); + public ObjectFlow SingleDelegation_P_P_Operation_main_ObjectFlow82 = new(); + public LiteralInteger SingleDelegation_P_P_Operation_main_ObjectFlow82_LiteralInteger83 = new(); + public LiteralBoolean SingleDelegation_P_P_Operation_main_ObjectFlow82_LiteralBoolean84 = new(); + public CallOperationAction SingleDelegation_P_P_Operation_main_Call_a_q_setP = new(); + public InputPin SingleDelegation_P_P_Operation_main_Call_a_q_setP_v = new(); + public LiteralInteger SingleDelegation_P_P_Operation_main_Call_a_q_setP_v_LiteralInteger85 = new(); + public LiteralUnlimitedNatural SingleDelegation_P_P_Operation_main_Call_a_q_setP_v_LiteralUnlimitedNatural86 = new(); + public LiteralInteger SingleDelegation_P_P_Operation_main_Call_a_q_setP_v_LiteralInteger87 = new(); + public InputPin SingleDelegation_P_P_Operation_main_Call_a_q_setP_target = new(); + public LiteralInteger SingleDelegation_P_P_Operation_main_Call_a_q_setP_target_LiteralInteger88 = new(); + public LiteralUnlimitedNatural SingleDelegation_P_P_Operation_main_Call_a_q_setP_target_LiteralUnlimitedNatural89 = new(); + public OpaqueBehavior SingleDelegation_P_P_Operation_main_testP = new(); + public Parameter SingleDelegation_P_P_Operation_main_testP_p = new(); + public ValueSpecificationAction SingleDelegation_P_P_Operation_main_EndMessage = new(); + public OutputPin SingleDelegation_P_P_Operation_main_EndMessage_result = new(); + public LiteralUnlimitedNatural SingleDelegation_P_P_Operation_main_EndMessage_result_LiteralUnlimitedNatural90 = new(); + public LiteralInteger SingleDelegation_P_P_Operation_main_EndMessage_result_LiteralInteger91 = new(); + public LiteralString SingleDelegation_P_P_Operation_main_EndMessage_LiteralString92 = new(); + public CreateObjectAction SingleDelegation_P_P_Operation_main_Create_A = new(); + public OutputPin SingleDelegation_P_P_Operation_main_Create_A_result = new(); + public LiteralUnlimitedNatural SingleDelegation_P_P_Operation_main_Create_A_result_LiteralUnlimitedNatural93 = new(); + public LiteralInteger SingleDelegation_P_P_Operation_main_Create_A_result_LiteralInteger94 = new(); + public ObjectFlow SingleDelegation_P_P_Operation_main_ObjectFlow95 = new(); + public LiteralBoolean SingleDelegation_P_P_Operation_main_ObjectFlow95_LiteralBoolean96 = new(); + public LiteralInteger SingleDelegation_P_P_Operation_main_ObjectFlow95_LiteralInteger97 = new(); + + public static SingleDelegation_P_P_OperationModel Instance() + { + if (instance is null) + { + instance = new(); + instance.InitializeInMemoryModel(); + } + + return instance; + } + + public SingleDelegation_P_P_OperationModel() + { + /* Start of user code : Additional model initializations + * This section may be used to do any additional model initialization, + * for example initializing user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } + + private void InitializeInMemoryModel() + { + // Create public members + /* + * Model SingleDelegation_P_P_Operation + */ + AddToElementRepository("SingleDelegation_P_P_Operation", SingleDelegation_P_P_Operation); + AddToElementRepository("IImpl", SingleDelegation_P_P_Operation_IImpl); + AddToElementRepository("IRealization", SingleDelegation_P_P_Operation_IImpl_IRealization); + AddToElementRepository("setP_Integer", SingleDelegation_P_P_Operation_IImpl_setP_Integer); + AddToElementRepository("v", SingleDelegation_P_P_Operation_IImpl_setP_Integer_v); + AddToElementRepository("R", SingleDelegation_P_P_Operation_R); + AddToElementRepository("y", SingleDelegation_P_P_Operation_R_y); + AddToElementRepository("x", SingleDelegation_P_P_Operation_R_x); + AddToElementRepository("B", SingleDelegation_P_P_Operation_B); + AddToElementRepository("setP_Integer", SingleDelegation_P_P_Operation_B_setP_Integer); + AddToElementRepository("v", SingleDelegation_P_P_Operation_B_setP_Integer_v); + AddToElementRepository("setPActivity", SingleDelegation_P_P_Operation_B_setPActivity); + AddToElementRepository("ObjectFlow0", SingleDelegation_P_P_Operation_B_setPActivity_ObjectFlow0); + AddToElementRepository("LiteralBoolean1", SingleDelegation_P_P_Operation_B_setPActivity_ObjectFlow0_LiteralBoolean1); + AddToElementRepository("LiteralInteger2", SingleDelegation_P_P_Operation_B_setPActivity_ObjectFlow0_LiteralInteger2); + AddToElementRepository("vParameterNode", SingleDelegation_P_P_Operation_B_setPActivity_vParameterNode); + AddToElementRepository("LiteralInteger3", SingleDelegation_P_P_Operation_B_setPActivity_vParameterNode_LiteralInteger3); + AddToElementRepository("ObjectFlow4", SingleDelegation_P_P_Operation_B_setPActivity_ObjectFlow4); + AddToElementRepository("LiteralInteger5", SingleDelegation_P_P_Operation_B_setPActivity_ObjectFlow4_LiteralInteger5); + AddToElementRepository("LiteralBoolean6", SingleDelegation_P_P_Operation_B_setPActivity_ObjectFlow4_LiteralBoolean6); + AddToElementRepository("this", SingleDelegation_P_P_Operation_B_setPActivity_this); + AddToElementRepository("result", SingleDelegation_P_P_Operation_B_setPActivity_this_result); + AddToElementRepository("LiteralInteger7", SingleDelegation_P_P_Operation_B_setPActivity_this_result_LiteralInteger7); + AddToElementRepository("LiteralUnlimitedNatural8", SingleDelegation_P_P_Operation_B_setPActivity_this_result_LiteralUnlimitedNatural8); + AddToElementRepository("Set this.p", SingleDelegation_P_P_Operation_B_setPActivity_Set_this_p); + AddToElementRepository("value", SingleDelegation_P_P_Operation_B_setPActivity_Set_this_p_value); + AddToElementRepository("LiteralUnlimitedNatural9", SingleDelegation_P_P_Operation_B_setPActivity_Set_this_p_value_LiteralUnlimitedNatural9); + AddToElementRepository("LiteralInteger10", SingleDelegation_P_P_Operation_B_setPActivity_Set_this_p_value_LiteralInteger10); + AddToElementRepository("object", SingleDelegation_P_P_Operation_B_setPActivity_Set_this_p_object); + AddToElementRepository("LiteralUnlimitedNatural11", SingleDelegation_P_P_Operation_B_setPActivity_Set_this_p_object_LiteralUnlimitedNatural11); + AddToElementRepository("LiteralInteger12", SingleDelegation_P_P_Operation_B_setPActivity_Set_this_p_object_LiteralInteger12); + AddToElementRepository("result", SingleDelegation_P_P_Operation_B_setPActivity_Set_this_p_result); + AddToElementRepository("LiteralInteger13", SingleDelegation_P_P_Operation_B_setPActivity_Set_this_p_result_LiteralInteger13); + AddToElementRepository("LiteralUnlimitedNatural14", SingleDelegation_P_P_Operation_B_setPActivity_Set_this_p_result_LiteralUnlimitedNatural14); + AddToElementRepository("v", SingleDelegation_P_P_Operation_B_setPActivity_v); + AddToElementRepository("p", SingleDelegation_P_P_Operation_B_p); + AddToElementRepository("B_B", SingleDelegation_P_P_Operation_B_B_B); + AddToElementRepository("result", SingleDelegation_P_P_Operation_B_B_B_result); + AddToElementRepository("IRealization", SingleDelegation_P_P_Operation_B_IRealization); + AddToElementRepository("A", SingleDelegation_P_P_Operation_A); + AddToElementRepository("b", SingleDelegation_P_P_Operation_A_b); + AddToElementRepository("r", SingleDelegation_P_P_Operation_A_r); + AddToElementRepository("ConnectorEnd15", SingleDelegation_P_P_Operation_A_r_ConnectorEnd15); + AddToElementRepository("ConnectorEnd16", SingleDelegation_P_P_Operation_A_r_ConnectorEnd16); + AddToElementRepository("A_A", SingleDelegation_P_P_Operation_A_A_A); + AddToElementRepository("result", SingleDelegation_P_P_Operation_A_A_A_result); + AddToElementRepository("q", SingleDelegation_P_P_Operation_A_q); + AddToElementRepository("I", SingleDelegation_P_P_Operation_I); + AddToElementRepository("setP_Integer", SingleDelegation_P_P_Operation_I_setP_Integer); + AddToElementRepository("v", SingleDelegation_P_P_Operation_I_setP_Integer_v); + AddToElementRepository("main", SingleDelegation_P_P_Operation_main); + AddToElementRepository("Read a.b.p", SingleDelegation_P_P_Operation_main_Read_a_b_p); + AddToElementRepository("object", SingleDelegation_P_P_Operation_main_Read_a_b_p_object); + AddToElementRepository("LiteralInteger17", SingleDelegation_P_P_Operation_main_Read_a_b_p_object_LiteralInteger17); + AddToElementRepository("LiteralUnlimitedNatural18", SingleDelegation_P_P_Operation_main_Read_a_b_p_object_LiteralUnlimitedNatural18); + AddToElementRepository("result", SingleDelegation_P_P_Operation_main_Read_a_b_p_result); + AddToElementRepository("LiteralUnlimitedNatural19", SingleDelegation_P_P_Operation_main_Read_a_b_p_result_LiteralUnlimitedNatural19); + AddToElementRepository("LiteralInteger20", SingleDelegation_P_P_Operation_main_Read_a_b_p_result_LiteralInteger20); + AddToElementRepository("ControlFlow21", SingleDelegation_P_P_Operation_main_ControlFlow21); + AddToElementRepository("ObjectFlow22", SingleDelegation_P_P_Operation_main_ObjectFlow22); + AddToElementRepository("LiteralBoolean23", SingleDelegation_P_P_Operation_main_ObjectFlow22_LiteralBoolean23); + AddToElementRepository("LiteralInteger24", SingleDelegation_P_P_Operation_main_ObjectFlow22_LiteralInteger24); + AddToElementRepository("Call testP", SingleDelegation_P_P_Operation_main_Call_testP); + AddToElementRepository("p", SingleDelegation_P_P_Operation_main_Call_testP_p); + AddToElementRepository("LiteralInteger25", SingleDelegation_P_P_Operation_main_Call_testP_p_LiteralInteger25); + AddToElementRepository("LiteralInteger26", SingleDelegation_P_P_Operation_main_Call_testP_p_LiteralInteger26); + AddToElementRepository("LiteralUnlimitedNatural27", SingleDelegation_P_P_Operation_main_Call_testP_p_LiteralUnlimitedNatural27); + AddToElementRepository("WriteLine(InitialMessage)", SingleDelegation_P_P_Operation_main_WriteLine_InitialMessage); + AddToElementRepository("errorStatus", SingleDelegation_P_P_Operation_main_WriteLine_InitialMessage_errorStatus); + AddToElementRepository("LiteralInteger28", SingleDelegation_P_P_Operation_main_WriteLine_InitialMessage_errorStatus_LiteralInteger28); + AddToElementRepository("LiteralUnlimitedNatural29", SingleDelegation_P_P_Operation_main_WriteLine_InitialMessage_errorStatus_LiteralUnlimitedNatural29); + AddToElementRepository("LiteralInteger30", SingleDelegation_P_P_Operation_main_WriteLine_InitialMessage_errorStatus_LiteralInteger30); + AddToElementRepository("value", SingleDelegation_P_P_Operation_main_WriteLine_InitialMessage_value); + AddToElementRepository("LiteralUnlimitedNatural31", SingleDelegation_P_P_Operation_main_WriteLine_InitialMessage_value_LiteralUnlimitedNatural31); + AddToElementRepository("LiteralInteger32", SingleDelegation_P_P_Operation_main_WriteLine_InitialMessage_value_LiteralInteger32); + AddToElementRepository("LiteralInteger33", SingleDelegation_P_P_Operation_main_WriteLine_InitialMessage_value_LiteralInteger33); + AddToElementRepository("ObjectFlow34", SingleDelegation_P_P_Operation_main_ObjectFlow34); + AddToElementRepository("LiteralBoolean35", SingleDelegation_P_P_Operation_main_ObjectFlow34_LiteralBoolean35); + AddToElementRepository("LiteralInteger36", SingleDelegation_P_P_Operation_main_ObjectFlow34_LiteralInteger36); + AddToElementRepository("ControlFlow37", SingleDelegation_P_P_Operation_main_ControlFlow37); + AddToElementRepository("Read a.q", SingleDelegation_P_P_Operation_main_Read_a_q); + AddToElementRepository("result", SingleDelegation_P_P_Operation_main_Read_a_q_result); + AddToElementRepository("LiteralInteger38", SingleDelegation_P_P_Operation_main_Read_a_q_result_LiteralInteger38); + AddToElementRepository("LiteralUnlimitedNatural39", SingleDelegation_P_P_Operation_main_Read_a_q_result_LiteralUnlimitedNatural39); + AddToElementRepository("object", SingleDelegation_P_P_Operation_main_Read_a_q_object); + AddToElementRepository("LiteralUnlimitedNatural40", SingleDelegation_P_P_Operation_main_Read_a_q_object_LiteralUnlimitedNatural40); + AddToElementRepository("LiteralInteger41", SingleDelegation_P_P_Operation_main_Read_a_q_object_LiteralInteger41); + AddToElementRepository("InitialMessage", SingleDelegation_P_P_Operation_main_InitialMessage); + AddToElementRepository("result", SingleDelegation_P_P_Operation_main_InitialMessage_result); + AddToElementRepository("LiteralInteger42", SingleDelegation_P_P_Operation_main_InitialMessage_result_LiteralInteger42); + AddToElementRepository("LiteralUnlimitedNatural43", SingleDelegation_P_P_Operation_main_InitialMessage_result_LiteralUnlimitedNatural43); + AddToElementRepository("LiteralString44", SingleDelegation_P_P_Operation_main_InitialMessage_LiteralString44); + AddToElementRepository("Fork A", SingleDelegation_P_P_Operation_main_Fork_A); + AddToElementRepository("ObjectFlow45", SingleDelegation_P_P_Operation_main_ObjectFlow45); + AddToElementRepository("LiteralInteger46", SingleDelegation_P_P_Operation_main_ObjectFlow45_LiteralInteger46); + AddToElementRepository("LiteralBoolean47", SingleDelegation_P_P_Operation_main_ObjectFlow45_LiteralBoolean47); + AddToElementRepository("WriteLine(EndMessage)", SingleDelegation_P_P_Operation_main_WriteLine_EndMessage); + AddToElementRepository("value", SingleDelegation_P_P_Operation_main_WriteLine_EndMessage_value); + AddToElementRepository("LiteralInteger48", SingleDelegation_P_P_Operation_main_WriteLine_EndMessage_value_LiteralInteger48); + AddToElementRepository("LiteralInteger49", SingleDelegation_P_P_Operation_main_WriteLine_EndMessage_value_LiteralInteger49); + AddToElementRepository("LiteralUnlimitedNatural50", SingleDelegation_P_P_Operation_main_WriteLine_EndMessage_value_LiteralUnlimitedNatural50); + AddToElementRepository("errorStatus", SingleDelegation_P_P_Operation_main_WriteLine_EndMessage_errorStatus); + AddToElementRepository("LiteralInteger51", SingleDelegation_P_P_Operation_main_WriteLine_EndMessage_errorStatus_LiteralInteger51); + AddToElementRepository("LiteralInteger52", SingleDelegation_P_P_Operation_main_WriteLine_EndMessage_errorStatus_LiteralInteger52); + AddToElementRepository("LiteralUnlimitedNatural53", SingleDelegation_P_P_Operation_main_WriteLine_EndMessage_errorStatus_LiteralUnlimitedNatural53); + AddToElementRepository("A()", SingleDelegation_P_P_Operation_main_A_); + AddToElementRepository("result", SingleDelegation_P_P_Operation_main_A__result); + AddToElementRepository("LiteralUnlimitedNatural54", SingleDelegation_P_P_Operation_main_A__result_LiteralUnlimitedNatural54); + AddToElementRepository("LiteralInteger55", SingleDelegation_P_P_Operation_main_A__result_LiteralInteger55); + AddToElementRepository("LiteralInteger56", SingleDelegation_P_P_Operation_main_A__result_LiteralInteger56); + AddToElementRepository("target", SingleDelegation_P_P_Operation_main_A__target); + AddToElementRepository("LiteralInteger57", SingleDelegation_P_P_Operation_main_A__target_LiteralInteger57); + AddToElementRepository("LiteralUnlimitedNatural58", SingleDelegation_P_P_Operation_main_A__target_LiteralUnlimitedNatural58); + AddToElementRepository("Read a.b", SingleDelegation_P_P_Operation_main_Read_a_b); + AddToElementRepository("result", SingleDelegation_P_P_Operation_main_Read_a_b_result); + AddToElementRepository("LiteralUnlimitedNatural59", SingleDelegation_P_P_Operation_main_Read_a_b_result_LiteralUnlimitedNatural59); + AddToElementRepository("LiteralInteger60", SingleDelegation_P_P_Operation_main_Read_a_b_result_LiteralInteger60); + AddToElementRepository("object", SingleDelegation_P_P_Operation_main_Read_a_b_object); + AddToElementRepository("LiteralUnlimitedNatural61", SingleDelegation_P_P_Operation_main_Read_a_b_object_LiteralUnlimitedNatural61); + AddToElementRepository("LiteralInteger62", SingleDelegation_P_P_Operation_main_Read_a_b_object_LiteralInteger62); + AddToElementRepository("ObjectFlow63", SingleDelegation_P_P_Operation_main_ObjectFlow63); + AddToElementRepository("LiteralBoolean64", SingleDelegation_P_P_Operation_main_ObjectFlow63_LiteralBoolean64); + AddToElementRepository("LiteralInteger65", SingleDelegation_P_P_Operation_main_ObjectFlow63_LiteralInteger65); + AddToElementRepository("ObjectFlow66", SingleDelegation_P_P_Operation_main_ObjectFlow66); + AddToElementRepository("LiteralBoolean67", SingleDelegation_P_P_Operation_main_ObjectFlow66_LiteralBoolean67); + AddToElementRepository("LiteralInteger68", SingleDelegation_P_P_Operation_main_ObjectFlow66_LiteralInteger68); + AddToElementRepository("Value(4)", SingleDelegation_P_P_Operation_main_Value_4); + AddToElementRepository("result", SingleDelegation_P_P_Operation_main_Value_4_result); + AddToElementRepository("LiteralInteger69", SingleDelegation_P_P_Operation_main_Value_4_result_LiteralInteger69); + AddToElementRepository("LiteralUnlimitedNatural70", SingleDelegation_P_P_Operation_main_Value_4_result_LiteralUnlimitedNatural70); + AddToElementRepository("LiteralInteger71", SingleDelegation_P_P_Operation_main_Value_4_LiteralInteger71); + AddToElementRepository("ObjectFlow72", SingleDelegation_P_P_Operation_main_ObjectFlow72); + AddToElementRepository("LiteralInteger73", SingleDelegation_P_P_Operation_main_ObjectFlow72_LiteralInteger73); + AddToElementRepository("LiteralBoolean74", SingleDelegation_P_P_Operation_main_ObjectFlow72_LiteralBoolean74); + AddToElementRepository("ObjectFlow75", SingleDelegation_P_P_Operation_main_ObjectFlow75); + AddToElementRepository("LiteralInteger76", SingleDelegation_P_P_Operation_main_ObjectFlow75_LiteralInteger76); + AddToElementRepository("LiteralBoolean77", SingleDelegation_P_P_Operation_main_ObjectFlow75_LiteralBoolean77); + AddToElementRepository("ObjectFlow78", SingleDelegation_P_P_Operation_main_ObjectFlow78); + AddToElementRepository("LiteralInteger79", SingleDelegation_P_P_Operation_main_ObjectFlow78_LiteralInteger79); + AddToElementRepository("LiteralBoolean80", SingleDelegation_P_P_Operation_main_ObjectFlow78_LiteralBoolean80); + AddToElementRepository("ControlFlow81", SingleDelegation_P_P_Operation_main_ControlFlow81); + AddToElementRepository("ObjectFlow82", SingleDelegation_P_P_Operation_main_ObjectFlow82); + AddToElementRepository("LiteralInteger83", SingleDelegation_P_P_Operation_main_ObjectFlow82_LiteralInteger83); + AddToElementRepository("LiteralBoolean84", SingleDelegation_P_P_Operation_main_ObjectFlow82_LiteralBoolean84); + AddToElementRepository("Call a.q.setP", SingleDelegation_P_P_Operation_main_Call_a_q_setP); + AddToElementRepository("v", SingleDelegation_P_P_Operation_main_Call_a_q_setP_v); + AddToElementRepository("LiteralInteger85", SingleDelegation_P_P_Operation_main_Call_a_q_setP_v_LiteralInteger85); + AddToElementRepository("LiteralUnlimitedNatural86", SingleDelegation_P_P_Operation_main_Call_a_q_setP_v_LiteralUnlimitedNatural86); + AddToElementRepository("LiteralInteger87", SingleDelegation_P_P_Operation_main_Call_a_q_setP_v_LiteralInteger87); + AddToElementRepository("target", SingleDelegation_P_P_Operation_main_Call_a_q_setP_target); + AddToElementRepository("LiteralInteger88", SingleDelegation_P_P_Operation_main_Call_a_q_setP_target_LiteralInteger88); + AddToElementRepository("LiteralUnlimitedNatural89", SingleDelegation_P_P_Operation_main_Call_a_q_setP_target_LiteralUnlimitedNatural89); + AddToElementRepository("testP", SingleDelegation_P_P_Operation_main_testP); + AddToElementRepository("p", SingleDelegation_P_P_Operation_main_testP_p); + AddToElementRepository("EndMessage", SingleDelegation_P_P_Operation_main_EndMessage); + AddToElementRepository("result", SingleDelegation_P_P_Operation_main_EndMessage_result); + AddToElementRepository("LiteralUnlimitedNatural90", SingleDelegation_P_P_Operation_main_EndMessage_result_LiteralUnlimitedNatural90); + AddToElementRepository("LiteralInteger91", SingleDelegation_P_P_Operation_main_EndMessage_result_LiteralInteger91); + AddToElementRepository("LiteralString92", SingleDelegation_P_P_Operation_main_EndMessage_LiteralString92); + AddToElementRepository("Create A", SingleDelegation_P_P_Operation_main_Create_A); + AddToElementRepository("result", SingleDelegation_P_P_Operation_main_Create_A_result); + AddToElementRepository("LiteralUnlimitedNatural93", SingleDelegation_P_P_Operation_main_Create_A_result_LiteralUnlimitedNatural93); + AddToElementRepository("LiteralInteger94", SingleDelegation_P_P_Operation_main_Create_A_result_LiteralInteger94); + AddToElementRepository("ObjectFlow95", SingleDelegation_P_P_Operation_main_ObjectFlow95); + AddToElementRepository("LiteralBoolean96", SingleDelegation_P_P_Operation_main_ObjectFlow95_LiteralBoolean96); + AddToElementRepository("LiteralInteger97", SingleDelegation_P_P_Operation_main_ObjectFlow95_LiteralInteger97); + + // Initialize public members + /* + * Model SingleDelegation_P_P_Operation + */ + SingleDelegation_P_P_Operation.SetName("SingleDelegation_P_P_Operation"); + SingleDelegation_P_P_Operation.SetVisibility(VisibilityKind.public_); + // Class IImpl + SingleDelegation_P_P_Operation_IImpl.SetName("IImpl"); + SingleDelegation_P_P_Operation_IImpl.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_P_Operation_IImpl_IRealization.SetName("IRealization"); + SingleDelegation_P_P_Operation_IImpl_IRealization.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_P_Operation_IImpl_IRealization.SetContract(SingleDelegation_P_P_Operation_I); + + SingleDelegation_P_P_Operation_IImpl.AddInterfaceRealization(SingleDelegation_P_P_Operation_IImpl_IRealization); + + // Operation setP_Integer + SingleDelegation_P_P_Operation_IImpl_setP_Integer.SetName("setP_Integer"); + SingleDelegation_P_P_Operation_IImpl_setP_Integer.SetVisibility(VisibilityKind.public_); + // Parameter v + SingleDelegation_P_P_Operation_IImpl_setP_Integer_v.SetName("v"); + SingleDelegation_P_P_Operation_IImpl_setP_Integer_v.SetVisibility(VisibilityKind.public_); + + SingleDelegation_P_P_Operation_IImpl_setP_Integer_v.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + SingleDelegation_P_P_Operation_IImpl_setP_Integer.AddOwnedParameter(SingleDelegation_P_P_Operation_IImpl_setP_Integer_v); + SingleDelegation_P_P_Operation_IImpl.AddOwnedOperation(SingleDelegation_P_P_Operation_IImpl_setP_Integer); + SingleDelegation_P_P_Operation.AddPackagedElement(SingleDelegation_P_P_Operation_IImpl); + // Association R + SingleDelegation_P_P_Operation_R.SetName("R"); + SingleDelegation_P_P_Operation_R.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_P_Operation_R.AddOwnedEnd(SingleDelegation_P_P_Operation_R_x); + SingleDelegation_P_P_Operation_R.AddOwnedEnd(SingleDelegation_P_P_Operation_R_y); + SingleDelegation_P_P_Operation.AddPackagedElement(SingleDelegation_P_P_Operation_R); + // Class B + SingleDelegation_P_P_Operation_B.SetName("B"); + SingleDelegation_P_P_Operation_B.SetVisibility(VisibilityKind.public_); + + // Property p + SingleDelegation_P_P_Operation_B_p.SetName("p"); + SingleDelegation_P_P_Operation_B_p.SetVisibility(VisibilityKind.public_); + + SingleDelegation_P_P_Operation_B_p.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + SingleDelegation_P_P_Operation_B.AddOwnedAttribute(SingleDelegation_P_P_Operation_B_p); + // Activity setPActivity + SingleDelegation_P_P_Operation_B_setPActivity.SetName("setPActivity"); + SingleDelegation_P_P_Operation_B_setPActivity.SetVisibility(VisibilityKind.public_); + + // Parameter v + SingleDelegation_P_P_Operation_B_setPActivity_v.SetName("v"); + SingleDelegation_P_P_Operation_B_setPActivity_v.SetVisibility(VisibilityKind.public_); + + SingleDelegation_P_P_Operation_B_setPActivity_v.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + SingleDelegation_P_P_Operation_B_setPActivity.AddOwnedParameter(SingleDelegation_P_P_Operation_B_setPActivity_v); + // ActivityParameterNode vParameterNode + SingleDelegation_P_P_Operation_B_setPActivity_vParameterNode.SetName("vParameterNode"); + SingleDelegation_P_P_Operation_B_setPActivity_vParameterNode.SetVisibility(VisibilityKind.public_); + + SingleDelegation_P_P_Operation_B_setPActivity_vParameterNode.SetParameter(SingleDelegation_P_P_Operation_B_setPActivity_v); + SingleDelegation_P_P_Operation_B_setPActivity.AddNode(SingleDelegation_P_P_Operation_B_setPActivity_vParameterNode); + // ReadSelfAction this + SingleDelegation_P_P_Operation_B_setPActivity_this.SetName("this"); + SingleDelegation_P_P_Operation_B_setPActivity_this.SetVisibility(VisibilityKind.public_); + // OutputPin result + SingleDelegation_P_P_Operation_B_setPActivity_this_result.SetName("result"); + SingleDelegation_P_P_Operation_B_setPActivity_this_result.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_P_Operation_B_setPActivity_this_result.SetType(SingleDelegation_P_P_Operation_B); + SingleDelegation_P_P_Operation_B_setPActivity_this.SetResult(SingleDelegation_P_P_Operation_B_setPActivity_this_result); + SingleDelegation_P_P_Operation_B_setPActivity.AddNode(SingleDelegation_P_P_Operation_B_setPActivity_this); + // AddStructuralFeatureValueAction Set this.p + SingleDelegation_P_P_Operation_B_setPActivity_Set_this_p.SetName("Set this.p"); + SingleDelegation_P_P_Operation_B_setPActivity_Set_this_p.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_P_Operation_B_setPActivity_Set_this_p.SetStructuralFeature(SingleDelegation_P_P_Operation_B_p); + // InputPin object + SingleDelegation_P_P_Operation_B_setPActivity_Set_this_p_object.SetName("object"); + SingleDelegation_P_P_Operation_B_setPActivity_Set_this_p_object.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_P_Operation_B_setPActivity_Set_this_p_object.SetType(SingleDelegation_P_P_Operation_B); + SingleDelegation_P_P_Operation_B_setPActivity_Set_this_p.SetObject(SingleDelegation_P_P_Operation_B_setPActivity_Set_this_p_object); + // InputPin value + SingleDelegation_P_P_Operation_B_setPActivity_Set_this_p_value.SetName("value"); + SingleDelegation_P_P_Operation_B_setPActivity_Set_this_p_value.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_P_Operation_B_setPActivity_Set_this_p_value.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + SingleDelegation_P_P_Operation_B_setPActivity_Set_this_p.SetValue(SingleDelegation_P_P_Operation_B_setPActivity_Set_this_p_value); + // OutputPin result + SingleDelegation_P_P_Operation_B_setPActivity_Set_this_p_result.SetName("result"); + SingleDelegation_P_P_Operation_B_setPActivity_Set_this_p_result.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_P_Operation_B_setPActivity_Set_this_p_result.SetType(SingleDelegation_P_P_Operation_B); + SingleDelegation_P_P_Operation_B_setPActivity_Set_this_p.SetResult(SingleDelegation_P_P_Operation_B_setPActivity_Set_this_p_result); + SingleDelegation_P_P_Operation_B_setPActivity.AddNode(SingleDelegation_P_P_Operation_B_setPActivity_Set_this_p); + // ObjectFlow ObjectFlow0 from result to object + SingleDelegation_P_P_Operation_B_setPActivity_ObjectFlow0.SetName("ObjectFlow0"); + SingleDelegation_P_P_Operation_B_setPActivity_ObjectFlow0.SetVisibility(VisibilityKind.public_); + + SingleDelegation_P_P_Operation_B_setPActivity_ObjectFlow0.SetSource(SingleDelegation_P_P_Operation_B_setPActivity_this_result); + SingleDelegation_P_P_Operation_B_setPActivity_ObjectFlow0.SetTarget(SingleDelegation_P_P_Operation_B_setPActivity_Set_this_p_object); + // LiteralBoolean LiteralBoolean1 + SingleDelegation_P_P_Operation_B_setPActivity_ObjectFlow0_LiteralBoolean1.SetName("LiteralBoolean1"); + SingleDelegation_P_P_Operation_B_setPActivity_ObjectFlow0_LiteralBoolean1.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_P_Operation_B_setPActivity_ObjectFlow0_LiteralBoolean1.SetValue(true); + SingleDelegation_P_P_Operation_B_setPActivity_ObjectFlow0.SetGuard(SingleDelegation_P_P_Operation_B_setPActivity_ObjectFlow0_LiteralBoolean1); + SingleDelegation_P_P_Operation_B_setPActivity.AddEdge(SingleDelegation_P_P_Operation_B_setPActivity_ObjectFlow0); + // ObjectFlow ObjectFlow4 from vParameterNode to value + SingleDelegation_P_P_Operation_B_setPActivity_ObjectFlow4.SetName("ObjectFlow4"); + SingleDelegation_P_P_Operation_B_setPActivity_ObjectFlow4.SetVisibility(VisibilityKind.public_); + + SingleDelegation_P_P_Operation_B_setPActivity_ObjectFlow4.SetSource(SingleDelegation_P_P_Operation_B_setPActivity_vParameterNode); + SingleDelegation_P_P_Operation_B_setPActivity_ObjectFlow4.SetTarget(SingleDelegation_P_P_Operation_B_setPActivity_Set_this_p_value); + // LiteralBoolean LiteralBoolean6 + SingleDelegation_P_P_Operation_B_setPActivity_ObjectFlow4_LiteralBoolean6.SetName("LiteralBoolean6"); + SingleDelegation_P_P_Operation_B_setPActivity_ObjectFlow4_LiteralBoolean6.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_P_Operation_B_setPActivity_ObjectFlow4_LiteralBoolean6.SetValue(true); + SingleDelegation_P_P_Operation_B_setPActivity_ObjectFlow4.SetGuard(SingleDelegation_P_P_Operation_B_setPActivity_ObjectFlow4_LiteralBoolean6); + SingleDelegation_P_P_Operation_B_setPActivity.AddEdge(SingleDelegation_P_P_Operation_B_setPActivity_ObjectFlow4); + SingleDelegation_P_P_Operation_B.AddOwnedBehavior(SingleDelegation_P_P_Operation_B_setPActivity); + SingleDelegation_P_P_Operation_B_IRealization.SetName("IRealization"); + SingleDelegation_P_P_Operation_B_IRealization.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_P_Operation_B_IRealization.SetContract(SingleDelegation_P_P_Operation_I); + + SingleDelegation_P_P_Operation_B.AddInterfaceRealization(SingleDelegation_P_P_Operation_B_IRealization); + + // Operation B_B + SingleDelegation_P_P_Operation_B_B_B.SetName("B_B"); + SingleDelegation_P_P_Operation_B_B_B.SetVisibility(VisibilityKind.public_); + // Parameter result + SingleDelegation_P_P_Operation_B_B_B_result.SetName("result"); + SingleDelegation_P_P_Operation_B_B_B_result.SetVisibility(VisibilityKind.public_); + + SingleDelegation_P_P_Operation_B_B_B_result.SetType(SingleDelegation_P_P_Operation_B); + SingleDelegation_P_P_Operation_B_B_B_result.SetDirection(ParameterDirectionKind.return_); + SingleDelegation_P_P_Operation_B_B_B.AddOwnedParameter(SingleDelegation_P_P_Operation_B_B_B_result); + SingleDelegation_P_P_Operation_B_B_B.ApplyStereotype(uml.standardprofile.StandardProfileModel.Instance().Stereotype_Create); + SingleDelegation_P_P_Operation_B.AddOwnedOperation(SingleDelegation_P_P_Operation_B_B_B); + // Operation setP_Integer + SingleDelegation_P_P_Operation_B_setP_Integer.SetName("setP_Integer"); + SingleDelegation_P_P_Operation_B_setP_Integer.SetVisibility(VisibilityKind.public_); + // Parameter v + SingleDelegation_P_P_Operation_B_setP_Integer_v.SetName("v"); + SingleDelegation_P_P_Operation_B_setP_Integer_v.SetVisibility(VisibilityKind.public_); + + SingleDelegation_P_P_Operation_B_setP_Integer_v.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + SingleDelegation_P_P_Operation_B_setP_Integer.AddOwnedParameter(SingleDelegation_P_P_Operation_B_setP_Integer_v); + SingleDelegation_P_P_Operation_B_setP_Integer.AddMethod(SingleDelegation_P_P_Operation_B_setPActivity); + SingleDelegation_P_P_Operation_B.AddOwnedOperation(SingleDelegation_P_P_Operation_B_setP_Integer); + SingleDelegation_P_P_Operation.AddPackagedElement(SingleDelegation_P_P_Operation_B); + // Class A + SingleDelegation_P_P_Operation_A.SetName("A"); + SingleDelegation_P_P_Operation_A.SetVisibility(VisibilityKind.public_); + + // Port q + SingleDelegation_P_P_Operation_A_q.SetName("q"); + SingleDelegation_P_P_Operation_A_q.SetVisibility(VisibilityKind.public_); + + SingleDelegation_P_P_Operation_A_q.SetType(SingleDelegation_P_P_Operation_IImpl); + SingleDelegation_P_P_Operation_A_q.SetAggregation(AggregationKind.composite); + SingleDelegation_P_P_Operation_A_q.isService = true; + SingleDelegation_P_P_Operation_A_q.AddProvided(SingleDelegation_P_P_Operation_I); + SingleDelegation_P_P_Operation_A.AddOwnedAttribute(SingleDelegation_P_P_Operation_A_q); + // Property b + SingleDelegation_P_P_Operation_A_b.SetName("b"); + SingleDelegation_P_P_Operation_A_b.SetVisibility(VisibilityKind.public_); + + SingleDelegation_P_P_Operation_A_b.SetType(SingleDelegation_P_P_Operation_B); + SingleDelegation_P_P_Operation_A_b.SetAggregation(AggregationKind.composite); + SingleDelegation_P_P_Operation_A.AddOwnedAttribute(SingleDelegation_P_P_Operation_A_b); + + SingleDelegation_P_P_Operation_A_r.SetName("r"); + SingleDelegation_P_P_Operation_A_r.SetVisibility(VisibilityKind.public_); + + SingleDelegation_P_P_Operation_A_r_ConnectorEnd16.SetRole(SingleDelegation_P_P_Operation_A_q); + + SingleDelegation_P_P_Operation_A_r.AddEnd(SingleDelegation_P_P_Operation_A_r_ConnectorEnd16); + + SingleDelegation_P_P_Operation_A_r_ConnectorEnd15.SetRole(SingleDelegation_P_P_Operation_A_b); + + SingleDelegation_P_P_Operation_A_r.AddEnd(SingleDelegation_P_P_Operation_A_r_ConnectorEnd15); + SingleDelegation_P_P_Operation_A_r.SetType(SingleDelegation_P_P_Operation_R); + SingleDelegation_P_P_Operation_A.AddOwnedConnector(SingleDelegation_P_P_Operation_A_r); + // Operation A_A + SingleDelegation_P_P_Operation_A_A_A.SetName("A_A"); + SingleDelegation_P_P_Operation_A_A_A.SetVisibility(VisibilityKind.public_); + // Parameter result + SingleDelegation_P_P_Operation_A_A_A_result.SetName("result"); + SingleDelegation_P_P_Operation_A_A_A_result.SetVisibility(VisibilityKind.public_); + + SingleDelegation_P_P_Operation_A_A_A_result.SetType(SingleDelegation_P_P_Operation_A); + SingleDelegation_P_P_Operation_A_A_A_result.SetDirection(ParameterDirectionKind.return_); + SingleDelegation_P_P_Operation_A_A_A.AddOwnedParameter(SingleDelegation_P_P_Operation_A_A_A_result); + SingleDelegation_P_P_Operation_A_A_A.ApplyStereotype(uml.standardprofile.StandardProfileModel.Instance().Stereotype_Create); + SingleDelegation_P_P_Operation_A.AddOwnedOperation(SingleDelegation_P_P_Operation_A_A_A); + SingleDelegation_P_P_Operation.AddPackagedElement(SingleDelegation_P_P_Operation_A); + // Interface I + SingleDelegation_P_P_Operation_I.SetName("I"); + SingleDelegation_P_P_Operation_I.SetVisibility(VisibilityKind.public_); + // Operation setP_Integer + SingleDelegation_P_P_Operation_I_setP_Integer.SetName("setP_Integer"); + SingleDelegation_P_P_Operation_I_setP_Integer.SetVisibility(VisibilityKind.public_); + // Parameter v + SingleDelegation_P_P_Operation_I_setP_Integer_v.SetName("v"); + SingleDelegation_P_P_Operation_I_setP_Integer_v.SetVisibility(VisibilityKind.public_); + + SingleDelegation_P_P_Operation_I_setP_Integer_v.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + SingleDelegation_P_P_Operation_I_setP_Integer.AddOwnedParameter(SingleDelegation_P_P_Operation_I_setP_Integer_v); + SingleDelegation_P_P_Operation_I.AddOwnedOperation(SingleDelegation_P_P_Operation_I_setP_Integer); + SingleDelegation_P_P_Operation.AddPackagedElement(SingleDelegation_P_P_Operation_I); + // Activity main + SingleDelegation_P_P_Operation_main.SetName("main"); + SingleDelegation_P_P_Operation_main.SetVisibility(VisibilityKind.public_); + // FunctionBehavior testP + SingleDelegation_P_P_Operation_main_testP.SetName("testP"); + SingleDelegation_P_P_Operation_main_testP.SetVisibility(VisibilityKind.public_); + + // Parameter p + SingleDelegation_P_P_Operation_main_testP_p.SetName("p"); + SingleDelegation_P_P_Operation_main_testP_p.SetVisibility(VisibilityKind.public_); + + SingleDelegation_P_P_Operation_main_testP_p.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + SingleDelegation_P_P_Operation_main_testP.AddOwnedParameter(SingleDelegation_P_P_Operation_main_testP_p); + SingleDelegation_P_P_Operation_main_testP.AddLanguage("C#"); + SingleDelegation_P_P_Operation_main_testP.AddLanguage("Using"); + SingleDelegation_P_P_Operation_main_testP.AddBody("Console.WriteLine(\"Asserting a.b.p == 4\"); // Test parameter p int p = ((IntegerValue)inputParameter.ElementAt(0).values.ElementAt(0)).value; Debug.Println(\"[doBody] argument p = \" + p); Console.WriteLine(\"a.b.p == \" + p); Console.Write(\"Operation call delegated: \"); if(p == 4) { Console.ForegroundColor = ConsoleColor.Green; Console.WriteLine(\"Assertion successful.\"); } else { Console.ForegroundColor = ConsoleColor.Red; Console.WriteLine(\"Assertion failed!\"); } Console.ResetColor();"); + SingleDelegation_P_P_Operation_main_testP.AddBody("//using fuml.semantics.simpleclassifiers;"); + SingleDelegation_P_P_Operation_main.AddOwnedBehavior(SingleDelegation_P_P_Operation_main_testP); + // CallBehaviorAction WriteLine(EndMessage) + SingleDelegation_P_P_Operation_main_WriteLine_EndMessage.SetName("WriteLine(EndMessage)"); + SingleDelegation_P_P_Operation_main_WriteLine_EndMessage.SetVisibility(VisibilityKind.public_); + + // OutputPin errorStatus + SingleDelegation_P_P_Operation_main_WriteLine_EndMessage_errorStatus.SetName("errorStatus"); + SingleDelegation_P_P_Operation_main_WriteLine_EndMessage_errorStatus.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_P_Operation_main_WriteLine_EndMessage_errorStatus.SetType(FoundationalModelLibraryModel.Instance().FoundationalModelLibrary_Common_Status); + SingleDelegation_P_P_Operation_main_WriteLine_EndMessage_errorStatus.SetLower(0); + SingleDelegation_P_P_Operation_main_WriteLine_EndMessage.AddResult(SingleDelegation_P_P_Operation_main_WriteLine_EndMessage_errorStatus); + SingleDelegation_P_P_Operation_main_WriteLine_EndMessage.SetBehavior(FoundationalModelLibraryModel.Instance().FoundationalModelLibrary_BasicInputOutput_WriteLine); + // InputPin value + SingleDelegation_P_P_Operation_main_WriteLine_EndMessage_value.SetName("value"); + SingleDelegation_P_P_Operation_main_WriteLine_EndMessage_value.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_P_Operation_main_WriteLine_EndMessage_value.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_String); + SingleDelegation_P_P_Operation_main_WriteLine_EndMessage.AddArgument(SingleDelegation_P_P_Operation_main_WriteLine_EndMessage_value); + SingleDelegation_P_P_Operation_main.AddNode(SingleDelegation_P_P_Operation_main_WriteLine_EndMessage); + // ReadStructuralFeatureAction Read a.b.p + SingleDelegation_P_P_Operation_main_Read_a_b_p.SetName("Read a.b.p"); + SingleDelegation_P_P_Operation_main_Read_a_b_p.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_P_Operation_main_Read_a_b_p.SetStructuralFeature(SingleDelegation_P_P_Operation_B_p); + // InputPin object + SingleDelegation_P_P_Operation_main_Read_a_b_p_object.SetName("object"); + SingleDelegation_P_P_Operation_main_Read_a_b_p_object.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_P_Operation_main_Read_a_b_p_object.SetType(SingleDelegation_P_P_Operation_B); + SingleDelegation_P_P_Operation_main_Read_a_b_p.SetObject(SingleDelegation_P_P_Operation_main_Read_a_b_p_object); + // OutputPin result + SingleDelegation_P_P_Operation_main_Read_a_b_p_result.SetName("result"); + SingleDelegation_P_P_Operation_main_Read_a_b_p_result.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_P_Operation_main_Read_a_b_p_result.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + SingleDelegation_P_P_Operation_main_Read_a_b_p.SetResult(SingleDelegation_P_P_Operation_main_Read_a_b_p_result); + SingleDelegation_P_P_Operation_main.AddNode(SingleDelegation_P_P_Operation_main_Read_a_b_p); + // CallOperationAction A() + SingleDelegation_P_P_Operation_main_A_.SetName("A()"); + SingleDelegation_P_P_Operation_main_A_.SetVisibility(VisibilityKind.public_); + + // OutputPin result + SingleDelegation_P_P_Operation_main_A__result.SetName("result"); + SingleDelegation_P_P_Operation_main_A__result.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_P_Operation_main_A__result.SetType(SingleDelegation_P_P_Operation_A); + SingleDelegation_P_P_Operation_main_A_.AddResult(SingleDelegation_P_P_Operation_main_A__result); + SingleDelegation_P_P_Operation_main_A_.SetOperation(SingleDelegation_P_P_Operation_A_A_A); + // InputPin target + SingleDelegation_P_P_Operation_main_A__target.SetName("target"); + SingleDelegation_P_P_Operation_main_A__target.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_P_Operation_main_A__target.SetType(SingleDelegation_P_P_Operation_A); + SingleDelegation_P_P_Operation_main_A_.SetTarget(SingleDelegation_P_P_Operation_main_A__target); + SingleDelegation_P_P_Operation_main.AddNode(SingleDelegation_P_P_Operation_main_A_); + // ReadStructuralFeatureAction Read a.b + SingleDelegation_P_P_Operation_main_Read_a_b.SetName("Read a.b"); + SingleDelegation_P_P_Operation_main_Read_a_b.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_P_Operation_main_Read_a_b.SetStructuralFeature(SingleDelegation_P_P_Operation_A_b); + // InputPin object + SingleDelegation_P_P_Operation_main_Read_a_b_object.SetName("object"); + SingleDelegation_P_P_Operation_main_Read_a_b_object.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_P_Operation_main_Read_a_b_object.SetType(SingleDelegation_P_P_Operation_A); + SingleDelegation_P_P_Operation_main_Read_a_b.SetObject(SingleDelegation_P_P_Operation_main_Read_a_b_object); + // OutputPin result + SingleDelegation_P_P_Operation_main_Read_a_b_result.SetName("result"); + SingleDelegation_P_P_Operation_main_Read_a_b_result.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_P_Operation_main_Read_a_b_result.SetType(SingleDelegation_P_P_Operation_B); + SingleDelegation_P_P_Operation_main_Read_a_b.SetResult(SingleDelegation_P_P_Operation_main_Read_a_b_result); + SingleDelegation_P_P_Operation_main.AddNode(SingleDelegation_P_P_Operation_main_Read_a_b); + // CallBehaviorAction Call testP + SingleDelegation_P_P_Operation_main_Call_testP.SetName("Call testP"); + SingleDelegation_P_P_Operation_main_Call_testP.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_P_Operation_main_Call_testP.SetBehavior(SingleDelegation_P_P_Operation_main_testP); + // InputPin p + SingleDelegation_P_P_Operation_main_Call_testP_p.SetName("p"); + SingleDelegation_P_P_Operation_main_Call_testP_p.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_P_Operation_main_Call_testP_p.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + SingleDelegation_P_P_Operation_main_Call_testP.AddArgument(SingleDelegation_P_P_Operation_main_Call_testP_p); + SingleDelegation_P_P_Operation_main.AddNode(SingleDelegation_P_P_Operation_main_Call_testP); + // CallBehaviorAction WriteLine(InitialMessage) + SingleDelegation_P_P_Operation_main_WriteLine_InitialMessage.SetName("WriteLine(InitialMessage)"); + SingleDelegation_P_P_Operation_main_WriteLine_InitialMessage.SetVisibility(VisibilityKind.public_); + + // OutputPin errorStatus + SingleDelegation_P_P_Operation_main_WriteLine_InitialMessage_errorStatus.SetName("errorStatus"); + SingleDelegation_P_P_Operation_main_WriteLine_InitialMessage_errorStatus.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_P_Operation_main_WriteLine_InitialMessage_errorStatus.SetType(FoundationalModelLibraryModel.Instance().FoundationalModelLibrary_Common_Status); + SingleDelegation_P_P_Operation_main_WriteLine_InitialMessage_errorStatus.SetLower(0); + SingleDelegation_P_P_Operation_main_WriteLine_InitialMessage.AddResult(SingleDelegation_P_P_Operation_main_WriteLine_InitialMessage_errorStatus); + SingleDelegation_P_P_Operation_main_WriteLine_InitialMessage.SetBehavior(FoundationalModelLibraryModel.Instance().FoundationalModelLibrary_BasicInputOutput_WriteLine); + // InputPin value + SingleDelegation_P_P_Operation_main_WriteLine_InitialMessage_value.SetName("value"); + SingleDelegation_P_P_Operation_main_WriteLine_InitialMessage_value.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_P_Operation_main_WriteLine_InitialMessage_value.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_String); + SingleDelegation_P_P_Operation_main_WriteLine_InitialMessage.AddArgument(SingleDelegation_P_P_Operation_main_WriteLine_InitialMessage_value); + SingleDelegation_P_P_Operation_main.AddNode(SingleDelegation_P_P_Operation_main_WriteLine_InitialMessage); + // ValueSpecificationAction Value(4) + SingleDelegation_P_P_Operation_main_Value_4.SetName("Value(4)"); + SingleDelegation_P_P_Operation_main_Value_4.SetVisibility(VisibilityKind.public_); + // LiteralInteger LiteralInteger71 + SingleDelegation_P_P_Operation_main_Value_4_LiteralInteger71.SetName("LiteralInteger71"); + SingleDelegation_P_P_Operation_main_Value_4_LiteralInteger71.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_P_Operation_main_Value_4_LiteralInteger71.SetValue(4); + SingleDelegation_P_P_Operation_main_Value_4.SetValue(SingleDelegation_P_P_Operation_main_Value_4_LiteralInteger71); + // OutputPin result + SingleDelegation_P_P_Operation_main_Value_4_result.SetName("result"); + SingleDelegation_P_P_Operation_main_Value_4_result.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_P_Operation_main_Value_4_result.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + SingleDelegation_P_P_Operation_main_Value_4.SetResult(SingleDelegation_P_P_Operation_main_Value_4_result); + SingleDelegation_P_P_Operation_main.AddNode(SingleDelegation_P_P_Operation_main_Value_4); + // CallOperationAction Call a.q.setP + SingleDelegation_P_P_Operation_main_Call_a_q_setP.SetName("Call a.q.setP"); + SingleDelegation_P_P_Operation_main_Call_a_q_setP.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_P_Operation_main_Call_a_q_setP.SetOperation(SingleDelegation_P_P_Operation_I_setP_Integer); + // InputPin target + SingleDelegation_P_P_Operation_main_Call_a_q_setP_target.SetName("target"); + SingleDelegation_P_P_Operation_main_Call_a_q_setP_target.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_P_Operation_main_Call_a_q_setP.SetTarget(SingleDelegation_P_P_Operation_main_Call_a_q_setP_target); + // InputPin v + SingleDelegation_P_P_Operation_main_Call_a_q_setP_v.SetName("v"); + SingleDelegation_P_P_Operation_main_Call_a_q_setP_v.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_P_Operation_main_Call_a_q_setP_v.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + SingleDelegation_P_P_Operation_main_Call_a_q_setP.AddArgument(SingleDelegation_P_P_Operation_main_Call_a_q_setP_v); + SingleDelegation_P_P_Operation_main.AddNode(SingleDelegation_P_P_Operation_main_Call_a_q_setP); + // ValueSpecificationAction EndMessage + SingleDelegation_P_P_Operation_main_EndMessage.SetName("EndMessage"); + SingleDelegation_P_P_Operation_main_EndMessage.SetVisibility(VisibilityKind.public_); + // LiteralString LiteralString92 + SingleDelegation_P_P_Operation_main_EndMessage_LiteralString92.SetName("LiteralString92"); + SingleDelegation_P_P_Operation_main_EndMessage_LiteralString92.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_P_Operation_main_EndMessage_LiteralString92.SetValue("-- End of test case --"); + SingleDelegation_P_P_Operation_main_EndMessage.SetValue(SingleDelegation_P_P_Operation_main_EndMessage_LiteralString92); + // OutputPin result + SingleDelegation_P_P_Operation_main_EndMessage_result.SetName("result"); + SingleDelegation_P_P_Operation_main_EndMessage_result.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_P_Operation_main_EndMessage_result.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_String); + SingleDelegation_P_P_Operation_main_EndMessage.SetResult(SingleDelegation_P_P_Operation_main_EndMessage_result); + SingleDelegation_P_P_Operation_main.AddNode(SingleDelegation_P_P_Operation_main_EndMessage); + // CreateObjectAction Create A + SingleDelegation_P_P_Operation_main_Create_A.SetName("Create A"); + SingleDelegation_P_P_Operation_main_Create_A.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_P_Operation_main_Create_A.SetClassifier(SingleDelegation_P_P_Operation_A); + // OutputPin result + SingleDelegation_P_P_Operation_main_Create_A_result.SetName("result"); + SingleDelegation_P_P_Operation_main_Create_A_result.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_P_Operation_main_Create_A_result.SetType(SingleDelegation_P_P_Operation_A); + SingleDelegation_P_P_Operation_main_Create_A.SetResult(SingleDelegation_P_P_Operation_main_Create_A_result); + SingleDelegation_P_P_Operation_main.AddNode(SingleDelegation_P_P_Operation_main_Create_A); + // ReadStructuralFeatureAction Read a.q + SingleDelegation_P_P_Operation_main_Read_a_q.SetName("Read a.q"); + SingleDelegation_P_P_Operation_main_Read_a_q.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_P_Operation_main_Read_a_q.SetStructuralFeature(SingleDelegation_P_P_Operation_A_q); + // InputPin object + SingleDelegation_P_P_Operation_main_Read_a_q_object.SetName("object"); + SingleDelegation_P_P_Operation_main_Read_a_q_object.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_P_Operation_main_Read_a_q_object.SetType(SingleDelegation_P_P_Operation_A); + SingleDelegation_P_P_Operation_main_Read_a_q.SetObject(SingleDelegation_P_P_Operation_main_Read_a_q_object); + // OutputPin result + SingleDelegation_P_P_Operation_main_Read_a_q_result.SetName("result"); + SingleDelegation_P_P_Operation_main_Read_a_q_result.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_P_Operation_main_Read_a_q_result.SetType(SingleDelegation_P_P_Operation_IImpl); + SingleDelegation_P_P_Operation_main_Read_a_q.SetResult(SingleDelegation_P_P_Operation_main_Read_a_q_result); + SingleDelegation_P_P_Operation_main.AddNode(SingleDelegation_P_P_Operation_main_Read_a_q); + // ValueSpecificationAction InitialMessage + SingleDelegation_P_P_Operation_main_InitialMessage.SetName("InitialMessage"); + SingleDelegation_P_P_Operation_main_InitialMessage.SetVisibility(VisibilityKind.public_); + // LiteralString LiteralString44 + SingleDelegation_P_P_Operation_main_InitialMessage_LiteralString44.SetName("LiteralString44"); + SingleDelegation_P_P_Operation_main_InitialMessage_LiteralString44.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_P_Operation_main_InitialMessage_LiteralString44.SetValue("-- Running test case: Single delegation connector - Operation delegated from port to part --"); + SingleDelegation_P_P_Operation_main_InitialMessage.SetValue(SingleDelegation_P_P_Operation_main_InitialMessage_LiteralString44); + // OutputPin result + SingleDelegation_P_P_Operation_main_InitialMessage_result.SetName("result"); + SingleDelegation_P_P_Operation_main_InitialMessage_result.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_P_Operation_main_InitialMessage_result.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_String); + SingleDelegation_P_P_Operation_main_InitialMessage.SetResult(SingleDelegation_P_P_Operation_main_InitialMessage_result); + SingleDelegation_P_P_Operation_main.AddNode(SingleDelegation_P_P_Operation_main_InitialMessage); + // ForkNode Fork A + SingleDelegation_P_P_Operation_main_Fork_A.SetName("Fork A"); + SingleDelegation_P_P_Operation_main_Fork_A.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_P_Operation_main.AddNode(SingleDelegation_P_P_Operation_main_Fork_A); + // ObjectFlow ObjectFlow45 from result to object + SingleDelegation_P_P_Operation_main_ObjectFlow45.SetName("ObjectFlow45"); + SingleDelegation_P_P_Operation_main_ObjectFlow45.SetVisibility(VisibilityKind.public_); + + SingleDelegation_P_P_Operation_main_ObjectFlow45.SetSource(SingleDelegation_P_P_Operation_main_Read_a_b_result); + SingleDelegation_P_P_Operation_main_ObjectFlow45.SetTarget(SingleDelegation_P_P_Operation_main_Read_a_b_p_object); + // LiteralBoolean LiteralBoolean47 + SingleDelegation_P_P_Operation_main_ObjectFlow45_LiteralBoolean47.SetName("LiteralBoolean47"); + SingleDelegation_P_P_Operation_main_ObjectFlow45_LiteralBoolean47.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_P_Operation_main_ObjectFlow45_LiteralBoolean47.SetValue(true); + SingleDelegation_P_P_Operation_main_ObjectFlow45.SetGuard(SingleDelegation_P_P_Operation_main_ObjectFlow45_LiteralBoolean47); + SingleDelegation_P_P_Operation_main.AddEdge(SingleDelegation_P_P_Operation_main_ObjectFlow45); + // ObjectFlow ObjectFlow63 from result to Fork A + SingleDelegation_P_P_Operation_main_ObjectFlow63.SetName("ObjectFlow63"); + SingleDelegation_P_P_Operation_main_ObjectFlow63.SetVisibility(VisibilityKind.public_); + + SingleDelegation_P_P_Operation_main_ObjectFlow63.SetSource(SingleDelegation_P_P_Operation_main_A__result); + SingleDelegation_P_P_Operation_main_ObjectFlow63.SetTarget(SingleDelegation_P_P_Operation_main_Fork_A); + // LiteralBoolean LiteralBoolean64 + SingleDelegation_P_P_Operation_main_ObjectFlow63_LiteralBoolean64.SetName("LiteralBoolean64"); + SingleDelegation_P_P_Operation_main_ObjectFlow63_LiteralBoolean64.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_P_Operation_main_ObjectFlow63_LiteralBoolean64.SetValue(true); + SingleDelegation_P_P_Operation_main_ObjectFlow63.SetGuard(SingleDelegation_P_P_Operation_main_ObjectFlow63_LiteralBoolean64); + SingleDelegation_P_P_Operation_main.AddEdge(SingleDelegation_P_P_Operation_main_ObjectFlow63); + // ControlFlow ControlFlow21 from Call testP to WriteLine(EndMessage) + SingleDelegation_P_P_Operation_main_ControlFlow21.SetName("ControlFlow21"); + SingleDelegation_P_P_Operation_main_ControlFlow21.SetVisibility(VisibilityKind.public_); + + SingleDelegation_P_P_Operation_main_ControlFlow21.SetSource(SingleDelegation_P_P_Operation_main_Call_testP); + SingleDelegation_P_P_Operation_main_ControlFlow21.SetTarget(SingleDelegation_P_P_Operation_main_WriteLine_EndMessage); + SingleDelegation_P_P_Operation_main.AddEdge(SingleDelegation_P_P_Operation_main_ControlFlow21); + // ObjectFlow ObjectFlow22 from result to p + SingleDelegation_P_P_Operation_main_ObjectFlow22.SetName("ObjectFlow22"); + SingleDelegation_P_P_Operation_main_ObjectFlow22.SetVisibility(VisibilityKind.public_); + + SingleDelegation_P_P_Operation_main_ObjectFlow22.SetSource(SingleDelegation_P_P_Operation_main_Read_a_b_p_result); + SingleDelegation_P_P_Operation_main_ObjectFlow22.SetTarget(SingleDelegation_P_P_Operation_main_Call_testP_p); + // LiteralBoolean LiteralBoolean23 + SingleDelegation_P_P_Operation_main_ObjectFlow22_LiteralBoolean23.SetName("LiteralBoolean23"); + SingleDelegation_P_P_Operation_main_ObjectFlow22_LiteralBoolean23.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_P_Operation_main_ObjectFlow22_LiteralBoolean23.SetValue(true); + SingleDelegation_P_P_Operation_main_ObjectFlow22.SetGuard(SingleDelegation_P_P_Operation_main_ObjectFlow22_LiteralBoolean23); + SingleDelegation_P_P_Operation_main.AddEdge(SingleDelegation_P_P_Operation_main_ObjectFlow22); + // ObjectFlow ObjectFlow66 from Fork A to object + SingleDelegation_P_P_Operation_main_ObjectFlow66.SetName("ObjectFlow66"); + SingleDelegation_P_P_Operation_main_ObjectFlow66.SetVisibility(VisibilityKind.public_); + + SingleDelegation_P_P_Operation_main_ObjectFlow66.SetSource(SingleDelegation_P_P_Operation_main_Fork_A); + SingleDelegation_P_P_Operation_main_ObjectFlow66.SetTarget(SingleDelegation_P_P_Operation_main_Read_a_b_object); + // LiteralBoolean LiteralBoolean67 + SingleDelegation_P_P_Operation_main_ObjectFlow66_LiteralBoolean67.SetName("LiteralBoolean67"); + SingleDelegation_P_P_Operation_main_ObjectFlow66_LiteralBoolean67.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_P_Operation_main_ObjectFlow66_LiteralBoolean67.SetValue(true); + SingleDelegation_P_P_Operation_main_ObjectFlow66.SetGuard(SingleDelegation_P_P_Operation_main_ObjectFlow66_LiteralBoolean67); + SingleDelegation_P_P_Operation_main.AddEdge(SingleDelegation_P_P_Operation_main_ObjectFlow66); + // ObjectFlow ObjectFlow72 from Fork A to object + SingleDelegation_P_P_Operation_main_ObjectFlow72.SetName("ObjectFlow72"); + SingleDelegation_P_P_Operation_main_ObjectFlow72.SetVisibility(VisibilityKind.public_); + + SingleDelegation_P_P_Operation_main_ObjectFlow72.SetSource(SingleDelegation_P_P_Operation_main_Fork_A); + SingleDelegation_P_P_Operation_main_ObjectFlow72.SetTarget(SingleDelegation_P_P_Operation_main_Read_a_q_object); + // LiteralBoolean LiteralBoolean74 + SingleDelegation_P_P_Operation_main_ObjectFlow72_LiteralBoolean74.SetName("LiteralBoolean74"); + SingleDelegation_P_P_Operation_main_ObjectFlow72_LiteralBoolean74.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_P_Operation_main_ObjectFlow72_LiteralBoolean74.SetValue(true); + SingleDelegation_P_P_Operation_main_ObjectFlow72.SetGuard(SingleDelegation_P_P_Operation_main_ObjectFlow72_LiteralBoolean74); + SingleDelegation_P_P_Operation_main.AddEdge(SingleDelegation_P_P_Operation_main_ObjectFlow72); + // ObjectFlow ObjectFlow75 from result to v + SingleDelegation_P_P_Operation_main_ObjectFlow75.SetName("ObjectFlow75"); + SingleDelegation_P_P_Operation_main_ObjectFlow75.SetVisibility(VisibilityKind.public_); + + SingleDelegation_P_P_Operation_main_ObjectFlow75.SetSource(SingleDelegation_P_P_Operation_main_Value_4_result); + SingleDelegation_P_P_Operation_main_ObjectFlow75.SetTarget(SingleDelegation_P_P_Operation_main_Call_a_q_setP_v); + // LiteralBoolean LiteralBoolean77 + SingleDelegation_P_P_Operation_main_ObjectFlow75_LiteralBoolean77.SetName("LiteralBoolean77"); + SingleDelegation_P_P_Operation_main_ObjectFlow75_LiteralBoolean77.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_P_Operation_main_ObjectFlow75_LiteralBoolean77.SetValue(true); + SingleDelegation_P_P_Operation_main_ObjectFlow75.SetGuard(SingleDelegation_P_P_Operation_main_ObjectFlow75_LiteralBoolean77); + SingleDelegation_P_P_Operation_main.AddEdge(SingleDelegation_P_P_Operation_main_ObjectFlow75); + // ObjectFlow ObjectFlow78 from result to target + SingleDelegation_P_P_Operation_main_ObjectFlow78.SetName("ObjectFlow78"); + SingleDelegation_P_P_Operation_main_ObjectFlow78.SetVisibility(VisibilityKind.public_); + + SingleDelegation_P_P_Operation_main_ObjectFlow78.SetSource(SingleDelegation_P_P_Operation_main_Create_A_result); + SingleDelegation_P_P_Operation_main_ObjectFlow78.SetTarget(SingleDelegation_P_P_Operation_main_A__target); + // LiteralBoolean LiteralBoolean80 + SingleDelegation_P_P_Operation_main_ObjectFlow78_LiteralBoolean80.SetName("LiteralBoolean80"); + SingleDelegation_P_P_Operation_main_ObjectFlow78_LiteralBoolean80.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_P_Operation_main_ObjectFlow78_LiteralBoolean80.SetValue(true); + SingleDelegation_P_P_Operation_main_ObjectFlow78.SetGuard(SingleDelegation_P_P_Operation_main_ObjectFlow78_LiteralBoolean80); + SingleDelegation_P_P_Operation_main.AddEdge(SingleDelegation_P_P_Operation_main_ObjectFlow78); + // ControlFlow ControlFlow81 from Call a.q.setP to Read a.b + SingleDelegation_P_P_Operation_main_ControlFlow81.SetName("ControlFlow81"); + SingleDelegation_P_P_Operation_main_ControlFlow81.SetVisibility(VisibilityKind.public_); + + SingleDelegation_P_P_Operation_main_ControlFlow81.SetSource(SingleDelegation_P_P_Operation_main_Call_a_q_setP); + SingleDelegation_P_P_Operation_main_ControlFlow81.SetTarget(SingleDelegation_P_P_Operation_main_Read_a_b); + SingleDelegation_P_P_Operation_main.AddEdge(SingleDelegation_P_P_Operation_main_ControlFlow81); + // ObjectFlow ObjectFlow82 from result to value + SingleDelegation_P_P_Operation_main_ObjectFlow82.SetName("ObjectFlow82"); + SingleDelegation_P_P_Operation_main_ObjectFlow82.SetVisibility(VisibilityKind.public_); + + SingleDelegation_P_P_Operation_main_ObjectFlow82.SetSource(SingleDelegation_P_P_Operation_main_EndMessage_result); + SingleDelegation_P_P_Operation_main_ObjectFlow82.SetTarget(SingleDelegation_P_P_Operation_main_WriteLine_EndMessage_value); + // LiteralBoolean LiteralBoolean84 + SingleDelegation_P_P_Operation_main_ObjectFlow82_LiteralBoolean84.SetName("LiteralBoolean84"); + SingleDelegation_P_P_Operation_main_ObjectFlow82_LiteralBoolean84.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_P_Operation_main_ObjectFlow82_LiteralBoolean84.SetValue(true); + SingleDelegation_P_P_Operation_main_ObjectFlow82.SetGuard(SingleDelegation_P_P_Operation_main_ObjectFlow82_LiteralBoolean84); + SingleDelegation_P_P_Operation_main.AddEdge(SingleDelegation_P_P_Operation_main_ObjectFlow82); + // ObjectFlow ObjectFlow34 from result to value + SingleDelegation_P_P_Operation_main_ObjectFlow34.SetName("ObjectFlow34"); + SingleDelegation_P_P_Operation_main_ObjectFlow34.SetVisibility(VisibilityKind.public_); + + SingleDelegation_P_P_Operation_main_ObjectFlow34.SetSource(SingleDelegation_P_P_Operation_main_InitialMessage_result); + SingleDelegation_P_P_Operation_main_ObjectFlow34.SetTarget(SingleDelegation_P_P_Operation_main_WriteLine_InitialMessage_value); + // LiteralBoolean LiteralBoolean35 + SingleDelegation_P_P_Operation_main_ObjectFlow34_LiteralBoolean35.SetName("LiteralBoolean35"); + SingleDelegation_P_P_Operation_main_ObjectFlow34_LiteralBoolean35.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_P_Operation_main_ObjectFlow34_LiteralBoolean35.SetValue(true); + SingleDelegation_P_P_Operation_main_ObjectFlow34.SetGuard(SingleDelegation_P_P_Operation_main_ObjectFlow34_LiteralBoolean35); + SingleDelegation_P_P_Operation_main.AddEdge(SingleDelegation_P_P_Operation_main_ObjectFlow34); + // ControlFlow ControlFlow37 from WriteLine(InitialMessage) to Create A + SingleDelegation_P_P_Operation_main_ControlFlow37.SetName("ControlFlow37"); + SingleDelegation_P_P_Operation_main_ControlFlow37.SetVisibility(VisibilityKind.public_); + + SingleDelegation_P_P_Operation_main_ControlFlow37.SetSource(SingleDelegation_P_P_Operation_main_WriteLine_InitialMessage); + SingleDelegation_P_P_Operation_main_ControlFlow37.SetTarget(SingleDelegation_P_P_Operation_main_Create_A); + SingleDelegation_P_P_Operation_main.AddEdge(SingleDelegation_P_P_Operation_main_ControlFlow37); + // ObjectFlow ObjectFlow95 from result to target + SingleDelegation_P_P_Operation_main_ObjectFlow95.SetName("ObjectFlow95"); + SingleDelegation_P_P_Operation_main_ObjectFlow95.SetVisibility(VisibilityKind.public_); + + SingleDelegation_P_P_Operation_main_ObjectFlow95.SetSource(SingleDelegation_P_P_Operation_main_Read_a_q_result); + SingleDelegation_P_P_Operation_main_ObjectFlow95.SetTarget(SingleDelegation_P_P_Operation_main_Call_a_q_setP_target); + // LiteralBoolean LiteralBoolean96 + SingleDelegation_P_P_Operation_main_ObjectFlow95_LiteralBoolean96.SetName("LiteralBoolean96"); + SingleDelegation_P_P_Operation_main_ObjectFlow95_LiteralBoolean96.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_P_Operation_main_ObjectFlow95_LiteralBoolean96.SetValue(true); + SingleDelegation_P_P_Operation_main_ObjectFlow95.SetGuard(SingleDelegation_P_P_Operation_main_ObjectFlow95_LiteralBoolean96); + SingleDelegation_P_P_Operation_main.AddEdge(SingleDelegation_P_P_Operation_main_ObjectFlow95); + SingleDelegation_P_P_Operation.AddPackagedElement(SingleDelegation_P_P_Operation_main); + } + + /* Start of user code : User-defined members + * This section may be used for user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } // SingleDelegation_P_P_OperationModel +} diff --git a/fUML-CSharp/tests/pscs-Tests/02_Communication/05_SingleDelegation_P_P_Operation/src/testPExecution.cs b/fUML-CSharp/tests/pscs-Tests/02_Communication/05_SingleDelegation_P_P_Operation/src/testPExecution.cs new file mode 100644 index 0000000..0661f4f --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/02_Communication/05_SingleDelegation_P_P_Operation/src/testPExecution.cs @@ -0,0 +1,78 @@ +/* + * testPExecution.cs + * + * Auto-generated file + */ + +using fuml; +using fuml.semantics.commonbehavior; +using fuml.semantics.values; +using fuml.semantics.simpleclassifiers; + +/* Start of user code : User-defined includes and forward declarations + * This section may be used for includes and forward declarations. + * It will not be overwritten by future generation processes. + */ + +/* + * End of user code + */ + +namespace SingleDelegation_P_P_Operation +{ + public class testPExecution : OpaqueBehaviorExecution + { + public testPExecution() + { + types.Add(SingleDelegation_P_P_OperationModel.Instance().SingleDelegation_P_P_Operation_main_testP); + /* Start of user code : Additional opaque behavior execution initializations + * This section may be used to do any additional opaque behavior execution initialization, + * for example initializing user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } + + public override void DoBody(List inputParameters, List outputParameters) + { + Console.WriteLine("Asserting a.b.p == 4"); + + // Test parameter p + int p = ((IntegerValue)inputParameters.ElementAt(0).values.ElementAt(0)).value; + Debug.Println("[doBody] argument p = " + p); + + Console.WriteLine("a.b.p == " + p); + Console.Write("Operation call delegated: "); + + if(p == 4) + { + Console.ForegroundColor = ConsoleColor.Green; + Console.WriteLine("Assertion successful."); + } + else + { + Console.ForegroundColor = ConsoleColor.Red; + Console.WriteLine("Assertion failed!"); + } + + Console.ResetColor(); + } + + protected override Value New_() + { + return new testPExecution(); + } + + /* Start of user code : User-defined members + * This section may be used for user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } // testPExecution +} diff --git a/fUML-CSharp/tests/pscs-Tests/02_Communication/06_SingleDelegation_P_P_Signal/.gitignore b/fUML-CSharp/tests/pscs-Tests/02_Communication/06_SingleDelegation_P_P_Signal/.gitignore new file mode 100644 index 0000000..1736844 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/02_Communication/06_SingleDelegation_P_P_Signal/.gitignore @@ -0,0 +1,3 @@ +/.vs/ +/bin/ +/obj/ diff --git a/fUML-CSharp/tests/pscs-Tests/02_Communication/06_SingleDelegation_P_P_Signal/SingleDelegation_P_P_Signal.csproj b/fUML-CSharp/tests/pscs-Tests/02_Communication/06_SingleDelegation_P_P_Signal/SingleDelegation_P_P_Signal.csproj new file mode 100644 index 0000000..347d0cc --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/02_Communication/06_SingleDelegation_P_P_Signal/SingleDelegation_P_P_Signal.csproj @@ -0,0 +1,50 @@ + + + + Exe + net6.0 + enable + enable + + + + SingleDelegation_P_P_Signal.Debug + + + SingleDelegation_P_P_Signal.Release + + + + + ..\..\..\..\uml\bin\Debug\net6.0\uml.Debug.dll + + + + + ..\..\..\..\uml\bin\Release\net6.0\uml.Release.dll + + + + + + ..\..\..\..\fuml\bin\Debug\net6.0\fuml.Debug.dll + + + + + ..\..\..\..\fuml\bin\Release\net6.0\fuml.Release.dll + + + + + + ..\..\..\..\pscs\bin\Debug\net6.0\pscs.Debug.dll + + + + + ..\..\..\..\pscs\bin\Release\net6.0\pscs.Release.dll + + + + diff --git a/fUML-CSharp/tests/pscs-Tests/02_Communication/06_SingleDelegation_P_P_Signal/SingleDelegation_P_P_Signal.sln b/fUML-CSharp/tests/pscs-Tests/02_Communication/06_SingleDelegation_P_P_Signal/SingleDelegation_P_P_Signal.sln new file mode 100644 index 0000000..7162a73 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/02_Communication/06_SingleDelegation_P_P_Signal/SingleDelegation_P_P_Signal.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.32112.339 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SingleDelegation_P_P_Signal", "SingleDelegation_P_P_Signal.csproj", "{3C7A9FFD-206F-4D2C-8989-CCD721A6021F}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {3C7A9FFD-206F-4D2C-8989-CCD721A6021F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {3C7A9FFD-206F-4D2C-8989-CCD721A6021F}.Debug|Any CPU.Build.0 = Debug|Any CPU + {3C7A9FFD-206F-4D2C-8989-CCD721A6021F}.Release|Any CPU.ActiveCfg = Release|Any CPU + {3C7A9FFD-206F-4D2C-8989-CCD721A6021F}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {80E7965B-F591-4610-A1E4-9341F8266220} + EndGlobalSection +EndGlobal diff --git a/fUML-CSharp/tests/pscs-Tests/02_Communication/06_SingleDelegation_P_P_Signal/model/SingleDelegation_P_P_Signal.di b/fUML-CSharp/tests/pscs-Tests/02_Communication/06_SingleDelegation_P_P_Signal/model/SingleDelegation_P_P_Signal.di new file mode 100644 index 0000000..8c549ee --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/02_Communication/06_SingleDelegation_P_P_Signal/model/SingleDelegation_P_P_Signal.di @@ -0,0 +1,2 @@ + + diff --git a/fUML-CSharp/tests/pscs-Tests/02_Communication/06_SingleDelegation_P_P_Signal/model/SingleDelegation_P_P_Signal.notation b/fUML-CSharp/tests/pscs-Tests/02_Communication/06_SingleDelegation_P_P_Signal/model/SingleDelegation_P_P_Signal.notation new file mode 100644 index 0000000..b47c7d9 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/02_Communication/06_SingleDelegation_P_P_Signal/model/SingleDelegation_P_P_Signal.notation @@ -0,0 +1,1869 @@ + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/fUML-CSharp/tests/pscs-Tests/02_Communication/06_SingleDelegation_P_P_Signal/model/SingleDelegation_P_P_Signal.uml b/fUML-CSharp/tests/pscs-Tests/02_Communication/06_SingleDelegation_P_P_Signal/model/SingleDelegation_P_P_Signal.uml new file mode 100644 index 0000000..aa47e1d --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/02_Communication/06_SingleDelegation_P_P_Signal/model/SingleDelegation_P_P_Signal.uml @@ -0,0 +1,469 @@ + + + + + This test case addresses forwarding of a signal through a single delegation link, corresponding to a single connector. + + + Passing: true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + C# + Using + Console.WriteLine("Asserting a.b.p == 4"); + + // Test parameter p + int p = ((IntegerValue)inputParameters.ElementAt(0).values.ElementAt(0)).value; + Debug.Println("[doBody] argument p = " + p); + + Console.WriteLine("a.b.p == " + p); + Console.Write("Signal delegated to classifier behavior: "); + + if(p == 4) + { + Console.ForegroundColor = ConsoleColor.Green; + Console.WriteLine("Assertion successful."); + } + else + { + Console.ForegroundColor = ConsoleColor.Red; + Console.WriteLine("Assertion failed!"); + } + + Console.ResetColor(); + using fuml.semantics.simpleclassifiers; + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/fUML-CSharp/tests/pscs-Tests/02_Communication/06_SingleDelegation_P_P_Signal/src/SingleDelegation_P_P_Signal.cs b/fUML-CSharp/tests/pscs-Tests/02_Communication/06_SingleDelegation_P_P_Signal/src/SingleDelegation_P_P_Signal.cs new file mode 100644 index 0000000..c5ac436 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/02_Communication/06_SingleDelegation_P_P_Signal/src/SingleDelegation_P_P_Signal.cs @@ -0,0 +1,31 @@ +namespace SingleDelegation_P_P_Signal +{ + internal class SingleDelegation_P_P_Signal + { + static void PrintUsage() + { + Console.WriteLine( + "=============================================================================================\n" + + "USAGE: [ <...>]\n" + + "=============================================================================================\n" + ); + } + + static int Main(string[] args) + { + if(args.Length == 0) + { + Console.WriteLine("[ERROR] Must declare at least one behavior name.\n"); + PrintUsage(); + return -1; + } + + foreach (string arg in args) + { + SingleDelegation_P_P_SignalEnvironment.Instance().Execute(arg); + } + + return 0; + } + } +} diff --git a/fUML-CSharp/tests/pscs-Tests/02_Communication/06_SingleDelegation_P_P_Signal/src/SingleDelegation_P_P_SignalEnvironment.cs b/fUML-CSharp/tests/pscs-Tests/02_Communication/06_SingleDelegation_P_P_Signal/src/SingleDelegation_P_P_SignalEnvironment.cs new file mode 100644 index 0000000..b23bbc5 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/02_Communication/06_SingleDelegation_P_P_Signal/src/SingleDelegation_P_P_SignalEnvironment.cs @@ -0,0 +1,93 @@ +/* + * SingleDelegation_P_P_SignalEnvironment.cs + * + * Auto-generated file + */ + +/* Start of user code : User-defined using directives + * This section may be used for using directives. + * It will not be overwritten by future generation processes. + */ + +/* + * End of user code + */ + +namespace SingleDelegation_P_P_Signal +{ + public class SingleDelegation_P_P_SignalEnvironment : pscs.environment.Environment + { + private static SingleDelegation_P_P_SignalEnvironment? instance; + + public static SingleDelegation_P_P_SignalEnvironment Instance() + { + if(instance is null) + { + instance = new(); + instance.inMemoryModel = SingleDelegation_P_P_SignalModel.Instance(); + } + + return instance; + } + + public SingleDelegation_P_P_SignalEnvironment() + { + /* + * Create custom opaque behavior execution instances and add them to the execution environment. + */ + AddPrimitiveBehaviorPrototype(new testPExecution()); + + /* Start of user code : Additional environment initializations + * This section may be used to do any additional environment initialization, + * for example initializing user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } + + public override void Execute(string behaviorName) + { + /* Start of user code : Context and inputs initializations + * This section may be used to initialize the execution context + * as well as input parameter values if required. + * It will not be overwritten by future generation processes. + */ + + //context = ...; + //inputs = ...; + + /* + * End of user code + */ + + /* + * Start execution via base class call + */ + base.Execute(behaviorName); + + /* Start of user code : Outputs evaluation + * This section may be used to evaluate output parameter values if required. + * It will not be overwritten by future generation processes. + */ + + //List theOutputs = outputs; + //... + + /* + * End of user code + */ + } + + /* Start of user code : User-defined members + * This section may be used for user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } // SingleDelegation_P_P_SignalEnvironment +} diff --git a/fUML-CSharp/tests/pscs-Tests/02_Communication/06_SingleDelegation_P_P_Signal/src/SingleDelegation_P_P_SignalModel.cs b/fUML-CSharp/tests/pscs-Tests/02_Communication/06_SingleDelegation_P_P_Signal/src/SingleDelegation_P_P_SignalModel.cs new file mode 100644 index 0000000..4fb4f9f --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/02_Communication/06_SingleDelegation_P_P_Signal/src/SingleDelegation_P_P_SignalModel.cs @@ -0,0 +1,1636 @@ +/* + * SingleDelegation_P_P_SignalModel.cs + * + * Auto-generated file + */ + +using uml.actions; +using uml.packages; +using uml.structuredclassifiers; +using fuml.primitivetypes; +using uml.classification; +using fuml.library; +using uml.commonbehavior; +using uml.simpleclassifiers; +using uml.commonstructure; +using uml.values; +using uml.activities; +using uml.environment; + + +/* Start of user code : User-defined includes and forward declarations + * This section may be used for includes and forward declarations. + * It will not be overwritten by future generation processes. + */ + +/* + * End of user code + */ + +namespace SingleDelegation_P_P_Signal +{ + public class SingleDelegation_P_P_SignalModel : InMemoryModel + { + private static SingleDelegation_P_P_SignalModel? instance; + + /* + * Model SingleDelegation_P_P_Signal + */ + public Package SingleDelegation_P_P_Signal = new(); + public Signal SingleDelegation_P_P_Signal_S = new(); + public Property SingleDelegation_P_P_Signal_S_v = new(); + public Property SingleDelegation_P_P_Signal_S_t = new(); + public SignalEvent SingleDelegation_P_P_Signal_SignalEventContinue = new(); + public Association SingleDelegation_P_P_Signal_R = new(); + public Property SingleDelegation_P_P_Signal_R_y = new(); + public Property SingleDelegation_P_P_Signal_R_x = new(); + public Signal SingleDelegation_P_P_Signal_Continue = new(); + public Class_ SingleDelegation_P_P_Signal_B = new(); + public Operation SingleDelegation_P_P_Signal_B_B_B = new(); + public Parameter SingleDelegation_P_P_Signal_B_B_B_result = new(); + public Activity SingleDelegation_P_P_Signal_B_BClassifierBehavior = new(); + public ObjectFlow SingleDelegation_P_P_Signal_B_BClassifierBehavior_ObjectFlow0 = new(); + public LiteralBoolean SingleDelegation_P_P_Signal_B_BClassifierBehavior_ObjectFlow0_LiteralBoolean1 = new(); + public LiteralInteger SingleDelegation_P_P_Signal_B_BClassifierBehavior_ObjectFlow0_LiteralInteger2 = new(); + public ControlFlow SingleDelegation_P_P_Signal_B_BClassifierBehavior_ControlFlow3 = new(); + public ReadSelfAction SingleDelegation_P_P_Signal_B_BClassifierBehavior_this = new(); + public OutputPin SingleDelegation_P_P_Signal_B_BClassifierBehavior_this_result = new(); + public LiteralInteger SingleDelegation_P_P_Signal_B_BClassifierBehavior_this_result_LiteralInteger4 = new(); + public LiteralUnlimitedNatural SingleDelegation_P_P_Signal_B_BClassifierBehavior_this_result_LiteralUnlimitedNatural5 = new(); + public ObjectFlow SingleDelegation_P_P_Signal_B_BClassifierBehavior_ObjectFlow6 = new(); + public LiteralBoolean SingleDelegation_P_P_Signal_B_BClassifierBehavior_ObjectFlow6_LiteralBoolean7 = new(); + public LiteralInteger SingleDelegation_P_P_Signal_B_BClassifierBehavior_ObjectFlow6_LiteralInteger8 = new(); + public ControlFlow SingleDelegation_P_P_Signal_B_BClassifierBehavior_ControlFlow9 = new(); + public AcceptEventAction SingleDelegation_P_P_Signal_B_BClassifierBehavior_Accept_S = new(); + public OutputPin SingleDelegation_P_P_Signal_B_BClassifierBehavior_Accept_S_result = new(); + public LiteralInteger SingleDelegation_P_P_Signal_B_BClassifierBehavior_Accept_S_result_LiteralInteger10 = new(); + public LiteralUnlimitedNatural SingleDelegation_P_P_Signal_B_BClassifierBehavior_Accept_S_result_LiteralUnlimitedNatural11 = new(); + public LiteralInteger SingleDelegation_P_P_Signal_B_BClassifierBehavior_Accept_S_result_LiteralInteger12 = new(); + public Trigger SingleDelegation_P_P_Signal_B_BClassifierBehavior_Accept_S_Trigger13 = new(); + public SendSignalAction SingleDelegation_P_P_Signal_B_BClassifierBehavior_Send_Continue = new(); + public InputPin SingleDelegation_P_P_Signal_B_BClassifierBehavior_Send_Continue_target = new(); + public LiteralUnlimitedNatural SingleDelegation_P_P_Signal_B_BClassifierBehavior_Send_Continue_target_LiteralUnlimitedNatural14 = new(); + public LiteralInteger SingleDelegation_P_P_Signal_B_BClassifierBehavior_Send_Continue_target_LiteralInteger15 = new(); + public ReadStructuralFeatureAction SingleDelegation_P_P_Signal_B_BClassifierBehavior_Read_s_v = new(); + public OutputPin SingleDelegation_P_P_Signal_B_BClassifierBehavior_Read_s_v_result = new(); + public LiteralUnlimitedNatural SingleDelegation_P_P_Signal_B_BClassifierBehavior_Read_s_v_result_LiteralUnlimitedNatural16 = new(); + public LiteralInteger SingleDelegation_P_P_Signal_B_BClassifierBehavior_Read_s_v_result_LiteralInteger17 = new(); + public InputPin SingleDelegation_P_P_Signal_B_BClassifierBehavior_Read_s_v_object = new(); + public LiteralInteger SingleDelegation_P_P_Signal_B_BClassifierBehavior_Read_s_v_object_LiteralInteger18 = new(); + public LiteralUnlimitedNatural SingleDelegation_P_P_Signal_B_BClassifierBehavior_Read_s_v_object_LiteralUnlimitedNatural19 = new(); + public ObjectFlow SingleDelegation_P_P_Signal_B_BClassifierBehavior_ObjectFlow20 = new(); + public LiteralInteger SingleDelegation_P_P_Signal_B_BClassifierBehavior_ObjectFlow20_LiteralInteger21 = new(); + public LiteralBoolean SingleDelegation_P_P_Signal_B_BClassifierBehavior_ObjectFlow20_LiteralBoolean22 = new(); + public ObjectFlow SingleDelegation_P_P_Signal_B_BClassifierBehavior_ObjectFlow23 = new(); + public LiteralBoolean SingleDelegation_P_P_Signal_B_BClassifierBehavior_ObjectFlow23_LiteralBoolean24 = new(); + public LiteralInteger SingleDelegation_P_P_Signal_B_BClassifierBehavior_ObjectFlow23_LiteralInteger25 = new(); + public ObjectFlow SingleDelegation_P_P_Signal_B_BClassifierBehavior_ObjectFlow26 = new(); + public LiteralBoolean SingleDelegation_P_P_Signal_B_BClassifierBehavior_ObjectFlow26_LiteralBoolean27 = new(); + public LiteralInteger SingleDelegation_P_P_Signal_B_BClassifierBehavior_ObjectFlow26_LiteralInteger28 = new(); + public InitialNode SingleDelegation_P_P_Signal_B_BClassifierBehavior_Initial = new(); + public ObjectFlow SingleDelegation_P_P_Signal_B_BClassifierBehavior_ObjectFlow29 = new(); + public LiteralBoolean SingleDelegation_P_P_Signal_B_BClassifierBehavior_ObjectFlow29_LiteralBoolean30 = new(); + public LiteralInteger SingleDelegation_P_P_Signal_B_BClassifierBehavior_ObjectFlow29_LiteralInteger31 = new(); + public AddStructuralFeatureValueAction SingleDelegation_P_P_Signal_B_BClassifierBehavior_Set_this_p = new(); + public InputPin SingleDelegation_P_P_Signal_B_BClassifierBehavior_Set_this_p_object = new(); + public LiteralInteger SingleDelegation_P_P_Signal_B_BClassifierBehavior_Set_this_p_object_LiteralInteger32 = new(); + public LiteralUnlimitedNatural SingleDelegation_P_P_Signal_B_BClassifierBehavior_Set_this_p_object_LiteralUnlimitedNatural33 = new(); + public OutputPin SingleDelegation_P_P_Signal_B_BClassifierBehavior_Set_this_p_result = new(); + public LiteralUnlimitedNatural SingleDelegation_P_P_Signal_B_BClassifierBehavior_Set_this_p_result_LiteralUnlimitedNatural34 = new(); + public LiteralInteger SingleDelegation_P_P_Signal_B_BClassifierBehavior_Set_this_p_result_LiteralInteger35 = new(); + public InputPin SingleDelegation_P_P_Signal_B_BClassifierBehavior_Set_this_p_value = new(); + public LiteralInteger SingleDelegation_P_P_Signal_B_BClassifierBehavior_Set_this_p_value_LiteralInteger36 = new(); + public LiteralUnlimitedNatural SingleDelegation_P_P_Signal_B_BClassifierBehavior_Set_this_p_value_LiteralUnlimitedNatural37 = new(); + public ReadStructuralFeatureAction SingleDelegation_P_P_Signal_B_BClassifierBehavior_Read_s_t = new(); + public InputPin SingleDelegation_P_P_Signal_B_BClassifierBehavior_Read_s_t_object = new(); + public LiteralUnlimitedNatural SingleDelegation_P_P_Signal_B_BClassifierBehavior_Read_s_t_object_LiteralUnlimitedNatural38 = new(); + public LiteralInteger SingleDelegation_P_P_Signal_B_BClassifierBehavior_Read_s_t_object_LiteralInteger39 = new(); + public OutputPin SingleDelegation_P_P_Signal_B_BClassifierBehavior_Read_s_t_result = new(); + public LiteralInteger SingleDelegation_P_P_Signal_B_BClassifierBehavior_Read_s_t_result_LiteralInteger40 = new(); + public LiteralUnlimitedNatural SingleDelegation_P_P_Signal_B_BClassifierBehavior_Read_s_t_result_LiteralUnlimitedNatural41 = new(); + public ForkNode SingleDelegation_P_P_Signal_B_BClassifierBehavior_Fork_S = new(); + public Property SingleDelegation_P_P_Signal_B_p = new(); + public InterfaceRealization SingleDelegation_P_P_Signal_B_IRealization = new(); + public Reception SingleDelegation_P_P_Signal_B_S = new(); + public SignalEvent SingleDelegation_P_P_Signal_SignalEventS = new(); + public Class_ SingleDelegation_P_P_Signal_A = new(); + public Property SingleDelegation_P_P_Signal_A_b = new(); + public Connector SingleDelegation_P_P_Signal_A_r = new(); + public ConnectorEnd SingleDelegation_P_P_Signal_A_r_ConnectorEnd42 = new(); + public ConnectorEnd SingleDelegation_P_P_Signal_A_r_ConnectorEnd43 = new(); + public Operation SingleDelegation_P_P_Signal_A_A_A = new(); + public Parameter SingleDelegation_P_P_Signal_A_A_A_result = new(); + public Port SingleDelegation_P_P_Signal_A_q = new(); + public Signal SingleDelegation_P_P_Signal_Start = new(); + public Class_ SingleDelegation_P_P_Signal_IImpl = new(); + public Reception SingleDelegation_P_P_Signal_IImpl_S = new(); + public InterfaceRealization SingleDelegation_P_P_Signal_IImpl_IRealization = new(); + public Class_ SingleDelegation_P_P_Signal_Tester = new(); + public Activity SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior = new(); + public ReadSelfAction SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_this = new(); + public OutputPin SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_this_result = new(); + public LiteralInteger SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_this_result_LiteralInteger44 = new(); + public LiteralUnlimitedNatural SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_this_result_LiteralUnlimitedNatural45 = new(); + public ObjectFlow SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow46 = new(); + public LiteralInteger SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow46_LiteralInteger47 = new(); + public LiteralBoolean SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow46_LiteralBoolean48 = new(); + public ObjectFlow SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow49 = new(); + public LiteralInteger SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow49_LiteralInteger50 = new(); + public LiteralBoolean SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow49_LiteralBoolean51 = new(); + public ObjectFlow SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow52 = new(); + public LiteralInteger SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow52_LiteralInteger53 = new(); + public LiteralBoolean SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow52_LiteralBoolean54 = new(); + public AcceptEventAction SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Start = new(); + public OutputPin SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Start_result = new(); + public LiteralUnlimitedNatural SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Start_result_LiteralUnlimitedNatural55 = new(); + public LiteralInteger SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Start_result_LiteralInteger56 = new(); + public LiteralInteger SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Start_result_LiteralInteger57 = new(); + public Trigger SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Start_Trigger58 = new(); + public ReadStructuralFeatureAction SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Read_this_a = new(); + public InputPin SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Read_this_a_object = new(); + public LiteralInteger SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Read_this_a_object_LiteralInteger59 = new(); + public LiteralUnlimitedNatural SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Read_this_a_object_LiteralUnlimitedNatural60 = new(); + public OutputPin SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Read_this_a_result = new(); + public LiteralUnlimitedNatural SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Read_this_a_result_LiteralUnlimitedNatural61 = new(); + public LiteralInteger SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Read_this_a_result_LiteralInteger62 = new(); + public ValueSpecificationAction SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Int_4 = new(); + public LiteralInteger SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Int_4_LiteralInteger63 = new(); + public OutputPin SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Int_4_result = new(); + public LiteralUnlimitedNatural SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Int_4_result_LiteralUnlimitedNatural64 = new(); + public LiteralInteger SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Int_4_result_LiteralInteger65 = new(); + public AcceptEventAction SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue = new(); + public Trigger SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_Trigger66 = new(); + public OutputPin SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_result = new(); + public LiteralInteger SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_result_LiteralInteger67 = new(); + public LiteralUnlimitedNatural SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_result_LiteralUnlimitedNatural68 = new(); + public LiteralInteger SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_result_LiteralInteger69 = new(); + public InitialNode SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Initial = new(); + public SendSignalAction SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior__Send_S = new(); + public InputPin SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior__Send_S_t = new(); + public LiteralInteger SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior__Send_S_t_LiteralInteger70 = new(); + public LiteralUnlimitedNatural SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior__Send_S_t_LiteralUnlimitedNatural71 = new(); + public InputPin SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior__Send_S_v = new(); + public LiteralInteger SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior__Send_S_v_LiteralInteger72 = new(); + public LiteralUnlimitedNatural SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior__Send_S_v_LiteralUnlimitedNatural73 = new(); + public InputPin SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior__Send_S_target = new(); + public LiteralInteger SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior__Send_S_target_LiteralInteger74 = new(); + public LiteralUnlimitedNatural SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior__Send_S_target_LiteralUnlimitedNatural75 = new(); + public ObjectFlow SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow76 = new(); + public LiteralInteger SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow76_LiteralInteger77 = new(); + public LiteralBoolean SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow76_LiteralBoolean78 = new(); + public ObjectFlow SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow79 = new(); + public LiteralBoolean SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow79_LiteralBoolean80 = new(); + public LiteralInteger SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow79_LiteralInteger81 = new(); + public ObjectFlow SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow82 = new(); + public LiteralInteger SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow82_LiteralInteger83 = new(); + public LiteralBoolean SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow82_LiteralBoolean84 = new(); + public ObjectFlow SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow85 = new(); + public LiteralBoolean SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow85_LiteralBoolean86 = new(); + public LiteralInteger SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow85_LiteralInteger87 = new(); + public ControlFlow SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_ControlFlow88 = new(); + public ControlFlow SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_ControlFlow89 = new(); + public ReadStructuralFeatureAction SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Read_a_q = new(); + public OutputPin SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Read_a_q_result = new(); + public LiteralInteger SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Read_a_q_result_LiteralInteger90 = new(); + public LiteralUnlimitedNatural SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Read_a_q_result_LiteralUnlimitedNatural91 = new(); + public InputPin SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Read_a_q_object = new(); + public LiteralUnlimitedNatural SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Read_a_q_object_LiteralUnlimitedNatural92 = new(); + public LiteralInteger SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Read_a_q_object_LiteralInteger93 = new(); + public ControlFlow SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_ControlFlow94 = new(); + public ForkNode SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Fork_this = new(); + public CallOperationAction SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Call_test_ = new(); + public InputPin SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Call_test__target = new(); + public LiteralUnlimitedNatural SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Call_test__target_LiteralUnlimitedNatural95 = new(); + public LiteralInteger SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Call_test__target_LiteralInteger96 = new(); + public Operation SingleDelegation_P_P_Signal_Tester_Tester_Tester = new(); + public Parameter SingleDelegation_P_P_Signal_Tester_Tester_Tester_result = new(); + public Property SingleDelegation_P_P_Signal_Tester_a = new(); + public Activity SingleDelegation_P_P_Signal_Tester_testActivity = new(); + public ControlFlow SingleDelegation_P_P_Signal_Tester_testActivity_ControlFlow97 = new(); + public ReadSelfAction SingleDelegation_P_P_Signal_Tester_testActivity_this = new(); + public OutputPin SingleDelegation_P_P_Signal_Tester_testActivity_this_result = new(); + public LiteralInteger SingleDelegation_P_P_Signal_Tester_testActivity_this_result_LiteralInteger98 = new(); + public LiteralUnlimitedNatural SingleDelegation_P_P_Signal_Tester_testActivity_this_result_LiteralUnlimitedNatural99 = new(); + public ReadStructuralFeatureAction SingleDelegation_P_P_Signal_Tester_testActivity_Read_this_a = new(); + public InputPin SingleDelegation_P_P_Signal_Tester_testActivity_Read_this_a_object = new(); + public LiteralInteger SingleDelegation_P_P_Signal_Tester_testActivity_Read_this_a_object_LiteralInteger100 = new(); + public LiteralUnlimitedNatural SingleDelegation_P_P_Signal_Tester_testActivity_Read_this_a_object_LiteralUnlimitedNatural101 = new(); + public OutputPin SingleDelegation_P_P_Signal_Tester_testActivity_Read_this_a_result = new(); + public LiteralUnlimitedNatural SingleDelegation_P_P_Signal_Tester_testActivity_Read_this_a_result_LiteralUnlimitedNatural102 = new(); + public LiteralInteger SingleDelegation_P_P_Signal_Tester_testActivity_Read_this_a_result_LiteralInteger103 = new(); + public ObjectFlow SingleDelegation_P_P_Signal_Tester_testActivity_ObjectFlow104 = new(); + public LiteralInteger SingleDelegation_P_P_Signal_Tester_testActivity_ObjectFlow104_LiteralInteger105 = new(); + public LiteralBoolean SingleDelegation_P_P_Signal_Tester_testActivity_ObjectFlow104_LiteralBoolean106 = new(); + public ObjectFlow SingleDelegation_P_P_Signal_Tester_testActivity_ObjectFlow107 = new(); + public LiteralInteger SingleDelegation_P_P_Signal_Tester_testActivity_ObjectFlow107_LiteralInteger108 = new(); + public LiteralBoolean SingleDelegation_P_P_Signal_Tester_testActivity_ObjectFlow107_LiteralBoolean109 = new(); + public ValueSpecificationAction SingleDelegation_P_P_Signal_Tester_testActivity_InitialMessage = new(); + public OutputPin SingleDelegation_P_P_Signal_Tester_testActivity_InitialMessage_result = new(); + public LiteralInteger SingleDelegation_P_P_Signal_Tester_testActivity_InitialMessage_result_LiteralInteger110 = new(); + public LiteralUnlimitedNatural SingleDelegation_P_P_Signal_Tester_testActivity_InitialMessage_result_LiteralUnlimitedNatural111 = new(); + public LiteralString SingleDelegation_P_P_Signal_Tester_testActivity_InitialMessage_LiteralString112 = new(); + public ValueSpecificationAction SingleDelegation_P_P_Signal_Tester_testActivity_EndMessage = new(); + public OutputPin SingleDelegation_P_P_Signal_Tester_testActivity_EndMessage_result = new(); + public LiteralInteger SingleDelegation_P_P_Signal_Tester_testActivity_EndMessage_result_LiteralInteger113 = new(); + public LiteralUnlimitedNatural SingleDelegation_P_P_Signal_Tester_testActivity_EndMessage_result_LiteralUnlimitedNatural114 = new(); + public LiteralString SingleDelegation_P_P_Signal_Tester_testActivity_EndMessage_LiteralString115 = new(); + public CallBehaviorAction SingleDelegation_P_P_Signal_Tester_testActivity_Call_testP = new(); + public InputPin SingleDelegation_P_P_Signal_Tester_testActivity_Call_testP_p = new(); + public LiteralInteger SingleDelegation_P_P_Signal_Tester_testActivity_Call_testP_p_LiteralInteger116 = new(); + public LiteralInteger SingleDelegation_P_P_Signal_Tester_testActivity_Call_testP_p_LiteralInteger117 = new(); + public LiteralUnlimitedNatural SingleDelegation_P_P_Signal_Tester_testActivity_Call_testP_p_LiteralUnlimitedNatural118 = new(); + public ControlFlow SingleDelegation_P_P_Signal_Tester_testActivity_ControlFlow119 = new(); + public ObjectFlow SingleDelegation_P_P_Signal_Tester_testActivity_ObjectFlow120 = new(); + public LiteralBoolean SingleDelegation_P_P_Signal_Tester_testActivity_ObjectFlow120_LiteralBoolean121 = new(); + public LiteralInteger SingleDelegation_P_P_Signal_Tester_testActivity_ObjectFlow120_LiteralInteger122 = new(); + public ReadStructuralFeatureAction SingleDelegation_P_P_Signal_Tester_testActivity_Read_a_b = new(); + public InputPin SingleDelegation_P_P_Signal_Tester_testActivity_Read_a_b_object = new(); + public LiteralUnlimitedNatural SingleDelegation_P_P_Signal_Tester_testActivity_Read_a_b_object_LiteralUnlimitedNatural123 = new(); + public LiteralInteger SingleDelegation_P_P_Signal_Tester_testActivity_Read_a_b_object_LiteralInteger124 = new(); + public OutputPin SingleDelegation_P_P_Signal_Tester_testActivity_Read_a_b_result = new(); + public LiteralInteger SingleDelegation_P_P_Signal_Tester_testActivity_Read_a_b_result_LiteralInteger125 = new(); + public LiteralUnlimitedNatural SingleDelegation_P_P_Signal_Tester_testActivity_Read_a_b_result_LiteralUnlimitedNatural126 = new(); + public ObjectFlow SingleDelegation_P_P_Signal_Tester_testActivity_ObjectFlow127 = new(); + public LiteralInteger SingleDelegation_P_P_Signal_Tester_testActivity_ObjectFlow127_LiteralInteger128 = new(); + public LiteralBoolean SingleDelegation_P_P_Signal_Tester_testActivity_ObjectFlow127_LiteralBoolean129 = new(); + public ObjectFlow SingleDelegation_P_P_Signal_Tester_testActivity_ObjectFlow130 = new(); + public LiteralInteger SingleDelegation_P_P_Signal_Tester_testActivity_ObjectFlow130_LiteralInteger131 = new(); + public LiteralBoolean SingleDelegation_P_P_Signal_Tester_testActivity_ObjectFlow130_LiteralBoolean132 = new(); + public CallBehaviorAction SingleDelegation_P_P_Signal_Tester_testActivity_WriteLine_EndMessage = new(); + public InputPin SingleDelegation_P_P_Signal_Tester_testActivity_WriteLine_EndMessage_value = new(); + public LiteralUnlimitedNatural SingleDelegation_P_P_Signal_Tester_testActivity_WriteLine_EndMessage_value_LiteralUnlimitedNatural133 = new(); + public LiteralInteger SingleDelegation_P_P_Signal_Tester_testActivity_WriteLine_EndMessage_value_LiteralInteger134 = new(); + public LiteralInteger SingleDelegation_P_P_Signal_Tester_testActivity_WriteLine_EndMessage_value_LiteralInteger135 = new(); + public OutputPin SingleDelegation_P_P_Signal_Tester_testActivity_WriteLine_EndMessage_errorStatus = new(); + public LiteralInteger SingleDelegation_P_P_Signal_Tester_testActivity_WriteLine_EndMessage_errorStatus_LiteralInteger136 = new(); + public LiteralInteger SingleDelegation_P_P_Signal_Tester_testActivity_WriteLine_EndMessage_errorStatus_LiteralInteger137 = new(); + public LiteralUnlimitedNatural SingleDelegation_P_P_Signal_Tester_testActivity_WriteLine_EndMessage_errorStatus_LiteralUnlimitedNatural138 = new(); + public ObjectFlow SingleDelegation_P_P_Signal_Tester_testActivity_ObjectFlow139 = new(); + public LiteralBoolean SingleDelegation_P_P_Signal_Tester_testActivity_ObjectFlow139_LiteralBoolean140 = new(); + public LiteralInteger SingleDelegation_P_P_Signal_Tester_testActivity_ObjectFlow139_LiteralInteger141 = new(); + public OpaqueBehavior SingleDelegation_P_P_Signal_Tester_testActivity_testP = new(); + public Parameter SingleDelegation_P_P_Signal_Tester_testActivity_testP_p = new(); + public ReadStructuralFeatureAction SingleDelegation_P_P_Signal_Tester_testActivity_Read_b_p = new(); + public InputPin SingleDelegation_P_P_Signal_Tester_testActivity_Read_b_p_object = new(); + public LiteralUnlimitedNatural SingleDelegation_P_P_Signal_Tester_testActivity_Read_b_p_object_LiteralUnlimitedNatural142 = new(); + public LiteralInteger SingleDelegation_P_P_Signal_Tester_testActivity_Read_b_p_object_LiteralInteger143 = new(); + public OutputPin SingleDelegation_P_P_Signal_Tester_testActivity_Read_b_p_result = new(); + public LiteralUnlimitedNatural SingleDelegation_P_P_Signal_Tester_testActivity_Read_b_p_result_LiteralUnlimitedNatural144 = new(); + public LiteralInteger SingleDelegation_P_P_Signal_Tester_testActivity_Read_b_p_result_LiteralInteger145 = new(); + public CallBehaviorAction SingleDelegation_P_P_Signal_Tester_testActivity_WriteLine_InitialMessage = new(); + public InputPin SingleDelegation_P_P_Signal_Tester_testActivity_WriteLine_InitialMessage_value = new(); + public LiteralInteger SingleDelegation_P_P_Signal_Tester_testActivity_WriteLine_InitialMessage_value_LiteralInteger146 = new(); + public LiteralInteger SingleDelegation_P_P_Signal_Tester_testActivity_WriteLine_InitialMessage_value_LiteralInteger147 = new(); + public LiteralUnlimitedNatural SingleDelegation_P_P_Signal_Tester_testActivity_WriteLine_InitialMessage_value_LiteralUnlimitedNatural148 = new(); + public OutputPin SingleDelegation_P_P_Signal_Tester_testActivity_WriteLine_InitialMessage_errorStatus = new(); + public LiteralInteger SingleDelegation_P_P_Signal_Tester_testActivity_WriteLine_InitialMessage_errorStatus_LiteralInteger149 = new(); + public LiteralUnlimitedNatural SingleDelegation_P_P_Signal_Tester_testActivity_WriteLine_InitialMessage_errorStatus_LiteralUnlimitedNatural150 = new(); + public LiteralInteger SingleDelegation_P_P_Signal_Tester_testActivity_WriteLine_InitialMessage_errorStatus_LiteralInteger151 = new(); + public Generalization SingleDelegation_P_P_Signal_Tester_Generalization152 = new(); + public Operation SingleDelegation_P_P_Signal_Tester_test = new(); + public Class_ SingleDelegation_P_P_Signal_AbstractTester = new(); + public Reception SingleDelegation_P_P_Signal_AbstractTester_Start = new(); + public Operation SingleDelegation_P_P_Signal_AbstractTester_test = new(); + public Reception SingleDelegation_P_P_Signal_AbstractTester_Continue = new(); + public Activity SingleDelegation_P_P_Signal_main = new(); + public CallOperationAction SingleDelegation_P_P_Signal_main_Tester_ = new(); + public InputPin SingleDelegation_P_P_Signal_main_Tester__target = new(); + public LiteralInteger SingleDelegation_P_P_Signal_main_Tester__target_LiteralInteger153 = new(); + public LiteralUnlimitedNatural SingleDelegation_P_P_Signal_main_Tester__target_LiteralUnlimitedNatural154 = new(); + public OutputPin SingleDelegation_P_P_Signal_main_Tester__result = new(); + public LiteralInteger SingleDelegation_P_P_Signal_main_Tester__result_LiteralInteger155 = new(); + public LiteralInteger SingleDelegation_P_P_Signal_main_Tester__result_LiteralInteger156 = new(); + public LiteralUnlimitedNatural SingleDelegation_P_P_Signal_main_Tester__result_LiteralUnlimitedNatural157 = new(); + public ObjectFlow SingleDelegation_P_P_Signal_main_ObjectFlow158 = new(); + public LiteralBoolean SingleDelegation_P_P_Signal_main_ObjectFlow158_LiteralBoolean159 = new(); + public LiteralInteger SingleDelegation_P_P_Signal_main_ObjectFlow158_LiteralInteger160 = new(); + public CreateObjectAction SingleDelegation_P_P_Signal_main_Create_Tester = new(); + public OutputPin SingleDelegation_P_P_Signal_main_Create_Tester_result = new(); + public LiteralInteger SingleDelegation_P_P_Signal_main_Create_Tester_result_LiteralInteger161 = new(); + public LiteralUnlimitedNatural SingleDelegation_P_P_Signal_main_Create_Tester_result_LiteralUnlimitedNatural162 = new(); + public ObjectFlow SingleDelegation_P_P_Signal_main_ObjectFlow163 = new(); + public LiteralBoolean SingleDelegation_P_P_Signal_main_ObjectFlow163_LiteralBoolean164 = new(); + public LiteralInteger SingleDelegation_P_P_Signal_main_ObjectFlow163_LiteralInteger165 = new(); + public ControlFlow SingleDelegation_P_P_Signal_main_ControlFlow166 = new(); + public ObjectFlow SingleDelegation_P_P_Signal_main_ObjectFlow167 = new(); + public LiteralInteger SingleDelegation_P_P_Signal_main_ObjectFlow167_LiteralInteger168 = new(); + public LiteralBoolean SingleDelegation_P_P_Signal_main_ObjectFlow167_LiteralBoolean169 = new(); + public StartObjectBehaviorAction SingleDelegation_P_P_Signal_main_Start_Tester = new(); + public InputPin SingleDelegation_P_P_Signal_main_Start_Tester_object = new(); + public LiteralUnlimitedNatural SingleDelegation_P_P_Signal_main_Start_Tester_object_LiteralUnlimitedNatural170 = new(); + public LiteralInteger SingleDelegation_P_P_Signal_main_Start_Tester_object_LiteralInteger171 = new(); + public SendSignalAction SingleDelegation_P_P_Signal_main_Send_Start = new(); + public InputPin SingleDelegation_P_P_Signal_main_Send_Start_target = new(); + public LiteralUnlimitedNatural SingleDelegation_P_P_Signal_main_Send_Start_target_LiteralUnlimitedNatural172 = new(); + public LiteralInteger SingleDelegation_P_P_Signal_main_Send_Start_target_LiteralInteger173 = new(); + public ForkNode SingleDelegation_P_P_Signal_main_Fork_Tester = new(); + public ObjectFlow SingleDelegation_P_P_Signal_main_ObjectFlow174 = new(); + public LiteralBoolean SingleDelegation_P_P_Signal_main_ObjectFlow174_LiteralBoolean175 = new(); + public LiteralInteger SingleDelegation_P_P_Signal_main_ObjectFlow174_LiteralInteger176 = new(); + public Interface SingleDelegation_P_P_Signal_I = new(); + public Reception SingleDelegation_P_P_Signal_I_S = new(); + public SignalEvent SingleDelegation_P_P_Signal_SignalEventStart = new(); + + public static SingleDelegation_P_P_SignalModel Instance() + { + if (instance is null) + { + instance = new(); + instance.InitializeInMemoryModel(); + } + + return instance; + } + + public SingleDelegation_P_P_SignalModel() + { + /* Start of user code : Additional model initializations + * This section may be used to do any additional model initialization, + * for example initializing user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } + + private void InitializeInMemoryModel() + { + // Create public members + /* + * Model SingleDelegation_P_P_Signal + */ + AddToElementRepository("SingleDelegation_P_P_Signal", SingleDelegation_P_P_Signal); + AddToElementRepository("S", SingleDelegation_P_P_Signal_S); + AddToElementRepository("v", SingleDelegation_P_P_Signal_S_v); + AddToElementRepository("t", SingleDelegation_P_P_Signal_S_t); + AddToElementRepository("SignalEventContinue", SingleDelegation_P_P_Signal_SignalEventContinue); + AddToElementRepository("R", SingleDelegation_P_P_Signal_R); + AddToElementRepository("y", SingleDelegation_P_P_Signal_R_y); + AddToElementRepository("x", SingleDelegation_P_P_Signal_R_x); + AddToElementRepository("Continue", SingleDelegation_P_P_Signal_Continue); + AddToElementRepository("B", SingleDelegation_P_P_Signal_B); + AddToElementRepository("B_B", SingleDelegation_P_P_Signal_B_B_B); + AddToElementRepository("result", SingleDelegation_P_P_Signal_B_B_B_result); + AddToElementRepository("BClassifierBehavior", SingleDelegation_P_P_Signal_B_BClassifierBehavior); + AddToElementRepository("ObjectFlow0", SingleDelegation_P_P_Signal_B_BClassifierBehavior_ObjectFlow0); + AddToElementRepository("LiteralBoolean1", SingleDelegation_P_P_Signal_B_BClassifierBehavior_ObjectFlow0_LiteralBoolean1); + AddToElementRepository("LiteralInteger2", SingleDelegation_P_P_Signal_B_BClassifierBehavior_ObjectFlow0_LiteralInteger2); + AddToElementRepository("ControlFlow3", SingleDelegation_P_P_Signal_B_BClassifierBehavior_ControlFlow3); + AddToElementRepository("this", SingleDelegation_P_P_Signal_B_BClassifierBehavior_this); + AddToElementRepository("result", SingleDelegation_P_P_Signal_B_BClassifierBehavior_this_result); + AddToElementRepository("LiteralInteger4", SingleDelegation_P_P_Signal_B_BClassifierBehavior_this_result_LiteralInteger4); + AddToElementRepository("LiteralUnlimitedNatural5", SingleDelegation_P_P_Signal_B_BClassifierBehavior_this_result_LiteralUnlimitedNatural5); + AddToElementRepository("ObjectFlow6", SingleDelegation_P_P_Signal_B_BClassifierBehavior_ObjectFlow6); + AddToElementRepository("LiteralBoolean7", SingleDelegation_P_P_Signal_B_BClassifierBehavior_ObjectFlow6_LiteralBoolean7); + AddToElementRepository("LiteralInteger8", SingleDelegation_P_P_Signal_B_BClassifierBehavior_ObjectFlow6_LiteralInteger8); + AddToElementRepository("ControlFlow9", SingleDelegation_P_P_Signal_B_BClassifierBehavior_ControlFlow9); + AddToElementRepository("Accept S", SingleDelegation_P_P_Signal_B_BClassifierBehavior_Accept_S); + AddToElementRepository("result", SingleDelegation_P_P_Signal_B_BClassifierBehavior_Accept_S_result); + AddToElementRepository("LiteralInteger10", SingleDelegation_P_P_Signal_B_BClassifierBehavior_Accept_S_result_LiteralInteger10); + AddToElementRepository("LiteralUnlimitedNatural11", SingleDelegation_P_P_Signal_B_BClassifierBehavior_Accept_S_result_LiteralUnlimitedNatural11); + AddToElementRepository("LiteralInteger12", SingleDelegation_P_P_Signal_B_BClassifierBehavior_Accept_S_result_LiteralInteger12); + AddToElementRepository("Trigger13", SingleDelegation_P_P_Signal_B_BClassifierBehavior_Accept_S_Trigger13); + AddToElementRepository("Send Continue", SingleDelegation_P_P_Signal_B_BClassifierBehavior_Send_Continue); + AddToElementRepository("target", SingleDelegation_P_P_Signal_B_BClassifierBehavior_Send_Continue_target); + AddToElementRepository("LiteralUnlimitedNatural14", SingleDelegation_P_P_Signal_B_BClassifierBehavior_Send_Continue_target_LiteralUnlimitedNatural14); + AddToElementRepository("LiteralInteger15", SingleDelegation_P_P_Signal_B_BClassifierBehavior_Send_Continue_target_LiteralInteger15); + AddToElementRepository("Read s.v", SingleDelegation_P_P_Signal_B_BClassifierBehavior_Read_s_v); + AddToElementRepository("result", SingleDelegation_P_P_Signal_B_BClassifierBehavior_Read_s_v_result); + AddToElementRepository("LiteralUnlimitedNatural16", SingleDelegation_P_P_Signal_B_BClassifierBehavior_Read_s_v_result_LiteralUnlimitedNatural16); + AddToElementRepository("LiteralInteger17", SingleDelegation_P_P_Signal_B_BClassifierBehavior_Read_s_v_result_LiteralInteger17); + AddToElementRepository("object", SingleDelegation_P_P_Signal_B_BClassifierBehavior_Read_s_v_object); + AddToElementRepository("LiteralInteger18", SingleDelegation_P_P_Signal_B_BClassifierBehavior_Read_s_v_object_LiteralInteger18); + AddToElementRepository("LiteralUnlimitedNatural19", SingleDelegation_P_P_Signal_B_BClassifierBehavior_Read_s_v_object_LiteralUnlimitedNatural19); + AddToElementRepository("ObjectFlow20", SingleDelegation_P_P_Signal_B_BClassifierBehavior_ObjectFlow20); + AddToElementRepository("LiteralInteger21", SingleDelegation_P_P_Signal_B_BClassifierBehavior_ObjectFlow20_LiteralInteger21); + AddToElementRepository("LiteralBoolean22", SingleDelegation_P_P_Signal_B_BClassifierBehavior_ObjectFlow20_LiteralBoolean22); + AddToElementRepository("ObjectFlow23", SingleDelegation_P_P_Signal_B_BClassifierBehavior_ObjectFlow23); + AddToElementRepository("LiteralBoolean24", SingleDelegation_P_P_Signal_B_BClassifierBehavior_ObjectFlow23_LiteralBoolean24); + AddToElementRepository("LiteralInteger25", SingleDelegation_P_P_Signal_B_BClassifierBehavior_ObjectFlow23_LiteralInteger25); + AddToElementRepository("ObjectFlow26", SingleDelegation_P_P_Signal_B_BClassifierBehavior_ObjectFlow26); + AddToElementRepository("LiteralBoolean27", SingleDelegation_P_P_Signal_B_BClassifierBehavior_ObjectFlow26_LiteralBoolean27); + AddToElementRepository("LiteralInteger28", SingleDelegation_P_P_Signal_B_BClassifierBehavior_ObjectFlow26_LiteralInteger28); + AddToElementRepository("Initial", SingleDelegation_P_P_Signal_B_BClassifierBehavior_Initial); + AddToElementRepository("ObjectFlow29", SingleDelegation_P_P_Signal_B_BClassifierBehavior_ObjectFlow29); + AddToElementRepository("LiteralBoolean30", SingleDelegation_P_P_Signal_B_BClassifierBehavior_ObjectFlow29_LiteralBoolean30); + AddToElementRepository("LiteralInteger31", SingleDelegation_P_P_Signal_B_BClassifierBehavior_ObjectFlow29_LiteralInteger31); + AddToElementRepository("Set this.p", SingleDelegation_P_P_Signal_B_BClassifierBehavior_Set_this_p); + AddToElementRepository("object", SingleDelegation_P_P_Signal_B_BClassifierBehavior_Set_this_p_object); + AddToElementRepository("LiteralInteger32", SingleDelegation_P_P_Signal_B_BClassifierBehavior_Set_this_p_object_LiteralInteger32); + AddToElementRepository("LiteralUnlimitedNatural33", SingleDelegation_P_P_Signal_B_BClassifierBehavior_Set_this_p_object_LiteralUnlimitedNatural33); + AddToElementRepository("result", SingleDelegation_P_P_Signal_B_BClassifierBehavior_Set_this_p_result); + AddToElementRepository("LiteralUnlimitedNatural34", SingleDelegation_P_P_Signal_B_BClassifierBehavior_Set_this_p_result_LiteralUnlimitedNatural34); + AddToElementRepository("LiteralInteger35", SingleDelegation_P_P_Signal_B_BClassifierBehavior_Set_this_p_result_LiteralInteger35); + AddToElementRepository("value", SingleDelegation_P_P_Signal_B_BClassifierBehavior_Set_this_p_value); + AddToElementRepository("LiteralInteger36", SingleDelegation_P_P_Signal_B_BClassifierBehavior_Set_this_p_value_LiteralInteger36); + AddToElementRepository("LiteralUnlimitedNatural37", SingleDelegation_P_P_Signal_B_BClassifierBehavior_Set_this_p_value_LiteralUnlimitedNatural37); + AddToElementRepository("Read s.t", SingleDelegation_P_P_Signal_B_BClassifierBehavior_Read_s_t); + AddToElementRepository("object", SingleDelegation_P_P_Signal_B_BClassifierBehavior_Read_s_t_object); + AddToElementRepository("LiteralUnlimitedNatural38", SingleDelegation_P_P_Signal_B_BClassifierBehavior_Read_s_t_object_LiteralUnlimitedNatural38); + AddToElementRepository("LiteralInteger39", SingleDelegation_P_P_Signal_B_BClassifierBehavior_Read_s_t_object_LiteralInteger39); + AddToElementRepository("result", SingleDelegation_P_P_Signal_B_BClassifierBehavior_Read_s_t_result); + AddToElementRepository("LiteralInteger40", SingleDelegation_P_P_Signal_B_BClassifierBehavior_Read_s_t_result_LiteralInteger40); + AddToElementRepository("LiteralUnlimitedNatural41", SingleDelegation_P_P_Signal_B_BClassifierBehavior_Read_s_t_result_LiteralUnlimitedNatural41); + AddToElementRepository("Fork S", SingleDelegation_P_P_Signal_B_BClassifierBehavior_Fork_S); + AddToElementRepository("p", SingleDelegation_P_P_Signal_B_p); + AddToElementRepository("IRealization", SingleDelegation_P_P_Signal_B_IRealization); + AddToElementRepository("S", SingleDelegation_P_P_Signal_B_S); + AddToElementRepository("SignalEventS", SingleDelegation_P_P_Signal_SignalEventS); + AddToElementRepository("A", SingleDelegation_P_P_Signal_A); + AddToElementRepository("b", SingleDelegation_P_P_Signal_A_b); + AddToElementRepository("r", SingleDelegation_P_P_Signal_A_r); + AddToElementRepository("ConnectorEnd42", SingleDelegation_P_P_Signal_A_r_ConnectorEnd42); + AddToElementRepository("ConnectorEnd43", SingleDelegation_P_P_Signal_A_r_ConnectorEnd43); + AddToElementRepository("A_A", SingleDelegation_P_P_Signal_A_A_A); + AddToElementRepository("result", SingleDelegation_P_P_Signal_A_A_A_result); + AddToElementRepository("q", SingleDelegation_P_P_Signal_A_q); + AddToElementRepository("Start", SingleDelegation_P_P_Signal_Start); + AddToElementRepository("IImpl", SingleDelegation_P_P_Signal_IImpl); + AddToElementRepository("S", SingleDelegation_P_P_Signal_IImpl_S); + AddToElementRepository("IRealization", SingleDelegation_P_P_Signal_IImpl_IRealization); + AddToElementRepository("Tester", SingleDelegation_P_P_Signal_Tester); + AddToElementRepository("TesterClassifierBehavior", SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior); + AddToElementRepository("this", SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_this); + AddToElementRepository("result", SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_this_result); + AddToElementRepository("LiteralInteger44", SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_this_result_LiteralInteger44); + AddToElementRepository("LiteralUnlimitedNatural45", SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_this_result_LiteralUnlimitedNatural45); + AddToElementRepository("ObjectFlow46", SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow46); + AddToElementRepository("LiteralInteger47", SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow46_LiteralInteger47); + AddToElementRepository("LiteralBoolean48", SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow46_LiteralBoolean48); + AddToElementRepository("ObjectFlow49", SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow49); + AddToElementRepository("LiteralInteger50", SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow49_LiteralInteger50); + AddToElementRepository("LiteralBoolean51", SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow49_LiteralBoolean51); + AddToElementRepository("ObjectFlow52", SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow52); + AddToElementRepository("LiteralInteger53", SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow52_LiteralInteger53); + AddToElementRepository("LiteralBoolean54", SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow52_LiteralBoolean54); + AddToElementRepository("Accept Start", SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Start); + AddToElementRepository("result", SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Start_result); + AddToElementRepository("LiteralUnlimitedNatural55", SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Start_result_LiteralUnlimitedNatural55); + AddToElementRepository("LiteralInteger56", SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Start_result_LiteralInteger56); + AddToElementRepository("LiteralInteger57", SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Start_result_LiteralInteger57); + AddToElementRepository("Trigger58", SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Start_Trigger58); + AddToElementRepository("Read this.a", SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Read_this_a); + AddToElementRepository("object", SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Read_this_a_object); + AddToElementRepository("LiteralInteger59", SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Read_this_a_object_LiteralInteger59); + AddToElementRepository("LiteralUnlimitedNatural60", SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Read_this_a_object_LiteralUnlimitedNatural60); + AddToElementRepository("result", SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Read_this_a_result); + AddToElementRepository("LiteralUnlimitedNatural61", SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Read_this_a_result_LiteralUnlimitedNatural61); + AddToElementRepository("LiteralInteger62", SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Read_this_a_result_LiteralInteger62); + AddToElementRepository("Int(4)", SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Int_4); + AddToElementRepository("LiteralInteger63", SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Int_4_LiteralInteger63); + AddToElementRepository("result", SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Int_4_result); + AddToElementRepository("LiteralUnlimitedNatural64", SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Int_4_result_LiteralUnlimitedNatural64); + AddToElementRepository("LiteralInteger65", SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Int_4_result_LiteralInteger65); + AddToElementRepository("Accept Continue", SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue); + AddToElementRepository("Trigger66", SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_Trigger66); + AddToElementRepository("result", SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_result); + AddToElementRepository("LiteralInteger67", SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_result_LiteralInteger67); + AddToElementRepository("LiteralUnlimitedNatural68", SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_result_LiteralUnlimitedNatural68); + AddToElementRepository("LiteralInteger69", SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_result_LiteralInteger69); + AddToElementRepository("Initial", SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Initial); + AddToElementRepository(" Send S", SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior__Send_S); + AddToElementRepository("t", SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior__Send_S_t); + AddToElementRepository("LiteralInteger70", SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior__Send_S_t_LiteralInteger70); + AddToElementRepository("LiteralUnlimitedNatural71", SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior__Send_S_t_LiteralUnlimitedNatural71); + AddToElementRepository("v", SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior__Send_S_v); + AddToElementRepository("LiteralInteger72", SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior__Send_S_v_LiteralInteger72); + AddToElementRepository("LiteralUnlimitedNatural73", SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior__Send_S_v_LiteralUnlimitedNatural73); + AddToElementRepository("target", SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior__Send_S_target); + AddToElementRepository("LiteralInteger74", SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior__Send_S_target_LiteralInteger74); + AddToElementRepository("LiteralUnlimitedNatural75", SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior__Send_S_target_LiteralUnlimitedNatural75); + AddToElementRepository("ObjectFlow76", SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow76); + AddToElementRepository("LiteralInteger77", SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow76_LiteralInteger77); + AddToElementRepository("LiteralBoolean78", SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow76_LiteralBoolean78); + AddToElementRepository("ObjectFlow79", SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow79); + AddToElementRepository("LiteralBoolean80", SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow79_LiteralBoolean80); + AddToElementRepository("LiteralInteger81", SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow79_LiteralInteger81); + AddToElementRepository("ObjectFlow82", SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow82); + AddToElementRepository("LiteralInteger83", SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow82_LiteralInteger83); + AddToElementRepository("LiteralBoolean84", SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow82_LiteralBoolean84); + AddToElementRepository("ObjectFlow85", SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow85); + AddToElementRepository("LiteralBoolean86", SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow85_LiteralBoolean86); + AddToElementRepository("LiteralInteger87", SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow85_LiteralInteger87); + AddToElementRepository("ControlFlow88", SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_ControlFlow88); + AddToElementRepository("ControlFlow89", SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_ControlFlow89); + AddToElementRepository("Read a.q", SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Read_a_q); + AddToElementRepository("result", SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Read_a_q_result); + AddToElementRepository("LiteralInteger90", SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Read_a_q_result_LiteralInteger90); + AddToElementRepository("LiteralUnlimitedNatural91", SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Read_a_q_result_LiteralUnlimitedNatural91); + AddToElementRepository("object", SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Read_a_q_object); + AddToElementRepository("LiteralUnlimitedNatural92", SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Read_a_q_object_LiteralUnlimitedNatural92); + AddToElementRepository("LiteralInteger93", SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Read_a_q_object_LiteralInteger93); + AddToElementRepository("ControlFlow94", SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_ControlFlow94); + AddToElementRepository("Fork this", SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Fork_this); + AddToElementRepository("Call test()", SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Call_test_); + AddToElementRepository("target", SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Call_test__target); + AddToElementRepository("LiteralUnlimitedNatural95", SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Call_test__target_LiteralUnlimitedNatural95); + AddToElementRepository("LiteralInteger96", SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Call_test__target_LiteralInteger96); + AddToElementRepository("Tester_Tester", SingleDelegation_P_P_Signal_Tester_Tester_Tester); + AddToElementRepository("result", SingleDelegation_P_P_Signal_Tester_Tester_Tester_result); + AddToElementRepository("a", SingleDelegation_P_P_Signal_Tester_a); + AddToElementRepository("testActivity", SingleDelegation_P_P_Signal_Tester_testActivity); + AddToElementRepository("ControlFlow97", SingleDelegation_P_P_Signal_Tester_testActivity_ControlFlow97); + AddToElementRepository("this", SingleDelegation_P_P_Signal_Tester_testActivity_this); + AddToElementRepository("result", SingleDelegation_P_P_Signal_Tester_testActivity_this_result); + AddToElementRepository("LiteralInteger98", SingleDelegation_P_P_Signal_Tester_testActivity_this_result_LiteralInteger98); + AddToElementRepository("LiteralUnlimitedNatural99", SingleDelegation_P_P_Signal_Tester_testActivity_this_result_LiteralUnlimitedNatural99); + AddToElementRepository("Read this.a", SingleDelegation_P_P_Signal_Tester_testActivity_Read_this_a); + AddToElementRepository("object", SingleDelegation_P_P_Signal_Tester_testActivity_Read_this_a_object); + AddToElementRepository("LiteralInteger100", SingleDelegation_P_P_Signal_Tester_testActivity_Read_this_a_object_LiteralInteger100); + AddToElementRepository("LiteralUnlimitedNatural101", SingleDelegation_P_P_Signal_Tester_testActivity_Read_this_a_object_LiteralUnlimitedNatural101); + AddToElementRepository("result", SingleDelegation_P_P_Signal_Tester_testActivity_Read_this_a_result); + AddToElementRepository("LiteralUnlimitedNatural102", SingleDelegation_P_P_Signal_Tester_testActivity_Read_this_a_result_LiteralUnlimitedNatural102); + AddToElementRepository("LiteralInteger103", SingleDelegation_P_P_Signal_Tester_testActivity_Read_this_a_result_LiteralInteger103); + AddToElementRepository("ObjectFlow104", SingleDelegation_P_P_Signal_Tester_testActivity_ObjectFlow104); + AddToElementRepository("LiteralInteger105", SingleDelegation_P_P_Signal_Tester_testActivity_ObjectFlow104_LiteralInteger105); + AddToElementRepository("LiteralBoolean106", SingleDelegation_P_P_Signal_Tester_testActivity_ObjectFlow104_LiteralBoolean106); + AddToElementRepository("ObjectFlow107", SingleDelegation_P_P_Signal_Tester_testActivity_ObjectFlow107); + AddToElementRepository("LiteralInteger108", SingleDelegation_P_P_Signal_Tester_testActivity_ObjectFlow107_LiteralInteger108); + AddToElementRepository("LiteralBoolean109", SingleDelegation_P_P_Signal_Tester_testActivity_ObjectFlow107_LiteralBoolean109); + AddToElementRepository("InitialMessage", SingleDelegation_P_P_Signal_Tester_testActivity_InitialMessage); + AddToElementRepository("result", SingleDelegation_P_P_Signal_Tester_testActivity_InitialMessage_result); + AddToElementRepository("LiteralInteger110", SingleDelegation_P_P_Signal_Tester_testActivity_InitialMessage_result_LiteralInteger110); + AddToElementRepository("LiteralUnlimitedNatural111", SingleDelegation_P_P_Signal_Tester_testActivity_InitialMessage_result_LiteralUnlimitedNatural111); + AddToElementRepository("LiteralString112", SingleDelegation_P_P_Signal_Tester_testActivity_InitialMessage_LiteralString112); + AddToElementRepository("EndMessage", SingleDelegation_P_P_Signal_Tester_testActivity_EndMessage); + AddToElementRepository("result", SingleDelegation_P_P_Signal_Tester_testActivity_EndMessage_result); + AddToElementRepository("LiteralInteger113", SingleDelegation_P_P_Signal_Tester_testActivity_EndMessage_result_LiteralInteger113); + AddToElementRepository("LiteralUnlimitedNatural114", SingleDelegation_P_P_Signal_Tester_testActivity_EndMessage_result_LiteralUnlimitedNatural114); + AddToElementRepository("LiteralString115", SingleDelegation_P_P_Signal_Tester_testActivity_EndMessage_LiteralString115); + AddToElementRepository("Call testP", SingleDelegation_P_P_Signal_Tester_testActivity_Call_testP); + AddToElementRepository("p", SingleDelegation_P_P_Signal_Tester_testActivity_Call_testP_p); + AddToElementRepository("LiteralInteger116", SingleDelegation_P_P_Signal_Tester_testActivity_Call_testP_p_LiteralInteger116); + AddToElementRepository("LiteralInteger117", SingleDelegation_P_P_Signal_Tester_testActivity_Call_testP_p_LiteralInteger117); + AddToElementRepository("LiteralUnlimitedNatural118", SingleDelegation_P_P_Signal_Tester_testActivity_Call_testP_p_LiteralUnlimitedNatural118); + AddToElementRepository("ControlFlow119", SingleDelegation_P_P_Signal_Tester_testActivity_ControlFlow119); + AddToElementRepository("ObjectFlow120", SingleDelegation_P_P_Signal_Tester_testActivity_ObjectFlow120); + AddToElementRepository("LiteralBoolean121", SingleDelegation_P_P_Signal_Tester_testActivity_ObjectFlow120_LiteralBoolean121); + AddToElementRepository("LiteralInteger122", SingleDelegation_P_P_Signal_Tester_testActivity_ObjectFlow120_LiteralInteger122); + AddToElementRepository("Read a.b", SingleDelegation_P_P_Signal_Tester_testActivity_Read_a_b); + AddToElementRepository("object", SingleDelegation_P_P_Signal_Tester_testActivity_Read_a_b_object); + AddToElementRepository("LiteralUnlimitedNatural123", SingleDelegation_P_P_Signal_Tester_testActivity_Read_a_b_object_LiteralUnlimitedNatural123); + AddToElementRepository("LiteralInteger124", SingleDelegation_P_P_Signal_Tester_testActivity_Read_a_b_object_LiteralInteger124); + AddToElementRepository("result", SingleDelegation_P_P_Signal_Tester_testActivity_Read_a_b_result); + AddToElementRepository("LiteralInteger125", SingleDelegation_P_P_Signal_Tester_testActivity_Read_a_b_result_LiteralInteger125); + AddToElementRepository("LiteralUnlimitedNatural126", SingleDelegation_P_P_Signal_Tester_testActivity_Read_a_b_result_LiteralUnlimitedNatural126); + AddToElementRepository("ObjectFlow127", SingleDelegation_P_P_Signal_Tester_testActivity_ObjectFlow127); + AddToElementRepository("LiteralInteger128", SingleDelegation_P_P_Signal_Tester_testActivity_ObjectFlow127_LiteralInteger128); + AddToElementRepository("LiteralBoolean129", SingleDelegation_P_P_Signal_Tester_testActivity_ObjectFlow127_LiteralBoolean129); + AddToElementRepository("ObjectFlow130", SingleDelegation_P_P_Signal_Tester_testActivity_ObjectFlow130); + AddToElementRepository("LiteralInteger131", SingleDelegation_P_P_Signal_Tester_testActivity_ObjectFlow130_LiteralInteger131); + AddToElementRepository("LiteralBoolean132", SingleDelegation_P_P_Signal_Tester_testActivity_ObjectFlow130_LiteralBoolean132); + AddToElementRepository("WriteLine(EndMessage)", SingleDelegation_P_P_Signal_Tester_testActivity_WriteLine_EndMessage); + AddToElementRepository("value", SingleDelegation_P_P_Signal_Tester_testActivity_WriteLine_EndMessage_value); + AddToElementRepository("LiteralUnlimitedNatural133", SingleDelegation_P_P_Signal_Tester_testActivity_WriteLine_EndMessage_value_LiteralUnlimitedNatural133); + AddToElementRepository("LiteralInteger134", SingleDelegation_P_P_Signal_Tester_testActivity_WriteLine_EndMessage_value_LiteralInteger134); + AddToElementRepository("LiteralInteger135", SingleDelegation_P_P_Signal_Tester_testActivity_WriteLine_EndMessage_value_LiteralInteger135); + AddToElementRepository("errorStatus", SingleDelegation_P_P_Signal_Tester_testActivity_WriteLine_EndMessage_errorStatus); + AddToElementRepository("LiteralInteger136", SingleDelegation_P_P_Signal_Tester_testActivity_WriteLine_EndMessage_errorStatus_LiteralInteger136); + AddToElementRepository("LiteralInteger137", SingleDelegation_P_P_Signal_Tester_testActivity_WriteLine_EndMessage_errorStatus_LiteralInteger137); + AddToElementRepository("LiteralUnlimitedNatural138", SingleDelegation_P_P_Signal_Tester_testActivity_WriteLine_EndMessage_errorStatus_LiteralUnlimitedNatural138); + AddToElementRepository("ObjectFlow139", SingleDelegation_P_P_Signal_Tester_testActivity_ObjectFlow139); + AddToElementRepository("LiteralBoolean140", SingleDelegation_P_P_Signal_Tester_testActivity_ObjectFlow139_LiteralBoolean140); + AddToElementRepository("LiteralInteger141", SingleDelegation_P_P_Signal_Tester_testActivity_ObjectFlow139_LiteralInteger141); + AddToElementRepository("testP", SingleDelegation_P_P_Signal_Tester_testActivity_testP); + AddToElementRepository("p", SingleDelegation_P_P_Signal_Tester_testActivity_testP_p); + AddToElementRepository("Read b.p", SingleDelegation_P_P_Signal_Tester_testActivity_Read_b_p); + AddToElementRepository("object", SingleDelegation_P_P_Signal_Tester_testActivity_Read_b_p_object); + AddToElementRepository("LiteralUnlimitedNatural142", SingleDelegation_P_P_Signal_Tester_testActivity_Read_b_p_object_LiteralUnlimitedNatural142); + AddToElementRepository("LiteralInteger143", SingleDelegation_P_P_Signal_Tester_testActivity_Read_b_p_object_LiteralInteger143); + AddToElementRepository("result", SingleDelegation_P_P_Signal_Tester_testActivity_Read_b_p_result); + AddToElementRepository("LiteralUnlimitedNatural144", SingleDelegation_P_P_Signal_Tester_testActivity_Read_b_p_result_LiteralUnlimitedNatural144); + AddToElementRepository("LiteralInteger145", SingleDelegation_P_P_Signal_Tester_testActivity_Read_b_p_result_LiteralInteger145); + AddToElementRepository("WriteLine(InitialMessage)", SingleDelegation_P_P_Signal_Tester_testActivity_WriteLine_InitialMessage); + AddToElementRepository("value", SingleDelegation_P_P_Signal_Tester_testActivity_WriteLine_InitialMessage_value); + AddToElementRepository("LiteralInteger146", SingleDelegation_P_P_Signal_Tester_testActivity_WriteLine_InitialMessage_value_LiteralInteger146); + AddToElementRepository("LiteralInteger147", SingleDelegation_P_P_Signal_Tester_testActivity_WriteLine_InitialMessage_value_LiteralInteger147); + AddToElementRepository("LiteralUnlimitedNatural148", SingleDelegation_P_P_Signal_Tester_testActivity_WriteLine_InitialMessage_value_LiteralUnlimitedNatural148); + AddToElementRepository("errorStatus", SingleDelegation_P_P_Signal_Tester_testActivity_WriteLine_InitialMessage_errorStatus); + AddToElementRepository("LiteralInteger149", SingleDelegation_P_P_Signal_Tester_testActivity_WriteLine_InitialMessage_errorStatus_LiteralInteger149); + AddToElementRepository("LiteralUnlimitedNatural150", SingleDelegation_P_P_Signal_Tester_testActivity_WriteLine_InitialMessage_errorStatus_LiteralUnlimitedNatural150); + AddToElementRepository("LiteralInteger151", SingleDelegation_P_P_Signal_Tester_testActivity_WriteLine_InitialMessage_errorStatus_LiteralInteger151); + AddToElementRepository("Generalization152", SingleDelegation_P_P_Signal_Tester_Generalization152); + AddToElementRepository("test", SingleDelegation_P_P_Signal_Tester_test); + AddToElementRepository("AbstractTester", SingleDelegation_P_P_Signal_AbstractTester); + AddToElementRepository("Start", SingleDelegation_P_P_Signal_AbstractTester_Start); + AddToElementRepository("test", SingleDelegation_P_P_Signal_AbstractTester_test); + AddToElementRepository("Continue", SingleDelegation_P_P_Signal_AbstractTester_Continue); + AddToElementRepository("main", SingleDelegation_P_P_Signal_main); + AddToElementRepository("Tester()", SingleDelegation_P_P_Signal_main_Tester_); + AddToElementRepository("target", SingleDelegation_P_P_Signal_main_Tester__target); + AddToElementRepository("LiteralInteger153", SingleDelegation_P_P_Signal_main_Tester__target_LiteralInteger153); + AddToElementRepository("LiteralUnlimitedNatural154", SingleDelegation_P_P_Signal_main_Tester__target_LiteralUnlimitedNatural154); + AddToElementRepository("result", SingleDelegation_P_P_Signal_main_Tester__result); + AddToElementRepository("LiteralInteger155", SingleDelegation_P_P_Signal_main_Tester__result_LiteralInteger155); + AddToElementRepository("LiteralInteger156", SingleDelegation_P_P_Signal_main_Tester__result_LiteralInteger156); + AddToElementRepository("LiteralUnlimitedNatural157", SingleDelegation_P_P_Signal_main_Tester__result_LiteralUnlimitedNatural157); + AddToElementRepository("ObjectFlow158", SingleDelegation_P_P_Signal_main_ObjectFlow158); + AddToElementRepository("LiteralBoolean159", SingleDelegation_P_P_Signal_main_ObjectFlow158_LiteralBoolean159); + AddToElementRepository("LiteralInteger160", SingleDelegation_P_P_Signal_main_ObjectFlow158_LiteralInteger160); + AddToElementRepository("Create Tester", SingleDelegation_P_P_Signal_main_Create_Tester); + AddToElementRepository("result", SingleDelegation_P_P_Signal_main_Create_Tester_result); + AddToElementRepository("LiteralInteger161", SingleDelegation_P_P_Signal_main_Create_Tester_result_LiteralInteger161); + AddToElementRepository("LiteralUnlimitedNatural162", SingleDelegation_P_P_Signal_main_Create_Tester_result_LiteralUnlimitedNatural162); + AddToElementRepository("ObjectFlow163", SingleDelegation_P_P_Signal_main_ObjectFlow163); + AddToElementRepository("LiteralBoolean164", SingleDelegation_P_P_Signal_main_ObjectFlow163_LiteralBoolean164); + AddToElementRepository("LiteralInteger165", SingleDelegation_P_P_Signal_main_ObjectFlow163_LiteralInteger165); + AddToElementRepository("ControlFlow166", SingleDelegation_P_P_Signal_main_ControlFlow166); + AddToElementRepository("ObjectFlow167", SingleDelegation_P_P_Signal_main_ObjectFlow167); + AddToElementRepository("LiteralInteger168", SingleDelegation_P_P_Signal_main_ObjectFlow167_LiteralInteger168); + AddToElementRepository("LiteralBoolean169", SingleDelegation_P_P_Signal_main_ObjectFlow167_LiteralBoolean169); + AddToElementRepository("Start Tester", SingleDelegation_P_P_Signal_main_Start_Tester); + AddToElementRepository("object", SingleDelegation_P_P_Signal_main_Start_Tester_object); + AddToElementRepository("LiteralUnlimitedNatural170", SingleDelegation_P_P_Signal_main_Start_Tester_object_LiteralUnlimitedNatural170); + AddToElementRepository("LiteralInteger171", SingleDelegation_P_P_Signal_main_Start_Tester_object_LiteralInteger171); + AddToElementRepository("Send Start", SingleDelegation_P_P_Signal_main_Send_Start); + AddToElementRepository("target", SingleDelegation_P_P_Signal_main_Send_Start_target); + AddToElementRepository("LiteralUnlimitedNatural172", SingleDelegation_P_P_Signal_main_Send_Start_target_LiteralUnlimitedNatural172); + AddToElementRepository("LiteralInteger173", SingleDelegation_P_P_Signal_main_Send_Start_target_LiteralInteger173); + AddToElementRepository("Fork Tester", SingleDelegation_P_P_Signal_main_Fork_Tester); + AddToElementRepository("ObjectFlow174", SingleDelegation_P_P_Signal_main_ObjectFlow174); + AddToElementRepository("LiteralBoolean175", SingleDelegation_P_P_Signal_main_ObjectFlow174_LiteralBoolean175); + AddToElementRepository("LiteralInteger176", SingleDelegation_P_P_Signal_main_ObjectFlow174_LiteralInteger176); + AddToElementRepository("I", SingleDelegation_P_P_Signal_I); + AddToElementRepository("S", SingleDelegation_P_P_Signal_I_S); + AddToElementRepository("SignalEventStart", SingleDelegation_P_P_Signal_SignalEventStart); + + // Initialize public members + /* + * Model SingleDelegation_P_P_Signal + */ + SingleDelegation_P_P_Signal.SetName("SingleDelegation_P_P_Signal"); + SingleDelegation_P_P_Signal.SetVisibility(VisibilityKind.public_); + // Signal S + SingleDelegation_P_P_Signal_S.SetName("S"); + SingleDelegation_P_P_Signal_S.SetVisibility(VisibilityKind.public_); + + // Property v + SingleDelegation_P_P_Signal_S_v.SetName("v"); + SingleDelegation_P_P_Signal_S_v.SetVisibility(VisibilityKind.public_); + + SingleDelegation_P_P_Signal_S_v.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + SingleDelegation_P_P_Signal_S.AddOwnedAttribute(SingleDelegation_P_P_Signal_S_v); + // Property t + SingleDelegation_P_P_Signal_S_t.SetName("t"); + SingleDelegation_P_P_Signal_S_t.SetVisibility(VisibilityKind.public_); + + SingleDelegation_P_P_Signal_S_t.SetType(SingleDelegation_P_P_Signal_AbstractTester); + SingleDelegation_P_P_Signal_S.AddOwnedAttribute(SingleDelegation_P_P_Signal_S_t); + SingleDelegation_P_P_Signal.AddPackagedElement(SingleDelegation_P_P_Signal_S); + // SignalEvent SignalEventContinue + SingleDelegation_P_P_Signal_SignalEventContinue.SetName("SignalEventContinue"); + SingleDelegation_P_P_Signal_SignalEventContinue.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_P_Signal_SignalEventContinue.SetSignal(SingleDelegation_P_P_Signal_Continue); + SingleDelegation_P_P_Signal.AddPackagedElement(SingleDelegation_P_P_Signal_SignalEventContinue); + // Association R + SingleDelegation_P_P_Signal_R.SetName("R"); + SingleDelegation_P_P_Signal_R.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_P_Signal_R.AddOwnedEnd(SingleDelegation_P_P_Signal_R_x); + SingleDelegation_P_P_Signal_R.AddOwnedEnd(SingleDelegation_P_P_Signal_R_y); + SingleDelegation_P_P_Signal.AddPackagedElement(SingleDelegation_P_P_Signal_R); + // Signal Continue + SingleDelegation_P_P_Signal_Continue.SetName("Continue"); + SingleDelegation_P_P_Signal_Continue.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_P_Signal.AddPackagedElement(SingleDelegation_P_P_Signal_Continue); + // Class B + SingleDelegation_P_P_Signal_B.SetName("B"); + SingleDelegation_P_P_Signal_B.SetVisibility(VisibilityKind.public_); + + // Property p + SingleDelegation_P_P_Signal_B_p.SetName("p"); + SingleDelegation_P_P_Signal_B_p.SetVisibility(VisibilityKind.public_); + + SingleDelegation_P_P_Signal_B_p.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + SingleDelegation_P_P_Signal_B.AddOwnedAttribute(SingleDelegation_P_P_Signal_B_p); + SingleDelegation_P_P_Signal_B.SetClassifierBehavior(SingleDelegation_P_P_Signal_B_BClassifierBehavior); + // Activity BClassifierBehavior + SingleDelegation_P_P_Signal_B_BClassifierBehavior.SetName("BClassifierBehavior"); + SingleDelegation_P_P_Signal_B_BClassifierBehavior.SetVisibility(VisibilityKind.public_); + // InitialNode Initial + SingleDelegation_P_P_Signal_B_BClassifierBehavior_Initial.SetName("Initial"); + SingleDelegation_P_P_Signal_B_BClassifierBehavior_Initial.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_P_Signal_B_BClassifierBehavior.AddNode(SingleDelegation_P_P_Signal_B_BClassifierBehavior_Initial); + // ReadSelfAction this + SingleDelegation_P_P_Signal_B_BClassifierBehavior_this.SetName("this"); + SingleDelegation_P_P_Signal_B_BClassifierBehavior_this.SetVisibility(VisibilityKind.public_); + // OutputPin result + SingleDelegation_P_P_Signal_B_BClassifierBehavior_this_result.SetName("result"); + SingleDelegation_P_P_Signal_B_BClassifierBehavior_this_result.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_P_Signal_B_BClassifierBehavior_this_result.SetType(SingleDelegation_P_P_Signal_B); + SingleDelegation_P_P_Signal_B_BClassifierBehavior_this.SetResult(SingleDelegation_P_P_Signal_B_BClassifierBehavior_this_result); + SingleDelegation_P_P_Signal_B_BClassifierBehavior.AddNode(SingleDelegation_P_P_Signal_B_BClassifierBehavior_this); + // AddStructuralFeatureValueAction Set this.p + SingleDelegation_P_P_Signal_B_BClassifierBehavior_Set_this_p.SetName("Set this.p"); + SingleDelegation_P_P_Signal_B_BClassifierBehavior_Set_this_p.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_P_Signal_B_BClassifierBehavior_Set_this_p.SetStructuralFeature(SingleDelegation_P_P_Signal_B_p); + // InputPin object + SingleDelegation_P_P_Signal_B_BClassifierBehavior_Set_this_p_object.SetName("object"); + SingleDelegation_P_P_Signal_B_BClassifierBehavior_Set_this_p_object.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_P_Signal_B_BClassifierBehavior_Set_this_p_object.SetType(SingleDelegation_P_P_Signal_B); + SingleDelegation_P_P_Signal_B_BClassifierBehavior_Set_this_p.SetObject(SingleDelegation_P_P_Signal_B_BClassifierBehavior_Set_this_p_object); + // InputPin value + SingleDelegation_P_P_Signal_B_BClassifierBehavior_Set_this_p_value.SetName("value"); + SingleDelegation_P_P_Signal_B_BClassifierBehavior_Set_this_p_value.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_P_Signal_B_BClassifierBehavior_Set_this_p_value.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + SingleDelegation_P_P_Signal_B_BClassifierBehavior_Set_this_p.SetValue(SingleDelegation_P_P_Signal_B_BClassifierBehavior_Set_this_p_value); + // OutputPin result + SingleDelegation_P_P_Signal_B_BClassifierBehavior_Set_this_p_result.SetName("result"); + SingleDelegation_P_P_Signal_B_BClassifierBehavior_Set_this_p_result.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_P_Signal_B_BClassifierBehavior_Set_this_p_result.SetType(SingleDelegation_P_P_Signal_B); + SingleDelegation_P_P_Signal_B_BClassifierBehavior_Set_this_p.SetResult(SingleDelegation_P_P_Signal_B_BClassifierBehavior_Set_this_p_result); + SingleDelegation_P_P_Signal_B_BClassifierBehavior.AddNode(SingleDelegation_P_P_Signal_B_BClassifierBehavior_Set_this_p); + // ReadStructuralFeatureAction Read s.t + SingleDelegation_P_P_Signal_B_BClassifierBehavior_Read_s_t.SetName("Read s.t"); + SingleDelegation_P_P_Signal_B_BClassifierBehavior_Read_s_t.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_P_Signal_B_BClassifierBehavior_Read_s_t.SetStructuralFeature(SingleDelegation_P_P_Signal_S_t); + // InputPin object + SingleDelegation_P_P_Signal_B_BClassifierBehavior_Read_s_t_object.SetName("object"); + SingleDelegation_P_P_Signal_B_BClassifierBehavior_Read_s_t_object.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_P_Signal_B_BClassifierBehavior_Read_s_t_object.SetType(SingleDelegation_P_P_Signal_S); + SingleDelegation_P_P_Signal_B_BClassifierBehavior_Read_s_t.SetObject(SingleDelegation_P_P_Signal_B_BClassifierBehavior_Read_s_t_object); + // OutputPin result + SingleDelegation_P_P_Signal_B_BClassifierBehavior_Read_s_t_result.SetName("result"); + SingleDelegation_P_P_Signal_B_BClassifierBehavior_Read_s_t_result.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_P_Signal_B_BClassifierBehavior_Read_s_t_result.SetType(SingleDelegation_P_P_Signal_AbstractTester); + SingleDelegation_P_P_Signal_B_BClassifierBehavior_Read_s_t.SetResult(SingleDelegation_P_P_Signal_B_BClassifierBehavior_Read_s_t_result); + SingleDelegation_P_P_Signal_B_BClassifierBehavior.AddNode(SingleDelegation_P_P_Signal_B_BClassifierBehavior_Read_s_t); + // AcceptEventAction Accept S + SingleDelegation_P_P_Signal_B_BClassifierBehavior_Accept_S.SetName("Accept S"); + SingleDelegation_P_P_Signal_B_BClassifierBehavior_Accept_S.SetVisibility(VisibilityKind.public_); + // OutputPin result + SingleDelegation_P_P_Signal_B_BClassifierBehavior_Accept_S_result.SetName("result"); + SingleDelegation_P_P_Signal_B_BClassifierBehavior_Accept_S_result.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_P_Signal_B_BClassifierBehavior_Accept_S_result.SetType(SingleDelegation_P_P_Signal_S); + SingleDelegation_P_P_Signal_B_BClassifierBehavior_Accept_S.AddResult(SingleDelegation_P_P_Signal_B_BClassifierBehavior_Accept_S_result); + // Trigger Trigger13 + SingleDelegation_P_P_Signal_B_BClassifierBehavior_Accept_S_Trigger13.SetName("Trigger13"); + SingleDelegation_P_P_Signal_B_BClassifierBehavior_Accept_S_Trigger13.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_P_Signal_B_BClassifierBehavior_Accept_S_Trigger13.SetEvent(SingleDelegation_P_P_Signal_SignalEventS); + SingleDelegation_P_P_Signal_B_BClassifierBehavior_Accept_S.AddTrigger(SingleDelegation_P_P_Signal_B_BClassifierBehavior_Accept_S_Trigger13); + SingleDelegation_P_P_Signal_B_BClassifierBehavior.AddNode(SingleDelegation_P_P_Signal_B_BClassifierBehavior_Accept_S); + // ForkNode Fork S + SingleDelegation_P_P_Signal_B_BClassifierBehavior_Fork_S.SetName("Fork S"); + SingleDelegation_P_P_Signal_B_BClassifierBehavior_Fork_S.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_P_Signal_B_BClassifierBehavior.AddNode(SingleDelegation_P_P_Signal_B_BClassifierBehavior_Fork_S); + // SendSignalAction Send Continue + SingleDelegation_P_P_Signal_B_BClassifierBehavior_Send_Continue.SetName("Send Continue"); + SingleDelegation_P_P_Signal_B_BClassifierBehavior_Send_Continue.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_P_Signal_B_BClassifierBehavior_Send_Continue.SetSignal(SingleDelegation_P_P_Signal_Continue); + // InputPin target + SingleDelegation_P_P_Signal_B_BClassifierBehavior_Send_Continue_target.SetName("target"); + SingleDelegation_P_P_Signal_B_BClassifierBehavior_Send_Continue_target.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_P_Signal_B_BClassifierBehavior_Send_Continue_target.SetType(SingleDelegation_P_P_Signal_AbstractTester); + SingleDelegation_P_P_Signal_B_BClassifierBehavior_Send_Continue.SetTarget(SingleDelegation_P_P_Signal_B_BClassifierBehavior_Send_Continue_target); + SingleDelegation_P_P_Signal_B_BClassifierBehavior.AddNode(SingleDelegation_P_P_Signal_B_BClassifierBehavior_Send_Continue); + // ReadStructuralFeatureAction Read s.v + SingleDelegation_P_P_Signal_B_BClassifierBehavior_Read_s_v.SetName("Read s.v"); + SingleDelegation_P_P_Signal_B_BClassifierBehavior_Read_s_v.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_P_Signal_B_BClassifierBehavior_Read_s_v.SetStructuralFeature(SingleDelegation_P_P_Signal_S_v); + // InputPin object + SingleDelegation_P_P_Signal_B_BClassifierBehavior_Read_s_v_object.SetName("object"); + SingleDelegation_P_P_Signal_B_BClassifierBehavior_Read_s_v_object.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_P_Signal_B_BClassifierBehavior_Read_s_v_object.SetType(SingleDelegation_P_P_Signal_S); + SingleDelegation_P_P_Signal_B_BClassifierBehavior_Read_s_v.SetObject(SingleDelegation_P_P_Signal_B_BClassifierBehavior_Read_s_v_object); + // OutputPin result + SingleDelegation_P_P_Signal_B_BClassifierBehavior_Read_s_v_result.SetName("result"); + SingleDelegation_P_P_Signal_B_BClassifierBehavior_Read_s_v_result.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_P_Signal_B_BClassifierBehavior_Read_s_v_result.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + SingleDelegation_P_P_Signal_B_BClassifierBehavior_Read_s_v.SetResult(SingleDelegation_P_P_Signal_B_BClassifierBehavior_Read_s_v_result); + SingleDelegation_P_P_Signal_B_BClassifierBehavior.AddNode(SingleDelegation_P_P_Signal_B_BClassifierBehavior_Read_s_v); + // ObjectFlow ObjectFlow20 from Fork S to object + SingleDelegation_P_P_Signal_B_BClassifierBehavior_ObjectFlow20.SetName("ObjectFlow20"); + SingleDelegation_P_P_Signal_B_BClassifierBehavior_ObjectFlow20.SetVisibility(VisibilityKind.public_); + + SingleDelegation_P_P_Signal_B_BClassifierBehavior_ObjectFlow20.SetSource(SingleDelegation_P_P_Signal_B_BClassifierBehavior_Fork_S); + SingleDelegation_P_P_Signal_B_BClassifierBehavior_ObjectFlow20.SetTarget(SingleDelegation_P_P_Signal_B_BClassifierBehavior_Read_s_v_object); + // LiteralBoolean LiteralBoolean22 + SingleDelegation_P_P_Signal_B_BClassifierBehavior_ObjectFlow20_LiteralBoolean22.SetName("LiteralBoolean22"); + SingleDelegation_P_P_Signal_B_BClassifierBehavior_ObjectFlow20_LiteralBoolean22.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_P_Signal_B_BClassifierBehavior_ObjectFlow20_LiteralBoolean22.SetValue(true); + SingleDelegation_P_P_Signal_B_BClassifierBehavior_ObjectFlow20.SetGuard(SingleDelegation_P_P_Signal_B_BClassifierBehavior_ObjectFlow20_LiteralBoolean22); + SingleDelegation_P_P_Signal_B_BClassifierBehavior.AddEdge(SingleDelegation_P_P_Signal_B_BClassifierBehavior_ObjectFlow20); + // ObjectFlow ObjectFlow23 from result to object + SingleDelegation_P_P_Signal_B_BClassifierBehavior_ObjectFlow23.SetName("ObjectFlow23"); + SingleDelegation_P_P_Signal_B_BClassifierBehavior_ObjectFlow23.SetVisibility(VisibilityKind.public_); + + SingleDelegation_P_P_Signal_B_BClassifierBehavior_ObjectFlow23.SetSource(SingleDelegation_P_P_Signal_B_BClassifierBehavior_this_result); + SingleDelegation_P_P_Signal_B_BClassifierBehavior_ObjectFlow23.SetTarget(SingleDelegation_P_P_Signal_B_BClassifierBehavior_Set_this_p_object); + // LiteralBoolean LiteralBoolean24 + SingleDelegation_P_P_Signal_B_BClassifierBehavior_ObjectFlow23_LiteralBoolean24.SetName("LiteralBoolean24"); + SingleDelegation_P_P_Signal_B_BClassifierBehavior_ObjectFlow23_LiteralBoolean24.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_P_Signal_B_BClassifierBehavior_ObjectFlow23_LiteralBoolean24.SetValue(true); + SingleDelegation_P_P_Signal_B_BClassifierBehavior_ObjectFlow23.SetGuard(SingleDelegation_P_P_Signal_B_BClassifierBehavior_ObjectFlow23_LiteralBoolean24); + SingleDelegation_P_P_Signal_B_BClassifierBehavior.AddEdge(SingleDelegation_P_P_Signal_B_BClassifierBehavior_ObjectFlow23); + // ObjectFlow ObjectFlow26 from result to target + SingleDelegation_P_P_Signal_B_BClassifierBehavior_ObjectFlow26.SetName("ObjectFlow26"); + SingleDelegation_P_P_Signal_B_BClassifierBehavior_ObjectFlow26.SetVisibility(VisibilityKind.public_); + + SingleDelegation_P_P_Signal_B_BClassifierBehavior_ObjectFlow26.SetSource(SingleDelegation_P_P_Signal_B_BClassifierBehavior_Read_s_t_result); + SingleDelegation_P_P_Signal_B_BClassifierBehavior_ObjectFlow26.SetTarget(SingleDelegation_P_P_Signal_B_BClassifierBehavior_Send_Continue_target); + // LiteralBoolean LiteralBoolean27 + SingleDelegation_P_P_Signal_B_BClassifierBehavior_ObjectFlow26_LiteralBoolean27.SetName("LiteralBoolean27"); + SingleDelegation_P_P_Signal_B_BClassifierBehavior_ObjectFlow26_LiteralBoolean27.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_P_Signal_B_BClassifierBehavior_ObjectFlow26_LiteralBoolean27.SetValue(true); + SingleDelegation_P_P_Signal_B_BClassifierBehavior_ObjectFlow26.SetGuard(SingleDelegation_P_P_Signal_B_BClassifierBehavior_ObjectFlow26_LiteralBoolean27); + SingleDelegation_P_P_Signal_B_BClassifierBehavior.AddEdge(SingleDelegation_P_P_Signal_B_BClassifierBehavior_ObjectFlow26); + // ObjectFlow ObjectFlow0 from Fork S to object + SingleDelegation_P_P_Signal_B_BClassifierBehavior_ObjectFlow0.SetName("ObjectFlow0"); + SingleDelegation_P_P_Signal_B_BClassifierBehavior_ObjectFlow0.SetVisibility(VisibilityKind.public_); + + SingleDelegation_P_P_Signal_B_BClassifierBehavior_ObjectFlow0.SetSource(SingleDelegation_P_P_Signal_B_BClassifierBehavior_Fork_S); + SingleDelegation_P_P_Signal_B_BClassifierBehavior_ObjectFlow0.SetTarget(SingleDelegation_P_P_Signal_B_BClassifierBehavior_Read_s_t_object); + // LiteralBoolean LiteralBoolean1 + SingleDelegation_P_P_Signal_B_BClassifierBehavior_ObjectFlow0_LiteralBoolean1.SetName("LiteralBoolean1"); + SingleDelegation_P_P_Signal_B_BClassifierBehavior_ObjectFlow0_LiteralBoolean1.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_P_Signal_B_BClassifierBehavior_ObjectFlow0_LiteralBoolean1.SetValue(true); + SingleDelegation_P_P_Signal_B_BClassifierBehavior_ObjectFlow0.SetGuard(SingleDelegation_P_P_Signal_B_BClassifierBehavior_ObjectFlow0_LiteralBoolean1); + SingleDelegation_P_P_Signal_B_BClassifierBehavior.AddEdge(SingleDelegation_P_P_Signal_B_BClassifierBehavior_ObjectFlow0); + // ControlFlow ControlFlow3 from Set this.p to Send Continue + SingleDelegation_P_P_Signal_B_BClassifierBehavior_ControlFlow3.SetName("ControlFlow3"); + SingleDelegation_P_P_Signal_B_BClassifierBehavior_ControlFlow3.SetVisibility(VisibilityKind.public_); + + SingleDelegation_P_P_Signal_B_BClassifierBehavior_ControlFlow3.SetSource(SingleDelegation_P_P_Signal_B_BClassifierBehavior_Set_this_p); + SingleDelegation_P_P_Signal_B_BClassifierBehavior_ControlFlow3.SetTarget(SingleDelegation_P_P_Signal_B_BClassifierBehavior_Send_Continue); + SingleDelegation_P_P_Signal_B_BClassifierBehavior.AddEdge(SingleDelegation_P_P_Signal_B_BClassifierBehavior_ControlFlow3); + // ObjectFlow ObjectFlow29 from result to Fork S + SingleDelegation_P_P_Signal_B_BClassifierBehavior_ObjectFlow29.SetName("ObjectFlow29"); + SingleDelegation_P_P_Signal_B_BClassifierBehavior_ObjectFlow29.SetVisibility(VisibilityKind.public_); + + SingleDelegation_P_P_Signal_B_BClassifierBehavior_ObjectFlow29.SetSource(SingleDelegation_P_P_Signal_B_BClassifierBehavior_Accept_S_result); + SingleDelegation_P_P_Signal_B_BClassifierBehavior_ObjectFlow29.SetTarget(SingleDelegation_P_P_Signal_B_BClassifierBehavior_Fork_S); + // LiteralBoolean LiteralBoolean30 + SingleDelegation_P_P_Signal_B_BClassifierBehavior_ObjectFlow29_LiteralBoolean30.SetName("LiteralBoolean30"); + SingleDelegation_P_P_Signal_B_BClassifierBehavior_ObjectFlow29_LiteralBoolean30.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_P_Signal_B_BClassifierBehavior_ObjectFlow29_LiteralBoolean30.SetValue(true); + SingleDelegation_P_P_Signal_B_BClassifierBehavior_ObjectFlow29.SetGuard(SingleDelegation_P_P_Signal_B_BClassifierBehavior_ObjectFlow29_LiteralBoolean30); + SingleDelegation_P_P_Signal_B_BClassifierBehavior.AddEdge(SingleDelegation_P_P_Signal_B_BClassifierBehavior_ObjectFlow29); + // ObjectFlow ObjectFlow6 from result to value + SingleDelegation_P_P_Signal_B_BClassifierBehavior_ObjectFlow6.SetName("ObjectFlow6"); + SingleDelegation_P_P_Signal_B_BClassifierBehavior_ObjectFlow6.SetVisibility(VisibilityKind.public_); + + SingleDelegation_P_P_Signal_B_BClassifierBehavior_ObjectFlow6.SetSource(SingleDelegation_P_P_Signal_B_BClassifierBehavior_Read_s_v_result); + SingleDelegation_P_P_Signal_B_BClassifierBehavior_ObjectFlow6.SetTarget(SingleDelegation_P_P_Signal_B_BClassifierBehavior_Set_this_p_value); + // LiteralBoolean LiteralBoolean7 + SingleDelegation_P_P_Signal_B_BClassifierBehavior_ObjectFlow6_LiteralBoolean7.SetName("LiteralBoolean7"); + SingleDelegation_P_P_Signal_B_BClassifierBehavior_ObjectFlow6_LiteralBoolean7.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_P_Signal_B_BClassifierBehavior_ObjectFlow6_LiteralBoolean7.SetValue(true); + SingleDelegation_P_P_Signal_B_BClassifierBehavior_ObjectFlow6.SetGuard(SingleDelegation_P_P_Signal_B_BClassifierBehavior_ObjectFlow6_LiteralBoolean7); + SingleDelegation_P_P_Signal_B_BClassifierBehavior.AddEdge(SingleDelegation_P_P_Signal_B_BClassifierBehavior_ObjectFlow6); + // ControlFlow ControlFlow9 from Initial to Accept S + SingleDelegation_P_P_Signal_B_BClassifierBehavior_ControlFlow9.SetName("ControlFlow9"); + SingleDelegation_P_P_Signal_B_BClassifierBehavior_ControlFlow9.SetVisibility(VisibilityKind.public_); + + SingleDelegation_P_P_Signal_B_BClassifierBehavior_ControlFlow9.SetSource(SingleDelegation_P_P_Signal_B_BClassifierBehavior_Initial); + SingleDelegation_P_P_Signal_B_BClassifierBehavior_ControlFlow9.SetTarget(SingleDelegation_P_P_Signal_B_BClassifierBehavior_Accept_S); + SingleDelegation_P_P_Signal_B_BClassifierBehavior.AddEdge(SingleDelegation_P_P_Signal_B_BClassifierBehavior_ControlFlow9); + SingleDelegation_P_P_Signal_B.AddOwnedBehavior(SingleDelegation_P_P_Signal_B_BClassifierBehavior); + SingleDelegation_P_P_Signal_B_IRealization.SetName("IRealization"); + SingleDelegation_P_P_Signal_B_IRealization.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_P_Signal_B_IRealization.SetContract(SingleDelegation_P_P_Signal_I); + + SingleDelegation_P_P_Signal_B.AddInterfaceRealization(SingleDelegation_P_P_Signal_B_IRealization); + + SingleDelegation_P_P_Signal_B.SetIsActive(true); + // Operation B_B + SingleDelegation_P_P_Signal_B_B_B.SetName("B_B"); + SingleDelegation_P_P_Signal_B_B_B.SetVisibility(VisibilityKind.public_); + // Parameter result + SingleDelegation_P_P_Signal_B_B_B_result.SetName("result"); + SingleDelegation_P_P_Signal_B_B_B_result.SetVisibility(VisibilityKind.public_); + + SingleDelegation_P_P_Signal_B_B_B_result.SetType(SingleDelegation_P_P_Signal_B); + SingleDelegation_P_P_Signal_B_B_B_result.SetDirection(ParameterDirectionKind.return_); + SingleDelegation_P_P_Signal_B_B_B.AddOwnedParameter(SingleDelegation_P_P_Signal_B_B_B_result); + SingleDelegation_P_P_Signal_B_B_B.ApplyStereotype(uml.standardprofile.StandardProfileModel.Instance().Stereotype_Create); + SingleDelegation_P_P_Signal_B.AddOwnedOperation(SingleDelegation_P_P_Signal_B_B_B); + // Reception S + SingleDelegation_P_P_Signal_B_S.SetName("S"); + SingleDelegation_P_P_Signal_B_S.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_P_Signal_B_S.SetSignal(SingleDelegation_P_P_Signal_S); + SingleDelegation_P_P_Signal_B.AddOwnedReception(SingleDelegation_P_P_Signal_B_S); + SingleDelegation_P_P_Signal.AddPackagedElement(SingleDelegation_P_P_Signal_B); + // SignalEvent SignalEventS + SingleDelegation_P_P_Signal_SignalEventS.SetName("SignalEventS"); + SingleDelegation_P_P_Signal_SignalEventS.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_P_Signal_SignalEventS.SetSignal(SingleDelegation_P_P_Signal_S); + SingleDelegation_P_P_Signal.AddPackagedElement(SingleDelegation_P_P_Signal_SignalEventS); + // Class A + SingleDelegation_P_P_Signal_A.SetName("A"); + SingleDelegation_P_P_Signal_A.SetVisibility(VisibilityKind.public_); + + // Port q + SingleDelegation_P_P_Signal_A_q.SetName("q"); + SingleDelegation_P_P_Signal_A_q.SetVisibility(VisibilityKind.public_); + + SingleDelegation_P_P_Signal_A_q.SetType(SingleDelegation_P_P_Signal_IImpl); + SingleDelegation_P_P_Signal_A_q.SetAggregation(AggregationKind.composite); + SingleDelegation_P_P_Signal_A_q.isService = true; + SingleDelegation_P_P_Signal_A_q.AddProvided(SingleDelegation_P_P_Signal_I); + SingleDelegation_P_P_Signal_A.AddOwnedAttribute(SingleDelegation_P_P_Signal_A_q); + // Property b + SingleDelegation_P_P_Signal_A_b.SetName("b"); + SingleDelegation_P_P_Signal_A_b.SetVisibility(VisibilityKind.public_); + + SingleDelegation_P_P_Signal_A_b.SetType(SingleDelegation_P_P_Signal_B); + SingleDelegation_P_P_Signal_A_b.SetAggregation(AggregationKind.composite); + SingleDelegation_P_P_Signal_A.AddOwnedAttribute(SingleDelegation_P_P_Signal_A_b); + + SingleDelegation_P_P_Signal_A_r.SetName("r"); + SingleDelegation_P_P_Signal_A_r.SetVisibility(VisibilityKind.public_); + + SingleDelegation_P_P_Signal_A_r_ConnectorEnd43.SetRole(SingleDelegation_P_P_Signal_A_q); + + SingleDelegation_P_P_Signal_A_r.AddEnd(SingleDelegation_P_P_Signal_A_r_ConnectorEnd43); + + SingleDelegation_P_P_Signal_A_r_ConnectorEnd42.SetRole(SingleDelegation_P_P_Signal_A_b); + + SingleDelegation_P_P_Signal_A_r.AddEnd(SingleDelegation_P_P_Signal_A_r_ConnectorEnd42); + SingleDelegation_P_P_Signal_A_r.SetType(SingleDelegation_P_P_Signal_R); + SingleDelegation_P_P_Signal_A.AddOwnedConnector(SingleDelegation_P_P_Signal_A_r); + // Operation A_A + SingleDelegation_P_P_Signal_A_A_A.SetName("A_A"); + SingleDelegation_P_P_Signal_A_A_A.SetVisibility(VisibilityKind.public_); + // Parameter result + SingleDelegation_P_P_Signal_A_A_A_result.SetName("result"); + SingleDelegation_P_P_Signal_A_A_A_result.SetVisibility(VisibilityKind.public_); + + SingleDelegation_P_P_Signal_A_A_A_result.SetType(SingleDelegation_P_P_Signal_A); + SingleDelegation_P_P_Signal_A_A_A_result.SetDirection(ParameterDirectionKind.return_); + SingleDelegation_P_P_Signal_A_A_A.AddOwnedParameter(SingleDelegation_P_P_Signal_A_A_A_result); + SingleDelegation_P_P_Signal_A_A_A.ApplyStereotype(uml.standardprofile.StandardProfileModel.Instance().Stereotype_Create); + SingleDelegation_P_P_Signal_A.AddOwnedOperation(SingleDelegation_P_P_Signal_A_A_A); + SingleDelegation_P_P_Signal.AddPackagedElement(SingleDelegation_P_P_Signal_A); + // Signal Start + SingleDelegation_P_P_Signal_Start.SetName("Start"); + SingleDelegation_P_P_Signal_Start.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_P_Signal.AddPackagedElement(SingleDelegation_P_P_Signal_Start); + // Class IImpl + SingleDelegation_P_P_Signal_IImpl.SetName("IImpl"); + SingleDelegation_P_P_Signal_IImpl.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_P_Signal_IImpl_IRealization.SetName("IRealization"); + SingleDelegation_P_P_Signal_IImpl_IRealization.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_P_Signal_IImpl_IRealization.SetContract(SingleDelegation_P_P_Signal_I); + + SingleDelegation_P_P_Signal_IImpl.AddInterfaceRealization(SingleDelegation_P_P_Signal_IImpl_IRealization); + + // Reception S + SingleDelegation_P_P_Signal_IImpl_S.SetName("S"); + SingleDelegation_P_P_Signal_IImpl_S.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_P_Signal_IImpl_S.SetSignal(SingleDelegation_P_P_Signal_S); + SingleDelegation_P_P_Signal_IImpl.AddOwnedReception(SingleDelegation_P_P_Signal_IImpl_S); + SingleDelegation_P_P_Signal.AddPackagedElement(SingleDelegation_P_P_Signal_IImpl); + // Class Tester + SingleDelegation_P_P_Signal_Tester.SetName("Tester"); + SingleDelegation_P_P_Signal_Tester.SetVisibility(VisibilityKind.public_); + + // Generalization to AbstractTester + SingleDelegation_P_P_Signal_Tester_Generalization152.SetGeneral(SingleDelegation_P_P_Signal_AbstractTester); + SingleDelegation_P_P_Signal_Tester.AddGeneralization(SingleDelegation_P_P_Signal_Tester_Generalization152); + // Property a + SingleDelegation_P_P_Signal_Tester_a.SetName("a"); + SingleDelegation_P_P_Signal_Tester_a.SetVisibility(VisibilityKind.public_); + + SingleDelegation_P_P_Signal_Tester_a.SetType(SingleDelegation_P_P_Signal_A); + SingleDelegation_P_P_Signal_Tester_a.SetAggregation(AggregationKind.composite); + SingleDelegation_P_P_Signal_Tester.AddOwnedAttribute(SingleDelegation_P_P_Signal_Tester_a); + SingleDelegation_P_P_Signal_Tester.SetClassifierBehavior(SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior); + // Activity TesterClassifierBehavior + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior.SetName("TesterClassifierBehavior"); + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior.SetVisibility(VisibilityKind.public_); + // ReadSelfAction this + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_this.SetName("this"); + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_this.SetVisibility(VisibilityKind.public_); + // OutputPin result + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_this_result.SetName("result"); + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_this_result.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_this_result.SetType(SingleDelegation_P_P_Signal_Tester); + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_this.SetResult(SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_this_result); + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior.AddNode(SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_this); + // ValueSpecificationAction Int(4) + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Int_4.SetName("Int(4)"); + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Int_4.SetVisibility(VisibilityKind.public_); + // LiteralInteger LiteralInteger63 + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Int_4_LiteralInteger63.SetName("LiteralInteger63"); + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Int_4_LiteralInteger63.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Int_4_LiteralInteger63.SetValue(4); + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Int_4.SetValue(SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Int_4_LiteralInteger63); + // OutputPin result + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Int_4_result.SetName("result"); + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Int_4_result.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Int_4_result.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Int_4.SetResult(SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Int_4_result); + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior.AddNode(SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Int_4); + // AcceptEventAction Accept Continue + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue.SetName("Accept Continue"); + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue.SetVisibility(VisibilityKind.package_); + // OutputPin result + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_result.SetName("result"); + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_result.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_result.SetType(SingleDelegation_P_P_Signal_Continue); + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue.AddResult(SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_result); + // Trigger Trigger66 + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_Trigger66.SetName("Trigger66"); + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_Trigger66.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_Trigger66.SetEvent(SingleDelegation_P_P_Signal_SignalEventContinue); + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue.AddTrigger(SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_Trigger66); + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior.AddNode(SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue); + // InitialNode Initial + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Initial.SetName("Initial"); + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Initial.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior.AddNode(SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Initial); + // SendSignalAction Send S + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior__Send_S.SetName(" Send S"); + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior__Send_S.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior__Send_S.SetSignal(SingleDelegation_P_P_Signal_S); + // InputPin target + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior__Send_S_target.SetName("target"); + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior__Send_S_target.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior__Send_S_target.SetType(SingleDelegation_P_P_Signal_IImpl); + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior__Send_S.SetTarget(SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior__Send_S_target); + // InputPin v + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior__Send_S_v.SetName("v"); + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior__Send_S_v.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior__Send_S_v.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior__Send_S.AddArgument(SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior__Send_S_v); + // InputPin t + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior__Send_S_t.SetName("t"); + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior__Send_S_t.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior__Send_S_t.SetType(SingleDelegation_P_P_Signal_AbstractTester); + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior__Send_S.AddArgument(SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior__Send_S_t); + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior.AddNode(SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior__Send_S); + // AcceptEventAction Accept Start + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Start.SetName("Accept Start"); + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Start.SetVisibility(VisibilityKind.public_); + // OutputPin result + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Start_result.SetName("result"); + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Start_result.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Start_result.SetType(SingleDelegation_P_P_Signal_Start); + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Start.AddResult(SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Start_result); + // Trigger Trigger58 + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Start_Trigger58.SetName("Trigger58"); + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Start_Trigger58.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Start_Trigger58.SetEvent(SingleDelegation_P_P_Signal_SignalEventStart); + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Start.AddTrigger(SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Start_Trigger58); + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior.AddNode(SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Start); + // ReadStructuralFeatureAction Read a.q + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Read_a_q.SetName("Read a.q"); + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Read_a_q.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Read_a_q.SetStructuralFeature(SingleDelegation_P_P_Signal_A_q); + // InputPin object + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Read_a_q_object.SetName("object"); + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Read_a_q_object.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Read_a_q_object.SetType(SingleDelegation_P_P_Signal_A); + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Read_a_q.SetObject(SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Read_a_q_object); + // OutputPin result + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Read_a_q_result.SetName("result"); + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Read_a_q_result.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Read_a_q_result.SetType(SingleDelegation_P_P_Signal_IImpl); + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Read_a_q.SetResult(SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Read_a_q_result); + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior.AddNode(SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Read_a_q); + // ForkNode Fork this + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Fork_this.SetName("Fork this"); + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Fork_this.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior.AddNode(SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Fork_this); + // ReadStructuralFeatureAction Read this.a + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Read_this_a.SetName("Read this.a"); + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Read_this_a.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Read_this_a.SetStructuralFeature(SingleDelegation_P_P_Signal_Tester_a); + // InputPin object + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Read_this_a_object.SetName("object"); + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Read_this_a_object.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Read_this_a_object.SetType(SingleDelegation_P_P_Signal_Tester); + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Read_this_a.SetObject(SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Read_this_a_object); + // OutputPin result + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Read_this_a_result.SetName("result"); + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Read_this_a_result.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Read_this_a_result.SetType(SingleDelegation_P_P_Signal_A); + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Read_this_a.SetResult(SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Read_this_a_result); + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior.AddNode(SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Read_this_a); + // CallOperationAction Call test() + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Call_test_.SetName("Call test()"); + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Call_test_.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Call_test_.SetOperation(SingleDelegation_P_P_Signal_Tester_test); + // InputPin target + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Call_test__target.SetName("target"); + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Call_test__target.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Call_test__target.SetType(SingleDelegation_P_P_Signal_Tester); + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Call_test_.SetTarget(SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Call_test__target); + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior.AddNode(SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Call_test_); + // ObjectFlow ObjectFlow46 from Fork this to t + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow46.SetName("ObjectFlow46"); + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow46.SetVisibility(VisibilityKind.public_); + + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow46.SetSource(SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Fork_this); + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow46.SetTarget(SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior__Send_S_t); + // LiteralBoolean LiteralBoolean48 + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow46_LiteralBoolean48.SetName("LiteralBoolean48"); + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow46_LiteralBoolean48.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow46_LiteralBoolean48.SetValue(true); + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow46.SetGuard(SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow46_LiteralBoolean48); + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior.AddEdge(SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow46); + // ObjectFlow ObjectFlow76 from result to Fork this + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow76.SetName("ObjectFlow76"); + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow76.SetVisibility(VisibilityKind.public_); + + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow76.SetSource(SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_this_result); + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow76.SetTarget(SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Fork_this); + // LiteralBoolean LiteralBoolean78 + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow76_LiteralBoolean78.SetName("LiteralBoolean78"); + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow76_LiteralBoolean78.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow76_LiteralBoolean78.SetValue(true); + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow76.SetGuard(SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow76_LiteralBoolean78); + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior.AddEdge(SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow76); + // ObjectFlow ObjectFlow79 from Fork this to object + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow79.SetName("ObjectFlow79"); + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow79.SetVisibility(VisibilityKind.public_); + + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow79.SetSource(SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Fork_this); + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow79.SetTarget(SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Read_this_a_object); + // LiteralBoolean LiteralBoolean80 + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow79_LiteralBoolean80.SetName("LiteralBoolean80"); + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow79_LiteralBoolean80.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow79_LiteralBoolean80.SetValue(true); + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow79.SetGuard(SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow79_LiteralBoolean80); + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior.AddEdge(SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow79); + // ObjectFlow ObjectFlow49 from result to v + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow49.SetName("ObjectFlow49"); + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow49.SetVisibility(VisibilityKind.public_); + + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow49.SetSource(SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Int_4_result); + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow49.SetTarget(SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior__Send_S_v); + // LiteralBoolean LiteralBoolean51 + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow49_LiteralBoolean51.SetName("LiteralBoolean51"); + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow49_LiteralBoolean51.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow49_LiteralBoolean51.SetValue(true); + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow49.SetGuard(SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow49_LiteralBoolean51); + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior.AddEdge(SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow49); + // ObjectFlow ObjectFlow52 from Fork this to target + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow52.SetName("ObjectFlow52"); + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow52.SetVisibility(VisibilityKind.public_); + + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow52.SetSource(SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Fork_this); + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow52.SetTarget(SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Call_test__target); + // LiteralBoolean LiteralBoolean54 + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow52_LiteralBoolean54.SetName("LiteralBoolean54"); + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow52_LiteralBoolean54.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow52_LiteralBoolean54.SetValue(true); + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow52.SetGuard(SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow52_LiteralBoolean54); + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior.AddEdge(SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow52); + // ObjectFlow ObjectFlow82 from result to object + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow82.SetName("ObjectFlow82"); + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow82.SetVisibility(VisibilityKind.public_); + + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow82.SetSource(SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Read_this_a_result); + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow82.SetTarget(SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Read_a_q_object); + // LiteralBoolean LiteralBoolean84 + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow82_LiteralBoolean84.SetName("LiteralBoolean84"); + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow82_LiteralBoolean84.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow82_LiteralBoolean84.SetValue(true); + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow82.SetGuard(SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow82_LiteralBoolean84); + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior.AddEdge(SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow82); + // ObjectFlow ObjectFlow85 from result to target + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow85.SetName("ObjectFlow85"); + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow85.SetVisibility(VisibilityKind.public_); + + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow85.SetSource(SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Read_a_q_result); + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow85.SetTarget(SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior__Send_S_target); + // LiteralBoolean LiteralBoolean86 + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow85_LiteralBoolean86.SetName("LiteralBoolean86"); + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow85_LiteralBoolean86.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow85_LiteralBoolean86.SetValue(true); + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow85.SetGuard(SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow85_LiteralBoolean86); + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior.AddEdge(SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow85); + // ControlFlow ControlFlow88 from Accept Start to this + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_ControlFlow88.SetName("ControlFlow88"); + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_ControlFlow88.SetVisibility(VisibilityKind.public_); + + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_ControlFlow88.SetSource(SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Start); + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_ControlFlow88.SetTarget(SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_this); + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior.AddEdge(SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_ControlFlow88); + // ControlFlow ControlFlow89 from Initial to Accept Start + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_ControlFlow89.SetName("ControlFlow89"); + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_ControlFlow89.SetVisibility(VisibilityKind.public_); + + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_ControlFlow89.SetSource(SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Initial); + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_ControlFlow89.SetTarget(SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Start); + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior.AddEdge(SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_ControlFlow89); + // ControlFlow ControlFlow94 from Accept Continue to Call test() + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_ControlFlow94.SetName("ControlFlow94"); + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_ControlFlow94.SetVisibility(VisibilityKind.public_); + + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_ControlFlow94.SetSource(SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue); + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_ControlFlow94.SetTarget(SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_Call_test_); + SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior.AddEdge(SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior_ControlFlow94); + SingleDelegation_P_P_Signal_Tester.AddOwnedBehavior(SingleDelegation_P_P_Signal_Tester_TesterClassifierBehavior); + // Activity testActivity + SingleDelegation_P_P_Signal_Tester_testActivity.SetName("testActivity"); + SingleDelegation_P_P_Signal_Tester_testActivity.SetVisibility(VisibilityKind.public_); + // FunctionBehavior testP + SingleDelegation_P_P_Signal_Tester_testActivity_testP.SetName("testP"); + SingleDelegation_P_P_Signal_Tester_testActivity_testP.SetVisibility(VisibilityKind.public_); + + // Parameter p + SingleDelegation_P_P_Signal_Tester_testActivity_testP_p.SetName("p"); + SingleDelegation_P_P_Signal_Tester_testActivity_testP_p.SetVisibility(VisibilityKind.public_); + + SingleDelegation_P_P_Signal_Tester_testActivity_testP_p.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + SingleDelegation_P_P_Signal_Tester_testActivity_testP.AddOwnedParameter(SingleDelegation_P_P_Signal_Tester_testActivity_testP_p); + SingleDelegation_P_P_Signal_Tester_testActivity_testP.AddLanguage("C#"); + SingleDelegation_P_P_Signal_Tester_testActivity_testP.AddLanguage("Using"); + SingleDelegation_P_P_Signal_Tester_testActivity_testP.AddBody("Console.WriteLine(\"Asserting a.b.p == 4\"); // Test parameter p int p = ((IntegerValue)inputParameters.ElementAt(0).values.ElementAt(0)).value; Debug.Println(\"[doBody] argument p = \" + p); Console.WriteLine(\"a.b.p == \" + p); Console.Write(\"Signal delegated to classifier behavior: \"); if(p == 4) { Console.ForegroundColor = ConsoleColor.Green; Console.WriteLine(\"Assertion successful.\"); } else { Console.ForegroundColor = ConsoleColor.Red; Console.WriteLine(\"Assertion failed!\"); } Console.ResetColor();"); + SingleDelegation_P_P_Signal_Tester_testActivity_testP.AddBody("using fuml.semantics.simpleclassifiers; "); + SingleDelegation_P_P_Signal_Tester_testActivity.AddOwnedBehavior(SingleDelegation_P_P_Signal_Tester_testActivity_testP); + // ReadSelfAction this + SingleDelegation_P_P_Signal_Tester_testActivity_this.SetName("this"); + SingleDelegation_P_P_Signal_Tester_testActivity_this.SetVisibility(VisibilityKind.public_); + // OutputPin result + SingleDelegation_P_P_Signal_Tester_testActivity_this_result.SetName("result"); + SingleDelegation_P_P_Signal_Tester_testActivity_this_result.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_P_Signal_Tester_testActivity_this_result.SetType(SingleDelegation_P_P_Signal_Tester); + SingleDelegation_P_P_Signal_Tester_testActivity_this.SetResult(SingleDelegation_P_P_Signal_Tester_testActivity_this_result); + SingleDelegation_P_P_Signal_Tester_testActivity.AddNode(SingleDelegation_P_P_Signal_Tester_testActivity_this); + // ReadStructuralFeatureAction Read a.b + SingleDelegation_P_P_Signal_Tester_testActivity_Read_a_b.SetName("Read a.b"); + SingleDelegation_P_P_Signal_Tester_testActivity_Read_a_b.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_P_Signal_Tester_testActivity_Read_a_b.SetStructuralFeature(SingleDelegation_P_P_Signal_A_b); + // InputPin object + SingleDelegation_P_P_Signal_Tester_testActivity_Read_a_b_object.SetName("object"); + SingleDelegation_P_P_Signal_Tester_testActivity_Read_a_b_object.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_P_Signal_Tester_testActivity_Read_a_b_object.SetType(SingleDelegation_P_P_Signal_A); + SingleDelegation_P_P_Signal_Tester_testActivity_Read_a_b.SetObject(SingleDelegation_P_P_Signal_Tester_testActivity_Read_a_b_object); + // OutputPin result + SingleDelegation_P_P_Signal_Tester_testActivity_Read_a_b_result.SetName("result"); + SingleDelegation_P_P_Signal_Tester_testActivity_Read_a_b_result.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_P_Signal_Tester_testActivity_Read_a_b_result.SetType(SingleDelegation_P_P_Signal_B); + SingleDelegation_P_P_Signal_Tester_testActivity_Read_a_b.SetResult(SingleDelegation_P_P_Signal_Tester_testActivity_Read_a_b_result); + SingleDelegation_P_P_Signal_Tester_testActivity.AddNode(SingleDelegation_P_P_Signal_Tester_testActivity_Read_a_b); + // ReadStructuralFeatureAction Read this.a + SingleDelegation_P_P_Signal_Tester_testActivity_Read_this_a.SetName("Read this.a"); + SingleDelegation_P_P_Signal_Tester_testActivity_Read_this_a.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_P_Signal_Tester_testActivity_Read_this_a.SetStructuralFeature(SingleDelegation_P_P_Signal_Tester_a); + // InputPin object + SingleDelegation_P_P_Signal_Tester_testActivity_Read_this_a_object.SetName("object"); + SingleDelegation_P_P_Signal_Tester_testActivity_Read_this_a_object.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_P_Signal_Tester_testActivity_Read_this_a_object.SetType(SingleDelegation_P_P_Signal_Tester); + SingleDelegation_P_P_Signal_Tester_testActivity_Read_this_a.SetObject(SingleDelegation_P_P_Signal_Tester_testActivity_Read_this_a_object); + // OutputPin result + SingleDelegation_P_P_Signal_Tester_testActivity_Read_this_a_result.SetName("result"); + SingleDelegation_P_P_Signal_Tester_testActivity_Read_this_a_result.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_P_Signal_Tester_testActivity_Read_this_a_result.SetType(SingleDelegation_P_P_Signal_A); + SingleDelegation_P_P_Signal_Tester_testActivity_Read_this_a.SetResult(SingleDelegation_P_P_Signal_Tester_testActivity_Read_this_a_result); + SingleDelegation_P_P_Signal_Tester_testActivity.AddNode(SingleDelegation_P_P_Signal_Tester_testActivity_Read_this_a); + // CallBehaviorAction WriteLine(EndMessage) + SingleDelegation_P_P_Signal_Tester_testActivity_WriteLine_EndMessage.SetName("WriteLine(EndMessage)"); + SingleDelegation_P_P_Signal_Tester_testActivity_WriteLine_EndMessage.SetVisibility(VisibilityKind.public_); + + // OutputPin errorStatus + SingleDelegation_P_P_Signal_Tester_testActivity_WriteLine_EndMessage_errorStatus.SetName("errorStatus"); + SingleDelegation_P_P_Signal_Tester_testActivity_WriteLine_EndMessage_errorStatus.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_P_Signal_Tester_testActivity_WriteLine_EndMessage_errorStatus.SetType(FoundationalModelLibraryModel.Instance().FoundationalModelLibrary_Common_Status); + SingleDelegation_P_P_Signal_Tester_testActivity_WriteLine_EndMessage_errorStatus.SetLower(0); + SingleDelegation_P_P_Signal_Tester_testActivity_WriteLine_EndMessage.AddResult(SingleDelegation_P_P_Signal_Tester_testActivity_WriteLine_EndMessage_errorStatus); + SingleDelegation_P_P_Signal_Tester_testActivity_WriteLine_EndMessage.SetBehavior(FoundationalModelLibraryModel.Instance().FoundationalModelLibrary_BasicInputOutput_WriteLine); + // InputPin value + SingleDelegation_P_P_Signal_Tester_testActivity_WriteLine_EndMessage_value.SetName("value"); + SingleDelegation_P_P_Signal_Tester_testActivity_WriteLine_EndMessage_value.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_P_Signal_Tester_testActivity_WriteLine_EndMessage_value.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_String); + SingleDelegation_P_P_Signal_Tester_testActivity_WriteLine_EndMessage.AddArgument(SingleDelegation_P_P_Signal_Tester_testActivity_WriteLine_EndMessage_value); + SingleDelegation_P_P_Signal_Tester_testActivity.AddNode(SingleDelegation_P_P_Signal_Tester_testActivity_WriteLine_EndMessage); + // ValueSpecificationAction InitialMessage + SingleDelegation_P_P_Signal_Tester_testActivity_InitialMessage.SetName("InitialMessage"); + SingleDelegation_P_P_Signal_Tester_testActivity_InitialMessage.SetVisibility(VisibilityKind.public_); + // LiteralString LiteralString112 + SingleDelegation_P_P_Signal_Tester_testActivity_InitialMessage_LiteralString112.SetName("LiteralString112"); + SingleDelegation_P_P_Signal_Tester_testActivity_InitialMessage_LiteralString112.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_P_Signal_Tester_testActivity_InitialMessage_LiteralString112.SetValue("-- Running test case: Single delegation connector - Signal delegated from port to part --"); + SingleDelegation_P_P_Signal_Tester_testActivity_InitialMessage.SetValue(SingleDelegation_P_P_Signal_Tester_testActivity_InitialMessage_LiteralString112); + // OutputPin result + SingleDelegation_P_P_Signal_Tester_testActivity_InitialMessage_result.SetName("result"); + SingleDelegation_P_P_Signal_Tester_testActivity_InitialMessage_result.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_P_Signal_Tester_testActivity_InitialMessage_result.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_String); + SingleDelegation_P_P_Signal_Tester_testActivity_InitialMessage.SetResult(SingleDelegation_P_P_Signal_Tester_testActivity_InitialMessage_result); + SingleDelegation_P_P_Signal_Tester_testActivity.AddNode(SingleDelegation_P_P_Signal_Tester_testActivity_InitialMessage); + // ValueSpecificationAction EndMessage + SingleDelegation_P_P_Signal_Tester_testActivity_EndMessage.SetName("EndMessage"); + SingleDelegation_P_P_Signal_Tester_testActivity_EndMessage.SetVisibility(VisibilityKind.public_); + // LiteralString LiteralString115 + SingleDelegation_P_P_Signal_Tester_testActivity_EndMessage_LiteralString115.SetName("LiteralString115"); + SingleDelegation_P_P_Signal_Tester_testActivity_EndMessage_LiteralString115.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_P_Signal_Tester_testActivity_EndMessage_LiteralString115.SetValue("-- End of test case --"); + SingleDelegation_P_P_Signal_Tester_testActivity_EndMessage.SetValue(SingleDelegation_P_P_Signal_Tester_testActivity_EndMessage_LiteralString115); + // OutputPin result + SingleDelegation_P_P_Signal_Tester_testActivity_EndMessage_result.SetName("result"); + SingleDelegation_P_P_Signal_Tester_testActivity_EndMessage_result.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_P_Signal_Tester_testActivity_EndMessage_result.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_String); + SingleDelegation_P_P_Signal_Tester_testActivity_EndMessage.SetResult(SingleDelegation_P_P_Signal_Tester_testActivity_EndMessage_result); + SingleDelegation_P_P_Signal_Tester_testActivity.AddNode(SingleDelegation_P_P_Signal_Tester_testActivity_EndMessage); + // ReadStructuralFeatureAction Read b.p + SingleDelegation_P_P_Signal_Tester_testActivity_Read_b_p.SetName("Read b.p"); + SingleDelegation_P_P_Signal_Tester_testActivity_Read_b_p.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_P_Signal_Tester_testActivity_Read_b_p.SetStructuralFeature(SingleDelegation_P_P_Signal_B_p); + // InputPin object + SingleDelegation_P_P_Signal_Tester_testActivity_Read_b_p_object.SetName("object"); + SingleDelegation_P_P_Signal_Tester_testActivity_Read_b_p_object.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_P_Signal_Tester_testActivity_Read_b_p_object.SetType(SingleDelegation_P_P_Signal_B); + SingleDelegation_P_P_Signal_Tester_testActivity_Read_b_p.SetObject(SingleDelegation_P_P_Signal_Tester_testActivity_Read_b_p_object); + // OutputPin result + SingleDelegation_P_P_Signal_Tester_testActivity_Read_b_p_result.SetName("result"); + SingleDelegation_P_P_Signal_Tester_testActivity_Read_b_p_result.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_P_Signal_Tester_testActivity_Read_b_p_result.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + SingleDelegation_P_P_Signal_Tester_testActivity_Read_b_p.SetResult(SingleDelegation_P_P_Signal_Tester_testActivity_Read_b_p_result); + SingleDelegation_P_P_Signal_Tester_testActivity.AddNode(SingleDelegation_P_P_Signal_Tester_testActivity_Read_b_p); + // CallBehaviorAction Call testP + SingleDelegation_P_P_Signal_Tester_testActivity_Call_testP.SetName("Call testP"); + SingleDelegation_P_P_Signal_Tester_testActivity_Call_testP.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_P_Signal_Tester_testActivity_Call_testP.SetBehavior(SingleDelegation_P_P_Signal_Tester_testActivity_testP); + // InputPin p + SingleDelegation_P_P_Signal_Tester_testActivity_Call_testP_p.SetName("p"); + SingleDelegation_P_P_Signal_Tester_testActivity_Call_testP_p.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_P_Signal_Tester_testActivity_Call_testP_p.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + SingleDelegation_P_P_Signal_Tester_testActivity_Call_testP.AddArgument(SingleDelegation_P_P_Signal_Tester_testActivity_Call_testP_p); + SingleDelegation_P_P_Signal_Tester_testActivity.AddNode(SingleDelegation_P_P_Signal_Tester_testActivity_Call_testP); + // CallBehaviorAction WriteLine(InitialMessage) + SingleDelegation_P_P_Signal_Tester_testActivity_WriteLine_InitialMessage.SetName("WriteLine(InitialMessage)"); + SingleDelegation_P_P_Signal_Tester_testActivity_WriteLine_InitialMessage.SetVisibility(VisibilityKind.public_); + + // OutputPin errorStatus + SingleDelegation_P_P_Signal_Tester_testActivity_WriteLine_InitialMessage_errorStatus.SetName("errorStatus"); + SingleDelegation_P_P_Signal_Tester_testActivity_WriteLine_InitialMessage_errorStatus.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_P_Signal_Tester_testActivity_WriteLine_InitialMessage_errorStatus.SetType(FoundationalModelLibraryModel.Instance().FoundationalModelLibrary_Common_Status); + SingleDelegation_P_P_Signal_Tester_testActivity_WriteLine_InitialMessage_errorStatus.SetLower(0); + SingleDelegation_P_P_Signal_Tester_testActivity_WriteLine_InitialMessage.AddResult(SingleDelegation_P_P_Signal_Tester_testActivity_WriteLine_InitialMessage_errorStatus); + SingleDelegation_P_P_Signal_Tester_testActivity_WriteLine_InitialMessage.SetBehavior(FoundationalModelLibraryModel.Instance().FoundationalModelLibrary_BasicInputOutput_WriteLine); + // InputPin value + SingleDelegation_P_P_Signal_Tester_testActivity_WriteLine_InitialMessage_value.SetName("value"); + SingleDelegation_P_P_Signal_Tester_testActivity_WriteLine_InitialMessage_value.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_P_Signal_Tester_testActivity_WriteLine_InitialMessage_value.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_String); + SingleDelegation_P_P_Signal_Tester_testActivity_WriteLine_InitialMessage.AddArgument(SingleDelegation_P_P_Signal_Tester_testActivity_WriteLine_InitialMessage_value); + SingleDelegation_P_P_Signal_Tester_testActivity.AddNode(SingleDelegation_P_P_Signal_Tester_testActivity_WriteLine_InitialMessage); + // ControlFlow ControlFlow119 from WriteLine(InitialMessage) to this + SingleDelegation_P_P_Signal_Tester_testActivity_ControlFlow119.SetName("ControlFlow119"); + SingleDelegation_P_P_Signal_Tester_testActivity_ControlFlow119.SetVisibility(VisibilityKind.public_); + + SingleDelegation_P_P_Signal_Tester_testActivity_ControlFlow119.SetSource(SingleDelegation_P_P_Signal_Tester_testActivity_WriteLine_InitialMessage); + SingleDelegation_P_P_Signal_Tester_testActivity_ControlFlow119.SetTarget(SingleDelegation_P_P_Signal_Tester_testActivity_this); + SingleDelegation_P_P_Signal_Tester_testActivity.AddEdge(SingleDelegation_P_P_Signal_Tester_testActivity_ControlFlow119); + // ControlFlow ControlFlow97 from Call testP to WriteLine(EndMessage) + SingleDelegation_P_P_Signal_Tester_testActivity_ControlFlow97.SetName("ControlFlow97"); + SingleDelegation_P_P_Signal_Tester_testActivity_ControlFlow97.SetVisibility(VisibilityKind.public_); + + SingleDelegation_P_P_Signal_Tester_testActivity_ControlFlow97.SetSource(SingleDelegation_P_P_Signal_Tester_testActivity_Call_testP); + SingleDelegation_P_P_Signal_Tester_testActivity_ControlFlow97.SetTarget(SingleDelegation_P_P_Signal_Tester_testActivity_WriteLine_EndMessage); + SingleDelegation_P_P_Signal_Tester_testActivity.AddEdge(SingleDelegation_P_P_Signal_Tester_testActivity_ControlFlow97); + // ObjectFlow ObjectFlow120 from result to value + SingleDelegation_P_P_Signal_Tester_testActivity_ObjectFlow120.SetName("ObjectFlow120"); + SingleDelegation_P_P_Signal_Tester_testActivity_ObjectFlow120.SetVisibility(VisibilityKind.public_); + + SingleDelegation_P_P_Signal_Tester_testActivity_ObjectFlow120.SetSource(SingleDelegation_P_P_Signal_Tester_testActivity_InitialMessage_result); + SingleDelegation_P_P_Signal_Tester_testActivity_ObjectFlow120.SetTarget(SingleDelegation_P_P_Signal_Tester_testActivity_WriteLine_InitialMessage_value); + // LiteralBoolean LiteralBoolean121 + SingleDelegation_P_P_Signal_Tester_testActivity_ObjectFlow120_LiteralBoolean121.SetName("LiteralBoolean121"); + SingleDelegation_P_P_Signal_Tester_testActivity_ObjectFlow120_LiteralBoolean121.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_P_Signal_Tester_testActivity_ObjectFlow120_LiteralBoolean121.SetValue(true); + SingleDelegation_P_P_Signal_Tester_testActivity_ObjectFlow120.SetGuard(SingleDelegation_P_P_Signal_Tester_testActivity_ObjectFlow120_LiteralBoolean121); + SingleDelegation_P_P_Signal_Tester_testActivity.AddEdge(SingleDelegation_P_P_Signal_Tester_testActivity_ObjectFlow120); + // ObjectFlow ObjectFlow127 from result to p + SingleDelegation_P_P_Signal_Tester_testActivity_ObjectFlow127.SetName("ObjectFlow127"); + SingleDelegation_P_P_Signal_Tester_testActivity_ObjectFlow127.SetVisibility(VisibilityKind.public_); + + SingleDelegation_P_P_Signal_Tester_testActivity_ObjectFlow127.SetSource(SingleDelegation_P_P_Signal_Tester_testActivity_Read_b_p_result); + SingleDelegation_P_P_Signal_Tester_testActivity_ObjectFlow127.SetTarget(SingleDelegation_P_P_Signal_Tester_testActivity_Call_testP_p); + // LiteralBoolean LiteralBoolean129 + SingleDelegation_P_P_Signal_Tester_testActivity_ObjectFlow127_LiteralBoolean129.SetName("LiteralBoolean129"); + SingleDelegation_P_P_Signal_Tester_testActivity_ObjectFlow127_LiteralBoolean129.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_P_Signal_Tester_testActivity_ObjectFlow127_LiteralBoolean129.SetValue(true); + SingleDelegation_P_P_Signal_Tester_testActivity_ObjectFlow127.SetGuard(SingleDelegation_P_P_Signal_Tester_testActivity_ObjectFlow127_LiteralBoolean129); + SingleDelegation_P_P_Signal_Tester_testActivity.AddEdge(SingleDelegation_P_P_Signal_Tester_testActivity_ObjectFlow127); + // ObjectFlow ObjectFlow104 from result to value + SingleDelegation_P_P_Signal_Tester_testActivity_ObjectFlow104.SetName("ObjectFlow104"); + SingleDelegation_P_P_Signal_Tester_testActivity_ObjectFlow104.SetVisibility(VisibilityKind.public_); + + SingleDelegation_P_P_Signal_Tester_testActivity_ObjectFlow104.SetSource(SingleDelegation_P_P_Signal_Tester_testActivity_EndMessage_result); + SingleDelegation_P_P_Signal_Tester_testActivity_ObjectFlow104.SetTarget(SingleDelegation_P_P_Signal_Tester_testActivity_WriteLine_EndMessage_value); + // LiteralBoolean LiteralBoolean106 + SingleDelegation_P_P_Signal_Tester_testActivity_ObjectFlow104_LiteralBoolean106.SetName("LiteralBoolean106"); + SingleDelegation_P_P_Signal_Tester_testActivity_ObjectFlow104_LiteralBoolean106.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_P_Signal_Tester_testActivity_ObjectFlow104_LiteralBoolean106.SetValue(true); + SingleDelegation_P_P_Signal_Tester_testActivity_ObjectFlow104.SetGuard(SingleDelegation_P_P_Signal_Tester_testActivity_ObjectFlow104_LiteralBoolean106); + SingleDelegation_P_P_Signal_Tester_testActivity.AddEdge(SingleDelegation_P_P_Signal_Tester_testActivity_ObjectFlow104); + // ObjectFlow ObjectFlow107 from result to object + SingleDelegation_P_P_Signal_Tester_testActivity_ObjectFlow107.SetName("ObjectFlow107"); + SingleDelegation_P_P_Signal_Tester_testActivity_ObjectFlow107.SetVisibility(VisibilityKind.public_); + + SingleDelegation_P_P_Signal_Tester_testActivity_ObjectFlow107.SetSource(SingleDelegation_P_P_Signal_Tester_testActivity_Read_this_a_result); + SingleDelegation_P_P_Signal_Tester_testActivity_ObjectFlow107.SetTarget(SingleDelegation_P_P_Signal_Tester_testActivity_Read_a_b_object); + // LiteralBoolean LiteralBoolean109 + SingleDelegation_P_P_Signal_Tester_testActivity_ObjectFlow107_LiteralBoolean109.SetName("LiteralBoolean109"); + SingleDelegation_P_P_Signal_Tester_testActivity_ObjectFlow107_LiteralBoolean109.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_P_Signal_Tester_testActivity_ObjectFlow107_LiteralBoolean109.SetValue(true); + SingleDelegation_P_P_Signal_Tester_testActivity_ObjectFlow107.SetGuard(SingleDelegation_P_P_Signal_Tester_testActivity_ObjectFlow107_LiteralBoolean109); + SingleDelegation_P_P_Signal_Tester_testActivity.AddEdge(SingleDelegation_P_P_Signal_Tester_testActivity_ObjectFlow107); + // ObjectFlow ObjectFlow130 from result to object + SingleDelegation_P_P_Signal_Tester_testActivity_ObjectFlow130.SetName("ObjectFlow130"); + SingleDelegation_P_P_Signal_Tester_testActivity_ObjectFlow130.SetVisibility(VisibilityKind.public_); + + SingleDelegation_P_P_Signal_Tester_testActivity_ObjectFlow130.SetSource(SingleDelegation_P_P_Signal_Tester_testActivity_Read_a_b_result); + SingleDelegation_P_P_Signal_Tester_testActivity_ObjectFlow130.SetTarget(SingleDelegation_P_P_Signal_Tester_testActivity_Read_b_p_object); + // LiteralBoolean LiteralBoolean132 + SingleDelegation_P_P_Signal_Tester_testActivity_ObjectFlow130_LiteralBoolean132.SetName("LiteralBoolean132"); + SingleDelegation_P_P_Signal_Tester_testActivity_ObjectFlow130_LiteralBoolean132.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_P_Signal_Tester_testActivity_ObjectFlow130_LiteralBoolean132.SetValue(true); + SingleDelegation_P_P_Signal_Tester_testActivity_ObjectFlow130.SetGuard(SingleDelegation_P_P_Signal_Tester_testActivity_ObjectFlow130_LiteralBoolean132); + SingleDelegation_P_P_Signal_Tester_testActivity.AddEdge(SingleDelegation_P_P_Signal_Tester_testActivity_ObjectFlow130); + // ObjectFlow ObjectFlow139 from result to object + SingleDelegation_P_P_Signal_Tester_testActivity_ObjectFlow139.SetName("ObjectFlow139"); + SingleDelegation_P_P_Signal_Tester_testActivity_ObjectFlow139.SetVisibility(VisibilityKind.public_); + + SingleDelegation_P_P_Signal_Tester_testActivity_ObjectFlow139.SetSource(SingleDelegation_P_P_Signal_Tester_testActivity_this_result); + SingleDelegation_P_P_Signal_Tester_testActivity_ObjectFlow139.SetTarget(SingleDelegation_P_P_Signal_Tester_testActivity_Read_this_a_object); + // LiteralBoolean LiteralBoolean140 + SingleDelegation_P_P_Signal_Tester_testActivity_ObjectFlow139_LiteralBoolean140.SetName("LiteralBoolean140"); + SingleDelegation_P_P_Signal_Tester_testActivity_ObjectFlow139_LiteralBoolean140.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_P_Signal_Tester_testActivity_ObjectFlow139_LiteralBoolean140.SetValue(true); + SingleDelegation_P_P_Signal_Tester_testActivity_ObjectFlow139.SetGuard(SingleDelegation_P_P_Signal_Tester_testActivity_ObjectFlow139_LiteralBoolean140); + SingleDelegation_P_P_Signal_Tester_testActivity.AddEdge(SingleDelegation_P_P_Signal_Tester_testActivity_ObjectFlow139); + SingleDelegation_P_P_Signal_Tester.AddOwnedBehavior(SingleDelegation_P_P_Signal_Tester_testActivity); + + SingleDelegation_P_P_Signal_Tester.SetIsActive(true); + // Operation Tester_Tester + SingleDelegation_P_P_Signal_Tester_Tester_Tester.SetName("Tester_Tester"); + SingleDelegation_P_P_Signal_Tester_Tester_Tester.SetVisibility(VisibilityKind.public_); + // Parameter result + SingleDelegation_P_P_Signal_Tester_Tester_Tester_result.SetName("result"); + SingleDelegation_P_P_Signal_Tester_Tester_Tester_result.SetVisibility(VisibilityKind.public_); + + SingleDelegation_P_P_Signal_Tester_Tester_Tester_result.SetType(SingleDelegation_P_P_Signal_Tester); + SingleDelegation_P_P_Signal_Tester_Tester_Tester_result.SetDirection(ParameterDirectionKind.return_); + SingleDelegation_P_P_Signal_Tester_Tester_Tester.AddOwnedParameter(SingleDelegation_P_P_Signal_Tester_Tester_Tester_result); + SingleDelegation_P_P_Signal_Tester_Tester_Tester.ApplyStereotype(uml.standardprofile.StandardProfileModel.Instance().Stereotype_Create); + SingleDelegation_P_P_Signal_Tester.AddOwnedOperation(SingleDelegation_P_P_Signal_Tester_Tester_Tester); + // Operation test + SingleDelegation_P_P_Signal_Tester_test.SetName("test"); + SingleDelegation_P_P_Signal_Tester_test.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_P_Signal_Tester_test.AddMethod(SingleDelegation_P_P_Signal_Tester_testActivity); + SingleDelegation_P_P_Signal_Tester_test.AddRedefinedOperation(SingleDelegation_P_P_Signal_AbstractTester_test); + SingleDelegation_P_P_Signal_Tester.AddOwnedOperation(SingleDelegation_P_P_Signal_Tester_test); + SingleDelegation_P_P_Signal.AddPackagedElement(SingleDelegation_P_P_Signal_Tester); + // Class AbstractTester + SingleDelegation_P_P_Signal_AbstractTester.SetName("AbstractTester"); + SingleDelegation_P_P_Signal_AbstractTester.SetVisibility(VisibilityKind.public_); + + SingleDelegation_P_P_Signal_AbstractTester.SetIsAbstract(true); + + + SingleDelegation_P_P_Signal_AbstractTester.SetIsActive(true); + // Operation test + SingleDelegation_P_P_Signal_AbstractTester_test.SetName("test"); + SingleDelegation_P_P_Signal_AbstractTester_test.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_P_Signal_AbstractTester_test.SetIsAbstract(true); + SingleDelegation_P_P_Signal_AbstractTester.AddOwnedOperation(SingleDelegation_P_P_Signal_AbstractTester_test); + // Reception Start + SingleDelegation_P_P_Signal_AbstractTester_Start.SetName("Start"); + SingleDelegation_P_P_Signal_AbstractTester_Start.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_P_Signal_AbstractTester_Start.SetSignal(SingleDelegation_P_P_Signal_Start); + SingleDelegation_P_P_Signal_AbstractTester.AddOwnedReception(SingleDelegation_P_P_Signal_AbstractTester_Start); + // Reception Continue + SingleDelegation_P_P_Signal_AbstractTester_Continue.SetName("Continue"); + SingleDelegation_P_P_Signal_AbstractTester_Continue.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_P_Signal_AbstractTester_Continue.SetSignal(SingleDelegation_P_P_Signal_Continue); + SingleDelegation_P_P_Signal_AbstractTester.AddOwnedReception(SingleDelegation_P_P_Signal_AbstractTester_Continue); + SingleDelegation_P_P_Signal.AddPackagedElement(SingleDelegation_P_P_Signal_AbstractTester); + // Activity main + SingleDelegation_P_P_Signal_main.SetName("main"); + SingleDelegation_P_P_Signal_main.SetVisibility(VisibilityKind.public_); + // CallOperationAction Tester() + SingleDelegation_P_P_Signal_main_Tester_.SetName("Tester()"); + SingleDelegation_P_P_Signal_main_Tester_.SetVisibility(VisibilityKind.public_); + + // OutputPin result + SingleDelegation_P_P_Signal_main_Tester__result.SetName("result"); + SingleDelegation_P_P_Signal_main_Tester__result.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_P_Signal_main_Tester__result.SetType(SingleDelegation_P_P_Signal_Tester); + SingleDelegation_P_P_Signal_main_Tester_.AddResult(SingleDelegation_P_P_Signal_main_Tester__result); + SingleDelegation_P_P_Signal_main_Tester_.SetOperation(SingleDelegation_P_P_Signal_Tester_Tester_Tester); + // InputPin target + SingleDelegation_P_P_Signal_main_Tester__target.SetName("target"); + SingleDelegation_P_P_Signal_main_Tester__target.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_P_Signal_main_Tester__target.SetType(SingleDelegation_P_P_Signal_Tester); + SingleDelegation_P_P_Signal_main_Tester_.SetTarget(SingleDelegation_P_P_Signal_main_Tester__target); + SingleDelegation_P_P_Signal_main.AddNode(SingleDelegation_P_P_Signal_main_Tester_); + // CreateObjectAction Create Tester + SingleDelegation_P_P_Signal_main_Create_Tester.SetName("Create Tester"); + SingleDelegation_P_P_Signal_main_Create_Tester.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_P_Signal_main_Create_Tester.SetClassifier(SingleDelegation_P_P_Signal_Tester); + // OutputPin result + SingleDelegation_P_P_Signal_main_Create_Tester_result.SetName("result"); + SingleDelegation_P_P_Signal_main_Create_Tester_result.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_P_Signal_main_Create_Tester_result.SetType(SingleDelegation_P_P_Signal_Tester); + SingleDelegation_P_P_Signal_main_Create_Tester.SetResult(SingleDelegation_P_P_Signal_main_Create_Tester_result); + SingleDelegation_P_P_Signal_main.AddNode(SingleDelegation_P_P_Signal_main_Create_Tester); + // StartObjectBehaviorAction Start Tester + SingleDelegation_P_P_Signal_main_Start_Tester.SetName("Start Tester"); + SingleDelegation_P_P_Signal_main_Start_Tester.SetVisibility(VisibilityKind.public_); + // InputPin object + SingleDelegation_P_P_Signal_main_Start_Tester_object.SetName("object"); + SingleDelegation_P_P_Signal_main_Start_Tester_object.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_P_Signal_main_Start_Tester_object.SetType(SingleDelegation_P_P_Signal_Tester); + SingleDelegation_P_P_Signal_main_Start_Tester.SetObject(SingleDelegation_P_P_Signal_main_Start_Tester_object); + SingleDelegation_P_P_Signal_main.AddNode(SingleDelegation_P_P_Signal_main_Start_Tester); + // SendSignalAction Send Start + SingleDelegation_P_P_Signal_main_Send_Start.SetName("Send Start"); + SingleDelegation_P_P_Signal_main_Send_Start.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_P_Signal_main_Send_Start.SetSignal(SingleDelegation_P_P_Signal_Start); + // InputPin target + SingleDelegation_P_P_Signal_main_Send_Start_target.SetName("target"); + SingleDelegation_P_P_Signal_main_Send_Start_target.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_P_Signal_main_Send_Start_target.SetType(SingleDelegation_P_P_Signal_Tester); + SingleDelegation_P_P_Signal_main_Send_Start.SetTarget(SingleDelegation_P_P_Signal_main_Send_Start_target); + SingleDelegation_P_P_Signal_main.AddNode(SingleDelegation_P_P_Signal_main_Send_Start); + // ForkNode Fork Tester + SingleDelegation_P_P_Signal_main_Fork_Tester.SetName("Fork Tester"); + SingleDelegation_P_P_Signal_main_Fork_Tester.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_P_Signal_main.AddNode(SingleDelegation_P_P_Signal_main_Fork_Tester); + // ObjectFlow ObjectFlow158 from result to target + SingleDelegation_P_P_Signal_main_ObjectFlow158.SetName("ObjectFlow158"); + SingleDelegation_P_P_Signal_main_ObjectFlow158.SetVisibility(VisibilityKind.public_); + + SingleDelegation_P_P_Signal_main_ObjectFlow158.SetSource(SingleDelegation_P_P_Signal_main_Create_Tester_result); + SingleDelegation_P_P_Signal_main_ObjectFlow158.SetTarget(SingleDelegation_P_P_Signal_main_Tester__target); + // LiteralBoolean LiteralBoolean159 + SingleDelegation_P_P_Signal_main_ObjectFlow158_LiteralBoolean159.SetName("LiteralBoolean159"); + SingleDelegation_P_P_Signal_main_ObjectFlow158_LiteralBoolean159.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_P_Signal_main_ObjectFlow158_LiteralBoolean159.SetValue(true); + SingleDelegation_P_P_Signal_main_ObjectFlow158.SetGuard(SingleDelegation_P_P_Signal_main_ObjectFlow158_LiteralBoolean159); + SingleDelegation_P_P_Signal_main.AddEdge(SingleDelegation_P_P_Signal_main_ObjectFlow158); + // ObjectFlow ObjectFlow163 from Fork Tester to object + SingleDelegation_P_P_Signal_main_ObjectFlow163.SetName("ObjectFlow163"); + SingleDelegation_P_P_Signal_main_ObjectFlow163.SetVisibility(VisibilityKind.public_); + + SingleDelegation_P_P_Signal_main_ObjectFlow163.SetSource(SingleDelegation_P_P_Signal_main_Fork_Tester); + SingleDelegation_P_P_Signal_main_ObjectFlow163.SetTarget(SingleDelegation_P_P_Signal_main_Start_Tester_object); + // LiteralBoolean LiteralBoolean164 + SingleDelegation_P_P_Signal_main_ObjectFlow163_LiteralBoolean164.SetName("LiteralBoolean164"); + SingleDelegation_P_P_Signal_main_ObjectFlow163_LiteralBoolean164.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_P_Signal_main_ObjectFlow163_LiteralBoolean164.SetValue(true); + SingleDelegation_P_P_Signal_main_ObjectFlow163.SetGuard(SingleDelegation_P_P_Signal_main_ObjectFlow163_LiteralBoolean164); + SingleDelegation_P_P_Signal_main.AddEdge(SingleDelegation_P_P_Signal_main_ObjectFlow163); + // ControlFlow ControlFlow166 from Start Tester to Send Start + SingleDelegation_P_P_Signal_main_ControlFlow166.SetName("ControlFlow166"); + SingleDelegation_P_P_Signal_main_ControlFlow166.SetVisibility(VisibilityKind.public_); + + SingleDelegation_P_P_Signal_main_ControlFlow166.SetSource(SingleDelegation_P_P_Signal_main_Start_Tester); + SingleDelegation_P_P_Signal_main_ControlFlow166.SetTarget(SingleDelegation_P_P_Signal_main_Send_Start); + SingleDelegation_P_P_Signal_main.AddEdge(SingleDelegation_P_P_Signal_main_ControlFlow166); + // ObjectFlow ObjectFlow167 from result to Fork Tester + SingleDelegation_P_P_Signal_main_ObjectFlow167.SetName("ObjectFlow167"); + SingleDelegation_P_P_Signal_main_ObjectFlow167.SetVisibility(VisibilityKind.public_); + + SingleDelegation_P_P_Signal_main_ObjectFlow167.SetSource(SingleDelegation_P_P_Signal_main_Tester__result); + SingleDelegation_P_P_Signal_main_ObjectFlow167.SetTarget(SingleDelegation_P_P_Signal_main_Fork_Tester); + // LiteralBoolean LiteralBoolean169 + SingleDelegation_P_P_Signal_main_ObjectFlow167_LiteralBoolean169.SetName("LiteralBoolean169"); + SingleDelegation_P_P_Signal_main_ObjectFlow167_LiteralBoolean169.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_P_Signal_main_ObjectFlow167_LiteralBoolean169.SetValue(true); + SingleDelegation_P_P_Signal_main_ObjectFlow167.SetGuard(SingleDelegation_P_P_Signal_main_ObjectFlow167_LiteralBoolean169); + SingleDelegation_P_P_Signal_main.AddEdge(SingleDelegation_P_P_Signal_main_ObjectFlow167); + // ObjectFlow ObjectFlow174 from Fork Tester to target + SingleDelegation_P_P_Signal_main_ObjectFlow174.SetName("ObjectFlow174"); + SingleDelegation_P_P_Signal_main_ObjectFlow174.SetVisibility(VisibilityKind.public_); + + SingleDelegation_P_P_Signal_main_ObjectFlow174.SetSource(SingleDelegation_P_P_Signal_main_Fork_Tester); + SingleDelegation_P_P_Signal_main_ObjectFlow174.SetTarget(SingleDelegation_P_P_Signal_main_Send_Start_target); + // LiteralBoolean LiteralBoolean175 + SingleDelegation_P_P_Signal_main_ObjectFlow174_LiteralBoolean175.SetName("LiteralBoolean175"); + SingleDelegation_P_P_Signal_main_ObjectFlow174_LiteralBoolean175.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_P_Signal_main_ObjectFlow174_LiteralBoolean175.SetValue(true); + SingleDelegation_P_P_Signal_main_ObjectFlow174.SetGuard(SingleDelegation_P_P_Signal_main_ObjectFlow174_LiteralBoolean175); + SingleDelegation_P_P_Signal_main.AddEdge(SingleDelegation_P_P_Signal_main_ObjectFlow174); + SingleDelegation_P_P_Signal.AddPackagedElement(SingleDelegation_P_P_Signal_main); + // Interface I + SingleDelegation_P_P_Signal_I.SetName("I"); + SingleDelegation_P_P_Signal_I.SetVisibility(VisibilityKind.public_); + // Reception S + SingleDelegation_P_P_Signal_I_S.SetName("S"); + SingleDelegation_P_P_Signal_I_S.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_P_Signal_I_S.SetSignal(SingleDelegation_P_P_Signal_S); + SingleDelegation_P_P_Signal_I.AddOwnedReception(SingleDelegation_P_P_Signal_I_S); + SingleDelegation_P_P_Signal.AddPackagedElement(SingleDelegation_P_P_Signal_I); + // SignalEvent SignalEventStart + SingleDelegation_P_P_Signal_SignalEventStart.SetName("SignalEventStart"); + SingleDelegation_P_P_Signal_SignalEventStart.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_P_Signal_SignalEventStart.SetSignal(SingleDelegation_P_P_Signal_Start); + SingleDelegation_P_P_Signal.AddPackagedElement(SingleDelegation_P_P_Signal_SignalEventStart); + } + + /* Start of user code : User-defined members + * This section may be used for user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } // SingleDelegation_P_P_SignalModel +} diff --git a/fUML-CSharp/tests/pscs-Tests/02_Communication/06_SingleDelegation_P_P_Signal/src/testPExecution.cs b/fUML-CSharp/tests/pscs-Tests/02_Communication/06_SingleDelegation_P_P_Signal/src/testPExecution.cs new file mode 100644 index 0000000..2c2cf7c --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/02_Communication/06_SingleDelegation_P_P_Signal/src/testPExecution.cs @@ -0,0 +1,78 @@ +/* + * testPExecution.cs + * + * Auto-generated file + */ + +using fuml.semantics.commonbehavior; +using fuml; +using fuml.semantics.simpleclassifiers; +using fuml.semantics.values; + +/* Start of user code : User-defined includes and forward declarations + * This section may be used for includes and forward declarations. + * It will not be overwritten by future generation processes. + */ + +/* + * End of user code + */ + +namespace SingleDelegation_P_P_Signal +{ + public class testPExecution : OpaqueBehaviorExecution + { + public testPExecution() + { + types.Add(SingleDelegation_P_P_SignalModel.Instance().SingleDelegation_P_P_Signal_Tester_testActivity_testP); + /* Start of user code : Additional opaque behavior execution initializations + * This section may be used to do any additional opaque behavior execution initialization, + * for example initializing user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } + + public override void DoBody(List inputParameters, List outputParameters) + { + Console.WriteLine("Asserting a.b.p == 4"); + + // Test parameter p + int p = ((IntegerValue)inputParameters.ElementAt(0).values.ElementAt(0)).value; + Debug.Println("[doBody] argument p = " + p); + + Console.WriteLine("a.b.p == " + p); + Console.Write("Signal delegated to classifier behavior: "); + + if(p == 4) + { + Console.ForegroundColor = ConsoleColor.Green; + Console.WriteLine("Assertion successful."); + } + else + { + Console.ForegroundColor = ConsoleColor.Red; + Console.WriteLine("Assertion failed!"); + } + + Console.ResetColor(); + } + + protected override Value New_() + { + return new testPExecution(); + } + + /* Start of user code : User-defined members + * This section may be used for user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } // testPExecution +} diff --git a/fUML-CSharp/tests/pscs-Tests/02_Communication/07_SingleDelegation_P_PWP_Operation/.gitignore b/fUML-CSharp/tests/pscs-Tests/02_Communication/07_SingleDelegation_P_PWP_Operation/.gitignore new file mode 100644 index 0000000..1736844 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/02_Communication/07_SingleDelegation_P_PWP_Operation/.gitignore @@ -0,0 +1,3 @@ +/.vs/ +/bin/ +/obj/ diff --git a/fUML-CSharp/tests/pscs-Tests/02_Communication/07_SingleDelegation_P_PWP_Operation/SingleDelegation_P_PWP_Operation.csproj b/fUML-CSharp/tests/pscs-Tests/02_Communication/07_SingleDelegation_P_PWP_Operation/SingleDelegation_P_PWP_Operation.csproj new file mode 100644 index 0000000..5807edf --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/02_Communication/07_SingleDelegation_P_PWP_Operation/SingleDelegation_P_PWP_Operation.csproj @@ -0,0 +1,50 @@ + + + + Exe + net6.0 + enable + enable + + + + SingleDelegation_P_PWP_Operation.Debug + + + SingleDelegation_P_PWP_Operation.Release + + + + + ..\..\..\..\uml\bin\Debug\net6.0\uml.Debug.dll + + + + + ..\..\..\..\uml\bin\Release\net6.0\uml.Release.dll + + + + + + ..\..\..\..\fuml\bin\Debug\net6.0\fuml.Debug.dll + + + + + ..\..\..\..\fuml\bin\Release\net6.0\fuml.Release.dll + + + + + + ..\..\..\..\pscs\bin\Debug\net6.0\pscs.Debug.dll + + + + + ..\..\..\..\pscs\bin\Release\net6.0\pscs.Release.dll + + + + diff --git a/fUML-CSharp/tests/pscs-Tests/02_Communication/07_SingleDelegation_P_PWP_Operation/SingleDelegation_P_PWP_Operation.sln b/fUML-CSharp/tests/pscs-Tests/02_Communication/07_SingleDelegation_P_PWP_Operation/SingleDelegation_P_PWP_Operation.sln new file mode 100644 index 0000000..55994e3 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/02_Communication/07_SingleDelegation_P_PWP_Operation/SingleDelegation_P_PWP_Operation.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.32112.339 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SingleDelegation_P_PWP_Operation", "SingleDelegation_P_PWP_Operation.csproj", "{052789AB-04BA-4E55-9EBA-82B98E7A3BFD}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {052789AB-04BA-4E55-9EBA-82B98E7A3BFD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {052789AB-04BA-4E55-9EBA-82B98E7A3BFD}.Debug|Any CPU.Build.0 = Debug|Any CPU + {052789AB-04BA-4E55-9EBA-82B98E7A3BFD}.Release|Any CPU.ActiveCfg = Release|Any CPU + {052789AB-04BA-4E55-9EBA-82B98E7A3BFD}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {84DBFB2A-5311-4678-A34D-916078244F67} + EndGlobalSection +EndGlobal diff --git a/fUML-CSharp/tests/pscs-Tests/02_Communication/07_SingleDelegation_P_PWP_Operation/model/SingleDelegation_P_PWP_Operation.di b/fUML-CSharp/tests/pscs-Tests/02_Communication/07_SingleDelegation_P_PWP_Operation/model/SingleDelegation_P_PWP_Operation.di new file mode 100644 index 0000000..8c549ee --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/02_Communication/07_SingleDelegation_P_PWP_Operation/model/SingleDelegation_P_PWP_Operation.di @@ -0,0 +1,2 @@ + + diff --git a/fUML-CSharp/tests/pscs-Tests/02_Communication/07_SingleDelegation_P_PWP_Operation/model/SingleDelegation_P_PWP_Operation.notation b/fUML-CSharp/tests/pscs-Tests/02_Communication/07_SingleDelegation_P_PWP_Operation/model/SingleDelegation_P_PWP_Operation.notation new file mode 100644 index 0000000..c7a1f08 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/02_Communication/07_SingleDelegation_P_PWP_Operation/model/SingleDelegation_P_PWP_Operation.notation @@ -0,0 +1,1040 @@ + + + + + +
+
+ + + + + +
+ + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/fUML-CSharp/tests/pscs-Tests/02_Communication/07_SingleDelegation_P_PWP_Operation/model/SingleDelegation_P_PWP_Operation.uml b/fUML-CSharp/tests/pscs-Tests/02_Communication/07_SingleDelegation_P_PWP_Operation/model/SingleDelegation_P_PWP_Operation.uml new file mode 100644 index 0000000..c4b67ab --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/02_Communication/07_SingleDelegation_P_PWP_Operation/model/SingleDelegation_P_PWP_Operation.uml @@ -0,0 +1,332 @@ + + + + + This test case addresses forwarding of an operation call through a single delegation link, corresponding to a single +connector, expressed between a port and a part with port. + + + Passing: true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + C# + Using + Console.WriteLine("Asserting c.a.b.p == 4"); + + // Test parameter p + int p = ((IntegerValue)inputParameters.ElementAt(0).values.ElementAt(0)).value; + Debug.Println("[doBody] argument p = " + p); + + Console.WriteLine("c.a.b.p == " + p); + Console.Write("Operation call delegated: "); + + if(p == 4) + { + Console.ForegroundColor = ConsoleColor.Green; + Console.WriteLine("Assertion successful."); + } + else + { + Console.ForegroundColor = ConsoleColor.Red; + Console.WriteLine("Assertion failed!"); + } + + Console.ResetColor(); + using fuml.semantics.simpleclassifiers; + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/fUML-CSharp/tests/pscs-Tests/02_Communication/07_SingleDelegation_P_PWP_Operation/src/SingleDelegation_P_PWP_Operation.cs b/fUML-CSharp/tests/pscs-Tests/02_Communication/07_SingleDelegation_P_PWP_Operation/src/SingleDelegation_P_PWP_Operation.cs new file mode 100644 index 0000000..2b2859e --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/02_Communication/07_SingleDelegation_P_PWP_Operation/src/SingleDelegation_P_PWP_Operation.cs @@ -0,0 +1,31 @@ +namespace SingleDelegation_P_PWP_Operation +{ + internal class SingleDelegation_P_PWP_Operation + { + static void PrintUsage() + { + Console.WriteLine( + "=============================================================================================\n" + + "USAGE: [ <...>]\n" + + "=============================================================================================\n" + ); + } + + static int Main(string[] args) + { + if(args.Length == 0) + { + Console.WriteLine("[ERROR] Must declare at least one behavior name.\n"); + PrintUsage(); + return -1; + } + + foreach (string arg in args) + { + SingleDelegation_P_PWP_OperationEnvironment.Instance().Execute(arg); + } + + return 0; + } + } +} diff --git a/fUML-CSharp/tests/pscs-Tests/02_Communication/07_SingleDelegation_P_PWP_Operation/src/SingleDelegation_P_PWP_OperationEnvironment.cs b/fUML-CSharp/tests/pscs-Tests/02_Communication/07_SingleDelegation_P_PWP_Operation/src/SingleDelegation_P_PWP_OperationEnvironment.cs new file mode 100644 index 0000000..be6e850 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/02_Communication/07_SingleDelegation_P_PWP_Operation/src/SingleDelegation_P_PWP_OperationEnvironment.cs @@ -0,0 +1,93 @@ +/* + * SingleDelegation_P_PWP_OperationEnvironment.cs + * + * Auto-generated file + */ + +/* Start of user code : User-defined using directives + * This section may be used for using directives. + * It will not be overwritten by future generation processes. + */ + +/* + * End of user code + */ + +namespace SingleDelegation_P_PWP_Operation +{ + public class SingleDelegation_P_PWP_OperationEnvironment : pscs.environment.Environment + { + private static SingleDelegation_P_PWP_OperationEnvironment? instance; + + public static SingleDelegation_P_PWP_OperationEnvironment Instance() + { + if(instance is null) + { + instance = new(); + instance.inMemoryModel = SingleDelegation_P_PWP_OperationModel.Instance(); + } + + return instance; + } + + public SingleDelegation_P_PWP_OperationEnvironment() + { + /* + * Create custom opaque behavior execution instances and add them to the execution environment. + */ + AddPrimitiveBehaviorPrototype(new testPExecution()); + + /* Start of user code : Additional environment initializations + * This section may be used to do any additional environment initialization, + * for example initializing user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } + + public override void Execute(string behaviorName) + { + /* Start of user code : Context and inputs initializations + * This section may be used to initialize the execution context + * as well as input parameter values if required. + * It will not be overwritten by future generation processes. + */ + + //context = ...; + //inputs = ...; + + /* + * End of user code + */ + + /* + * Start execution via base class call + */ + base.Execute(behaviorName); + + /* Start of user code : Outputs evaluation + * This section may be used to evaluate output parameter values if required. + * It will not be overwritten by future generation processes. + */ + + //List theOutputs = outputs; + //... + + /* + * End of user code + */ + } + + /* Start of user code : User-defined members + * This section may be used for user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } // SingleDelegation_P_PWP_OperationEnvironment +} diff --git a/fUML-CSharp/tests/pscs-Tests/02_Communication/07_SingleDelegation_P_PWP_Operation/src/SingleDelegation_P_PWP_OperationModel.cs b/fUML-CSharp/tests/pscs-Tests/02_Communication/07_SingleDelegation_P_PWP_Operation/src/SingleDelegation_P_PWP_OperationModel.cs new file mode 100644 index 0000000..58e380e --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/02_Communication/07_SingleDelegation_P_PWP_Operation/src/SingleDelegation_P_PWP_OperationModel.cs @@ -0,0 +1,1073 @@ +/* + * SingleDelegation_P_PWP_OperationModel.cs + * + * Auto-generated file + */ + +using uml.actions; +using uml.packages; +using uml.structuredclassifiers; +using fuml.primitivetypes; +using uml.classification; +using fuml.library; +using uml.simpleclassifiers; +using uml.commonbehavior; +using uml.commonstructure; +using uml.values; +using uml.activities; +using uml.environment; + + +/* Start of user code : User-defined includes and forward declarations + * This section may be used for includes and forward declarations. + * It will not be overwritten by future generation processes. + */ + +/* + * End of user code + */ + +namespace SingleDelegation_P_PWP_Operation +{ + public class SingleDelegation_P_PWP_OperationModel : InMemoryModel + { + private static SingleDelegation_P_PWP_OperationModel? instance; + + /* + * Model SingleDelegation_P_PWP_Operation + */ + public Package SingleDelegation_P_PWP_Operation = new(); + public Association SingleDelegation_P_PWP_Operation_R = new(); + public Property SingleDelegation_P_PWP_Operation_R_y = new(); + public Property SingleDelegation_P_PWP_Operation_R_x = new(); + public Activity SingleDelegation_P_PWP_Operation_main = new(); + public ReadStructuralFeatureAction SingleDelegation_P_PWP_Operation_main_Read_c_a = new(); + public OutputPin SingleDelegation_P_PWP_Operation_main_Read_c_a_result = new(); + public LiteralUnlimitedNatural SingleDelegation_P_PWP_Operation_main_Read_c_a_result_LiteralUnlimitedNatural0 = new(); + public LiteralInteger SingleDelegation_P_PWP_Operation_main_Read_c_a_result_LiteralInteger1 = new(); + public InputPin SingleDelegation_P_PWP_Operation_main_Read_c_a_object = new(); + public LiteralUnlimitedNatural SingleDelegation_P_PWP_Operation_main_Read_c_a_object_LiteralUnlimitedNatural2 = new(); + public LiteralInteger SingleDelegation_P_PWP_Operation_main_Read_c_a_object_LiteralInteger3 = new(); + public ObjectFlow SingleDelegation_P_PWP_Operation_main_ObjectFlow4 = new(); + public LiteralBoolean SingleDelegation_P_PWP_Operation_main_ObjectFlow4_LiteralBoolean5 = new(); + public LiteralInteger SingleDelegation_P_PWP_Operation_main_ObjectFlow4_LiteralInteger6 = new(); + public ReadStructuralFeatureAction SingleDelegation_P_PWP_Operation_main_Read_b_p = new(); + public InputPin SingleDelegation_P_PWP_Operation_main_Read_b_p_object = new(); + public LiteralInteger SingleDelegation_P_PWP_Operation_main_Read_b_p_object_LiteralInteger7 = new(); + public LiteralUnlimitedNatural SingleDelegation_P_PWP_Operation_main_Read_b_p_object_LiteralUnlimitedNatural8 = new(); + public OutputPin SingleDelegation_P_PWP_Operation_main_Read_b_p_result = new(); + public LiteralUnlimitedNatural SingleDelegation_P_PWP_Operation_main_Read_b_p_result_LiteralUnlimitedNatural9 = new(); + public LiteralInteger SingleDelegation_P_PWP_Operation_main_Read_b_p_result_LiteralInteger10 = new(); + public CallBehaviorAction SingleDelegation_P_PWP_Operation_main_Call_testP = new(); + public InputPin SingleDelegation_P_PWP_Operation_main_Call_testP_p = new(); + public LiteralInteger SingleDelegation_P_PWP_Operation_main_Call_testP_p_LiteralInteger11 = new(); + public LiteralUnlimitedNatural SingleDelegation_P_PWP_Operation_main_Call_testP_p_LiteralUnlimitedNatural12 = new(); + public LiteralInteger SingleDelegation_P_PWP_Operation_main_Call_testP_p_LiteralInteger13 = new(); + public ObjectFlow SingleDelegation_P_PWP_Operation_main_ObjectFlow14 = new(); + public LiteralBoolean SingleDelegation_P_PWP_Operation_main_ObjectFlow14_LiteralBoolean15 = new(); + public LiteralInteger SingleDelegation_P_PWP_Operation_main_ObjectFlow14_LiteralInteger16 = new(); + public ControlFlow SingleDelegation_P_PWP_Operation_main_ControlFlow17 = new(); + public CreateObjectAction SingleDelegation_P_PWP_Operation_main_Create_C = new(); + public OutputPin SingleDelegation_P_PWP_Operation_main_Create_C_result = new(); + public LiteralInteger SingleDelegation_P_PWP_Operation_main_Create_C_result_LiteralInteger18 = new(); + public LiteralUnlimitedNatural SingleDelegation_P_PWP_Operation_main_Create_C_result_LiteralUnlimitedNatural19 = new(); + public ReadStructuralFeatureAction SingleDelegation_P_PWP_Operation_main_Read_c_p = new(); + public OutputPin SingleDelegation_P_PWP_Operation_main_Read_c_p_result = new(); + public LiteralInteger SingleDelegation_P_PWP_Operation_main_Read_c_p_result_LiteralInteger20 = new(); + public LiteralUnlimitedNatural SingleDelegation_P_PWP_Operation_main_Read_c_p_result_LiteralUnlimitedNatural21 = new(); + public InputPin SingleDelegation_P_PWP_Operation_main_Read_c_p_object = new(); + public LiteralInteger SingleDelegation_P_PWP_Operation_main_Read_c_p_object_LiteralInteger22 = new(); + public LiteralUnlimitedNatural SingleDelegation_P_PWP_Operation_main_Read_c_p_object_LiteralUnlimitedNatural23 = new(); + public OpaqueBehavior SingleDelegation_P_PWP_Operation_main_testP = new(); + public Parameter SingleDelegation_P_PWP_Operation_main_testP_p = new(); + public ObjectFlow SingleDelegation_P_PWP_Operation_main_ObjectFlow24 = new(); + public LiteralBoolean SingleDelegation_P_PWP_Operation_main_ObjectFlow24_LiteralBoolean25 = new(); + public LiteralInteger SingleDelegation_P_PWP_Operation_main_ObjectFlow24_LiteralInteger26 = new(); + public ObjectFlow SingleDelegation_P_PWP_Operation_main_ObjectFlow27 = new(); + public LiteralBoolean SingleDelegation_P_PWP_Operation_main_ObjectFlow27_LiteralBoolean28 = new(); + public LiteralInteger SingleDelegation_P_PWP_Operation_main_ObjectFlow27_LiteralInteger29 = new(); + public CallOperationAction SingleDelegation_P_PWP_Operation_main_C_ = new(); + public OutputPin SingleDelegation_P_PWP_Operation_main_C__result = new(); + public LiteralInteger SingleDelegation_P_PWP_Operation_main_C__result_LiteralInteger30 = new(); + public LiteralInteger SingleDelegation_P_PWP_Operation_main_C__result_LiteralInteger31 = new(); + public LiteralUnlimitedNatural SingleDelegation_P_PWP_Operation_main_C__result_LiteralUnlimitedNatural32 = new(); + public InputPin SingleDelegation_P_PWP_Operation_main_C__target = new(); + public LiteralInteger SingleDelegation_P_PWP_Operation_main_C__target_LiteralInteger33 = new(); + public LiteralUnlimitedNatural SingleDelegation_P_PWP_Operation_main_C__target_LiteralUnlimitedNatural34 = new(); + public ReadStructuralFeatureAction SingleDelegation_P_PWP_Operation_main_Read_a_b = new(); + public InputPin SingleDelegation_P_PWP_Operation_main_Read_a_b_object = new(); + public LiteralUnlimitedNatural SingleDelegation_P_PWP_Operation_main_Read_a_b_object_LiteralUnlimitedNatural35 = new(); + public LiteralInteger SingleDelegation_P_PWP_Operation_main_Read_a_b_object_LiteralInteger36 = new(); + public OutputPin SingleDelegation_P_PWP_Operation_main_Read_a_b_result = new(); + public LiteralUnlimitedNatural SingleDelegation_P_PWP_Operation_main_Read_a_b_result_LiteralUnlimitedNatural37 = new(); + public LiteralInteger SingleDelegation_P_PWP_Operation_main_Read_a_b_result_LiteralInteger38 = new(); + public ObjectFlow SingleDelegation_P_PWP_Operation_main_ObjectFlow39 = new(); + public LiteralInteger SingleDelegation_P_PWP_Operation_main_ObjectFlow39_LiteralInteger40 = new(); + public LiteralBoolean SingleDelegation_P_PWP_Operation_main_ObjectFlow39_LiteralBoolean41 = new(); + public ObjectFlow SingleDelegation_P_PWP_Operation_main_ObjectFlow42 = new(); + public LiteralInteger SingleDelegation_P_PWP_Operation_main_ObjectFlow42_LiteralInteger43 = new(); + public LiteralBoolean SingleDelegation_P_PWP_Operation_main_ObjectFlow42_LiteralBoolean44 = new(); + public ObjectFlow SingleDelegation_P_PWP_Operation_main_ObjectFlow45 = new(); + public LiteralInteger SingleDelegation_P_PWP_Operation_main_ObjectFlow45_LiteralInteger46 = new(); + public LiteralBoolean SingleDelegation_P_PWP_Operation_main_ObjectFlow45_LiteralBoolean47 = new(); + public ObjectFlow SingleDelegation_P_PWP_Operation_main_ObjectFlow48 = new(); + public LiteralInteger SingleDelegation_P_PWP_Operation_main_ObjectFlow48_LiteralInteger49 = new(); + public LiteralBoolean SingleDelegation_P_PWP_Operation_main_ObjectFlow48_LiteralBoolean50 = new(); + public ControlFlow SingleDelegation_P_PWP_Operation_main_ControlFlow51 = new(); + public ValueSpecificationAction SingleDelegation_P_PWP_Operation_main_Value_4 = new(); + public OutputPin SingleDelegation_P_PWP_Operation_main_Value_4_result = new(); + public LiteralUnlimitedNatural SingleDelegation_P_PWP_Operation_main_Value_4_result_LiteralUnlimitedNatural52 = new(); + public LiteralInteger SingleDelegation_P_PWP_Operation_main_Value_4_result_LiteralInteger53 = new(); + public LiteralInteger SingleDelegation_P_PWP_Operation_main_Value_4_LiteralInteger54 = new(); + public ControlFlow SingleDelegation_P_PWP_Operation_main_ControlFlow55 = new(); + public ValueSpecificationAction SingleDelegation_P_PWP_Operation_main_InitialMessage = new(); + public OutputPin SingleDelegation_P_PWP_Operation_main_InitialMessage_result = new(); + public LiteralUnlimitedNatural SingleDelegation_P_PWP_Operation_main_InitialMessage_result_LiteralUnlimitedNatural56 = new(); + public LiteralInteger SingleDelegation_P_PWP_Operation_main_InitialMessage_result_LiteralInteger57 = new(); + public LiteralString SingleDelegation_P_PWP_Operation_main_InitialMessage_LiteralString58 = new(); + public CallBehaviorAction SingleDelegation_P_PWP_Operation_main_WriteLine_EndMessage = new(); + public InputPin SingleDelegation_P_PWP_Operation_main_WriteLine_EndMessage_value = new(); + public LiteralInteger SingleDelegation_P_PWP_Operation_main_WriteLine_EndMessage_value_LiteralInteger59 = new(); + public LiteralInteger SingleDelegation_P_PWP_Operation_main_WriteLine_EndMessage_value_LiteralInteger60 = new(); + public LiteralUnlimitedNatural SingleDelegation_P_PWP_Operation_main_WriteLine_EndMessage_value_LiteralUnlimitedNatural61 = new(); + public OutputPin SingleDelegation_P_PWP_Operation_main_WriteLine_EndMessage_errorStatus = new(); + public LiteralInteger SingleDelegation_P_PWP_Operation_main_WriteLine_EndMessage_errorStatus_LiteralInteger62 = new(); + public LiteralInteger SingleDelegation_P_PWP_Operation_main_WriteLine_EndMessage_errorStatus_LiteralInteger63 = new(); + public LiteralUnlimitedNatural SingleDelegation_P_PWP_Operation_main_WriteLine_EndMessage_errorStatus_LiteralUnlimitedNatural64 = new(); + public ObjectFlow SingleDelegation_P_PWP_Operation_main_ObjectFlow65 = new(); + public LiteralInteger SingleDelegation_P_PWP_Operation_main_ObjectFlow65_LiteralInteger66 = new(); + public LiteralBoolean SingleDelegation_P_PWP_Operation_main_ObjectFlow65_LiteralBoolean67 = new(); + public ObjectFlow SingleDelegation_P_PWP_Operation_main_ObjectFlow68 = new(); + public LiteralInteger SingleDelegation_P_PWP_Operation_main_ObjectFlow68_LiteralInteger69 = new(); + public LiteralBoolean SingleDelegation_P_PWP_Operation_main_ObjectFlow68_LiteralBoolean70 = new(); + public ForkNode SingleDelegation_P_PWP_Operation_main_Fork_C = new(); + public CallBehaviorAction SingleDelegation_P_PWP_Operation_main_WriteLine_InitialMessage = new(); + public InputPin SingleDelegation_P_PWP_Operation_main_WriteLine_InitialMessage_value = new(); + public LiteralInteger SingleDelegation_P_PWP_Operation_main_WriteLine_InitialMessage_value_LiteralInteger71 = new(); + public LiteralUnlimitedNatural SingleDelegation_P_PWP_Operation_main_WriteLine_InitialMessage_value_LiteralUnlimitedNatural72 = new(); + public LiteralInteger SingleDelegation_P_PWP_Operation_main_WriteLine_InitialMessage_value_LiteralInteger73 = new(); + public OutputPin SingleDelegation_P_PWP_Operation_main_WriteLine_InitialMessage_errorStatus = new(); + public LiteralInteger SingleDelegation_P_PWP_Operation_main_WriteLine_InitialMessage_errorStatus_LiteralInteger74 = new(); + public LiteralInteger SingleDelegation_P_PWP_Operation_main_WriteLine_InitialMessage_errorStatus_LiteralInteger75 = new(); + public LiteralUnlimitedNatural SingleDelegation_P_PWP_Operation_main_WriteLine_InitialMessage_errorStatus_LiteralUnlimitedNatural76 = new(); + public ObjectFlow SingleDelegation_P_PWP_Operation_main_ObjectFlow77 = new(); + public LiteralInteger SingleDelegation_P_PWP_Operation_main_ObjectFlow77_LiteralInteger78 = new(); + public LiteralBoolean SingleDelegation_P_PWP_Operation_main_ObjectFlow77_LiteralBoolean79 = new(); + public CallOperationAction SingleDelegation_P_PWP_Operation_main_Call_c_p_setP = new(); + public InputPin SingleDelegation_P_PWP_Operation_main_Call_c_p_setP_target = new(); + public LiteralInteger SingleDelegation_P_PWP_Operation_main_Call_c_p_setP_target_LiteralInteger80 = new(); + public LiteralUnlimitedNatural SingleDelegation_P_PWP_Operation_main_Call_c_p_setP_target_LiteralUnlimitedNatural81 = new(); + public InputPin SingleDelegation_P_PWP_Operation_main_Call_c_p_setP_v = new(); + public LiteralInteger SingleDelegation_P_PWP_Operation_main_Call_c_p_setP_v_LiteralInteger82 = new(); + public LiteralInteger SingleDelegation_P_PWP_Operation_main_Call_c_p_setP_v_LiteralInteger83 = new(); + public LiteralUnlimitedNatural SingleDelegation_P_PWP_Operation_main_Call_c_p_setP_v_LiteralUnlimitedNatural84 = new(); + public ValueSpecificationAction SingleDelegation_P_PWP_Operation_main_EndMessage = new(); + public LiteralString SingleDelegation_P_PWP_Operation_main_EndMessage_LiteralString85 = new(); + public OutputPin SingleDelegation_P_PWP_Operation_main_EndMessage_result = new(); + public LiteralUnlimitedNatural SingleDelegation_P_PWP_Operation_main_EndMessage_result_LiteralUnlimitedNatural86 = new(); + public LiteralInteger SingleDelegation_P_PWP_Operation_main_EndMessage_result_LiteralInteger87 = new(); + public Association SingleDelegation_P_PWP_Operation_U = new(); + public Property SingleDelegation_P_PWP_Operation_U_y = new(); + public Property SingleDelegation_P_PWP_Operation_U_x = new(); + public Class_ SingleDelegation_P_PWP_Operation_IImpl = new(); + public Operation SingleDelegation_P_PWP_Operation_IImpl_setP_Integer = new(); + public Parameter SingleDelegation_P_PWP_Operation_IImpl_setP_Integer_v = new(); + public InterfaceRealization SingleDelegation_P_PWP_Operation_IImpl_IRealization = new(); + public Class_ SingleDelegation_P_PWP_Operation_A = new(); + public Property SingleDelegation_P_PWP_Operation_A_b = new(); + public Operation SingleDelegation_P_PWP_Operation_A_A_A = new(); + public Parameter SingleDelegation_P_PWP_Operation_A_A_A_result = new(); + public Port SingleDelegation_P_PWP_Operation_A_q = new(); + public Connector SingleDelegation_P_PWP_Operation_A_r = new(); + public ConnectorEnd SingleDelegation_P_PWP_Operation_A_r_ConnectorEnd88 = new(); + public ConnectorEnd SingleDelegation_P_PWP_Operation_A_r_ConnectorEnd89 = new(); + public Interface SingleDelegation_P_PWP_Operation_I = new(); + public Operation SingleDelegation_P_PWP_Operation_I_setP_Integer = new(); + public Parameter SingleDelegation_P_PWP_Operation_I_setP_Integer_v = new(); + public Class_ SingleDelegation_P_PWP_Operation_C = new(); + public Property SingleDelegation_P_PWP_Operation_C_a = new(); + public Connector SingleDelegation_P_PWP_Operation_C_u = new(); + public ConnectorEnd SingleDelegation_P_PWP_Operation_C_u_ConnectorEnd90 = new(); + public ConnectorEnd SingleDelegation_P_PWP_Operation_C_u_ConnectorEnd91 = new(); + public Operation SingleDelegation_P_PWP_Operation_C_C_C = new(); + public Parameter SingleDelegation_P_PWP_Operation_C_C_C_result = new(); + public Port SingleDelegation_P_PWP_Operation_C_p = new(); + public Class_ SingleDelegation_P_PWP_Operation_B = new(); + public InterfaceRealization SingleDelegation_P_PWP_Operation_B_IRealization = new(); + public Activity SingleDelegation_P_PWP_Operation_B_setPActivity = new(); + public AddStructuralFeatureValueAction SingleDelegation_P_PWP_Operation_B_setPActivity_Set_this_p = new(); + public InputPin SingleDelegation_P_PWP_Operation_B_setPActivity_Set_this_p_value = new(); + public LiteralInteger SingleDelegation_P_PWP_Operation_B_setPActivity_Set_this_p_value_LiteralInteger92 = new(); + public LiteralUnlimitedNatural SingleDelegation_P_PWP_Operation_B_setPActivity_Set_this_p_value_LiteralUnlimitedNatural93 = new(); + public InputPin SingleDelegation_P_PWP_Operation_B_setPActivity_Set_this_p_object = new(); + public LiteralUnlimitedNatural SingleDelegation_P_PWP_Operation_B_setPActivity_Set_this_p_object_LiteralUnlimitedNatural94 = new(); + public LiteralInteger SingleDelegation_P_PWP_Operation_B_setPActivity_Set_this_p_object_LiteralInteger95 = new(); + public OutputPin SingleDelegation_P_PWP_Operation_B_setPActivity_Set_this_p_result = new(); + public LiteralUnlimitedNatural SingleDelegation_P_PWP_Operation_B_setPActivity_Set_this_p_result_LiteralUnlimitedNatural96 = new(); + public LiteralInteger SingleDelegation_P_PWP_Operation_B_setPActivity_Set_this_p_result_LiteralInteger97 = new(); + public ObjectFlow SingleDelegation_P_PWP_Operation_B_setPActivity_ObjectFlow98 = new(); + public LiteralInteger SingleDelegation_P_PWP_Operation_B_setPActivity_ObjectFlow98_LiteralInteger99 = new(); + public LiteralBoolean SingleDelegation_P_PWP_Operation_B_setPActivity_ObjectFlow98_LiteralBoolean100 = new(); + public ObjectFlow SingleDelegation_P_PWP_Operation_B_setPActivity_ObjectFlow101 = new(); + public LiteralBoolean SingleDelegation_P_PWP_Operation_B_setPActivity_ObjectFlow101_LiteralBoolean102 = new(); + public LiteralInteger SingleDelegation_P_PWP_Operation_B_setPActivity_ObjectFlow101_LiteralInteger103 = new(); + public ActivityParameterNode SingleDelegation_P_PWP_Operation_B_setPActivity_vParameterNode = new(); + public LiteralInteger SingleDelegation_P_PWP_Operation_B_setPActivity_vParameterNode_LiteralInteger104 = new(); + public Parameter SingleDelegation_P_PWP_Operation_B_setPActivity_v = new(); + public ReadSelfAction SingleDelegation_P_PWP_Operation_B_setPActivity_this = new(); + public OutputPin SingleDelegation_P_PWP_Operation_B_setPActivity_this_result = new(); + public LiteralUnlimitedNatural SingleDelegation_P_PWP_Operation_B_setPActivity_this_result_LiteralUnlimitedNatural105 = new(); + public LiteralInteger SingleDelegation_P_PWP_Operation_B_setPActivity_this_result_LiteralInteger106 = new(); + public Operation SingleDelegation_P_PWP_Operation_B_B_B = new(); + public Parameter SingleDelegation_P_PWP_Operation_B_B_B_result = new(); + public Property SingleDelegation_P_PWP_Operation_B_p = new(); + public Operation SingleDelegation_P_PWP_Operation_B_setP_Integer = new(); + public Parameter SingleDelegation_P_PWP_Operation_B_setP_Integer_v = new(); + + public static SingleDelegation_P_PWP_OperationModel Instance() + { + if (instance is null) + { + instance = new(); + instance.InitializeInMemoryModel(); + } + + return instance; + } + + public SingleDelegation_P_PWP_OperationModel() + { + /* Start of user code : Additional model initializations + * This section may be used to do any additional model initialization, + * for example initializing user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } + + private void InitializeInMemoryModel() + { + // Create public members + /* + * Model SingleDelegation_P_PWP_Operation + */ + AddToElementRepository("SingleDelegation_P_PWP_Operation", SingleDelegation_P_PWP_Operation); + AddToElementRepository("R", SingleDelegation_P_PWP_Operation_R); + AddToElementRepository("y", SingleDelegation_P_PWP_Operation_R_y); + AddToElementRepository("x", SingleDelegation_P_PWP_Operation_R_x); + AddToElementRepository("main", SingleDelegation_P_PWP_Operation_main); + AddToElementRepository("Read c.a", SingleDelegation_P_PWP_Operation_main_Read_c_a); + AddToElementRepository("result", SingleDelegation_P_PWP_Operation_main_Read_c_a_result); + AddToElementRepository("LiteralUnlimitedNatural0", SingleDelegation_P_PWP_Operation_main_Read_c_a_result_LiteralUnlimitedNatural0); + AddToElementRepository("LiteralInteger1", SingleDelegation_P_PWP_Operation_main_Read_c_a_result_LiteralInteger1); + AddToElementRepository("object", SingleDelegation_P_PWP_Operation_main_Read_c_a_object); + AddToElementRepository("LiteralUnlimitedNatural2", SingleDelegation_P_PWP_Operation_main_Read_c_a_object_LiteralUnlimitedNatural2); + AddToElementRepository("LiteralInteger3", SingleDelegation_P_PWP_Operation_main_Read_c_a_object_LiteralInteger3); + AddToElementRepository("ObjectFlow4", SingleDelegation_P_PWP_Operation_main_ObjectFlow4); + AddToElementRepository("LiteralBoolean5", SingleDelegation_P_PWP_Operation_main_ObjectFlow4_LiteralBoolean5); + AddToElementRepository("LiteralInteger6", SingleDelegation_P_PWP_Operation_main_ObjectFlow4_LiteralInteger6); + AddToElementRepository("Read b.p", SingleDelegation_P_PWP_Operation_main_Read_b_p); + AddToElementRepository("object", SingleDelegation_P_PWP_Operation_main_Read_b_p_object); + AddToElementRepository("LiteralInteger7", SingleDelegation_P_PWP_Operation_main_Read_b_p_object_LiteralInteger7); + AddToElementRepository("LiteralUnlimitedNatural8", SingleDelegation_P_PWP_Operation_main_Read_b_p_object_LiteralUnlimitedNatural8); + AddToElementRepository("result", SingleDelegation_P_PWP_Operation_main_Read_b_p_result); + AddToElementRepository("LiteralUnlimitedNatural9", SingleDelegation_P_PWP_Operation_main_Read_b_p_result_LiteralUnlimitedNatural9); + AddToElementRepository("LiteralInteger10", SingleDelegation_P_PWP_Operation_main_Read_b_p_result_LiteralInteger10); + AddToElementRepository("Call testP", SingleDelegation_P_PWP_Operation_main_Call_testP); + AddToElementRepository("p", SingleDelegation_P_PWP_Operation_main_Call_testP_p); + AddToElementRepository("LiteralInteger11", SingleDelegation_P_PWP_Operation_main_Call_testP_p_LiteralInteger11); + AddToElementRepository("LiteralUnlimitedNatural12", SingleDelegation_P_PWP_Operation_main_Call_testP_p_LiteralUnlimitedNatural12); + AddToElementRepository("LiteralInteger13", SingleDelegation_P_PWP_Operation_main_Call_testP_p_LiteralInteger13); + AddToElementRepository("ObjectFlow14", SingleDelegation_P_PWP_Operation_main_ObjectFlow14); + AddToElementRepository("LiteralBoolean15", SingleDelegation_P_PWP_Operation_main_ObjectFlow14_LiteralBoolean15); + AddToElementRepository("LiteralInteger16", SingleDelegation_P_PWP_Operation_main_ObjectFlow14_LiteralInteger16); + AddToElementRepository("ControlFlow17", SingleDelegation_P_PWP_Operation_main_ControlFlow17); + AddToElementRepository("Create C", SingleDelegation_P_PWP_Operation_main_Create_C); + AddToElementRepository("result", SingleDelegation_P_PWP_Operation_main_Create_C_result); + AddToElementRepository("LiteralInteger18", SingleDelegation_P_PWP_Operation_main_Create_C_result_LiteralInteger18); + AddToElementRepository("LiteralUnlimitedNatural19", SingleDelegation_P_PWP_Operation_main_Create_C_result_LiteralUnlimitedNatural19); + AddToElementRepository("Read c.p", SingleDelegation_P_PWP_Operation_main_Read_c_p); + AddToElementRepository("result", SingleDelegation_P_PWP_Operation_main_Read_c_p_result); + AddToElementRepository("LiteralInteger20", SingleDelegation_P_PWP_Operation_main_Read_c_p_result_LiteralInteger20); + AddToElementRepository("LiteralUnlimitedNatural21", SingleDelegation_P_PWP_Operation_main_Read_c_p_result_LiteralUnlimitedNatural21); + AddToElementRepository("object", SingleDelegation_P_PWP_Operation_main_Read_c_p_object); + AddToElementRepository("LiteralInteger22", SingleDelegation_P_PWP_Operation_main_Read_c_p_object_LiteralInteger22); + AddToElementRepository("LiteralUnlimitedNatural23", SingleDelegation_P_PWP_Operation_main_Read_c_p_object_LiteralUnlimitedNatural23); + AddToElementRepository("testP", SingleDelegation_P_PWP_Operation_main_testP); + AddToElementRepository("p", SingleDelegation_P_PWP_Operation_main_testP_p); + AddToElementRepository("ObjectFlow24", SingleDelegation_P_PWP_Operation_main_ObjectFlow24); + AddToElementRepository("LiteralBoolean25", SingleDelegation_P_PWP_Operation_main_ObjectFlow24_LiteralBoolean25); + AddToElementRepository("LiteralInteger26", SingleDelegation_P_PWP_Operation_main_ObjectFlow24_LiteralInteger26); + AddToElementRepository("ObjectFlow27", SingleDelegation_P_PWP_Operation_main_ObjectFlow27); + AddToElementRepository("LiteralBoolean28", SingleDelegation_P_PWP_Operation_main_ObjectFlow27_LiteralBoolean28); + AddToElementRepository("LiteralInteger29", SingleDelegation_P_PWP_Operation_main_ObjectFlow27_LiteralInteger29); + AddToElementRepository("C()", SingleDelegation_P_PWP_Operation_main_C_); + AddToElementRepository("result", SingleDelegation_P_PWP_Operation_main_C__result); + AddToElementRepository("LiteralInteger30", SingleDelegation_P_PWP_Operation_main_C__result_LiteralInteger30); + AddToElementRepository("LiteralInteger31", SingleDelegation_P_PWP_Operation_main_C__result_LiteralInteger31); + AddToElementRepository("LiteralUnlimitedNatural32", SingleDelegation_P_PWP_Operation_main_C__result_LiteralUnlimitedNatural32); + AddToElementRepository("target", SingleDelegation_P_PWP_Operation_main_C__target); + AddToElementRepository("LiteralInteger33", SingleDelegation_P_PWP_Operation_main_C__target_LiteralInteger33); + AddToElementRepository("LiteralUnlimitedNatural34", SingleDelegation_P_PWP_Operation_main_C__target_LiteralUnlimitedNatural34); + AddToElementRepository("Read a.b", SingleDelegation_P_PWP_Operation_main_Read_a_b); + AddToElementRepository("object", SingleDelegation_P_PWP_Operation_main_Read_a_b_object); + AddToElementRepository("LiteralUnlimitedNatural35", SingleDelegation_P_PWP_Operation_main_Read_a_b_object_LiteralUnlimitedNatural35); + AddToElementRepository("LiteralInteger36", SingleDelegation_P_PWP_Operation_main_Read_a_b_object_LiteralInteger36); + AddToElementRepository("result", SingleDelegation_P_PWP_Operation_main_Read_a_b_result); + AddToElementRepository("LiteralUnlimitedNatural37", SingleDelegation_P_PWP_Operation_main_Read_a_b_result_LiteralUnlimitedNatural37); + AddToElementRepository("LiteralInteger38", SingleDelegation_P_PWP_Operation_main_Read_a_b_result_LiteralInteger38); + AddToElementRepository("ObjectFlow39", SingleDelegation_P_PWP_Operation_main_ObjectFlow39); + AddToElementRepository("LiteralInteger40", SingleDelegation_P_PWP_Operation_main_ObjectFlow39_LiteralInteger40); + AddToElementRepository("LiteralBoolean41", SingleDelegation_P_PWP_Operation_main_ObjectFlow39_LiteralBoolean41); + AddToElementRepository("ObjectFlow42", SingleDelegation_P_PWP_Operation_main_ObjectFlow42); + AddToElementRepository("LiteralInteger43", SingleDelegation_P_PWP_Operation_main_ObjectFlow42_LiteralInteger43); + AddToElementRepository("LiteralBoolean44", SingleDelegation_P_PWP_Operation_main_ObjectFlow42_LiteralBoolean44); + AddToElementRepository("ObjectFlow45", SingleDelegation_P_PWP_Operation_main_ObjectFlow45); + AddToElementRepository("LiteralInteger46", SingleDelegation_P_PWP_Operation_main_ObjectFlow45_LiteralInteger46); + AddToElementRepository("LiteralBoolean47", SingleDelegation_P_PWP_Operation_main_ObjectFlow45_LiteralBoolean47); + AddToElementRepository("ObjectFlow48", SingleDelegation_P_PWP_Operation_main_ObjectFlow48); + AddToElementRepository("LiteralInteger49", SingleDelegation_P_PWP_Operation_main_ObjectFlow48_LiteralInteger49); + AddToElementRepository("LiteralBoolean50", SingleDelegation_P_PWP_Operation_main_ObjectFlow48_LiteralBoolean50); + AddToElementRepository("ControlFlow51", SingleDelegation_P_PWP_Operation_main_ControlFlow51); + AddToElementRepository("Value(4)", SingleDelegation_P_PWP_Operation_main_Value_4); + AddToElementRepository("result", SingleDelegation_P_PWP_Operation_main_Value_4_result); + AddToElementRepository("LiteralUnlimitedNatural52", SingleDelegation_P_PWP_Operation_main_Value_4_result_LiteralUnlimitedNatural52); + AddToElementRepository("LiteralInteger53", SingleDelegation_P_PWP_Operation_main_Value_4_result_LiteralInteger53); + AddToElementRepository("LiteralInteger54", SingleDelegation_P_PWP_Operation_main_Value_4_LiteralInteger54); + AddToElementRepository("ControlFlow55", SingleDelegation_P_PWP_Operation_main_ControlFlow55); + AddToElementRepository("InitialMessage", SingleDelegation_P_PWP_Operation_main_InitialMessage); + AddToElementRepository("result", SingleDelegation_P_PWP_Operation_main_InitialMessage_result); + AddToElementRepository("LiteralUnlimitedNatural56", SingleDelegation_P_PWP_Operation_main_InitialMessage_result_LiteralUnlimitedNatural56); + AddToElementRepository("LiteralInteger57", SingleDelegation_P_PWP_Operation_main_InitialMessage_result_LiteralInteger57); + AddToElementRepository("LiteralString58", SingleDelegation_P_PWP_Operation_main_InitialMessage_LiteralString58); + AddToElementRepository("WriteLine(EndMessage)", SingleDelegation_P_PWP_Operation_main_WriteLine_EndMessage); + AddToElementRepository("value", SingleDelegation_P_PWP_Operation_main_WriteLine_EndMessage_value); + AddToElementRepository("LiteralInteger59", SingleDelegation_P_PWP_Operation_main_WriteLine_EndMessage_value_LiteralInteger59); + AddToElementRepository("LiteralInteger60", SingleDelegation_P_PWP_Operation_main_WriteLine_EndMessage_value_LiteralInteger60); + AddToElementRepository("LiteralUnlimitedNatural61", SingleDelegation_P_PWP_Operation_main_WriteLine_EndMessage_value_LiteralUnlimitedNatural61); + AddToElementRepository("errorStatus", SingleDelegation_P_PWP_Operation_main_WriteLine_EndMessage_errorStatus); + AddToElementRepository("LiteralInteger62", SingleDelegation_P_PWP_Operation_main_WriteLine_EndMessage_errorStatus_LiteralInteger62); + AddToElementRepository("LiteralInteger63", SingleDelegation_P_PWP_Operation_main_WriteLine_EndMessage_errorStatus_LiteralInteger63); + AddToElementRepository("LiteralUnlimitedNatural64", SingleDelegation_P_PWP_Operation_main_WriteLine_EndMessage_errorStatus_LiteralUnlimitedNatural64); + AddToElementRepository("ObjectFlow65", SingleDelegation_P_PWP_Operation_main_ObjectFlow65); + AddToElementRepository("LiteralInteger66", SingleDelegation_P_PWP_Operation_main_ObjectFlow65_LiteralInteger66); + AddToElementRepository("LiteralBoolean67", SingleDelegation_P_PWP_Operation_main_ObjectFlow65_LiteralBoolean67); + AddToElementRepository("ObjectFlow68", SingleDelegation_P_PWP_Operation_main_ObjectFlow68); + AddToElementRepository("LiteralInteger69", SingleDelegation_P_PWP_Operation_main_ObjectFlow68_LiteralInteger69); + AddToElementRepository("LiteralBoolean70", SingleDelegation_P_PWP_Operation_main_ObjectFlow68_LiteralBoolean70); + AddToElementRepository("Fork C", SingleDelegation_P_PWP_Operation_main_Fork_C); + AddToElementRepository("WriteLine(InitialMessage)", SingleDelegation_P_PWP_Operation_main_WriteLine_InitialMessage); + AddToElementRepository("value", SingleDelegation_P_PWP_Operation_main_WriteLine_InitialMessage_value); + AddToElementRepository("LiteralInteger71", SingleDelegation_P_PWP_Operation_main_WriteLine_InitialMessage_value_LiteralInteger71); + AddToElementRepository("LiteralUnlimitedNatural72", SingleDelegation_P_PWP_Operation_main_WriteLine_InitialMessage_value_LiteralUnlimitedNatural72); + AddToElementRepository("LiteralInteger73", SingleDelegation_P_PWP_Operation_main_WriteLine_InitialMessage_value_LiteralInteger73); + AddToElementRepository("errorStatus", SingleDelegation_P_PWP_Operation_main_WriteLine_InitialMessage_errorStatus); + AddToElementRepository("LiteralInteger74", SingleDelegation_P_PWP_Operation_main_WriteLine_InitialMessage_errorStatus_LiteralInteger74); + AddToElementRepository("LiteralInteger75", SingleDelegation_P_PWP_Operation_main_WriteLine_InitialMessage_errorStatus_LiteralInteger75); + AddToElementRepository("LiteralUnlimitedNatural76", SingleDelegation_P_PWP_Operation_main_WriteLine_InitialMessage_errorStatus_LiteralUnlimitedNatural76); + AddToElementRepository("ObjectFlow77", SingleDelegation_P_PWP_Operation_main_ObjectFlow77); + AddToElementRepository("LiteralInteger78", SingleDelegation_P_PWP_Operation_main_ObjectFlow77_LiteralInteger78); + AddToElementRepository("LiteralBoolean79", SingleDelegation_P_PWP_Operation_main_ObjectFlow77_LiteralBoolean79); + AddToElementRepository("Call c.p.setP", SingleDelegation_P_PWP_Operation_main_Call_c_p_setP); + AddToElementRepository("target", SingleDelegation_P_PWP_Operation_main_Call_c_p_setP_target); + AddToElementRepository("LiteralInteger80", SingleDelegation_P_PWP_Operation_main_Call_c_p_setP_target_LiteralInteger80); + AddToElementRepository("LiteralUnlimitedNatural81", SingleDelegation_P_PWP_Operation_main_Call_c_p_setP_target_LiteralUnlimitedNatural81); + AddToElementRepository("v", SingleDelegation_P_PWP_Operation_main_Call_c_p_setP_v); + AddToElementRepository("LiteralInteger82", SingleDelegation_P_PWP_Operation_main_Call_c_p_setP_v_LiteralInteger82); + AddToElementRepository("LiteralInteger83", SingleDelegation_P_PWP_Operation_main_Call_c_p_setP_v_LiteralInteger83); + AddToElementRepository("LiteralUnlimitedNatural84", SingleDelegation_P_PWP_Operation_main_Call_c_p_setP_v_LiteralUnlimitedNatural84); + AddToElementRepository("EndMessage", SingleDelegation_P_PWP_Operation_main_EndMessage); + AddToElementRepository("LiteralString85", SingleDelegation_P_PWP_Operation_main_EndMessage_LiteralString85); + AddToElementRepository("result", SingleDelegation_P_PWP_Operation_main_EndMessage_result); + AddToElementRepository("LiteralUnlimitedNatural86", SingleDelegation_P_PWP_Operation_main_EndMessage_result_LiteralUnlimitedNatural86); + AddToElementRepository("LiteralInteger87", SingleDelegation_P_PWP_Operation_main_EndMessage_result_LiteralInteger87); + AddToElementRepository("U", SingleDelegation_P_PWP_Operation_U); + AddToElementRepository("y", SingleDelegation_P_PWP_Operation_U_y); + AddToElementRepository("x", SingleDelegation_P_PWP_Operation_U_x); + AddToElementRepository("IImpl", SingleDelegation_P_PWP_Operation_IImpl); + AddToElementRepository("setP_Integer", SingleDelegation_P_PWP_Operation_IImpl_setP_Integer); + AddToElementRepository("v", SingleDelegation_P_PWP_Operation_IImpl_setP_Integer_v); + AddToElementRepository("IRealization", SingleDelegation_P_PWP_Operation_IImpl_IRealization); + AddToElementRepository("A", SingleDelegation_P_PWP_Operation_A); + AddToElementRepository("b", SingleDelegation_P_PWP_Operation_A_b); + AddToElementRepository("A_A", SingleDelegation_P_PWP_Operation_A_A_A); + AddToElementRepository("result", SingleDelegation_P_PWP_Operation_A_A_A_result); + AddToElementRepository("q", SingleDelegation_P_PWP_Operation_A_q); + AddToElementRepository("r", SingleDelegation_P_PWP_Operation_A_r); + AddToElementRepository("ConnectorEnd88", SingleDelegation_P_PWP_Operation_A_r_ConnectorEnd88); + AddToElementRepository("ConnectorEnd89", SingleDelegation_P_PWP_Operation_A_r_ConnectorEnd89); + AddToElementRepository("I", SingleDelegation_P_PWP_Operation_I); + AddToElementRepository("setP_Integer", SingleDelegation_P_PWP_Operation_I_setP_Integer); + AddToElementRepository("v", SingleDelegation_P_PWP_Operation_I_setP_Integer_v); + AddToElementRepository("C", SingleDelegation_P_PWP_Operation_C); + AddToElementRepository("a", SingleDelegation_P_PWP_Operation_C_a); + AddToElementRepository("u", SingleDelegation_P_PWP_Operation_C_u); + AddToElementRepository("ConnectorEnd90", SingleDelegation_P_PWP_Operation_C_u_ConnectorEnd90); + AddToElementRepository("ConnectorEnd91", SingleDelegation_P_PWP_Operation_C_u_ConnectorEnd91); + AddToElementRepository("C_C", SingleDelegation_P_PWP_Operation_C_C_C); + AddToElementRepository("result", SingleDelegation_P_PWP_Operation_C_C_C_result); + AddToElementRepository("p", SingleDelegation_P_PWP_Operation_C_p); + AddToElementRepository("B", SingleDelegation_P_PWP_Operation_B); + AddToElementRepository("IRealization", SingleDelegation_P_PWP_Operation_B_IRealization); + AddToElementRepository("setPActivity", SingleDelegation_P_PWP_Operation_B_setPActivity); + AddToElementRepository("Set this.p", SingleDelegation_P_PWP_Operation_B_setPActivity_Set_this_p); + AddToElementRepository("value", SingleDelegation_P_PWP_Operation_B_setPActivity_Set_this_p_value); + AddToElementRepository("LiteralInteger92", SingleDelegation_P_PWP_Operation_B_setPActivity_Set_this_p_value_LiteralInteger92); + AddToElementRepository("LiteralUnlimitedNatural93", SingleDelegation_P_PWP_Operation_B_setPActivity_Set_this_p_value_LiteralUnlimitedNatural93); + AddToElementRepository("object", SingleDelegation_P_PWP_Operation_B_setPActivity_Set_this_p_object); + AddToElementRepository("LiteralUnlimitedNatural94", SingleDelegation_P_PWP_Operation_B_setPActivity_Set_this_p_object_LiteralUnlimitedNatural94); + AddToElementRepository("LiteralInteger95", SingleDelegation_P_PWP_Operation_B_setPActivity_Set_this_p_object_LiteralInteger95); + AddToElementRepository("result", SingleDelegation_P_PWP_Operation_B_setPActivity_Set_this_p_result); + AddToElementRepository("LiteralUnlimitedNatural96", SingleDelegation_P_PWP_Operation_B_setPActivity_Set_this_p_result_LiteralUnlimitedNatural96); + AddToElementRepository("LiteralInteger97", SingleDelegation_P_PWP_Operation_B_setPActivity_Set_this_p_result_LiteralInteger97); + AddToElementRepository("ObjectFlow98", SingleDelegation_P_PWP_Operation_B_setPActivity_ObjectFlow98); + AddToElementRepository("LiteralInteger99", SingleDelegation_P_PWP_Operation_B_setPActivity_ObjectFlow98_LiteralInteger99); + AddToElementRepository("LiteralBoolean100", SingleDelegation_P_PWP_Operation_B_setPActivity_ObjectFlow98_LiteralBoolean100); + AddToElementRepository("ObjectFlow101", SingleDelegation_P_PWP_Operation_B_setPActivity_ObjectFlow101); + AddToElementRepository("LiteralBoolean102", SingleDelegation_P_PWP_Operation_B_setPActivity_ObjectFlow101_LiteralBoolean102); + AddToElementRepository("LiteralInteger103", SingleDelegation_P_PWP_Operation_B_setPActivity_ObjectFlow101_LiteralInteger103); + AddToElementRepository("vParameterNode", SingleDelegation_P_PWP_Operation_B_setPActivity_vParameterNode); + AddToElementRepository("LiteralInteger104", SingleDelegation_P_PWP_Operation_B_setPActivity_vParameterNode_LiteralInteger104); + AddToElementRepository("v", SingleDelegation_P_PWP_Operation_B_setPActivity_v); + AddToElementRepository("this", SingleDelegation_P_PWP_Operation_B_setPActivity_this); + AddToElementRepository("result", SingleDelegation_P_PWP_Operation_B_setPActivity_this_result); + AddToElementRepository("LiteralUnlimitedNatural105", SingleDelegation_P_PWP_Operation_B_setPActivity_this_result_LiteralUnlimitedNatural105); + AddToElementRepository("LiteralInteger106", SingleDelegation_P_PWP_Operation_B_setPActivity_this_result_LiteralInteger106); + AddToElementRepository("B_B", SingleDelegation_P_PWP_Operation_B_B_B); + AddToElementRepository("result", SingleDelegation_P_PWP_Operation_B_B_B_result); + AddToElementRepository("p", SingleDelegation_P_PWP_Operation_B_p); + AddToElementRepository("setP_Integer", SingleDelegation_P_PWP_Operation_B_setP_Integer); + AddToElementRepository("v", SingleDelegation_P_PWP_Operation_B_setP_Integer_v); + + // Initialize public members + /* + * Model SingleDelegation_P_PWP_Operation + */ + SingleDelegation_P_PWP_Operation.SetName("SingleDelegation_P_PWP_Operation"); + SingleDelegation_P_PWP_Operation.SetVisibility(VisibilityKind.public_); + // Association R + SingleDelegation_P_PWP_Operation_R.SetName("R"); + SingleDelegation_P_PWP_Operation_R.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_PWP_Operation_R.AddOwnedEnd(SingleDelegation_P_PWP_Operation_R_x); + SingleDelegation_P_PWP_Operation_R.AddOwnedEnd(SingleDelegation_P_PWP_Operation_R_y); + SingleDelegation_P_PWP_Operation.AddPackagedElement(SingleDelegation_P_PWP_Operation_R); + // Activity main + SingleDelegation_P_PWP_Operation_main.SetName("main"); + SingleDelegation_P_PWP_Operation_main.SetVisibility(VisibilityKind.public_); + // FunctionBehavior testP + SingleDelegation_P_PWP_Operation_main_testP.SetName("testP"); + SingleDelegation_P_PWP_Operation_main_testP.SetVisibility(VisibilityKind.public_); + + // Parameter p + SingleDelegation_P_PWP_Operation_main_testP_p.SetName("p"); + SingleDelegation_P_PWP_Operation_main_testP_p.SetVisibility(VisibilityKind.public_); + + SingleDelegation_P_PWP_Operation_main_testP_p.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + SingleDelegation_P_PWP_Operation_main_testP.AddOwnedParameter(SingleDelegation_P_PWP_Operation_main_testP_p); + SingleDelegation_P_PWP_Operation_main_testP.AddLanguage("C#"); + SingleDelegation_P_PWP_Operation_main_testP.AddLanguage("Using"); + SingleDelegation_P_PWP_Operation_main_testP.AddBody("Console.WriteLine(\"Asserting c.a.b.p == 4\"); // Test parameter p int p = ((IntegerValue)inputParameters.ElementAt(0).values.ElementAt(0)).value; Debug.Println(\"[doBody] argument p = \" + p); Console.WriteLine(\"c.a.b.p == \" + p); Console.Write(\"Operation call delegated: \"); if(p == 4) { Console.ForegroundColor = ConsoleColor.Green; Console.WriteLine(\"Assertion successful.\"); } else { Console.ForegroundColor = ConsoleColor.Red; Console.WriteLine(\"Assertion failed!\"); } Console.ResetColor();"); + SingleDelegation_P_PWP_Operation_main_testP.AddBody("using fuml.semantics.simpleclassifiers; "); + SingleDelegation_P_PWP_Operation_main.AddOwnedBehavior(SingleDelegation_P_PWP_Operation_main_testP); + // CallOperationAction C() + SingleDelegation_P_PWP_Operation_main_C_.SetName("C()"); + SingleDelegation_P_PWP_Operation_main_C_.SetVisibility(VisibilityKind.public_); + + // OutputPin result + SingleDelegation_P_PWP_Operation_main_C__result.SetName("result"); + SingleDelegation_P_PWP_Operation_main_C__result.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_PWP_Operation_main_C__result.SetType(SingleDelegation_P_PWP_Operation_C); + SingleDelegation_P_PWP_Operation_main_C_.AddResult(SingleDelegation_P_PWP_Operation_main_C__result); + SingleDelegation_P_PWP_Operation_main_C_.SetOperation(SingleDelegation_P_PWP_Operation_C_C_C); + // InputPin target + SingleDelegation_P_PWP_Operation_main_C__target.SetName("target"); + SingleDelegation_P_PWP_Operation_main_C__target.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_PWP_Operation_main_C__target.SetType(SingleDelegation_P_PWP_Operation_C); + SingleDelegation_P_PWP_Operation_main_C_.SetTarget(SingleDelegation_P_PWP_Operation_main_C__target); + SingleDelegation_P_PWP_Operation_main.AddNode(SingleDelegation_P_PWP_Operation_main_C_); + // ReadStructuralFeatureAction Read a.b + SingleDelegation_P_PWP_Operation_main_Read_a_b.SetName("Read a.b"); + SingleDelegation_P_PWP_Operation_main_Read_a_b.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_PWP_Operation_main_Read_a_b.SetStructuralFeature(SingleDelegation_P_PWP_Operation_A_b); + // InputPin object + SingleDelegation_P_PWP_Operation_main_Read_a_b_object.SetName("object"); + SingleDelegation_P_PWP_Operation_main_Read_a_b_object.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_PWP_Operation_main_Read_a_b_object.SetType(SingleDelegation_P_PWP_Operation_A); + SingleDelegation_P_PWP_Operation_main_Read_a_b.SetObject(SingleDelegation_P_PWP_Operation_main_Read_a_b_object); + // OutputPin result + SingleDelegation_P_PWP_Operation_main_Read_a_b_result.SetName("result"); + SingleDelegation_P_PWP_Operation_main_Read_a_b_result.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_PWP_Operation_main_Read_a_b_result.SetType(SingleDelegation_P_PWP_Operation_B); + SingleDelegation_P_PWP_Operation_main_Read_a_b.SetResult(SingleDelegation_P_PWP_Operation_main_Read_a_b_result); + SingleDelegation_P_PWP_Operation_main.AddNode(SingleDelegation_P_PWP_Operation_main_Read_a_b); + // ReadStructuralFeatureAction Read c.a + SingleDelegation_P_PWP_Operation_main_Read_c_a.SetName("Read c.a"); + SingleDelegation_P_PWP_Operation_main_Read_c_a.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_PWP_Operation_main_Read_c_a.SetStructuralFeature(SingleDelegation_P_PWP_Operation_C_a); + // InputPin object + SingleDelegation_P_PWP_Operation_main_Read_c_a_object.SetName("object"); + SingleDelegation_P_PWP_Operation_main_Read_c_a_object.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_PWP_Operation_main_Read_c_a_object.SetType(SingleDelegation_P_PWP_Operation_C); + SingleDelegation_P_PWP_Operation_main_Read_c_a.SetObject(SingleDelegation_P_PWP_Operation_main_Read_c_a_object); + // OutputPin result + SingleDelegation_P_PWP_Operation_main_Read_c_a_result.SetName("result"); + SingleDelegation_P_PWP_Operation_main_Read_c_a_result.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_PWP_Operation_main_Read_c_a_result.SetType(SingleDelegation_P_PWP_Operation_A); + SingleDelegation_P_PWP_Operation_main_Read_c_a.SetResult(SingleDelegation_P_PWP_Operation_main_Read_c_a_result); + SingleDelegation_P_PWP_Operation_main.AddNode(SingleDelegation_P_PWP_Operation_main_Read_c_a); + // ReadStructuralFeatureAction Read b.p + SingleDelegation_P_PWP_Operation_main_Read_b_p.SetName("Read b.p"); + SingleDelegation_P_PWP_Operation_main_Read_b_p.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_PWP_Operation_main_Read_b_p.SetStructuralFeature(SingleDelegation_P_PWP_Operation_B_p); + // InputPin object + SingleDelegation_P_PWP_Operation_main_Read_b_p_object.SetName("object"); + SingleDelegation_P_PWP_Operation_main_Read_b_p_object.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_PWP_Operation_main_Read_b_p_object.SetType(SingleDelegation_P_PWP_Operation_B); + SingleDelegation_P_PWP_Operation_main_Read_b_p.SetObject(SingleDelegation_P_PWP_Operation_main_Read_b_p_object); + // OutputPin result + SingleDelegation_P_PWP_Operation_main_Read_b_p_result.SetName("result"); + SingleDelegation_P_PWP_Operation_main_Read_b_p_result.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_PWP_Operation_main_Read_b_p_result.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + SingleDelegation_P_PWP_Operation_main_Read_b_p.SetResult(SingleDelegation_P_PWP_Operation_main_Read_b_p_result); + SingleDelegation_P_PWP_Operation_main.AddNode(SingleDelegation_P_PWP_Operation_main_Read_b_p); + // CallBehaviorAction Call testP + SingleDelegation_P_PWP_Operation_main_Call_testP.SetName("Call testP"); + SingleDelegation_P_PWP_Operation_main_Call_testP.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_PWP_Operation_main_Call_testP.SetBehavior(SingleDelegation_P_PWP_Operation_main_testP); + // InputPin p + SingleDelegation_P_PWP_Operation_main_Call_testP_p.SetName("p"); + SingleDelegation_P_PWP_Operation_main_Call_testP_p.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_PWP_Operation_main_Call_testP_p.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + SingleDelegation_P_PWP_Operation_main_Call_testP.AddArgument(SingleDelegation_P_PWP_Operation_main_Call_testP_p); + SingleDelegation_P_PWP_Operation_main.AddNode(SingleDelegation_P_PWP_Operation_main_Call_testP); + // ValueSpecificationAction Value(4) + SingleDelegation_P_PWP_Operation_main_Value_4.SetName("Value(4)"); + SingleDelegation_P_PWP_Operation_main_Value_4.SetVisibility(VisibilityKind.public_); + // LiteralInteger LiteralInteger54 + SingleDelegation_P_PWP_Operation_main_Value_4_LiteralInteger54.SetName("LiteralInteger54"); + SingleDelegation_P_PWP_Operation_main_Value_4_LiteralInteger54.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_PWP_Operation_main_Value_4_LiteralInteger54.SetValue(4); + SingleDelegation_P_PWP_Operation_main_Value_4.SetValue(SingleDelegation_P_PWP_Operation_main_Value_4_LiteralInteger54); + // OutputPin result + SingleDelegation_P_PWP_Operation_main_Value_4_result.SetName("result"); + SingleDelegation_P_PWP_Operation_main_Value_4_result.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_PWP_Operation_main_Value_4_result.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + SingleDelegation_P_PWP_Operation_main_Value_4.SetResult(SingleDelegation_P_PWP_Operation_main_Value_4_result); + SingleDelegation_P_PWP_Operation_main.AddNode(SingleDelegation_P_PWP_Operation_main_Value_4); + // ValueSpecificationAction InitialMessage + SingleDelegation_P_PWP_Operation_main_InitialMessage.SetName("InitialMessage"); + SingleDelegation_P_PWP_Operation_main_InitialMessage.SetVisibility(VisibilityKind.public_); + // LiteralString LiteralString58 + SingleDelegation_P_PWP_Operation_main_InitialMessage_LiteralString58.SetName("LiteralString58"); + SingleDelegation_P_PWP_Operation_main_InitialMessage_LiteralString58.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_PWP_Operation_main_InitialMessage_LiteralString58.SetValue("-- Running test case: Single delegation connector - Operation delegated from port to part with port --"); + SingleDelegation_P_PWP_Operation_main_InitialMessage.SetValue(SingleDelegation_P_PWP_Operation_main_InitialMessage_LiteralString58); + // OutputPin result + SingleDelegation_P_PWP_Operation_main_InitialMessage_result.SetName("result"); + SingleDelegation_P_PWP_Operation_main_InitialMessage_result.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_PWP_Operation_main_InitialMessage_result.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_String); + SingleDelegation_P_PWP_Operation_main_InitialMessage.SetResult(SingleDelegation_P_PWP_Operation_main_InitialMessage_result); + SingleDelegation_P_PWP_Operation_main.AddNode(SingleDelegation_P_PWP_Operation_main_InitialMessage); + // CallBehaviorAction WriteLine(EndMessage) + SingleDelegation_P_PWP_Operation_main_WriteLine_EndMessage.SetName("WriteLine(EndMessage)"); + SingleDelegation_P_PWP_Operation_main_WriteLine_EndMessage.SetVisibility(VisibilityKind.public_); + + // OutputPin errorStatus + SingleDelegation_P_PWP_Operation_main_WriteLine_EndMessage_errorStatus.SetName("errorStatus"); + SingleDelegation_P_PWP_Operation_main_WriteLine_EndMessage_errorStatus.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_PWP_Operation_main_WriteLine_EndMessage_errorStatus.SetType(FoundationalModelLibraryModel.Instance().FoundationalModelLibrary_Common_Status); + SingleDelegation_P_PWP_Operation_main_WriteLine_EndMessage_errorStatus.SetLower(0); + SingleDelegation_P_PWP_Operation_main_WriteLine_EndMessage.AddResult(SingleDelegation_P_PWP_Operation_main_WriteLine_EndMessage_errorStatus); + SingleDelegation_P_PWP_Operation_main_WriteLine_EndMessage.SetBehavior(FoundationalModelLibraryModel.Instance().FoundationalModelLibrary_BasicInputOutput_WriteLine); + // InputPin value + SingleDelegation_P_PWP_Operation_main_WriteLine_EndMessage_value.SetName("value"); + SingleDelegation_P_PWP_Operation_main_WriteLine_EndMessage_value.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_PWP_Operation_main_WriteLine_EndMessage_value.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_String); + SingleDelegation_P_PWP_Operation_main_WriteLine_EndMessage.AddArgument(SingleDelegation_P_PWP_Operation_main_WriteLine_EndMessage_value); + SingleDelegation_P_PWP_Operation_main.AddNode(SingleDelegation_P_PWP_Operation_main_WriteLine_EndMessage); + // CreateObjectAction Create C + SingleDelegation_P_PWP_Operation_main_Create_C.SetName("Create C"); + SingleDelegation_P_PWP_Operation_main_Create_C.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_PWP_Operation_main_Create_C.SetClassifier(SingleDelegation_P_PWP_Operation_C); + // OutputPin result + SingleDelegation_P_PWP_Operation_main_Create_C_result.SetName("result"); + SingleDelegation_P_PWP_Operation_main_Create_C_result.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_PWP_Operation_main_Create_C_result.SetType(SingleDelegation_P_PWP_Operation_C); + SingleDelegation_P_PWP_Operation_main_Create_C.SetResult(SingleDelegation_P_PWP_Operation_main_Create_C_result); + SingleDelegation_P_PWP_Operation_main.AddNode(SingleDelegation_P_PWP_Operation_main_Create_C); + // ReadStructuralFeatureAction Read c.p + SingleDelegation_P_PWP_Operation_main_Read_c_p.SetName("Read c.p"); + SingleDelegation_P_PWP_Operation_main_Read_c_p.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_PWP_Operation_main_Read_c_p.SetStructuralFeature(SingleDelegation_P_PWP_Operation_C_p); + // InputPin object + SingleDelegation_P_PWP_Operation_main_Read_c_p_object.SetName("object"); + SingleDelegation_P_PWP_Operation_main_Read_c_p_object.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_PWP_Operation_main_Read_c_p_object.SetType(SingleDelegation_P_PWP_Operation_C); + SingleDelegation_P_PWP_Operation_main_Read_c_p.SetObject(SingleDelegation_P_PWP_Operation_main_Read_c_p_object); + // OutputPin result + SingleDelegation_P_PWP_Operation_main_Read_c_p_result.SetName("result"); + SingleDelegation_P_PWP_Operation_main_Read_c_p_result.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_PWP_Operation_main_Read_c_p_result.SetType(SingleDelegation_P_PWP_Operation_IImpl); + SingleDelegation_P_PWP_Operation_main_Read_c_p.SetResult(SingleDelegation_P_PWP_Operation_main_Read_c_p_result); + SingleDelegation_P_PWP_Operation_main.AddNode(SingleDelegation_P_PWP_Operation_main_Read_c_p); + // ForkNode Fork C + SingleDelegation_P_PWP_Operation_main_Fork_C.SetName("Fork C"); + SingleDelegation_P_PWP_Operation_main_Fork_C.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_PWP_Operation_main.AddNode(SingleDelegation_P_PWP_Operation_main_Fork_C); + // CallBehaviorAction WriteLine(InitialMessage) + SingleDelegation_P_PWP_Operation_main_WriteLine_InitialMessage.SetName("WriteLine(InitialMessage)"); + SingleDelegation_P_PWP_Operation_main_WriteLine_InitialMessage.SetVisibility(VisibilityKind.public_); + + // OutputPin errorStatus + SingleDelegation_P_PWP_Operation_main_WriteLine_InitialMessage_errorStatus.SetName("errorStatus"); + SingleDelegation_P_PWP_Operation_main_WriteLine_InitialMessage_errorStatus.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_PWP_Operation_main_WriteLine_InitialMessage_errorStatus.SetType(FoundationalModelLibraryModel.Instance().FoundationalModelLibrary_Common_Status); + SingleDelegation_P_PWP_Operation_main_WriteLine_InitialMessage_errorStatus.SetLower(0); + SingleDelegation_P_PWP_Operation_main_WriteLine_InitialMessage.AddResult(SingleDelegation_P_PWP_Operation_main_WriteLine_InitialMessage_errorStatus); + SingleDelegation_P_PWP_Operation_main_WriteLine_InitialMessage.SetBehavior(FoundationalModelLibraryModel.Instance().FoundationalModelLibrary_BasicInputOutput_WriteLine); + // InputPin value + SingleDelegation_P_PWP_Operation_main_WriteLine_InitialMessage_value.SetName("value"); + SingleDelegation_P_PWP_Operation_main_WriteLine_InitialMessage_value.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_PWP_Operation_main_WriteLine_InitialMessage_value.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_String); + SingleDelegation_P_PWP_Operation_main_WriteLine_InitialMessage.AddArgument(SingleDelegation_P_PWP_Operation_main_WriteLine_InitialMessage_value); + SingleDelegation_P_PWP_Operation_main.AddNode(SingleDelegation_P_PWP_Operation_main_WriteLine_InitialMessage); + // CallOperationAction Call c.p.setP + SingleDelegation_P_PWP_Operation_main_Call_c_p_setP.SetName("Call c.p.setP"); + SingleDelegation_P_PWP_Operation_main_Call_c_p_setP.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_PWP_Operation_main_Call_c_p_setP.SetOperation(SingleDelegation_P_PWP_Operation_I_setP_Integer); + // InputPin target + SingleDelegation_P_PWP_Operation_main_Call_c_p_setP_target.SetName("target"); + SingleDelegation_P_PWP_Operation_main_Call_c_p_setP_target.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_PWP_Operation_main_Call_c_p_setP.SetTarget(SingleDelegation_P_PWP_Operation_main_Call_c_p_setP_target); + // InputPin v + SingleDelegation_P_PWP_Operation_main_Call_c_p_setP_v.SetName("v"); + SingleDelegation_P_PWP_Operation_main_Call_c_p_setP_v.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_PWP_Operation_main_Call_c_p_setP_v.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + SingleDelegation_P_PWP_Operation_main_Call_c_p_setP.AddArgument(SingleDelegation_P_PWP_Operation_main_Call_c_p_setP_v); + SingleDelegation_P_PWP_Operation_main.AddNode(SingleDelegation_P_PWP_Operation_main_Call_c_p_setP); + // ValueSpecificationAction EndMessage + SingleDelegation_P_PWP_Operation_main_EndMessage.SetName("EndMessage"); + SingleDelegation_P_PWP_Operation_main_EndMessage.SetVisibility(VisibilityKind.public_); + // LiteralString LiteralString85 + SingleDelegation_P_PWP_Operation_main_EndMessage_LiteralString85.SetName("LiteralString85"); + SingleDelegation_P_PWP_Operation_main_EndMessage_LiteralString85.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_PWP_Operation_main_EndMessage_LiteralString85.SetValue("-- End of test case --"); + SingleDelegation_P_PWP_Operation_main_EndMessage.SetValue(SingleDelegation_P_PWP_Operation_main_EndMessage_LiteralString85); + // OutputPin result + SingleDelegation_P_PWP_Operation_main_EndMessage_result.SetName("result"); + SingleDelegation_P_PWP_Operation_main_EndMessage_result.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_PWP_Operation_main_EndMessage_result.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_String); + SingleDelegation_P_PWP_Operation_main_EndMessage.SetResult(SingleDelegation_P_PWP_Operation_main_EndMessage_result); + SingleDelegation_P_PWP_Operation_main.AddNode(SingleDelegation_P_PWP_Operation_main_EndMessage); + // ObjectFlow ObjectFlow39 from result to target + SingleDelegation_P_PWP_Operation_main_ObjectFlow39.SetName("ObjectFlow39"); + SingleDelegation_P_PWP_Operation_main_ObjectFlow39.SetVisibility(VisibilityKind.public_); + + SingleDelegation_P_PWP_Operation_main_ObjectFlow39.SetSource(SingleDelegation_P_PWP_Operation_main_Create_C_result); + SingleDelegation_P_PWP_Operation_main_ObjectFlow39.SetTarget(SingleDelegation_P_PWP_Operation_main_C__target); + // LiteralBoolean LiteralBoolean41 + SingleDelegation_P_PWP_Operation_main_ObjectFlow39_LiteralBoolean41.SetName("LiteralBoolean41"); + SingleDelegation_P_PWP_Operation_main_ObjectFlow39_LiteralBoolean41.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_PWP_Operation_main_ObjectFlow39_LiteralBoolean41.SetValue(true); + SingleDelegation_P_PWP_Operation_main_ObjectFlow39.SetGuard(SingleDelegation_P_PWP_Operation_main_ObjectFlow39_LiteralBoolean41); + SingleDelegation_P_PWP_Operation_main.AddEdge(SingleDelegation_P_PWP_Operation_main_ObjectFlow39); + // ObjectFlow ObjectFlow42 from result to v + SingleDelegation_P_PWP_Operation_main_ObjectFlow42.SetName("ObjectFlow42"); + SingleDelegation_P_PWP_Operation_main_ObjectFlow42.SetVisibility(VisibilityKind.public_); + + SingleDelegation_P_PWP_Operation_main_ObjectFlow42.SetSource(SingleDelegation_P_PWP_Operation_main_Value_4_result); + SingleDelegation_P_PWP_Operation_main_ObjectFlow42.SetTarget(SingleDelegation_P_PWP_Operation_main_Call_c_p_setP_v); + // LiteralBoolean LiteralBoolean44 + SingleDelegation_P_PWP_Operation_main_ObjectFlow42_LiteralBoolean44.SetName("LiteralBoolean44"); + SingleDelegation_P_PWP_Operation_main_ObjectFlow42_LiteralBoolean44.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_PWP_Operation_main_ObjectFlow42_LiteralBoolean44.SetValue(true); + SingleDelegation_P_PWP_Operation_main_ObjectFlow42.SetGuard(SingleDelegation_P_PWP_Operation_main_ObjectFlow42_LiteralBoolean44); + SingleDelegation_P_PWP_Operation_main.AddEdge(SingleDelegation_P_PWP_Operation_main_ObjectFlow42); + // ObjectFlow ObjectFlow45 from result to object + SingleDelegation_P_PWP_Operation_main_ObjectFlow45.SetName("ObjectFlow45"); + SingleDelegation_P_PWP_Operation_main_ObjectFlow45.SetVisibility(VisibilityKind.public_); + + SingleDelegation_P_PWP_Operation_main_ObjectFlow45.SetSource(SingleDelegation_P_PWP_Operation_main_Read_a_b_result); + SingleDelegation_P_PWP_Operation_main_ObjectFlow45.SetTarget(SingleDelegation_P_PWP_Operation_main_Read_b_p_object); + // LiteralBoolean LiteralBoolean47 + SingleDelegation_P_PWP_Operation_main_ObjectFlow45_LiteralBoolean47.SetName("LiteralBoolean47"); + SingleDelegation_P_PWP_Operation_main_ObjectFlow45_LiteralBoolean47.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_PWP_Operation_main_ObjectFlow45_LiteralBoolean47.SetValue(true); + SingleDelegation_P_PWP_Operation_main_ObjectFlow45.SetGuard(SingleDelegation_P_PWP_Operation_main_ObjectFlow45_LiteralBoolean47); + SingleDelegation_P_PWP_Operation_main.AddEdge(SingleDelegation_P_PWP_Operation_main_ObjectFlow45); + // ObjectFlow ObjectFlow48 from Fork C to object + SingleDelegation_P_PWP_Operation_main_ObjectFlow48.SetName("ObjectFlow48"); + SingleDelegation_P_PWP_Operation_main_ObjectFlow48.SetVisibility(VisibilityKind.public_); + + SingleDelegation_P_PWP_Operation_main_ObjectFlow48.SetSource(SingleDelegation_P_PWP_Operation_main_Fork_C); + SingleDelegation_P_PWP_Operation_main_ObjectFlow48.SetTarget(SingleDelegation_P_PWP_Operation_main_Read_c_a_object); + // LiteralBoolean LiteralBoolean50 + SingleDelegation_P_PWP_Operation_main_ObjectFlow48_LiteralBoolean50.SetName("LiteralBoolean50"); + SingleDelegation_P_PWP_Operation_main_ObjectFlow48_LiteralBoolean50.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_PWP_Operation_main_ObjectFlow48_LiteralBoolean50.SetValue(true); + SingleDelegation_P_PWP_Operation_main_ObjectFlow48.SetGuard(SingleDelegation_P_PWP_Operation_main_ObjectFlow48_LiteralBoolean50); + SingleDelegation_P_PWP_Operation_main.AddEdge(SingleDelegation_P_PWP_Operation_main_ObjectFlow48); + // ObjectFlow ObjectFlow4 from result to object + SingleDelegation_P_PWP_Operation_main_ObjectFlow4.SetName("ObjectFlow4"); + SingleDelegation_P_PWP_Operation_main_ObjectFlow4.SetVisibility(VisibilityKind.public_); + + SingleDelegation_P_PWP_Operation_main_ObjectFlow4.SetSource(SingleDelegation_P_PWP_Operation_main_Read_c_a_result); + SingleDelegation_P_PWP_Operation_main_ObjectFlow4.SetTarget(SingleDelegation_P_PWP_Operation_main_Read_a_b_object); + // LiteralBoolean LiteralBoolean5 + SingleDelegation_P_PWP_Operation_main_ObjectFlow4_LiteralBoolean5.SetName("LiteralBoolean5"); + SingleDelegation_P_PWP_Operation_main_ObjectFlow4_LiteralBoolean5.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_PWP_Operation_main_ObjectFlow4_LiteralBoolean5.SetValue(true); + SingleDelegation_P_PWP_Operation_main_ObjectFlow4.SetGuard(SingleDelegation_P_PWP_Operation_main_ObjectFlow4_LiteralBoolean5); + SingleDelegation_P_PWP_Operation_main.AddEdge(SingleDelegation_P_PWP_Operation_main_ObjectFlow4); + // ControlFlow ControlFlow51 from Call c.p.setP to Read c.a + SingleDelegation_P_PWP_Operation_main_ControlFlow51.SetName("ControlFlow51"); + SingleDelegation_P_PWP_Operation_main_ControlFlow51.SetVisibility(VisibilityKind.public_); + + SingleDelegation_P_PWP_Operation_main_ControlFlow51.SetSource(SingleDelegation_P_PWP_Operation_main_Call_c_p_setP); + SingleDelegation_P_PWP_Operation_main_ControlFlow51.SetTarget(SingleDelegation_P_PWP_Operation_main_Read_c_a); + SingleDelegation_P_PWP_Operation_main.AddEdge(SingleDelegation_P_PWP_Operation_main_ControlFlow51); + // ControlFlow ControlFlow55 from WriteLine(InitialMessage) to Create C + SingleDelegation_P_PWP_Operation_main_ControlFlow55.SetName("ControlFlow55"); + SingleDelegation_P_PWP_Operation_main_ControlFlow55.SetVisibility(VisibilityKind.public_); + + SingleDelegation_P_PWP_Operation_main_ControlFlow55.SetSource(SingleDelegation_P_PWP_Operation_main_WriteLine_InitialMessage); + SingleDelegation_P_PWP_Operation_main_ControlFlow55.SetTarget(SingleDelegation_P_PWP_Operation_main_Create_C); + SingleDelegation_P_PWP_Operation_main.AddEdge(SingleDelegation_P_PWP_Operation_main_ControlFlow55); + // ObjectFlow ObjectFlow14 from result to Fork C + SingleDelegation_P_PWP_Operation_main_ObjectFlow14.SetName("ObjectFlow14"); + SingleDelegation_P_PWP_Operation_main_ObjectFlow14.SetVisibility(VisibilityKind.public_); + + SingleDelegation_P_PWP_Operation_main_ObjectFlow14.SetSource(SingleDelegation_P_PWP_Operation_main_C__result); + SingleDelegation_P_PWP_Operation_main_ObjectFlow14.SetTarget(SingleDelegation_P_PWP_Operation_main_Fork_C); + // LiteralBoolean LiteralBoolean15 + SingleDelegation_P_PWP_Operation_main_ObjectFlow14_LiteralBoolean15.SetName("LiteralBoolean15"); + SingleDelegation_P_PWP_Operation_main_ObjectFlow14_LiteralBoolean15.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_PWP_Operation_main_ObjectFlow14_LiteralBoolean15.SetValue(true); + SingleDelegation_P_PWP_Operation_main_ObjectFlow14.SetGuard(SingleDelegation_P_PWP_Operation_main_ObjectFlow14_LiteralBoolean15); + SingleDelegation_P_PWP_Operation_main.AddEdge(SingleDelegation_P_PWP_Operation_main_ObjectFlow14); + // ObjectFlow ObjectFlow65 from result to p + SingleDelegation_P_PWP_Operation_main_ObjectFlow65.SetName("ObjectFlow65"); + SingleDelegation_P_PWP_Operation_main_ObjectFlow65.SetVisibility(VisibilityKind.public_); + + SingleDelegation_P_PWP_Operation_main_ObjectFlow65.SetSource(SingleDelegation_P_PWP_Operation_main_Read_b_p_result); + SingleDelegation_P_PWP_Operation_main_ObjectFlow65.SetTarget(SingleDelegation_P_PWP_Operation_main_Call_testP_p); + // LiteralBoolean LiteralBoolean67 + SingleDelegation_P_PWP_Operation_main_ObjectFlow65_LiteralBoolean67.SetName("LiteralBoolean67"); + SingleDelegation_P_PWP_Operation_main_ObjectFlow65_LiteralBoolean67.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_PWP_Operation_main_ObjectFlow65_LiteralBoolean67.SetValue(true); + SingleDelegation_P_PWP_Operation_main_ObjectFlow65.SetGuard(SingleDelegation_P_PWP_Operation_main_ObjectFlow65_LiteralBoolean67); + SingleDelegation_P_PWP_Operation_main.AddEdge(SingleDelegation_P_PWP_Operation_main_ObjectFlow65); + // ControlFlow ControlFlow17 from Call testP to WriteLine(EndMessage) + SingleDelegation_P_PWP_Operation_main_ControlFlow17.SetName("ControlFlow17"); + SingleDelegation_P_PWP_Operation_main_ControlFlow17.SetVisibility(VisibilityKind.public_); + + SingleDelegation_P_PWP_Operation_main_ControlFlow17.SetSource(SingleDelegation_P_PWP_Operation_main_Call_testP); + SingleDelegation_P_PWP_Operation_main_ControlFlow17.SetTarget(SingleDelegation_P_PWP_Operation_main_WriteLine_EndMessage); + SingleDelegation_P_PWP_Operation_main.AddEdge(SingleDelegation_P_PWP_Operation_main_ControlFlow17); + // ObjectFlow ObjectFlow68 from result to value + SingleDelegation_P_PWP_Operation_main_ObjectFlow68.SetName("ObjectFlow68"); + SingleDelegation_P_PWP_Operation_main_ObjectFlow68.SetVisibility(VisibilityKind.public_); + + SingleDelegation_P_PWP_Operation_main_ObjectFlow68.SetSource(SingleDelegation_P_PWP_Operation_main_InitialMessage_result); + SingleDelegation_P_PWP_Operation_main_ObjectFlow68.SetTarget(SingleDelegation_P_PWP_Operation_main_WriteLine_InitialMessage_value); + // LiteralBoolean LiteralBoolean70 + SingleDelegation_P_PWP_Operation_main_ObjectFlow68_LiteralBoolean70.SetName("LiteralBoolean70"); + SingleDelegation_P_PWP_Operation_main_ObjectFlow68_LiteralBoolean70.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_PWP_Operation_main_ObjectFlow68_LiteralBoolean70.SetValue(true); + SingleDelegation_P_PWP_Operation_main_ObjectFlow68.SetGuard(SingleDelegation_P_PWP_Operation_main_ObjectFlow68_LiteralBoolean70); + SingleDelegation_P_PWP_Operation_main.AddEdge(SingleDelegation_P_PWP_Operation_main_ObjectFlow68); + // ObjectFlow ObjectFlow24 from Fork C to object + SingleDelegation_P_PWP_Operation_main_ObjectFlow24.SetName("ObjectFlow24"); + SingleDelegation_P_PWP_Operation_main_ObjectFlow24.SetVisibility(VisibilityKind.public_); + + SingleDelegation_P_PWP_Operation_main_ObjectFlow24.SetSource(SingleDelegation_P_PWP_Operation_main_Fork_C); + SingleDelegation_P_PWP_Operation_main_ObjectFlow24.SetTarget(SingleDelegation_P_PWP_Operation_main_Read_c_p_object); + // LiteralBoolean LiteralBoolean25 + SingleDelegation_P_PWP_Operation_main_ObjectFlow24_LiteralBoolean25.SetName("LiteralBoolean25"); + SingleDelegation_P_PWP_Operation_main_ObjectFlow24_LiteralBoolean25.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_PWP_Operation_main_ObjectFlow24_LiteralBoolean25.SetValue(true); + SingleDelegation_P_PWP_Operation_main_ObjectFlow24.SetGuard(SingleDelegation_P_PWP_Operation_main_ObjectFlow24_LiteralBoolean25); + SingleDelegation_P_PWP_Operation_main.AddEdge(SingleDelegation_P_PWP_Operation_main_ObjectFlow24); + // ObjectFlow ObjectFlow27 from result to value + SingleDelegation_P_PWP_Operation_main_ObjectFlow27.SetName("ObjectFlow27"); + SingleDelegation_P_PWP_Operation_main_ObjectFlow27.SetVisibility(VisibilityKind.public_); + + SingleDelegation_P_PWP_Operation_main_ObjectFlow27.SetSource(SingleDelegation_P_PWP_Operation_main_EndMessage_result); + SingleDelegation_P_PWP_Operation_main_ObjectFlow27.SetTarget(SingleDelegation_P_PWP_Operation_main_WriteLine_EndMessage_value); + // LiteralBoolean LiteralBoolean28 + SingleDelegation_P_PWP_Operation_main_ObjectFlow27_LiteralBoolean28.SetName("LiteralBoolean28"); + SingleDelegation_P_PWP_Operation_main_ObjectFlow27_LiteralBoolean28.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_PWP_Operation_main_ObjectFlow27_LiteralBoolean28.SetValue(true); + SingleDelegation_P_PWP_Operation_main_ObjectFlow27.SetGuard(SingleDelegation_P_PWP_Operation_main_ObjectFlow27_LiteralBoolean28); + SingleDelegation_P_PWP_Operation_main.AddEdge(SingleDelegation_P_PWP_Operation_main_ObjectFlow27); + // ObjectFlow ObjectFlow77 from result to target + SingleDelegation_P_PWP_Operation_main_ObjectFlow77.SetName("ObjectFlow77"); + SingleDelegation_P_PWP_Operation_main_ObjectFlow77.SetVisibility(VisibilityKind.public_); + + SingleDelegation_P_PWP_Operation_main_ObjectFlow77.SetSource(SingleDelegation_P_PWP_Operation_main_Read_c_p_result); + SingleDelegation_P_PWP_Operation_main_ObjectFlow77.SetTarget(SingleDelegation_P_PWP_Operation_main_Call_c_p_setP_target); + // LiteralBoolean LiteralBoolean79 + SingleDelegation_P_PWP_Operation_main_ObjectFlow77_LiteralBoolean79.SetName("LiteralBoolean79"); + SingleDelegation_P_PWP_Operation_main_ObjectFlow77_LiteralBoolean79.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_PWP_Operation_main_ObjectFlow77_LiteralBoolean79.SetValue(true); + SingleDelegation_P_PWP_Operation_main_ObjectFlow77.SetGuard(SingleDelegation_P_PWP_Operation_main_ObjectFlow77_LiteralBoolean79); + SingleDelegation_P_PWP_Operation_main.AddEdge(SingleDelegation_P_PWP_Operation_main_ObjectFlow77); + SingleDelegation_P_PWP_Operation.AddPackagedElement(SingleDelegation_P_PWP_Operation_main); + // Association U + SingleDelegation_P_PWP_Operation_U.SetName("U"); + SingleDelegation_P_PWP_Operation_U.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_PWP_Operation_U.AddOwnedEnd(SingleDelegation_P_PWP_Operation_U_x); + SingleDelegation_P_PWP_Operation_U.AddOwnedEnd(SingleDelegation_P_PWP_Operation_U_y); + SingleDelegation_P_PWP_Operation.AddPackagedElement(SingleDelegation_P_PWP_Operation_U); + // Class IImpl + SingleDelegation_P_PWP_Operation_IImpl.SetName("IImpl"); + SingleDelegation_P_PWP_Operation_IImpl.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_PWP_Operation_IImpl_IRealization.SetName("IRealization"); + SingleDelegation_P_PWP_Operation_IImpl_IRealization.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_PWP_Operation_IImpl_IRealization.SetContract(SingleDelegation_P_PWP_Operation_I); + + SingleDelegation_P_PWP_Operation_IImpl.AddInterfaceRealization(SingleDelegation_P_PWP_Operation_IImpl_IRealization); + + // Operation setP_Integer + SingleDelegation_P_PWP_Operation_IImpl_setP_Integer.SetName("setP_Integer"); + SingleDelegation_P_PWP_Operation_IImpl_setP_Integer.SetVisibility(VisibilityKind.public_); + // Parameter v + SingleDelegation_P_PWP_Operation_IImpl_setP_Integer_v.SetName("v"); + SingleDelegation_P_PWP_Operation_IImpl_setP_Integer_v.SetVisibility(VisibilityKind.public_); + + SingleDelegation_P_PWP_Operation_IImpl_setP_Integer_v.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + SingleDelegation_P_PWP_Operation_IImpl_setP_Integer.AddOwnedParameter(SingleDelegation_P_PWP_Operation_IImpl_setP_Integer_v); + SingleDelegation_P_PWP_Operation_IImpl.AddOwnedOperation(SingleDelegation_P_PWP_Operation_IImpl_setP_Integer); + SingleDelegation_P_PWP_Operation.AddPackagedElement(SingleDelegation_P_PWP_Operation_IImpl); + // Class A + SingleDelegation_P_PWP_Operation_A.SetName("A"); + SingleDelegation_P_PWP_Operation_A.SetVisibility(VisibilityKind.public_); + + // Port q + SingleDelegation_P_PWP_Operation_A_q.SetName("q"); + SingleDelegation_P_PWP_Operation_A_q.SetVisibility(VisibilityKind.public_); + + SingleDelegation_P_PWP_Operation_A_q.SetType(SingleDelegation_P_PWP_Operation_IImpl); + SingleDelegation_P_PWP_Operation_A_q.SetAggregation(AggregationKind.composite); + SingleDelegation_P_PWP_Operation_A_q.isService = true; + SingleDelegation_P_PWP_Operation_A_q.AddProvided(SingleDelegation_P_PWP_Operation_I); + SingleDelegation_P_PWP_Operation_A.AddOwnedAttribute(SingleDelegation_P_PWP_Operation_A_q); + // Property b + SingleDelegation_P_PWP_Operation_A_b.SetName("b"); + SingleDelegation_P_PWP_Operation_A_b.SetVisibility(VisibilityKind.public_); + + SingleDelegation_P_PWP_Operation_A_b.SetType(SingleDelegation_P_PWP_Operation_B); + SingleDelegation_P_PWP_Operation_A_b.SetAggregation(AggregationKind.composite); + SingleDelegation_P_PWP_Operation_A.AddOwnedAttribute(SingleDelegation_P_PWP_Operation_A_b); + + SingleDelegation_P_PWP_Operation_A_r.SetName("r"); + SingleDelegation_P_PWP_Operation_A_r.SetVisibility(VisibilityKind.public_); + + SingleDelegation_P_PWP_Operation_A_r_ConnectorEnd89.SetRole(SingleDelegation_P_PWP_Operation_A_q); + + SingleDelegation_P_PWP_Operation_A_r.AddEnd(SingleDelegation_P_PWP_Operation_A_r_ConnectorEnd89); + + SingleDelegation_P_PWP_Operation_A_r_ConnectorEnd88.SetRole(SingleDelegation_P_PWP_Operation_A_b); + + SingleDelegation_P_PWP_Operation_A_r.AddEnd(SingleDelegation_P_PWP_Operation_A_r_ConnectorEnd88); + SingleDelegation_P_PWP_Operation_A_r.SetType(SingleDelegation_P_PWP_Operation_R); + SingleDelegation_P_PWP_Operation_A.AddOwnedConnector(SingleDelegation_P_PWP_Operation_A_r); + // Operation A_A + SingleDelegation_P_PWP_Operation_A_A_A.SetName("A_A"); + SingleDelegation_P_PWP_Operation_A_A_A.SetVisibility(VisibilityKind.public_); + // Parameter result + SingleDelegation_P_PWP_Operation_A_A_A_result.SetName("result"); + SingleDelegation_P_PWP_Operation_A_A_A_result.SetVisibility(VisibilityKind.public_); + + SingleDelegation_P_PWP_Operation_A_A_A_result.SetType(SingleDelegation_P_PWP_Operation_A); + SingleDelegation_P_PWP_Operation_A_A_A_result.SetDirection(ParameterDirectionKind.return_); + SingleDelegation_P_PWP_Operation_A_A_A.AddOwnedParameter(SingleDelegation_P_PWP_Operation_A_A_A_result); + SingleDelegation_P_PWP_Operation_A_A_A.ApplyStereotype(uml.standardprofile.StandardProfileModel.Instance().Stereotype_Create); + SingleDelegation_P_PWP_Operation_A.AddOwnedOperation(SingleDelegation_P_PWP_Operation_A_A_A); + SingleDelegation_P_PWP_Operation.AddPackagedElement(SingleDelegation_P_PWP_Operation_A); + // Interface I + SingleDelegation_P_PWP_Operation_I.SetName("I"); + SingleDelegation_P_PWP_Operation_I.SetVisibility(VisibilityKind.public_); + // Operation setP_Integer + SingleDelegation_P_PWP_Operation_I_setP_Integer.SetName("setP_Integer"); + SingleDelegation_P_PWP_Operation_I_setP_Integer.SetVisibility(VisibilityKind.public_); + // Parameter v + SingleDelegation_P_PWP_Operation_I_setP_Integer_v.SetName("v"); + SingleDelegation_P_PWP_Operation_I_setP_Integer_v.SetVisibility(VisibilityKind.public_); + + SingleDelegation_P_PWP_Operation_I_setP_Integer_v.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + SingleDelegation_P_PWP_Operation_I_setP_Integer.AddOwnedParameter(SingleDelegation_P_PWP_Operation_I_setP_Integer_v); + SingleDelegation_P_PWP_Operation_I.AddOwnedOperation(SingleDelegation_P_PWP_Operation_I_setP_Integer); + SingleDelegation_P_PWP_Operation.AddPackagedElement(SingleDelegation_P_PWP_Operation_I); + // Class C + SingleDelegation_P_PWP_Operation_C.SetName("C"); + SingleDelegation_P_PWP_Operation_C.SetVisibility(VisibilityKind.public_); + + // Port p + SingleDelegation_P_PWP_Operation_C_p.SetName("p"); + SingleDelegation_P_PWP_Operation_C_p.SetVisibility(VisibilityKind.public_); + + SingleDelegation_P_PWP_Operation_C_p.SetType(SingleDelegation_P_PWP_Operation_IImpl); + SingleDelegation_P_PWP_Operation_C_p.SetAggregation(AggregationKind.composite); + SingleDelegation_P_PWP_Operation_C_p.isService = true; + SingleDelegation_P_PWP_Operation_C_p.AddProvided(SingleDelegation_P_PWP_Operation_I); + SingleDelegation_P_PWP_Operation_C.AddOwnedAttribute(SingleDelegation_P_PWP_Operation_C_p); + // Property a + SingleDelegation_P_PWP_Operation_C_a.SetName("a"); + SingleDelegation_P_PWP_Operation_C_a.SetVisibility(VisibilityKind.public_); + + SingleDelegation_P_PWP_Operation_C_a.SetType(SingleDelegation_P_PWP_Operation_A); + SingleDelegation_P_PWP_Operation_C_a.SetAggregation(AggregationKind.composite); + SingleDelegation_P_PWP_Operation_C.AddOwnedAttribute(SingleDelegation_P_PWP_Operation_C_a); + + SingleDelegation_P_PWP_Operation_C_u.SetName("u"); + SingleDelegation_P_PWP_Operation_C_u.SetVisibility(VisibilityKind.public_); + + SingleDelegation_P_PWP_Operation_C_u_ConnectorEnd91.SetRole(SingleDelegation_P_PWP_Operation_C_p); + + SingleDelegation_P_PWP_Operation_C_u.AddEnd(SingleDelegation_P_PWP_Operation_C_u_ConnectorEnd91); + + SingleDelegation_P_PWP_Operation_C_u_ConnectorEnd90.SetRole(SingleDelegation_P_PWP_Operation_A_q); + SingleDelegation_P_PWP_Operation_C_u_ConnectorEnd90.SetPartWithPort(SingleDelegation_P_PWP_Operation_C_a); + + SingleDelegation_P_PWP_Operation_C_u.AddEnd(SingleDelegation_P_PWP_Operation_C_u_ConnectorEnd90); + SingleDelegation_P_PWP_Operation_C_u.SetType(SingleDelegation_P_PWP_Operation_U); + SingleDelegation_P_PWP_Operation_C.AddOwnedConnector(SingleDelegation_P_PWP_Operation_C_u); + // Operation C_C + SingleDelegation_P_PWP_Operation_C_C_C.SetName("C_C"); + SingleDelegation_P_PWP_Operation_C_C_C.SetVisibility(VisibilityKind.public_); + // Parameter result + SingleDelegation_P_PWP_Operation_C_C_C_result.SetName("result"); + SingleDelegation_P_PWP_Operation_C_C_C_result.SetVisibility(VisibilityKind.public_); + + SingleDelegation_P_PWP_Operation_C_C_C_result.SetType(SingleDelegation_P_PWP_Operation_C); + SingleDelegation_P_PWP_Operation_C_C_C_result.SetDirection(ParameterDirectionKind.return_); + SingleDelegation_P_PWP_Operation_C_C_C.AddOwnedParameter(SingleDelegation_P_PWP_Operation_C_C_C_result); + SingleDelegation_P_PWP_Operation_C_C_C.ApplyStereotype(uml.standardprofile.StandardProfileModel.Instance().Stereotype_Create); + SingleDelegation_P_PWP_Operation_C.AddOwnedOperation(SingleDelegation_P_PWP_Operation_C_C_C); + SingleDelegation_P_PWP_Operation.AddPackagedElement(SingleDelegation_P_PWP_Operation_C); + // Class B + SingleDelegation_P_PWP_Operation_B.SetName("B"); + SingleDelegation_P_PWP_Operation_B.SetVisibility(VisibilityKind.public_); + + // Property p + SingleDelegation_P_PWP_Operation_B_p.SetName("p"); + SingleDelegation_P_PWP_Operation_B_p.SetVisibility(VisibilityKind.public_); + + SingleDelegation_P_PWP_Operation_B_p.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + SingleDelegation_P_PWP_Operation_B.AddOwnedAttribute(SingleDelegation_P_PWP_Operation_B_p); + // Activity setPActivity + SingleDelegation_P_PWP_Operation_B_setPActivity.SetName("setPActivity"); + SingleDelegation_P_PWP_Operation_B_setPActivity.SetVisibility(VisibilityKind.public_); + + // Parameter v + SingleDelegation_P_PWP_Operation_B_setPActivity_v.SetName("v"); + SingleDelegation_P_PWP_Operation_B_setPActivity_v.SetVisibility(VisibilityKind.public_); + + SingleDelegation_P_PWP_Operation_B_setPActivity_v.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + SingleDelegation_P_PWP_Operation_B_setPActivity.AddOwnedParameter(SingleDelegation_P_PWP_Operation_B_setPActivity_v); + // AddStructuralFeatureValueAction Set this.p + SingleDelegation_P_PWP_Operation_B_setPActivity_Set_this_p.SetName("Set this.p"); + SingleDelegation_P_PWP_Operation_B_setPActivity_Set_this_p.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_PWP_Operation_B_setPActivity_Set_this_p.SetStructuralFeature(SingleDelegation_P_PWP_Operation_B_p); + // InputPin object + SingleDelegation_P_PWP_Operation_B_setPActivity_Set_this_p_object.SetName("object"); + SingleDelegation_P_PWP_Operation_B_setPActivity_Set_this_p_object.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_PWP_Operation_B_setPActivity_Set_this_p_object.SetType(SingleDelegation_P_PWP_Operation_B); + SingleDelegation_P_PWP_Operation_B_setPActivity_Set_this_p.SetObject(SingleDelegation_P_PWP_Operation_B_setPActivity_Set_this_p_object); + // InputPin value + SingleDelegation_P_PWP_Operation_B_setPActivity_Set_this_p_value.SetName("value"); + SingleDelegation_P_PWP_Operation_B_setPActivity_Set_this_p_value.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_PWP_Operation_B_setPActivity_Set_this_p_value.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + SingleDelegation_P_PWP_Operation_B_setPActivity_Set_this_p.SetValue(SingleDelegation_P_PWP_Operation_B_setPActivity_Set_this_p_value); + // OutputPin result + SingleDelegation_P_PWP_Operation_B_setPActivity_Set_this_p_result.SetName("result"); + SingleDelegation_P_PWP_Operation_B_setPActivity_Set_this_p_result.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_PWP_Operation_B_setPActivity_Set_this_p_result.SetType(SingleDelegation_P_PWP_Operation_B); + SingleDelegation_P_PWP_Operation_B_setPActivity_Set_this_p.SetResult(SingleDelegation_P_PWP_Operation_B_setPActivity_Set_this_p_result); + SingleDelegation_P_PWP_Operation_B_setPActivity.AddNode(SingleDelegation_P_PWP_Operation_B_setPActivity_Set_this_p); + // ActivityParameterNode vParameterNode + SingleDelegation_P_PWP_Operation_B_setPActivity_vParameterNode.SetName("vParameterNode"); + SingleDelegation_P_PWP_Operation_B_setPActivity_vParameterNode.SetVisibility(VisibilityKind.public_); + + SingleDelegation_P_PWP_Operation_B_setPActivity_vParameterNode.SetParameter(SingleDelegation_P_PWP_Operation_B_setPActivity_v); + SingleDelegation_P_PWP_Operation_B_setPActivity.AddNode(SingleDelegation_P_PWP_Operation_B_setPActivity_vParameterNode); + // ReadSelfAction this + SingleDelegation_P_PWP_Operation_B_setPActivity_this.SetName("this"); + SingleDelegation_P_PWP_Operation_B_setPActivity_this.SetVisibility(VisibilityKind.public_); + // OutputPin result + SingleDelegation_P_PWP_Operation_B_setPActivity_this_result.SetName("result"); + SingleDelegation_P_PWP_Operation_B_setPActivity_this_result.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_PWP_Operation_B_setPActivity_this_result.SetType(SingleDelegation_P_PWP_Operation_B); + SingleDelegation_P_PWP_Operation_B_setPActivity_this.SetResult(SingleDelegation_P_PWP_Operation_B_setPActivity_this_result); + SingleDelegation_P_PWP_Operation_B_setPActivity.AddNode(SingleDelegation_P_PWP_Operation_B_setPActivity_this); + // ObjectFlow ObjectFlow98 from result to object + SingleDelegation_P_PWP_Operation_B_setPActivity_ObjectFlow98.SetName("ObjectFlow98"); + SingleDelegation_P_PWP_Operation_B_setPActivity_ObjectFlow98.SetVisibility(VisibilityKind.public_); + + SingleDelegation_P_PWP_Operation_B_setPActivity_ObjectFlow98.SetSource(SingleDelegation_P_PWP_Operation_B_setPActivity_this_result); + SingleDelegation_P_PWP_Operation_B_setPActivity_ObjectFlow98.SetTarget(SingleDelegation_P_PWP_Operation_B_setPActivity_Set_this_p_object); + // LiteralBoolean LiteralBoolean100 + SingleDelegation_P_PWP_Operation_B_setPActivity_ObjectFlow98_LiteralBoolean100.SetName("LiteralBoolean100"); + SingleDelegation_P_PWP_Operation_B_setPActivity_ObjectFlow98_LiteralBoolean100.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_PWP_Operation_B_setPActivity_ObjectFlow98_LiteralBoolean100.SetValue(true); + SingleDelegation_P_PWP_Operation_B_setPActivity_ObjectFlow98.SetGuard(SingleDelegation_P_PWP_Operation_B_setPActivity_ObjectFlow98_LiteralBoolean100); + SingleDelegation_P_PWP_Operation_B_setPActivity.AddEdge(SingleDelegation_P_PWP_Operation_B_setPActivity_ObjectFlow98); + // ObjectFlow ObjectFlow101 from vParameterNode to value + SingleDelegation_P_PWP_Operation_B_setPActivity_ObjectFlow101.SetName("ObjectFlow101"); + SingleDelegation_P_PWP_Operation_B_setPActivity_ObjectFlow101.SetVisibility(VisibilityKind.public_); + + SingleDelegation_P_PWP_Operation_B_setPActivity_ObjectFlow101.SetSource(SingleDelegation_P_PWP_Operation_B_setPActivity_vParameterNode); + SingleDelegation_P_PWP_Operation_B_setPActivity_ObjectFlow101.SetTarget(SingleDelegation_P_PWP_Operation_B_setPActivity_Set_this_p_value); + // LiteralBoolean LiteralBoolean102 + SingleDelegation_P_PWP_Operation_B_setPActivity_ObjectFlow101_LiteralBoolean102.SetName("LiteralBoolean102"); + SingleDelegation_P_PWP_Operation_B_setPActivity_ObjectFlow101_LiteralBoolean102.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_PWP_Operation_B_setPActivity_ObjectFlow101_LiteralBoolean102.SetValue(true); + SingleDelegation_P_PWP_Operation_B_setPActivity_ObjectFlow101.SetGuard(SingleDelegation_P_PWP_Operation_B_setPActivity_ObjectFlow101_LiteralBoolean102); + SingleDelegation_P_PWP_Operation_B_setPActivity.AddEdge(SingleDelegation_P_PWP_Operation_B_setPActivity_ObjectFlow101); + SingleDelegation_P_PWP_Operation_B.AddOwnedBehavior(SingleDelegation_P_PWP_Operation_B_setPActivity); + SingleDelegation_P_PWP_Operation_B_IRealization.SetName("IRealization"); + SingleDelegation_P_PWP_Operation_B_IRealization.SetVisibility(VisibilityKind.public_); + SingleDelegation_P_PWP_Operation_B_IRealization.SetContract(SingleDelegation_P_PWP_Operation_I); + + SingleDelegation_P_PWP_Operation_B.AddInterfaceRealization(SingleDelegation_P_PWP_Operation_B_IRealization); + + // Operation B_B + SingleDelegation_P_PWP_Operation_B_B_B.SetName("B_B"); + SingleDelegation_P_PWP_Operation_B_B_B.SetVisibility(VisibilityKind.public_); + // Parameter result + SingleDelegation_P_PWP_Operation_B_B_B_result.SetName("result"); + SingleDelegation_P_PWP_Operation_B_B_B_result.SetVisibility(VisibilityKind.public_); + + SingleDelegation_P_PWP_Operation_B_B_B_result.SetType(SingleDelegation_P_PWP_Operation_B); + SingleDelegation_P_PWP_Operation_B_B_B_result.SetDirection(ParameterDirectionKind.return_); + SingleDelegation_P_PWP_Operation_B_B_B.AddOwnedParameter(SingleDelegation_P_PWP_Operation_B_B_B_result); + SingleDelegation_P_PWP_Operation_B_B_B.ApplyStereotype(uml.standardprofile.StandardProfileModel.Instance().Stereotype_Create); + SingleDelegation_P_PWP_Operation_B.AddOwnedOperation(SingleDelegation_P_PWP_Operation_B_B_B); + // Operation setP_Integer + SingleDelegation_P_PWP_Operation_B_setP_Integer.SetName("setP_Integer"); + SingleDelegation_P_PWP_Operation_B_setP_Integer.SetVisibility(VisibilityKind.public_); + // Parameter v + SingleDelegation_P_PWP_Operation_B_setP_Integer_v.SetName("v"); + SingleDelegation_P_PWP_Operation_B_setP_Integer_v.SetVisibility(VisibilityKind.public_); + + SingleDelegation_P_PWP_Operation_B_setP_Integer_v.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + SingleDelegation_P_PWP_Operation_B_setP_Integer.AddOwnedParameter(SingleDelegation_P_PWP_Operation_B_setP_Integer_v); + SingleDelegation_P_PWP_Operation_B_setP_Integer.AddMethod(SingleDelegation_P_PWP_Operation_B_setPActivity); + SingleDelegation_P_PWP_Operation_B.AddOwnedOperation(SingleDelegation_P_PWP_Operation_B_setP_Integer); + SingleDelegation_P_PWP_Operation.AddPackagedElement(SingleDelegation_P_PWP_Operation_B); + } + + /* Start of user code : User-defined members + * This section may be used for user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } // SingleDelegation_P_PWP_OperationModel +} diff --git a/fUML-CSharp/tests/pscs-Tests/02_Communication/07_SingleDelegation_P_PWP_Operation/src/testPExecution.cs b/fUML-CSharp/tests/pscs-Tests/02_Communication/07_SingleDelegation_P_PWP_Operation/src/testPExecution.cs new file mode 100644 index 0000000..3b8fd6e --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/02_Communication/07_SingleDelegation_P_PWP_Operation/src/testPExecution.cs @@ -0,0 +1,78 @@ +/* + * testPExecution.cs + * + * Auto-generated file + */ + +using fuml.semantics.commonbehavior; +using fuml; +using fuml.semantics.simpleclassifiers; +using fuml.semantics.values; + +/* Start of user code : User-defined includes and forward declarations + * This section may be used for includes and forward declarations. + * It will not be overwritten by future generation processes. + */ + +/* + * End of user code + */ + +namespace SingleDelegation_P_PWP_Operation +{ + public class testPExecution : OpaqueBehaviorExecution + { + public testPExecution() + { + types.Add(SingleDelegation_P_PWP_OperationModel.Instance().SingleDelegation_P_PWP_Operation_main_testP); + /* Start of user code : Additional opaque behavior execution initializations + * This section may be used to do any additional opaque behavior execution initialization, + * for example initializing user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } + + public override void DoBody(List inputParameters, List outputParameters) + { + Console.WriteLine("Asserting c.a.b.p == 4"); + + // Test parameter p + int p = ((IntegerValue)inputParameters.ElementAt(0).values.ElementAt(0)).value; + Debug.Println("[doBody] argument p = " + p); + + Console.WriteLine("c.a.b.p == " + p); + Console.Write("Operation call delegated: "); + + if(p == 4) + { + Console.ForegroundColor = ConsoleColor.Green; + Console.WriteLine("Assertion successful."); + } + else + { + Console.ForegroundColor = ConsoleColor.Red; + Console.WriteLine("Assertion failed!"); + } + + Console.ResetColor(); + } + + protected override Value New_() + { + return new testPExecution(); + } + + /* Start of user code : User-defined members + * This section may be used for user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } // testPExecution +} diff --git a/fUML-CSharp/tests/pscs-Tests/02_Communication/08_MultipleDelegation_SameConnector_P_P_Operation/.gitignore b/fUML-CSharp/tests/pscs-Tests/02_Communication/08_MultipleDelegation_SameConnector_P_P_Operation/.gitignore new file mode 100644 index 0000000..1736844 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/02_Communication/08_MultipleDelegation_SameConnector_P_P_Operation/.gitignore @@ -0,0 +1,3 @@ +/.vs/ +/bin/ +/obj/ diff --git a/fUML-CSharp/tests/pscs-Tests/02_Communication/08_MultipleDelegation_SameConnector_P_P_Operation/MultipleDelegation_SameConnector_P_P_Operation.csproj b/fUML-CSharp/tests/pscs-Tests/02_Communication/08_MultipleDelegation_SameConnector_P_P_Operation/MultipleDelegation_SameConnector_P_P_Operation.csproj new file mode 100644 index 0000000..33ad2c2 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/02_Communication/08_MultipleDelegation_SameConnector_P_P_Operation/MultipleDelegation_SameConnector_P_P_Operation.csproj @@ -0,0 +1,50 @@ + + + + Exe + net6.0 + enable + enable + + + + MultipleDelegation_SameConnector_P_P_Operation.Debug + + + MultipleDelegation_SameConnector_P_P_Operation.Release + + + + + ..\..\..\..\uml\bin\Debug\net6.0\uml.Debug.dll + + + + + ..\..\..\..\uml\bin\Release\net6.0\uml.Release.dll + + + + + + ..\..\..\..\fuml\bin\Debug\net6.0\fuml.Debug.dll + + + + + ..\..\..\..\fuml\bin\Release\net6.0\fuml.Release.dll + + + + + + ..\..\..\..\pscs\bin\Debug\net6.0\pscs.Debug.dll + + + + + ..\..\..\..\pscs\bin\Release\net6.0\pscs.Release.dll + + + + diff --git a/fUML-CSharp/tests/pscs-Tests/02_Communication/08_MultipleDelegation_SameConnector_P_P_Operation/MultipleDelegation_SameConnector_P_P_Operation.sln b/fUML-CSharp/tests/pscs-Tests/02_Communication/08_MultipleDelegation_SameConnector_P_P_Operation/MultipleDelegation_SameConnector_P_P_Operation.sln new file mode 100644 index 0000000..d9579ac --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/02_Communication/08_MultipleDelegation_SameConnector_P_P_Operation/MultipleDelegation_SameConnector_P_P_Operation.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.32112.339 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MultipleDelegation_SameConnector_P_P_Operation", "MultipleDelegation_SameConnector_P_P_Operation.csproj", "{9FC2DD1C-0FE3-417E-AEE6-189D52A74B5C}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {9FC2DD1C-0FE3-417E-AEE6-189D52A74B5C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {9FC2DD1C-0FE3-417E-AEE6-189D52A74B5C}.Debug|Any CPU.Build.0 = Debug|Any CPU + {9FC2DD1C-0FE3-417E-AEE6-189D52A74B5C}.Release|Any CPU.ActiveCfg = Release|Any CPU + {9FC2DD1C-0FE3-417E-AEE6-189D52A74B5C}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {67C4D9A4-18A7-4103-9E37-4C672639EDFC} + EndGlobalSection +EndGlobal diff --git a/fUML-CSharp/tests/pscs-Tests/02_Communication/08_MultipleDelegation_SameConnector_P_P_Operation/model/MultipleDelegation_SameConnector_P_P_Operation.di b/fUML-CSharp/tests/pscs-Tests/02_Communication/08_MultipleDelegation_SameConnector_P_P_Operation/model/MultipleDelegation_SameConnector_P_P_Operation.di new file mode 100644 index 0000000..8c549ee --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/02_Communication/08_MultipleDelegation_SameConnector_P_P_Operation/model/MultipleDelegation_SameConnector_P_P_Operation.di @@ -0,0 +1,2 @@ + + diff --git a/fUML-CSharp/tests/pscs-Tests/02_Communication/08_MultipleDelegation_SameConnector_P_P_Operation/model/MultipleDelegation_SameConnector_P_P_Operation.notation b/fUML-CSharp/tests/pscs-Tests/02_Communication/08_MultipleDelegation_SameConnector_P_P_Operation/model/MultipleDelegation_SameConnector_P_P_Operation.notation new file mode 100644 index 0000000..79d0ee4 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/02_Communication/08_MultipleDelegation_SameConnector_P_P_Operation/model/MultipleDelegation_SameConnector_P_P_Operation.notation @@ -0,0 +1,737 @@ + + + + + +
+
+ + + + + +
+ + + +
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + + + +
+
+ + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/fUML-CSharp/tests/pscs-Tests/02_Communication/08_MultipleDelegation_SameConnector_P_P_Operation/model/MultipleDelegation_SameConnector_P_P_Operation.uml b/fUML-CSharp/tests/pscs-Tests/02_Communication/08_MultipleDelegation_SameConnector_P_P_Operation/model/MultipleDelegation_SameConnector_P_P_Operation.uml new file mode 100644 index 0000000..2ca664b --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/02_Communication/08_MultipleDelegation_SameConnector_P_P_Operation/model/MultipleDelegation_SameConnector_P_P_Operation.uml @@ -0,0 +1,272 @@ + + + + + This test case addresses forwarding of an operation call in presence of multiple delegation links, corresponding to a +single connector, expressed between a port and a part. + + + Passing: true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + C# + Using + if(index == 1) + { + Console.WriteLine("Asserting c.b[1] == 4 || c.b[2] == 4 || c.b[3] == 4 || c.b[4] == 4"); + } + + // For some reason, during the first execution of the expansion region, its body is actually executed twice. + // Because of that, the body is actually executaed 5 times in total. This if-statement covers that up until solved. + if(index <= MAX_INDEX) + { + + // Test parameter p + int p = ((IntegerValue)inputParameters.ElementAt(0).values.ElementAt(0)).value; + Debug.Println("[doBody] argument p = " + p); + + Console.WriteLine( "c.b[" + index + "] == " + p); + success = success || (p == 4); + + if(index == MAX_INDEX) + { + + Console.Write("Operation call delegated: "); + + if(success) + { + Console.ForegroundColor = ConsoleColor.Green; + Console.WriteLine("Assertion successful."); + } + else + { + Console.ForegroundColor = ConsoleColor.Red; + Console.WriteLine("Assertion failed!"); + } + + Console.ResetColor(); + } + } + + index++; + using fuml.semantics.simpleclassifiers; + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/fUML-CSharp/tests/pscs-Tests/02_Communication/08_MultipleDelegation_SameConnector_P_P_Operation/src/MultipleDelegation_SameConnector_P_P_Operation.cs b/fUML-CSharp/tests/pscs-Tests/02_Communication/08_MultipleDelegation_SameConnector_P_P_Operation/src/MultipleDelegation_SameConnector_P_P_Operation.cs new file mode 100644 index 0000000..94961dc --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/02_Communication/08_MultipleDelegation_SameConnector_P_P_Operation/src/MultipleDelegation_SameConnector_P_P_Operation.cs @@ -0,0 +1,31 @@ +namespace MultipleDelegation_SameConnector_P_P_Operation +{ + internal class MultipleDelegation_SameConnector_P_P_Operation + { + static void PrintUsage() + { + Console.WriteLine( + "=============================================================================================\n" + + "USAGE: [ <...>]\n" + + "=============================================================================================\n" + ); + } + + static int Main(string[] args) + { + if(args.Length == 0) + { + Console.WriteLine("[ERROR] Must declare at least one behavior name.\n"); + PrintUsage(); + return -1; + } + + foreach (string arg in args) + { + MultipleDelegation_SameConnector_P_P_OperationEnvironment.Instance().Execute(arg); + } + + return 0; + } + } +} diff --git a/fUML-CSharp/tests/pscs-Tests/02_Communication/08_MultipleDelegation_SameConnector_P_P_Operation/src/MultipleDelegation_SameConnector_P_P_OperationEnvironment.cs b/fUML-CSharp/tests/pscs-Tests/02_Communication/08_MultipleDelegation_SameConnector_P_P_Operation/src/MultipleDelegation_SameConnector_P_P_OperationEnvironment.cs new file mode 100644 index 0000000..5e3bee8 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/02_Communication/08_MultipleDelegation_SameConnector_P_P_Operation/src/MultipleDelegation_SameConnector_P_P_OperationEnvironment.cs @@ -0,0 +1,93 @@ +/* + * MultipleDelegation_SameConnector_P_P_OperationEnvironment.cs + * + * Auto-generated file + */ + +/* Start of user code : User-defined using directives + * This section may be used for using directives. + * It will not be overwritten by future generation processes. + */ + +/* + * End of user code + */ + +namespace MultipleDelegation_SameConnector_P_P_Operation +{ + public class MultipleDelegation_SameConnector_P_P_OperationEnvironment : pscs.environment.Environment + { + private static MultipleDelegation_SameConnector_P_P_OperationEnvironment? instance; + + public static MultipleDelegation_SameConnector_P_P_OperationEnvironment Instance() + { + if(instance is null) + { + instance = new(); + instance.inMemoryModel = MultipleDelegation_SameConnector_P_P_OperationModel.Instance(); + } + + return instance; + } + + public MultipleDelegation_SameConnector_P_P_OperationEnvironment() + { + /* + * Create custom opaque behavior execution instances and add them to the execution environment. + */ + AddPrimitiveBehaviorPrototype(new testPExecution()); + + /* Start of user code : Additional environment initializations + * This section may be used to do any additional environment initialization, + * for example initializing user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } + + public override void Execute(string behaviorName) + { + /* Start of user code : Context and inputs initializations + * This section may be used to initialize the execution context + * as well as input parameter values if required. + * It will not be overwritten by future generation processes. + */ + + //context = ...; + //inputs = ...; + + /* + * End of user code + */ + + /* + * Start execution via base class call + */ + base.Execute(behaviorName); + + /* Start of user code : Outputs evaluation + * This section may be used to evaluate output parameter values if required. + * It will not be overwritten by future generation processes. + */ + + //List theOutputs = outputs; + //... + + /* + * End of user code + */ + } + + /* Start of user code : User-defined members + * This section may be used for user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } // MultipleDelegation_SameConnector_P_P_OperationEnvironment +} diff --git a/fUML-CSharp/tests/pscs-Tests/02_Communication/08_MultipleDelegation_SameConnector_P_P_Operation/src/MultipleDelegation_SameConnector_P_P_OperationModel.cs b/fUML-CSharp/tests/pscs-Tests/02_Communication/08_MultipleDelegation_SameConnector_P_P_Operation/src/MultipleDelegation_SameConnector_P_P_OperationModel.cs new file mode 100644 index 0000000..c5bf61b --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/02_Communication/08_MultipleDelegation_SameConnector_P_P_Operation/src/MultipleDelegation_SameConnector_P_P_OperationModel.cs @@ -0,0 +1,802 @@ +/* + * MultipleDelegation_SameConnector_P_P_OperationModel.cs + * + * Auto-generated file + */ + +using uml.actions; +using uml.packages; +using uml.structuredclassifiers; +using fuml.primitivetypes; +using uml.classification; +using fuml.library; +using uml.simpleclassifiers; +using uml.commonbehavior; +using uml.commonstructure; +using uml.values; +using uml.activities; +using uml.environment; + + +/* Start of user code : User-defined includes and forward declarations + * This section may be used for includes and forward declarations. + * It will not be overwritten by future generation processes. + */ + +/* + * End of user code + */ + +namespace MultipleDelegation_SameConnector_P_P_Operation +{ + public class MultipleDelegation_SameConnector_P_P_OperationModel : InMemoryModel + { + private static MultipleDelegation_SameConnector_P_P_OperationModel? instance; + + /* + * Model MultipleDelegation_SameConnector_P_P_Operation + */ + public Package MultipleDelegation_SameConnector_P_P_Operation = new(); + public Activity MultipleDelegation_SameConnector_P_P_Operation_main = new(); + public OpaqueBehavior MultipleDelegation_SameConnector_P_P_Operation_main_testP = new(); + public Parameter MultipleDelegation_SameConnector_P_P_Operation_main_testP_p = new(); + public ReadStructuralFeatureAction MultipleDelegation_SameConnector_P_P_Operation_main_Read_b_p = new(); + public OutputPin MultipleDelegation_SameConnector_P_P_Operation_main_Read_b_p_result = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_P_Operation_main_Read_b_p_result_LiteralInteger0 = new(); + public LiteralUnlimitedNatural MultipleDelegation_SameConnector_P_P_Operation_main_Read_b_p_result_LiteralUnlimitedNatural1 = new(); + public InputPin MultipleDelegation_SameConnector_P_P_Operation_main_Read_b_p_object = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_P_Operation_main_Read_b_p_object_LiteralInteger2 = new(); + public LiteralUnlimitedNatural MultipleDelegation_SameConnector_P_P_Operation_main_Read_b_p_object_LiteralUnlimitedNatural3 = new(); + public ControlFlow MultipleDelegation_SameConnector_P_P_Operation_main_ControlFlow4 = new(); + public CreateObjectAction MultipleDelegation_SameConnector_P_P_Operation_main_Create_C = new(); + public OutputPin MultipleDelegation_SameConnector_P_P_Operation_main_Create_C_result = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_P_Operation_main_Create_C_result_LiteralInteger5 = new(); + public LiteralUnlimitedNatural MultipleDelegation_SameConnector_P_P_Operation_main_Create_C_result_LiteralUnlimitedNatural6 = new(); + public ObjectFlow MultipleDelegation_SameConnector_P_P_Operation_main_ObjectFlow7 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_P_Operation_main_ObjectFlow7_LiteralInteger8 = new(); + public LiteralBoolean MultipleDelegation_SameConnector_P_P_Operation_main_ObjectFlow7_LiteralBoolean9 = new(); + public ObjectFlow MultipleDelegation_SameConnector_P_P_Operation_main_ObjectFlow10 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_P_Operation_main_ObjectFlow10_LiteralInteger11 = new(); + public LiteralBoolean MultipleDelegation_SameConnector_P_P_Operation_main_ObjectFlow10_LiteralBoolean12 = new(); + public ForkNode MultipleDelegation_SameConnector_P_P_Operation_main_Fork_C = new(); + public CallBehaviorAction MultipleDelegation_SameConnector_P_P_Operation_main_Call_testP = new(); + public InputPin MultipleDelegation_SameConnector_P_P_Operation_main_Call_testP_p = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_P_Operation_main_Call_testP_p_LiteralInteger13 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_P_Operation_main_Call_testP_p_LiteralInteger14 = new(); + public LiteralUnlimitedNatural MultipleDelegation_SameConnector_P_P_Operation_main_Call_testP_p_LiteralUnlimitedNatural15 = new(); + public ValueSpecificationAction MultipleDelegation_SameConnector_P_P_Operation_main_Value_4 = new(); + public OutputPin MultipleDelegation_SameConnector_P_P_Operation_main_Value_4_result = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_P_Operation_main_Value_4_result_LiteralInteger16 = new(); + public LiteralUnlimitedNatural MultipleDelegation_SameConnector_P_P_Operation_main_Value_4_result_LiteralUnlimitedNatural17 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_P_Operation_main_Value_4_LiteralInteger18 = new(); + public ObjectFlow MultipleDelegation_SameConnector_P_P_Operation_main_ObjectFlow19 = new(); + public LiteralBoolean MultipleDelegation_SameConnector_P_P_Operation_main_ObjectFlow19_LiteralBoolean20 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_P_Operation_main_ObjectFlow19_LiteralInteger21 = new(); + public ReadStructuralFeatureAction MultipleDelegation_SameConnector_P_P_Operation_main_Read_c_p = new(); + public OutputPin MultipleDelegation_SameConnector_P_P_Operation_main_Read_c_p_result = new(); + public LiteralUnlimitedNatural MultipleDelegation_SameConnector_P_P_Operation_main_Read_c_p_result_LiteralUnlimitedNatural22 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_P_Operation_main_Read_c_p_result_LiteralInteger23 = new(); + public InputPin MultipleDelegation_SameConnector_P_P_Operation_main_Read_c_p_object = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_P_Operation_main_Read_c_p_object_LiteralInteger24 = new(); + public LiteralUnlimitedNatural MultipleDelegation_SameConnector_P_P_Operation_main_Read_c_p_object_LiteralUnlimitedNatural25 = new(); + public ObjectFlow MultipleDelegation_SameConnector_P_P_Operation_main_ObjectFlow26 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_P_Operation_main_ObjectFlow26_LiteralInteger27 = new(); + public LiteralBoolean MultipleDelegation_SameConnector_P_P_Operation_main_ObjectFlow26_LiteralBoolean28 = new(); + public CallOperationAction MultipleDelegation_SameConnector_P_P_Operation_main_C_ = new(); + public OutputPin MultipleDelegation_SameConnector_P_P_Operation_main_C__result = new(); + public LiteralUnlimitedNatural MultipleDelegation_SameConnector_P_P_Operation_main_C__result_LiteralUnlimitedNatural29 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_P_Operation_main_C__result_LiteralInteger30 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_P_Operation_main_C__result_LiteralInteger31 = new(); + public InputPin MultipleDelegation_SameConnector_P_P_Operation_main_C__target = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_P_Operation_main_C__target_LiteralInteger32 = new(); + public LiteralUnlimitedNatural MultipleDelegation_SameConnector_P_P_Operation_main_C__target_LiteralUnlimitedNatural33 = new(); + public ObjectFlow MultipleDelegation_SameConnector_P_P_Operation_main_ObjectFlow34 = new(); + public LiteralBoolean MultipleDelegation_SameConnector_P_P_Operation_main_ObjectFlow34_LiteralBoolean35 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_P_Operation_main_ObjectFlow34_LiteralInteger36 = new(); + public ObjectFlow MultipleDelegation_SameConnector_P_P_Operation_main_ObjectFlow37 = new(); + public LiteralBoolean MultipleDelegation_SameConnector_P_P_Operation_main_ObjectFlow37_LiteralBoolean38 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_P_Operation_main_ObjectFlow37_LiteralInteger39 = new(); + public ObjectFlow MultipleDelegation_SameConnector_P_P_Operation_main_ObjectFlow40 = new(); + public LiteralBoolean MultipleDelegation_SameConnector_P_P_Operation_main_ObjectFlow40_LiteralBoolean41 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_P_Operation_main_ObjectFlow40_LiteralInteger42 = new(); + public ObjectFlow MultipleDelegation_SameConnector_P_P_Operation_main_ObjectFlow43 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_P_Operation_main_ObjectFlow43_LiteralInteger44 = new(); + public LiteralBoolean MultipleDelegation_SameConnector_P_P_Operation_main_ObjectFlow43_LiteralBoolean45 = new(); + public CallOperationAction MultipleDelegation_SameConnector_P_P_Operation_main_Call_p_setP_ = new(); + public InputPin MultipleDelegation_SameConnector_P_P_Operation_main_Call_p_setP__target = new(); + public LiteralUnlimitedNatural MultipleDelegation_SameConnector_P_P_Operation_main_Call_p_setP__target_LiteralUnlimitedNatural46 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_P_Operation_main_Call_p_setP__target_LiteralInteger47 = new(); + public InputPin MultipleDelegation_SameConnector_P_P_Operation_main_Call_p_setP__v = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_P_Operation_main_Call_p_setP__v_LiteralInteger48 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_P_Operation_main_Call_p_setP__v_LiteralInteger49 = new(); + public LiteralUnlimitedNatural MultipleDelegation_SameConnector_P_P_Operation_main_Call_p_setP__v_LiteralUnlimitedNatural50 = new(); + public ReadStructuralFeatureAction MultipleDelegation_SameConnector_P_P_Operation_main_Read_c_b_ = new(); + public OutputPin MultipleDelegation_SameConnector_P_P_Operation_main_Read_c_b__result = new(); + public LiteralUnlimitedNatural MultipleDelegation_SameConnector_P_P_Operation_main_Read_c_b__result_LiteralUnlimitedNatural51 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_P_Operation_main_Read_c_b__result_LiteralInteger52 = new(); + public InputPin MultipleDelegation_SameConnector_P_P_Operation_main_Read_c_b__object = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_P_Operation_main_Read_c_b__object_LiteralInteger53 = new(); + public LiteralUnlimitedNatural MultipleDelegation_SameConnector_P_P_Operation_main_Read_c_b__object_LiteralUnlimitedNatural54 = new(); + public Class_ MultipleDelegation_SameConnector_P_P_Operation_C = new(); + public Port MultipleDelegation_SameConnector_P_P_Operation_C_q = new(); + public Connector MultipleDelegation_SameConnector_P_P_Operation_C_r = new(); + public ConnectorEnd MultipleDelegation_SameConnector_P_P_Operation_C_r_ConnectorEnd55 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_P_Operation_C_r_ConnectorEnd55_LiteralInteger56 = new(); + public LiteralUnlimitedNatural MultipleDelegation_SameConnector_P_P_Operation_C_r_ConnectorEnd55_LiteralUnlimitedNatural57 = new(); + public ConnectorEnd MultipleDelegation_SameConnector_P_P_Operation_C_r_ConnectorEnd58 = new(); + public LiteralUnlimitedNatural MultipleDelegation_SameConnector_P_P_Operation_C_r_ConnectorEnd58_LiteralUnlimitedNatural59 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_P_Operation_C_r_ConnectorEnd58_LiteralInteger60 = new(); + public Property MultipleDelegation_SameConnector_P_P_Operation_C_b = new(); + public LiteralUnlimitedNatural MultipleDelegation_SameConnector_P_P_Operation_C_b_LiteralUnlimitedNatural61 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_P_Operation_C_b_LiteralInteger62 = new(); + public Operation MultipleDelegation_SameConnector_P_P_Operation_C_C_C = new(); + public Parameter MultipleDelegation_SameConnector_P_P_Operation_C_C_C_result = new(); + public Interface MultipleDelegation_SameConnector_P_P_Operation_I = new(); + public Operation MultipleDelegation_SameConnector_P_P_Operation_I_setP_Integer = new(); + public Parameter MultipleDelegation_SameConnector_P_P_Operation_I_setP_Integer_v = new(); + public Association MultipleDelegation_SameConnector_P_P_Operation_R = new(); + public Property MultipleDelegation_SameConnector_P_P_Operation_R_x = new(); + public Property MultipleDelegation_SameConnector_P_P_Operation_R_y = new(); + public Class_ MultipleDelegation_SameConnector_P_P_Operation_B = new(); + public Property MultipleDelegation_SameConnector_P_P_Operation_B_p = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_P_Operation_B_p_LiteralInteger63 = new(); + public InterfaceRealization MultipleDelegation_SameConnector_P_P_Operation_B_IRealization = new(); + public Operation MultipleDelegation_SameConnector_P_P_Operation_B_B_B = new(); + public Parameter MultipleDelegation_SameConnector_P_P_Operation_B_B_B_result = new(); + public Operation MultipleDelegation_SameConnector_P_P_Operation_B_setP_Integer = new(); + public Parameter MultipleDelegation_SameConnector_P_P_Operation_B_setP_Integer_v = new(); + public Activity MultipleDelegation_SameConnector_P_P_Operation_B_setPActivity = new(); + public Parameter MultipleDelegation_SameConnector_P_P_Operation_B_setPActivity_v = new(); + public AddStructuralFeatureValueAction MultipleDelegation_SameConnector_P_P_Operation_B_setPActivity_Set_this_p = new(); + public OutputPin MultipleDelegation_SameConnector_P_P_Operation_B_setPActivity_Set_this_p_result = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_P_Operation_B_setPActivity_Set_this_p_result_LiteralInteger64 = new(); + public LiteralUnlimitedNatural MultipleDelegation_SameConnector_P_P_Operation_B_setPActivity_Set_this_p_result_LiteralUnlimitedNatural65 = new(); + public InputPin MultipleDelegation_SameConnector_P_P_Operation_B_setPActivity_Set_this_p_value = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_P_Operation_B_setPActivity_Set_this_p_value_LiteralInteger66 = new(); + public LiteralUnlimitedNatural MultipleDelegation_SameConnector_P_P_Operation_B_setPActivity_Set_this_p_value_LiteralUnlimitedNatural67 = new(); + public InputPin MultipleDelegation_SameConnector_P_P_Operation_B_setPActivity_Set_this_p_object = new(); + public LiteralUnlimitedNatural MultipleDelegation_SameConnector_P_P_Operation_B_setPActivity_Set_this_p_object_LiteralUnlimitedNatural68 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_P_Operation_B_setPActivity_Set_this_p_object_LiteralInteger69 = new(); + public ActivityParameterNode MultipleDelegation_SameConnector_P_P_Operation_B_setPActivity_vParameterNode = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_P_Operation_B_setPActivity_vParameterNode_LiteralInteger70 = new(); + public ObjectFlow MultipleDelegation_SameConnector_P_P_Operation_B_setPActivity_ObjectFlow71 = new(); + public LiteralBoolean MultipleDelegation_SameConnector_P_P_Operation_B_setPActivity_ObjectFlow71_LiteralBoolean72 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_P_Operation_B_setPActivity_ObjectFlow71_LiteralInteger73 = new(); + public ObjectFlow MultipleDelegation_SameConnector_P_P_Operation_B_setPActivity_ObjectFlow74 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_P_Operation_B_setPActivity_ObjectFlow74_LiteralInteger75 = new(); + public LiteralBoolean MultipleDelegation_SameConnector_P_P_Operation_B_setPActivity_ObjectFlow74_LiteralBoolean76 = new(); + public ReadSelfAction MultipleDelegation_SameConnector_P_P_Operation_B_setPActivity_this = new(); + public OutputPin MultipleDelegation_SameConnector_P_P_Operation_B_setPActivity_this_result = new(); + public LiteralUnlimitedNatural MultipleDelegation_SameConnector_P_P_Operation_B_setPActivity_this_result_LiteralUnlimitedNatural77 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_P_Operation_B_setPActivity_this_result_LiteralInteger78 = new(); + public Class_ MultipleDelegation_SameConnector_P_P_Operation_IImpl = new(); + public Operation MultipleDelegation_SameConnector_P_P_Operation_IImpl_setP_Integer = new(); + public Parameter MultipleDelegation_SameConnector_P_P_Operation_IImpl_setP_Integer_v = new(); + public InterfaceRealization MultipleDelegation_SameConnector_P_P_Operation_IImpl_IRealization = new(); + + public static MultipleDelegation_SameConnector_P_P_OperationModel Instance() + { + if (instance is null) + { + instance = new(); + instance.InitializeInMemoryModel(); + } + + return instance; + } + + public MultipleDelegation_SameConnector_P_P_OperationModel() + { + /* Start of user code : Additional model initializations + * This section may be used to do any additional model initialization, + * for example initializing user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } + + private void InitializeInMemoryModel() + { + // Create public members + /* + * Model MultipleDelegation_SameConnector_P_P_Operation + */ + AddToElementRepository("MultipleDelegation_SameConnector_P_P_Operation", MultipleDelegation_SameConnector_P_P_Operation); + AddToElementRepository("main", MultipleDelegation_SameConnector_P_P_Operation_main); + AddToElementRepository("testP", MultipleDelegation_SameConnector_P_P_Operation_main_testP); + AddToElementRepository("p", MultipleDelegation_SameConnector_P_P_Operation_main_testP_p); + AddToElementRepository("Read b.p", MultipleDelegation_SameConnector_P_P_Operation_main_Read_b_p); + AddToElementRepository("result", MultipleDelegation_SameConnector_P_P_Operation_main_Read_b_p_result); + AddToElementRepository("LiteralInteger0", MultipleDelegation_SameConnector_P_P_Operation_main_Read_b_p_result_LiteralInteger0); + AddToElementRepository("LiteralUnlimitedNatural1", MultipleDelegation_SameConnector_P_P_Operation_main_Read_b_p_result_LiteralUnlimitedNatural1); + AddToElementRepository("object", MultipleDelegation_SameConnector_P_P_Operation_main_Read_b_p_object); + AddToElementRepository("LiteralInteger2", MultipleDelegation_SameConnector_P_P_Operation_main_Read_b_p_object_LiteralInteger2); + AddToElementRepository("LiteralUnlimitedNatural3", MultipleDelegation_SameConnector_P_P_Operation_main_Read_b_p_object_LiteralUnlimitedNatural3); + AddToElementRepository("ControlFlow4", MultipleDelegation_SameConnector_P_P_Operation_main_ControlFlow4); + AddToElementRepository("Create C", MultipleDelegation_SameConnector_P_P_Operation_main_Create_C); + AddToElementRepository("result", MultipleDelegation_SameConnector_P_P_Operation_main_Create_C_result); + AddToElementRepository("LiteralInteger5", MultipleDelegation_SameConnector_P_P_Operation_main_Create_C_result_LiteralInteger5); + AddToElementRepository("LiteralUnlimitedNatural6", MultipleDelegation_SameConnector_P_P_Operation_main_Create_C_result_LiteralUnlimitedNatural6); + AddToElementRepository("ObjectFlow7", MultipleDelegation_SameConnector_P_P_Operation_main_ObjectFlow7); + AddToElementRepository("LiteralInteger8", MultipleDelegation_SameConnector_P_P_Operation_main_ObjectFlow7_LiteralInteger8); + AddToElementRepository("LiteralBoolean9", MultipleDelegation_SameConnector_P_P_Operation_main_ObjectFlow7_LiteralBoolean9); + AddToElementRepository("ObjectFlow10", MultipleDelegation_SameConnector_P_P_Operation_main_ObjectFlow10); + AddToElementRepository("LiteralInteger11", MultipleDelegation_SameConnector_P_P_Operation_main_ObjectFlow10_LiteralInteger11); + AddToElementRepository("LiteralBoolean12", MultipleDelegation_SameConnector_P_P_Operation_main_ObjectFlow10_LiteralBoolean12); + AddToElementRepository("Fork C", MultipleDelegation_SameConnector_P_P_Operation_main_Fork_C); + AddToElementRepository("Call testP", MultipleDelegation_SameConnector_P_P_Operation_main_Call_testP); + AddToElementRepository("p", MultipleDelegation_SameConnector_P_P_Operation_main_Call_testP_p); + AddToElementRepository("LiteralInteger13", MultipleDelegation_SameConnector_P_P_Operation_main_Call_testP_p_LiteralInteger13); + AddToElementRepository("LiteralInteger14", MultipleDelegation_SameConnector_P_P_Operation_main_Call_testP_p_LiteralInteger14); + AddToElementRepository("LiteralUnlimitedNatural15", MultipleDelegation_SameConnector_P_P_Operation_main_Call_testP_p_LiteralUnlimitedNatural15); + AddToElementRepository("Value(4)", MultipleDelegation_SameConnector_P_P_Operation_main_Value_4); + AddToElementRepository("result", MultipleDelegation_SameConnector_P_P_Operation_main_Value_4_result); + AddToElementRepository("LiteralInteger16", MultipleDelegation_SameConnector_P_P_Operation_main_Value_4_result_LiteralInteger16); + AddToElementRepository("LiteralUnlimitedNatural17", MultipleDelegation_SameConnector_P_P_Operation_main_Value_4_result_LiteralUnlimitedNatural17); + AddToElementRepository("LiteralInteger18", MultipleDelegation_SameConnector_P_P_Operation_main_Value_4_LiteralInteger18); + AddToElementRepository("ObjectFlow19", MultipleDelegation_SameConnector_P_P_Operation_main_ObjectFlow19); + AddToElementRepository("LiteralBoolean20", MultipleDelegation_SameConnector_P_P_Operation_main_ObjectFlow19_LiteralBoolean20); + AddToElementRepository("LiteralInteger21", MultipleDelegation_SameConnector_P_P_Operation_main_ObjectFlow19_LiteralInteger21); + AddToElementRepository("Read c.p", MultipleDelegation_SameConnector_P_P_Operation_main_Read_c_p); + AddToElementRepository("result", MultipleDelegation_SameConnector_P_P_Operation_main_Read_c_p_result); + AddToElementRepository("LiteralUnlimitedNatural22", MultipleDelegation_SameConnector_P_P_Operation_main_Read_c_p_result_LiteralUnlimitedNatural22); + AddToElementRepository("LiteralInteger23", MultipleDelegation_SameConnector_P_P_Operation_main_Read_c_p_result_LiteralInteger23); + AddToElementRepository("object", MultipleDelegation_SameConnector_P_P_Operation_main_Read_c_p_object); + AddToElementRepository("LiteralInteger24", MultipleDelegation_SameConnector_P_P_Operation_main_Read_c_p_object_LiteralInteger24); + AddToElementRepository("LiteralUnlimitedNatural25", MultipleDelegation_SameConnector_P_P_Operation_main_Read_c_p_object_LiteralUnlimitedNatural25); + AddToElementRepository("ObjectFlow26", MultipleDelegation_SameConnector_P_P_Operation_main_ObjectFlow26); + AddToElementRepository("LiteralInteger27", MultipleDelegation_SameConnector_P_P_Operation_main_ObjectFlow26_LiteralInteger27); + AddToElementRepository("LiteralBoolean28", MultipleDelegation_SameConnector_P_P_Operation_main_ObjectFlow26_LiteralBoolean28); + AddToElementRepository("C()", MultipleDelegation_SameConnector_P_P_Operation_main_C_); + AddToElementRepository("result", MultipleDelegation_SameConnector_P_P_Operation_main_C__result); + AddToElementRepository("LiteralUnlimitedNatural29", MultipleDelegation_SameConnector_P_P_Operation_main_C__result_LiteralUnlimitedNatural29); + AddToElementRepository("LiteralInteger30", MultipleDelegation_SameConnector_P_P_Operation_main_C__result_LiteralInteger30); + AddToElementRepository("LiteralInteger31", MultipleDelegation_SameConnector_P_P_Operation_main_C__result_LiteralInteger31); + AddToElementRepository("target", MultipleDelegation_SameConnector_P_P_Operation_main_C__target); + AddToElementRepository("LiteralInteger32", MultipleDelegation_SameConnector_P_P_Operation_main_C__target_LiteralInteger32); + AddToElementRepository("LiteralUnlimitedNatural33", MultipleDelegation_SameConnector_P_P_Operation_main_C__target_LiteralUnlimitedNatural33); + AddToElementRepository("ObjectFlow34", MultipleDelegation_SameConnector_P_P_Operation_main_ObjectFlow34); + AddToElementRepository("LiteralBoolean35", MultipleDelegation_SameConnector_P_P_Operation_main_ObjectFlow34_LiteralBoolean35); + AddToElementRepository("LiteralInteger36", MultipleDelegation_SameConnector_P_P_Operation_main_ObjectFlow34_LiteralInteger36); + AddToElementRepository("ObjectFlow37", MultipleDelegation_SameConnector_P_P_Operation_main_ObjectFlow37); + AddToElementRepository("LiteralBoolean38", MultipleDelegation_SameConnector_P_P_Operation_main_ObjectFlow37_LiteralBoolean38); + AddToElementRepository("LiteralInteger39", MultipleDelegation_SameConnector_P_P_Operation_main_ObjectFlow37_LiteralInteger39); + AddToElementRepository("ObjectFlow40", MultipleDelegation_SameConnector_P_P_Operation_main_ObjectFlow40); + AddToElementRepository("LiteralBoolean41", MultipleDelegation_SameConnector_P_P_Operation_main_ObjectFlow40_LiteralBoolean41); + AddToElementRepository("LiteralInteger42", MultipleDelegation_SameConnector_P_P_Operation_main_ObjectFlow40_LiteralInteger42); + AddToElementRepository("ObjectFlow43", MultipleDelegation_SameConnector_P_P_Operation_main_ObjectFlow43); + AddToElementRepository("LiteralInteger44", MultipleDelegation_SameConnector_P_P_Operation_main_ObjectFlow43_LiteralInteger44); + AddToElementRepository("LiteralBoolean45", MultipleDelegation_SameConnector_P_P_Operation_main_ObjectFlow43_LiteralBoolean45); + AddToElementRepository("Call p.setP()", MultipleDelegation_SameConnector_P_P_Operation_main_Call_p_setP_); + AddToElementRepository("target", MultipleDelegation_SameConnector_P_P_Operation_main_Call_p_setP__target); + AddToElementRepository("LiteralUnlimitedNatural46", MultipleDelegation_SameConnector_P_P_Operation_main_Call_p_setP__target_LiteralUnlimitedNatural46); + AddToElementRepository("LiteralInteger47", MultipleDelegation_SameConnector_P_P_Operation_main_Call_p_setP__target_LiteralInteger47); + AddToElementRepository("v", MultipleDelegation_SameConnector_P_P_Operation_main_Call_p_setP__v); + AddToElementRepository("LiteralInteger48", MultipleDelegation_SameConnector_P_P_Operation_main_Call_p_setP__v_LiteralInteger48); + AddToElementRepository("LiteralInteger49", MultipleDelegation_SameConnector_P_P_Operation_main_Call_p_setP__v_LiteralInteger49); + AddToElementRepository("LiteralUnlimitedNatural50", MultipleDelegation_SameConnector_P_P_Operation_main_Call_p_setP__v_LiteralUnlimitedNatural50); + AddToElementRepository("Read c.b[]", MultipleDelegation_SameConnector_P_P_Operation_main_Read_c_b_); + AddToElementRepository("result", MultipleDelegation_SameConnector_P_P_Operation_main_Read_c_b__result); + AddToElementRepository("LiteralUnlimitedNatural51", MultipleDelegation_SameConnector_P_P_Operation_main_Read_c_b__result_LiteralUnlimitedNatural51); + AddToElementRepository("LiteralInteger52", MultipleDelegation_SameConnector_P_P_Operation_main_Read_c_b__result_LiteralInteger52); + AddToElementRepository("object", MultipleDelegation_SameConnector_P_P_Operation_main_Read_c_b__object); + AddToElementRepository("LiteralInteger53", MultipleDelegation_SameConnector_P_P_Operation_main_Read_c_b__object_LiteralInteger53); + AddToElementRepository("LiteralUnlimitedNatural54", MultipleDelegation_SameConnector_P_P_Operation_main_Read_c_b__object_LiteralUnlimitedNatural54); + AddToElementRepository("C", MultipleDelegation_SameConnector_P_P_Operation_C); + AddToElementRepository("q", MultipleDelegation_SameConnector_P_P_Operation_C_q); + AddToElementRepository("r", MultipleDelegation_SameConnector_P_P_Operation_C_r); + AddToElementRepository("ConnectorEnd55", MultipleDelegation_SameConnector_P_P_Operation_C_r_ConnectorEnd55); + AddToElementRepository("LiteralInteger56", MultipleDelegation_SameConnector_P_P_Operation_C_r_ConnectorEnd55_LiteralInteger56); + AddToElementRepository("LiteralUnlimitedNatural57", MultipleDelegation_SameConnector_P_P_Operation_C_r_ConnectorEnd55_LiteralUnlimitedNatural57); + AddToElementRepository("ConnectorEnd58", MultipleDelegation_SameConnector_P_P_Operation_C_r_ConnectorEnd58); + AddToElementRepository("LiteralUnlimitedNatural59", MultipleDelegation_SameConnector_P_P_Operation_C_r_ConnectorEnd58_LiteralUnlimitedNatural59); + AddToElementRepository("LiteralInteger60", MultipleDelegation_SameConnector_P_P_Operation_C_r_ConnectorEnd58_LiteralInteger60); + AddToElementRepository("b", MultipleDelegation_SameConnector_P_P_Operation_C_b); + AddToElementRepository("LiteralUnlimitedNatural61", MultipleDelegation_SameConnector_P_P_Operation_C_b_LiteralUnlimitedNatural61); + AddToElementRepository("LiteralInteger62", MultipleDelegation_SameConnector_P_P_Operation_C_b_LiteralInteger62); + AddToElementRepository("C_C", MultipleDelegation_SameConnector_P_P_Operation_C_C_C); + AddToElementRepository("result", MultipleDelegation_SameConnector_P_P_Operation_C_C_C_result); + AddToElementRepository("I", MultipleDelegation_SameConnector_P_P_Operation_I); + AddToElementRepository("setP_Integer", MultipleDelegation_SameConnector_P_P_Operation_I_setP_Integer); + AddToElementRepository("v", MultipleDelegation_SameConnector_P_P_Operation_I_setP_Integer_v); + AddToElementRepository("R", MultipleDelegation_SameConnector_P_P_Operation_R); + AddToElementRepository("x", MultipleDelegation_SameConnector_P_P_Operation_R_x); + AddToElementRepository("y", MultipleDelegation_SameConnector_P_P_Operation_R_y); + AddToElementRepository("B", MultipleDelegation_SameConnector_P_P_Operation_B); + AddToElementRepository("p", MultipleDelegation_SameConnector_P_P_Operation_B_p); + AddToElementRepository("LiteralInteger63", MultipleDelegation_SameConnector_P_P_Operation_B_p_LiteralInteger63); + AddToElementRepository("IRealization", MultipleDelegation_SameConnector_P_P_Operation_B_IRealization); + AddToElementRepository("B_B", MultipleDelegation_SameConnector_P_P_Operation_B_B_B); + AddToElementRepository("result", MultipleDelegation_SameConnector_P_P_Operation_B_B_B_result); + AddToElementRepository("setP_Integer", MultipleDelegation_SameConnector_P_P_Operation_B_setP_Integer); + AddToElementRepository("v", MultipleDelegation_SameConnector_P_P_Operation_B_setP_Integer_v); + AddToElementRepository("setPActivity", MultipleDelegation_SameConnector_P_P_Operation_B_setPActivity); + AddToElementRepository("v", MultipleDelegation_SameConnector_P_P_Operation_B_setPActivity_v); + AddToElementRepository("Set this.p", MultipleDelegation_SameConnector_P_P_Operation_B_setPActivity_Set_this_p); + AddToElementRepository("result", MultipleDelegation_SameConnector_P_P_Operation_B_setPActivity_Set_this_p_result); + AddToElementRepository("LiteralInteger64", MultipleDelegation_SameConnector_P_P_Operation_B_setPActivity_Set_this_p_result_LiteralInteger64); + AddToElementRepository("LiteralUnlimitedNatural65", MultipleDelegation_SameConnector_P_P_Operation_B_setPActivity_Set_this_p_result_LiteralUnlimitedNatural65); + AddToElementRepository("value", MultipleDelegation_SameConnector_P_P_Operation_B_setPActivity_Set_this_p_value); + AddToElementRepository("LiteralInteger66", MultipleDelegation_SameConnector_P_P_Operation_B_setPActivity_Set_this_p_value_LiteralInteger66); + AddToElementRepository("LiteralUnlimitedNatural67", MultipleDelegation_SameConnector_P_P_Operation_B_setPActivity_Set_this_p_value_LiteralUnlimitedNatural67); + AddToElementRepository("object", MultipleDelegation_SameConnector_P_P_Operation_B_setPActivity_Set_this_p_object); + AddToElementRepository("LiteralUnlimitedNatural68", MultipleDelegation_SameConnector_P_P_Operation_B_setPActivity_Set_this_p_object_LiteralUnlimitedNatural68); + AddToElementRepository("LiteralInteger69", MultipleDelegation_SameConnector_P_P_Operation_B_setPActivity_Set_this_p_object_LiteralInteger69); + AddToElementRepository("vParameterNode", MultipleDelegation_SameConnector_P_P_Operation_B_setPActivity_vParameterNode); + AddToElementRepository("LiteralInteger70", MultipleDelegation_SameConnector_P_P_Operation_B_setPActivity_vParameterNode_LiteralInteger70); + AddToElementRepository("ObjectFlow71", MultipleDelegation_SameConnector_P_P_Operation_B_setPActivity_ObjectFlow71); + AddToElementRepository("LiteralBoolean72", MultipleDelegation_SameConnector_P_P_Operation_B_setPActivity_ObjectFlow71_LiteralBoolean72); + AddToElementRepository("LiteralInteger73", MultipleDelegation_SameConnector_P_P_Operation_B_setPActivity_ObjectFlow71_LiteralInteger73); + AddToElementRepository("ObjectFlow74", MultipleDelegation_SameConnector_P_P_Operation_B_setPActivity_ObjectFlow74); + AddToElementRepository("LiteralInteger75", MultipleDelegation_SameConnector_P_P_Operation_B_setPActivity_ObjectFlow74_LiteralInteger75); + AddToElementRepository("LiteralBoolean76", MultipleDelegation_SameConnector_P_P_Operation_B_setPActivity_ObjectFlow74_LiteralBoolean76); + AddToElementRepository("this", MultipleDelegation_SameConnector_P_P_Operation_B_setPActivity_this); + AddToElementRepository("result", MultipleDelegation_SameConnector_P_P_Operation_B_setPActivity_this_result); + AddToElementRepository("LiteralUnlimitedNatural77", MultipleDelegation_SameConnector_P_P_Operation_B_setPActivity_this_result_LiteralUnlimitedNatural77); + AddToElementRepository("LiteralInteger78", MultipleDelegation_SameConnector_P_P_Operation_B_setPActivity_this_result_LiteralInteger78); + AddToElementRepository("IImpl", MultipleDelegation_SameConnector_P_P_Operation_IImpl); + AddToElementRepository("setP_Integer", MultipleDelegation_SameConnector_P_P_Operation_IImpl_setP_Integer); + AddToElementRepository("v", MultipleDelegation_SameConnector_P_P_Operation_IImpl_setP_Integer_v); + AddToElementRepository("IRealization", MultipleDelegation_SameConnector_P_P_Operation_IImpl_IRealization); + + // Initialize public members + /* + * Model MultipleDelegation_SameConnector_P_P_Operation + */ + MultipleDelegation_SameConnector_P_P_Operation.SetName("MultipleDelegation_SameConnector_P_P_Operation"); + MultipleDelegation_SameConnector_P_P_Operation.SetVisibility(VisibilityKind.public_); + // Activity main + MultipleDelegation_SameConnector_P_P_Operation_main.SetName("main"); + MultipleDelegation_SameConnector_P_P_Operation_main.SetVisibility(VisibilityKind.public_); + // FunctionBehavior testP + MultipleDelegation_SameConnector_P_P_Operation_main_testP.SetName("testP"); + MultipleDelegation_SameConnector_P_P_Operation_main_testP.SetVisibility(VisibilityKind.public_); + + // Parameter p + MultipleDelegation_SameConnector_P_P_Operation_main_testP_p.SetName("p"); + MultipleDelegation_SameConnector_P_P_Operation_main_testP_p.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_SameConnector_P_P_Operation_main_testP_p.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + MultipleDelegation_SameConnector_P_P_Operation_main_testP.AddOwnedParameter(MultipleDelegation_SameConnector_P_P_Operation_main_testP_p); + MultipleDelegation_SameConnector_P_P_Operation_main_testP.AddLanguage("C#"); + MultipleDelegation_SameConnector_P_P_Operation_main_testP.AddLanguage("Using"); + MultipleDelegation_SameConnector_P_P_Operation_main_testP.AddBody("if(index == 1) { Console.WriteLine(\"Asserting c.b[1] == 4 || c.b[2] == 4 || c.b[3] == 4 || c.b[4] == 4\"); } // For some reason, during the first execution of the expansion region, its body is actually executed twice. // Because of that, the body is actually executaed 5 times in total. This if-statement covers that up until solved. if(index <= MAX_INDEX) { // Test parameter p int p = ((IntegerValue)inputParameters.ElementAt(0).values.ElementAt(0)).value; Debug.Println(\"[doBody] argument p = \" + p); Console.WriteLine( \"c.b[\" << index << \"] == \" + p); success = success || (p == 4); if(index == MAX_INDEX) { Console.Write(\"Operation call delegated: \"); if(success) { Console.ForegroundColor = ConsoleColor.Green; Console.WriteLine(\"Assertion successful.\"); } else { Console.ForegroundColor = ConsoleColor.Red; Console.WriteLine(\"Assertion failed!\"); } Console.ResetColor(); } } index++;"); + MultipleDelegation_SameConnector_P_P_Operation_main_testP.AddBody("using fuml.semantics.simpleclassifiers; "); + MultipleDelegation_SameConnector_P_P_Operation_main.AddOwnedBehavior(MultipleDelegation_SameConnector_P_P_Operation_main_testP); + // ReadStructuralFeatureAction Read b.p + MultipleDelegation_SameConnector_P_P_Operation_main_Read_b_p.SetName("Read b.p"); + MultipleDelegation_SameConnector_P_P_Operation_main_Read_b_p.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_P_Operation_main_Read_b_p.SetStructuralFeature(MultipleDelegation_SameConnector_P_P_Operation_B_p); + // InputPin object + MultipleDelegation_SameConnector_P_P_Operation_main_Read_b_p_object.SetName("object"); + MultipleDelegation_SameConnector_P_P_Operation_main_Read_b_p_object.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_P_Operation_main_Read_b_p_object.SetType(MultipleDelegation_SameConnector_P_P_Operation_B); + MultipleDelegation_SameConnector_P_P_Operation_main_Read_b_p.SetObject(MultipleDelegation_SameConnector_P_P_Operation_main_Read_b_p_object); + // OutputPin result + MultipleDelegation_SameConnector_P_P_Operation_main_Read_b_p_result.SetName("result"); + MultipleDelegation_SameConnector_P_P_Operation_main_Read_b_p_result.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_P_Operation_main_Read_b_p_result.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + MultipleDelegation_SameConnector_P_P_Operation_main_Read_b_p.SetResult(MultipleDelegation_SameConnector_P_P_Operation_main_Read_b_p_result); + MultipleDelegation_SameConnector_P_P_Operation_main.AddNode(MultipleDelegation_SameConnector_P_P_Operation_main_Read_b_p); + // CreateObjectAction Create C + MultipleDelegation_SameConnector_P_P_Operation_main_Create_C.SetName("Create C"); + MultipleDelegation_SameConnector_P_P_Operation_main_Create_C.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_P_Operation_main_Create_C.SetClassifier(MultipleDelegation_SameConnector_P_P_Operation_C); + // OutputPin result + MultipleDelegation_SameConnector_P_P_Operation_main_Create_C_result.SetName("result"); + MultipleDelegation_SameConnector_P_P_Operation_main_Create_C_result.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_P_Operation_main_Create_C_result.SetType(MultipleDelegation_SameConnector_P_P_Operation_C); + MultipleDelegation_SameConnector_P_P_Operation_main_Create_C.SetResult(MultipleDelegation_SameConnector_P_P_Operation_main_Create_C_result); + MultipleDelegation_SameConnector_P_P_Operation_main.AddNode(MultipleDelegation_SameConnector_P_P_Operation_main_Create_C); + // ReadStructuralFeatureAction Read c.p + MultipleDelegation_SameConnector_P_P_Operation_main_Read_c_p.SetName("Read c.p"); + MultipleDelegation_SameConnector_P_P_Operation_main_Read_c_p.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_P_Operation_main_Read_c_p.SetStructuralFeature(MultipleDelegation_SameConnector_P_P_Operation_C_q); + // InputPin object + MultipleDelegation_SameConnector_P_P_Operation_main_Read_c_p_object.SetName("object"); + MultipleDelegation_SameConnector_P_P_Operation_main_Read_c_p_object.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_P_Operation_main_Read_c_p_object.SetType(MultipleDelegation_SameConnector_P_P_Operation_C); + MultipleDelegation_SameConnector_P_P_Operation_main_Read_c_p.SetObject(MultipleDelegation_SameConnector_P_P_Operation_main_Read_c_p_object); + // OutputPin result + MultipleDelegation_SameConnector_P_P_Operation_main_Read_c_p_result.SetName("result"); + MultipleDelegation_SameConnector_P_P_Operation_main_Read_c_p_result.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_P_Operation_main_Read_c_p_result.SetType(MultipleDelegation_SameConnector_P_P_Operation_IImpl); + MultipleDelegation_SameConnector_P_P_Operation_main_Read_c_p.SetResult(MultipleDelegation_SameConnector_P_P_Operation_main_Read_c_p_result); + MultipleDelegation_SameConnector_P_P_Operation_main.AddNode(MultipleDelegation_SameConnector_P_P_Operation_main_Read_c_p); + // CallOperationAction C() + MultipleDelegation_SameConnector_P_P_Operation_main_C_.SetName("C()"); + MultipleDelegation_SameConnector_P_P_Operation_main_C_.SetVisibility(VisibilityKind.public_); + + // OutputPin result + MultipleDelegation_SameConnector_P_P_Operation_main_C__result.SetName("result"); + MultipleDelegation_SameConnector_P_P_Operation_main_C__result.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_P_Operation_main_C__result.SetType(MultipleDelegation_SameConnector_P_P_Operation_C); + MultipleDelegation_SameConnector_P_P_Operation_main_C_.AddResult(MultipleDelegation_SameConnector_P_P_Operation_main_C__result); + MultipleDelegation_SameConnector_P_P_Operation_main_C_.SetOperation(MultipleDelegation_SameConnector_P_P_Operation_C_C_C); + // InputPin target + MultipleDelegation_SameConnector_P_P_Operation_main_C__target.SetName("target"); + MultipleDelegation_SameConnector_P_P_Operation_main_C__target.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_P_Operation_main_C__target.SetType(MultipleDelegation_SameConnector_P_P_Operation_C); + MultipleDelegation_SameConnector_P_P_Operation_main_C_.SetTarget(MultipleDelegation_SameConnector_P_P_Operation_main_C__target); + MultipleDelegation_SameConnector_P_P_Operation_main.AddNode(MultipleDelegation_SameConnector_P_P_Operation_main_C_); + // ForkNode Fork C + MultipleDelegation_SameConnector_P_P_Operation_main_Fork_C.SetName("Fork C"); + MultipleDelegation_SameConnector_P_P_Operation_main_Fork_C.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_P_Operation_main.AddNode(MultipleDelegation_SameConnector_P_P_Operation_main_Fork_C); + // CallBehaviorAction Call testP + MultipleDelegation_SameConnector_P_P_Operation_main_Call_testP.SetName("Call testP"); + MultipleDelegation_SameConnector_P_P_Operation_main_Call_testP.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_P_Operation_main_Call_testP.SetBehavior(MultipleDelegation_SameConnector_P_P_Operation_main_testP); + // InputPin p + MultipleDelegation_SameConnector_P_P_Operation_main_Call_testP_p.SetName("p"); + MultipleDelegation_SameConnector_P_P_Operation_main_Call_testP_p.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_P_Operation_main_Call_testP_p.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + MultipleDelegation_SameConnector_P_P_Operation_main_Call_testP.AddArgument(MultipleDelegation_SameConnector_P_P_Operation_main_Call_testP_p); + MultipleDelegation_SameConnector_P_P_Operation_main.AddNode(MultipleDelegation_SameConnector_P_P_Operation_main_Call_testP); + // CallOperationAction Call p.setP() + MultipleDelegation_SameConnector_P_P_Operation_main_Call_p_setP_.SetName("Call p.setP()"); + MultipleDelegation_SameConnector_P_P_Operation_main_Call_p_setP_.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_P_Operation_main_Call_p_setP_.SetOperation(MultipleDelegation_SameConnector_P_P_Operation_I_setP_Integer); + // InputPin target + MultipleDelegation_SameConnector_P_P_Operation_main_Call_p_setP__target.SetName("target"); + MultipleDelegation_SameConnector_P_P_Operation_main_Call_p_setP__target.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_P_Operation_main_Call_p_setP__target.SetType(MultipleDelegation_SameConnector_P_P_Operation_I); + MultipleDelegation_SameConnector_P_P_Operation_main_Call_p_setP_.SetTarget(MultipleDelegation_SameConnector_P_P_Operation_main_Call_p_setP__target); + // InputPin v + MultipleDelegation_SameConnector_P_P_Operation_main_Call_p_setP__v.SetName("v"); + MultipleDelegation_SameConnector_P_P_Operation_main_Call_p_setP__v.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_P_Operation_main_Call_p_setP__v.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + MultipleDelegation_SameConnector_P_P_Operation_main_Call_p_setP_.AddArgument(MultipleDelegation_SameConnector_P_P_Operation_main_Call_p_setP__v); + MultipleDelegation_SameConnector_P_P_Operation_main.AddNode(MultipleDelegation_SameConnector_P_P_Operation_main_Call_p_setP_); + // ValueSpecificationAction Value(4) + MultipleDelegation_SameConnector_P_P_Operation_main_Value_4.SetName("Value(4)"); + MultipleDelegation_SameConnector_P_P_Operation_main_Value_4.SetVisibility(VisibilityKind.public_); + // LiteralInteger LiteralInteger18 + MultipleDelegation_SameConnector_P_P_Operation_main_Value_4_LiteralInteger18.SetName("LiteralInteger18"); + MultipleDelegation_SameConnector_P_P_Operation_main_Value_4_LiteralInteger18.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_P_Operation_main_Value_4_LiteralInteger18.SetValue(4); + MultipleDelegation_SameConnector_P_P_Operation_main_Value_4.SetValue(MultipleDelegation_SameConnector_P_P_Operation_main_Value_4_LiteralInteger18); + // OutputPin result + MultipleDelegation_SameConnector_P_P_Operation_main_Value_4_result.SetName("result"); + MultipleDelegation_SameConnector_P_P_Operation_main_Value_4_result.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_P_Operation_main_Value_4_result.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + MultipleDelegation_SameConnector_P_P_Operation_main_Value_4.SetResult(MultipleDelegation_SameConnector_P_P_Operation_main_Value_4_result); + MultipleDelegation_SameConnector_P_P_Operation_main.AddNode(MultipleDelegation_SameConnector_P_P_Operation_main_Value_4); + // ReadStructuralFeatureAction Read c.b[] + MultipleDelegation_SameConnector_P_P_Operation_main_Read_c_b_.SetName("Read c.b[]"); + MultipleDelegation_SameConnector_P_P_Operation_main_Read_c_b_.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_P_Operation_main_Read_c_b_.SetStructuralFeature(MultipleDelegation_SameConnector_P_P_Operation_C_b); + // InputPin object + MultipleDelegation_SameConnector_P_P_Operation_main_Read_c_b__object.SetName("object"); + MultipleDelegation_SameConnector_P_P_Operation_main_Read_c_b__object.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_P_Operation_main_Read_c_b__object.SetType(MultipleDelegation_SameConnector_P_P_Operation_C); + MultipleDelegation_SameConnector_P_P_Operation_main_Read_c_b_.SetObject(MultipleDelegation_SameConnector_P_P_Operation_main_Read_c_b__object); + // OutputPin result + MultipleDelegation_SameConnector_P_P_Operation_main_Read_c_b__result.SetName("result"); + MultipleDelegation_SameConnector_P_P_Operation_main_Read_c_b__result.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_P_Operation_main_Read_c_b__result.SetType(MultipleDelegation_SameConnector_P_P_Operation_B); + MultipleDelegation_SameConnector_P_P_Operation_main_Read_c_b__result.SetUpper(4); + MultipleDelegation_SameConnector_P_P_Operation_main_Read_c_b__result.SetLower(4); + MultipleDelegation_SameConnector_P_P_Operation_main_Read_c_b_.SetResult(MultipleDelegation_SameConnector_P_P_Operation_main_Read_c_b__result); + MultipleDelegation_SameConnector_P_P_Operation_main.AddNode(MultipleDelegation_SameConnector_P_P_Operation_main_Read_c_b_); + // ObjectFlow ObjectFlow19 from result to p + MultipleDelegation_SameConnector_P_P_Operation_main_ObjectFlow19.SetName("ObjectFlow19"); + MultipleDelegation_SameConnector_P_P_Operation_main_ObjectFlow19.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_SameConnector_P_P_Operation_main_ObjectFlow19.SetSource(MultipleDelegation_SameConnector_P_P_Operation_main_Read_b_p_result); + MultipleDelegation_SameConnector_P_P_Operation_main_ObjectFlow19.SetTarget(MultipleDelegation_SameConnector_P_P_Operation_main_Call_testP_p); + // LiteralBoolean LiteralBoolean20 + MultipleDelegation_SameConnector_P_P_Operation_main_ObjectFlow19_LiteralBoolean20.SetName("LiteralBoolean20"); + MultipleDelegation_SameConnector_P_P_Operation_main_ObjectFlow19_LiteralBoolean20.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_P_Operation_main_ObjectFlow19_LiteralBoolean20.SetValue(true); + MultipleDelegation_SameConnector_P_P_Operation_main_ObjectFlow19.SetGuard(MultipleDelegation_SameConnector_P_P_Operation_main_ObjectFlow19_LiteralBoolean20); + MultipleDelegation_SameConnector_P_P_Operation_main.AddEdge(MultipleDelegation_SameConnector_P_P_Operation_main_ObjectFlow19); + // ControlFlow ControlFlow4 from Call p.setP() to Read c.b[] + MultipleDelegation_SameConnector_P_P_Operation_main_ControlFlow4.SetName("ControlFlow4"); + MultipleDelegation_SameConnector_P_P_Operation_main_ControlFlow4.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_SameConnector_P_P_Operation_main_ControlFlow4.SetSource(MultipleDelegation_SameConnector_P_P_Operation_main_Call_p_setP_); + MultipleDelegation_SameConnector_P_P_Operation_main_ControlFlow4.SetTarget(MultipleDelegation_SameConnector_P_P_Operation_main_Read_c_b_); + MultipleDelegation_SameConnector_P_P_Operation_main.AddEdge(MultipleDelegation_SameConnector_P_P_Operation_main_ControlFlow4); + // ObjectFlow ObjectFlow7 from result to Fork C + MultipleDelegation_SameConnector_P_P_Operation_main_ObjectFlow7.SetName("ObjectFlow7"); + MultipleDelegation_SameConnector_P_P_Operation_main_ObjectFlow7.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_SameConnector_P_P_Operation_main_ObjectFlow7.SetSource(MultipleDelegation_SameConnector_P_P_Operation_main_C__result); + MultipleDelegation_SameConnector_P_P_Operation_main_ObjectFlow7.SetTarget(MultipleDelegation_SameConnector_P_P_Operation_main_Fork_C); + // LiteralBoolean LiteralBoolean9 + MultipleDelegation_SameConnector_P_P_Operation_main_ObjectFlow7_LiteralBoolean9.SetName("LiteralBoolean9"); + MultipleDelegation_SameConnector_P_P_Operation_main_ObjectFlow7_LiteralBoolean9.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_P_Operation_main_ObjectFlow7_LiteralBoolean9.SetValue(true); + MultipleDelegation_SameConnector_P_P_Operation_main_ObjectFlow7.SetGuard(MultipleDelegation_SameConnector_P_P_Operation_main_ObjectFlow7_LiteralBoolean9); + MultipleDelegation_SameConnector_P_P_Operation_main.AddEdge(MultipleDelegation_SameConnector_P_P_Operation_main_ObjectFlow7); + // ObjectFlow ObjectFlow10 from result to target + MultipleDelegation_SameConnector_P_P_Operation_main_ObjectFlow10.SetName("ObjectFlow10"); + MultipleDelegation_SameConnector_P_P_Operation_main_ObjectFlow10.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_SameConnector_P_P_Operation_main_ObjectFlow10.SetSource(MultipleDelegation_SameConnector_P_P_Operation_main_Read_c_p_result); + MultipleDelegation_SameConnector_P_P_Operation_main_ObjectFlow10.SetTarget(MultipleDelegation_SameConnector_P_P_Operation_main_Call_p_setP__target); + // LiteralBoolean LiteralBoolean12 + MultipleDelegation_SameConnector_P_P_Operation_main_ObjectFlow10_LiteralBoolean12.SetName("LiteralBoolean12"); + MultipleDelegation_SameConnector_P_P_Operation_main_ObjectFlow10_LiteralBoolean12.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_P_Operation_main_ObjectFlow10_LiteralBoolean12.SetValue(true); + MultipleDelegation_SameConnector_P_P_Operation_main_ObjectFlow10.SetGuard(MultipleDelegation_SameConnector_P_P_Operation_main_ObjectFlow10_LiteralBoolean12); + MultipleDelegation_SameConnector_P_P_Operation_main.AddEdge(MultipleDelegation_SameConnector_P_P_Operation_main_ObjectFlow10); + // ObjectFlow ObjectFlow26 from result to object + MultipleDelegation_SameConnector_P_P_Operation_main_ObjectFlow26.SetName("ObjectFlow26"); + MultipleDelegation_SameConnector_P_P_Operation_main_ObjectFlow26.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_SameConnector_P_P_Operation_main_ObjectFlow26.SetSource(MultipleDelegation_SameConnector_P_P_Operation_main_Read_c_b__result); + MultipleDelegation_SameConnector_P_P_Operation_main_ObjectFlow26.SetTarget(MultipleDelegation_SameConnector_P_P_Operation_main_Read_b_p_object); + // LiteralBoolean LiteralBoolean28 + MultipleDelegation_SameConnector_P_P_Operation_main_ObjectFlow26_LiteralBoolean28.SetName("LiteralBoolean28"); + MultipleDelegation_SameConnector_P_P_Operation_main_ObjectFlow26_LiteralBoolean28.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_P_Operation_main_ObjectFlow26_LiteralBoolean28.SetValue(true); + MultipleDelegation_SameConnector_P_P_Operation_main_ObjectFlow26.SetGuard(MultipleDelegation_SameConnector_P_P_Operation_main_ObjectFlow26_LiteralBoolean28); + MultipleDelegation_SameConnector_P_P_Operation_main.AddEdge(MultipleDelegation_SameConnector_P_P_Operation_main_ObjectFlow26); + // ObjectFlow ObjectFlow34 from Fork C to object + MultipleDelegation_SameConnector_P_P_Operation_main_ObjectFlow34.SetName("ObjectFlow34"); + MultipleDelegation_SameConnector_P_P_Operation_main_ObjectFlow34.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_SameConnector_P_P_Operation_main_ObjectFlow34.SetSource(MultipleDelegation_SameConnector_P_P_Operation_main_Fork_C); + MultipleDelegation_SameConnector_P_P_Operation_main_ObjectFlow34.SetTarget(MultipleDelegation_SameConnector_P_P_Operation_main_Read_c_p_object); + // LiteralBoolean LiteralBoolean35 + MultipleDelegation_SameConnector_P_P_Operation_main_ObjectFlow34_LiteralBoolean35.SetName("LiteralBoolean35"); + MultipleDelegation_SameConnector_P_P_Operation_main_ObjectFlow34_LiteralBoolean35.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_P_Operation_main_ObjectFlow34_LiteralBoolean35.SetValue(true); + MultipleDelegation_SameConnector_P_P_Operation_main_ObjectFlow34.SetGuard(MultipleDelegation_SameConnector_P_P_Operation_main_ObjectFlow34_LiteralBoolean35); + MultipleDelegation_SameConnector_P_P_Operation_main.AddEdge(MultipleDelegation_SameConnector_P_P_Operation_main_ObjectFlow34); + // ObjectFlow ObjectFlow37 from result to target + MultipleDelegation_SameConnector_P_P_Operation_main_ObjectFlow37.SetName("ObjectFlow37"); + MultipleDelegation_SameConnector_P_P_Operation_main_ObjectFlow37.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_SameConnector_P_P_Operation_main_ObjectFlow37.SetSource(MultipleDelegation_SameConnector_P_P_Operation_main_Create_C_result); + MultipleDelegation_SameConnector_P_P_Operation_main_ObjectFlow37.SetTarget(MultipleDelegation_SameConnector_P_P_Operation_main_C__target); + // LiteralBoolean LiteralBoolean38 + MultipleDelegation_SameConnector_P_P_Operation_main_ObjectFlow37_LiteralBoolean38.SetName("LiteralBoolean38"); + MultipleDelegation_SameConnector_P_P_Operation_main_ObjectFlow37_LiteralBoolean38.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_P_Operation_main_ObjectFlow37_LiteralBoolean38.SetValue(true); + MultipleDelegation_SameConnector_P_P_Operation_main_ObjectFlow37.SetGuard(MultipleDelegation_SameConnector_P_P_Operation_main_ObjectFlow37_LiteralBoolean38); + MultipleDelegation_SameConnector_P_P_Operation_main.AddEdge(MultipleDelegation_SameConnector_P_P_Operation_main_ObjectFlow37); + // ObjectFlow ObjectFlow40 from result to v + MultipleDelegation_SameConnector_P_P_Operation_main_ObjectFlow40.SetName("ObjectFlow40"); + MultipleDelegation_SameConnector_P_P_Operation_main_ObjectFlow40.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_SameConnector_P_P_Operation_main_ObjectFlow40.SetSource(MultipleDelegation_SameConnector_P_P_Operation_main_Value_4_result); + MultipleDelegation_SameConnector_P_P_Operation_main_ObjectFlow40.SetTarget(MultipleDelegation_SameConnector_P_P_Operation_main_Call_p_setP__v); + // LiteralBoolean LiteralBoolean41 + MultipleDelegation_SameConnector_P_P_Operation_main_ObjectFlow40_LiteralBoolean41.SetName("LiteralBoolean41"); + MultipleDelegation_SameConnector_P_P_Operation_main_ObjectFlow40_LiteralBoolean41.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_P_Operation_main_ObjectFlow40_LiteralBoolean41.SetValue(true); + MultipleDelegation_SameConnector_P_P_Operation_main_ObjectFlow40.SetGuard(MultipleDelegation_SameConnector_P_P_Operation_main_ObjectFlow40_LiteralBoolean41); + MultipleDelegation_SameConnector_P_P_Operation_main.AddEdge(MultipleDelegation_SameConnector_P_P_Operation_main_ObjectFlow40); + // ObjectFlow ObjectFlow43 from Fork C to object + MultipleDelegation_SameConnector_P_P_Operation_main_ObjectFlow43.SetName("ObjectFlow43"); + MultipleDelegation_SameConnector_P_P_Operation_main_ObjectFlow43.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_SameConnector_P_P_Operation_main_ObjectFlow43.SetSource(MultipleDelegation_SameConnector_P_P_Operation_main_Fork_C); + MultipleDelegation_SameConnector_P_P_Operation_main_ObjectFlow43.SetTarget(MultipleDelegation_SameConnector_P_P_Operation_main_Read_c_b__object); + // LiteralBoolean LiteralBoolean45 + MultipleDelegation_SameConnector_P_P_Operation_main_ObjectFlow43_LiteralBoolean45.SetName("LiteralBoolean45"); + MultipleDelegation_SameConnector_P_P_Operation_main_ObjectFlow43_LiteralBoolean45.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_P_Operation_main_ObjectFlow43_LiteralBoolean45.SetValue(true); + MultipleDelegation_SameConnector_P_P_Operation_main_ObjectFlow43.SetGuard(MultipleDelegation_SameConnector_P_P_Operation_main_ObjectFlow43_LiteralBoolean45); + MultipleDelegation_SameConnector_P_P_Operation_main.AddEdge(MultipleDelegation_SameConnector_P_P_Operation_main_ObjectFlow43); + MultipleDelegation_SameConnector_P_P_Operation.AddPackagedElement(MultipleDelegation_SameConnector_P_P_Operation_main); + // Class C + MultipleDelegation_SameConnector_P_P_Operation_C.SetName("C"); + MultipleDelegation_SameConnector_P_P_Operation_C.SetVisibility(VisibilityKind.public_); + + // Port q + MultipleDelegation_SameConnector_P_P_Operation_C_q.SetName("q"); + MultipleDelegation_SameConnector_P_P_Operation_C_q.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_SameConnector_P_P_Operation_C_q.SetType(MultipleDelegation_SameConnector_P_P_Operation_IImpl); + MultipleDelegation_SameConnector_P_P_Operation_C_q.SetAggregation(AggregationKind.composite); + MultipleDelegation_SameConnector_P_P_Operation_C_q.isService = true; + MultipleDelegation_SameConnector_P_P_Operation_C_q.AddProvided(MultipleDelegation_SameConnector_P_P_Operation_I); + MultipleDelegation_SameConnector_P_P_Operation_C.AddOwnedAttribute(MultipleDelegation_SameConnector_P_P_Operation_C_q); + // Property b + MultipleDelegation_SameConnector_P_P_Operation_C_b.SetName("b"); + MultipleDelegation_SameConnector_P_P_Operation_C_b.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_P_Operation_C_b.SetUpper(4); + MultipleDelegation_SameConnector_P_P_Operation_C_b.SetLower(4); + MultipleDelegation_SameConnector_P_P_Operation_C_b.SetType(MultipleDelegation_SameConnector_P_P_Operation_B); + MultipleDelegation_SameConnector_P_P_Operation_C_b.SetAggregation(AggregationKind.composite); + MultipleDelegation_SameConnector_P_P_Operation_C.AddOwnedAttribute(MultipleDelegation_SameConnector_P_P_Operation_C_b); + + MultipleDelegation_SameConnector_P_P_Operation_C_r.SetName("r"); + MultipleDelegation_SameConnector_P_P_Operation_C_r.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_P_Operation_C_r_ConnectorEnd55.SetUpper(-1); + MultipleDelegation_SameConnector_P_P_Operation_C_r_ConnectorEnd55.SetRole(MultipleDelegation_SameConnector_P_P_Operation_C_q); + + MultipleDelegation_SameConnector_P_P_Operation_C_r.AddEnd(MultipleDelegation_SameConnector_P_P_Operation_C_r_ConnectorEnd55); + MultipleDelegation_SameConnector_P_P_Operation_C_r_ConnectorEnd58.SetUpper(-1); + MultipleDelegation_SameConnector_P_P_Operation_C_r_ConnectorEnd58.SetLower(4); + MultipleDelegation_SameConnector_P_P_Operation_C_r_ConnectorEnd58.SetRole(MultipleDelegation_SameConnector_P_P_Operation_C_b); + + MultipleDelegation_SameConnector_P_P_Operation_C_r.AddEnd(MultipleDelegation_SameConnector_P_P_Operation_C_r_ConnectorEnd58); + MultipleDelegation_SameConnector_P_P_Operation_C_r.SetType(MultipleDelegation_SameConnector_P_P_Operation_R); + MultipleDelegation_SameConnector_P_P_Operation_C.AddOwnedConnector(MultipleDelegation_SameConnector_P_P_Operation_C_r); + // Operation C_C + MultipleDelegation_SameConnector_P_P_Operation_C_C_C.SetName("C_C"); + MultipleDelegation_SameConnector_P_P_Operation_C_C_C.SetVisibility(VisibilityKind.public_); + // Parameter result + MultipleDelegation_SameConnector_P_P_Operation_C_C_C_result.SetName("result"); + MultipleDelegation_SameConnector_P_P_Operation_C_C_C_result.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_SameConnector_P_P_Operation_C_C_C_result.SetType(MultipleDelegation_SameConnector_P_P_Operation_C); + MultipleDelegation_SameConnector_P_P_Operation_C_C_C_result.SetDirection(ParameterDirectionKind.return_); + MultipleDelegation_SameConnector_P_P_Operation_C_C_C.AddOwnedParameter(MultipleDelegation_SameConnector_P_P_Operation_C_C_C_result); + MultipleDelegation_SameConnector_P_P_Operation_C_C_C.ApplyStereotype(uml.standardprofile.StandardProfileModel.Instance().Stereotype_Create); + MultipleDelegation_SameConnector_P_P_Operation_C.AddOwnedOperation(MultipleDelegation_SameConnector_P_P_Operation_C_C_C); + MultipleDelegation_SameConnector_P_P_Operation.AddPackagedElement(MultipleDelegation_SameConnector_P_P_Operation_C); + // Interface I + MultipleDelegation_SameConnector_P_P_Operation_I.SetName("I"); + MultipleDelegation_SameConnector_P_P_Operation_I.SetVisibility(VisibilityKind.public_); + // Operation setP_Integer + MultipleDelegation_SameConnector_P_P_Operation_I_setP_Integer.SetName("setP_Integer"); + MultipleDelegation_SameConnector_P_P_Operation_I_setP_Integer.SetVisibility(VisibilityKind.public_); + // Parameter v + MultipleDelegation_SameConnector_P_P_Operation_I_setP_Integer_v.SetName("v"); + MultipleDelegation_SameConnector_P_P_Operation_I_setP_Integer_v.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_SameConnector_P_P_Operation_I_setP_Integer_v.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + MultipleDelegation_SameConnector_P_P_Operation_I_setP_Integer.AddOwnedParameter(MultipleDelegation_SameConnector_P_P_Operation_I_setP_Integer_v); + MultipleDelegation_SameConnector_P_P_Operation_I.AddOwnedOperation(MultipleDelegation_SameConnector_P_P_Operation_I_setP_Integer); + MultipleDelegation_SameConnector_P_P_Operation.AddPackagedElement(MultipleDelegation_SameConnector_P_P_Operation_I); + // Association R + MultipleDelegation_SameConnector_P_P_Operation_R.SetName("R"); + MultipleDelegation_SameConnector_P_P_Operation_R.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_P_Operation_R.AddOwnedEnd(MultipleDelegation_SameConnector_P_P_Operation_R_x); + MultipleDelegation_SameConnector_P_P_Operation_R.AddOwnedEnd(MultipleDelegation_SameConnector_P_P_Operation_R_y); + MultipleDelegation_SameConnector_P_P_Operation.AddPackagedElement(MultipleDelegation_SameConnector_P_P_Operation_R); + // Class B + MultipleDelegation_SameConnector_P_P_Operation_B.SetName("B"); + MultipleDelegation_SameConnector_P_P_Operation_B.SetVisibility(VisibilityKind.public_); + + // Property p + MultipleDelegation_SameConnector_P_P_Operation_B_p.SetName("p"); + MultipleDelegation_SameConnector_P_P_Operation_B_p.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_SameConnector_P_P_Operation_B_p.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + // LiteralInteger LiteralInteger63 + MultipleDelegation_SameConnector_P_P_Operation_B_p_LiteralInteger63.SetName("LiteralInteger63"); + MultipleDelegation_SameConnector_P_P_Operation_B_p_LiteralInteger63.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_P_Operation_B_p_LiteralInteger63.SetValue(0); + MultipleDelegation_SameConnector_P_P_Operation_B_p.SetDefaultValue(MultipleDelegation_SameConnector_P_P_Operation_B_p_LiteralInteger63); + MultipleDelegation_SameConnector_P_P_Operation_B.AddOwnedAttribute(MultipleDelegation_SameConnector_P_P_Operation_B_p); + // Activity setPActivity + MultipleDelegation_SameConnector_P_P_Operation_B_setPActivity.SetName("setPActivity"); + MultipleDelegation_SameConnector_P_P_Operation_B_setPActivity.SetVisibility(VisibilityKind.public_); + + // Parameter v + MultipleDelegation_SameConnector_P_P_Operation_B_setPActivity_v.SetName("v"); + MultipleDelegation_SameConnector_P_P_Operation_B_setPActivity_v.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_SameConnector_P_P_Operation_B_setPActivity_v.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + MultipleDelegation_SameConnector_P_P_Operation_B_setPActivity.AddOwnedParameter(MultipleDelegation_SameConnector_P_P_Operation_B_setPActivity_v); + // AddStructuralFeatureValueAction Set this.p + MultipleDelegation_SameConnector_P_P_Operation_B_setPActivity_Set_this_p.SetName("Set this.p"); + MultipleDelegation_SameConnector_P_P_Operation_B_setPActivity_Set_this_p.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_P_Operation_B_setPActivity_Set_this_p.SetStructuralFeature(MultipleDelegation_SameConnector_P_P_Operation_B_p); + // InputPin object + MultipleDelegation_SameConnector_P_P_Operation_B_setPActivity_Set_this_p_object.SetName("object"); + MultipleDelegation_SameConnector_P_P_Operation_B_setPActivity_Set_this_p_object.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_P_Operation_B_setPActivity_Set_this_p_object.SetType(MultipleDelegation_SameConnector_P_P_Operation_B); + MultipleDelegation_SameConnector_P_P_Operation_B_setPActivity_Set_this_p.SetObject(MultipleDelegation_SameConnector_P_P_Operation_B_setPActivity_Set_this_p_object); + // InputPin value + MultipleDelegation_SameConnector_P_P_Operation_B_setPActivity_Set_this_p_value.SetName("value"); + MultipleDelegation_SameConnector_P_P_Operation_B_setPActivity_Set_this_p_value.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_P_Operation_B_setPActivity_Set_this_p_value.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + MultipleDelegation_SameConnector_P_P_Operation_B_setPActivity_Set_this_p.SetValue(MultipleDelegation_SameConnector_P_P_Operation_B_setPActivity_Set_this_p_value); + // OutputPin result + MultipleDelegation_SameConnector_P_P_Operation_B_setPActivity_Set_this_p_result.SetName("result"); + MultipleDelegation_SameConnector_P_P_Operation_B_setPActivity_Set_this_p_result.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_P_Operation_B_setPActivity_Set_this_p_result.SetType(MultipleDelegation_SameConnector_P_P_Operation_B); + MultipleDelegation_SameConnector_P_P_Operation_B_setPActivity_Set_this_p.SetResult(MultipleDelegation_SameConnector_P_P_Operation_B_setPActivity_Set_this_p_result); + MultipleDelegation_SameConnector_P_P_Operation_B_setPActivity.AddNode(MultipleDelegation_SameConnector_P_P_Operation_B_setPActivity_Set_this_p); + // ActivityParameterNode vParameterNode + MultipleDelegation_SameConnector_P_P_Operation_B_setPActivity_vParameterNode.SetName("vParameterNode"); + MultipleDelegation_SameConnector_P_P_Operation_B_setPActivity_vParameterNode.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_SameConnector_P_P_Operation_B_setPActivity_vParameterNode.SetParameter(MultipleDelegation_SameConnector_P_P_Operation_B_setPActivity_v); + MultipleDelegation_SameConnector_P_P_Operation_B_setPActivity.AddNode(MultipleDelegation_SameConnector_P_P_Operation_B_setPActivity_vParameterNode); + // ReadSelfAction this + MultipleDelegation_SameConnector_P_P_Operation_B_setPActivity_this.SetName("this"); + MultipleDelegation_SameConnector_P_P_Operation_B_setPActivity_this.SetVisibility(VisibilityKind.public_); + // OutputPin result + MultipleDelegation_SameConnector_P_P_Operation_B_setPActivity_this_result.SetName("result"); + MultipleDelegation_SameConnector_P_P_Operation_B_setPActivity_this_result.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_P_Operation_B_setPActivity_this_result.SetType(MultipleDelegation_SameConnector_P_P_Operation_B); + MultipleDelegation_SameConnector_P_P_Operation_B_setPActivity_this.SetResult(MultipleDelegation_SameConnector_P_P_Operation_B_setPActivity_this_result); + MultipleDelegation_SameConnector_P_P_Operation_B_setPActivity.AddNode(MultipleDelegation_SameConnector_P_P_Operation_B_setPActivity_this); + // ObjectFlow ObjectFlow71 from result to object + MultipleDelegation_SameConnector_P_P_Operation_B_setPActivity_ObjectFlow71.SetName("ObjectFlow71"); + MultipleDelegation_SameConnector_P_P_Operation_B_setPActivity_ObjectFlow71.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_SameConnector_P_P_Operation_B_setPActivity_ObjectFlow71.SetSource(MultipleDelegation_SameConnector_P_P_Operation_B_setPActivity_this_result); + MultipleDelegation_SameConnector_P_P_Operation_B_setPActivity_ObjectFlow71.SetTarget(MultipleDelegation_SameConnector_P_P_Operation_B_setPActivity_Set_this_p_object); + // LiteralBoolean LiteralBoolean72 + MultipleDelegation_SameConnector_P_P_Operation_B_setPActivity_ObjectFlow71_LiteralBoolean72.SetName("LiteralBoolean72"); + MultipleDelegation_SameConnector_P_P_Operation_B_setPActivity_ObjectFlow71_LiteralBoolean72.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_P_Operation_B_setPActivity_ObjectFlow71_LiteralBoolean72.SetValue(true); + MultipleDelegation_SameConnector_P_P_Operation_B_setPActivity_ObjectFlow71.SetGuard(MultipleDelegation_SameConnector_P_P_Operation_B_setPActivity_ObjectFlow71_LiteralBoolean72); + MultipleDelegation_SameConnector_P_P_Operation_B_setPActivity.AddEdge(MultipleDelegation_SameConnector_P_P_Operation_B_setPActivity_ObjectFlow71); + // ObjectFlow ObjectFlow74 from vParameterNode to value + MultipleDelegation_SameConnector_P_P_Operation_B_setPActivity_ObjectFlow74.SetName("ObjectFlow74"); + MultipleDelegation_SameConnector_P_P_Operation_B_setPActivity_ObjectFlow74.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_SameConnector_P_P_Operation_B_setPActivity_ObjectFlow74.SetSource(MultipleDelegation_SameConnector_P_P_Operation_B_setPActivity_vParameterNode); + MultipleDelegation_SameConnector_P_P_Operation_B_setPActivity_ObjectFlow74.SetTarget(MultipleDelegation_SameConnector_P_P_Operation_B_setPActivity_Set_this_p_value); + // LiteralBoolean LiteralBoolean76 + MultipleDelegation_SameConnector_P_P_Operation_B_setPActivity_ObjectFlow74_LiteralBoolean76.SetName("LiteralBoolean76"); + MultipleDelegation_SameConnector_P_P_Operation_B_setPActivity_ObjectFlow74_LiteralBoolean76.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_P_Operation_B_setPActivity_ObjectFlow74_LiteralBoolean76.SetValue(true); + MultipleDelegation_SameConnector_P_P_Operation_B_setPActivity_ObjectFlow74.SetGuard(MultipleDelegation_SameConnector_P_P_Operation_B_setPActivity_ObjectFlow74_LiteralBoolean76); + MultipleDelegation_SameConnector_P_P_Operation_B_setPActivity.AddEdge(MultipleDelegation_SameConnector_P_P_Operation_B_setPActivity_ObjectFlow74); + MultipleDelegation_SameConnector_P_P_Operation_B.AddOwnedBehavior(MultipleDelegation_SameConnector_P_P_Operation_B_setPActivity); + MultipleDelegation_SameConnector_P_P_Operation_B_IRealization.SetName("IRealization"); + MultipleDelegation_SameConnector_P_P_Operation_B_IRealization.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_P_Operation_B_IRealization.SetContract(MultipleDelegation_SameConnector_P_P_Operation_I); + + MultipleDelegation_SameConnector_P_P_Operation_B.AddInterfaceRealization(MultipleDelegation_SameConnector_P_P_Operation_B_IRealization); + + // Operation B_B + MultipleDelegation_SameConnector_P_P_Operation_B_B_B.SetName("B_B"); + MultipleDelegation_SameConnector_P_P_Operation_B_B_B.SetVisibility(VisibilityKind.public_); + // Parameter result + MultipleDelegation_SameConnector_P_P_Operation_B_B_B_result.SetName("result"); + MultipleDelegation_SameConnector_P_P_Operation_B_B_B_result.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_SameConnector_P_P_Operation_B_B_B_result.SetType(MultipleDelegation_SameConnector_P_P_Operation_B); + MultipleDelegation_SameConnector_P_P_Operation_B_B_B_result.SetDirection(ParameterDirectionKind.return_); + MultipleDelegation_SameConnector_P_P_Operation_B_B_B.AddOwnedParameter(MultipleDelegation_SameConnector_P_P_Operation_B_B_B_result); + MultipleDelegation_SameConnector_P_P_Operation_B.AddOwnedOperation(MultipleDelegation_SameConnector_P_P_Operation_B_B_B); + // Operation setP_Integer + MultipleDelegation_SameConnector_P_P_Operation_B_setP_Integer.SetName("setP_Integer"); + MultipleDelegation_SameConnector_P_P_Operation_B_setP_Integer.SetVisibility(VisibilityKind.public_); + // Parameter v + MultipleDelegation_SameConnector_P_P_Operation_B_setP_Integer_v.SetName("v"); + MultipleDelegation_SameConnector_P_P_Operation_B_setP_Integer_v.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_SameConnector_P_P_Operation_B_setP_Integer_v.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + MultipleDelegation_SameConnector_P_P_Operation_B_setP_Integer.AddOwnedParameter(MultipleDelegation_SameConnector_P_P_Operation_B_setP_Integer_v); + MultipleDelegation_SameConnector_P_P_Operation_B_setP_Integer.AddMethod(MultipleDelegation_SameConnector_P_P_Operation_B_setPActivity); + MultipleDelegation_SameConnector_P_P_Operation_B.AddOwnedOperation(MultipleDelegation_SameConnector_P_P_Operation_B_setP_Integer); + MultipleDelegation_SameConnector_P_P_Operation.AddPackagedElement(MultipleDelegation_SameConnector_P_P_Operation_B); + // Class IImpl + MultipleDelegation_SameConnector_P_P_Operation_IImpl.SetName("IImpl"); + MultipleDelegation_SameConnector_P_P_Operation_IImpl.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_P_Operation_IImpl_IRealization.SetName("IRealization"); + MultipleDelegation_SameConnector_P_P_Operation_IImpl_IRealization.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_P_Operation_IImpl_IRealization.SetContract(MultipleDelegation_SameConnector_P_P_Operation_I); + + MultipleDelegation_SameConnector_P_P_Operation_IImpl.AddInterfaceRealization(MultipleDelegation_SameConnector_P_P_Operation_IImpl_IRealization); + + // Operation setP_Integer + MultipleDelegation_SameConnector_P_P_Operation_IImpl_setP_Integer.SetName("setP_Integer"); + MultipleDelegation_SameConnector_P_P_Operation_IImpl_setP_Integer.SetVisibility(VisibilityKind.public_); + // Parameter v + MultipleDelegation_SameConnector_P_P_Operation_IImpl_setP_Integer_v.SetName("v"); + MultipleDelegation_SameConnector_P_P_Operation_IImpl_setP_Integer_v.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_SameConnector_P_P_Operation_IImpl_setP_Integer_v.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + MultipleDelegation_SameConnector_P_P_Operation_IImpl_setP_Integer.AddOwnedParameter(MultipleDelegation_SameConnector_P_P_Operation_IImpl_setP_Integer_v); + MultipleDelegation_SameConnector_P_P_Operation_IImpl.AddOwnedOperation(MultipleDelegation_SameConnector_P_P_Operation_IImpl_setP_Integer); + MultipleDelegation_SameConnector_P_P_Operation.AddPackagedElement(MultipleDelegation_SameConnector_P_P_Operation_IImpl); + } + + /* Start of user code : User-defined members + * This section may be used for user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } // MultipleDelegation_SameConnector_P_P_OperationModel +} diff --git a/fUML-CSharp/tests/pscs-Tests/02_Communication/08_MultipleDelegation_SameConnector_P_P_Operation/src/testPExecution.cs b/fUML-CSharp/tests/pscs-Tests/02_Communication/08_MultipleDelegation_SameConnector_P_P_Operation/src/testPExecution.cs new file mode 100644 index 0000000..7423a7a --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/02_Communication/08_MultipleDelegation_SameConnector_P_P_Operation/src/testPExecution.cs @@ -0,0 +1,99 @@ +/* + * testPExecution.cs + * + * Auto-generated file + */ + +using fuml.semantics.commonbehavior; +using fuml; +using fuml.semantics.simpleclassifiers; +using fuml.semantics.values; + +/* Start of user code : User-defined includes and forward declarations + * This section may be used for includes and forward declarations. + * It will not be overwritten by future generation processes. + */ + +/* + * End of user code + */ + +namespace MultipleDelegation_SameConnector_P_P_Operation +{ + public class testPExecution : OpaqueBehaviorExecution + { + public testPExecution() + { + types.Add(MultipleDelegation_SameConnector_P_P_OperationModel.Instance().MultipleDelegation_SameConnector_P_P_Operation_main_testP); + /* Start of user code : Additional opaque behavior execution initializations + * This section may be used to do any additional opaque behavior execution initialization, + * for example initializing user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } + + public override void DoBody(List inputParameters, List outputParameters) + { + if(index == 1) + { + Console.WriteLine("Asserting c.b[1] == 4 || c.b[2] == 4 || c.b[3] == 4 || c.b[4] == 4"); + } + + // For some reason, during the first execution of the expansion region, its body is actually executed twice. + // Because of that, the body is actually executaed 5 times in total. This if-statement covers that up until solved. + if(index <= MAX_INDEX) + { + + // Test parameter p + int p = ((IntegerValue)inputParameters.ElementAt(0).values.ElementAt(0)).value; + Debug.Println("[doBody] argument p = " + p); + + Console.WriteLine( "c.b[" + index + "] == " + p); + success = success || (p == 4); + + if(index == MAX_INDEX) + { + + Console.Write("Operation call delegated: "); + + if(success) + { + Console.ForegroundColor = ConsoleColor.Green; + Console.WriteLine("Assertion successful."); + } + else + { + Console.ForegroundColor = ConsoleColor.Red; + Console.WriteLine("Assertion failed!"); + } + + Console.ResetColor(); + } + } + + index++; + } + + protected override Value New_() + { + return new testPExecution(); + } + + /* Start of user code : User-defined members + * This section may be used for user-defined members. + * It will not be overwritten by future generation processes. + */ + + private static int index = 1; + private const int MAX_INDEX = 4; + private static bool success = false; + + /* + * End of user code + */ + } // testPExecution +} diff --git a/fUML-CSharp/tests/pscs-Tests/02_Communication/09_MultipleDelegation_SameConnector_P_P_Signal/.gitignore b/fUML-CSharp/tests/pscs-Tests/02_Communication/09_MultipleDelegation_SameConnector_P_P_Signal/.gitignore new file mode 100644 index 0000000..1736844 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/02_Communication/09_MultipleDelegation_SameConnector_P_P_Signal/.gitignore @@ -0,0 +1,3 @@ +/.vs/ +/bin/ +/obj/ diff --git a/fUML-CSharp/tests/pscs-Tests/02_Communication/09_MultipleDelegation_SameConnector_P_P_Signal/MultipleDelegation_SameConnector_P_P_Signal.csproj b/fUML-CSharp/tests/pscs-Tests/02_Communication/09_MultipleDelegation_SameConnector_P_P_Signal/MultipleDelegation_SameConnector_P_P_Signal.csproj new file mode 100644 index 0000000..545a6f1 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/02_Communication/09_MultipleDelegation_SameConnector_P_P_Signal/MultipleDelegation_SameConnector_P_P_Signal.csproj @@ -0,0 +1,50 @@ + + + + Exe + net6.0 + enable + enable + + + + MultipleDelegation_SameConnector_P_P_Signal.Debug + + + MultipleDelegation_SameConnector_P_P_Signal.Release + + + + + ..\..\..\..\uml\bin\Debug\net6.0\uml.Debug.dll + + + + + ..\..\..\..\uml\bin\Release\net6.0\uml.Release.dll + + + + + + ..\..\..\..\fuml\bin\Debug\net6.0\fuml.Debug.dll + + + + + ..\..\..\..\fuml\bin\Release\net6.0\fuml.Release.dll + + + + + + ..\..\..\..\pscs\bin\Debug\net6.0\pscs.Debug.dll + + + + + ..\..\..\..\pscs\bin\Release\net6.0\pscs.Release.dll + + + + diff --git a/fUML-CSharp/tests/pscs-Tests/02_Communication/09_MultipleDelegation_SameConnector_P_P_Signal/MultipleDelegation_SameConnector_P_P_Signal.sln b/fUML-CSharp/tests/pscs-Tests/02_Communication/09_MultipleDelegation_SameConnector_P_P_Signal/MultipleDelegation_SameConnector_P_P_Signal.sln new file mode 100644 index 0000000..1c2c723 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/02_Communication/09_MultipleDelegation_SameConnector_P_P_Signal/MultipleDelegation_SameConnector_P_P_Signal.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.32112.339 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MultipleDelegation_SameConnector_P_P_Signal", "MultipleDelegation_SameConnector_P_P_Signal.csproj", "{E32090B7-C71E-4687-9C1B-FE7364A7F7D4}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {E32090B7-C71E-4687-9C1B-FE7364A7F7D4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {E32090B7-C71E-4687-9C1B-FE7364A7F7D4}.Debug|Any CPU.Build.0 = Debug|Any CPU + {E32090B7-C71E-4687-9C1B-FE7364A7F7D4}.Release|Any CPU.ActiveCfg = Release|Any CPU + {E32090B7-C71E-4687-9C1B-FE7364A7F7D4}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {B55EBA9A-C29B-45FA-8C5A-144100A4CDC8} + EndGlobalSection +EndGlobal diff --git a/fUML-CSharp/tests/pscs-Tests/02_Communication/09_MultipleDelegation_SameConnector_P_P_Signal/model/MultipleDelegation_SameConnector_P_P_Signal.di b/fUML-CSharp/tests/pscs-Tests/02_Communication/09_MultipleDelegation_SameConnector_P_P_Signal/model/MultipleDelegation_SameConnector_P_P_Signal.di new file mode 100644 index 0000000..8c549ee --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/02_Communication/09_MultipleDelegation_SameConnector_P_P_Signal/model/MultipleDelegation_SameConnector_P_P_Signal.di @@ -0,0 +1,2 @@ + + diff --git a/fUML-CSharp/tests/pscs-Tests/02_Communication/09_MultipleDelegation_SameConnector_P_P_Signal/model/MultipleDelegation_SameConnector_P_P_Signal.notation b/fUML-CSharp/tests/pscs-Tests/02_Communication/09_MultipleDelegation_SameConnector_P_P_Signal/model/MultipleDelegation_SameConnector_P_P_Signal.notation new file mode 100644 index 0000000..3aa12e6 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/02_Communication/09_MultipleDelegation_SameConnector_P_P_Signal/model/MultipleDelegation_SameConnector_P_P_Signal.notation @@ -0,0 +1,1885 @@ + + + + + +
+
+ + + + + + + +
+ + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/fUML-CSharp/tests/pscs-Tests/02_Communication/09_MultipleDelegation_SameConnector_P_P_Signal/model/MultipleDelegation_SameConnector_P_P_Signal.uml b/fUML-CSharp/tests/pscs-Tests/02_Communication/09_MultipleDelegation_SameConnector_P_P_Signal/model/MultipleDelegation_SameConnector_P_P_Signal.uml new file mode 100644 index 0000000..19e1509 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/02_Communication/09_MultipleDelegation_SameConnector_P_P_Signal/model/MultipleDelegation_SameConnector_P_P_Signal.uml @@ -0,0 +1,469 @@ + + + + + This test case addresses forwarding of a signal through multiple delegation links, corresponding to a single connector, +expressed between a port and a part. + + + Passing: true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + C# + Using + if(index == 1) + { + Console.WriteLine("Asserting c.b[1] == 4 || c.b[2] == 4 || c.b[3] == 4 || c.b[4] == 4"); + } + + // For some reason, during the first execution of the expansion region, its body is actually executed twice. + // Because of that, the body is actually executaed 5 times in total. This if-statement covers that up until solved. + if(index <= MAX_INDEX) + { + + // Test parameter p + int p = ((IntegerValue)inputParameters.ElementAt(0).values.ElementAt(0)).value; + Debug.Println("[doBody] argument p = " + p); + + Console.WriteLine( "c.b[" + index + "] == " + p); + success = success || (p == 4); + + if(index == MAX_INDEX) + { + + Console.Write("Signal delegated on all links (shall be true for default strategy): "); + + if(success) + { + Console.ForegroundColor = ConsoleColor.Green; + Console.WriteLine("Assertion successful."); + } + else + { + Console.ForegroundColor = ConsoleColor.Red; + Console.WriteLine("Assertion failed!"); + } + + Console.ResetColor(); + } + } + + index++; + using fuml.semantics.simpleclassifiers; + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/fUML-CSharp/tests/pscs-Tests/02_Communication/09_MultipleDelegation_SameConnector_P_P_Signal/src/MultipleDelegation_SameConnector_P_P_Signal.cs b/fUML-CSharp/tests/pscs-Tests/02_Communication/09_MultipleDelegation_SameConnector_P_P_Signal/src/MultipleDelegation_SameConnector_P_P_Signal.cs new file mode 100644 index 0000000..af196cd --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/02_Communication/09_MultipleDelegation_SameConnector_P_P_Signal/src/MultipleDelegation_SameConnector_P_P_Signal.cs @@ -0,0 +1,31 @@ +namespace MultipleDelegation_SameConnector_P_P_Signal +{ + internal class MultipleDelegation_SameConnector_P_P_Signal + { + static void PrintUsage() + { + Console.WriteLine( + "=============================================================================================\n" + + "USAGE: [ <...>]\n" + + "=============================================================================================\n" + ); + } + + static int Main(string[] args) + { + if(args.Length == 0) + { + Console.WriteLine("[ERROR] Must declare at least one behavior name.\n"); + PrintUsage(); + return -1; + } + + foreach (string arg in args) + { + MultipleDelegation_SameConnector_P_P_SignalEnvironment.Instance().Execute(arg); + } + + return 0; + } + } +} diff --git a/fUML-CSharp/tests/pscs-Tests/02_Communication/09_MultipleDelegation_SameConnector_P_P_Signal/src/MultipleDelegation_SameConnector_P_P_SignalEnvironment.cs b/fUML-CSharp/tests/pscs-Tests/02_Communication/09_MultipleDelegation_SameConnector_P_P_Signal/src/MultipleDelegation_SameConnector_P_P_SignalEnvironment.cs new file mode 100644 index 0000000..93cd005 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/02_Communication/09_MultipleDelegation_SameConnector_P_P_Signal/src/MultipleDelegation_SameConnector_P_P_SignalEnvironment.cs @@ -0,0 +1,93 @@ +/* + * MultipleDelegation_SameConnector_P_P_SignalEnvironment.cs + * + * Auto-generated file + */ + +/* Start of user code : User-defined using directives + * This section may be used for using directives. + * It will not be overwritten by future generation processes. + */ + +/* + * End of user code + */ + +namespace MultipleDelegation_SameConnector_P_P_Signal +{ + public class MultipleDelegation_SameConnector_P_P_SignalEnvironment : pscs.environment.Environment + { + private static MultipleDelegation_SameConnector_P_P_SignalEnvironment? instance; + + public static MultipleDelegation_SameConnector_P_P_SignalEnvironment Instance() + { + if(instance is null) + { + instance = new(); + instance.inMemoryModel = MultipleDelegation_SameConnector_P_P_SignalModel.Instance(); + } + + return instance; + } + + public MultipleDelegation_SameConnector_P_P_SignalEnvironment() + { + /* + * Create custom opaque behavior execution instances and add them to the execution environment. + */ + AddPrimitiveBehaviorPrototype(new testPExecution()); + + /* Start of user code : Additional environment initializations + * This section may be used to do any additional environment initialization, + * for example initializing user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } + + public override void Execute(string behaviorName) + { + /* Start of user code : Context and inputs initializations + * This section may be used to initialize the execution context + * as well as input parameter values if required. + * It will not be overwritten by future generation processes. + */ + + //context = ...; + //inputs = ...; + + /* + * End of user code + */ + + /* + * Start execution via base class call + */ + base.Execute(behaviorName); + + /* Start of user code : Outputs evaluation + * This section may be used to evaluate output parameter values if required. + * It will not be overwritten by future generation processes. + */ + + //List theOutputs = outputs; + //... + + /* + * End of user code + */ + } + + /* Start of user code : User-defined members + * This section may be used for user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } // MultipleDelegation_SameConnector_P_P_SignalEnvironment +} diff --git a/fUML-CSharp/tests/pscs-Tests/02_Communication/09_MultipleDelegation_SameConnector_P_P_Signal/src/MultipleDelegation_SameConnector_P_P_SignalModel.cs b/fUML-CSharp/tests/pscs-Tests/02_Communication/09_MultipleDelegation_SameConnector_P_P_Signal/src/MultipleDelegation_SameConnector_P_P_SignalModel.cs new file mode 100644 index 0000000..f845e0c --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/02_Communication/09_MultipleDelegation_SameConnector_P_P_Signal/src/MultipleDelegation_SameConnector_P_P_SignalModel.cs @@ -0,0 +1,1566 @@ +/* + * MultipleDelegation_SameConnector_P_P_SignalModel.cs + * + * Auto-generated file + */ + +using uml.actions; +using uml.packages; +using uml.structuredclassifiers; +using fuml.primitivetypes; +using uml.classification; +using fuml.library; +using uml.commonbehavior; +using uml.simpleclassifiers; +using uml.commonstructure; +using uml.values; +using uml.activities; +using uml.environment; + + +/* Start of user code : User-defined includes and forward declarations + * This section may be used for includes and forward declarations. + * It will not be overwritten by future generation processes. + */ + +/* + * End of user code + */ + +namespace MultipleDelegation_SameConnector_P_P_Signal +{ + public class MultipleDelegation_SameConnector_P_P_SignalModel : InMemoryModel + { + private static MultipleDelegation_SameConnector_P_P_SignalModel? instance; + + /* + * Model MultipleDelegation_SameConnector_P_P_Signal + */ + public Package MultipleDelegation_SameConnector_P_P_Signal = new(); + public Activity MultipleDelegation_SameConnector_P_P_Signal_main = new(); + public ObjectFlow MultipleDelegation_SameConnector_P_P_Signal_main_ObjectFlow0 = new(); + public LiteralBoolean MultipleDelegation_SameConnector_P_P_Signal_main_ObjectFlow0_LiteralBoolean1 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_P_Signal_main_ObjectFlow0_LiteralInteger2 = new(); + public CreateObjectAction MultipleDelegation_SameConnector_P_P_Signal_main_Create_Tester = new(); + public OutputPin MultipleDelegation_SameConnector_P_P_Signal_main_Create_Tester_result = new(); + public LiteralUnlimitedNatural MultipleDelegation_SameConnector_P_P_Signal_main_Create_Tester_result_LiteralUnlimitedNatural3 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_P_Signal_main_Create_Tester_result_LiteralInteger4 = new(); + public ObjectFlow MultipleDelegation_SameConnector_P_P_Signal_main_ObjectFlow5 = new(); + public LiteralBoolean MultipleDelegation_SameConnector_P_P_Signal_main_ObjectFlow5_LiteralBoolean6 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_P_Signal_main_ObjectFlow5_LiteralInteger7 = new(); + public StartObjectBehaviorAction MultipleDelegation_SameConnector_P_P_Signal_main_Start_Tester = new(); + public InputPin MultipleDelegation_SameConnector_P_P_Signal_main_Start_Tester_object = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_P_Signal_main_Start_Tester_object_LiteralInteger8 = new(); + public LiteralUnlimitedNatural MultipleDelegation_SameConnector_P_P_Signal_main_Start_Tester_object_LiteralUnlimitedNatural9 = new(); + public ObjectFlow MultipleDelegation_SameConnector_P_P_Signal_main_ObjectFlow10 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_P_Signal_main_ObjectFlow10_LiteralInteger11 = new(); + public LiteralBoolean MultipleDelegation_SameConnector_P_P_Signal_main_ObjectFlow10_LiteralBoolean12 = new(); + public ObjectFlow MultipleDelegation_SameConnector_P_P_Signal_main_ObjectFlow13 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_P_Signal_main_ObjectFlow13_LiteralInteger14 = new(); + public LiteralBoolean MultipleDelegation_SameConnector_P_P_Signal_main_ObjectFlow13_LiteralBoolean15 = new(); + public ControlFlow MultipleDelegation_SameConnector_P_P_Signal_main_ControlFlow16 = new(); + public ForkNode MultipleDelegation_SameConnector_P_P_Signal_main_Fork_Tester = new(); + public CallOperationAction MultipleDelegation_SameConnector_P_P_Signal_main_Tester_ = new(); + public InputPin MultipleDelegation_SameConnector_P_P_Signal_main_Tester__target = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_P_Signal_main_Tester__target_LiteralInteger17 = new(); + public LiteralUnlimitedNatural MultipleDelegation_SameConnector_P_P_Signal_main_Tester__target_LiteralUnlimitedNatural18 = new(); + public OutputPin MultipleDelegation_SameConnector_P_P_Signal_main_Tester__result = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_P_Signal_main_Tester__result_LiteralInteger19 = new(); + public LiteralUnlimitedNatural MultipleDelegation_SameConnector_P_P_Signal_main_Tester__result_LiteralUnlimitedNatural20 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_P_Signal_main_Tester__result_LiteralInteger21 = new(); + public SendSignalAction MultipleDelegation_SameConnector_P_P_Signal_main_Send_Start = new(); + public InputPin MultipleDelegation_SameConnector_P_P_Signal_main_Send_Start_target = new(); + public LiteralUnlimitedNatural MultipleDelegation_SameConnector_P_P_Signal_main_Send_Start_target_LiteralUnlimitedNatural22 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_P_Signal_main_Send_Start_target_LiteralInteger23 = new(); + public Class_ MultipleDelegation_SameConnector_P_P_Signal_A = new(); + public Port MultipleDelegation_SameConnector_P_P_Signal_A_q = new(); + public Property MultipleDelegation_SameConnector_P_P_Signal_A_b = new(); + public LiteralUnlimitedNatural MultipleDelegation_SameConnector_P_P_Signal_A_b_LiteralUnlimitedNatural24 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_P_Signal_A_b_LiteralInteger25 = new(); + public Connector MultipleDelegation_SameConnector_P_P_Signal_A_r = new(); + public ConnectorEnd MultipleDelegation_SameConnector_P_P_Signal_A_r_ConnectorEnd26 = new(); + public LiteralUnlimitedNatural MultipleDelegation_SameConnector_P_P_Signal_A_r_ConnectorEnd26_LiteralUnlimitedNatural27 = new(); + public ConnectorEnd MultipleDelegation_SameConnector_P_P_Signal_A_r_ConnectorEnd28 = new(); + public LiteralUnlimitedNatural MultipleDelegation_SameConnector_P_P_Signal_A_r_ConnectorEnd28_LiteralUnlimitedNatural29 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_P_Signal_A_r_ConnectorEnd28_LiteralInteger30 = new(); + public Operation MultipleDelegation_SameConnector_P_P_Signal_A_A_A = new(); + public Parameter MultipleDelegation_SameConnector_P_P_Signal_A_A_A_result = new(); + public Class_ MultipleDelegation_SameConnector_P_P_Signal_AbstractTester = new(); + public Reception MultipleDelegation_SameConnector_P_P_Signal_AbstractTester_Start = new(); + public Operation MultipleDelegation_SameConnector_P_P_Signal_AbstractTester_test = new(); + public Reception MultipleDelegation_SameConnector_P_P_Signal_AbstractTester_Continue = new(); + public Signal MultipleDelegation_SameConnector_P_P_Signal_S = new(); + public Property MultipleDelegation_SameConnector_P_P_Signal_S_v = new(); + public Property MultipleDelegation_SameConnector_P_P_Signal_S_t = new(); + public SignalEvent MultipleDelegation_SameConnector_P_P_Signal_StartEvent = new(); + public Interface MultipleDelegation_SameConnector_P_P_Signal_I = new(); + public Reception MultipleDelegation_SameConnector_P_P_Signal_I_S = new(); + public Class_ MultipleDelegation_SameConnector_P_P_Signal_B = new(); + public Activity MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior = new(); + public ObjectFlow MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow31 = new(); + public LiteralBoolean MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow31_LiteralBoolean32 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow31_LiteralInteger33 = new(); + public ObjectFlow MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow34 = new(); + public LiteralBoolean MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow34_LiteralBoolean35 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow34_LiteralInteger36 = new(); + public ControlFlow MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_ControlFlow37 = new(); + public ObjectFlow MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow38 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow38_LiteralInteger39 = new(); + public LiteralBoolean MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow38_LiteralBoolean40 = new(); + public AcceptEventAction MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_Accept_S = new(); + public Trigger MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_Accept_S_Trigger41 = new(); + public OutputPin MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_Accept_S_s = new(); + public LiteralUnlimitedNatural MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_Accept_S_s_LiteralUnlimitedNatural42 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_Accept_S_s_LiteralInteger43 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_Accept_S_s_LiteralInteger44 = new(); + public AddStructuralFeatureValueAction MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_Set_this_p = new(); + public OutputPin MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_Set_this_p_result = new(); + public LiteralUnlimitedNatural MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_Set_this_p_result_LiteralUnlimitedNatural45 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_Set_this_p_result_LiteralInteger46 = new(); + public InputPin MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_Set_this_p_object = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_Set_this_p_object_LiteralInteger47 = new(); + public LiteralUnlimitedNatural MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_Set_this_p_object_LiteralUnlimitedNatural48 = new(); + public InputPin MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_Set_this_p_value = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_Set_this_p_value_LiteralInteger49 = new(); + public LiteralUnlimitedNatural MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_Set_this_p_value_LiteralUnlimitedNatural50 = new(); + public SendSignalAction MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_Send_Continue = new(); + public InputPin MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_Send_Continue_target = new(); + public LiteralUnlimitedNatural MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_Send_Continue_target_LiteralUnlimitedNatural51 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_Send_Continue_target_LiteralInteger52 = new(); + public ObjectFlow MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow53 = new(); + public LiteralBoolean MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow53_LiteralBoolean54 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow53_LiteralInteger55 = new(); + public ObjectFlow MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow56 = new(); + public LiteralBoolean MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow56_LiteralBoolean57 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow56_LiteralInteger58 = new(); + public ReadStructuralFeatureAction MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_Read_s_v = new(); + public OutputPin MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_Read_s_v_result = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_Read_s_v_result_LiteralInteger59 = new(); + public LiteralUnlimitedNatural MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_Read_s_v_result_LiteralUnlimitedNatural60 = new(); + public InputPin MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_Read_s_v_object = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_Read_s_v_object_LiteralInteger61 = new(); + public LiteralUnlimitedNatural MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_Read_s_v_object_LiteralUnlimitedNatural62 = new(); + public ReadStructuralFeatureAction MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_Read_s_t = new(); + public InputPin MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_Read_s_t_object = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_Read_s_t_object_LiteralInteger63 = new(); + public LiteralUnlimitedNatural MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_Read_s_t_object_LiteralUnlimitedNatural64 = new(); + public OutputPin MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_Read_s_t_result = new(); + public LiteralUnlimitedNatural MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_Read_s_t_result_LiteralUnlimitedNatural65 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_Read_s_t_result_LiteralInteger66 = new(); + public ReadSelfAction MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_this = new(); + public OutputPin MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_this_result = new(); + public LiteralUnlimitedNatural MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_this_result_LiteralUnlimitedNatural67 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_this_result_LiteralInteger68 = new(); + public ForkNode MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_Fork_s = new(); + public ObjectFlow MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow69 = new(); + public LiteralBoolean MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow69_LiteralBoolean70 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow69_LiteralInteger71 = new(); + public InterfaceRealization MultipleDelegation_SameConnector_P_P_Signal_B_IRealization = new(); + public Operation MultipleDelegation_SameConnector_P_P_Signal_B_B_B = new(); + public Parameter MultipleDelegation_SameConnector_P_P_Signal_B_B_B_result = new(); + public Property MultipleDelegation_SameConnector_P_P_Signal_B_p = new(); + public Reception MultipleDelegation_SameConnector_P_P_Signal_B_S = new(); + public Signal MultipleDelegation_SameConnector_P_P_Signal_Start = new(); + public Association MultipleDelegation_SameConnector_P_P_Signal_R = new(); + public Property MultipleDelegation_SameConnector_P_P_Signal_R_x = new(); + public LiteralUnlimitedNatural MultipleDelegation_SameConnector_P_P_Signal_R_x_LiteralUnlimitedNatural72 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_P_Signal_R_x_LiteralInteger73 = new(); + public Property MultipleDelegation_SameConnector_P_P_Signal_R_y = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_P_Signal_R_y_LiteralInteger74 = new(); + public LiteralUnlimitedNatural MultipleDelegation_SameConnector_P_P_Signal_R_y_LiteralUnlimitedNatural75 = new(); + public SignalEvent MultipleDelegation_SameConnector_P_P_Signal_ContinueEvent = new(); + public Class_ MultipleDelegation_SameConnector_P_P_Signal_IImpl = new(); + public InterfaceRealization MultipleDelegation_SameConnector_P_P_Signal_IImpl_IRealization = new(); + public Reception MultipleDelegation_SameConnector_P_P_Signal_IImpl_S = new(); + public Class_ MultipleDelegation_SameConnector_P_P_Signal_Tester = new(); + public Activity MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity = new(); + public ReadStructuralFeatureAction MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_Read_b_p = new(); + public OutputPin MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_Read_b_p_result = new(); + public LiteralUnlimitedNatural MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_Read_b_p_result_LiteralUnlimitedNatural76 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_Read_b_p_result_LiteralInteger77 = new(); + public InputPin MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_Read_b_p_object = new(); + public LiteralUnlimitedNatural MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_Read_b_p_object_LiteralUnlimitedNatural78 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_Read_b_p_object_LiteralInteger79 = new(); + public ReadSelfAction MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_this = new(); + public OutputPin MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_this_result = new(); + public LiteralUnlimitedNatural MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_this_result_LiteralUnlimitedNatural80 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_this_result_LiteralInteger81 = new(); + public ObjectFlow MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_ObjectFlow82 = new(); + public LiteralBoolean MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_ObjectFlow82_LiteralBoolean83 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_ObjectFlow82_LiteralInteger84 = new(); + public ObjectFlow MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_ObjectFlow85 = new(); + public LiteralBoolean MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_ObjectFlow85_LiteralBoolean86 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_ObjectFlow85_LiteralInteger87 = new(); + public ObjectFlow MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_ObjectFlow88 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_ObjectFlow88_LiteralInteger89 = new(); + public LiteralBoolean MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_ObjectFlow88_LiteralBoolean90 = new(); + public CallBehaviorAction MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_Call_testP = new(); + public InputPin MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_Call_testP_p = new(); + public LiteralUnlimitedNatural MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_Call_testP_p_LiteralUnlimitedNatural91 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_Call_testP_p_LiteralInteger92 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_Call_testP_p_LiteralInteger93 = new(); + public ReadStructuralFeatureAction MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_Read_a_b = new(); + public InputPin MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_Read_a_b_object = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_Read_a_b_object_LiteralInteger94 = new(); + public LiteralUnlimitedNatural MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_Read_a_b_object_LiteralUnlimitedNatural95 = new(); + public OutputPin MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_Read_a_b_result = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_Read_a_b_result_LiteralInteger96 = new(); + public LiteralUnlimitedNatural MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_Read_a_b_result_LiteralUnlimitedNatural97 = new(); + public ReadStructuralFeatureAction MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_Read_this_a = new(); + public OutputPin MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_Read_this_a_result = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_Read_this_a_result_LiteralInteger98 = new(); + public LiteralUnlimitedNatural MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_Read_this_a_result_LiteralUnlimitedNatural99 = new(); + public InputPin MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_Read_this_a_object = new(); + public LiteralUnlimitedNatural MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_Read_this_a_object_LiteralUnlimitedNatural100 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_Read_this_a_object_LiteralInteger101 = new(); + public OpaqueBehavior MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_testP = new(); + public Parameter MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_testP_p = new(); + public ObjectFlow MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_ObjectFlow102 = new(); + public LiteralBoolean MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_ObjectFlow102_LiteralBoolean103 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_ObjectFlow102_LiteralInteger104 = new(); + public Operation MultipleDelegation_SameConnector_P_P_Signal_Tester_test = new(); + public Property MultipleDelegation_SameConnector_P_P_Signal_Tester_a = new(); + public Operation MultipleDelegation_SameConnector_P_P_Signal_Tester_Tester_Tester = new(); + public Parameter MultipleDelegation_SameConnector_P_P_Signal_Tester_Tester_Tester_result = new(); + public Activity MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior = new(); + public ReadStructuralFeatureAction MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Read_this_a = new(); + public InputPin MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Read_this_a_object = new(); + public LiteralUnlimitedNatural MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Read_this_a_object_LiteralUnlimitedNatural105 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Read_this_a_object_LiteralInteger106 = new(); + public OutputPin MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Read_this_a_result = new(); + public LiteralUnlimitedNatural MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Read_this_a_result_LiteralUnlimitedNatural107 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Read_this_a_result_LiteralInteger108 = new(); + public CallOperationAction MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Call_test_ = new(); + public InputPin MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Call_test__target = new(); + public LiteralUnlimitedNatural MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Call_test__target_LiteralUnlimitedNatural109 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Call_test__target_LiteralInteger110 = new(); + public ObjectFlow MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow111 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow111_LiteralInteger112 = new(); + public LiteralBoolean MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow111_LiteralBoolean113 = new(); + public ControlFlow MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_ControlFlow114 = new(); + public ReadSelfAction MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_this = new(); + public OutputPin MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_this_result = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_this_result_LiteralInteger115 = new(); + public LiteralUnlimitedNatural MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_this_result_LiteralUnlimitedNatural116 = new(); + public ObjectFlow MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow117 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow117_LiteralInteger118 = new(); + public LiteralBoolean MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow117_LiteralBoolean119 = new(); + public SendSignalAction MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Send_S = new(); + public InputPin MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Send_S_t = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Send_S_t_LiteralInteger120 = new(); + public LiteralUnlimitedNatural MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Send_S_t_LiteralUnlimitedNatural121 = new(); + public InputPin MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Send_S_target = new(); + public LiteralUnlimitedNatural MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Send_S_target_LiteralUnlimitedNatural122 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Send_S_target_LiteralInteger123 = new(); + public InputPin MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Send_S_v = new(); + public LiteralUnlimitedNatural MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Send_S_v_LiteralUnlimitedNatural124 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Send_S_v_LiteralInteger125 = new(); + public AcceptEventAction MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_1 = new(); + public Trigger MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_1_Trigger126 = new(); + public OutputPin MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_1_result = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_1_result_LiteralInteger127 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_1_result_LiteralInteger128 = new(); + public LiteralUnlimitedNatural MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_1_result_LiteralUnlimitedNatural129 = new(); + public ReadStructuralFeatureAction MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Read_a_q = new(); + public OutputPin MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Read_a_q_result = new(); + public LiteralUnlimitedNatural MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Read_a_q_result_LiteralUnlimitedNatural130 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Read_a_q_result_LiteralInteger131 = new(); + public InputPin MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Read_a_q_object = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Read_a_q_object_LiteralInteger132 = new(); + public LiteralUnlimitedNatural MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Read_a_q_object_LiteralUnlimitedNatural133 = new(); + public ControlFlow MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_ControlFlow134 = new(); + public AcceptEventAction MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_3 = new(); + public OutputPin MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_3_result = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_3_result_LiteralInteger135 = new(); + public LiteralUnlimitedNatural MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_3_result_LiteralUnlimitedNatural136 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_3_result_LiteralInteger137 = new(); + public Trigger MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_3_Trigger138 = new(); + public ObjectFlow MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow139 = new(); + public LiteralBoolean MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow139_LiteralBoolean140 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow139_LiteralInteger141 = new(); + public ObjectFlow MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow142 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow142_LiteralInteger143 = new(); + public LiteralBoolean MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow142_LiteralBoolean144 = new(); + public ControlFlow MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_ControlFlow145 = new(); + public ForkNode MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Fork_this = new(); + public AcceptEventAction MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_4 = new(); + public Trigger MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_4_Trigger146 = new(); + public OutputPin MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_4_result = new(); + public LiteralUnlimitedNatural MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_4_result_LiteralUnlimitedNatural147 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_4_result_LiteralInteger148 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_4_result_LiteralInteger149 = new(); + public ObjectFlow MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow150 = new(); + public LiteralBoolean MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow150_LiteralBoolean151 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow150_LiteralInteger152 = new(); + public ValueSpecificationAction MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Value_4 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Value_4_LiteralInteger153 = new(); + public OutputPin MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Value_4_result = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Value_4_result_LiteralInteger154 = new(); + public LiteralUnlimitedNatural MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Value_4_result_LiteralUnlimitedNatural155 = new(); + public ObjectFlow MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow156 = new(); + public LiteralBoolean MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow156_LiteralBoolean157 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow156_LiteralInteger158 = new(); + public ControlFlow MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_ControlFlow159 = new(); + public AcceptEventAction MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Start = new(); + public OutputPin MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Start_result = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Start_result_LiteralInteger160 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Start_result_LiteralInteger161 = new(); + public LiteralUnlimitedNatural MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Start_result_LiteralUnlimitedNatural162 = new(); + public Trigger MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Start_Trigger163 = new(); + public ControlFlow MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_ControlFlow164 = new(); + public ObjectFlow MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow165 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow165_LiteralInteger166 = new(); + public LiteralBoolean MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow165_LiteralBoolean167 = new(); + public ControlFlow MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_ControlFlow168 = new(); + public AcceptEventAction MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_2 = new(); + public Trigger MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_2_Trigger169 = new(); + public OutputPin MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_2_result = new(); + public LiteralUnlimitedNatural MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_2_result_LiteralUnlimitedNatural170 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_2_result_LiteralInteger171 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_2_result_LiteralInteger172 = new(); + public Generalization MultipleDelegation_SameConnector_P_P_Signal_Tester_Generalization173 = new(); + public SignalEvent MultipleDelegation_SameConnector_P_P_Signal_SEvent = new(); + public Signal MultipleDelegation_SameConnector_P_P_Signal_Continue = new(); + + public static MultipleDelegation_SameConnector_P_P_SignalModel Instance() + { + if (instance is null) + { + instance = new(); + instance.InitializeInMemoryModel(); + } + + return instance; + } + + public MultipleDelegation_SameConnector_P_P_SignalModel() + { + /* Start of user code : Additional model initializations + * This section may be used to do any additional model initialization, + * for example initializing user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } + + private void InitializeInMemoryModel() + { + // Create public members + /* + * Model MultipleDelegation_SameConnector_P_P_Signal + */ + AddToElementRepository("MultipleDelegation_SameConnector_P_P_Signal", MultipleDelegation_SameConnector_P_P_Signal); + AddToElementRepository("main", MultipleDelegation_SameConnector_P_P_Signal_main); + AddToElementRepository("ObjectFlow0", MultipleDelegation_SameConnector_P_P_Signal_main_ObjectFlow0); + AddToElementRepository("LiteralBoolean1", MultipleDelegation_SameConnector_P_P_Signal_main_ObjectFlow0_LiteralBoolean1); + AddToElementRepository("LiteralInteger2", MultipleDelegation_SameConnector_P_P_Signal_main_ObjectFlow0_LiteralInteger2); + AddToElementRepository("Create Tester", MultipleDelegation_SameConnector_P_P_Signal_main_Create_Tester); + AddToElementRepository("result", MultipleDelegation_SameConnector_P_P_Signal_main_Create_Tester_result); + AddToElementRepository("LiteralUnlimitedNatural3", MultipleDelegation_SameConnector_P_P_Signal_main_Create_Tester_result_LiteralUnlimitedNatural3); + AddToElementRepository("LiteralInteger4", MultipleDelegation_SameConnector_P_P_Signal_main_Create_Tester_result_LiteralInteger4); + AddToElementRepository("ObjectFlow5", MultipleDelegation_SameConnector_P_P_Signal_main_ObjectFlow5); + AddToElementRepository("LiteralBoolean6", MultipleDelegation_SameConnector_P_P_Signal_main_ObjectFlow5_LiteralBoolean6); + AddToElementRepository("LiteralInteger7", MultipleDelegation_SameConnector_P_P_Signal_main_ObjectFlow5_LiteralInteger7); + AddToElementRepository("Start Tester", MultipleDelegation_SameConnector_P_P_Signal_main_Start_Tester); + AddToElementRepository("object", MultipleDelegation_SameConnector_P_P_Signal_main_Start_Tester_object); + AddToElementRepository("LiteralInteger8", MultipleDelegation_SameConnector_P_P_Signal_main_Start_Tester_object_LiteralInteger8); + AddToElementRepository("LiteralUnlimitedNatural9", MultipleDelegation_SameConnector_P_P_Signal_main_Start_Tester_object_LiteralUnlimitedNatural9); + AddToElementRepository("ObjectFlow10", MultipleDelegation_SameConnector_P_P_Signal_main_ObjectFlow10); + AddToElementRepository("LiteralInteger11", MultipleDelegation_SameConnector_P_P_Signal_main_ObjectFlow10_LiteralInteger11); + AddToElementRepository("LiteralBoolean12", MultipleDelegation_SameConnector_P_P_Signal_main_ObjectFlow10_LiteralBoolean12); + AddToElementRepository("ObjectFlow13", MultipleDelegation_SameConnector_P_P_Signal_main_ObjectFlow13); + AddToElementRepository("LiteralInteger14", MultipleDelegation_SameConnector_P_P_Signal_main_ObjectFlow13_LiteralInteger14); + AddToElementRepository("LiteralBoolean15", MultipleDelegation_SameConnector_P_P_Signal_main_ObjectFlow13_LiteralBoolean15); + AddToElementRepository("ControlFlow16", MultipleDelegation_SameConnector_P_P_Signal_main_ControlFlow16); + AddToElementRepository("Fork Tester", MultipleDelegation_SameConnector_P_P_Signal_main_Fork_Tester); + AddToElementRepository("Tester()", MultipleDelegation_SameConnector_P_P_Signal_main_Tester_); + AddToElementRepository("target", MultipleDelegation_SameConnector_P_P_Signal_main_Tester__target); + AddToElementRepository("LiteralInteger17", MultipleDelegation_SameConnector_P_P_Signal_main_Tester__target_LiteralInteger17); + AddToElementRepository("LiteralUnlimitedNatural18", MultipleDelegation_SameConnector_P_P_Signal_main_Tester__target_LiteralUnlimitedNatural18); + AddToElementRepository("result", MultipleDelegation_SameConnector_P_P_Signal_main_Tester__result); + AddToElementRepository("LiteralInteger19", MultipleDelegation_SameConnector_P_P_Signal_main_Tester__result_LiteralInteger19); + AddToElementRepository("LiteralUnlimitedNatural20", MultipleDelegation_SameConnector_P_P_Signal_main_Tester__result_LiteralUnlimitedNatural20); + AddToElementRepository("LiteralInteger21", MultipleDelegation_SameConnector_P_P_Signal_main_Tester__result_LiteralInteger21); + AddToElementRepository("Send Start", MultipleDelegation_SameConnector_P_P_Signal_main_Send_Start); + AddToElementRepository("target", MultipleDelegation_SameConnector_P_P_Signal_main_Send_Start_target); + AddToElementRepository("LiteralUnlimitedNatural22", MultipleDelegation_SameConnector_P_P_Signal_main_Send_Start_target_LiteralUnlimitedNatural22); + AddToElementRepository("LiteralInteger23", MultipleDelegation_SameConnector_P_P_Signal_main_Send_Start_target_LiteralInteger23); + AddToElementRepository("A", MultipleDelegation_SameConnector_P_P_Signal_A); + AddToElementRepository("q", MultipleDelegation_SameConnector_P_P_Signal_A_q); + AddToElementRepository("b", MultipleDelegation_SameConnector_P_P_Signal_A_b); + AddToElementRepository("LiteralUnlimitedNatural24", MultipleDelegation_SameConnector_P_P_Signal_A_b_LiteralUnlimitedNatural24); + AddToElementRepository("LiteralInteger25", MultipleDelegation_SameConnector_P_P_Signal_A_b_LiteralInteger25); + AddToElementRepository("r", MultipleDelegation_SameConnector_P_P_Signal_A_r); + AddToElementRepository("ConnectorEnd26", MultipleDelegation_SameConnector_P_P_Signal_A_r_ConnectorEnd26); + AddToElementRepository("LiteralUnlimitedNatural27", MultipleDelegation_SameConnector_P_P_Signal_A_r_ConnectorEnd26_LiteralUnlimitedNatural27); + AddToElementRepository("ConnectorEnd28", MultipleDelegation_SameConnector_P_P_Signal_A_r_ConnectorEnd28); + AddToElementRepository("LiteralUnlimitedNatural29", MultipleDelegation_SameConnector_P_P_Signal_A_r_ConnectorEnd28_LiteralUnlimitedNatural29); + AddToElementRepository("LiteralInteger30", MultipleDelegation_SameConnector_P_P_Signal_A_r_ConnectorEnd28_LiteralInteger30); + AddToElementRepository("A_A", MultipleDelegation_SameConnector_P_P_Signal_A_A_A); + AddToElementRepository("result", MultipleDelegation_SameConnector_P_P_Signal_A_A_A_result); + AddToElementRepository("AbstractTester", MultipleDelegation_SameConnector_P_P_Signal_AbstractTester); + AddToElementRepository("Start", MultipleDelegation_SameConnector_P_P_Signal_AbstractTester_Start); + AddToElementRepository("test", MultipleDelegation_SameConnector_P_P_Signal_AbstractTester_test); + AddToElementRepository("Continue", MultipleDelegation_SameConnector_P_P_Signal_AbstractTester_Continue); + AddToElementRepository("S", MultipleDelegation_SameConnector_P_P_Signal_S); + AddToElementRepository("v", MultipleDelegation_SameConnector_P_P_Signal_S_v); + AddToElementRepository("t", MultipleDelegation_SameConnector_P_P_Signal_S_t); + AddToElementRepository("StartEvent", MultipleDelegation_SameConnector_P_P_Signal_StartEvent); + AddToElementRepository("I", MultipleDelegation_SameConnector_P_P_Signal_I); + AddToElementRepository("S", MultipleDelegation_SameConnector_P_P_Signal_I_S); + AddToElementRepository("B", MultipleDelegation_SameConnector_P_P_Signal_B); + AddToElementRepository("BClassifierBehavior", MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior); + AddToElementRepository("ObjectFlow31", MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow31); + AddToElementRepository("LiteralBoolean32", MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow31_LiteralBoolean32); + AddToElementRepository("LiteralInteger33", MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow31_LiteralInteger33); + AddToElementRepository("ObjectFlow34", MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow34); + AddToElementRepository("LiteralBoolean35", MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow34_LiteralBoolean35); + AddToElementRepository("LiteralInteger36", MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow34_LiteralInteger36); + AddToElementRepository("ControlFlow37", MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_ControlFlow37); + AddToElementRepository("ObjectFlow38", MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow38); + AddToElementRepository("LiteralInteger39", MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow38_LiteralInteger39); + AddToElementRepository("LiteralBoolean40", MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow38_LiteralBoolean40); + AddToElementRepository("Accept S", MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_Accept_S); + AddToElementRepository("Trigger41", MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_Accept_S_Trigger41); + AddToElementRepository("s", MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_Accept_S_s); + AddToElementRepository("LiteralUnlimitedNatural42", MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_Accept_S_s_LiteralUnlimitedNatural42); + AddToElementRepository("LiteralInteger43", MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_Accept_S_s_LiteralInteger43); + AddToElementRepository("LiteralInteger44", MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_Accept_S_s_LiteralInteger44); + AddToElementRepository("Set this.p", MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_Set_this_p); + AddToElementRepository("result", MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_Set_this_p_result); + AddToElementRepository("LiteralUnlimitedNatural45", MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_Set_this_p_result_LiteralUnlimitedNatural45); + AddToElementRepository("LiteralInteger46", MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_Set_this_p_result_LiteralInteger46); + AddToElementRepository("object", MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_Set_this_p_object); + AddToElementRepository("LiteralInteger47", MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_Set_this_p_object_LiteralInteger47); + AddToElementRepository("LiteralUnlimitedNatural48", MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_Set_this_p_object_LiteralUnlimitedNatural48); + AddToElementRepository("value", MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_Set_this_p_value); + AddToElementRepository("LiteralInteger49", MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_Set_this_p_value_LiteralInteger49); + AddToElementRepository("LiteralUnlimitedNatural50", MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_Set_this_p_value_LiteralUnlimitedNatural50); + AddToElementRepository("Send Continue", MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_Send_Continue); + AddToElementRepository("target", MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_Send_Continue_target); + AddToElementRepository("LiteralUnlimitedNatural51", MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_Send_Continue_target_LiteralUnlimitedNatural51); + AddToElementRepository("LiteralInteger52", MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_Send_Continue_target_LiteralInteger52); + AddToElementRepository("ObjectFlow53", MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow53); + AddToElementRepository("LiteralBoolean54", MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow53_LiteralBoolean54); + AddToElementRepository("LiteralInteger55", MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow53_LiteralInteger55); + AddToElementRepository("ObjectFlow56", MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow56); + AddToElementRepository("LiteralBoolean57", MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow56_LiteralBoolean57); + AddToElementRepository("LiteralInteger58", MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow56_LiteralInteger58); + AddToElementRepository("Read s.v", MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_Read_s_v); + AddToElementRepository("result", MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_Read_s_v_result); + AddToElementRepository("LiteralInteger59", MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_Read_s_v_result_LiteralInteger59); + AddToElementRepository("LiteralUnlimitedNatural60", MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_Read_s_v_result_LiteralUnlimitedNatural60); + AddToElementRepository("object", MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_Read_s_v_object); + AddToElementRepository("LiteralInteger61", MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_Read_s_v_object_LiteralInteger61); + AddToElementRepository("LiteralUnlimitedNatural62", MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_Read_s_v_object_LiteralUnlimitedNatural62); + AddToElementRepository("Read s.t", MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_Read_s_t); + AddToElementRepository("object", MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_Read_s_t_object); + AddToElementRepository("LiteralInteger63", MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_Read_s_t_object_LiteralInteger63); + AddToElementRepository("LiteralUnlimitedNatural64", MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_Read_s_t_object_LiteralUnlimitedNatural64); + AddToElementRepository("result", MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_Read_s_t_result); + AddToElementRepository("LiteralUnlimitedNatural65", MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_Read_s_t_result_LiteralUnlimitedNatural65); + AddToElementRepository("LiteralInteger66", MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_Read_s_t_result_LiteralInteger66); + AddToElementRepository("this", MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_this); + AddToElementRepository("result", MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_this_result); + AddToElementRepository("LiteralUnlimitedNatural67", MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_this_result_LiteralUnlimitedNatural67); + AddToElementRepository("LiteralInteger68", MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_this_result_LiteralInteger68); + AddToElementRepository("Fork s", MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_Fork_s); + AddToElementRepository("ObjectFlow69", MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow69); + AddToElementRepository("LiteralBoolean70", MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow69_LiteralBoolean70); + AddToElementRepository("LiteralInteger71", MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow69_LiteralInteger71); + AddToElementRepository("IRealization", MultipleDelegation_SameConnector_P_P_Signal_B_IRealization); + AddToElementRepository("B_B", MultipleDelegation_SameConnector_P_P_Signal_B_B_B); + AddToElementRepository("result", MultipleDelegation_SameConnector_P_P_Signal_B_B_B_result); + AddToElementRepository("p", MultipleDelegation_SameConnector_P_P_Signal_B_p); + AddToElementRepository("S", MultipleDelegation_SameConnector_P_P_Signal_B_S); + AddToElementRepository("Start", MultipleDelegation_SameConnector_P_P_Signal_Start); + AddToElementRepository("R", MultipleDelegation_SameConnector_P_P_Signal_R); + AddToElementRepository("x", MultipleDelegation_SameConnector_P_P_Signal_R_x); + AddToElementRepository("LiteralUnlimitedNatural72", MultipleDelegation_SameConnector_P_P_Signal_R_x_LiteralUnlimitedNatural72); + AddToElementRepository("LiteralInteger73", MultipleDelegation_SameConnector_P_P_Signal_R_x_LiteralInteger73); + AddToElementRepository("y", MultipleDelegation_SameConnector_P_P_Signal_R_y); + AddToElementRepository("LiteralInteger74", MultipleDelegation_SameConnector_P_P_Signal_R_y_LiteralInteger74); + AddToElementRepository("LiteralUnlimitedNatural75", MultipleDelegation_SameConnector_P_P_Signal_R_y_LiteralUnlimitedNatural75); + AddToElementRepository("ContinueEvent", MultipleDelegation_SameConnector_P_P_Signal_ContinueEvent); + AddToElementRepository("IImpl", MultipleDelegation_SameConnector_P_P_Signal_IImpl); + AddToElementRepository("IRealization", MultipleDelegation_SameConnector_P_P_Signal_IImpl_IRealization); + AddToElementRepository("S", MultipleDelegation_SameConnector_P_P_Signal_IImpl_S); + AddToElementRepository("Tester", MultipleDelegation_SameConnector_P_P_Signal_Tester); + AddToElementRepository("testActivity", MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity); + AddToElementRepository("Read b.p", MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_Read_b_p); + AddToElementRepository("result", MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_Read_b_p_result); + AddToElementRepository("LiteralUnlimitedNatural76", MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_Read_b_p_result_LiteralUnlimitedNatural76); + AddToElementRepository("LiteralInteger77", MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_Read_b_p_result_LiteralInteger77); + AddToElementRepository("object", MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_Read_b_p_object); + AddToElementRepository("LiteralUnlimitedNatural78", MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_Read_b_p_object_LiteralUnlimitedNatural78); + AddToElementRepository("LiteralInteger79", MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_Read_b_p_object_LiteralInteger79); + AddToElementRepository("this", MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_this); + AddToElementRepository("result", MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_this_result); + AddToElementRepository("LiteralUnlimitedNatural80", MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_this_result_LiteralUnlimitedNatural80); + AddToElementRepository("LiteralInteger81", MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_this_result_LiteralInteger81); + AddToElementRepository("ObjectFlow82", MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_ObjectFlow82); + AddToElementRepository("LiteralBoolean83", MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_ObjectFlow82_LiteralBoolean83); + AddToElementRepository("LiteralInteger84", MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_ObjectFlow82_LiteralInteger84); + AddToElementRepository("ObjectFlow85", MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_ObjectFlow85); + AddToElementRepository("LiteralBoolean86", MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_ObjectFlow85_LiteralBoolean86); + AddToElementRepository("LiteralInteger87", MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_ObjectFlow85_LiteralInteger87); + AddToElementRepository("ObjectFlow88", MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_ObjectFlow88); + AddToElementRepository("LiteralInteger89", MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_ObjectFlow88_LiteralInteger89); + AddToElementRepository("LiteralBoolean90", MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_ObjectFlow88_LiteralBoolean90); + AddToElementRepository("Call testP", MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_Call_testP); + AddToElementRepository("p", MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_Call_testP_p); + AddToElementRepository("LiteralUnlimitedNatural91", MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_Call_testP_p_LiteralUnlimitedNatural91); + AddToElementRepository("LiteralInteger92", MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_Call_testP_p_LiteralInteger92); + AddToElementRepository("LiteralInteger93", MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_Call_testP_p_LiteralInteger93); + AddToElementRepository("Read a.b", MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_Read_a_b); + AddToElementRepository("object", MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_Read_a_b_object); + AddToElementRepository("LiteralInteger94", MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_Read_a_b_object_LiteralInteger94); + AddToElementRepository("LiteralUnlimitedNatural95", MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_Read_a_b_object_LiteralUnlimitedNatural95); + AddToElementRepository("result", MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_Read_a_b_result); + AddToElementRepository("LiteralInteger96", MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_Read_a_b_result_LiteralInteger96); + AddToElementRepository("LiteralUnlimitedNatural97", MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_Read_a_b_result_LiteralUnlimitedNatural97); + AddToElementRepository("Read this.a", MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_Read_this_a); + AddToElementRepository("result", MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_Read_this_a_result); + AddToElementRepository("LiteralInteger98", MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_Read_this_a_result_LiteralInteger98); + AddToElementRepository("LiteralUnlimitedNatural99", MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_Read_this_a_result_LiteralUnlimitedNatural99); + AddToElementRepository("object", MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_Read_this_a_object); + AddToElementRepository("LiteralUnlimitedNatural100", MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_Read_this_a_object_LiteralUnlimitedNatural100); + AddToElementRepository("LiteralInteger101", MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_Read_this_a_object_LiteralInteger101); + AddToElementRepository("testP", MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_testP); + AddToElementRepository("p", MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_testP_p); + AddToElementRepository("ObjectFlow102", MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_ObjectFlow102); + AddToElementRepository("LiteralBoolean103", MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_ObjectFlow102_LiteralBoolean103); + AddToElementRepository("LiteralInteger104", MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_ObjectFlow102_LiteralInteger104); + AddToElementRepository("test", MultipleDelegation_SameConnector_P_P_Signal_Tester_test); + AddToElementRepository("a", MultipleDelegation_SameConnector_P_P_Signal_Tester_a); + AddToElementRepository("Tester_Tester", MultipleDelegation_SameConnector_P_P_Signal_Tester_Tester_Tester); + AddToElementRepository("result", MultipleDelegation_SameConnector_P_P_Signal_Tester_Tester_Tester_result); + AddToElementRepository("TesterClassifierBehavior", MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior); + AddToElementRepository("Read this.a", MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Read_this_a); + AddToElementRepository("object", MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Read_this_a_object); + AddToElementRepository("LiteralUnlimitedNatural105", MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Read_this_a_object_LiteralUnlimitedNatural105); + AddToElementRepository("LiteralInteger106", MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Read_this_a_object_LiteralInteger106); + AddToElementRepository("result", MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Read_this_a_result); + AddToElementRepository("LiteralUnlimitedNatural107", MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Read_this_a_result_LiteralUnlimitedNatural107); + AddToElementRepository("LiteralInteger108", MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Read_this_a_result_LiteralInteger108); + AddToElementRepository("Call test()", MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Call_test_); + AddToElementRepository("target", MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Call_test__target); + AddToElementRepository("LiteralUnlimitedNatural109", MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Call_test__target_LiteralUnlimitedNatural109); + AddToElementRepository("LiteralInteger110", MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Call_test__target_LiteralInteger110); + AddToElementRepository("ObjectFlow111", MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow111); + AddToElementRepository("LiteralInteger112", MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow111_LiteralInteger112); + AddToElementRepository("LiteralBoolean113", MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow111_LiteralBoolean113); + AddToElementRepository("ControlFlow114", MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_ControlFlow114); + AddToElementRepository("this", MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_this); + AddToElementRepository("result", MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_this_result); + AddToElementRepository("LiteralInteger115", MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_this_result_LiteralInteger115); + AddToElementRepository("LiteralUnlimitedNatural116", MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_this_result_LiteralUnlimitedNatural116); + AddToElementRepository("ObjectFlow117", MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow117); + AddToElementRepository("LiteralInteger118", MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow117_LiteralInteger118); + AddToElementRepository("LiteralBoolean119", MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow117_LiteralBoolean119); + AddToElementRepository("Send S", MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Send_S); + AddToElementRepository("t", MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Send_S_t); + AddToElementRepository("LiteralInteger120", MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Send_S_t_LiteralInteger120); + AddToElementRepository("LiteralUnlimitedNatural121", MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Send_S_t_LiteralUnlimitedNatural121); + AddToElementRepository("target", MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Send_S_target); + AddToElementRepository("LiteralUnlimitedNatural122", MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Send_S_target_LiteralUnlimitedNatural122); + AddToElementRepository("LiteralInteger123", MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Send_S_target_LiteralInteger123); + AddToElementRepository("v", MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Send_S_v); + AddToElementRepository("LiteralUnlimitedNatural124", MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Send_S_v_LiteralUnlimitedNatural124); + AddToElementRepository("LiteralInteger125", MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Send_S_v_LiteralInteger125); + AddToElementRepository("Accept Continue_1", MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_1); + AddToElementRepository("Trigger126", MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_1_Trigger126); + AddToElementRepository("result", MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_1_result); + AddToElementRepository("LiteralInteger127", MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_1_result_LiteralInteger127); + AddToElementRepository("LiteralInteger128", MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_1_result_LiteralInteger128); + AddToElementRepository("LiteralUnlimitedNatural129", MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_1_result_LiteralUnlimitedNatural129); + AddToElementRepository("Read a.q", MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Read_a_q); + AddToElementRepository("result", MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Read_a_q_result); + AddToElementRepository("LiteralUnlimitedNatural130", MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Read_a_q_result_LiteralUnlimitedNatural130); + AddToElementRepository("LiteralInteger131", MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Read_a_q_result_LiteralInteger131); + AddToElementRepository("object", MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Read_a_q_object); + AddToElementRepository("LiteralInteger132", MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Read_a_q_object_LiteralInteger132); + AddToElementRepository("LiteralUnlimitedNatural133", MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Read_a_q_object_LiteralUnlimitedNatural133); + AddToElementRepository("ControlFlow134", MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_ControlFlow134); + AddToElementRepository("Accept Continue_3", MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_3); + AddToElementRepository("result", MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_3_result); + AddToElementRepository("LiteralInteger135", MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_3_result_LiteralInteger135); + AddToElementRepository("LiteralUnlimitedNatural136", MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_3_result_LiteralUnlimitedNatural136); + AddToElementRepository("LiteralInteger137", MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_3_result_LiteralInteger137); + AddToElementRepository("Trigger138", MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_3_Trigger138); + AddToElementRepository("ObjectFlow139", MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow139); + AddToElementRepository("LiteralBoolean140", MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow139_LiteralBoolean140); + AddToElementRepository("LiteralInteger141", MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow139_LiteralInteger141); + AddToElementRepository("ObjectFlow142", MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow142); + AddToElementRepository("LiteralInteger143", MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow142_LiteralInteger143); + AddToElementRepository("LiteralBoolean144", MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow142_LiteralBoolean144); + AddToElementRepository("ControlFlow145", MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_ControlFlow145); + AddToElementRepository("Fork this", MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Fork_this); + AddToElementRepository("Accept Continue_4", MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_4); + AddToElementRepository("Trigger146", MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_4_Trigger146); + AddToElementRepository("result", MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_4_result); + AddToElementRepository("LiteralUnlimitedNatural147", MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_4_result_LiteralUnlimitedNatural147); + AddToElementRepository("LiteralInteger148", MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_4_result_LiteralInteger148); + AddToElementRepository("LiteralInteger149", MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_4_result_LiteralInteger149); + AddToElementRepository("ObjectFlow150", MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow150); + AddToElementRepository("LiteralBoolean151", MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow150_LiteralBoolean151); + AddToElementRepository("LiteralInteger152", MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow150_LiteralInteger152); + AddToElementRepository("Value(4)", MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Value_4); + AddToElementRepository("LiteralInteger153", MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Value_4_LiteralInteger153); + AddToElementRepository("result", MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Value_4_result); + AddToElementRepository("LiteralInteger154", MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Value_4_result_LiteralInteger154); + AddToElementRepository("LiteralUnlimitedNatural155", MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Value_4_result_LiteralUnlimitedNatural155); + AddToElementRepository("ObjectFlow156", MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow156); + AddToElementRepository("LiteralBoolean157", MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow156_LiteralBoolean157); + AddToElementRepository("LiteralInteger158", MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow156_LiteralInteger158); + AddToElementRepository("ControlFlow159", MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_ControlFlow159); + AddToElementRepository("Accept Start", MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Start); + AddToElementRepository("result", MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Start_result); + AddToElementRepository("LiteralInteger160", MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Start_result_LiteralInteger160); + AddToElementRepository("LiteralInteger161", MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Start_result_LiteralInteger161); + AddToElementRepository("LiteralUnlimitedNatural162", MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Start_result_LiteralUnlimitedNatural162); + AddToElementRepository("Trigger163", MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Start_Trigger163); + AddToElementRepository("ControlFlow164", MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_ControlFlow164); + AddToElementRepository("ObjectFlow165", MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow165); + AddToElementRepository("LiteralInteger166", MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow165_LiteralInteger166); + AddToElementRepository("LiteralBoolean167", MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow165_LiteralBoolean167); + AddToElementRepository("ControlFlow168", MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_ControlFlow168); + AddToElementRepository("Accept Continue_2", MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_2); + AddToElementRepository("Trigger169", MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_2_Trigger169); + AddToElementRepository("result", MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_2_result); + AddToElementRepository("LiteralUnlimitedNatural170", MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_2_result_LiteralUnlimitedNatural170); + AddToElementRepository("LiteralInteger171", MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_2_result_LiteralInteger171); + AddToElementRepository("LiteralInteger172", MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_2_result_LiteralInteger172); + AddToElementRepository("Generalization173", MultipleDelegation_SameConnector_P_P_Signal_Tester_Generalization173); + AddToElementRepository("SEvent", MultipleDelegation_SameConnector_P_P_Signal_SEvent); + AddToElementRepository("Continue", MultipleDelegation_SameConnector_P_P_Signal_Continue); + + // Initialize public members + /* + * Model MultipleDelegation_SameConnector_P_P_Signal + */ + MultipleDelegation_SameConnector_P_P_Signal.SetName("MultipleDelegation_SameConnector_P_P_Signal"); + MultipleDelegation_SameConnector_P_P_Signal.SetVisibility(VisibilityKind.public_); + // Activity main + MultipleDelegation_SameConnector_P_P_Signal_main.SetName("main"); + MultipleDelegation_SameConnector_P_P_Signal_main.SetVisibility(VisibilityKind.public_); + // CreateObjectAction Create Tester + MultipleDelegation_SameConnector_P_P_Signal_main_Create_Tester.SetName("Create Tester"); + MultipleDelegation_SameConnector_P_P_Signal_main_Create_Tester.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_P_Signal_main_Create_Tester.SetClassifier(MultipleDelegation_SameConnector_P_P_Signal_Tester); + // OutputPin result + MultipleDelegation_SameConnector_P_P_Signal_main_Create_Tester_result.SetName("result"); + MultipleDelegation_SameConnector_P_P_Signal_main_Create_Tester_result.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_P_Signal_main_Create_Tester_result.SetType(MultipleDelegation_SameConnector_P_P_Signal_Tester); + MultipleDelegation_SameConnector_P_P_Signal_main_Create_Tester.SetResult(MultipleDelegation_SameConnector_P_P_Signal_main_Create_Tester_result); + MultipleDelegation_SameConnector_P_P_Signal_main.AddNode(MultipleDelegation_SameConnector_P_P_Signal_main_Create_Tester); + // StartObjectBehaviorAction Start Tester + MultipleDelegation_SameConnector_P_P_Signal_main_Start_Tester.SetName("Start Tester"); + MultipleDelegation_SameConnector_P_P_Signal_main_Start_Tester.SetVisibility(VisibilityKind.public_); + // InputPin object + MultipleDelegation_SameConnector_P_P_Signal_main_Start_Tester_object.SetName("object"); + MultipleDelegation_SameConnector_P_P_Signal_main_Start_Tester_object.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_P_Signal_main_Start_Tester.SetObject(MultipleDelegation_SameConnector_P_P_Signal_main_Start_Tester_object); + MultipleDelegation_SameConnector_P_P_Signal_main.AddNode(MultipleDelegation_SameConnector_P_P_Signal_main_Start_Tester); + // ForkNode Fork Tester + MultipleDelegation_SameConnector_P_P_Signal_main_Fork_Tester.SetName("Fork Tester"); + MultipleDelegation_SameConnector_P_P_Signal_main_Fork_Tester.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_P_Signal_main.AddNode(MultipleDelegation_SameConnector_P_P_Signal_main_Fork_Tester); + // CallOperationAction Tester() + MultipleDelegation_SameConnector_P_P_Signal_main_Tester_.SetName("Tester()"); + MultipleDelegation_SameConnector_P_P_Signal_main_Tester_.SetVisibility(VisibilityKind.public_); + + // OutputPin result + MultipleDelegation_SameConnector_P_P_Signal_main_Tester__result.SetName("result"); + MultipleDelegation_SameConnector_P_P_Signal_main_Tester__result.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_P_Signal_main_Tester__result.SetType(MultipleDelegation_SameConnector_P_P_Signal_Tester); + MultipleDelegation_SameConnector_P_P_Signal_main_Tester_.AddResult(MultipleDelegation_SameConnector_P_P_Signal_main_Tester__result); + MultipleDelegation_SameConnector_P_P_Signal_main_Tester_.SetOperation(MultipleDelegation_SameConnector_P_P_Signal_Tester_Tester_Tester); + // InputPin target + MultipleDelegation_SameConnector_P_P_Signal_main_Tester__target.SetName("target"); + MultipleDelegation_SameConnector_P_P_Signal_main_Tester__target.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_P_Signal_main_Tester__target.SetType(MultipleDelegation_SameConnector_P_P_Signal_Tester); + MultipleDelegation_SameConnector_P_P_Signal_main_Tester_.SetTarget(MultipleDelegation_SameConnector_P_P_Signal_main_Tester__target); + MultipleDelegation_SameConnector_P_P_Signal_main.AddNode(MultipleDelegation_SameConnector_P_P_Signal_main_Tester_); + // SendSignalAction Send Start + MultipleDelegation_SameConnector_P_P_Signal_main_Send_Start.SetName("Send Start"); + MultipleDelegation_SameConnector_P_P_Signal_main_Send_Start.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_P_Signal_main_Send_Start.SetSignal(MultipleDelegation_SameConnector_P_P_Signal_Start); + // InputPin target + MultipleDelegation_SameConnector_P_P_Signal_main_Send_Start_target.SetName("target"); + MultipleDelegation_SameConnector_P_P_Signal_main_Send_Start_target.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_P_Signal_main_Send_Start_target.SetType(MultipleDelegation_SameConnector_P_P_Signal_Tester); + MultipleDelegation_SameConnector_P_P_Signal_main_Send_Start.SetTarget(MultipleDelegation_SameConnector_P_P_Signal_main_Send_Start_target); + MultipleDelegation_SameConnector_P_P_Signal_main.AddNode(MultipleDelegation_SameConnector_P_P_Signal_main_Send_Start); + // ObjectFlow ObjectFlow0 from result to target + MultipleDelegation_SameConnector_P_P_Signal_main_ObjectFlow0.SetName("ObjectFlow0"); + MultipleDelegation_SameConnector_P_P_Signal_main_ObjectFlow0.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_SameConnector_P_P_Signal_main_ObjectFlow0.SetSource(MultipleDelegation_SameConnector_P_P_Signal_main_Create_Tester_result); + MultipleDelegation_SameConnector_P_P_Signal_main_ObjectFlow0.SetTarget(MultipleDelegation_SameConnector_P_P_Signal_main_Tester__target); + // LiteralBoolean LiteralBoolean1 + MultipleDelegation_SameConnector_P_P_Signal_main_ObjectFlow0_LiteralBoolean1.SetName("LiteralBoolean1"); + MultipleDelegation_SameConnector_P_P_Signal_main_ObjectFlow0_LiteralBoolean1.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_P_Signal_main_ObjectFlow0_LiteralBoolean1.SetValue(true); + MultipleDelegation_SameConnector_P_P_Signal_main_ObjectFlow0.SetGuard(MultipleDelegation_SameConnector_P_P_Signal_main_ObjectFlow0_LiteralBoolean1); + MultipleDelegation_SameConnector_P_P_Signal_main.AddEdge(MultipleDelegation_SameConnector_P_P_Signal_main_ObjectFlow0); + // ObjectFlow ObjectFlow5 from result to Fork Tester + MultipleDelegation_SameConnector_P_P_Signal_main_ObjectFlow5.SetName("ObjectFlow5"); + MultipleDelegation_SameConnector_P_P_Signal_main_ObjectFlow5.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_SameConnector_P_P_Signal_main_ObjectFlow5.SetSource(MultipleDelegation_SameConnector_P_P_Signal_main_Tester__result); + MultipleDelegation_SameConnector_P_P_Signal_main_ObjectFlow5.SetTarget(MultipleDelegation_SameConnector_P_P_Signal_main_Fork_Tester); + // LiteralBoolean LiteralBoolean6 + MultipleDelegation_SameConnector_P_P_Signal_main_ObjectFlow5_LiteralBoolean6.SetName("LiteralBoolean6"); + MultipleDelegation_SameConnector_P_P_Signal_main_ObjectFlow5_LiteralBoolean6.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_P_Signal_main_ObjectFlow5_LiteralBoolean6.SetValue(true); + MultipleDelegation_SameConnector_P_P_Signal_main_ObjectFlow5.SetGuard(MultipleDelegation_SameConnector_P_P_Signal_main_ObjectFlow5_LiteralBoolean6); + MultipleDelegation_SameConnector_P_P_Signal_main.AddEdge(MultipleDelegation_SameConnector_P_P_Signal_main_ObjectFlow5); + // ObjectFlow ObjectFlow10 from Fork Tester to object + MultipleDelegation_SameConnector_P_P_Signal_main_ObjectFlow10.SetName("ObjectFlow10"); + MultipleDelegation_SameConnector_P_P_Signal_main_ObjectFlow10.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_SameConnector_P_P_Signal_main_ObjectFlow10.SetSource(MultipleDelegation_SameConnector_P_P_Signal_main_Fork_Tester); + MultipleDelegation_SameConnector_P_P_Signal_main_ObjectFlow10.SetTarget(MultipleDelegation_SameConnector_P_P_Signal_main_Start_Tester_object); + // LiteralBoolean LiteralBoolean12 + MultipleDelegation_SameConnector_P_P_Signal_main_ObjectFlow10_LiteralBoolean12.SetName("LiteralBoolean12"); + MultipleDelegation_SameConnector_P_P_Signal_main_ObjectFlow10_LiteralBoolean12.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_P_Signal_main_ObjectFlow10_LiteralBoolean12.SetValue(true); + MultipleDelegation_SameConnector_P_P_Signal_main_ObjectFlow10.SetGuard(MultipleDelegation_SameConnector_P_P_Signal_main_ObjectFlow10_LiteralBoolean12); + MultipleDelegation_SameConnector_P_P_Signal_main.AddEdge(MultipleDelegation_SameConnector_P_P_Signal_main_ObjectFlow10); + // ObjectFlow ObjectFlow13 from Fork Tester to target + MultipleDelegation_SameConnector_P_P_Signal_main_ObjectFlow13.SetName("ObjectFlow13"); + MultipleDelegation_SameConnector_P_P_Signal_main_ObjectFlow13.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_SameConnector_P_P_Signal_main_ObjectFlow13.SetSource(MultipleDelegation_SameConnector_P_P_Signal_main_Fork_Tester); + MultipleDelegation_SameConnector_P_P_Signal_main_ObjectFlow13.SetTarget(MultipleDelegation_SameConnector_P_P_Signal_main_Send_Start_target); + // LiteralBoolean LiteralBoolean15 + MultipleDelegation_SameConnector_P_P_Signal_main_ObjectFlow13_LiteralBoolean15.SetName("LiteralBoolean15"); + MultipleDelegation_SameConnector_P_P_Signal_main_ObjectFlow13_LiteralBoolean15.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_P_Signal_main_ObjectFlow13_LiteralBoolean15.SetValue(true); + MultipleDelegation_SameConnector_P_P_Signal_main_ObjectFlow13.SetGuard(MultipleDelegation_SameConnector_P_P_Signal_main_ObjectFlow13_LiteralBoolean15); + MultipleDelegation_SameConnector_P_P_Signal_main.AddEdge(MultipleDelegation_SameConnector_P_P_Signal_main_ObjectFlow13); + // ControlFlow ControlFlow16 from Start Tester to Send Start + MultipleDelegation_SameConnector_P_P_Signal_main_ControlFlow16.SetName("ControlFlow16"); + MultipleDelegation_SameConnector_P_P_Signal_main_ControlFlow16.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_SameConnector_P_P_Signal_main_ControlFlow16.SetSource(MultipleDelegation_SameConnector_P_P_Signal_main_Start_Tester); + MultipleDelegation_SameConnector_P_P_Signal_main_ControlFlow16.SetTarget(MultipleDelegation_SameConnector_P_P_Signal_main_Send_Start); + MultipleDelegation_SameConnector_P_P_Signal_main.AddEdge(MultipleDelegation_SameConnector_P_P_Signal_main_ControlFlow16); + MultipleDelegation_SameConnector_P_P_Signal.AddPackagedElement(MultipleDelegation_SameConnector_P_P_Signal_main); + // Class A + MultipleDelegation_SameConnector_P_P_Signal_A.SetName("A"); + MultipleDelegation_SameConnector_P_P_Signal_A.SetVisibility(VisibilityKind.public_); + + // Port q + MultipleDelegation_SameConnector_P_P_Signal_A_q.SetName("q"); + MultipleDelegation_SameConnector_P_P_Signal_A_q.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_SameConnector_P_P_Signal_A_q.SetType(MultipleDelegation_SameConnector_P_P_Signal_IImpl); + MultipleDelegation_SameConnector_P_P_Signal_A_q.SetAggregation(AggregationKind.composite); + MultipleDelegation_SameConnector_P_P_Signal_A_q.isService = true; + MultipleDelegation_SameConnector_P_P_Signal_A_q.AddProvided(MultipleDelegation_SameConnector_P_P_Signal_I); + MultipleDelegation_SameConnector_P_P_Signal_A.AddOwnedAttribute(MultipleDelegation_SameConnector_P_P_Signal_A_q); + // Property b + MultipleDelegation_SameConnector_P_P_Signal_A_b.SetName("b"); + MultipleDelegation_SameConnector_P_P_Signal_A_b.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_P_Signal_A_b.SetUpper(4); + MultipleDelegation_SameConnector_P_P_Signal_A_b.SetLower(4); + MultipleDelegation_SameConnector_P_P_Signal_A_b.SetType(MultipleDelegation_SameConnector_P_P_Signal_B); + MultipleDelegation_SameConnector_P_P_Signal_A_b.SetAggregation(AggregationKind.composite); + MultipleDelegation_SameConnector_P_P_Signal_A.AddOwnedAttribute(MultipleDelegation_SameConnector_P_P_Signal_A_b); + + MultipleDelegation_SameConnector_P_P_Signal_A_r.SetName("r"); + MultipleDelegation_SameConnector_P_P_Signal_A_r.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_P_Signal_A_r_ConnectorEnd26.SetUpper(-1); + MultipleDelegation_SameConnector_P_P_Signal_A_r_ConnectorEnd26.SetRole(MultipleDelegation_SameConnector_P_P_Signal_A_q); + + MultipleDelegation_SameConnector_P_P_Signal_A_r.AddEnd(MultipleDelegation_SameConnector_P_P_Signal_A_r_ConnectorEnd26); + MultipleDelegation_SameConnector_P_P_Signal_A_r_ConnectorEnd28.SetUpper(-1); + MultipleDelegation_SameConnector_P_P_Signal_A_r_ConnectorEnd28.SetLower(4); + MultipleDelegation_SameConnector_P_P_Signal_A_r_ConnectorEnd28.SetRole(MultipleDelegation_SameConnector_P_P_Signal_A_b); + + MultipleDelegation_SameConnector_P_P_Signal_A_r.AddEnd(MultipleDelegation_SameConnector_P_P_Signal_A_r_ConnectorEnd28); + MultipleDelegation_SameConnector_P_P_Signal_A_r.SetType(MultipleDelegation_SameConnector_P_P_Signal_R); + MultipleDelegation_SameConnector_P_P_Signal_A.AddOwnedConnector(MultipleDelegation_SameConnector_P_P_Signal_A_r); + // Operation A_A + MultipleDelegation_SameConnector_P_P_Signal_A_A_A.SetName("A_A"); + MultipleDelegation_SameConnector_P_P_Signal_A_A_A.SetVisibility(VisibilityKind.public_); + // Parameter result + MultipleDelegation_SameConnector_P_P_Signal_A_A_A_result.SetName("result"); + MultipleDelegation_SameConnector_P_P_Signal_A_A_A_result.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_SameConnector_P_P_Signal_A_A_A_result.SetType(MultipleDelegation_SameConnector_P_P_Signal_A); + MultipleDelegation_SameConnector_P_P_Signal_A_A_A_result.SetDirection(ParameterDirectionKind.return_); + MultipleDelegation_SameConnector_P_P_Signal_A_A_A.AddOwnedParameter(MultipleDelegation_SameConnector_P_P_Signal_A_A_A_result); + MultipleDelegation_SameConnector_P_P_Signal_A_A_A.ApplyStereotype(uml.standardprofile.StandardProfileModel.Instance().Stereotype_Create); + MultipleDelegation_SameConnector_P_P_Signal_A.AddOwnedOperation(MultipleDelegation_SameConnector_P_P_Signal_A_A_A); + MultipleDelegation_SameConnector_P_P_Signal.AddPackagedElement(MultipleDelegation_SameConnector_P_P_Signal_A); + // Class AbstractTester + MultipleDelegation_SameConnector_P_P_Signal_AbstractTester.SetName("AbstractTester"); + MultipleDelegation_SameConnector_P_P_Signal_AbstractTester.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_SameConnector_P_P_Signal_AbstractTester.SetIsAbstract(true); + + + MultipleDelegation_SameConnector_P_P_Signal_AbstractTester.SetIsActive(true); + // Operation test + MultipleDelegation_SameConnector_P_P_Signal_AbstractTester_test.SetName("test"); + MultipleDelegation_SameConnector_P_P_Signal_AbstractTester_test.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_P_Signal_AbstractTester_test.SetIsAbstract(true); + MultipleDelegation_SameConnector_P_P_Signal_AbstractTester.AddOwnedOperation(MultipleDelegation_SameConnector_P_P_Signal_AbstractTester_test); + // Reception Start + MultipleDelegation_SameConnector_P_P_Signal_AbstractTester_Start.SetName("Start"); + MultipleDelegation_SameConnector_P_P_Signal_AbstractTester_Start.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_P_Signal_AbstractTester_Start.SetSignal(MultipleDelegation_SameConnector_P_P_Signal_Start); + MultipleDelegation_SameConnector_P_P_Signal_AbstractTester.AddOwnedReception(MultipleDelegation_SameConnector_P_P_Signal_AbstractTester_Start); + // Reception Continue + MultipleDelegation_SameConnector_P_P_Signal_AbstractTester_Continue.SetName("Continue"); + MultipleDelegation_SameConnector_P_P_Signal_AbstractTester_Continue.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_P_Signal_AbstractTester_Continue.SetSignal(MultipleDelegation_SameConnector_P_P_Signal_Continue); + MultipleDelegation_SameConnector_P_P_Signal_AbstractTester.AddOwnedReception(MultipleDelegation_SameConnector_P_P_Signal_AbstractTester_Continue); + MultipleDelegation_SameConnector_P_P_Signal.AddPackagedElement(MultipleDelegation_SameConnector_P_P_Signal_AbstractTester); + // Signal S + MultipleDelegation_SameConnector_P_P_Signal_S.SetName("S"); + MultipleDelegation_SameConnector_P_P_Signal_S.SetVisibility(VisibilityKind.public_); + + // Property v + MultipleDelegation_SameConnector_P_P_Signal_S_v.SetName("v"); + MultipleDelegation_SameConnector_P_P_Signal_S_v.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_SameConnector_P_P_Signal_S_v.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + MultipleDelegation_SameConnector_P_P_Signal_S.AddOwnedAttribute(MultipleDelegation_SameConnector_P_P_Signal_S_v); + // Property t + MultipleDelegation_SameConnector_P_P_Signal_S_t.SetName("t"); + MultipleDelegation_SameConnector_P_P_Signal_S_t.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_SameConnector_P_P_Signal_S_t.SetType(MultipleDelegation_SameConnector_P_P_Signal_AbstractTester); + MultipleDelegation_SameConnector_P_P_Signal_S.AddOwnedAttribute(MultipleDelegation_SameConnector_P_P_Signal_S_t); + MultipleDelegation_SameConnector_P_P_Signal.AddPackagedElement(MultipleDelegation_SameConnector_P_P_Signal_S); + // SignalEvent StartEvent + MultipleDelegation_SameConnector_P_P_Signal_StartEvent.SetName("StartEvent"); + MultipleDelegation_SameConnector_P_P_Signal_StartEvent.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_P_Signal_StartEvent.SetSignal(MultipleDelegation_SameConnector_P_P_Signal_Start); + MultipleDelegation_SameConnector_P_P_Signal.AddPackagedElement(MultipleDelegation_SameConnector_P_P_Signal_StartEvent); + // Interface I + MultipleDelegation_SameConnector_P_P_Signal_I.SetName("I"); + MultipleDelegation_SameConnector_P_P_Signal_I.SetVisibility(VisibilityKind.public_); + // Reception S + MultipleDelegation_SameConnector_P_P_Signal_I_S.SetName("S"); + MultipleDelegation_SameConnector_P_P_Signal_I_S.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_P_Signal_I_S.SetSignal(MultipleDelegation_SameConnector_P_P_Signal_S); + MultipleDelegation_SameConnector_P_P_Signal_I.AddOwnedReception(MultipleDelegation_SameConnector_P_P_Signal_I_S); + MultipleDelegation_SameConnector_P_P_Signal.AddPackagedElement(MultipleDelegation_SameConnector_P_P_Signal_I); + // Class B + MultipleDelegation_SameConnector_P_P_Signal_B.SetName("B"); + MultipleDelegation_SameConnector_P_P_Signal_B.SetVisibility(VisibilityKind.public_); + + // Property p + MultipleDelegation_SameConnector_P_P_Signal_B_p.SetName("p"); + MultipleDelegation_SameConnector_P_P_Signal_B_p.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_SameConnector_P_P_Signal_B_p.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + MultipleDelegation_SameConnector_P_P_Signal_B.AddOwnedAttribute(MultipleDelegation_SameConnector_P_P_Signal_B_p); + MultipleDelegation_SameConnector_P_P_Signal_B.SetClassifierBehavior(MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior); + // Activity BClassifierBehavior + MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior.SetName("BClassifierBehavior"); + MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior.SetVisibility(VisibilityKind.public_); + // AcceptEventAction Accept S + MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_Accept_S.SetName("Accept S"); + MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_Accept_S.SetVisibility(VisibilityKind.public_); + // OutputPin s + MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_Accept_S_s.SetName("s"); + MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_Accept_S_s.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_Accept_S_s.SetType(MultipleDelegation_SameConnector_P_P_Signal_S); + MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_Accept_S.AddResult(MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_Accept_S_s); + // Trigger Trigger41 + MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_Accept_S_Trigger41.SetName("Trigger41"); + MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_Accept_S_Trigger41.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_Accept_S_Trigger41.SetEvent(MultipleDelegation_SameConnector_P_P_Signal_SEvent); + MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_Accept_S.AddTrigger(MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_Accept_S_Trigger41); + MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior.AddNode(MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_Accept_S); + // AddStructuralFeatureValueAction Set this.p + MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_Set_this_p.SetName("Set this.p"); + MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_Set_this_p.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_Set_this_p.SetStructuralFeature(MultipleDelegation_SameConnector_P_P_Signal_B_p); + // InputPin object + MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_Set_this_p_object.SetName("object"); + MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_Set_this_p_object.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_Set_this_p_object.SetType(MultipleDelegation_SameConnector_P_P_Signal_B); + MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_Set_this_p.SetObject(MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_Set_this_p_object); + // InputPin value + MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_Set_this_p_value.SetName("value"); + MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_Set_this_p_value.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_Set_this_p_value.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_Set_this_p.SetValue(MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_Set_this_p_value); + // OutputPin result + MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_Set_this_p_result.SetName("result"); + MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_Set_this_p_result.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_Set_this_p_result.SetType(MultipleDelegation_SameConnector_P_P_Signal_B); + MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_Set_this_p.SetResult(MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_Set_this_p_result); + MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior.AddNode(MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_Set_this_p); + // SendSignalAction Send Continue + MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_Send_Continue.SetName("Send Continue"); + MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_Send_Continue.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_Send_Continue.SetSignal(MultipleDelegation_SameConnector_P_P_Signal_Continue); + // InputPin target + MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_Send_Continue_target.SetName("target"); + MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_Send_Continue_target.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_Send_Continue_target.SetType(MultipleDelegation_SameConnector_P_P_Signal_AbstractTester); + MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_Send_Continue.SetTarget(MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_Send_Continue_target); + MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior.AddNode(MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_Send_Continue); + // ReadStructuralFeatureAction Read s.v + MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_Read_s_v.SetName("Read s.v"); + MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_Read_s_v.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_Read_s_v.SetStructuralFeature(MultipleDelegation_SameConnector_P_P_Signal_S_v); + // InputPin object + MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_Read_s_v_object.SetName("object"); + MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_Read_s_v_object.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_Read_s_v.SetObject(MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_Read_s_v_object); + // OutputPin result + MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_Read_s_v_result.SetName("result"); + MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_Read_s_v_result.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_Read_s_v_result.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_Read_s_v.SetResult(MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_Read_s_v_result); + MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior.AddNode(MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_Read_s_v); + // ReadStructuralFeatureAction Read s.t + MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_Read_s_t.SetName("Read s.t"); + MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_Read_s_t.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_Read_s_t.SetStructuralFeature(MultipleDelegation_SameConnector_P_P_Signal_S_t); + // InputPin object + MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_Read_s_t_object.SetName("object"); + MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_Read_s_t_object.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_Read_s_t.SetObject(MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_Read_s_t_object); + // OutputPin result + MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_Read_s_t_result.SetName("result"); + MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_Read_s_t_result.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_Read_s_t_result.SetType(MultipleDelegation_SameConnector_P_P_Signal_AbstractTester); + MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_Read_s_t.SetResult(MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_Read_s_t_result); + MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior.AddNode(MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_Read_s_t); + // ReadSelfAction this + MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_this.SetName("this"); + MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_this.SetVisibility(VisibilityKind.public_); + // OutputPin result + MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_this_result.SetName("result"); + MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_this_result.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_this_result.SetType(MultipleDelegation_SameConnector_P_P_Signal_B); + MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_this.SetResult(MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_this_result); + MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior.AddNode(MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_this); + // ForkNode Fork s + MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_Fork_s.SetName("Fork s"); + MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_Fork_s.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior.AddNode(MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_Fork_s); + // ObjectFlow ObjectFlow31 from result to target + MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow31.SetName("ObjectFlow31"); + MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow31.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow31.SetSource(MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_Read_s_t_result); + MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow31.SetTarget(MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_Send_Continue_target); + // LiteralBoolean LiteralBoolean32 + MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow31_LiteralBoolean32.SetName("LiteralBoolean32"); + MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow31_LiteralBoolean32.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow31_LiteralBoolean32.SetValue(true); + MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow31.SetGuard(MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow31_LiteralBoolean32); + MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior.AddEdge(MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow31); + // ObjectFlow ObjectFlow53 from Fork s to object + MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow53.SetName("ObjectFlow53"); + MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow53.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow53.SetSource(MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_Fork_s); + MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow53.SetTarget(MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_Read_s_t_object); + // LiteralBoolean LiteralBoolean54 + MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow53_LiteralBoolean54.SetName("LiteralBoolean54"); + MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow53_LiteralBoolean54.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow53_LiteralBoolean54.SetValue(true); + MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow53.SetGuard(MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow53_LiteralBoolean54); + MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior.AddEdge(MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow53); + // ObjectFlow ObjectFlow34 from result to value + MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow34.SetName("ObjectFlow34"); + MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow34.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow34.SetSource(MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_Read_s_v_result); + MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow34.SetTarget(MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_Set_this_p_value); + // LiteralBoolean LiteralBoolean35 + MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow34_LiteralBoolean35.SetName("LiteralBoolean35"); + MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow34_LiteralBoolean35.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow34_LiteralBoolean35.SetValue(true); + MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow34.SetGuard(MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow34_LiteralBoolean35); + MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior.AddEdge(MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow34); + // ObjectFlow ObjectFlow56 from result to object + MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow56.SetName("ObjectFlow56"); + MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow56.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow56.SetSource(MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_this_result); + MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow56.SetTarget(MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_Set_this_p_object); + // LiteralBoolean LiteralBoolean57 + MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow56_LiteralBoolean57.SetName("LiteralBoolean57"); + MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow56_LiteralBoolean57.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow56_LiteralBoolean57.SetValue(true); + MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow56.SetGuard(MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow56_LiteralBoolean57); + MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior.AddEdge(MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow56); + // ControlFlow ControlFlow37 from Set this.p to Send Continue + MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_ControlFlow37.SetName("ControlFlow37"); + MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_ControlFlow37.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_ControlFlow37.SetSource(MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_Set_this_p); + MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_ControlFlow37.SetTarget(MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_Send_Continue); + MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior.AddEdge(MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_ControlFlow37); + // ObjectFlow ObjectFlow38 from s to Fork s + MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow38.SetName("ObjectFlow38"); + MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow38.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow38.SetSource(MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_Accept_S_s); + MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow38.SetTarget(MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_Fork_s); + // LiteralBoolean LiteralBoolean40 + MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow38_LiteralBoolean40.SetName("LiteralBoolean40"); + MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow38_LiteralBoolean40.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow38_LiteralBoolean40.SetValue(true); + MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow38.SetGuard(MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow38_LiteralBoolean40); + MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior.AddEdge(MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow38); + // ObjectFlow ObjectFlow69 from Fork s to object + MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow69.SetName("ObjectFlow69"); + MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow69.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow69.SetSource(MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_Fork_s); + MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow69.SetTarget(MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_Read_s_v_object); + // LiteralBoolean LiteralBoolean70 + MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow69_LiteralBoolean70.SetName("LiteralBoolean70"); + MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow69_LiteralBoolean70.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow69_LiteralBoolean70.SetValue(true); + MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow69.SetGuard(MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow69_LiteralBoolean70); + MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior.AddEdge(MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow69); + MultipleDelegation_SameConnector_P_P_Signal_B.AddOwnedBehavior(MultipleDelegation_SameConnector_P_P_Signal_B_BClassifierBehavior); + MultipleDelegation_SameConnector_P_P_Signal_B_IRealization.SetName("IRealization"); + MultipleDelegation_SameConnector_P_P_Signal_B_IRealization.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_P_Signal_B_IRealization.SetContract(MultipleDelegation_SameConnector_P_P_Signal_I); + + MultipleDelegation_SameConnector_P_P_Signal_B.AddInterfaceRealization(MultipleDelegation_SameConnector_P_P_Signal_B_IRealization); + + MultipleDelegation_SameConnector_P_P_Signal_B.SetIsActive(true); + // Operation B_B + MultipleDelegation_SameConnector_P_P_Signal_B_B_B.SetName("B_B"); + MultipleDelegation_SameConnector_P_P_Signal_B_B_B.SetVisibility(VisibilityKind.public_); + // Parameter result + MultipleDelegation_SameConnector_P_P_Signal_B_B_B_result.SetName("result"); + MultipleDelegation_SameConnector_P_P_Signal_B_B_B_result.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_SameConnector_P_P_Signal_B_B_B_result.SetType(MultipleDelegation_SameConnector_P_P_Signal_B); + MultipleDelegation_SameConnector_P_P_Signal_B_B_B_result.SetDirection(ParameterDirectionKind.return_); + MultipleDelegation_SameConnector_P_P_Signal_B_B_B.AddOwnedParameter(MultipleDelegation_SameConnector_P_P_Signal_B_B_B_result); + MultipleDelegation_SameConnector_P_P_Signal_B_B_B.ApplyStereotype(uml.standardprofile.StandardProfileModel.Instance().Stereotype_Create); + MultipleDelegation_SameConnector_P_P_Signal_B.AddOwnedOperation(MultipleDelegation_SameConnector_P_P_Signal_B_B_B); + // Reception S + MultipleDelegation_SameConnector_P_P_Signal_B_S.SetName("S"); + MultipleDelegation_SameConnector_P_P_Signal_B_S.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_P_Signal_B_S.SetSignal(MultipleDelegation_SameConnector_P_P_Signal_S); + MultipleDelegation_SameConnector_P_P_Signal_B.AddOwnedReception(MultipleDelegation_SameConnector_P_P_Signal_B_S); + MultipleDelegation_SameConnector_P_P_Signal.AddPackagedElement(MultipleDelegation_SameConnector_P_P_Signal_B); + // Signal Start + MultipleDelegation_SameConnector_P_P_Signal_Start.SetName("Start"); + MultipleDelegation_SameConnector_P_P_Signal_Start.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_P_Signal.AddPackagedElement(MultipleDelegation_SameConnector_P_P_Signal_Start); + // Association R + MultipleDelegation_SameConnector_P_P_Signal_R.SetName("R"); + MultipleDelegation_SameConnector_P_P_Signal_R.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_P_Signal_R.AddOwnedEnd(MultipleDelegation_SameConnector_P_P_Signal_R_x); + MultipleDelegation_SameConnector_P_P_Signal_R.AddOwnedEnd(MultipleDelegation_SameConnector_P_P_Signal_R_y); + MultipleDelegation_SameConnector_P_P_Signal.AddPackagedElement(MultipleDelegation_SameConnector_P_P_Signal_R); + // SignalEvent ContinueEvent + MultipleDelegation_SameConnector_P_P_Signal_ContinueEvent.SetName("ContinueEvent"); + MultipleDelegation_SameConnector_P_P_Signal_ContinueEvent.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_P_Signal_ContinueEvent.SetSignal(MultipleDelegation_SameConnector_P_P_Signal_Continue); + MultipleDelegation_SameConnector_P_P_Signal.AddPackagedElement(MultipleDelegation_SameConnector_P_P_Signal_ContinueEvent); + // Class IImpl + MultipleDelegation_SameConnector_P_P_Signal_IImpl.SetName("IImpl"); + MultipleDelegation_SameConnector_P_P_Signal_IImpl.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_P_Signal_IImpl_IRealization.SetName("IRealization"); + MultipleDelegation_SameConnector_P_P_Signal_IImpl_IRealization.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_P_Signal_IImpl_IRealization.SetContract(MultipleDelegation_SameConnector_P_P_Signal_I); + + MultipleDelegation_SameConnector_P_P_Signal_IImpl.AddInterfaceRealization(MultipleDelegation_SameConnector_P_P_Signal_IImpl_IRealization); + + // Reception S + MultipleDelegation_SameConnector_P_P_Signal_IImpl_S.SetName("S"); + MultipleDelegation_SameConnector_P_P_Signal_IImpl_S.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_P_Signal_IImpl_S.SetSignal(MultipleDelegation_SameConnector_P_P_Signal_S); + MultipleDelegation_SameConnector_P_P_Signal_IImpl.AddOwnedReception(MultipleDelegation_SameConnector_P_P_Signal_IImpl_S); + MultipleDelegation_SameConnector_P_P_Signal.AddPackagedElement(MultipleDelegation_SameConnector_P_P_Signal_IImpl); + // Class Tester + MultipleDelegation_SameConnector_P_P_Signal_Tester.SetName("Tester"); + MultipleDelegation_SameConnector_P_P_Signal_Tester.SetVisibility(VisibilityKind.public_); + + // Generalization to AbstractTester + MultipleDelegation_SameConnector_P_P_Signal_Tester_Generalization173.SetGeneral(MultipleDelegation_SameConnector_P_P_Signal_AbstractTester); + MultipleDelegation_SameConnector_P_P_Signal_Tester.AddGeneralization(MultipleDelegation_SameConnector_P_P_Signal_Tester_Generalization173); + // Property a + MultipleDelegation_SameConnector_P_P_Signal_Tester_a.SetName("a"); + MultipleDelegation_SameConnector_P_P_Signal_Tester_a.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_SameConnector_P_P_Signal_Tester_a.SetType(MultipleDelegation_SameConnector_P_P_Signal_A); + MultipleDelegation_SameConnector_P_P_Signal_Tester_a.SetAggregation(AggregationKind.composite); + MultipleDelegation_SameConnector_P_P_Signal_Tester.AddOwnedAttribute(MultipleDelegation_SameConnector_P_P_Signal_Tester_a); + MultipleDelegation_SameConnector_P_P_Signal_Tester.SetClassifierBehavior(MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior); + // Activity testActivity + MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity.SetName("testActivity"); + MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity.SetVisibility(VisibilityKind.public_); + // FunctionBehavior testP + MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_testP.SetName("testP"); + MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_testP.SetVisibility(VisibilityKind.public_); + + // Parameter p + MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_testP_p.SetName("p"); + MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_testP_p.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_testP_p.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_testP.AddOwnedParameter(MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_testP_p); + MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_testP.AddLanguage("C#"); + MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_testP.AddLanguage("Using"); + MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_testP.AddBody("if(index == 1) { Console.WriteLine(\"Asserting c.b[1] == 4 || c.b[2] == 4 || c.b[3] == 4 || c.b[4] == 4\"); } // For some reason, during the first execution of the expansion region, its body is actually executed twice. // Because of that, the body is actually executaed 5 times in total. This if-statement covers that up until solved. if(index <= MAX_INDEX) { // Test parameter p int p = ((IntegerValue)inputParameters.ElementAt(0).values.ElementAt(0)).value; Debug.Println(\"[doBody] argument p = \" + p); Console.WriteLine( \"c.b[\" + index + \"] == \" + p); success = success || (p == 4); if(index == MAX_INDEX) { Console.Write(\"Signal delegated on all links (shall be true for default strategy): \"); if(success) { Console.ForegroundColor = ConsoleColor.Green; Console.WriteLine(\"Assertion successful.\"); } else { Console.ForegroundColor = ConsoleColor.Red; Console.WriteLine(\"Assertion failed!\"); } Console.ResetColor(); } } index++;"); + MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_testP.AddBody("using fuml.semantics.simpleclassifiers; "); + MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity.AddOwnedBehavior(MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_testP); + // ReadStructuralFeatureAction Read b.p + MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_Read_b_p.SetName("Read b.p"); + MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_Read_b_p.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_Read_b_p.SetStructuralFeature(MultipleDelegation_SameConnector_P_P_Signal_B_p); + // InputPin object + MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_Read_b_p_object.SetName("object"); + MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_Read_b_p_object.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_Read_b_p_object.SetType(MultipleDelegation_SameConnector_P_P_Signal_B); + MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_Read_b_p.SetObject(MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_Read_b_p_object); + // OutputPin result + MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_Read_b_p_result.SetName("result"); + MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_Read_b_p_result.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_Read_b_p_result.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_Read_b_p.SetResult(MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_Read_b_p_result); + MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity.AddNode(MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_Read_b_p); + // ReadSelfAction this + MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_this.SetName("this"); + MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_this.SetVisibility(VisibilityKind.public_); + // OutputPin result + MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_this_result.SetName("result"); + MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_this_result.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_this_result.SetType(MultipleDelegation_SameConnector_P_P_Signal_Tester); + MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_this.SetResult(MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_this_result); + MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity.AddNode(MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_this); + // CallBehaviorAction Call testP + MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_Call_testP.SetName("Call testP"); + MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_Call_testP.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_Call_testP.SetBehavior(MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_testP); + // InputPin p + MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_Call_testP_p.SetName("p"); + MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_Call_testP_p.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_Call_testP_p.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_Call_testP.AddArgument(MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_Call_testP_p); + MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity.AddNode(MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_Call_testP); + // ReadStructuralFeatureAction Read a.b + MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_Read_a_b.SetName("Read a.b"); + MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_Read_a_b.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_Read_a_b.SetStructuralFeature(MultipleDelegation_SameConnector_P_P_Signal_A_b); + // InputPin object + MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_Read_a_b_object.SetName("object"); + MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_Read_a_b_object.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_Read_a_b_object.SetType(MultipleDelegation_SameConnector_P_P_Signal_A); + MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_Read_a_b.SetObject(MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_Read_a_b_object); + // OutputPin result + MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_Read_a_b_result.SetName("result"); + MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_Read_a_b_result.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_Read_a_b_result.SetType(MultipleDelegation_SameConnector_P_P_Signal_B); + MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_Read_a_b_result.SetUpper(4); + MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_Read_a_b_result.SetLower(4); + MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_Read_a_b.SetResult(MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_Read_a_b_result); + MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity.AddNode(MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_Read_a_b); + // ReadStructuralFeatureAction Read this.a + MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_Read_this_a.SetName("Read this.a"); + MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_Read_this_a.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_Read_this_a.SetStructuralFeature(MultipleDelegation_SameConnector_P_P_Signal_Tester_a); + // InputPin object + MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_Read_this_a_object.SetName("object"); + MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_Read_this_a_object.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_Read_this_a_object.SetType(MultipleDelegation_SameConnector_P_P_Signal_Tester); + MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_Read_this_a.SetObject(MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_Read_this_a_object); + // OutputPin result + MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_Read_this_a_result.SetName("result"); + MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_Read_this_a_result.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_Read_this_a_result.SetType(MultipleDelegation_SameConnector_P_P_Signal_A); + MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_Read_this_a.SetResult(MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_Read_this_a_result); + MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity.AddNode(MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_Read_this_a); + // ObjectFlow ObjectFlow82 from result to object + MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_ObjectFlow82.SetName("ObjectFlow82"); + MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_ObjectFlow82.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_ObjectFlow82.SetSource(MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_Read_this_a_result); + MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_ObjectFlow82.SetTarget(MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_Read_a_b_object); + // LiteralBoolean LiteralBoolean83 + MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_ObjectFlow82_LiteralBoolean83.SetName("LiteralBoolean83"); + MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_ObjectFlow82_LiteralBoolean83.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_ObjectFlow82_LiteralBoolean83.SetValue(true); + MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_ObjectFlow82.SetGuard(MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_ObjectFlow82_LiteralBoolean83); + MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity.AddEdge(MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_ObjectFlow82); + // ObjectFlow ObjectFlow85 from result to object + MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_ObjectFlow85.SetName("ObjectFlow85"); + MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_ObjectFlow85.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_ObjectFlow85.SetSource(MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_Read_a_b_result); + MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_ObjectFlow85.SetTarget(MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_Read_b_p_object); + // LiteralBoolean LiteralBoolean86 + MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_ObjectFlow85_LiteralBoolean86.SetName("LiteralBoolean86"); + MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_ObjectFlow85_LiteralBoolean86.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_ObjectFlow85_LiteralBoolean86.SetValue(true); + MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_ObjectFlow85.SetGuard(MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_ObjectFlow85_LiteralBoolean86); + MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity.AddEdge(MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_ObjectFlow85); + // ObjectFlow ObjectFlow88 from result to object + MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_ObjectFlow88.SetName("ObjectFlow88"); + MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_ObjectFlow88.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_ObjectFlow88.SetSource(MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_this_result); + MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_ObjectFlow88.SetTarget(MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_Read_this_a_object); + // LiteralBoolean LiteralBoolean90 + MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_ObjectFlow88_LiteralBoolean90.SetName("LiteralBoolean90"); + MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_ObjectFlow88_LiteralBoolean90.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_ObjectFlow88_LiteralBoolean90.SetValue(true); + MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_ObjectFlow88.SetGuard(MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_ObjectFlow88_LiteralBoolean90); + MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity.AddEdge(MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_ObjectFlow88); + // ObjectFlow ObjectFlow102 from result to p + MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_ObjectFlow102.SetName("ObjectFlow102"); + MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_ObjectFlow102.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_ObjectFlow102.SetSource(MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_Read_b_p_result); + MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_ObjectFlow102.SetTarget(MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_Call_testP_p); + // LiteralBoolean LiteralBoolean103 + MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_ObjectFlow102_LiteralBoolean103.SetName("LiteralBoolean103"); + MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_ObjectFlow102_LiteralBoolean103.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_ObjectFlow102_LiteralBoolean103.SetValue(true); + MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_ObjectFlow102.SetGuard(MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_ObjectFlow102_LiteralBoolean103); + MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity.AddEdge(MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_ObjectFlow102); + MultipleDelegation_SameConnector_P_P_Signal_Tester.AddOwnedBehavior(MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity); + // Activity TesterClassifierBehavior + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior.SetName("TesterClassifierBehavior"); + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior.SetVisibility(VisibilityKind.public_); + // ReadStructuralFeatureAction Read this.a + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Read_this_a.SetName("Read this.a"); + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Read_this_a.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Read_this_a.SetStructuralFeature(MultipleDelegation_SameConnector_P_P_Signal_Tester_a); + // InputPin object + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Read_this_a_object.SetName("object"); + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Read_this_a_object.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Read_this_a_object.SetType(MultipleDelegation_SameConnector_P_P_Signal_Tester); + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Read_this_a.SetObject(MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Read_this_a_object); + // OutputPin result + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Read_this_a_result.SetName("result"); + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Read_this_a_result.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Read_this_a_result.SetType(MultipleDelegation_SameConnector_P_P_Signal_A); + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Read_this_a.SetResult(MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Read_this_a_result); + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior.AddNode(MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Read_this_a); + // ValueSpecificationAction Value(4) + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Value_4.SetName("Value(4)"); + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Value_4.SetVisibility(VisibilityKind.public_); + // LiteralInteger LiteralInteger153 + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Value_4_LiteralInteger153.SetName("LiteralInteger153"); + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Value_4_LiteralInteger153.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Value_4_LiteralInteger153.SetValue(4); + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Value_4.SetValue(MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Value_4_LiteralInteger153); + // OutputPin result + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Value_4_result.SetName("result"); + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Value_4_result.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Value_4_result.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Value_4.SetResult(MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Value_4_result); + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior.AddNode(MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Value_4); + // CallOperationAction Call test() + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Call_test_.SetName("Call test()"); + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Call_test_.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Call_test_.SetOperation(MultipleDelegation_SameConnector_P_P_Signal_Tester_test); + // InputPin target + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Call_test__target.SetName("target"); + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Call_test__target.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Call_test__target.SetType(MultipleDelegation_SameConnector_P_P_Signal_Tester); + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Call_test_.SetTarget(MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Call_test__target); + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior.AddNode(MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Call_test_); + // AcceptEventAction Accept Start + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Start.SetName("Accept Start"); + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Start.SetVisibility(VisibilityKind.public_); + // OutputPin result + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Start_result.SetName("result"); + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Start_result.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Start_result.SetType(MultipleDelegation_SameConnector_P_P_Signal_Start); + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Start.AddResult(MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Start_result); + // Trigger Trigger163 + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Start_Trigger163.SetName("Trigger163"); + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Start_Trigger163.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Start_Trigger163.SetEvent(MultipleDelegation_SameConnector_P_P_Signal_StartEvent); + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Start.AddTrigger(MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Start_Trigger163); + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior.AddNode(MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Start); + // ReadSelfAction this + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_this.SetName("this"); + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_this.SetVisibility(VisibilityKind.public_); + // OutputPin result + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_this_result.SetName("result"); + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_this_result.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_this_result.SetType(MultipleDelegation_SameConnector_P_P_Signal_Tester); + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_this.SetResult(MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_this_result); + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior.AddNode(MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_this); + // SendSignalAction Send S + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Send_S.SetName("Send S"); + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Send_S.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Send_S.SetSignal(MultipleDelegation_SameConnector_P_P_Signal_S); + // InputPin target + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Send_S_target.SetName("target"); + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Send_S_target.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Send_S_target.SetType(MultipleDelegation_SameConnector_P_P_Signal_IImpl); + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Send_S.SetTarget(MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Send_S_target); + // InputPin v + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Send_S_v.SetName("v"); + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Send_S_v.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Send_S_v.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Send_S.AddArgument(MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Send_S_v); + // InputPin t + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Send_S_t.SetName("t"); + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Send_S_t.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Send_S_t.SetType(MultipleDelegation_SameConnector_P_P_Signal_AbstractTester); + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Send_S.AddArgument(MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Send_S_t); + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior.AddNode(MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Send_S); + // AcceptEventAction Accept Continue_1 + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_1.SetName("Accept Continue_1"); + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_1.SetVisibility(VisibilityKind.public_); + // OutputPin result + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_1_result.SetName("result"); + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_1_result.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_1_result.SetType(MultipleDelegation_SameConnector_P_P_Signal_Continue); + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_1.AddResult(MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_1_result); + // Trigger Trigger126 + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_1_Trigger126.SetName("Trigger126"); + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_1_Trigger126.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_1_Trigger126.SetEvent(MultipleDelegation_SameConnector_P_P_Signal_ContinueEvent); + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_1.AddTrigger(MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_1_Trigger126); + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior.AddNode(MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_1); + // ReadStructuralFeatureAction Read a.q + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Read_a_q.SetName("Read a.q"); + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Read_a_q.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Read_a_q.SetStructuralFeature(MultipleDelegation_SameConnector_P_P_Signal_A_q); + // InputPin object + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Read_a_q_object.SetName("object"); + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Read_a_q_object.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Read_a_q_object.SetType(MultipleDelegation_SameConnector_P_P_Signal_A); + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Read_a_q.SetObject(MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Read_a_q_object); + // OutputPin result + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Read_a_q_result.SetName("result"); + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Read_a_q_result.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Read_a_q_result.SetType(MultipleDelegation_SameConnector_P_P_Signal_IImpl); + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Read_a_q.SetResult(MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Read_a_q_result); + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior.AddNode(MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Read_a_q); + // AcceptEventAction Accept Continue_3 + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_3.SetName("Accept Continue_3"); + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_3.SetVisibility(VisibilityKind.public_); + // OutputPin result + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_3_result.SetName("result"); + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_3_result.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_3_result.SetType(MultipleDelegation_SameConnector_P_P_Signal_Continue); + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_3.AddResult(MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_3_result); + // Trigger Trigger138 + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_3_Trigger138.SetName("Trigger138"); + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_3_Trigger138.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_3_Trigger138.SetEvent(MultipleDelegation_SameConnector_P_P_Signal_ContinueEvent); + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_3.AddTrigger(MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_3_Trigger138); + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior.AddNode(MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_3); + // AcceptEventAction Accept Continue_2 + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_2.SetName("Accept Continue_2"); + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_2.SetVisibility(VisibilityKind.public_); + // OutputPin result + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_2_result.SetName("result"); + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_2_result.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_2_result.SetType(MultipleDelegation_SameConnector_P_P_Signal_Continue); + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_2.AddResult(MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_2_result); + // Trigger Trigger169 + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_2_Trigger169.SetName("Trigger169"); + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_2_Trigger169.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_2_Trigger169.SetEvent(MultipleDelegation_SameConnector_P_P_Signal_ContinueEvent); + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_2.AddTrigger(MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_2_Trigger169); + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior.AddNode(MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_2); + // ForkNode Fork this + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Fork_this.SetName("Fork this"); + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Fork_this.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior.AddNode(MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Fork_this); + // AcceptEventAction Accept Continue_4 + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_4.SetName("Accept Continue_4"); + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_4.SetVisibility(VisibilityKind.public_); + // OutputPin result + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_4_result.SetName("result"); + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_4_result.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_4_result.SetType(MultipleDelegation_SameConnector_P_P_Signal_Continue); + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_4.AddResult(MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_4_result); + // Trigger Trigger146 + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_4_Trigger146.SetName("Trigger146"); + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_4_Trigger146.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_4_Trigger146.SetEvent(MultipleDelegation_SameConnector_P_P_Signal_ContinueEvent); + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_4.AddTrigger(MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_4_Trigger146); + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior.AddNode(MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_4); + // ObjectFlow ObjectFlow150 from result to Fork this + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow150.SetName("ObjectFlow150"); + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow150.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow150.SetSource(MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_this_result); + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow150.SetTarget(MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Fork_this); + // LiteralBoolean LiteralBoolean151 + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow150_LiteralBoolean151.SetName("LiteralBoolean151"); + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow150_LiteralBoolean151.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow150_LiteralBoolean151.SetValue(true); + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow150.SetGuard(MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow150_LiteralBoolean151); + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior.AddEdge(MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow150); + // ObjectFlow ObjectFlow111 from Fork this to t + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow111.SetName("ObjectFlow111"); + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow111.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow111.SetSource(MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Fork_this); + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow111.SetTarget(MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Send_S_t); + // LiteralBoolean LiteralBoolean113 + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow111_LiteralBoolean113.SetName("LiteralBoolean113"); + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow111_LiteralBoolean113.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow111_LiteralBoolean113.SetValue(true); + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow111.SetGuard(MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow111_LiteralBoolean113); + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior.AddEdge(MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow111); + // ObjectFlow ObjectFlow156 from result to target + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow156.SetName("ObjectFlow156"); + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow156.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow156.SetSource(MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Read_a_q_result); + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow156.SetTarget(MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Send_S_target); + // LiteralBoolean LiteralBoolean157 + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow156_LiteralBoolean157.SetName("LiteralBoolean157"); + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow156_LiteralBoolean157.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow156_LiteralBoolean157.SetValue(true); + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow156.SetGuard(MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow156_LiteralBoolean157); + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior.AddEdge(MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow156); + // ControlFlow ControlFlow114 from Accept Continue_4 to Call test() + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_ControlFlow114.SetName("ControlFlow114"); + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_ControlFlow114.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_ControlFlow114.SetSource(MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_4); + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_ControlFlow114.SetTarget(MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Call_test_); + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior.AddEdge(MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_ControlFlow114); + // ControlFlow ControlFlow159 from Accept Continue_1 to Accept Continue_2 + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_ControlFlow159.SetName("ControlFlow159"); + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_ControlFlow159.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_ControlFlow159.SetSource(MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_1); + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_ControlFlow159.SetTarget(MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_2); + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior.AddEdge(MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_ControlFlow159); + // ObjectFlow ObjectFlow117 from result to v + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow117.SetName("ObjectFlow117"); + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow117.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow117.SetSource(MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Value_4_result); + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow117.SetTarget(MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Send_S_v); + // LiteralBoolean LiteralBoolean119 + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow117_LiteralBoolean119.SetName("LiteralBoolean119"); + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow117_LiteralBoolean119.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow117_LiteralBoolean119.SetValue(true); + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow117.SetGuard(MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow117_LiteralBoolean119); + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior.AddEdge(MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow117); + // ControlFlow ControlFlow164 from Accept Continue_3 to Accept Continue_4 + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_ControlFlow164.SetName("ControlFlow164"); + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_ControlFlow164.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_ControlFlow164.SetSource(MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_3); + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_ControlFlow164.SetTarget(MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_4); + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior.AddEdge(MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_ControlFlow164); + // ObjectFlow ObjectFlow165 from result to object + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow165.SetName("ObjectFlow165"); + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow165.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow165.SetSource(MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Read_this_a_result); + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow165.SetTarget(MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Read_a_q_object); + // LiteralBoolean LiteralBoolean167 + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow165_LiteralBoolean167.SetName("LiteralBoolean167"); + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow165_LiteralBoolean167.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow165_LiteralBoolean167.SetValue(true); + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow165.SetGuard(MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow165_LiteralBoolean167); + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior.AddEdge(MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow165); + // ControlFlow ControlFlow134 from Send S to Accept Continue_1 + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_ControlFlow134.SetName("ControlFlow134"); + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_ControlFlow134.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_ControlFlow134.SetSource(MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Send_S); + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_ControlFlow134.SetTarget(MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_1); + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior.AddEdge(MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_ControlFlow134); + // ObjectFlow ObjectFlow139 from Fork this to object + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow139.SetName("ObjectFlow139"); + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow139.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow139.SetSource(MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Fork_this); + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow139.SetTarget(MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Read_this_a_object); + // LiteralBoolean LiteralBoolean140 + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow139_LiteralBoolean140.SetName("LiteralBoolean140"); + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow139_LiteralBoolean140.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow139_LiteralBoolean140.SetValue(true); + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow139.SetGuard(MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow139_LiteralBoolean140); + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior.AddEdge(MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow139); + // ObjectFlow ObjectFlow142 from Fork this to target + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow142.SetName("ObjectFlow142"); + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow142.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow142.SetSource(MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Fork_this); + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow142.SetTarget(MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Call_test__target); + // LiteralBoolean LiteralBoolean144 + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow142_LiteralBoolean144.SetName("LiteralBoolean144"); + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow142_LiteralBoolean144.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow142_LiteralBoolean144.SetValue(true); + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow142.SetGuard(MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow142_LiteralBoolean144); + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior.AddEdge(MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow142); + // ControlFlow ControlFlow168 from Accept Start to this + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_ControlFlow168.SetName("ControlFlow168"); + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_ControlFlow168.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_ControlFlow168.SetSource(MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Start); + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_ControlFlow168.SetTarget(MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_this); + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior.AddEdge(MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_ControlFlow168); + // ControlFlow ControlFlow145 from Accept Continue_2 to Accept Continue_3 + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_ControlFlow145.SetName("ControlFlow145"); + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_ControlFlow145.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_ControlFlow145.SetSource(MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_2); + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_ControlFlow145.SetTarget(MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_3); + MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior.AddEdge(MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior_ControlFlow145); + MultipleDelegation_SameConnector_P_P_Signal_Tester.AddOwnedBehavior(MultipleDelegation_SameConnector_P_P_Signal_Tester_TesterClassifierBehavior); + + MultipleDelegation_SameConnector_P_P_Signal_Tester.SetIsActive(true); + // Operation Tester_Tester + MultipleDelegation_SameConnector_P_P_Signal_Tester_Tester_Tester.SetName("Tester_Tester"); + MultipleDelegation_SameConnector_P_P_Signal_Tester_Tester_Tester.SetVisibility(VisibilityKind.public_); + // Parameter result + MultipleDelegation_SameConnector_P_P_Signal_Tester_Tester_Tester_result.SetName("result"); + MultipleDelegation_SameConnector_P_P_Signal_Tester_Tester_Tester_result.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_SameConnector_P_P_Signal_Tester_Tester_Tester_result.SetType(MultipleDelegation_SameConnector_P_P_Signal_Tester); + MultipleDelegation_SameConnector_P_P_Signal_Tester_Tester_Tester_result.SetDirection(ParameterDirectionKind.return_); + MultipleDelegation_SameConnector_P_P_Signal_Tester_Tester_Tester.AddOwnedParameter(MultipleDelegation_SameConnector_P_P_Signal_Tester_Tester_Tester_result); + MultipleDelegation_SameConnector_P_P_Signal_Tester_Tester_Tester.ApplyStereotype(uml.standardprofile.StandardProfileModel.Instance().Stereotype_Create); + MultipleDelegation_SameConnector_P_P_Signal_Tester.AddOwnedOperation(MultipleDelegation_SameConnector_P_P_Signal_Tester_Tester_Tester); + // Operation test + MultipleDelegation_SameConnector_P_P_Signal_Tester_test.SetName("test"); + MultipleDelegation_SameConnector_P_P_Signal_Tester_test.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_P_Signal_Tester_test.AddMethod(MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity); + MultipleDelegation_SameConnector_P_P_Signal_Tester.AddOwnedOperation(MultipleDelegation_SameConnector_P_P_Signal_Tester_test); + MultipleDelegation_SameConnector_P_P_Signal.AddPackagedElement(MultipleDelegation_SameConnector_P_P_Signal_Tester); + // SignalEvent SEvent + MultipleDelegation_SameConnector_P_P_Signal_SEvent.SetName("SEvent"); + MultipleDelegation_SameConnector_P_P_Signal_SEvent.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_P_Signal_SEvent.SetSignal(MultipleDelegation_SameConnector_P_P_Signal_S); + MultipleDelegation_SameConnector_P_P_Signal.AddPackagedElement(MultipleDelegation_SameConnector_P_P_Signal_SEvent); + // Signal Continue + MultipleDelegation_SameConnector_P_P_Signal_Continue.SetName("Continue"); + MultipleDelegation_SameConnector_P_P_Signal_Continue.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_P_Signal.AddPackagedElement(MultipleDelegation_SameConnector_P_P_Signal_Continue); + } + + /* Start of user code : User-defined members + * This section may be used for user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } // MultipleDelegation_SameConnector_P_P_SignalModel +} diff --git a/fUML-CSharp/tests/pscs-Tests/02_Communication/09_MultipleDelegation_SameConnector_P_P_Signal/src/testPExecution.cs b/fUML-CSharp/tests/pscs-Tests/02_Communication/09_MultipleDelegation_SameConnector_P_P_Signal/src/testPExecution.cs new file mode 100644 index 0000000..937cd33 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/02_Communication/09_MultipleDelegation_SameConnector_P_P_Signal/src/testPExecution.cs @@ -0,0 +1,99 @@ +/* + * testPExecution.cs + * + * Auto-generated file + */ + +using fuml.semantics.commonbehavior; +using fuml; +using fuml.semantics.simpleclassifiers; +using fuml.semantics.values; + +/* Start of user code : User-defined includes and forward declarations + * This section may be used for includes and forward declarations. + * It will not be overwritten by future generation processes. + */ + +/* + * End of user code + */ + +namespace MultipleDelegation_SameConnector_P_P_Signal +{ + public class testPExecution : OpaqueBehaviorExecution + { + public testPExecution() + { + types.Add(MultipleDelegation_SameConnector_P_P_SignalModel.Instance().MultipleDelegation_SameConnector_P_P_Signal_Tester_testActivity_testP); + /* Start of user code : Additional opaque behavior execution initializations + * This section may be used to do any additional opaque behavior execution initialization, + * for example initializing user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } + + public override void DoBody(List inputParameters, List outputParameters) + { + if(index == 1) + { + Console.WriteLine("Asserting c.b[1] == 4 && c.b[2] == 4 && c.b[3] == 4 && c.b[4] == 4"); + } + + // For some reason, during the first execution of the expansion region, its body is actually executed twice. + // Because of that, the body is actually executaed 5 times in total. This if-statement covers that up until solved. + if(index <= MAX_INDEX) + { + + // Test parameter p + int p = ((IntegerValue)inputParameters.ElementAt(0).values.ElementAt(0)).value; + Debug.Println("[doBody] argument p = " + p); + + Console.WriteLine( "c.b[" + index + "] == " + p); + success = success && (p == 4); + + if(index == MAX_INDEX) + { + + Console.Write("Signal delegated on all links (shall be true for default strategy): "); + + if(success) + { + Console.ForegroundColor = ConsoleColor.Green; + Console.WriteLine("Assertion successful."); + } + else + { + Console.ForegroundColor = ConsoleColor.Red; + Console.WriteLine("Assertion failed!"); + } + + Console.ResetColor(); + } + } + + index++; + } + + protected override Value New_() + { + return new testPExecution(); + } + + /* Start of user code : User-defined members + * This section may be used for user-defined members. + * It will not be overwritten by future generation processes. + */ + + private static int index = 1; + private const int MAX_INDEX = 4; + private static bool success = true; + + /* + * End of user code + */ + } // testPExecution +} diff --git a/fUML-CSharp/tests/pscs-Tests/02_Communication/10_MultipleDelegation_SameConnector_P_PWP_Operation/.gitignore b/fUML-CSharp/tests/pscs-Tests/02_Communication/10_MultipleDelegation_SameConnector_P_PWP_Operation/.gitignore new file mode 100644 index 0000000..1736844 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/02_Communication/10_MultipleDelegation_SameConnector_P_PWP_Operation/.gitignore @@ -0,0 +1,3 @@ +/.vs/ +/bin/ +/obj/ diff --git a/fUML-CSharp/tests/pscs-Tests/02_Communication/10_MultipleDelegation_SameConnector_P_PWP_Operation/MultipleDelegation_SameConnector_P_PWP_Operation.csproj b/fUML-CSharp/tests/pscs-Tests/02_Communication/10_MultipleDelegation_SameConnector_P_PWP_Operation/MultipleDelegation_SameConnector_P_PWP_Operation.csproj new file mode 100644 index 0000000..6eac5c7 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/02_Communication/10_MultipleDelegation_SameConnector_P_PWP_Operation/MultipleDelegation_SameConnector_P_PWP_Operation.csproj @@ -0,0 +1,50 @@ + + + + Exe + net6.0 + enable + enable + + + + MultipleDelegation_SameConnector_P_PWP_Operation.Debug + + + MultipleDelegation_SameConnector_P_PWP_Operation.Release + + + + + ..\..\..\..\uml\bin\Debug\net6.0\uml.Debug.dll + + + + + ..\..\..\..\uml\bin\Release\net6.0\uml.Release.dll + + + + + + ..\..\..\..\fuml\bin\Debug\net6.0\fuml.Debug.dll + + + + + ..\..\..\..\fuml\bin\Release\net6.0\fuml.Release.dll + + + + + + ..\..\..\..\pscs\bin\Debug\net6.0\pscs.Debug.dll + + + + + ..\..\..\..\pscs\bin\Release\net6.0\pscs.Release.dll + + + + diff --git a/fUML-CSharp/tests/pscs-Tests/02_Communication/10_MultipleDelegation_SameConnector_P_PWP_Operation/MultipleDelegation_SameConnector_P_PWP_Operation.sln b/fUML-CSharp/tests/pscs-Tests/02_Communication/10_MultipleDelegation_SameConnector_P_PWP_Operation/MultipleDelegation_SameConnector_P_PWP_Operation.sln new file mode 100644 index 0000000..545a5b4 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/02_Communication/10_MultipleDelegation_SameConnector_P_PWP_Operation/MultipleDelegation_SameConnector_P_PWP_Operation.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.32112.339 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MultipleDelegation_SameConnector_P_PWP_Operation", "MultipleDelegation_SameConnector_P_PWP_Operation.csproj", "{CFF580BD-F690-415D-BC8B-568B9A7D2BE2}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {CFF580BD-F690-415D-BC8B-568B9A7D2BE2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {CFF580BD-F690-415D-BC8B-568B9A7D2BE2}.Debug|Any CPU.Build.0 = Debug|Any CPU + {CFF580BD-F690-415D-BC8B-568B9A7D2BE2}.Release|Any CPU.ActiveCfg = Release|Any CPU + {CFF580BD-F690-415D-BC8B-568B9A7D2BE2}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {AA535E58-675A-45BD-BBE2-13B9BBAF4F75} + EndGlobalSection +EndGlobal diff --git a/fUML-CSharp/tests/pscs-Tests/02_Communication/10_MultipleDelegation_SameConnector_P_PWP_Operation/model/MultipleDelegation_SameConnector_P_PWP_Operation.di b/fUML-CSharp/tests/pscs-Tests/02_Communication/10_MultipleDelegation_SameConnector_P_PWP_Operation/model/MultipleDelegation_SameConnector_P_PWP_Operation.di new file mode 100644 index 0000000..8c549ee --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/02_Communication/10_MultipleDelegation_SameConnector_P_PWP_Operation/model/MultipleDelegation_SameConnector_P_PWP_Operation.di @@ -0,0 +1,2 @@ + + diff --git a/fUML-CSharp/tests/pscs-Tests/02_Communication/10_MultipleDelegation_SameConnector_P_PWP_Operation/model/MultipleDelegation_SameConnector_P_PWP_Operation.notation b/fUML-CSharp/tests/pscs-Tests/02_Communication/10_MultipleDelegation_SameConnector_P_PWP_Operation/model/MultipleDelegation_SameConnector_P_PWP_Operation.notation new file mode 100644 index 0000000..2c4cc31 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/02_Communication/10_MultipleDelegation_SameConnector_P_PWP_Operation/model/MultipleDelegation_SameConnector_P_PWP_Operation.notation @@ -0,0 +1,628 @@ + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/fUML-CSharp/tests/pscs-Tests/02_Communication/10_MultipleDelegation_SameConnector_P_PWP_Operation/model/MultipleDelegation_SameConnector_P_PWP_Operation.uml b/fUML-CSharp/tests/pscs-Tests/02_Communication/10_MultipleDelegation_SameConnector_P_PWP_Operation/model/MultipleDelegation_SameConnector_P_PWP_Operation.uml new file mode 100644 index 0000000..0807c06 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/02_Communication/10_MultipleDelegation_SameConnector_P_PWP_Operation/model/MultipleDelegation_SameConnector_P_PWP_Operation.uml @@ -0,0 +1,294 @@ + + + + + This test case addresses forwarding of an operation call in presence of multiple delegation links, corresponding to a +single connector, expressed between a port and a part with port. + + + Passing: true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + C# + Using + if(index == 1) + { + Console.WriteLine("Asserting c.a[1].b.p == 4 || c.a[2].b.p == 4 || c.a[3].b.p == 4 || c.a[4].b.c == 4"); + } + + // For some reason, during the first execution of the expansion region, its body is actually executed twice. + // Because of that, the body is actually executaed 5 times in total. This if-statement covers that up until solved. + if (index <= MAX_INDEX) + { + // Test parameter p + int p = ((IntegerValue)inputParameters.ElementAt(0).values.ElementAt(0)).value; + Debug.Println("[doBody] argument p = " + p); + + Console.WriteLine( "c.a[" + index + "].b.p == " + p); + success = success || (p == 4); + + if (index == MAX_INDEX) + { + + Console.Write("Operation call delegated: "); + + if (success) + { + Console.ForegroundColor = ConsoleColor.Green; + Console.WriteLine("Assertion successful."); + } + else + { + Console.ForegroundColor = ConsoleColor.Red; + Console.WriteLine("Assertion failed!"); + } + + Console.ResetColor(); + } + } + + index++; + using fuml.semantics.simpleclassifiers; + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/fUML-CSharp/tests/pscs-Tests/02_Communication/10_MultipleDelegation_SameConnector_P_PWP_Operation/src/MultipleDelegation_SameConnector_P_PWP_Operation.cs b/fUML-CSharp/tests/pscs-Tests/02_Communication/10_MultipleDelegation_SameConnector_P_PWP_Operation/src/MultipleDelegation_SameConnector_P_PWP_Operation.cs new file mode 100644 index 0000000..c3ac473 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/02_Communication/10_MultipleDelegation_SameConnector_P_PWP_Operation/src/MultipleDelegation_SameConnector_P_PWP_Operation.cs @@ -0,0 +1,31 @@ +namespace MultipleDelegation_SameConnector_P_PWP_Operation +{ + internal class MultipleDelegation_SameConnector_P_PWP_Operation + { + static void PrintUsage() + { + Console.WriteLine( + "=============================================================================================\n" + + "USAGE: [ <...>]\n" + + "=============================================================================================\n" + ); + } + + static int Main(string[] args) + { + if(args.Length == 0) + { + Console.WriteLine("[ERROR] Must declare at least one behavior name.\n"); + PrintUsage(); + return -1; + } + + foreach (string arg in args) + { + MultipleDelegation_SameConnector_P_PWP_OperationEnvironment.Instance().Execute(arg); + } + + return 0; + } + } +} diff --git a/fUML-CSharp/tests/pscs-Tests/02_Communication/10_MultipleDelegation_SameConnector_P_PWP_Operation/src/MultipleDelegation_SameConnector_P_PWP_OperationEnvironment.cs b/fUML-CSharp/tests/pscs-Tests/02_Communication/10_MultipleDelegation_SameConnector_P_PWP_Operation/src/MultipleDelegation_SameConnector_P_PWP_OperationEnvironment.cs new file mode 100644 index 0000000..bf73042 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/02_Communication/10_MultipleDelegation_SameConnector_P_PWP_Operation/src/MultipleDelegation_SameConnector_P_PWP_OperationEnvironment.cs @@ -0,0 +1,93 @@ +/* + * MultipleDelegation_SameConnector_P_PWP_OperationEnvironment.cs + * + * Auto-generated file + */ + +/* Start of user code : User-defined using directives + * This section may be used for using directives. + * It will not be overwritten by future generation processes. + */ + +/* + * End of user code + */ + +namespace MultipleDelegation_SameConnector_P_PWP_Operation +{ + public class MultipleDelegation_SameConnector_P_PWP_OperationEnvironment : pscs.environment.Environment + { + private static MultipleDelegation_SameConnector_P_PWP_OperationEnvironment? instance; + + public static MultipleDelegation_SameConnector_P_PWP_OperationEnvironment Instance() + { + if(instance is null) + { + instance = new(); + instance.inMemoryModel = MultipleDelegation_SameConnector_P_PWP_OperationModel.Instance(); + } + + return instance; + } + + public MultipleDelegation_SameConnector_P_PWP_OperationEnvironment() + { + /* + * Create custom opaque behavior execution instances and add them to the execution environment. + */ + AddPrimitiveBehaviorPrototype(new testPExecution()); + + /* Start of user code : Additional environment initializations + * This section may be used to do any additional environment initialization, + * for example initializing user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } + + public override void Execute(string behaviorName) + { + /* Start of user code : Context and inputs initializations + * This section may be used to initialize the execution context + * as well as input parameter values if required. + * It will not be overwritten by future generation processes. + */ + + //context = ...; + //inputs = ...; + + /* + * End of user code + */ + + /* + * Start execution via base class call + */ + base.Execute(behaviorName); + + /* Start of user code : Outputs evaluation + * This section may be used to evaluate output parameter values if required. + * It will not be overwritten by future generation processes. + */ + + //List theOutputs = outputs; + //... + + /* + * End of user code + */ + } + + /* Start of user code : User-defined members + * This section may be used for user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } // MultipleDelegation_SameConnector_P_PWP_OperationEnvironment +} diff --git a/fUML-CSharp/tests/pscs-Tests/02_Communication/10_MultipleDelegation_SameConnector_P_PWP_Operation/src/MultipleDelegation_SameConnector_P_PWP_OperationModel.cs b/fUML-CSharp/tests/pscs-Tests/02_Communication/10_MultipleDelegation_SameConnector_P_PWP_Operation/src/MultipleDelegation_SameConnector_P_PWP_OperationModel.cs new file mode 100644 index 0000000..eaf32b7 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/02_Communication/10_MultipleDelegation_SameConnector_P_PWP_Operation/src/MultipleDelegation_SameConnector_P_PWP_OperationModel.cs @@ -0,0 +1,893 @@ +/* + * MultipleDelegation_SameConnector_P_PWP_OperationModel.cs + * + * Auto-generated file + */ + +using uml.actions; +using uml.packages; +using uml.structuredclassifiers; +using fuml.primitivetypes; +using uml.classification; +using fuml.library; +using uml.simpleclassifiers; +using uml.commonbehavior; +using uml.commonstructure; +using uml.values; +using uml.activities; +using uml.environment; + + +/* Start of user code : User-defined includes and forward declarations + * This section may be used for includes and forward declarations. + * It will not be overwritten by future generation processes. + */ + +/* + * End of user code + */ + +namespace MultipleDelegation_SameConnector_P_PWP_Operation +{ + public class MultipleDelegation_SameConnector_P_PWP_OperationModel : InMemoryModel + { + private static MultipleDelegation_SameConnector_P_PWP_OperationModel? instance; + + /* + * Model MultipleDelegation_SameConnector_P_PWP_Operation + */ + public Package MultipleDelegation_SameConnector_P_PWP_Operation = new(); + public Class_ MultipleDelegation_SameConnector_P_PWP_Operation_B = new(); + public Property MultipleDelegation_SameConnector_P_PWP_Operation_B_p = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_PWP_Operation_B_p_LiteralInteger0 = new(); + public InterfaceRealization MultipleDelegation_SameConnector_P_PWP_Operation_B_IRealization = new(); + public Operation MultipleDelegation_SameConnector_P_PWP_Operation_B_setP_Integer = new(); + public Parameter MultipleDelegation_SameConnector_P_PWP_Operation_B_setP_Integer_v = new(); + public Activity MultipleDelegation_SameConnector_P_PWP_Operation_B_setPActivity = new(); + public ActivityParameterNode MultipleDelegation_SameConnector_P_PWP_Operation_B_setPActivity_vParameterNode = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_PWP_Operation_B_setPActivity_vParameterNode_LiteralInteger1 = new(); + public ReadSelfAction MultipleDelegation_SameConnector_P_PWP_Operation_B_setPActivity_this = new(); + public OutputPin MultipleDelegation_SameConnector_P_PWP_Operation_B_setPActivity_this_result = new(); + public LiteralUnlimitedNatural MultipleDelegation_SameConnector_P_PWP_Operation_B_setPActivity_this_result_LiteralUnlimitedNatural2 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_PWP_Operation_B_setPActivity_this_result_LiteralInteger3 = new(); + public ObjectFlow MultipleDelegation_SameConnector_P_PWP_Operation_B_setPActivity_ObjectFlow4 = new(); + public LiteralBoolean MultipleDelegation_SameConnector_P_PWP_Operation_B_setPActivity_ObjectFlow4_LiteralBoolean5 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_PWP_Operation_B_setPActivity_ObjectFlow4_LiteralInteger6 = new(); + public ObjectFlow MultipleDelegation_SameConnector_P_PWP_Operation_B_setPActivity_ObjectFlow7 = new(); + public LiteralBoolean MultipleDelegation_SameConnector_P_PWP_Operation_B_setPActivity_ObjectFlow7_LiteralBoolean8 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_PWP_Operation_B_setPActivity_ObjectFlow7_LiteralInteger9 = new(); + public Parameter MultipleDelegation_SameConnector_P_PWP_Operation_B_setPActivity_v = new(); + public AddStructuralFeatureValueAction MultipleDelegation_SameConnector_P_PWP_Operation_B_setPActivity_Set_this_p = new(); + public OutputPin MultipleDelegation_SameConnector_P_PWP_Operation_B_setPActivity_Set_this_p_result = new(); + public LiteralUnlimitedNatural MultipleDelegation_SameConnector_P_PWP_Operation_B_setPActivity_Set_this_p_result_LiteralUnlimitedNatural10 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_PWP_Operation_B_setPActivity_Set_this_p_result_LiteralInteger11 = new(); + public InputPin MultipleDelegation_SameConnector_P_PWP_Operation_B_setPActivity_Set_this_p_value = new(); + public LiteralUnlimitedNatural MultipleDelegation_SameConnector_P_PWP_Operation_B_setPActivity_Set_this_p_value_LiteralUnlimitedNatural12 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_PWP_Operation_B_setPActivity_Set_this_p_value_LiteralInteger13 = new(); + public InputPin MultipleDelegation_SameConnector_P_PWP_Operation_B_setPActivity_Set_this_p_object = new(); + public LiteralUnlimitedNatural MultipleDelegation_SameConnector_P_PWP_Operation_B_setPActivity_Set_this_p_object_LiteralUnlimitedNatural14 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_PWP_Operation_B_setPActivity_Set_this_p_object_LiteralInteger15 = new(); + public Class_ MultipleDelegation_SameConnector_P_PWP_Operation_IImpl = new(); + public InterfaceRealization MultipleDelegation_SameConnector_P_PWP_Operation_IImpl_IRealization = new(); + public Operation MultipleDelegation_SameConnector_P_PWP_Operation_IImpl_setP_Integer = new(); + public Parameter MultipleDelegation_SameConnector_P_PWP_Operation_IImpl_setP_Integer_v = new(); + public Interface MultipleDelegation_SameConnector_P_PWP_Operation_I = new(); + public Operation MultipleDelegation_SameConnector_P_PWP_Operation_I_setP_Integer = new(); + public Parameter MultipleDelegation_SameConnector_P_PWP_Operation_I_setP_Integer_v = new(); + public Class_ MultipleDelegation_SameConnector_P_PWP_Operation_A = new(); + public Property MultipleDelegation_SameConnector_P_PWP_Operation_A_b = new(); + public Port MultipleDelegation_SameConnector_P_PWP_Operation_A_q = new(); + public Connector MultipleDelegation_SameConnector_P_PWP_Operation_A_r = new(); + public ConnectorEnd MultipleDelegation_SameConnector_P_PWP_Operation_A_r_ConnectorEnd16 = new(); + public ConnectorEnd MultipleDelegation_SameConnector_P_PWP_Operation_A_r_ConnectorEnd17 = new(); + public Activity MultipleDelegation_SameConnector_P_PWP_Operation_main = new(); + public ObjectFlow MultipleDelegation_SameConnector_P_PWP_Operation_main_ObjectFlow18 = new(); + public LiteralBoolean MultipleDelegation_SameConnector_P_PWP_Operation_main_ObjectFlow18_LiteralBoolean19 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_PWP_Operation_main_ObjectFlow18_LiteralInteger20 = new(); + public CallOperationAction MultipleDelegation_SameConnector_P_PWP_Operation_main_C_ = new(); + public OutputPin MultipleDelegation_SameConnector_P_PWP_Operation_main_C__result = new(); + public LiteralUnlimitedNatural MultipleDelegation_SameConnector_P_PWP_Operation_main_C__result_LiteralUnlimitedNatural21 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_PWP_Operation_main_C__result_LiteralInteger22 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_PWP_Operation_main_C__result_LiteralInteger23 = new(); + public InputPin MultipleDelegation_SameConnector_P_PWP_Operation_main_C__target = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_PWP_Operation_main_C__target_LiteralInteger24 = new(); + public LiteralUnlimitedNatural MultipleDelegation_SameConnector_P_PWP_Operation_main_C__target_LiteralUnlimitedNatural25 = new(); + public ReadStructuralFeatureAction MultipleDelegation_SameConnector_P_PWP_Operation_main_Read_a_b = new(); + public InputPin MultipleDelegation_SameConnector_P_PWP_Operation_main_Read_a_b_object = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_PWP_Operation_main_Read_a_b_object_LiteralInteger26 = new(); + public LiteralUnlimitedNatural MultipleDelegation_SameConnector_P_PWP_Operation_main_Read_a_b_object_LiteralUnlimitedNatural27 = new(); + public OutputPin MultipleDelegation_SameConnector_P_PWP_Operation_main_Read_a_b_result = new(); + public LiteralUnlimitedNatural MultipleDelegation_SameConnector_P_PWP_Operation_main_Read_a_b_result_LiteralUnlimitedNatural28 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_PWP_Operation_main_Read_a_b_result_LiteralInteger29 = new(); + public ReadStructuralFeatureAction MultipleDelegation_SameConnector_P_PWP_Operation_main_Read_b_p = new(); + public OutputPin MultipleDelegation_SameConnector_P_PWP_Operation_main_Read_b_p_result = new(); + public LiteralUnlimitedNatural MultipleDelegation_SameConnector_P_PWP_Operation_main_Read_b_p_result_LiteralUnlimitedNatural30 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_PWP_Operation_main_Read_b_p_result_LiteralInteger31 = new(); + public InputPin MultipleDelegation_SameConnector_P_PWP_Operation_main_Read_b_p_object = new(); + public LiteralUnlimitedNatural MultipleDelegation_SameConnector_P_PWP_Operation_main_Read_b_p_object_LiteralUnlimitedNatural32 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_PWP_Operation_main_Read_b_p_object_LiteralInteger33 = new(); + public ControlFlow MultipleDelegation_SameConnector_P_PWP_Operation_main_ControlFlow34 = new(); + public ObjectFlow MultipleDelegation_SameConnector_P_PWP_Operation_main_ObjectFlow35 = new(); + public LiteralBoolean MultipleDelegation_SameConnector_P_PWP_Operation_main_ObjectFlow35_LiteralBoolean36 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_PWP_Operation_main_ObjectFlow35_LiteralInteger37 = new(); + public CreateObjectAction MultipleDelegation_SameConnector_P_PWP_Operation_main_Create_C = new(); + public OutputPin MultipleDelegation_SameConnector_P_PWP_Operation_main_Create_C_result = new(); + public LiteralUnlimitedNatural MultipleDelegation_SameConnector_P_PWP_Operation_main_Create_C_result_LiteralUnlimitedNatural38 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_PWP_Operation_main_Create_C_result_LiteralInteger39 = new(); + public OpaqueBehavior MultipleDelegation_SameConnector_P_PWP_Operation_main_testP = new(); + public Parameter MultipleDelegation_SameConnector_P_PWP_Operation_main_testP_p = new(); + public ForkNode MultipleDelegation_SameConnector_P_PWP_Operation_main_Fork_C = new(); + public ObjectFlow MultipleDelegation_SameConnector_P_PWP_Operation_main_ObjectFlow40 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_PWP_Operation_main_ObjectFlow40_LiteralInteger41 = new(); + public LiteralBoolean MultipleDelegation_SameConnector_P_PWP_Operation_main_ObjectFlow40_LiteralBoolean42 = new(); + public ObjectFlow MultipleDelegation_SameConnector_P_PWP_Operation_main_ObjectFlow43 = new(); + public LiteralBoolean MultipleDelegation_SameConnector_P_PWP_Operation_main_ObjectFlow43_LiteralBoolean44 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_PWP_Operation_main_ObjectFlow43_LiteralInteger45 = new(); + public ObjectFlow MultipleDelegation_SameConnector_P_PWP_Operation_main_ObjectFlow46 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_PWP_Operation_main_ObjectFlow46_LiteralInteger47 = new(); + public LiteralBoolean MultipleDelegation_SameConnector_P_PWP_Operation_main_ObjectFlow46_LiteralBoolean48 = new(); + public ObjectFlow MultipleDelegation_SameConnector_P_PWP_Operation_main_ObjectFlow49 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_PWP_Operation_main_ObjectFlow49_LiteralInteger50 = new(); + public LiteralBoolean MultipleDelegation_SameConnector_P_PWP_Operation_main_ObjectFlow49_LiteralBoolean51 = new(); + public CallOperationAction MultipleDelegation_SameConnector_P_PWP_Operation_main_Call_p_setP_ = new(); + public InputPin MultipleDelegation_SameConnector_P_PWP_Operation_main_Call_p_setP__v = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_PWP_Operation_main_Call_p_setP__v_LiteralInteger52 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_PWP_Operation_main_Call_p_setP__v_LiteralInteger53 = new(); + public LiteralUnlimitedNatural MultipleDelegation_SameConnector_P_PWP_Operation_main_Call_p_setP__v_LiteralUnlimitedNatural54 = new(); + public InputPin MultipleDelegation_SameConnector_P_PWP_Operation_main_Call_p_setP__target = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_PWP_Operation_main_Call_p_setP__target_LiteralInteger55 = new(); + public LiteralUnlimitedNatural MultipleDelegation_SameConnector_P_PWP_Operation_main_Call_p_setP__target_LiteralUnlimitedNatural56 = new(); + public ObjectFlow MultipleDelegation_SameConnector_P_PWP_Operation_main_ObjectFlow57 = new(); + public LiteralBoolean MultipleDelegation_SameConnector_P_PWP_Operation_main_ObjectFlow57_LiteralBoolean58 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_PWP_Operation_main_ObjectFlow57_LiteralInteger59 = new(); + public ReadStructuralFeatureAction MultipleDelegation_SameConnector_P_PWP_Operation_main_Read_c_p = new(); + public OutputPin MultipleDelegation_SameConnector_P_PWP_Operation_main_Read_c_p_result = new(); + public LiteralUnlimitedNatural MultipleDelegation_SameConnector_P_PWP_Operation_main_Read_c_p_result_LiteralUnlimitedNatural60 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_PWP_Operation_main_Read_c_p_result_LiteralInteger61 = new(); + public InputPin MultipleDelegation_SameConnector_P_PWP_Operation_main_Read_c_p_object = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_PWP_Operation_main_Read_c_p_object_LiteralInteger62 = new(); + public LiteralUnlimitedNatural MultipleDelegation_SameConnector_P_PWP_Operation_main_Read_c_p_object_LiteralUnlimitedNatural63 = new(); + public CallBehaviorAction MultipleDelegation_SameConnector_P_PWP_Operation_main_Call_testP = new(); + public InputPin MultipleDelegation_SameConnector_P_PWP_Operation_main_Call_testP_p = new(); + public LiteralUnlimitedNatural MultipleDelegation_SameConnector_P_PWP_Operation_main_Call_testP_p_LiteralUnlimitedNatural64 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_PWP_Operation_main_Call_testP_p_LiteralInteger65 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_PWP_Operation_main_Call_testP_p_LiteralInteger66 = new(); + public ObjectFlow MultipleDelegation_SameConnector_P_PWP_Operation_main_ObjectFlow67 = new(); + public LiteralBoolean MultipleDelegation_SameConnector_P_PWP_Operation_main_ObjectFlow67_LiteralBoolean68 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_PWP_Operation_main_ObjectFlow67_LiteralInteger69 = new(); + public ObjectFlow MultipleDelegation_SameConnector_P_PWP_Operation_main_ObjectFlow70 = new(); + public LiteralBoolean MultipleDelegation_SameConnector_P_PWP_Operation_main_ObjectFlow70_LiteralBoolean71 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_PWP_Operation_main_ObjectFlow70_LiteralInteger72 = new(); + public ValueSpecificationAction MultipleDelegation_SameConnector_P_PWP_Operation_main_Value_4 = new(); + public OutputPin MultipleDelegation_SameConnector_P_PWP_Operation_main_Value_4_result = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_PWP_Operation_main_Value_4_result_LiteralInteger73 = new(); + public LiteralUnlimitedNatural MultipleDelegation_SameConnector_P_PWP_Operation_main_Value_4_result_LiteralUnlimitedNatural74 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_PWP_Operation_main_Value_4_LiteralInteger75 = new(); + public ReadStructuralFeatureAction MultipleDelegation_SameConnector_P_PWP_Operation_main_Read_c_a_ = new(); + public InputPin MultipleDelegation_SameConnector_P_PWP_Operation_main_Read_c_a__object = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_PWP_Operation_main_Read_c_a__object_LiteralInteger76 = new(); + public LiteralUnlimitedNatural MultipleDelegation_SameConnector_P_PWP_Operation_main_Read_c_a__object_LiteralUnlimitedNatural77 = new(); + public OutputPin MultipleDelegation_SameConnector_P_PWP_Operation_main_Read_c_a__result = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_PWP_Operation_main_Read_c_a__result_LiteralInteger78 = new(); + public LiteralUnlimitedNatural MultipleDelegation_SameConnector_P_PWP_Operation_main_Read_c_a__result_LiteralUnlimitedNatural79 = new(); + public Association MultipleDelegation_SameConnector_P_PWP_Operation_R = new(); + public Property MultipleDelegation_SameConnector_P_PWP_Operation_R_x = new(); + public Property MultipleDelegation_SameConnector_P_PWP_Operation_R_y = new(); + public Class_ MultipleDelegation_SameConnector_P_PWP_Operation_C = new(); + public Operation MultipleDelegation_SameConnector_P_PWP_Operation_C_C_C = new(); + public Parameter MultipleDelegation_SameConnector_P_PWP_Operation_C_C_C_result = new(); + public Property MultipleDelegation_SameConnector_P_PWP_Operation_C_a = new(); + public LiteralUnlimitedNatural MultipleDelegation_SameConnector_P_PWP_Operation_C_a_LiteralUnlimitedNatural80 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_PWP_Operation_C_a_LiteralInteger81 = new(); + public Port MultipleDelegation_SameConnector_P_PWP_Operation_C_p = new(); + public Connector MultipleDelegation_SameConnector_P_PWP_Operation_C_u = new(); + public ConnectorEnd MultipleDelegation_SameConnector_P_PWP_Operation_C_u_ConnectorEnd82 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_PWP_Operation_C_u_ConnectorEnd82_LiteralInteger83 = new(); + public LiteralUnlimitedNatural MultipleDelegation_SameConnector_P_PWP_Operation_C_u_ConnectorEnd82_LiteralUnlimitedNatural84 = new(); + public ConnectorEnd MultipleDelegation_SameConnector_P_PWP_Operation_C_u_ConnectorEnd85 = new(); + public LiteralUnlimitedNatural MultipleDelegation_SameConnector_P_PWP_Operation_C_u_ConnectorEnd85_LiteralUnlimitedNatural86 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_PWP_Operation_C_u_ConnectorEnd85_LiteralInteger87 = new(); + public Association MultipleDelegation_SameConnector_P_PWP_Operation_U = new(); + public Property MultipleDelegation_SameConnector_P_PWP_Operation_U_y = new(); + public Property MultipleDelegation_SameConnector_P_PWP_Operation_U_x = new(); + + public static MultipleDelegation_SameConnector_P_PWP_OperationModel Instance() + { + if (instance is null) + { + instance = new(); + instance.InitializeInMemoryModel(); + } + + return instance; + } + + public MultipleDelegation_SameConnector_P_PWP_OperationModel() + { + /* Start of user code : Additional model initializations + * This section may be used to do any additional model initialization, + * for example initializing user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } + + private void InitializeInMemoryModel() + { + // Create public members + /* + * Model MultipleDelegation_SameConnector_P_PWP_Operation + */ + AddToElementRepository("MultipleDelegation_SameConnector_P_PWP_Operation", MultipleDelegation_SameConnector_P_PWP_Operation); + AddToElementRepository("B", MultipleDelegation_SameConnector_P_PWP_Operation_B); + AddToElementRepository("p", MultipleDelegation_SameConnector_P_PWP_Operation_B_p); + AddToElementRepository("LiteralInteger0", MultipleDelegation_SameConnector_P_PWP_Operation_B_p_LiteralInteger0); + AddToElementRepository("IRealization", MultipleDelegation_SameConnector_P_PWP_Operation_B_IRealization); + AddToElementRepository("setP_Integer", MultipleDelegation_SameConnector_P_PWP_Operation_B_setP_Integer); + AddToElementRepository("v", MultipleDelegation_SameConnector_P_PWP_Operation_B_setP_Integer_v); + AddToElementRepository("setPActivity", MultipleDelegation_SameConnector_P_PWP_Operation_B_setPActivity); + AddToElementRepository("vParameterNode", MultipleDelegation_SameConnector_P_PWP_Operation_B_setPActivity_vParameterNode); + AddToElementRepository("LiteralInteger1", MultipleDelegation_SameConnector_P_PWP_Operation_B_setPActivity_vParameterNode_LiteralInteger1); + AddToElementRepository("this", MultipleDelegation_SameConnector_P_PWP_Operation_B_setPActivity_this); + AddToElementRepository("result", MultipleDelegation_SameConnector_P_PWP_Operation_B_setPActivity_this_result); + AddToElementRepository("LiteralUnlimitedNatural2", MultipleDelegation_SameConnector_P_PWP_Operation_B_setPActivity_this_result_LiteralUnlimitedNatural2); + AddToElementRepository("LiteralInteger3", MultipleDelegation_SameConnector_P_PWP_Operation_B_setPActivity_this_result_LiteralInteger3); + AddToElementRepository("ObjectFlow4", MultipleDelegation_SameConnector_P_PWP_Operation_B_setPActivity_ObjectFlow4); + AddToElementRepository("LiteralBoolean5", MultipleDelegation_SameConnector_P_PWP_Operation_B_setPActivity_ObjectFlow4_LiteralBoolean5); + AddToElementRepository("LiteralInteger6", MultipleDelegation_SameConnector_P_PWP_Operation_B_setPActivity_ObjectFlow4_LiteralInteger6); + AddToElementRepository("ObjectFlow7", MultipleDelegation_SameConnector_P_PWP_Operation_B_setPActivity_ObjectFlow7); + AddToElementRepository("LiteralBoolean8", MultipleDelegation_SameConnector_P_PWP_Operation_B_setPActivity_ObjectFlow7_LiteralBoolean8); + AddToElementRepository("LiteralInteger9", MultipleDelegation_SameConnector_P_PWP_Operation_B_setPActivity_ObjectFlow7_LiteralInteger9); + AddToElementRepository("v", MultipleDelegation_SameConnector_P_PWP_Operation_B_setPActivity_v); + AddToElementRepository("Set this.p", MultipleDelegation_SameConnector_P_PWP_Operation_B_setPActivity_Set_this_p); + AddToElementRepository("result", MultipleDelegation_SameConnector_P_PWP_Operation_B_setPActivity_Set_this_p_result); + AddToElementRepository("LiteralUnlimitedNatural10", MultipleDelegation_SameConnector_P_PWP_Operation_B_setPActivity_Set_this_p_result_LiteralUnlimitedNatural10); + AddToElementRepository("LiteralInteger11", MultipleDelegation_SameConnector_P_PWP_Operation_B_setPActivity_Set_this_p_result_LiteralInteger11); + AddToElementRepository("value", MultipleDelegation_SameConnector_P_PWP_Operation_B_setPActivity_Set_this_p_value); + AddToElementRepository("LiteralUnlimitedNatural12", MultipleDelegation_SameConnector_P_PWP_Operation_B_setPActivity_Set_this_p_value_LiteralUnlimitedNatural12); + AddToElementRepository("LiteralInteger13", MultipleDelegation_SameConnector_P_PWP_Operation_B_setPActivity_Set_this_p_value_LiteralInteger13); + AddToElementRepository("object", MultipleDelegation_SameConnector_P_PWP_Operation_B_setPActivity_Set_this_p_object); + AddToElementRepository("LiteralUnlimitedNatural14", MultipleDelegation_SameConnector_P_PWP_Operation_B_setPActivity_Set_this_p_object_LiteralUnlimitedNatural14); + AddToElementRepository("LiteralInteger15", MultipleDelegation_SameConnector_P_PWP_Operation_B_setPActivity_Set_this_p_object_LiteralInteger15); + AddToElementRepository("IImpl", MultipleDelegation_SameConnector_P_PWP_Operation_IImpl); + AddToElementRepository("IRealization", MultipleDelegation_SameConnector_P_PWP_Operation_IImpl_IRealization); + AddToElementRepository("setP_Integer", MultipleDelegation_SameConnector_P_PWP_Operation_IImpl_setP_Integer); + AddToElementRepository("v", MultipleDelegation_SameConnector_P_PWP_Operation_IImpl_setP_Integer_v); + AddToElementRepository("I", MultipleDelegation_SameConnector_P_PWP_Operation_I); + AddToElementRepository("setP_Integer", MultipleDelegation_SameConnector_P_PWP_Operation_I_setP_Integer); + AddToElementRepository("v", MultipleDelegation_SameConnector_P_PWP_Operation_I_setP_Integer_v); + AddToElementRepository("A", MultipleDelegation_SameConnector_P_PWP_Operation_A); + AddToElementRepository("b", MultipleDelegation_SameConnector_P_PWP_Operation_A_b); + AddToElementRepository("q", MultipleDelegation_SameConnector_P_PWP_Operation_A_q); + AddToElementRepository("r", MultipleDelegation_SameConnector_P_PWP_Operation_A_r); + AddToElementRepository("ConnectorEnd16", MultipleDelegation_SameConnector_P_PWP_Operation_A_r_ConnectorEnd16); + AddToElementRepository("ConnectorEnd17", MultipleDelegation_SameConnector_P_PWP_Operation_A_r_ConnectorEnd17); + AddToElementRepository("main", MultipleDelegation_SameConnector_P_PWP_Operation_main); + AddToElementRepository("ObjectFlow18", MultipleDelegation_SameConnector_P_PWP_Operation_main_ObjectFlow18); + AddToElementRepository("LiteralBoolean19", MultipleDelegation_SameConnector_P_PWP_Operation_main_ObjectFlow18_LiteralBoolean19); + AddToElementRepository("LiteralInteger20", MultipleDelegation_SameConnector_P_PWP_Operation_main_ObjectFlow18_LiteralInteger20); + AddToElementRepository("C()", MultipleDelegation_SameConnector_P_PWP_Operation_main_C_); + AddToElementRepository("result", MultipleDelegation_SameConnector_P_PWP_Operation_main_C__result); + AddToElementRepository("LiteralUnlimitedNatural21", MultipleDelegation_SameConnector_P_PWP_Operation_main_C__result_LiteralUnlimitedNatural21); + AddToElementRepository("LiteralInteger22", MultipleDelegation_SameConnector_P_PWP_Operation_main_C__result_LiteralInteger22); + AddToElementRepository("LiteralInteger23", MultipleDelegation_SameConnector_P_PWP_Operation_main_C__result_LiteralInteger23); + AddToElementRepository("target", MultipleDelegation_SameConnector_P_PWP_Operation_main_C__target); + AddToElementRepository("LiteralInteger24", MultipleDelegation_SameConnector_P_PWP_Operation_main_C__target_LiteralInteger24); + AddToElementRepository("LiteralUnlimitedNatural25", MultipleDelegation_SameConnector_P_PWP_Operation_main_C__target_LiteralUnlimitedNatural25); + AddToElementRepository("Read a.b", MultipleDelegation_SameConnector_P_PWP_Operation_main_Read_a_b); + AddToElementRepository("object", MultipleDelegation_SameConnector_P_PWP_Operation_main_Read_a_b_object); + AddToElementRepository("LiteralInteger26", MultipleDelegation_SameConnector_P_PWP_Operation_main_Read_a_b_object_LiteralInteger26); + AddToElementRepository("LiteralUnlimitedNatural27", MultipleDelegation_SameConnector_P_PWP_Operation_main_Read_a_b_object_LiteralUnlimitedNatural27); + AddToElementRepository("result", MultipleDelegation_SameConnector_P_PWP_Operation_main_Read_a_b_result); + AddToElementRepository("LiteralUnlimitedNatural28", MultipleDelegation_SameConnector_P_PWP_Operation_main_Read_a_b_result_LiteralUnlimitedNatural28); + AddToElementRepository("LiteralInteger29", MultipleDelegation_SameConnector_P_PWP_Operation_main_Read_a_b_result_LiteralInteger29); + AddToElementRepository("Read b.p", MultipleDelegation_SameConnector_P_PWP_Operation_main_Read_b_p); + AddToElementRepository("result", MultipleDelegation_SameConnector_P_PWP_Operation_main_Read_b_p_result); + AddToElementRepository("LiteralUnlimitedNatural30", MultipleDelegation_SameConnector_P_PWP_Operation_main_Read_b_p_result_LiteralUnlimitedNatural30); + AddToElementRepository("LiteralInteger31", MultipleDelegation_SameConnector_P_PWP_Operation_main_Read_b_p_result_LiteralInteger31); + AddToElementRepository("object", MultipleDelegation_SameConnector_P_PWP_Operation_main_Read_b_p_object); + AddToElementRepository("LiteralUnlimitedNatural32", MultipleDelegation_SameConnector_P_PWP_Operation_main_Read_b_p_object_LiteralUnlimitedNatural32); + AddToElementRepository("LiteralInteger33", MultipleDelegation_SameConnector_P_PWP_Operation_main_Read_b_p_object_LiteralInteger33); + AddToElementRepository("ControlFlow34", MultipleDelegation_SameConnector_P_PWP_Operation_main_ControlFlow34); + AddToElementRepository("ObjectFlow35", MultipleDelegation_SameConnector_P_PWP_Operation_main_ObjectFlow35); + AddToElementRepository("LiteralBoolean36", MultipleDelegation_SameConnector_P_PWP_Operation_main_ObjectFlow35_LiteralBoolean36); + AddToElementRepository("LiteralInteger37", MultipleDelegation_SameConnector_P_PWP_Operation_main_ObjectFlow35_LiteralInteger37); + AddToElementRepository("Create C", MultipleDelegation_SameConnector_P_PWP_Operation_main_Create_C); + AddToElementRepository("result", MultipleDelegation_SameConnector_P_PWP_Operation_main_Create_C_result); + AddToElementRepository("LiteralUnlimitedNatural38", MultipleDelegation_SameConnector_P_PWP_Operation_main_Create_C_result_LiteralUnlimitedNatural38); + AddToElementRepository("LiteralInteger39", MultipleDelegation_SameConnector_P_PWP_Operation_main_Create_C_result_LiteralInteger39); + AddToElementRepository("testP", MultipleDelegation_SameConnector_P_PWP_Operation_main_testP); + AddToElementRepository("p", MultipleDelegation_SameConnector_P_PWP_Operation_main_testP_p); + AddToElementRepository("Fork C", MultipleDelegation_SameConnector_P_PWP_Operation_main_Fork_C); + AddToElementRepository("ObjectFlow40", MultipleDelegation_SameConnector_P_PWP_Operation_main_ObjectFlow40); + AddToElementRepository("LiteralInteger41", MultipleDelegation_SameConnector_P_PWP_Operation_main_ObjectFlow40_LiteralInteger41); + AddToElementRepository("LiteralBoolean42", MultipleDelegation_SameConnector_P_PWP_Operation_main_ObjectFlow40_LiteralBoolean42); + AddToElementRepository("ObjectFlow43", MultipleDelegation_SameConnector_P_PWP_Operation_main_ObjectFlow43); + AddToElementRepository("LiteralBoolean44", MultipleDelegation_SameConnector_P_PWP_Operation_main_ObjectFlow43_LiteralBoolean44); + AddToElementRepository("LiteralInteger45", MultipleDelegation_SameConnector_P_PWP_Operation_main_ObjectFlow43_LiteralInteger45); + AddToElementRepository("ObjectFlow46", MultipleDelegation_SameConnector_P_PWP_Operation_main_ObjectFlow46); + AddToElementRepository("LiteralInteger47", MultipleDelegation_SameConnector_P_PWP_Operation_main_ObjectFlow46_LiteralInteger47); + AddToElementRepository("LiteralBoolean48", MultipleDelegation_SameConnector_P_PWP_Operation_main_ObjectFlow46_LiteralBoolean48); + AddToElementRepository("ObjectFlow49", MultipleDelegation_SameConnector_P_PWP_Operation_main_ObjectFlow49); + AddToElementRepository("LiteralInteger50", MultipleDelegation_SameConnector_P_PWP_Operation_main_ObjectFlow49_LiteralInteger50); + AddToElementRepository("LiteralBoolean51", MultipleDelegation_SameConnector_P_PWP_Operation_main_ObjectFlow49_LiteralBoolean51); + AddToElementRepository("Call p.setP()", MultipleDelegation_SameConnector_P_PWP_Operation_main_Call_p_setP_); + AddToElementRepository("v", MultipleDelegation_SameConnector_P_PWP_Operation_main_Call_p_setP__v); + AddToElementRepository("LiteralInteger52", MultipleDelegation_SameConnector_P_PWP_Operation_main_Call_p_setP__v_LiteralInteger52); + AddToElementRepository("LiteralInteger53", MultipleDelegation_SameConnector_P_PWP_Operation_main_Call_p_setP__v_LiteralInteger53); + AddToElementRepository("LiteralUnlimitedNatural54", MultipleDelegation_SameConnector_P_PWP_Operation_main_Call_p_setP__v_LiteralUnlimitedNatural54); + AddToElementRepository("target", MultipleDelegation_SameConnector_P_PWP_Operation_main_Call_p_setP__target); + AddToElementRepository("LiteralInteger55", MultipleDelegation_SameConnector_P_PWP_Operation_main_Call_p_setP__target_LiteralInteger55); + AddToElementRepository("LiteralUnlimitedNatural56", MultipleDelegation_SameConnector_P_PWP_Operation_main_Call_p_setP__target_LiteralUnlimitedNatural56); + AddToElementRepository("ObjectFlow57", MultipleDelegation_SameConnector_P_PWP_Operation_main_ObjectFlow57); + AddToElementRepository("LiteralBoolean58", MultipleDelegation_SameConnector_P_PWP_Operation_main_ObjectFlow57_LiteralBoolean58); + AddToElementRepository("LiteralInteger59", MultipleDelegation_SameConnector_P_PWP_Operation_main_ObjectFlow57_LiteralInteger59); + AddToElementRepository("Read c.p", MultipleDelegation_SameConnector_P_PWP_Operation_main_Read_c_p); + AddToElementRepository("result", MultipleDelegation_SameConnector_P_PWP_Operation_main_Read_c_p_result); + AddToElementRepository("LiteralUnlimitedNatural60", MultipleDelegation_SameConnector_P_PWP_Operation_main_Read_c_p_result_LiteralUnlimitedNatural60); + AddToElementRepository("LiteralInteger61", MultipleDelegation_SameConnector_P_PWP_Operation_main_Read_c_p_result_LiteralInteger61); + AddToElementRepository("object", MultipleDelegation_SameConnector_P_PWP_Operation_main_Read_c_p_object); + AddToElementRepository("LiteralInteger62", MultipleDelegation_SameConnector_P_PWP_Operation_main_Read_c_p_object_LiteralInteger62); + AddToElementRepository("LiteralUnlimitedNatural63", MultipleDelegation_SameConnector_P_PWP_Operation_main_Read_c_p_object_LiteralUnlimitedNatural63); + AddToElementRepository("Call testP", MultipleDelegation_SameConnector_P_PWP_Operation_main_Call_testP); + AddToElementRepository("p", MultipleDelegation_SameConnector_P_PWP_Operation_main_Call_testP_p); + AddToElementRepository("LiteralUnlimitedNatural64", MultipleDelegation_SameConnector_P_PWP_Operation_main_Call_testP_p_LiteralUnlimitedNatural64); + AddToElementRepository("LiteralInteger65", MultipleDelegation_SameConnector_P_PWP_Operation_main_Call_testP_p_LiteralInteger65); + AddToElementRepository("LiteralInteger66", MultipleDelegation_SameConnector_P_PWP_Operation_main_Call_testP_p_LiteralInteger66); + AddToElementRepository("ObjectFlow67", MultipleDelegation_SameConnector_P_PWP_Operation_main_ObjectFlow67); + AddToElementRepository("LiteralBoolean68", MultipleDelegation_SameConnector_P_PWP_Operation_main_ObjectFlow67_LiteralBoolean68); + AddToElementRepository("LiteralInteger69", MultipleDelegation_SameConnector_P_PWP_Operation_main_ObjectFlow67_LiteralInteger69); + AddToElementRepository("ObjectFlow70", MultipleDelegation_SameConnector_P_PWP_Operation_main_ObjectFlow70); + AddToElementRepository("LiteralBoolean71", MultipleDelegation_SameConnector_P_PWP_Operation_main_ObjectFlow70_LiteralBoolean71); + AddToElementRepository("LiteralInteger72", MultipleDelegation_SameConnector_P_PWP_Operation_main_ObjectFlow70_LiteralInteger72); + AddToElementRepository("Value(4)", MultipleDelegation_SameConnector_P_PWP_Operation_main_Value_4); + AddToElementRepository("result", MultipleDelegation_SameConnector_P_PWP_Operation_main_Value_4_result); + AddToElementRepository("LiteralInteger73", MultipleDelegation_SameConnector_P_PWP_Operation_main_Value_4_result_LiteralInteger73); + AddToElementRepository("LiteralUnlimitedNatural74", MultipleDelegation_SameConnector_P_PWP_Operation_main_Value_4_result_LiteralUnlimitedNatural74); + AddToElementRepository("LiteralInteger75", MultipleDelegation_SameConnector_P_PWP_Operation_main_Value_4_LiteralInteger75); + AddToElementRepository("Read c.a[]", MultipleDelegation_SameConnector_P_PWP_Operation_main_Read_c_a_); + AddToElementRepository("object", MultipleDelegation_SameConnector_P_PWP_Operation_main_Read_c_a__object); + AddToElementRepository("LiteralInteger76", MultipleDelegation_SameConnector_P_PWP_Operation_main_Read_c_a__object_LiteralInteger76); + AddToElementRepository("LiteralUnlimitedNatural77", MultipleDelegation_SameConnector_P_PWP_Operation_main_Read_c_a__object_LiteralUnlimitedNatural77); + AddToElementRepository("result", MultipleDelegation_SameConnector_P_PWP_Operation_main_Read_c_a__result); + AddToElementRepository("LiteralInteger78", MultipleDelegation_SameConnector_P_PWP_Operation_main_Read_c_a__result_LiteralInteger78); + AddToElementRepository("LiteralUnlimitedNatural79", MultipleDelegation_SameConnector_P_PWP_Operation_main_Read_c_a__result_LiteralUnlimitedNatural79); + AddToElementRepository("R", MultipleDelegation_SameConnector_P_PWP_Operation_R); + AddToElementRepository("x", MultipleDelegation_SameConnector_P_PWP_Operation_R_x); + AddToElementRepository("y", MultipleDelegation_SameConnector_P_PWP_Operation_R_y); + AddToElementRepository("C", MultipleDelegation_SameConnector_P_PWP_Operation_C); + AddToElementRepository("C_C", MultipleDelegation_SameConnector_P_PWP_Operation_C_C_C); + AddToElementRepository("result", MultipleDelegation_SameConnector_P_PWP_Operation_C_C_C_result); + AddToElementRepository("a", MultipleDelegation_SameConnector_P_PWP_Operation_C_a); + AddToElementRepository("LiteralUnlimitedNatural80", MultipleDelegation_SameConnector_P_PWP_Operation_C_a_LiteralUnlimitedNatural80); + AddToElementRepository("LiteralInteger81", MultipleDelegation_SameConnector_P_PWP_Operation_C_a_LiteralInteger81); + AddToElementRepository("p", MultipleDelegation_SameConnector_P_PWP_Operation_C_p); + AddToElementRepository("u", MultipleDelegation_SameConnector_P_PWP_Operation_C_u); + AddToElementRepository("ConnectorEnd82", MultipleDelegation_SameConnector_P_PWP_Operation_C_u_ConnectorEnd82); + AddToElementRepository("LiteralInteger83", MultipleDelegation_SameConnector_P_PWP_Operation_C_u_ConnectorEnd82_LiteralInteger83); + AddToElementRepository("LiteralUnlimitedNatural84", MultipleDelegation_SameConnector_P_PWP_Operation_C_u_ConnectorEnd82_LiteralUnlimitedNatural84); + AddToElementRepository("ConnectorEnd85", MultipleDelegation_SameConnector_P_PWP_Operation_C_u_ConnectorEnd85); + AddToElementRepository("LiteralUnlimitedNatural86", MultipleDelegation_SameConnector_P_PWP_Operation_C_u_ConnectorEnd85_LiteralUnlimitedNatural86); + AddToElementRepository("LiteralInteger87", MultipleDelegation_SameConnector_P_PWP_Operation_C_u_ConnectorEnd85_LiteralInteger87); + AddToElementRepository("U", MultipleDelegation_SameConnector_P_PWP_Operation_U); + AddToElementRepository("y", MultipleDelegation_SameConnector_P_PWP_Operation_U_y); + AddToElementRepository("x", MultipleDelegation_SameConnector_P_PWP_Operation_U_x); + + // Initialize public members + /* + * Model MultipleDelegation_SameConnector_P_PWP_Operation + */ + MultipleDelegation_SameConnector_P_PWP_Operation.SetName("MultipleDelegation_SameConnector_P_PWP_Operation"); + MultipleDelegation_SameConnector_P_PWP_Operation.SetVisibility(VisibilityKind.public_); + // Class B + MultipleDelegation_SameConnector_P_PWP_Operation_B.SetName("B"); + MultipleDelegation_SameConnector_P_PWP_Operation_B.SetVisibility(VisibilityKind.public_); + + // Property p + MultipleDelegation_SameConnector_P_PWP_Operation_B_p.SetName("p"); + MultipleDelegation_SameConnector_P_PWP_Operation_B_p.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_SameConnector_P_PWP_Operation_B_p.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + // LiteralInteger LiteralInteger0 + MultipleDelegation_SameConnector_P_PWP_Operation_B_p_LiteralInteger0.SetName("LiteralInteger0"); + MultipleDelegation_SameConnector_P_PWP_Operation_B_p_LiteralInteger0.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_PWP_Operation_B_p_LiteralInteger0.SetValue(0); + MultipleDelegation_SameConnector_P_PWP_Operation_B_p.SetDefaultValue(MultipleDelegation_SameConnector_P_PWP_Operation_B_p_LiteralInteger0); + MultipleDelegation_SameConnector_P_PWP_Operation_B.AddOwnedAttribute(MultipleDelegation_SameConnector_P_PWP_Operation_B_p); + // Activity setPActivity + MultipleDelegation_SameConnector_P_PWP_Operation_B_setPActivity.SetName("setPActivity"); + MultipleDelegation_SameConnector_P_PWP_Operation_B_setPActivity.SetVisibility(VisibilityKind.public_); + + // Parameter v + MultipleDelegation_SameConnector_P_PWP_Operation_B_setPActivity_v.SetName("v"); + MultipleDelegation_SameConnector_P_PWP_Operation_B_setPActivity_v.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_SameConnector_P_PWP_Operation_B_setPActivity_v.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + MultipleDelegation_SameConnector_P_PWP_Operation_B_setPActivity.AddOwnedParameter(MultipleDelegation_SameConnector_P_PWP_Operation_B_setPActivity_v); + // ActivityParameterNode vParameterNode + MultipleDelegation_SameConnector_P_PWP_Operation_B_setPActivity_vParameterNode.SetName("vParameterNode"); + MultipleDelegation_SameConnector_P_PWP_Operation_B_setPActivity_vParameterNode.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_SameConnector_P_PWP_Operation_B_setPActivity_vParameterNode.SetParameter(MultipleDelegation_SameConnector_P_PWP_Operation_B_setPActivity_v); + MultipleDelegation_SameConnector_P_PWP_Operation_B_setPActivity.AddNode(MultipleDelegation_SameConnector_P_PWP_Operation_B_setPActivity_vParameterNode); + // ReadSelfAction this + MultipleDelegation_SameConnector_P_PWP_Operation_B_setPActivity_this.SetName("this"); + MultipleDelegation_SameConnector_P_PWP_Operation_B_setPActivity_this.SetVisibility(VisibilityKind.public_); + // OutputPin result + MultipleDelegation_SameConnector_P_PWP_Operation_B_setPActivity_this_result.SetName("result"); + MultipleDelegation_SameConnector_P_PWP_Operation_B_setPActivity_this_result.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_PWP_Operation_B_setPActivity_this_result.SetType(MultipleDelegation_SameConnector_P_PWP_Operation_B); + MultipleDelegation_SameConnector_P_PWP_Operation_B_setPActivity_this.SetResult(MultipleDelegation_SameConnector_P_PWP_Operation_B_setPActivity_this_result); + MultipleDelegation_SameConnector_P_PWP_Operation_B_setPActivity.AddNode(MultipleDelegation_SameConnector_P_PWP_Operation_B_setPActivity_this); + // AddStructuralFeatureValueAction Set this.p + MultipleDelegation_SameConnector_P_PWP_Operation_B_setPActivity_Set_this_p.SetName("Set this.p"); + MultipleDelegation_SameConnector_P_PWP_Operation_B_setPActivity_Set_this_p.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_PWP_Operation_B_setPActivity_Set_this_p.SetStructuralFeature(MultipleDelegation_SameConnector_P_PWP_Operation_B_p); + // InputPin object + MultipleDelegation_SameConnector_P_PWP_Operation_B_setPActivity_Set_this_p_object.SetName("object"); + MultipleDelegation_SameConnector_P_PWP_Operation_B_setPActivity_Set_this_p_object.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_PWP_Operation_B_setPActivity_Set_this_p_object.SetType(MultipleDelegation_SameConnector_P_PWP_Operation_B); + MultipleDelegation_SameConnector_P_PWP_Operation_B_setPActivity_Set_this_p.SetObject(MultipleDelegation_SameConnector_P_PWP_Operation_B_setPActivity_Set_this_p_object); + // InputPin value + MultipleDelegation_SameConnector_P_PWP_Operation_B_setPActivity_Set_this_p_value.SetName("value"); + MultipleDelegation_SameConnector_P_PWP_Operation_B_setPActivity_Set_this_p_value.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_PWP_Operation_B_setPActivity_Set_this_p_value.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + MultipleDelegation_SameConnector_P_PWP_Operation_B_setPActivity_Set_this_p.SetValue(MultipleDelegation_SameConnector_P_PWP_Operation_B_setPActivity_Set_this_p_value); + // OutputPin result + MultipleDelegation_SameConnector_P_PWP_Operation_B_setPActivity_Set_this_p_result.SetName("result"); + MultipleDelegation_SameConnector_P_PWP_Operation_B_setPActivity_Set_this_p_result.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_PWP_Operation_B_setPActivity_Set_this_p_result.SetType(MultipleDelegation_SameConnector_P_PWP_Operation_B); + MultipleDelegation_SameConnector_P_PWP_Operation_B_setPActivity_Set_this_p.SetResult(MultipleDelegation_SameConnector_P_PWP_Operation_B_setPActivity_Set_this_p_result); + MultipleDelegation_SameConnector_P_PWP_Operation_B_setPActivity.AddNode(MultipleDelegation_SameConnector_P_PWP_Operation_B_setPActivity_Set_this_p); + // ObjectFlow ObjectFlow4 from vParameterNode to value + MultipleDelegation_SameConnector_P_PWP_Operation_B_setPActivity_ObjectFlow4.SetName("ObjectFlow4"); + MultipleDelegation_SameConnector_P_PWP_Operation_B_setPActivity_ObjectFlow4.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_SameConnector_P_PWP_Operation_B_setPActivity_ObjectFlow4.SetSource(MultipleDelegation_SameConnector_P_PWP_Operation_B_setPActivity_vParameterNode); + MultipleDelegation_SameConnector_P_PWP_Operation_B_setPActivity_ObjectFlow4.SetTarget(MultipleDelegation_SameConnector_P_PWP_Operation_B_setPActivity_Set_this_p_value); + // LiteralBoolean LiteralBoolean5 + MultipleDelegation_SameConnector_P_PWP_Operation_B_setPActivity_ObjectFlow4_LiteralBoolean5.SetName("LiteralBoolean5"); + MultipleDelegation_SameConnector_P_PWP_Operation_B_setPActivity_ObjectFlow4_LiteralBoolean5.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_PWP_Operation_B_setPActivity_ObjectFlow4_LiteralBoolean5.SetValue(true); + MultipleDelegation_SameConnector_P_PWP_Operation_B_setPActivity_ObjectFlow4.SetGuard(MultipleDelegation_SameConnector_P_PWP_Operation_B_setPActivity_ObjectFlow4_LiteralBoolean5); + MultipleDelegation_SameConnector_P_PWP_Operation_B_setPActivity.AddEdge(MultipleDelegation_SameConnector_P_PWP_Operation_B_setPActivity_ObjectFlow4); + // ObjectFlow ObjectFlow7 from result to object + MultipleDelegation_SameConnector_P_PWP_Operation_B_setPActivity_ObjectFlow7.SetName("ObjectFlow7"); + MultipleDelegation_SameConnector_P_PWP_Operation_B_setPActivity_ObjectFlow7.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_SameConnector_P_PWP_Operation_B_setPActivity_ObjectFlow7.SetSource(MultipleDelegation_SameConnector_P_PWP_Operation_B_setPActivity_this_result); + MultipleDelegation_SameConnector_P_PWP_Operation_B_setPActivity_ObjectFlow7.SetTarget(MultipleDelegation_SameConnector_P_PWP_Operation_B_setPActivity_Set_this_p_object); + // LiteralBoolean LiteralBoolean8 + MultipleDelegation_SameConnector_P_PWP_Operation_B_setPActivity_ObjectFlow7_LiteralBoolean8.SetName("LiteralBoolean8"); + MultipleDelegation_SameConnector_P_PWP_Operation_B_setPActivity_ObjectFlow7_LiteralBoolean8.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_PWP_Operation_B_setPActivity_ObjectFlow7_LiteralBoolean8.SetValue(true); + MultipleDelegation_SameConnector_P_PWP_Operation_B_setPActivity_ObjectFlow7.SetGuard(MultipleDelegation_SameConnector_P_PWP_Operation_B_setPActivity_ObjectFlow7_LiteralBoolean8); + MultipleDelegation_SameConnector_P_PWP_Operation_B_setPActivity.AddEdge(MultipleDelegation_SameConnector_P_PWP_Operation_B_setPActivity_ObjectFlow7); + MultipleDelegation_SameConnector_P_PWP_Operation_B.AddOwnedBehavior(MultipleDelegation_SameConnector_P_PWP_Operation_B_setPActivity); + MultipleDelegation_SameConnector_P_PWP_Operation_B_IRealization.SetName("IRealization"); + MultipleDelegation_SameConnector_P_PWP_Operation_B_IRealization.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_PWP_Operation_B_IRealization.SetContract(MultipleDelegation_SameConnector_P_PWP_Operation_I); + + MultipleDelegation_SameConnector_P_PWP_Operation_B.AddInterfaceRealization(MultipleDelegation_SameConnector_P_PWP_Operation_B_IRealization); + + // Operation setP_Integer + MultipleDelegation_SameConnector_P_PWP_Operation_B_setP_Integer.SetName("setP_Integer"); + MultipleDelegation_SameConnector_P_PWP_Operation_B_setP_Integer.SetVisibility(VisibilityKind.public_); + // Parameter v + MultipleDelegation_SameConnector_P_PWP_Operation_B_setP_Integer_v.SetName("v"); + MultipleDelegation_SameConnector_P_PWP_Operation_B_setP_Integer_v.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_SameConnector_P_PWP_Operation_B_setP_Integer_v.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + MultipleDelegation_SameConnector_P_PWP_Operation_B_setP_Integer.AddOwnedParameter(MultipleDelegation_SameConnector_P_PWP_Operation_B_setP_Integer_v); + MultipleDelegation_SameConnector_P_PWP_Operation_B_setP_Integer.AddMethod(MultipleDelegation_SameConnector_P_PWP_Operation_B_setPActivity); + MultipleDelegation_SameConnector_P_PWP_Operation_B.AddOwnedOperation(MultipleDelegation_SameConnector_P_PWP_Operation_B_setP_Integer); + MultipleDelegation_SameConnector_P_PWP_Operation.AddPackagedElement(MultipleDelegation_SameConnector_P_PWP_Operation_B); + // Class IImpl + MultipleDelegation_SameConnector_P_PWP_Operation_IImpl.SetName("IImpl"); + MultipleDelegation_SameConnector_P_PWP_Operation_IImpl.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_PWP_Operation_IImpl_IRealization.SetName("IRealization"); + MultipleDelegation_SameConnector_P_PWP_Operation_IImpl_IRealization.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_PWP_Operation_IImpl_IRealization.SetContract(MultipleDelegation_SameConnector_P_PWP_Operation_I); + + MultipleDelegation_SameConnector_P_PWP_Operation_IImpl.AddInterfaceRealization(MultipleDelegation_SameConnector_P_PWP_Operation_IImpl_IRealization); + + // Operation setP_Integer + MultipleDelegation_SameConnector_P_PWP_Operation_IImpl_setP_Integer.SetName("setP_Integer"); + MultipleDelegation_SameConnector_P_PWP_Operation_IImpl_setP_Integer.SetVisibility(VisibilityKind.public_); + // Parameter v + MultipleDelegation_SameConnector_P_PWP_Operation_IImpl_setP_Integer_v.SetName("v"); + MultipleDelegation_SameConnector_P_PWP_Operation_IImpl_setP_Integer_v.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_SameConnector_P_PWP_Operation_IImpl_setP_Integer_v.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + MultipleDelegation_SameConnector_P_PWP_Operation_IImpl_setP_Integer.AddOwnedParameter(MultipleDelegation_SameConnector_P_PWP_Operation_IImpl_setP_Integer_v); + MultipleDelegation_SameConnector_P_PWP_Operation_IImpl.AddOwnedOperation(MultipleDelegation_SameConnector_P_PWP_Operation_IImpl_setP_Integer); + MultipleDelegation_SameConnector_P_PWP_Operation.AddPackagedElement(MultipleDelegation_SameConnector_P_PWP_Operation_IImpl); + // Interface I + MultipleDelegation_SameConnector_P_PWP_Operation_I.SetName("I"); + MultipleDelegation_SameConnector_P_PWP_Operation_I.SetVisibility(VisibilityKind.public_); + // Operation setP_Integer + MultipleDelegation_SameConnector_P_PWP_Operation_I_setP_Integer.SetName("setP_Integer"); + MultipleDelegation_SameConnector_P_PWP_Operation_I_setP_Integer.SetVisibility(VisibilityKind.public_); + // Parameter v + MultipleDelegation_SameConnector_P_PWP_Operation_I_setP_Integer_v.SetName("v"); + MultipleDelegation_SameConnector_P_PWP_Operation_I_setP_Integer_v.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_SameConnector_P_PWP_Operation_I_setP_Integer_v.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + MultipleDelegation_SameConnector_P_PWP_Operation_I_setP_Integer.AddOwnedParameter(MultipleDelegation_SameConnector_P_PWP_Operation_I_setP_Integer_v); + MultipleDelegation_SameConnector_P_PWP_Operation_I.AddOwnedOperation(MultipleDelegation_SameConnector_P_PWP_Operation_I_setP_Integer); + MultipleDelegation_SameConnector_P_PWP_Operation.AddPackagedElement(MultipleDelegation_SameConnector_P_PWP_Operation_I); + // Class A + MultipleDelegation_SameConnector_P_PWP_Operation_A.SetName("A"); + MultipleDelegation_SameConnector_P_PWP_Operation_A.SetVisibility(VisibilityKind.public_); + + // Port q + MultipleDelegation_SameConnector_P_PWP_Operation_A_q.SetName("q"); + MultipleDelegation_SameConnector_P_PWP_Operation_A_q.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_SameConnector_P_PWP_Operation_A_q.SetType(MultipleDelegation_SameConnector_P_PWP_Operation_IImpl); + MultipleDelegation_SameConnector_P_PWP_Operation_A_q.SetAggregation(AggregationKind.composite); + MultipleDelegation_SameConnector_P_PWP_Operation_A_q.isService = true; + MultipleDelegation_SameConnector_P_PWP_Operation_A_q.AddProvided(MultipleDelegation_SameConnector_P_PWP_Operation_I); + MultipleDelegation_SameConnector_P_PWP_Operation_A.AddOwnedAttribute(MultipleDelegation_SameConnector_P_PWP_Operation_A_q); + // Property b + MultipleDelegation_SameConnector_P_PWP_Operation_A_b.SetName("b"); + MultipleDelegation_SameConnector_P_PWP_Operation_A_b.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_SameConnector_P_PWP_Operation_A_b.SetType(MultipleDelegation_SameConnector_P_PWP_Operation_B); + MultipleDelegation_SameConnector_P_PWP_Operation_A_b.SetAggregation(AggregationKind.composite); + MultipleDelegation_SameConnector_P_PWP_Operation_A.AddOwnedAttribute(MultipleDelegation_SameConnector_P_PWP_Operation_A_b); + + MultipleDelegation_SameConnector_P_PWP_Operation_A_r.SetName("r"); + MultipleDelegation_SameConnector_P_PWP_Operation_A_r.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_SameConnector_P_PWP_Operation_A_r_ConnectorEnd16.SetRole(MultipleDelegation_SameConnector_P_PWP_Operation_A_q); + + MultipleDelegation_SameConnector_P_PWP_Operation_A_r.AddEnd(MultipleDelegation_SameConnector_P_PWP_Operation_A_r_ConnectorEnd16); + + MultipleDelegation_SameConnector_P_PWP_Operation_A_r_ConnectorEnd17.SetRole(MultipleDelegation_SameConnector_P_PWP_Operation_A_b); + + MultipleDelegation_SameConnector_P_PWP_Operation_A_r.AddEnd(MultipleDelegation_SameConnector_P_PWP_Operation_A_r_ConnectorEnd17); + MultipleDelegation_SameConnector_P_PWP_Operation_A_r.SetType(MultipleDelegation_SameConnector_P_PWP_Operation_R); + MultipleDelegation_SameConnector_P_PWP_Operation_A.AddOwnedConnector(MultipleDelegation_SameConnector_P_PWP_Operation_A_r); + MultipleDelegation_SameConnector_P_PWP_Operation.AddPackagedElement(MultipleDelegation_SameConnector_P_PWP_Operation_A); + // Activity main + MultipleDelegation_SameConnector_P_PWP_Operation_main.SetName("main"); + MultipleDelegation_SameConnector_P_PWP_Operation_main.SetVisibility(VisibilityKind.public_); + // FunctionBehavior testP + MultipleDelegation_SameConnector_P_PWP_Operation_main_testP.SetName("testP"); + MultipleDelegation_SameConnector_P_PWP_Operation_main_testP.SetVisibility(VisibilityKind.public_); + + // Parameter p + MultipleDelegation_SameConnector_P_PWP_Operation_main_testP_p.SetName("p"); + MultipleDelegation_SameConnector_P_PWP_Operation_main_testP_p.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_SameConnector_P_PWP_Operation_main_testP_p.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + MultipleDelegation_SameConnector_P_PWP_Operation_main_testP.AddOwnedParameter(MultipleDelegation_SameConnector_P_PWP_Operation_main_testP_p); + MultipleDelegation_SameConnector_P_PWP_Operation_main_testP.AddLanguage("C#"); + MultipleDelegation_SameConnector_P_PWP_Operation_main_testP.AddLanguage("Using"); + MultipleDelegation_SameConnector_P_PWP_Operation_main_testP.AddBody("if(index == 1) { Console.WriteLine(\"Asserting c.a[1].b.p == 4 || c.a[2].b.p == 4 || c.a[3].b.p == 4 || c.a[4].b.c == 4\"); } // For some reason, during the first execution of the expansion region, its body is actually executed twice. // Because of that, the body is actually executaed 5 times in total. This if-statement covers that up until solved. if (index <= MAX_INDEX) { // Test parameter p int p = ((IntegerValue)inputParameters.ElementAt(0).values.ElementAt(0)).value; Debug.Println(\"[doBody] argument p = \" + p); Console.WriteLine( \"c.a[\" + index + \"].b.p == \" + p); success = success || (p == 4); if (index == MAX_INDEX) { Console.Write(\"Operation call delegated: \"); if (success) { Console.ForegroundColor = ConsoleColor.Green; Console.WriteLine(\"Assertion successful.\"); } else { Console.ForegroundColor = ConsoleColor.Red; Console.WriteLine(\"Assertion failed!\"); } Console.ResetColor(); } } index++;"); + MultipleDelegation_SameConnector_P_PWP_Operation_main_testP.AddBody("using fuml.semantics.simpleclassifiers; "); + MultipleDelegation_SameConnector_P_PWP_Operation_main.AddOwnedBehavior(MultipleDelegation_SameConnector_P_PWP_Operation_main_testP); + // ForkNode Fork C + MultipleDelegation_SameConnector_P_PWP_Operation_main_Fork_C.SetName("Fork C"); + MultipleDelegation_SameConnector_P_PWP_Operation_main_Fork_C.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_PWP_Operation_main.AddNode(MultipleDelegation_SameConnector_P_PWP_Operation_main_Fork_C); + // CallOperationAction C() + MultipleDelegation_SameConnector_P_PWP_Operation_main_C_.SetName("C()"); + MultipleDelegation_SameConnector_P_PWP_Operation_main_C_.SetVisibility(VisibilityKind.public_); + + // OutputPin result + MultipleDelegation_SameConnector_P_PWP_Operation_main_C__result.SetName("result"); + MultipleDelegation_SameConnector_P_PWP_Operation_main_C__result.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_PWP_Operation_main_C__result.SetType(MultipleDelegation_SameConnector_P_PWP_Operation_C); + MultipleDelegation_SameConnector_P_PWP_Operation_main_C_.AddResult(MultipleDelegation_SameConnector_P_PWP_Operation_main_C__result); + MultipleDelegation_SameConnector_P_PWP_Operation_main_C_.SetOperation(MultipleDelegation_SameConnector_P_PWP_Operation_C_C_C); + // InputPin target + MultipleDelegation_SameConnector_P_PWP_Operation_main_C__target.SetName("target"); + MultipleDelegation_SameConnector_P_PWP_Operation_main_C__target.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_PWP_Operation_main_C__target.SetType(MultipleDelegation_SameConnector_P_PWP_Operation_C); + MultipleDelegation_SameConnector_P_PWP_Operation_main_C_.SetTarget(MultipleDelegation_SameConnector_P_PWP_Operation_main_C__target); + MultipleDelegation_SameConnector_P_PWP_Operation_main.AddNode(MultipleDelegation_SameConnector_P_PWP_Operation_main_C_); + // CallOperationAction Call p.setP() + MultipleDelegation_SameConnector_P_PWP_Operation_main_Call_p_setP_.SetName("Call p.setP()"); + MultipleDelegation_SameConnector_P_PWP_Operation_main_Call_p_setP_.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_PWP_Operation_main_Call_p_setP_.SetOperation(MultipleDelegation_SameConnector_P_PWP_Operation_I_setP_Integer); + // InputPin target + MultipleDelegation_SameConnector_P_PWP_Operation_main_Call_p_setP__target.SetName("target"); + MultipleDelegation_SameConnector_P_PWP_Operation_main_Call_p_setP__target.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_PWP_Operation_main_Call_p_setP__target.SetType(MultipleDelegation_SameConnector_P_PWP_Operation_I); + MultipleDelegation_SameConnector_P_PWP_Operation_main_Call_p_setP_.SetTarget(MultipleDelegation_SameConnector_P_PWP_Operation_main_Call_p_setP__target); + // InputPin v + MultipleDelegation_SameConnector_P_PWP_Operation_main_Call_p_setP__v.SetName("v"); + MultipleDelegation_SameConnector_P_PWP_Operation_main_Call_p_setP__v.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_PWP_Operation_main_Call_p_setP__v.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + MultipleDelegation_SameConnector_P_PWP_Operation_main_Call_p_setP_.AddArgument(MultipleDelegation_SameConnector_P_PWP_Operation_main_Call_p_setP__v); + MultipleDelegation_SameConnector_P_PWP_Operation_main.AddNode(MultipleDelegation_SameConnector_P_PWP_Operation_main_Call_p_setP_); + // ReadStructuralFeatureAction Read a.b + MultipleDelegation_SameConnector_P_PWP_Operation_main_Read_a_b.SetName("Read a.b"); + MultipleDelegation_SameConnector_P_PWP_Operation_main_Read_a_b.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_PWP_Operation_main_Read_a_b.SetStructuralFeature(MultipleDelegation_SameConnector_P_PWP_Operation_A_b); + // InputPin object + MultipleDelegation_SameConnector_P_PWP_Operation_main_Read_a_b_object.SetName("object"); + MultipleDelegation_SameConnector_P_PWP_Operation_main_Read_a_b_object.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_PWP_Operation_main_Read_a_b_object.SetType(MultipleDelegation_SameConnector_P_PWP_Operation_A); + MultipleDelegation_SameConnector_P_PWP_Operation_main_Read_a_b.SetObject(MultipleDelegation_SameConnector_P_PWP_Operation_main_Read_a_b_object); + // OutputPin result + MultipleDelegation_SameConnector_P_PWP_Operation_main_Read_a_b_result.SetName("result"); + MultipleDelegation_SameConnector_P_PWP_Operation_main_Read_a_b_result.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_PWP_Operation_main_Read_a_b_result.SetType(MultipleDelegation_SameConnector_P_PWP_Operation_B); + MultipleDelegation_SameConnector_P_PWP_Operation_main_Read_a_b.SetResult(MultipleDelegation_SameConnector_P_PWP_Operation_main_Read_a_b_result); + MultipleDelegation_SameConnector_P_PWP_Operation_main.AddNode(MultipleDelegation_SameConnector_P_PWP_Operation_main_Read_a_b); + // ReadStructuralFeatureAction Read c.p + MultipleDelegation_SameConnector_P_PWP_Operation_main_Read_c_p.SetName("Read c.p"); + MultipleDelegation_SameConnector_P_PWP_Operation_main_Read_c_p.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_PWP_Operation_main_Read_c_p.SetStructuralFeature(MultipleDelegation_SameConnector_P_PWP_Operation_C_p); + // InputPin object + MultipleDelegation_SameConnector_P_PWP_Operation_main_Read_c_p_object.SetName("object"); + MultipleDelegation_SameConnector_P_PWP_Operation_main_Read_c_p_object.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_PWP_Operation_main_Read_c_p_object.SetType(MultipleDelegation_SameConnector_P_PWP_Operation_C); + MultipleDelegation_SameConnector_P_PWP_Operation_main_Read_c_p.SetObject(MultipleDelegation_SameConnector_P_PWP_Operation_main_Read_c_p_object); + // OutputPin result + MultipleDelegation_SameConnector_P_PWP_Operation_main_Read_c_p_result.SetName("result"); + MultipleDelegation_SameConnector_P_PWP_Operation_main_Read_c_p_result.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_PWP_Operation_main_Read_c_p_result.SetType(MultipleDelegation_SameConnector_P_PWP_Operation_IImpl); + MultipleDelegation_SameConnector_P_PWP_Operation_main_Read_c_p.SetResult(MultipleDelegation_SameConnector_P_PWP_Operation_main_Read_c_p_result); + MultipleDelegation_SameConnector_P_PWP_Operation_main.AddNode(MultipleDelegation_SameConnector_P_PWP_Operation_main_Read_c_p); + // ReadStructuralFeatureAction Read b.p + MultipleDelegation_SameConnector_P_PWP_Operation_main_Read_b_p.SetName("Read b.p"); + MultipleDelegation_SameConnector_P_PWP_Operation_main_Read_b_p.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_PWP_Operation_main_Read_b_p.SetStructuralFeature(MultipleDelegation_SameConnector_P_PWP_Operation_B_p); + // InputPin object + MultipleDelegation_SameConnector_P_PWP_Operation_main_Read_b_p_object.SetName("object"); + MultipleDelegation_SameConnector_P_PWP_Operation_main_Read_b_p_object.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_PWP_Operation_main_Read_b_p_object.SetType(MultipleDelegation_SameConnector_P_PWP_Operation_B); + MultipleDelegation_SameConnector_P_PWP_Operation_main_Read_b_p.SetObject(MultipleDelegation_SameConnector_P_PWP_Operation_main_Read_b_p_object); + // OutputPin result + MultipleDelegation_SameConnector_P_PWP_Operation_main_Read_b_p_result.SetName("result"); + MultipleDelegation_SameConnector_P_PWP_Operation_main_Read_b_p_result.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_PWP_Operation_main_Read_b_p_result.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + MultipleDelegation_SameConnector_P_PWP_Operation_main_Read_b_p.SetResult(MultipleDelegation_SameConnector_P_PWP_Operation_main_Read_b_p_result); + MultipleDelegation_SameConnector_P_PWP_Operation_main.AddNode(MultipleDelegation_SameConnector_P_PWP_Operation_main_Read_b_p); + // CallBehaviorAction Call testP + MultipleDelegation_SameConnector_P_PWP_Operation_main_Call_testP.SetName("Call testP"); + MultipleDelegation_SameConnector_P_PWP_Operation_main_Call_testP.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_PWP_Operation_main_Call_testP.SetBehavior(MultipleDelegation_SameConnector_P_PWP_Operation_main_testP); + // InputPin p + MultipleDelegation_SameConnector_P_PWP_Operation_main_Call_testP_p.SetName("p"); + MultipleDelegation_SameConnector_P_PWP_Operation_main_Call_testP_p.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_PWP_Operation_main_Call_testP_p.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + MultipleDelegation_SameConnector_P_PWP_Operation_main_Call_testP.AddArgument(MultipleDelegation_SameConnector_P_PWP_Operation_main_Call_testP_p); + MultipleDelegation_SameConnector_P_PWP_Operation_main.AddNode(MultipleDelegation_SameConnector_P_PWP_Operation_main_Call_testP); + // CreateObjectAction Create C + MultipleDelegation_SameConnector_P_PWP_Operation_main_Create_C.SetName("Create C"); + MultipleDelegation_SameConnector_P_PWP_Operation_main_Create_C.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_PWP_Operation_main_Create_C.SetClassifier(MultipleDelegation_SameConnector_P_PWP_Operation_C); + // OutputPin result + MultipleDelegation_SameConnector_P_PWP_Operation_main_Create_C_result.SetName("result"); + MultipleDelegation_SameConnector_P_PWP_Operation_main_Create_C_result.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_PWP_Operation_main_Create_C_result.SetType(MultipleDelegation_SameConnector_P_PWP_Operation_C); + MultipleDelegation_SameConnector_P_PWP_Operation_main_Create_C.SetResult(MultipleDelegation_SameConnector_P_PWP_Operation_main_Create_C_result); + MultipleDelegation_SameConnector_P_PWP_Operation_main.AddNode(MultipleDelegation_SameConnector_P_PWP_Operation_main_Create_C); + // ValueSpecificationAction Value(4) + MultipleDelegation_SameConnector_P_PWP_Operation_main_Value_4.SetName("Value(4)"); + MultipleDelegation_SameConnector_P_PWP_Operation_main_Value_4.SetVisibility(VisibilityKind.public_); + // LiteralInteger LiteralInteger75 + MultipleDelegation_SameConnector_P_PWP_Operation_main_Value_4_LiteralInteger75.SetName("LiteralInteger75"); + MultipleDelegation_SameConnector_P_PWP_Operation_main_Value_4_LiteralInteger75.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_PWP_Operation_main_Value_4_LiteralInteger75.SetValue(4); + MultipleDelegation_SameConnector_P_PWP_Operation_main_Value_4.SetValue(MultipleDelegation_SameConnector_P_PWP_Operation_main_Value_4_LiteralInteger75); + // OutputPin result + MultipleDelegation_SameConnector_P_PWP_Operation_main_Value_4_result.SetName("result"); + MultipleDelegation_SameConnector_P_PWP_Operation_main_Value_4_result.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_PWP_Operation_main_Value_4_result.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + MultipleDelegation_SameConnector_P_PWP_Operation_main_Value_4.SetResult(MultipleDelegation_SameConnector_P_PWP_Operation_main_Value_4_result); + MultipleDelegation_SameConnector_P_PWP_Operation_main.AddNode(MultipleDelegation_SameConnector_P_PWP_Operation_main_Value_4); + // ReadStructuralFeatureAction Read c.a[] + MultipleDelegation_SameConnector_P_PWP_Operation_main_Read_c_a_.SetName("Read c.a[]"); + MultipleDelegation_SameConnector_P_PWP_Operation_main_Read_c_a_.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_PWP_Operation_main_Read_c_a_.SetStructuralFeature(MultipleDelegation_SameConnector_P_PWP_Operation_C_a); + // InputPin object + MultipleDelegation_SameConnector_P_PWP_Operation_main_Read_c_a__object.SetName("object"); + MultipleDelegation_SameConnector_P_PWP_Operation_main_Read_c_a__object.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_PWP_Operation_main_Read_c_a__object.SetType(MultipleDelegation_SameConnector_P_PWP_Operation_C); + MultipleDelegation_SameConnector_P_PWP_Operation_main_Read_c_a_.SetObject(MultipleDelegation_SameConnector_P_PWP_Operation_main_Read_c_a__object); + // OutputPin result + MultipleDelegation_SameConnector_P_PWP_Operation_main_Read_c_a__result.SetName("result"); + MultipleDelegation_SameConnector_P_PWP_Operation_main_Read_c_a__result.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_PWP_Operation_main_Read_c_a__result.SetType(MultipleDelegation_SameConnector_P_PWP_Operation_A); + MultipleDelegation_SameConnector_P_PWP_Operation_main_Read_c_a__result.SetUpper(4); + MultipleDelegation_SameConnector_P_PWP_Operation_main_Read_c_a__result.SetLower(4); + MultipleDelegation_SameConnector_P_PWP_Operation_main_Read_c_a_.SetResult(MultipleDelegation_SameConnector_P_PWP_Operation_main_Read_c_a__result); + MultipleDelegation_SameConnector_P_PWP_Operation_main.AddNode(MultipleDelegation_SameConnector_P_PWP_Operation_main_Read_c_a_); + // ObjectFlow ObjectFlow18 from Fork C to object + MultipleDelegation_SameConnector_P_PWP_Operation_main_ObjectFlow18.SetName("ObjectFlow18"); + MultipleDelegation_SameConnector_P_PWP_Operation_main_ObjectFlow18.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_SameConnector_P_PWP_Operation_main_ObjectFlow18.SetSource(MultipleDelegation_SameConnector_P_PWP_Operation_main_Fork_C); + MultipleDelegation_SameConnector_P_PWP_Operation_main_ObjectFlow18.SetTarget(MultipleDelegation_SameConnector_P_PWP_Operation_main_Read_c_a__object); + // LiteralBoolean LiteralBoolean19 + MultipleDelegation_SameConnector_P_PWP_Operation_main_ObjectFlow18_LiteralBoolean19.SetName("LiteralBoolean19"); + MultipleDelegation_SameConnector_P_PWP_Operation_main_ObjectFlow18_LiteralBoolean19.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_PWP_Operation_main_ObjectFlow18_LiteralBoolean19.SetValue(true); + MultipleDelegation_SameConnector_P_PWP_Operation_main_ObjectFlow18.SetGuard(MultipleDelegation_SameConnector_P_PWP_Operation_main_ObjectFlow18_LiteralBoolean19); + MultipleDelegation_SameConnector_P_PWP_Operation_main.AddEdge(MultipleDelegation_SameConnector_P_PWP_Operation_main_ObjectFlow18); + // ObjectFlow ObjectFlow40 from result to object + MultipleDelegation_SameConnector_P_PWP_Operation_main_ObjectFlow40.SetName("ObjectFlow40"); + MultipleDelegation_SameConnector_P_PWP_Operation_main_ObjectFlow40.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_SameConnector_P_PWP_Operation_main_ObjectFlow40.SetSource(MultipleDelegation_SameConnector_P_PWP_Operation_main_Read_a_b_result); + MultipleDelegation_SameConnector_P_PWP_Operation_main_ObjectFlow40.SetTarget(MultipleDelegation_SameConnector_P_PWP_Operation_main_Read_b_p_object); + // LiteralBoolean LiteralBoolean42 + MultipleDelegation_SameConnector_P_PWP_Operation_main_ObjectFlow40_LiteralBoolean42.SetName("LiteralBoolean42"); + MultipleDelegation_SameConnector_P_PWP_Operation_main_ObjectFlow40_LiteralBoolean42.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_PWP_Operation_main_ObjectFlow40_LiteralBoolean42.SetValue(true); + MultipleDelegation_SameConnector_P_PWP_Operation_main_ObjectFlow40.SetGuard(MultipleDelegation_SameConnector_P_PWP_Operation_main_ObjectFlow40_LiteralBoolean42); + MultipleDelegation_SameConnector_P_PWP_Operation_main.AddEdge(MultipleDelegation_SameConnector_P_PWP_Operation_main_ObjectFlow40); + // ObjectFlow ObjectFlow43 from result to object + MultipleDelegation_SameConnector_P_PWP_Operation_main_ObjectFlow43.SetName("ObjectFlow43"); + MultipleDelegation_SameConnector_P_PWP_Operation_main_ObjectFlow43.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_SameConnector_P_PWP_Operation_main_ObjectFlow43.SetSource(MultipleDelegation_SameConnector_P_PWP_Operation_main_Read_c_a__result); + MultipleDelegation_SameConnector_P_PWP_Operation_main_ObjectFlow43.SetTarget(MultipleDelegation_SameConnector_P_PWP_Operation_main_Read_a_b_object); + // LiteralBoolean LiteralBoolean44 + MultipleDelegation_SameConnector_P_PWP_Operation_main_ObjectFlow43_LiteralBoolean44.SetName("LiteralBoolean44"); + MultipleDelegation_SameConnector_P_PWP_Operation_main_ObjectFlow43_LiteralBoolean44.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_PWP_Operation_main_ObjectFlow43_LiteralBoolean44.SetValue(true); + MultipleDelegation_SameConnector_P_PWP_Operation_main_ObjectFlow43.SetGuard(MultipleDelegation_SameConnector_P_PWP_Operation_main_ObjectFlow43_LiteralBoolean44); + MultipleDelegation_SameConnector_P_PWP_Operation_main.AddEdge(MultipleDelegation_SameConnector_P_PWP_Operation_main_ObjectFlow43); + // ObjectFlow ObjectFlow46 from result to target + MultipleDelegation_SameConnector_P_PWP_Operation_main_ObjectFlow46.SetName("ObjectFlow46"); + MultipleDelegation_SameConnector_P_PWP_Operation_main_ObjectFlow46.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_SameConnector_P_PWP_Operation_main_ObjectFlow46.SetSource(MultipleDelegation_SameConnector_P_PWP_Operation_main_Create_C_result); + MultipleDelegation_SameConnector_P_PWP_Operation_main_ObjectFlow46.SetTarget(MultipleDelegation_SameConnector_P_PWP_Operation_main_C__target); + // LiteralBoolean LiteralBoolean48 + MultipleDelegation_SameConnector_P_PWP_Operation_main_ObjectFlow46_LiteralBoolean48.SetName("LiteralBoolean48"); + MultipleDelegation_SameConnector_P_PWP_Operation_main_ObjectFlow46_LiteralBoolean48.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_PWP_Operation_main_ObjectFlow46_LiteralBoolean48.SetValue(true); + MultipleDelegation_SameConnector_P_PWP_Operation_main_ObjectFlow46.SetGuard(MultipleDelegation_SameConnector_P_PWP_Operation_main_ObjectFlow46_LiteralBoolean48); + MultipleDelegation_SameConnector_P_PWP_Operation_main.AddEdge(MultipleDelegation_SameConnector_P_PWP_Operation_main_ObjectFlow46); + // ObjectFlow ObjectFlow49 from Fork C to object + MultipleDelegation_SameConnector_P_PWP_Operation_main_ObjectFlow49.SetName("ObjectFlow49"); + MultipleDelegation_SameConnector_P_PWP_Operation_main_ObjectFlow49.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_SameConnector_P_PWP_Operation_main_ObjectFlow49.SetSource(MultipleDelegation_SameConnector_P_PWP_Operation_main_Fork_C); + MultipleDelegation_SameConnector_P_PWP_Operation_main_ObjectFlow49.SetTarget(MultipleDelegation_SameConnector_P_PWP_Operation_main_Read_c_p_object); + // LiteralBoolean LiteralBoolean51 + MultipleDelegation_SameConnector_P_PWP_Operation_main_ObjectFlow49_LiteralBoolean51.SetName("LiteralBoolean51"); + MultipleDelegation_SameConnector_P_PWP_Operation_main_ObjectFlow49_LiteralBoolean51.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_PWP_Operation_main_ObjectFlow49_LiteralBoolean51.SetValue(true); + MultipleDelegation_SameConnector_P_PWP_Operation_main_ObjectFlow49.SetGuard(MultipleDelegation_SameConnector_P_PWP_Operation_main_ObjectFlow49_LiteralBoolean51); + MultipleDelegation_SameConnector_P_PWP_Operation_main.AddEdge(MultipleDelegation_SameConnector_P_PWP_Operation_main_ObjectFlow49); + // ObjectFlow ObjectFlow57 from result to target + MultipleDelegation_SameConnector_P_PWP_Operation_main_ObjectFlow57.SetName("ObjectFlow57"); + MultipleDelegation_SameConnector_P_PWP_Operation_main_ObjectFlow57.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_SameConnector_P_PWP_Operation_main_ObjectFlow57.SetSource(MultipleDelegation_SameConnector_P_PWP_Operation_main_Read_c_p_result); + MultipleDelegation_SameConnector_P_PWP_Operation_main_ObjectFlow57.SetTarget(MultipleDelegation_SameConnector_P_PWP_Operation_main_Call_p_setP__target); + // LiteralBoolean LiteralBoolean58 + MultipleDelegation_SameConnector_P_PWP_Operation_main_ObjectFlow57_LiteralBoolean58.SetName("LiteralBoolean58"); + MultipleDelegation_SameConnector_P_PWP_Operation_main_ObjectFlow57_LiteralBoolean58.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_PWP_Operation_main_ObjectFlow57_LiteralBoolean58.SetValue(true); + MultipleDelegation_SameConnector_P_PWP_Operation_main_ObjectFlow57.SetGuard(MultipleDelegation_SameConnector_P_PWP_Operation_main_ObjectFlow57_LiteralBoolean58); + MultipleDelegation_SameConnector_P_PWP_Operation_main.AddEdge(MultipleDelegation_SameConnector_P_PWP_Operation_main_ObjectFlow57); + // ControlFlow ControlFlow34 from Call p.setP() to Read c.a[] + MultipleDelegation_SameConnector_P_PWP_Operation_main_ControlFlow34.SetName("ControlFlow34"); + MultipleDelegation_SameConnector_P_PWP_Operation_main_ControlFlow34.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_SameConnector_P_PWP_Operation_main_ControlFlow34.SetSource(MultipleDelegation_SameConnector_P_PWP_Operation_main_Call_p_setP_); + MultipleDelegation_SameConnector_P_PWP_Operation_main_ControlFlow34.SetTarget(MultipleDelegation_SameConnector_P_PWP_Operation_main_Read_c_a_); + MultipleDelegation_SameConnector_P_PWP_Operation_main.AddEdge(MultipleDelegation_SameConnector_P_PWP_Operation_main_ControlFlow34); + // ObjectFlow ObjectFlow67 from result to Fork C + MultipleDelegation_SameConnector_P_PWP_Operation_main_ObjectFlow67.SetName("ObjectFlow67"); + MultipleDelegation_SameConnector_P_PWP_Operation_main_ObjectFlow67.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_SameConnector_P_PWP_Operation_main_ObjectFlow67.SetSource(MultipleDelegation_SameConnector_P_PWP_Operation_main_C__result); + MultipleDelegation_SameConnector_P_PWP_Operation_main_ObjectFlow67.SetTarget(MultipleDelegation_SameConnector_P_PWP_Operation_main_Fork_C); + // LiteralBoolean LiteralBoolean68 + MultipleDelegation_SameConnector_P_PWP_Operation_main_ObjectFlow67_LiteralBoolean68.SetName("LiteralBoolean68"); + MultipleDelegation_SameConnector_P_PWP_Operation_main_ObjectFlow67_LiteralBoolean68.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_PWP_Operation_main_ObjectFlow67_LiteralBoolean68.SetValue(true); + MultipleDelegation_SameConnector_P_PWP_Operation_main_ObjectFlow67.SetGuard(MultipleDelegation_SameConnector_P_PWP_Operation_main_ObjectFlow67_LiteralBoolean68); + MultipleDelegation_SameConnector_P_PWP_Operation_main.AddEdge(MultipleDelegation_SameConnector_P_PWP_Operation_main_ObjectFlow67); + // ObjectFlow ObjectFlow35 from result to v + MultipleDelegation_SameConnector_P_PWP_Operation_main_ObjectFlow35.SetName("ObjectFlow35"); + MultipleDelegation_SameConnector_P_PWP_Operation_main_ObjectFlow35.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_SameConnector_P_PWP_Operation_main_ObjectFlow35.SetSource(MultipleDelegation_SameConnector_P_PWP_Operation_main_Value_4_result); + MultipleDelegation_SameConnector_P_PWP_Operation_main_ObjectFlow35.SetTarget(MultipleDelegation_SameConnector_P_PWP_Operation_main_Call_p_setP__v); + // LiteralBoolean LiteralBoolean36 + MultipleDelegation_SameConnector_P_PWP_Operation_main_ObjectFlow35_LiteralBoolean36.SetName("LiteralBoolean36"); + MultipleDelegation_SameConnector_P_PWP_Operation_main_ObjectFlow35_LiteralBoolean36.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_PWP_Operation_main_ObjectFlow35_LiteralBoolean36.SetValue(true); + MultipleDelegation_SameConnector_P_PWP_Operation_main_ObjectFlow35.SetGuard(MultipleDelegation_SameConnector_P_PWP_Operation_main_ObjectFlow35_LiteralBoolean36); + MultipleDelegation_SameConnector_P_PWP_Operation_main.AddEdge(MultipleDelegation_SameConnector_P_PWP_Operation_main_ObjectFlow35); + // ObjectFlow ObjectFlow70 from result to p + MultipleDelegation_SameConnector_P_PWP_Operation_main_ObjectFlow70.SetName("ObjectFlow70"); + MultipleDelegation_SameConnector_P_PWP_Operation_main_ObjectFlow70.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_SameConnector_P_PWP_Operation_main_ObjectFlow70.SetSource(MultipleDelegation_SameConnector_P_PWP_Operation_main_Read_b_p_result); + MultipleDelegation_SameConnector_P_PWP_Operation_main_ObjectFlow70.SetTarget(MultipleDelegation_SameConnector_P_PWP_Operation_main_Call_testP_p); + // LiteralBoolean LiteralBoolean71 + MultipleDelegation_SameConnector_P_PWP_Operation_main_ObjectFlow70_LiteralBoolean71.SetName("LiteralBoolean71"); + MultipleDelegation_SameConnector_P_PWP_Operation_main_ObjectFlow70_LiteralBoolean71.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_PWP_Operation_main_ObjectFlow70_LiteralBoolean71.SetValue(true); + MultipleDelegation_SameConnector_P_PWP_Operation_main_ObjectFlow70.SetGuard(MultipleDelegation_SameConnector_P_PWP_Operation_main_ObjectFlow70_LiteralBoolean71); + MultipleDelegation_SameConnector_P_PWP_Operation_main.AddEdge(MultipleDelegation_SameConnector_P_PWP_Operation_main_ObjectFlow70); + MultipleDelegation_SameConnector_P_PWP_Operation.AddPackagedElement(MultipleDelegation_SameConnector_P_PWP_Operation_main); + // Association R + MultipleDelegation_SameConnector_P_PWP_Operation_R.SetName("R"); + MultipleDelegation_SameConnector_P_PWP_Operation_R.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_PWP_Operation_R.AddOwnedEnd(MultipleDelegation_SameConnector_P_PWP_Operation_R_x); + MultipleDelegation_SameConnector_P_PWP_Operation_R.AddOwnedEnd(MultipleDelegation_SameConnector_P_PWP_Operation_R_y); + MultipleDelegation_SameConnector_P_PWP_Operation.AddPackagedElement(MultipleDelegation_SameConnector_P_PWP_Operation_R); + // Class C + MultipleDelegation_SameConnector_P_PWP_Operation_C.SetName("C"); + MultipleDelegation_SameConnector_P_PWP_Operation_C.SetVisibility(VisibilityKind.public_); + + // Port p + MultipleDelegation_SameConnector_P_PWP_Operation_C_p.SetName("p"); + MultipleDelegation_SameConnector_P_PWP_Operation_C_p.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_SameConnector_P_PWP_Operation_C_p.SetType(MultipleDelegation_SameConnector_P_PWP_Operation_IImpl); + MultipleDelegation_SameConnector_P_PWP_Operation_C_p.SetAggregation(AggregationKind.composite); + MultipleDelegation_SameConnector_P_PWP_Operation_C_p.isService = true; + MultipleDelegation_SameConnector_P_PWP_Operation_C_p.AddProvided(MultipleDelegation_SameConnector_P_PWP_Operation_I); + MultipleDelegation_SameConnector_P_PWP_Operation_C.AddOwnedAttribute(MultipleDelegation_SameConnector_P_PWP_Operation_C_p); + // Property a + MultipleDelegation_SameConnector_P_PWP_Operation_C_a.SetName("a"); + MultipleDelegation_SameConnector_P_PWP_Operation_C_a.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_PWP_Operation_C_a.SetUpper(4); + MultipleDelegation_SameConnector_P_PWP_Operation_C_a.SetLower(4); + MultipleDelegation_SameConnector_P_PWP_Operation_C_a.SetType(MultipleDelegation_SameConnector_P_PWP_Operation_A); + MultipleDelegation_SameConnector_P_PWP_Operation_C_a.SetAggregation(AggregationKind.composite); + MultipleDelegation_SameConnector_P_PWP_Operation_C.AddOwnedAttribute(MultipleDelegation_SameConnector_P_PWP_Operation_C_a); + + MultipleDelegation_SameConnector_P_PWP_Operation_C_u.SetName("u"); + MultipleDelegation_SameConnector_P_PWP_Operation_C_u.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_PWP_Operation_C_u_ConnectorEnd82.SetUpper(-1); + MultipleDelegation_SameConnector_P_PWP_Operation_C_u_ConnectorEnd82.SetRole(MultipleDelegation_SameConnector_P_PWP_Operation_C_p); + + MultipleDelegation_SameConnector_P_PWP_Operation_C_u.AddEnd(MultipleDelegation_SameConnector_P_PWP_Operation_C_u_ConnectorEnd82); + MultipleDelegation_SameConnector_P_PWP_Operation_C_u_ConnectorEnd85.SetUpper(-1); + MultipleDelegation_SameConnector_P_PWP_Operation_C_u_ConnectorEnd85.SetLower(4); + MultipleDelegation_SameConnector_P_PWP_Operation_C_u_ConnectorEnd85.SetRole(MultipleDelegation_SameConnector_P_PWP_Operation_A_q); + MultipleDelegation_SameConnector_P_PWP_Operation_C_u_ConnectorEnd85.SetPartWithPort(MultipleDelegation_SameConnector_P_PWP_Operation_C_a); + + MultipleDelegation_SameConnector_P_PWP_Operation_C_u.AddEnd(MultipleDelegation_SameConnector_P_PWP_Operation_C_u_ConnectorEnd85); + MultipleDelegation_SameConnector_P_PWP_Operation_C_u.SetType(MultipleDelegation_SameConnector_P_PWP_Operation_U); + MultipleDelegation_SameConnector_P_PWP_Operation_C.AddOwnedConnector(MultipleDelegation_SameConnector_P_PWP_Operation_C_u); + // Operation C_C + MultipleDelegation_SameConnector_P_PWP_Operation_C_C_C.SetName("C_C"); + MultipleDelegation_SameConnector_P_PWP_Operation_C_C_C.SetVisibility(VisibilityKind.public_); + // Parameter result + MultipleDelegation_SameConnector_P_PWP_Operation_C_C_C_result.SetName("result"); + MultipleDelegation_SameConnector_P_PWP_Operation_C_C_C_result.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_SameConnector_P_PWP_Operation_C_C_C_result.SetType(MultipleDelegation_SameConnector_P_PWP_Operation_C); + MultipleDelegation_SameConnector_P_PWP_Operation_C_C_C_result.SetDirection(ParameterDirectionKind.return_); + MultipleDelegation_SameConnector_P_PWP_Operation_C_C_C.AddOwnedParameter(MultipleDelegation_SameConnector_P_PWP_Operation_C_C_C_result); + MultipleDelegation_SameConnector_P_PWP_Operation_C_C_C.ApplyStereotype(uml.standardprofile.StandardProfileModel.Instance().Stereotype_Create); + MultipleDelegation_SameConnector_P_PWP_Operation_C.AddOwnedOperation(MultipleDelegation_SameConnector_P_PWP_Operation_C_C_C); + MultipleDelegation_SameConnector_P_PWP_Operation.AddPackagedElement(MultipleDelegation_SameConnector_P_PWP_Operation_C); + // Association U + MultipleDelegation_SameConnector_P_PWP_Operation_U.SetName("U"); + MultipleDelegation_SameConnector_P_PWP_Operation_U.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_PWP_Operation_U.AddOwnedEnd(MultipleDelegation_SameConnector_P_PWP_Operation_U_x); + MultipleDelegation_SameConnector_P_PWP_Operation_U.AddOwnedEnd(MultipleDelegation_SameConnector_P_PWP_Operation_U_y); + MultipleDelegation_SameConnector_P_PWP_Operation.AddPackagedElement(MultipleDelegation_SameConnector_P_PWP_Operation_U); + } + + /* Start of user code : User-defined members + * This section may be used for user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } // MultipleDelegation_SameConnector_P_PWP_OperationModel +} diff --git a/fUML-CSharp/tests/pscs-Tests/02_Communication/10_MultipleDelegation_SameConnector_P_PWP_Operation/src/testPExecution.cs b/fUML-CSharp/tests/pscs-Tests/02_Communication/10_MultipleDelegation_SameConnector_P_PWP_Operation/src/testPExecution.cs new file mode 100644 index 0000000..49bcae3 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/02_Communication/10_MultipleDelegation_SameConnector_P_PWP_Operation/src/testPExecution.cs @@ -0,0 +1,98 @@ +/* + * testPExecution.cs + * + * Auto-generated file + */ + +using fuml.semantics.commonbehavior; +using fuml; +using fuml.semantics.simpleclassifiers; +using fuml.semantics.values; + +/* Start of user code : User-defined includes and forward declarations + * This section may be used for includes and forward declarations. + * It will not be overwritten by future generation processes. + */ + +/* + * End of user code + */ + +namespace MultipleDelegation_SameConnector_P_PWP_Operation +{ + public class testPExecution : OpaqueBehaviorExecution + { + public testPExecution() + { + types.Add(MultipleDelegation_SameConnector_P_PWP_OperationModel.Instance().MultipleDelegation_SameConnector_P_PWP_Operation_main_testP); + /* Start of user code : Additional opaque behavior execution initializations + * This section may be used to do any additional opaque behavior execution initialization, + * for example initializing user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } + + public override void DoBody(List inputParameters, List outputParameters) + { + if(index == 1) + { + Console.WriteLine("Asserting c.a[1].b.p == 4 || c.a[2].b.p == 4 || c.a[3].b.p == 4 || c.a[4].b.c == 4"); + } + + // For some reason, during the first execution of the expansion region, its body is actually executed twice. + // Because of that, the body is actually executaed 5 times in total. This if-statement covers that up until solved. + if (index <= MAX_INDEX) + { + // Test parameter p + int p = ((IntegerValue)inputParameters.ElementAt(0).values.ElementAt(0)).value; + Debug.Println("[doBody] argument p = " + p); + + Console.WriteLine( "c.a[" + index + "].b.p == " + p); + success = success || (p == 4); + + if (index == MAX_INDEX) + { + + Console.Write("Operation call delegated: "); + + if (success) + { + Console.ForegroundColor = ConsoleColor.Green; + Console.WriteLine("Assertion successful."); + } + else + { + Console.ForegroundColor = ConsoleColor.Red; + Console.WriteLine("Assertion failed!"); + } + + Console.ResetColor(); + } + } + + index++; + } + + protected override Value New_() + { + return new testPExecution(); + } + + /* Start of user code : User-defined members + * This section may be used for user-defined members. + * It will not be overwritten by future generation processes. + */ + + private static int index = 1; + private const int MAX_INDEX = 4; + private static bool success = false; + + /* + * End of user code + */ + } // testPExecution +} diff --git a/fUML-CSharp/tests/pscs-Tests/02_Communication/11_MultipleDelegation_SameConnector_P_PWP_Signal/.gitignore b/fUML-CSharp/tests/pscs-Tests/02_Communication/11_MultipleDelegation_SameConnector_P_PWP_Signal/.gitignore new file mode 100644 index 0000000..1736844 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/02_Communication/11_MultipleDelegation_SameConnector_P_PWP_Signal/.gitignore @@ -0,0 +1,3 @@ +/.vs/ +/bin/ +/obj/ diff --git a/fUML-CSharp/tests/pscs-Tests/02_Communication/11_MultipleDelegation_SameConnector_P_PWP_Signal/MultipleDelegation_SameConnector_P_PWP_Signal.csproj b/fUML-CSharp/tests/pscs-Tests/02_Communication/11_MultipleDelegation_SameConnector_P_PWP_Signal/MultipleDelegation_SameConnector_P_PWP_Signal.csproj new file mode 100644 index 0000000..52329bf --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/02_Communication/11_MultipleDelegation_SameConnector_P_PWP_Signal/MultipleDelegation_SameConnector_P_PWP_Signal.csproj @@ -0,0 +1,50 @@ + + + + Exe + net6.0 + enable + enable + + + + MultipleDelegation_SameConnector_P_PWP_Signal.Debug + + + MultipleDelegation_SameConnector_P_PWP_Signal.Release + + + + + ..\..\..\..\uml\bin\Debug\net6.0\uml.Debug.dll + + + + + ..\..\..\..\uml\bin\Release\net6.0\uml.Release.dll + + + + + + ..\..\..\..\fuml\bin\Debug\net6.0\fuml.Debug.dll + + + + + ..\..\..\..\fuml\bin\Release\net6.0\fuml.Release.dll + + + + + + ..\..\..\..\pscs\bin\Debug\net6.0\pscs.Debug.dll + + + + + ..\..\..\..\pscs\bin\Release\net6.0\pscs.Release.dll + + + + diff --git a/fUML-CSharp/tests/pscs-Tests/02_Communication/11_MultipleDelegation_SameConnector_P_PWP_Signal/MultipleDelegation_SameConnector_P_PWP_Signal.sln b/fUML-CSharp/tests/pscs-Tests/02_Communication/11_MultipleDelegation_SameConnector_P_PWP_Signal/MultipleDelegation_SameConnector_P_PWP_Signal.sln new file mode 100644 index 0000000..444f11f --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/02_Communication/11_MultipleDelegation_SameConnector_P_PWP_Signal/MultipleDelegation_SameConnector_P_PWP_Signal.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.32112.339 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MultipleDelegation_SameConnector_P_PWP_Signal", "MultipleDelegation_SameConnector_P_PWP_Signal.csproj", "{4F5BB813-9087-4393-B392-D6A9083B77AD}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {4F5BB813-9087-4393-B392-D6A9083B77AD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {4F5BB813-9087-4393-B392-D6A9083B77AD}.Debug|Any CPU.Build.0 = Debug|Any CPU + {4F5BB813-9087-4393-B392-D6A9083B77AD}.Release|Any CPU.ActiveCfg = Release|Any CPU + {4F5BB813-9087-4393-B392-D6A9083B77AD}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {2E51D459-4F32-4131-A8F6-822D6406A787} + EndGlobalSection +EndGlobal diff --git a/fUML-CSharp/tests/pscs-Tests/02_Communication/11_MultipleDelegation_SameConnector_P_PWP_Signal/model/MultipleDelegation_SameConnector_P_PWP_Signal.di b/fUML-CSharp/tests/pscs-Tests/02_Communication/11_MultipleDelegation_SameConnector_P_PWP_Signal/model/MultipleDelegation_SameConnector_P_PWP_Signal.di new file mode 100644 index 0000000..8c549ee --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/02_Communication/11_MultipleDelegation_SameConnector_P_PWP_Signal/model/MultipleDelegation_SameConnector_P_PWP_Signal.di @@ -0,0 +1,2 @@ + + diff --git a/fUML-CSharp/tests/pscs-Tests/02_Communication/11_MultipleDelegation_SameConnector_P_PWP_Signal/model/MultipleDelegation_SameConnector_P_PWP_Signal.notation b/fUML-CSharp/tests/pscs-Tests/02_Communication/11_MultipleDelegation_SameConnector_P_PWP_Signal/model/MultipleDelegation_SameConnector_P_PWP_Signal.notation new file mode 100644 index 0000000..966ee4c --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/02_Communication/11_MultipleDelegation_SameConnector_P_PWP_Signal/model/MultipleDelegation_SameConnector_P_PWP_Signal.notation @@ -0,0 +1,1875 @@ + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/fUML-CSharp/tests/pscs-Tests/02_Communication/11_MultipleDelegation_SameConnector_P_PWP_Signal/model/MultipleDelegation_SameConnector_P_PWP_Signal.uml b/fUML-CSharp/tests/pscs-Tests/02_Communication/11_MultipleDelegation_SameConnector_P_PWP_Signal/model/MultipleDelegation_SameConnector_P_PWP_Signal.uml new file mode 100644 index 0000000..0813dc1 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/02_Communication/11_MultipleDelegation_SameConnector_P_PWP_Signal/model/MultipleDelegation_SameConnector_P_PWP_Signal.uml @@ -0,0 +1,501 @@ + + + + + This test case addresses forwarding of a signal through multiple delegation links, corresponding to a single connector, +expressed between a port and a part with port. + + + Passing: true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + C# + Using + if(index == 1) + { + Console.WriteLine("Asserting c.a[1].b.p == 4 && c.a[2].b.p == 4 && c.a[3].b.p == 4 && c.a[4].b.p == 4"); + } + + // Test parameter p + int p = ((IntegerValue)inputParameters.ElementAt(0).values.ElementAt(0)).value; + Debug.Println("[doBody] argument p = " + p); + + Console.WriteLine( "c.a[" + index + "].b.p == " + p); + success = success && (p == 4); + if(index == MAX_INDEX) + { + + Console.Write("Signal delegated on all links (shall be true for default strategy): "); + + if(success) + { + Console.ForegroundColor = ConsoleColor.Green; + Console.WriteLine("Assertion successful."); + } + else + { + Console.ForegroundColor = ConsoleColor.Red; + Console.WriteLine("Assertion failed!"); + } + + Console.ResetColor(); + } + + index++; + using fuml.semantics.simpleclassifiers; + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/fUML-CSharp/tests/pscs-Tests/02_Communication/11_MultipleDelegation_SameConnector_P_PWP_Signal/src/MultipleDelegation_SameConnector_P_PWP_Signal.cs b/fUML-CSharp/tests/pscs-Tests/02_Communication/11_MultipleDelegation_SameConnector_P_PWP_Signal/src/MultipleDelegation_SameConnector_P_PWP_Signal.cs new file mode 100644 index 0000000..b5050a4 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/02_Communication/11_MultipleDelegation_SameConnector_P_PWP_Signal/src/MultipleDelegation_SameConnector_P_PWP_Signal.cs @@ -0,0 +1,31 @@ +namespace MultipleDelegation_SameConnector_P_PWP_Signal +{ + internal class MultipleDelegation_SameConnector_P_PWP_Signal + { + static void PrintUsage() + { + Console.WriteLine( + "=============================================================================================\n" + + "USAGE: [ <...>]\n" + + "=============================================================================================\n" + ); + } + + static int Main(string[] args) + { + if(args.Length == 0) + { + Console.WriteLine("[ERROR] Must declare at least one behavior name.\n"); + PrintUsage(); + return -1; + } + + foreach (string arg in args) + { + MultipleDelegation_SameConnector_P_PWP_SignalEnvironment.Instance().Execute(arg); + } + + return 0; + } + } +} diff --git a/fUML-CSharp/tests/pscs-Tests/02_Communication/11_MultipleDelegation_SameConnector_P_PWP_Signal/src/MultipleDelegation_SameConnector_P_PWP_SignalEnvironment.cs b/fUML-CSharp/tests/pscs-Tests/02_Communication/11_MultipleDelegation_SameConnector_P_PWP_Signal/src/MultipleDelegation_SameConnector_P_PWP_SignalEnvironment.cs new file mode 100644 index 0000000..84690ad --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/02_Communication/11_MultipleDelegation_SameConnector_P_PWP_Signal/src/MultipleDelegation_SameConnector_P_PWP_SignalEnvironment.cs @@ -0,0 +1,93 @@ +/* + * MultipleDelegation_SameConnector_P_PWP_SignalEnvironment.cs + * + * Auto-generated file + */ + +/* Start of user code : User-defined using directives + * This section may be used for using directives. + * It will not be overwritten by future generation processes. + */ + +/* + * End of user code + */ + +namespace MultipleDelegation_SameConnector_P_PWP_Signal +{ + public class MultipleDelegation_SameConnector_P_PWP_SignalEnvironment : pscs.environment.Environment + { + private static MultipleDelegation_SameConnector_P_PWP_SignalEnvironment? instance; + + public static MultipleDelegation_SameConnector_P_PWP_SignalEnvironment Instance() + { + if(instance is null) + { + instance = new(); + instance.inMemoryModel = MultipleDelegation_SameConnector_P_PWP_SignalModel.Instance(); + } + + return instance; + } + + public MultipleDelegation_SameConnector_P_PWP_SignalEnvironment() + { + /* + * Create custom opaque behavior execution instances and add them to the execution environment. + */ + AddPrimitiveBehaviorPrototype(new testPExecution()); + + /* Start of user code : Additional environment initializations + * This section may be used to do any additional environment initialization, + * for example initializing user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } + + public override void Execute(string behaviorName) + { + /* Start of user code : Context and inputs initializations + * This section may be used to initialize the execution context + * as well as input parameter values if required. + * It will not be overwritten by future generation processes. + */ + + //context = ...; + //inputs = ...; + + /* + * End of user code + */ + + /* + * Start execution via base class call + */ + base.Execute(behaviorName); + + /* Start of user code : Outputs evaluation + * This section may be used to evaluate output parameter values if required. + * It will not be overwritten by future generation processes. + */ + + //List theOutputs = outputs; + //... + + /* + * End of user code + */ + } + + /* Start of user code : User-defined members + * This section may be used for user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } // MultipleDelegation_SameConnector_P_PWP_SignalEnvironment +} diff --git a/fUML-CSharp/tests/pscs-Tests/02_Communication/11_MultipleDelegation_SameConnector_P_PWP_Signal/src/MultipleDelegation_SameConnector_P_PWP_SignalModel.cs b/fUML-CSharp/tests/pscs-Tests/02_Communication/11_MultipleDelegation_SameConnector_P_PWP_Signal/src/MultipleDelegation_SameConnector_P_PWP_SignalModel.cs new file mode 100644 index 0000000..6f3f1d5 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/02_Communication/11_MultipleDelegation_SameConnector_P_PWP_Signal/src/MultipleDelegation_SameConnector_P_PWP_SignalModel.cs @@ -0,0 +1,1692 @@ +/* + * MultipleDelegation_SameConnector_P_PWP_SignalModel.cs + * + * Auto-generated file + */ + +using uml.actions; +using uml.packages; +using uml.structuredclassifiers; +using fuml.primitivetypes; +using uml.classification; +using fuml.library; +using uml.simpleclassifiers; +using uml.commonbehavior; +using uml.commonstructure; +using uml.values; +using uml.activities; +using uml.environment; + + +/* Start of user code : User-defined includes and forward declarations + * This section may be used for includes and forward declarations. + * It will not be overwritten by future generation processes. + */ + +/* + * End of user code + */ + +namespace MultipleDelegation_SameConnector_P_PWP_Signal +{ + public class MultipleDelegation_SameConnector_P_PWP_SignalModel : InMemoryModel + { + private static MultipleDelegation_SameConnector_P_PWP_SignalModel? instance; + + /* + * Model MultipleDelegation_SameConnector_P_PWP_Signal + */ + public Package MultipleDelegation_SameConnector_P_PWP_Signal = new(); + public Class_ MultipleDelegation_SameConnector_P_PWP_Signal_Tester = new(); + public Generalization MultipleDelegation_SameConnector_P_PWP_Signal_Tester_Generalization0 = new(); + public Activity MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity = new(); + public ObjectFlow MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow1 = new(); + public LiteralBoolean MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow1_LiteralBoolean2 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow1_LiteralInteger3 = new(); + public ObjectFlow MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow4 = new(); + public LiteralBoolean MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow4_LiteralBoolean5 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow4_LiteralInteger6 = new(); + public ReadStructuralFeatureAction MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_Read_a_b = new(); + public InputPin MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_Read_a_b_object = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_Read_a_b_object_LiteralInteger7 = new(); + public LiteralUnlimitedNatural MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_Read_a_b_object_LiteralUnlimitedNatural8 = new(); + public OutputPin MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_Read_a_b_result = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_Read_a_b_result_LiteralInteger9 = new(); + public LiteralUnlimitedNatural MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_Read_a_b_result_LiteralUnlimitedNatural10 = new(); + public OpaqueBehavior MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_testP = new(); + public Parameter MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_testP_p = new(); + public ObjectFlow MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow11 = new(); + public LiteralBoolean MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow11_LiteralBoolean12 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow11_LiteralInteger13 = new(); + public ReadSelfAction MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_this = new(); + public OutputPin MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_this_result = new(); + public LiteralUnlimitedNatural MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_this_result_LiteralUnlimitedNatural14 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_this_result_LiteralInteger15 = new(); + public ReadStructuralFeatureAction MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_Read_this_c = new(); + public OutputPin MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_Read_this_c_result = new(); + public LiteralUnlimitedNatural MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_Read_this_c_result_LiteralUnlimitedNatural16 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_Read_this_c_result_LiteralInteger17 = new(); + public InputPin MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_Read_this_c_object = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_Read_this_c_object_LiteralInteger18 = new(); + public LiteralUnlimitedNatural MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_Read_this_c_object_LiteralUnlimitedNatural19 = new(); + public CallBehaviorAction MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_Call_testP = new(); + public InputPin MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_Call_testP_p = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_Call_testP_p_LiteralInteger20 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_Call_testP_p_LiteralInteger21 = new(); + public LiteralUnlimitedNatural MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_Call_testP_p_LiteralUnlimitedNatural22 = new(); + public ObjectFlow MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow23 = new(); + public LiteralBoolean MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow23_LiteralBoolean24 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow23_LiteralInteger25 = new(); + public ObjectFlow MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow26 = new(); + public LiteralBoolean MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow26_LiteralBoolean27 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow26_LiteralInteger28 = new(); + public ReadStructuralFeatureAction MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_Read_b_p = new(); + public InputPin MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_Read_b_p_object = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_Read_b_p_object_LiteralInteger29 = new(); + public LiteralUnlimitedNatural MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_Read_b_p_object_LiteralUnlimitedNatural30 = new(); + public OutputPin MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_Read_b_p_result = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_Read_b_p_result_LiteralInteger31 = new(); + public LiteralUnlimitedNatural MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_Read_b_p_result_LiteralUnlimitedNatural32 = new(); + public ReadStructuralFeatureAction MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_Read_c_a_ = new(); + public OutputPin MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_Read_c_a__result = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_Read_c_a__result_LiteralInteger33 = new(); + public LiteralUnlimitedNatural MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_Read_c_a__result_LiteralUnlimitedNatural34 = new(); + public InputPin MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_Read_c_a__object = new(); + public LiteralUnlimitedNatural MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_Read_c_a__object_LiteralUnlimitedNatural35 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_Read_c_a__object_LiteralInteger36 = new(); + public Operation MultipleDelegation_SameConnector_P_PWP_Signal_Tester_Tester_Tester = new(); + public Parameter MultipleDelegation_SameConnector_P_PWP_Signal_Tester_Tester_Tester_result = new(); + public Activity MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior = new(); + public ReadStructuralFeatureAction MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Read_c_p = new(); + public InputPin MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Read_c_p_object = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Read_c_p_object_LiteralInteger37 = new(); + public LiteralUnlimitedNatural MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Read_c_p_object_LiteralUnlimitedNatural38 = new(); + public OutputPin MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Read_c_p_result = new(); + public LiteralUnlimitedNatural MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Read_c_p_result_LiteralUnlimitedNatural39 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Read_c_p_result_LiteralInteger40 = new(); + public AcceptEventAction MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_3 = new(); + public OutputPin MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_3_result = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_3_result_LiteralInteger41 = new(); + public LiteralUnlimitedNatural MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_3_result_LiteralUnlimitedNatural42 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_3_result_LiteralInteger43 = new(); + public Trigger MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_3_Trigger44 = new(); + public ObjectFlow MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow45 = new(); + public LiteralBoolean MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow45_LiteralBoolean46 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow45_LiteralInteger47 = new(); + public ControlFlow MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ControlFlow48 = new(); + public AcceptEventAction MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Start = new(); + public Trigger MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Start_Trigger49 = new(); + public OutputPin MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Start_result = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Start_result_LiteralInteger50 = new(); + public LiteralUnlimitedNatural MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Start_result_LiteralUnlimitedNatural51 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Start_result_LiteralInteger52 = new(); + public ObjectFlow MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow53 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow53_LiteralInteger54 = new(); + public LiteralBoolean MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow53_LiteralBoolean55 = new(); + public AcceptEventAction MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_4 = new(); + public OutputPin MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_4_result = new(); + public LiteralUnlimitedNatural MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_4_result_LiteralUnlimitedNatural56 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_4_result_LiteralInteger57 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_4_result_LiteralInteger58 = new(); + public Trigger MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_4_Trigger59 = new(); + public ValueSpecificationAction MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Value_4 = new(); + public OutputPin MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Value_4_result = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Value_4_result_LiteralInteger60 = new(); + public LiteralUnlimitedNatural MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Value_4_result_LiteralUnlimitedNatural61 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Value_4_LiteralInteger62 = new(); + public ControlFlow MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ControlFlow63 = new(); + public CallOperationAction MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Call_test_ = new(); + public InputPin MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Call_test__target = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Call_test__target_LiteralInteger64 = new(); + public LiteralUnlimitedNatural MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Call_test__target_LiteralUnlimitedNatural65 = new(); + public ControlFlow MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ControlFlow66 = new(); + public ObjectFlow MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow67 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow67_LiteralInteger68 = new(); + public LiteralBoolean MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow67_LiteralBoolean69 = new(); + public ControlFlow MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ControlFlow70 = new(); + public AcceptEventAction MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_1 = new(); + public Trigger MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_1_Trigger71 = new(); + public OutputPin MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_1_result = new(); + public LiteralUnlimitedNatural MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_1_result_LiteralUnlimitedNatural72 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_1_result_LiteralInteger73 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_1_result_LiteralInteger74 = new(); + public ForkNode MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Fork_this = new(); + public ControlFlow MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ControlFlow75 = new(); + public ReadStructuralFeatureAction MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Read_this_c = new(); + public OutputPin MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Read_this_c_result = new(); + public LiteralUnlimitedNatural MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Read_this_c_result_LiteralUnlimitedNatural76 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Read_this_c_result_LiteralInteger77 = new(); + public InputPin MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Read_this_c_object = new(); + public LiteralUnlimitedNatural MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Read_this_c_object_LiteralUnlimitedNatural78 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Read_this_c_object_LiteralInteger79 = new(); + public SendSignalAction MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Send_S = new(); + public InputPin MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Send_S_t = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Send_S_t_LiteralInteger80 = new(); + public LiteralUnlimitedNatural MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Send_S_t_LiteralUnlimitedNatural81 = new(); + public InputPin MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Send_S_target = new(); + public LiteralUnlimitedNatural MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Send_S_target_LiteralUnlimitedNatural82 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Send_S_target_LiteralInteger83 = new(); + public InputPin MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Send_S_v = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Send_S_v_LiteralInteger84 = new(); + public LiteralUnlimitedNatural MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Send_S_v_LiteralUnlimitedNatural85 = new(); + public ObjectFlow MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow86 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow86_LiteralInteger87 = new(); + public LiteralBoolean MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow86_LiteralBoolean88 = new(); + public ObjectFlow MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow89 = new(); + public LiteralBoolean MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow89_LiteralBoolean90 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow89_LiteralInteger91 = new(); + public AcceptEventAction MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_2 = new(); + public Trigger MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_2_Trigger92 = new(); + public OutputPin MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_2_result = new(); + public LiteralUnlimitedNatural MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_2_result_LiteralUnlimitedNatural93 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_2_result_LiteralInteger94 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_2_result_LiteralInteger95 = new(); + public ReadSelfAction MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_this = new(); + public OutputPin MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_this_result = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_this_result_LiteralInteger96 = new(); + public LiteralUnlimitedNatural MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_this_result_LiteralUnlimitedNatural97 = new(); + public ControlFlow MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ControlFlow98 = new(); + public ObjectFlow MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow99 = new(); + public LiteralBoolean MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow99_LiteralBoolean100 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow99_LiteralInteger101 = new(); + public ObjectFlow MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow102 = new(); + public LiteralBoolean MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow102_LiteralBoolean103 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow102_LiteralInteger104 = new(); + public Operation MultipleDelegation_SameConnector_P_PWP_Signal_Tester_test = new(); + public Property MultipleDelegation_SameConnector_P_PWP_Signal_Tester_c = new(); + public SignalEvent MultipleDelegation_SameConnector_P_PWP_Signal_ContinueEvent = new(); + public SignalEvent MultipleDelegation_SameConnector_P_PWP_Signal_StartEvent = new(); + public Association MultipleDelegation_SameConnector_P_PWP_Signal_U = new(); + public Property MultipleDelegation_SameConnector_P_PWP_Signal_U_x = new(); + public LiteralUnlimitedNatural MultipleDelegation_SameConnector_P_PWP_Signal_U_x_LiteralUnlimitedNatural105 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_PWP_Signal_U_x_LiteralInteger106 = new(); + public Property MultipleDelegation_SameConnector_P_PWP_Signal_U_y = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_PWP_Signal_U_y_LiteralInteger107 = new(); + public LiteralUnlimitedNatural MultipleDelegation_SameConnector_P_PWP_Signal_U_y_LiteralUnlimitedNatural108 = new(); + public Class_ MultipleDelegation_SameConnector_P_PWP_Signal_C = new(); + public Connector MultipleDelegation_SameConnector_P_PWP_Signal_C_u = new(); + public ConnectorEnd MultipleDelegation_SameConnector_P_PWP_Signal_C_u_ConnectorEnd109 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_PWP_Signal_C_u_ConnectorEnd109_LiteralInteger110 = new(); + public LiteralUnlimitedNatural MultipleDelegation_SameConnector_P_PWP_Signal_C_u_ConnectorEnd109_LiteralUnlimitedNatural111 = new(); + public ConnectorEnd MultipleDelegation_SameConnector_P_PWP_Signal_C_u_ConnectorEnd112 = new(); + public LiteralUnlimitedNatural MultipleDelegation_SameConnector_P_PWP_Signal_C_u_ConnectorEnd112_LiteralUnlimitedNatural113 = new(); + public Property MultipleDelegation_SameConnector_P_PWP_Signal_C_a = new(); + public LiteralUnlimitedNatural MultipleDelegation_SameConnector_P_PWP_Signal_C_a_LiteralUnlimitedNatural114 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_PWP_Signal_C_a_LiteralInteger115 = new(); + public Port MultipleDelegation_SameConnector_P_PWP_Signal_C_p = new(); + public Interface MultipleDelegation_SameConnector_P_PWP_Signal_I = new(); + public Reception MultipleDelegation_SameConnector_P_PWP_Signal_I_S = new(); + public Class_ MultipleDelegation_SameConnector_P_PWP_Signal_B = new(); + public Activity MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior = new(); + public ObjectFlow MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow116 = new(); + public LiteralBoolean MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow116_LiteralBoolean117 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow116_LiteralInteger118 = new(); + public ObjectFlow MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow119 = new(); + public LiteralBoolean MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow119_LiteralBoolean120 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow119_LiteralInteger121 = new(); + public ControlFlow MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_ControlFlow122 = new(); + public ObjectFlow MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow123 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow123_LiteralInteger124 = new(); + public LiteralBoolean MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow123_LiteralBoolean125 = new(); + public AcceptEventAction MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_Accept_S = new(); + public Trigger MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_Accept_S_Trigger126 = new(); + public OutputPin MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_Accept_S_s = new(); + public LiteralUnlimitedNatural MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_Accept_S_s_LiteralUnlimitedNatural127 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_Accept_S_s_LiteralInteger128 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_Accept_S_s_LiteralInteger129 = new(); + public AddStructuralFeatureValueAction MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_Set_this_p = new(); + public OutputPin MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_Set_this_p_result = new(); + public LiteralUnlimitedNatural MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_Set_this_p_result_LiteralUnlimitedNatural130 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_Set_this_p_result_LiteralInteger131 = new(); + public InputPin MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_Set_this_p_object = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_Set_this_p_object_LiteralInteger132 = new(); + public LiteralUnlimitedNatural MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_Set_this_p_object_LiteralUnlimitedNatural133 = new(); + public InputPin MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_Set_this_p_value = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_Set_this_p_value_LiteralInteger134 = new(); + public LiteralUnlimitedNatural MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_Set_this_p_value_LiteralUnlimitedNatural135 = new(); + public SendSignalAction MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_Send_Continue = new(); + public InputPin MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_Send_Continue_target = new(); + public LiteralUnlimitedNatural MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_Send_Continue_target_LiteralUnlimitedNatural136 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_Send_Continue_target_LiteralInteger137 = new(); + public ObjectFlow MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow138 = new(); + public LiteralBoolean MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow138_LiteralBoolean139 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow138_LiteralInteger140 = new(); + public ObjectFlow MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow141 = new(); + public LiteralBoolean MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow141_LiteralBoolean142 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow141_LiteralInteger143 = new(); + public ReadStructuralFeatureAction MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_Read_s_v = new(); + public OutputPin MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_Read_s_v_result = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_Read_s_v_result_LiteralInteger144 = new(); + public LiteralUnlimitedNatural MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_Read_s_v_result_LiteralUnlimitedNatural145 = new(); + public InputPin MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_Read_s_v_object = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_Read_s_v_object_LiteralInteger146 = new(); + public LiteralUnlimitedNatural MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_Read_s_v_object_LiteralUnlimitedNatural147 = new(); + public ReadStructuralFeatureAction MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_Read_s_t = new(); + public InputPin MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_Read_s_t_object = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_Read_s_t_object_LiteralInteger148 = new(); + public LiteralUnlimitedNatural MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_Read_s_t_object_LiteralUnlimitedNatural149 = new(); + public OutputPin MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_Read_s_t_result = new(); + public LiteralUnlimitedNatural MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_Read_s_t_result_LiteralUnlimitedNatural150 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_Read_s_t_result_LiteralInteger151 = new(); + public ReadSelfAction MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_this = new(); + public OutputPin MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_this_result = new(); + public LiteralUnlimitedNatural MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_this_result_LiteralUnlimitedNatural152 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_this_result_LiteralInteger153 = new(); + public ForkNode MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_Fork_s = new(); + public ObjectFlow MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow154 = new(); + public LiteralBoolean MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow154_LiteralBoolean155 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow154_LiteralInteger156 = new(); + public InterfaceRealization MultipleDelegation_SameConnector_P_PWP_Signal_B_IRealization = new(); + public Operation MultipleDelegation_SameConnector_P_PWP_Signal_B_B_B = new(); + public Parameter MultipleDelegation_SameConnector_P_PWP_Signal_B_B_B_result = new(); + public Property MultipleDelegation_SameConnector_P_PWP_Signal_B_p = new(); + public Reception MultipleDelegation_SameConnector_P_PWP_Signal_B_S = new(); + public Signal MultipleDelegation_SameConnector_P_PWP_Signal_Continue = new(); + public Class_ MultipleDelegation_SameConnector_P_PWP_Signal_A = new(); + public Port MultipleDelegation_SameConnector_P_PWP_Signal_A_q = new(); + public Connector MultipleDelegation_SameConnector_P_PWP_Signal_A_r = new(); + public ConnectorEnd MultipleDelegation_SameConnector_P_PWP_Signal_A_r_ConnectorEnd157 = new(); + public LiteralUnlimitedNatural MultipleDelegation_SameConnector_P_PWP_Signal_A_r_ConnectorEnd157_LiteralUnlimitedNatural158 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_PWP_Signal_A_r_ConnectorEnd157_LiteralInteger159 = new(); + public ConnectorEnd MultipleDelegation_SameConnector_P_PWP_Signal_A_r_ConnectorEnd160 = new(); + public LiteralUnlimitedNatural MultipleDelegation_SameConnector_P_PWP_Signal_A_r_ConnectorEnd160_LiteralUnlimitedNatural161 = new(); + public Operation MultipleDelegation_SameConnector_P_PWP_Signal_A_A_A = new(); + public Parameter MultipleDelegation_SameConnector_P_PWP_Signal_A_A_A_result = new(); + public Property MultipleDelegation_SameConnector_P_PWP_Signal_A_b = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_PWP_Signal_A_b_LiteralInteger162 = new(); + public LiteralUnlimitedNatural MultipleDelegation_SameConnector_P_PWP_Signal_A_b_LiteralUnlimitedNatural163 = new(); + public Association MultipleDelegation_SameConnector_P_PWP_Signal_R = new(); + public Property MultipleDelegation_SameConnector_P_PWP_Signal_R_x = new(); + public LiteralUnlimitedNatural MultipleDelegation_SameConnector_P_PWP_Signal_R_x_LiteralUnlimitedNatural164 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_PWP_Signal_R_x_LiteralInteger165 = new(); + public Property MultipleDelegation_SameConnector_P_PWP_Signal_R_y = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_PWP_Signal_R_y_LiteralInteger166 = new(); + public LiteralUnlimitedNatural MultipleDelegation_SameConnector_P_PWP_Signal_R_y_LiteralUnlimitedNatural167 = new(); + public Signal MultipleDelegation_SameConnector_P_PWP_Signal_S = new(); + public Property MultipleDelegation_SameConnector_P_PWP_Signal_S_v = new(); + public Property MultipleDelegation_SameConnector_P_PWP_Signal_S_t = new(); + public SignalEvent MultipleDelegation_SameConnector_P_PWP_Signal_SEvent = new(); + public Class_ MultipleDelegation_SameConnector_P_PWP_Signal_IImpl = new(); + public InterfaceRealization MultipleDelegation_SameConnector_P_PWP_Signal_IImpl_IRealization = new(); + public Reception MultipleDelegation_SameConnector_P_PWP_Signal_IImpl_S = new(); + public Class_ MultipleDelegation_SameConnector_P_PWP_Signal_AbstractTester = new(); + public Reception MultipleDelegation_SameConnector_P_PWP_Signal_AbstractTester_Start = new(); + public Operation MultipleDelegation_SameConnector_P_PWP_Signal_AbstractTester_test = new(); + public Reception MultipleDelegation_SameConnector_P_PWP_Signal_AbstractTester_Continue = new(); + public Activity MultipleDelegation_SameConnector_P_PWP_Signal_main = new(); + public ObjectFlow MultipleDelegation_SameConnector_P_PWP_Signal_main_ObjectFlow168 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_PWP_Signal_main_ObjectFlow168_LiteralInteger169 = new(); + public LiteralBoolean MultipleDelegation_SameConnector_P_PWP_Signal_main_ObjectFlow168_LiteralBoolean170 = new(); + public ForkNode MultipleDelegation_SameConnector_P_PWP_Signal_main_Fork_Tester = new(); + public ObjectFlow MultipleDelegation_SameConnector_P_PWP_Signal_main_ObjectFlow171 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_PWP_Signal_main_ObjectFlow171_LiteralInteger172 = new(); + public LiteralBoolean MultipleDelegation_SameConnector_P_PWP_Signal_main_ObjectFlow171_LiteralBoolean173 = new(); + public CallOperationAction MultipleDelegation_SameConnector_P_PWP_Signal_main_Tester_ = new(); + public InputPin MultipleDelegation_SameConnector_P_PWP_Signal_main_Tester__target = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_PWP_Signal_main_Tester__target_LiteralInteger174 = new(); + public LiteralUnlimitedNatural MultipleDelegation_SameConnector_P_PWP_Signal_main_Tester__target_LiteralUnlimitedNatural175 = new(); + public OutputPin MultipleDelegation_SameConnector_P_PWP_Signal_main_Tester__result = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_PWP_Signal_main_Tester__result_LiteralInteger176 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_PWP_Signal_main_Tester__result_LiteralInteger177 = new(); + public LiteralUnlimitedNatural MultipleDelegation_SameConnector_P_PWP_Signal_main_Tester__result_LiteralUnlimitedNatural178 = new(); + public StartObjectBehaviorAction MultipleDelegation_SameConnector_P_PWP_Signal_main_Start_Tester = new(); + public InputPin MultipleDelegation_SameConnector_P_PWP_Signal_main_Start_Tester_object = new(); + public LiteralUnlimitedNatural MultipleDelegation_SameConnector_P_PWP_Signal_main_Start_Tester_object_LiteralUnlimitedNatural179 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_PWP_Signal_main_Start_Tester_object_LiteralInteger180 = new(); + public ObjectFlow MultipleDelegation_SameConnector_P_PWP_Signal_main_ObjectFlow181 = new(); + public LiteralBoolean MultipleDelegation_SameConnector_P_PWP_Signal_main_ObjectFlow181_LiteralBoolean182 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_PWP_Signal_main_ObjectFlow181_LiteralInteger183 = new(); + public CreateObjectAction MultipleDelegation_SameConnector_P_PWP_Signal_main_Create_Tester = new(); + public OutputPin MultipleDelegation_SameConnector_P_PWP_Signal_main_Create_Tester_result = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_PWP_Signal_main_Create_Tester_result_LiteralInteger184 = new(); + public LiteralUnlimitedNatural MultipleDelegation_SameConnector_P_PWP_Signal_main_Create_Tester_result_LiteralUnlimitedNatural185 = new(); + public SendSignalAction MultipleDelegation_SameConnector_P_PWP_Signal_main_Send_Start = new(); + public InputPin MultipleDelegation_SameConnector_P_PWP_Signal_main_Send_Start_target = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_PWP_Signal_main_Send_Start_target_LiteralInteger186 = new(); + public LiteralUnlimitedNatural MultipleDelegation_SameConnector_P_PWP_Signal_main_Send_Start_target_LiteralUnlimitedNatural187 = new(); + public ObjectFlow MultipleDelegation_SameConnector_P_PWP_Signal_main_ObjectFlow188 = new(); + public LiteralInteger MultipleDelegation_SameConnector_P_PWP_Signal_main_ObjectFlow188_LiteralInteger189 = new(); + public LiteralBoolean MultipleDelegation_SameConnector_P_PWP_Signal_main_ObjectFlow188_LiteralBoolean190 = new(); + public ControlFlow MultipleDelegation_SameConnector_P_PWP_Signal_main_ControlFlow191 = new(); + public Signal MultipleDelegation_SameConnector_P_PWP_Signal_Start = new(); + + public static MultipleDelegation_SameConnector_P_PWP_SignalModel Instance() + { + if (instance is null) + { + instance = new(); + instance.InitializeInMemoryModel(); + } + + return instance; + } + + public MultipleDelegation_SameConnector_P_PWP_SignalModel() + { + /* Start of user code : Additional model initializations + * This section may be used to do any additional model initialization, + * for example initializing user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } + + private void InitializeInMemoryModel() + { + // Create public members + /* + * Model MultipleDelegation_SameConnector_P_PWP_Signal + */ + AddToElementRepository("MultipleDelegation_SameConnector_P_PWP_Signal", MultipleDelegation_SameConnector_P_PWP_Signal); + AddToElementRepository("Tester", MultipleDelegation_SameConnector_P_PWP_Signal_Tester); + AddToElementRepository("Generalization0", MultipleDelegation_SameConnector_P_PWP_Signal_Tester_Generalization0); + AddToElementRepository("testActivity", MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity); + AddToElementRepository("ObjectFlow1", MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow1); + AddToElementRepository("LiteralBoolean2", MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow1_LiteralBoolean2); + AddToElementRepository("LiteralInteger3", MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow1_LiteralInteger3); + AddToElementRepository("ObjectFlow4", MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow4); + AddToElementRepository("LiteralBoolean5", MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow4_LiteralBoolean5); + AddToElementRepository("LiteralInteger6", MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow4_LiteralInteger6); + AddToElementRepository("Read a.b", MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_Read_a_b); + AddToElementRepository("object", MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_Read_a_b_object); + AddToElementRepository("LiteralInteger7", MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_Read_a_b_object_LiteralInteger7); + AddToElementRepository("LiteralUnlimitedNatural8", MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_Read_a_b_object_LiteralUnlimitedNatural8); + AddToElementRepository("result", MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_Read_a_b_result); + AddToElementRepository("LiteralInteger9", MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_Read_a_b_result_LiteralInteger9); + AddToElementRepository("LiteralUnlimitedNatural10", MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_Read_a_b_result_LiteralUnlimitedNatural10); + AddToElementRepository("testP", MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_testP); + AddToElementRepository("p", MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_testP_p); + AddToElementRepository("ObjectFlow11", MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow11); + AddToElementRepository("LiteralBoolean12", MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow11_LiteralBoolean12); + AddToElementRepository("LiteralInteger13", MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow11_LiteralInteger13); + AddToElementRepository("this", MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_this); + AddToElementRepository("result", MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_this_result); + AddToElementRepository("LiteralUnlimitedNatural14", MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_this_result_LiteralUnlimitedNatural14); + AddToElementRepository("LiteralInteger15", MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_this_result_LiteralInteger15); + AddToElementRepository("Read this.c", MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_Read_this_c); + AddToElementRepository("result", MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_Read_this_c_result); + AddToElementRepository("LiteralUnlimitedNatural16", MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_Read_this_c_result_LiteralUnlimitedNatural16); + AddToElementRepository("LiteralInteger17", MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_Read_this_c_result_LiteralInteger17); + AddToElementRepository("object", MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_Read_this_c_object); + AddToElementRepository("LiteralInteger18", MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_Read_this_c_object_LiteralInteger18); + AddToElementRepository("LiteralUnlimitedNatural19", MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_Read_this_c_object_LiteralUnlimitedNatural19); + AddToElementRepository("Call testP", MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_Call_testP); + AddToElementRepository("p", MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_Call_testP_p); + AddToElementRepository("LiteralInteger20", MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_Call_testP_p_LiteralInteger20); + AddToElementRepository("LiteralInteger21", MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_Call_testP_p_LiteralInteger21); + AddToElementRepository("LiteralUnlimitedNatural22", MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_Call_testP_p_LiteralUnlimitedNatural22); + AddToElementRepository("ObjectFlow23", MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow23); + AddToElementRepository("LiteralBoolean24", MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow23_LiteralBoolean24); + AddToElementRepository("LiteralInteger25", MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow23_LiteralInteger25); + AddToElementRepository("ObjectFlow26", MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow26); + AddToElementRepository("LiteralBoolean27", MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow26_LiteralBoolean27); + AddToElementRepository("LiteralInteger28", MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow26_LiteralInteger28); + AddToElementRepository("Read b.p", MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_Read_b_p); + AddToElementRepository("object", MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_Read_b_p_object); + AddToElementRepository("LiteralInteger29", MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_Read_b_p_object_LiteralInteger29); + AddToElementRepository("LiteralUnlimitedNatural30", MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_Read_b_p_object_LiteralUnlimitedNatural30); + AddToElementRepository("result", MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_Read_b_p_result); + AddToElementRepository("LiteralInteger31", MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_Read_b_p_result_LiteralInteger31); + AddToElementRepository("LiteralUnlimitedNatural32", MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_Read_b_p_result_LiteralUnlimitedNatural32); + AddToElementRepository("Read c.a[]", MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_Read_c_a_); + AddToElementRepository("result", MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_Read_c_a__result); + AddToElementRepository("LiteralInteger33", MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_Read_c_a__result_LiteralInteger33); + AddToElementRepository("LiteralUnlimitedNatural34", MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_Read_c_a__result_LiteralUnlimitedNatural34); + AddToElementRepository("object", MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_Read_c_a__object); + AddToElementRepository("LiteralUnlimitedNatural35", MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_Read_c_a__object_LiteralUnlimitedNatural35); + AddToElementRepository("LiteralInteger36", MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_Read_c_a__object_LiteralInteger36); + AddToElementRepository("Tester_Tester", MultipleDelegation_SameConnector_P_PWP_Signal_Tester_Tester_Tester); + AddToElementRepository("result", MultipleDelegation_SameConnector_P_PWP_Signal_Tester_Tester_Tester_result); + AddToElementRepository("TesterClassifierBehavior", MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior); + AddToElementRepository("Read c.p", MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Read_c_p); + AddToElementRepository("object", MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Read_c_p_object); + AddToElementRepository("LiteralInteger37", MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Read_c_p_object_LiteralInteger37); + AddToElementRepository("LiteralUnlimitedNatural38", MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Read_c_p_object_LiteralUnlimitedNatural38); + AddToElementRepository("result", MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Read_c_p_result); + AddToElementRepository("LiteralUnlimitedNatural39", MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Read_c_p_result_LiteralUnlimitedNatural39); + AddToElementRepository("LiteralInteger40", MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Read_c_p_result_LiteralInteger40); + AddToElementRepository("Accept Continue_3", MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_3); + AddToElementRepository("result", MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_3_result); + AddToElementRepository("LiteralInteger41", MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_3_result_LiteralInteger41); + AddToElementRepository("LiteralUnlimitedNatural42", MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_3_result_LiteralUnlimitedNatural42); + AddToElementRepository("LiteralInteger43", MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_3_result_LiteralInteger43); + AddToElementRepository("Trigger44", MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_3_Trigger44); + AddToElementRepository("ObjectFlow45", MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow45); + AddToElementRepository("LiteralBoolean46", MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow45_LiteralBoolean46); + AddToElementRepository("LiteralInteger47", MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow45_LiteralInteger47); + AddToElementRepository("ControlFlow48", MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ControlFlow48); + AddToElementRepository("Accept Start", MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Start); + AddToElementRepository("Trigger49", MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Start_Trigger49); + AddToElementRepository("result", MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Start_result); + AddToElementRepository("LiteralInteger50", MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Start_result_LiteralInteger50); + AddToElementRepository("LiteralUnlimitedNatural51", MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Start_result_LiteralUnlimitedNatural51); + AddToElementRepository("LiteralInteger52", MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Start_result_LiteralInteger52); + AddToElementRepository("ObjectFlow53", MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow53); + AddToElementRepository("LiteralInteger54", MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow53_LiteralInteger54); + AddToElementRepository("LiteralBoolean55", MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow53_LiteralBoolean55); + AddToElementRepository("Accept Continue_4", MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_4); + AddToElementRepository("result", MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_4_result); + AddToElementRepository("LiteralUnlimitedNatural56", MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_4_result_LiteralUnlimitedNatural56); + AddToElementRepository("LiteralInteger57", MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_4_result_LiteralInteger57); + AddToElementRepository("LiteralInteger58", MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_4_result_LiteralInteger58); + AddToElementRepository("Trigger59", MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_4_Trigger59); + AddToElementRepository("Value(4)", MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Value_4); + AddToElementRepository("result", MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Value_4_result); + AddToElementRepository("LiteralInteger60", MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Value_4_result_LiteralInteger60); + AddToElementRepository("LiteralUnlimitedNatural61", MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Value_4_result_LiteralUnlimitedNatural61); + AddToElementRepository("LiteralInteger62", MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Value_4_LiteralInteger62); + AddToElementRepository("ControlFlow63", MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ControlFlow63); + AddToElementRepository("Call test()", MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Call_test_); + AddToElementRepository("target", MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Call_test__target); + AddToElementRepository("LiteralInteger64", MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Call_test__target_LiteralInteger64); + AddToElementRepository("LiteralUnlimitedNatural65", MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Call_test__target_LiteralUnlimitedNatural65); + AddToElementRepository("ControlFlow66", MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ControlFlow66); + AddToElementRepository("ObjectFlow67", MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow67); + AddToElementRepository("LiteralInteger68", MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow67_LiteralInteger68); + AddToElementRepository("LiteralBoolean69", MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow67_LiteralBoolean69); + AddToElementRepository("ControlFlow70", MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ControlFlow70); + AddToElementRepository("Accept Continue_1", MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_1); + AddToElementRepository("Trigger71", MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_1_Trigger71); + AddToElementRepository("result", MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_1_result); + AddToElementRepository("LiteralUnlimitedNatural72", MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_1_result_LiteralUnlimitedNatural72); + AddToElementRepository("LiteralInteger73", MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_1_result_LiteralInteger73); + AddToElementRepository("LiteralInteger74", MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_1_result_LiteralInteger74); + AddToElementRepository("Fork this", MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Fork_this); + AddToElementRepository("ControlFlow75", MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ControlFlow75); + AddToElementRepository("Read this.c", MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Read_this_c); + AddToElementRepository("result", MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Read_this_c_result); + AddToElementRepository("LiteralUnlimitedNatural76", MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Read_this_c_result_LiteralUnlimitedNatural76); + AddToElementRepository("LiteralInteger77", MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Read_this_c_result_LiteralInteger77); + AddToElementRepository("object", MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Read_this_c_object); + AddToElementRepository("LiteralUnlimitedNatural78", MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Read_this_c_object_LiteralUnlimitedNatural78); + AddToElementRepository("LiteralInteger79", MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Read_this_c_object_LiteralInteger79); + AddToElementRepository("Send S", MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Send_S); + AddToElementRepository("t", MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Send_S_t); + AddToElementRepository("LiteralInteger80", MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Send_S_t_LiteralInteger80); + AddToElementRepository("LiteralUnlimitedNatural81", MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Send_S_t_LiteralUnlimitedNatural81); + AddToElementRepository("target", MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Send_S_target); + AddToElementRepository("LiteralUnlimitedNatural82", MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Send_S_target_LiteralUnlimitedNatural82); + AddToElementRepository("LiteralInteger83", MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Send_S_target_LiteralInteger83); + AddToElementRepository("v", MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Send_S_v); + AddToElementRepository("LiteralInteger84", MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Send_S_v_LiteralInteger84); + AddToElementRepository("LiteralUnlimitedNatural85", MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Send_S_v_LiteralUnlimitedNatural85); + AddToElementRepository("ObjectFlow86", MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow86); + AddToElementRepository("LiteralInteger87", MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow86_LiteralInteger87); + AddToElementRepository("LiteralBoolean88", MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow86_LiteralBoolean88); + AddToElementRepository("ObjectFlow89", MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow89); + AddToElementRepository("LiteralBoolean90", MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow89_LiteralBoolean90); + AddToElementRepository("LiteralInteger91", MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow89_LiteralInteger91); + AddToElementRepository("Accept Continue_2", MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_2); + AddToElementRepository("Trigger92", MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_2_Trigger92); + AddToElementRepository("result", MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_2_result); + AddToElementRepository("LiteralUnlimitedNatural93", MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_2_result_LiteralUnlimitedNatural93); + AddToElementRepository("LiteralInteger94", MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_2_result_LiteralInteger94); + AddToElementRepository("LiteralInteger95", MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_2_result_LiteralInteger95); + AddToElementRepository("this", MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_this); + AddToElementRepository("result", MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_this_result); + AddToElementRepository("LiteralInteger96", MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_this_result_LiteralInteger96); + AddToElementRepository("LiteralUnlimitedNatural97", MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_this_result_LiteralUnlimitedNatural97); + AddToElementRepository("ControlFlow98", MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ControlFlow98); + AddToElementRepository("ObjectFlow99", MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow99); + AddToElementRepository("LiteralBoolean100", MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow99_LiteralBoolean100); + AddToElementRepository("LiteralInteger101", MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow99_LiteralInteger101); + AddToElementRepository("ObjectFlow102", MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow102); + AddToElementRepository("LiteralBoolean103", MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow102_LiteralBoolean103); + AddToElementRepository("LiteralInteger104", MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow102_LiteralInteger104); + AddToElementRepository("test", MultipleDelegation_SameConnector_P_PWP_Signal_Tester_test); + AddToElementRepository("c", MultipleDelegation_SameConnector_P_PWP_Signal_Tester_c); + AddToElementRepository("ContinueEvent", MultipleDelegation_SameConnector_P_PWP_Signal_ContinueEvent); + AddToElementRepository("StartEvent", MultipleDelegation_SameConnector_P_PWP_Signal_StartEvent); + AddToElementRepository("U", MultipleDelegation_SameConnector_P_PWP_Signal_U); + AddToElementRepository("x", MultipleDelegation_SameConnector_P_PWP_Signal_U_x); + AddToElementRepository("LiteralUnlimitedNatural105", MultipleDelegation_SameConnector_P_PWP_Signal_U_x_LiteralUnlimitedNatural105); + AddToElementRepository("LiteralInteger106", MultipleDelegation_SameConnector_P_PWP_Signal_U_x_LiteralInteger106); + AddToElementRepository("y", MultipleDelegation_SameConnector_P_PWP_Signal_U_y); + AddToElementRepository("LiteralInteger107", MultipleDelegation_SameConnector_P_PWP_Signal_U_y_LiteralInteger107); + AddToElementRepository("LiteralUnlimitedNatural108", MultipleDelegation_SameConnector_P_PWP_Signal_U_y_LiteralUnlimitedNatural108); + AddToElementRepository("C", MultipleDelegation_SameConnector_P_PWP_Signal_C); + AddToElementRepository("u", MultipleDelegation_SameConnector_P_PWP_Signal_C_u); + AddToElementRepository("ConnectorEnd109", MultipleDelegation_SameConnector_P_PWP_Signal_C_u_ConnectorEnd109); + AddToElementRepository("LiteralInteger110", MultipleDelegation_SameConnector_P_PWP_Signal_C_u_ConnectorEnd109_LiteralInteger110); + AddToElementRepository("LiteralUnlimitedNatural111", MultipleDelegation_SameConnector_P_PWP_Signal_C_u_ConnectorEnd109_LiteralUnlimitedNatural111); + AddToElementRepository("ConnectorEnd112", MultipleDelegation_SameConnector_P_PWP_Signal_C_u_ConnectorEnd112); + AddToElementRepository("LiteralUnlimitedNatural113", MultipleDelegation_SameConnector_P_PWP_Signal_C_u_ConnectorEnd112_LiteralUnlimitedNatural113); + AddToElementRepository("a", MultipleDelegation_SameConnector_P_PWP_Signal_C_a); + AddToElementRepository("LiteralUnlimitedNatural114", MultipleDelegation_SameConnector_P_PWP_Signal_C_a_LiteralUnlimitedNatural114); + AddToElementRepository("LiteralInteger115", MultipleDelegation_SameConnector_P_PWP_Signal_C_a_LiteralInteger115); + AddToElementRepository("p", MultipleDelegation_SameConnector_P_PWP_Signal_C_p); + AddToElementRepository("I", MultipleDelegation_SameConnector_P_PWP_Signal_I); + AddToElementRepository("S", MultipleDelegation_SameConnector_P_PWP_Signal_I_S); + AddToElementRepository("B", MultipleDelegation_SameConnector_P_PWP_Signal_B); + AddToElementRepository("BClassifierBehavior", MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior); + AddToElementRepository("ObjectFlow116", MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow116); + AddToElementRepository("LiteralBoolean117", MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow116_LiteralBoolean117); + AddToElementRepository("LiteralInteger118", MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow116_LiteralInteger118); + AddToElementRepository("ObjectFlow119", MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow119); + AddToElementRepository("LiteralBoolean120", MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow119_LiteralBoolean120); + AddToElementRepository("LiteralInteger121", MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow119_LiteralInteger121); + AddToElementRepository("ControlFlow122", MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_ControlFlow122); + AddToElementRepository("ObjectFlow123", MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow123); + AddToElementRepository("LiteralInteger124", MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow123_LiteralInteger124); + AddToElementRepository("LiteralBoolean125", MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow123_LiteralBoolean125); + AddToElementRepository("Accept S", MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_Accept_S); + AddToElementRepository("Trigger126", MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_Accept_S_Trigger126); + AddToElementRepository("s", MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_Accept_S_s); + AddToElementRepository("LiteralUnlimitedNatural127", MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_Accept_S_s_LiteralUnlimitedNatural127); + AddToElementRepository("LiteralInteger128", MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_Accept_S_s_LiteralInteger128); + AddToElementRepository("LiteralInteger129", MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_Accept_S_s_LiteralInteger129); + AddToElementRepository("Set this.p", MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_Set_this_p); + AddToElementRepository("result", MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_Set_this_p_result); + AddToElementRepository("LiteralUnlimitedNatural130", MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_Set_this_p_result_LiteralUnlimitedNatural130); + AddToElementRepository("LiteralInteger131", MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_Set_this_p_result_LiteralInteger131); + AddToElementRepository("object", MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_Set_this_p_object); + AddToElementRepository("LiteralInteger132", MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_Set_this_p_object_LiteralInteger132); + AddToElementRepository("LiteralUnlimitedNatural133", MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_Set_this_p_object_LiteralUnlimitedNatural133); + AddToElementRepository("value", MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_Set_this_p_value); + AddToElementRepository("LiteralInteger134", MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_Set_this_p_value_LiteralInteger134); + AddToElementRepository("LiteralUnlimitedNatural135", MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_Set_this_p_value_LiteralUnlimitedNatural135); + AddToElementRepository("Send Continue", MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_Send_Continue); + AddToElementRepository("target", MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_Send_Continue_target); + AddToElementRepository("LiteralUnlimitedNatural136", MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_Send_Continue_target_LiteralUnlimitedNatural136); + AddToElementRepository("LiteralInteger137", MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_Send_Continue_target_LiteralInteger137); + AddToElementRepository("ObjectFlow138", MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow138); + AddToElementRepository("LiteralBoolean139", MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow138_LiteralBoolean139); + AddToElementRepository("LiteralInteger140", MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow138_LiteralInteger140); + AddToElementRepository("ObjectFlow141", MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow141); + AddToElementRepository("LiteralBoolean142", MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow141_LiteralBoolean142); + AddToElementRepository("LiteralInteger143", MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow141_LiteralInteger143); + AddToElementRepository("Read s.v", MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_Read_s_v); + AddToElementRepository("result", MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_Read_s_v_result); + AddToElementRepository("LiteralInteger144", MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_Read_s_v_result_LiteralInteger144); + AddToElementRepository("LiteralUnlimitedNatural145", MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_Read_s_v_result_LiteralUnlimitedNatural145); + AddToElementRepository("object", MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_Read_s_v_object); + AddToElementRepository("LiteralInteger146", MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_Read_s_v_object_LiteralInteger146); + AddToElementRepository("LiteralUnlimitedNatural147", MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_Read_s_v_object_LiteralUnlimitedNatural147); + AddToElementRepository("Read s.t", MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_Read_s_t); + AddToElementRepository("object", MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_Read_s_t_object); + AddToElementRepository("LiteralInteger148", MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_Read_s_t_object_LiteralInteger148); + AddToElementRepository("LiteralUnlimitedNatural149", MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_Read_s_t_object_LiteralUnlimitedNatural149); + AddToElementRepository("result", MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_Read_s_t_result); + AddToElementRepository("LiteralUnlimitedNatural150", MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_Read_s_t_result_LiteralUnlimitedNatural150); + AddToElementRepository("LiteralInteger151", MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_Read_s_t_result_LiteralInteger151); + AddToElementRepository("this", MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_this); + AddToElementRepository("result", MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_this_result); + AddToElementRepository("LiteralUnlimitedNatural152", MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_this_result_LiteralUnlimitedNatural152); + AddToElementRepository("LiteralInteger153", MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_this_result_LiteralInteger153); + AddToElementRepository("Fork s", MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_Fork_s); + AddToElementRepository("ObjectFlow154", MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow154); + AddToElementRepository("LiteralBoolean155", MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow154_LiteralBoolean155); + AddToElementRepository("LiteralInteger156", MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow154_LiteralInteger156); + AddToElementRepository("IRealization", MultipleDelegation_SameConnector_P_PWP_Signal_B_IRealization); + AddToElementRepository("B_B", MultipleDelegation_SameConnector_P_PWP_Signal_B_B_B); + AddToElementRepository("result", MultipleDelegation_SameConnector_P_PWP_Signal_B_B_B_result); + AddToElementRepository("p", MultipleDelegation_SameConnector_P_PWP_Signal_B_p); + AddToElementRepository("S", MultipleDelegation_SameConnector_P_PWP_Signal_B_S); + AddToElementRepository("Continue", MultipleDelegation_SameConnector_P_PWP_Signal_Continue); + AddToElementRepository("A", MultipleDelegation_SameConnector_P_PWP_Signal_A); + AddToElementRepository("q", MultipleDelegation_SameConnector_P_PWP_Signal_A_q); + AddToElementRepository("r", MultipleDelegation_SameConnector_P_PWP_Signal_A_r); + AddToElementRepository("ConnectorEnd157", MultipleDelegation_SameConnector_P_PWP_Signal_A_r_ConnectorEnd157); + AddToElementRepository("LiteralUnlimitedNatural158", MultipleDelegation_SameConnector_P_PWP_Signal_A_r_ConnectorEnd157_LiteralUnlimitedNatural158); + AddToElementRepository("LiteralInteger159", MultipleDelegation_SameConnector_P_PWP_Signal_A_r_ConnectorEnd157_LiteralInteger159); + AddToElementRepository("ConnectorEnd160", MultipleDelegation_SameConnector_P_PWP_Signal_A_r_ConnectorEnd160); + AddToElementRepository("LiteralUnlimitedNatural161", MultipleDelegation_SameConnector_P_PWP_Signal_A_r_ConnectorEnd160_LiteralUnlimitedNatural161); + AddToElementRepository("A_A", MultipleDelegation_SameConnector_P_PWP_Signal_A_A_A); + AddToElementRepository("result", MultipleDelegation_SameConnector_P_PWP_Signal_A_A_A_result); + AddToElementRepository("b", MultipleDelegation_SameConnector_P_PWP_Signal_A_b); + AddToElementRepository("LiteralInteger162", MultipleDelegation_SameConnector_P_PWP_Signal_A_b_LiteralInteger162); + AddToElementRepository("LiteralUnlimitedNatural163", MultipleDelegation_SameConnector_P_PWP_Signal_A_b_LiteralUnlimitedNatural163); + AddToElementRepository("R", MultipleDelegation_SameConnector_P_PWP_Signal_R); + AddToElementRepository("x", MultipleDelegation_SameConnector_P_PWP_Signal_R_x); + AddToElementRepository("LiteralUnlimitedNatural164", MultipleDelegation_SameConnector_P_PWP_Signal_R_x_LiteralUnlimitedNatural164); + AddToElementRepository("LiteralInteger165", MultipleDelegation_SameConnector_P_PWP_Signal_R_x_LiteralInteger165); + AddToElementRepository("y", MultipleDelegation_SameConnector_P_PWP_Signal_R_y); + AddToElementRepository("LiteralInteger166", MultipleDelegation_SameConnector_P_PWP_Signal_R_y_LiteralInteger166); + AddToElementRepository("LiteralUnlimitedNatural167", MultipleDelegation_SameConnector_P_PWP_Signal_R_y_LiteralUnlimitedNatural167); + AddToElementRepository("S", MultipleDelegation_SameConnector_P_PWP_Signal_S); + AddToElementRepository("v", MultipleDelegation_SameConnector_P_PWP_Signal_S_v); + AddToElementRepository("t", MultipleDelegation_SameConnector_P_PWP_Signal_S_t); + AddToElementRepository("SEvent", MultipleDelegation_SameConnector_P_PWP_Signal_SEvent); + AddToElementRepository("IImpl", MultipleDelegation_SameConnector_P_PWP_Signal_IImpl); + AddToElementRepository("IRealization", MultipleDelegation_SameConnector_P_PWP_Signal_IImpl_IRealization); + AddToElementRepository("S", MultipleDelegation_SameConnector_P_PWP_Signal_IImpl_S); + AddToElementRepository("AbstractTester", MultipleDelegation_SameConnector_P_PWP_Signal_AbstractTester); + AddToElementRepository("Start", MultipleDelegation_SameConnector_P_PWP_Signal_AbstractTester_Start); + AddToElementRepository("test", MultipleDelegation_SameConnector_P_PWP_Signal_AbstractTester_test); + AddToElementRepository("Continue", MultipleDelegation_SameConnector_P_PWP_Signal_AbstractTester_Continue); + AddToElementRepository("main", MultipleDelegation_SameConnector_P_PWP_Signal_main); + AddToElementRepository("ObjectFlow168", MultipleDelegation_SameConnector_P_PWP_Signal_main_ObjectFlow168); + AddToElementRepository("LiteralInteger169", MultipleDelegation_SameConnector_P_PWP_Signal_main_ObjectFlow168_LiteralInteger169); + AddToElementRepository("LiteralBoolean170", MultipleDelegation_SameConnector_P_PWP_Signal_main_ObjectFlow168_LiteralBoolean170); + AddToElementRepository("Fork Tester", MultipleDelegation_SameConnector_P_PWP_Signal_main_Fork_Tester); + AddToElementRepository("ObjectFlow171", MultipleDelegation_SameConnector_P_PWP_Signal_main_ObjectFlow171); + AddToElementRepository("LiteralInteger172", MultipleDelegation_SameConnector_P_PWP_Signal_main_ObjectFlow171_LiteralInteger172); + AddToElementRepository("LiteralBoolean173", MultipleDelegation_SameConnector_P_PWP_Signal_main_ObjectFlow171_LiteralBoolean173); + AddToElementRepository("Tester()", MultipleDelegation_SameConnector_P_PWP_Signal_main_Tester_); + AddToElementRepository("target", MultipleDelegation_SameConnector_P_PWP_Signal_main_Tester__target); + AddToElementRepository("LiteralInteger174", MultipleDelegation_SameConnector_P_PWP_Signal_main_Tester__target_LiteralInteger174); + AddToElementRepository("LiteralUnlimitedNatural175", MultipleDelegation_SameConnector_P_PWP_Signal_main_Tester__target_LiteralUnlimitedNatural175); + AddToElementRepository("result", MultipleDelegation_SameConnector_P_PWP_Signal_main_Tester__result); + AddToElementRepository("LiteralInteger176", MultipleDelegation_SameConnector_P_PWP_Signal_main_Tester__result_LiteralInteger176); + AddToElementRepository("LiteralInteger177", MultipleDelegation_SameConnector_P_PWP_Signal_main_Tester__result_LiteralInteger177); + AddToElementRepository("LiteralUnlimitedNatural178", MultipleDelegation_SameConnector_P_PWP_Signal_main_Tester__result_LiteralUnlimitedNatural178); + AddToElementRepository("Start Tester", MultipleDelegation_SameConnector_P_PWP_Signal_main_Start_Tester); + AddToElementRepository("object", MultipleDelegation_SameConnector_P_PWP_Signal_main_Start_Tester_object); + AddToElementRepository("LiteralUnlimitedNatural179", MultipleDelegation_SameConnector_P_PWP_Signal_main_Start_Tester_object_LiteralUnlimitedNatural179); + AddToElementRepository("LiteralInteger180", MultipleDelegation_SameConnector_P_PWP_Signal_main_Start_Tester_object_LiteralInteger180); + AddToElementRepository("ObjectFlow181", MultipleDelegation_SameConnector_P_PWP_Signal_main_ObjectFlow181); + AddToElementRepository("LiteralBoolean182", MultipleDelegation_SameConnector_P_PWP_Signal_main_ObjectFlow181_LiteralBoolean182); + AddToElementRepository("LiteralInteger183", MultipleDelegation_SameConnector_P_PWP_Signal_main_ObjectFlow181_LiteralInteger183); + AddToElementRepository("Create Tester", MultipleDelegation_SameConnector_P_PWP_Signal_main_Create_Tester); + AddToElementRepository("result", MultipleDelegation_SameConnector_P_PWP_Signal_main_Create_Tester_result); + AddToElementRepository("LiteralInteger184", MultipleDelegation_SameConnector_P_PWP_Signal_main_Create_Tester_result_LiteralInteger184); + AddToElementRepository("LiteralUnlimitedNatural185", MultipleDelegation_SameConnector_P_PWP_Signal_main_Create_Tester_result_LiteralUnlimitedNatural185); + AddToElementRepository("Send Start", MultipleDelegation_SameConnector_P_PWP_Signal_main_Send_Start); + AddToElementRepository("target", MultipleDelegation_SameConnector_P_PWP_Signal_main_Send_Start_target); + AddToElementRepository("LiteralInteger186", MultipleDelegation_SameConnector_P_PWP_Signal_main_Send_Start_target_LiteralInteger186); + AddToElementRepository("LiteralUnlimitedNatural187", MultipleDelegation_SameConnector_P_PWP_Signal_main_Send_Start_target_LiteralUnlimitedNatural187); + AddToElementRepository("ObjectFlow188", MultipleDelegation_SameConnector_P_PWP_Signal_main_ObjectFlow188); + AddToElementRepository("LiteralInteger189", MultipleDelegation_SameConnector_P_PWP_Signal_main_ObjectFlow188_LiteralInteger189); + AddToElementRepository("LiteralBoolean190", MultipleDelegation_SameConnector_P_PWP_Signal_main_ObjectFlow188_LiteralBoolean190); + AddToElementRepository("ControlFlow191", MultipleDelegation_SameConnector_P_PWP_Signal_main_ControlFlow191); + AddToElementRepository("Start", MultipleDelegation_SameConnector_P_PWP_Signal_Start); + + // Initialize public members + /* + * Model MultipleDelegation_SameConnector_P_PWP_Signal + */ + MultipleDelegation_SameConnector_P_PWP_Signal.SetName("MultipleDelegation_SameConnector_P_PWP_Signal"); + MultipleDelegation_SameConnector_P_PWP_Signal.SetVisibility(VisibilityKind.public_); + // Class Tester + MultipleDelegation_SameConnector_P_PWP_Signal_Tester.SetName("Tester"); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester.SetVisibility(VisibilityKind.public_); + + // Generalization to AbstractTester + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_Generalization0.SetGeneral(MultipleDelegation_SameConnector_P_PWP_Signal_AbstractTester); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester.AddGeneralization(MultipleDelegation_SameConnector_P_PWP_Signal_Tester_Generalization0); + // Property c + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_c.SetName("c"); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_c.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_c.SetType(MultipleDelegation_SameConnector_P_PWP_Signal_C); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_c.SetAggregation(AggregationKind.composite); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester.AddOwnedAttribute(MultipleDelegation_SameConnector_P_PWP_Signal_Tester_c); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester.SetClassifierBehavior(MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior); + // Activity testActivity + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity.SetName("testActivity"); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity.SetVisibility(VisibilityKind.public_); + // FunctionBehavior testP + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_testP.SetName("testP"); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_testP.SetVisibility(VisibilityKind.public_); + + // Parameter p + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_testP_p.SetName("p"); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_testP_p.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_testP_p.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_testP.AddOwnedParameter(MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_testP_p); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_testP.AddLanguage("C#"); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_testP.AddLanguage("Using"); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_testP.AddBody("if(index == 1) { Console.WriteLine(\"Asserting c.a[1].b.p == 4 && c.a[2].b.p == 4 && c.a[3].b.p == 4 && c.a[4].b.p == 4\"); } // Test parameter p int p = ((IntegerValue)inputParameters.ElementAt(0).values.ElementAt(0)).value; Debug.Println(\"[doBody] argument p = \" + p); Console.WriteLine( \"c.a[\" + index + \"].b.p == \" + p); success = success && (p == 4); if(index == MAX_INDEX) { Console.Write(\"Signal delegated on all links (shall be true for default strategy): \"); if(success) { Console.ForegroundColor = ConsoleColor.Green; Console.WriteLine(\"Assertion successful.\"); } else { Console.ForegroundColor = ConsoleColor.Red; Console.WriteLine(\"Assertion failed!\"); } Console.ResetColor(); } index++;"); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_testP.AddBody("using fuml.semantics.simpleclassifiers;"); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity.AddOwnedBehavior(MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_testP); + // ReadStructuralFeatureAction Read a.b + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_Read_a_b.SetName("Read a.b"); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_Read_a_b.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_Read_a_b.SetStructuralFeature(MultipleDelegation_SameConnector_P_PWP_Signal_A_b); + // InputPin object + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_Read_a_b_object.SetName("object"); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_Read_a_b_object.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_Read_a_b_object.SetType(MultipleDelegation_SameConnector_P_PWP_Signal_A); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_Read_a_b.SetObject(MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_Read_a_b_object); + // OutputPin result + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_Read_a_b_result.SetName("result"); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_Read_a_b_result.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_Read_a_b_result.SetType(MultipleDelegation_SameConnector_P_PWP_Signal_B); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_Read_a_b_result.SetUpper(4); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_Read_a_b_result.SetLower(4); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_Read_a_b.SetResult(MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_Read_a_b_result); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity.AddNode(MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_Read_a_b); + // ReadSelfAction this + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_this.SetName("this"); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_this.SetVisibility(VisibilityKind.public_); + // OutputPin result + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_this_result.SetName("result"); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_this_result.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_this_result.SetType(MultipleDelegation_SameConnector_P_PWP_Signal_Tester); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_this.SetResult(MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_this_result); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity.AddNode(MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_this); + // ReadStructuralFeatureAction Read this.c + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_Read_this_c.SetName("Read this.c"); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_Read_this_c.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_Read_this_c.SetStructuralFeature(MultipleDelegation_SameConnector_P_PWP_Signal_Tester_c); + // InputPin object + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_Read_this_c_object.SetName("object"); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_Read_this_c_object.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_Read_this_c_object.SetType(MultipleDelegation_SameConnector_P_PWP_Signal_Tester); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_Read_this_c.SetObject(MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_Read_this_c_object); + // OutputPin result + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_Read_this_c_result.SetName("result"); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_Read_this_c_result.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_Read_this_c_result.SetType(MultipleDelegation_SameConnector_P_PWP_Signal_C); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_Read_this_c.SetResult(MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_Read_this_c_result); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity.AddNode(MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_Read_this_c); + // CallBehaviorAction Call testP + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_Call_testP.SetName("Call testP"); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_Call_testP.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_Call_testP.SetBehavior(MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_testP); + // InputPin p + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_Call_testP_p.SetName("p"); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_Call_testP_p.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_Call_testP_p.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_Call_testP.AddArgument(MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_Call_testP_p); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity.AddNode(MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_Call_testP); + // ReadStructuralFeatureAction Read b.p + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_Read_b_p.SetName("Read b.p"); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_Read_b_p.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_Read_b_p.SetStructuralFeature(MultipleDelegation_SameConnector_P_PWP_Signal_B_p); + // InputPin object + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_Read_b_p_object.SetName("object"); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_Read_b_p_object.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_Read_b_p_object.SetType(MultipleDelegation_SameConnector_P_PWP_Signal_B); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_Read_b_p.SetObject(MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_Read_b_p_object); + // OutputPin result + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_Read_b_p_result.SetName("result"); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_Read_b_p_result.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_Read_b_p_result.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_Read_b_p.SetResult(MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_Read_b_p_result); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity.AddNode(MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_Read_b_p); + // ReadStructuralFeatureAction Read c.a[] + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_Read_c_a_.SetName("Read c.a[]"); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_Read_c_a_.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_Read_c_a_.SetStructuralFeature(MultipleDelegation_SameConnector_P_PWP_Signal_C_a); + // InputPin object + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_Read_c_a__object.SetName("object"); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_Read_c_a__object.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_Read_c_a__object.SetType(MultipleDelegation_SameConnector_P_PWP_Signal_C); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_Read_c_a_.SetObject(MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_Read_c_a__object); + // OutputPin result + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_Read_c_a__result.SetName("result"); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_Read_c_a__result.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_Read_c_a__result.SetType(MultipleDelegation_SameConnector_P_PWP_Signal_A); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_Read_c_a__result.SetUpper(4); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_Read_c_a__result.SetLower(4); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_Read_c_a_.SetResult(MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_Read_c_a__result); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity.AddNode(MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_Read_c_a_); + // ObjectFlow ObjectFlow4 from result to object + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow4.SetName("ObjectFlow4"); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow4.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow4.SetSource(MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_Read_a_b_result); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow4.SetTarget(MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_Read_b_p_object); + // LiteralBoolean LiteralBoolean5 + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow4_LiteralBoolean5.SetName("LiteralBoolean5"); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow4_LiteralBoolean5.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow4_LiteralBoolean5.SetValue(true); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow4.SetGuard(MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow4_LiteralBoolean5); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity.AddEdge(MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow4); + // ObjectFlow ObjectFlow1 from result to object + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow1.SetName("ObjectFlow1"); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow1.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow1.SetSource(MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_Read_c_a__result); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow1.SetTarget(MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_Read_a_b_object); + // LiteralBoolean LiteralBoolean2 + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow1_LiteralBoolean2.SetName("LiteralBoolean2"); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow1_LiteralBoolean2.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow1_LiteralBoolean2.SetValue(true); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow1.SetGuard(MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow1_LiteralBoolean2); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity.AddEdge(MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow1); + // ObjectFlow ObjectFlow11 from result to p + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow11.SetName("ObjectFlow11"); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow11.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow11.SetSource(MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_Read_b_p_result); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow11.SetTarget(MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_Call_testP_p); + // LiteralBoolean LiteralBoolean12 + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow11_LiteralBoolean12.SetName("LiteralBoolean12"); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow11_LiteralBoolean12.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow11_LiteralBoolean12.SetValue(true); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow11.SetGuard(MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow11_LiteralBoolean12); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity.AddEdge(MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow11); + // ObjectFlow ObjectFlow23 from result to object + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow23.SetName("ObjectFlow23"); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow23.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow23.SetSource(MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_this_result); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow23.SetTarget(MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_Read_this_c_object); + // LiteralBoolean LiteralBoolean24 + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow23_LiteralBoolean24.SetName("LiteralBoolean24"); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow23_LiteralBoolean24.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow23_LiteralBoolean24.SetValue(true); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow23.SetGuard(MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow23_LiteralBoolean24); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity.AddEdge(MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow23); + // ObjectFlow ObjectFlow26 from result to object + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow26.SetName("ObjectFlow26"); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow26.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow26.SetSource(MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_Read_this_c_result); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow26.SetTarget(MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_Read_c_a__object); + // LiteralBoolean LiteralBoolean27 + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow26_LiteralBoolean27.SetName("LiteralBoolean27"); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow26_LiteralBoolean27.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow26_LiteralBoolean27.SetValue(true); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow26.SetGuard(MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow26_LiteralBoolean27); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity.AddEdge(MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow26); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester.AddOwnedBehavior(MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity); + // Activity TesterClassifierBehavior + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior.SetName("TesterClassifierBehavior"); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior.SetVisibility(VisibilityKind.public_); + // ForkNode Fork this + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Fork_this.SetName("Fork this"); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Fork_this.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior.AddNode(MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Fork_this); + // ReadStructuralFeatureAction Read c.p + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Read_c_p.SetName("Read c.p"); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Read_c_p.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Read_c_p.SetStructuralFeature(MultipleDelegation_SameConnector_P_PWP_Signal_C_p); + // InputPin object + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Read_c_p_object.SetName("object"); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Read_c_p_object.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Read_c_p_object.SetType(MultipleDelegation_SameConnector_P_PWP_Signal_C); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Read_c_p.SetObject(MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Read_c_p_object); + // OutputPin result + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Read_c_p_result.SetName("result"); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Read_c_p_result.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Read_c_p_result.SetType(MultipleDelegation_SameConnector_P_PWP_Signal_IImpl); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Read_c_p.SetResult(MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Read_c_p_result); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior.AddNode(MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Read_c_p); + // AcceptEventAction Accept Continue_3 + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_3.SetName("Accept Continue_3"); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_3.SetVisibility(VisibilityKind.public_); + // OutputPin result + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_3_result.SetName("result"); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_3_result.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_3_result.SetType(MultipleDelegation_SameConnector_P_PWP_Signal_Continue); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_3.AddResult(MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_3_result); + // Trigger Trigger44 + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_3_Trigger44.SetName("Trigger44"); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_3_Trigger44.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_3_Trigger44.SetEvent(MultipleDelegation_SameConnector_P_PWP_Signal_ContinueEvent); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_3.AddTrigger(MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_3_Trigger44); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior.AddNode(MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_3); + // ReadStructuralFeatureAction Read this.c + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Read_this_c.SetName("Read this.c"); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Read_this_c.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Read_this_c.SetStructuralFeature(MultipleDelegation_SameConnector_P_PWP_Signal_Tester_c); + // InputPin object + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Read_this_c_object.SetName("object"); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Read_this_c_object.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Read_this_c_object.SetType(MultipleDelegation_SameConnector_P_PWP_Signal_Tester); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Read_this_c.SetObject(MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Read_this_c_object); + // OutputPin result + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Read_this_c_result.SetName("result"); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Read_this_c_result.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Read_this_c_result.SetType(MultipleDelegation_SameConnector_P_PWP_Signal_C); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Read_this_c.SetResult(MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Read_this_c_result); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior.AddNode(MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Read_this_c); + // SendSignalAction Send S + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Send_S.SetName("Send S"); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Send_S.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Send_S.SetSignal(MultipleDelegation_SameConnector_P_PWP_Signal_S); + // InputPin target + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Send_S_target.SetName("target"); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Send_S_target.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Send_S_target.SetType(MultipleDelegation_SameConnector_P_PWP_Signal_IImpl); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Send_S.SetTarget(MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Send_S_target); + // InputPin v + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Send_S_v.SetName("v"); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Send_S_v.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Send_S_v.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Send_S.AddArgument(MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Send_S_v); + // InputPin t + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Send_S_t.SetName("t"); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Send_S_t.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Send_S_t.SetType(MultipleDelegation_SameConnector_P_PWP_Signal_AbstractTester); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Send_S.AddArgument(MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Send_S_t); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior.AddNode(MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Send_S); + // AcceptEventAction Accept Continue_2 + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_2.SetName("Accept Continue_2"); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_2.SetVisibility(VisibilityKind.public_); + // OutputPin result + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_2_result.SetName("result"); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_2_result.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_2_result.SetType(MultipleDelegation_SameConnector_P_PWP_Signal_Continue); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_2.AddResult(MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_2_result); + // Trigger Trigger92 + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_2_Trigger92.SetName("Trigger92"); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_2_Trigger92.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_2_Trigger92.SetEvent(MultipleDelegation_SameConnector_P_PWP_Signal_ContinueEvent); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_2.AddTrigger(MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_2_Trigger92); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior.AddNode(MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_2); + // AcceptEventAction Accept Start + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Start.SetName("Accept Start"); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Start.SetVisibility(VisibilityKind.public_); + // OutputPin result + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Start_result.SetName("result"); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Start_result.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Start_result.SetType(MultipleDelegation_SameConnector_P_PWP_Signal_Start); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Start.AddResult(MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Start_result); + // Trigger Trigger49 + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Start_Trigger49.SetName("Trigger49"); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Start_Trigger49.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Start_Trigger49.SetEvent(MultipleDelegation_SameConnector_P_PWP_Signal_StartEvent); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Start.AddTrigger(MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Start_Trigger49); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior.AddNode(MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Start); + // ReadSelfAction this + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_this.SetName("this"); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_this.SetVisibility(VisibilityKind.public_); + // OutputPin result + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_this_result.SetName("result"); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_this_result.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_this_result.SetType(MultipleDelegation_SameConnector_P_PWP_Signal_Tester); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_this.SetResult(MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_this_result); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior.AddNode(MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_this); + // AcceptEventAction Accept Continue_4 + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_4.SetName("Accept Continue_4"); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_4.SetVisibility(VisibilityKind.public_); + // OutputPin result + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_4_result.SetName("result"); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_4_result.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_4_result.SetType(MultipleDelegation_SameConnector_P_PWP_Signal_Continue); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_4.AddResult(MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_4_result); + // Trigger Trigger59 + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_4_Trigger59.SetName("Trigger59"); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_4_Trigger59.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_4_Trigger59.SetEvent(MultipleDelegation_SameConnector_P_PWP_Signal_ContinueEvent); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_4.AddTrigger(MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_4_Trigger59); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior.AddNode(MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_4); + // ValueSpecificationAction Value(4) + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Value_4.SetName("Value(4)"); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Value_4.SetVisibility(VisibilityKind.public_); + // LiteralInteger LiteralInteger62 + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Value_4_LiteralInteger62.SetName("LiteralInteger62"); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Value_4_LiteralInteger62.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Value_4_LiteralInteger62.SetValue(4); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Value_4.SetValue(MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Value_4_LiteralInteger62); + // OutputPin result + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Value_4_result.SetName("result"); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Value_4_result.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Value_4_result.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Value_4.SetResult(MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Value_4_result); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior.AddNode(MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Value_4); + // CallOperationAction Call test() + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Call_test_.SetName("Call test()"); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Call_test_.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Call_test_.SetOperation(MultipleDelegation_SameConnector_P_PWP_Signal_Tester_test); + // InputPin target + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Call_test__target.SetName("target"); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Call_test__target.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Call_test__target.SetType(MultipleDelegation_SameConnector_P_PWP_Signal_Tester); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Call_test_.SetTarget(MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Call_test__target); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior.AddNode(MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Call_test_); + // AcceptEventAction Accept Continue_1 + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_1.SetName("Accept Continue_1"); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_1.SetVisibility(VisibilityKind.public_); + // OutputPin result + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_1_result.SetName("result"); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_1_result.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_1_result.SetType(MultipleDelegation_SameConnector_P_PWP_Signal_Continue); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_1.AddResult(MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_1_result); + // Trigger Trigger71 + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_1_Trigger71.SetName("Trigger71"); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_1_Trigger71.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_1_Trigger71.SetEvent(MultipleDelegation_SameConnector_P_PWP_Signal_ContinueEvent); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_1.AddTrigger(MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_1_Trigger71); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior.AddNode(MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_1); + // ControlFlow ControlFlow75 from Send S to Accept Continue_1 + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ControlFlow75.SetName("ControlFlow75"); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ControlFlow75.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ControlFlow75.SetSource(MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Send_S); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ControlFlow75.SetTarget(MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_1); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior.AddEdge(MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ControlFlow75); + // ObjectFlow ObjectFlow86 from Fork this to t + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow86.SetName("ObjectFlow86"); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow86.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow86.SetSource(MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Fork_this); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow86.SetTarget(MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Send_S_t); + // LiteralBoolean LiteralBoolean88 + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow86_LiteralBoolean88.SetName("LiteralBoolean88"); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow86_LiteralBoolean88.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow86_LiteralBoolean88.SetValue(true); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow86.SetGuard(MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow86_LiteralBoolean88); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior.AddEdge(MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow86); + // ObjectFlow ObjectFlow89 from result to object + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow89.SetName("ObjectFlow89"); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow89.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow89.SetSource(MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Read_this_c_result); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow89.SetTarget(MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Read_c_p_object); + // LiteralBoolean LiteralBoolean90 + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow89_LiteralBoolean90.SetName("LiteralBoolean90"); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow89_LiteralBoolean90.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow89_LiteralBoolean90.SetValue(true); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow89.SetGuard(MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow89_LiteralBoolean90); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior.AddEdge(MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow89); + // ObjectFlow ObjectFlow45 from result to v + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow45.SetName("ObjectFlow45"); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow45.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow45.SetSource(MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Value_4_result); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow45.SetTarget(MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Send_S_v); + // LiteralBoolean LiteralBoolean46 + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow45_LiteralBoolean46.SetName("LiteralBoolean46"); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow45_LiteralBoolean46.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow45_LiteralBoolean46.SetValue(true); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow45.SetGuard(MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow45_LiteralBoolean46); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior.AddEdge(MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow45); + // ControlFlow ControlFlow48 from Accept Continue_3 to Accept Continue_4 + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ControlFlow48.SetName("ControlFlow48"); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ControlFlow48.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ControlFlow48.SetSource(MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_3); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ControlFlow48.SetTarget(MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_4); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior.AddEdge(MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ControlFlow48); + // ObjectFlow ObjectFlow53 from Fork this to object + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow53.SetName("ObjectFlow53"); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow53.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow53.SetSource(MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Fork_this); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow53.SetTarget(MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Read_this_c_object); + // LiteralBoolean LiteralBoolean55 + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow53_LiteralBoolean55.SetName("LiteralBoolean55"); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow53_LiteralBoolean55.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow53_LiteralBoolean55.SetValue(true); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow53.SetGuard(MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow53_LiteralBoolean55); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior.AddEdge(MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow53); + // ControlFlow ControlFlow98 from Accept Continue_2 to Accept Continue_3 + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ControlFlow98.SetName("ControlFlow98"); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ControlFlow98.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ControlFlow98.SetSource(MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_2); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ControlFlow98.SetTarget(MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_3); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior.AddEdge(MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ControlFlow98); + // ObjectFlow ObjectFlow99 from result to Fork this + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow99.SetName("ObjectFlow99"); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow99.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow99.SetSource(MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_this_result); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow99.SetTarget(MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Fork_this); + // LiteralBoolean LiteralBoolean100 + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow99_LiteralBoolean100.SetName("LiteralBoolean100"); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow99_LiteralBoolean100.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow99_LiteralBoolean100.SetValue(true); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow99.SetGuard(MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow99_LiteralBoolean100); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior.AddEdge(MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow99); + // ControlFlow ControlFlow63 from Accept Start to this + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ControlFlow63.SetName("ControlFlow63"); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ControlFlow63.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ControlFlow63.SetSource(MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Start); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ControlFlow63.SetTarget(MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_this); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior.AddEdge(MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ControlFlow63); + // ObjectFlow ObjectFlow102 from result to target + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow102.SetName("ObjectFlow102"); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow102.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow102.SetSource(MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Read_c_p_result); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow102.SetTarget(MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Send_S_target); + // LiteralBoolean LiteralBoolean103 + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow102_LiteralBoolean103.SetName("LiteralBoolean103"); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow102_LiteralBoolean103.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow102_LiteralBoolean103.SetValue(true); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow102.SetGuard(MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow102_LiteralBoolean103); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior.AddEdge(MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow102); + // ControlFlow ControlFlow66 from Accept Continue_4 to Call test() + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ControlFlow66.SetName("ControlFlow66"); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ControlFlow66.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ControlFlow66.SetSource(MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_4); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ControlFlow66.SetTarget(MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Call_test_); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior.AddEdge(MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ControlFlow66); + // ObjectFlow ObjectFlow67 from Fork this to target + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow67.SetName("ObjectFlow67"); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow67.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow67.SetSource(MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Fork_this); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow67.SetTarget(MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Call_test__target); + // LiteralBoolean LiteralBoolean69 + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow67_LiteralBoolean69.SetName("LiteralBoolean69"); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow67_LiteralBoolean69.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow67_LiteralBoolean69.SetValue(true); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow67.SetGuard(MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow67_LiteralBoolean69); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior.AddEdge(MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow67); + // ControlFlow ControlFlow70 from Accept Continue_1 to Accept Continue_2 + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ControlFlow70.SetName("ControlFlow70"); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ControlFlow70.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ControlFlow70.SetSource(MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_1); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ControlFlow70.SetTarget(MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_2); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior.AddEdge(MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ControlFlow70); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester.AddOwnedBehavior(MultipleDelegation_SameConnector_P_PWP_Signal_Tester_TesterClassifierBehavior); + + MultipleDelegation_SameConnector_P_PWP_Signal_Tester.SetIsActive(true); + // Operation Tester_Tester + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_Tester_Tester.SetName("Tester_Tester"); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_Tester_Tester.SetVisibility(VisibilityKind.public_); + // Parameter result + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_Tester_Tester_result.SetName("result"); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_Tester_Tester_result.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_Tester_Tester_result.SetType(MultipleDelegation_SameConnector_P_PWP_Signal_Tester); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_Tester_Tester_result.SetDirection(ParameterDirectionKind.return_); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_Tester_Tester.AddOwnedParameter(MultipleDelegation_SameConnector_P_PWP_Signal_Tester_Tester_Tester_result); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_Tester_Tester.ApplyStereotype(uml.standardprofile.StandardProfileModel.Instance().Stereotype_Create); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester.AddOwnedOperation(MultipleDelegation_SameConnector_P_PWP_Signal_Tester_Tester_Tester); + // Operation test + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_test.SetName("test"); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_test.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester_test.AddMethod(MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity); + MultipleDelegation_SameConnector_P_PWP_Signal_Tester.AddOwnedOperation(MultipleDelegation_SameConnector_P_PWP_Signal_Tester_test); + MultipleDelegation_SameConnector_P_PWP_Signal.AddPackagedElement(MultipleDelegation_SameConnector_P_PWP_Signal_Tester); + // SignalEvent ContinueEvent + MultipleDelegation_SameConnector_P_PWP_Signal_ContinueEvent.SetName("ContinueEvent"); + MultipleDelegation_SameConnector_P_PWP_Signal_ContinueEvent.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_PWP_Signal_ContinueEvent.SetSignal(MultipleDelegation_SameConnector_P_PWP_Signal_Continue); + MultipleDelegation_SameConnector_P_PWP_Signal.AddPackagedElement(MultipleDelegation_SameConnector_P_PWP_Signal_ContinueEvent); + // SignalEvent StartEvent + MultipleDelegation_SameConnector_P_PWP_Signal_StartEvent.SetName("StartEvent"); + MultipleDelegation_SameConnector_P_PWP_Signal_StartEvent.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_PWP_Signal_StartEvent.SetSignal(MultipleDelegation_SameConnector_P_PWP_Signal_Start); + MultipleDelegation_SameConnector_P_PWP_Signal.AddPackagedElement(MultipleDelegation_SameConnector_P_PWP_Signal_StartEvent); + // Association U + MultipleDelegation_SameConnector_P_PWP_Signal_U.SetName("U"); + MultipleDelegation_SameConnector_P_PWP_Signal_U.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_PWP_Signal_U.AddOwnedEnd(MultipleDelegation_SameConnector_P_PWP_Signal_U_x); + MultipleDelegation_SameConnector_P_PWP_Signal_U.AddOwnedEnd(MultipleDelegation_SameConnector_P_PWP_Signal_U_y); + MultipleDelegation_SameConnector_P_PWP_Signal.AddPackagedElement(MultipleDelegation_SameConnector_P_PWP_Signal_U); + // Class C + MultipleDelegation_SameConnector_P_PWP_Signal_C.SetName("C"); + MultipleDelegation_SameConnector_P_PWP_Signal_C.SetVisibility(VisibilityKind.public_); + + // Port p + MultipleDelegation_SameConnector_P_PWP_Signal_C_p.SetName("p"); + MultipleDelegation_SameConnector_P_PWP_Signal_C_p.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_SameConnector_P_PWP_Signal_C_p.SetType(MultipleDelegation_SameConnector_P_PWP_Signal_IImpl); + MultipleDelegation_SameConnector_P_PWP_Signal_C_p.SetAggregation(AggregationKind.composite); + MultipleDelegation_SameConnector_P_PWP_Signal_C_p.isService = true; + MultipleDelegation_SameConnector_P_PWP_Signal_C_p.AddProvided(MultipleDelegation_SameConnector_P_PWP_Signal_I); + MultipleDelegation_SameConnector_P_PWP_Signal_C.AddOwnedAttribute(MultipleDelegation_SameConnector_P_PWP_Signal_C_p); + // Property a + MultipleDelegation_SameConnector_P_PWP_Signal_C_a.SetName("a"); + MultipleDelegation_SameConnector_P_PWP_Signal_C_a.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_PWP_Signal_C_a.SetUpper(4); + MultipleDelegation_SameConnector_P_PWP_Signal_C_a.SetLower(4); + MultipleDelegation_SameConnector_P_PWP_Signal_C_a.SetType(MultipleDelegation_SameConnector_P_PWP_Signal_A); + MultipleDelegation_SameConnector_P_PWP_Signal_C_a.SetAggregation(AggregationKind.composite); + MultipleDelegation_SameConnector_P_PWP_Signal_C.AddOwnedAttribute(MultipleDelegation_SameConnector_P_PWP_Signal_C_a); + + MultipleDelegation_SameConnector_P_PWP_Signal_C_u.SetName("u"); + MultipleDelegation_SameConnector_P_PWP_Signal_C_u.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_PWP_Signal_C_u_ConnectorEnd112.SetUpper(-1); + MultipleDelegation_SameConnector_P_PWP_Signal_C_u_ConnectorEnd112.SetRole(MultipleDelegation_SameConnector_P_PWP_Signal_C_p); + + MultipleDelegation_SameConnector_P_PWP_Signal_C_u.AddEnd(MultipleDelegation_SameConnector_P_PWP_Signal_C_u_ConnectorEnd112); + MultipleDelegation_SameConnector_P_PWP_Signal_C_u_ConnectorEnd109.SetUpper(-1); + MultipleDelegation_SameConnector_P_PWP_Signal_C_u_ConnectorEnd109.SetLower(4); + MultipleDelegation_SameConnector_P_PWP_Signal_C_u_ConnectorEnd109.SetRole(MultipleDelegation_SameConnector_P_PWP_Signal_A_q); + MultipleDelegation_SameConnector_P_PWP_Signal_C_u_ConnectorEnd109.SetPartWithPort(MultipleDelegation_SameConnector_P_PWP_Signal_C_a); + + MultipleDelegation_SameConnector_P_PWP_Signal_C_u.AddEnd(MultipleDelegation_SameConnector_P_PWP_Signal_C_u_ConnectorEnd109); + MultipleDelegation_SameConnector_P_PWP_Signal_C_u.SetType(MultipleDelegation_SameConnector_P_PWP_Signal_U); + MultipleDelegation_SameConnector_P_PWP_Signal_C.AddOwnedConnector(MultipleDelegation_SameConnector_P_PWP_Signal_C_u); + MultipleDelegation_SameConnector_P_PWP_Signal.AddPackagedElement(MultipleDelegation_SameConnector_P_PWP_Signal_C); + // Interface I + MultipleDelegation_SameConnector_P_PWP_Signal_I.SetName("I"); + MultipleDelegation_SameConnector_P_PWP_Signal_I.SetVisibility(VisibilityKind.public_); + // Reception S + MultipleDelegation_SameConnector_P_PWP_Signal_I_S.SetName("S"); + MultipleDelegation_SameConnector_P_PWP_Signal_I_S.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_PWP_Signal_I_S.SetSignal(MultipleDelegation_SameConnector_P_PWP_Signal_S); + MultipleDelegation_SameConnector_P_PWP_Signal_I.AddOwnedReception(MultipleDelegation_SameConnector_P_PWP_Signal_I_S); + MultipleDelegation_SameConnector_P_PWP_Signal.AddPackagedElement(MultipleDelegation_SameConnector_P_PWP_Signal_I); + // Class B + MultipleDelegation_SameConnector_P_PWP_Signal_B.SetName("B"); + MultipleDelegation_SameConnector_P_PWP_Signal_B.SetVisibility(VisibilityKind.public_); + + // Property p + MultipleDelegation_SameConnector_P_PWP_Signal_B_p.SetName("p"); + MultipleDelegation_SameConnector_P_PWP_Signal_B_p.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_SameConnector_P_PWP_Signal_B_p.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + MultipleDelegation_SameConnector_P_PWP_Signal_B.AddOwnedAttribute(MultipleDelegation_SameConnector_P_PWP_Signal_B_p); + MultipleDelegation_SameConnector_P_PWP_Signal_B.SetClassifierBehavior(MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior); + // Activity BClassifierBehavior + MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior.SetName("BClassifierBehavior"); + MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior.SetVisibility(VisibilityKind.public_); + // AcceptEventAction Accept S + MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_Accept_S.SetName("Accept S"); + MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_Accept_S.SetVisibility(VisibilityKind.public_); + // OutputPin s + MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_Accept_S_s.SetName("s"); + MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_Accept_S_s.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_Accept_S_s.SetType(MultipleDelegation_SameConnector_P_PWP_Signal_S); + MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_Accept_S.AddResult(MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_Accept_S_s); + // Trigger Trigger126 + MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_Accept_S_Trigger126.SetName("Trigger126"); + MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_Accept_S_Trigger126.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_Accept_S_Trigger126.SetEvent(MultipleDelegation_SameConnector_P_PWP_Signal_SEvent); + MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_Accept_S.AddTrigger(MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_Accept_S_Trigger126); + MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior.AddNode(MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_Accept_S); + // AddStructuralFeatureValueAction Set this.p + MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_Set_this_p.SetName("Set this.p"); + MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_Set_this_p.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_Set_this_p.SetStructuralFeature(MultipleDelegation_SameConnector_P_PWP_Signal_B_p); + // InputPin object + MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_Set_this_p_object.SetName("object"); + MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_Set_this_p_object.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_Set_this_p_object.SetType(MultipleDelegation_SameConnector_P_PWP_Signal_B); + MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_Set_this_p.SetObject(MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_Set_this_p_object); + // InputPin value + MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_Set_this_p_value.SetName("value"); + MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_Set_this_p_value.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_Set_this_p_value.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_Set_this_p.SetValue(MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_Set_this_p_value); + // OutputPin result + MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_Set_this_p_result.SetName("result"); + MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_Set_this_p_result.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_Set_this_p_result.SetType(MultipleDelegation_SameConnector_P_PWP_Signal_B); + MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_Set_this_p.SetResult(MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_Set_this_p_result); + MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior.AddNode(MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_Set_this_p); + // SendSignalAction Send Continue + MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_Send_Continue.SetName("Send Continue"); + MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_Send_Continue.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_Send_Continue.SetSignal(MultipleDelegation_SameConnector_P_PWP_Signal_Continue); + // InputPin target + MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_Send_Continue_target.SetName("target"); + MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_Send_Continue_target.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_Send_Continue_target.SetType(MultipleDelegation_SameConnector_P_PWP_Signal_AbstractTester); + MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_Send_Continue.SetTarget(MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_Send_Continue_target); + MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior.AddNode(MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_Send_Continue); + // ReadStructuralFeatureAction Read s.v + MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_Read_s_v.SetName("Read s.v"); + MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_Read_s_v.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_Read_s_v.SetStructuralFeature(MultipleDelegation_SameConnector_P_PWP_Signal_S_v); + // InputPin object + MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_Read_s_v_object.SetName("object"); + MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_Read_s_v_object.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_Read_s_v.SetObject(MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_Read_s_v_object); + // OutputPin result + MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_Read_s_v_result.SetName("result"); + MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_Read_s_v_result.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_Read_s_v_result.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_Read_s_v.SetResult(MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_Read_s_v_result); + MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior.AddNode(MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_Read_s_v); + // ReadStructuralFeatureAction Read s.t + MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_Read_s_t.SetName("Read s.t"); + MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_Read_s_t.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_Read_s_t.SetStructuralFeature(MultipleDelegation_SameConnector_P_PWP_Signal_S_t); + // InputPin object + MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_Read_s_t_object.SetName("object"); + MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_Read_s_t_object.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_Read_s_t.SetObject(MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_Read_s_t_object); + // OutputPin result + MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_Read_s_t_result.SetName("result"); + MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_Read_s_t_result.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_Read_s_t_result.SetType(MultipleDelegation_SameConnector_P_PWP_Signal_AbstractTester); + MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_Read_s_t.SetResult(MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_Read_s_t_result); + MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior.AddNode(MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_Read_s_t); + // ReadSelfAction this + MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_this.SetName("this"); + MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_this.SetVisibility(VisibilityKind.public_); + // OutputPin result + MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_this_result.SetName("result"); + MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_this_result.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_this_result.SetType(MultipleDelegation_SameConnector_P_PWP_Signal_B); + MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_this.SetResult(MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_this_result); + MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior.AddNode(MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_this); + // ForkNode Fork s + MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_Fork_s.SetName("Fork s"); + MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_Fork_s.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior.AddNode(MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_Fork_s); + // ObjectFlow ObjectFlow116 from result to target + MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow116.SetName("ObjectFlow116"); + MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow116.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow116.SetSource(MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_Read_s_t_result); + MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow116.SetTarget(MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_Send_Continue_target); + // LiteralBoolean LiteralBoolean117 + MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow116_LiteralBoolean117.SetName("LiteralBoolean117"); + MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow116_LiteralBoolean117.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow116_LiteralBoolean117.SetValue(true); + MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow116.SetGuard(MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow116_LiteralBoolean117); + MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior.AddEdge(MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow116); + // ObjectFlow ObjectFlow138 from Fork s to object + MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow138.SetName("ObjectFlow138"); + MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow138.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow138.SetSource(MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_Fork_s); + MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow138.SetTarget(MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_Read_s_t_object); + // LiteralBoolean LiteralBoolean139 + MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow138_LiteralBoolean139.SetName("LiteralBoolean139"); + MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow138_LiteralBoolean139.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow138_LiteralBoolean139.SetValue(true); + MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow138.SetGuard(MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow138_LiteralBoolean139); + MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior.AddEdge(MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow138); + // ObjectFlow ObjectFlow119 from result to value + MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow119.SetName("ObjectFlow119"); + MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow119.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow119.SetSource(MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_Read_s_v_result); + MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow119.SetTarget(MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_Set_this_p_value); + // LiteralBoolean LiteralBoolean120 + MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow119_LiteralBoolean120.SetName("LiteralBoolean120"); + MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow119_LiteralBoolean120.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow119_LiteralBoolean120.SetValue(true); + MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow119.SetGuard(MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow119_LiteralBoolean120); + MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior.AddEdge(MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow119); + // ObjectFlow ObjectFlow141 from result to object + MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow141.SetName("ObjectFlow141"); + MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow141.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow141.SetSource(MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_this_result); + MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow141.SetTarget(MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_Set_this_p_object); + // LiteralBoolean LiteralBoolean142 + MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow141_LiteralBoolean142.SetName("LiteralBoolean142"); + MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow141_LiteralBoolean142.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow141_LiteralBoolean142.SetValue(true); + MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow141.SetGuard(MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow141_LiteralBoolean142); + MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior.AddEdge(MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow141); + // ControlFlow ControlFlow122 from Set this.p to Send Continue + MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_ControlFlow122.SetName("ControlFlow122"); + MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_ControlFlow122.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_ControlFlow122.SetSource(MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_Set_this_p); + MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_ControlFlow122.SetTarget(MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_Send_Continue); + MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior.AddEdge(MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_ControlFlow122); + // ObjectFlow ObjectFlow123 from s to Fork s + MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow123.SetName("ObjectFlow123"); + MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow123.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow123.SetSource(MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_Accept_S_s); + MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow123.SetTarget(MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_Fork_s); + // LiteralBoolean LiteralBoolean125 + MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow123_LiteralBoolean125.SetName("LiteralBoolean125"); + MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow123_LiteralBoolean125.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow123_LiteralBoolean125.SetValue(true); + MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow123.SetGuard(MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow123_LiteralBoolean125); + MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior.AddEdge(MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow123); + // ObjectFlow ObjectFlow154 from Fork s to object + MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow154.SetName("ObjectFlow154"); + MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow154.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow154.SetSource(MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_Fork_s); + MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow154.SetTarget(MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_Read_s_v_object); + // LiteralBoolean LiteralBoolean155 + MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow154_LiteralBoolean155.SetName("LiteralBoolean155"); + MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow154_LiteralBoolean155.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow154_LiteralBoolean155.SetValue(true); + MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow154.SetGuard(MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow154_LiteralBoolean155); + MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior.AddEdge(MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow154); + MultipleDelegation_SameConnector_P_PWP_Signal_B.AddOwnedBehavior(MultipleDelegation_SameConnector_P_PWP_Signal_B_BClassifierBehavior); + MultipleDelegation_SameConnector_P_PWP_Signal_B_IRealization.SetName("IRealization"); + MultipleDelegation_SameConnector_P_PWP_Signal_B_IRealization.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_PWP_Signal_B_IRealization.SetContract(MultipleDelegation_SameConnector_P_PWP_Signal_I); + + MultipleDelegation_SameConnector_P_PWP_Signal_B.AddInterfaceRealization(MultipleDelegation_SameConnector_P_PWP_Signal_B_IRealization); + + MultipleDelegation_SameConnector_P_PWP_Signal_B.SetIsActive(true); + // Operation B_B + MultipleDelegation_SameConnector_P_PWP_Signal_B_B_B.SetName("B_B"); + MultipleDelegation_SameConnector_P_PWP_Signal_B_B_B.SetVisibility(VisibilityKind.public_); + // Parameter result + MultipleDelegation_SameConnector_P_PWP_Signal_B_B_B_result.SetName("result"); + MultipleDelegation_SameConnector_P_PWP_Signal_B_B_B_result.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_SameConnector_P_PWP_Signal_B_B_B_result.SetType(MultipleDelegation_SameConnector_P_PWP_Signal_B); + MultipleDelegation_SameConnector_P_PWP_Signal_B_B_B_result.SetDirection(ParameterDirectionKind.return_); + MultipleDelegation_SameConnector_P_PWP_Signal_B_B_B.AddOwnedParameter(MultipleDelegation_SameConnector_P_PWP_Signal_B_B_B_result); + MultipleDelegation_SameConnector_P_PWP_Signal_B_B_B.ApplyStereotype(uml.standardprofile.StandardProfileModel.Instance().Stereotype_Create); + MultipleDelegation_SameConnector_P_PWP_Signal_B.AddOwnedOperation(MultipleDelegation_SameConnector_P_PWP_Signal_B_B_B); + // Reception S + MultipleDelegation_SameConnector_P_PWP_Signal_B_S.SetName("S"); + MultipleDelegation_SameConnector_P_PWP_Signal_B_S.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_PWP_Signal_B_S.SetSignal(MultipleDelegation_SameConnector_P_PWP_Signal_S); + MultipleDelegation_SameConnector_P_PWP_Signal_B.AddOwnedReception(MultipleDelegation_SameConnector_P_PWP_Signal_B_S); + MultipleDelegation_SameConnector_P_PWP_Signal.AddPackagedElement(MultipleDelegation_SameConnector_P_PWP_Signal_B); + // Signal Continue + MultipleDelegation_SameConnector_P_PWP_Signal_Continue.SetName("Continue"); + MultipleDelegation_SameConnector_P_PWP_Signal_Continue.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_PWP_Signal.AddPackagedElement(MultipleDelegation_SameConnector_P_PWP_Signal_Continue); + // Class A + MultipleDelegation_SameConnector_P_PWP_Signal_A.SetName("A"); + MultipleDelegation_SameConnector_P_PWP_Signal_A.SetVisibility(VisibilityKind.public_); + + // Port q + MultipleDelegation_SameConnector_P_PWP_Signal_A_q.SetName("q"); + MultipleDelegation_SameConnector_P_PWP_Signal_A_q.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_SameConnector_P_PWP_Signal_A_q.SetType(MultipleDelegation_SameConnector_P_PWP_Signal_IImpl); + MultipleDelegation_SameConnector_P_PWP_Signal_A_q.SetAggregation(AggregationKind.composite); + MultipleDelegation_SameConnector_P_PWP_Signal_A_q.isService = true; + MultipleDelegation_SameConnector_P_PWP_Signal_A_q.AddProvided(MultipleDelegation_SameConnector_P_PWP_Signal_I); + MultipleDelegation_SameConnector_P_PWP_Signal_A.AddOwnedAttribute(MultipleDelegation_SameConnector_P_PWP_Signal_A_q); + // Property b + MultipleDelegation_SameConnector_P_PWP_Signal_A_b.SetName("b"); + MultipleDelegation_SameConnector_P_PWP_Signal_A_b.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_SameConnector_P_PWP_Signal_A_b.SetType(MultipleDelegation_SameConnector_P_PWP_Signal_B); + MultipleDelegation_SameConnector_P_PWP_Signal_A_b.SetAggregation(AggregationKind.composite); + MultipleDelegation_SameConnector_P_PWP_Signal_A.AddOwnedAttribute(MultipleDelegation_SameConnector_P_PWP_Signal_A_b); + + MultipleDelegation_SameConnector_P_PWP_Signal_A_r.SetName("r"); + MultipleDelegation_SameConnector_P_PWP_Signal_A_r.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_SameConnector_P_PWP_Signal_A_r_ConnectorEnd160.SetRole(MultipleDelegation_SameConnector_P_PWP_Signal_A_q); + + MultipleDelegation_SameConnector_P_PWP_Signal_A_r.AddEnd(MultipleDelegation_SameConnector_P_PWP_Signal_A_r_ConnectorEnd160); + + MultipleDelegation_SameConnector_P_PWP_Signal_A_r_ConnectorEnd157.SetRole(MultipleDelegation_SameConnector_P_PWP_Signal_A_b); + + MultipleDelegation_SameConnector_P_PWP_Signal_A_r.AddEnd(MultipleDelegation_SameConnector_P_PWP_Signal_A_r_ConnectorEnd157); + MultipleDelegation_SameConnector_P_PWP_Signal_A_r.SetType(MultipleDelegation_SameConnector_P_PWP_Signal_R); + MultipleDelegation_SameConnector_P_PWP_Signal_A.AddOwnedConnector(MultipleDelegation_SameConnector_P_PWP_Signal_A_r); + // Operation A_A + MultipleDelegation_SameConnector_P_PWP_Signal_A_A_A.SetName("A_A"); + MultipleDelegation_SameConnector_P_PWP_Signal_A_A_A.SetVisibility(VisibilityKind.public_); + // Parameter result + MultipleDelegation_SameConnector_P_PWP_Signal_A_A_A_result.SetName("result"); + MultipleDelegation_SameConnector_P_PWP_Signal_A_A_A_result.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_SameConnector_P_PWP_Signal_A_A_A_result.SetType(MultipleDelegation_SameConnector_P_PWP_Signal_A); + MultipleDelegation_SameConnector_P_PWP_Signal_A_A_A_result.SetDirection(ParameterDirectionKind.return_); + MultipleDelegation_SameConnector_P_PWP_Signal_A_A_A.AddOwnedParameter(MultipleDelegation_SameConnector_P_PWP_Signal_A_A_A_result); + MultipleDelegation_SameConnector_P_PWP_Signal_A_A_A.ApplyStereotype(uml.standardprofile.StandardProfileModel.Instance().Stereotype_Create); + MultipleDelegation_SameConnector_P_PWP_Signal_A.AddOwnedOperation(MultipleDelegation_SameConnector_P_PWP_Signal_A_A_A); + MultipleDelegation_SameConnector_P_PWP_Signal.AddPackagedElement(MultipleDelegation_SameConnector_P_PWP_Signal_A); + // Association R + MultipleDelegation_SameConnector_P_PWP_Signal_R.SetName("R"); + MultipleDelegation_SameConnector_P_PWP_Signal_R.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_PWP_Signal_R.AddOwnedEnd(MultipleDelegation_SameConnector_P_PWP_Signal_R_x); + MultipleDelegation_SameConnector_P_PWP_Signal_R.AddOwnedEnd(MultipleDelegation_SameConnector_P_PWP_Signal_R_y); + MultipleDelegation_SameConnector_P_PWP_Signal.AddPackagedElement(MultipleDelegation_SameConnector_P_PWP_Signal_R); + // Signal S + MultipleDelegation_SameConnector_P_PWP_Signal_S.SetName("S"); + MultipleDelegation_SameConnector_P_PWP_Signal_S.SetVisibility(VisibilityKind.public_); + + // Property v + MultipleDelegation_SameConnector_P_PWP_Signal_S_v.SetName("v"); + MultipleDelegation_SameConnector_P_PWP_Signal_S_v.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_SameConnector_P_PWP_Signal_S_v.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + MultipleDelegation_SameConnector_P_PWP_Signal_S.AddOwnedAttribute(MultipleDelegation_SameConnector_P_PWP_Signal_S_v); + // Property t + MultipleDelegation_SameConnector_P_PWP_Signal_S_t.SetName("t"); + MultipleDelegation_SameConnector_P_PWP_Signal_S_t.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_SameConnector_P_PWP_Signal_S_t.SetType(MultipleDelegation_SameConnector_P_PWP_Signal_AbstractTester); + MultipleDelegation_SameConnector_P_PWP_Signal_S.AddOwnedAttribute(MultipleDelegation_SameConnector_P_PWP_Signal_S_t); + MultipleDelegation_SameConnector_P_PWP_Signal.AddPackagedElement(MultipleDelegation_SameConnector_P_PWP_Signal_S); + // SignalEvent SEvent + MultipleDelegation_SameConnector_P_PWP_Signal_SEvent.SetName("SEvent"); + MultipleDelegation_SameConnector_P_PWP_Signal_SEvent.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_PWP_Signal_SEvent.SetSignal(MultipleDelegation_SameConnector_P_PWP_Signal_S); + MultipleDelegation_SameConnector_P_PWP_Signal.AddPackagedElement(MultipleDelegation_SameConnector_P_PWP_Signal_SEvent); + // Class IImpl + MultipleDelegation_SameConnector_P_PWP_Signal_IImpl.SetName("IImpl"); + MultipleDelegation_SameConnector_P_PWP_Signal_IImpl.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_PWP_Signal_IImpl_IRealization.SetName("IRealization"); + MultipleDelegation_SameConnector_P_PWP_Signal_IImpl_IRealization.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_PWP_Signal_IImpl_IRealization.SetContract(MultipleDelegation_SameConnector_P_PWP_Signal_I); + + MultipleDelegation_SameConnector_P_PWP_Signal_IImpl.AddInterfaceRealization(MultipleDelegation_SameConnector_P_PWP_Signal_IImpl_IRealization); + + // Reception S + MultipleDelegation_SameConnector_P_PWP_Signal_IImpl_S.SetName("S"); + MultipleDelegation_SameConnector_P_PWP_Signal_IImpl_S.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_PWP_Signal_IImpl_S.SetSignal(MultipleDelegation_SameConnector_P_PWP_Signal_S); + MultipleDelegation_SameConnector_P_PWP_Signal_IImpl.AddOwnedReception(MultipleDelegation_SameConnector_P_PWP_Signal_IImpl_S); + MultipleDelegation_SameConnector_P_PWP_Signal.AddPackagedElement(MultipleDelegation_SameConnector_P_PWP_Signal_IImpl); + // Class AbstractTester + MultipleDelegation_SameConnector_P_PWP_Signal_AbstractTester.SetName("AbstractTester"); + MultipleDelegation_SameConnector_P_PWP_Signal_AbstractTester.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_SameConnector_P_PWP_Signal_AbstractTester.SetIsAbstract(true); + + + MultipleDelegation_SameConnector_P_PWP_Signal_AbstractTester.SetIsActive(true); + // Operation test + MultipleDelegation_SameConnector_P_PWP_Signal_AbstractTester_test.SetName("test"); + MultipleDelegation_SameConnector_P_PWP_Signal_AbstractTester_test.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_PWP_Signal_AbstractTester_test.SetIsAbstract(true); + MultipleDelegation_SameConnector_P_PWP_Signal_AbstractTester.AddOwnedOperation(MultipleDelegation_SameConnector_P_PWP_Signal_AbstractTester_test); + // Reception Start + MultipleDelegation_SameConnector_P_PWP_Signal_AbstractTester_Start.SetName("Start"); + MultipleDelegation_SameConnector_P_PWP_Signal_AbstractTester_Start.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_PWP_Signal_AbstractTester_Start.SetSignal(MultipleDelegation_SameConnector_P_PWP_Signal_Start); + MultipleDelegation_SameConnector_P_PWP_Signal_AbstractTester.AddOwnedReception(MultipleDelegation_SameConnector_P_PWP_Signal_AbstractTester_Start); + // Reception Continue + MultipleDelegation_SameConnector_P_PWP_Signal_AbstractTester_Continue.SetName("Continue"); + MultipleDelegation_SameConnector_P_PWP_Signal_AbstractTester_Continue.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_PWP_Signal_AbstractTester_Continue.SetSignal(MultipleDelegation_SameConnector_P_PWP_Signal_Continue); + MultipleDelegation_SameConnector_P_PWP_Signal_AbstractTester.AddOwnedReception(MultipleDelegation_SameConnector_P_PWP_Signal_AbstractTester_Continue); + MultipleDelegation_SameConnector_P_PWP_Signal.AddPackagedElement(MultipleDelegation_SameConnector_P_PWP_Signal_AbstractTester); + // Activity main + MultipleDelegation_SameConnector_P_PWP_Signal_main.SetName("main"); + MultipleDelegation_SameConnector_P_PWP_Signal_main.SetVisibility(VisibilityKind.public_); + // ForkNode Fork Tester + MultipleDelegation_SameConnector_P_PWP_Signal_main_Fork_Tester.SetName("Fork Tester"); + MultipleDelegation_SameConnector_P_PWP_Signal_main_Fork_Tester.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_PWP_Signal_main.AddNode(MultipleDelegation_SameConnector_P_PWP_Signal_main_Fork_Tester); + // CallOperationAction Tester() + MultipleDelegation_SameConnector_P_PWP_Signal_main_Tester_.SetName("Tester()"); + MultipleDelegation_SameConnector_P_PWP_Signal_main_Tester_.SetVisibility(VisibilityKind.public_); + + // OutputPin result + MultipleDelegation_SameConnector_P_PWP_Signal_main_Tester__result.SetName("result"); + MultipleDelegation_SameConnector_P_PWP_Signal_main_Tester__result.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_PWP_Signal_main_Tester__result.SetType(MultipleDelegation_SameConnector_P_PWP_Signal_Tester); + MultipleDelegation_SameConnector_P_PWP_Signal_main_Tester_.AddResult(MultipleDelegation_SameConnector_P_PWP_Signal_main_Tester__result); + MultipleDelegation_SameConnector_P_PWP_Signal_main_Tester_.SetOperation(MultipleDelegation_SameConnector_P_PWP_Signal_Tester_Tester_Tester); + // InputPin target + MultipleDelegation_SameConnector_P_PWP_Signal_main_Tester__target.SetName("target"); + MultipleDelegation_SameConnector_P_PWP_Signal_main_Tester__target.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_PWP_Signal_main_Tester__target.SetType(MultipleDelegation_SameConnector_P_PWP_Signal_Tester); + MultipleDelegation_SameConnector_P_PWP_Signal_main_Tester_.SetTarget(MultipleDelegation_SameConnector_P_PWP_Signal_main_Tester__target); + MultipleDelegation_SameConnector_P_PWP_Signal_main.AddNode(MultipleDelegation_SameConnector_P_PWP_Signal_main_Tester_); + // StartObjectBehaviorAction Start Tester + MultipleDelegation_SameConnector_P_PWP_Signal_main_Start_Tester.SetName("Start Tester"); + MultipleDelegation_SameConnector_P_PWP_Signal_main_Start_Tester.SetVisibility(VisibilityKind.public_); + // InputPin object + MultipleDelegation_SameConnector_P_PWP_Signal_main_Start_Tester_object.SetName("object"); + MultipleDelegation_SameConnector_P_PWP_Signal_main_Start_Tester_object.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_PWP_Signal_main_Start_Tester.SetObject(MultipleDelegation_SameConnector_P_PWP_Signal_main_Start_Tester_object); + MultipleDelegation_SameConnector_P_PWP_Signal_main.AddNode(MultipleDelegation_SameConnector_P_PWP_Signal_main_Start_Tester); + // CreateObjectAction Create Tester + MultipleDelegation_SameConnector_P_PWP_Signal_main_Create_Tester.SetName("Create Tester"); + MultipleDelegation_SameConnector_P_PWP_Signal_main_Create_Tester.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_PWP_Signal_main_Create_Tester.SetClassifier(MultipleDelegation_SameConnector_P_PWP_Signal_Tester); + // OutputPin result + MultipleDelegation_SameConnector_P_PWP_Signal_main_Create_Tester_result.SetName("result"); + MultipleDelegation_SameConnector_P_PWP_Signal_main_Create_Tester_result.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_PWP_Signal_main_Create_Tester_result.SetType(MultipleDelegation_SameConnector_P_PWP_Signal_Tester); + MultipleDelegation_SameConnector_P_PWP_Signal_main_Create_Tester.SetResult(MultipleDelegation_SameConnector_P_PWP_Signal_main_Create_Tester_result); + MultipleDelegation_SameConnector_P_PWP_Signal_main.AddNode(MultipleDelegation_SameConnector_P_PWP_Signal_main_Create_Tester); + // SendSignalAction Send Start + MultipleDelegation_SameConnector_P_PWP_Signal_main_Send_Start.SetName("Send Start"); + MultipleDelegation_SameConnector_P_PWP_Signal_main_Send_Start.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_PWP_Signal_main_Send_Start.SetSignal(MultipleDelegation_SameConnector_P_PWP_Signal_Start); + // InputPin target + MultipleDelegation_SameConnector_P_PWP_Signal_main_Send_Start_target.SetName("target"); + MultipleDelegation_SameConnector_P_PWP_Signal_main_Send_Start_target.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_PWP_Signal_main_Send_Start_target.SetType(MultipleDelegation_SameConnector_P_PWP_Signal_Tester); + MultipleDelegation_SameConnector_P_PWP_Signal_main_Send_Start.SetTarget(MultipleDelegation_SameConnector_P_PWP_Signal_main_Send_Start_target); + MultipleDelegation_SameConnector_P_PWP_Signal_main.AddNode(MultipleDelegation_SameConnector_P_PWP_Signal_main_Send_Start); + // ObjectFlow ObjectFlow168 from result to target + MultipleDelegation_SameConnector_P_PWP_Signal_main_ObjectFlow168.SetName("ObjectFlow168"); + MultipleDelegation_SameConnector_P_PWP_Signal_main_ObjectFlow168.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_SameConnector_P_PWP_Signal_main_ObjectFlow168.SetSource(MultipleDelegation_SameConnector_P_PWP_Signal_main_Create_Tester_result); + MultipleDelegation_SameConnector_P_PWP_Signal_main_ObjectFlow168.SetTarget(MultipleDelegation_SameConnector_P_PWP_Signal_main_Tester__target); + // LiteralBoolean LiteralBoolean170 + MultipleDelegation_SameConnector_P_PWP_Signal_main_ObjectFlow168_LiteralBoolean170.SetName("LiteralBoolean170"); + MultipleDelegation_SameConnector_P_PWP_Signal_main_ObjectFlow168_LiteralBoolean170.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_PWP_Signal_main_ObjectFlow168_LiteralBoolean170.SetValue(true); + MultipleDelegation_SameConnector_P_PWP_Signal_main_ObjectFlow168.SetGuard(MultipleDelegation_SameConnector_P_PWP_Signal_main_ObjectFlow168_LiteralBoolean170); + MultipleDelegation_SameConnector_P_PWP_Signal_main.AddEdge(MultipleDelegation_SameConnector_P_PWP_Signal_main_ObjectFlow168); + // ObjectFlow ObjectFlow171 from result to Fork Tester + MultipleDelegation_SameConnector_P_PWP_Signal_main_ObjectFlow171.SetName("ObjectFlow171"); + MultipleDelegation_SameConnector_P_PWP_Signal_main_ObjectFlow171.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_SameConnector_P_PWP_Signal_main_ObjectFlow171.SetSource(MultipleDelegation_SameConnector_P_PWP_Signal_main_Tester__result); + MultipleDelegation_SameConnector_P_PWP_Signal_main_ObjectFlow171.SetTarget(MultipleDelegation_SameConnector_P_PWP_Signal_main_Fork_Tester); + // LiteralBoolean LiteralBoolean173 + MultipleDelegation_SameConnector_P_PWP_Signal_main_ObjectFlow171_LiteralBoolean173.SetName("LiteralBoolean173"); + MultipleDelegation_SameConnector_P_PWP_Signal_main_ObjectFlow171_LiteralBoolean173.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_PWP_Signal_main_ObjectFlow171_LiteralBoolean173.SetValue(true); + MultipleDelegation_SameConnector_P_PWP_Signal_main_ObjectFlow171.SetGuard(MultipleDelegation_SameConnector_P_PWP_Signal_main_ObjectFlow171_LiteralBoolean173); + MultipleDelegation_SameConnector_P_PWP_Signal_main.AddEdge(MultipleDelegation_SameConnector_P_PWP_Signal_main_ObjectFlow171); + // ObjectFlow ObjectFlow181 from Fork Tester to object + MultipleDelegation_SameConnector_P_PWP_Signal_main_ObjectFlow181.SetName("ObjectFlow181"); + MultipleDelegation_SameConnector_P_PWP_Signal_main_ObjectFlow181.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_SameConnector_P_PWP_Signal_main_ObjectFlow181.SetSource(MultipleDelegation_SameConnector_P_PWP_Signal_main_Fork_Tester); + MultipleDelegation_SameConnector_P_PWP_Signal_main_ObjectFlow181.SetTarget(MultipleDelegation_SameConnector_P_PWP_Signal_main_Start_Tester_object); + // LiteralBoolean LiteralBoolean182 + MultipleDelegation_SameConnector_P_PWP_Signal_main_ObjectFlow181_LiteralBoolean182.SetName("LiteralBoolean182"); + MultipleDelegation_SameConnector_P_PWP_Signal_main_ObjectFlow181_LiteralBoolean182.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_PWP_Signal_main_ObjectFlow181_LiteralBoolean182.SetValue(true); + MultipleDelegation_SameConnector_P_PWP_Signal_main_ObjectFlow181.SetGuard(MultipleDelegation_SameConnector_P_PWP_Signal_main_ObjectFlow181_LiteralBoolean182); + MultipleDelegation_SameConnector_P_PWP_Signal_main.AddEdge(MultipleDelegation_SameConnector_P_PWP_Signal_main_ObjectFlow181); + // ObjectFlow ObjectFlow188 from Fork Tester to target + MultipleDelegation_SameConnector_P_PWP_Signal_main_ObjectFlow188.SetName("ObjectFlow188"); + MultipleDelegation_SameConnector_P_PWP_Signal_main_ObjectFlow188.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_SameConnector_P_PWP_Signal_main_ObjectFlow188.SetSource(MultipleDelegation_SameConnector_P_PWP_Signal_main_Fork_Tester); + MultipleDelegation_SameConnector_P_PWP_Signal_main_ObjectFlow188.SetTarget(MultipleDelegation_SameConnector_P_PWP_Signal_main_Send_Start_target); + // LiteralBoolean LiteralBoolean190 + MultipleDelegation_SameConnector_P_PWP_Signal_main_ObjectFlow188_LiteralBoolean190.SetName("LiteralBoolean190"); + MultipleDelegation_SameConnector_P_PWP_Signal_main_ObjectFlow188_LiteralBoolean190.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_PWP_Signal_main_ObjectFlow188_LiteralBoolean190.SetValue(true); + MultipleDelegation_SameConnector_P_PWP_Signal_main_ObjectFlow188.SetGuard(MultipleDelegation_SameConnector_P_PWP_Signal_main_ObjectFlow188_LiteralBoolean190); + MultipleDelegation_SameConnector_P_PWP_Signal_main.AddEdge(MultipleDelegation_SameConnector_P_PWP_Signal_main_ObjectFlow188); + // ControlFlow ControlFlow191 from Start Tester to Send Start + MultipleDelegation_SameConnector_P_PWP_Signal_main_ControlFlow191.SetName("ControlFlow191"); + MultipleDelegation_SameConnector_P_PWP_Signal_main_ControlFlow191.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_SameConnector_P_PWP_Signal_main_ControlFlow191.SetSource(MultipleDelegation_SameConnector_P_PWP_Signal_main_Start_Tester); + MultipleDelegation_SameConnector_P_PWP_Signal_main_ControlFlow191.SetTarget(MultipleDelegation_SameConnector_P_PWP_Signal_main_Send_Start); + MultipleDelegation_SameConnector_P_PWP_Signal_main.AddEdge(MultipleDelegation_SameConnector_P_PWP_Signal_main_ControlFlow191); + MultipleDelegation_SameConnector_P_PWP_Signal.AddPackagedElement(MultipleDelegation_SameConnector_P_PWP_Signal_main); + // Signal Start + MultipleDelegation_SameConnector_P_PWP_Signal_Start.SetName("Start"); + MultipleDelegation_SameConnector_P_PWP_Signal_Start.SetVisibility(VisibilityKind.public_); + MultipleDelegation_SameConnector_P_PWP_Signal.AddPackagedElement(MultipleDelegation_SameConnector_P_PWP_Signal_Start); + } + + /* Start of user code : User-defined members + * This section may be used for user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } // MultipleDelegation_SameConnector_P_PWP_SignalModel +} diff --git a/fUML-CSharp/tests/pscs-Tests/02_Communication/11_MultipleDelegation_SameConnector_P_PWP_Signal/src/testPExecution.cs b/fUML-CSharp/tests/pscs-Tests/02_Communication/11_MultipleDelegation_SameConnector_P_PWP_Signal/src/testPExecution.cs new file mode 100644 index 0000000..5e7428c --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/02_Communication/11_MultipleDelegation_SameConnector_P_PWP_Signal/src/testPExecution.cs @@ -0,0 +1,92 @@ +/* + * testPExecution.cs + * + * Auto-generated file + */ + +using fuml.semantics.commonbehavior; +using fuml; +using fuml.semantics.simpleclassifiers; +using fuml.semantics.values; + +/* Start of user code : User-defined includes and forward declarations + * This section may be used for includes and forward declarations. + * It will not be overwritten by future generation processes. + */ + +/* + * End of user code + */ + +namespace MultipleDelegation_SameConnector_P_PWP_Signal +{ + public class testPExecution : OpaqueBehaviorExecution + { + public testPExecution() + { + types.Add(MultipleDelegation_SameConnector_P_PWP_SignalModel.Instance().MultipleDelegation_SameConnector_P_PWP_Signal_Tester_testActivity_testP); + /* Start of user code : Additional opaque behavior execution initializations + * This section may be used to do any additional opaque behavior execution initialization, + * for example initializing user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } + + public override void DoBody(List inputParameters, List outputParameters) + { + if(index == 1) + { + Console.WriteLine("Asserting c.a[1].b.p == 4 && c.a[2].b.p == 4 && c.a[3].b.p == 4 && c.a[4].b.p == 4"); + } + + // Test parameter p + int p = ((IntegerValue)inputParameters.ElementAt(0).values.ElementAt(0)).value; + Debug.Println("[doBody] argument p = " + p); + + Console.WriteLine( "c.a[" + index + "].b.p == " + p); + success = success && (p == 4); + if(index == MAX_INDEX) + { + + Console.Write("Signal delegated on all links (shall be true for default strategy): "); + + if(success) + { + Console.ForegroundColor = ConsoleColor.Green; + Console.WriteLine("Assertion successful."); + } + else + { + Console.ForegroundColor = ConsoleColor.Red; + Console.WriteLine("Assertion failed!"); + } + + Console.ResetColor(); + } + + index++; + } + + protected override Value New_() + { + return new testPExecution(); + } + + /* Start of user code : User-defined members + * This section may be used for user-defined members. + * It will not be overwritten by future generation processes. + */ + + private static int index = 1; + private const int MAX_INDEX = 4; + private static bool success = true; + + /* + * End of user code + */ + } // testPExecution +} diff --git a/fUML-CSharp/tests/pscs-Tests/02_Communication/12_MultipleDelegation_MultipleConnector_P_P_Operation/.gitignore b/fUML-CSharp/tests/pscs-Tests/02_Communication/12_MultipleDelegation_MultipleConnector_P_P_Operation/.gitignore new file mode 100644 index 0000000..1736844 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/02_Communication/12_MultipleDelegation_MultipleConnector_P_P_Operation/.gitignore @@ -0,0 +1,3 @@ +/.vs/ +/bin/ +/obj/ diff --git a/fUML-CSharp/tests/pscs-Tests/02_Communication/12_MultipleDelegation_MultipleConnector_P_P_Operation/MultipleDelegation_MultipleConnector_P_P_Operation.csproj b/fUML-CSharp/tests/pscs-Tests/02_Communication/12_MultipleDelegation_MultipleConnector_P_P_Operation/MultipleDelegation_MultipleConnector_P_P_Operation.csproj new file mode 100644 index 0000000..c6c7438 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/02_Communication/12_MultipleDelegation_MultipleConnector_P_P_Operation/MultipleDelegation_MultipleConnector_P_P_Operation.csproj @@ -0,0 +1,50 @@ + + + + Exe + net6.0 + enable + enable + + + + MultipleDelegation_MultipleConnector_P_P_Operation.Debug + + + MultipleDelegation_MultipleConnector_P_P_Operation.Release + + + + + ..\..\..\..\uml\bin\Debug\net6.0\uml.Debug.dll + + + + + ..\..\..\..\uml\bin\Release\net6.0\uml.Release.dll + + + + + + ..\..\..\..\fuml\bin\Debug\net6.0\fuml.Debug.dll + + + + + ..\..\..\..\fuml\bin\Release\net6.0\fuml.Release.dll + + + + + + ..\..\..\..\pscs\bin\Debug\net6.0\pscs.Debug.dll + + + + + ..\..\..\..\pscs\bin\Release\net6.0\pscs.Release.dll + + + + diff --git a/fUML-CSharp/tests/pscs-Tests/02_Communication/12_MultipleDelegation_MultipleConnector_P_P_Operation/MultipleDelegation_MultipleConnector_P_P_Operation.sln b/fUML-CSharp/tests/pscs-Tests/02_Communication/12_MultipleDelegation_MultipleConnector_P_P_Operation/MultipleDelegation_MultipleConnector_P_P_Operation.sln new file mode 100644 index 0000000..c41f73b --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/02_Communication/12_MultipleDelegation_MultipleConnector_P_P_Operation/MultipleDelegation_MultipleConnector_P_P_Operation.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.32112.339 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MultipleDelegation_MultipleConnector_P_P_Operation", "MultipleDelegation_MultipleConnector_P_P_Operation.csproj", "{7C11FE45-2F3E-45A5-A7BC-158768BA4F77}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {7C11FE45-2F3E-45A5-A7BC-158768BA4F77}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {7C11FE45-2F3E-45A5-A7BC-158768BA4F77}.Debug|Any CPU.Build.0 = Debug|Any CPU + {7C11FE45-2F3E-45A5-A7BC-158768BA4F77}.Release|Any CPU.ActiveCfg = Release|Any CPU + {7C11FE45-2F3E-45A5-A7BC-158768BA4F77}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {FE953E30-3D35-4595-B056-4941D198CEE3} + EndGlobalSection +EndGlobal diff --git a/fUML-CSharp/tests/pscs-Tests/02_Communication/12_MultipleDelegation_MultipleConnector_P_P_Operation/model/MultipleDelegation_MultipleConnector_P_P_Operation.di b/fUML-CSharp/tests/pscs-Tests/02_Communication/12_MultipleDelegation_MultipleConnector_P_P_Operation/model/MultipleDelegation_MultipleConnector_P_P_Operation.di new file mode 100644 index 0000000..8c549ee --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/02_Communication/12_MultipleDelegation_MultipleConnector_P_P_Operation/model/MultipleDelegation_MultipleConnector_P_P_Operation.di @@ -0,0 +1,2 @@ + + diff --git a/fUML-CSharp/tests/pscs-Tests/02_Communication/12_MultipleDelegation_MultipleConnector_P_P_Operation/model/MultipleDelegation_MultipleConnector_P_P_Operation.notation b/fUML-CSharp/tests/pscs-Tests/02_Communication/12_MultipleDelegation_MultipleConnector_P_P_Operation/model/MultipleDelegation_MultipleConnector_P_P_Operation.notation new file mode 100644 index 0000000..4a805eb --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/02_Communication/12_MultipleDelegation_MultipleConnector_P_P_Operation/model/MultipleDelegation_MultipleConnector_P_P_Operation.notation @@ -0,0 +1,1112 @@ + + + + + +
+
+ + + + + +
+ + + +
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + + + +
+
+ + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/fUML-CSharp/tests/pscs-Tests/02_Communication/12_MultipleDelegation_MultipleConnector_P_P_Operation/model/MultipleDelegation_MultipleConnector_P_P_Operation.uml b/fUML-CSharp/tests/pscs-Tests/02_Communication/12_MultipleDelegation_MultipleConnector_P_P_Operation/model/MultipleDelegation_MultipleConnector_P_P_Operation.uml new file mode 100644 index 0000000..151b853 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/02_Communication/12_MultipleDelegation_MultipleConnector_P_P_Operation/model/MultipleDelegation_MultipleConnector_P_P_Operation.uml @@ -0,0 +1,349 @@ + + + + + This test case addresses forwarding of an operation call in presence of multiple delegation links, each link corresponding +to a particular connector, expressed between a port and a part. + + + Passing: true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + C# + Using + if(index == 1) + { + Console.WriteLine("Asserting c.b1.p == 4 || c.b2.p == 4 || c.b3.p == 4 || c.b4.p == 4"); + } + + // For some reason, during the first execution of the expansion region, its body is actually executed twice. + // Because of that, the body is actually executaed 5 times in total. This if-statement covers that up until solved. + if (index <= MAX_INDEX) + { + // Test parameter p + int p = ((IntegerValue)inputParameters.ElementAt(0).values.ElementAt(0)).value; + Debug.Println("[doBody] argument p = " + p); + + Console.WriteLine( "c.b" + index + ".p == " + p); + success = success || (p == 4); + + if(index == MAX_INDEX) + { + + Console.Write("Operation call delegated: "); + + if(success) + { + Console.ForegroundColor = ConsoleColor.Green; + Console.WriteLine("Assertion successful."); + } + else + { + Console.ForegroundColor = ConsoleColor.Red; + Console.WriteLine("Assertion failed!"); + } + + Console.ResetColor(); + } + } + + index++; + using fuml.semantics.simpleclassifiers; + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/fUML-CSharp/tests/pscs-Tests/02_Communication/12_MultipleDelegation_MultipleConnector_P_P_Operation/src/MultipleDelegation_MultipleConnector_P_P_Operation.cs b/fUML-CSharp/tests/pscs-Tests/02_Communication/12_MultipleDelegation_MultipleConnector_P_P_Operation/src/MultipleDelegation_MultipleConnector_P_P_Operation.cs new file mode 100644 index 0000000..32d6909 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/02_Communication/12_MultipleDelegation_MultipleConnector_P_P_Operation/src/MultipleDelegation_MultipleConnector_P_P_Operation.cs @@ -0,0 +1,31 @@ +namespace MultipleDelegation_MultipleConnector_P_P_Operation +{ + internal class MultipleDelegation_MultipleConnector_P_P_Operation + { + static void PrintUsage() + { + Console.WriteLine( + "=============================================================================================\n" + + "USAGE: [ <...>]\n" + + "=============================================================================================\n" + ); + } + + static int Main(string[] args) + { + if(args.Length == 0) + { + Console.WriteLine("[ERROR] Must declare at least one behavior name.\n"); + PrintUsage(); + return -1; + } + + foreach (string arg in args) + { + MultipleDelegation_MultipleConnector_P_P_OperationEnvironment.Instance().Execute(arg); + } + + return 0; + } + } +} diff --git a/fUML-CSharp/tests/pscs-Tests/02_Communication/12_MultipleDelegation_MultipleConnector_P_P_Operation/src/MultipleDelegation_MultipleConnector_P_P_OperationEnvironment.cs b/fUML-CSharp/tests/pscs-Tests/02_Communication/12_MultipleDelegation_MultipleConnector_P_P_Operation/src/MultipleDelegation_MultipleConnector_P_P_OperationEnvironment.cs new file mode 100644 index 0000000..fd935ba --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/02_Communication/12_MultipleDelegation_MultipleConnector_P_P_Operation/src/MultipleDelegation_MultipleConnector_P_P_OperationEnvironment.cs @@ -0,0 +1,93 @@ +/* + * MultipleDelegation_MultipleConnector_P_P_OperationEnvironment.cs + * + * Auto-generated file + */ + +/* Start of user code : User-defined using directives + * This section may be used for using directives. + * It will not be overwritten by future generation processes. + */ + +/* + * End of user code + */ + +namespace MultipleDelegation_MultipleConnector_P_P_Operation +{ + public class MultipleDelegation_MultipleConnector_P_P_OperationEnvironment : pscs.environment.Environment + { + private static MultipleDelegation_MultipleConnector_P_P_OperationEnvironment? instance; + + public static MultipleDelegation_MultipleConnector_P_P_OperationEnvironment Instance() + { + if(instance is null) + { + instance = new(); + instance.inMemoryModel = MultipleDelegation_MultipleConnector_P_P_OperationModel.Instance(); + } + + return instance; + } + + public MultipleDelegation_MultipleConnector_P_P_OperationEnvironment() + { + /* + * Create custom opaque behavior execution instances and add them to the execution environment. + */ + AddPrimitiveBehaviorPrototype(new testPExecution()); + + /* Start of user code : Additional environment initializations + * This section may be used to do any additional environment initialization, + * for example initializing user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } + + public override void Execute(string behaviorName) + { + /* Start of user code : Context and inputs initializations + * This section may be used to initialize the execution context + * as well as input parameter values if required. + * It will not be overwritten by future generation processes. + */ + + //context = ...; + //inputs = ...; + + /* + * End of user code + */ + + /* + * Start execution via base class call + */ + base.Execute(behaviorName); + + /* Start of user code : Outputs evaluation + * This section may be used to evaluate output parameter values if required. + * It will not be overwritten by future generation processes. + */ + + //List theOutputs = outputs; + //... + + /* + * End of user code + */ + } + + /* Start of user code : User-defined members + * This section may be used for user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } // MultipleDelegation_MultipleConnector_P_P_OperationEnvironment +} diff --git a/fUML-CSharp/tests/pscs-Tests/02_Communication/12_MultipleDelegation_MultipleConnector_P_P_Operation/src/MultipleDelegation_MultipleConnector_P_P_OperationModel.cs b/fUML-CSharp/tests/pscs-Tests/02_Communication/12_MultipleDelegation_MultipleConnector_P_P_Operation/src/MultipleDelegation_MultipleConnector_P_P_OperationModel.cs new file mode 100644 index 0000000..1ce4336 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/02_Communication/12_MultipleDelegation_MultipleConnector_P_P_Operation/src/MultipleDelegation_MultipleConnector_P_P_OperationModel.cs @@ -0,0 +1,1106 @@ +/* + * MultipleDelegation_MultipleConnector_P_P_OperationModel.cs + * + * Auto-generated file + */ + +using uml.actions; +using uml.packages; +using uml.structuredclassifiers; +using fuml.primitivetypes; +using uml.classification; +using fuml.library; +using uml.commonbehavior; +using uml.simpleclassifiers; +using uml.commonstructure; +using uml.values; +using uml.activities; +using uml.environment; + + +/* Start of user code : User-defined includes and forward declarations + * This section may be used for includes and forward declarations. + * It will not be overwritten by future generation processes. + */ + +/* + * End of user code + */ + +namespace MultipleDelegation_MultipleConnector_P_P_Operation +{ + public class MultipleDelegation_MultipleConnector_P_P_OperationModel : InMemoryModel + { + private static MultipleDelegation_MultipleConnector_P_P_OperationModel? instance; + + /* + * Model MultipleDelegation_MultipleConnector_P_P_Operation + */ + public Package MultipleDelegation_MultipleConnector_P_P_Operation = new(); + public Class_ MultipleDelegation_MultipleConnector_P_P_Operation_C = new(); + public Port MultipleDelegation_MultipleConnector_P_P_Operation_C_p = new(); + public Property MultipleDelegation_MultipleConnector_P_P_Operation_C_b2 = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_P_Operation_C_b2_LiteralUnlimitedNatural0 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_P_Operation_C_b2_LiteralInteger1 = new(); + public Property MultipleDelegation_MultipleConnector_P_P_Operation_C_b4 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_P_Operation_C_b4_LiteralInteger2 = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_P_Operation_C_b4_LiteralUnlimitedNatural3 = new(); + public Connector MultipleDelegation_MultipleConnector_P_P_Operation_C_s2 = new(); + public ConnectorEnd MultipleDelegation_MultipleConnector_P_P_Operation_C_s2_ConnectorEnd4 = new(); + public ConnectorEnd MultipleDelegation_MultipleConnector_P_P_Operation_C_s2_ConnectorEnd5 = new(); + public Property MultipleDelegation_MultipleConnector_P_P_Operation_C_b3 = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_P_Operation_C_b3_LiteralUnlimitedNatural6 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_P_Operation_C_b3_LiteralInteger7 = new(); + public Connector MultipleDelegation_MultipleConnector_P_P_Operation_C_s3 = new(); + public ConnectorEnd MultipleDelegation_MultipleConnector_P_P_Operation_C_s3_ConnectorEnd8 = new(); + public ConnectorEnd MultipleDelegation_MultipleConnector_P_P_Operation_C_s3_ConnectorEnd9 = new(); + public Connector MultipleDelegation_MultipleConnector_P_P_Operation_C_s4 = new(); + public ConnectorEnd MultipleDelegation_MultipleConnector_P_P_Operation_C_s4_ConnectorEnd10 = new(); + public ConnectorEnd MultipleDelegation_MultipleConnector_P_P_Operation_C_s4_ConnectorEnd11 = new(); + public Property MultipleDelegation_MultipleConnector_P_P_Operation_C_b1 = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_P_Operation_C_b1_LiteralUnlimitedNatural12 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_P_Operation_C_b1_LiteralInteger13 = new(); + public Operation MultipleDelegation_MultipleConnector_P_P_Operation_C_C_C = new(); + public Parameter MultipleDelegation_MultipleConnector_P_P_Operation_C_C_C_result = new(); + public Connector MultipleDelegation_MultipleConnector_P_P_Operation_C_s1 = new(); + public ConnectorEnd MultipleDelegation_MultipleConnector_P_P_Operation_C_s1_ConnectorEnd14 = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_P_Operation_C_s1_ConnectorEnd14_LiteralUnlimitedNatural15 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_P_Operation_C_s1_ConnectorEnd14_LiteralInteger16 = new(); + public ConnectorEnd MultipleDelegation_MultipleConnector_P_P_Operation_C_s1_ConnectorEnd17 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_P_Operation_C_s1_ConnectorEnd17_LiteralInteger18 = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_P_Operation_C_s1_ConnectorEnd17_LiteralUnlimitedNatural19 = new(); + public Interface MultipleDelegation_MultipleConnector_P_P_Operation_I = new(); + public Operation MultipleDelegation_MultipleConnector_P_P_Operation_I_setP_Integer = new(); + public Parameter MultipleDelegation_MultipleConnector_P_P_Operation_I_setP_Integer_v = new(); + public Association MultipleDelegation_MultipleConnector_P_P_Operation_S = new(); + public Property MultipleDelegation_MultipleConnector_P_P_Operation_S_x = new(); + public Property MultipleDelegation_MultipleConnector_P_P_Operation_S_y = new(); + public Class_ MultipleDelegation_MultipleConnector_P_P_Operation_B = new(); + public Property MultipleDelegation_MultipleConnector_P_P_Operation_B_p = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_P_Operation_B_p_LiteralInteger20 = new(); + public InterfaceRealization MultipleDelegation_MultipleConnector_P_P_Operation_B_IRealization = new(); + public Operation MultipleDelegation_MultipleConnector_P_P_Operation_B_B_B = new(); + public Parameter MultipleDelegation_MultipleConnector_P_P_Operation_B_B_B_result = new(); + public Operation MultipleDelegation_MultipleConnector_P_P_Operation_B_setP_Integer = new(); + public Parameter MultipleDelegation_MultipleConnector_P_P_Operation_B_setP_Integer_v = new(); + public Activity MultipleDelegation_MultipleConnector_P_P_Operation_B_setPActivity = new(); + public Parameter MultipleDelegation_MultipleConnector_P_P_Operation_B_setPActivity_v = new(); + public AddStructuralFeatureValueAction MultipleDelegation_MultipleConnector_P_P_Operation_B_setPActivity_Set_this_p = new(); + public OutputPin MultipleDelegation_MultipleConnector_P_P_Operation_B_setPActivity_Set_this_p_result = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_P_Operation_B_setPActivity_Set_this_p_result_LiteralInteger21 = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_P_Operation_B_setPActivity_Set_this_p_result_LiteralUnlimitedNatural22 = new(); + public InputPin MultipleDelegation_MultipleConnector_P_P_Operation_B_setPActivity_Set_this_p_value = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_P_Operation_B_setPActivity_Set_this_p_value_LiteralInteger23 = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_P_Operation_B_setPActivity_Set_this_p_value_LiteralUnlimitedNatural24 = new(); + public InputPin MultipleDelegation_MultipleConnector_P_P_Operation_B_setPActivity_Set_this_p_object = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_P_Operation_B_setPActivity_Set_this_p_object_LiteralUnlimitedNatural25 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_P_Operation_B_setPActivity_Set_this_p_object_LiteralInteger26 = new(); + public ActivityParameterNode MultipleDelegation_MultipleConnector_P_P_Operation_B_setPActivity_vParameterNode = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_P_Operation_B_setPActivity_vParameterNode_LiteralInteger27 = new(); + public ObjectFlow MultipleDelegation_MultipleConnector_P_P_Operation_B_setPActivity_ObjectFlow28 = new(); + public LiteralBoolean MultipleDelegation_MultipleConnector_P_P_Operation_B_setPActivity_ObjectFlow28_LiteralBoolean29 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_P_Operation_B_setPActivity_ObjectFlow28_LiteralInteger30 = new(); + public ObjectFlow MultipleDelegation_MultipleConnector_P_P_Operation_B_setPActivity_ObjectFlow31 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_P_Operation_B_setPActivity_ObjectFlow31_LiteralInteger32 = new(); + public LiteralBoolean MultipleDelegation_MultipleConnector_P_P_Operation_B_setPActivity_ObjectFlow31_LiteralBoolean33 = new(); + public ReadSelfAction MultipleDelegation_MultipleConnector_P_P_Operation_B_setPActivity_this = new(); + public OutputPin MultipleDelegation_MultipleConnector_P_P_Operation_B_setPActivity_this_result = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_P_Operation_B_setPActivity_this_result_LiteralUnlimitedNatural34 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_P_Operation_B_setPActivity_this_result_LiteralInteger35 = new(); + public Class_ MultipleDelegation_MultipleConnector_P_P_Operation_IImpl = new(); + public Operation MultipleDelegation_MultipleConnector_P_P_Operation_IImpl_setP_Integer = new(); + public Parameter MultipleDelegation_MultipleConnector_P_P_Operation_IImpl_setP_Integer_v = new(); + public InterfaceRealization MultipleDelegation_MultipleConnector_P_P_Operation_IImpl_IRealization = new(); + public Activity MultipleDelegation_MultipleConnector_P_P_Operation_main = new(); + public ControlFlow MultipleDelegation_MultipleConnector_P_P_Operation_main_ControlFlow36 = new(); + public ReadStructuralFeatureAction MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_c_p = new(); + public OutputPin MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_c_p_result = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_c_p_result_LiteralInteger37 = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_c_p_result_LiteralUnlimitedNatural38 = new(); + public InputPin MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_c_p_object = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_c_p_object_LiteralUnlimitedNatural39 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_c_p_object_LiteralInteger40 = new(); + public ObjectFlow MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow41 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow41_LiteralInteger42 = new(); + public LiteralBoolean MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow41_LiteralBoolean43 = new(); + public ReadStructuralFeatureAction MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_c_b1 = new(); + public InputPin MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_c_b1_object = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_c_b1_object_LiteralInteger44 = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_c_b1_object_LiteralUnlimitedNatural45 = new(); + public OutputPin MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_c_b1_result = new(); + public ForkNode MultipleDelegation_MultipleConnector_P_P_Operation_main_Fork_C = new(); + public ObjectFlow MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow46 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow46_LiteralInteger47 = new(); + public LiteralBoolean MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow46_LiteralBoolean48 = new(); + public ReadStructuralFeatureAction MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_b_p = new(); + public InputPin MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_b_p_object = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_b_p_object_LiteralInteger49 = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_b_p_object_LiteralUnlimitedNatural50 = new(); + public OutputPin MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_b_p_result = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_b_p_result_LiteralUnlimitedNatural51 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_b_p_result_LiteralInteger52 = new(); + public ControlFlow MultipleDelegation_MultipleConnector_P_P_Operation_main_ControlFlow53 = new(); + public ObjectFlow MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow54 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow54_LiteralInteger55 = new(); + public LiteralBoolean MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow54_LiteralBoolean56 = new(); + public ObjectFlow MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow57 = new(); + public LiteralBoolean MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow57_LiteralBoolean58 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow57_LiteralInteger59 = new(); + public ObjectFlow MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow60 = new(); + public LiteralBoolean MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow60_LiteralBoolean61 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow60_LiteralInteger62 = new(); + public ObjectFlow MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow63 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow63_LiteralInteger64 = new(); + public LiteralBoolean MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow63_LiteralBoolean65 = new(); + public CallOperationAction MultipleDelegation_MultipleConnector_P_P_Operation_main_Call_p_setP_ = new(); + public InputPin MultipleDelegation_MultipleConnector_P_P_Operation_main_Call_p_setP__target = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_P_Operation_main_Call_p_setP__target_LiteralUnlimitedNatural66 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_P_Operation_main_Call_p_setP__target_LiteralInteger67 = new(); + public InputPin MultipleDelegation_MultipleConnector_P_P_Operation_main_Call_p_setP__v = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_P_Operation_main_Call_p_setP__v_LiteralUnlimitedNatural68 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_P_Operation_main_Call_p_setP__v_LiteralInteger69 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_P_Operation_main_Call_p_setP__v_LiteralInteger70 = new(); + public ObjectFlow MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow71 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow71_LiteralInteger72 = new(); + public LiteralBoolean MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow71_LiteralBoolean73 = new(); + public ObjectFlow MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow74 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow74_LiteralInteger75 = new(); + public LiteralBoolean MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow74_LiteralBoolean76 = new(); + public ControlFlow MultipleDelegation_MultipleConnector_P_P_Operation_main_ControlFlow77 = new(); + public ObjectFlow MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow78 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow78_LiteralInteger79 = new(); + public LiteralBoolean MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow78_LiteralBoolean80 = new(); + public CallOperationAction MultipleDelegation_MultipleConnector_P_P_Operation_main_C_ = new(); + public InputPin MultipleDelegation_MultipleConnector_P_P_Operation_main_C__target = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_P_Operation_main_C__target_LiteralInteger81 = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_P_Operation_main_C__target_LiteralUnlimitedNatural82 = new(); + public OutputPin MultipleDelegation_MultipleConnector_P_P_Operation_main_C__result = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_P_Operation_main_C__result_LiteralInteger83 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_P_Operation_main_C__result_LiteralInteger84 = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_P_Operation_main_C__result_LiteralUnlimitedNatural85 = new(); + public ObjectFlow MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow86 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow86_LiteralInteger87 = new(); + public LiteralBoolean MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow86_LiteralBoolean88 = new(); + public ObjectFlow MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow89 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow89_LiteralInteger90 = new(); + public LiteralBoolean MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow89_LiteralBoolean91 = new(); + public ObjectFlow MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow92 = new(); + public LiteralBoolean MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow92_LiteralBoolean93 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow92_LiteralInteger94 = new(); + public ReadStructuralFeatureAction MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_c_b4 = new(); + public OutputPin MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_c_b4_result = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_c_b4_result_LiteralInteger95 = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_c_b4_result_LiteralUnlimitedNatural96 = new(); + public InputPin MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_c_b4_object = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_c_b4_object_LiteralInteger97 = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_c_b4_object_LiteralUnlimitedNatural98 = new(); + public CallBehaviorAction MultipleDelegation_MultipleConnector_P_P_Operation_main_Call_testP = new(); + public InputPin MultipleDelegation_MultipleConnector_P_P_Operation_main_Call_testP_p = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_P_Operation_main_Call_testP_p_LiteralInteger99 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_P_Operation_main_Call_testP_p_LiteralInteger100 = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_P_Operation_main_Call_testP_p_LiteralUnlimitedNatural101 = new(); + public ReadStructuralFeatureAction MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_c_b3 = new(); + public OutputPin MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_c_b3_result = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_c_b3_result_LiteralUnlimitedNatural102 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_c_b3_result_LiteralInteger103 = new(); + public InputPin MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_c_b3_object = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_c_b3_object_LiteralInteger104 = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_c_b3_object_LiteralUnlimitedNatural105 = new(); + public ObjectFlow MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow106 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow106_LiteralInteger107 = new(); + public LiteralBoolean MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow106_LiteralBoolean108 = new(); + public ValueSpecificationAction MultipleDelegation_MultipleConnector_P_P_Operation_main_Value_4 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_P_Operation_main_Value_4_LiteralInteger109 = new(); + public OutputPin MultipleDelegation_MultipleConnector_P_P_Operation_main_Value_4_result = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_P_Operation_main_Value_4_result_LiteralUnlimitedNatural110 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_P_Operation_main_Value_4_result_LiteralInteger111 = new(); + public ObjectFlow MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow112 = new(); + public LiteralBoolean MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow112_LiteralBoolean113 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow112_LiteralInteger114 = new(); + public ReadStructuralFeatureAction MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_c_b2 = new(); + public OutputPin MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_c_b2_result = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_c_b2_result_LiteralUnlimitedNatural115 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_c_b2_result_LiteralInteger116 = new(); + public InputPin MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_c_b2_object = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_c_b2_object_LiteralInteger117 = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_c_b2_object_LiteralUnlimitedNatural118 = new(); + public OpaqueBehavior MultipleDelegation_MultipleConnector_P_P_Operation_main_testP = new(); + public Parameter MultipleDelegation_MultipleConnector_P_P_Operation_main_testP_p = new(); + public ControlFlow MultipleDelegation_MultipleConnector_P_P_Operation_main_ControlFlow119 = new(); + public CreateObjectAction MultipleDelegation_MultipleConnector_P_P_Operation_main_Create_C = new(); + public OutputPin MultipleDelegation_MultipleConnector_P_P_Operation_main_Create_C_result = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_P_Operation_main_Create_C_result_LiteralUnlimitedNatural120 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_P_Operation_main_Create_C_result_LiteralInteger121 = new(); + + public static MultipleDelegation_MultipleConnector_P_P_OperationModel Instance() + { + if (instance is null) + { + instance = new(); + instance.InitializeInMemoryModel(); + } + + return instance; + } + + public MultipleDelegation_MultipleConnector_P_P_OperationModel() + { + /* Start of user code : Additional model initializations + * This section may be used to do any additional model initialization, + * for example initializing user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } + + private void InitializeInMemoryModel() + { + // Create public members + /* + * Model MultipleDelegation_MultipleConnector_P_P_Operation + */ + AddToElementRepository("MultipleDelegation_MultipleConnector_P_P_Operation", MultipleDelegation_MultipleConnector_P_P_Operation); + AddToElementRepository("C", MultipleDelegation_MultipleConnector_P_P_Operation_C); + AddToElementRepository("p", MultipleDelegation_MultipleConnector_P_P_Operation_C_p); + AddToElementRepository("b2", MultipleDelegation_MultipleConnector_P_P_Operation_C_b2); + AddToElementRepository("LiteralUnlimitedNatural0", MultipleDelegation_MultipleConnector_P_P_Operation_C_b2_LiteralUnlimitedNatural0); + AddToElementRepository("LiteralInteger1", MultipleDelegation_MultipleConnector_P_P_Operation_C_b2_LiteralInteger1); + AddToElementRepository("b4", MultipleDelegation_MultipleConnector_P_P_Operation_C_b4); + AddToElementRepository("LiteralInteger2", MultipleDelegation_MultipleConnector_P_P_Operation_C_b4_LiteralInteger2); + AddToElementRepository("LiteralUnlimitedNatural3", MultipleDelegation_MultipleConnector_P_P_Operation_C_b4_LiteralUnlimitedNatural3); + AddToElementRepository("s2", MultipleDelegation_MultipleConnector_P_P_Operation_C_s2); + AddToElementRepository("ConnectorEnd4", MultipleDelegation_MultipleConnector_P_P_Operation_C_s2_ConnectorEnd4); + AddToElementRepository("ConnectorEnd5", MultipleDelegation_MultipleConnector_P_P_Operation_C_s2_ConnectorEnd5); + AddToElementRepository("b3", MultipleDelegation_MultipleConnector_P_P_Operation_C_b3); + AddToElementRepository("LiteralUnlimitedNatural6", MultipleDelegation_MultipleConnector_P_P_Operation_C_b3_LiteralUnlimitedNatural6); + AddToElementRepository("LiteralInteger7", MultipleDelegation_MultipleConnector_P_P_Operation_C_b3_LiteralInteger7); + AddToElementRepository("s3", MultipleDelegation_MultipleConnector_P_P_Operation_C_s3); + AddToElementRepository("ConnectorEnd8", MultipleDelegation_MultipleConnector_P_P_Operation_C_s3_ConnectorEnd8); + AddToElementRepository("ConnectorEnd9", MultipleDelegation_MultipleConnector_P_P_Operation_C_s3_ConnectorEnd9); + AddToElementRepository("s4", MultipleDelegation_MultipleConnector_P_P_Operation_C_s4); + AddToElementRepository("ConnectorEnd10", MultipleDelegation_MultipleConnector_P_P_Operation_C_s4_ConnectorEnd10); + AddToElementRepository("ConnectorEnd11", MultipleDelegation_MultipleConnector_P_P_Operation_C_s4_ConnectorEnd11); + AddToElementRepository("b1", MultipleDelegation_MultipleConnector_P_P_Operation_C_b1); + AddToElementRepository("LiteralUnlimitedNatural12", MultipleDelegation_MultipleConnector_P_P_Operation_C_b1_LiteralUnlimitedNatural12); + AddToElementRepository("LiteralInteger13", MultipleDelegation_MultipleConnector_P_P_Operation_C_b1_LiteralInteger13); + AddToElementRepository("C_C", MultipleDelegation_MultipleConnector_P_P_Operation_C_C_C); + AddToElementRepository("result", MultipleDelegation_MultipleConnector_P_P_Operation_C_C_C_result); + AddToElementRepository("s1", MultipleDelegation_MultipleConnector_P_P_Operation_C_s1); + AddToElementRepository("ConnectorEnd14", MultipleDelegation_MultipleConnector_P_P_Operation_C_s1_ConnectorEnd14); + AddToElementRepository("LiteralUnlimitedNatural15", MultipleDelegation_MultipleConnector_P_P_Operation_C_s1_ConnectorEnd14_LiteralUnlimitedNatural15); + AddToElementRepository("LiteralInteger16", MultipleDelegation_MultipleConnector_P_P_Operation_C_s1_ConnectorEnd14_LiteralInteger16); + AddToElementRepository("ConnectorEnd17", MultipleDelegation_MultipleConnector_P_P_Operation_C_s1_ConnectorEnd17); + AddToElementRepository("LiteralInteger18", MultipleDelegation_MultipleConnector_P_P_Operation_C_s1_ConnectorEnd17_LiteralInteger18); + AddToElementRepository("LiteralUnlimitedNatural19", MultipleDelegation_MultipleConnector_P_P_Operation_C_s1_ConnectorEnd17_LiteralUnlimitedNatural19); + AddToElementRepository("I", MultipleDelegation_MultipleConnector_P_P_Operation_I); + AddToElementRepository("setP_Integer", MultipleDelegation_MultipleConnector_P_P_Operation_I_setP_Integer); + AddToElementRepository("v", MultipleDelegation_MultipleConnector_P_P_Operation_I_setP_Integer_v); + AddToElementRepository("S", MultipleDelegation_MultipleConnector_P_P_Operation_S); + AddToElementRepository("x", MultipleDelegation_MultipleConnector_P_P_Operation_S_x); + AddToElementRepository("y", MultipleDelegation_MultipleConnector_P_P_Operation_S_y); + AddToElementRepository("B", MultipleDelegation_MultipleConnector_P_P_Operation_B); + AddToElementRepository("p", MultipleDelegation_MultipleConnector_P_P_Operation_B_p); + AddToElementRepository("LiteralInteger20", MultipleDelegation_MultipleConnector_P_P_Operation_B_p_LiteralInteger20); + AddToElementRepository("IRealization", MultipleDelegation_MultipleConnector_P_P_Operation_B_IRealization); + AddToElementRepository("B_B", MultipleDelegation_MultipleConnector_P_P_Operation_B_B_B); + AddToElementRepository("result", MultipleDelegation_MultipleConnector_P_P_Operation_B_B_B_result); + AddToElementRepository("setP_Integer", MultipleDelegation_MultipleConnector_P_P_Operation_B_setP_Integer); + AddToElementRepository("v", MultipleDelegation_MultipleConnector_P_P_Operation_B_setP_Integer_v); + AddToElementRepository("setPActivity", MultipleDelegation_MultipleConnector_P_P_Operation_B_setPActivity); + AddToElementRepository("v", MultipleDelegation_MultipleConnector_P_P_Operation_B_setPActivity_v); + AddToElementRepository("Set this.p", MultipleDelegation_MultipleConnector_P_P_Operation_B_setPActivity_Set_this_p); + AddToElementRepository("result", MultipleDelegation_MultipleConnector_P_P_Operation_B_setPActivity_Set_this_p_result); + AddToElementRepository("LiteralInteger21", MultipleDelegation_MultipleConnector_P_P_Operation_B_setPActivity_Set_this_p_result_LiteralInteger21); + AddToElementRepository("LiteralUnlimitedNatural22", MultipleDelegation_MultipleConnector_P_P_Operation_B_setPActivity_Set_this_p_result_LiteralUnlimitedNatural22); + AddToElementRepository("value", MultipleDelegation_MultipleConnector_P_P_Operation_B_setPActivity_Set_this_p_value); + AddToElementRepository("LiteralInteger23", MultipleDelegation_MultipleConnector_P_P_Operation_B_setPActivity_Set_this_p_value_LiteralInteger23); + AddToElementRepository("LiteralUnlimitedNatural24", MultipleDelegation_MultipleConnector_P_P_Operation_B_setPActivity_Set_this_p_value_LiteralUnlimitedNatural24); + AddToElementRepository("object", MultipleDelegation_MultipleConnector_P_P_Operation_B_setPActivity_Set_this_p_object); + AddToElementRepository("LiteralUnlimitedNatural25", MultipleDelegation_MultipleConnector_P_P_Operation_B_setPActivity_Set_this_p_object_LiteralUnlimitedNatural25); + AddToElementRepository("LiteralInteger26", MultipleDelegation_MultipleConnector_P_P_Operation_B_setPActivity_Set_this_p_object_LiteralInteger26); + AddToElementRepository("vParameterNode", MultipleDelegation_MultipleConnector_P_P_Operation_B_setPActivity_vParameterNode); + AddToElementRepository("LiteralInteger27", MultipleDelegation_MultipleConnector_P_P_Operation_B_setPActivity_vParameterNode_LiteralInteger27); + AddToElementRepository("ObjectFlow28", MultipleDelegation_MultipleConnector_P_P_Operation_B_setPActivity_ObjectFlow28); + AddToElementRepository("LiteralBoolean29", MultipleDelegation_MultipleConnector_P_P_Operation_B_setPActivity_ObjectFlow28_LiteralBoolean29); + AddToElementRepository("LiteralInteger30", MultipleDelegation_MultipleConnector_P_P_Operation_B_setPActivity_ObjectFlow28_LiteralInteger30); + AddToElementRepository("ObjectFlow31", MultipleDelegation_MultipleConnector_P_P_Operation_B_setPActivity_ObjectFlow31); + AddToElementRepository("LiteralInteger32", MultipleDelegation_MultipleConnector_P_P_Operation_B_setPActivity_ObjectFlow31_LiteralInteger32); + AddToElementRepository("LiteralBoolean33", MultipleDelegation_MultipleConnector_P_P_Operation_B_setPActivity_ObjectFlow31_LiteralBoolean33); + AddToElementRepository("this", MultipleDelegation_MultipleConnector_P_P_Operation_B_setPActivity_this); + AddToElementRepository("result", MultipleDelegation_MultipleConnector_P_P_Operation_B_setPActivity_this_result); + AddToElementRepository("LiteralUnlimitedNatural34", MultipleDelegation_MultipleConnector_P_P_Operation_B_setPActivity_this_result_LiteralUnlimitedNatural34); + AddToElementRepository("LiteralInteger35", MultipleDelegation_MultipleConnector_P_P_Operation_B_setPActivity_this_result_LiteralInteger35); + AddToElementRepository("IImpl", MultipleDelegation_MultipleConnector_P_P_Operation_IImpl); + AddToElementRepository("setP_Integer", MultipleDelegation_MultipleConnector_P_P_Operation_IImpl_setP_Integer); + AddToElementRepository("v", MultipleDelegation_MultipleConnector_P_P_Operation_IImpl_setP_Integer_v); + AddToElementRepository("IRealization", MultipleDelegation_MultipleConnector_P_P_Operation_IImpl_IRealization); + AddToElementRepository("main", MultipleDelegation_MultipleConnector_P_P_Operation_main); + AddToElementRepository("ControlFlow36", MultipleDelegation_MultipleConnector_P_P_Operation_main_ControlFlow36); + AddToElementRepository("Read c.p", MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_c_p); + AddToElementRepository("result", MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_c_p_result); + AddToElementRepository("LiteralInteger37", MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_c_p_result_LiteralInteger37); + AddToElementRepository("LiteralUnlimitedNatural38", MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_c_p_result_LiteralUnlimitedNatural38); + AddToElementRepository("object", MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_c_p_object); + AddToElementRepository("LiteralUnlimitedNatural39", MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_c_p_object_LiteralUnlimitedNatural39); + AddToElementRepository("LiteralInteger40", MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_c_p_object_LiteralInteger40); + AddToElementRepository("ObjectFlow41", MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow41); + AddToElementRepository("LiteralInteger42", MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow41_LiteralInteger42); + AddToElementRepository("LiteralBoolean43", MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow41_LiteralBoolean43); + AddToElementRepository("Read c.b1", MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_c_b1); + AddToElementRepository("object", MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_c_b1_object); + AddToElementRepository("LiteralInteger44", MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_c_b1_object_LiteralInteger44); + AddToElementRepository("LiteralUnlimitedNatural45", MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_c_b1_object_LiteralUnlimitedNatural45); + AddToElementRepository("result", MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_c_b1_result); + AddToElementRepository("Fork C", MultipleDelegation_MultipleConnector_P_P_Operation_main_Fork_C); + AddToElementRepository("ObjectFlow46", MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow46); + AddToElementRepository("LiteralInteger47", MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow46_LiteralInteger47); + AddToElementRepository("LiteralBoolean48", MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow46_LiteralBoolean48); + AddToElementRepository("Read b.p", MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_b_p); + AddToElementRepository("object", MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_b_p_object); + AddToElementRepository("LiteralInteger49", MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_b_p_object_LiteralInteger49); + AddToElementRepository("LiteralUnlimitedNatural50", MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_b_p_object_LiteralUnlimitedNatural50); + AddToElementRepository("result", MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_b_p_result); + AddToElementRepository("LiteralUnlimitedNatural51", MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_b_p_result_LiteralUnlimitedNatural51); + AddToElementRepository("LiteralInteger52", MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_b_p_result_LiteralInteger52); + AddToElementRepository("ControlFlow53", MultipleDelegation_MultipleConnector_P_P_Operation_main_ControlFlow53); + AddToElementRepository("ObjectFlow54", MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow54); + AddToElementRepository("LiteralInteger55", MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow54_LiteralInteger55); + AddToElementRepository("LiteralBoolean56", MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow54_LiteralBoolean56); + AddToElementRepository("ObjectFlow57", MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow57); + AddToElementRepository("LiteralBoolean58", MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow57_LiteralBoolean58); + AddToElementRepository("LiteralInteger59", MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow57_LiteralInteger59); + AddToElementRepository("ObjectFlow60", MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow60); + AddToElementRepository("LiteralBoolean61", MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow60_LiteralBoolean61); + AddToElementRepository("LiteralInteger62", MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow60_LiteralInteger62); + AddToElementRepository("ObjectFlow63", MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow63); + AddToElementRepository("LiteralInteger64", MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow63_LiteralInteger64); + AddToElementRepository("LiteralBoolean65", MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow63_LiteralBoolean65); + AddToElementRepository("Call p.setP()", MultipleDelegation_MultipleConnector_P_P_Operation_main_Call_p_setP_); + AddToElementRepository("target", MultipleDelegation_MultipleConnector_P_P_Operation_main_Call_p_setP__target); + AddToElementRepository("LiteralUnlimitedNatural66", MultipleDelegation_MultipleConnector_P_P_Operation_main_Call_p_setP__target_LiteralUnlimitedNatural66); + AddToElementRepository("LiteralInteger67", MultipleDelegation_MultipleConnector_P_P_Operation_main_Call_p_setP__target_LiteralInteger67); + AddToElementRepository("v", MultipleDelegation_MultipleConnector_P_P_Operation_main_Call_p_setP__v); + AddToElementRepository("LiteralUnlimitedNatural68", MultipleDelegation_MultipleConnector_P_P_Operation_main_Call_p_setP__v_LiteralUnlimitedNatural68); + AddToElementRepository("LiteralInteger69", MultipleDelegation_MultipleConnector_P_P_Operation_main_Call_p_setP__v_LiteralInteger69); + AddToElementRepository("LiteralInteger70", MultipleDelegation_MultipleConnector_P_P_Operation_main_Call_p_setP__v_LiteralInteger70); + AddToElementRepository("ObjectFlow71", MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow71); + AddToElementRepository("LiteralInteger72", MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow71_LiteralInteger72); + AddToElementRepository("LiteralBoolean73", MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow71_LiteralBoolean73); + AddToElementRepository("ObjectFlow74", MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow74); + AddToElementRepository("LiteralInteger75", MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow74_LiteralInteger75); + AddToElementRepository("LiteralBoolean76", MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow74_LiteralBoolean76); + AddToElementRepository("ControlFlow77", MultipleDelegation_MultipleConnector_P_P_Operation_main_ControlFlow77); + AddToElementRepository("ObjectFlow78", MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow78); + AddToElementRepository("LiteralInteger79", MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow78_LiteralInteger79); + AddToElementRepository("LiteralBoolean80", MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow78_LiteralBoolean80); + AddToElementRepository("C()", MultipleDelegation_MultipleConnector_P_P_Operation_main_C_); + AddToElementRepository("target", MultipleDelegation_MultipleConnector_P_P_Operation_main_C__target); + AddToElementRepository("LiteralInteger81", MultipleDelegation_MultipleConnector_P_P_Operation_main_C__target_LiteralInteger81); + AddToElementRepository("LiteralUnlimitedNatural82", MultipleDelegation_MultipleConnector_P_P_Operation_main_C__target_LiteralUnlimitedNatural82); + AddToElementRepository("result", MultipleDelegation_MultipleConnector_P_P_Operation_main_C__result); + AddToElementRepository("LiteralInteger83", MultipleDelegation_MultipleConnector_P_P_Operation_main_C__result_LiteralInteger83); + AddToElementRepository("LiteralInteger84", MultipleDelegation_MultipleConnector_P_P_Operation_main_C__result_LiteralInteger84); + AddToElementRepository("LiteralUnlimitedNatural85", MultipleDelegation_MultipleConnector_P_P_Operation_main_C__result_LiteralUnlimitedNatural85); + AddToElementRepository("ObjectFlow86", MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow86); + AddToElementRepository("LiteralInteger87", MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow86_LiteralInteger87); + AddToElementRepository("LiteralBoolean88", MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow86_LiteralBoolean88); + AddToElementRepository("ObjectFlow89", MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow89); + AddToElementRepository("LiteralInteger90", MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow89_LiteralInteger90); + AddToElementRepository("LiteralBoolean91", MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow89_LiteralBoolean91); + AddToElementRepository("ObjectFlow92", MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow92); + AddToElementRepository("LiteralBoolean93", MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow92_LiteralBoolean93); + AddToElementRepository("LiteralInteger94", MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow92_LiteralInteger94); + AddToElementRepository("Read c.b4", MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_c_b4); + AddToElementRepository("result", MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_c_b4_result); + AddToElementRepository("LiteralInteger95", MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_c_b4_result_LiteralInteger95); + AddToElementRepository("LiteralUnlimitedNatural96", MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_c_b4_result_LiteralUnlimitedNatural96); + AddToElementRepository("object", MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_c_b4_object); + AddToElementRepository("LiteralInteger97", MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_c_b4_object_LiteralInteger97); + AddToElementRepository("LiteralUnlimitedNatural98", MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_c_b4_object_LiteralUnlimitedNatural98); + AddToElementRepository("Call testP", MultipleDelegation_MultipleConnector_P_P_Operation_main_Call_testP); + AddToElementRepository("p", MultipleDelegation_MultipleConnector_P_P_Operation_main_Call_testP_p); + AddToElementRepository("LiteralInteger99", MultipleDelegation_MultipleConnector_P_P_Operation_main_Call_testP_p_LiteralInteger99); + AddToElementRepository("LiteralInteger100", MultipleDelegation_MultipleConnector_P_P_Operation_main_Call_testP_p_LiteralInteger100); + AddToElementRepository("LiteralUnlimitedNatural101", MultipleDelegation_MultipleConnector_P_P_Operation_main_Call_testP_p_LiteralUnlimitedNatural101); + AddToElementRepository("Read c.b3", MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_c_b3); + AddToElementRepository("result", MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_c_b3_result); + AddToElementRepository("LiteralUnlimitedNatural102", MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_c_b3_result_LiteralUnlimitedNatural102); + AddToElementRepository("LiteralInteger103", MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_c_b3_result_LiteralInteger103); + AddToElementRepository("object", MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_c_b3_object); + AddToElementRepository("LiteralInteger104", MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_c_b3_object_LiteralInteger104); + AddToElementRepository("LiteralUnlimitedNatural105", MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_c_b3_object_LiteralUnlimitedNatural105); + AddToElementRepository("ObjectFlow106", MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow106); + AddToElementRepository("LiteralInteger107", MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow106_LiteralInteger107); + AddToElementRepository("LiteralBoolean108", MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow106_LiteralBoolean108); + AddToElementRepository("Value(4)", MultipleDelegation_MultipleConnector_P_P_Operation_main_Value_4); + AddToElementRepository("LiteralInteger109", MultipleDelegation_MultipleConnector_P_P_Operation_main_Value_4_LiteralInteger109); + AddToElementRepository("result", MultipleDelegation_MultipleConnector_P_P_Operation_main_Value_4_result); + AddToElementRepository("LiteralUnlimitedNatural110", MultipleDelegation_MultipleConnector_P_P_Operation_main_Value_4_result_LiteralUnlimitedNatural110); + AddToElementRepository("LiteralInteger111", MultipleDelegation_MultipleConnector_P_P_Operation_main_Value_4_result_LiteralInteger111); + AddToElementRepository("ObjectFlow112", MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow112); + AddToElementRepository("LiteralBoolean113", MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow112_LiteralBoolean113); + AddToElementRepository("LiteralInteger114", MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow112_LiteralInteger114); + AddToElementRepository("Read c.b2", MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_c_b2); + AddToElementRepository("result", MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_c_b2_result); + AddToElementRepository("LiteralUnlimitedNatural115", MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_c_b2_result_LiteralUnlimitedNatural115); + AddToElementRepository("LiteralInteger116", MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_c_b2_result_LiteralInteger116); + AddToElementRepository("object", MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_c_b2_object); + AddToElementRepository("LiteralInteger117", MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_c_b2_object_LiteralInteger117); + AddToElementRepository("LiteralUnlimitedNatural118", MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_c_b2_object_LiteralUnlimitedNatural118); + AddToElementRepository("testP", MultipleDelegation_MultipleConnector_P_P_Operation_main_testP); + AddToElementRepository("p", MultipleDelegation_MultipleConnector_P_P_Operation_main_testP_p); + AddToElementRepository("ControlFlow119", MultipleDelegation_MultipleConnector_P_P_Operation_main_ControlFlow119); + AddToElementRepository("Create C", MultipleDelegation_MultipleConnector_P_P_Operation_main_Create_C); + AddToElementRepository("result", MultipleDelegation_MultipleConnector_P_P_Operation_main_Create_C_result); + AddToElementRepository("LiteralUnlimitedNatural120", MultipleDelegation_MultipleConnector_P_P_Operation_main_Create_C_result_LiteralUnlimitedNatural120); + AddToElementRepository("LiteralInteger121", MultipleDelegation_MultipleConnector_P_P_Operation_main_Create_C_result_LiteralInteger121); + + // Initialize public members + /* + * Model MultipleDelegation_MultipleConnector_P_P_Operation + */ + MultipleDelegation_MultipleConnector_P_P_Operation.SetName("MultipleDelegation_MultipleConnector_P_P_Operation"); + MultipleDelegation_MultipleConnector_P_P_Operation.SetVisibility(VisibilityKind.public_); + // Class C + MultipleDelegation_MultipleConnector_P_P_Operation_C.SetName("C"); + MultipleDelegation_MultipleConnector_P_P_Operation_C.SetVisibility(VisibilityKind.public_); + + // Port p + MultipleDelegation_MultipleConnector_P_P_Operation_C_p.SetName("p"); + MultipleDelegation_MultipleConnector_P_P_Operation_C_p.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_P_Operation_C_p.SetType(MultipleDelegation_MultipleConnector_P_P_Operation_IImpl); + MultipleDelegation_MultipleConnector_P_P_Operation_C_p.SetAggregation(AggregationKind.composite); + MultipleDelegation_MultipleConnector_P_P_Operation_C_p.isService = true; + MultipleDelegation_MultipleConnector_P_P_Operation_C_p.AddProvided(MultipleDelegation_MultipleConnector_P_P_Operation_I); + MultipleDelegation_MultipleConnector_P_P_Operation_C.AddOwnedAttribute(MultipleDelegation_MultipleConnector_P_P_Operation_C_p); + // Property b1 + MultipleDelegation_MultipleConnector_P_P_Operation_C_b1.SetName("b1"); + MultipleDelegation_MultipleConnector_P_P_Operation_C_b1.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_P_Operation_C_b1.SetType(MultipleDelegation_MultipleConnector_P_P_Operation_B); + MultipleDelegation_MultipleConnector_P_P_Operation_C_b1.SetAggregation(AggregationKind.composite); + MultipleDelegation_MultipleConnector_P_P_Operation_C.AddOwnedAttribute(MultipleDelegation_MultipleConnector_P_P_Operation_C_b1); + // Property b2 + MultipleDelegation_MultipleConnector_P_P_Operation_C_b2.SetName("b2"); + MultipleDelegation_MultipleConnector_P_P_Operation_C_b2.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_P_Operation_C_b2.SetType(MultipleDelegation_MultipleConnector_P_P_Operation_B); + MultipleDelegation_MultipleConnector_P_P_Operation_C_b2.SetAggregation(AggregationKind.composite); + MultipleDelegation_MultipleConnector_P_P_Operation_C.AddOwnedAttribute(MultipleDelegation_MultipleConnector_P_P_Operation_C_b2); + // Property b3 + MultipleDelegation_MultipleConnector_P_P_Operation_C_b3.SetName("b3"); + MultipleDelegation_MultipleConnector_P_P_Operation_C_b3.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_P_Operation_C_b3.SetType(MultipleDelegation_MultipleConnector_P_P_Operation_B); + MultipleDelegation_MultipleConnector_P_P_Operation_C_b3.SetAggregation(AggregationKind.composite); + MultipleDelegation_MultipleConnector_P_P_Operation_C.AddOwnedAttribute(MultipleDelegation_MultipleConnector_P_P_Operation_C_b3); + // Property b4 + MultipleDelegation_MultipleConnector_P_P_Operation_C_b4.SetName("b4"); + MultipleDelegation_MultipleConnector_P_P_Operation_C_b4.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_P_Operation_C_b4.SetType(MultipleDelegation_MultipleConnector_P_P_Operation_B); + MultipleDelegation_MultipleConnector_P_P_Operation_C_b4.SetAggregation(AggregationKind.composite); + MultipleDelegation_MultipleConnector_P_P_Operation_C.AddOwnedAttribute(MultipleDelegation_MultipleConnector_P_P_Operation_C_b4); + + MultipleDelegation_MultipleConnector_P_P_Operation_C_s2.SetName("s2"); + MultipleDelegation_MultipleConnector_P_P_Operation_C_s2.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_P_Operation_C_s2_ConnectorEnd4.SetRole(MultipleDelegation_MultipleConnector_P_P_Operation_C_p); + + MultipleDelegation_MultipleConnector_P_P_Operation_C_s2.AddEnd(MultipleDelegation_MultipleConnector_P_P_Operation_C_s2_ConnectorEnd4); + + MultipleDelegation_MultipleConnector_P_P_Operation_C_s2_ConnectorEnd5.SetRole(MultipleDelegation_MultipleConnector_P_P_Operation_C_b2); + + MultipleDelegation_MultipleConnector_P_P_Operation_C_s2.AddEnd(MultipleDelegation_MultipleConnector_P_P_Operation_C_s2_ConnectorEnd5); + MultipleDelegation_MultipleConnector_P_P_Operation_C.AddOwnedConnector(MultipleDelegation_MultipleConnector_P_P_Operation_C_s2); + MultipleDelegation_MultipleConnector_P_P_Operation_C_s3.SetName("s3"); + MultipleDelegation_MultipleConnector_P_P_Operation_C_s3.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_P_Operation_C_s3_ConnectorEnd9.SetRole(MultipleDelegation_MultipleConnector_P_P_Operation_C_p); + + MultipleDelegation_MultipleConnector_P_P_Operation_C_s3.AddEnd(MultipleDelegation_MultipleConnector_P_P_Operation_C_s3_ConnectorEnd9); + + MultipleDelegation_MultipleConnector_P_P_Operation_C_s3_ConnectorEnd8.SetRole(MultipleDelegation_MultipleConnector_P_P_Operation_C_b3); + + MultipleDelegation_MultipleConnector_P_P_Operation_C_s3.AddEnd(MultipleDelegation_MultipleConnector_P_P_Operation_C_s3_ConnectorEnd8); + MultipleDelegation_MultipleConnector_P_P_Operation_C.AddOwnedConnector(MultipleDelegation_MultipleConnector_P_P_Operation_C_s3); + MultipleDelegation_MultipleConnector_P_P_Operation_C_s4.SetName("s4"); + MultipleDelegation_MultipleConnector_P_P_Operation_C_s4.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_P_Operation_C_s4_ConnectorEnd10.SetRole(MultipleDelegation_MultipleConnector_P_P_Operation_C_p); + + MultipleDelegation_MultipleConnector_P_P_Operation_C_s4.AddEnd(MultipleDelegation_MultipleConnector_P_P_Operation_C_s4_ConnectorEnd10); + + MultipleDelegation_MultipleConnector_P_P_Operation_C_s4_ConnectorEnd11.SetRole(MultipleDelegation_MultipleConnector_P_P_Operation_C_b4); + + MultipleDelegation_MultipleConnector_P_P_Operation_C_s4.AddEnd(MultipleDelegation_MultipleConnector_P_P_Operation_C_s4_ConnectorEnd11); + MultipleDelegation_MultipleConnector_P_P_Operation_C.AddOwnedConnector(MultipleDelegation_MultipleConnector_P_P_Operation_C_s4); + MultipleDelegation_MultipleConnector_P_P_Operation_C_s1.SetName("s1"); + MultipleDelegation_MultipleConnector_P_P_Operation_C_s1.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_P_Operation_C_s1_ConnectorEnd17.SetRole(MultipleDelegation_MultipleConnector_P_P_Operation_C_p); + + MultipleDelegation_MultipleConnector_P_P_Operation_C_s1.AddEnd(MultipleDelegation_MultipleConnector_P_P_Operation_C_s1_ConnectorEnd17); + + MultipleDelegation_MultipleConnector_P_P_Operation_C_s1_ConnectorEnd14.SetRole(MultipleDelegation_MultipleConnector_P_P_Operation_C_b1); + + MultipleDelegation_MultipleConnector_P_P_Operation_C_s1.AddEnd(MultipleDelegation_MultipleConnector_P_P_Operation_C_s1_ConnectorEnd14); + MultipleDelegation_MultipleConnector_P_P_Operation_C_s1.SetType(MultipleDelegation_MultipleConnector_P_P_Operation_S); + MultipleDelegation_MultipleConnector_P_P_Operation_C.AddOwnedConnector(MultipleDelegation_MultipleConnector_P_P_Operation_C_s1); + // Operation C_C + MultipleDelegation_MultipleConnector_P_P_Operation_C_C_C.SetName("C_C"); + MultipleDelegation_MultipleConnector_P_P_Operation_C_C_C.SetVisibility(VisibilityKind.public_); + // Parameter result + MultipleDelegation_MultipleConnector_P_P_Operation_C_C_C_result.SetName("result"); + MultipleDelegation_MultipleConnector_P_P_Operation_C_C_C_result.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_P_Operation_C_C_C_result.SetType(MultipleDelegation_MultipleConnector_P_P_Operation_C); + MultipleDelegation_MultipleConnector_P_P_Operation_C_C_C_result.SetDirection(ParameterDirectionKind.return_); + MultipleDelegation_MultipleConnector_P_P_Operation_C_C_C.AddOwnedParameter(MultipleDelegation_MultipleConnector_P_P_Operation_C_C_C_result); + MultipleDelegation_MultipleConnector_P_P_Operation_C_C_C.ApplyStereotype(uml.standardprofile.StandardProfileModel.Instance().Stereotype_Create); + MultipleDelegation_MultipleConnector_P_P_Operation_C.AddOwnedOperation(MultipleDelegation_MultipleConnector_P_P_Operation_C_C_C); + MultipleDelegation_MultipleConnector_P_P_Operation.AddPackagedElement(MultipleDelegation_MultipleConnector_P_P_Operation_C); + // Interface I + MultipleDelegation_MultipleConnector_P_P_Operation_I.SetName("I"); + MultipleDelegation_MultipleConnector_P_P_Operation_I.SetVisibility(VisibilityKind.public_); + // Operation setP_Integer + MultipleDelegation_MultipleConnector_P_P_Operation_I_setP_Integer.SetName("setP_Integer"); + MultipleDelegation_MultipleConnector_P_P_Operation_I_setP_Integer.SetVisibility(VisibilityKind.public_); + // Parameter v + MultipleDelegation_MultipleConnector_P_P_Operation_I_setP_Integer_v.SetName("v"); + MultipleDelegation_MultipleConnector_P_P_Operation_I_setP_Integer_v.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_P_Operation_I_setP_Integer_v.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + MultipleDelegation_MultipleConnector_P_P_Operation_I_setP_Integer.AddOwnedParameter(MultipleDelegation_MultipleConnector_P_P_Operation_I_setP_Integer_v); + MultipleDelegation_MultipleConnector_P_P_Operation_I.AddOwnedOperation(MultipleDelegation_MultipleConnector_P_P_Operation_I_setP_Integer); + MultipleDelegation_MultipleConnector_P_P_Operation.AddPackagedElement(MultipleDelegation_MultipleConnector_P_P_Operation_I); + // Association S + MultipleDelegation_MultipleConnector_P_P_Operation_S.SetName("S"); + MultipleDelegation_MultipleConnector_P_P_Operation_S.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Operation_S.AddOwnedEnd(MultipleDelegation_MultipleConnector_P_P_Operation_S_x); + MultipleDelegation_MultipleConnector_P_P_Operation_S.AddOwnedEnd(MultipleDelegation_MultipleConnector_P_P_Operation_S_y); + MultipleDelegation_MultipleConnector_P_P_Operation.AddPackagedElement(MultipleDelegation_MultipleConnector_P_P_Operation_S); + // Class B + MultipleDelegation_MultipleConnector_P_P_Operation_B.SetName("B"); + MultipleDelegation_MultipleConnector_P_P_Operation_B.SetVisibility(VisibilityKind.public_); + + // Property p + MultipleDelegation_MultipleConnector_P_P_Operation_B_p.SetName("p"); + MultipleDelegation_MultipleConnector_P_P_Operation_B_p.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_P_Operation_B_p.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + // LiteralInteger LiteralInteger20 + MultipleDelegation_MultipleConnector_P_P_Operation_B_p_LiteralInteger20.SetName("LiteralInteger20"); + MultipleDelegation_MultipleConnector_P_P_Operation_B_p_LiteralInteger20.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Operation_B_p_LiteralInteger20.SetValue(0); + MultipleDelegation_MultipleConnector_P_P_Operation_B_p.SetDefaultValue(MultipleDelegation_MultipleConnector_P_P_Operation_B_p_LiteralInteger20); + MultipleDelegation_MultipleConnector_P_P_Operation_B.AddOwnedAttribute(MultipleDelegation_MultipleConnector_P_P_Operation_B_p); + // Activity setPActivity + MultipleDelegation_MultipleConnector_P_P_Operation_B_setPActivity.SetName("setPActivity"); + MultipleDelegation_MultipleConnector_P_P_Operation_B_setPActivity.SetVisibility(VisibilityKind.public_); + + // Parameter v + MultipleDelegation_MultipleConnector_P_P_Operation_B_setPActivity_v.SetName("v"); + MultipleDelegation_MultipleConnector_P_P_Operation_B_setPActivity_v.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_P_Operation_B_setPActivity_v.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + MultipleDelegation_MultipleConnector_P_P_Operation_B_setPActivity.AddOwnedParameter(MultipleDelegation_MultipleConnector_P_P_Operation_B_setPActivity_v); + // AddStructuralFeatureValueAction Set this.p + MultipleDelegation_MultipleConnector_P_P_Operation_B_setPActivity_Set_this_p.SetName("Set this.p"); + MultipleDelegation_MultipleConnector_P_P_Operation_B_setPActivity_Set_this_p.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Operation_B_setPActivity_Set_this_p.SetStructuralFeature(MultipleDelegation_MultipleConnector_P_P_Operation_B_p); + // InputPin object + MultipleDelegation_MultipleConnector_P_P_Operation_B_setPActivity_Set_this_p_object.SetName("object"); + MultipleDelegation_MultipleConnector_P_P_Operation_B_setPActivity_Set_this_p_object.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Operation_B_setPActivity_Set_this_p_object.SetType(MultipleDelegation_MultipleConnector_P_P_Operation_B); + MultipleDelegation_MultipleConnector_P_P_Operation_B_setPActivity_Set_this_p.SetObject(MultipleDelegation_MultipleConnector_P_P_Operation_B_setPActivity_Set_this_p_object); + // InputPin value + MultipleDelegation_MultipleConnector_P_P_Operation_B_setPActivity_Set_this_p_value.SetName("value"); + MultipleDelegation_MultipleConnector_P_P_Operation_B_setPActivity_Set_this_p_value.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Operation_B_setPActivity_Set_this_p_value.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + MultipleDelegation_MultipleConnector_P_P_Operation_B_setPActivity_Set_this_p.SetValue(MultipleDelegation_MultipleConnector_P_P_Operation_B_setPActivity_Set_this_p_value); + // OutputPin result + MultipleDelegation_MultipleConnector_P_P_Operation_B_setPActivity_Set_this_p_result.SetName("result"); + MultipleDelegation_MultipleConnector_P_P_Operation_B_setPActivity_Set_this_p_result.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Operation_B_setPActivity_Set_this_p_result.SetType(MultipleDelegation_MultipleConnector_P_P_Operation_B); + MultipleDelegation_MultipleConnector_P_P_Operation_B_setPActivity_Set_this_p.SetResult(MultipleDelegation_MultipleConnector_P_P_Operation_B_setPActivity_Set_this_p_result); + MultipleDelegation_MultipleConnector_P_P_Operation_B_setPActivity.AddNode(MultipleDelegation_MultipleConnector_P_P_Operation_B_setPActivity_Set_this_p); + // ActivityParameterNode vParameterNode + MultipleDelegation_MultipleConnector_P_P_Operation_B_setPActivity_vParameterNode.SetName("vParameterNode"); + MultipleDelegation_MultipleConnector_P_P_Operation_B_setPActivity_vParameterNode.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_P_Operation_B_setPActivity_vParameterNode.SetParameter(MultipleDelegation_MultipleConnector_P_P_Operation_B_setPActivity_v); + MultipleDelegation_MultipleConnector_P_P_Operation_B_setPActivity.AddNode(MultipleDelegation_MultipleConnector_P_P_Operation_B_setPActivity_vParameterNode); + // ReadSelfAction this + MultipleDelegation_MultipleConnector_P_P_Operation_B_setPActivity_this.SetName("this"); + MultipleDelegation_MultipleConnector_P_P_Operation_B_setPActivity_this.SetVisibility(VisibilityKind.public_); + // OutputPin result + MultipleDelegation_MultipleConnector_P_P_Operation_B_setPActivity_this_result.SetName("result"); + MultipleDelegation_MultipleConnector_P_P_Operation_B_setPActivity_this_result.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Operation_B_setPActivity_this_result.SetType(MultipleDelegation_MultipleConnector_P_P_Operation_B); + MultipleDelegation_MultipleConnector_P_P_Operation_B_setPActivity_this.SetResult(MultipleDelegation_MultipleConnector_P_P_Operation_B_setPActivity_this_result); + MultipleDelegation_MultipleConnector_P_P_Operation_B_setPActivity.AddNode(MultipleDelegation_MultipleConnector_P_P_Operation_B_setPActivity_this); + // ObjectFlow ObjectFlow28 from result to object + MultipleDelegation_MultipleConnector_P_P_Operation_B_setPActivity_ObjectFlow28.SetName("ObjectFlow28"); + MultipleDelegation_MultipleConnector_P_P_Operation_B_setPActivity_ObjectFlow28.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_P_Operation_B_setPActivity_ObjectFlow28.SetSource(MultipleDelegation_MultipleConnector_P_P_Operation_B_setPActivity_this_result); + MultipleDelegation_MultipleConnector_P_P_Operation_B_setPActivity_ObjectFlow28.SetTarget(MultipleDelegation_MultipleConnector_P_P_Operation_B_setPActivity_Set_this_p_object); + // LiteralBoolean LiteralBoolean29 + MultipleDelegation_MultipleConnector_P_P_Operation_B_setPActivity_ObjectFlow28_LiteralBoolean29.SetName("LiteralBoolean29"); + MultipleDelegation_MultipleConnector_P_P_Operation_B_setPActivity_ObjectFlow28_LiteralBoolean29.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Operation_B_setPActivity_ObjectFlow28_LiteralBoolean29.SetValue(true); + MultipleDelegation_MultipleConnector_P_P_Operation_B_setPActivity_ObjectFlow28.SetGuard(MultipleDelegation_MultipleConnector_P_P_Operation_B_setPActivity_ObjectFlow28_LiteralBoolean29); + MultipleDelegation_MultipleConnector_P_P_Operation_B_setPActivity.AddEdge(MultipleDelegation_MultipleConnector_P_P_Operation_B_setPActivity_ObjectFlow28); + // ObjectFlow ObjectFlow31 from vParameterNode to value + MultipleDelegation_MultipleConnector_P_P_Operation_B_setPActivity_ObjectFlow31.SetName("ObjectFlow31"); + MultipleDelegation_MultipleConnector_P_P_Operation_B_setPActivity_ObjectFlow31.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_P_Operation_B_setPActivity_ObjectFlow31.SetSource(MultipleDelegation_MultipleConnector_P_P_Operation_B_setPActivity_vParameterNode); + MultipleDelegation_MultipleConnector_P_P_Operation_B_setPActivity_ObjectFlow31.SetTarget(MultipleDelegation_MultipleConnector_P_P_Operation_B_setPActivity_Set_this_p_value); + // LiteralBoolean LiteralBoolean33 + MultipleDelegation_MultipleConnector_P_P_Operation_B_setPActivity_ObjectFlow31_LiteralBoolean33.SetName("LiteralBoolean33"); + MultipleDelegation_MultipleConnector_P_P_Operation_B_setPActivity_ObjectFlow31_LiteralBoolean33.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Operation_B_setPActivity_ObjectFlow31_LiteralBoolean33.SetValue(true); + MultipleDelegation_MultipleConnector_P_P_Operation_B_setPActivity_ObjectFlow31.SetGuard(MultipleDelegation_MultipleConnector_P_P_Operation_B_setPActivity_ObjectFlow31_LiteralBoolean33); + MultipleDelegation_MultipleConnector_P_P_Operation_B_setPActivity.AddEdge(MultipleDelegation_MultipleConnector_P_P_Operation_B_setPActivity_ObjectFlow31); + MultipleDelegation_MultipleConnector_P_P_Operation_B.AddOwnedBehavior(MultipleDelegation_MultipleConnector_P_P_Operation_B_setPActivity); + MultipleDelegation_MultipleConnector_P_P_Operation_B_IRealization.SetName("IRealization"); + MultipleDelegation_MultipleConnector_P_P_Operation_B_IRealization.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Operation_B_IRealization.SetContract(MultipleDelegation_MultipleConnector_P_P_Operation_I); + + MultipleDelegation_MultipleConnector_P_P_Operation_B.AddInterfaceRealization(MultipleDelegation_MultipleConnector_P_P_Operation_B_IRealization); + + // Operation B_B + MultipleDelegation_MultipleConnector_P_P_Operation_B_B_B.SetName("B_B"); + MultipleDelegation_MultipleConnector_P_P_Operation_B_B_B.SetVisibility(VisibilityKind.public_); + // Parameter result + MultipleDelegation_MultipleConnector_P_P_Operation_B_B_B_result.SetName("result"); + MultipleDelegation_MultipleConnector_P_P_Operation_B_B_B_result.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_P_Operation_B_B_B_result.SetType(MultipleDelegation_MultipleConnector_P_P_Operation_B); + MultipleDelegation_MultipleConnector_P_P_Operation_B_B_B_result.SetDirection(ParameterDirectionKind.return_); + MultipleDelegation_MultipleConnector_P_P_Operation_B_B_B.AddOwnedParameter(MultipleDelegation_MultipleConnector_P_P_Operation_B_B_B_result); + MultipleDelegation_MultipleConnector_P_P_Operation_B.AddOwnedOperation(MultipleDelegation_MultipleConnector_P_P_Operation_B_B_B); + // Operation setP_Integer + MultipleDelegation_MultipleConnector_P_P_Operation_B_setP_Integer.SetName("setP_Integer"); + MultipleDelegation_MultipleConnector_P_P_Operation_B_setP_Integer.SetVisibility(VisibilityKind.public_); + // Parameter v + MultipleDelegation_MultipleConnector_P_P_Operation_B_setP_Integer_v.SetName("v"); + MultipleDelegation_MultipleConnector_P_P_Operation_B_setP_Integer_v.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_P_Operation_B_setP_Integer_v.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + MultipleDelegation_MultipleConnector_P_P_Operation_B_setP_Integer.AddOwnedParameter(MultipleDelegation_MultipleConnector_P_P_Operation_B_setP_Integer_v); + MultipleDelegation_MultipleConnector_P_P_Operation_B_setP_Integer.AddMethod(MultipleDelegation_MultipleConnector_P_P_Operation_B_setPActivity); + MultipleDelegation_MultipleConnector_P_P_Operation_B.AddOwnedOperation(MultipleDelegation_MultipleConnector_P_P_Operation_B_setP_Integer); + MultipleDelegation_MultipleConnector_P_P_Operation.AddPackagedElement(MultipleDelegation_MultipleConnector_P_P_Operation_B); + // Class IImpl + MultipleDelegation_MultipleConnector_P_P_Operation_IImpl.SetName("IImpl"); + MultipleDelegation_MultipleConnector_P_P_Operation_IImpl.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Operation_IImpl_IRealization.SetName("IRealization"); + MultipleDelegation_MultipleConnector_P_P_Operation_IImpl_IRealization.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Operation_IImpl_IRealization.SetContract(MultipleDelegation_MultipleConnector_P_P_Operation_I); + + MultipleDelegation_MultipleConnector_P_P_Operation_IImpl.AddInterfaceRealization(MultipleDelegation_MultipleConnector_P_P_Operation_IImpl_IRealization); + + // Operation setP_Integer + MultipleDelegation_MultipleConnector_P_P_Operation_IImpl_setP_Integer.SetName("setP_Integer"); + MultipleDelegation_MultipleConnector_P_P_Operation_IImpl_setP_Integer.SetVisibility(VisibilityKind.public_); + // Parameter v + MultipleDelegation_MultipleConnector_P_P_Operation_IImpl_setP_Integer_v.SetName("v"); + MultipleDelegation_MultipleConnector_P_P_Operation_IImpl_setP_Integer_v.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_P_Operation_IImpl_setP_Integer_v.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + MultipleDelegation_MultipleConnector_P_P_Operation_IImpl_setP_Integer.AddOwnedParameter(MultipleDelegation_MultipleConnector_P_P_Operation_IImpl_setP_Integer_v); + MultipleDelegation_MultipleConnector_P_P_Operation_IImpl.AddOwnedOperation(MultipleDelegation_MultipleConnector_P_P_Operation_IImpl_setP_Integer); + MultipleDelegation_MultipleConnector_P_P_Operation.AddPackagedElement(MultipleDelegation_MultipleConnector_P_P_Operation_IImpl); + // Activity main + MultipleDelegation_MultipleConnector_P_P_Operation_main.SetName("main"); + MultipleDelegation_MultipleConnector_P_P_Operation_main.SetVisibility(VisibilityKind.public_); + // FunctionBehavior testP + MultipleDelegation_MultipleConnector_P_P_Operation_main_testP.SetName("testP"); + MultipleDelegation_MultipleConnector_P_P_Operation_main_testP.SetVisibility(VisibilityKind.public_); + + // Parameter p + MultipleDelegation_MultipleConnector_P_P_Operation_main_testP_p.SetName("p"); + MultipleDelegation_MultipleConnector_P_P_Operation_main_testP_p.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_P_Operation_main_testP_p.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + MultipleDelegation_MultipleConnector_P_P_Operation_main_testP.AddOwnedParameter(MultipleDelegation_MultipleConnector_P_P_Operation_main_testP_p); + MultipleDelegation_MultipleConnector_P_P_Operation_main_testP.AddLanguage("C#"); + MultipleDelegation_MultipleConnector_P_P_Operation_main_testP.AddLanguage("Using"); + MultipleDelegation_MultipleConnector_P_P_Operation_main_testP.AddBody("if(index == 1) { Console.WriteLine(\"Asserting c.b1.p == 4 || c.b2.p == 4 || c.b3.p == 4 || c.b4.p == 4\"); } // Test parameter p int p = ((IntegerValue)inputParameters.ElementAt(0).values.ElementAt(0)).value; Debug.Println(\"[doBody] argument p = \" + p); Console.WriteLine( \"c.b\" + index + \".p == \" + p); success = success || (p == 4); if(index == MAX_INDEX) { Console.Write(\"Operation call delegated: \"); if(success) { Console.ForegroundColor = ConsoleColor.Green; Console.WriteLine(\"Assertion successful.\"); } else { Console.ForegroundColor = ConsoleColor.Red; Console.WriteLine(\"Assertion failed!\"); } Console.ResetColor(); } index++;"); + MultipleDelegation_MultipleConnector_P_P_Operation_main_testP.AddBody("using fuml.semantics.simpleclassifiers; "); + MultipleDelegation_MultipleConnector_P_P_Operation_main.AddOwnedBehavior(MultipleDelegation_MultipleConnector_P_P_Operation_main_testP); + // CallOperationAction Call p.setP() + MultipleDelegation_MultipleConnector_P_P_Operation_main_Call_p_setP_.SetName("Call p.setP()"); + MultipleDelegation_MultipleConnector_P_P_Operation_main_Call_p_setP_.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Operation_main_Call_p_setP_.SetOperation(MultipleDelegation_MultipleConnector_P_P_Operation_I_setP_Integer); + // InputPin target + MultipleDelegation_MultipleConnector_P_P_Operation_main_Call_p_setP__target.SetName("target"); + MultipleDelegation_MultipleConnector_P_P_Operation_main_Call_p_setP__target.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Operation_main_Call_p_setP__target.SetType(MultipleDelegation_MultipleConnector_P_P_Operation_I); + MultipleDelegation_MultipleConnector_P_P_Operation_main_Call_p_setP_.SetTarget(MultipleDelegation_MultipleConnector_P_P_Operation_main_Call_p_setP__target); + // InputPin v + MultipleDelegation_MultipleConnector_P_P_Operation_main_Call_p_setP__v.SetName("v"); + MultipleDelegation_MultipleConnector_P_P_Operation_main_Call_p_setP__v.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Operation_main_Call_p_setP__v.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + MultipleDelegation_MultipleConnector_P_P_Operation_main_Call_p_setP_.AddArgument(MultipleDelegation_MultipleConnector_P_P_Operation_main_Call_p_setP__v); + MultipleDelegation_MultipleConnector_P_P_Operation_main.AddNode(MultipleDelegation_MultipleConnector_P_P_Operation_main_Call_p_setP_); + // ReadStructuralFeatureAction Read c.p + MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_c_p.SetName("Read c.p"); + MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_c_p.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_c_p.SetStructuralFeature(MultipleDelegation_MultipleConnector_P_P_Operation_C_p); + // InputPin object + MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_c_p_object.SetName("object"); + MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_c_p_object.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_c_p_object.SetType(MultipleDelegation_MultipleConnector_P_P_Operation_C); + MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_c_p.SetObject(MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_c_p_object); + // OutputPin result + MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_c_p_result.SetName("result"); + MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_c_p_result.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_c_p_result.SetType(MultipleDelegation_MultipleConnector_P_P_Operation_IImpl); + MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_c_p.SetResult(MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_c_p_result); + MultipleDelegation_MultipleConnector_P_P_Operation_main.AddNode(MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_c_p); + // CallOperationAction C() + MultipleDelegation_MultipleConnector_P_P_Operation_main_C_.SetName("C()"); + MultipleDelegation_MultipleConnector_P_P_Operation_main_C_.SetVisibility(VisibilityKind.public_); + + // OutputPin result + MultipleDelegation_MultipleConnector_P_P_Operation_main_C__result.SetName("result"); + MultipleDelegation_MultipleConnector_P_P_Operation_main_C__result.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Operation_main_C__result.SetType(MultipleDelegation_MultipleConnector_P_P_Operation_C); + MultipleDelegation_MultipleConnector_P_P_Operation_main_C_.AddResult(MultipleDelegation_MultipleConnector_P_P_Operation_main_C__result); + MultipleDelegation_MultipleConnector_P_P_Operation_main_C_.SetOperation(MultipleDelegation_MultipleConnector_P_P_Operation_C_C_C); + // InputPin target + MultipleDelegation_MultipleConnector_P_P_Operation_main_C__target.SetName("target"); + MultipleDelegation_MultipleConnector_P_P_Operation_main_C__target.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Operation_main_C__target.SetType(MultipleDelegation_MultipleConnector_P_P_Operation_C); + MultipleDelegation_MultipleConnector_P_P_Operation_main_C_.SetTarget(MultipleDelegation_MultipleConnector_P_P_Operation_main_C__target); + MultipleDelegation_MultipleConnector_P_P_Operation_main.AddNode(MultipleDelegation_MultipleConnector_P_P_Operation_main_C_); + // ReadStructuralFeatureAction Read c.b1 + MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_c_b1.SetName("Read c.b1"); + MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_c_b1.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_c_b1.SetStructuralFeature(MultipleDelegation_MultipleConnector_P_P_Operation_C_b1); + // InputPin object + MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_c_b1_object.SetName("object"); + MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_c_b1_object.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_c_b1_object.SetType(MultipleDelegation_MultipleConnector_P_P_Operation_C); + MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_c_b1.SetObject(MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_c_b1_object); + // OutputPin result + MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_c_b1_result.SetName("result"); + MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_c_b1_result.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_c_b1_result.SetType(MultipleDelegation_MultipleConnector_P_P_Operation_B); + MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_c_b1.SetResult(MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_c_b1_result); + MultipleDelegation_MultipleConnector_P_P_Operation_main.AddNode(MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_c_b1); + // ForkNode Fork C + MultipleDelegation_MultipleConnector_P_P_Operation_main_Fork_C.SetName("Fork C"); + MultipleDelegation_MultipleConnector_P_P_Operation_main_Fork_C.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Operation_main.AddNode(MultipleDelegation_MultipleConnector_P_P_Operation_main_Fork_C); + // ReadStructuralFeatureAction Read b.p + MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_b_p.SetName("Read b.p"); + MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_b_p.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_b_p.SetStructuralFeature(MultipleDelegation_MultipleConnector_P_P_Operation_B_p); + // InputPin object + MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_b_p_object.SetName("object"); + MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_b_p_object.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_b_p_object.SetType(MultipleDelegation_MultipleConnector_P_P_Operation_B); + MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_b_p.SetObject(MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_b_p_object); + // OutputPin result + MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_b_p_result.SetName("result"); + MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_b_p_result.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_b_p_result.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_b_p.SetResult(MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_b_p_result); + MultipleDelegation_MultipleConnector_P_P_Operation_main.AddNode(MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_b_p); + // ReadStructuralFeatureAction Read c.b4 + MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_c_b4.SetName("Read c.b4"); + MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_c_b4.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_c_b4.SetStructuralFeature(MultipleDelegation_MultipleConnector_P_P_Operation_C_b4); + // InputPin object + MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_c_b4_object.SetName("object"); + MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_c_b4_object.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_c_b4_object.SetType(MultipleDelegation_MultipleConnector_P_P_Operation_C); + MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_c_b4.SetObject(MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_c_b4_object); + // OutputPin result + MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_c_b4_result.SetName("result"); + MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_c_b4_result.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_c_b4_result.SetType(MultipleDelegation_MultipleConnector_P_P_Operation_B); + MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_c_b4.SetResult(MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_c_b4_result); + MultipleDelegation_MultipleConnector_P_P_Operation_main.AddNode(MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_c_b4); + // CallBehaviorAction Call testP + MultipleDelegation_MultipleConnector_P_P_Operation_main_Call_testP.SetName("Call testP"); + MultipleDelegation_MultipleConnector_P_P_Operation_main_Call_testP.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Operation_main_Call_testP.SetBehavior(MultipleDelegation_MultipleConnector_P_P_Operation_main_testP); + // InputPin p + MultipleDelegation_MultipleConnector_P_P_Operation_main_Call_testP_p.SetName("p"); + MultipleDelegation_MultipleConnector_P_P_Operation_main_Call_testP_p.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Operation_main_Call_testP_p.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + MultipleDelegation_MultipleConnector_P_P_Operation_main_Call_testP.AddArgument(MultipleDelegation_MultipleConnector_P_P_Operation_main_Call_testP_p); + MultipleDelegation_MultipleConnector_P_P_Operation_main.AddNode(MultipleDelegation_MultipleConnector_P_P_Operation_main_Call_testP); + // ReadStructuralFeatureAction Read c.b3 + MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_c_b3.SetName("Read c.b3"); + MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_c_b3.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_c_b3.SetStructuralFeature(MultipleDelegation_MultipleConnector_P_P_Operation_C_b3); + // InputPin object + MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_c_b3_object.SetName("object"); + MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_c_b3_object.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_c_b3_object.SetType(MultipleDelegation_MultipleConnector_P_P_Operation_C); + MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_c_b3.SetObject(MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_c_b3_object); + // OutputPin result + MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_c_b3_result.SetName("result"); + MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_c_b3_result.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_c_b3_result.SetType(MultipleDelegation_MultipleConnector_P_P_Operation_B); + MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_c_b3.SetResult(MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_c_b3_result); + MultipleDelegation_MultipleConnector_P_P_Operation_main.AddNode(MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_c_b3); + // ValueSpecificationAction Value(4) + MultipleDelegation_MultipleConnector_P_P_Operation_main_Value_4.SetName("Value(4)"); + MultipleDelegation_MultipleConnector_P_P_Operation_main_Value_4.SetVisibility(VisibilityKind.public_); + // LiteralInteger LiteralInteger109 + MultipleDelegation_MultipleConnector_P_P_Operation_main_Value_4_LiteralInteger109.SetName("LiteralInteger109"); + MultipleDelegation_MultipleConnector_P_P_Operation_main_Value_4_LiteralInteger109.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Operation_main_Value_4_LiteralInteger109.SetValue(4); + MultipleDelegation_MultipleConnector_P_P_Operation_main_Value_4.SetValue(MultipleDelegation_MultipleConnector_P_P_Operation_main_Value_4_LiteralInteger109); + // OutputPin result + MultipleDelegation_MultipleConnector_P_P_Operation_main_Value_4_result.SetName("result"); + MultipleDelegation_MultipleConnector_P_P_Operation_main_Value_4_result.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Operation_main_Value_4_result.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + MultipleDelegation_MultipleConnector_P_P_Operation_main_Value_4.SetResult(MultipleDelegation_MultipleConnector_P_P_Operation_main_Value_4_result); + MultipleDelegation_MultipleConnector_P_P_Operation_main.AddNode(MultipleDelegation_MultipleConnector_P_P_Operation_main_Value_4); + // ReadStructuralFeatureAction Read c.b2 + MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_c_b2.SetName("Read c.b2"); + MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_c_b2.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_c_b2.SetStructuralFeature(MultipleDelegation_MultipleConnector_P_P_Operation_C_b2); + // InputPin object + MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_c_b2_object.SetName("object"); + MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_c_b2_object.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_c_b2_object.SetType(MultipleDelegation_MultipleConnector_P_P_Operation_C); + MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_c_b2.SetObject(MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_c_b2_object); + // OutputPin result + MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_c_b2_result.SetName("result"); + MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_c_b2_result.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_c_b2_result.SetType(MultipleDelegation_MultipleConnector_P_P_Operation_B); + MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_c_b2.SetResult(MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_c_b2_result); + MultipleDelegation_MultipleConnector_P_P_Operation_main.AddNode(MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_c_b2); + // CreateObjectAction Create C + MultipleDelegation_MultipleConnector_P_P_Operation_main_Create_C.SetName("Create C"); + MultipleDelegation_MultipleConnector_P_P_Operation_main_Create_C.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Operation_main_Create_C.SetClassifier(MultipleDelegation_MultipleConnector_P_P_Operation_C); + // OutputPin result + MultipleDelegation_MultipleConnector_P_P_Operation_main_Create_C_result.SetName("result"); + MultipleDelegation_MultipleConnector_P_P_Operation_main_Create_C_result.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Operation_main_Create_C_result.SetType(MultipleDelegation_MultipleConnector_P_P_Operation_C); + MultipleDelegation_MultipleConnector_P_P_Operation_main_Create_C.SetResult(MultipleDelegation_MultipleConnector_P_P_Operation_main_Create_C_result); + MultipleDelegation_MultipleConnector_P_P_Operation_main.AddNode(MultipleDelegation_MultipleConnector_P_P_Operation_main_Create_C); + // ObjectFlow ObjectFlow63 from result to p + MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow63.SetName("ObjectFlow63"); + MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow63.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow63.SetSource(MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_b_p_result); + MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow63.SetTarget(MultipleDelegation_MultipleConnector_P_P_Operation_main_Call_testP_p); + // LiteralBoolean LiteralBoolean65 + MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow63_LiteralBoolean65.SetName("LiteralBoolean65"); + MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow63_LiteralBoolean65.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow63_LiteralBoolean65.SetValue(true); + MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow63.SetGuard(MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow63_LiteralBoolean65); + MultipleDelegation_MultipleConnector_P_P_Operation_main.AddEdge(MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow63); + // ObjectFlow ObjectFlow71 from result to target + MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow71.SetName("ObjectFlow71"); + MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow71.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow71.SetSource(MultipleDelegation_MultipleConnector_P_P_Operation_main_Create_C_result); + MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow71.SetTarget(MultipleDelegation_MultipleConnector_P_P_Operation_main_C__target); + // LiteralBoolean LiteralBoolean73 + MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow71_LiteralBoolean73.SetName("LiteralBoolean73"); + MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow71_LiteralBoolean73.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow71_LiteralBoolean73.SetValue(true); + MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow71.SetGuard(MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow71_LiteralBoolean73); + MultipleDelegation_MultipleConnector_P_P_Operation_main.AddEdge(MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow71); + // ObjectFlow ObjectFlow74 from result to Fork C + MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow74.SetName("ObjectFlow74"); + MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow74.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow74.SetSource(MultipleDelegation_MultipleConnector_P_P_Operation_main_C__result); + MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow74.SetTarget(MultipleDelegation_MultipleConnector_P_P_Operation_main_Fork_C); + // LiteralBoolean LiteralBoolean76 + MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow74_LiteralBoolean76.SetName("LiteralBoolean76"); + MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow74_LiteralBoolean76.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow74_LiteralBoolean76.SetValue(true); + MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow74.SetGuard(MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow74_LiteralBoolean76); + MultipleDelegation_MultipleConnector_P_P_Operation_main.AddEdge(MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow74); + // ControlFlow ControlFlow36 from Read c.b1 to Read c.b2 + MultipleDelegation_MultipleConnector_P_P_Operation_main_ControlFlow36.SetName("ControlFlow36"); + MultipleDelegation_MultipleConnector_P_P_Operation_main_ControlFlow36.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_P_Operation_main_ControlFlow36.SetSource(MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_c_b1); + MultipleDelegation_MultipleConnector_P_P_Operation_main_ControlFlow36.SetTarget(MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_c_b2); + MultipleDelegation_MultipleConnector_P_P_Operation_main.AddEdge(MultipleDelegation_MultipleConnector_P_P_Operation_main_ControlFlow36); + // ControlFlow ControlFlow77 from Call p.setP() to Read c.b1 + MultipleDelegation_MultipleConnector_P_P_Operation_main_ControlFlow77.SetName("ControlFlow77"); + MultipleDelegation_MultipleConnector_P_P_Operation_main_ControlFlow77.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_P_Operation_main_ControlFlow77.SetSource(MultipleDelegation_MultipleConnector_P_P_Operation_main_Call_p_setP_); + MultipleDelegation_MultipleConnector_P_P_Operation_main_ControlFlow77.SetTarget(MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_c_b1); + MultipleDelegation_MultipleConnector_P_P_Operation_main.AddEdge(MultipleDelegation_MultipleConnector_P_P_Operation_main_ControlFlow77); + // ObjectFlow ObjectFlow78 from Fork C to object + MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow78.SetName("ObjectFlow78"); + MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow78.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow78.SetSource(MultipleDelegation_MultipleConnector_P_P_Operation_main_Fork_C); + MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow78.SetTarget(MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_c_b3_object); + // LiteralBoolean LiteralBoolean80 + MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow78_LiteralBoolean80.SetName("LiteralBoolean80"); + MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow78_LiteralBoolean80.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow78_LiteralBoolean80.SetValue(true); + MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow78.SetGuard(MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow78_LiteralBoolean80); + MultipleDelegation_MultipleConnector_P_P_Operation_main.AddEdge(MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow78); + // ObjectFlow ObjectFlow41 from Fork C to object + MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow41.SetName("ObjectFlow41"); + MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow41.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow41.SetSource(MultipleDelegation_MultipleConnector_P_P_Operation_main_Fork_C); + MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow41.SetTarget(MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_c_b4_object); + // LiteralBoolean LiteralBoolean43 + MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow41_LiteralBoolean43.SetName("LiteralBoolean43"); + MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow41_LiteralBoolean43.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow41_LiteralBoolean43.SetValue(true); + MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow41.SetGuard(MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow41_LiteralBoolean43); + MultipleDelegation_MultipleConnector_P_P_Operation_main.AddEdge(MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow41); + // ObjectFlow ObjectFlow86 from Fork C to object + MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow86.SetName("ObjectFlow86"); + MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow86.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow86.SetSource(MultipleDelegation_MultipleConnector_P_P_Operation_main_Fork_C); + MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow86.SetTarget(MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_c_p_object); + // LiteralBoolean LiteralBoolean88 + MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow86_LiteralBoolean88.SetName("LiteralBoolean88"); + MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow86_LiteralBoolean88.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow86_LiteralBoolean88.SetValue(true); + MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow86.SetGuard(MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow86_LiteralBoolean88); + MultipleDelegation_MultipleConnector_P_P_Operation_main.AddEdge(MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow86); + // ObjectFlow ObjectFlow46 from result to v + MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow46.SetName("ObjectFlow46"); + MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow46.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow46.SetSource(MultipleDelegation_MultipleConnector_P_P_Operation_main_Value_4_result); + MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow46.SetTarget(MultipleDelegation_MultipleConnector_P_P_Operation_main_Call_p_setP__v); + // LiteralBoolean LiteralBoolean48 + MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow46_LiteralBoolean48.SetName("LiteralBoolean48"); + MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow46_LiteralBoolean48.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow46_LiteralBoolean48.SetValue(true); + MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow46.SetGuard(MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow46_LiteralBoolean48); + MultipleDelegation_MultipleConnector_P_P_Operation_main.AddEdge(MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow46); + // ControlFlow ControlFlow53 from Read c.b2 to Read c.b3 + MultipleDelegation_MultipleConnector_P_P_Operation_main_ControlFlow53.SetName("ControlFlow53"); + MultipleDelegation_MultipleConnector_P_P_Operation_main_ControlFlow53.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_P_Operation_main_ControlFlow53.SetSource(MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_c_b2); + MultipleDelegation_MultipleConnector_P_P_Operation_main_ControlFlow53.SetTarget(MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_c_b3); + MultipleDelegation_MultipleConnector_P_P_Operation_main.AddEdge(MultipleDelegation_MultipleConnector_P_P_Operation_main_ControlFlow53); + // ObjectFlow ObjectFlow89 from result to object + MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow89.SetName("ObjectFlow89"); + MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow89.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow89.SetSource(MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_c_b1_result); + MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow89.SetTarget(MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_b_p_object); + // LiteralBoolean LiteralBoolean91 + MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow89_LiteralBoolean91.SetName("LiteralBoolean91"); + MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow89_LiteralBoolean91.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow89_LiteralBoolean91.SetValue(true); + MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow89.SetGuard(MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow89_LiteralBoolean91); + MultipleDelegation_MultipleConnector_P_P_Operation_main.AddEdge(MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow89); + // ObjectFlow ObjectFlow92 from result to object + MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow92.SetName("ObjectFlow92"); + MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow92.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow92.SetSource(MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_c_b2_result); + MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow92.SetTarget(MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_b_p_object); + // LiteralBoolean LiteralBoolean93 + MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow92_LiteralBoolean93.SetName("LiteralBoolean93"); + MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow92_LiteralBoolean93.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow92_LiteralBoolean93.SetValue(true); + MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow92.SetGuard(MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow92_LiteralBoolean93); + MultipleDelegation_MultipleConnector_P_P_Operation_main.AddEdge(MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow92); + // ObjectFlow ObjectFlow54 from Fork C to object + MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow54.SetName("ObjectFlow54"); + MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow54.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow54.SetSource(MultipleDelegation_MultipleConnector_P_P_Operation_main_Fork_C); + MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow54.SetTarget(MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_c_b2_object); + // LiteralBoolean LiteralBoolean56 + MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow54_LiteralBoolean56.SetName("LiteralBoolean56"); + MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow54_LiteralBoolean56.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow54_LiteralBoolean56.SetValue(true); + MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow54.SetGuard(MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow54_LiteralBoolean56); + MultipleDelegation_MultipleConnector_P_P_Operation_main.AddEdge(MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow54); + // ObjectFlow ObjectFlow106 from result to object + MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow106.SetName("ObjectFlow106"); + MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow106.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow106.SetSource(MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_c_b3_result); + MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow106.SetTarget(MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_b_p_object); + // LiteralBoolean LiteralBoolean108 + MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow106_LiteralBoolean108.SetName("LiteralBoolean108"); + MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow106_LiteralBoolean108.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow106_LiteralBoolean108.SetValue(true); + MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow106.SetGuard(MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow106_LiteralBoolean108); + MultipleDelegation_MultipleConnector_P_P_Operation_main.AddEdge(MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow106); + // ObjectFlow ObjectFlow57 from result to target + MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow57.SetName("ObjectFlow57"); + MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow57.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow57.SetSource(MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_c_p_result); + MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow57.SetTarget(MultipleDelegation_MultipleConnector_P_P_Operation_main_Call_p_setP__target); + // LiteralBoolean LiteralBoolean58 + MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow57_LiteralBoolean58.SetName("LiteralBoolean58"); + MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow57_LiteralBoolean58.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow57_LiteralBoolean58.SetValue(true); + MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow57.SetGuard(MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow57_LiteralBoolean58); + MultipleDelegation_MultipleConnector_P_P_Operation_main.AddEdge(MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow57); + // ObjectFlow ObjectFlow112 from result to object + MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow112.SetName("ObjectFlow112"); + MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow112.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow112.SetSource(MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_c_b4_result); + MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow112.SetTarget(MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_b_p_object); + // LiteralBoolean LiteralBoolean113 + MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow112_LiteralBoolean113.SetName("LiteralBoolean113"); + MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow112_LiteralBoolean113.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow112_LiteralBoolean113.SetValue(true); + MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow112.SetGuard(MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow112_LiteralBoolean113); + MultipleDelegation_MultipleConnector_P_P_Operation_main.AddEdge(MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow112); + // ControlFlow ControlFlow119 from Read c.b3 to Read c.b4 + MultipleDelegation_MultipleConnector_P_P_Operation_main_ControlFlow119.SetName("ControlFlow119"); + MultipleDelegation_MultipleConnector_P_P_Operation_main_ControlFlow119.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_P_Operation_main_ControlFlow119.SetSource(MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_c_b3); + MultipleDelegation_MultipleConnector_P_P_Operation_main_ControlFlow119.SetTarget(MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_c_b4); + MultipleDelegation_MultipleConnector_P_P_Operation_main.AddEdge(MultipleDelegation_MultipleConnector_P_P_Operation_main_ControlFlow119); + // ObjectFlow ObjectFlow60 from Fork C to object + MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow60.SetName("ObjectFlow60"); + MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow60.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow60.SetSource(MultipleDelegation_MultipleConnector_P_P_Operation_main_Fork_C); + MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow60.SetTarget(MultipleDelegation_MultipleConnector_P_P_Operation_main_Read_c_b1_object); + // LiteralBoolean LiteralBoolean61 + MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow60_LiteralBoolean61.SetName("LiteralBoolean61"); + MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow60_LiteralBoolean61.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow60_LiteralBoolean61.SetValue(true); + MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow60.SetGuard(MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow60_LiteralBoolean61); + MultipleDelegation_MultipleConnector_P_P_Operation_main.AddEdge(MultipleDelegation_MultipleConnector_P_P_Operation_main_ObjectFlow60); + MultipleDelegation_MultipleConnector_P_P_Operation.AddPackagedElement(MultipleDelegation_MultipleConnector_P_P_Operation_main); + } + + /* Start of user code : User-defined members + * This section may be used for user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } // MultipleDelegation_MultipleConnector_P_P_OperationModel +} diff --git a/fUML-CSharp/tests/pscs-Tests/02_Communication/12_MultipleDelegation_MultipleConnector_P_P_Operation/src/testPExecution.cs b/fUML-CSharp/tests/pscs-Tests/02_Communication/12_MultipleDelegation_MultipleConnector_P_P_Operation/src/testPExecution.cs new file mode 100644 index 0000000..ac248fe --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/02_Communication/12_MultipleDelegation_MultipleConnector_P_P_Operation/src/testPExecution.cs @@ -0,0 +1,99 @@ +/* + * testPExecution.cs + * + * Auto-generated file + */ + +using fuml.semantics.commonbehavior; +using fuml; +using fuml.semantics.simpleclassifiers; +using fuml.semantics.values; + +/* Start of user code : User-defined includes and forward declarations + * This section may be used for includes and forward declarations. + * It will not be overwritten by future generation processes. + */ + +/* + * End of user code + */ + +namespace MultipleDelegation_MultipleConnector_P_P_Operation +{ + public class testPExecution : OpaqueBehaviorExecution + { + public testPExecution() + { + types.Add(MultipleDelegation_MultipleConnector_P_P_OperationModel.Instance().MultipleDelegation_MultipleConnector_P_P_Operation_main_testP); + /* Start of user code : Additional opaque behavior execution initializations + * This section may be used to do any additional opaque behavior execution initialization, + * for example initializing user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } + + public override void DoBody(List inputParameters, List outputParameters) + { + if(index == 1) + { + Console.WriteLine("Asserting c.b1.p == 4 || c.b2.p == 4 || c.b3.p == 4 || c.b4.p == 4"); + } + + // For some reason, during the first execution of the expansion region, its body is actually executed twice. + // Because of that, the body is actually executaed 5 times in total. This if-statement covers that up until solved. + if (index <= MAX_INDEX) + { + + // Test parameter p + int p = ((IntegerValue)inputParameters.ElementAt(0).values.ElementAt(0)).value; + Debug.Println("[doBody] argument p = " + p); + + Console.WriteLine( "c.b" + index + ".p == " + p); + success = success || (p == 4); + + if (index == MAX_INDEX) + { + + Console.Write("Operation call delegated: "); + + if (success) + { + Console.ForegroundColor = ConsoleColor.Green; + Console.WriteLine("Assertion successful."); + } + else + { + Console.ForegroundColor = ConsoleColor.Red; + Console.WriteLine("Assertion failed!"); + } + + Console.ResetColor(); + } + } + + index++; + } + + protected override Value New_() + { + return new testPExecution(); + } + + /* Start of user code : User-defined members + * This section may be used for user-defined members. + * It will not be overwritten by future generation processes. + */ + + private static int index = 1; + private const int MAX_INDEX = 4; + private static bool success = false; + + /* + * End of user code + */ + } // testPExecution +} diff --git a/fUML-CSharp/tests/pscs-Tests/02_Communication/13_MultipleDelegation_MultipleConnector_P_P_Signal/.gitignore b/fUML-CSharp/tests/pscs-Tests/02_Communication/13_MultipleDelegation_MultipleConnector_P_P_Signal/.gitignore new file mode 100644 index 0000000..1736844 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/02_Communication/13_MultipleDelegation_MultipleConnector_P_P_Signal/.gitignore @@ -0,0 +1,3 @@ +/.vs/ +/bin/ +/obj/ diff --git a/fUML-CSharp/tests/pscs-Tests/02_Communication/13_MultipleDelegation_MultipleConnector_P_P_Signal/MultipleDelegation_MultipleConnector_P_P_Signal.csproj b/fUML-CSharp/tests/pscs-Tests/02_Communication/13_MultipleDelegation_MultipleConnector_P_P_Signal/MultipleDelegation_MultipleConnector_P_P_Signal.csproj new file mode 100644 index 0000000..0d71f22 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/02_Communication/13_MultipleDelegation_MultipleConnector_P_P_Signal/MultipleDelegation_MultipleConnector_P_P_Signal.csproj @@ -0,0 +1,50 @@ + + + + Exe + net6.0 + enable + enable + + + + MultipleDelegation_MultipleConnector_P_P_Signal.Debug + + + MultipleDelegation_MultipleConnector_P_P_Signal.Release + + + + + ..\..\..\..\uml\bin\Debug\net6.0\uml.Debug.dll + + + + + ..\..\..\..\uml\bin\Release\net6.0\uml.Release.dll + + + + + + ..\..\..\..\fuml\bin\Debug\net6.0\fuml.Debug.dll + + + + + ..\..\..\..\fuml\bin\Release\net6.0\fuml.Release.dll + + + + + + ..\..\..\..\pscs\bin\Debug\net6.0\pscs.Debug.dll + + + + + ..\..\..\..\pscs\bin\Release\net6.0\pscs.Release.dll + + + + diff --git a/fUML-CSharp/tests/pscs-Tests/02_Communication/13_MultipleDelegation_MultipleConnector_P_P_Signal/MultipleDelegation_MultipleConnector_P_P_Signal.sln b/fUML-CSharp/tests/pscs-Tests/02_Communication/13_MultipleDelegation_MultipleConnector_P_P_Signal/MultipleDelegation_MultipleConnector_P_P_Signal.sln new file mode 100644 index 0000000..3e6d204 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/02_Communication/13_MultipleDelegation_MultipleConnector_P_P_Signal/MultipleDelegation_MultipleConnector_P_P_Signal.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.32112.339 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MultipleDelegation_MultipleConnector_P_P_Signal", "MultipleDelegation_MultipleConnector_P_P_Signal.csproj", "{6E5F3C97-0A36-4AC3-87A3-7771C5C2DF05}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {6E5F3C97-0A36-4AC3-87A3-7771C5C2DF05}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {6E5F3C97-0A36-4AC3-87A3-7771C5C2DF05}.Debug|Any CPU.Build.0 = Debug|Any CPU + {6E5F3C97-0A36-4AC3-87A3-7771C5C2DF05}.Release|Any CPU.ActiveCfg = Release|Any CPU + {6E5F3C97-0A36-4AC3-87A3-7771C5C2DF05}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {B86FB3DF-D0B8-4FA3-B403-0A63B9EFE125} + EndGlobalSection +EndGlobal diff --git a/fUML-CSharp/tests/pscs-Tests/02_Communication/13_MultipleDelegation_MultipleConnector_P_P_Signal/model/MultipleDelegation_MultipleConnector_P_P_Signal.di b/fUML-CSharp/tests/pscs-Tests/02_Communication/13_MultipleDelegation_MultipleConnector_P_P_Signal/model/MultipleDelegation_MultipleConnector_P_P_Signal.di new file mode 100644 index 0000000..8c549ee --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/02_Communication/13_MultipleDelegation_MultipleConnector_P_P_Signal/model/MultipleDelegation_MultipleConnector_P_P_Signal.di @@ -0,0 +1,2 @@ + + diff --git a/fUML-CSharp/tests/pscs-Tests/02_Communication/13_MultipleDelegation_MultipleConnector_P_P_Signal/model/MultipleDelegation_MultipleConnector_P_P_Signal.notation b/fUML-CSharp/tests/pscs-Tests/02_Communication/13_MultipleDelegation_MultipleConnector_P_P_Signal/model/MultipleDelegation_MultipleConnector_P_P_Signal.notation new file mode 100644 index 0000000..01c9bdf --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/02_Communication/13_MultipleDelegation_MultipleConnector_P_P_Signal/model/MultipleDelegation_MultipleConnector_P_P_Signal.notation @@ -0,0 +1,2219 @@ + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/fUML-CSharp/tests/pscs-Tests/02_Communication/13_MultipleDelegation_MultipleConnector_P_P_Signal/model/MultipleDelegation_MultipleConnector_P_P_Signal.uml b/fUML-CSharp/tests/pscs-Tests/02_Communication/13_MultipleDelegation_MultipleConnector_P_P_Signal/model/MultipleDelegation_MultipleConnector_P_P_Signal.uml new file mode 100644 index 0000000..327435b --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/02_Communication/13_MultipleDelegation_MultipleConnector_P_P_Signal/model/MultipleDelegation_MultipleConnector_P_P_Signal.uml @@ -0,0 +1,552 @@ + + + + + This test case addresses forwarding of a signal through multiple delegation links, each link corresponding to a particular +connector, expressed between a port and a part. + + + Passing: true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + C# + Using + if(index == 1) + { + Console.WriteLine("Asserting a.b1.p == 4 && a.b2.p == 4 && a.b3.p == 4 && a.b4.p == 4"); + } + + // For some reason, during the first execution of the expansion region, its body is actually executed twice. + // Because of that, the body is actually executaed 5 times in total. This if-statement covers that up until solved. + if(index <= MAX_INDEX) + { + + // Test parameter p + int p = ((IntegerValue)inputParameters.ElementAt(0).values.ElementAt(0)).value; + Debug.Println("[doBody] argument p = " + p); + + Console.WriteLine( "a.b" + index + ".p == " + p); + success = success && (p == 4); + + if(index == MAX_INDEX) + { + + Console.Write("Signal delegated on all links (shall be true for default strategy): "); + + if(success) + { + Console.ForegroundColor = ConsoleColor.Green; + Console.WriteLine("Assertion successful."); + } + else + { + Console.ForegroundColor = ConsoleColor.Red; + Console.WriteLine("Assertion failed!"); + } + + Console.ResetColor(); + } + } + + index++; + using fuml.semantics.simpleclassifiers; + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/fUML-CSharp/tests/pscs-Tests/02_Communication/13_MultipleDelegation_MultipleConnector_P_P_Signal/src/MultipleDelegation_MultipleConnector_P_P_Signal.cs b/fUML-CSharp/tests/pscs-Tests/02_Communication/13_MultipleDelegation_MultipleConnector_P_P_Signal/src/MultipleDelegation_MultipleConnector_P_P_Signal.cs new file mode 100644 index 0000000..e33bfad --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/02_Communication/13_MultipleDelegation_MultipleConnector_P_P_Signal/src/MultipleDelegation_MultipleConnector_P_P_Signal.cs @@ -0,0 +1,31 @@ +namespace MultipleDelegation_MultipleConnector_P_P_Signal +{ + internal class MultipleDelegation_MultipleConnector_P_P_Signal + { + static void PrintUsage() + { + Console.WriteLine( + "=============================================================================================\n" + + "USAGE: [ <...>]\n" + + "=============================================================================================\n" + ); + } + + static int Main(string[] args) + { + if(args.Length == 0) + { + Console.WriteLine("[ERROR] Must declare at least one behavior name.\n"); + PrintUsage(); + return -1; + } + + foreach (string arg in args) + { + MultipleDelegation_MultipleConnector_P_P_SignalEnvironment.Instance().Execute(arg); + } + + return 0; + } + } +} diff --git a/fUML-CSharp/tests/pscs-Tests/02_Communication/13_MultipleDelegation_MultipleConnector_P_P_Signal/src/MultipleDelegation_MultipleConnector_P_P_SignalEnvironment.cs b/fUML-CSharp/tests/pscs-Tests/02_Communication/13_MultipleDelegation_MultipleConnector_P_P_Signal/src/MultipleDelegation_MultipleConnector_P_P_SignalEnvironment.cs new file mode 100644 index 0000000..292a3c0 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/02_Communication/13_MultipleDelegation_MultipleConnector_P_P_Signal/src/MultipleDelegation_MultipleConnector_P_P_SignalEnvironment.cs @@ -0,0 +1,93 @@ +/* + * MultipleDelegation_MultipleConnector_P_P_SignalEnvironment.cs + * + * Auto-generated file + */ + +/* Start of user code : User-defined using directives + * This section may be used for using directives. + * It will not be overwritten by future generation processes. + */ + +/* + * End of user code + */ + +namespace MultipleDelegation_MultipleConnector_P_P_Signal +{ + public class MultipleDelegation_MultipleConnector_P_P_SignalEnvironment : pscs.environment.Environment + { + private static MultipleDelegation_MultipleConnector_P_P_SignalEnvironment? instance; + + public static MultipleDelegation_MultipleConnector_P_P_SignalEnvironment Instance() + { + if(instance is null) + { + instance = new(); + instance.inMemoryModel = MultipleDelegation_MultipleConnector_P_P_SignalModel.Instance(); + } + + return instance; + } + + public MultipleDelegation_MultipleConnector_P_P_SignalEnvironment() + { + /* + * Create custom opaque behavior execution instances and add them to the execution environment. + */ + AddPrimitiveBehaviorPrototype(new testPExecution()); + + /* Start of user code : Additional environment initializations + * This section may be used to do any additional environment initialization, + * for example initializing user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } + + public override void Execute(string behaviorName) + { + /* Start of user code : Context and inputs initializations + * This section may be used to initialize the execution context + * as well as input parameter values if required. + * It will not be overwritten by future generation processes. + */ + + //context = ...; + //inputs = ...; + + /* + * End of user code + */ + + /* + * Start execution via base class call + */ + base.Execute(behaviorName); + + /* Start of user code : Outputs evaluation + * This section may be used to evaluate output parameter values if required. + * It will not be overwritten by future generation processes. + */ + + //List theOutputs = outputs; + //... + + /* + * End of user code + */ + } + + /* Start of user code : User-defined members + * This section may be used for user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } // MultipleDelegation_MultipleConnector_P_P_SignalEnvironment +} diff --git a/fUML-CSharp/tests/pscs-Tests/02_Communication/13_MultipleDelegation_MultipleConnector_P_P_Signal/src/MultipleDelegation_MultipleConnector_P_P_SignalModel.cs b/fUML-CSharp/tests/pscs-Tests/02_Communication/13_MultipleDelegation_MultipleConnector_P_P_Signal/src/MultipleDelegation_MultipleConnector_P_P_SignalModel.cs new file mode 100644 index 0000000..c847fe9 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/02_Communication/13_MultipleDelegation_MultipleConnector_P_P_Signal/src/MultipleDelegation_MultipleConnector_P_P_SignalModel.cs @@ -0,0 +1,1894 @@ +/* + * MultipleDelegation_MultipleConnector_P_P_SignalModel.cs + * + * Auto-generated file + */ + +using uml.actions; +using uml.packages; +using uml.structuredclassifiers; +using fuml.primitivetypes; +using uml.classification; +using fuml.library; +using uml.commonbehavior; +using uml.simpleclassifiers; +using uml.commonstructure; +using uml.values; +using uml.activities; +using uml.environment; + + +/* Start of user code : User-defined includes and forward declarations + * This section may be used for includes and forward declarations. + * It will not be overwritten by future generation processes. + */ + +/* + * End of user code + */ + +namespace MultipleDelegation_MultipleConnector_P_P_Signal +{ + public class MultipleDelegation_MultipleConnector_P_P_SignalModel : InMemoryModel + { + private static MultipleDelegation_MultipleConnector_P_P_SignalModel? instance; + + /* + * Model MultipleDelegation_MultipleConnector_P_P_Signal + */ + public Package MultipleDelegation_MultipleConnector_P_P_Signal = new(); + public SignalEvent MultipleDelegation_MultipleConnector_P_P_Signal_StartEvent = new(); + public SignalEvent MultipleDelegation_MultipleConnector_P_P_Signal_ContinueEvent = new(); + public SignalEvent MultipleDelegation_MultipleConnector_P_P_Signal_SEvent = new(); + public Class_ MultipleDelegation_MultipleConnector_P_P_Signal_Tester = new(); + public Generalization MultipleDelegation_MultipleConnector_P_P_Signal_Tester_Generalization0 = new(); + public Activity MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity = new(); + public ObjectFlow MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow1 = new(); + public LiteralBoolean MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow1_LiteralBoolean2 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow1_LiteralInteger3 = new(); + public OpaqueBehavior MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_testP = new(); + public Parameter MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_testP_p = new(); + public ReadStructuralFeatureAction MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_a_b2 = new(); + public InputPin MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_a_b2_object = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_a_b2_object_LiteralUnlimitedNatural4 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_a_b2_object_LiteralInteger5 = new(); + public OutputPin MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_a_b2_result = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_a_b2_result_LiteralUnlimitedNatural6 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_a_b2_result_LiteralInteger7 = new(); + public ObjectFlow MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow8 = new(); + public LiteralBoolean MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow8_LiteralBoolean9 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow8_LiteralInteger10 = new(); + public ReadStructuralFeatureAction MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_b_p = new(); + public InputPin MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_b_p_object = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_b_p_object_LiteralInteger11 = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_b_p_object_LiteralUnlimitedNatural12 = new(); + public OutputPin MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_b_p_result = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_b_p_result_LiteralInteger13 = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_b_p_result_LiteralUnlimitedNatural14 = new(); + public ControlFlow MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ControlFlow15 = new(); + public ControlFlow MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ControlFlow16 = new(); + public CallBehaviorAction MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Call_testP = new(); + public InputPin MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Call_testP_p = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Call_testP_p_LiteralUnlimitedNatural17 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Call_testP_p_LiteralInteger18 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Call_testP_p_LiteralInteger19 = new(); + public ObjectFlow MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow20 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow20_LiteralInteger21 = new(); + public LiteralBoolean MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow20_LiteralBoolean22 = new(); + public ObjectFlow MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow23 = new(); + public LiteralBoolean MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow23_LiteralBoolean24 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow23_LiteralInteger25 = new(); + public ObjectFlow MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow26 = new(); + public LiteralBoolean MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow26_LiteralBoolean27 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow26_LiteralInteger28 = new(); + public ControlFlow MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ControlFlow29 = new(); + public ReadStructuralFeatureAction MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_a_b1 = new(); + public OutputPin MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_a_b1_result = new(); + public InputPin MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_a_b1_object = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_a_b1_object_LiteralUnlimitedNatural30 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_a_b1_object_LiteralInteger31 = new(); + public ObjectFlow MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow32 = new(); + public LiteralBoolean MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow32_LiteralBoolean33 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow32_LiteralInteger34 = new(); + public ReadStructuralFeatureAction MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_this_a = new(); + public InputPin MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_this_a_object = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_this_a_object_LiteralUnlimitedNatural35 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_this_a_object_LiteralInteger36 = new(); + public OutputPin MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_this_a_result = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_this_a_result_LiteralUnlimitedNatural37 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_this_a_result_LiteralInteger38 = new(); + public ObjectFlow MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow39 = new(); + public LiteralBoolean MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow39_LiteralBoolean40 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow39_LiteralInteger41 = new(); + public ObjectFlow MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow42 = new(); + public LiteralBoolean MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow42_LiteralBoolean43 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow42_LiteralInteger44 = new(); + public ReadSelfAction MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_this = new(); + public OutputPin MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_this_result = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_this_result_LiteralInteger45 = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_this_result_LiteralUnlimitedNatural46 = new(); + public ReadStructuralFeatureAction MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_a_b4 = new(); + public InputPin MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_a_b4_object = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_a_b4_object_LiteralUnlimitedNatural47 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_a_b4_object_LiteralInteger48 = new(); + public OutputPin MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_a_b4_result = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_a_b4_result_LiteralInteger49 = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_a_b4_result_LiteralUnlimitedNatural50 = new(); + public ObjectFlow MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow51 = new(); + public LiteralBoolean MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow51_LiteralBoolean52 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow51_LiteralInteger53 = new(); + public ObjectFlow MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow54 = new(); + public LiteralBoolean MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow54_LiteralBoolean55 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow54_LiteralInteger56 = new(); + public ForkNode MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Fork_a = new(); + public ObjectFlow MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow57 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow57_LiteralInteger58 = new(); + public LiteralBoolean MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow57_LiteralBoolean59 = new(); + public ReadStructuralFeatureAction MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_a_b3 = new(); + public InputPin MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_a_b3_object = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_a_b3_object_LiteralInteger60 = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_a_b3_object_LiteralUnlimitedNatural61 = new(); + public OutputPin MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_a_b3_result = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_a_b3_result_LiteralInteger62 = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_a_b3_result_LiteralUnlimitedNatural63 = new(); + public Activity MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior = new(); + public ReadStructuralFeatureAction MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Read_a_q = new(); + public InputPin MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Read_a_q_object = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Read_a_q_object_LiteralInteger64 = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Read_a_q_object_LiteralUnlimitedNatural65 = new(); + public OutputPin MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Read_a_q_result = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Read_a_q_result_LiteralUnlimitedNatural66 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Read_a_q_result_LiteralInteger67 = new(); + public AcceptEventAction MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_3 = new(); + public OutputPin MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_3_result = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_3_result_LiteralInteger68 = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_3_result_LiteralUnlimitedNatural69 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_3_result_LiteralInteger70 = new(); + public Trigger MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_3_Trigger71 = new(); + public ObjectFlow MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow72 = new(); + public LiteralBoolean MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow72_LiteralBoolean73 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow72_LiteralInteger74 = new(); + public ControlFlow MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_ControlFlow75 = new(); + public AcceptEventAction MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Start = new(); + public Trigger MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Start_Trigger76 = new(); + public OutputPin MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Start_result = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Start_result_LiteralInteger77 = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Start_result_LiteralUnlimitedNatural78 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Start_result_LiteralInteger79 = new(); + public ObjectFlow MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow80 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow80_LiteralInteger81 = new(); + public LiteralBoolean MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow80_LiteralBoolean82 = new(); + public AcceptEventAction MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_4 = new(); + public OutputPin MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_4_result = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_4_result_LiteralUnlimitedNatural83 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_4_result_LiteralInteger84 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_4_result_LiteralInteger85 = new(); + public Trigger MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_4_Trigger86 = new(); + public ValueSpecificationAction MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Value_4 = new(); + public OutputPin MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Value_4_result = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Value_4_result_LiteralInteger87 = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Value_4_result_LiteralUnlimitedNatural88 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Value_4_LiteralInteger89 = new(); + public ControlFlow MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_ControlFlow90 = new(); + public CallOperationAction MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Call_test_ = new(); + public InputPin MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Call_test__target = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Call_test__target_LiteralInteger91 = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Call_test__target_LiteralUnlimitedNatural92 = new(); + public ControlFlow MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_ControlFlow93 = new(); + public ObjectFlow MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow94 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow94_LiteralInteger95 = new(); + public LiteralBoolean MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow94_LiteralBoolean96 = new(); + public ControlFlow MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_ControlFlow97 = new(); + public AcceptEventAction MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_1 = new(); + public Trigger MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_1_Trigger98 = new(); + public OutputPin MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_1_result = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_1_result_LiteralUnlimitedNatural99 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_1_result_LiteralInteger100 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_1_result_LiteralInteger101 = new(); + public ForkNode MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Fork_this = new(); + public ControlFlow MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_ControlFlow102 = new(); + public ReadStructuralFeatureAction MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Read_this_a = new(); + public OutputPin MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Read_this_a_result = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Read_this_a_result_LiteralUnlimitedNatural103 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Read_this_a_result_LiteralInteger104 = new(); + public InputPin MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Read_this_a_object = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Read_this_a_object_LiteralUnlimitedNatural105 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Read_this_a_object_LiteralInteger106 = new(); + public SendSignalAction MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Send_S = new(); + public InputPin MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Send_S_t = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Send_S_t_LiteralInteger107 = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Send_S_t_LiteralUnlimitedNatural108 = new(); + public InputPin MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Send_S_target = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Send_S_target_LiteralUnlimitedNatural109 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Send_S_target_LiteralInteger110 = new(); + public InputPin MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Send_S_v = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Send_S_v_LiteralInteger111 = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Send_S_v_LiteralUnlimitedNatural112 = new(); + public ObjectFlow MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow113 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow113_LiteralInteger114 = new(); + public LiteralBoolean MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow113_LiteralBoolean115 = new(); + public ObjectFlow MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow116 = new(); + public LiteralBoolean MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow116_LiteralBoolean117 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow116_LiteralInteger118 = new(); + public AcceptEventAction MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_2 = new(); + public Trigger MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_2_Trigger119 = new(); + public OutputPin MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_2_result = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_2_result_LiteralUnlimitedNatural120 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_2_result_LiteralInteger121 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_2_result_LiteralInteger122 = new(); + public ReadSelfAction MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_this = new(); + public OutputPin MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_this_result = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_this_result_LiteralInteger123 = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_this_result_LiteralUnlimitedNatural124 = new(); + public ControlFlow MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_ControlFlow125 = new(); + public ObjectFlow MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow126 = new(); + public LiteralBoolean MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow126_LiteralBoolean127 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow126_LiteralInteger128 = new(); + public ObjectFlow MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow129 = new(); + public LiteralBoolean MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow129_LiteralBoolean130 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow129_LiteralInteger131 = new(); + public Operation MultipleDelegation_MultipleConnector_P_P_Signal_Tester_Tester_Tester = new(); + public Parameter MultipleDelegation_MultipleConnector_P_P_Signal_Tester_Tester_Tester_result = new(); + public Property MultipleDelegation_MultipleConnector_P_P_Signal_Tester_a = new(); + public Operation MultipleDelegation_MultipleConnector_P_P_Signal_Tester_test = new(); + public Signal MultipleDelegation_MultipleConnector_P_P_Signal_Continue = new(); + public Activity MultipleDelegation_MultipleConnector_P_P_Signal_main = new(); + public CreateObjectAction MultipleDelegation_MultipleConnector_P_P_Signal_main_Create_Tester = new(); + public OutputPin MultipleDelegation_MultipleConnector_P_P_Signal_main_Create_Tester_result = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_P_Signal_main_Create_Tester_result_LiteralInteger132 = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_P_Signal_main_Create_Tester_result_LiteralUnlimitedNatural133 = new(); + public ControlFlow MultipleDelegation_MultipleConnector_P_P_Signal_main_ControlFlow134 = new(); + public StartObjectBehaviorAction MultipleDelegation_MultipleConnector_P_P_Signal_main_Start_Tester = new(); + public InputPin MultipleDelegation_MultipleConnector_P_P_Signal_main_Start_Tester_object = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_P_Signal_main_Start_Tester_object_LiteralUnlimitedNatural135 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_P_Signal_main_Start_Tester_object_LiteralInteger136 = new(); + public CallOperationAction MultipleDelegation_MultipleConnector_P_P_Signal_main_Tester_ = new(); + public OutputPin MultipleDelegation_MultipleConnector_P_P_Signal_main_Tester__result = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_P_Signal_main_Tester__result_LiteralUnlimitedNatural137 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_P_Signal_main_Tester__result_LiteralInteger138 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_P_Signal_main_Tester__result_LiteralInteger139 = new(); + public InputPin MultipleDelegation_MultipleConnector_P_P_Signal_main_Tester__target = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_P_Signal_main_Tester__target_LiteralUnlimitedNatural140 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_P_Signal_main_Tester__target_LiteralInteger141 = new(); + public ObjectFlow MultipleDelegation_MultipleConnector_P_P_Signal_main_ObjectFlow142 = new(); + public LiteralBoolean MultipleDelegation_MultipleConnector_P_P_Signal_main_ObjectFlow142_LiteralBoolean143 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_P_Signal_main_ObjectFlow142_LiteralInteger144 = new(); + public ForkNode MultipleDelegation_MultipleConnector_P_P_Signal_main_Fork_Tester = new(); + public SendSignalAction MultipleDelegation_MultipleConnector_P_P_Signal_main_Send_Start = new(); + public InputPin MultipleDelegation_MultipleConnector_P_P_Signal_main_Send_Start_target = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_P_Signal_main_Send_Start_target_LiteralUnlimitedNatural145 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_P_Signal_main_Send_Start_target_LiteralInteger146 = new(); + public ObjectFlow MultipleDelegation_MultipleConnector_P_P_Signal_main_ObjectFlow147 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_P_Signal_main_ObjectFlow147_LiteralInteger148 = new(); + public LiteralBoolean MultipleDelegation_MultipleConnector_P_P_Signal_main_ObjectFlow147_LiteralBoolean149 = new(); + public ObjectFlow MultipleDelegation_MultipleConnector_P_P_Signal_main_ObjectFlow150 = new(); + public LiteralBoolean MultipleDelegation_MultipleConnector_P_P_Signal_main_ObjectFlow150_LiteralBoolean151 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_P_Signal_main_ObjectFlow150_LiteralInteger152 = new(); + public ObjectFlow MultipleDelegation_MultipleConnector_P_P_Signal_main_ObjectFlow153 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_P_Signal_main_ObjectFlow153_LiteralInteger154 = new(); + public LiteralBoolean MultipleDelegation_MultipleConnector_P_P_Signal_main_ObjectFlow153_LiteralBoolean155 = new(); + public Class_ MultipleDelegation_MultipleConnector_P_P_Signal_A = new(); + public Port MultipleDelegation_MultipleConnector_P_P_Signal_A_q = new(); + public Property MultipleDelegation_MultipleConnector_P_P_Signal_A_b1 = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_P_Signal_A_b1_LiteralUnlimitedNatural156 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_P_Signal_A_b1_LiteralInteger157 = new(); + public Property MultipleDelegation_MultipleConnector_P_P_Signal_A_b3 = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_P_Signal_A_b3_LiteralUnlimitedNatural158 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_P_Signal_A_b3_LiteralInteger159 = new(); + public Connector MultipleDelegation_MultipleConnector_P_P_Signal_A_r2 = new(); + public ConnectorEnd MultipleDelegation_MultipleConnector_P_P_Signal_A_r2_ConnectorEnd160 = new(); + public ConnectorEnd MultipleDelegation_MultipleConnector_P_P_Signal_A_r2_ConnectorEnd161 = new(); + public Operation MultipleDelegation_MultipleConnector_P_P_Signal_A_A_A = new(); + public Parameter MultipleDelegation_MultipleConnector_P_P_Signal_A_A_A_result = new(); + public Property MultipleDelegation_MultipleConnector_P_P_Signal_A_b2 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_P_Signal_A_b2_LiteralInteger162 = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_P_Signal_A_b2_LiteralUnlimitedNatural163 = new(); + public Connector MultipleDelegation_MultipleConnector_P_P_Signal_A_r1 = new(); + public ConnectorEnd MultipleDelegation_MultipleConnector_P_P_Signal_A_r1_ConnectorEnd164 = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_P_Signal_A_r1_ConnectorEnd164_LiteralUnlimitedNatural165 = new(); + public ConnectorEnd MultipleDelegation_MultipleConnector_P_P_Signal_A_r1_ConnectorEnd166 = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_P_Signal_A_r1_ConnectorEnd166_LiteralUnlimitedNatural167 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_P_Signal_A_r1_ConnectorEnd166_LiteralInteger168 = new(); + public Connector MultipleDelegation_MultipleConnector_P_P_Signal_A_r3 = new(); + public ConnectorEnd MultipleDelegation_MultipleConnector_P_P_Signal_A_r3_ConnectorEnd169 = new(); + public ConnectorEnd MultipleDelegation_MultipleConnector_P_P_Signal_A_r3_ConnectorEnd170 = new(); + public Connector MultipleDelegation_MultipleConnector_P_P_Signal_A_r4 = new(); + public ConnectorEnd MultipleDelegation_MultipleConnector_P_P_Signal_A_r4_ConnectorEnd171 = new(); + public ConnectorEnd MultipleDelegation_MultipleConnector_P_P_Signal_A_r4_ConnectorEnd172 = new(); + public Property MultipleDelegation_MultipleConnector_P_P_Signal_A_b4 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_P_Signal_A_b4_LiteralInteger173 = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_P_Signal_A_b4_LiteralUnlimitedNatural174 = new(); + public Signal MultipleDelegation_MultipleConnector_P_P_Signal_S = new(); + public Property MultipleDelegation_MultipleConnector_P_P_Signal_S_t = new(); + public Property MultipleDelegation_MultipleConnector_P_P_Signal_S_v = new(); + public Interface MultipleDelegation_MultipleConnector_P_P_Signal_I = new(); + public Reception MultipleDelegation_MultipleConnector_P_P_Signal_I_S = new(); + public Class_ MultipleDelegation_MultipleConnector_P_P_Signal_B = new(); + public Activity MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior = new(); + public ObjectFlow MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow175 = new(); + public LiteralBoolean MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow175_LiteralBoolean176 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow175_LiteralInteger177 = new(); + public ObjectFlow MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow178 = new(); + public LiteralBoolean MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow178_LiteralBoolean179 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow178_LiteralInteger180 = new(); + public ControlFlow MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_ControlFlow181 = new(); + public ObjectFlow MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow182 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow182_LiteralInteger183 = new(); + public LiteralBoolean MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow182_LiteralBoolean184 = new(); + public AcceptEventAction MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_Accept_S = new(); + public Trigger MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_Accept_S_Trigger185 = new(); + public OutputPin MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_Accept_S_s = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_Accept_S_s_LiteralUnlimitedNatural186 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_Accept_S_s_LiteralInteger187 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_Accept_S_s_LiteralInteger188 = new(); + public AddStructuralFeatureValueAction MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_Set_this_p = new(); + public OutputPin MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_Set_this_p_result = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_Set_this_p_result_LiteralUnlimitedNatural189 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_Set_this_p_result_LiteralInteger190 = new(); + public InputPin MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_Set_this_p_object = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_Set_this_p_object_LiteralInteger191 = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_Set_this_p_object_LiteralUnlimitedNatural192 = new(); + public InputPin MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_Set_this_p_value = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_Set_this_p_value_LiteralInteger193 = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_Set_this_p_value_LiteralUnlimitedNatural194 = new(); + public SendSignalAction MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_Send_Continue = new(); + public InputPin MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_Send_Continue_target = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_Send_Continue_target_LiteralUnlimitedNatural195 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_Send_Continue_target_LiteralInteger196 = new(); + public ObjectFlow MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow197 = new(); + public LiteralBoolean MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow197_LiteralBoolean198 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow197_LiteralInteger199 = new(); + public ObjectFlow MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow200 = new(); + public LiteralBoolean MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow200_LiteralBoolean201 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow200_LiteralInteger202 = new(); + public ReadStructuralFeatureAction MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_Read_s_v = new(); + public OutputPin MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_Read_s_v_result = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_Read_s_v_result_LiteralInteger203 = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_Read_s_v_result_LiteralUnlimitedNatural204 = new(); + public InputPin MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_Read_s_v_object = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_Read_s_v_object_LiteralInteger205 = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_Read_s_v_object_LiteralUnlimitedNatural206 = new(); + public ReadStructuralFeatureAction MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_Read_s_t = new(); + public InputPin MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_Read_s_t_object = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_Read_s_t_object_LiteralInteger207 = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_Read_s_t_object_LiteralUnlimitedNatural208 = new(); + public OutputPin MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_Read_s_t_result = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_Read_s_t_result_LiteralUnlimitedNatural209 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_Read_s_t_result_LiteralInteger210 = new(); + public ReadSelfAction MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_this = new(); + public OutputPin MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_this_result = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_this_result_LiteralUnlimitedNatural211 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_this_result_LiteralInteger212 = new(); + public ForkNode MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_Fork_s = new(); + public ObjectFlow MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow213 = new(); + public LiteralBoolean MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow213_LiteralBoolean214 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow213_LiteralInteger215 = new(); + public InterfaceRealization MultipleDelegation_MultipleConnector_P_P_Signal_B_IRealization = new(); + public Operation MultipleDelegation_MultipleConnector_P_P_Signal_B_B_B = new(); + public Parameter MultipleDelegation_MultipleConnector_P_P_Signal_B_B_B_result = new(); + public Property MultipleDelegation_MultipleConnector_P_P_Signal_B_p = new(); + public Reception MultipleDelegation_MultipleConnector_P_P_Signal_B_S = new(); + public Association MultipleDelegation_MultipleConnector_P_P_Signal_R = new(); + public Property MultipleDelegation_MultipleConnector_P_P_Signal_R_x = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_P_Signal_R_x_LiteralUnlimitedNatural216 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_P_Signal_R_x_LiteralInteger217 = new(); + public Property MultipleDelegation_MultipleConnector_P_P_Signal_R_y = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_P_Signal_R_y_LiteralInteger218 = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_P_Signal_R_y_LiteralUnlimitedNatural219 = new(); + public Class_ MultipleDelegation_MultipleConnector_P_P_Signal_IImpl = new(); + public InterfaceRealization MultipleDelegation_MultipleConnector_P_P_Signal_IImpl_IRealization = new(); + public Reception MultipleDelegation_MultipleConnector_P_P_Signal_IImpl_S = new(); + public Class_ MultipleDelegation_MultipleConnector_P_P_Signal_AbstractTester = new(); + public Reception MultipleDelegation_MultipleConnector_P_P_Signal_AbstractTester_Start = new(); + public Operation MultipleDelegation_MultipleConnector_P_P_Signal_AbstractTester_test = new(); + public Reception MultipleDelegation_MultipleConnector_P_P_Signal_AbstractTester_Continue = new(); + public Signal MultipleDelegation_MultipleConnector_P_P_Signal_Start = new(); + + public static MultipleDelegation_MultipleConnector_P_P_SignalModel Instance() + { + if (instance is null) + { + instance = new(); + instance.InitializeInMemoryModel(); + } + + return instance; + } + + public MultipleDelegation_MultipleConnector_P_P_SignalModel() + { + /* Start of user code : Additional model initializations + * This section may be used to do any additional model initialization, + * for example initializing user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } + + private void InitializeInMemoryModel() + { + // Create public members + /* + * Model MultipleDelegation_MultipleConnector_P_P_Signal + */ + AddToElementRepository("MultipleDelegation_MultipleConnector_P_P_Signal", MultipleDelegation_MultipleConnector_P_P_Signal); + AddToElementRepository("StartEvent", MultipleDelegation_MultipleConnector_P_P_Signal_StartEvent); + AddToElementRepository("ContinueEvent", MultipleDelegation_MultipleConnector_P_P_Signal_ContinueEvent); + AddToElementRepository("SEvent", MultipleDelegation_MultipleConnector_P_P_Signal_SEvent); + AddToElementRepository("Tester", MultipleDelegation_MultipleConnector_P_P_Signal_Tester); + AddToElementRepository("Generalization0", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_Generalization0); + AddToElementRepository("testActivity", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity); + AddToElementRepository("ObjectFlow1", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow1); + AddToElementRepository("LiteralBoolean2", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow1_LiteralBoolean2); + AddToElementRepository("LiteralInteger3", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow1_LiteralInteger3); + AddToElementRepository("testP", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_testP); + AddToElementRepository("p", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_testP_p); + AddToElementRepository("Read a.b2", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_a_b2); + AddToElementRepository("object", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_a_b2_object); + AddToElementRepository("LiteralUnlimitedNatural4", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_a_b2_object_LiteralUnlimitedNatural4); + AddToElementRepository("LiteralInteger5", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_a_b2_object_LiteralInteger5); + AddToElementRepository("result", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_a_b2_result); + AddToElementRepository("LiteralUnlimitedNatural6", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_a_b2_result_LiteralUnlimitedNatural6); + AddToElementRepository("LiteralInteger7", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_a_b2_result_LiteralInteger7); + AddToElementRepository("ObjectFlow8", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow8); + AddToElementRepository("LiteralBoolean9", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow8_LiteralBoolean9); + AddToElementRepository("LiteralInteger10", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow8_LiteralInteger10); + AddToElementRepository("Read b.p", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_b_p); + AddToElementRepository("object", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_b_p_object); + AddToElementRepository("LiteralInteger11", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_b_p_object_LiteralInteger11); + AddToElementRepository("LiteralUnlimitedNatural12", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_b_p_object_LiteralUnlimitedNatural12); + AddToElementRepository("result", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_b_p_result); + AddToElementRepository("LiteralInteger13", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_b_p_result_LiteralInteger13); + AddToElementRepository("LiteralUnlimitedNatural14", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_b_p_result_LiteralUnlimitedNatural14); + AddToElementRepository("ControlFlow15", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ControlFlow15); + AddToElementRepository("ControlFlow16", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ControlFlow16); + AddToElementRepository("Call testP", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Call_testP); + AddToElementRepository("p", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Call_testP_p); + AddToElementRepository("LiteralUnlimitedNatural17", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Call_testP_p_LiteralUnlimitedNatural17); + AddToElementRepository("LiteralInteger18", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Call_testP_p_LiteralInteger18); + AddToElementRepository("LiteralInteger19", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Call_testP_p_LiteralInteger19); + AddToElementRepository("ObjectFlow20", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow20); + AddToElementRepository("LiteralInteger21", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow20_LiteralInteger21); + AddToElementRepository("LiteralBoolean22", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow20_LiteralBoolean22); + AddToElementRepository("ObjectFlow23", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow23); + AddToElementRepository("LiteralBoolean24", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow23_LiteralBoolean24); + AddToElementRepository("LiteralInteger25", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow23_LiteralInteger25); + AddToElementRepository("ObjectFlow26", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow26); + AddToElementRepository("LiteralBoolean27", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow26_LiteralBoolean27); + AddToElementRepository("LiteralInteger28", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow26_LiteralInteger28); + AddToElementRepository("ControlFlow29", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ControlFlow29); + AddToElementRepository("Read a.b1", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_a_b1); + AddToElementRepository("result", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_a_b1_result); + AddToElementRepository("object", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_a_b1_object); + AddToElementRepository("LiteralUnlimitedNatural30", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_a_b1_object_LiteralUnlimitedNatural30); + AddToElementRepository("LiteralInteger31", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_a_b1_object_LiteralInteger31); + AddToElementRepository("ObjectFlow32", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow32); + AddToElementRepository("LiteralBoolean33", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow32_LiteralBoolean33); + AddToElementRepository("LiteralInteger34", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow32_LiteralInteger34); + AddToElementRepository("Read this.a", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_this_a); + AddToElementRepository("object", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_this_a_object); + AddToElementRepository("LiteralUnlimitedNatural35", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_this_a_object_LiteralUnlimitedNatural35); + AddToElementRepository("LiteralInteger36", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_this_a_object_LiteralInteger36); + AddToElementRepository("result", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_this_a_result); + AddToElementRepository("LiteralUnlimitedNatural37", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_this_a_result_LiteralUnlimitedNatural37); + AddToElementRepository("LiteralInteger38", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_this_a_result_LiteralInteger38); + AddToElementRepository("ObjectFlow39", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow39); + AddToElementRepository("LiteralBoolean40", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow39_LiteralBoolean40); + AddToElementRepository("LiteralInteger41", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow39_LiteralInteger41); + AddToElementRepository("ObjectFlow42", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow42); + AddToElementRepository("LiteralBoolean43", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow42_LiteralBoolean43); + AddToElementRepository("LiteralInteger44", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow42_LiteralInteger44); + AddToElementRepository("this", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_this); + AddToElementRepository("result", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_this_result); + AddToElementRepository("LiteralInteger45", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_this_result_LiteralInteger45); + AddToElementRepository("LiteralUnlimitedNatural46", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_this_result_LiteralUnlimitedNatural46); + AddToElementRepository("Read a.b4", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_a_b4); + AddToElementRepository("object", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_a_b4_object); + AddToElementRepository("LiteralUnlimitedNatural47", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_a_b4_object_LiteralUnlimitedNatural47); + AddToElementRepository("LiteralInteger48", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_a_b4_object_LiteralInteger48); + AddToElementRepository("result", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_a_b4_result); + AddToElementRepository("LiteralInteger49", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_a_b4_result_LiteralInteger49); + AddToElementRepository("LiteralUnlimitedNatural50", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_a_b4_result_LiteralUnlimitedNatural50); + AddToElementRepository("ObjectFlow51", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow51); + AddToElementRepository("LiteralBoolean52", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow51_LiteralBoolean52); + AddToElementRepository("LiteralInteger53", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow51_LiteralInteger53); + AddToElementRepository("ObjectFlow54", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow54); + AddToElementRepository("LiteralBoolean55", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow54_LiteralBoolean55); + AddToElementRepository("LiteralInteger56", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow54_LiteralInteger56); + AddToElementRepository("Fork a", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Fork_a); + AddToElementRepository("ObjectFlow57", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow57); + AddToElementRepository("LiteralInteger58", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow57_LiteralInteger58); + AddToElementRepository("LiteralBoolean59", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow57_LiteralBoolean59); + AddToElementRepository("Read a.b3", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_a_b3); + AddToElementRepository("object", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_a_b3_object); + AddToElementRepository("LiteralInteger60", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_a_b3_object_LiteralInteger60); + AddToElementRepository("LiteralUnlimitedNatural61", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_a_b3_object_LiteralUnlimitedNatural61); + AddToElementRepository("result", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_a_b3_result); + AddToElementRepository("LiteralInteger62", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_a_b3_result_LiteralInteger62); + AddToElementRepository("LiteralUnlimitedNatural63", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_a_b3_result_LiteralUnlimitedNatural63); + AddToElementRepository("TesterClassifierBehavior", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior); + AddToElementRepository("Read a.q", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Read_a_q); + AddToElementRepository("object", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Read_a_q_object); + AddToElementRepository("LiteralInteger64", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Read_a_q_object_LiteralInteger64); + AddToElementRepository("LiteralUnlimitedNatural65", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Read_a_q_object_LiteralUnlimitedNatural65); + AddToElementRepository("result", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Read_a_q_result); + AddToElementRepository("LiteralUnlimitedNatural66", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Read_a_q_result_LiteralUnlimitedNatural66); + AddToElementRepository("LiteralInteger67", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Read_a_q_result_LiteralInteger67); + AddToElementRepository("Accept Continue_3", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_3); + AddToElementRepository("result", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_3_result); + AddToElementRepository("LiteralInteger68", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_3_result_LiteralInteger68); + AddToElementRepository("LiteralUnlimitedNatural69", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_3_result_LiteralUnlimitedNatural69); + AddToElementRepository("LiteralInteger70", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_3_result_LiteralInteger70); + AddToElementRepository("Trigger71", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_3_Trigger71); + AddToElementRepository("ObjectFlow72", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow72); + AddToElementRepository("LiteralBoolean73", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow72_LiteralBoolean73); + AddToElementRepository("LiteralInteger74", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow72_LiteralInteger74); + AddToElementRepository("ControlFlow75", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_ControlFlow75); + AddToElementRepository("Accept Start", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Start); + AddToElementRepository("Trigger76", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Start_Trigger76); + AddToElementRepository("result", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Start_result); + AddToElementRepository("LiteralInteger77", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Start_result_LiteralInteger77); + AddToElementRepository("LiteralUnlimitedNatural78", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Start_result_LiteralUnlimitedNatural78); + AddToElementRepository("LiteralInteger79", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Start_result_LiteralInteger79); + AddToElementRepository("ObjectFlow80", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow80); + AddToElementRepository("LiteralInteger81", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow80_LiteralInteger81); + AddToElementRepository("LiteralBoolean82", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow80_LiteralBoolean82); + AddToElementRepository("Accept Continue_4", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_4); + AddToElementRepository("result", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_4_result); + AddToElementRepository("LiteralUnlimitedNatural83", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_4_result_LiteralUnlimitedNatural83); + AddToElementRepository("LiteralInteger84", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_4_result_LiteralInteger84); + AddToElementRepository("LiteralInteger85", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_4_result_LiteralInteger85); + AddToElementRepository("Trigger86", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_4_Trigger86); + AddToElementRepository("Value(4)", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Value_4); + AddToElementRepository("result", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Value_4_result); + AddToElementRepository("LiteralInteger87", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Value_4_result_LiteralInteger87); + AddToElementRepository("LiteralUnlimitedNatural88", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Value_4_result_LiteralUnlimitedNatural88); + AddToElementRepository("LiteralInteger89", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Value_4_LiteralInteger89); + AddToElementRepository("ControlFlow90", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_ControlFlow90); + AddToElementRepository("Call test()", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Call_test_); + AddToElementRepository("target", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Call_test__target); + AddToElementRepository("LiteralInteger91", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Call_test__target_LiteralInteger91); + AddToElementRepository("LiteralUnlimitedNatural92", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Call_test__target_LiteralUnlimitedNatural92); + AddToElementRepository("ControlFlow93", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_ControlFlow93); + AddToElementRepository("ObjectFlow94", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow94); + AddToElementRepository("LiteralInteger95", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow94_LiteralInteger95); + AddToElementRepository("LiteralBoolean96", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow94_LiteralBoolean96); + AddToElementRepository("ControlFlow97", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_ControlFlow97); + AddToElementRepository("Accept Continue_1", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_1); + AddToElementRepository("Trigger98", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_1_Trigger98); + AddToElementRepository("result", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_1_result); + AddToElementRepository("LiteralUnlimitedNatural99", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_1_result_LiteralUnlimitedNatural99); + AddToElementRepository("LiteralInteger100", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_1_result_LiteralInteger100); + AddToElementRepository("LiteralInteger101", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_1_result_LiteralInteger101); + AddToElementRepository("Fork this", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Fork_this); + AddToElementRepository("ControlFlow102", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_ControlFlow102); + AddToElementRepository("Read this.a", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Read_this_a); + AddToElementRepository("result", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Read_this_a_result); + AddToElementRepository("LiteralUnlimitedNatural103", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Read_this_a_result_LiteralUnlimitedNatural103); + AddToElementRepository("LiteralInteger104", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Read_this_a_result_LiteralInteger104); + AddToElementRepository("object", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Read_this_a_object); + AddToElementRepository("LiteralUnlimitedNatural105", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Read_this_a_object_LiteralUnlimitedNatural105); + AddToElementRepository("LiteralInteger106", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Read_this_a_object_LiteralInteger106); + AddToElementRepository("Send S", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Send_S); + AddToElementRepository("t", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Send_S_t); + AddToElementRepository("LiteralInteger107", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Send_S_t_LiteralInteger107); + AddToElementRepository("LiteralUnlimitedNatural108", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Send_S_t_LiteralUnlimitedNatural108); + AddToElementRepository("target", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Send_S_target); + AddToElementRepository("LiteralUnlimitedNatural109", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Send_S_target_LiteralUnlimitedNatural109); + AddToElementRepository("LiteralInteger110", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Send_S_target_LiteralInteger110); + AddToElementRepository("v", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Send_S_v); + AddToElementRepository("LiteralInteger111", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Send_S_v_LiteralInteger111); + AddToElementRepository("LiteralUnlimitedNatural112", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Send_S_v_LiteralUnlimitedNatural112); + AddToElementRepository("ObjectFlow113", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow113); + AddToElementRepository("LiteralInteger114", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow113_LiteralInteger114); + AddToElementRepository("LiteralBoolean115", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow113_LiteralBoolean115); + AddToElementRepository("ObjectFlow116", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow116); + AddToElementRepository("LiteralBoolean117", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow116_LiteralBoolean117); + AddToElementRepository("LiteralInteger118", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow116_LiteralInteger118); + AddToElementRepository("Accept Continue_2", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_2); + AddToElementRepository("Trigger119", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_2_Trigger119); + AddToElementRepository("result", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_2_result); + AddToElementRepository("LiteralUnlimitedNatural120", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_2_result_LiteralUnlimitedNatural120); + AddToElementRepository("LiteralInteger121", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_2_result_LiteralInteger121); + AddToElementRepository("LiteralInteger122", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_2_result_LiteralInteger122); + AddToElementRepository("this", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_this); + AddToElementRepository("result", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_this_result); + AddToElementRepository("LiteralInteger123", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_this_result_LiteralInteger123); + AddToElementRepository("LiteralUnlimitedNatural124", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_this_result_LiteralUnlimitedNatural124); + AddToElementRepository("ControlFlow125", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_ControlFlow125); + AddToElementRepository("ObjectFlow126", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow126); + AddToElementRepository("LiteralBoolean127", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow126_LiteralBoolean127); + AddToElementRepository("LiteralInteger128", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow126_LiteralInteger128); + AddToElementRepository("ObjectFlow129", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow129); + AddToElementRepository("LiteralBoolean130", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow129_LiteralBoolean130); + AddToElementRepository("LiteralInteger131", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow129_LiteralInteger131); + AddToElementRepository("Tester_Tester", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_Tester_Tester); + AddToElementRepository("result", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_Tester_Tester_result); + AddToElementRepository("a", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_a); + AddToElementRepository("test", MultipleDelegation_MultipleConnector_P_P_Signal_Tester_test); + AddToElementRepository("Continue", MultipleDelegation_MultipleConnector_P_P_Signal_Continue); + AddToElementRepository("main", MultipleDelegation_MultipleConnector_P_P_Signal_main); + AddToElementRepository("Create Tester", MultipleDelegation_MultipleConnector_P_P_Signal_main_Create_Tester); + AddToElementRepository("result", MultipleDelegation_MultipleConnector_P_P_Signal_main_Create_Tester_result); + AddToElementRepository("LiteralInteger132", MultipleDelegation_MultipleConnector_P_P_Signal_main_Create_Tester_result_LiteralInteger132); + AddToElementRepository("LiteralUnlimitedNatural133", MultipleDelegation_MultipleConnector_P_P_Signal_main_Create_Tester_result_LiteralUnlimitedNatural133); + AddToElementRepository("ControlFlow134", MultipleDelegation_MultipleConnector_P_P_Signal_main_ControlFlow134); + AddToElementRepository("Start Tester", MultipleDelegation_MultipleConnector_P_P_Signal_main_Start_Tester); + AddToElementRepository("object", MultipleDelegation_MultipleConnector_P_P_Signal_main_Start_Tester_object); + AddToElementRepository("LiteralUnlimitedNatural135", MultipleDelegation_MultipleConnector_P_P_Signal_main_Start_Tester_object_LiteralUnlimitedNatural135); + AddToElementRepository("LiteralInteger136", MultipleDelegation_MultipleConnector_P_P_Signal_main_Start_Tester_object_LiteralInteger136); + AddToElementRepository("Tester()", MultipleDelegation_MultipleConnector_P_P_Signal_main_Tester_); + AddToElementRepository("result", MultipleDelegation_MultipleConnector_P_P_Signal_main_Tester__result); + AddToElementRepository("LiteralUnlimitedNatural137", MultipleDelegation_MultipleConnector_P_P_Signal_main_Tester__result_LiteralUnlimitedNatural137); + AddToElementRepository("LiteralInteger138", MultipleDelegation_MultipleConnector_P_P_Signal_main_Tester__result_LiteralInteger138); + AddToElementRepository("LiteralInteger139", MultipleDelegation_MultipleConnector_P_P_Signal_main_Tester__result_LiteralInteger139); + AddToElementRepository("target", MultipleDelegation_MultipleConnector_P_P_Signal_main_Tester__target); + AddToElementRepository("LiteralUnlimitedNatural140", MultipleDelegation_MultipleConnector_P_P_Signal_main_Tester__target_LiteralUnlimitedNatural140); + AddToElementRepository("LiteralInteger141", MultipleDelegation_MultipleConnector_P_P_Signal_main_Tester__target_LiteralInteger141); + AddToElementRepository("ObjectFlow142", MultipleDelegation_MultipleConnector_P_P_Signal_main_ObjectFlow142); + AddToElementRepository("LiteralBoolean143", MultipleDelegation_MultipleConnector_P_P_Signal_main_ObjectFlow142_LiteralBoolean143); + AddToElementRepository("LiteralInteger144", MultipleDelegation_MultipleConnector_P_P_Signal_main_ObjectFlow142_LiteralInteger144); + AddToElementRepository("Fork Tester", MultipleDelegation_MultipleConnector_P_P_Signal_main_Fork_Tester); + AddToElementRepository("Send Start", MultipleDelegation_MultipleConnector_P_P_Signal_main_Send_Start); + AddToElementRepository("target", MultipleDelegation_MultipleConnector_P_P_Signal_main_Send_Start_target); + AddToElementRepository("LiteralUnlimitedNatural145", MultipleDelegation_MultipleConnector_P_P_Signal_main_Send_Start_target_LiteralUnlimitedNatural145); + AddToElementRepository("LiteralInteger146", MultipleDelegation_MultipleConnector_P_P_Signal_main_Send_Start_target_LiteralInteger146); + AddToElementRepository("ObjectFlow147", MultipleDelegation_MultipleConnector_P_P_Signal_main_ObjectFlow147); + AddToElementRepository("LiteralInteger148", MultipleDelegation_MultipleConnector_P_P_Signal_main_ObjectFlow147_LiteralInteger148); + AddToElementRepository("LiteralBoolean149", MultipleDelegation_MultipleConnector_P_P_Signal_main_ObjectFlow147_LiteralBoolean149); + AddToElementRepository("ObjectFlow150", MultipleDelegation_MultipleConnector_P_P_Signal_main_ObjectFlow150); + AddToElementRepository("LiteralBoolean151", MultipleDelegation_MultipleConnector_P_P_Signal_main_ObjectFlow150_LiteralBoolean151); + AddToElementRepository("LiteralInteger152", MultipleDelegation_MultipleConnector_P_P_Signal_main_ObjectFlow150_LiteralInteger152); + AddToElementRepository("ObjectFlow153", MultipleDelegation_MultipleConnector_P_P_Signal_main_ObjectFlow153); + AddToElementRepository("LiteralInteger154", MultipleDelegation_MultipleConnector_P_P_Signal_main_ObjectFlow153_LiteralInteger154); + AddToElementRepository("LiteralBoolean155", MultipleDelegation_MultipleConnector_P_P_Signal_main_ObjectFlow153_LiteralBoolean155); + AddToElementRepository("A", MultipleDelegation_MultipleConnector_P_P_Signal_A); + AddToElementRepository("q", MultipleDelegation_MultipleConnector_P_P_Signal_A_q); + AddToElementRepository("b1", MultipleDelegation_MultipleConnector_P_P_Signal_A_b1); + AddToElementRepository("LiteralUnlimitedNatural156", MultipleDelegation_MultipleConnector_P_P_Signal_A_b1_LiteralUnlimitedNatural156); + AddToElementRepository("LiteralInteger157", MultipleDelegation_MultipleConnector_P_P_Signal_A_b1_LiteralInteger157); + AddToElementRepository("b3", MultipleDelegation_MultipleConnector_P_P_Signal_A_b3); + AddToElementRepository("LiteralUnlimitedNatural158", MultipleDelegation_MultipleConnector_P_P_Signal_A_b3_LiteralUnlimitedNatural158); + AddToElementRepository("LiteralInteger159", MultipleDelegation_MultipleConnector_P_P_Signal_A_b3_LiteralInteger159); + AddToElementRepository("r2", MultipleDelegation_MultipleConnector_P_P_Signal_A_r2); + AddToElementRepository("ConnectorEnd160", MultipleDelegation_MultipleConnector_P_P_Signal_A_r2_ConnectorEnd160); + AddToElementRepository("ConnectorEnd161", MultipleDelegation_MultipleConnector_P_P_Signal_A_r2_ConnectorEnd161); + AddToElementRepository("A_A", MultipleDelegation_MultipleConnector_P_P_Signal_A_A_A); + AddToElementRepository("result", MultipleDelegation_MultipleConnector_P_P_Signal_A_A_A_result); + AddToElementRepository("b2", MultipleDelegation_MultipleConnector_P_P_Signal_A_b2); + AddToElementRepository("LiteralInteger162", MultipleDelegation_MultipleConnector_P_P_Signal_A_b2_LiteralInteger162); + AddToElementRepository("LiteralUnlimitedNatural163", MultipleDelegation_MultipleConnector_P_P_Signal_A_b2_LiteralUnlimitedNatural163); + AddToElementRepository("r1", MultipleDelegation_MultipleConnector_P_P_Signal_A_r1); + AddToElementRepository("ConnectorEnd164", MultipleDelegation_MultipleConnector_P_P_Signal_A_r1_ConnectorEnd164); + AddToElementRepository("LiteralUnlimitedNatural165", MultipleDelegation_MultipleConnector_P_P_Signal_A_r1_ConnectorEnd164_LiteralUnlimitedNatural165); + AddToElementRepository("ConnectorEnd166", MultipleDelegation_MultipleConnector_P_P_Signal_A_r1_ConnectorEnd166); + AddToElementRepository("LiteralUnlimitedNatural167", MultipleDelegation_MultipleConnector_P_P_Signal_A_r1_ConnectorEnd166_LiteralUnlimitedNatural167); + AddToElementRepository("LiteralInteger168", MultipleDelegation_MultipleConnector_P_P_Signal_A_r1_ConnectorEnd166_LiteralInteger168); + AddToElementRepository("r3", MultipleDelegation_MultipleConnector_P_P_Signal_A_r3); + AddToElementRepository("ConnectorEnd169", MultipleDelegation_MultipleConnector_P_P_Signal_A_r3_ConnectorEnd169); + AddToElementRepository("ConnectorEnd170", MultipleDelegation_MultipleConnector_P_P_Signal_A_r3_ConnectorEnd170); + AddToElementRepository("r4", MultipleDelegation_MultipleConnector_P_P_Signal_A_r4); + AddToElementRepository("ConnectorEnd171", MultipleDelegation_MultipleConnector_P_P_Signal_A_r4_ConnectorEnd171); + AddToElementRepository("ConnectorEnd172", MultipleDelegation_MultipleConnector_P_P_Signal_A_r4_ConnectorEnd172); + AddToElementRepository("b4", MultipleDelegation_MultipleConnector_P_P_Signal_A_b4); + AddToElementRepository("LiteralInteger173", MultipleDelegation_MultipleConnector_P_P_Signal_A_b4_LiteralInteger173); + AddToElementRepository("LiteralUnlimitedNatural174", MultipleDelegation_MultipleConnector_P_P_Signal_A_b4_LiteralUnlimitedNatural174); + AddToElementRepository("S", MultipleDelegation_MultipleConnector_P_P_Signal_S); + AddToElementRepository("t", MultipleDelegation_MultipleConnector_P_P_Signal_S_t); + AddToElementRepository("v", MultipleDelegation_MultipleConnector_P_P_Signal_S_v); + AddToElementRepository("I", MultipleDelegation_MultipleConnector_P_P_Signal_I); + AddToElementRepository("S", MultipleDelegation_MultipleConnector_P_P_Signal_I_S); + AddToElementRepository("B", MultipleDelegation_MultipleConnector_P_P_Signal_B); + AddToElementRepository("BClassifierBehavior", MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior); + AddToElementRepository("ObjectFlow175", MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow175); + AddToElementRepository("LiteralBoolean176", MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow175_LiteralBoolean176); + AddToElementRepository("LiteralInteger177", MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow175_LiteralInteger177); + AddToElementRepository("ObjectFlow178", MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow178); + AddToElementRepository("LiteralBoolean179", MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow178_LiteralBoolean179); + AddToElementRepository("LiteralInteger180", MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow178_LiteralInteger180); + AddToElementRepository("ControlFlow181", MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_ControlFlow181); + AddToElementRepository("ObjectFlow182", MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow182); + AddToElementRepository("LiteralInteger183", MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow182_LiteralInteger183); + AddToElementRepository("LiteralBoolean184", MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow182_LiteralBoolean184); + AddToElementRepository("Accept S", MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_Accept_S); + AddToElementRepository("Trigger185", MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_Accept_S_Trigger185); + AddToElementRepository("s", MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_Accept_S_s); + AddToElementRepository("LiteralUnlimitedNatural186", MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_Accept_S_s_LiteralUnlimitedNatural186); + AddToElementRepository("LiteralInteger187", MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_Accept_S_s_LiteralInteger187); + AddToElementRepository("LiteralInteger188", MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_Accept_S_s_LiteralInteger188); + AddToElementRepository("Set this.p", MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_Set_this_p); + AddToElementRepository("result", MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_Set_this_p_result); + AddToElementRepository("LiteralUnlimitedNatural189", MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_Set_this_p_result_LiteralUnlimitedNatural189); + AddToElementRepository("LiteralInteger190", MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_Set_this_p_result_LiteralInteger190); + AddToElementRepository("object", MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_Set_this_p_object); + AddToElementRepository("LiteralInteger191", MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_Set_this_p_object_LiteralInteger191); + AddToElementRepository("LiteralUnlimitedNatural192", MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_Set_this_p_object_LiteralUnlimitedNatural192); + AddToElementRepository("value", MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_Set_this_p_value); + AddToElementRepository("LiteralInteger193", MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_Set_this_p_value_LiteralInteger193); + AddToElementRepository("LiteralUnlimitedNatural194", MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_Set_this_p_value_LiteralUnlimitedNatural194); + AddToElementRepository("Send Continue", MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_Send_Continue); + AddToElementRepository("target", MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_Send_Continue_target); + AddToElementRepository("LiteralUnlimitedNatural195", MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_Send_Continue_target_LiteralUnlimitedNatural195); + AddToElementRepository("LiteralInteger196", MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_Send_Continue_target_LiteralInteger196); + AddToElementRepository("ObjectFlow197", MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow197); + AddToElementRepository("LiteralBoolean198", MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow197_LiteralBoolean198); + AddToElementRepository("LiteralInteger199", MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow197_LiteralInteger199); + AddToElementRepository("ObjectFlow200", MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow200); + AddToElementRepository("LiteralBoolean201", MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow200_LiteralBoolean201); + AddToElementRepository("LiteralInteger202", MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow200_LiteralInteger202); + AddToElementRepository("Read s.v", MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_Read_s_v); + AddToElementRepository("result", MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_Read_s_v_result); + AddToElementRepository("LiteralInteger203", MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_Read_s_v_result_LiteralInteger203); + AddToElementRepository("LiteralUnlimitedNatural204", MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_Read_s_v_result_LiteralUnlimitedNatural204); + AddToElementRepository("object", MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_Read_s_v_object); + AddToElementRepository("LiteralInteger205", MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_Read_s_v_object_LiteralInteger205); + AddToElementRepository("LiteralUnlimitedNatural206", MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_Read_s_v_object_LiteralUnlimitedNatural206); + AddToElementRepository("Read s.t", MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_Read_s_t); + AddToElementRepository("object", MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_Read_s_t_object); + AddToElementRepository("LiteralInteger207", MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_Read_s_t_object_LiteralInteger207); + AddToElementRepository("LiteralUnlimitedNatural208", MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_Read_s_t_object_LiteralUnlimitedNatural208); + AddToElementRepository("result", MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_Read_s_t_result); + AddToElementRepository("LiteralUnlimitedNatural209", MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_Read_s_t_result_LiteralUnlimitedNatural209); + AddToElementRepository("LiteralInteger210", MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_Read_s_t_result_LiteralInteger210); + AddToElementRepository("this", MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_this); + AddToElementRepository("result", MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_this_result); + AddToElementRepository("LiteralUnlimitedNatural211", MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_this_result_LiteralUnlimitedNatural211); + AddToElementRepository("LiteralInteger212", MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_this_result_LiteralInteger212); + AddToElementRepository("Fork s", MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_Fork_s); + AddToElementRepository("ObjectFlow213", MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow213); + AddToElementRepository("LiteralBoolean214", MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow213_LiteralBoolean214); + AddToElementRepository("LiteralInteger215", MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow213_LiteralInteger215); + AddToElementRepository("IRealization", MultipleDelegation_MultipleConnector_P_P_Signal_B_IRealization); + AddToElementRepository("B_B", MultipleDelegation_MultipleConnector_P_P_Signal_B_B_B); + AddToElementRepository("result", MultipleDelegation_MultipleConnector_P_P_Signal_B_B_B_result); + AddToElementRepository("p", MultipleDelegation_MultipleConnector_P_P_Signal_B_p); + AddToElementRepository("S", MultipleDelegation_MultipleConnector_P_P_Signal_B_S); + AddToElementRepository("R", MultipleDelegation_MultipleConnector_P_P_Signal_R); + AddToElementRepository("x", MultipleDelegation_MultipleConnector_P_P_Signal_R_x); + AddToElementRepository("LiteralUnlimitedNatural216", MultipleDelegation_MultipleConnector_P_P_Signal_R_x_LiteralUnlimitedNatural216); + AddToElementRepository("LiteralInteger217", MultipleDelegation_MultipleConnector_P_P_Signal_R_x_LiteralInteger217); + AddToElementRepository("y", MultipleDelegation_MultipleConnector_P_P_Signal_R_y); + AddToElementRepository("LiteralInteger218", MultipleDelegation_MultipleConnector_P_P_Signal_R_y_LiteralInteger218); + AddToElementRepository("LiteralUnlimitedNatural219", MultipleDelegation_MultipleConnector_P_P_Signal_R_y_LiteralUnlimitedNatural219); + AddToElementRepository("IImpl", MultipleDelegation_MultipleConnector_P_P_Signal_IImpl); + AddToElementRepository("IRealization", MultipleDelegation_MultipleConnector_P_P_Signal_IImpl_IRealization); + AddToElementRepository("S", MultipleDelegation_MultipleConnector_P_P_Signal_IImpl_S); + AddToElementRepository("AbstractTester", MultipleDelegation_MultipleConnector_P_P_Signal_AbstractTester); + AddToElementRepository("Start", MultipleDelegation_MultipleConnector_P_P_Signal_AbstractTester_Start); + AddToElementRepository("test", MultipleDelegation_MultipleConnector_P_P_Signal_AbstractTester_test); + AddToElementRepository("Continue", MultipleDelegation_MultipleConnector_P_P_Signal_AbstractTester_Continue); + AddToElementRepository("Start", MultipleDelegation_MultipleConnector_P_P_Signal_Start); + + // Initialize public members + /* + * Model MultipleDelegation_MultipleConnector_P_P_Signal + */ + MultipleDelegation_MultipleConnector_P_P_Signal.SetName("MultipleDelegation_MultipleConnector_P_P_Signal"); + MultipleDelegation_MultipleConnector_P_P_Signal.SetVisibility(VisibilityKind.public_); + // SignalEvent StartEvent + MultipleDelegation_MultipleConnector_P_P_Signal_StartEvent.SetName("StartEvent"); + MultipleDelegation_MultipleConnector_P_P_Signal_StartEvent.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Signal_StartEvent.SetSignal(MultipleDelegation_MultipleConnector_P_P_Signal_Start); + MultipleDelegation_MultipleConnector_P_P_Signal.AddPackagedElement(MultipleDelegation_MultipleConnector_P_P_Signal_StartEvent); + // SignalEvent ContinueEvent + MultipleDelegation_MultipleConnector_P_P_Signal_ContinueEvent.SetName("ContinueEvent"); + MultipleDelegation_MultipleConnector_P_P_Signal_ContinueEvent.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Signal_ContinueEvent.SetSignal(MultipleDelegation_MultipleConnector_P_P_Signal_Continue); + MultipleDelegation_MultipleConnector_P_P_Signal.AddPackagedElement(MultipleDelegation_MultipleConnector_P_P_Signal_ContinueEvent); + // SignalEvent SEvent + MultipleDelegation_MultipleConnector_P_P_Signal_SEvent.SetName("SEvent"); + MultipleDelegation_MultipleConnector_P_P_Signal_SEvent.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Signal_SEvent.SetSignal(MultipleDelegation_MultipleConnector_P_P_Signal_S); + MultipleDelegation_MultipleConnector_P_P_Signal.AddPackagedElement(MultipleDelegation_MultipleConnector_P_P_Signal_SEvent); + // Class Tester + MultipleDelegation_MultipleConnector_P_P_Signal_Tester.SetName("Tester"); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester.SetVisibility(VisibilityKind.public_); + + // Generalization to AbstractTester + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_Generalization0.SetGeneral(MultipleDelegation_MultipleConnector_P_P_Signal_AbstractTester); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester.AddGeneralization(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_Generalization0); + // Property a + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_a.SetName("a"); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_a.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_a.SetType(MultipleDelegation_MultipleConnector_P_P_Signal_A); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_a.SetAggregation(AggregationKind.composite); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester.AddOwnedAttribute(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_a); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester.SetClassifierBehavior(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior); + // Activity testActivity + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity.SetName("testActivity"); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity.SetVisibility(VisibilityKind.public_); + // FunctionBehavior testP + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_testP.SetName("testP"); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_testP.SetVisibility(VisibilityKind.public_); + + // Parameter p + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_testP_p.SetName("p"); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_testP_p.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_testP_p.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_testP.AddOwnedParameter(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_testP_p); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_testP.AddLanguage("C#"); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_testP.AddLanguage("Using"); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_testP.AddBody("if(index == 1) { Console.WriteLine(\"Asserting a.b1.p == 4 && a.b2.p == 4 && a.b3.p == 4 && a.b4.p == 4\"); } // For some reason, during the first execution of the expansion region, its body is actually executed twice. // Because of that, the body is actually executaed 5 times in total. This if-statement covers that up until solved. if(index <= MAX_INDEX) { // Test parameter p int p = ((IntegerValue)inputParameters.ElementAt(0).values.ElementAt(0)).value; Debug.Println(\"[doBody] argument p = \" + p); Console.WriteLine( \"a.b\" + index + \".p == \" + p); success = success && (p == 4); if(index == MAX_INDEX) { Console.Write(\"Signal delegated on all links (shall be true for default strategy): \"); if(success) { Console.ForegroundColor = ConsoleColor.Green; Console.WriteLine(\"Assertion successful.\"); } else { Console.ForegroundColor = ConsoleColor.Red; Console.WriteLine(\"Assertion failed!\"); } Console.ResetColor(); } } index++;"); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_testP.AddBody("using fuml.semantics.simpleclassifiers; "); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity.AddOwnedBehavior(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_testP); + // ReadStructuralFeatureAction Read a.b2 + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_a_b2.SetName("Read a.b2"); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_a_b2.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_a_b2.SetStructuralFeature(MultipleDelegation_MultipleConnector_P_P_Signal_A_b2); + // InputPin object + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_a_b2_object.SetName("object"); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_a_b2_object.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_a_b2_object.SetType(MultipleDelegation_MultipleConnector_P_P_Signal_A); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_a_b2.SetObject(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_a_b2_object); + // OutputPin result + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_a_b2_result.SetName("result"); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_a_b2_result.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_a_b2_result.SetType(MultipleDelegation_MultipleConnector_P_P_Signal_B); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_a_b2.SetResult(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_a_b2_result); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity.AddNode(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_a_b2); + // ReadStructuralFeatureAction Read this.a + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_this_a.SetName("Read this.a"); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_this_a.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_this_a.SetStructuralFeature(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_a); + // InputPin object + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_this_a_object.SetName("object"); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_this_a_object.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_this_a_object.SetType(MultipleDelegation_MultipleConnector_P_P_Signal_Tester); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_this_a.SetObject(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_this_a_object); + // OutputPin result + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_this_a_result.SetName("result"); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_this_a_result.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_this_a_result.SetType(MultipleDelegation_MultipleConnector_P_P_Signal_A); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_this_a.SetResult(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_this_a_result); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity.AddNode(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_this_a); + // ReadStructuralFeatureAction Read b.p + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_b_p.SetName("Read b.p"); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_b_p.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_b_p.SetStructuralFeature(MultipleDelegation_MultipleConnector_P_P_Signal_B_p); + // InputPin object + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_b_p_object.SetName("object"); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_b_p_object.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_b_p_object.SetType(MultipleDelegation_MultipleConnector_P_P_Signal_B); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_b_p.SetObject(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_b_p_object); + // OutputPin result + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_b_p_result.SetName("result"); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_b_p_result.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_b_p_result.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_b_p.SetResult(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_b_p_result); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity.AddNode(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_b_p); + // ReadSelfAction this + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_this.SetName("this"); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_this.SetVisibility(VisibilityKind.public_); + // OutputPin result + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_this_result.SetName("result"); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_this_result.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_this_result.SetType(MultipleDelegation_MultipleConnector_P_P_Signal_Tester); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_this.SetResult(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_this_result); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity.AddNode(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_this); + // CallBehaviorAction Call testP + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Call_testP.SetName("Call testP"); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Call_testP.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Call_testP.SetBehavior(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_testP); + // InputPin p + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Call_testP_p.SetName("p"); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Call_testP_p.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Call_testP_p.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Call_testP.AddArgument(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Call_testP_p); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity.AddNode(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Call_testP); + // ReadStructuralFeatureAction Read a.b4 + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_a_b4.SetName("Read a.b4"); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_a_b4.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_a_b4.SetStructuralFeature(MultipleDelegation_MultipleConnector_P_P_Signal_A_b4); + // InputPin object + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_a_b4_object.SetName("object"); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_a_b4_object.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_a_b4_object.SetType(MultipleDelegation_MultipleConnector_P_P_Signal_A); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_a_b4.SetObject(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_a_b4_object); + // OutputPin result + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_a_b4_result.SetName("result"); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_a_b4_result.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_a_b4_result.SetType(MultipleDelegation_MultipleConnector_P_P_Signal_B); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_a_b4.SetResult(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_a_b4_result); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity.AddNode(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_a_b4); + // ReadStructuralFeatureAction Read a.b1 + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_a_b1.SetName("Read a.b1"); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_a_b1.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_a_b1.SetStructuralFeature(MultipleDelegation_MultipleConnector_P_P_Signal_A_b1); + // InputPin object + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_a_b1_object.SetName("object"); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_a_b1_object.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_a_b1_object.SetType(MultipleDelegation_MultipleConnector_P_P_Signal_A); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_a_b1.SetObject(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_a_b1_object); + // OutputPin result + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_a_b1_result.SetName("result"); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_a_b1_result.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_a_b1_result.SetType(MultipleDelegation_MultipleConnector_P_P_Signal_B); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_a_b1.SetResult(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_a_b1_result); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity.AddNode(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_a_b1); + // ForkNode Fork a + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Fork_a.SetName("Fork a"); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Fork_a.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity.AddNode(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Fork_a); + // ReadStructuralFeatureAction Read a.b3 + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_a_b3.SetName("Read a.b3"); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_a_b3.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_a_b3.SetStructuralFeature(MultipleDelegation_MultipleConnector_P_P_Signal_A_b3); + // InputPin object + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_a_b3_object.SetName("object"); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_a_b3_object.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_a_b3_object.SetType(MultipleDelegation_MultipleConnector_P_P_Signal_A); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_a_b3.SetObject(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_a_b3_object); + // OutputPin result + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_a_b3_result.SetName("result"); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_a_b3_result.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_a_b3_result.SetType(MultipleDelegation_MultipleConnector_P_P_Signal_B); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_a_b3.SetResult(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_a_b3_result); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity.AddNode(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_a_b3); + // ObjectFlow ObjectFlow1 from Fork a to object + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow1.SetName("ObjectFlow1"); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow1.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow1.SetSource(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Fork_a); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow1.SetTarget(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_a_b1_object); + // LiteralBoolean LiteralBoolean2 + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow1_LiteralBoolean2.SetName("LiteralBoolean2"); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow1_LiteralBoolean2.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow1_LiteralBoolean2.SetValue(true); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow1.SetGuard(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow1_LiteralBoolean2); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity.AddEdge(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow1); + // ObjectFlow ObjectFlow8 from result to p + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow8.SetName("ObjectFlow8"); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow8.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow8.SetSource(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_b_p_result); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow8.SetTarget(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Call_testP_p); + // LiteralBoolean LiteralBoolean9 + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow8_LiteralBoolean9.SetName("LiteralBoolean9"); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow8_LiteralBoolean9.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow8_LiteralBoolean9.SetValue(true); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow8.SetGuard(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow8_LiteralBoolean9); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity.AddEdge(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow8); + // ControlFlow ControlFlow15 from Read a.b2 to Read a.b3 + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ControlFlow15.SetName("ControlFlow15"); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ControlFlow15.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ControlFlow15.SetSource(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_a_b2); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ControlFlow15.SetTarget(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_a_b3); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity.AddEdge(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ControlFlow15); + // ControlFlow ControlFlow16 from Read a.b3 to Read a.b4 + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ControlFlow16.SetName("ControlFlow16"); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ControlFlow16.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ControlFlow16.SetSource(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_a_b3); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ControlFlow16.SetTarget(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_a_b4); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity.AddEdge(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ControlFlow16); + // ObjectFlow ObjectFlow20 from Fork a to object + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow20.SetName("ObjectFlow20"); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow20.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow20.SetSource(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Fork_a); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow20.SetTarget(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_a_b4_object); + // LiteralBoolean LiteralBoolean22 + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow20_LiteralBoolean22.SetName("LiteralBoolean22"); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow20_LiteralBoolean22.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow20_LiteralBoolean22.SetValue(true); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow20.SetGuard(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow20_LiteralBoolean22); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity.AddEdge(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow20); + // ObjectFlow ObjectFlow23 from result to object + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow23.SetName("ObjectFlow23"); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow23.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow23.SetSource(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_this_result); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow23.SetTarget(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_this_a_object); + // LiteralBoolean LiteralBoolean24 + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow23_LiteralBoolean24.SetName("LiteralBoolean24"); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow23_LiteralBoolean24.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow23_LiteralBoolean24.SetValue(true); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow23.SetGuard(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow23_LiteralBoolean24); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity.AddEdge(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow23); + // ObjectFlow ObjectFlow26 from result to object + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow26.SetName("ObjectFlow26"); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow26.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow26.SetSource(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_a_b3_result); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow26.SetTarget(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_b_p_object); + // LiteralBoolean LiteralBoolean27 + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow26_LiteralBoolean27.SetName("LiteralBoolean27"); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow26_LiteralBoolean27.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow26_LiteralBoolean27.SetValue(true); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow26.SetGuard(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow26_LiteralBoolean27); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity.AddEdge(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow26); + // ControlFlow ControlFlow29 from Read a.b1 to Read a.b2 + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ControlFlow29.SetName("ControlFlow29"); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ControlFlow29.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ControlFlow29.SetSource(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_a_b1); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ControlFlow29.SetTarget(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_a_b2); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity.AddEdge(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ControlFlow29); + // ObjectFlow ObjectFlow32 from result to object + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow32.SetName("ObjectFlow32"); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow32.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow32.SetSource(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_a_b1_result); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow32.SetTarget(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_b_p_object); + // LiteralBoolean LiteralBoolean33 + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow32_LiteralBoolean33.SetName("LiteralBoolean33"); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow32_LiteralBoolean33.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow32_LiteralBoolean33.SetValue(true); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow32.SetGuard(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow32_LiteralBoolean33); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity.AddEdge(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow32); + // ObjectFlow ObjectFlow39 from Fork a to object + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow39.SetName("ObjectFlow39"); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow39.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow39.SetSource(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Fork_a); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow39.SetTarget(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_a_b2_object); + // LiteralBoolean LiteralBoolean40 + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow39_LiteralBoolean40.SetName("LiteralBoolean40"); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow39_LiteralBoolean40.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow39_LiteralBoolean40.SetValue(true); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow39.SetGuard(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow39_LiteralBoolean40); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity.AddEdge(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow39); + // ObjectFlow ObjectFlow42 from Fork a to object + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow42.SetName("ObjectFlow42"); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow42.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow42.SetSource(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Fork_a); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow42.SetTarget(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_a_b3_object); + // LiteralBoolean LiteralBoolean43 + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow42_LiteralBoolean43.SetName("LiteralBoolean43"); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow42_LiteralBoolean43.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow42_LiteralBoolean43.SetValue(true); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow42.SetGuard(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow42_LiteralBoolean43); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity.AddEdge(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow42); + // ObjectFlow ObjectFlow51 from result to Fork a + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow51.SetName("ObjectFlow51"); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow51.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow51.SetSource(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_this_a_result); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow51.SetTarget(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Fork_a); + // LiteralBoolean LiteralBoolean52 + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow51_LiteralBoolean52.SetName("LiteralBoolean52"); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow51_LiteralBoolean52.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow51_LiteralBoolean52.SetValue(true); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow51.SetGuard(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow51_LiteralBoolean52); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity.AddEdge(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow51); + // ObjectFlow ObjectFlow54 from result to object + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow54.SetName("ObjectFlow54"); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow54.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow54.SetSource(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_a_b4_result); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow54.SetTarget(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_b_p_object); + // LiteralBoolean LiteralBoolean55 + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow54_LiteralBoolean55.SetName("LiteralBoolean55"); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow54_LiteralBoolean55.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow54_LiteralBoolean55.SetValue(true); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow54.SetGuard(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow54_LiteralBoolean55); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity.AddEdge(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow54); + // ObjectFlow ObjectFlow57 from result to object + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow57.SetName("ObjectFlow57"); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow57.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow57.SetSource(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_a_b2_result); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow57.SetTarget(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_Read_b_p_object); + // LiteralBoolean LiteralBoolean59 + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow57_LiteralBoolean59.SetName("LiteralBoolean59"); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow57_LiteralBoolean59.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow57_LiteralBoolean59.SetValue(true); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow57.SetGuard(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow57_LiteralBoolean59); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity.AddEdge(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_ObjectFlow57); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester.AddOwnedBehavior(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity); + // Activity TesterClassifierBehavior + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior.SetName("TesterClassifierBehavior"); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior.SetVisibility(VisibilityKind.public_); + // ForkNode Fork this + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Fork_this.SetName("Fork this"); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Fork_this.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior.AddNode(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Fork_this); + // ReadStructuralFeatureAction Read a.q + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Read_a_q.SetName("Read a.q"); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Read_a_q.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Read_a_q.SetStructuralFeature(MultipleDelegation_MultipleConnector_P_P_Signal_A_q); + // InputPin object + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Read_a_q_object.SetName("object"); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Read_a_q_object.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Read_a_q_object.SetType(MultipleDelegation_MultipleConnector_P_P_Signal_A); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Read_a_q.SetObject(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Read_a_q_object); + // OutputPin result + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Read_a_q_result.SetName("result"); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Read_a_q_result.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Read_a_q_result.SetType(MultipleDelegation_MultipleConnector_P_P_Signal_IImpl); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Read_a_q.SetResult(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Read_a_q_result); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior.AddNode(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Read_a_q); + // AcceptEventAction Accept Continue_3 + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_3.SetName("Accept Continue_3"); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_3.SetVisibility(VisibilityKind.public_); + // OutputPin result + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_3_result.SetName("result"); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_3_result.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_3_result.SetType(MultipleDelegation_MultipleConnector_P_P_Signal_Continue); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_3.AddResult(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_3_result); + // Trigger Trigger71 + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_3_Trigger71.SetName("Trigger71"); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_3_Trigger71.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_3_Trigger71.SetEvent(MultipleDelegation_MultipleConnector_P_P_Signal_ContinueEvent); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_3.AddTrigger(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_3_Trigger71); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior.AddNode(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_3); + // ReadStructuralFeatureAction Read this.a + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Read_this_a.SetName("Read this.a"); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Read_this_a.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Read_this_a.SetStructuralFeature(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_a); + // InputPin object + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Read_this_a_object.SetName("object"); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Read_this_a_object.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Read_this_a_object.SetType(MultipleDelegation_MultipleConnector_P_P_Signal_Tester); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Read_this_a.SetObject(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Read_this_a_object); + // OutputPin result + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Read_this_a_result.SetName("result"); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Read_this_a_result.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Read_this_a_result.SetType(MultipleDelegation_MultipleConnector_P_P_Signal_A); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Read_this_a.SetResult(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Read_this_a_result); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior.AddNode(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Read_this_a); + // SendSignalAction Send S + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Send_S.SetName("Send S"); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Send_S.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Send_S.SetSignal(MultipleDelegation_MultipleConnector_P_P_Signal_S); + // InputPin target + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Send_S_target.SetName("target"); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Send_S_target.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Send_S_target.SetType(MultipleDelegation_MultipleConnector_P_P_Signal_IImpl); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Send_S.SetTarget(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Send_S_target); + // InputPin v + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Send_S_v.SetName("v"); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Send_S_v.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Send_S_v.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Send_S.AddArgument(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Send_S_v); + // InputPin t + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Send_S_t.SetName("t"); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Send_S_t.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Send_S_t.SetType(MultipleDelegation_MultipleConnector_P_P_Signal_AbstractTester); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Send_S.AddArgument(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Send_S_t); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior.AddNode(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Send_S); + // AcceptEventAction Accept Continue_2 + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_2.SetName("Accept Continue_2"); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_2.SetVisibility(VisibilityKind.public_); + // OutputPin result + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_2_result.SetName("result"); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_2_result.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_2_result.SetType(MultipleDelegation_MultipleConnector_P_P_Signal_Continue); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_2.AddResult(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_2_result); + // Trigger Trigger119 + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_2_Trigger119.SetName("Trigger119"); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_2_Trigger119.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_2_Trigger119.SetEvent(MultipleDelegation_MultipleConnector_P_P_Signal_ContinueEvent); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_2.AddTrigger(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_2_Trigger119); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior.AddNode(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_2); + // AcceptEventAction Accept Start + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Start.SetName("Accept Start"); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Start.SetVisibility(VisibilityKind.public_); + // OutputPin result + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Start_result.SetName("result"); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Start_result.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Start_result.SetType(MultipleDelegation_MultipleConnector_P_P_Signal_Start); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Start.AddResult(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Start_result); + // Trigger Trigger76 + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Start_Trigger76.SetName("Trigger76"); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Start_Trigger76.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Start_Trigger76.SetEvent(MultipleDelegation_MultipleConnector_P_P_Signal_StartEvent); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Start.AddTrigger(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Start_Trigger76); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior.AddNode(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Start); + // ReadSelfAction this + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_this.SetName("this"); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_this.SetVisibility(VisibilityKind.public_); + // OutputPin result + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_this_result.SetName("result"); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_this_result.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_this_result.SetType(MultipleDelegation_MultipleConnector_P_P_Signal_Tester); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_this.SetResult(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_this_result); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior.AddNode(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_this); + // AcceptEventAction Accept Continue_4 + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_4.SetName("Accept Continue_4"); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_4.SetVisibility(VisibilityKind.public_); + // OutputPin result + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_4_result.SetName("result"); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_4_result.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_4_result.SetType(MultipleDelegation_MultipleConnector_P_P_Signal_Continue); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_4.AddResult(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_4_result); + // Trigger Trigger86 + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_4_Trigger86.SetName("Trigger86"); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_4_Trigger86.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_4_Trigger86.SetEvent(MultipleDelegation_MultipleConnector_P_P_Signal_ContinueEvent); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_4.AddTrigger(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_4_Trigger86); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior.AddNode(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_4); + // ValueSpecificationAction Value(4) + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Value_4.SetName("Value(4)"); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Value_4.SetVisibility(VisibilityKind.public_); + // LiteralInteger LiteralInteger89 + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Value_4_LiteralInteger89.SetName("LiteralInteger89"); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Value_4_LiteralInteger89.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Value_4_LiteralInteger89.SetValue(4); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Value_4.SetValue(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Value_4_LiteralInteger89); + // OutputPin result + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Value_4_result.SetName("result"); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Value_4_result.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Value_4_result.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Value_4.SetResult(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Value_4_result); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior.AddNode(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Value_4); + // CallOperationAction Call test() + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Call_test_.SetName("Call test()"); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Call_test_.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Call_test_.SetOperation(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_test); + // InputPin target + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Call_test__target.SetName("target"); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Call_test__target.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Call_test__target.SetType(MultipleDelegation_MultipleConnector_P_P_Signal_Tester); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Call_test_.SetTarget(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Call_test__target); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior.AddNode(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Call_test_); + // AcceptEventAction Accept Continue_1 + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_1.SetName("Accept Continue_1"); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_1.SetVisibility(VisibilityKind.public_); + // OutputPin result + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_1_result.SetName("result"); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_1_result.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_1_result.SetType(MultipleDelegation_MultipleConnector_P_P_Signal_Continue); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_1.AddResult(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_1_result); + // Trigger Trigger98 + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_1_Trigger98.SetName("Trigger98"); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_1_Trigger98.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_1_Trigger98.SetEvent(MultipleDelegation_MultipleConnector_P_P_Signal_ContinueEvent); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_1.AddTrigger(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_1_Trigger98); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior.AddNode(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_1); + // ControlFlow ControlFlow102 from Send S to Accept Continue_1 + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_ControlFlow102.SetName("ControlFlow102"); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_ControlFlow102.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_ControlFlow102.SetSource(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Send_S); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_ControlFlow102.SetTarget(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_1); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior.AddEdge(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_ControlFlow102); + // ObjectFlow ObjectFlow113 from Fork this to t + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow113.SetName("ObjectFlow113"); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow113.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow113.SetSource(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Fork_this); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow113.SetTarget(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Send_S_t); + // LiteralBoolean LiteralBoolean115 + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow113_LiteralBoolean115.SetName("LiteralBoolean115"); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow113_LiteralBoolean115.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow113_LiteralBoolean115.SetValue(true); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow113.SetGuard(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow113_LiteralBoolean115); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior.AddEdge(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow113); + // ObjectFlow ObjectFlow116 from result to object + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow116.SetName("ObjectFlow116"); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow116.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow116.SetSource(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Read_this_a_result); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow116.SetTarget(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Read_a_q_object); + // LiteralBoolean LiteralBoolean117 + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow116_LiteralBoolean117.SetName("LiteralBoolean117"); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow116_LiteralBoolean117.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow116_LiteralBoolean117.SetValue(true); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow116.SetGuard(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow116_LiteralBoolean117); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior.AddEdge(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow116); + // ObjectFlow ObjectFlow72 from result to v + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow72.SetName("ObjectFlow72"); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow72.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow72.SetSource(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Value_4_result); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow72.SetTarget(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Send_S_v); + // LiteralBoolean LiteralBoolean73 + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow72_LiteralBoolean73.SetName("LiteralBoolean73"); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow72_LiteralBoolean73.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow72_LiteralBoolean73.SetValue(true); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow72.SetGuard(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow72_LiteralBoolean73); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior.AddEdge(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow72); + // ControlFlow ControlFlow75 from Accept Continue_3 to Accept Continue_4 + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_ControlFlow75.SetName("ControlFlow75"); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_ControlFlow75.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_ControlFlow75.SetSource(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_3); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_ControlFlow75.SetTarget(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_4); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior.AddEdge(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_ControlFlow75); + // ObjectFlow ObjectFlow80 from Fork this to object + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow80.SetName("ObjectFlow80"); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow80.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow80.SetSource(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Fork_this); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow80.SetTarget(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Read_this_a_object); + // LiteralBoolean LiteralBoolean82 + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow80_LiteralBoolean82.SetName("LiteralBoolean82"); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow80_LiteralBoolean82.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow80_LiteralBoolean82.SetValue(true); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow80.SetGuard(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow80_LiteralBoolean82); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior.AddEdge(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow80); + // ControlFlow ControlFlow125 from Accept Continue_2 to Accept Continue_3 + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_ControlFlow125.SetName("ControlFlow125"); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_ControlFlow125.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_ControlFlow125.SetSource(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_2); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_ControlFlow125.SetTarget(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_3); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior.AddEdge(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_ControlFlow125); + // ObjectFlow ObjectFlow126 from result to Fork this + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow126.SetName("ObjectFlow126"); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow126.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow126.SetSource(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_this_result); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow126.SetTarget(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Fork_this); + // LiteralBoolean LiteralBoolean127 + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow126_LiteralBoolean127.SetName("LiteralBoolean127"); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow126_LiteralBoolean127.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow126_LiteralBoolean127.SetValue(true); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow126.SetGuard(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow126_LiteralBoolean127); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior.AddEdge(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow126); + // ControlFlow ControlFlow90 from Accept Start to this + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_ControlFlow90.SetName("ControlFlow90"); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_ControlFlow90.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_ControlFlow90.SetSource(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Start); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_ControlFlow90.SetTarget(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_this); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior.AddEdge(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_ControlFlow90); + // ObjectFlow ObjectFlow129 from result to target + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow129.SetName("ObjectFlow129"); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow129.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow129.SetSource(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Read_a_q_result); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow129.SetTarget(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Send_S_target); + // LiteralBoolean LiteralBoolean130 + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow129_LiteralBoolean130.SetName("LiteralBoolean130"); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow129_LiteralBoolean130.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow129_LiteralBoolean130.SetValue(true); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow129.SetGuard(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow129_LiteralBoolean130); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior.AddEdge(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow129); + // ControlFlow ControlFlow93 from Accept Continue_4 to Call test() + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_ControlFlow93.SetName("ControlFlow93"); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_ControlFlow93.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_ControlFlow93.SetSource(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_4); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_ControlFlow93.SetTarget(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Call_test_); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior.AddEdge(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_ControlFlow93); + // ObjectFlow ObjectFlow94 from Fork this to target + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow94.SetName("ObjectFlow94"); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow94.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow94.SetSource(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Fork_this); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow94.SetTarget(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Call_test__target); + // LiteralBoolean LiteralBoolean96 + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow94_LiteralBoolean96.SetName("LiteralBoolean96"); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow94_LiteralBoolean96.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow94_LiteralBoolean96.SetValue(true); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow94.SetGuard(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow94_LiteralBoolean96); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior.AddEdge(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_ObjectFlow94); + // ControlFlow ControlFlow97 from Accept Continue_1 to Accept Continue_2 + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_ControlFlow97.SetName("ControlFlow97"); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_ControlFlow97.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_ControlFlow97.SetSource(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_1); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_ControlFlow97.SetTarget(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_Accept_Continue_2); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior.AddEdge(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior_ControlFlow97); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester.AddOwnedBehavior(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_TesterClassifierBehavior); + + MultipleDelegation_MultipleConnector_P_P_Signal_Tester.SetIsActive(true); + // Operation Tester_Tester + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_Tester_Tester.SetName("Tester_Tester"); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_Tester_Tester.SetVisibility(VisibilityKind.public_); + // Parameter result + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_Tester_Tester_result.SetName("result"); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_Tester_Tester_result.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_Tester_Tester_result.SetType(MultipleDelegation_MultipleConnector_P_P_Signal_Tester); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_Tester_Tester_result.SetDirection(ParameterDirectionKind.return_); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_Tester_Tester.AddOwnedParameter(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_Tester_Tester_result); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_Tester_Tester.ApplyStereotype(uml.standardprofile.StandardProfileModel.Instance().Stereotype_Create); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester.AddOwnedOperation(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_Tester_Tester); + // Operation test + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_test.SetName("test"); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_test.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester_test.AddMethod(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity); + MultipleDelegation_MultipleConnector_P_P_Signal_Tester.AddOwnedOperation(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_test); + MultipleDelegation_MultipleConnector_P_P_Signal.AddPackagedElement(MultipleDelegation_MultipleConnector_P_P_Signal_Tester); + // Signal Continue + MultipleDelegation_MultipleConnector_P_P_Signal_Continue.SetName("Continue"); + MultipleDelegation_MultipleConnector_P_P_Signal_Continue.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Signal.AddPackagedElement(MultipleDelegation_MultipleConnector_P_P_Signal_Continue); + // Activity main + MultipleDelegation_MultipleConnector_P_P_Signal_main.SetName("main"); + MultipleDelegation_MultipleConnector_P_P_Signal_main.SetVisibility(VisibilityKind.public_); + // CreateObjectAction Create Tester + MultipleDelegation_MultipleConnector_P_P_Signal_main_Create_Tester.SetName("Create Tester"); + MultipleDelegation_MultipleConnector_P_P_Signal_main_Create_Tester.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Signal_main_Create_Tester.SetClassifier(MultipleDelegation_MultipleConnector_P_P_Signal_Tester); + // OutputPin result + MultipleDelegation_MultipleConnector_P_P_Signal_main_Create_Tester_result.SetName("result"); + MultipleDelegation_MultipleConnector_P_P_Signal_main_Create_Tester_result.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Signal_main_Create_Tester_result.SetType(MultipleDelegation_MultipleConnector_P_P_Signal_Tester); + MultipleDelegation_MultipleConnector_P_P_Signal_main_Create_Tester.SetResult(MultipleDelegation_MultipleConnector_P_P_Signal_main_Create_Tester_result); + MultipleDelegation_MultipleConnector_P_P_Signal_main.AddNode(MultipleDelegation_MultipleConnector_P_P_Signal_main_Create_Tester); + // StartObjectBehaviorAction Start Tester + MultipleDelegation_MultipleConnector_P_P_Signal_main_Start_Tester.SetName("Start Tester"); + MultipleDelegation_MultipleConnector_P_P_Signal_main_Start_Tester.SetVisibility(VisibilityKind.public_); + // InputPin object + MultipleDelegation_MultipleConnector_P_P_Signal_main_Start_Tester_object.SetName("object"); + MultipleDelegation_MultipleConnector_P_P_Signal_main_Start_Tester_object.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Signal_main_Start_Tester.SetObject(MultipleDelegation_MultipleConnector_P_P_Signal_main_Start_Tester_object); + MultipleDelegation_MultipleConnector_P_P_Signal_main.AddNode(MultipleDelegation_MultipleConnector_P_P_Signal_main_Start_Tester); + // CallOperationAction Tester() + MultipleDelegation_MultipleConnector_P_P_Signal_main_Tester_.SetName("Tester()"); + MultipleDelegation_MultipleConnector_P_P_Signal_main_Tester_.SetVisibility(VisibilityKind.public_); + + // OutputPin result + MultipleDelegation_MultipleConnector_P_P_Signal_main_Tester__result.SetName("result"); + MultipleDelegation_MultipleConnector_P_P_Signal_main_Tester__result.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Signal_main_Tester__result.SetType(MultipleDelegation_MultipleConnector_P_P_Signal_Tester); + MultipleDelegation_MultipleConnector_P_P_Signal_main_Tester_.AddResult(MultipleDelegation_MultipleConnector_P_P_Signal_main_Tester__result); + MultipleDelegation_MultipleConnector_P_P_Signal_main_Tester_.SetOperation(MultipleDelegation_MultipleConnector_P_P_Signal_Tester_Tester_Tester); + // InputPin target + MultipleDelegation_MultipleConnector_P_P_Signal_main_Tester__target.SetName("target"); + MultipleDelegation_MultipleConnector_P_P_Signal_main_Tester__target.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Signal_main_Tester__target.SetType(MultipleDelegation_MultipleConnector_P_P_Signal_Tester); + MultipleDelegation_MultipleConnector_P_P_Signal_main_Tester_.SetTarget(MultipleDelegation_MultipleConnector_P_P_Signal_main_Tester__target); + MultipleDelegation_MultipleConnector_P_P_Signal_main.AddNode(MultipleDelegation_MultipleConnector_P_P_Signal_main_Tester_); + // ForkNode Fork Tester + MultipleDelegation_MultipleConnector_P_P_Signal_main_Fork_Tester.SetName("Fork Tester"); + MultipleDelegation_MultipleConnector_P_P_Signal_main_Fork_Tester.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Signal_main.AddNode(MultipleDelegation_MultipleConnector_P_P_Signal_main_Fork_Tester); + // SendSignalAction Send Start + MultipleDelegation_MultipleConnector_P_P_Signal_main_Send_Start.SetName("Send Start"); + MultipleDelegation_MultipleConnector_P_P_Signal_main_Send_Start.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Signal_main_Send_Start.SetSignal(MultipleDelegation_MultipleConnector_P_P_Signal_Start); + // InputPin target + MultipleDelegation_MultipleConnector_P_P_Signal_main_Send_Start_target.SetName("target"); + MultipleDelegation_MultipleConnector_P_P_Signal_main_Send_Start_target.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Signal_main_Send_Start_target.SetType(MultipleDelegation_MultipleConnector_P_P_Signal_Tester); + MultipleDelegation_MultipleConnector_P_P_Signal_main_Send_Start.SetTarget(MultipleDelegation_MultipleConnector_P_P_Signal_main_Send_Start_target); + MultipleDelegation_MultipleConnector_P_P_Signal_main.AddNode(MultipleDelegation_MultipleConnector_P_P_Signal_main_Send_Start); + // ControlFlow ControlFlow134 from Start Tester to Send Start + MultipleDelegation_MultipleConnector_P_P_Signal_main_ControlFlow134.SetName("ControlFlow134"); + MultipleDelegation_MultipleConnector_P_P_Signal_main_ControlFlow134.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_P_Signal_main_ControlFlow134.SetSource(MultipleDelegation_MultipleConnector_P_P_Signal_main_Start_Tester); + MultipleDelegation_MultipleConnector_P_P_Signal_main_ControlFlow134.SetTarget(MultipleDelegation_MultipleConnector_P_P_Signal_main_Send_Start); + MultipleDelegation_MultipleConnector_P_P_Signal_main.AddEdge(MultipleDelegation_MultipleConnector_P_P_Signal_main_ControlFlow134); + // ObjectFlow ObjectFlow142 from result to target + MultipleDelegation_MultipleConnector_P_P_Signal_main_ObjectFlow142.SetName("ObjectFlow142"); + MultipleDelegation_MultipleConnector_P_P_Signal_main_ObjectFlow142.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_P_Signal_main_ObjectFlow142.SetSource(MultipleDelegation_MultipleConnector_P_P_Signal_main_Create_Tester_result); + MultipleDelegation_MultipleConnector_P_P_Signal_main_ObjectFlow142.SetTarget(MultipleDelegation_MultipleConnector_P_P_Signal_main_Tester__target); + // LiteralBoolean LiteralBoolean143 + MultipleDelegation_MultipleConnector_P_P_Signal_main_ObjectFlow142_LiteralBoolean143.SetName("LiteralBoolean143"); + MultipleDelegation_MultipleConnector_P_P_Signal_main_ObjectFlow142_LiteralBoolean143.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Signal_main_ObjectFlow142_LiteralBoolean143.SetValue(true); + MultipleDelegation_MultipleConnector_P_P_Signal_main_ObjectFlow142.SetGuard(MultipleDelegation_MultipleConnector_P_P_Signal_main_ObjectFlow142_LiteralBoolean143); + MultipleDelegation_MultipleConnector_P_P_Signal_main.AddEdge(MultipleDelegation_MultipleConnector_P_P_Signal_main_ObjectFlow142); + // ObjectFlow ObjectFlow147 from Fork Tester to target + MultipleDelegation_MultipleConnector_P_P_Signal_main_ObjectFlow147.SetName("ObjectFlow147"); + MultipleDelegation_MultipleConnector_P_P_Signal_main_ObjectFlow147.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_P_Signal_main_ObjectFlow147.SetSource(MultipleDelegation_MultipleConnector_P_P_Signal_main_Fork_Tester); + MultipleDelegation_MultipleConnector_P_P_Signal_main_ObjectFlow147.SetTarget(MultipleDelegation_MultipleConnector_P_P_Signal_main_Send_Start_target); + // LiteralBoolean LiteralBoolean149 + MultipleDelegation_MultipleConnector_P_P_Signal_main_ObjectFlow147_LiteralBoolean149.SetName("LiteralBoolean149"); + MultipleDelegation_MultipleConnector_P_P_Signal_main_ObjectFlow147_LiteralBoolean149.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Signal_main_ObjectFlow147_LiteralBoolean149.SetValue(true); + MultipleDelegation_MultipleConnector_P_P_Signal_main_ObjectFlow147.SetGuard(MultipleDelegation_MultipleConnector_P_P_Signal_main_ObjectFlow147_LiteralBoolean149); + MultipleDelegation_MultipleConnector_P_P_Signal_main.AddEdge(MultipleDelegation_MultipleConnector_P_P_Signal_main_ObjectFlow147); + // ObjectFlow ObjectFlow150 from result to Fork Tester + MultipleDelegation_MultipleConnector_P_P_Signal_main_ObjectFlow150.SetName("ObjectFlow150"); + MultipleDelegation_MultipleConnector_P_P_Signal_main_ObjectFlow150.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_P_Signal_main_ObjectFlow150.SetSource(MultipleDelegation_MultipleConnector_P_P_Signal_main_Tester__result); + MultipleDelegation_MultipleConnector_P_P_Signal_main_ObjectFlow150.SetTarget(MultipleDelegation_MultipleConnector_P_P_Signal_main_Fork_Tester); + // LiteralBoolean LiteralBoolean151 + MultipleDelegation_MultipleConnector_P_P_Signal_main_ObjectFlow150_LiteralBoolean151.SetName("LiteralBoolean151"); + MultipleDelegation_MultipleConnector_P_P_Signal_main_ObjectFlow150_LiteralBoolean151.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Signal_main_ObjectFlow150_LiteralBoolean151.SetValue(true); + MultipleDelegation_MultipleConnector_P_P_Signal_main_ObjectFlow150.SetGuard(MultipleDelegation_MultipleConnector_P_P_Signal_main_ObjectFlow150_LiteralBoolean151); + MultipleDelegation_MultipleConnector_P_P_Signal_main.AddEdge(MultipleDelegation_MultipleConnector_P_P_Signal_main_ObjectFlow150); + // ObjectFlow ObjectFlow153 from Fork Tester to object + MultipleDelegation_MultipleConnector_P_P_Signal_main_ObjectFlow153.SetName("ObjectFlow153"); + MultipleDelegation_MultipleConnector_P_P_Signal_main_ObjectFlow153.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_P_Signal_main_ObjectFlow153.SetSource(MultipleDelegation_MultipleConnector_P_P_Signal_main_Fork_Tester); + MultipleDelegation_MultipleConnector_P_P_Signal_main_ObjectFlow153.SetTarget(MultipleDelegation_MultipleConnector_P_P_Signal_main_Start_Tester_object); + // LiteralBoolean LiteralBoolean155 + MultipleDelegation_MultipleConnector_P_P_Signal_main_ObjectFlow153_LiteralBoolean155.SetName("LiteralBoolean155"); + MultipleDelegation_MultipleConnector_P_P_Signal_main_ObjectFlow153_LiteralBoolean155.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Signal_main_ObjectFlow153_LiteralBoolean155.SetValue(true); + MultipleDelegation_MultipleConnector_P_P_Signal_main_ObjectFlow153.SetGuard(MultipleDelegation_MultipleConnector_P_P_Signal_main_ObjectFlow153_LiteralBoolean155); + MultipleDelegation_MultipleConnector_P_P_Signal_main.AddEdge(MultipleDelegation_MultipleConnector_P_P_Signal_main_ObjectFlow153); + MultipleDelegation_MultipleConnector_P_P_Signal.AddPackagedElement(MultipleDelegation_MultipleConnector_P_P_Signal_main); + // Class A + MultipleDelegation_MultipleConnector_P_P_Signal_A.SetName("A"); + MultipleDelegation_MultipleConnector_P_P_Signal_A.SetVisibility(VisibilityKind.public_); + + // Port q + MultipleDelegation_MultipleConnector_P_P_Signal_A_q.SetName("q"); + MultipleDelegation_MultipleConnector_P_P_Signal_A_q.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_P_Signal_A_q.SetType(MultipleDelegation_MultipleConnector_P_P_Signal_IImpl); + MultipleDelegation_MultipleConnector_P_P_Signal_A_q.SetAggregation(AggregationKind.composite); + MultipleDelegation_MultipleConnector_P_P_Signal_A_q.isService = true; + MultipleDelegation_MultipleConnector_P_P_Signal_A_q.AddProvided(MultipleDelegation_MultipleConnector_P_P_Signal_I); + MultipleDelegation_MultipleConnector_P_P_Signal_A.AddOwnedAttribute(MultipleDelegation_MultipleConnector_P_P_Signal_A_q); + // Property b1 + MultipleDelegation_MultipleConnector_P_P_Signal_A_b1.SetName("b1"); + MultipleDelegation_MultipleConnector_P_P_Signal_A_b1.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_P_Signal_A_b1.SetType(MultipleDelegation_MultipleConnector_P_P_Signal_B); + MultipleDelegation_MultipleConnector_P_P_Signal_A_b1.SetAggregation(AggregationKind.composite); + MultipleDelegation_MultipleConnector_P_P_Signal_A.AddOwnedAttribute(MultipleDelegation_MultipleConnector_P_P_Signal_A_b1); + // Property b2 + MultipleDelegation_MultipleConnector_P_P_Signal_A_b2.SetName("b2"); + MultipleDelegation_MultipleConnector_P_P_Signal_A_b2.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_P_Signal_A_b2.SetType(MultipleDelegation_MultipleConnector_P_P_Signal_B); + MultipleDelegation_MultipleConnector_P_P_Signal_A_b2.SetAggregation(AggregationKind.composite); + MultipleDelegation_MultipleConnector_P_P_Signal_A.AddOwnedAttribute(MultipleDelegation_MultipleConnector_P_P_Signal_A_b2); + // Property b3 + MultipleDelegation_MultipleConnector_P_P_Signal_A_b3.SetName("b3"); + MultipleDelegation_MultipleConnector_P_P_Signal_A_b3.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_P_Signal_A_b3.SetType(MultipleDelegation_MultipleConnector_P_P_Signal_B); + MultipleDelegation_MultipleConnector_P_P_Signal_A_b3.SetAggregation(AggregationKind.composite); + MultipleDelegation_MultipleConnector_P_P_Signal_A.AddOwnedAttribute(MultipleDelegation_MultipleConnector_P_P_Signal_A_b3); + // Property b4 + MultipleDelegation_MultipleConnector_P_P_Signal_A_b4.SetName("b4"); + MultipleDelegation_MultipleConnector_P_P_Signal_A_b4.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_P_Signal_A_b4.SetType(MultipleDelegation_MultipleConnector_P_P_Signal_B); + MultipleDelegation_MultipleConnector_P_P_Signal_A_b4.SetAggregation(AggregationKind.composite); + MultipleDelegation_MultipleConnector_P_P_Signal_A.AddOwnedAttribute(MultipleDelegation_MultipleConnector_P_P_Signal_A_b4); + + MultipleDelegation_MultipleConnector_P_P_Signal_A_r2.SetName("r2"); + MultipleDelegation_MultipleConnector_P_P_Signal_A_r2.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_P_Signal_A_r2_ConnectorEnd161.SetRole(MultipleDelegation_MultipleConnector_P_P_Signal_A_q); + + MultipleDelegation_MultipleConnector_P_P_Signal_A_r2.AddEnd(MultipleDelegation_MultipleConnector_P_P_Signal_A_r2_ConnectorEnd161); + + MultipleDelegation_MultipleConnector_P_P_Signal_A_r2_ConnectorEnd160.SetRole(MultipleDelegation_MultipleConnector_P_P_Signal_A_b2); + + MultipleDelegation_MultipleConnector_P_P_Signal_A_r2.AddEnd(MultipleDelegation_MultipleConnector_P_P_Signal_A_r2_ConnectorEnd160); + MultipleDelegation_MultipleConnector_P_P_Signal_A.AddOwnedConnector(MultipleDelegation_MultipleConnector_P_P_Signal_A_r2); + MultipleDelegation_MultipleConnector_P_P_Signal_A_r1.SetName("r1"); + MultipleDelegation_MultipleConnector_P_P_Signal_A_r1.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_P_Signal_A_r1_ConnectorEnd164.SetRole(MultipleDelegation_MultipleConnector_P_P_Signal_A_q); + + MultipleDelegation_MultipleConnector_P_P_Signal_A_r1.AddEnd(MultipleDelegation_MultipleConnector_P_P_Signal_A_r1_ConnectorEnd164); + + MultipleDelegation_MultipleConnector_P_P_Signal_A_r1_ConnectorEnd166.SetRole(MultipleDelegation_MultipleConnector_P_P_Signal_A_b1); + + MultipleDelegation_MultipleConnector_P_P_Signal_A_r1.AddEnd(MultipleDelegation_MultipleConnector_P_P_Signal_A_r1_ConnectorEnd166); + MultipleDelegation_MultipleConnector_P_P_Signal_A_r1.SetType(MultipleDelegation_MultipleConnector_P_P_Signal_R); + MultipleDelegation_MultipleConnector_P_P_Signal_A.AddOwnedConnector(MultipleDelegation_MultipleConnector_P_P_Signal_A_r1); + MultipleDelegation_MultipleConnector_P_P_Signal_A_r3.SetName("r3"); + MultipleDelegation_MultipleConnector_P_P_Signal_A_r3.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_P_Signal_A_r3_ConnectorEnd169.SetRole(MultipleDelegation_MultipleConnector_P_P_Signal_A_q); + + MultipleDelegation_MultipleConnector_P_P_Signal_A_r3.AddEnd(MultipleDelegation_MultipleConnector_P_P_Signal_A_r3_ConnectorEnd169); + + MultipleDelegation_MultipleConnector_P_P_Signal_A_r3_ConnectorEnd170.SetRole(MultipleDelegation_MultipleConnector_P_P_Signal_A_b3); + + MultipleDelegation_MultipleConnector_P_P_Signal_A_r3.AddEnd(MultipleDelegation_MultipleConnector_P_P_Signal_A_r3_ConnectorEnd170); + MultipleDelegation_MultipleConnector_P_P_Signal_A.AddOwnedConnector(MultipleDelegation_MultipleConnector_P_P_Signal_A_r3); + MultipleDelegation_MultipleConnector_P_P_Signal_A_r4.SetName("r4"); + MultipleDelegation_MultipleConnector_P_P_Signal_A_r4.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_P_Signal_A_r4_ConnectorEnd172.SetRole(MultipleDelegation_MultipleConnector_P_P_Signal_A_q); + + MultipleDelegation_MultipleConnector_P_P_Signal_A_r4.AddEnd(MultipleDelegation_MultipleConnector_P_P_Signal_A_r4_ConnectorEnd172); + + MultipleDelegation_MultipleConnector_P_P_Signal_A_r4_ConnectorEnd171.SetRole(MultipleDelegation_MultipleConnector_P_P_Signal_A_b4); + + MultipleDelegation_MultipleConnector_P_P_Signal_A_r4.AddEnd(MultipleDelegation_MultipleConnector_P_P_Signal_A_r4_ConnectorEnd171); + MultipleDelegation_MultipleConnector_P_P_Signal_A.AddOwnedConnector(MultipleDelegation_MultipleConnector_P_P_Signal_A_r4); + // Operation A_A + MultipleDelegation_MultipleConnector_P_P_Signal_A_A_A.SetName("A_A"); + MultipleDelegation_MultipleConnector_P_P_Signal_A_A_A.SetVisibility(VisibilityKind.public_); + // Parameter result + MultipleDelegation_MultipleConnector_P_P_Signal_A_A_A_result.SetName("result"); + MultipleDelegation_MultipleConnector_P_P_Signal_A_A_A_result.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_P_Signal_A_A_A_result.SetType(MultipleDelegation_MultipleConnector_P_P_Signal_A); + MultipleDelegation_MultipleConnector_P_P_Signal_A_A_A_result.SetDirection(ParameterDirectionKind.return_); + MultipleDelegation_MultipleConnector_P_P_Signal_A_A_A.AddOwnedParameter(MultipleDelegation_MultipleConnector_P_P_Signal_A_A_A_result); + MultipleDelegation_MultipleConnector_P_P_Signal_A_A_A.ApplyStereotype(uml.standardprofile.StandardProfileModel.Instance().Stereotype_Create); + MultipleDelegation_MultipleConnector_P_P_Signal_A.AddOwnedOperation(MultipleDelegation_MultipleConnector_P_P_Signal_A_A_A); + MultipleDelegation_MultipleConnector_P_P_Signal.AddPackagedElement(MultipleDelegation_MultipleConnector_P_P_Signal_A); + // Signal S + MultipleDelegation_MultipleConnector_P_P_Signal_S.SetName("S"); + MultipleDelegation_MultipleConnector_P_P_Signal_S.SetVisibility(VisibilityKind.public_); + + // Property v + MultipleDelegation_MultipleConnector_P_P_Signal_S_v.SetName("v"); + MultipleDelegation_MultipleConnector_P_P_Signal_S_v.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_P_Signal_S_v.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + MultipleDelegation_MultipleConnector_P_P_Signal_S.AddOwnedAttribute(MultipleDelegation_MultipleConnector_P_P_Signal_S_v); + // Property t + MultipleDelegation_MultipleConnector_P_P_Signal_S_t.SetName("t"); + MultipleDelegation_MultipleConnector_P_P_Signal_S_t.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_P_Signal_S_t.SetType(MultipleDelegation_MultipleConnector_P_P_Signal_AbstractTester); + MultipleDelegation_MultipleConnector_P_P_Signal_S.AddOwnedAttribute(MultipleDelegation_MultipleConnector_P_P_Signal_S_t); + MultipleDelegation_MultipleConnector_P_P_Signal.AddPackagedElement(MultipleDelegation_MultipleConnector_P_P_Signal_S); + // Interface I + MultipleDelegation_MultipleConnector_P_P_Signal_I.SetName("I"); + MultipleDelegation_MultipleConnector_P_P_Signal_I.SetVisibility(VisibilityKind.public_); + // Reception S + MultipleDelegation_MultipleConnector_P_P_Signal_I_S.SetName("S"); + MultipleDelegation_MultipleConnector_P_P_Signal_I_S.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Signal_I_S.SetSignal(MultipleDelegation_MultipleConnector_P_P_Signal_S); + MultipleDelegation_MultipleConnector_P_P_Signal_I.AddOwnedReception(MultipleDelegation_MultipleConnector_P_P_Signal_I_S); + MultipleDelegation_MultipleConnector_P_P_Signal.AddPackagedElement(MultipleDelegation_MultipleConnector_P_P_Signal_I); + // Class B + MultipleDelegation_MultipleConnector_P_P_Signal_B.SetName("B"); + MultipleDelegation_MultipleConnector_P_P_Signal_B.SetVisibility(VisibilityKind.public_); + + // Property p + MultipleDelegation_MultipleConnector_P_P_Signal_B_p.SetName("p"); + MultipleDelegation_MultipleConnector_P_P_Signal_B_p.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_P_Signal_B_p.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + MultipleDelegation_MultipleConnector_P_P_Signal_B.AddOwnedAttribute(MultipleDelegation_MultipleConnector_P_P_Signal_B_p); + MultipleDelegation_MultipleConnector_P_P_Signal_B.SetClassifierBehavior(MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior); + // Activity BClassifierBehavior + MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior.SetName("BClassifierBehavior"); + MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior.SetVisibility(VisibilityKind.public_); + // AcceptEventAction Accept S + MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_Accept_S.SetName("Accept S"); + MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_Accept_S.SetVisibility(VisibilityKind.public_); + // OutputPin s + MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_Accept_S_s.SetName("s"); + MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_Accept_S_s.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_Accept_S_s.SetType(MultipleDelegation_MultipleConnector_P_P_Signal_S); + MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_Accept_S.AddResult(MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_Accept_S_s); + // Trigger Trigger185 + MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_Accept_S_Trigger185.SetName("Trigger185"); + MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_Accept_S_Trigger185.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_Accept_S_Trigger185.SetEvent(MultipleDelegation_MultipleConnector_P_P_Signal_SEvent); + MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_Accept_S.AddTrigger(MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_Accept_S_Trigger185); + MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior.AddNode(MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_Accept_S); + // AddStructuralFeatureValueAction Set this.p + MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_Set_this_p.SetName("Set this.p"); + MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_Set_this_p.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_Set_this_p.SetStructuralFeature(MultipleDelegation_MultipleConnector_P_P_Signal_B_p); + // InputPin object + MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_Set_this_p_object.SetName("object"); + MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_Set_this_p_object.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_Set_this_p_object.SetType(MultipleDelegation_MultipleConnector_P_P_Signal_B); + MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_Set_this_p.SetObject(MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_Set_this_p_object); + // InputPin value + MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_Set_this_p_value.SetName("value"); + MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_Set_this_p_value.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_Set_this_p_value.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_Set_this_p.SetValue(MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_Set_this_p_value); + // OutputPin result + MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_Set_this_p_result.SetName("result"); + MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_Set_this_p_result.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_Set_this_p_result.SetType(MultipleDelegation_MultipleConnector_P_P_Signal_B); + MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_Set_this_p.SetResult(MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_Set_this_p_result); + MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior.AddNode(MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_Set_this_p); + // SendSignalAction Send Continue + MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_Send_Continue.SetName("Send Continue"); + MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_Send_Continue.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_Send_Continue.SetSignal(MultipleDelegation_MultipleConnector_P_P_Signal_Continue); + // InputPin target + MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_Send_Continue_target.SetName("target"); + MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_Send_Continue_target.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_Send_Continue_target.SetType(MultipleDelegation_MultipleConnector_P_P_Signal_AbstractTester); + MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_Send_Continue.SetTarget(MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_Send_Continue_target); + MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior.AddNode(MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_Send_Continue); + // ReadStructuralFeatureAction Read s.v + MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_Read_s_v.SetName("Read s.v"); + MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_Read_s_v.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_Read_s_v.SetStructuralFeature(MultipleDelegation_MultipleConnector_P_P_Signal_S_v); + // InputPin object + MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_Read_s_v_object.SetName("object"); + MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_Read_s_v_object.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_Read_s_v.SetObject(MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_Read_s_v_object); + // OutputPin result + MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_Read_s_v_result.SetName("result"); + MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_Read_s_v_result.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_Read_s_v_result.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_Read_s_v.SetResult(MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_Read_s_v_result); + MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior.AddNode(MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_Read_s_v); + // ReadStructuralFeatureAction Read s.t + MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_Read_s_t.SetName("Read s.t"); + MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_Read_s_t.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_Read_s_t.SetStructuralFeature(MultipleDelegation_MultipleConnector_P_P_Signal_S_t); + // InputPin object + MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_Read_s_t_object.SetName("object"); + MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_Read_s_t_object.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_Read_s_t.SetObject(MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_Read_s_t_object); + // OutputPin result + MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_Read_s_t_result.SetName("result"); + MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_Read_s_t_result.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_Read_s_t_result.SetType(MultipleDelegation_MultipleConnector_P_P_Signal_AbstractTester); + MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_Read_s_t.SetResult(MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_Read_s_t_result); + MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior.AddNode(MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_Read_s_t); + // ReadSelfAction this + MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_this.SetName("this"); + MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_this.SetVisibility(VisibilityKind.public_); + // OutputPin result + MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_this_result.SetName("result"); + MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_this_result.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_this_result.SetType(MultipleDelegation_MultipleConnector_P_P_Signal_B); + MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_this.SetResult(MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_this_result); + MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior.AddNode(MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_this); + // ForkNode Fork s + MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_Fork_s.SetName("Fork s"); + MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_Fork_s.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior.AddNode(MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_Fork_s); + // ObjectFlow ObjectFlow175 from result to target + MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow175.SetName("ObjectFlow175"); + MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow175.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow175.SetSource(MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_Read_s_t_result); + MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow175.SetTarget(MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_Send_Continue_target); + // LiteralBoolean LiteralBoolean176 + MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow175_LiteralBoolean176.SetName("LiteralBoolean176"); + MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow175_LiteralBoolean176.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow175_LiteralBoolean176.SetValue(true); + MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow175.SetGuard(MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow175_LiteralBoolean176); + MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior.AddEdge(MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow175); + // ObjectFlow ObjectFlow197 from Fork s to object + MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow197.SetName("ObjectFlow197"); + MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow197.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow197.SetSource(MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_Fork_s); + MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow197.SetTarget(MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_Read_s_t_object); + // LiteralBoolean LiteralBoolean198 + MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow197_LiteralBoolean198.SetName("LiteralBoolean198"); + MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow197_LiteralBoolean198.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow197_LiteralBoolean198.SetValue(true); + MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow197.SetGuard(MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow197_LiteralBoolean198); + MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior.AddEdge(MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow197); + // ObjectFlow ObjectFlow178 from result to value + MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow178.SetName("ObjectFlow178"); + MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow178.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow178.SetSource(MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_Read_s_v_result); + MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow178.SetTarget(MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_Set_this_p_value); + // LiteralBoolean LiteralBoolean179 + MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow178_LiteralBoolean179.SetName("LiteralBoolean179"); + MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow178_LiteralBoolean179.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow178_LiteralBoolean179.SetValue(true); + MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow178.SetGuard(MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow178_LiteralBoolean179); + MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior.AddEdge(MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow178); + // ObjectFlow ObjectFlow200 from result to object + MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow200.SetName("ObjectFlow200"); + MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow200.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow200.SetSource(MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_this_result); + MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow200.SetTarget(MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_Set_this_p_object); + // LiteralBoolean LiteralBoolean201 + MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow200_LiteralBoolean201.SetName("LiteralBoolean201"); + MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow200_LiteralBoolean201.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow200_LiteralBoolean201.SetValue(true); + MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow200.SetGuard(MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow200_LiteralBoolean201); + MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior.AddEdge(MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow200); + // ControlFlow ControlFlow181 from Set this.p to Send Continue + MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_ControlFlow181.SetName("ControlFlow181"); + MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_ControlFlow181.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_ControlFlow181.SetSource(MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_Set_this_p); + MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_ControlFlow181.SetTarget(MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_Send_Continue); + MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior.AddEdge(MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_ControlFlow181); + // ObjectFlow ObjectFlow182 from s to Fork s + MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow182.SetName("ObjectFlow182"); + MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow182.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow182.SetSource(MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_Accept_S_s); + MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow182.SetTarget(MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_Fork_s); + // LiteralBoolean LiteralBoolean184 + MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow182_LiteralBoolean184.SetName("LiteralBoolean184"); + MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow182_LiteralBoolean184.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow182_LiteralBoolean184.SetValue(true); + MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow182.SetGuard(MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow182_LiteralBoolean184); + MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior.AddEdge(MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow182); + // ObjectFlow ObjectFlow213 from Fork s to object + MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow213.SetName("ObjectFlow213"); + MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow213.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow213.SetSource(MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_Fork_s); + MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow213.SetTarget(MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_Read_s_v_object); + // LiteralBoolean LiteralBoolean214 + MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow213_LiteralBoolean214.SetName("LiteralBoolean214"); + MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow213_LiteralBoolean214.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow213_LiteralBoolean214.SetValue(true); + MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow213.SetGuard(MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow213_LiteralBoolean214); + MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior.AddEdge(MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior_ObjectFlow213); + MultipleDelegation_MultipleConnector_P_P_Signal_B.AddOwnedBehavior(MultipleDelegation_MultipleConnector_P_P_Signal_B_BClassifierBehavior); + MultipleDelegation_MultipleConnector_P_P_Signal_B_IRealization.SetName("IRealization"); + MultipleDelegation_MultipleConnector_P_P_Signal_B_IRealization.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Signal_B_IRealization.SetContract(MultipleDelegation_MultipleConnector_P_P_Signal_I); + + MultipleDelegation_MultipleConnector_P_P_Signal_B.AddInterfaceRealization(MultipleDelegation_MultipleConnector_P_P_Signal_B_IRealization); + + MultipleDelegation_MultipleConnector_P_P_Signal_B.SetIsActive(true); + // Operation B_B + MultipleDelegation_MultipleConnector_P_P_Signal_B_B_B.SetName("B_B"); + MultipleDelegation_MultipleConnector_P_P_Signal_B_B_B.SetVisibility(VisibilityKind.public_); + // Parameter result + MultipleDelegation_MultipleConnector_P_P_Signal_B_B_B_result.SetName("result"); + MultipleDelegation_MultipleConnector_P_P_Signal_B_B_B_result.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_P_Signal_B_B_B_result.SetType(MultipleDelegation_MultipleConnector_P_P_Signal_B); + MultipleDelegation_MultipleConnector_P_P_Signal_B_B_B_result.SetDirection(ParameterDirectionKind.return_); + MultipleDelegation_MultipleConnector_P_P_Signal_B_B_B.AddOwnedParameter(MultipleDelegation_MultipleConnector_P_P_Signal_B_B_B_result); + MultipleDelegation_MultipleConnector_P_P_Signal_B_B_B.ApplyStereotype(uml.standardprofile.StandardProfileModel.Instance().Stereotype_Create); + MultipleDelegation_MultipleConnector_P_P_Signal_B.AddOwnedOperation(MultipleDelegation_MultipleConnector_P_P_Signal_B_B_B); + // Reception S + MultipleDelegation_MultipleConnector_P_P_Signal_B_S.SetName("S"); + MultipleDelegation_MultipleConnector_P_P_Signal_B_S.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Signal_B_S.SetSignal(MultipleDelegation_MultipleConnector_P_P_Signal_S); + MultipleDelegation_MultipleConnector_P_P_Signal_B.AddOwnedReception(MultipleDelegation_MultipleConnector_P_P_Signal_B_S); + MultipleDelegation_MultipleConnector_P_P_Signal.AddPackagedElement(MultipleDelegation_MultipleConnector_P_P_Signal_B); + // Association R + MultipleDelegation_MultipleConnector_P_P_Signal_R.SetName("R"); + MultipleDelegation_MultipleConnector_P_P_Signal_R.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Signal_R.AddOwnedEnd(MultipleDelegation_MultipleConnector_P_P_Signal_R_x); + MultipleDelegation_MultipleConnector_P_P_Signal_R.AddOwnedEnd(MultipleDelegation_MultipleConnector_P_P_Signal_R_y); + MultipleDelegation_MultipleConnector_P_P_Signal.AddPackagedElement(MultipleDelegation_MultipleConnector_P_P_Signal_R); + // Class IImpl + MultipleDelegation_MultipleConnector_P_P_Signal_IImpl.SetName("IImpl"); + MultipleDelegation_MultipleConnector_P_P_Signal_IImpl.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Signal_IImpl_IRealization.SetName("IRealization"); + MultipleDelegation_MultipleConnector_P_P_Signal_IImpl_IRealization.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Signal_IImpl_IRealization.SetContract(MultipleDelegation_MultipleConnector_P_P_Signal_I); + + MultipleDelegation_MultipleConnector_P_P_Signal_IImpl.AddInterfaceRealization(MultipleDelegation_MultipleConnector_P_P_Signal_IImpl_IRealization); + + // Reception S + MultipleDelegation_MultipleConnector_P_P_Signal_IImpl_S.SetName("S"); + MultipleDelegation_MultipleConnector_P_P_Signal_IImpl_S.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Signal_IImpl_S.SetSignal(MultipleDelegation_MultipleConnector_P_P_Signal_S); + MultipleDelegation_MultipleConnector_P_P_Signal_IImpl.AddOwnedReception(MultipleDelegation_MultipleConnector_P_P_Signal_IImpl_S); + MultipleDelegation_MultipleConnector_P_P_Signal.AddPackagedElement(MultipleDelegation_MultipleConnector_P_P_Signal_IImpl); + // Class AbstractTester + MultipleDelegation_MultipleConnector_P_P_Signal_AbstractTester.SetName("AbstractTester"); + MultipleDelegation_MultipleConnector_P_P_Signal_AbstractTester.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_P_Signal_AbstractTester.SetIsAbstract(true); + + + MultipleDelegation_MultipleConnector_P_P_Signal_AbstractTester.SetIsActive(true); + // Operation test + MultipleDelegation_MultipleConnector_P_P_Signal_AbstractTester_test.SetName("test"); + MultipleDelegation_MultipleConnector_P_P_Signal_AbstractTester_test.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Signal_AbstractTester_test.SetIsAbstract(true); + MultipleDelegation_MultipleConnector_P_P_Signal_AbstractTester.AddOwnedOperation(MultipleDelegation_MultipleConnector_P_P_Signal_AbstractTester_test); + // Reception Start + MultipleDelegation_MultipleConnector_P_P_Signal_AbstractTester_Start.SetName("Start"); + MultipleDelegation_MultipleConnector_P_P_Signal_AbstractTester_Start.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Signal_AbstractTester_Start.SetSignal(MultipleDelegation_MultipleConnector_P_P_Signal_Start); + MultipleDelegation_MultipleConnector_P_P_Signal_AbstractTester.AddOwnedReception(MultipleDelegation_MultipleConnector_P_P_Signal_AbstractTester_Start); + // Reception Continue + MultipleDelegation_MultipleConnector_P_P_Signal_AbstractTester_Continue.SetName("Continue"); + MultipleDelegation_MultipleConnector_P_P_Signal_AbstractTester_Continue.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Signal_AbstractTester_Continue.SetSignal(MultipleDelegation_MultipleConnector_P_P_Signal_Continue); + MultipleDelegation_MultipleConnector_P_P_Signal_AbstractTester.AddOwnedReception(MultipleDelegation_MultipleConnector_P_P_Signal_AbstractTester_Continue); + MultipleDelegation_MultipleConnector_P_P_Signal.AddPackagedElement(MultipleDelegation_MultipleConnector_P_P_Signal_AbstractTester); + // Signal Start + MultipleDelegation_MultipleConnector_P_P_Signal_Start.SetName("Start"); + MultipleDelegation_MultipleConnector_P_P_Signal_Start.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_P_Signal.AddPackagedElement(MultipleDelegation_MultipleConnector_P_P_Signal_Start); + } + + /* Start of user code : User-defined members + * This section may be used for user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } // MultipleDelegation_MultipleConnector_P_P_SignalModel +} diff --git a/fUML-CSharp/tests/pscs-Tests/02_Communication/13_MultipleDelegation_MultipleConnector_P_P_Signal/src/testPExecution.cs b/fUML-CSharp/tests/pscs-Tests/02_Communication/13_MultipleDelegation_MultipleConnector_P_P_Signal/src/testPExecution.cs new file mode 100644 index 0000000..da2e139 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/02_Communication/13_MultipleDelegation_MultipleConnector_P_P_Signal/src/testPExecution.cs @@ -0,0 +1,99 @@ +/* + * testPExecution.cs + * + * Auto-generated file + */ + +using fuml.semantics.commonbehavior; +using fuml; +using fuml.semantics.simpleclassifiers; +using fuml.semantics.values; + +/* Start of user code : User-defined includes and forward declarations + * This section may be used for includes and forward declarations. + * It will not be overwritten by future generation processes. + */ + +/* + * End of user code + */ + +namespace MultipleDelegation_MultipleConnector_P_P_Signal +{ + public class testPExecution : OpaqueBehaviorExecution + { + public testPExecution() + { + types.Add(MultipleDelegation_MultipleConnector_P_P_SignalModel.Instance().MultipleDelegation_MultipleConnector_P_P_Signal_Tester_testActivity_testP); + /* Start of user code : Additional opaque behavior execution initializations + * This section may be used to do any additional opaque behavior execution initialization, + * for example initializing user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } + + public override void DoBody(List inputParameters, List outputParameters) + { + if(index == 1) + { + Console.WriteLine("Asserting a.b1.p == 4 && a.b2.p == 4 && a.b3.p == 4 && a.b4.p == 4"); + } + + // For some reason, during the first execution of the expansion region, its body is actually executed twice. + // Because of that, the body is actually executaed 5 times in total. This if-statement covers that up until solved. + if(index <= MAX_INDEX) + { + + // Test parameter p + int p = ((IntegerValue)inputParameters.ElementAt(0).values.ElementAt(0)).value; + Debug.Println("[doBody] argument p = " + p); + + Console.WriteLine( "a.b" + index + ".p == " + p); + success = success && (p == 4); + + if(index == MAX_INDEX) + { + + Console.Write("Signal delegated on all links (shall be true for default strategy): "); + + if(success) + { + Console.ForegroundColor = ConsoleColor.Green; + Console.WriteLine("Assertion successful."); + } + else + { + Console.ForegroundColor = ConsoleColor.Red; + Console.WriteLine("Assertion failed!"); + } + + Console.ResetColor(); + } + } + + index++; + } + + protected override Value New_() + { + return new testPExecution(); + } + + /* Start of user code : User-defined members + * This section may be used for user-defined members. + * It will not be overwritten by future generation processes. + */ + + private static int index = 1; + private const int MAX_INDEX = 4; + private static bool success = true; + + /* + * End of user code + */ + } // testPExecution +} diff --git a/fUML-CSharp/tests/pscs-Tests/02_Communication/14_MultipleDelegation_MultipleConnector_P_PWP_Operation/.gitignore b/fUML-CSharp/tests/pscs-Tests/02_Communication/14_MultipleDelegation_MultipleConnector_P_PWP_Operation/.gitignore new file mode 100644 index 0000000..1736844 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/02_Communication/14_MultipleDelegation_MultipleConnector_P_PWP_Operation/.gitignore @@ -0,0 +1,3 @@ +/.vs/ +/bin/ +/obj/ diff --git a/fUML-CSharp/tests/pscs-Tests/02_Communication/14_MultipleDelegation_MultipleConnector_P_PWP_Operation/MultipleDelegation_MultipleConnector_P_PWP_Operation.csproj b/fUML-CSharp/tests/pscs-Tests/02_Communication/14_MultipleDelegation_MultipleConnector_P_PWP_Operation/MultipleDelegation_MultipleConnector_P_PWP_Operation.csproj new file mode 100644 index 0000000..f3d1e13 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/02_Communication/14_MultipleDelegation_MultipleConnector_P_PWP_Operation/MultipleDelegation_MultipleConnector_P_PWP_Operation.csproj @@ -0,0 +1,50 @@ + + + + Exe + net6.0 + enable + enable + + + + MultipleDelegation_MultipleConnector_P_PWP_Operation.Debug + + + MultipleDelegation_MultipleConnector_P_PWP_Operation.Release + + + + + ..\..\..\..\uml\bin\Debug\net6.0\uml.Debug.dll + + + + + ..\..\..\..\uml\bin\Release\net6.0\uml.Release.dll + + + + + + ..\..\..\..\fuml\bin\Debug\net6.0\fuml.Debug.dll + + + + + ..\..\..\..\fuml\bin\Release\net6.0\fuml.Release.dll + + + + + + ..\..\..\..\pscs\bin\Debug\net6.0\pscs.Debug.dll + + + + + ..\..\..\..\pscs\bin\Release\net6.0\pscs.Release.dll + + + + diff --git a/fUML-CSharp/tests/pscs-Tests/02_Communication/14_MultipleDelegation_MultipleConnector_P_PWP_Operation/MultipleDelegation_MultipleConnector_P_PWP_Operation.sln b/fUML-CSharp/tests/pscs-Tests/02_Communication/14_MultipleDelegation_MultipleConnector_P_PWP_Operation/MultipleDelegation_MultipleConnector_P_PWP_Operation.sln new file mode 100644 index 0000000..2f0b028 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/02_Communication/14_MultipleDelegation_MultipleConnector_P_PWP_Operation/MultipleDelegation_MultipleConnector_P_PWP_Operation.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.32112.339 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MultipleDelegation_MultipleConnector_P_PWP_Operation", "MultipleDelegation_MultipleConnector_P_PWP_Operation.csproj", "{CDC4FA71-9A55-4971-811F-9E2E7E6BC462}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {CDC4FA71-9A55-4971-811F-9E2E7E6BC462}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {CDC4FA71-9A55-4971-811F-9E2E7E6BC462}.Debug|Any CPU.Build.0 = Debug|Any CPU + {CDC4FA71-9A55-4971-811F-9E2E7E6BC462}.Release|Any CPU.ActiveCfg = Release|Any CPU + {CDC4FA71-9A55-4971-811F-9E2E7E6BC462}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {E63BCA04-AFD8-43F1-AF8A-85C8626F01BE} + EndGlobalSection +EndGlobal diff --git a/fUML-CSharp/tests/pscs-Tests/02_Communication/14_MultipleDelegation_MultipleConnector_P_PWP_Operation/model/MultipleDelegation_MultipleConnector_P_PWP_Operation.di b/fUML-CSharp/tests/pscs-Tests/02_Communication/14_MultipleDelegation_MultipleConnector_P_PWP_Operation/model/MultipleDelegation_MultipleConnector_P_PWP_Operation.di new file mode 100644 index 0000000..8c549ee --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/02_Communication/14_MultipleDelegation_MultipleConnector_P_PWP_Operation/model/MultipleDelegation_MultipleConnector_P_PWP_Operation.di @@ -0,0 +1,2 @@ + + diff --git a/fUML-CSharp/tests/pscs-Tests/02_Communication/14_MultipleDelegation_MultipleConnector_P_PWP_Operation/model/MultipleDelegation_MultipleConnector_P_PWP_Operation.notation b/fUML-CSharp/tests/pscs-Tests/02_Communication/14_MultipleDelegation_MultipleConnector_P_PWP_Operation/model/MultipleDelegation_MultipleConnector_P_PWP_Operation.notation new file mode 100644 index 0000000..ff3a2c5 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/02_Communication/14_MultipleDelegation_MultipleConnector_P_PWP_Operation/model/MultipleDelegation_MultipleConnector_P_PWP_Operation.notation @@ -0,0 +1,997 @@ + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/fUML-CSharp/tests/pscs-Tests/02_Communication/14_MultipleDelegation_MultipleConnector_P_PWP_Operation/model/MultipleDelegation_MultipleConnector_P_PWP_Operation.uml b/fUML-CSharp/tests/pscs-Tests/02_Communication/14_MultipleDelegation_MultipleConnector_P_PWP_Operation/model/MultipleDelegation_MultipleConnector_P_PWP_Operation.uml new file mode 100644 index 0000000..688a1a2 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/02_Communication/14_MultipleDelegation_MultipleConnector_P_PWP_Operation/model/MultipleDelegation_MultipleConnector_P_PWP_Operation.uml @@ -0,0 +1,357 @@ + + + + + This test case addresses forwarding of an operation call in presence of multiple delegation links, each link corresponding +to a particular connector, expressed between a port and a part with port. + + + Passing: true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + C# + Using + if(index == 1) + { + Console.WriteLine("Asserting c.a1.b.p == 4 || c.a2.b.p == 4 || c.a3.b.p == 4 || c.a4.b.c == 4"); + } + + // For some reason, during the first execution of the expansion region, its body is actually executed twice. + // Because of that, the body is actually executaed 5 times in total. This if-statement covers that up until solved. + if (index <= MAX_INDEX) + { + // Test parameter p + int p = ((IntegerValue)inputParameters.ElementAt(0).values.ElementAt(0)).value; + Debug.Println("[doBody] argument p = " + p); + + Console.WriteLine( "c.a" + index + ".b.p == " + p); + success = success || (p == 4); + + if (index == MAX_INDEX) + { + + Console.Write("Operation call delegated: "); + + if (success) + { + Console.ForegroundColor = ConsoleColor.Green; + Console.WriteLine("Assertion successful."); + } + else + { + Console.ForegroundColor = ConsoleColor.Red; + Console.WriteLine("Assertion failed!"); + } + + Console.ResetColor(); + } + } + + index++; + using fuml.semantics.simpleclassifiers; + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/fUML-CSharp/tests/pscs-Tests/02_Communication/14_MultipleDelegation_MultipleConnector_P_PWP_Operation/src/MultipleDelegation_MultipleConnector_P_PWP_Operation.cs b/fUML-CSharp/tests/pscs-Tests/02_Communication/14_MultipleDelegation_MultipleConnector_P_PWP_Operation/src/MultipleDelegation_MultipleConnector_P_PWP_Operation.cs new file mode 100644 index 0000000..16183e7 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/02_Communication/14_MultipleDelegation_MultipleConnector_P_PWP_Operation/src/MultipleDelegation_MultipleConnector_P_PWP_Operation.cs @@ -0,0 +1,31 @@ +namespace MultipleDelegation_MultipleConnector_P_PWP_Operation +{ + internal class MultipleDelegation_MultipleConnector_P_PWP_Operation + { + static void PrintUsage() + { + Console.WriteLine( + "=============================================================================================\n" + + "USAGE: [ <...>]\n" + + "=============================================================================================\n" + ); + } + + static int Main(string[] args) + { + if(args.Length == 0) + { + Console.WriteLine("[ERROR] Must declare at least one behavior name.\n"); + PrintUsage(); + return -1; + } + + foreach (string arg in args) + { + MultipleDelegation_MultipleConnector_P_PWP_OperationEnvironment.Instance().Execute(arg); + } + + return 0; + } + } +} diff --git a/fUML-CSharp/tests/pscs-Tests/02_Communication/14_MultipleDelegation_MultipleConnector_P_PWP_Operation/src/MultipleDelegation_MultipleConnector_P_PWP_OperationEnvironment.cs b/fUML-CSharp/tests/pscs-Tests/02_Communication/14_MultipleDelegation_MultipleConnector_P_PWP_Operation/src/MultipleDelegation_MultipleConnector_P_PWP_OperationEnvironment.cs new file mode 100644 index 0000000..3a916e4 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/02_Communication/14_MultipleDelegation_MultipleConnector_P_PWP_Operation/src/MultipleDelegation_MultipleConnector_P_PWP_OperationEnvironment.cs @@ -0,0 +1,93 @@ +/* + * MultipleDelegation_MultipleConnector_P_PWP_OperationEnvironment.cs + * + * Auto-generated file + */ + +/* Start of user code : User-defined using directives + * This section may be used for using directives. + * It will not be overwritten by future generation processes. + */ + +/* + * End of user code + */ + +namespace MultipleDelegation_MultipleConnector_P_PWP_Operation +{ + public class MultipleDelegation_MultipleConnector_P_PWP_OperationEnvironment : pscs.environment.Environment + { + private static MultipleDelegation_MultipleConnector_P_PWP_OperationEnvironment? instance; + + public static MultipleDelegation_MultipleConnector_P_PWP_OperationEnvironment Instance() + { + if(instance is null) + { + instance = new(); + instance.inMemoryModel = MultipleDelegation_MultipleConnector_P_PWP_OperationModel.Instance(); + } + + return instance; + } + + public MultipleDelegation_MultipleConnector_P_PWP_OperationEnvironment() + { + /* + * Create custom opaque behavior execution instances and add them to the execution environment. + */ + AddPrimitiveBehaviorPrototype(new testPExecution()); + + /* Start of user code : Additional environment initializations + * This section may be used to do any additional environment initialization, + * for example initializing user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } + + public override void Execute(string behaviorName) + { + /* Start of user code : Context and inputs initializations + * This section may be used to initialize the execution context + * as well as input parameter values if required. + * It will not be overwritten by future generation processes. + */ + + //context = ...; + //inputs = ...; + + /* + * End of user code + */ + + /* + * Start execution via base class call + */ + base.Execute(behaviorName); + + /* Start of user code : Outputs evaluation + * This section may be used to evaluate output parameter values if required. + * It will not be overwritten by future generation processes. + */ + + //List theOutputs = outputs; + //... + + /* + * End of user code + */ + } + + /* Start of user code : User-defined members + * This section may be used for user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } // MultipleDelegation_MultipleConnector_P_PWP_OperationEnvironment +} diff --git a/fUML-CSharp/tests/pscs-Tests/02_Communication/14_MultipleDelegation_MultipleConnector_P_PWP_Operation/src/MultipleDelegation_MultipleConnector_P_PWP_OperationModel.cs b/fUML-CSharp/tests/pscs-Tests/02_Communication/14_MultipleDelegation_MultipleConnector_P_PWP_Operation/src/MultipleDelegation_MultipleConnector_P_PWP_OperationModel.cs new file mode 100644 index 0000000..f84f0f1 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/02_Communication/14_MultipleDelegation_MultipleConnector_P_PWP_Operation/src/MultipleDelegation_MultipleConnector_P_PWP_OperationModel.cs @@ -0,0 +1,1183 @@ +/* + * MultipleDelegation_MultipleConnector_P_PWP_OperationModel.cs + * + * Auto-generated file + */ + +using uml.actions; +using uml.packages; +using uml.structuredclassifiers; +using fuml.primitivetypes; +using uml.classification; +using fuml.library; +using uml.simpleclassifiers; +using uml.commonbehavior; +using uml.commonstructure; +using uml.values; +using uml.activities; +using uml.environment; + + +/* Start of user code : User-defined includes and forward declarations + * This section may be used for includes and forward declarations. + * It will not be overwritten by future generation processes. + */ + +/* + * End of user code + */ + +namespace MultipleDelegation_MultipleConnector_P_PWP_Operation +{ + public class MultipleDelegation_MultipleConnector_P_PWP_OperationModel : InMemoryModel + { + private static MultipleDelegation_MultipleConnector_P_PWP_OperationModel? instance; + + /* + * Model MultipleDelegation_MultipleConnector_P_PWP_Operation + */ + public Package MultipleDelegation_MultipleConnector_P_PWP_Operation = new(); + public Class_ MultipleDelegation_MultipleConnector_P_PWP_Operation_B = new(); + public Property MultipleDelegation_MultipleConnector_P_PWP_Operation_B_p = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_PWP_Operation_B_p_LiteralInteger0 = new(); + public InterfaceRealization MultipleDelegation_MultipleConnector_P_PWP_Operation_B_IRealization = new(); + public Operation MultipleDelegation_MultipleConnector_P_PWP_Operation_B_setP_Integer = new(); + public Parameter MultipleDelegation_MultipleConnector_P_PWP_Operation_B_setP_Integer_v = new(); + public Activity MultipleDelegation_MultipleConnector_P_PWP_Operation_B_setPActivity = new(); + public ActivityParameterNode MultipleDelegation_MultipleConnector_P_PWP_Operation_B_setPActivity_vParameterNode = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_PWP_Operation_B_setPActivity_vParameterNode_LiteralInteger1 = new(); + public ReadSelfAction MultipleDelegation_MultipleConnector_P_PWP_Operation_B_setPActivity_this = new(); + public OutputPin MultipleDelegation_MultipleConnector_P_PWP_Operation_B_setPActivity_this_result = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_PWP_Operation_B_setPActivity_this_result_LiteralUnlimitedNatural2 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_PWP_Operation_B_setPActivity_this_result_LiteralInteger3 = new(); + public ObjectFlow MultipleDelegation_MultipleConnector_P_PWP_Operation_B_setPActivity_ObjectFlow4 = new(); + public LiteralBoolean MultipleDelegation_MultipleConnector_P_PWP_Operation_B_setPActivity_ObjectFlow4_LiteralBoolean5 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_PWP_Operation_B_setPActivity_ObjectFlow4_LiteralInteger6 = new(); + public ObjectFlow MultipleDelegation_MultipleConnector_P_PWP_Operation_B_setPActivity_ObjectFlow7 = new(); + public LiteralBoolean MultipleDelegation_MultipleConnector_P_PWP_Operation_B_setPActivity_ObjectFlow7_LiteralBoolean8 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_PWP_Operation_B_setPActivity_ObjectFlow7_LiteralInteger9 = new(); + public Parameter MultipleDelegation_MultipleConnector_P_PWP_Operation_B_setPActivity_v = new(); + public AddStructuralFeatureValueAction MultipleDelegation_MultipleConnector_P_PWP_Operation_B_setPActivity_Set_this_p = new(); + public OutputPin MultipleDelegation_MultipleConnector_P_PWP_Operation_B_setPActivity_Set_this_p_result = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_PWP_Operation_B_setPActivity_Set_this_p_result_LiteralUnlimitedNatural10 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_PWP_Operation_B_setPActivity_Set_this_p_result_LiteralInteger11 = new(); + public InputPin MultipleDelegation_MultipleConnector_P_PWP_Operation_B_setPActivity_Set_this_p_value = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_PWP_Operation_B_setPActivity_Set_this_p_value_LiteralUnlimitedNatural12 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_PWP_Operation_B_setPActivity_Set_this_p_value_LiteralInteger13 = new(); + public InputPin MultipleDelegation_MultipleConnector_P_PWP_Operation_B_setPActivity_Set_this_p_object = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_PWP_Operation_B_setPActivity_Set_this_p_object_LiteralUnlimitedNatural14 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_PWP_Operation_B_setPActivity_Set_this_p_object_LiteralInteger15 = new(); + public Class_ MultipleDelegation_MultipleConnector_P_PWP_Operation_IImpl = new(); + public InterfaceRealization MultipleDelegation_MultipleConnector_P_PWP_Operation_IImpl_IRealization = new(); + public Operation MultipleDelegation_MultipleConnector_P_PWP_Operation_IImpl_setP_Integer = new(); + public Parameter MultipleDelegation_MultipleConnector_P_PWP_Operation_IImpl_setP_Integer_v = new(); + public Interface MultipleDelegation_MultipleConnector_P_PWP_Operation_I = new(); + public Operation MultipleDelegation_MultipleConnector_P_PWP_Operation_I_setP_Integer = new(); + public Parameter MultipleDelegation_MultipleConnector_P_PWP_Operation_I_setP_Integer_v = new(); + public Class_ MultipleDelegation_MultipleConnector_P_PWP_Operation_A = new(); + public Property MultipleDelegation_MultipleConnector_P_PWP_Operation_A_b = new(); + public Port MultipleDelegation_MultipleConnector_P_PWP_Operation_A_q = new(); + public Connector MultipleDelegation_MultipleConnector_P_PWP_Operation_A_r = new(); + public ConnectorEnd MultipleDelegation_MultipleConnector_P_PWP_Operation_A_r_ConnectorEnd16 = new(); + public ConnectorEnd MultipleDelegation_MultipleConnector_P_PWP_Operation_A_r_ConnectorEnd17 = new(); + public Association MultipleDelegation_MultipleConnector_P_PWP_Operation_R = new(); + public Property MultipleDelegation_MultipleConnector_P_PWP_Operation_R_x = new(); + public Property MultipleDelegation_MultipleConnector_P_PWP_Operation_R_y = new(); + public Activity MultipleDelegation_MultipleConnector_P_PWP_Operation_main = new(); + public ValueSpecificationAction MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Value_4 = new(); + public OutputPin MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Value_4_result = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Value_4_result_LiteralUnlimitedNatural18 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Value_4_result_LiteralInteger19 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Value_4_LiteralInteger20 = new(); + public CreateObjectAction MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Create_C = new(); + public OutputPin MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Create_C_result = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Create_C_result_LiteralUnlimitedNatural21 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Create_C_result_LiteralInteger22 = new(); + public ObjectFlow MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow23 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow23_LiteralInteger24 = new(); + public LiteralBoolean MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow23_LiteralBoolean25 = new(); + public CallBehaviorAction MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Call_testP = new(); + public InputPin MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Call_testP_p = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Call_testP_p_LiteralUnlimitedNatural26 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Call_testP_p_LiteralInteger27 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Call_testP_p_LiteralInteger28 = new(); + public ControlFlow MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ControlFlow29 = new(); + public ObjectFlow MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow30 = new(); + public LiteralBoolean MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow30_LiteralBoolean31 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow30_LiteralInteger32 = new(); + public ReadStructuralFeatureAction MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_p = new(); + public InputPin MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_p_object = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_p_object_LiteralUnlimitedNatural33 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_p_object_LiteralInteger34 = new(); + public OutputPin MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_p_result = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_p_result_LiteralInteger35 = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_p_result_LiteralUnlimitedNatural36 = new(); + public ReadStructuralFeatureAction MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_a4 = new(); + public OutputPin MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_a4_result = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_a4_result_LiteralInteger37 = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_a4_result_LiteralUnlimitedNatural38 = new(); + public InputPin MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_a4_object = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_a4_object_LiteralInteger39 = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_a4_object_LiteralUnlimitedNatural40 = new(); + public ObjectFlow MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow41 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow41_LiteralInteger42 = new(); + public LiteralBoolean MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow41_LiteralBoolean43 = new(); + public ObjectFlow MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow44 = new(); + public LiteralBoolean MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow44_LiteralBoolean45 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow44_LiteralInteger46 = new(); + public ReadStructuralFeatureAction MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_a3 = new(); + public OutputPin MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_a3_result = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_a3_result_LiteralInteger47 = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_a3_result_LiteralUnlimitedNatural48 = new(); + public InputPin MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_a3_object = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_a3_object_LiteralInteger49 = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_a3_object_LiteralUnlimitedNatural50 = new(); + public ObjectFlow MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow51 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow51_LiteralInteger52 = new(); + public LiteralBoolean MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow51_LiteralBoolean53 = new(); + public ObjectFlow MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow54 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow54_LiteralInteger55 = new(); + public LiteralBoolean MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow54_LiteralBoolean56 = new(); + public ObjectFlow MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow57 = new(); + public LiteralBoolean MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow57_LiteralBoolean58 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow57_LiteralInteger59 = new(); + public ForkNode MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Fork_C = new(); + public ReadStructuralFeatureAction MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_a2 = new(); + public OutputPin MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_a2_result = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_a2_result_LiteralInteger60 = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_a2_result_LiteralUnlimitedNatural61 = new(); + public InputPin MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_a2_object = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_a2_object_LiteralUnlimitedNatural62 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_a2_object_LiteralInteger63 = new(); + public ObjectFlow MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow64 = new(); + public LiteralBoolean MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow64_LiteralBoolean65 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow64_LiteralInteger66 = new(); + public ControlFlow MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ControlFlow67 = new(); + public ControlFlow MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ControlFlow68 = new(); + public OpaqueBehavior MultipleDelegation_MultipleConnector_P_PWP_Operation_main_testP = new(); + public Parameter MultipleDelegation_MultipleConnector_P_PWP_Operation_main_testP_p = new(); + public ObjectFlow MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow69 = new(); + public LiteralBoolean MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow69_LiteralBoolean70 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow69_LiteralInteger71 = new(); + public ObjectFlow MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow72 = new(); + public LiteralBoolean MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow72_LiteralBoolean73 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow72_LiteralInteger74 = new(); + public CallOperationAction MultipleDelegation_MultipleConnector_P_PWP_Operation_main_C_ = new(); + public OutputPin MultipleDelegation_MultipleConnector_P_PWP_Operation_main_C__result = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_PWP_Operation_main_C__result_LiteralInteger75 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_PWP_Operation_main_C__result_LiteralInteger76 = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_PWP_Operation_main_C__result_LiteralUnlimitedNatural77 = new(); + public InputPin MultipleDelegation_MultipleConnector_P_PWP_Operation_main_C__target = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_PWP_Operation_main_C__target_LiteralUnlimitedNatural78 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_PWP_Operation_main_C__target_LiteralInteger79 = new(); + public ObjectFlow MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow80 = new(); + public LiteralBoolean MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow80_LiteralBoolean81 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow80_LiteralInteger82 = new(); + public ObjectFlow MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow83 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow83_LiteralInteger84 = new(); + public LiteralBoolean MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow83_LiteralBoolean85 = new(); + public ObjectFlow MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow86 = new(); + public LiteralBoolean MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow86_LiteralBoolean87 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow86_LiteralInteger88 = new(); + public ControlFlow MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ControlFlow89 = new(); + public ObjectFlow MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow90 = new(); + public LiteralBoolean MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow90_LiteralBoolean91 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow90_LiteralInteger92 = new(); + public ReadStructuralFeatureAction MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_b_p = new(); + public OutputPin MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_b_p_result = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_b_p_result_LiteralUnlimitedNatural93 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_b_p_result_LiteralInteger94 = new(); + public InputPin MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_b_p_object = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_b_p_object_LiteralInteger95 = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_b_p_object_LiteralUnlimitedNatural96 = new(); + public ReadStructuralFeatureAction MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_a1 = new(); + public InputPin MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_a1_object = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_a1_object_LiteralUnlimitedNatural97 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_a1_object_LiteralInteger98 = new(); + public OutputPin MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_a1_result = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_a1_result_LiteralInteger99 = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_a1_result_LiteralUnlimitedNatural100 = new(); + public ObjectFlow MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow101 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow101_LiteralInteger102 = new(); + public LiteralBoolean MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow101_LiteralBoolean103 = new(); + public CallOperationAction MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Call_p_setP_ = new(); + public InputPin MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Call_p_setP__v = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Call_p_setP__v_LiteralInteger104 = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Call_p_setP__v_LiteralUnlimitedNatural105 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Call_p_setP__v_LiteralInteger106 = new(); + public InputPin MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Call_p_setP__target = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Call_p_setP__target_LiteralInteger107 = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Call_p_setP__target_LiteralUnlimitedNatural108 = new(); + public ReadStructuralFeatureAction MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_a_b = new(); + public OutputPin MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_a_b_result = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_a_b_result_LiteralUnlimitedNatural109 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_a_b_result_LiteralInteger110 = new(); + public InputPin MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_a_b_object = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_a_b_object_LiteralInteger111 = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_a_b_object_LiteralUnlimitedNatural112 = new(); + public Class_ MultipleDelegation_MultipleConnector_P_PWP_Operation_C = new(); + public Property MultipleDelegation_MultipleConnector_P_PWP_Operation_C_a3 = new(); + public Connector MultipleDelegation_MultipleConnector_P_PWP_Operation_C_u1 = new(); + public ConnectorEnd MultipleDelegation_MultipleConnector_P_PWP_Operation_C_u1_ConnectorEnd113 = new(); + public ConnectorEnd MultipleDelegation_MultipleConnector_P_PWP_Operation_C_u1_ConnectorEnd114 = new(); + public Connector MultipleDelegation_MultipleConnector_P_PWP_Operation_C_u2 = new(); + public ConnectorEnd MultipleDelegation_MultipleConnector_P_PWP_Operation_C_u2_ConnectorEnd115 = new(); + public ConnectorEnd MultipleDelegation_MultipleConnector_P_PWP_Operation_C_u2_ConnectorEnd116 = new(); + public Connector MultipleDelegation_MultipleConnector_P_PWP_Operation_C_u3 = new(); + public ConnectorEnd MultipleDelegation_MultipleConnector_P_PWP_Operation_C_u3_ConnectorEnd117 = new(); + public ConnectorEnd MultipleDelegation_MultipleConnector_P_PWP_Operation_C_u3_ConnectorEnd118 = new(); + public Connector MultipleDelegation_MultipleConnector_P_PWP_Operation_C_u4 = new(); + public ConnectorEnd MultipleDelegation_MultipleConnector_P_PWP_Operation_C_u4_ConnectorEnd119 = new(); + public ConnectorEnd MultipleDelegation_MultipleConnector_P_PWP_Operation_C_u4_ConnectorEnd120 = new(); + public Operation MultipleDelegation_MultipleConnector_P_PWP_Operation_C_C_C = new(); + public Parameter MultipleDelegation_MultipleConnector_P_PWP_Operation_C_C_C_result = new(); + public Property MultipleDelegation_MultipleConnector_P_PWP_Operation_C_a2 = new(); + public Property MultipleDelegation_MultipleConnector_P_PWP_Operation_C_a1 = new(); + public Port MultipleDelegation_MultipleConnector_P_PWP_Operation_C_p = new(); + public Property MultipleDelegation_MultipleConnector_P_PWP_Operation_C_a4 = new(); + public Association MultipleDelegation_MultipleConnector_P_PWP_Operation_U = new(); + public Property MultipleDelegation_MultipleConnector_P_PWP_Operation_U_y = new(); + public Property MultipleDelegation_MultipleConnector_P_PWP_Operation_U_x = new(); + + public static MultipleDelegation_MultipleConnector_P_PWP_OperationModel Instance() + { + if (instance is null) + { + instance = new(); + instance.InitializeInMemoryModel(); + } + + return instance; + } + + public MultipleDelegation_MultipleConnector_P_PWP_OperationModel() + { + /* Start of user code : Additional model initializations + * This section may be used to do any additional model initialization, + * for example initializing user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } + + private void InitializeInMemoryModel() + { + // Create public members + /* + * Model MultipleDelegation_MultipleConnector_P_PWP_Operation + */ + AddToElementRepository("MultipleDelegation_MultipleConnector_P_PWP_Operation", MultipleDelegation_MultipleConnector_P_PWP_Operation); + AddToElementRepository("B", MultipleDelegation_MultipleConnector_P_PWP_Operation_B); + AddToElementRepository("p", MultipleDelegation_MultipleConnector_P_PWP_Operation_B_p); + AddToElementRepository("LiteralInteger0", MultipleDelegation_MultipleConnector_P_PWP_Operation_B_p_LiteralInteger0); + AddToElementRepository("IRealization", MultipleDelegation_MultipleConnector_P_PWP_Operation_B_IRealization); + AddToElementRepository("setP_Integer", MultipleDelegation_MultipleConnector_P_PWP_Operation_B_setP_Integer); + AddToElementRepository("v", MultipleDelegation_MultipleConnector_P_PWP_Operation_B_setP_Integer_v); + AddToElementRepository("setPActivity", MultipleDelegation_MultipleConnector_P_PWP_Operation_B_setPActivity); + AddToElementRepository("vParameterNode", MultipleDelegation_MultipleConnector_P_PWP_Operation_B_setPActivity_vParameterNode); + AddToElementRepository("LiteralInteger1", MultipleDelegation_MultipleConnector_P_PWP_Operation_B_setPActivity_vParameterNode_LiteralInteger1); + AddToElementRepository("this", MultipleDelegation_MultipleConnector_P_PWP_Operation_B_setPActivity_this); + AddToElementRepository("result", MultipleDelegation_MultipleConnector_P_PWP_Operation_B_setPActivity_this_result); + AddToElementRepository("LiteralUnlimitedNatural2", MultipleDelegation_MultipleConnector_P_PWP_Operation_B_setPActivity_this_result_LiteralUnlimitedNatural2); + AddToElementRepository("LiteralInteger3", MultipleDelegation_MultipleConnector_P_PWP_Operation_B_setPActivity_this_result_LiteralInteger3); + AddToElementRepository("ObjectFlow4", MultipleDelegation_MultipleConnector_P_PWP_Operation_B_setPActivity_ObjectFlow4); + AddToElementRepository("LiteralBoolean5", MultipleDelegation_MultipleConnector_P_PWP_Operation_B_setPActivity_ObjectFlow4_LiteralBoolean5); + AddToElementRepository("LiteralInteger6", MultipleDelegation_MultipleConnector_P_PWP_Operation_B_setPActivity_ObjectFlow4_LiteralInteger6); + AddToElementRepository("ObjectFlow7", MultipleDelegation_MultipleConnector_P_PWP_Operation_B_setPActivity_ObjectFlow7); + AddToElementRepository("LiteralBoolean8", MultipleDelegation_MultipleConnector_P_PWP_Operation_B_setPActivity_ObjectFlow7_LiteralBoolean8); + AddToElementRepository("LiteralInteger9", MultipleDelegation_MultipleConnector_P_PWP_Operation_B_setPActivity_ObjectFlow7_LiteralInteger9); + AddToElementRepository("v", MultipleDelegation_MultipleConnector_P_PWP_Operation_B_setPActivity_v); + AddToElementRepository("Set this.p", MultipleDelegation_MultipleConnector_P_PWP_Operation_B_setPActivity_Set_this_p); + AddToElementRepository("result", MultipleDelegation_MultipleConnector_P_PWP_Operation_B_setPActivity_Set_this_p_result); + AddToElementRepository("LiteralUnlimitedNatural10", MultipleDelegation_MultipleConnector_P_PWP_Operation_B_setPActivity_Set_this_p_result_LiteralUnlimitedNatural10); + AddToElementRepository("LiteralInteger11", MultipleDelegation_MultipleConnector_P_PWP_Operation_B_setPActivity_Set_this_p_result_LiteralInteger11); + AddToElementRepository("value", MultipleDelegation_MultipleConnector_P_PWP_Operation_B_setPActivity_Set_this_p_value); + AddToElementRepository("LiteralUnlimitedNatural12", MultipleDelegation_MultipleConnector_P_PWP_Operation_B_setPActivity_Set_this_p_value_LiteralUnlimitedNatural12); + AddToElementRepository("LiteralInteger13", MultipleDelegation_MultipleConnector_P_PWP_Operation_B_setPActivity_Set_this_p_value_LiteralInteger13); + AddToElementRepository("object", MultipleDelegation_MultipleConnector_P_PWP_Operation_B_setPActivity_Set_this_p_object); + AddToElementRepository("LiteralUnlimitedNatural14", MultipleDelegation_MultipleConnector_P_PWP_Operation_B_setPActivity_Set_this_p_object_LiteralUnlimitedNatural14); + AddToElementRepository("LiteralInteger15", MultipleDelegation_MultipleConnector_P_PWP_Operation_B_setPActivity_Set_this_p_object_LiteralInteger15); + AddToElementRepository("IImpl", MultipleDelegation_MultipleConnector_P_PWP_Operation_IImpl); + AddToElementRepository("IRealization", MultipleDelegation_MultipleConnector_P_PWP_Operation_IImpl_IRealization); + AddToElementRepository("setP_Integer", MultipleDelegation_MultipleConnector_P_PWP_Operation_IImpl_setP_Integer); + AddToElementRepository("v", MultipleDelegation_MultipleConnector_P_PWP_Operation_IImpl_setP_Integer_v); + AddToElementRepository("I", MultipleDelegation_MultipleConnector_P_PWP_Operation_I); + AddToElementRepository("setP_Integer", MultipleDelegation_MultipleConnector_P_PWP_Operation_I_setP_Integer); + AddToElementRepository("v", MultipleDelegation_MultipleConnector_P_PWP_Operation_I_setP_Integer_v); + AddToElementRepository("A", MultipleDelegation_MultipleConnector_P_PWP_Operation_A); + AddToElementRepository("b", MultipleDelegation_MultipleConnector_P_PWP_Operation_A_b); + AddToElementRepository("q", MultipleDelegation_MultipleConnector_P_PWP_Operation_A_q); + AddToElementRepository("r", MultipleDelegation_MultipleConnector_P_PWP_Operation_A_r); + AddToElementRepository("ConnectorEnd16", MultipleDelegation_MultipleConnector_P_PWP_Operation_A_r_ConnectorEnd16); + AddToElementRepository("ConnectorEnd17", MultipleDelegation_MultipleConnector_P_PWP_Operation_A_r_ConnectorEnd17); + AddToElementRepository("R", MultipleDelegation_MultipleConnector_P_PWP_Operation_R); + AddToElementRepository("x", MultipleDelegation_MultipleConnector_P_PWP_Operation_R_x); + AddToElementRepository("y", MultipleDelegation_MultipleConnector_P_PWP_Operation_R_y); + AddToElementRepository("main", MultipleDelegation_MultipleConnector_P_PWP_Operation_main); + AddToElementRepository("Value(4)", MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Value_4); + AddToElementRepository("result", MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Value_4_result); + AddToElementRepository("LiteralUnlimitedNatural18", MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Value_4_result_LiteralUnlimitedNatural18); + AddToElementRepository("LiteralInteger19", MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Value_4_result_LiteralInteger19); + AddToElementRepository("LiteralInteger20", MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Value_4_LiteralInteger20); + AddToElementRepository("Create C", MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Create_C); + AddToElementRepository("result", MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Create_C_result); + AddToElementRepository("LiteralUnlimitedNatural21", MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Create_C_result_LiteralUnlimitedNatural21); + AddToElementRepository("LiteralInteger22", MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Create_C_result_LiteralInteger22); + AddToElementRepository("ObjectFlow23", MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow23); + AddToElementRepository("LiteralInteger24", MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow23_LiteralInteger24); + AddToElementRepository("LiteralBoolean25", MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow23_LiteralBoolean25); + AddToElementRepository("Call testP", MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Call_testP); + AddToElementRepository("p", MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Call_testP_p); + AddToElementRepository("LiteralUnlimitedNatural26", MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Call_testP_p_LiteralUnlimitedNatural26); + AddToElementRepository("LiteralInteger27", MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Call_testP_p_LiteralInteger27); + AddToElementRepository("LiteralInteger28", MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Call_testP_p_LiteralInteger28); + AddToElementRepository("ControlFlow29", MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ControlFlow29); + AddToElementRepository("ObjectFlow30", MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow30); + AddToElementRepository("LiteralBoolean31", MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow30_LiteralBoolean31); + AddToElementRepository("LiteralInteger32", MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow30_LiteralInteger32); + AddToElementRepository("Read c.p", MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_p); + AddToElementRepository("object", MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_p_object); + AddToElementRepository("LiteralUnlimitedNatural33", MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_p_object_LiteralUnlimitedNatural33); + AddToElementRepository("LiteralInteger34", MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_p_object_LiteralInteger34); + AddToElementRepository("result", MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_p_result); + AddToElementRepository("LiteralInteger35", MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_p_result_LiteralInteger35); + AddToElementRepository("LiteralUnlimitedNatural36", MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_p_result_LiteralUnlimitedNatural36); + AddToElementRepository("Read c.a4", MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_a4); + AddToElementRepository("result", MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_a4_result); + AddToElementRepository("LiteralInteger37", MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_a4_result_LiteralInteger37); + AddToElementRepository("LiteralUnlimitedNatural38", MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_a4_result_LiteralUnlimitedNatural38); + AddToElementRepository("object", MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_a4_object); + AddToElementRepository("LiteralInteger39", MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_a4_object_LiteralInteger39); + AddToElementRepository("LiteralUnlimitedNatural40", MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_a4_object_LiteralUnlimitedNatural40); + AddToElementRepository("ObjectFlow41", MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow41); + AddToElementRepository("LiteralInteger42", MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow41_LiteralInteger42); + AddToElementRepository("LiteralBoolean43", MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow41_LiteralBoolean43); + AddToElementRepository("ObjectFlow44", MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow44); + AddToElementRepository("LiteralBoolean45", MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow44_LiteralBoolean45); + AddToElementRepository("LiteralInteger46", MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow44_LiteralInteger46); + AddToElementRepository("Read c.a3", MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_a3); + AddToElementRepository("result", MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_a3_result); + AddToElementRepository("LiteralInteger47", MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_a3_result_LiteralInteger47); + AddToElementRepository("LiteralUnlimitedNatural48", MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_a3_result_LiteralUnlimitedNatural48); + AddToElementRepository("object", MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_a3_object); + AddToElementRepository("LiteralInteger49", MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_a3_object_LiteralInteger49); + AddToElementRepository("LiteralUnlimitedNatural50", MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_a3_object_LiteralUnlimitedNatural50); + AddToElementRepository("ObjectFlow51", MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow51); + AddToElementRepository("LiteralInteger52", MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow51_LiteralInteger52); + AddToElementRepository("LiteralBoolean53", MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow51_LiteralBoolean53); + AddToElementRepository("ObjectFlow54", MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow54); + AddToElementRepository("LiteralInteger55", MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow54_LiteralInteger55); + AddToElementRepository("LiteralBoolean56", MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow54_LiteralBoolean56); + AddToElementRepository("ObjectFlow57", MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow57); + AddToElementRepository("LiteralBoolean58", MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow57_LiteralBoolean58); + AddToElementRepository("LiteralInteger59", MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow57_LiteralInteger59); + AddToElementRepository("Fork C", MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Fork_C); + AddToElementRepository("Read c.a2", MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_a2); + AddToElementRepository("result", MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_a2_result); + AddToElementRepository("LiteralInteger60", MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_a2_result_LiteralInteger60); + AddToElementRepository("LiteralUnlimitedNatural61", MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_a2_result_LiteralUnlimitedNatural61); + AddToElementRepository("object", MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_a2_object); + AddToElementRepository("LiteralUnlimitedNatural62", MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_a2_object_LiteralUnlimitedNatural62); + AddToElementRepository("LiteralInteger63", MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_a2_object_LiteralInteger63); + AddToElementRepository("ObjectFlow64", MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow64); + AddToElementRepository("LiteralBoolean65", MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow64_LiteralBoolean65); + AddToElementRepository("LiteralInteger66", MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow64_LiteralInteger66); + AddToElementRepository("ControlFlow67", MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ControlFlow67); + AddToElementRepository("ControlFlow68", MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ControlFlow68); + AddToElementRepository("testP", MultipleDelegation_MultipleConnector_P_PWP_Operation_main_testP); + AddToElementRepository("p", MultipleDelegation_MultipleConnector_P_PWP_Operation_main_testP_p); + AddToElementRepository("ObjectFlow69", MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow69); + AddToElementRepository("LiteralBoolean70", MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow69_LiteralBoolean70); + AddToElementRepository("LiteralInteger71", MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow69_LiteralInteger71); + AddToElementRepository("ObjectFlow72", MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow72); + AddToElementRepository("LiteralBoolean73", MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow72_LiteralBoolean73); + AddToElementRepository("LiteralInteger74", MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow72_LiteralInteger74); + AddToElementRepository("C()", MultipleDelegation_MultipleConnector_P_PWP_Operation_main_C_); + AddToElementRepository("result", MultipleDelegation_MultipleConnector_P_PWP_Operation_main_C__result); + AddToElementRepository("LiteralInteger75", MultipleDelegation_MultipleConnector_P_PWP_Operation_main_C__result_LiteralInteger75); + AddToElementRepository("LiteralInteger76", MultipleDelegation_MultipleConnector_P_PWP_Operation_main_C__result_LiteralInteger76); + AddToElementRepository("LiteralUnlimitedNatural77", MultipleDelegation_MultipleConnector_P_PWP_Operation_main_C__result_LiteralUnlimitedNatural77); + AddToElementRepository("target", MultipleDelegation_MultipleConnector_P_PWP_Operation_main_C__target); + AddToElementRepository("LiteralUnlimitedNatural78", MultipleDelegation_MultipleConnector_P_PWP_Operation_main_C__target_LiteralUnlimitedNatural78); + AddToElementRepository("LiteralInteger79", MultipleDelegation_MultipleConnector_P_PWP_Operation_main_C__target_LiteralInteger79); + AddToElementRepository("ObjectFlow80", MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow80); + AddToElementRepository("LiteralBoolean81", MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow80_LiteralBoolean81); + AddToElementRepository("LiteralInteger82", MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow80_LiteralInteger82); + AddToElementRepository("ObjectFlow83", MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow83); + AddToElementRepository("LiteralInteger84", MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow83_LiteralInteger84); + AddToElementRepository("LiteralBoolean85", MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow83_LiteralBoolean85); + AddToElementRepository("ObjectFlow86", MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow86); + AddToElementRepository("LiteralBoolean87", MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow86_LiteralBoolean87); + AddToElementRepository("LiteralInteger88", MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow86_LiteralInteger88); + AddToElementRepository("ControlFlow89", MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ControlFlow89); + AddToElementRepository("ObjectFlow90", MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow90); + AddToElementRepository("LiteralBoolean91", MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow90_LiteralBoolean91); + AddToElementRepository("LiteralInteger92", MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow90_LiteralInteger92); + AddToElementRepository("Read b.p", MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_b_p); + AddToElementRepository("result", MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_b_p_result); + AddToElementRepository("LiteralUnlimitedNatural93", MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_b_p_result_LiteralUnlimitedNatural93); + AddToElementRepository("LiteralInteger94", MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_b_p_result_LiteralInteger94); + AddToElementRepository("object", MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_b_p_object); + AddToElementRepository("LiteralInteger95", MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_b_p_object_LiteralInteger95); + AddToElementRepository("LiteralUnlimitedNatural96", MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_b_p_object_LiteralUnlimitedNatural96); + AddToElementRepository("Read c.a1", MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_a1); + AddToElementRepository("object", MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_a1_object); + AddToElementRepository("LiteralUnlimitedNatural97", MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_a1_object_LiteralUnlimitedNatural97); + AddToElementRepository("LiteralInteger98", MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_a1_object_LiteralInteger98); + AddToElementRepository("result", MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_a1_result); + AddToElementRepository("LiteralInteger99", MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_a1_result_LiteralInteger99); + AddToElementRepository("LiteralUnlimitedNatural100", MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_a1_result_LiteralUnlimitedNatural100); + AddToElementRepository("ObjectFlow101", MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow101); + AddToElementRepository("LiteralInteger102", MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow101_LiteralInteger102); + AddToElementRepository("LiteralBoolean103", MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow101_LiteralBoolean103); + AddToElementRepository("Call p.setP()", MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Call_p_setP_); + AddToElementRepository("v", MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Call_p_setP__v); + AddToElementRepository("LiteralInteger104", MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Call_p_setP__v_LiteralInteger104); + AddToElementRepository("LiteralUnlimitedNatural105", MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Call_p_setP__v_LiteralUnlimitedNatural105); + AddToElementRepository("LiteralInteger106", MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Call_p_setP__v_LiteralInteger106); + AddToElementRepository("target", MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Call_p_setP__target); + AddToElementRepository("LiteralInteger107", MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Call_p_setP__target_LiteralInteger107); + AddToElementRepository("LiteralUnlimitedNatural108", MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Call_p_setP__target_LiteralUnlimitedNatural108); + AddToElementRepository("Read a.b", MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_a_b); + AddToElementRepository("result", MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_a_b_result); + AddToElementRepository("LiteralUnlimitedNatural109", MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_a_b_result_LiteralUnlimitedNatural109); + AddToElementRepository("LiteralInteger110", MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_a_b_result_LiteralInteger110); + AddToElementRepository("object", MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_a_b_object); + AddToElementRepository("LiteralInteger111", MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_a_b_object_LiteralInteger111); + AddToElementRepository("LiteralUnlimitedNatural112", MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_a_b_object_LiteralUnlimitedNatural112); + AddToElementRepository("C", MultipleDelegation_MultipleConnector_P_PWP_Operation_C); + AddToElementRepository("a3", MultipleDelegation_MultipleConnector_P_PWP_Operation_C_a3); + AddToElementRepository("u1", MultipleDelegation_MultipleConnector_P_PWP_Operation_C_u1); + AddToElementRepository("ConnectorEnd113", MultipleDelegation_MultipleConnector_P_PWP_Operation_C_u1_ConnectorEnd113); + AddToElementRepository("ConnectorEnd114", MultipleDelegation_MultipleConnector_P_PWP_Operation_C_u1_ConnectorEnd114); + AddToElementRepository("u2", MultipleDelegation_MultipleConnector_P_PWP_Operation_C_u2); + AddToElementRepository("ConnectorEnd115", MultipleDelegation_MultipleConnector_P_PWP_Operation_C_u2_ConnectorEnd115); + AddToElementRepository("ConnectorEnd116", MultipleDelegation_MultipleConnector_P_PWP_Operation_C_u2_ConnectorEnd116); + AddToElementRepository("u3", MultipleDelegation_MultipleConnector_P_PWP_Operation_C_u3); + AddToElementRepository("ConnectorEnd117", MultipleDelegation_MultipleConnector_P_PWP_Operation_C_u3_ConnectorEnd117); + AddToElementRepository("ConnectorEnd118", MultipleDelegation_MultipleConnector_P_PWP_Operation_C_u3_ConnectorEnd118); + AddToElementRepository("u4", MultipleDelegation_MultipleConnector_P_PWP_Operation_C_u4); + AddToElementRepository("ConnectorEnd119", MultipleDelegation_MultipleConnector_P_PWP_Operation_C_u4_ConnectorEnd119); + AddToElementRepository("ConnectorEnd120", MultipleDelegation_MultipleConnector_P_PWP_Operation_C_u4_ConnectorEnd120); + AddToElementRepository("C_C", MultipleDelegation_MultipleConnector_P_PWP_Operation_C_C_C); + AddToElementRepository("result", MultipleDelegation_MultipleConnector_P_PWP_Operation_C_C_C_result); + AddToElementRepository("a2", MultipleDelegation_MultipleConnector_P_PWP_Operation_C_a2); + AddToElementRepository("a1", MultipleDelegation_MultipleConnector_P_PWP_Operation_C_a1); + AddToElementRepository("p", MultipleDelegation_MultipleConnector_P_PWP_Operation_C_p); + AddToElementRepository("a4", MultipleDelegation_MultipleConnector_P_PWP_Operation_C_a4); + AddToElementRepository("U", MultipleDelegation_MultipleConnector_P_PWP_Operation_U); + AddToElementRepository("y", MultipleDelegation_MultipleConnector_P_PWP_Operation_U_y); + AddToElementRepository("x", MultipleDelegation_MultipleConnector_P_PWP_Operation_U_x); + + // Initialize public members + /* + * Model MultipleDelegation_MultipleConnector_P_PWP_Operation + */ + MultipleDelegation_MultipleConnector_P_PWP_Operation.SetName("MultipleDelegation_MultipleConnector_P_PWP_Operation"); + MultipleDelegation_MultipleConnector_P_PWP_Operation.SetVisibility(VisibilityKind.public_); + // Class B + MultipleDelegation_MultipleConnector_P_PWP_Operation_B.SetName("B"); + MultipleDelegation_MultipleConnector_P_PWP_Operation_B.SetVisibility(VisibilityKind.public_); + + // Property p + MultipleDelegation_MultipleConnector_P_PWP_Operation_B_p.SetName("p"); + MultipleDelegation_MultipleConnector_P_PWP_Operation_B_p.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_PWP_Operation_B_p.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + // LiteralInteger LiteralInteger0 + MultipleDelegation_MultipleConnector_P_PWP_Operation_B_p_LiteralInteger0.SetName("LiteralInteger0"); + MultipleDelegation_MultipleConnector_P_PWP_Operation_B_p_LiteralInteger0.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Operation_B_p_LiteralInteger0.SetValue(0); + MultipleDelegation_MultipleConnector_P_PWP_Operation_B_p.SetDefaultValue(MultipleDelegation_MultipleConnector_P_PWP_Operation_B_p_LiteralInteger0); + MultipleDelegation_MultipleConnector_P_PWP_Operation_B.AddOwnedAttribute(MultipleDelegation_MultipleConnector_P_PWP_Operation_B_p); + // Activity setPActivity + MultipleDelegation_MultipleConnector_P_PWP_Operation_B_setPActivity.SetName("setPActivity"); + MultipleDelegation_MultipleConnector_P_PWP_Operation_B_setPActivity.SetVisibility(VisibilityKind.public_); + + // Parameter v + MultipleDelegation_MultipleConnector_P_PWP_Operation_B_setPActivity_v.SetName("v"); + MultipleDelegation_MultipleConnector_P_PWP_Operation_B_setPActivity_v.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_PWP_Operation_B_setPActivity_v.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + MultipleDelegation_MultipleConnector_P_PWP_Operation_B_setPActivity.AddOwnedParameter(MultipleDelegation_MultipleConnector_P_PWP_Operation_B_setPActivity_v); + // ActivityParameterNode vParameterNode + MultipleDelegation_MultipleConnector_P_PWP_Operation_B_setPActivity_vParameterNode.SetName("vParameterNode"); + MultipleDelegation_MultipleConnector_P_PWP_Operation_B_setPActivity_vParameterNode.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_PWP_Operation_B_setPActivity_vParameterNode.SetParameter(MultipleDelegation_MultipleConnector_P_PWP_Operation_B_setPActivity_v); + MultipleDelegation_MultipleConnector_P_PWP_Operation_B_setPActivity.AddNode(MultipleDelegation_MultipleConnector_P_PWP_Operation_B_setPActivity_vParameterNode); + // ReadSelfAction this + MultipleDelegation_MultipleConnector_P_PWP_Operation_B_setPActivity_this.SetName("this"); + MultipleDelegation_MultipleConnector_P_PWP_Operation_B_setPActivity_this.SetVisibility(VisibilityKind.public_); + // OutputPin result + MultipleDelegation_MultipleConnector_P_PWP_Operation_B_setPActivity_this_result.SetName("result"); + MultipleDelegation_MultipleConnector_P_PWP_Operation_B_setPActivity_this_result.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Operation_B_setPActivity_this_result.SetType(MultipleDelegation_MultipleConnector_P_PWP_Operation_B); + MultipleDelegation_MultipleConnector_P_PWP_Operation_B_setPActivity_this.SetResult(MultipleDelegation_MultipleConnector_P_PWP_Operation_B_setPActivity_this_result); + MultipleDelegation_MultipleConnector_P_PWP_Operation_B_setPActivity.AddNode(MultipleDelegation_MultipleConnector_P_PWP_Operation_B_setPActivity_this); + // AddStructuralFeatureValueAction Set this.p + MultipleDelegation_MultipleConnector_P_PWP_Operation_B_setPActivity_Set_this_p.SetName("Set this.p"); + MultipleDelegation_MultipleConnector_P_PWP_Operation_B_setPActivity_Set_this_p.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Operation_B_setPActivity_Set_this_p.SetStructuralFeature(MultipleDelegation_MultipleConnector_P_PWP_Operation_B_p); + // InputPin object + MultipleDelegation_MultipleConnector_P_PWP_Operation_B_setPActivity_Set_this_p_object.SetName("object"); + MultipleDelegation_MultipleConnector_P_PWP_Operation_B_setPActivity_Set_this_p_object.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Operation_B_setPActivity_Set_this_p_object.SetType(MultipleDelegation_MultipleConnector_P_PWP_Operation_B); + MultipleDelegation_MultipleConnector_P_PWP_Operation_B_setPActivity_Set_this_p.SetObject(MultipleDelegation_MultipleConnector_P_PWP_Operation_B_setPActivity_Set_this_p_object); + // InputPin value + MultipleDelegation_MultipleConnector_P_PWP_Operation_B_setPActivity_Set_this_p_value.SetName("value"); + MultipleDelegation_MultipleConnector_P_PWP_Operation_B_setPActivity_Set_this_p_value.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Operation_B_setPActivity_Set_this_p_value.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + MultipleDelegation_MultipleConnector_P_PWP_Operation_B_setPActivity_Set_this_p.SetValue(MultipleDelegation_MultipleConnector_P_PWP_Operation_B_setPActivity_Set_this_p_value); + // OutputPin result + MultipleDelegation_MultipleConnector_P_PWP_Operation_B_setPActivity_Set_this_p_result.SetName("result"); + MultipleDelegation_MultipleConnector_P_PWP_Operation_B_setPActivity_Set_this_p_result.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Operation_B_setPActivity_Set_this_p_result.SetType(MultipleDelegation_MultipleConnector_P_PWP_Operation_B); + MultipleDelegation_MultipleConnector_P_PWP_Operation_B_setPActivity_Set_this_p.SetResult(MultipleDelegation_MultipleConnector_P_PWP_Operation_B_setPActivity_Set_this_p_result); + MultipleDelegation_MultipleConnector_P_PWP_Operation_B_setPActivity.AddNode(MultipleDelegation_MultipleConnector_P_PWP_Operation_B_setPActivity_Set_this_p); + // ObjectFlow ObjectFlow4 from vParameterNode to value + MultipleDelegation_MultipleConnector_P_PWP_Operation_B_setPActivity_ObjectFlow4.SetName("ObjectFlow4"); + MultipleDelegation_MultipleConnector_P_PWP_Operation_B_setPActivity_ObjectFlow4.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_PWP_Operation_B_setPActivity_ObjectFlow4.SetSource(MultipleDelegation_MultipleConnector_P_PWP_Operation_B_setPActivity_vParameterNode); + MultipleDelegation_MultipleConnector_P_PWP_Operation_B_setPActivity_ObjectFlow4.SetTarget(MultipleDelegation_MultipleConnector_P_PWP_Operation_B_setPActivity_Set_this_p_value); + // LiteralBoolean LiteralBoolean5 + MultipleDelegation_MultipleConnector_P_PWP_Operation_B_setPActivity_ObjectFlow4_LiteralBoolean5.SetName("LiteralBoolean5"); + MultipleDelegation_MultipleConnector_P_PWP_Operation_B_setPActivity_ObjectFlow4_LiteralBoolean5.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Operation_B_setPActivity_ObjectFlow4_LiteralBoolean5.SetValue(true); + MultipleDelegation_MultipleConnector_P_PWP_Operation_B_setPActivity_ObjectFlow4.SetGuard(MultipleDelegation_MultipleConnector_P_PWP_Operation_B_setPActivity_ObjectFlow4_LiteralBoolean5); + MultipleDelegation_MultipleConnector_P_PWP_Operation_B_setPActivity.AddEdge(MultipleDelegation_MultipleConnector_P_PWP_Operation_B_setPActivity_ObjectFlow4); + // ObjectFlow ObjectFlow7 from result to object + MultipleDelegation_MultipleConnector_P_PWP_Operation_B_setPActivity_ObjectFlow7.SetName("ObjectFlow7"); + MultipleDelegation_MultipleConnector_P_PWP_Operation_B_setPActivity_ObjectFlow7.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_PWP_Operation_B_setPActivity_ObjectFlow7.SetSource(MultipleDelegation_MultipleConnector_P_PWP_Operation_B_setPActivity_this_result); + MultipleDelegation_MultipleConnector_P_PWP_Operation_B_setPActivity_ObjectFlow7.SetTarget(MultipleDelegation_MultipleConnector_P_PWP_Operation_B_setPActivity_Set_this_p_object); + // LiteralBoolean LiteralBoolean8 + MultipleDelegation_MultipleConnector_P_PWP_Operation_B_setPActivity_ObjectFlow7_LiteralBoolean8.SetName("LiteralBoolean8"); + MultipleDelegation_MultipleConnector_P_PWP_Operation_B_setPActivity_ObjectFlow7_LiteralBoolean8.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Operation_B_setPActivity_ObjectFlow7_LiteralBoolean8.SetValue(true); + MultipleDelegation_MultipleConnector_P_PWP_Operation_B_setPActivity_ObjectFlow7.SetGuard(MultipleDelegation_MultipleConnector_P_PWP_Operation_B_setPActivity_ObjectFlow7_LiteralBoolean8); + MultipleDelegation_MultipleConnector_P_PWP_Operation_B_setPActivity.AddEdge(MultipleDelegation_MultipleConnector_P_PWP_Operation_B_setPActivity_ObjectFlow7); + MultipleDelegation_MultipleConnector_P_PWP_Operation_B.AddOwnedBehavior(MultipleDelegation_MultipleConnector_P_PWP_Operation_B_setPActivity); + MultipleDelegation_MultipleConnector_P_PWP_Operation_B_IRealization.SetName("IRealization"); + MultipleDelegation_MultipleConnector_P_PWP_Operation_B_IRealization.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Operation_B_IRealization.SetContract(MultipleDelegation_MultipleConnector_P_PWP_Operation_I); + + MultipleDelegation_MultipleConnector_P_PWP_Operation_B.AddInterfaceRealization(MultipleDelegation_MultipleConnector_P_PWP_Operation_B_IRealization); + + // Operation setP_Integer + MultipleDelegation_MultipleConnector_P_PWP_Operation_B_setP_Integer.SetName("setP_Integer"); + MultipleDelegation_MultipleConnector_P_PWP_Operation_B_setP_Integer.SetVisibility(VisibilityKind.public_); + // Parameter v + MultipleDelegation_MultipleConnector_P_PWP_Operation_B_setP_Integer_v.SetName("v"); + MultipleDelegation_MultipleConnector_P_PWP_Operation_B_setP_Integer_v.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_PWP_Operation_B_setP_Integer_v.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + MultipleDelegation_MultipleConnector_P_PWP_Operation_B_setP_Integer.AddOwnedParameter(MultipleDelegation_MultipleConnector_P_PWP_Operation_B_setP_Integer_v); + MultipleDelegation_MultipleConnector_P_PWP_Operation_B_setP_Integer.AddMethod(MultipleDelegation_MultipleConnector_P_PWP_Operation_B_setPActivity); + MultipleDelegation_MultipleConnector_P_PWP_Operation_B.AddOwnedOperation(MultipleDelegation_MultipleConnector_P_PWP_Operation_B_setP_Integer); + MultipleDelegation_MultipleConnector_P_PWP_Operation.AddPackagedElement(MultipleDelegation_MultipleConnector_P_PWP_Operation_B); + // Class IImpl + MultipleDelegation_MultipleConnector_P_PWP_Operation_IImpl.SetName("IImpl"); + MultipleDelegation_MultipleConnector_P_PWP_Operation_IImpl.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Operation_IImpl_IRealization.SetName("IRealization"); + MultipleDelegation_MultipleConnector_P_PWP_Operation_IImpl_IRealization.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Operation_IImpl_IRealization.SetContract(MultipleDelegation_MultipleConnector_P_PWP_Operation_I); + + MultipleDelegation_MultipleConnector_P_PWP_Operation_IImpl.AddInterfaceRealization(MultipleDelegation_MultipleConnector_P_PWP_Operation_IImpl_IRealization); + + // Operation setP_Integer + MultipleDelegation_MultipleConnector_P_PWP_Operation_IImpl_setP_Integer.SetName("setP_Integer"); + MultipleDelegation_MultipleConnector_P_PWP_Operation_IImpl_setP_Integer.SetVisibility(VisibilityKind.public_); + // Parameter v + MultipleDelegation_MultipleConnector_P_PWP_Operation_IImpl_setP_Integer_v.SetName("v"); + MultipleDelegation_MultipleConnector_P_PWP_Operation_IImpl_setP_Integer_v.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_PWP_Operation_IImpl_setP_Integer_v.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + MultipleDelegation_MultipleConnector_P_PWP_Operation_IImpl_setP_Integer.AddOwnedParameter(MultipleDelegation_MultipleConnector_P_PWP_Operation_IImpl_setP_Integer_v); + MultipleDelegation_MultipleConnector_P_PWP_Operation_IImpl.AddOwnedOperation(MultipleDelegation_MultipleConnector_P_PWP_Operation_IImpl_setP_Integer); + MultipleDelegation_MultipleConnector_P_PWP_Operation.AddPackagedElement(MultipleDelegation_MultipleConnector_P_PWP_Operation_IImpl); + // Interface I + MultipleDelegation_MultipleConnector_P_PWP_Operation_I.SetName("I"); + MultipleDelegation_MultipleConnector_P_PWP_Operation_I.SetVisibility(VisibilityKind.public_); + // Operation setP_Integer + MultipleDelegation_MultipleConnector_P_PWP_Operation_I_setP_Integer.SetName("setP_Integer"); + MultipleDelegation_MultipleConnector_P_PWP_Operation_I_setP_Integer.SetVisibility(VisibilityKind.public_); + // Parameter v + MultipleDelegation_MultipleConnector_P_PWP_Operation_I_setP_Integer_v.SetName("v"); + MultipleDelegation_MultipleConnector_P_PWP_Operation_I_setP_Integer_v.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_PWP_Operation_I_setP_Integer_v.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + MultipleDelegation_MultipleConnector_P_PWP_Operation_I_setP_Integer.AddOwnedParameter(MultipleDelegation_MultipleConnector_P_PWP_Operation_I_setP_Integer_v); + MultipleDelegation_MultipleConnector_P_PWP_Operation_I.AddOwnedOperation(MultipleDelegation_MultipleConnector_P_PWP_Operation_I_setP_Integer); + MultipleDelegation_MultipleConnector_P_PWP_Operation.AddPackagedElement(MultipleDelegation_MultipleConnector_P_PWP_Operation_I); + // Class A + MultipleDelegation_MultipleConnector_P_PWP_Operation_A.SetName("A"); + MultipleDelegation_MultipleConnector_P_PWP_Operation_A.SetVisibility(VisibilityKind.public_); + + // Port q + MultipleDelegation_MultipleConnector_P_PWP_Operation_A_q.SetName("q"); + MultipleDelegation_MultipleConnector_P_PWP_Operation_A_q.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_PWP_Operation_A_q.SetType(MultipleDelegation_MultipleConnector_P_PWP_Operation_IImpl); + MultipleDelegation_MultipleConnector_P_PWP_Operation_A_q.SetAggregation(AggregationKind.composite); + MultipleDelegation_MultipleConnector_P_PWP_Operation_A_q.isService = true; + MultipleDelegation_MultipleConnector_P_PWP_Operation_A_q.AddProvided(MultipleDelegation_MultipleConnector_P_PWP_Operation_I); + MultipleDelegation_MultipleConnector_P_PWP_Operation_A.AddOwnedAttribute(MultipleDelegation_MultipleConnector_P_PWP_Operation_A_q); + // Property b + MultipleDelegation_MultipleConnector_P_PWP_Operation_A_b.SetName("b"); + MultipleDelegation_MultipleConnector_P_PWP_Operation_A_b.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_PWP_Operation_A_b.SetType(MultipleDelegation_MultipleConnector_P_PWP_Operation_B); + MultipleDelegation_MultipleConnector_P_PWP_Operation_A_b.SetAggregation(AggregationKind.composite); + MultipleDelegation_MultipleConnector_P_PWP_Operation_A.AddOwnedAttribute(MultipleDelegation_MultipleConnector_P_PWP_Operation_A_b); + + MultipleDelegation_MultipleConnector_P_PWP_Operation_A_r.SetName("r"); + MultipleDelegation_MultipleConnector_P_PWP_Operation_A_r.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_PWP_Operation_A_r_ConnectorEnd16.SetRole(MultipleDelegation_MultipleConnector_P_PWP_Operation_A_q); + + MultipleDelegation_MultipleConnector_P_PWP_Operation_A_r.AddEnd(MultipleDelegation_MultipleConnector_P_PWP_Operation_A_r_ConnectorEnd16); + + MultipleDelegation_MultipleConnector_P_PWP_Operation_A_r_ConnectorEnd17.SetRole(MultipleDelegation_MultipleConnector_P_PWP_Operation_A_b); + + MultipleDelegation_MultipleConnector_P_PWP_Operation_A_r.AddEnd(MultipleDelegation_MultipleConnector_P_PWP_Operation_A_r_ConnectorEnd17); + MultipleDelegation_MultipleConnector_P_PWP_Operation_A_r.SetType(MultipleDelegation_MultipleConnector_P_PWP_Operation_R); + MultipleDelegation_MultipleConnector_P_PWP_Operation_A.AddOwnedConnector(MultipleDelegation_MultipleConnector_P_PWP_Operation_A_r); + MultipleDelegation_MultipleConnector_P_PWP_Operation.AddPackagedElement(MultipleDelegation_MultipleConnector_P_PWP_Operation_A); + // Association R + MultipleDelegation_MultipleConnector_P_PWP_Operation_R.SetName("R"); + MultipleDelegation_MultipleConnector_P_PWP_Operation_R.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Operation_R.AddOwnedEnd(MultipleDelegation_MultipleConnector_P_PWP_Operation_R_x); + MultipleDelegation_MultipleConnector_P_PWP_Operation_R.AddOwnedEnd(MultipleDelegation_MultipleConnector_P_PWP_Operation_R_y); + MultipleDelegation_MultipleConnector_P_PWP_Operation.AddPackagedElement(MultipleDelegation_MultipleConnector_P_PWP_Operation_R); + // Activity main + MultipleDelegation_MultipleConnector_P_PWP_Operation_main.SetName("main"); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main.SetVisibility(VisibilityKind.public_); + // FunctionBehavior testP + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_testP.SetName("testP"); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_testP.SetVisibility(VisibilityKind.public_); + + // Parameter p + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_testP_p.SetName("p"); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_testP_p.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_testP_p.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_testP.AddOwnedParameter(MultipleDelegation_MultipleConnector_P_PWP_Operation_main_testP_p); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_testP.AddLanguage("C#"); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_testP.AddLanguage("Using"); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_testP.AddBody("if(index == 1) { Console.WriteLine(\"Asserting c.a1.b.p == 4 || c.a2.b.p == 4 || c.a3.b.p == 4 || c.a4.b.c == 4\"); } // For some reason, during the first execution of the expansion region, its body is actually executed twice. // Because of that, the body is actually executaed 5 times in total. This if-statement covers that up until solved. if (index <= MAX_INDEX) { // Test parameter p int p = ((IntegerValue)inputParameters.ElementAt(0).values.ElementAt(0)).value; Debug.Println(\"[doBody] argument p = \" + p); Console.WriteLine( \"c.a\" + index + \".b.p == \" + p); success = success || (p == 4); if (index == MAX_INDEX) { Console.Write(\"Operation call delegated: \"); if (success) { Console.ForegroundColor = ConsoleColor.Green; Console.WriteLine(\"Assertion successful.\"); } else { Console.ForegroundColor = ConsoleColor.Red; Console.WriteLine(\"Assertion failed!\"); } Console.ResetColor(); } } index++;"); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_testP.AddBody("using fuml.semantics.simpleclassifiers; "); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main.AddOwnedBehavior(MultipleDelegation_MultipleConnector_P_PWP_Operation_main_testP); + // ReadStructuralFeatureAction Read c.a2 + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_a2.SetName("Read c.a2"); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_a2.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_a2.SetStructuralFeature(MultipleDelegation_MultipleConnector_P_PWP_Operation_C_a2); + // InputPin object + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_a2_object.SetName("object"); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_a2_object.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_a2_object.SetType(MultipleDelegation_MultipleConnector_P_PWP_Operation_C); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_a2.SetObject(MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_a2_object); + // OutputPin result + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_a2_result.SetName("result"); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_a2_result.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_a2_result.SetType(MultipleDelegation_MultipleConnector_P_PWP_Operation_A); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_a2.SetResult(MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_a2_result); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main.AddNode(MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_a2); + // ValueSpecificationAction Value(4) + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Value_4.SetName("Value(4)"); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Value_4.SetVisibility(VisibilityKind.public_); + // LiteralInteger LiteralInteger20 + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Value_4_LiteralInteger20.SetName("LiteralInteger20"); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Value_4_LiteralInteger20.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Value_4_LiteralInteger20.SetValue(4); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Value_4.SetValue(MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Value_4_LiteralInteger20); + // OutputPin result + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Value_4_result.SetName("result"); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Value_4_result.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Value_4_result.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Value_4.SetResult(MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Value_4_result); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main.AddNode(MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Value_4); + // CreateObjectAction Create C + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Create_C.SetName("Create C"); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Create_C.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Create_C.SetClassifier(MultipleDelegation_MultipleConnector_P_PWP_Operation_C); + // OutputPin result + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Create_C_result.SetName("result"); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Create_C_result.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Create_C_result.SetType(MultipleDelegation_MultipleConnector_P_PWP_Operation_C); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Create_C.SetResult(MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Create_C_result); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main.AddNode(MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Create_C); + // CallBehaviorAction Call testP + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Call_testP.SetName("Call testP"); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Call_testP.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Call_testP.SetBehavior(MultipleDelegation_MultipleConnector_P_PWP_Operation_main_testP); + // InputPin p + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Call_testP_p.SetName("p"); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Call_testP_p.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Call_testP_p.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Call_testP.AddArgument(MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Call_testP_p); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main.AddNode(MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Call_testP); + // ReadStructuralFeatureAction Read c.p + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_p.SetName("Read c.p"); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_p.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_p.SetStructuralFeature(MultipleDelegation_MultipleConnector_P_PWP_Operation_C_p); + // InputPin object + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_p_object.SetName("object"); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_p_object.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_p_object.SetType(MultipleDelegation_MultipleConnector_P_PWP_Operation_C); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_p.SetObject(MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_p_object); + // OutputPin result + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_p_result.SetName("result"); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_p_result.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_p_result.SetType(MultipleDelegation_MultipleConnector_P_PWP_Operation_IImpl); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_p.SetResult(MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_p_result); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main.AddNode(MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_p); + // ReadStructuralFeatureAction Read c.a4 + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_a4.SetName("Read c.a4"); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_a4.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_a4.SetStructuralFeature(MultipleDelegation_MultipleConnector_P_PWP_Operation_C_a4); + // InputPin object + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_a4_object.SetName("object"); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_a4_object.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_a4_object.SetType(MultipleDelegation_MultipleConnector_P_PWP_Operation_C); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_a4.SetObject(MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_a4_object); + // OutputPin result + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_a4_result.SetName("result"); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_a4_result.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_a4_result.SetType(MultipleDelegation_MultipleConnector_P_PWP_Operation_A); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_a4.SetResult(MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_a4_result); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main.AddNode(MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_a4); + // CallOperationAction C() + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_C_.SetName("C()"); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_C_.SetVisibility(VisibilityKind.public_); + + // OutputPin result + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_C__result.SetName("result"); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_C__result.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_C__result.SetType(MultipleDelegation_MultipleConnector_P_PWP_Operation_C); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_C_.AddResult(MultipleDelegation_MultipleConnector_P_PWP_Operation_main_C__result); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_C_.SetOperation(MultipleDelegation_MultipleConnector_P_PWP_Operation_C_C_C); + // InputPin target + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_C__target.SetName("target"); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_C__target.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_C__target.SetType(MultipleDelegation_MultipleConnector_P_PWP_Operation_C); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_C_.SetTarget(MultipleDelegation_MultipleConnector_P_PWP_Operation_main_C__target); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main.AddNode(MultipleDelegation_MultipleConnector_P_PWP_Operation_main_C_); + // ReadStructuralFeatureAction Read b.p + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_b_p.SetName("Read b.p"); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_b_p.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_b_p.SetStructuralFeature(MultipleDelegation_MultipleConnector_P_PWP_Operation_B_p); + // InputPin object + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_b_p_object.SetName("object"); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_b_p_object.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_b_p_object.SetType(MultipleDelegation_MultipleConnector_P_PWP_Operation_B); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_b_p.SetObject(MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_b_p_object); + // OutputPin result + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_b_p_result.SetName("result"); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_b_p_result.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_b_p_result.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_b_p.SetResult(MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_b_p_result); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main.AddNode(MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_b_p); + // ReadStructuralFeatureAction Read c.a1 + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_a1.SetName("Read c.a1"); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_a1.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_a1.SetStructuralFeature(MultipleDelegation_MultipleConnector_P_PWP_Operation_C_a1); + // InputPin object + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_a1_object.SetName("object"); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_a1_object.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_a1_object.SetType(MultipleDelegation_MultipleConnector_P_PWP_Operation_C); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_a1.SetObject(MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_a1_object); + // OutputPin result + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_a1_result.SetName("result"); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_a1_result.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_a1_result.SetType(MultipleDelegation_MultipleConnector_P_PWP_Operation_A); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_a1.SetResult(MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_a1_result); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main.AddNode(MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_a1); + // ReadStructuralFeatureAction Read c.a3 + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_a3.SetName("Read c.a3"); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_a3.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_a3.SetStructuralFeature(MultipleDelegation_MultipleConnector_P_PWP_Operation_C_a3); + // InputPin object + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_a3_object.SetName("object"); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_a3_object.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_a3_object.SetType(MultipleDelegation_MultipleConnector_P_PWP_Operation_C); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_a3.SetObject(MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_a3_object); + // OutputPin result + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_a3_result.SetName("result"); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_a3_result.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_a3_result.SetType(MultipleDelegation_MultipleConnector_P_PWP_Operation_A); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_a3.SetResult(MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_a3_result); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main.AddNode(MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_a3); + // CallOperationAction Call p.setP() + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Call_p_setP_.SetName("Call p.setP()"); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Call_p_setP_.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Call_p_setP_.SetOperation(MultipleDelegation_MultipleConnector_P_PWP_Operation_I_setP_Integer); + // InputPin target + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Call_p_setP__target.SetName("target"); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Call_p_setP__target.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Call_p_setP__target.SetType(MultipleDelegation_MultipleConnector_P_PWP_Operation_I); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Call_p_setP_.SetTarget(MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Call_p_setP__target); + // InputPin v + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Call_p_setP__v.SetName("v"); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Call_p_setP__v.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Call_p_setP__v.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Call_p_setP_.AddArgument(MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Call_p_setP__v); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main.AddNode(MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Call_p_setP_); + // ReadStructuralFeatureAction Read a.b + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_a_b.SetName("Read a.b"); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_a_b.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_a_b.SetStructuralFeature(MultipleDelegation_MultipleConnector_P_PWP_Operation_A_b); + // InputPin object + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_a_b_object.SetName("object"); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_a_b_object.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_a_b_object.SetType(MultipleDelegation_MultipleConnector_P_PWP_Operation_A); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_a_b.SetObject(MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_a_b_object); + // OutputPin result + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_a_b_result.SetName("result"); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_a_b_result.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_a_b_result.SetType(MultipleDelegation_MultipleConnector_P_PWP_Operation_B); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_a_b.SetResult(MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_a_b_result); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main.AddNode(MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_a_b); + // ForkNode Fork C + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Fork_C.SetName("Fork C"); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Fork_C.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main.AddNode(MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Fork_C); + // ObjectFlow ObjectFlow64 from result to target + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow64.SetName("ObjectFlow64"); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow64.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow64.SetSource(MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_p_result); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow64.SetTarget(MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Call_p_setP__target); + // LiteralBoolean LiteralBoolean65 + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow64_LiteralBoolean65.SetName("LiteralBoolean65"); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow64_LiteralBoolean65.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow64_LiteralBoolean65.SetValue(true); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow64.SetGuard(MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow64_LiteralBoolean65); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main.AddEdge(MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow64); + // ControlFlow ControlFlow67 from Read c.a2 to Read c.a3 + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ControlFlow67.SetName("ControlFlow67"); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ControlFlow67.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ControlFlow67.SetSource(MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_a2); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ControlFlow67.SetTarget(MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_a3); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main.AddEdge(MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ControlFlow67); + // ControlFlow ControlFlow68 from Read c.a3 to Read c.a4 + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ControlFlow68.SetName("ControlFlow68"); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ControlFlow68.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ControlFlow68.SetSource(MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_a3); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ControlFlow68.SetTarget(MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_a4); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main.AddEdge(MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ControlFlow68); + // ObjectFlow ObjectFlow69 from result to object + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow69.SetName("ObjectFlow69"); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow69.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow69.SetSource(MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_a3_result); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow69.SetTarget(MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_a_b_object); + // LiteralBoolean LiteralBoolean70 + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow69_LiteralBoolean70.SetName("LiteralBoolean70"); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow69_LiteralBoolean70.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow69_LiteralBoolean70.SetValue(true); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow69.SetGuard(MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow69_LiteralBoolean70); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main.AddEdge(MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow69); + // ObjectFlow ObjectFlow23 from Fork C to object + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow23.SetName("ObjectFlow23"); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow23.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow23.SetSource(MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Fork_C); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow23.SetTarget(MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_a1_object); + // LiteralBoolean LiteralBoolean25 + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow23_LiteralBoolean25.SetName("LiteralBoolean25"); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow23_LiteralBoolean25.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow23_LiteralBoolean25.SetValue(true); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow23.SetGuard(MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow23_LiteralBoolean25); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main.AddEdge(MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow23); + // ControlFlow ControlFlow29 from Read c.a1 to Read c.a2 + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ControlFlow29.SetName("ControlFlow29"); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ControlFlow29.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ControlFlow29.SetSource(MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_a1); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ControlFlow29.SetTarget(MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_a2); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main.AddEdge(MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ControlFlow29); + // ObjectFlow ObjectFlow30 from Fork C to object + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow30.SetName("ObjectFlow30"); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow30.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow30.SetSource(MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Fork_C); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow30.SetTarget(MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_p_object); + // LiteralBoolean LiteralBoolean31 + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow30_LiteralBoolean31.SetName("LiteralBoolean31"); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow30_LiteralBoolean31.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow30_LiteralBoolean31.SetValue(true); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow30.SetGuard(MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow30_LiteralBoolean31); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main.AddEdge(MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow30); + // ObjectFlow ObjectFlow72 from result to object + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow72.SetName("ObjectFlow72"); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow72.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow72.SetSource(MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_a1_result); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow72.SetTarget(MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_a_b_object); + // LiteralBoolean LiteralBoolean73 + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow72_LiteralBoolean73.SetName("LiteralBoolean73"); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow72_LiteralBoolean73.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow72_LiteralBoolean73.SetValue(true); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow72.SetGuard(MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow72_LiteralBoolean73); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main.AddEdge(MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow72); + // ObjectFlow ObjectFlow80 from result to object + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow80.SetName("ObjectFlow80"); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow80.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow80.SetSource(MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_a_b_result); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow80.SetTarget(MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_b_p_object); + // LiteralBoolean LiteralBoolean81 + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow80_LiteralBoolean81.SetName("LiteralBoolean81"); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow80_LiteralBoolean81.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow80_LiteralBoolean81.SetValue(true); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow80.SetGuard(MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow80_LiteralBoolean81); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main.AddEdge(MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow80); + // ObjectFlow ObjectFlow41 from Fork C to object + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow41.SetName("ObjectFlow41"); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow41.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow41.SetSource(MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Fork_C); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow41.SetTarget(MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_a4_object); + // LiteralBoolean LiteralBoolean43 + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow41_LiteralBoolean43.SetName("LiteralBoolean43"); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow41_LiteralBoolean43.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow41_LiteralBoolean43.SetValue(true); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow41.SetGuard(MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow41_LiteralBoolean43); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main.AddEdge(MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow41); + // ObjectFlow ObjectFlow83 from result to target + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow83.SetName("ObjectFlow83"); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow83.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow83.SetSource(MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Create_C_result); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow83.SetTarget(MultipleDelegation_MultipleConnector_P_PWP_Operation_main_C__target); + // LiteralBoolean LiteralBoolean85 + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow83_LiteralBoolean85.SetName("LiteralBoolean85"); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow83_LiteralBoolean85.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow83_LiteralBoolean85.SetValue(true); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow83.SetGuard(MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow83_LiteralBoolean85); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main.AddEdge(MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow83); + // ObjectFlow ObjectFlow86 from result to Fork C + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow86.SetName("ObjectFlow86"); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow86.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow86.SetSource(MultipleDelegation_MultipleConnector_P_PWP_Operation_main_C__result); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow86.SetTarget(MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Fork_C); + // LiteralBoolean LiteralBoolean87 + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow86_LiteralBoolean87.SetName("LiteralBoolean87"); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow86_LiteralBoolean87.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow86_LiteralBoolean87.SetValue(true); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow86.SetGuard(MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow86_LiteralBoolean87); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main.AddEdge(MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow86); + // ObjectFlow ObjectFlow44 from Fork C to object + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow44.SetName("ObjectFlow44"); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow44.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow44.SetSource(MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Fork_C); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow44.SetTarget(MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_a2_object); + // LiteralBoolean LiteralBoolean45 + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow44_LiteralBoolean45.SetName("LiteralBoolean45"); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow44_LiteralBoolean45.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow44_LiteralBoolean45.SetValue(true); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow44.SetGuard(MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow44_LiteralBoolean45); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main.AddEdge(MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow44); + // ControlFlow ControlFlow89 from Call p.setP() to Read c.a1 + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ControlFlow89.SetName("ControlFlow89"); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ControlFlow89.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ControlFlow89.SetSource(MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Call_p_setP_); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ControlFlow89.SetTarget(MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_a1); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main.AddEdge(MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ControlFlow89); + // ObjectFlow ObjectFlow90 from result to object + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow90.SetName("ObjectFlow90"); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow90.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow90.SetSource(MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_a4_result); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow90.SetTarget(MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_a_b_object); + // LiteralBoolean LiteralBoolean91 + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow90_LiteralBoolean91.SetName("LiteralBoolean91"); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow90_LiteralBoolean91.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow90_LiteralBoolean91.SetValue(true); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow90.SetGuard(MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow90_LiteralBoolean91); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main.AddEdge(MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow90); + // ObjectFlow ObjectFlow51 from Fork C to object + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow51.SetName("ObjectFlow51"); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow51.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow51.SetSource(MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Fork_C); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow51.SetTarget(MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_a3_object); + // LiteralBoolean LiteralBoolean53 + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow51_LiteralBoolean53.SetName("LiteralBoolean53"); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow51_LiteralBoolean53.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow51_LiteralBoolean53.SetValue(true); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow51.SetGuard(MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow51_LiteralBoolean53); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main.AddEdge(MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow51); + // ObjectFlow ObjectFlow54 from result to p + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow54.SetName("ObjectFlow54"); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow54.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow54.SetSource(MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_b_p_result); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow54.SetTarget(MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Call_testP_p); + // LiteralBoolean LiteralBoolean56 + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow54_LiteralBoolean56.SetName("LiteralBoolean56"); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow54_LiteralBoolean56.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow54_LiteralBoolean56.SetValue(true); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow54.SetGuard(MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow54_LiteralBoolean56); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main.AddEdge(MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow54); + // ObjectFlow ObjectFlow101 from result to object + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow101.SetName("ObjectFlow101"); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow101.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow101.SetSource(MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_c_a2_result); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow101.SetTarget(MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Read_a_b_object); + // LiteralBoolean LiteralBoolean103 + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow101_LiteralBoolean103.SetName("LiteralBoolean103"); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow101_LiteralBoolean103.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow101_LiteralBoolean103.SetValue(true); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow101.SetGuard(MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow101_LiteralBoolean103); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main.AddEdge(MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow101); + // ObjectFlow ObjectFlow57 from result to v + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow57.SetName("ObjectFlow57"); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow57.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow57.SetSource(MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Value_4_result); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow57.SetTarget(MultipleDelegation_MultipleConnector_P_PWP_Operation_main_Call_p_setP__v); + // LiteralBoolean LiteralBoolean58 + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow57_LiteralBoolean58.SetName("LiteralBoolean58"); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow57_LiteralBoolean58.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow57_LiteralBoolean58.SetValue(true); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow57.SetGuard(MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow57_LiteralBoolean58); + MultipleDelegation_MultipleConnector_P_PWP_Operation_main.AddEdge(MultipleDelegation_MultipleConnector_P_PWP_Operation_main_ObjectFlow57); + MultipleDelegation_MultipleConnector_P_PWP_Operation.AddPackagedElement(MultipleDelegation_MultipleConnector_P_PWP_Operation_main); + // Class C + MultipleDelegation_MultipleConnector_P_PWP_Operation_C.SetName("C"); + MultipleDelegation_MultipleConnector_P_PWP_Operation_C.SetVisibility(VisibilityKind.public_); + + // Port p + MultipleDelegation_MultipleConnector_P_PWP_Operation_C_p.SetName("p"); + MultipleDelegation_MultipleConnector_P_PWP_Operation_C_p.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_PWP_Operation_C_p.SetType(MultipleDelegation_MultipleConnector_P_PWP_Operation_IImpl); + MultipleDelegation_MultipleConnector_P_PWP_Operation_C_p.SetAggregation(AggregationKind.composite); + MultipleDelegation_MultipleConnector_P_PWP_Operation_C_p.isService = true; + MultipleDelegation_MultipleConnector_P_PWP_Operation_C_p.AddProvided(MultipleDelegation_MultipleConnector_P_PWP_Operation_I); + MultipleDelegation_MultipleConnector_P_PWP_Operation_C.AddOwnedAttribute(MultipleDelegation_MultipleConnector_P_PWP_Operation_C_p); + // Property a1 + MultipleDelegation_MultipleConnector_P_PWP_Operation_C_a1.SetName("a1"); + MultipleDelegation_MultipleConnector_P_PWP_Operation_C_a1.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_PWP_Operation_C_a1.SetType(MultipleDelegation_MultipleConnector_P_PWP_Operation_A); + MultipleDelegation_MultipleConnector_P_PWP_Operation_C_a1.SetAggregation(AggregationKind.composite); + MultipleDelegation_MultipleConnector_P_PWP_Operation_C.AddOwnedAttribute(MultipleDelegation_MultipleConnector_P_PWP_Operation_C_a1); + // Property a2 + MultipleDelegation_MultipleConnector_P_PWP_Operation_C_a2.SetName("a2"); + MultipleDelegation_MultipleConnector_P_PWP_Operation_C_a2.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_PWP_Operation_C_a2.SetType(MultipleDelegation_MultipleConnector_P_PWP_Operation_A); + MultipleDelegation_MultipleConnector_P_PWP_Operation_C_a2.SetAggregation(AggregationKind.composite); + MultipleDelegation_MultipleConnector_P_PWP_Operation_C.AddOwnedAttribute(MultipleDelegation_MultipleConnector_P_PWP_Operation_C_a2); + // Property a3 + MultipleDelegation_MultipleConnector_P_PWP_Operation_C_a3.SetName("a3"); + MultipleDelegation_MultipleConnector_P_PWP_Operation_C_a3.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_PWP_Operation_C_a3.SetType(MultipleDelegation_MultipleConnector_P_PWP_Operation_A); + MultipleDelegation_MultipleConnector_P_PWP_Operation_C_a3.SetAggregation(AggregationKind.composite); + MultipleDelegation_MultipleConnector_P_PWP_Operation_C.AddOwnedAttribute(MultipleDelegation_MultipleConnector_P_PWP_Operation_C_a3); + // Property a4 + MultipleDelegation_MultipleConnector_P_PWP_Operation_C_a4.SetName("a4"); + MultipleDelegation_MultipleConnector_P_PWP_Operation_C_a4.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_PWP_Operation_C_a4.SetType(MultipleDelegation_MultipleConnector_P_PWP_Operation_A); + MultipleDelegation_MultipleConnector_P_PWP_Operation_C_a4.SetAggregation(AggregationKind.composite); + MultipleDelegation_MultipleConnector_P_PWP_Operation_C.AddOwnedAttribute(MultipleDelegation_MultipleConnector_P_PWP_Operation_C_a4); + + MultipleDelegation_MultipleConnector_P_PWP_Operation_C_u1.SetName("u1"); + MultipleDelegation_MultipleConnector_P_PWP_Operation_C_u1.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_PWP_Operation_C_u1_ConnectorEnd113.SetRole(MultipleDelegation_MultipleConnector_P_PWP_Operation_C_p); + + MultipleDelegation_MultipleConnector_P_PWP_Operation_C_u1.AddEnd(MultipleDelegation_MultipleConnector_P_PWP_Operation_C_u1_ConnectorEnd113); + + MultipleDelegation_MultipleConnector_P_PWP_Operation_C_u1_ConnectorEnd114.SetRole(MultipleDelegation_MultipleConnector_P_PWP_Operation_A_q); + MultipleDelegation_MultipleConnector_P_PWP_Operation_C_u1_ConnectorEnd114.SetPartWithPort(MultipleDelegation_MultipleConnector_P_PWP_Operation_C_a1); + + MultipleDelegation_MultipleConnector_P_PWP_Operation_C_u1.AddEnd(MultipleDelegation_MultipleConnector_P_PWP_Operation_C_u1_ConnectorEnd114); + MultipleDelegation_MultipleConnector_P_PWP_Operation_C_u1.SetType(MultipleDelegation_MultipleConnector_P_PWP_Operation_U); + MultipleDelegation_MultipleConnector_P_PWP_Operation_C.AddOwnedConnector(MultipleDelegation_MultipleConnector_P_PWP_Operation_C_u1); + MultipleDelegation_MultipleConnector_P_PWP_Operation_C_u2.SetName("u2"); + MultipleDelegation_MultipleConnector_P_PWP_Operation_C_u2.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_PWP_Operation_C_u2_ConnectorEnd116.SetRole(MultipleDelegation_MultipleConnector_P_PWP_Operation_C_p); + + MultipleDelegation_MultipleConnector_P_PWP_Operation_C_u2.AddEnd(MultipleDelegation_MultipleConnector_P_PWP_Operation_C_u2_ConnectorEnd116); + + MultipleDelegation_MultipleConnector_P_PWP_Operation_C_u2_ConnectorEnd115.SetRole(MultipleDelegation_MultipleConnector_P_PWP_Operation_A_q); + MultipleDelegation_MultipleConnector_P_PWP_Operation_C_u2_ConnectorEnd115.SetPartWithPort(MultipleDelegation_MultipleConnector_P_PWP_Operation_C_a2); + + MultipleDelegation_MultipleConnector_P_PWP_Operation_C_u2.AddEnd(MultipleDelegation_MultipleConnector_P_PWP_Operation_C_u2_ConnectorEnd115); + MultipleDelegation_MultipleConnector_P_PWP_Operation_C_u2.SetType(MultipleDelegation_MultipleConnector_P_PWP_Operation_U); + MultipleDelegation_MultipleConnector_P_PWP_Operation_C.AddOwnedConnector(MultipleDelegation_MultipleConnector_P_PWP_Operation_C_u2); + MultipleDelegation_MultipleConnector_P_PWP_Operation_C_u3.SetName("u3"); + MultipleDelegation_MultipleConnector_P_PWP_Operation_C_u3.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_PWP_Operation_C_u3_ConnectorEnd117.SetRole(MultipleDelegation_MultipleConnector_P_PWP_Operation_C_p); + + MultipleDelegation_MultipleConnector_P_PWP_Operation_C_u3.AddEnd(MultipleDelegation_MultipleConnector_P_PWP_Operation_C_u3_ConnectorEnd117); + + MultipleDelegation_MultipleConnector_P_PWP_Operation_C_u3_ConnectorEnd118.SetRole(MultipleDelegation_MultipleConnector_P_PWP_Operation_A_q); + MultipleDelegation_MultipleConnector_P_PWP_Operation_C_u3_ConnectorEnd118.SetPartWithPort(MultipleDelegation_MultipleConnector_P_PWP_Operation_C_a3); + + MultipleDelegation_MultipleConnector_P_PWP_Operation_C_u3.AddEnd(MultipleDelegation_MultipleConnector_P_PWP_Operation_C_u3_ConnectorEnd118); + MultipleDelegation_MultipleConnector_P_PWP_Operation_C_u3.SetType(MultipleDelegation_MultipleConnector_P_PWP_Operation_U); + MultipleDelegation_MultipleConnector_P_PWP_Operation_C.AddOwnedConnector(MultipleDelegation_MultipleConnector_P_PWP_Operation_C_u3); + MultipleDelegation_MultipleConnector_P_PWP_Operation_C_u4.SetName("u4"); + MultipleDelegation_MultipleConnector_P_PWP_Operation_C_u4.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_PWP_Operation_C_u4_ConnectorEnd120.SetRole(MultipleDelegation_MultipleConnector_P_PWP_Operation_C_p); + + MultipleDelegation_MultipleConnector_P_PWP_Operation_C_u4.AddEnd(MultipleDelegation_MultipleConnector_P_PWP_Operation_C_u4_ConnectorEnd120); + + MultipleDelegation_MultipleConnector_P_PWP_Operation_C_u4_ConnectorEnd119.SetRole(MultipleDelegation_MultipleConnector_P_PWP_Operation_A_q); + MultipleDelegation_MultipleConnector_P_PWP_Operation_C_u4_ConnectorEnd119.SetPartWithPort(MultipleDelegation_MultipleConnector_P_PWP_Operation_C_a4); + + MultipleDelegation_MultipleConnector_P_PWP_Operation_C_u4.AddEnd(MultipleDelegation_MultipleConnector_P_PWP_Operation_C_u4_ConnectorEnd119); + MultipleDelegation_MultipleConnector_P_PWP_Operation_C_u4.SetType(MultipleDelegation_MultipleConnector_P_PWP_Operation_U); + MultipleDelegation_MultipleConnector_P_PWP_Operation_C.AddOwnedConnector(MultipleDelegation_MultipleConnector_P_PWP_Operation_C_u4); + // Operation C_C + MultipleDelegation_MultipleConnector_P_PWP_Operation_C_C_C.SetName("C_C"); + MultipleDelegation_MultipleConnector_P_PWP_Operation_C_C_C.SetVisibility(VisibilityKind.public_); + // Parameter result + MultipleDelegation_MultipleConnector_P_PWP_Operation_C_C_C_result.SetName("result"); + MultipleDelegation_MultipleConnector_P_PWP_Operation_C_C_C_result.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_PWP_Operation_C_C_C_result.SetType(MultipleDelegation_MultipleConnector_P_PWP_Operation_C); + MultipleDelegation_MultipleConnector_P_PWP_Operation_C_C_C_result.SetDirection(ParameterDirectionKind.return_); + MultipleDelegation_MultipleConnector_P_PWP_Operation_C_C_C.AddOwnedParameter(MultipleDelegation_MultipleConnector_P_PWP_Operation_C_C_C_result); + MultipleDelegation_MultipleConnector_P_PWP_Operation_C_C_C.ApplyStereotype(uml.standardprofile.StandardProfileModel.Instance().Stereotype_Create); + MultipleDelegation_MultipleConnector_P_PWP_Operation_C.AddOwnedOperation(MultipleDelegation_MultipleConnector_P_PWP_Operation_C_C_C); + MultipleDelegation_MultipleConnector_P_PWP_Operation.AddPackagedElement(MultipleDelegation_MultipleConnector_P_PWP_Operation_C); + // Association U + MultipleDelegation_MultipleConnector_P_PWP_Operation_U.SetName("U"); + MultipleDelegation_MultipleConnector_P_PWP_Operation_U.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Operation_U.AddOwnedEnd(MultipleDelegation_MultipleConnector_P_PWP_Operation_U_x); + MultipleDelegation_MultipleConnector_P_PWP_Operation_U.AddOwnedEnd(MultipleDelegation_MultipleConnector_P_PWP_Operation_U_y); + MultipleDelegation_MultipleConnector_P_PWP_Operation.AddPackagedElement(MultipleDelegation_MultipleConnector_P_PWP_Operation_U); + } + + /* Start of user code : User-defined members + * This section may be used for user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } // MultipleDelegation_MultipleConnector_P_PWP_OperationModel +} diff --git a/fUML-CSharp/tests/pscs-Tests/02_Communication/14_MultipleDelegation_MultipleConnector_P_PWP_Operation/src/testPExecution.cs b/fUML-CSharp/tests/pscs-Tests/02_Communication/14_MultipleDelegation_MultipleConnector_P_PWP_Operation/src/testPExecution.cs new file mode 100644 index 0000000..738beb5 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/02_Communication/14_MultipleDelegation_MultipleConnector_P_PWP_Operation/src/testPExecution.cs @@ -0,0 +1,98 @@ +/* + * testPExecution.cs + * + * Auto-generated file + */ + +using fuml.semantics.commonbehavior; +using fuml; +using fuml.semantics.simpleclassifiers; +using fuml.semantics.values; + +/* Start of user code : User-defined includes and forward declarations + * This section may be used for includes and forward declarations. + * It will not be overwritten by future generation processes. + */ + +/* + * End of user code + */ + +namespace MultipleDelegation_MultipleConnector_P_PWP_Operation +{ + public class testPExecution : OpaqueBehaviorExecution + { + public testPExecution() + { + types.Add(MultipleDelegation_MultipleConnector_P_PWP_OperationModel.Instance().MultipleDelegation_MultipleConnector_P_PWP_Operation_main_testP); + /* Start of user code : Additional opaque behavior execution initializations + * This section may be used to do any additional opaque behavior execution initialization, + * for example initializing user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } + + public override void DoBody(List inputParameters, List outputParameters) + { + if(index == 1) + { + Console.WriteLine("Asserting c.a1.b.p == 4 || c.a2.b.p == 4 || c.a3.b.p == 4 || c.a4.b.c == 4"); + } + + // For some reason, during the first execution of the expansion region, its body is actually executed twice. + // Because of that, the body is actually executaed 5 times in total. This if-statement covers that up until solved. + if (index <= MAX_INDEX) + { + // Test parameter p + int p = ((IntegerValue)inputParameters.ElementAt(0).values.ElementAt(0)).value; + Debug.Println("[doBody] argument p = " + p); + + Console.WriteLine( "c.a" + index + ".b.p == " + p); + success = success || (p == 4); + + if (index == MAX_INDEX) + { + + Console.Write("Operation call delegated: "); + + if (success) + { + Console.ForegroundColor = ConsoleColor.Green; + Console.WriteLine("Assertion successful."); + } + else + { + Console.ForegroundColor = ConsoleColor.Red; + Console.WriteLine("Assertion failed!"); + } + + Console.ResetColor(); + } + } + + index++; + } + + protected override Value New_() + { + return new testPExecution(); + } + + /* Start of user code : User-defined members + * This section may be used for user-defined members. + * It will not be overwritten by future generation processes. + */ + + private static int index = 1; + private const int MAX_INDEX = 4; + private static bool success = false; + + /* + * End of user code + */ + } // testPExecution +} diff --git a/fUML-CSharp/tests/pscs-Tests/02_Communication/15_MultipleDelegation_MultipleConnector_P_PWP_Signal/.gitignore b/fUML-CSharp/tests/pscs-Tests/02_Communication/15_MultipleDelegation_MultipleConnector_P_PWP_Signal/.gitignore new file mode 100644 index 0000000..1736844 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/02_Communication/15_MultipleDelegation_MultipleConnector_P_PWP_Signal/.gitignore @@ -0,0 +1,3 @@ +/.vs/ +/bin/ +/obj/ diff --git a/fUML-CSharp/tests/pscs-Tests/02_Communication/15_MultipleDelegation_MultipleConnector_P_PWP_Signal/MultipleDelegation_MultipleConnector_P_PWP_Signal.csproj b/fUML-CSharp/tests/pscs-Tests/02_Communication/15_MultipleDelegation_MultipleConnector_P_PWP_Signal/MultipleDelegation_MultipleConnector_P_PWP_Signal.csproj new file mode 100644 index 0000000..de5b3fa --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/02_Communication/15_MultipleDelegation_MultipleConnector_P_PWP_Signal/MultipleDelegation_MultipleConnector_P_PWP_Signal.csproj @@ -0,0 +1,50 @@ + + + + Exe + net6.0 + enable + enable + + + + MultipleDelegation_MultipleConnector_P_PWP_Signal.Debug + + + MultipleDelegation_MultipleConnector_P_PWP_Signal.Release + + + + + ..\..\..\..\uml\bin\Debug\net6.0\uml.Debug.dll + + + + + ..\..\..\..\uml\bin\Release\net6.0\uml.Release.dll + + + + + + ..\..\..\..\fuml\bin\Debug\net6.0\fuml.Debug.dll + + + + + ..\..\..\..\fuml\bin\Release\net6.0\fuml.Release.dll + + + + + + ..\..\..\..\pscs\bin\Debug\net6.0\pscs.Debug.dll + + + + + ..\..\..\..\pscs\bin\Release\net6.0\pscs.Release.dll + + + + diff --git a/fUML-CSharp/tests/pscs-Tests/02_Communication/15_MultipleDelegation_MultipleConnector_P_PWP_Signal/MultipleDelegation_MultipleConnector_P_PWP_Signal.sln b/fUML-CSharp/tests/pscs-Tests/02_Communication/15_MultipleDelegation_MultipleConnector_P_PWP_Signal/MultipleDelegation_MultipleConnector_P_PWP_Signal.sln new file mode 100644 index 0000000..06e3b00 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/02_Communication/15_MultipleDelegation_MultipleConnector_P_PWP_Signal/MultipleDelegation_MultipleConnector_P_PWP_Signal.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.32112.339 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MultipleDelegation_MultipleConnector_P_PWP_Signal", "MultipleDelegation_MultipleConnector_P_PWP_Signal.csproj", "{E3A0C25E-CD8E-4449-8F3C-BF30ABAB6092}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {E3A0C25E-CD8E-4449-8F3C-BF30ABAB6092}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {E3A0C25E-CD8E-4449-8F3C-BF30ABAB6092}.Debug|Any CPU.Build.0 = Debug|Any CPU + {E3A0C25E-CD8E-4449-8F3C-BF30ABAB6092}.Release|Any CPU.ActiveCfg = Release|Any CPU + {E3A0C25E-CD8E-4449-8F3C-BF30ABAB6092}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {A4408CEF-DF3B-49B6-BA66-9DF51EC32F42} + EndGlobalSection +EndGlobal diff --git a/fUML-CSharp/tests/pscs-Tests/02_Communication/15_MultipleDelegation_MultipleConnector_P_PWP_Signal/model/MultipleDelegation_MultipleConnector_P_PWP_Signal.di b/fUML-CSharp/tests/pscs-Tests/02_Communication/15_MultipleDelegation_MultipleConnector_P_PWP_Signal/model/MultipleDelegation_MultipleConnector_P_PWP_Signal.di new file mode 100644 index 0000000..8c549ee --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/02_Communication/15_MultipleDelegation_MultipleConnector_P_PWP_Signal/model/MultipleDelegation_MultipleConnector_P_PWP_Signal.di @@ -0,0 +1,2 @@ + + diff --git a/fUML-CSharp/tests/pscs-Tests/02_Communication/15_MultipleDelegation_MultipleConnector_P_PWP_Signal/model/MultipleDelegation_MultipleConnector_P_PWP_Signal.notation b/fUML-CSharp/tests/pscs-Tests/02_Communication/15_MultipleDelegation_MultipleConnector_P_PWP_Signal/model/MultipleDelegation_MultipleConnector_P_PWP_Signal.notation new file mode 100644 index 0000000..07ff751 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/02_Communication/15_MultipleDelegation_MultipleConnector_P_PWP_Signal/model/MultipleDelegation_MultipleConnector_P_PWP_Signal.notation @@ -0,0 +1,2290 @@ + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/fUML-CSharp/tests/pscs-Tests/02_Communication/15_MultipleDelegation_MultipleConnector_P_PWP_Signal/model/MultipleDelegation_MultipleConnector_P_PWP_Signal.uml b/fUML-CSharp/tests/pscs-Tests/02_Communication/15_MultipleDelegation_MultipleConnector_P_PWP_Signal/model/MultipleDelegation_MultipleConnector_P_PWP_Signal.uml new file mode 100644 index 0000000..c706067 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/02_Communication/15_MultipleDelegation_MultipleConnector_P_PWP_Signal/model/MultipleDelegation_MultipleConnector_P_PWP_Signal.uml @@ -0,0 +1,584 @@ + + + + + This test case addresses forwarding of a signal through multiple delegation links, corresponding to a single connector, +expressed between a port and a part with port. + + + Passing: true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + C# + Using + if(index == 1) + { + Console.WriteLine("Asserting c.a1.b.p == 4 && c.a2.b.p == 4 && c.a3.b.p == 4 && c.a4.b.p == 4"); + } + + // Test parameter p + int p = ((IntegerValue)inputParameters.ElementAt(0).values.ElementAt(0)).value; + Debug.Println("[doBody] argument p = " + p); + + Console.WriteLine( "c.a" + index + ".b.p == " + p); + success = success && (p == 4); + if(index == MAX_INDEX) + { + + Console.Write("Signal delegated on all links (shall be true for default strategy): "); + + if(success) + { + Console.ForegroundColor = ConsoleColor.Green; + Console.WriteLine("Assertion successful."); + } + else + { + Console.ForegroundColor = ConsoleColor.Red; + Console.WriteLine("Assertion failed!"); + } + + Console.ResetColor(); + } + + index++; + using fuml.semantics.simpleclassifiers; + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/fUML-CSharp/tests/pscs-Tests/02_Communication/15_MultipleDelegation_MultipleConnector_P_PWP_Signal/src/MultipleDelegation_MultipleConnector_P_PWP_Signal.cs b/fUML-CSharp/tests/pscs-Tests/02_Communication/15_MultipleDelegation_MultipleConnector_P_PWP_Signal/src/MultipleDelegation_MultipleConnector_P_PWP_Signal.cs new file mode 100644 index 0000000..a19339d --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/02_Communication/15_MultipleDelegation_MultipleConnector_P_PWP_Signal/src/MultipleDelegation_MultipleConnector_P_PWP_Signal.cs @@ -0,0 +1,31 @@ +namespace MultipleDelegation_MultipleConnector_P_PWP_Signal +{ + internal class MultipleDelegation_MultipleConnector_P_PWP_Signal + { + static void PrintUsage() + { + Console.WriteLine( + "=============================================================================================\n" + + "USAGE: [ <...>]\n" + + "=============================================================================================\n" + ); + } + + static int Main(string[] args) + { + if(args.Length == 0) + { + Console.WriteLine("[ERROR] Must declare at least one behavior name.\n"); + PrintUsage(); + return -1; + } + + foreach (string arg in args) + { + MultipleDelegation_MultipleConnector_P_PWP_SignalEnvironment.Instance().Execute(arg); + } + + return 0; + } + } +} diff --git a/fUML-CSharp/tests/pscs-Tests/02_Communication/15_MultipleDelegation_MultipleConnector_P_PWP_Signal/src/MultipleDelegation_MultipleConnector_P_PWP_SignalEnvironment.cs b/fUML-CSharp/tests/pscs-Tests/02_Communication/15_MultipleDelegation_MultipleConnector_P_PWP_Signal/src/MultipleDelegation_MultipleConnector_P_PWP_SignalEnvironment.cs new file mode 100644 index 0000000..0435e89 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/02_Communication/15_MultipleDelegation_MultipleConnector_P_PWP_Signal/src/MultipleDelegation_MultipleConnector_P_PWP_SignalEnvironment.cs @@ -0,0 +1,93 @@ +/* + * MultipleDelegation_MultipleConnector_P_PWP_SignalEnvironment.cs + * + * Auto-generated file + */ + +/* Start of user code : User-defined using directives + * This section may be used for using directives. + * It will not be overwritten by future generation processes. + */ + +/* + * End of user code + */ + +namespace MultipleDelegation_MultipleConnector_P_PWP_Signal +{ + public class MultipleDelegation_MultipleConnector_P_PWP_SignalEnvironment : pscs.environment.Environment + { + private static MultipleDelegation_MultipleConnector_P_PWP_SignalEnvironment? instance; + + public static MultipleDelegation_MultipleConnector_P_PWP_SignalEnvironment Instance() + { + if(instance is null) + { + instance = new(); + instance.inMemoryModel = MultipleDelegation_MultipleConnector_P_PWP_SignalModel.Instance(); + } + + return instance; + } + + public MultipleDelegation_MultipleConnector_P_PWP_SignalEnvironment() + { + /* + * Create custom opaque behavior execution instances and add them to the execution environment. + */ + AddPrimitiveBehaviorPrototype(new testPExecution()); + + /* Start of user code : Additional environment initializations + * This section may be used to do any additional environment initialization, + * for example initializing user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } + + public override void Execute(string behaviorName) + { + /* Start of user code : Context and inputs initializations + * This section may be used to initialize the execution context + * as well as input parameter values if required. + * It will not be overwritten by future generation processes. + */ + + //context = ...; + //inputs = ...; + + /* + * End of user code + */ + + /* + * Start execution via base class call + */ + base.Execute(behaviorName); + + /* Start of user code : Outputs evaluation + * This section may be used to evaluate output parameter values if required. + * It will not be overwritten by future generation processes. + */ + + //List theOutputs = outputs; + //... + + /* + * End of user code + */ + } + + /* Start of user code : User-defined members + * This section may be used for user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } // MultipleDelegation_MultipleConnector_P_PWP_SignalEnvironment +} diff --git a/fUML-CSharp/tests/pscs-Tests/02_Communication/15_MultipleDelegation_MultipleConnector_P_PWP_Signal/src/MultipleDelegation_MultipleConnector_P_PWP_SignalModel.cs b/fUML-CSharp/tests/pscs-Tests/02_Communication/15_MultipleDelegation_MultipleConnector_P_PWP_Signal/src/MultipleDelegation_MultipleConnector_P_PWP_SignalModel.cs new file mode 100644 index 0000000..e1186f0 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/02_Communication/15_MultipleDelegation_MultipleConnector_P_PWP_Signal/src/MultipleDelegation_MultipleConnector_P_PWP_SignalModel.cs @@ -0,0 +1,2026 @@ +/* + * MultipleDelegation_MultipleConnector_P_PWP_SignalModel.cs + * + * Auto-generated file + */ + +using uml.actions; +using uml.packages; +using uml.structuredclassifiers; +using fuml.primitivetypes; +using uml.classification; +using fuml.library; +using uml.commonbehavior; +using uml.simpleclassifiers; +using uml.commonstructure; +using uml.values; +using uml.activities; +using uml.environment; + + +/* Start of user code : User-defined includes and forward declarations + * This section may be used for includes and forward declarations. + * It will not be overwritten by future generation processes. + */ + +/* + * End of user code + */ + +namespace MultipleDelegation_MultipleConnector_P_PWP_Signal +{ + public class MultipleDelegation_MultipleConnector_P_PWP_SignalModel : InMemoryModel + { + private static MultipleDelegation_MultipleConnector_P_PWP_SignalModel? instance; + + /* + * Model MultipleDelegation_MultipleConnector_P_PWP_Signal + */ + public Package MultipleDelegation_MultipleConnector_P_PWP_Signal = new(); + public Activity MultipleDelegation_MultipleConnector_P_PWP_Signal_main = new(); + public ObjectFlow MultipleDelegation_MultipleConnector_P_PWP_Signal_main_ObjectFlow0 = new(); + public LiteralBoolean MultipleDelegation_MultipleConnector_P_PWP_Signal_main_ObjectFlow0_LiteralBoolean1 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_PWP_Signal_main_ObjectFlow0_LiteralInteger2 = new(); + public ObjectFlow MultipleDelegation_MultipleConnector_P_PWP_Signal_main_ObjectFlow3 = new(); + public LiteralBoolean MultipleDelegation_MultipleConnector_P_PWP_Signal_main_ObjectFlow3_LiteralBoolean4 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_PWP_Signal_main_ObjectFlow3_LiteralInteger5 = new(); + public ObjectFlow MultipleDelegation_MultipleConnector_P_PWP_Signal_main_ObjectFlow6 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_PWP_Signal_main_ObjectFlow6_LiteralInteger7 = new(); + public LiteralBoolean MultipleDelegation_MultipleConnector_P_PWP_Signal_main_ObjectFlow6_LiteralBoolean8 = new(); + public CreateObjectAction MultipleDelegation_MultipleConnector_P_PWP_Signal_main_Create_Tester = new(); + public OutputPin MultipleDelegation_MultipleConnector_P_PWP_Signal_main_Create_Tester_result = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_PWP_Signal_main_Create_Tester_result_LiteralInteger9 = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_PWP_Signal_main_Create_Tester_result_LiteralUnlimitedNatural10 = new(); + public ObjectFlow MultipleDelegation_MultipleConnector_P_PWP_Signal_main_ObjectFlow11 = new(); + public LiteralBoolean MultipleDelegation_MultipleConnector_P_PWP_Signal_main_ObjectFlow11_LiteralBoolean12 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_PWP_Signal_main_ObjectFlow11_LiteralInteger13 = new(); + public StartObjectBehaviorAction MultipleDelegation_MultipleConnector_P_PWP_Signal_main_Start_Tester = new(); + public InputPin MultipleDelegation_MultipleConnector_P_PWP_Signal_main_Start_Tester_object = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_PWP_Signal_main_Start_Tester_object_LiteralUnlimitedNatural14 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_PWP_Signal_main_Start_Tester_object_LiteralInteger15 = new(); + public ForkNode MultipleDelegation_MultipleConnector_P_PWP_Signal_main_Fork_Tester = new(); + public ControlFlow MultipleDelegation_MultipleConnector_P_PWP_Signal_main_ControlFlow16 = new(); + public CallOperationAction MultipleDelegation_MultipleConnector_P_PWP_Signal_main_Tester_ = new(); + public OutputPin MultipleDelegation_MultipleConnector_P_PWP_Signal_main_Tester__result = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_PWP_Signal_main_Tester__result_LiteralInteger17 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_PWP_Signal_main_Tester__result_LiteralInteger18 = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_PWP_Signal_main_Tester__result_LiteralUnlimitedNatural19 = new(); + public InputPin MultipleDelegation_MultipleConnector_P_PWP_Signal_main_Tester__target = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_PWP_Signal_main_Tester__target_LiteralUnlimitedNatural20 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_PWP_Signal_main_Tester__target_LiteralInteger21 = new(); + public SendSignalAction MultipleDelegation_MultipleConnector_P_PWP_Signal_main_Send_Start = new(); + public InputPin MultipleDelegation_MultipleConnector_P_PWP_Signal_main_Send_Start_target = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_PWP_Signal_main_Send_Start_target_LiteralInteger22 = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_PWP_Signal_main_Send_Start_target_LiteralUnlimitedNatural23 = new(); + public SignalEvent MultipleDelegation_MultipleConnector_P_PWP_Signal_ContinueEvent = new(); + public SignalEvent MultipleDelegation_MultipleConnector_P_PWP_Signal_SEvent = new(); + public Signal MultipleDelegation_MultipleConnector_P_PWP_Signal_Continue = new(); + public Association MultipleDelegation_MultipleConnector_P_PWP_Signal_U = new(); + public Property MultipleDelegation_MultipleConnector_P_PWP_Signal_U_x = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_PWP_Signal_U_x_LiteralUnlimitedNatural24 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_PWP_Signal_U_x_LiteralInteger25 = new(); + public Property MultipleDelegation_MultipleConnector_P_PWP_Signal_U_y = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_PWP_Signal_U_y_LiteralInteger26 = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_PWP_Signal_U_y_LiteralUnlimitedNatural27 = new(); + public Class_ MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester = new(); + public Activity MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity = new(); + public ReadStructuralFeatureAction MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_a_b = new(); + public InputPin MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_a_b_object = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_a_b_object_LiteralInteger28 = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_a_b_object_LiteralUnlimitedNatural29 = new(); + public OutputPin MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_a_b_result = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_a_b_result_LiteralInteger30 = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_a_b_result_LiteralUnlimitedNatural31 = new(); + public ReadStructuralFeatureAction MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_c_a4 = new(); + public OutputPin MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_c_a4_result = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_c_a4_result_LiteralInteger32 = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_c_a4_result_LiteralUnlimitedNatural33 = new(); + public InputPin MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_c_a4_object = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_c_a4_object_LiteralInteger34 = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_c_a4_object_LiteralUnlimitedNatural35 = new(); + public ObjectFlow MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow36 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow36_LiteralInteger37 = new(); + public LiteralBoolean MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow36_LiteralBoolean38 = new(); + public ReadStructuralFeatureAction MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_b_p = new(); + public OutputPin MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_b_p_result = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_b_p_result_LiteralUnlimitedNatural39 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_b_p_result_LiteralInteger40 = new(); + public InputPin MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_b_p_object = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_b_p_object_LiteralInteger41 = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_b_p_object_LiteralUnlimitedNatural42 = new(); + public CallBehaviorAction MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Call_testP = new(); + public InputPin MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Call_testP_p = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Call_testP_p_LiteralUnlimitedNatural43 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Call_testP_p_LiteralInteger44 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Call_testP_p_LiteralInteger45 = new(); + public ObjectFlow MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow46 = new(); + public LiteralBoolean MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow46_LiteralBoolean47 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow46_LiteralInteger48 = new(); + public ObjectFlow MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow49 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow49_LiteralInteger50 = new(); + public LiteralBoolean MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow49_LiteralBoolean51 = new(); + public ReadStructuralFeatureAction MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_c_a2 = new(); + public OutputPin MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_c_a2_result = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_c_a2_result_LiteralInteger52 = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_c_a2_result_LiteralUnlimitedNatural53 = new(); + public InputPin MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_c_a2_object = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_c_a2_object_LiteralInteger54 = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_c_a2_object_LiteralUnlimitedNatural55 = new(); + public ReadStructuralFeatureAction MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_c_a3 = new(); + public OutputPin MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_c_a3_result = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_c_a3_result_LiteralInteger56 = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_c_a3_result_LiteralUnlimitedNatural57 = new(); + public InputPin MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_c_a3_object = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_c_a3_object_LiteralInteger58 = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_c_a3_object_LiteralUnlimitedNatural59 = new(); + public ReadStructuralFeatureAction MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_c_a1 = new(); + public OutputPin MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_c_a1_result = new(); + public InputPin MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_c_a1_object = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_c_a1_object_LiteralUnlimitedNatural60 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_c_a1_object_LiteralInteger61 = new(); + public ForkNode MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Fork_c = new(); + public ObjectFlow MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow62 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow62_LiteralInteger63 = new(); + public LiteralBoolean MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow62_LiteralBoolean64 = new(); + public ObjectFlow MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow65 = new(); + public LiteralBoolean MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow65_LiteralBoolean66 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow65_LiteralInteger67 = new(); + public OpaqueBehavior MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_testP = new(); + public Parameter MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_testP_p = new(); + public ObjectFlow MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow68 = new(); + public LiteralBoolean MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow68_LiteralBoolean69 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow68_LiteralInteger70 = new(); + public ControlFlow MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ControlFlow71 = new(); + public ObjectFlow MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow72 = new(); + public LiteralBoolean MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow72_LiteralBoolean73 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow72_LiteralInteger74 = new(); + public ObjectFlow MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow75 = new(); + public LiteralBoolean MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow75_LiteralBoolean76 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow75_LiteralInteger77 = new(); + public ControlFlow MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ControlFlow78 = new(); + public ObjectFlow MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow79 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow79_LiteralInteger80 = new(); + public LiteralBoolean MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow79_LiteralBoolean81 = new(); + public ReadSelfAction MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_this = new(); + public OutputPin MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_this_result = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_this_result_LiteralInteger82 = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_this_result_LiteralUnlimitedNatural83 = new(); + public ReadStructuralFeatureAction MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_this_c = new(); + public InputPin MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_this_c_object = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_this_c_object_LiteralUnlimitedNatural84 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_this_c_object_LiteralInteger85 = new(); + public OutputPin MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_this_c_result = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_this_c_result_LiteralUnlimitedNatural86 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_this_c_result_LiteralInteger87 = new(); + public ObjectFlow MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow88 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow88_LiteralInteger89 = new(); + public LiteralBoolean MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow88_LiteralBoolean90 = new(); + public ObjectFlow MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow91 = new(); + public LiteralBoolean MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow91_LiteralBoolean92 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow91_LiteralInteger93 = new(); + public ObjectFlow MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow94 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow94_LiteralInteger95 = new(); + public LiteralBoolean MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow94_LiteralBoolean96 = new(); + public ControlFlow MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ControlFlow97 = new(); + public Operation MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_Tester_Tester = new(); + public Parameter MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_Tester_Tester_result = new(); + public Property MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_c = new(); + public Activity MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior = new(); + public ObjectFlow MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow98 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow98_LiteralInteger99 = new(); + public LiteralBoolean MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow98_LiteralBoolean100 = new(); + public ControlFlow MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ControlFlow101 = new(); + public AcceptEventAction MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Start = new(); + public OutputPin MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Start_result = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Start_result_LiteralInteger102 = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Start_result_LiteralUnlimitedNatural103 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Start_result_LiteralInteger104 = new(); + public Trigger MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Start_Trigger105 = new(); + public ReadStructuralFeatureAction MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Read_this_c = new(); + public InputPin MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Read_this_c_object = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Read_this_c_object_LiteralInteger106 = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Read_this_c_object_LiteralUnlimitedNatural107 = new(); + public OutputPin MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Read_this_c_result = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Read_this_c_result_LiteralUnlimitedNatural108 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Read_this_c_result_LiteralInteger109 = new(); + public ReadStructuralFeatureAction MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Read_c_p = new(); + public InputPin MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Read_c_p_object = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Read_c_p_object_LiteralInteger110 = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Read_c_p_object_LiteralUnlimitedNatural111 = new(); + public OutputPin MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Read_c_p_result = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Read_c_p_result_LiteralUnlimitedNatural112 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Read_c_p_result_LiteralInteger113 = new(); + public ObjectFlow MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow114 = new(); + public LiteralBoolean MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow114_LiteralBoolean115 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow114_LiteralInteger116 = new(); + public AcceptEventAction MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_2 = new(); + public OutputPin MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_2_result = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_2_result_LiteralUnlimitedNatural117 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_2_result_LiteralInteger118 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_2_result_LiteralInteger119 = new(); + public Trigger MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_2_Trigger120 = new(); + public ControlFlow MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ControlFlow121 = new(); + public ObjectFlow MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow122 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow122_LiteralInteger123 = new(); + public LiteralBoolean MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow122_LiteralBoolean124 = new(); + public AcceptEventAction MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_1 = new(); + public OutputPin MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_1_result = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_1_result_LiteralUnlimitedNatural125 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_1_result_LiteralInteger126 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_1_result_LiteralInteger127 = new(); + public Trigger MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_1_Trigger128 = new(); + public ForkNode MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Fork_this = new(); + public SendSignalAction MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Send_S = new(); + public InputPin MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Send_S_target = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Send_S_target_LiteralInteger129 = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Send_S_target_LiteralUnlimitedNatural130 = new(); + public InputPin MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Send_S_v = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Send_S_v_LiteralInteger131 = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Send_S_v_LiteralUnlimitedNatural132 = new(); + public InputPin MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Send_S_t = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Send_S_t_LiteralUnlimitedNatural133 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Send_S_t_LiteralInteger134 = new(); + public AcceptEventAction MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_4 = new(); + public OutputPin MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_4_result = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_4_result_LiteralInteger135 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_4_result_LiteralInteger136 = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_4_result_LiteralUnlimitedNatural137 = new(); + public Trigger MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_4_Trigger138 = new(); + public CallOperationAction MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Call_test_ = new(); + public InputPin MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Call_test__target = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Call_test__target_LiteralUnlimitedNatural139 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Call_test__target_LiteralInteger140 = new(); + public ObjectFlow MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow141 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow141_LiteralInteger142 = new(); + public LiteralBoolean MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow141_LiteralBoolean143 = new(); + public AcceptEventAction MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_3 = new(); + public OutputPin MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_3_result = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_3_result_LiteralUnlimitedNatural144 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_3_result_LiteralInteger145 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_3_result_LiteralInteger146 = new(); + public Trigger MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_3_Trigger147 = new(); + public ObjectFlow MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow148 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow148_LiteralInteger149 = new(); + public LiteralBoolean MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow148_LiteralBoolean150 = new(); + public ObjectFlow MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow151 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow151_LiteralInteger152 = new(); + public LiteralBoolean MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow151_LiteralBoolean153 = new(); + public ControlFlow MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ControlFlow154 = new(); + public ValueSpecificationAction MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Value_4 = new(); + public OutputPin MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Value_4_result = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Value_4_result_LiteralUnlimitedNatural155 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Value_4_result_LiteralInteger156 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Value_4_LiteralInteger157 = new(); + public ObjectFlow MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow158 = new(); + public LiteralBoolean MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow158_LiteralBoolean159 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow158_LiteralInteger160 = new(); + public ReadSelfAction MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_this = new(); + public OutputPin MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_this_result = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_this_result_LiteralUnlimitedNatural161 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_this_result_LiteralInteger162 = new(); + public ControlFlow MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ControlFlow163 = new(); + public ControlFlow MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ControlFlow164 = new(); + public ControlFlow MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ControlFlow165 = new(); + public Operation MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_test = new(); + public Generalization MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_Generalization166 = new(); + public Signal MultipleDelegation_MultipleConnector_P_PWP_Signal_S = new(); + public Property MultipleDelegation_MultipleConnector_P_PWP_Signal_S_v = new(); + public Property MultipleDelegation_MultipleConnector_P_PWP_Signal_S_t = new(); + public Class_ MultipleDelegation_MultipleConnector_P_PWP_Signal_C = new(); + public Property MultipleDelegation_MultipleConnector_P_PWP_Signal_C_a2 = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_PWP_Signal_C_a2_LiteralUnlimitedNatural167 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_PWP_Signal_C_a2_LiteralInteger168 = new(); + public Property MultipleDelegation_MultipleConnector_P_PWP_Signal_C_a1 = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_PWP_Signal_C_a1_LiteralUnlimitedNatural169 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_PWP_Signal_C_a1_LiteralInteger170 = new(); + public Property MultipleDelegation_MultipleConnector_P_PWP_Signal_C_a3 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_PWP_Signal_C_a3_LiteralInteger171 = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_PWP_Signal_C_a3_LiteralUnlimitedNatural172 = new(); + public Connector MultipleDelegation_MultipleConnector_P_PWP_Signal_C_u3 = new(); + public ConnectorEnd MultipleDelegation_MultipleConnector_P_PWP_Signal_C_u3_ConnectorEnd173 = new(); + public ConnectorEnd MultipleDelegation_MultipleConnector_P_PWP_Signal_C_u3_ConnectorEnd174 = new(); + public Property MultipleDelegation_MultipleConnector_P_PWP_Signal_C_a4 = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_PWP_Signal_C_a4_LiteralUnlimitedNatural175 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_PWP_Signal_C_a4_LiteralInteger176 = new(); + public Connector MultipleDelegation_MultipleConnector_P_PWP_Signal_C_u1 = new(); + public ConnectorEnd MultipleDelegation_MultipleConnector_P_PWP_Signal_C_u1_ConnectorEnd177 = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_PWP_Signal_C_u1_ConnectorEnd177_LiteralUnlimitedNatural178 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_PWP_Signal_C_u1_ConnectorEnd177_LiteralInteger179 = new(); + public ConnectorEnd MultipleDelegation_MultipleConnector_P_PWP_Signal_C_u1_ConnectorEnd180 = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_PWP_Signal_C_u1_ConnectorEnd180_LiteralUnlimitedNatural181 = new(); + public Port MultipleDelegation_MultipleConnector_P_PWP_Signal_C_p = new(); + public Connector MultipleDelegation_MultipleConnector_P_PWP_Signal_C_u2 = new(); + public ConnectorEnd MultipleDelegation_MultipleConnector_P_PWP_Signal_C_u2_ConnectorEnd182 = new(); + public ConnectorEnd MultipleDelegation_MultipleConnector_P_PWP_Signal_C_u2_ConnectorEnd183 = new(); + public Connector MultipleDelegation_MultipleConnector_P_PWP_Signal_C_u4 = new(); + public ConnectorEnd MultipleDelegation_MultipleConnector_P_PWP_Signal_C_u4_ConnectorEnd184 = new(); + public ConnectorEnd MultipleDelegation_MultipleConnector_P_PWP_Signal_C_u4_ConnectorEnd185 = new(); + public Interface MultipleDelegation_MultipleConnector_P_PWP_Signal_I = new(); + public Reception MultipleDelegation_MultipleConnector_P_PWP_Signal_I_S = new(); + public Class_ MultipleDelegation_MultipleConnector_P_PWP_Signal_B = new(); + public Activity MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior = new(); + public ObjectFlow MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow186 = new(); + public LiteralBoolean MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow186_LiteralBoolean187 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow186_LiteralInteger188 = new(); + public ObjectFlow MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow189 = new(); + public LiteralBoolean MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow189_LiteralBoolean190 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow189_LiteralInteger191 = new(); + public ControlFlow MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_ControlFlow192 = new(); + public ObjectFlow MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow193 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow193_LiteralInteger194 = new(); + public LiteralBoolean MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow193_LiteralBoolean195 = new(); + public AcceptEventAction MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_Accept_S = new(); + public Trigger MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_Accept_S_Trigger196 = new(); + public OutputPin MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_Accept_S_s = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_Accept_S_s_LiteralUnlimitedNatural197 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_Accept_S_s_LiteralInteger198 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_Accept_S_s_LiteralInteger199 = new(); + public AddStructuralFeatureValueAction MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_Set_this_p = new(); + public OutputPin MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_Set_this_p_result = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_Set_this_p_result_LiteralUnlimitedNatural200 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_Set_this_p_result_LiteralInteger201 = new(); + public InputPin MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_Set_this_p_object = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_Set_this_p_object_LiteralInteger202 = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_Set_this_p_object_LiteralUnlimitedNatural203 = new(); + public InputPin MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_Set_this_p_value = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_Set_this_p_value_LiteralInteger204 = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_Set_this_p_value_LiteralUnlimitedNatural205 = new(); + public SendSignalAction MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_Send_Continue = new(); + public InputPin MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_Send_Continue_target = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_Send_Continue_target_LiteralUnlimitedNatural206 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_Send_Continue_target_LiteralInteger207 = new(); + public ObjectFlow MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow208 = new(); + public LiteralBoolean MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow208_LiteralBoolean209 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow208_LiteralInteger210 = new(); + public ObjectFlow MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow211 = new(); + public LiteralBoolean MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow211_LiteralBoolean212 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow211_LiteralInteger213 = new(); + public ReadStructuralFeatureAction MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_Read_s_v = new(); + public OutputPin MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_Read_s_v_result = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_Read_s_v_result_LiteralInteger214 = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_Read_s_v_result_LiteralUnlimitedNatural215 = new(); + public InputPin MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_Read_s_v_object = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_Read_s_v_object_LiteralInteger216 = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_Read_s_v_object_LiteralUnlimitedNatural217 = new(); + public ReadStructuralFeatureAction MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_Read_s_t = new(); + public InputPin MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_Read_s_t_object = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_Read_s_t_object_LiteralInteger218 = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_Read_s_t_object_LiteralUnlimitedNatural219 = new(); + public OutputPin MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_Read_s_t_result = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_Read_s_t_result_LiteralUnlimitedNatural220 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_Read_s_t_result_LiteralInteger221 = new(); + public ReadSelfAction MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_this = new(); + public OutputPin MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_this_result = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_this_result_LiteralUnlimitedNatural222 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_this_result_LiteralInteger223 = new(); + public ForkNode MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_Fork_s = new(); + public ObjectFlow MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow224 = new(); + public LiteralBoolean MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow224_LiteralBoolean225 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow224_LiteralInteger226 = new(); + public InterfaceRealization MultipleDelegation_MultipleConnector_P_PWP_Signal_B_IRealization = new(); + public Operation MultipleDelegation_MultipleConnector_P_PWP_Signal_B_B_B = new(); + public Parameter MultipleDelegation_MultipleConnector_P_PWP_Signal_B_B_B_result = new(); + public Property MultipleDelegation_MultipleConnector_P_PWP_Signal_B_p = new(); + public Reception MultipleDelegation_MultipleConnector_P_PWP_Signal_B_S = new(); + public Class_ MultipleDelegation_MultipleConnector_P_PWP_Signal_A = new(); + public Port MultipleDelegation_MultipleConnector_P_PWP_Signal_A_q = new(); + public Connector MultipleDelegation_MultipleConnector_P_PWP_Signal_A_r = new(); + public ConnectorEnd MultipleDelegation_MultipleConnector_P_PWP_Signal_A_r_ConnectorEnd227 = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_PWP_Signal_A_r_ConnectorEnd227_LiteralUnlimitedNatural228 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_PWP_Signal_A_r_ConnectorEnd227_LiteralInteger229 = new(); + public ConnectorEnd MultipleDelegation_MultipleConnector_P_PWP_Signal_A_r_ConnectorEnd230 = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_PWP_Signal_A_r_ConnectorEnd230_LiteralUnlimitedNatural231 = new(); + public Operation MultipleDelegation_MultipleConnector_P_PWP_Signal_A_A_A = new(); + public Parameter MultipleDelegation_MultipleConnector_P_PWP_Signal_A_A_A_result = new(); + public Property MultipleDelegation_MultipleConnector_P_PWP_Signal_A_b = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_PWP_Signal_A_b_LiteralInteger232 = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_PWP_Signal_A_b_LiteralUnlimitedNatural233 = new(); + public SignalEvent MultipleDelegation_MultipleConnector_P_PWP_Signal_StartEvent = new(); + public Association MultipleDelegation_MultipleConnector_P_PWP_Signal_R = new(); + public Property MultipleDelegation_MultipleConnector_P_PWP_Signal_R_x = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_PWP_Signal_R_x_LiteralUnlimitedNatural234 = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_PWP_Signal_R_x_LiteralInteger235 = new(); + public Property MultipleDelegation_MultipleConnector_P_PWP_Signal_R_y = new(); + public LiteralInteger MultipleDelegation_MultipleConnector_P_PWP_Signal_R_y_LiteralInteger236 = new(); + public LiteralUnlimitedNatural MultipleDelegation_MultipleConnector_P_PWP_Signal_R_y_LiteralUnlimitedNatural237 = new(); + public Class_ MultipleDelegation_MultipleConnector_P_PWP_Signal_AbstractTester = new(); + public Reception MultipleDelegation_MultipleConnector_P_PWP_Signal_AbstractTester_Continue = new(); + public Operation MultipleDelegation_MultipleConnector_P_PWP_Signal_AbstractTester_test = new(); + public Reception MultipleDelegation_MultipleConnector_P_PWP_Signal_AbstractTester_Start = new(); + public Class_ MultipleDelegation_MultipleConnector_P_PWP_Signal_IImpl = new(); + public InterfaceRealization MultipleDelegation_MultipleConnector_P_PWP_Signal_IImpl_IRealization = new(); + public Reception MultipleDelegation_MultipleConnector_P_PWP_Signal_IImpl_S = new(); + public Signal MultipleDelegation_MultipleConnector_P_PWP_Signal_Start = new(); + + public static MultipleDelegation_MultipleConnector_P_PWP_SignalModel Instance() + { + if (instance is null) + { + instance = new(); + instance.InitializeInMemoryModel(); + } + + return instance; + } + + public MultipleDelegation_MultipleConnector_P_PWP_SignalModel() + { + /* Start of user code : Additional model initializations + * This section may be used to do any additional model initialization, + * for example initializing user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } + + private void InitializeInMemoryModel() + { + // Create public members + /* + * Model MultipleDelegation_MultipleConnector_P_PWP_Signal + */ + AddToElementRepository("MultipleDelegation_MultipleConnector_P_PWP_Signal", MultipleDelegation_MultipleConnector_P_PWP_Signal); + AddToElementRepository("main", MultipleDelegation_MultipleConnector_P_PWP_Signal_main); + AddToElementRepository("ObjectFlow0", MultipleDelegation_MultipleConnector_P_PWP_Signal_main_ObjectFlow0); + AddToElementRepository("LiteralBoolean1", MultipleDelegation_MultipleConnector_P_PWP_Signal_main_ObjectFlow0_LiteralBoolean1); + AddToElementRepository("LiteralInteger2", MultipleDelegation_MultipleConnector_P_PWP_Signal_main_ObjectFlow0_LiteralInteger2); + AddToElementRepository("ObjectFlow3", MultipleDelegation_MultipleConnector_P_PWP_Signal_main_ObjectFlow3); + AddToElementRepository("LiteralBoolean4", MultipleDelegation_MultipleConnector_P_PWP_Signal_main_ObjectFlow3_LiteralBoolean4); + AddToElementRepository("LiteralInteger5", MultipleDelegation_MultipleConnector_P_PWP_Signal_main_ObjectFlow3_LiteralInteger5); + AddToElementRepository("ObjectFlow6", MultipleDelegation_MultipleConnector_P_PWP_Signal_main_ObjectFlow6); + AddToElementRepository("LiteralInteger7", MultipleDelegation_MultipleConnector_P_PWP_Signal_main_ObjectFlow6_LiteralInteger7); + AddToElementRepository("LiteralBoolean8", MultipleDelegation_MultipleConnector_P_PWP_Signal_main_ObjectFlow6_LiteralBoolean8); + AddToElementRepository("Create Tester", MultipleDelegation_MultipleConnector_P_PWP_Signal_main_Create_Tester); + AddToElementRepository("result", MultipleDelegation_MultipleConnector_P_PWP_Signal_main_Create_Tester_result); + AddToElementRepository("LiteralInteger9", MultipleDelegation_MultipleConnector_P_PWP_Signal_main_Create_Tester_result_LiteralInteger9); + AddToElementRepository("LiteralUnlimitedNatural10", MultipleDelegation_MultipleConnector_P_PWP_Signal_main_Create_Tester_result_LiteralUnlimitedNatural10); + AddToElementRepository("ObjectFlow11", MultipleDelegation_MultipleConnector_P_PWP_Signal_main_ObjectFlow11); + AddToElementRepository("LiteralBoolean12", MultipleDelegation_MultipleConnector_P_PWP_Signal_main_ObjectFlow11_LiteralBoolean12); + AddToElementRepository("LiteralInteger13", MultipleDelegation_MultipleConnector_P_PWP_Signal_main_ObjectFlow11_LiteralInteger13); + AddToElementRepository("Start Tester", MultipleDelegation_MultipleConnector_P_PWP_Signal_main_Start_Tester); + AddToElementRepository("object", MultipleDelegation_MultipleConnector_P_PWP_Signal_main_Start_Tester_object); + AddToElementRepository("LiteralUnlimitedNatural14", MultipleDelegation_MultipleConnector_P_PWP_Signal_main_Start_Tester_object_LiteralUnlimitedNatural14); + AddToElementRepository("LiteralInteger15", MultipleDelegation_MultipleConnector_P_PWP_Signal_main_Start_Tester_object_LiteralInteger15); + AddToElementRepository("Fork Tester", MultipleDelegation_MultipleConnector_P_PWP_Signal_main_Fork_Tester); + AddToElementRepository("ControlFlow16", MultipleDelegation_MultipleConnector_P_PWP_Signal_main_ControlFlow16); + AddToElementRepository("Tester()", MultipleDelegation_MultipleConnector_P_PWP_Signal_main_Tester_); + AddToElementRepository("result", MultipleDelegation_MultipleConnector_P_PWP_Signal_main_Tester__result); + AddToElementRepository("LiteralInteger17", MultipleDelegation_MultipleConnector_P_PWP_Signal_main_Tester__result_LiteralInteger17); + AddToElementRepository("LiteralInteger18", MultipleDelegation_MultipleConnector_P_PWP_Signal_main_Tester__result_LiteralInteger18); + AddToElementRepository("LiteralUnlimitedNatural19", MultipleDelegation_MultipleConnector_P_PWP_Signal_main_Tester__result_LiteralUnlimitedNatural19); + AddToElementRepository("target", MultipleDelegation_MultipleConnector_P_PWP_Signal_main_Tester__target); + AddToElementRepository("LiteralUnlimitedNatural20", MultipleDelegation_MultipleConnector_P_PWP_Signal_main_Tester__target_LiteralUnlimitedNatural20); + AddToElementRepository("LiteralInteger21", MultipleDelegation_MultipleConnector_P_PWP_Signal_main_Tester__target_LiteralInteger21); + AddToElementRepository("Send Start", MultipleDelegation_MultipleConnector_P_PWP_Signal_main_Send_Start); + AddToElementRepository("target", MultipleDelegation_MultipleConnector_P_PWP_Signal_main_Send_Start_target); + AddToElementRepository("LiteralInteger22", MultipleDelegation_MultipleConnector_P_PWP_Signal_main_Send_Start_target_LiteralInteger22); + AddToElementRepository("LiteralUnlimitedNatural23", MultipleDelegation_MultipleConnector_P_PWP_Signal_main_Send_Start_target_LiteralUnlimitedNatural23); + AddToElementRepository("ContinueEvent", MultipleDelegation_MultipleConnector_P_PWP_Signal_ContinueEvent); + AddToElementRepository("SEvent", MultipleDelegation_MultipleConnector_P_PWP_Signal_SEvent); + AddToElementRepository("Continue", MultipleDelegation_MultipleConnector_P_PWP_Signal_Continue); + AddToElementRepository("U", MultipleDelegation_MultipleConnector_P_PWP_Signal_U); + AddToElementRepository("x", MultipleDelegation_MultipleConnector_P_PWP_Signal_U_x); + AddToElementRepository("LiteralUnlimitedNatural24", MultipleDelegation_MultipleConnector_P_PWP_Signal_U_x_LiteralUnlimitedNatural24); + AddToElementRepository("LiteralInteger25", MultipleDelegation_MultipleConnector_P_PWP_Signal_U_x_LiteralInteger25); + AddToElementRepository("y", MultipleDelegation_MultipleConnector_P_PWP_Signal_U_y); + AddToElementRepository("LiteralInteger26", MultipleDelegation_MultipleConnector_P_PWP_Signal_U_y_LiteralInteger26); + AddToElementRepository("LiteralUnlimitedNatural27", MultipleDelegation_MultipleConnector_P_PWP_Signal_U_y_LiteralUnlimitedNatural27); + AddToElementRepository("Tester", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester); + AddToElementRepository("testActivity", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity); + AddToElementRepository("Read a.b", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_a_b); + AddToElementRepository("object", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_a_b_object); + AddToElementRepository("LiteralInteger28", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_a_b_object_LiteralInteger28); + AddToElementRepository("LiteralUnlimitedNatural29", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_a_b_object_LiteralUnlimitedNatural29); + AddToElementRepository("result", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_a_b_result); + AddToElementRepository("LiteralInteger30", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_a_b_result_LiteralInteger30); + AddToElementRepository("LiteralUnlimitedNatural31", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_a_b_result_LiteralUnlimitedNatural31); + AddToElementRepository("Read c.a4", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_c_a4); + AddToElementRepository("result", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_c_a4_result); + AddToElementRepository("LiteralInteger32", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_c_a4_result_LiteralInteger32); + AddToElementRepository("LiteralUnlimitedNatural33", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_c_a4_result_LiteralUnlimitedNatural33); + AddToElementRepository("object", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_c_a4_object); + AddToElementRepository("LiteralInteger34", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_c_a4_object_LiteralInteger34); + AddToElementRepository("LiteralUnlimitedNatural35", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_c_a4_object_LiteralUnlimitedNatural35); + AddToElementRepository("ObjectFlow36", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow36); + AddToElementRepository("LiteralInteger37", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow36_LiteralInteger37); + AddToElementRepository("LiteralBoolean38", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow36_LiteralBoolean38); + AddToElementRepository("Read b.p", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_b_p); + AddToElementRepository("result", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_b_p_result); + AddToElementRepository("LiteralUnlimitedNatural39", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_b_p_result_LiteralUnlimitedNatural39); + AddToElementRepository("LiteralInteger40", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_b_p_result_LiteralInteger40); + AddToElementRepository("object", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_b_p_object); + AddToElementRepository("LiteralInteger41", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_b_p_object_LiteralInteger41); + AddToElementRepository("LiteralUnlimitedNatural42", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_b_p_object_LiteralUnlimitedNatural42); + AddToElementRepository("Call testP", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Call_testP); + AddToElementRepository("p", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Call_testP_p); + AddToElementRepository("LiteralUnlimitedNatural43", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Call_testP_p_LiteralUnlimitedNatural43); + AddToElementRepository("LiteralInteger44", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Call_testP_p_LiteralInteger44); + AddToElementRepository("LiteralInteger45", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Call_testP_p_LiteralInteger45); + AddToElementRepository("ObjectFlow46", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow46); + AddToElementRepository("LiteralBoolean47", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow46_LiteralBoolean47); + AddToElementRepository("LiteralInteger48", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow46_LiteralInteger48); + AddToElementRepository("ObjectFlow49", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow49); + AddToElementRepository("LiteralInteger50", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow49_LiteralInteger50); + AddToElementRepository("LiteralBoolean51", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow49_LiteralBoolean51); + AddToElementRepository("Read c.a2", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_c_a2); + AddToElementRepository("result", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_c_a2_result); + AddToElementRepository("LiteralInteger52", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_c_a2_result_LiteralInteger52); + AddToElementRepository("LiteralUnlimitedNatural53", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_c_a2_result_LiteralUnlimitedNatural53); + AddToElementRepository("object", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_c_a2_object); + AddToElementRepository("LiteralInteger54", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_c_a2_object_LiteralInteger54); + AddToElementRepository("LiteralUnlimitedNatural55", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_c_a2_object_LiteralUnlimitedNatural55); + AddToElementRepository("Read c.a3", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_c_a3); + AddToElementRepository("result", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_c_a3_result); + AddToElementRepository("LiteralInteger56", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_c_a3_result_LiteralInteger56); + AddToElementRepository("LiteralUnlimitedNatural57", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_c_a3_result_LiteralUnlimitedNatural57); + AddToElementRepository("object", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_c_a3_object); + AddToElementRepository("LiteralInteger58", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_c_a3_object_LiteralInteger58); + AddToElementRepository("LiteralUnlimitedNatural59", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_c_a3_object_LiteralUnlimitedNatural59); + AddToElementRepository("Read c.a1", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_c_a1); + AddToElementRepository("result", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_c_a1_result); + AddToElementRepository("object", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_c_a1_object); + AddToElementRepository("LiteralUnlimitedNatural60", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_c_a1_object_LiteralUnlimitedNatural60); + AddToElementRepository("LiteralInteger61", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_c_a1_object_LiteralInteger61); + AddToElementRepository("Fork c", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Fork_c); + AddToElementRepository("ObjectFlow62", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow62); + AddToElementRepository("LiteralInteger63", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow62_LiteralInteger63); + AddToElementRepository("LiteralBoolean64", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow62_LiteralBoolean64); + AddToElementRepository("ObjectFlow65", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow65); + AddToElementRepository("LiteralBoolean66", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow65_LiteralBoolean66); + AddToElementRepository("LiteralInteger67", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow65_LiteralInteger67); + AddToElementRepository("testP", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_testP); + AddToElementRepository("p", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_testP_p); + AddToElementRepository("ObjectFlow68", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow68); + AddToElementRepository("LiteralBoolean69", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow68_LiteralBoolean69); + AddToElementRepository("LiteralInteger70", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow68_LiteralInteger70); + AddToElementRepository("ControlFlow71", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ControlFlow71); + AddToElementRepository("ObjectFlow72", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow72); + AddToElementRepository("LiteralBoolean73", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow72_LiteralBoolean73); + AddToElementRepository("LiteralInteger74", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow72_LiteralInteger74); + AddToElementRepository("ObjectFlow75", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow75); + AddToElementRepository("LiteralBoolean76", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow75_LiteralBoolean76); + AddToElementRepository("LiteralInteger77", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow75_LiteralInteger77); + AddToElementRepository("ControlFlow78", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ControlFlow78); + AddToElementRepository("ObjectFlow79", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow79); + AddToElementRepository("LiteralInteger80", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow79_LiteralInteger80); + AddToElementRepository("LiteralBoolean81", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow79_LiteralBoolean81); + AddToElementRepository("this", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_this); + AddToElementRepository("result", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_this_result); + AddToElementRepository("LiteralInteger82", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_this_result_LiteralInteger82); + AddToElementRepository("LiteralUnlimitedNatural83", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_this_result_LiteralUnlimitedNatural83); + AddToElementRepository("Read this.c", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_this_c); + AddToElementRepository("object", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_this_c_object); + AddToElementRepository("LiteralUnlimitedNatural84", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_this_c_object_LiteralUnlimitedNatural84); + AddToElementRepository("LiteralInteger85", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_this_c_object_LiteralInteger85); + AddToElementRepository("result", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_this_c_result); + AddToElementRepository("LiteralUnlimitedNatural86", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_this_c_result_LiteralUnlimitedNatural86); + AddToElementRepository("LiteralInteger87", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_this_c_result_LiteralInteger87); + AddToElementRepository("ObjectFlow88", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow88); + AddToElementRepository("LiteralInteger89", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow88_LiteralInteger89); + AddToElementRepository("LiteralBoolean90", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow88_LiteralBoolean90); + AddToElementRepository("ObjectFlow91", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow91); + AddToElementRepository("LiteralBoolean92", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow91_LiteralBoolean92); + AddToElementRepository("LiteralInteger93", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow91_LiteralInteger93); + AddToElementRepository("ObjectFlow94", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow94); + AddToElementRepository("LiteralInteger95", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow94_LiteralInteger95); + AddToElementRepository("LiteralBoolean96", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow94_LiteralBoolean96); + AddToElementRepository("ControlFlow97", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ControlFlow97); + AddToElementRepository("Tester_Tester", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_Tester_Tester); + AddToElementRepository("result", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_Tester_Tester_result); + AddToElementRepository("c", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_c); + AddToElementRepository("TesterClassifierBehavior", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior); + AddToElementRepository("ObjectFlow98", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow98); + AddToElementRepository("LiteralInteger99", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow98_LiteralInteger99); + AddToElementRepository("LiteralBoolean100", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow98_LiteralBoolean100); + AddToElementRepository("ControlFlow101", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ControlFlow101); + AddToElementRepository("Accept Start", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Start); + AddToElementRepository("result", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Start_result); + AddToElementRepository("LiteralInteger102", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Start_result_LiteralInteger102); + AddToElementRepository("LiteralUnlimitedNatural103", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Start_result_LiteralUnlimitedNatural103); + AddToElementRepository("LiteralInteger104", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Start_result_LiteralInteger104); + AddToElementRepository("Trigger105", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Start_Trigger105); + AddToElementRepository("Read this.c", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Read_this_c); + AddToElementRepository("object", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Read_this_c_object); + AddToElementRepository("LiteralInteger106", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Read_this_c_object_LiteralInteger106); + AddToElementRepository("LiteralUnlimitedNatural107", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Read_this_c_object_LiteralUnlimitedNatural107); + AddToElementRepository("result", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Read_this_c_result); + AddToElementRepository("LiteralUnlimitedNatural108", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Read_this_c_result_LiteralUnlimitedNatural108); + AddToElementRepository("LiteralInteger109", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Read_this_c_result_LiteralInteger109); + AddToElementRepository("Read c.p", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Read_c_p); + AddToElementRepository("object", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Read_c_p_object); + AddToElementRepository("LiteralInteger110", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Read_c_p_object_LiteralInteger110); + AddToElementRepository("LiteralUnlimitedNatural111", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Read_c_p_object_LiteralUnlimitedNatural111); + AddToElementRepository("result", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Read_c_p_result); + AddToElementRepository("LiteralUnlimitedNatural112", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Read_c_p_result_LiteralUnlimitedNatural112); + AddToElementRepository("LiteralInteger113", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Read_c_p_result_LiteralInteger113); + AddToElementRepository("ObjectFlow114", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow114); + AddToElementRepository("LiteralBoolean115", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow114_LiteralBoolean115); + AddToElementRepository("LiteralInteger116", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow114_LiteralInteger116); + AddToElementRepository("Accept Continue_2", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_2); + AddToElementRepository("result", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_2_result); + AddToElementRepository("LiteralUnlimitedNatural117", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_2_result_LiteralUnlimitedNatural117); + AddToElementRepository("LiteralInteger118", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_2_result_LiteralInteger118); + AddToElementRepository("LiteralInteger119", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_2_result_LiteralInteger119); + AddToElementRepository("Trigger120", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_2_Trigger120); + AddToElementRepository("ControlFlow121", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ControlFlow121); + AddToElementRepository("ObjectFlow122", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow122); + AddToElementRepository("LiteralInteger123", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow122_LiteralInteger123); + AddToElementRepository("LiteralBoolean124", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow122_LiteralBoolean124); + AddToElementRepository("Accept Continue_1", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_1); + AddToElementRepository("result", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_1_result); + AddToElementRepository("LiteralUnlimitedNatural125", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_1_result_LiteralUnlimitedNatural125); + AddToElementRepository("LiteralInteger126", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_1_result_LiteralInteger126); + AddToElementRepository("LiteralInteger127", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_1_result_LiteralInteger127); + AddToElementRepository("Trigger128", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_1_Trigger128); + AddToElementRepository("Fork this", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Fork_this); + AddToElementRepository("Send S", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Send_S); + AddToElementRepository("target", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Send_S_target); + AddToElementRepository("LiteralInteger129", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Send_S_target_LiteralInteger129); + AddToElementRepository("LiteralUnlimitedNatural130", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Send_S_target_LiteralUnlimitedNatural130); + AddToElementRepository("v", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Send_S_v); + AddToElementRepository("LiteralInteger131", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Send_S_v_LiteralInteger131); + AddToElementRepository("LiteralUnlimitedNatural132", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Send_S_v_LiteralUnlimitedNatural132); + AddToElementRepository("t", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Send_S_t); + AddToElementRepository("LiteralUnlimitedNatural133", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Send_S_t_LiteralUnlimitedNatural133); + AddToElementRepository("LiteralInteger134", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Send_S_t_LiteralInteger134); + AddToElementRepository("Accept Continue_4", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_4); + AddToElementRepository("result", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_4_result); + AddToElementRepository("LiteralInteger135", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_4_result_LiteralInteger135); + AddToElementRepository("LiteralInteger136", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_4_result_LiteralInteger136); + AddToElementRepository("LiteralUnlimitedNatural137", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_4_result_LiteralUnlimitedNatural137); + AddToElementRepository("Trigger138", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_4_Trigger138); + AddToElementRepository("Call test()", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Call_test_); + AddToElementRepository("target", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Call_test__target); + AddToElementRepository("LiteralUnlimitedNatural139", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Call_test__target_LiteralUnlimitedNatural139); + AddToElementRepository("LiteralInteger140", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Call_test__target_LiteralInteger140); + AddToElementRepository("ObjectFlow141", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow141); + AddToElementRepository("LiteralInteger142", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow141_LiteralInteger142); + AddToElementRepository("LiteralBoolean143", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow141_LiteralBoolean143); + AddToElementRepository("Accept Continue_3", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_3); + AddToElementRepository("result", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_3_result); + AddToElementRepository("LiteralUnlimitedNatural144", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_3_result_LiteralUnlimitedNatural144); + AddToElementRepository("LiteralInteger145", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_3_result_LiteralInteger145); + AddToElementRepository("LiteralInteger146", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_3_result_LiteralInteger146); + AddToElementRepository("Trigger147", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_3_Trigger147); + AddToElementRepository("ObjectFlow148", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow148); + AddToElementRepository("LiteralInteger149", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow148_LiteralInteger149); + AddToElementRepository("LiteralBoolean150", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow148_LiteralBoolean150); + AddToElementRepository("ObjectFlow151", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow151); + AddToElementRepository("LiteralInteger152", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow151_LiteralInteger152); + AddToElementRepository("LiteralBoolean153", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow151_LiteralBoolean153); + AddToElementRepository("ControlFlow154", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ControlFlow154); + AddToElementRepository("Value(4)", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Value_4); + AddToElementRepository("result", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Value_4_result); + AddToElementRepository("LiteralUnlimitedNatural155", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Value_4_result_LiteralUnlimitedNatural155); + AddToElementRepository("LiteralInteger156", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Value_4_result_LiteralInteger156); + AddToElementRepository("LiteralInteger157", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Value_4_LiteralInteger157); + AddToElementRepository("ObjectFlow158", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow158); + AddToElementRepository("LiteralBoolean159", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow158_LiteralBoolean159); + AddToElementRepository("LiteralInteger160", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow158_LiteralInteger160); + AddToElementRepository("this", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_this); + AddToElementRepository("result", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_this_result); + AddToElementRepository("LiteralUnlimitedNatural161", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_this_result_LiteralUnlimitedNatural161); + AddToElementRepository("LiteralInteger162", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_this_result_LiteralInteger162); + AddToElementRepository("ControlFlow163", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ControlFlow163); + AddToElementRepository("ControlFlow164", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ControlFlow164); + AddToElementRepository("ControlFlow165", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ControlFlow165); + AddToElementRepository("test", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_test); + AddToElementRepository("Generalization166", MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_Generalization166); + AddToElementRepository("S", MultipleDelegation_MultipleConnector_P_PWP_Signal_S); + AddToElementRepository("v", MultipleDelegation_MultipleConnector_P_PWP_Signal_S_v); + AddToElementRepository("t", MultipleDelegation_MultipleConnector_P_PWP_Signal_S_t); + AddToElementRepository("C", MultipleDelegation_MultipleConnector_P_PWP_Signal_C); + AddToElementRepository("a2", MultipleDelegation_MultipleConnector_P_PWP_Signal_C_a2); + AddToElementRepository("LiteralUnlimitedNatural167", MultipleDelegation_MultipleConnector_P_PWP_Signal_C_a2_LiteralUnlimitedNatural167); + AddToElementRepository("LiteralInteger168", MultipleDelegation_MultipleConnector_P_PWP_Signal_C_a2_LiteralInteger168); + AddToElementRepository("a1", MultipleDelegation_MultipleConnector_P_PWP_Signal_C_a1); + AddToElementRepository("LiteralUnlimitedNatural169", MultipleDelegation_MultipleConnector_P_PWP_Signal_C_a1_LiteralUnlimitedNatural169); + AddToElementRepository("LiteralInteger170", MultipleDelegation_MultipleConnector_P_PWP_Signal_C_a1_LiteralInteger170); + AddToElementRepository("a3", MultipleDelegation_MultipleConnector_P_PWP_Signal_C_a3); + AddToElementRepository("LiteralInteger171", MultipleDelegation_MultipleConnector_P_PWP_Signal_C_a3_LiteralInteger171); + AddToElementRepository("LiteralUnlimitedNatural172", MultipleDelegation_MultipleConnector_P_PWP_Signal_C_a3_LiteralUnlimitedNatural172); + AddToElementRepository("u3", MultipleDelegation_MultipleConnector_P_PWP_Signal_C_u3); + AddToElementRepository("ConnectorEnd173", MultipleDelegation_MultipleConnector_P_PWP_Signal_C_u3_ConnectorEnd173); + AddToElementRepository("ConnectorEnd174", MultipleDelegation_MultipleConnector_P_PWP_Signal_C_u3_ConnectorEnd174); + AddToElementRepository("a4", MultipleDelegation_MultipleConnector_P_PWP_Signal_C_a4); + AddToElementRepository("LiteralUnlimitedNatural175", MultipleDelegation_MultipleConnector_P_PWP_Signal_C_a4_LiteralUnlimitedNatural175); + AddToElementRepository("LiteralInteger176", MultipleDelegation_MultipleConnector_P_PWP_Signal_C_a4_LiteralInteger176); + AddToElementRepository("u1", MultipleDelegation_MultipleConnector_P_PWP_Signal_C_u1); + AddToElementRepository("ConnectorEnd177", MultipleDelegation_MultipleConnector_P_PWP_Signal_C_u1_ConnectorEnd177); + AddToElementRepository("LiteralUnlimitedNatural178", MultipleDelegation_MultipleConnector_P_PWP_Signal_C_u1_ConnectorEnd177_LiteralUnlimitedNatural178); + AddToElementRepository("LiteralInteger179", MultipleDelegation_MultipleConnector_P_PWP_Signal_C_u1_ConnectorEnd177_LiteralInteger179); + AddToElementRepository("ConnectorEnd180", MultipleDelegation_MultipleConnector_P_PWP_Signal_C_u1_ConnectorEnd180); + AddToElementRepository("LiteralUnlimitedNatural181", MultipleDelegation_MultipleConnector_P_PWP_Signal_C_u1_ConnectorEnd180_LiteralUnlimitedNatural181); + AddToElementRepository("p", MultipleDelegation_MultipleConnector_P_PWP_Signal_C_p); + AddToElementRepository("u2", MultipleDelegation_MultipleConnector_P_PWP_Signal_C_u2); + AddToElementRepository("ConnectorEnd182", MultipleDelegation_MultipleConnector_P_PWP_Signal_C_u2_ConnectorEnd182); + AddToElementRepository("ConnectorEnd183", MultipleDelegation_MultipleConnector_P_PWP_Signal_C_u2_ConnectorEnd183); + AddToElementRepository("u4", MultipleDelegation_MultipleConnector_P_PWP_Signal_C_u4); + AddToElementRepository("ConnectorEnd184", MultipleDelegation_MultipleConnector_P_PWP_Signal_C_u4_ConnectorEnd184); + AddToElementRepository("ConnectorEnd185", MultipleDelegation_MultipleConnector_P_PWP_Signal_C_u4_ConnectorEnd185); + AddToElementRepository("I", MultipleDelegation_MultipleConnector_P_PWP_Signal_I); + AddToElementRepository("S", MultipleDelegation_MultipleConnector_P_PWP_Signal_I_S); + AddToElementRepository("B", MultipleDelegation_MultipleConnector_P_PWP_Signal_B); + AddToElementRepository("BClassifierBehavior", MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior); + AddToElementRepository("ObjectFlow186", MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow186); + AddToElementRepository("LiteralBoolean187", MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow186_LiteralBoolean187); + AddToElementRepository("LiteralInteger188", MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow186_LiteralInteger188); + AddToElementRepository("ObjectFlow189", MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow189); + AddToElementRepository("LiteralBoolean190", MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow189_LiteralBoolean190); + AddToElementRepository("LiteralInteger191", MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow189_LiteralInteger191); + AddToElementRepository("ControlFlow192", MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_ControlFlow192); + AddToElementRepository("ObjectFlow193", MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow193); + AddToElementRepository("LiteralInteger194", MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow193_LiteralInteger194); + AddToElementRepository("LiteralBoolean195", MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow193_LiteralBoolean195); + AddToElementRepository("Accept S", MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_Accept_S); + AddToElementRepository("Trigger196", MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_Accept_S_Trigger196); + AddToElementRepository("s", MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_Accept_S_s); + AddToElementRepository("LiteralUnlimitedNatural197", MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_Accept_S_s_LiteralUnlimitedNatural197); + AddToElementRepository("LiteralInteger198", MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_Accept_S_s_LiteralInteger198); + AddToElementRepository("LiteralInteger199", MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_Accept_S_s_LiteralInteger199); + AddToElementRepository("Set this.p", MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_Set_this_p); + AddToElementRepository("result", MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_Set_this_p_result); + AddToElementRepository("LiteralUnlimitedNatural200", MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_Set_this_p_result_LiteralUnlimitedNatural200); + AddToElementRepository("LiteralInteger201", MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_Set_this_p_result_LiteralInteger201); + AddToElementRepository("object", MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_Set_this_p_object); + AddToElementRepository("LiteralInteger202", MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_Set_this_p_object_LiteralInteger202); + AddToElementRepository("LiteralUnlimitedNatural203", MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_Set_this_p_object_LiteralUnlimitedNatural203); + AddToElementRepository("value", MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_Set_this_p_value); + AddToElementRepository("LiteralInteger204", MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_Set_this_p_value_LiteralInteger204); + AddToElementRepository("LiteralUnlimitedNatural205", MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_Set_this_p_value_LiteralUnlimitedNatural205); + AddToElementRepository("Send Continue", MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_Send_Continue); + AddToElementRepository("target", MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_Send_Continue_target); + AddToElementRepository("LiteralUnlimitedNatural206", MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_Send_Continue_target_LiteralUnlimitedNatural206); + AddToElementRepository("LiteralInteger207", MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_Send_Continue_target_LiteralInteger207); + AddToElementRepository("ObjectFlow208", MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow208); + AddToElementRepository("LiteralBoolean209", MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow208_LiteralBoolean209); + AddToElementRepository("LiteralInteger210", MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow208_LiteralInteger210); + AddToElementRepository("ObjectFlow211", MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow211); + AddToElementRepository("LiteralBoolean212", MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow211_LiteralBoolean212); + AddToElementRepository("LiteralInteger213", MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow211_LiteralInteger213); + AddToElementRepository("Read s.v", MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_Read_s_v); + AddToElementRepository("result", MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_Read_s_v_result); + AddToElementRepository("LiteralInteger214", MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_Read_s_v_result_LiteralInteger214); + AddToElementRepository("LiteralUnlimitedNatural215", MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_Read_s_v_result_LiteralUnlimitedNatural215); + AddToElementRepository("object", MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_Read_s_v_object); + AddToElementRepository("LiteralInteger216", MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_Read_s_v_object_LiteralInteger216); + AddToElementRepository("LiteralUnlimitedNatural217", MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_Read_s_v_object_LiteralUnlimitedNatural217); + AddToElementRepository("Read s.t", MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_Read_s_t); + AddToElementRepository("object", MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_Read_s_t_object); + AddToElementRepository("LiteralInteger218", MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_Read_s_t_object_LiteralInteger218); + AddToElementRepository("LiteralUnlimitedNatural219", MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_Read_s_t_object_LiteralUnlimitedNatural219); + AddToElementRepository("result", MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_Read_s_t_result); + AddToElementRepository("LiteralUnlimitedNatural220", MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_Read_s_t_result_LiteralUnlimitedNatural220); + AddToElementRepository("LiteralInteger221", MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_Read_s_t_result_LiteralInteger221); + AddToElementRepository("this", MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_this); + AddToElementRepository("result", MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_this_result); + AddToElementRepository("LiteralUnlimitedNatural222", MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_this_result_LiteralUnlimitedNatural222); + AddToElementRepository("LiteralInteger223", MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_this_result_LiteralInteger223); + AddToElementRepository("Fork s", MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_Fork_s); + AddToElementRepository("ObjectFlow224", MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow224); + AddToElementRepository("LiteralBoolean225", MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow224_LiteralBoolean225); + AddToElementRepository("LiteralInteger226", MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow224_LiteralInteger226); + AddToElementRepository("IRealization", MultipleDelegation_MultipleConnector_P_PWP_Signal_B_IRealization); + AddToElementRepository("B_B", MultipleDelegation_MultipleConnector_P_PWP_Signal_B_B_B); + AddToElementRepository("result", MultipleDelegation_MultipleConnector_P_PWP_Signal_B_B_B_result); + AddToElementRepository("p", MultipleDelegation_MultipleConnector_P_PWP_Signal_B_p); + AddToElementRepository("S", MultipleDelegation_MultipleConnector_P_PWP_Signal_B_S); + AddToElementRepository("A", MultipleDelegation_MultipleConnector_P_PWP_Signal_A); + AddToElementRepository("q", MultipleDelegation_MultipleConnector_P_PWP_Signal_A_q); + AddToElementRepository("r", MultipleDelegation_MultipleConnector_P_PWP_Signal_A_r); + AddToElementRepository("ConnectorEnd227", MultipleDelegation_MultipleConnector_P_PWP_Signal_A_r_ConnectorEnd227); + AddToElementRepository("LiteralUnlimitedNatural228", MultipleDelegation_MultipleConnector_P_PWP_Signal_A_r_ConnectorEnd227_LiteralUnlimitedNatural228); + AddToElementRepository("LiteralInteger229", MultipleDelegation_MultipleConnector_P_PWP_Signal_A_r_ConnectorEnd227_LiteralInteger229); + AddToElementRepository("ConnectorEnd230", MultipleDelegation_MultipleConnector_P_PWP_Signal_A_r_ConnectorEnd230); + AddToElementRepository("LiteralUnlimitedNatural231", MultipleDelegation_MultipleConnector_P_PWP_Signal_A_r_ConnectorEnd230_LiteralUnlimitedNatural231); + AddToElementRepository("A_A", MultipleDelegation_MultipleConnector_P_PWP_Signal_A_A_A); + AddToElementRepository("result", MultipleDelegation_MultipleConnector_P_PWP_Signal_A_A_A_result); + AddToElementRepository("b", MultipleDelegation_MultipleConnector_P_PWP_Signal_A_b); + AddToElementRepository("LiteralInteger232", MultipleDelegation_MultipleConnector_P_PWP_Signal_A_b_LiteralInteger232); + AddToElementRepository("LiteralUnlimitedNatural233", MultipleDelegation_MultipleConnector_P_PWP_Signal_A_b_LiteralUnlimitedNatural233); + AddToElementRepository("StartEvent", MultipleDelegation_MultipleConnector_P_PWP_Signal_StartEvent); + AddToElementRepository("R", MultipleDelegation_MultipleConnector_P_PWP_Signal_R); + AddToElementRepository("x", MultipleDelegation_MultipleConnector_P_PWP_Signal_R_x); + AddToElementRepository("LiteralUnlimitedNatural234", MultipleDelegation_MultipleConnector_P_PWP_Signal_R_x_LiteralUnlimitedNatural234); + AddToElementRepository("LiteralInteger235", MultipleDelegation_MultipleConnector_P_PWP_Signal_R_x_LiteralInteger235); + AddToElementRepository("y", MultipleDelegation_MultipleConnector_P_PWP_Signal_R_y); + AddToElementRepository("LiteralInteger236", MultipleDelegation_MultipleConnector_P_PWP_Signal_R_y_LiteralInteger236); + AddToElementRepository("LiteralUnlimitedNatural237", MultipleDelegation_MultipleConnector_P_PWP_Signal_R_y_LiteralUnlimitedNatural237); + AddToElementRepository("AbstractTester", MultipleDelegation_MultipleConnector_P_PWP_Signal_AbstractTester); + AddToElementRepository("Continue", MultipleDelegation_MultipleConnector_P_PWP_Signal_AbstractTester_Continue); + AddToElementRepository("test", MultipleDelegation_MultipleConnector_P_PWP_Signal_AbstractTester_test); + AddToElementRepository("Start", MultipleDelegation_MultipleConnector_P_PWP_Signal_AbstractTester_Start); + AddToElementRepository("IImpl", MultipleDelegation_MultipleConnector_P_PWP_Signal_IImpl); + AddToElementRepository("IRealization", MultipleDelegation_MultipleConnector_P_PWP_Signal_IImpl_IRealization); + AddToElementRepository("S", MultipleDelegation_MultipleConnector_P_PWP_Signal_IImpl_S); + AddToElementRepository("Start", MultipleDelegation_MultipleConnector_P_PWP_Signal_Start); + + // Initialize public members + /* + * Model MultipleDelegation_MultipleConnector_P_PWP_Signal + */ + MultipleDelegation_MultipleConnector_P_PWP_Signal.SetName("MultipleDelegation_MultipleConnector_P_PWP_Signal"); + MultipleDelegation_MultipleConnector_P_PWP_Signal.SetVisibility(VisibilityKind.public_); + // Activity main + MultipleDelegation_MultipleConnector_P_PWP_Signal_main.SetName("main"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_main.SetVisibility(VisibilityKind.public_); + // CreateObjectAction Create Tester + MultipleDelegation_MultipleConnector_P_PWP_Signal_main_Create_Tester.SetName("Create Tester"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_main_Create_Tester.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Signal_main_Create_Tester.SetClassifier(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester); + // OutputPin result + MultipleDelegation_MultipleConnector_P_PWP_Signal_main_Create_Tester_result.SetName("result"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_main_Create_Tester_result.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Signal_main_Create_Tester_result.SetType(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester); + MultipleDelegation_MultipleConnector_P_PWP_Signal_main_Create_Tester.SetResult(MultipleDelegation_MultipleConnector_P_PWP_Signal_main_Create_Tester_result); + MultipleDelegation_MultipleConnector_P_PWP_Signal_main.AddNode(MultipleDelegation_MultipleConnector_P_PWP_Signal_main_Create_Tester); + // StartObjectBehaviorAction Start Tester + MultipleDelegation_MultipleConnector_P_PWP_Signal_main_Start_Tester.SetName("Start Tester"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_main_Start_Tester.SetVisibility(VisibilityKind.public_); + // InputPin object + MultipleDelegation_MultipleConnector_P_PWP_Signal_main_Start_Tester_object.SetName("object"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_main_Start_Tester_object.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Signal_main_Start_Tester.SetObject(MultipleDelegation_MultipleConnector_P_PWP_Signal_main_Start_Tester_object); + MultipleDelegation_MultipleConnector_P_PWP_Signal_main.AddNode(MultipleDelegation_MultipleConnector_P_PWP_Signal_main_Start_Tester); + // ForkNode Fork Tester + MultipleDelegation_MultipleConnector_P_PWP_Signal_main_Fork_Tester.SetName("Fork Tester"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_main_Fork_Tester.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Signal_main.AddNode(MultipleDelegation_MultipleConnector_P_PWP_Signal_main_Fork_Tester); + // CallOperationAction Tester() + MultipleDelegation_MultipleConnector_P_PWP_Signal_main_Tester_.SetName("Tester()"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_main_Tester_.SetVisibility(VisibilityKind.public_); + + // OutputPin result + MultipleDelegation_MultipleConnector_P_PWP_Signal_main_Tester__result.SetName("result"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_main_Tester__result.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Signal_main_Tester__result.SetType(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester); + MultipleDelegation_MultipleConnector_P_PWP_Signal_main_Tester_.AddResult(MultipleDelegation_MultipleConnector_P_PWP_Signal_main_Tester__result); + MultipleDelegation_MultipleConnector_P_PWP_Signal_main_Tester_.SetOperation(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_Tester_Tester); + // InputPin target + MultipleDelegation_MultipleConnector_P_PWP_Signal_main_Tester__target.SetName("target"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_main_Tester__target.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Signal_main_Tester__target.SetType(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester); + MultipleDelegation_MultipleConnector_P_PWP_Signal_main_Tester_.SetTarget(MultipleDelegation_MultipleConnector_P_PWP_Signal_main_Tester__target); + MultipleDelegation_MultipleConnector_P_PWP_Signal_main.AddNode(MultipleDelegation_MultipleConnector_P_PWP_Signal_main_Tester_); + // SendSignalAction Send Start + MultipleDelegation_MultipleConnector_P_PWP_Signal_main_Send_Start.SetName("Send Start"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_main_Send_Start.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Signal_main_Send_Start.SetSignal(MultipleDelegation_MultipleConnector_P_PWP_Signal_Start); + // InputPin target + MultipleDelegation_MultipleConnector_P_PWP_Signal_main_Send_Start_target.SetName("target"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_main_Send_Start_target.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Signal_main_Send_Start_target.SetType(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester); + MultipleDelegation_MultipleConnector_P_PWP_Signal_main_Send_Start.SetTarget(MultipleDelegation_MultipleConnector_P_PWP_Signal_main_Send_Start_target); + MultipleDelegation_MultipleConnector_P_PWP_Signal_main.AddNode(MultipleDelegation_MultipleConnector_P_PWP_Signal_main_Send_Start); + // ObjectFlow ObjectFlow0 from result to Fork Tester + MultipleDelegation_MultipleConnector_P_PWP_Signal_main_ObjectFlow0.SetName("ObjectFlow0"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_main_ObjectFlow0.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_PWP_Signal_main_ObjectFlow0.SetSource(MultipleDelegation_MultipleConnector_P_PWP_Signal_main_Tester__result); + MultipleDelegation_MultipleConnector_P_PWP_Signal_main_ObjectFlow0.SetTarget(MultipleDelegation_MultipleConnector_P_PWP_Signal_main_Fork_Tester); + // LiteralBoolean LiteralBoolean1 + MultipleDelegation_MultipleConnector_P_PWP_Signal_main_ObjectFlow0_LiteralBoolean1.SetName("LiteralBoolean1"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_main_ObjectFlow0_LiteralBoolean1.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Signal_main_ObjectFlow0_LiteralBoolean1.SetValue(true); + MultipleDelegation_MultipleConnector_P_PWP_Signal_main_ObjectFlow0.SetGuard(MultipleDelegation_MultipleConnector_P_PWP_Signal_main_ObjectFlow0_LiteralBoolean1); + MultipleDelegation_MultipleConnector_P_PWP_Signal_main.AddEdge(MultipleDelegation_MultipleConnector_P_PWP_Signal_main_ObjectFlow0); + // ObjectFlow ObjectFlow3 from Fork Tester to object + MultipleDelegation_MultipleConnector_P_PWP_Signal_main_ObjectFlow3.SetName("ObjectFlow3"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_main_ObjectFlow3.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_PWP_Signal_main_ObjectFlow3.SetSource(MultipleDelegation_MultipleConnector_P_PWP_Signal_main_Fork_Tester); + MultipleDelegation_MultipleConnector_P_PWP_Signal_main_ObjectFlow3.SetTarget(MultipleDelegation_MultipleConnector_P_PWP_Signal_main_Start_Tester_object); + // LiteralBoolean LiteralBoolean4 + MultipleDelegation_MultipleConnector_P_PWP_Signal_main_ObjectFlow3_LiteralBoolean4.SetName("LiteralBoolean4"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_main_ObjectFlow3_LiteralBoolean4.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Signal_main_ObjectFlow3_LiteralBoolean4.SetValue(true); + MultipleDelegation_MultipleConnector_P_PWP_Signal_main_ObjectFlow3.SetGuard(MultipleDelegation_MultipleConnector_P_PWP_Signal_main_ObjectFlow3_LiteralBoolean4); + MultipleDelegation_MultipleConnector_P_PWP_Signal_main.AddEdge(MultipleDelegation_MultipleConnector_P_PWP_Signal_main_ObjectFlow3); + // ObjectFlow ObjectFlow6 from Fork Tester to target + MultipleDelegation_MultipleConnector_P_PWP_Signal_main_ObjectFlow6.SetName("ObjectFlow6"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_main_ObjectFlow6.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_PWP_Signal_main_ObjectFlow6.SetSource(MultipleDelegation_MultipleConnector_P_PWP_Signal_main_Fork_Tester); + MultipleDelegation_MultipleConnector_P_PWP_Signal_main_ObjectFlow6.SetTarget(MultipleDelegation_MultipleConnector_P_PWP_Signal_main_Send_Start_target); + // LiteralBoolean LiteralBoolean8 + MultipleDelegation_MultipleConnector_P_PWP_Signal_main_ObjectFlow6_LiteralBoolean8.SetName("LiteralBoolean8"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_main_ObjectFlow6_LiteralBoolean8.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Signal_main_ObjectFlow6_LiteralBoolean8.SetValue(true); + MultipleDelegation_MultipleConnector_P_PWP_Signal_main_ObjectFlow6.SetGuard(MultipleDelegation_MultipleConnector_P_PWP_Signal_main_ObjectFlow6_LiteralBoolean8); + MultipleDelegation_MultipleConnector_P_PWP_Signal_main.AddEdge(MultipleDelegation_MultipleConnector_P_PWP_Signal_main_ObjectFlow6); + // ObjectFlow ObjectFlow11 from result to target + MultipleDelegation_MultipleConnector_P_PWP_Signal_main_ObjectFlow11.SetName("ObjectFlow11"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_main_ObjectFlow11.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_PWP_Signal_main_ObjectFlow11.SetSource(MultipleDelegation_MultipleConnector_P_PWP_Signal_main_Create_Tester_result); + MultipleDelegation_MultipleConnector_P_PWP_Signal_main_ObjectFlow11.SetTarget(MultipleDelegation_MultipleConnector_P_PWP_Signal_main_Tester__target); + // LiteralBoolean LiteralBoolean12 + MultipleDelegation_MultipleConnector_P_PWP_Signal_main_ObjectFlow11_LiteralBoolean12.SetName("LiteralBoolean12"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_main_ObjectFlow11_LiteralBoolean12.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Signal_main_ObjectFlow11_LiteralBoolean12.SetValue(true); + MultipleDelegation_MultipleConnector_P_PWP_Signal_main_ObjectFlow11.SetGuard(MultipleDelegation_MultipleConnector_P_PWP_Signal_main_ObjectFlow11_LiteralBoolean12); + MultipleDelegation_MultipleConnector_P_PWP_Signal_main.AddEdge(MultipleDelegation_MultipleConnector_P_PWP_Signal_main_ObjectFlow11); + // ControlFlow ControlFlow16 from Start Tester to Send Start + MultipleDelegation_MultipleConnector_P_PWP_Signal_main_ControlFlow16.SetName("ControlFlow16"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_main_ControlFlow16.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_PWP_Signal_main_ControlFlow16.SetSource(MultipleDelegation_MultipleConnector_P_PWP_Signal_main_Start_Tester); + MultipleDelegation_MultipleConnector_P_PWP_Signal_main_ControlFlow16.SetTarget(MultipleDelegation_MultipleConnector_P_PWP_Signal_main_Send_Start); + MultipleDelegation_MultipleConnector_P_PWP_Signal_main.AddEdge(MultipleDelegation_MultipleConnector_P_PWP_Signal_main_ControlFlow16); + MultipleDelegation_MultipleConnector_P_PWP_Signal.AddPackagedElement(MultipleDelegation_MultipleConnector_P_PWP_Signal_main); + // SignalEvent ContinueEvent + MultipleDelegation_MultipleConnector_P_PWP_Signal_ContinueEvent.SetName("ContinueEvent"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_ContinueEvent.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Signal_ContinueEvent.SetSignal(MultipleDelegation_MultipleConnector_P_PWP_Signal_Continue); + MultipleDelegation_MultipleConnector_P_PWP_Signal.AddPackagedElement(MultipleDelegation_MultipleConnector_P_PWP_Signal_ContinueEvent); + // SignalEvent SEvent + MultipleDelegation_MultipleConnector_P_PWP_Signal_SEvent.SetName("SEvent"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_SEvent.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Signal_SEvent.SetSignal(MultipleDelegation_MultipleConnector_P_PWP_Signal_S); + MultipleDelegation_MultipleConnector_P_PWP_Signal.AddPackagedElement(MultipleDelegation_MultipleConnector_P_PWP_Signal_SEvent); + // Signal Continue + MultipleDelegation_MultipleConnector_P_PWP_Signal_Continue.SetName("Continue"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Continue.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Signal.AddPackagedElement(MultipleDelegation_MultipleConnector_P_PWP_Signal_Continue); + // Association U + MultipleDelegation_MultipleConnector_P_PWP_Signal_U.SetName("U"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_U.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Signal_U.AddOwnedEnd(MultipleDelegation_MultipleConnector_P_PWP_Signal_U_x); + MultipleDelegation_MultipleConnector_P_PWP_Signal_U.AddOwnedEnd(MultipleDelegation_MultipleConnector_P_PWP_Signal_U_y); + MultipleDelegation_MultipleConnector_P_PWP_Signal.AddPackagedElement(MultipleDelegation_MultipleConnector_P_PWP_Signal_U); + // Class Tester + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester.SetName("Tester"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester.SetVisibility(VisibilityKind.public_); + + // Generalization to AbstractTester + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_Generalization166.SetGeneral(MultipleDelegation_MultipleConnector_P_PWP_Signal_AbstractTester); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester.AddGeneralization(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_Generalization166); + // Property c + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_c.SetName("c"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_c.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_c.SetType(MultipleDelegation_MultipleConnector_P_PWP_Signal_C); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_c.SetAggregation(AggregationKind.composite); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester.AddOwnedAttribute(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_c); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester.SetClassifierBehavior(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior); + // Activity testActivity + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity.SetName("testActivity"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity.SetVisibility(VisibilityKind.public_); + // FunctionBehavior testP + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_testP.SetName("testP"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_testP.SetVisibility(VisibilityKind.public_); + + // Parameter p + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_testP_p.SetName("p"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_testP_p.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_testP_p.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_testP.AddOwnedParameter(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_testP_p); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_testP.AddLanguage("C#"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_testP.AddLanguage("Using"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_testP.AddBody("if(index == 1) { Console.WriteLine(\"Asserting c.a1.b.p == 4 && c.a2.b.p == 4 && c.a3.b.p == 4 && c.a4.b.p == 4\"); } // Test parameter p int p = ((IntegerValue)inputParameters.ElementAt(0).values.ElementAt(0)).value; Debug.Println(\"[doBody] argument p = \" + p); Console.WriteLine( \"c.a\" + index + \".b.p == \" + p); success = success && (p == 4); if(index == MAX_INDEX) { Console.Write(\"Signal delegated on all links (shall be true for default strategy): \"); if(success) { Console.ForegroundColor = ConsoleColor.Green; Console.WriteLine(\"Assertion successful.\"); } else { Console.ForegroundColor = ConsoleColor.Red; Console.WriteLine(\"Assertion failed!\"); } Console.ResetColor(); } index++;"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_testP.AddBody("using fuml.semantics.simpleclassifiers;"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity.AddOwnedBehavior(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_testP); + // ReadStructuralFeatureAction Read a.b + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_a_b.SetName("Read a.b"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_a_b.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_a_b.SetStructuralFeature(MultipleDelegation_MultipleConnector_P_PWP_Signal_A_b); + // InputPin object + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_a_b_object.SetName("object"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_a_b_object.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_a_b_object.SetType(MultipleDelegation_MultipleConnector_P_PWP_Signal_A); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_a_b.SetObject(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_a_b_object); + // OutputPin result + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_a_b_result.SetName("result"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_a_b_result.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_a_b_result.SetType(MultipleDelegation_MultipleConnector_P_PWP_Signal_B); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_a_b_result.SetUpper(4); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_a_b_result.SetLower(4); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_a_b.SetResult(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_a_b_result); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity.AddNode(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_a_b); + // ReadStructuralFeatureAction Read c.a4 + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_c_a4.SetName("Read c.a4"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_c_a4.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_c_a4.SetStructuralFeature(MultipleDelegation_MultipleConnector_P_PWP_Signal_C_a4); + // InputPin object + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_c_a4_object.SetName("object"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_c_a4_object.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_c_a4_object.SetType(MultipleDelegation_MultipleConnector_P_PWP_Signal_C); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_c_a4.SetObject(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_c_a4_object); + // OutputPin result + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_c_a4_result.SetName("result"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_c_a4_result.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_c_a4_result.SetType(MultipleDelegation_MultipleConnector_P_PWP_Signal_A); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_c_a4.SetResult(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_c_a4_result); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity.AddNode(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_c_a4); + // ReadStructuralFeatureAction Read c.a3 + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_c_a3.SetName("Read c.a3"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_c_a3.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_c_a3.SetStructuralFeature(MultipleDelegation_MultipleConnector_P_PWP_Signal_C_a3); + // InputPin object + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_c_a3_object.SetName("object"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_c_a3_object.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_c_a3_object.SetType(MultipleDelegation_MultipleConnector_P_PWP_Signal_C); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_c_a3.SetObject(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_c_a3_object); + // OutputPin result + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_c_a3_result.SetName("result"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_c_a3_result.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_c_a3_result.SetType(MultipleDelegation_MultipleConnector_P_PWP_Signal_A); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_c_a3.SetResult(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_c_a3_result); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity.AddNode(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_c_a3); + // ReadSelfAction this + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_this.SetName("this"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_this.SetVisibility(VisibilityKind.public_); + // OutputPin result + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_this_result.SetName("result"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_this_result.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_this_result.SetType(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_this.SetResult(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_this_result); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity.AddNode(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_this); + // ReadStructuralFeatureAction Read this.c + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_this_c.SetName("Read this.c"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_this_c.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_this_c.SetStructuralFeature(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_c); + // InputPin object + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_this_c_object.SetName("object"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_this_c_object.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_this_c_object.SetType(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_this_c.SetObject(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_this_c_object); + // OutputPin result + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_this_c_result.SetName("result"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_this_c_result.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_this_c_result.SetType(MultipleDelegation_MultipleConnector_P_PWP_Signal_C); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_this_c.SetResult(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_this_c_result); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity.AddNode(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_this_c); + // ReadStructuralFeatureAction Read b.p + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_b_p.SetName("Read b.p"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_b_p.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_b_p.SetStructuralFeature(MultipleDelegation_MultipleConnector_P_PWP_Signal_B_p); + // InputPin object + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_b_p_object.SetName("object"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_b_p_object.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_b_p_object.SetType(MultipleDelegation_MultipleConnector_P_PWP_Signal_B); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_b_p.SetObject(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_b_p_object); + // OutputPin result + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_b_p_result.SetName("result"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_b_p_result.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_b_p_result.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_b_p.SetResult(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_b_p_result); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity.AddNode(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_b_p); + // CallBehaviorAction Call testP + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Call_testP.SetName("Call testP"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Call_testP.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Call_testP.SetBehavior(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_testP); + // InputPin p + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Call_testP_p.SetName("p"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Call_testP_p.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Call_testP_p.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Call_testP.AddArgument(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Call_testP_p); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity.AddNode(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Call_testP); + // ReadStructuralFeatureAction Read c.a1 + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_c_a1.SetName("Read c.a1"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_c_a1.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_c_a1.SetStructuralFeature(MultipleDelegation_MultipleConnector_P_PWP_Signal_C_a1); + // InputPin object + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_c_a1_object.SetName("object"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_c_a1_object.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_c_a1_object.SetType(MultipleDelegation_MultipleConnector_P_PWP_Signal_C); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_c_a1.SetObject(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_c_a1_object); + // OutputPin result + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_c_a1_result.SetName("result"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_c_a1_result.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_c_a1_result.SetType(MultipleDelegation_MultipleConnector_P_PWP_Signal_A); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_c_a1.SetResult(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_c_a1_result); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity.AddNode(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_c_a1); + // ReadStructuralFeatureAction Read c.a2 + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_c_a2.SetName("Read c.a2"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_c_a2.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_c_a2.SetStructuralFeature(MultipleDelegation_MultipleConnector_P_PWP_Signal_C_a2); + // InputPin object + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_c_a2_object.SetName("object"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_c_a2_object.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_c_a2_object.SetType(MultipleDelegation_MultipleConnector_P_PWP_Signal_C); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_c_a2.SetObject(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_c_a2_object); + // OutputPin result + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_c_a2_result.SetName("result"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_c_a2_result.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_c_a2_result.SetType(MultipleDelegation_MultipleConnector_P_PWP_Signal_A); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_c_a2.SetResult(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_c_a2_result); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity.AddNode(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_c_a2); + // ForkNode Fork c + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Fork_c.SetName("Fork c"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Fork_c.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity.AddNode(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Fork_c); + // ObjectFlow ObjectFlow65 from result to object + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow65.SetName("ObjectFlow65"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow65.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow65.SetSource(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_c_a3_result); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow65.SetTarget(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_a_b_object); + // LiteralBoolean LiteralBoolean66 + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow65_LiteralBoolean66.SetName("LiteralBoolean66"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow65_LiteralBoolean66.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow65_LiteralBoolean66.SetValue(true); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow65.SetGuard(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow65_LiteralBoolean66); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity.AddEdge(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow65); + // ObjectFlow ObjectFlow36 from result to object + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow36.SetName("ObjectFlow36"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow36.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow36.SetSource(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_a_b_result); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow36.SetTarget(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_b_p_object); + // LiteralBoolean LiteralBoolean38 + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow36_LiteralBoolean38.SetName("LiteralBoolean38"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow36_LiteralBoolean38.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow36_LiteralBoolean38.SetValue(true); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow36.SetGuard(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow36_LiteralBoolean38); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity.AddEdge(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow36); + // ObjectFlow ObjectFlow46 from result to object + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow46.SetName("ObjectFlow46"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow46.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow46.SetSource(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_c_a1_result); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow46.SetTarget(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_a_b_object); + // LiteralBoolean LiteralBoolean47 + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow46_LiteralBoolean47.SetName("LiteralBoolean47"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow46_LiteralBoolean47.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow46_LiteralBoolean47.SetValue(true); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow46.SetGuard(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow46_LiteralBoolean47); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity.AddEdge(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow46); + // ObjectFlow ObjectFlow68 from Fork c to object + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow68.SetName("ObjectFlow68"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow68.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow68.SetSource(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Fork_c); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow68.SetTarget(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_c_a1_object); + // LiteralBoolean LiteralBoolean69 + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow68_LiteralBoolean69.SetName("LiteralBoolean69"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow68_LiteralBoolean69.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow68_LiteralBoolean69.SetValue(true); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow68.SetGuard(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow68_LiteralBoolean69); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity.AddEdge(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow68); + // ObjectFlow ObjectFlow49 from Fork c to object + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow49.SetName("ObjectFlow49"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow49.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow49.SetSource(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Fork_c); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow49.SetTarget(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_c_a3_object); + // LiteralBoolean LiteralBoolean51 + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow49_LiteralBoolean51.SetName("LiteralBoolean51"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow49_LiteralBoolean51.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow49_LiteralBoolean51.SetValue(true); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow49.SetGuard(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow49_LiteralBoolean51); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity.AddEdge(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow49); + // ControlFlow ControlFlow71 from Read c.a3 to Read c.a4 + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ControlFlow71.SetName("ControlFlow71"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ControlFlow71.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ControlFlow71.SetSource(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_c_a3); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ControlFlow71.SetTarget(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_c_a4); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity.AddEdge(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ControlFlow71); + // ObjectFlow ObjectFlow72 from result to object + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow72.SetName("ObjectFlow72"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow72.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow72.SetSource(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_this_result); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow72.SetTarget(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_this_c_object); + // LiteralBoolean LiteralBoolean73 + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow72_LiteralBoolean73.SetName("LiteralBoolean73"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow72_LiteralBoolean73.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow72_LiteralBoolean73.SetValue(true); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow72.SetGuard(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow72_LiteralBoolean73); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity.AddEdge(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow72); + // ObjectFlow ObjectFlow75 from result to object + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow75.SetName("ObjectFlow75"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow75.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow75.SetSource(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_c_a4_result); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow75.SetTarget(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_a_b_object); + // LiteralBoolean LiteralBoolean76 + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow75_LiteralBoolean76.SetName("LiteralBoolean76"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow75_LiteralBoolean76.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow75_LiteralBoolean76.SetValue(true); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow75.SetGuard(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow75_LiteralBoolean76); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity.AddEdge(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow75); + // ControlFlow ControlFlow78 from Read c.a2 to Read c.a3 + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ControlFlow78.SetName("ControlFlow78"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ControlFlow78.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ControlFlow78.SetSource(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_c_a2); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ControlFlow78.SetTarget(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_c_a3); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity.AddEdge(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ControlFlow78); + // ObjectFlow ObjectFlow79 from Fork c to object + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow79.SetName("ObjectFlow79"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow79.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow79.SetSource(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Fork_c); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow79.SetTarget(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_c_a2_object); + // LiteralBoolean LiteralBoolean81 + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow79_LiteralBoolean81.SetName("LiteralBoolean81"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow79_LiteralBoolean81.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow79_LiteralBoolean81.SetValue(true); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow79.SetGuard(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow79_LiteralBoolean81); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity.AddEdge(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow79); + // ObjectFlow ObjectFlow88 from Fork c to object + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow88.SetName("ObjectFlow88"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow88.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow88.SetSource(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Fork_c); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow88.SetTarget(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_c_a4_object); + // LiteralBoolean LiteralBoolean90 + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow88_LiteralBoolean90.SetName("LiteralBoolean90"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow88_LiteralBoolean90.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow88_LiteralBoolean90.SetValue(true); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow88.SetGuard(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow88_LiteralBoolean90); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity.AddEdge(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow88); + // ObjectFlow ObjectFlow91 from result to Fork c + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow91.SetName("ObjectFlow91"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow91.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow91.SetSource(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_this_c_result); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow91.SetTarget(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Fork_c); + // LiteralBoolean LiteralBoolean92 + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow91_LiteralBoolean92.SetName("LiteralBoolean92"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow91_LiteralBoolean92.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow91_LiteralBoolean92.SetValue(true); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow91.SetGuard(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow91_LiteralBoolean92); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity.AddEdge(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow91); + // ObjectFlow ObjectFlow94 from result to p + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow94.SetName("ObjectFlow94"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow94.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow94.SetSource(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_b_p_result); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow94.SetTarget(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Call_testP_p); + // LiteralBoolean LiteralBoolean96 + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow94_LiteralBoolean96.SetName("LiteralBoolean96"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow94_LiteralBoolean96.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow94_LiteralBoolean96.SetValue(true); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow94.SetGuard(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow94_LiteralBoolean96); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity.AddEdge(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow94); + // ControlFlow ControlFlow97 from Read c.a1 to Read c.a2 + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ControlFlow97.SetName("ControlFlow97"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ControlFlow97.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ControlFlow97.SetSource(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_c_a1); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ControlFlow97.SetTarget(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_c_a2); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity.AddEdge(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ControlFlow97); + // ObjectFlow ObjectFlow62 from result to object + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow62.SetName("ObjectFlow62"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow62.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow62.SetSource(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_c_a2_result); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow62.SetTarget(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_Read_a_b_object); + // LiteralBoolean LiteralBoolean64 + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow62_LiteralBoolean64.SetName("LiteralBoolean64"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow62_LiteralBoolean64.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow62_LiteralBoolean64.SetValue(true); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow62.SetGuard(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow62_LiteralBoolean64); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity.AddEdge(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_ObjectFlow62); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester.AddOwnedBehavior(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity); + // Activity TesterClassifierBehavior + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior.SetName("TesterClassifierBehavior"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior.SetVisibility(VisibilityKind.public_); + // AcceptEventAction Accept Start + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Start.SetName("Accept Start"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Start.SetVisibility(VisibilityKind.public_); + // OutputPin result + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Start_result.SetName("result"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Start_result.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Start_result.SetType(MultipleDelegation_MultipleConnector_P_PWP_Signal_Start); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Start.AddResult(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Start_result); + // Trigger Trigger105 + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Start_Trigger105.SetName("Trigger105"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Start_Trigger105.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Start_Trigger105.SetEvent(MultipleDelegation_MultipleConnector_P_PWP_Signal_StartEvent); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Start.AddTrigger(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Start_Trigger105); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior.AddNode(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Start); + // ReadStructuralFeatureAction Read this.c + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Read_this_c.SetName("Read this.c"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Read_this_c.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Read_this_c.SetStructuralFeature(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_c); + // InputPin object + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Read_this_c_object.SetName("object"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Read_this_c_object.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Read_this_c_object.SetType(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Read_this_c.SetObject(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Read_this_c_object); + // OutputPin result + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Read_this_c_result.SetName("result"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Read_this_c_result.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Read_this_c_result.SetType(MultipleDelegation_MultipleConnector_P_PWP_Signal_C); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Read_this_c.SetResult(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Read_this_c_result); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior.AddNode(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Read_this_c); + // ReadStructuralFeatureAction Read c.p + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Read_c_p.SetName("Read c.p"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Read_c_p.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Read_c_p.SetStructuralFeature(MultipleDelegation_MultipleConnector_P_PWP_Signal_C_p); + // InputPin object + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Read_c_p_object.SetName("object"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Read_c_p_object.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Read_c_p_object.SetType(MultipleDelegation_MultipleConnector_P_PWP_Signal_C); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Read_c_p.SetObject(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Read_c_p_object); + // OutputPin result + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Read_c_p_result.SetName("result"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Read_c_p_result.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Read_c_p_result.SetType(MultipleDelegation_MultipleConnector_P_PWP_Signal_IImpl); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Read_c_p.SetResult(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Read_c_p_result); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior.AddNode(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Read_c_p); + // AcceptEventAction Accept Continue_2 + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_2.SetName("Accept Continue_2"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_2.SetVisibility(VisibilityKind.public_); + // OutputPin result + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_2_result.SetName("result"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_2_result.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_2_result.SetType(MultipleDelegation_MultipleConnector_P_PWP_Signal_Continue); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_2.AddResult(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_2_result); + // Trigger Trigger120 + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_2_Trigger120.SetName("Trigger120"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_2_Trigger120.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_2_Trigger120.SetEvent(MultipleDelegation_MultipleConnector_P_PWP_Signal_ContinueEvent); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_2.AddTrigger(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_2_Trigger120); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior.AddNode(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_2); + // ValueSpecificationAction Value(4) + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Value_4.SetName("Value(4)"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Value_4.SetVisibility(VisibilityKind.public_); + // LiteralInteger LiteralInteger157 + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Value_4_LiteralInteger157.SetName("LiteralInteger157"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Value_4_LiteralInteger157.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Value_4_LiteralInteger157.SetValue(4); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Value_4.SetValue(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Value_4_LiteralInteger157); + // OutputPin result + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Value_4_result.SetName("result"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Value_4_result.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Value_4_result.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Value_4.SetResult(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Value_4_result); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior.AddNode(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Value_4); + // AcceptEventAction Accept Continue_1 + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_1.SetName("Accept Continue_1"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_1.SetVisibility(VisibilityKind.public_); + // OutputPin result + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_1_result.SetName("result"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_1_result.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_1_result.SetType(MultipleDelegation_MultipleConnector_P_PWP_Signal_Continue); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_1.AddResult(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_1_result); + // Trigger Trigger128 + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_1_Trigger128.SetName("Trigger128"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_1_Trigger128.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_1_Trigger128.SetEvent(MultipleDelegation_MultipleConnector_P_PWP_Signal_ContinueEvent); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_1.AddTrigger(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_1_Trigger128); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior.AddNode(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_1); + // ForkNode Fork this + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Fork_this.SetName("Fork this"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Fork_this.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior.AddNode(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Fork_this); + // ReadSelfAction this + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_this.SetName("this"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_this.SetVisibility(VisibilityKind.public_); + // OutputPin result + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_this_result.SetName("result"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_this_result.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_this_result.SetType(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_this.SetResult(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_this_result); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior.AddNode(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_this); + // SendSignalAction Send S + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Send_S.SetName("Send S"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Send_S.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Send_S.SetSignal(MultipleDelegation_MultipleConnector_P_PWP_Signal_S); + // InputPin target + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Send_S_target.SetName("target"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Send_S_target.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Send_S_target.SetType(MultipleDelegation_MultipleConnector_P_PWP_Signal_IImpl); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Send_S.SetTarget(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Send_S_target); + // InputPin v + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Send_S_v.SetName("v"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Send_S_v.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Send_S_v.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Send_S.AddArgument(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Send_S_v); + // InputPin t + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Send_S_t.SetName("t"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Send_S_t.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Send_S_t.SetType(MultipleDelegation_MultipleConnector_P_PWP_Signal_AbstractTester); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Send_S.AddArgument(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Send_S_t); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior.AddNode(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Send_S); + // AcceptEventAction Accept Continue_4 + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_4.SetName("Accept Continue_4"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_4.SetVisibility(VisibilityKind.public_); + // OutputPin result + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_4_result.SetName("result"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_4_result.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_4_result.SetType(MultipleDelegation_MultipleConnector_P_PWP_Signal_Continue); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_4.AddResult(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_4_result); + // Trigger Trigger138 + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_4_Trigger138.SetName("Trigger138"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_4_Trigger138.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_4_Trigger138.SetEvent(MultipleDelegation_MultipleConnector_P_PWP_Signal_ContinueEvent); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_4.AddTrigger(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_4_Trigger138); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior.AddNode(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_4); + // CallOperationAction Call test() + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Call_test_.SetName("Call test()"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Call_test_.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Call_test_.SetOperation(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_test); + // InputPin target + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Call_test__target.SetName("target"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Call_test__target.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Call_test__target.SetType(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Call_test_.SetTarget(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Call_test__target); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior.AddNode(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Call_test_); + // AcceptEventAction Accept Continue_3 + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_3.SetName("Accept Continue_3"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_3.SetVisibility(VisibilityKind.public_); + // OutputPin result + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_3_result.SetName("result"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_3_result.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_3_result.SetType(MultipleDelegation_MultipleConnector_P_PWP_Signal_Continue); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_3.AddResult(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_3_result); + // Trigger Trigger147 + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_3_Trigger147.SetName("Trigger147"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_3_Trigger147.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_3_Trigger147.SetEvent(MultipleDelegation_MultipleConnector_P_PWP_Signal_ContinueEvent); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_3.AddTrigger(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_3_Trigger147); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior.AddNode(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_3); + // ObjectFlow ObjectFlow98 from Fork this to object + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow98.SetName("ObjectFlow98"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow98.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow98.SetSource(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Fork_this); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow98.SetTarget(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Read_this_c_object); + // LiteralBoolean LiteralBoolean100 + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow98_LiteralBoolean100.SetName("LiteralBoolean100"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow98_LiteralBoolean100.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow98_LiteralBoolean100.SetValue(true); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow98.SetGuard(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow98_LiteralBoolean100); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior.AddEdge(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow98); + // ControlFlow ControlFlow101 from Send S to Accept Continue_1 + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ControlFlow101.SetName("ControlFlow101"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ControlFlow101.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ControlFlow101.SetSource(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Send_S); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ControlFlow101.SetTarget(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_1); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior.AddEdge(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ControlFlow101); + // ObjectFlow ObjectFlow151 from Fork this to target + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow151.SetName("ObjectFlow151"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow151.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow151.SetSource(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Fork_this); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow151.SetTarget(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Call_test__target); + // LiteralBoolean LiteralBoolean153 + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow151_LiteralBoolean153.SetName("LiteralBoolean153"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow151_LiteralBoolean153.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow151_LiteralBoolean153.SetValue(true); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow151.SetGuard(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow151_LiteralBoolean153); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior.AddEdge(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow151); + // ObjectFlow ObjectFlow114 from result to target + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow114.SetName("ObjectFlow114"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow114.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow114.SetSource(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Read_c_p_result); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow114.SetTarget(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Send_S_target); + // LiteralBoolean LiteralBoolean115 + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow114_LiteralBoolean115.SetName("LiteralBoolean115"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow114_LiteralBoolean115.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow114_LiteralBoolean115.SetValue(true); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow114.SetGuard(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow114_LiteralBoolean115); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior.AddEdge(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow114); + // ControlFlow ControlFlow154 from Accept Continue_3 to Accept Continue_4 + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ControlFlow154.SetName("ControlFlow154"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ControlFlow154.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ControlFlow154.SetSource(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_3); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ControlFlow154.SetTarget(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_4); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior.AddEdge(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ControlFlow154); + // ControlFlow ControlFlow121 from Accept Continue_1 to Accept Continue_2 + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ControlFlow121.SetName("ControlFlow121"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ControlFlow121.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ControlFlow121.SetSource(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_1); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ControlFlow121.SetTarget(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_2); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior.AddEdge(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ControlFlow121); + // ObjectFlow ObjectFlow122 from result to object + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow122.SetName("ObjectFlow122"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow122.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow122.SetSource(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Read_this_c_result); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow122.SetTarget(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Read_c_p_object); + // LiteralBoolean LiteralBoolean124 + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow122_LiteralBoolean124.SetName("LiteralBoolean124"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow122_LiteralBoolean124.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow122_LiteralBoolean124.SetValue(true); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow122.SetGuard(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow122_LiteralBoolean124); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior.AddEdge(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow122); + // ObjectFlow ObjectFlow158 from result to v + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow158.SetName("ObjectFlow158"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow158.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow158.SetSource(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Value_4_result); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow158.SetTarget(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Send_S_v); + // LiteralBoolean LiteralBoolean159 + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow158_LiteralBoolean159.SetName("LiteralBoolean159"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow158_LiteralBoolean159.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow158_LiteralBoolean159.SetValue(true); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow158.SetGuard(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow158_LiteralBoolean159); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior.AddEdge(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow158); + // ObjectFlow ObjectFlow141 from result to Fork this + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow141.SetName("ObjectFlow141"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow141.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow141.SetSource(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_this_result); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow141.SetTarget(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Fork_this); + // LiteralBoolean LiteralBoolean143 + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow141_LiteralBoolean143.SetName("LiteralBoolean143"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow141_LiteralBoolean143.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow141_LiteralBoolean143.SetValue(true); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow141.SetGuard(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow141_LiteralBoolean143); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior.AddEdge(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow141); + // ControlFlow ControlFlow163 from Accept Start to this + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ControlFlow163.SetName("ControlFlow163"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ControlFlow163.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ControlFlow163.SetSource(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Start); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ControlFlow163.SetTarget(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_this); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior.AddEdge(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ControlFlow163); + // ControlFlow ControlFlow164 from Accept Continue_2 to Accept Continue_3 + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ControlFlow164.SetName("ControlFlow164"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ControlFlow164.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ControlFlow164.SetSource(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_2); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ControlFlow164.SetTarget(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_3); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior.AddEdge(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ControlFlow164); + // ObjectFlow ObjectFlow148 from Fork this to t + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow148.SetName("ObjectFlow148"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow148.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow148.SetSource(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Fork_this); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow148.SetTarget(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Send_S_t); + // LiteralBoolean LiteralBoolean150 + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow148_LiteralBoolean150.SetName("LiteralBoolean150"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow148_LiteralBoolean150.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow148_LiteralBoolean150.SetValue(true); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow148.SetGuard(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow148_LiteralBoolean150); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior.AddEdge(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ObjectFlow148); + // ControlFlow ControlFlow165 from Accept Continue_4 to Call test() + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ControlFlow165.SetName("ControlFlow165"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ControlFlow165.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ControlFlow165.SetSource(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Accept_Continue_4); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ControlFlow165.SetTarget(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_Call_test_); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior.AddEdge(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior_ControlFlow165); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester.AddOwnedBehavior(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_TesterClassifierBehavior); + + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester.SetIsActive(true); + // Operation Tester_Tester + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_Tester_Tester.SetName("Tester_Tester"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_Tester_Tester.SetVisibility(VisibilityKind.public_); + // Parameter result + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_Tester_Tester_result.SetName("result"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_Tester_Tester_result.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_Tester_Tester_result.SetType(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_Tester_Tester_result.SetDirection(ParameterDirectionKind.return_); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_Tester_Tester.AddOwnedParameter(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_Tester_Tester_result); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_Tester_Tester.ApplyStereotype(uml.standardprofile.StandardProfileModel.Instance().Stereotype_Create); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester.AddOwnedOperation(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_Tester_Tester); + // Operation test + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_test.SetName("test"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_test.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_test.AddMethod(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester.AddOwnedOperation(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_test); + MultipleDelegation_MultipleConnector_P_PWP_Signal.AddPackagedElement(MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester); + // Signal S + MultipleDelegation_MultipleConnector_P_PWP_Signal_S.SetName("S"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_S.SetVisibility(VisibilityKind.public_); + + // Property v + MultipleDelegation_MultipleConnector_P_PWP_Signal_S_v.SetName("v"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_S_v.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_PWP_Signal_S_v.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + MultipleDelegation_MultipleConnector_P_PWP_Signal_S.AddOwnedAttribute(MultipleDelegation_MultipleConnector_P_PWP_Signal_S_v); + // Property t + MultipleDelegation_MultipleConnector_P_PWP_Signal_S_t.SetName("t"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_S_t.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_PWP_Signal_S_t.SetType(MultipleDelegation_MultipleConnector_P_PWP_Signal_AbstractTester); + MultipleDelegation_MultipleConnector_P_PWP_Signal_S.AddOwnedAttribute(MultipleDelegation_MultipleConnector_P_PWP_Signal_S_t); + MultipleDelegation_MultipleConnector_P_PWP_Signal.AddPackagedElement(MultipleDelegation_MultipleConnector_P_PWP_Signal_S); + // Class C + MultipleDelegation_MultipleConnector_P_PWP_Signal_C.SetName("C"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_C.SetVisibility(VisibilityKind.public_); + + // Port p + MultipleDelegation_MultipleConnector_P_PWP_Signal_C_p.SetName("p"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_C_p.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_PWP_Signal_C_p.SetType(MultipleDelegation_MultipleConnector_P_PWP_Signal_IImpl); + MultipleDelegation_MultipleConnector_P_PWP_Signal_C_p.SetAggregation(AggregationKind.composite); + MultipleDelegation_MultipleConnector_P_PWP_Signal_C_p.isService = true; + MultipleDelegation_MultipleConnector_P_PWP_Signal_C_p.AddProvided(MultipleDelegation_MultipleConnector_P_PWP_Signal_I); + MultipleDelegation_MultipleConnector_P_PWP_Signal_C.AddOwnedAttribute(MultipleDelegation_MultipleConnector_P_PWP_Signal_C_p); + // Property a1 + MultipleDelegation_MultipleConnector_P_PWP_Signal_C_a1.SetName("a1"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_C_a1.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_PWP_Signal_C_a1.SetType(MultipleDelegation_MultipleConnector_P_PWP_Signal_A); + MultipleDelegation_MultipleConnector_P_PWP_Signal_C_a1.SetAggregation(AggregationKind.composite); + MultipleDelegation_MultipleConnector_P_PWP_Signal_C.AddOwnedAttribute(MultipleDelegation_MultipleConnector_P_PWP_Signal_C_a1); + // Property a2 + MultipleDelegation_MultipleConnector_P_PWP_Signal_C_a2.SetName("a2"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_C_a2.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_PWP_Signal_C_a2.SetType(MultipleDelegation_MultipleConnector_P_PWP_Signal_A); + MultipleDelegation_MultipleConnector_P_PWP_Signal_C_a2.SetAggregation(AggregationKind.composite); + MultipleDelegation_MultipleConnector_P_PWP_Signal_C.AddOwnedAttribute(MultipleDelegation_MultipleConnector_P_PWP_Signal_C_a2); + // Property a3 + MultipleDelegation_MultipleConnector_P_PWP_Signal_C_a3.SetName("a3"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_C_a3.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_PWP_Signal_C_a3.SetType(MultipleDelegation_MultipleConnector_P_PWP_Signal_A); + MultipleDelegation_MultipleConnector_P_PWP_Signal_C_a3.SetAggregation(AggregationKind.composite); + MultipleDelegation_MultipleConnector_P_PWP_Signal_C.AddOwnedAttribute(MultipleDelegation_MultipleConnector_P_PWP_Signal_C_a3); + // Property a4 + MultipleDelegation_MultipleConnector_P_PWP_Signal_C_a4.SetName("a4"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_C_a4.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_PWP_Signal_C_a4.SetType(MultipleDelegation_MultipleConnector_P_PWP_Signal_A); + MultipleDelegation_MultipleConnector_P_PWP_Signal_C_a4.SetAggregation(AggregationKind.composite); + MultipleDelegation_MultipleConnector_P_PWP_Signal_C.AddOwnedAttribute(MultipleDelegation_MultipleConnector_P_PWP_Signal_C_a4); + + MultipleDelegation_MultipleConnector_P_PWP_Signal_C_u3.SetName("u3"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_C_u3.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_PWP_Signal_C_u3_ConnectorEnd174.SetRole(MultipleDelegation_MultipleConnector_P_PWP_Signal_C_p); + + MultipleDelegation_MultipleConnector_P_PWP_Signal_C_u3.AddEnd(MultipleDelegation_MultipleConnector_P_PWP_Signal_C_u3_ConnectorEnd174); + + MultipleDelegation_MultipleConnector_P_PWP_Signal_C_u3_ConnectorEnd173.SetRole(MultipleDelegation_MultipleConnector_P_PWP_Signal_A_q); + MultipleDelegation_MultipleConnector_P_PWP_Signal_C_u3_ConnectorEnd173.SetPartWithPort(MultipleDelegation_MultipleConnector_P_PWP_Signal_C_a3); + + MultipleDelegation_MultipleConnector_P_PWP_Signal_C_u3.AddEnd(MultipleDelegation_MultipleConnector_P_PWP_Signal_C_u3_ConnectorEnd173); + MultipleDelegation_MultipleConnector_P_PWP_Signal_C_u3.SetType(MultipleDelegation_MultipleConnector_P_PWP_Signal_U); + MultipleDelegation_MultipleConnector_P_PWP_Signal_C.AddOwnedConnector(MultipleDelegation_MultipleConnector_P_PWP_Signal_C_u3); + MultipleDelegation_MultipleConnector_P_PWP_Signal_C_u1.SetName("u1"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_C_u1.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_PWP_Signal_C_u1_ConnectorEnd180.SetRole(MultipleDelegation_MultipleConnector_P_PWP_Signal_C_p); + + MultipleDelegation_MultipleConnector_P_PWP_Signal_C_u1.AddEnd(MultipleDelegation_MultipleConnector_P_PWP_Signal_C_u1_ConnectorEnd180); + + MultipleDelegation_MultipleConnector_P_PWP_Signal_C_u1_ConnectorEnd177.SetRole(MultipleDelegation_MultipleConnector_P_PWP_Signal_A_q); + MultipleDelegation_MultipleConnector_P_PWP_Signal_C_u1_ConnectorEnd177.SetPartWithPort(MultipleDelegation_MultipleConnector_P_PWP_Signal_C_a1); + + MultipleDelegation_MultipleConnector_P_PWP_Signal_C_u1.AddEnd(MultipleDelegation_MultipleConnector_P_PWP_Signal_C_u1_ConnectorEnd177); + MultipleDelegation_MultipleConnector_P_PWP_Signal_C_u1.SetType(MultipleDelegation_MultipleConnector_P_PWP_Signal_U); + MultipleDelegation_MultipleConnector_P_PWP_Signal_C.AddOwnedConnector(MultipleDelegation_MultipleConnector_P_PWP_Signal_C_u1); + MultipleDelegation_MultipleConnector_P_PWP_Signal_C_u2.SetName("u2"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_C_u2.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_PWP_Signal_C_u2_ConnectorEnd182.SetRole(MultipleDelegation_MultipleConnector_P_PWP_Signal_C_p); + + MultipleDelegation_MultipleConnector_P_PWP_Signal_C_u2.AddEnd(MultipleDelegation_MultipleConnector_P_PWP_Signal_C_u2_ConnectorEnd182); + + MultipleDelegation_MultipleConnector_P_PWP_Signal_C_u2_ConnectorEnd183.SetRole(MultipleDelegation_MultipleConnector_P_PWP_Signal_A_q); + MultipleDelegation_MultipleConnector_P_PWP_Signal_C_u2_ConnectorEnd183.SetPartWithPort(MultipleDelegation_MultipleConnector_P_PWP_Signal_C_a2); + + MultipleDelegation_MultipleConnector_P_PWP_Signal_C_u2.AddEnd(MultipleDelegation_MultipleConnector_P_PWP_Signal_C_u2_ConnectorEnd183); + MultipleDelegation_MultipleConnector_P_PWP_Signal_C_u2.SetType(MultipleDelegation_MultipleConnector_P_PWP_Signal_U); + MultipleDelegation_MultipleConnector_P_PWP_Signal_C.AddOwnedConnector(MultipleDelegation_MultipleConnector_P_PWP_Signal_C_u2); + MultipleDelegation_MultipleConnector_P_PWP_Signal_C_u4.SetName("u4"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_C_u4.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_PWP_Signal_C_u4_ConnectorEnd184.SetRole(MultipleDelegation_MultipleConnector_P_PWP_Signal_C_p); + + MultipleDelegation_MultipleConnector_P_PWP_Signal_C_u4.AddEnd(MultipleDelegation_MultipleConnector_P_PWP_Signal_C_u4_ConnectorEnd184); + + MultipleDelegation_MultipleConnector_P_PWP_Signal_C_u4_ConnectorEnd185.SetRole(MultipleDelegation_MultipleConnector_P_PWP_Signal_A_q); + MultipleDelegation_MultipleConnector_P_PWP_Signal_C_u4_ConnectorEnd185.SetPartWithPort(MultipleDelegation_MultipleConnector_P_PWP_Signal_C_a4); + + MultipleDelegation_MultipleConnector_P_PWP_Signal_C_u4.AddEnd(MultipleDelegation_MultipleConnector_P_PWP_Signal_C_u4_ConnectorEnd185); + MultipleDelegation_MultipleConnector_P_PWP_Signal_C_u4.SetType(MultipleDelegation_MultipleConnector_P_PWP_Signal_U); + MultipleDelegation_MultipleConnector_P_PWP_Signal_C.AddOwnedConnector(MultipleDelegation_MultipleConnector_P_PWP_Signal_C_u4); + MultipleDelegation_MultipleConnector_P_PWP_Signal.AddPackagedElement(MultipleDelegation_MultipleConnector_P_PWP_Signal_C); + // Interface I + MultipleDelegation_MultipleConnector_P_PWP_Signal_I.SetName("I"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_I.SetVisibility(VisibilityKind.public_); + // Reception S + MultipleDelegation_MultipleConnector_P_PWP_Signal_I_S.SetName("S"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_I_S.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Signal_I_S.SetSignal(MultipleDelegation_MultipleConnector_P_PWP_Signal_S); + MultipleDelegation_MultipleConnector_P_PWP_Signal_I.AddOwnedReception(MultipleDelegation_MultipleConnector_P_PWP_Signal_I_S); + MultipleDelegation_MultipleConnector_P_PWP_Signal.AddPackagedElement(MultipleDelegation_MultipleConnector_P_PWP_Signal_I); + // Class B + MultipleDelegation_MultipleConnector_P_PWP_Signal_B.SetName("B"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_B.SetVisibility(VisibilityKind.public_); + + // Property p + MultipleDelegation_MultipleConnector_P_PWP_Signal_B_p.SetName("p"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_B_p.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_PWP_Signal_B_p.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + MultipleDelegation_MultipleConnector_P_PWP_Signal_B.AddOwnedAttribute(MultipleDelegation_MultipleConnector_P_PWP_Signal_B_p); + MultipleDelegation_MultipleConnector_P_PWP_Signal_B.SetClassifierBehavior(MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior); + // Activity BClassifierBehavior + MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior.SetName("BClassifierBehavior"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior.SetVisibility(VisibilityKind.public_); + // AcceptEventAction Accept S + MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_Accept_S.SetName("Accept S"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_Accept_S.SetVisibility(VisibilityKind.public_); + // OutputPin s + MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_Accept_S_s.SetName("s"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_Accept_S_s.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_Accept_S_s.SetType(MultipleDelegation_MultipleConnector_P_PWP_Signal_S); + MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_Accept_S.AddResult(MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_Accept_S_s); + // Trigger Trigger196 + MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_Accept_S_Trigger196.SetName("Trigger196"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_Accept_S_Trigger196.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_Accept_S_Trigger196.SetEvent(MultipleDelegation_MultipleConnector_P_PWP_Signal_SEvent); + MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_Accept_S.AddTrigger(MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_Accept_S_Trigger196); + MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior.AddNode(MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_Accept_S); + // AddStructuralFeatureValueAction Set this.p + MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_Set_this_p.SetName("Set this.p"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_Set_this_p.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_Set_this_p.SetStructuralFeature(MultipleDelegation_MultipleConnector_P_PWP_Signal_B_p); + // InputPin object + MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_Set_this_p_object.SetName("object"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_Set_this_p_object.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_Set_this_p_object.SetType(MultipleDelegation_MultipleConnector_P_PWP_Signal_B); + MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_Set_this_p.SetObject(MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_Set_this_p_object); + // InputPin value + MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_Set_this_p_value.SetName("value"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_Set_this_p_value.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_Set_this_p_value.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_Set_this_p.SetValue(MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_Set_this_p_value); + // OutputPin result + MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_Set_this_p_result.SetName("result"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_Set_this_p_result.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_Set_this_p_result.SetType(MultipleDelegation_MultipleConnector_P_PWP_Signal_B); + MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_Set_this_p.SetResult(MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_Set_this_p_result); + MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior.AddNode(MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_Set_this_p); + // SendSignalAction Send Continue + MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_Send_Continue.SetName("Send Continue"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_Send_Continue.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_Send_Continue.SetSignal(MultipleDelegation_MultipleConnector_P_PWP_Signal_Continue); + // InputPin target + MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_Send_Continue_target.SetName("target"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_Send_Continue_target.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_Send_Continue_target.SetType(MultipleDelegation_MultipleConnector_P_PWP_Signal_AbstractTester); + MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_Send_Continue.SetTarget(MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_Send_Continue_target); + MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior.AddNode(MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_Send_Continue); + // ReadStructuralFeatureAction Read s.v + MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_Read_s_v.SetName("Read s.v"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_Read_s_v.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_Read_s_v.SetStructuralFeature(MultipleDelegation_MultipleConnector_P_PWP_Signal_S_v); + // InputPin object + MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_Read_s_v_object.SetName("object"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_Read_s_v_object.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_Read_s_v.SetObject(MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_Read_s_v_object); + // OutputPin result + MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_Read_s_v_result.SetName("result"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_Read_s_v_result.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_Read_s_v_result.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_Read_s_v.SetResult(MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_Read_s_v_result); + MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior.AddNode(MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_Read_s_v); + // ReadStructuralFeatureAction Read s.t + MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_Read_s_t.SetName("Read s.t"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_Read_s_t.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_Read_s_t.SetStructuralFeature(MultipleDelegation_MultipleConnector_P_PWP_Signal_S_t); + // InputPin object + MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_Read_s_t_object.SetName("object"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_Read_s_t_object.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_Read_s_t.SetObject(MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_Read_s_t_object); + // OutputPin result + MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_Read_s_t_result.SetName("result"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_Read_s_t_result.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_Read_s_t_result.SetType(MultipleDelegation_MultipleConnector_P_PWP_Signal_AbstractTester); + MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_Read_s_t.SetResult(MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_Read_s_t_result); + MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior.AddNode(MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_Read_s_t); + // ReadSelfAction this + MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_this.SetName("this"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_this.SetVisibility(VisibilityKind.public_); + // OutputPin result + MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_this_result.SetName("result"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_this_result.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_this_result.SetType(MultipleDelegation_MultipleConnector_P_PWP_Signal_B); + MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_this.SetResult(MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_this_result); + MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior.AddNode(MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_this); + // ForkNode Fork s + MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_Fork_s.SetName("Fork s"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_Fork_s.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior.AddNode(MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_Fork_s); + // ObjectFlow ObjectFlow186 from result to target + MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow186.SetName("ObjectFlow186"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow186.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow186.SetSource(MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_Read_s_t_result); + MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow186.SetTarget(MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_Send_Continue_target); + // LiteralBoolean LiteralBoolean187 + MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow186_LiteralBoolean187.SetName("LiteralBoolean187"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow186_LiteralBoolean187.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow186_LiteralBoolean187.SetValue(true); + MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow186.SetGuard(MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow186_LiteralBoolean187); + MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior.AddEdge(MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow186); + // ObjectFlow ObjectFlow208 from Fork s to object + MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow208.SetName("ObjectFlow208"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow208.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow208.SetSource(MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_Fork_s); + MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow208.SetTarget(MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_Read_s_t_object); + // LiteralBoolean LiteralBoolean209 + MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow208_LiteralBoolean209.SetName("LiteralBoolean209"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow208_LiteralBoolean209.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow208_LiteralBoolean209.SetValue(true); + MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow208.SetGuard(MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow208_LiteralBoolean209); + MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior.AddEdge(MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow208); + // ObjectFlow ObjectFlow189 from result to value + MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow189.SetName("ObjectFlow189"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow189.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow189.SetSource(MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_Read_s_v_result); + MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow189.SetTarget(MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_Set_this_p_value); + // LiteralBoolean LiteralBoolean190 + MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow189_LiteralBoolean190.SetName("LiteralBoolean190"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow189_LiteralBoolean190.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow189_LiteralBoolean190.SetValue(true); + MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow189.SetGuard(MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow189_LiteralBoolean190); + MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior.AddEdge(MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow189); + // ObjectFlow ObjectFlow211 from result to object + MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow211.SetName("ObjectFlow211"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow211.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow211.SetSource(MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_this_result); + MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow211.SetTarget(MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_Set_this_p_object); + // LiteralBoolean LiteralBoolean212 + MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow211_LiteralBoolean212.SetName("LiteralBoolean212"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow211_LiteralBoolean212.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow211_LiteralBoolean212.SetValue(true); + MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow211.SetGuard(MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow211_LiteralBoolean212); + MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior.AddEdge(MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow211); + // ControlFlow ControlFlow192 from Set this.p to Send Continue + MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_ControlFlow192.SetName("ControlFlow192"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_ControlFlow192.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_ControlFlow192.SetSource(MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_Set_this_p); + MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_ControlFlow192.SetTarget(MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_Send_Continue); + MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior.AddEdge(MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_ControlFlow192); + // ObjectFlow ObjectFlow193 from s to Fork s + MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow193.SetName("ObjectFlow193"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow193.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow193.SetSource(MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_Accept_S_s); + MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow193.SetTarget(MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_Fork_s); + // LiteralBoolean LiteralBoolean195 + MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow193_LiteralBoolean195.SetName("LiteralBoolean195"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow193_LiteralBoolean195.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow193_LiteralBoolean195.SetValue(true); + MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow193.SetGuard(MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow193_LiteralBoolean195); + MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior.AddEdge(MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow193); + // ObjectFlow ObjectFlow224 from Fork s to object + MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow224.SetName("ObjectFlow224"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow224.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow224.SetSource(MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_Fork_s); + MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow224.SetTarget(MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_Read_s_v_object); + // LiteralBoolean LiteralBoolean225 + MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow224_LiteralBoolean225.SetName("LiteralBoolean225"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow224_LiteralBoolean225.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow224_LiteralBoolean225.SetValue(true); + MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow224.SetGuard(MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow224_LiteralBoolean225); + MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior.AddEdge(MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior_ObjectFlow224); + MultipleDelegation_MultipleConnector_P_PWP_Signal_B.AddOwnedBehavior(MultipleDelegation_MultipleConnector_P_PWP_Signal_B_BClassifierBehavior); + MultipleDelegation_MultipleConnector_P_PWP_Signal_B_IRealization.SetName("IRealization"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_B_IRealization.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Signal_B_IRealization.SetContract(MultipleDelegation_MultipleConnector_P_PWP_Signal_I); + + MultipleDelegation_MultipleConnector_P_PWP_Signal_B.AddInterfaceRealization(MultipleDelegation_MultipleConnector_P_PWP_Signal_B_IRealization); + + MultipleDelegation_MultipleConnector_P_PWP_Signal_B.SetIsActive(true); + // Operation B_B + MultipleDelegation_MultipleConnector_P_PWP_Signal_B_B_B.SetName("B_B"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_B_B_B.SetVisibility(VisibilityKind.public_); + // Parameter result + MultipleDelegation_MultipleConnector_P_PWP_Signal_B_B_B_result.SetName("result"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_B_B_B_result.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_PWP_Signal_B_B_B_result.SetType(MultipleDelegation_MultipleConnector_P_PWP_Signal_B); + MultipleDelegation_MultipleConnector_P_PWP_Signal_B_B_B_result.SetDirection(ParameterDirectionKind.return_); + MultipleDelegation_MultipleConnector_P_PWP_Signal_B_B_B.AddOwnedParameter(MultipleDelegation_MultipleConnector_P_PWP_Signal_B_B_B_result); + MultipleDelegation_MultipleConnector_P_PWP_Signal_B_B_B.ApplyStereotype(uml.standardprofile.StandardProfileModel.Instance().Stereotype_Create); + MultipleDelegation_MultipleConnector_P_PWP_Signal_B.AddOwnedOperation(MultipleDelegation_MultipleConnector_P_PWP_Signal_B_B_B); + // Reception S + MultipleDelegation_MultipleConnector_P_PWP_Signal_B_S.SetName("S"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_B_S.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Signal_B_S.SetSignal(MultipleDelegation_MultipleConnector_P_PWP_Signal_S); + MultipleDelegation_MultipleConnector_P_PWP_Signal_B.AddOwnedReception(MultipleDelegation_MultipleConnector_P_PWP_Signal_B_S); + MultipleDelegation_MultipleConnector_P_PWP_Signal.AddPackagedElement(MultipleDelegation_MultipleConnector_P_PWP_Signal_B); + // Class A + MultipleDelegation_MultipleConnector_P_PWP_Signal_A.SetName("A"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_A.SetVisibility(VisibilityKind.public_); + + // Port q + MultipleDelegation_MultipleConnector_P_PWP_Signal_A_q.SetName("q"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_A_q.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_PWP_Signal_A_q.SetType(MultipleDelegation_MultipleConnector_P_PWP_Signal_IImpl); + MultipleDelegation_MultipleConnector_P_PWP_Signal_A_q.SetAggregation(AggregationKind.composite); + MultipleDelegation_MultipleConnector_P_PWP_Signal_A_q.isService = true; + MultipleDelegation_MultipleConnector_P_PWP_Signal_A_q.AddProvided(MultipleDelegation_MultipleConnector_P_PWP_Signal_I); + MultipleDelegation_MultipleConnector_P_PWP_Signal_A.AddOwnedAttribute(MultipleDelegation_MultipleConnector_P_PWP_Signal_A_q); + // Property b + MultipleDelegation_MultipleConnector_P_PWP_Signal_A_b.SetName("b"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_A_b.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_PWP_Signal_A_b.SetType(MultipleDelegation_MultipleConnector_P_PWP_Signal_B); + MultipleDelegation_MultipleConnector_P_PWP_Signal_A_b.SetAggregation(AggregationKind.composite); + MultipleDelegation_MultipleConnector_P_PWP_Signal_A.AddOwnedAttribute(MultipleDelegation_MultipleConnector_P_PWP_Signal_A_b); + + MultipleDelegation_MultipleConnector_P_PWP_Signal_A_r.SetName("r"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_A_r.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_PWP_Signal_A_r_ConnectorEnd230.SetRole(MultipleDelegation_MultipleConnector_P_PWP_Signal_A_q); + + MultipleDelegation_MultipleConnector_P_PWP_Signal_A_r.AddEnd(MultipleDelegation_MultipleConnector_P_PWP_Signal_A_r_ConnectorEnd230); + + MultipleDelegation_MultipleConnector_P_PWP_Signal_A_r_ConnectorEnd227.SetRole(MultipleDelegation_MultipleConnector_P_PWP_Signal_A_b); + + MultipleDelegation_MultipleConnector_P_PWP_Signal_A_r.AddEnd(MultipleDelegation_MultipleConnector_P_PWP_Signal_A_r_ConnectorEnd227); + MultipleDelegation_MultipleConnector_P_PWP_Signal_A_r.SetType(MultipleDelegation_MultipleConnector_P_PWP_Signal_R); + MultipleDelegation_MultipleConnector_P_PWP_Signal_A.AddOwnedConnector(MultipleDelegation_MultipleConnector_P_PWP_Signal_A_r); + // Operation A_A + MultipleDelegation_MultipleConnector_P_PWP_Signal_A_A_A.SetName("A_A"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_A_A_A.SetVisibility(VisibilityKind.public_); + // Parameter result + MultipleDelegation_MultipleConnector_P_PWP_Signal_A_A_A_result.SetName("result"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_A_A_A_result.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_PWP_Signal_A_A_A_result.SetType(MultipleDelegation_MultipleConnector_P_PWP_Signal_A); + MultipleDelegation_MultipleConnector_P_PWP_Signal_A_A_A_result.SetDirection(ParameterDirectionKind.return_); + MultipleDelegation_MultipleConnector_P_PWP_Signal_A_A_A.AddOwnedParameter(MultipleDelegation_MultipleConnector_P_PWP_Signal_A_A_A_result); + MultipleDelegation_MultipleConnector_P_PWP_Signal_A_A_A.ApplyStereotype(uml.standardprofile.StandardProfileModel.Instance().Stereotype_Create); + MultipleDelegation_MultipleConnector_P_PWP_Signal_A.AddOwnedOperation(MultipleDelegation_MultipleConnector_P_PWP_Signal_A_A_A); + MultipleDelegation_MultipleConnector_P_PWP_Signal.AddPackagedElement(MultipleDelegation_MultipleConnector_P_PWP_Signal_A); + // SignalEvent StartEvent + MultipleDelegation_MultipleConnector_P_PWP_Signal_StartEvent.SetName("StartEvent"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_StartEvent.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Signal_StartEvent.SetSignal(MultipleDelegation_MultipleConnector_P_PWP_Signal_Start); + MultipleDelegation_MultipleConnector_P_PWP_Signal.AddPackagedElement(MultipleDelegation_MultipleConnector_P_PWP_Signal_StartEvent); + // Association R + MultipleDelegation_MultipleConnector_P_PWP_Signal_R.SetName("R"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_R.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Signal_R.AddOwnedEnd(MultipleDelegation_MultipleConnector_P_PWP_Signal_R_x); + MultipleDelegation_MultipleConnector_P_PWP_Signal_R.AddOwnedEnd(MultipleDelegation_MultipleConnector_P_PWP_Signal_R_y); + MultipleDelegation_MultipleConnector_P_PWP_Signal.AddPackagedElement(MultipleDelegation_MultipleConnector_P_PWP_Signal_R); + // Class AbstractTester + MultipleDelegation_MultipleConnector_P_PWP_Signal_AbstractTester.SetName("AbstractTester"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_AbstractTester.SetVisibility(VisibilityKind.public_); + + MultipleDelegation_MultipleConnector_P_PWP_Signal_AbstractTester.SetIsAbstract(true); + + + MultipleDelegation_MultipleConnector_P_PWP_Signal_AbstractTester.SetIsActive(true); + // Operation test + MultipleDelegation_MultipleConnector_P_PWP_Signal_AbstractTester_test.SetName("test"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_AbstractTester_test.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Signal_AbstractTester_test.SetIsAbstract(true); + MultipleDelegation_MultipleConnector_P_PWP_Signal_AbstractTester.AddOwnedOperation(MultipleDelegation_MultipleConnector_P_PWP_Signal_AbstractTester_test); + // Reception Continue + MultipleDelegation_MultipleConnector_P_PWP_Signal_AbstractTester_Continue.SetName("Continue"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_AbstractTester_Continue.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Signal_AbstractTester_Continue.SetSignal(MultipleDelegation_MultipleConnector_P_PWP_Signal_Continue); + MultipleDelegation_MultipleConnector_P_PWP_Signal_AbstractTester.AddOwnedReception(MultipleDelegation_MultipleConnector_P_PWP_Signal_AbstractTester_Continue); + // Reception Start + MultipleDelegation_MultipleConnector_P_PWP_Signal_AbstractTester_Start.SetName("Start"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_AbstractTester_Start.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Signal_AbstractTester_Start.SetSignal(MultipleDelegation_MultipleConnector_P_PWP_Signal_Start); + MultipleDelegation_MultipleConnector_P_PWP_Signal_AbstractTester.AddOwnedReception(MultipleDelegation_MultipleConnector_P_PWP_Signal_AbstractTester_Start); + MultipleDelegation_MultipleConnector_P_PWP_Signal.AddPackagedElement(MultipleDelegation_MultipleConnector_P_PWP_Signal_AbstractTester); + // Class IImpl + MultipleDelegation_MultipleConnector_P_PWP_Signal_IImpl.SetName("IImpl"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_IImpl.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Signal_IImpl_IRealization.SetName("IRealization"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_IImpl_IRealization.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Signal_IImpl_IRealization.SetContract(MultipleDelegation_MultipleConnector_P_PWP_Signal_I); + + MultipleDelegation_MultipleConnector_P_PWP_Signal_IImpl.AddInterfaceRealization(MultipleDelegation_MultipleConnector_P_PWP_Signal_IImpl_IRealization); + + // Reception S + MultipleDelegation_MultipleConnector_P_PWP_Signal_IImpl_S.SetName("S"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_IImpl_S.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Signal_IImpl_S.SetSignal(MultipleDelegation_MultipleConnector_P_PWP_Signal_S); + MultipleDelegation_MultipleConnector_P_PWP_Signal_IImpl.AddOwnedReception(MultipleDelegation_MultipleConnector_P_PWP_Signal_IImpl_S); + MultipleDelegation_MultipleConnector_P_PWP_Signal.AddPackagedElement(MultipleDelegation_MultipleConnector_P_PWP_Signal_IImpl); + // Signal Start + MultipleDelegation_MultipleConnector_P_PWP_Signal_Start.SetName("Start"); + MultipleDelegation_MultipleConnector_P_PWP_Signal_Start.SetVisibility(VisibilityKind.public_); + MultipleDelegation_MultipleConnector_P_PWP_Signal.AddPackagedElement(MultipleDelegation_MultipleConnector_P_PWP_Signal_Start); + } + + /* Start of user code : User-defined members + * This section may be used for user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } // MultipleDelegation_MultipleConnector_P_PWP_SignalModel +} diff --git a/fUML-CSharp/tests/pscs-Tests/02_Communication/15_MultipleDelegation_MultipleConnector_P_PWP_Signal/src/testPExecution.cs b/fUML-CSharp/tests/pscs-Tests/02_Communication/15_MultipleDelegation_MultipleConnector_P_PWP_Signal/src/testPExecution.cs new file mode 100644 index 0000000..587eb98 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/02_Communication/15_MultipleDelegation_MultipleConnector_P_PWP_Signal/src/testPExecution.cs @@ -0,0 +1,92 @@ +/* + * testPExecution.cs + * + * Auto-generated file + */ + +using fuml.semantics.commonbehavior; +using fuml; +using fuml.semantics.simpleclassifiers; +using fuml.semantics.values; + +/* Start of user code : User-defined includes and forward declarations + * This section may be used for includes and forward declarations. + * It will not be overwritten by future generation processes. + */ + +/* + * End of user code + */ + +namespace MultipleDelegation_MultipleConnector_P_PWP_Signal +{ + public class testPExecution : OpaqueBehaviorExecution + { + public testPExecution() + { + types.Add(MultipleDelegation_MultipleConnector_P_PWP_SignalModel.Instance().MultipleDelegation_MultipleConnector_P_PWP_Signal_Tester_testActivity_testP); + /* Start of user code : Additional opaque behavior execution initializations + * This section may be used to do any additional opaque behavior execution initialization, + * for example initializing user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } + + public override void DoBody(List inputParameters, List outputParameters) + { + if(index == 1) + { + Console.WriteLine("Asserting c.a1.b.p == 4 && c.a2.b.p == 4 && c.a3.b.p == 4 && c.a4.b.p == 4"); + } + + // Test parameter p + int p = ((IntegerValue)inputParameters.ElementAt(0).values.ElementAt(0)).value; + Debug.Println("[doBody] argument p = " + p); + + Console.WriteLine( "c.a" + index + ".b.p == " + p); + success = success && (p == 4); + if(index == MAX_INDEX) + { + + Console.Write("Signal delegated on all links (shall be true for default strategy): "); + + if(success) + { + Console.ForegroundColor = ConsoleColor.Green; + Console.WriteLine("Assertion successful."); + } + else + { + Console.ForegroundColor = ConsoleColor.Red; + Console.WriteLine("Assertion failed!"); + } + + Console.ResetColor(); + } + + index++; + } + + protected override Value New_() + { + return new testPExecution(); + } + + /* Start of user code : User-defined members + * This section may be used for user-defined members. + * It will not be overwritten by future generation processes. + */ + + private static int index = 1; + private const int MAX_INDEX = 4; + private static bool success = true; + + /* + * End of user code + */ + } // testPExecution +} diff --git a/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/01_OperationCommon/.gitignore b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/01_OperationCommon/.gitignore new file mode 100644 index 0000000..1736844 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/01_OperationCommon/.gitignore @@ -0,0 +1,3 @@ +/.vs/ +/bin/ +/obj/ diff --git a/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/01_OperationCommon/OperationCommon.csproj b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/01_OperationCommon/OperationCommon.csproj new file mode 100644 index 0000000..a4da3c9 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/01_OperationCommon/OperationCommon.csproj @@ -0,0 +1,50 @@ + + + + Exe + net6.0 + enable + enable + + + + OperationCommon.Debug + + + OperationCommon.Release + + + + + ..\..\..\..\uml\bin\Debug\net6.0\uml.Debug.dll + + + + + ..\..\..\..\uml\bin\Release\net6.0\uml.Release.dll + + + + + + ..\..\..\..\fuml\bin\Debug\net6.0\fuml.Debug.dll + + + + + ..\..\..\..\fuml\bin\Release\net6.0\fuml.Release.dll + + + + + + ..\..\..\..\pscs\bin\Debug\net6.0\pscs.Debug.dll + + + + + ..\..\..\..\pscs\bin\Release\net6.0\pscs.Release.dll + + + + diff --git a/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/01_OperationCommon/OperationCommon.sln b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/01_OperationCommon/OperationCommon.sln new file mode 100644 index 0000000..21d0211 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/01_OperationCommon/OperationCommon.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.32112.339 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OperationCommon", "OperationCommon.csproj", "{92CE0E45-485B-4C6C-9289-6809D40D6719}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {92CE0E45-485B-4C6C-9289-6809D40D6719}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {92CE0E45-485B-4C6C-9289-6809D40D6719}.Debug|Any CPU.Build.0 = Debug|Any CPU + {92CE0E45-485B-4C6C-9289-6809D40D6719}.Release|Any CPU.ActiveCfg = Release|Any CPU + {92CE0E45-485B-4C6C-9289-6809D40D6719}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {73DC4BBC-4D7A-403A-923D-3385ABFB7AD7} + EndGlobalSection +EndGlobal diff --git a/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/01_OperationCommon/model/OperationCommon.di b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/01_OperationCommon/model/OperationCommon.di new file mode 100644 index 0000000..bf9abab --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/01_OperationCommon/model/OperationCommon.di @@ -0,0 +1,2 @@ + + diff --git a/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/01_OperationCommon/model/OperationCommon.notation b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/01_OperationCommon/model/OperationCommon.notation new file mode 100644 index 0000000..bf9abab --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/01_OperationCommon/model/OperationCommon.notation @@ -0,0 +1,2 @@ + + diff --git a/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/01_OperationCommon/model/OperationCommon.uml b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/01_OperationCommon/model/OperationCommon.uml new file mode 100644 index 0000000..b66d332 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/01_OperationCommon/model/OperationCommon.uml @@ -0,0 +1,81 @@ + + + + Classes, Interfaces and Associations shared among test cases of Test Suite 03 involving operation calls. +NOTE: Currently, referencing other models within a model is not supported. This feature will be implemented in the future. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/01_OperationCommon/src/OperationCommon.cs b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/01_OperationCommon/src/OperationCommon.cs new file mode 100644 index 0000000..6970e88 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/01_OperationCommon/src/OperationCommon.cs @@ -0,0 +1,31 @@ +namespace OperationCommon +{ + internal class OperationCommon + { + static void PrintUsage() + { + Console.WriteLine( + "=============================================================================================\n" + + "USAGE: [ <...>]\n" + + "=============================================================================================\n" + ); + } + + static int Main(string[] args) + { + if(args.Length == 0) + { + Console.WriteLine("[ERROR] Must declare at least one behavior name.\n"); + PrintUsage(); + return -1; + } + + foreach (string arg in args) + { + OperationCommonEnvironment.Instance().Execute(arg); + } + + return 0; + } + } +} diff --git a/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/01_OperationCommon/src/OperationCommonEnvironment.cs b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/01_OperationCommon/src/OperationCommonEnvironment.cs new file mode 100644 index 0000000..5f892d5 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/01_OperationCommon/src/OperationCommonEnvironment.cs @@ -0,0 +1,92 @@ +/* + * OperationCommonEnvironment.cs + * + * Auto-generated file + */ + +/* Start of user code : User-defined using directives + * This section may be used for using directives. + * It will not be overwritten by future generation processes. + */ + +/* + * End of user code + */ + +namespace OperationCommon +{ + public class OperationCommonEnvironment : pscs.environment.Environment + { + private static OperationCommonEnvironment? instance; + + public static OperationCommonEnvironment Instance() + { + if(instance is null) + { + instance = new(); + instance.inMemoryModel = OperationCommonModel.Instance(); + } + + return instance; + } + + public OperationCommonEnvironment() + { + /* + * Create custom opaque behavior execution instances and add them to the execution environment. + */ + + /* Start of user code : Additional environment initializations + * This section may be used to do any additional environment initialization, + * for example initializing user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } + + public override void Execute(string behaviorName) + { + /* Start of user code : Context and inputs initializations + * This section may be used to initialize the execution context + * as well as input parameter values if required. + * It will not be overwritten by future generation processes. + */ + + //context = ...; + //inputs = ...; + + /* + * End of user code + */ + + /* + * Start execution via base class call + */ + base.Execute(behaviorName); + + /* Start of user code : Outputs evaluation + * This section may be used to evaluate output parameter values if required. + * It will not be overwritten by future generation processes. + */ + + //List theOutputs = outputs; + //... + + /* + * End of user code + */ + } + + /* Start of user code : User-defined members + * This section may be used for user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } // OperationCommonEnvironment +} diff --git a/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/01_OperationCommon/src/OperationCommonModel.cs b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/01_OperationCommon/src/OperationCommonModel.cs new file mode 100644 index 0000000..ef994ce --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/01_OperationCommon/src/OperationCommonModel.cs @@ -0,0 +1,318 @@ +/* + * OperationCommonModel.cs + * + * Auto-generated file + */ + +using uml.actions; +using uml.packages; +using uml.structuredclassifiers; +using fuml.primitivetypes; +using uml.classification; +using fuml.library; +using uml.simpleclassifiers; +using uml.commonbehavior; +using uml.commonstructure; +using uml.values; +using uml.activities; +using uml.environment; + + +/* Start of user code : User-defined includes and forward declarations + * This section may be used for includes and forward declarations. + * It will not be overwritten by future generation processes. + */ + +/* + * End of user code + */ + +namespace OperationCommon +{ + public class OperationCommonModel : InMemoryModel + { + private static OperationCommonModel? instance; + + /* + * Model OperationCommon + */ + public Package OperationCommon = new(); + public Association OperationCommon_S = new(); + public Property OperationCommon_S_y = new(); + public Property OperationCommon_S_x = new(); + public Interface OperationCommon_I = new(); + public Operation OperationCommon_I_setP_Integer = new(); + public Parameter OperationCommon_I_setP_Integer_v = new(); + public Class_ OperationCommon_B = new(); + public Activity OperationCommon_B_setPActivity = new(); + public ActivityParameterNode OperationCommon_B_setPActivity_vParameterNode = new(); + public LiteralInteger OperationCommon_B_setPActivity_vParameterNode_LiteralInteger0 = new(); + public AddStructuralFeatureValueAction OperationCommon_B_setPActivity_Set_this_p = new(); + public InputPin OperationCommon_B_setPActivity_Set_this_p_value = new(); + public LiteralUnlimitedNatural OperationCommon_B_setPActivity_Set_this_p_value_LiteralUnlimitedNatural1 = new(); + public LiteralInteger OperationCommon_B_setPActivity_Set_this_p_value_LiteralInteger2 = new(); + public InputPin OperationCommon_B_setPActivity_Set_this_p_object = new(); + public LiteralInteger OperationCommon_B_setPActivity_Set_this_p_object_LiteralInteger3 = new(); + public LiteralUnlimitedNatural OperationCommon_B_setPActivity_Set_this_p_object_LiteralUnlimitedNatural4 = new(); + public OutputPin OperationCommon_B_setPActivity_Set_this_p_result = new(); + public LiteralUnlimitedNatural OperationCommon_B_setPActivity_Set_this_p_result_LiteralUnlimitedNatural5 = new(); + public LiteralInteger OperationCommon_B_setPActivity_Set_this_p_result_LiteralInteger6 = new(); + public ObjectFlow OperationCommon_B_setPActivity_ObjectFlow7 = new(); + public LiteralBoolean OperationCommon_B_setPActivity_ObjectFlow7_LiteralBoolean8 = new(); + public LiteralInteger OperationCommon_B_setPActivity_ObjectFlow7_LiteralInteger9 = new(); + public ReadSelfAction OperationCommon_B_setPActivity_this = new(); + public OutputPin OperationCommon_B_setPActivity_this_result = new(); + public LiteralInteger OperationCommon_B_setPActivity_this_result_LiteralInteger10 = new(); + public LiteralUnlimitedNatural OperationCommon_B_setPActivity_this_result_LiteralUnlimitedNatural11 = new(); + public Parameter OperationCommon_B_setPActivity_v = new(); + public ObjectFlow OperationCommon_B_setPActivity_ObjectFlow12 = new(); + public LiteralBoolean OperationCommon_B_setPActivity_ObjectFlow12_LiteralBoolean13 = new(); + public LiteralInteger OperationCommon_B_setPActivity_ObjectFlow12_LiteralInteger14 = new(); + public Operation OperationCommon_B_setP_Integer = new(); + public Parameter OperationCommon_B_setP_Integer_v = new(); + public InterfaceRealization OperationCommon_B_IRealization = new(); + public Property OperationCommon_B_p = new(); + public Class_ OperationCommon_IImpl = new(); + public InterfaceRealization OperationCommon_IImpl_IRealization = new(); + public Operation OperationCommon_IImpl_setP_Integer = new(); + public Parameter OperationCommon_IImpl_setP_Integer_v = new(); + public Association OperationCommon_R = new(); + public Property OperationCommon_R_y = new(); + public Property OperationCommon_R_x = new(); + + public static OperationCommonModel Instance() + { + if (instance is null) + { + instance = new(); + instance.InitializeInMemoryModel(); + } + + return instance; + } + + public OperationCommonModel() + { + /* Start of user code : Additional model initializations + * This section may be used to do any additional model initialization, + * for example initializing user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } + + private void InitializeInMemoryModel() + { + // Create public members + /* + * Model OperationCommon + */ + AddToElementRepository("OperationCommon", OperationCommon); + AddToElementRepository("S", OperationCommon_S); + AddToElementRepository("y", OperationCommon_S_y); + AddToElementRepository("x", OperationCommon_S_x); + AddToElementRepository("I", OperationCommon_I); + AddToElementRepository("setP_Integer", OperationCommon_I_setP_Integer); + AddToElementRepository("v", OperationCommon_I_setP_Integer_v); + AddToElementRepository("B", OperationCommon_B); + AddToElementRepository("setPActivity", OperationCommon_B_setPActivity); + AddToElementRepository("vParameterNode", OperationCommon_B_setPActivity_vParameterNode); + AddToElementRepository("LiteralInteger0", OperationCommon_B_setPActivity_vParameterNode_LiteralInteger0); + AddToElementRepository("Set this.p", OperationCommon_B_setPActivity_Set_this_p); + AddToElementRepository("value", OperationCommon_B_setPActivity_Set_this_p_value); + AddToElementRepository("LiteralUnlimitedNatural1", OperationCommon_B_setPActivity_Set_this_p_value_LiteralUnlimitedNatural1); + AddToElementRepository("LiteralInteger2", OperationCommon_B_setPActivity_Set_this_p_value_LiteralInteger2); + AddToElementRepository("object", OperationCommon_B_setPActivity_Set_this_p_object); + AddToElementRepository("LiteralInteger3", OperationCommon_B_setPActivity_Set_this_p_object_LiteralInteger3); + AddToElementRepository("LiteralUnlimitedNatural4", OperationCommon_B_setPActivity_Set_this_p_object_LiteralUnlimitedNatural4); + AddToElementRepository("result", OperationCommon_B_setPActivity_Set_this_p_result); + AddToElementRepository("LiteralUnlimitedNatural5", OperationCommon_B_setPActivity_Set_this_p_result_LiteralUnlimitedNatural5); + AddToElementRepository("LiteralInteger6", OperationCommon_B_setPActivity_Set_this_p_result_LiteralInteger6); + AddToElementRepository("ObjectFlow7", OperationCommon_B_setPActivity_ObjectFlow7); + AddToElementRepository("LiteralBoolean8", OperationCommon_B_setPActivity_ObjectFlow7_LiteralBoolean8); + AddToElementRepository("LiteralInteger9", OperationCommon_B_setPActivity_ObjectFlow7_LiteralInteger9); + AddToElementRepository("this", OperationCommon_B_setPActivity_this); + AddToElementRepository("result", OperationCommon_B_setPActivity_this_result); + AddToElementRepository("LiteralInteger10", OperationCommon_B_setPActivity_this_result_LiteralInteger10); + AddToElementRepository("LiteralUnlimitedNatural11", OperationCommon_B_setPActivity_this_result_LiteralUnlimitedNatural11); + AddToElementRepository("v", OperationCommon_B_setPActivity_v); + AddToElementRepository("ObjectFlow12", OperationCommon_B_setPActivity_ObjectFlow12); + AddToElementRepository("LiteralBoolean13", OperationCommon_B_setPActivity_ObjectFlow12_LiteralBoolean13); + AddToElementRepository("LiteralInteger14", OperationCommon_B_setPActivity_ObjectFlow12_LiteralInteger14); + AddToElementRepository("setP_Integer", OperationCommon_B_setP_Integer); + AddToElementRepository("v", OperationCommon_B_setP_Integer_v); + AddToElementRepository("IRealization", OperationCommon_B_IRealization); + AddToElementRepository("p", OperationCommon_B_p); + AddToElementRepository("IImpl", OperationCommon_IImpl); + AddToElementRepository("IRealization", OperationCommon_IImpl_IRealization); + AddToElementRepository("setP_Integer", OperationCommon_IImpl_setP_Integer); + AddToElementRepository("v", OperationCommon_IImpl_setP_Integer_v); + AddToElementRepository("R", OperationCommon_R); + AddToElementRepository("y", OperationCommon_R_y); + AddToElementRepository("x", OperationCommon_R_x); + + // Initialize public members + /* + * Model OperationCommon + */ + OperationCommon.SetName("OperationCommon"); + OperationCommon.SetVisibility(VisibilityKind.public_); + // Association S + OperationCommon_S.SetName("S"); + OperationCommon_S.SetVisibility(VisibilityKind.public_); + OperationCommon_S.AddOwnedEnd(OperationCommon_S_x); + OperationCommon_S.AddOwnedEnd(OperationCommon_S_y); + OperationCommon.AddPackagedElement(OperationCommon_S); + // Interface I + OperationCommon_I.SetName("I"); + OperationCommon_I.SetVisibility(VisibilityKind.public_); + // Operation setP_Integer + OperationCommon_I_setP_Integer.SetName("setP_Integer"); + OperationCommon_I_setP_Integer.SetVisibility(VisibilityKind.public_); + // Parameter v + OperationCommon_I_setP_Integer_v.SetName("v"); + OperationCommon_I_setP_Integer_v.SetVisibility(VisibilityKind.public_); + + OperationCommon_I_setP_Integer_v.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + OperationCommon_I_setP_Integer.AddOwnedParameter(OperationCommon_I_setP_Integer_v); + OperationCommon_I.AddOwnedOperation(OperationCommon_I_setP_Integer); + OperationCommon.AddPackagedElement(OperationCommon_I); + // Class B + OperationCommon_B.SetName("B"); + OperationCommon_B.SetVisibility(VisibilityKind.public_); + + // Property p + OperationCommon_B_p.SetName("p"); + OperationCommon_B_p.SetVisibility(VisibilityKind.public_); + + OperationCommon_B_p.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + OperationCommon_B.AddOwnedAttribute(OperationCommon_B_p); + // Activity setPActivity + OperationCommon_B_setPActivity.SetName("setPActivity"); + OperationCommon_B_setPActivity.SetVisibility(VisibilityKind.public_); + + // Parameter v + OperationCommon_B_setPActivity_v.SetName("v"); + OperationCommon_B_setPActivity_v.SetVisibility(VisibilityKind.public_); + + OperationCommon_B_setPActivity_v.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + OperationCommon_B_setPActivity.AddOwnedParameter(OperationCommon_B_setPActivity_v); + // ActivityParameterNode vParameterNode + OperationCommon_B_setPActivity_vParameterNode.SetName("vParameterNode"); + OperationCommon_B_setPActivity_vParameterNode.SetVisibility(VisibilityKind.public_); + + OperationCommon_B_setPActivity_vParameterNode.SetParameter(OperationCommon_B_setPActivity_v); + OperationCommon_B_setPActivity.AddNode(OperationCommon_B_setPActivity_vParameterNode); + // AddStructuralFeatureValueAction Set this.p + OperationCommon_B_setPActivity_Set_this_p.SetName("Set this.p"); + OperationCommon_B_setPActivity_Set_this_p.SetVisibility(VisibilityKind.public_); + OperationCommon_B_setPActivity_Set_this_p.SetStructuralFeature(OperationCommon_B_p); + // InputPin object + OperationCommon_B_setPActivity_Set_this_p_object.SetName("object"); + OperationCommon_B_setPActivity_Set_this_p_object.SetVisibility(VisibilityKind.public_); + OperationCommon_B_setPActivity_Set_this_p_object.SetType(OperationCommon_B); + OperationCommon_B_setPActivity_Set_this_p.SetObject(OperationCommon_B_setPActivity_Set_this_p_object); + // InputPin value + OperationCommon_B_setPActivity_Set_this_p_value.SetName("value"); + OperationCommon_B_setPActivity_Set_this_p_value.SetVisibility(VisibilityKind.public_); + OperationCommon_B_setPActivity_Set_this_p_value.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + OperationCommon_B_setPActivity_Set_this_p.SetValue(OperationCommon_B_setPActivity_Set_this_p_value); + // OutputPin result + OperationCommon_B_setPActivity_Set_this_p_result.SetName("result"); + OperationCommon_B_setPActivity_Set_this_p_result.SetVisibility(VisibilityKind.public_); + OperationCommon_B_setPActivity_Set_this_p_result.SetType(OperationCommon_B); + OperationCommon_B_setPActivity_Set_this_p.SetResult(OperationCommon_B_setPActivity_Set_this_p_result); + OperationCommon_B_setPActivity_Set_this_p.SetIsReplaceAll(true); + OperationCommon_B_setPActivity.AddNode(OperationCommon_B_setPActivity_Set_this_p); + // ReadSelfAction this + OperationCommon_B_setPActivity_this.SetName("this"); + OperationCommon_B_setPActivity_this.SetVisibility(VisibilityKind.public_); + // OutputPin result + OperationCommon_B_setPActivity_this_result.SetName("result"); + OperationCommon_B_setPActivity_this_result.SetVisibility(VisibilityKind.public_); + OperationCommon_B_setPActivity_this_result.SetType(OperationCommon_B); + OperationCommon_B_setPActivity_this.SetResult(OperationCommon_B_setPActivity_this_result); + OperationCommon_B_setPActivity.AddNode(OperationCommon_B_setPActivity_this); + // ObjectFlow ObjectFlow7 from vParameterNode to value + OperationCommon_B_setPActivity_ObjectFlow7.SetName("ObjectFlow7"); + OperationCommon_B_setPActivity_ObjectFlow7.SetVisibility(VisibilityKind.public_); + + OperationCommon_B_setPActivity_ObjectFlow7.SetSource(OperationCommon_B_setPActivity_vParameterNode); + OperationCommon_B_setPActivity_ObjectFlow7.SetTarget(OperationCommon_B_setPActivity_Set_this_p_value); + // LiteralBoolean LiteralBoolean8 + OperationCommon_B_setPActivity_ObjectFlow7_LiteralBoolean8.SetName("LiteralBoolean8"); + OperationCommon_B_setPActivity_ObjectFlow7_LiteralBoolean8.SetVisibility(VisibilityKind.public_); + OperationCommon_B_setPActivity_ObjectFlow7_LiteralBoolean8.SetValue(true); + OperationCommon_B_setPActivity_ObjectFlow7.SetGuard(OperationCommon_B_setPActivity_ObjectFlow7_LiteralBoolean8); + OperationCommon_B_setPActivity.AddEdge(OperationCommon_B_setPActivity_ObjectFlow7); + // ObjectFlow ObjectFlow12 from result to object + OperationCommon_B_setPActivity_ObjectFlow12.SetName("ObjectFlow12"); + OperationCommon_B_setPActivity_ObjectFlow12.SetVisibility(VisibilityKind.public_); + + OperationCommon_B_setPActivity_ObjectFlow12.SetSource(OperationCommon_B_setPActivity_this_result); + OperationCommon_B_setPActivity_ObjectFlow12.SetTarget(OperationCommon_B_setPActivity_Set_this_p_object); + // LiteralBoolean LiteralBoolean13 + OperationCommon_B_setPActivity_ObjectFlow12_LiteralBoolean13.SetName("LiteralBoolean13"); + OperationCommon_B_setPActivity_ObjectFlow12_LiteralBoolean13.SetVisibility(VisibilityKind.public_); + OperationCommon_B_setPActivity_ObjectFlow12_LiteralBoolean13.SetValue(true); + OperationCommon_B_setPActivity_ObjectFlow12.SetGuard(OperationCommon_B_setPActivity_ObjectFlow12_LiteralBoolean13); + OperationCommon_B_setPActivity.AddEdge(OperationCommon_B_setPActivity_ObjectFlow12); + OperationCommon_B.AddOwnedBehavior(OperationCommon_B_setPActivity); + OperationCommon_B_IRealization.SetName("IRealization"); + OperationCommon_B_IRealization.SetVisibility(VisibilityKind.public_); + OperationCommon_B_IRealization.SetContract(OperationCommon_I); + + OperationCommon_B.AddInterfaceRealization(OperationCommon_B_IRealization); + + // Operation setP_Integer + OperationCommon_B_setP_Integer.SetName("setP_Integer"); + OperationCommon_B_setP_Integer.SetVisibility(VisibilityKind.public_); + // Parameter v + OperationCommon_B_setP_Integer_v.SetName("v"); + OperationCommon_B_setP_Integer_v.SetVisibility(VisibilityKind.public_); + + OperationCommon_B_setP_Integer_v.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + OperationCommon_B_setP_Integer.AddOwnedParameter(OperationCommon_B_setP_Integer_v); + OperationCommon_B.AddOwnedOperation(OperationCommon_B_setP_Integer); + OperationCommon.AddPackagedElement(OperationCommon_B); + // Class IImpl + OperationCommon_IImpl.SetName("IImpl"); + OperationCommon_IImpl.SetVisibility(VisibilityKind.public_); + OperationCommon_IImpl_IRealization.SetName("IRealization"); + OperationCommon_IImpl_IRealization.SetVisibility(VisibilityKind.public_); + OperationCommon_IImpl_IRealization.SetContract(OperationCommon_I); + + OperationCommon_IImpl.AddInterfaceRealization(OperationCommon_IImpl_IRealization); + + // Operation setP_Integer + OperationCommon_IImpl_setP_Integer.SetName("setP_Integer"); + OperationCommon_IImpl_setP_Integer.SetVisibility(VisibilityKind.public_); + // Parameter v + OperationCommon_IImpl_setP_Integer_v.SetName("v"); + OperationCommon_IImpl_setP_Integer_v.SetVisibility(VisibilityKind.public_); + + OperationCommon_IImpl_setP_Integer_v.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + OperationCommon_IImpl_setP_Integer.AddOwnedParameter(OperationCommon_IImpl_setP_Integer_v); + OperationCommon_IImpl.AddOwnedOperation(OperationCommon_IImpl_setP_Integer); + OperationCommon.AddPackagedElement(OperationCommon_IImpl); + // Association R + OperationCommon_R.SetName("R"); + OperationCommon_R.SetVisibility(VisibilityKind.public_); + OperationCommon_R.AddOwnedEnd(OperationCommon_R_x); + OperationCommon_R.AddOwnedEnd(OperationCommon_R_y); + OperationCommon.AddPackagedElement(OperationCommon_R); + } + + /* Start of user code : User-defined members + * This section may be used for user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } // OperationCommonModel +} diff --git a/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/02_Operation_ProvidedInterface/.gitignore b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/02_Operation_ProvidedInterface/.gitignore new file mode 100644 index 0000000..1736844 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/02_Operation_ProvidedInterface/.gitignore @@ -0,0 +1,3 @@ +/.vs/ +/bin/ +/obj/ diff --git a/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/02_Operation_ProvidedInterface/Operation_ProvidedInterface.csproj b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/02_Operation_ProvidedInterface/Operation_ProvidedInterface.csproj new file mode 100644 index 0000000..49408ce --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/02_Operation_ProvidedInterface/Operation_ProvidedInterface.csproj @@ -0,0 +1,50 @@ + + + + Exe + net6.0 + enable + enable + + + + Operation_ProvidedInterface.Debug + + + Operation_ProvidedInterface.Release + + + + + ..\..\..\..\uml\bin\Debug\net6.0\uml.Debug.dll + + + + + ..\..\..\..\uml\bin\Release\net6.0\uml.Release.dll + + + + + + ..\..\..\..\fuml\bin\Debug\net6.0\fuml.Debug.dll + + + + + ..\..\..\..\fuml\bin\Release\net6.0\fuml.Release.dll + + + + + + ..\..\..\..\pscs\bin\Debug\net6.0\pscs.Debug.dll + + + + + ..\..\..\..\pscs\bin\Release\net6.0\pscs.Release.dll + + + + diff --git a/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/02_Operation_ProvidedInterface/Operation_ProvidedInterface.sln b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/02_Operation_ProvidedInterface/Operation_ProvidedInterface.sln new file mode 100644 index 0000000..6dca727 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/02_Operation_ProvidedInterface/Operation_ProvidedInterface.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.32112.339 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Operation_ProvidedInterface", "Operation_ProvidedInterface.csproj", "{F1C11016-1BC1-4D2E-BED1-8B09E51E0742}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {F1C11016-1BC1-4D2E-BED1-8B09E51E0742}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {F1C11016-1BC1-4D2E-BED1-8B09E51E0742}.Debug|Any CPU.Build.0 = Debug|Any CPU + {F1C11016-1BC1-4D2E-BED1-8B09E51E0742}.Release|Any CPU.ActiveCfg = Release|Any CPU + {F1C11016-1BC1-4D2E-BED1-8B09E51E0742}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {ADCA3141-F800-460B-9068-0831C23544E2} + EndGlobalSection +EndGlobal diff --git a/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/02_Operation_ProvidedInterface/model/Operation_ProvidedInterface.di b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/02_Operation_ProvidedInterface/model/Operation_ProvidedInterface.di new file mode 100644 index 0000000..8c549ee --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/02_Operation_ProvidedInterface/model/Operation_ProvidedInterface.di @@ -0,0 +1,2 @@ + + diff --git a/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/02_Operation_ProvidedInterface/model/Operation_ProvidedInterface.notation b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/02_Operation_ProvidedInterface/model/Operation_ProvidedInterface.notation new file mode 100644 index 0000000..e6b8216 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/02_Operation_ProvidedInterface/model/Operation_ProvidedInterface.notation @@ -0,0 +1,813 @@ + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + + + +
+
+ + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/02_Operation_ProvidedInterface/model/Operation_ProvidedInterface.uml b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/02_Operation_ProvidedInterface/model/Operation_ProvidedInterface.uml new file mode 100644 index 0000000..c73233e --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/02_Operation_ProvidedInterface/model/Operation_ProvidedInterface.uml @@ -0,0 +1,270 @@ + + + + + This test case addresses invocation of an Operation on a provided interface of a Port. + + + Passing: true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + C# + Using + Console.WriteLine("Asserting a.b.p == 4"); + + // Test parameter p + int p = ((IntegerValue)inputParameters.ElementAt(0).values.ElementAt(0)).value; + Debug.Println("[doBody] argument p = " + p); + + Console.WriteLine("a.b.p == " + p); + Console.Write("Invocation made into a through q: "); + + if(p == 4) + { + Console.ForegroundColor = ConsoleColor.Green; + Console.WriteLine("Assertion successful."); + } + else + { + Console.ForegroundColor = ConsoleColor.Red; + Console.WriteLine("Assertion failed!"); + } + + Console.ResetColor(); + using fuml.semantics.simpleclassifiers; + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/02_Operation_ProvidedInterface/src/Operation_ProvidedInterface.cs b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/02_Operation_ProvidedInterface/src/Operation_ProvidedInterface.cs new file mode 100644 index 0000000..95a8207 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/02_Operation_ProvidedInterface/src/Operation_ProvidedInterface.cs @@ -0,0 +1,31 @@ +namespace Operation_ProvidedInterface +{ + internal class Operation_ProvidedInterface + { + static void PrintUsage() + { + Console.WriteLine( + "=============================================================================================\n" + + "USAGE: [ <...>]\n" + + "=============================================================================================\n" + ); + } + + static int Main(string[] args) + { + if(args.Length == 0) + { + Console.WriteLine("[ERROR] Must declare at least one behavior name.\n"); + PrintUsage(); + return -1; + } + + foreach (string arg in args) + { + Operation_ProvidedInterfaceEnvironment.Instance().Execute(arg); + } + + return 0; + } + } +} diff --git a/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/02_Operation_ProvidedInterface/src/Operation_ProvidedInterfaceEnvironment.cs b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/02_Operation_ProvidedInterface/src/Operation_ProvidedInterfaceEnvironment.cs new file mode 100644 index 0000000..639fcd8 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/02_Operation_ProvidedInterface/src/Operation_ProvidedInterfaceEnvironment.cs @@ -0,0 +1,93 @@ +/* + * Operation_ProvidedInterfaceEnvironment.cs + * + * Auto-generated file + */ + +/* Start of user code : User-defined using directives + * This section may be used for using directives. + * It will not be overwritten by future generation processes. + */ + +/* + * End of user code + */ + +namespace Operation_ProvidedInterface +{ + public class Operation_ProvidedInterfaceEnvironment : pscs.environment.Environment + { + private static Operation_ProvidedInterfaceEnvironment? instance; + + public static Operation_ProvidedInterfaceEnvironment Instance() + { + if(instance is null) + { + instance = new(); + instance.inMemoryModel = Operation_ProvidedInterfaceModel.Instance(); + } + + return instance; + } + + public Operation_ProvidedInterfaceEnvironment() + { + /* + * Create custom opaque behavior execution instances and add them to the execution environment. + */ + AddPrimitiveBehaviorPrototype(new testPExecution()); + + /* Start of user code : Additional environment initializations + * This section may be used to do any additional environment initialization, + * for example initializing user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } + + public override void Execute(string behaviorName) + { + /* Start of user code : Context and inputs initializations + * This section may be used to initialize the execution context + * as well as input parameter values if required. + * It will not be overwritten by future generation processes. + */ + + //context = ...; + //inputs = ...; + + /* + * End of user code + */ + + /* + * Start execution via base class call + */ + base.Execute(behaviorName); + + /* Start of user code : Outputs evaluation + * This section may be used to evaluate output parameter values if required. + * It will not be overwritten by future generation processes. + */ + + //List theOutputs = outputs; + //... + + /* + * End of user code + */ + } + + /* Start of user code : User-defined members + * This section may be used for user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } // Operation_ProvidedInterfaceEnvironment +} diff --git a/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/02_Operation_ProvidedInterface/src/Operation_ProvidedInterfaceModel.cs b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/02_Operation_ProvidedInterface/src/Operation_ProvidedInterfaceModel.cs new file mode 100644 index 0000000..59783ca --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/02_Operation_ProvidedInterface/src/Operation_ProvidedInterfaceModel.cs @@ -0,0 +1,853 @@ +/* + * Operation_ProvidedInterfaceModel.cs + * + * Auto-generated file + */ + +using uml.actions; +using uml.packages; +using uml.structuredclassifiers; +using fuml.primitivetypes; +using uml.classification; +using fuml.library; +using uml.simpleclassifiers; +using uml.commonbehavior; +using uml.commonstructure; +using uml.values; +using uml.activities; +using uml.environment; + + +/* Start of user code : User-defined includes and forward declarations + * This section may be used for includes and forward declarations. + * It will not be overwritten by future generation processes. + */ + +/* + * End of user code + */ + +namespace Operation_ProvidedInterface +{ + public class Operation_ProvidedInterfaceModel : InMemoryModel + { + private static Operation_ProvidedInterfaceModel? instance; + + /* + * Model Operation_ProvidedInterface + */ + public Package Operation_ProvidedInterface = new(); + public Activity Operation_ProvidedInterface_main = new(); + public ReadStructuralFeatureAction Operation_ProvidedInterface_main_Read_b_p = new(); + public OutputPin Operation_ProvidedInterface_main_Read_b_p_result = new(); + public LiteralInteger Operation_ProvidedInterface_main_Read_b_p_result_LiteralInteger0 = new(); + public LiteralUnlimitedNatural Operation_ProvidedInterface_main_Read_b_p_result_LiteralUnlimitedNatural1 = new(); + public InputPin Operation_ProvidedInterface_main_Read_b_p_object = new(); + public LiteralInteger Operation_ProvidedInterface_main_Read_b_p_object_LiteralInteger2 = new(); + public LiteralUnlimitedNatural Operation_ProvidedInterface_main_Read_b_p_object_LiteralUnlimitedNatural3 = new(); + public CreateObjectAction Operation_ProvidedInterface_main_Create_A = new(); + public OutputPin Operation_ProvidedInterface_main_Create_A_result = new(); + public LiteralUnlimitedNatural Operation_ProvidedInterface_main_Create_A_result_LiteralUnlimitedNatural4 = new(); + public LiteralInteger Operation_ProvidedInterface_main_Create_A_result_LiteralInteger5 = new(); + public CallOperationAction Operation_ProvidedInterface_main_A_ = new(); + public OutputPin Operation_ProvidedInterface_main_A__result = new(); + public LiteralUnlimitedNatural Operation_ProvidedInterface_main_A__result_LiteralUnlimitedNatural6 = new(); + public LiteralInteger Operation_ProvidedInterface_main_A__result_LiteralInteger7 = new(); + public LiteralInteger Operation_ProvidedInterface_main_A__result_LiteralInteger8 = new(); + public InputPin Operation_ProvidedInterface_main_A__target = new(); + public LiteralInteger Operation_ProvidedInterface_main_A__target_LiteralInteger9 = new(); + public LiteralUnlimitedNatural Operation_ProvidedInterface_main_A__target_LiteralUnlimitedNatural10 = new(); + public ObjectFlow Operation_ProvidedInterface_main_ObjectFlow11 = new(); + public LiteralBoolean Operation_ProvidedInterface_main_ObjectFlow11_LiteralBoolean12 = new(); + public LiteralInteger Operation_ProvidedInterface_main_ObjectFlow11_LiteralInteger13 = new(); + public OpaqueBehavior Operation_ProvidedInterface_main_testP = new(); + public Parameter Operation_ProvidedInterface_main_testP_p = new(); + public ObjectFlow Operation_ProvidedInterface_main_ObjectFlow14 = new(); + public LiteralBoolean Operation_ProvidedInterface_main_ObjectFlow14_LiteralBoolean15 = new(); + public LiteralInteger Operation_ProvidedInterface_main_ObjectFlow14_LiteralInteger16 = new(); + public ObjectFlow Operation_ProvidedInterface_main_ObjectFlow17 = new(); + public LiteralInteger Operation_ProvidedInterface_main_ObjectFlow17_LiteralInteger18 = new(); + public LiteralBoolean Operation_ProvidedInterface_main_ObjectFlow17_LiteralBoolean19 = new(); + public ObjectFlow Operation_ProvidedInterface_main_ObjectFlow20 = new(); + public LiteralBoolean Operation_ProvidedInterface_main_ObjectFlow20_LiteralBoolean21 = new(); + public LiteralInteger Operation_ProvidedInterface_main_ObjectFlow20_LiteralInteger22 = new(); + public CallOperationAction Operation_ProvidedInterface_main_Call_setP_ = new(); + public InputPin Operation_ProvidedInterface_main_Call_setP__target = new(); + public LiteralUnlimitedNatural Operation_ProvidedInterface_main_Call_setP__target_LiteralUnlimitedNatural23 = new(); + public LiteralInteger Operation_ProvidedInterface_main_Call_setP__target_LiteralInteger24 = new(); + public InputPin Operation_ProvidedInterface_main_Call_setP__v = new(); + public LiteralInteger Operation_ProvidedInterface_main_Call_setP__v_LiteralInteger25 = new(); + public LiteralUnlimitedNatural Operation_ProvidedInterface_main_Call_setP__v_LiteralUnlimitedNatural26 = new(); + public LiteralInteger Operation_ProvidedInterface_main_Call_setP__v_LiteralInteger27 = new(); + public CallBehaviorAction Operation_ProvidedInterface_main_Call_testP = new(); + public InputPin Operation_ProvidedInterface_main_Call_testP_p = new(); + public LiteralInteger Operation_ProvidedInterface_main_Call_testP_p_LiteralInteger28 = new(); + public LiteralInteger Operation_ProvidedInterface_main_Call_testP_p_LiteralInteger29 = new(); + public LiteralUnlimitedNatural Operation_ProvidedInterface_main_Call_testP_p_LiteralUnlimitedNatural30 = new(); + public ControlFlow Operation_ProvidedInterface_main_ControlFlow31 = new(); + public ObjectFlow Operation_ProvidedInterface_main_ObjectFlow32 = new(); + public LiteralBoolean Operation_ProvidedInterface_main_ObjectFlow32_LiteralBoolean33 = new(); + public LiteralInteger Operation_ProvidedInterface_main_ObjectFlow32_LiteralInteger34 = new(); + public ObjectFlow Operation_ProvidedInterface_main_ObjectFlow35 = new(); + public LiteralInteger Operation_ProvidedInterface_main_ObjectFlow35_LiteralInteger36 = new(); + public LiteralBoolean Operation_ProvidedInterface_main_ObjectFlow35_LiteralBoolean37 = new(); + public ForkNode Operation_ProvidedInterface_main_Fork_a = new(); + public ValueSpecificationAction Operation_ProvidedInterface_main_Value_4 = new(); + public OutputPin Operation_ProvidedInterface_main_Value_4_result = new(); + public LiteralUnlimitedNatural Operation_ProvidedInterface_main_Value_4_result_LiteralUnlimitedNatural38 = new(); + public LiteralInteger Operation_ProvidedInterface_main_Value_4_result_LiteralInteger39 = new(); + public LiteralInteger Operation_ProvidedInterface_main_Value_4_LiteralInteger40 = new(); + public ObjectFlow Operation_ProvidedInterface_main_ObjectFlow41 = new(); + public LiteralBoolean Operation_ProvidedInterface_main_ObjectFlow41_LiteralBoolean42 = new(); + public LiteralInteger Operation_ProvidedInterface_main_ObjectFlow41_LiteralInteger43 = new(); + public ReadStructuralFeatureAction Operation_ProvidedInterface_main_Read_a_b = new(); + public OutputPin Operation_ProvidedInterface_main_Read_a_b_result = new(); + public LiteralUnlimitedNatural Operation_ProvidedInterface_main_Read_a_b_result_LiteralUnlimitedNatural44 = new(); + public LiteralInteger Operation_ProvidedInterface_main_Read_a_b_result_LiteralInteger45 = new(); + public InputPin Operation_ProvidedInterface_main_Read_a_b_object = new(); + public LiteralInteger Operation_ProvidedInterface_main_Read_a_b_object_LiteralInteger46 = new(); + public LiteralUnlimitedNatural Operation_ProvidedInterface_main_Read_a_b_object_LiteralUnlimitedNatural47 = new(); + public Class_ Operation_ProvidedInterface_B = new(); + public InterfaceRealization Operation_ProvidedInterface_B_IRealization = new(); + public Operation Operation_ProvidedInterface_B_setP_Integer = new(); + public Parameter Operation_ProvidedInterface_B_setP_Integer_v = new(); + public Activity Operation_ProvidedInterface_B_setPActivity = new(); + public ObjectFlow Operation_ProvidedInterface_B_setPActivity_ObjectFlow48 = new(); + public LiteralBoolean Operation_ProvidedInterface_B_setPActivity_ObjectFlow48_LiteralBoolean49 = new(); + public LiteralInteger Operation_ProvidedInterface_B_setPActivity_ObjectFlow48_LiteralInteger50 = new(); + public ObjectFlow Operation_ProvidedInterface_B_setPActivity_ObjectFlow51 = new(); + public LiteralInteger Operation_ProvidedInterface_B_setPActivity_ObjectFlow51_LiteralInteger52 = new(); + public LiteralBoolean Operation_ProvidedInterface_B_setPActivity_ObjectFlow51_LiteralBoolean53 = new(); + public Parameter Operation_ProvidedInterface_B_setPActivity_v = new(); + public ActivityParameterNode Operation_ProvidedInterface_B_setPActivity_vParameterNode = new(); + public LiteralInteger Operation_ProvidedInterface_B_setPActivity_vParameterNode_LiteralInteger54 = new(); + public AddStructuralFeatureValueAction Operation_ProvidedInterface_B_setPActivity_Set_this_p = new(); + public InputPin Operation_ProvidedInterface_B_setPActivity_Set_this_p_object = new(); + public LiteralUnlimitedNatural Operation_ProvidedInterface_B_setPActivity_Set_this_p_object_LiteralUnlimitedNatural55 = new(); + public LiteralInteger Operation_ProvidedInterface_B_setPActivity_Set_this_p_object_LiteralInteger56 = new(); + public OutputPin Operation_ProvidedInterface_B_setPActivity_Set_this_p_result = new(); + public LiteralInteger Operation_ProvidedInterface_B_setPActivity_Set_this_p_result_LiteralInteger57 = new(); + public LiteralUnlimitedNatural Operation_ProvidedInterface_B_setPActivity_Set_this_p_result_LiteralUnlimitedNatural58 = new(); + public InputPin Operation_ProvidedInterface_B_setPActivity_Set_this_p_value = new(); + public LiteralInteger Operation_ProvidedInterface_B_setPActivity_Set_this_p_value_LiteralInteger59 = new(); + public LiteralUnlimitedNatural Operation_ProvidedInterface_B_setPActivity_Set_this_p_value_LiteralUnlimitedNatural60 = new(); + public ReadSelfAction Operation_ProvidedInterface_B_setPActivity_this = new(); + public OutputPin Operation_ProvidedInterface_B_setPActivity_this_result = new(); + public LiteralUnlimitedNatural Operation_ProvidedInterface_B_setPActivity_this_result_LiteralUnlimitedNatural61 = new(); + public LiteralInteger Operation_ProvidedInterface_B_setPActivity_this_result_LiteralInteger62 = new(); + public Property Operation_ProvidedInterface_B_p = new(); + public Association Operation_ProvidedInterface_R = new(); + public Property Operation_ProvidedInterface_R_y = new(); + public Property Operation_ProvidedInterface_R_x = new(); + public Class_ Operation_ProvidedInterface_IImpl = new(); + public Operation Operation_ProvidedInterface_IImpl_setP_Integer = new(); + public Parameter Operation_ProvidedInterface_IImpl_setP_Integer_v = new(); + public InterfaceRealization Operation_ProvidedInterface_IImpl_IRealization = new(); + public Interface Operation_ProvidedInterface_I = new(); + public Operation Operation_ProvidedInterface_I_setP_Integer = new(); + public Parameter Operation_ProvidedInterface_I_setP_Integer_v = new(); + public Class_ Operation_ProvidedInterface_A = new(); + public Property Operation_ProvidedInterface_A_b = new(); + public Operation Operation_ProvidedInterface_A_setP_Integer = new(); + public Parameter Operation_ProvidedInterface_A_setP_Integer_v = new(); + public Operation Operation_ProvidedInterface_A_A_A = new(); + public Parameter Operation_ProvidedInterface_A_A_A_result = new(); + public Connector Operation_ProvidedInterface_A_r = new(); + public ConnectorEnd Operation_ProvidedInterface_A_r_ConnectorEnd63 = new(); + public ConnectorEnd Operation_ProvidedInterface_A_r_ConnectorEnd64 = new(); + public Activity Operation_ProvidedInterface_A_setPActivity = new(); + public Parameter Operation_ProvidedInterface_A_setPActivity_v = new(); + public ReadSelfAction Operation_ProvidedInterface_A_setPActivity_this = new(); + public OutputPin Operation_ProvidedInterface_A_setPActivity_this_result = new(); + public LiteralUnlimitedNatural Operation_ProvidedInterface_A_setPActivity_this_result_LiteralUnlimitedNatural65 = new(); + public LiteralInteger Operation_ProvidedInterface_A_setPActivity_this_result_LiteralInteger66 = new(); + public CallOperationAction Operation_ProvidedInterface_A_setPActivity_Call_I_setP_on_q = new(); + public InputPin Operation_ProvidedInterface_A_setPActivity_Call_I_setP_on_q_target = new(); + public LiteralUnlimitedNatural Operation_ProvidedInterface_A_setPActivity_Call_I_setP_on_q_target_LiteralUnlimitedNatural67 = new(); + public LiteralInteger Operation_ProvidedInterface_A_setPActivity_Call_I_setP_on_q_target_LiteralInteger68 = new(); + public InputPin Operation_ProvidedInterface_A_setPActivity_Call_I_setP_on_q_v = new(); + public LiteralInteger Operation_ProvidedInterface_A_setPActivity_Call_I_setP_on_q_v_LiteralInteger69 = new(); + public LiteralInteger Operation_ProvidedInterface_A_setPActivity_Call_I_setP_on_q_v_LiteralInteger70 = new(); + public LiteralUnlimitedNatural Operation_ProvidedInterface_A_setPActivity_Call_I_setP_on_q_v_LiteralUnlimitedNatural71 = new(); + public ActivityParameterNode Operation_ProvidedInterface_A_setPActivity_vParameterNode = new(); + public LiteralInteger Operation_ProvidedInterface_A_setPActivity_vParameterNode_LiteralInteger72 = new(); + public ObjectFlow Operation_ProvidedInterface_A_setPActivity_ObjectFlow73 = new(); + public LiteralBoolean Operation_ProvidedInterface_A_setPActivity_ObjectFlow73_LiteralBoolean74 = new(); + public LiteralInteger Operation_ProvidedInterface_A_setPActivity_ObjectFlow73_LiteralInteger75 = new(); + public ObjectFlow Operation_ProvidedInterface_A_setPActivity_ObjectFlow76 = new(); + public LiteralBoolean Operation_ProvidedInterface_A_setPActivity_ObjectFlow76_LiteralBoolean77 = new(); + public LiteralInteger Operation_ProvidedInterface_A_setPActivity_ObjectFlow76_LiteralInteger78 = new(); + public Port Operation_ProvidedInterface_A_q = new(); + public Association Operation_ProvidedInterface_S = new(); + public Property Operation_ProvidedInterface_S_x = new(); + public Property Operation_ProvidedInterface_S_y = new(); + + public static Operation_ProvidedInterfaceModel Instance() + { + if (instance is null) + { + instance = new(); + instance.InitializeInMemoryModel(); + } + + return instance; + } + + public Operation_ProvidedInterfaceModel() + { + /* Start of user code : Additional model initializations + * This section may be used to do any additional model initialization, + * for example initializing user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } + + private void InitializeInMemoryModel() + { + // Create public members + /* + * Model Operation_ProvidedInterface + */ + AddToElementRepository("Operation_ProvidedInterface", Operation_ProvidedInterface); + AddToElementRepository("main", Operation_ProvidedInterface_main); + AddToElementRepository("Read b.p", Operation_ProvidedInterface_main_Read_b_p); + AddToElementRepository("result", Operation_ProvidedInterface_main_Read_b_p_result); + AddToElementRepository("LiteralInteger0", Operation_ProvidedInterface_main_Read_b_p_result_LiteralInteger0); + AddToElementRepository("LiteralUnlimitedNatural1", Operation_ProvidedInterface_main_Read_b_p_result_LiteralUnlimitedNatural1); + AddToElementRepository("object", Operation_ProvidedInterface_main_Read_b_p_object); + AddToElementRepository("LiteralInteger2", Operation_ProvidedInterface_main_Read_b_p_object_LiteralInteger2); + AddToElementRepository("LiteralUnlimitedNatural3", Operation_ProvidedInterface_main_Read_b_p_object_LiteralUnlimitedNatural3); + AddToElementRepository("Create A", Operation_ProvidedInterface_main_Create_A); + AddToElementRepository("result", Operation_ProvidedInterface_main_Create_A_result); + AddToElementRepository("LiteralUnlimitedNatural4", Operation_ProvidedInterface_main_Create_A_result_LiteralUnlimitedNatural4); + AddToElementRepository("LiteralInteger5", Operation_ProvidedInterface_main_Create_A_result_LiteralInteger5); + AddToElementRepository("A()", Operation_ProvidedInterface_main_A_); + AddToElementRepository("result", Operation_ProvidedInterface_main_A__result); + AddToElementRepository("LiteralUnlimitedNatural6", Operation_ProvidedInterface_main_A__result_LiteralUnlimitedNatural6); + AddToElementRepository("LiteralInteger7", Operation_ProvidedInterface_main_A__result_LiteralInteger7); + AddToElementRepository("LiteralInteger8", Operation_ProvidedInterface_main_A__result_LiteralInteger8); + AddToElementRepository("target", Operation_ProvidedInterface_main_A__target); + AddToElementRepository("LiteralInteger9", Operation_ProvidedInterface_main_A__target_LiteralInteger9); + AddToElementRepository("LiteralUnlimitedNatural10", Operation_ProvidedInterface_main_A__target_LiteralUnlimitedNatural10); + AddToElementRepository("ObjectFlow11", Operation_ProvidedInterface_main_ObjectFlow11); + AddToElementRepository("LiteralBoolean12", Operation_ProvidedInterface_main_ObjectFlow11_LiteralBoolean12); + AddToElementRepository("LiteralInteger13", Operation_ProvidedInterface_main_ObjectFlow11_LiteralInteger13); + AddToElementRepository("testP", Operation_ProvidedInterface_main_testP); + AddToElementRepository("p", Operation_ProvidedInterface_main_testP_p); + AddToElementRepository("ObjectFlow14", Operation_ProvidedInterface_main_ObjectFlow14); + AddToElementRepository("LiteralBoolean15", Operation_ProvidedInterface_main_ObjectFlow14_LiteralBoolean15); + AddToElementRepository("LiteralInteger16", Operation_ProvidedInterface_main_ObjectFlow14_LiteralInteger16); + AddToElementRepository("ObjectFlow17", Operation_ProvidedInterface_main_ObjectFlow17); + AddToElementRepository("LiteralInteger18", Operation_ProvidedInterface_main_ObjectFlow17_LiteralInteger18); + AddToElementRepository("LiteralBoolean19", Operation_ProvidedInterface_main_ObjectFlow17_LiteralBoolean19); + AddToElementRepository("ObjectFlow20", Operation_ProvidedInterface_main_ObjectFlow20); + AddToElementRepository("LiteralBoolean21", Operation_ProvidedInterface_main_ObjectFlow20_LiteralBoolean21); + AddToElementRepository("LiteralInteger22", Operation_ProvidedInterface_main_ObjectFlow20_LiteralInteger22); + AddToElementRepository("Call setP()", Operation_ProvidedInterface_main_Call_setP_); + AddToElementRepository("target", Operation_ProvidedInterface_main_Call_setP__target); + AddToElementRepository("LiteralUnlimitedNatural23", Operation_ProvidedInterface_main_Call_setP__target_LiteralUnlimitedNatural23); + AddToElementRepository("LiteralInteger24", Operation_ProvidedInterface_main_Call_setP__target_LiteralInteger24); + AddToElementRepository("v", Operation_ProvidedInterface_main_Call_setP__v); + AddToElementRepository("LiteralInteger25", Operation_ProvidedInterface_main_Call_setP__v_LiteralInteger25); + AddToElementRepository("LiteralUnlimitedNatural26", Operation_ProvidedInterface_main_Call_setP__v_LiteralUnlimitedNatural26); + AddToElementRepository("LiteralInteger27", Operation_ProvidedInterface_main_Call_setP__v_LiteralInteger27); + AddToElementRepository("Call testP", Operation_ProvidedInterface_main_Call_testP); + AddToElementRepository("p", Operation_ProvidedInterface_main_Call_testP_p); + AddToElementRepository("LiteralInteger28", Operation_ProvidedInterface_main_Call_testP_p_LiteralInteger28); + AddToElementRepository("LiteralInteger29", Operation_ProvidedInterface_main_Call_testP_p_LiteralInteger29); + AddToElementRepository("LiteralUnlimitedNatural30", Operation_ProvidedInterface_main_Call_testP_p_LiteralUnlimitedNatural30); + AddToElementRepository("ControlFlow31", Operation_ProvidedInterface_main_ControlFlow31); + AddToElementRepository("ObjectFlow32", Operation_ProvidedInterface_main_ObjectFlow32); + AddToElementRepository("LiteralBoolean33", Operation_ProvidedInterface_main_ObjectFlow32_LiteralBoolean33); + AddToElementRepository("LiteralInteger34", Operation_ProvidedInterface_main_ObjectFlow32_LiteralInteger34); + AddToElementRepository("ObjectFlow35", Operation_ProvidedInterface_main_ObjectFlow35); + AddToElementRepository("LiteralInteger36", Operation_ProvidedInterface_main_ObjectFlow35_LiteralInteger36); + AddToElementRepository("LiteralBoolean37", Operation_ProvidedInterface_main_ObjectFlow35_LiteralBoolean37); + AddToElementRepository("Fork a", Operation_ProvidedInterface_main_Fork_a); + AddToElementRepository("Value(4)", Operation_ProvidedInterface_main_Value_4); + AddToElementRepository("result", Operation_ProvidedInterface_main_Value_4_result); + AddToElementRepository("LiteralUnlimitedNatural38", Operation_ProvidedInterface_main_Value_4_result_LiteralUnlimitedNatural38); + AddToElementRepository("LiteralInteger39", Operation_ProvidedInterface_main_Value_4_result_LiteralInteger39); + AddToElementRepository("LiteralInteger40", Operation_ProvidedInterface_main_Value_4_LiteralInteger40); + AddToElementRepository("ObjectFlow41", Operation_ProvidedInterface_main_ObjectFlow41); + AddToElementRepository("LiteralBoolean42", Operation_ProvidedInterface_main_ObjectFlow41_LiteralBoolean42); + AddToElementRepository("LiteralInteger43", Operation_ProvidedInterface_main_ObjectFlow41_LiteralInteger43); + AddToElementRepository("Read a.b", Operation_ProvidedInterface_main_Read_a_b); + AddToElementRepository("result", Operation_ProvidedInterface_main_Read_a_b_result); + AddToElementRepository("LiteralUnlimitedNatural44", Operation_ProvidedInterface_main_Read_a_b_result_LiteralUnlimitedNatural44); + AddToElementRepository("LiteralInteger45", Operation_ProvidedInterface_main_Read_a_b_result_LiteralInteger45); + AddToElementRepository("object", Operation_ProvidedInterface_main_Read_a_b_object); + AddToElementRepository("LiteralInteger46", Operation_ProvidedInterface_main_Read_a_b_object_LiteralInteger46); + AddToElementRepository("LiteralUnlimitedNatural47", Operation_ProvidedInterface_main_Read_a_b_object_LiteralUnlimitedNatural47); + AddToElementRepository("B", Operation_ProvidedInterface_B); + AddToElementRepository("IRealization", Operation_ProvidedInterface_B_IRealization); + AddToElementRepository("setP_Integer", Operation_ProvidedInterface_B_setP_Integer); + AddToElementRepository("v", Operation_ProvidedInterface_B_setP_Integer_v); + AddToElementRepository("setPActivity", Operation_ProvidedInterface_B_setPActivity); + AddToElementRepository("ObjectFlow48", Operation_ProvidedInterface_B_setPActivity_ObjectFlow48); + AddToElementRepository("LiteralBoolean49", Operation_ProvidedInterface_B_setPActivity_ObjectFlow48_LiteralBoolean49); + AddToElementRepository("LiteralInteger50", Operation_ProvidedInterface_B_setPActivity_ObjectFlow48_LiteralInteger50); + AddToElementRepository("ObjectFlow51", Operation_ProvidedInterface_B_setPActivity_ObjectFlow51); + AddToElementRepository("LiteralInteger52", Operation_ProvidedInterface_B_setPActivity_ObjectFlow51_LiteralInteger52); + AddToElementRepository("LiteralBoolean53", Operation_ProvidedInterface_B_setPActivity_ObjectFlow51_LiteralBoolean53); + AddToElementRepository("v", Operation_ProvidedInterface_B_setPActivity_v); + AddToElementRepository("vParameterNode", Operation_ProvidedInterface_B_setPActivity_vParameterNode); + AddToElementRepository("LiteralInteger54", Operation_ProvidedInterface_B_setPActivity_vParameterNode_LiteralInteger54); + AddToElementRepository("Set this.p", Operation_ProvidedInterface_B_setPActivity_Set_this_p); + AddToElementRepository("object", Operation_ProvidedInterface_B_setPActivity_Set_this_p_object); + AddToElementRepository("LiteralUnlimitedNatural55", Operation_ProvidedInterface_B_setPActivity_Set_this_p_object_LiteralUnlimitedNatural55); + AddToElementRepository("LiteralInteger56", Operation_ProvidedInterface_B_setPActivity_Set_this_p_object_LiteralInteger56); + AddToElementRepository("result", Operation_ProvidedInterface_B_setPActivity_Set_this_p_result); + AddToElementRepository("LiteralInteger57", Operation_ProvidedInterface_B_setPActivity_Set_this_p_result_LiteralInteger57); + AddToElementRepository("LiteralUnlimitedNatural58", Operation_ProvidedInterface_B_setPActivity_Set_this_p_result_LiteralUnlimitedNatural58); + AddToElementRepository("value", Operation_ProvidedInterface_B_setPActivity_Set_this_p_value); + AddToElementRepository("LiteralInteger59", Operation_ProvidedInterface_B_setPActivity_Set_this_p_value_LiteralInteger59); + AddToElementRepository("LiteralUnlimitedNatural60", Operation_ProvidedInterface_B_setPActivity_Set_this_p_value_LiteralUnlimitedNatural60); + AddToElementRepository("this", Operation_ProvidedInterface_B_setPActivity_this); + AddToElementRepository("result", Operation_ProvidedInterface_B_setPActivity_this_result); + AddToElementRepository("LiteralUnlimitedNatural61", Operation_ProvidedInterface_B_setPActivity_this_result_LiteralUnlimitedNatural61); + AddToElementRepository("LiteralInteger62", Operation_ProvidedInterface_B_setPActivity_this_result_LiteralInteger62); + AddToElementRepository("p", Operation_ProvidedInterface_B_p); + AddToElementRepository("R", Operation_ProvidedInterface_R); + AddToElementRepository("y", Operation_ProvidedInterface_R_y); + AddToElementRepository("x", Operation_ProvidedInterface_R_x); + AddToElementRepository("IImpl", Operation_ProvidedInterface_IImpl); + AddToElementRepository("setP_Integer", Operation_ProvidedInterface_IImpl_setP_Integer); + AddToElementRepository("v", Operation_ProvidedInterface_IImpl_setP_Integer_v); + AddToElementRepository("IRealization", Operation_ProvidedInterface_IImpl_IRealization); + AddToElementRepository("I", Operation_ProvidedInterface_I); + AddToElementRepository("setP_Integer", Operation_ProvidedInterface_I_setP_Integer); + AddToElementRepository("v", Operation_ProvidedInterface_I_setP_Integer_v); + AddToElementRepository("A", Operation_ProvidedInterface_A); + AddToElementRepository("b", Operation_ProvidedInterface_A_b); + AddToElementRepository("setP_Integer", Operation_ProvidedInterface_A_setP_Integer); + AddToElementRepository("v", Operation_ProvidedInterface_A_setP_Integer_v); + AddToElementRepository("A_A", Operation_ProvidedInterface_A_A_A); + AddToElementRepository("result", Operation_ProvidedInterface_A_A_A_result); + AddToElementRepository("r", Operation_ProvidedInterface_A_r); + AddToElementRepository("ConnectorEnd63", Operation_ProvidedInterface_A_r_ConnectorEnd63); + AddToElementRepository("ConnectorEnd64", Operation_ProvidedInterface_A_r_ConnectorEnd64); + AddToElementRepository("setPActivity", Operation_ProvidedInterface_A_setPActivity); + AddToElementRepository("v", Operation_ProvidedInterface_A_setPActivity_v); + AddToElementRepository("this", Operation_ProvidedInterface_A_setPActivity_this); + AddToElementRepository("result", Operation_ProvidedInterface_A_setPActivity_this_result); + AddToElementRepository("LiteralUnlimitedNatural65", Operation_ProvidedInterface_A_setPActivity_this_result_LiteralUnlimitedNatural65); + AddToElementRepository("LiteralInteger66", Operation_ProvidedInterface_A_setPActivity_this_result_LiteralInteger66); + AddToElementRepository("Call I::setP on q", Operation_ProvidedInterface_A_setPActivity_Call_I_setP_on_q); + AddToElementRepository("target", Operation_ProvidedInterface_A_setPActivity_Call_I_setP_on_q_target); + AddToElementRepository("LiteralUnlimitedNatural67", Operation_ProvidedInterface_A_setPActivity_Call_I_setP_on_q_target_LiteralUnlimitedNatural67); + AddToElementRepository("LiteralInteger68", Operation_ProvidedInterface_A_setPActivity_Call_I_setP_on_q_target_LiteralInteger68); + AddToElementRepository("v", Operation_ProvidedInterface_A_setPActivity_Call_I_setP_on_q_v); + AddToElementRepository("LiteralInteger69", Operation_ProvidedInterface_A_setPActivity_Call_I_setP_on_q_v_LiteralInteger69); + AddToElementRepository("LiteralInteger70", Operation_ProvidedInterface_A_setPActivity_Call_I_setP_on_q_v_LiteralInteger70); + AddToElementRepository("LiteralUnlimitedNatural71", Operation_ProvidedInterface_A_setPActivity_Call_I_setP_on_q_v_LiteralUnlimitedNatural71); + AddToElementRepository("vParameterNode", Operation_ProvidedInterface_A_setPActivity_vParameterNode); + AddToElementRepository("LiteralInteger72", Operation_ProvidedInterface_A_setPActivity_vParameterNode_LiteralInteger72); + AddToElementRepository("ObjectFlow73", Operation_ProvidedInterface_A_setPActivity_ObjectFlow73); + AddToElementRepository("LiteralBoolean74", Operation_ProvidedInterface_A_setPActivity_ObjectFlow73_LiteralBoolean74); + AddToElementRepository("LiteralInteger75", Operation_ProvidedInterface_A_setPActivity_ObjectFlow73_LiteralInteger75); + AddToElementRepository("ObjectFlow76", Operation_ProvidedInterface_A_setPActivity_ObjectFlow76); + AddToElementRepository("LiteralBoolean77", Operation_ProvidedInterface_A_setPActivity_ObjectFlow76_LiteralBoolean77); + AddToElementRepository("LiteralInteger78", Operation_ProvidedInterface_A_setPActivity_ObjectFlow76_LiteralInteger78); + AddToElementRepository("q", Operation_ProvidedInterface_A_q); + AddToElementRepository("S", Operation_ProvidedInterface_S); + AddToElementRepository("x", Operation_ProvidedInterface_S_x); + AddToElementRepository("y", Operation_ProvidedInterface_S_y); + + // Initialize public members + /* + * Model Operation_ProvidedInterface + */ + Operation_ProvidedInterface.SetName("Operation_ProvidedInterface"); + Operation_ProvidedInterface.SetVisibility(VisibilityKind.public_); + // Activity main + Operation_ProvidedInterface_main.SetName("main"); + Operation_ProvidedInterface_main.SetVisibility(VisibilityKind.public_); + // FunctionBehavior testP + Operation_ProvidedInterface_main_testP.SetName("testP"); + Operation_ProvidedInterface_main_testP.SetVisibility(VisibilityKind.public_); + + // Parameter p + Operation_ProvidedInterface_main_testP_p.SetName("p"); + Operation_ProvidedInterface_main_testP_p.SetVisibility(VisibilityKind.public_); + + Operation_ProvidedInterface_main_testP_p.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + Operation_ProvidedInterface_main_testP.AddOwnedParameter(Operation_ProvidedInterface_main_testP_p); + Operation_ProvidedInterface_main_testP.AddLanguage("C#"); + Operation_ProvidedInterface_main_testP.AddLanguage("Using"); + Operation_ProvidedInterface_main_testP.AddBody("Console.WriteLine(\"Asserting a.b.p == 4\"); // Test parameter p int p = ((IntegerValue)inputParameters.ElementAt(0).values.ElementAt(0)).value; Debug.Println(\"[doBody] argument p = \" + p); Console.WriteLine(\"a.b.p == \" + p); Console.Write(\"Invocation made into a through q: \"); if(p == 4) { Console.ForegroundColor = ConsoleColor.Green; Console.WriteLine(\"Assertion successful.\"); } else { Console.ForegroundColor = ConsoleColor.Red; Console.WriteLine(\"Assertion failed!\"); } Console.ResetColor();"); + Operation_ProvidedInterface_main_testP.AddBody("using fuml.semantics.simpleclassifiers; "); + Operation_ProvidedInterface_main.AddOwnedBehavior(Operation_ProvidedInterface_main_testP); + // ReadStructuralFeatureAction Read b.p + Operation_ProvidedInterface_main_Read_b_p.SetName("Read b.p"); + Operation_ProvidedInterface_main_Read_b_p.SetVisibility(VisibilityKind.public_); + Operation_ProvidedInterface_main_Read_b_p.SetStructuralFeature(Operation_ProvidedInterface_B_p); + // InputPin object + Operation_ProvidedInterface_main_Read_b_p_object.SetName("object"); + Operation_ProvidedInterface_main_Read_b_p_object.SetVisibility(VisibilityKind.public_); + Operation_ProvidedInterface_main_Read_b_p_object.SetType(Operation_ProvidedInterface_B); + Operation_ProvidedInterface_main_Read_b_p.SetObject(Operation_ProvidedInterface_main_Read_b_p_object); + // OutputPin result + Operation_ProvidedInterface_main_Read_b_p_result.SetName("result"); + Operation_ProvidedInterface_main_Read_b_p_result.SetVisibility(VisibilityKind.public_); + Operation_ProvidedInterface_main_Read_b_p_result.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + Operation_ProvidedInterface_main_Read_b_p.SetResult(Operation_ProvidedInterface_main_Read_b_p_result); + Operation_ProvidedInterface_main.AddNode(Operation_ProvidedInterface_main_Read_b_p); + // CreateObjectAction Create A + Operation_ProvidedInterface_main_Create_A.SetName("Create A"); + Operation_ProvidedInterface_main_Create_A.SetVisibility(VisibilityKind.public_); + Operation_ProvidedInterface_main_Create_A.SetClassifier(Operation_ProvidedInterface_A); + // OutputPin result + Operation_ProvidedInterface_main_Create_A_result.SetName("result"); + Operation_ProvidedInterface_main_Create_A_result.SetVisibility(VisibilityKind.public_); + Operation_ProvidedInterface_main_Create_A_result.SetType(Operation_ProvidedInterface_A); + Operation_ProvidedInterface_main_Create_A.SetResult(Operation_ProvidedInterface_main_Create_A_result); + Operation_ProvidedInterface_main.AddNode(Operation_ProvidedInterface_main_Create_A); + // CallOperationAction Call setP() + Operation_ProvidedInterface_main_Call_setP_.SetName("Call setP()"); + Operation_ProvidedInterface_main_Call_setP_.SetVisibility(VisibilityKind.public_); + Operation_ProvidedInterface_main_Call_setP_.SetOperation(Operation_ProvidedInterface_A_setP_Integer); + // InputPin target + Operation_ProvidedInterface_main_Call_setP__target.SetName("target"); + Operation_ProvidedInterface_main_Call_setP__target.SetVisibility(VisibilityKind.public_); + Operation_ProvidedInterface_main_Call_setP__target.SetType(Operation_ProvidedInterface_A); + Operation_ProvidedInterface_main_Call_setP_.SetTarget(Operation_ProvidedInterface_main_Call_setP__target); + // InputPin v + Operation_ProvidedInterface_main_Call_setP__v.SetName("v"); + Operation_ProvidedInterface_main_Call_setP__v.SetVisibility(VisibilityKind.public_); + Operation_ProvidedInterface_main_Call_setP__v.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + Operation_ProvidedInterface_main_Call_setP_.AddArgument(Operation_ProvidedInterface_main_Call_setP__v); + Operation_ProvidedInterface_main.AddNode(Operation_ProvidedInterface_main_Call_setP_); + // CallOperationAction A() + Operation_ProvidedInterface_main_A_.SetName("A()"); + Operation_ProvidedInterface_main_A_.SetVisibility(VisibilityKind.public_); + + // OutputPin result + Operation_ProvidedInterface_main_A__result.SetName("result"); + Operation_ProvidedInterface_main_A__result.SetVisibility(VisibilityKind.public_); + Operation_ProvidedInterface_main_A__result.SetType(Operation_ProvidedInterface_A); + Operation_ProvidedInterface_main_A_.AddResult(Operation_ProvidedInterface_main_A__result); + Operation_ProvidedInterface_main_A_.SetOperation(Operation_ProvidedInterface_A_A_A); + // InputPin target + Operation_ProvidedInterface_main_A__target.SetName("target"); + Operation_ProvidedInterface_main_A__target.SetVisibility(VisibilityKind.public_); + Operation_ProvidedInterface_main_A__target.SetType(Operation_ProvidedInterface_A); + Operation_ProvidedInterface_main_A_.SetTarget(Operation_ProvidedInterface_main_A__target); + Operation_ProvidedInterface_main.AddNode(Operation_ProvidedInterface_main_A_); + // CallBehaviorAction Call testP + Operation_ProvidedInterface_main_Call_testP.SetName("Call testP"); + Operation_ProvidedInterface_main_Call_testP.SetVisibility(VisibilityKind.public_); + Operation_ProvidedInterface_main_Call_testP.SetBehavior(Operation_ProvidedInterface_main_testP); + // InputPin p + Operation_ProvidedInterface_main_Call_testP_p.SetName("p"); + Operation_ProvidedInterface_main_Call_testP_p.SetVisibility(VisibilityKind.public_); + Operation_ProvidedInterface_main_Call_testP_p.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + Operation_ProvidedInterface_main_Call_testP.AddArgument(Operation_ProvidedInterface_main_Call_testP_p); + Operation_ProvidedInterface_main.AddNode(Operation_ProvidedInterface_main_Call_testP); + // ForkNode Fork a + Operation_ProvidedInterface_main_Fork_a.SetName("Fork a"); + Operation_ProvidedInterface_main_Fork_a.SetVisibility(VisibilityKind.public_); + Operation_ProvidedInterface_main.AddNode(Operation_ProvidedInterface_main_Fork_a); + // ValueSpecificationAction Value(4) + Operation_ProvidedInterface_main_Value_4.SetName("Value(4)"); + Operation_ProvidedInterface_main_Value_4.SetVisibility(VisibilityKind.public_); + // LiteralInteger LiteralInteger40 + Operation_ProvidedInterface_main_Value_4_LiteralInteger40.SetName("LiteralInteger40"); + Operation_ProvidedInterface_main_Value_4_LiteralInteger40.SetVisibility(VisibilityKind.public_); + Operation_ProvidedInterface_main_Value_4_LiteralInteger40.SetValue(4); + Operation_ProvidedInterface_main_Value_4.SetValue(Operation_ProvidedInterface_main_Value_4_LiteralInteger40); + // OutputPin result + Operation_ProvidedInterface_main_Value_4_result.SetName("result"); + Operation_ProvidedInterface_main_Value_4_result.SetVisibility(VisibilityKind.public_); + Operation_ProvidedInterface_main_Value_4_result.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + Operation_ProvidedInterface_main_Value_4.SetResult(Operation_ProvidedInterface_main_Value_4_result); + Operation_ProvidedInterface_main.AddNode(Operation_ProvidedInterface_main_Value_4); + // ReadStructuralFeatureAction Read a.b + Operation_ProvidedInterface_main_Read_a_b.SetName("Read a.b"); + Operation_ProvidedInterface_main_Read_a_b.SetVisibility(VisibilityKind.public_); + Operation_ProvidedInterface_main_Read_a_b.SetStructuralFeature(Operation_ProvidedInterface_A_b); + // InputPin object + Operation_ProvidedInterface_main_Read_a_b_object.SetName("object"); + Operation_ProvidedInterface_main_Read_a_b_object.SetVisibility(VisibilityKind.public_); + Operation_ProvidedInterface_main_Read_a_b_object.SetType(Operation_ProvidedInterface_A); + Operation_ProvidedInterface_main_Read_a_b.SetObject(Operation_ProvidedInterface_main_Read_a_b_object); + // OutputPin result + Operation_ProvidedInterface_main_Read_a_b_result.SetName("result"); + Operation_ProvidedInterface_main_Read_a_b_result.SetVisibility(VisibilityKind.public_); + Operation_ProvidedInterface_main_Read_a_b_result.SetType(Operation_ProvidedInterface_B); + Operation_ProvidedInterface_main_Read_a_b.SetResult(Operation_ProvidedInterface_main_Read_a_b_result); + Operation_ProvidedInterface_main.AddNode(Operation_ProvidedInterface_main_Read_a_b); + // ObjectFlow ObjectFlow17 from result to Fork a + Operation_ProvidedInterface_main_ObjectFlow17.SetName("ObjectFlow17"); + Operation_ProvidedInterface_main_ObjectFlow17.SetVisibility(VisibilityKind.public_); + + Operation_ProvidedInterface_main_ObjectFlow17.SetSource(Operation_ProvidedInterface_main_A__result); + Operation_ProvidedInterface_main_ObjectFlow17.SetTarget(Operation_ProvidedInterface_main_Fork_a); + // LiteralBoolean LiteralBoolean19 + Operation_ProvidedInterface_main_ObjectFlow17_LiteralBoolean19.SetName("LiteralBoolean19"); + Operation_ProvidedInterface_main_ObjectFlow17_LiteralBoolean19.SetVisibility(VisibilityKind.public_); + Operation_ProvidedInterface_main_ObjectFlow17_LiteralBoolean19.SetValue(true); + Operation_ProvidedInterface_main_ObjectFlow17.SetGuard(Operation_ProvidedInterface_main_ObjectFlow17_LiteralBoolean19); + Operation_ProvidedInterface_main.AddEdge(Operation_ProvidedInterface_main_ObjectFlow17); + // ObjectFlow ObjectFlow20 from result to v + Operation_ProvidedInterface_main_ObjectFlow20.SetName("ObjectFlow20"); + Operation_ProvidedInterface_main_ObjectFlow20.SetVisibility(VisibilityKind.public_); + + Operation_ProvidedInterface_main_ObjectFlow20.SetSource(Operation_ProvidedInterface_main_Value_4_result); + Operation_ProvidedInterface_main_ObjectFlow20.SetTarget(Operation_ProvidedInterface_main_Call_setP__v); + // LiteralBoolean LiteralBoolean21 + Operation_ProvidedInterface_main_ObjectFlow20_LiteralBoolean21.SetName("LiteralBoolean21"); + Operation_ProvidedInterface_main_ObjectFlow20_LiteralBoolean21.SetVisibility(VisibilityKind.public_); + Operation_ProvidedInterface_main_ObjectFlow20_LiteralBoolean21.SetValue(true); + Operation_ProvidedInterface_main_ObjectFlow20.SetGuard(Operation_ProvidedInterface_main_ObjectFlow20_LiteralBoolean21); + Operation_ProvidedInterface_main.AddEdge(Operation_ProvidedInterface_main_ObjectFlow20); + // ObjectFlow ObjectFlow11 from result to p + Operation_ProvidedInterface_main_ObjectFlow11.SetName("ObjectFlow11"); + Operation_ProvidedInterface_main_ObjectFlow11.SetVisibility(VisibilityKind.public_); + + Operation_ProvidedInterface_main_ObjectFlow11.SetSource(Operation_ProvidedInterface_main_Read_b_p_result); + Operation_ProvidedInterface_main_ObjectFlow11.SetTarget(Operation_ProvidedInterface_main_Call_testP_p); + // LiteralBoolean LiteralBoolean12 + Operation_ProvidedInterface_main_ObjectFlow11_LiteralBoolean12.SetName("LiteralBoolean12"); + Operation_ProvidedInterface_main_ObjectFlow11_LiteralBoolean12.SetVisibility(VisibilityKind.public_); + Operation_ProvidedInterface_main_ObjectFlow11_LiteralBoolean12.SetValue(true); + Operation_ProvidedInterface_main_ObjectFlow11.SetGuard(Operation_ProvidedInterface_main_ObjectFlow11_LiteralBoolean12); + Operation_ProvidedInterface_main.AddEdge(Operation_ProvidedInterface_main_ObjectFlow11); + // ControlFlow ControlFlow31 from Call setP() to Read a.b + Operation_ProvidedInterface_main_ControlFlow31.SetName("ControlFlow31"); + Operation_ProvidedInterface_main_ControlFlow31.SetVisibility(VisibilityKind.public_); + + Operation_ProvidedInterface_main_ControlFlow31.SetSource(Operation_ProvidedInterface_main_Call_setP_); + Operation_ProvidedInterface_main_ControlFlow31.SetTarget(Operation_ProvidedInterface_main_Read_a_b); + Operation_ProvidedInterface_main.AddEdge(Operation_ProvidedInterface_main_ControlFlow31); + // ObjectFlow ObjectFlow32 from result to target + Operation_ProvidedInterface_main_ObjectFlow32.SetName("ObjectFlow32"); + Operation_ProvidedInterface_main_ObjectFlow32.SetVisibility(VisibilityKind.public_); + + Operation_ProvidedInterface_main_ObjectFlow32.SetSource(Operation_ProvidedInterface_main_Create_A_result); + Operation_ProvidedInterface_main_ObjectFlow32.SetTarget(Operation_ProvidedInterface_main_A__target); + // LiteralBoolean LiteralBoolean33 + Operation_ProvidedInterface_main_ObjectFlow32_LiteralBoolean33.SetName("LiteralBoolean33"); + Operation_ProvidedInterface_main_ObjectFlow32_LiteralBoolean33.SetVisibility(VisibilityKind.public_); + Operation_ProvidedInterface_main_ObjectFlow32_LiteralBoolean33.SetValue(true); + Operation_ProvidedInterface_main_ObjectFlow32.SetGuard(Operation_ProvidedInterface_main_ObjectFlow32_LiteralBoolean33); + Operation_ProvidedInterface_main.AddEdge(Operation_ProvidedInterface_main_ObjectFlow32); + // ObjectFlow ObjectFlow35 from Fork a to object + Operation_ProvidedInterface_main_ObjectFlow35.SetName("ObjectFlow35"); + Operation_ProvidedInterface_main_ObjectFlow35.SetVisibility(VisibilityKind.public_); + + Operation_ProvidedInterface_main_ObjectFlow35.SetSource(Operation_ProvidedInterface_main_Fork_a); + Operation_ProvidedInterface_main_ObjectFlow35.SetTarget(Operation_ProvidedInterface_main_Read_a_b_object); + // LiteralBoolean LiteralBoolean37 + Operation_ProvidedInterface_main_ObjectFlow35_LiteralBoolean37.SetName("LiteralBoolean37"); + Operation_ProvidedInterface_main_ObjectFlow35_LiteralBoolean37.SetVisibility(VisibilityKind.public_); + Operation_ProvidedInterface_main_ObjectFlow35_LiteralBoolean37.SetValue(true); + Operation_ProvidedInterface_main_ObjectFlow35.SetGuard(Operation_ProvidedInterface_main_ObjectFlow35_LiteralBoolean37); + Operation_ProvidedInterface_main.AddEdge(Operation_ProvidedInterface_main_ObjectFlow35); + // ObjectFlow ObjectFlow14 from result to object + Operation_ProvidedInterface_main_ObjectFlow14.SetName("ObjectFlow14"); + Operation_ProvidedInterface_main_ObjectFlow14.SetVisibility(VisibilityKind.public_); + + Operation_ProvidedInterface_main_ObjectFlow14.SetSource(Operation_ProvidedInterface_main_Read_a_b_result); + Operation_ProvidedInterface_main_ObjectFlow14.SetTarget(Operation_ProvidedInterface_main_Read_b_p_object); + // LiteralBoolean LiteralBoolean15 + Operation_ProvidedInterface_main_ObjectFlow14_LiteralBoolean15.SetName("LiteralBoolean15"); + Operation_ProvidedInterface_main_ObjectFlow14_LiteralBoolean15.SetVisibility(VisibilityKind.public_); + Operation_ProvidedInterface_main_ObjectFlow14_LiteralBoolean15.SetValue(true); + Operation_ProvidedInterface_main_ObjectFlow14.SetGuard(Operation_ProvidedInterface_main_ObjectFlow14_LiteralBoolean15); + Operation_ProvidedInterface_main.AddEdge(Operation_ProvidedInterface_main_ObjectFlow14); + // ObjectFlow ObjectFlow41 from Fork a to target + Operation_ProvidedInterface_main_ObjectFlow41.SetName("ObjectFlow41"); + Operation_ProvidedInterface_main_ObjectFlow41.SetVisibility(VisibilityKind.public_); + + Operation_ProvidedInterface_main_ObjectFlow41.SetSource(Operation_ProvidedInterface_main_Fork_a); + Operation_ProvidedInterface_main_ObjectFlow41.SetTarget(Operation_ProvidedInterface_main_Call_setP__target); + // LiteralBoolean LiteralBoolean42 + Operation_ProvidedInterface_main_ObjectFlow41_LiteralBoolean42.SetName("LiteralBoolean42"); + Operation_ProvidedInterface_main_ObjectFlow41_LiteralBoolean42.SetVisibility(VisibilityKind.public_); + Operation_ProvidedInterface_main_ObjectFlow41_LiteralBoolean42.SetValue(true); + Operation_ProvidedInterface_main_ObjectFlow41.SetGuard(Operation_ProvidedInterface_main_ObjectFlow41_LiteralBoolean42); + Operation_ProvidedInterface_main.AddEdge(Operation_ProvidedInterface_main_ObjectFlow41); + Operation_ProvidedInterface.AddPackagedElement(Operation_ProvidedInterface_main); + // Class B + Operation_ProvidedInterface_B.SetName("B"); + Operation_ProvidedInterface_B.SetVisibility(VisibilityKind.public_); + + // Property p + Operation_ProvidedInterface_B_p.SetName("p"); + Operation_ProvidedInterface_B_p.SetVisibility(VisibilityKind.public_); + + Operation_ProvidedInterface_B_p.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + Operation_ProvidedInterface_B.AddOwnedAttribute(Operation_ProvidedInterface_B_p); + // Activity setPActivity + Operation_ProvidedInterface_B_setPActivity.SetName("setPActivity"); + Operation_ProvidedInterface_B_setPActivity.SetVisibility(VisibilityKind.public_); + + // Parameter v + Operation_ProvidedInterface_B_setPActivity_v.SetName("v"); + Operation_ProvidedInterface_B_setPActivity_v.SetVisibility(VisibilityKind.public_); + + Operation_ProvidedInterface_B_setPActivity_v.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + Operation_ProvidedInterface_B_setPActivity.AddOwnedParameter(Operation_ProvidedInterface_B_setPActivity_v); + // ActivityParameterNode vParameterNode + Operation_ProvidedInterface_B_setPActivity_vParameterNode.SetName("vParameterNode"); + Operation_ProvidedInterface_B_setPActivity_vParameterNode.SetVisibility(VisibilityKind.public_); + + Operation_ProvidedInterface_B_setPActivity_vParameterNode.SetParameter(Operation_ProvidedInterface_B_setPActivity_v); + Operation_ProvidedInterface_B_setPActivity.AddNode(Operation_ProvidedInterface_B_setPActivity_vParameterNode); + // AddStructuralFeatureValueAction Set this.p + Operation_ProvidedInterface_B_setPActivity_Set_this_p.SetName("Set this.p"); + Operation_ProvidedInterface_B_setPActivity_Set_this_p.SetVisibility(VisibilityKind.public_); + Operation_ProvidedInterface_B_setPActivity_Set_this_p.SetStructuralFeature(Operation_ProvidedInterface_B_p); + // InputPin object + Operation_ProvidedInterface_B_setPActivity_Set_this_p_object.SetName("object"); + Operation_ProvidedInterface_B_setPActivity_Set_this_p_object.SetVisibility(VisibilityKind.public_); + Operation_ProvidedInterface_B_setPActivity_Set_this_p_object.SetType(Operation_ProvidedInterface_B); + Operation_ProvidedInterface_B_setPActivity_Set_this_p.SetObject(Operation_ProvidedInterface_B_setPActivity_Set_this_p_object); + // InputPin value + Operation_ProvidedInterface_B_setPActivity_Set_this_p_value.SetName("value"); + Operation_ProvidedInterface_B_setPActivity_Set_this_p_value.SetVisibility(VisibilityKind.public_); + Operation_ProvidedInterface_B_setPActivity_Set_this_p_value.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + Operation_ProvidedInterface_B_setPActivity_Set_this_p.SetValue(Operation_ProvidedInterface_B_setPActivity_Set_this_p_value); + // OutputPin result + Operation_ProvidedInterface_B_setPActivity_Set_this_p_result.SetName("result"); + Operation_ProvidedInterface_B_setPActivity_Set_this_p_result.SetVisibility(VisibilityKind.public_); + Operation_ProvidedInterface_B_setPActivity_Set_this_p_result.SetType(Operation_ProvidedInterface_B); + Operation_ProvidedInterface_B_setPActivity_Set_this_p.SetResult(Operation_ProvidedInterface_B_setPActivity_Set_this_p_result); + Operation_ProvidedInterface_B_setPActivity_Set_this_p.SetIsReplaceAll(true); + Operation_ProvidedInterface_B_setPActivity.AddNode(Operation_ProvidedInterface_B_setPActivity_Set_this_p); + // ReadSelfAction this + Operation_ProvidedInterface_B_setPActivity_this.SetName("this"); + Operation_ProvidedInterface_B_setPActivity_this.SetVisibility(VisibilityKind.public_); + // OutputPin result + Operation_ProvidedInterface_B_setPActivity_this_result.SetName("result"); + Operation_ProvidedInterface_B_setPActivity_this_result.SetVisibility(VisibilityKind.public_); + Operation_ProvidedInterface_B_setPActivity_this_result.SetType(Operation_ProvidedInterface_B); + Operation_ProvidedInterface_B_setPActivity_this.SetResult(Operation_ProvidedInterface_B_setPActivity_this_result); + Operation_ProvidedInterface_B_setPActivity.AddNode(Operation_ProvidedInterface_B_setPActivity_this); + // ObjectFlow ObjectFlow48 from vParameterNode to value + Operation_ProvidedInterface_B_setPActivity_ObjectFlow48.SetName("ObjectFlow48"); + Operation_ProvidedInterface_B_setPActivity_ObjectFlow48.SetVisibility(VisibilityKind.public_); + + Operation_ProvidedInterface_B_setPActivity_ObjectFlow48.SetSource(Operation_ProvidedInterface_B_setPActivity_vParameterNode); + Operation_ProvidedInterface_B_setPActivity_ObjectFlow48.SetTarget(Operation_ProvidedInterface_B_setPActivity_Set_this_p_value); + // LiteralBoolean LiteralBoolean49 + Operation_ProvidedInterface_B_setPActivity_ObjectFlow48_LiteralBoolean49.SetName("LiteralBoolean49"); + Operation_ProvidedInterface_B_setPActivity_ObjectFlow48_LiteralBoolean49.SetVisibility(VisibilityKind.public_); + Operation_ProvidedInterface_B_setPActivity_ObjectFlow48_LiteralBoolean49.SetValue(true); + Operation_ProvidedInterface_B_setPActivity_ObjectFlow48.SetGuard(Operation_ProvidedInterface_B_setPActivity_ObjectFlow48_LiteralBoolean49); + Operation_ProvidedInterface_B_setPActivity.AddEdge(Operation_ProvidedInterface_B_setPActivity_ObjectFlow48); + // ObjectFlow ObjectFlow51 from result to object + Operation_ProvidedInterface_B_setPActivity_ObjectFlow51.SetName("ObjectFlow51"); + Operation_ProvidedInterface_B_setPActivity_ObjectFlow51.SetVisibility(VisibilityKind.public_); + + Operation_ProvidedInterface_B_setPActivity_ObjectFlow51.SetSource(Operation_ProvidedInterface_B_setPActivity_this_result); + Operation_ProvidedInterface_B_setPActivity_ObjectFlow51.SetTarget(Operation_ProvidedInterface_B_setPActivity_Set_this_p_object); + // LiteralBoolean LiteralBoolean53 + Operation_ProvidedInterface_B_setPActivity_ObjectFlow51_LiteralBoolean53.SetName("LiteralBoolean53"); + Operation_ProvidedInterface_B_setPActivity_ObjectFlow51_LiteralBoolean53.SetVisibility(VisibilityKind.public_); + Operation_ProvidedInterface_B_setPActivity_ObjectFlow51_LiteralBoolean53.SetValue(true); + Operation_ProvidedInterface_B_setPActivity_ObjectFlow51.SetGuard(Operation_ProvidedInterface_B_setPActivity_ObjectFlow51_LiteralBoolean53); + Operation_ProvidedInterface_B_setPActivity.AddEdge(Operation_ProvidedInterface_B_setPActivity_ObjectFlow51); + Operation_ProvidedInterface_B.AddOwnedBehavior(Operation_ProvidedInterface_B_setPActivity); + Operation_ProvidedInterface_B_IRealization.SetName("IRealization"); + Operation_ProvidedInterface_B_IRealization.SetVisibility(VisibilityKind.public_); + Operation_ProvidedInterface_B_IRealization.SetContract(Operation_ProvidedInterface_I); + + Operation_ProvidedInterface_B.AddInterfaceRealization(Operation_ProvidedInterface_B_IRealization); + + // Operation setP_Integer + Operation_ProvidedInterface_B_setP_Integer.SetName("setP_Integer"); + Operation_ProvidedInterface_B_setP_Integer.SetVisibility(VisibilityKind.public_); + // Parameter v + Operation_ProvidedInterface_B_setP_Integer_v.SetName("v"); + Operation_ProvidedInterface_B_setP_Integer_v.SetVisibility(VisibilityKind.public_); + + Operation_ProvidedInterface_B_setP_Integer_v.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + Operation_ProvidedInterface_B_setP_Integer.AddOwnedParameter(Operation_ProvidedInterface_B_setP_Integer_v); + Operation_ProvidedInterface_B_setP_Integer.AddMethod(Operation_ProvidedInterface_B_setPActivity); + Operation_ProvidedInterface_B.AddOwnedOperation(Operation_ProvidedInterface_B_setP_Integer); + Operation_ProvidedInterface.AddPackagedElement(Operation_ProvidedInterface_B); + // Association R + Operation_ProvidedInterface_R.SetName("R"); + Operation_ProvidedInterface_R.SetVisibility(VisibilityKind.public_); + Operation_ProvidedInterface_R.AddOwnedEnd(Operation_ProvidedInterface_R_x); + Operation_ProvidedInterface_R.AddOwnedEnd(Operation_ProvidedInterface_R_y); + Operation_ProvidedInterface.AddPackagedElement(Operation_ProvidedInterface_R); + // Class IImpl + Operation_ProvidedInterface_IImpl.SetName("IImpl"); + Operation_ProvidedInterface_IImpl.SetVisibility(VisibilityKind.public_); + Operation_ProvidedInterface_IImpl_IRealization.SetName("IRealization"); + Operation_ProvidedInterface_IImpl_IRealization.SetVisibility(VisibilityKind.public_); + Operation_ProvidedInterface_IImpl_IRealization.SetContract(Operation_ProvidedInterface_I); + + Operation_ProvidedInterface_IImpl.AddInterfaceRealization(Operation_ProvidedInterface_IImpl_IRealization); + + // Operation setP_Integer + Operation_ProvidedInterface_IImpl_setP_Integer.SetName("setP_Integer"); + Operation_ProvidedInterface_IImpl_setP_Integer.SetVisibility(VisibilityKind.public_); + // Parameter v + Operation_ProvidedInterface_IImpl_setP_Integer_v.SetName("v"); + Operation_ProvidedInterface_IImpl_setP_Integer_v.SetVisibility(VisibilityKind.public_); + + Operation_ProvidedInterface_IImpl_setP_Integer_v.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + Operation_ProvidedInterface_IImpl_setP_Integer.AddOwnedParameter(Operation_ProvidedInterface_IImpl_setP_Integer_v); + Operation_ProvidedInterface_IImpl.AddOwnedOperation(Operation_ProvidedInterface_IImpl_setP_Integer); + Operation_ProvidedInterface.AddPackagedElement(Operation_ProvidedInterface_IImpl); + // Interface I + Operation_ProvidedInterface_I.SetName("I"); + Operation_ProvidedInterface_I.SetVisibility(VisibilityKind.public_); + // Operation setP_Integer + Operation_ProvidedInterface_I_setP_Integer.SetName("setP_Integer"); + Operation_ProvidedInterface_I_setP_Integer.SetVisibility(VisibilityKind.public_); + // Parameter v + Operation_ProvidedInterface_I_setP_Integer_v.SetName("v"); + Operation_ProvidedInterface_I_setP_Integer_v.SetVisibility(VisibilityKind.public_); + + Operation_ProvidedInterface_I_setP_Integer_v.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + Operation_ProvidedInterface_I_setP_Integer.AddOwnedParameter(Operation_ProvidedInterface_I_setP_Integer_v); + Operation_ProvidedInterface_I.AddOwnedOperation(Operation_ProvidedInterface_I_setP_Integer); + Operation_ProvidedInterface.AddPackagedElement(Operation_ProvidedInterface_I); + // Class A + Operation_ProvidedInterface_A.SetName("A"); + Operation_ProvidedInterface_A.SetVisibility(VisibilityKind.public_); + + // Port q + Operation_ProvidedInterface_A_q.SetName("q"); + Operation_ProvidedInterface_A_q.SetVisibility(VisibilityKind.public_); + + Operation_ProvidedInterface_A_q.SetType(Operation_ProvidedInterface_IImpl); + Operation_ProvidedInterface_A_q.SetAggregation(AggregationKind.composite); + Operation_ProvidedInterface_A_q.isService = true; + Operation_ProvidedInterface_A_q.AddProvided(Operation_ProvidedInterface_I); + Operation_ProvidedInterface_A.AddOwnedAttribute(Operation_ProvidedInterface_A_q); + // Property b + Operation_ProvidedInterface_A_b.SetName("b"); + Operation_ProvidedInterface_A_b.SetVisibility(VisibilityKind.public_); + + Operation_ProvidedInterface_A_b.SetType(Operation_ProvidedInterface_B); + Operation_ProvidedInterface_A_b.SetAggregation(AggregationKind.composite); + Operation_ProvidedInterface_A.AddOwnedAttribute(Operation_ProvidedInterface_A_b); + // Activity setPActivity + Operation_ProvidedInterface_A_setPActivity.SetName("setPActivity"); + Operation_ProvidedInterface_A_setPActivity.SetVisibility(VisibilityKind.public_); + + // Parameter v + Operation_ProvidedInterface_A_setPActivity_v.SetName("v"); + Operation_ProvidedInterface_A_setPActivity_v.SetVisibility(VisibilityKind.public_); + + Operation_ProvidedInterface_A_setPActivity_v.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + Operation_ProvidedInterface_A_setPActivity.AddOwnedParameter(Operation_ProvidedInterface_A_setPActivity_v); + // ReadSelfAction this + Operation_ProvidedInterface_A_setPActivity_this.SetName("this"); + Operation_ProvidedInterface_A_setPActivity_this.SetVisibility(VisibilityKind.public_); + // OutputPin result + Operation_ProvidedInterface_A_setPActivity_this_result.SetName("result"); + Operation_ProvidedInterface_A_setPActivity_this_result.SetVisibility(VisibilityKind.public_); + Operation_ProvidedInterface_A_setPActivity_this_result.SetType(Operation_ProvidedInterface_A); + Operation_ProvidedInterface_A_setPActivity_this.SetResult(Operation_ProvidedInterface_A_setPActivity_this_result); + Operation_ProvidedInterface_A_setPActivity.AddNode(Operation_ProvidedInterface_A_setPActivity_this); + // CallOperationAction Call I::setP on q + Operation_ProvidedInterface_A_setPActivity_Call_I_setP_on_q.SetName("Call I::setP on q"); + Operation_ProvidedInterface_A_setPActivity_Call_I_setP_on_q.SetVisibility(VisibilityKind.public_); + Operation_ProvidedInterface_A_setPActivity_Call_I_setP_on_q.SetOnPort(Operation_ProvidedInterface_A_q); + Operation_ProvidedInterface_A_setPActivity_Call_I_setP_on_q.SetOperation(Operation_ProvidedInterface_I_setP_Integer); + // InputPin target + Operation_ProvidedInterface_A_setPActivity_Call_I_setP_on_q_target.SetName("target"); + Operation_ProvidedInterface_A_setPActivity_Call_I_setP_on_q_target.SetVisibility(VisibilityKind.public_); + Operation_ProvidedInterface_A_setPActivity_Call_I_setP_on_q.SetTarget(Operation_ProvidedInterface_A_setPActivity_Call_I_setP_on_q_target); + // InputPin v + Operation_ProvidedInterface_A_setPActivity_Call_I_setP_on_q_v.SetName("v"); + Operation_ProvidedInterface_A_setPActivity_Call_I_setP_on_q_v.SetVisibility(VisibilityKind.public_); + Operation_ProvidedInterface_A_setPActivity_Call_I_setP_on_q_v.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + Operation_ProvidedInterface_A_setPActivity_Call_I_setP_on_q.AddArgument(Operation_ProvidedInterface_A_setPActivity_Call_I_setP_on_q_v); + Operation_ProvidedInterface_A_setPActivity.AddNode(Operation_ProvidedInterface_A_setPActivity_Call_I_setP_on_q); + // ActivityParameterNode vParameterNode + Operation_ProvidedInterface_A_setPActivity_vParameterNode.SetName("vParameterNode"); + Operation_ProvidedInterface_A_setPActivity_vParameterNode.SetVisibility(VisibilityKind.public_); + + Operation_ProvidedInterface_A_setPActivity_vParameterNode.SetParameter(Operation_ProvidedInterface_A_setPActivity_v); + Operation_ProvidedInterface_A_setPActivity.AddNode(Operation_ProvidedInterface_A_setPActivity_vParameterNode); + // ObjectFlow ObjectFlow73 from result to target + Operation_ProvidedInterface_A_setPActivity_ObjectFlow73.SetName("ObjectFlow73"); + Operation_ProvidedInterface_A_setPActivity_ObjectFlow73.SetVisibility(VisibilityKind.public_); + + Operation_ProvidedInterface_A_setPActivity_ObjectFlow73.SetSource(Operation_ProvidedInterface_A_setPActivity_this_result); + Operation_ProvidedInterface_A_setPActivity_ObjectFlow73.SetTarget(Operation_ProvidedInterface_A_setPActivity_Call_I_setP_on_q_target); + // LiteralBoolean LiteralBoolean74 + Operation_ProvidedInterface_A_setPActivity_ObjectFlow73_LiteralBoolean74.SetName("LiteralBoolean74"); + Operation_ProvidedInterface_A_setPActivity_ObjectFlow73_LiteralBoolean74.SetVisibility(VisibilityKind.public_); + Operation_ProvidedInterface_A_setPActivity_ObjectFlow73_LiteralBoolean74.SetValue(true); + Operation_ProvidedInterface_A_setPActivity_ObjectFlow73.SetGuard(Operation_ProvidedInterface_A_setPActivity_ObjectFlow73_LiteralBoolean74); + Operation_ProvidedInterface_A_setPActivity.AddEdge(Operation_ProvidedInterface_A_setPActivity_ObjectFlow73); + // ObjectFlow ObjectFlow76 from vParameterNode to v + Operation_ProvidedInterface_A_setPActivity_ObjectFlow76.SetName("ObjectFlow76"); + Operation_ProvidedInterface_A_setPActivity_ObjectFlow76.SetVisibility(VisibilityKind.public_); + + Operation_ProvidedInterface_A_setPActivity_ObjectFlow76.SetSource(Operation_ProvidedInterface_A_setPActivity_vParameterNode); + Operation_ProvidedInterface_A_setPActivity_ObjectFlow76.SetTarget(Operation_ProvidedInterface_A_setPActivity_Call_I_setP_on_q_v); + // LiteralBoolean LiteralBoolean77 + Operation_ProvidedInterface_A_setPActivity_ObjectFlow76_LiteralBoolean77.SetName("LiteralBoolean77"); + Operation_ProvidedInterface_A_setPActivity_ObjectFlow76_LiteralBoolean77.SetVisibility(VisibilityKind.public_); + Operation_ProvidedInterface_A_setPActivity_ObjectFlow76_LiteralBoolean77.SetValue(true); + Operation_ProvidedInterface_A_setPActivity_ObjectFlow76.SetGuard(Operation_ProvidedInterface_A_setPActivity_ObjectFlow76_LiteralBoolean77); + Operation_ProvidedInterface_A_setPActivity.AddEdge(Operation_ProvidedInterface_A_setPActivity_ObjectFlow76); + Operation_ProvidedInterface_A.AddOwnedBehavior(Operation_ProvidedInterface_A_setPActivity); + Operation_ProvidedInterface_A_r.SetName("r"); + Operation_ProvidedInterface_A_r.SetVisibility(VisibilityKind.public_); + + Operation_ProvidedInterface_A_r_ConnectorEnd64.SetRole(Operation_ProvidedInterface_A_q); + + Operation_ProvidedInterface_A_r.AddEnd(Operation_ProvidedInterface_A_r_ConnectorEnd64); + + Operation_ProvidedInterface_A_r_ConnectorEnd63.SetRole(Operation_ProvidedInterface_A_b); + + Operation_ProvidedInterface_A_r.AddEnd(Operation_ProvidedInterface_A_r_ConnectorEnd63); + Operation_ProvidedInterface_A_r.SetType(Operation_ProvidedInterface_R); + Operation_ProvidedInterface_A.AddOwnedConnector(Operation_ProvidedInterface_A_r); + // Operation setP_Integer + Operation_ProvidedInterface_A_setP_Integer.SetName("setP_Integer"); + Operation_ProvidedInterface_A_setP_Integer.SetVisibility(VisibilityKind.public_); + // Parameter v + Operation_ProvidedInterface_A_setP_Integer_v.SetName("v"); + Operation_ProvidedInterface_A_setP_Integer_v.SetVisibility(VisibilityKind.public_); + + Operation_ProvidedInterface_A_setP_Integer_v.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + Operation_ProvidedInterface_A_setP_Integer.AddOwnedParameter(Operation_ProvidedInterface_A_setP_Integer_v); + Operation_ProvidedInterface_A_setP_Integer.AddMethod(Operation_ProvidedInterface_A_setPActivity); + Operation_ProvidedInterface_A.AddOwnedOperation(Operation_ProvidedInterface_A_setP_Integer); + // Operation A_A + Operation_ProvidedInterface_A_A_A.SetName("A_A"); + Operation_ProvidedInterface_A_A_A.SetVisibility(VisibilityKind.public_); + // Parameter result + Operation_ProvidedInterface_A_A_A_result.SetName("result"); + Operation_ProvidedInterface_A_A_A_result.SetVisibility(VisibilityKind.public_); + + Operation_ProvidedInterface_A_A_A_result.SetType(Operation_ProvidedInterface_A); + Operation_ProvidedInterface_A_A_A_result.SetDirection(ParameterDirectionKind.return_); + Operation_ProvidedInterface_A_A_A.AddOwnedParameter(Operation_ProvidedInterface_A_A_A_result); + Operation_ProvidedInterface_A_A_A.ApplyStereotype(uml.standardprofile.StandardProfileModel.Instance().Stereotype_Create); + Operation_ProvidedInterface_A.AddOwnedOperation(Operation_ProvidedInterface_A_A_A); + Operation_ProvidedInterface.AddPackagedElement(Operation_ProvidedInterface_A); + // Association S + Operation_ProvidedInterface_S.SetName("S"); + Operation_ProvidedInterface_S.SetVisibility(VisibilityKind.public_); + Operation_ProvidedInterface_S.AddOwnedEnd(Operation_ProvidedInterface_S_x); + Operation_ProvidedInterface_S.AddOwnedEnd(Operation_ProvidedInterface_S_y); + Operation_ProvidedInterface.AddPackagedElement(Operation_ProvidedInterface_S); + } + + /* Start of user code : User-defined members + * This section may be used for user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } // Operation_ProvidedInterfaceModel +} diff --git a/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/02_Operation_ProvidedInterface/src/testPExecution.cs b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/02_Operation_ProvidedInterface/src/testPExecution.cs new file mode 100644 index 0000000..dbbd394 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/02_Operation_ProvidedInterface/src/testPExecution.cs @@ -0,0 +1,78 @@ +/* + * testPExecution.cs + * + * Auto-generated file + */ + +using fuml.semantics.commonbehavior; +using fuml; +using fuml.semantics.simpleclassifiers; +using fuml.semantics.values; + +/* Start of user code : User-defined includes and forward declarations + * This section may be used for includes and forward declarations. + * It will not be overwritten by future generation processes. + */ + +/* + * End of user code + */ + +namespace Operation_ProvidedInterface +{ + public class testPExecution : OpaqueBehaviorExecution + { + public testPExecution() + { + types.Add(Operation_ProvidedInterfaceModel.Instance().Operation_ProvidedInterface_main_testP); + /* Start of user code : Additional opaque behavior execution initializations + * This section may be used to do any additional opaque behavior execution initialization, + * for example initializing user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } + + public override void DoBody(List inputParameters, List outputParameters) + { + Console.WriteLine("Asserting a.b.p == 4"); + + // Test parameter p + int p = ((IntegerValue)inputParameters.ElementAt(0).values.ElementAt(0)).value; + Debug.Println("[doBody] argument p = " + p); + + Console.WriteLine("a.b.p == " + p); + Console.Write("Invocation made into a through q: "); + + if(p == 4) + { + Console.ForegroundColor = ConsoleColor.Green; + Console.WriteLine("Assertion successful."); + } + else + { + Console.ForegroundColor = ConsoleColor.Red; + Console.WriteLine("Assertion failed!"); + } + + Console.ResetColor(); + } + + protected override Value New_() + { + return new testPExecution(); + } + + /* Start of user code : User-defined members + * This section may be used for user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } // testPExecution +} diff --git a/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/03_Operation_RequiredInterface/.gitignore b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/03_Operation_RequiredInterface/.gitignore new file mode 100644 index 0000000..1736844 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/03_Operation_RequiredInterface/.gitignore @@ -0,0 +1,3 @@ +/.vs/ +/bin/ +/obj/ diff --git a/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/03_Operation_RequiredInterface/Operation_RequiredInterface.csproj b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/03_Operation_RequiredInterface/Operation_RequiredInterface.csproj new file mode 100644 index 0000000..fcb10dc --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/03_Operation_RequiredInterface/Operation_RequiredInterface.csproj @@ -0,0 +1,50 @@ + + + + Exe + net6.0 + enable + enable + + + + Operation_RequiredInterface.Debug + + + Operation_RequiredInterface.Release + + + + + ..\..\..\..\uml\bin\Debug\net6.0\uml.Debug.dll + + + + + ..\..\..\..\uml\bin\Release\net6.0\uml.Release.dll + + + + + + ..\..\..\..\fuml\bin\Debug\net6.0\fuml.Debug.dll + + + + + ..\..\..\..\fuml\bin\Release\net6.0\fuml.Release.dll + + + + + + ..\..\..\..\pscs\bin\Debug\net6.0\pscs.Debug.dll + + + + + ..\..\..\..\pscs\bin\Release\net6.0\pscs.Release.dll + + + + diff --git a/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/03_Operation_RequiredInterface/Operation_RequiredInterface.sln b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/03_Operation_RequiredInterface/Operation_RequiredInterface.sln new file mode 100644 index 0000000..f5171e9 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/03_Operation_RequiredInterface/Operation_RequiredInterface.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.32112.339 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Operation_RequiredInterface", "Operation_RequiredInterface.csproj", "{A1BE589D-E8DF-4CF0-9B2F-18ABA14EB1AE}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {A1BE589D-E8DF-4CF0-9B2F-18ABA14EB1AE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {A1BE589D-E8DF-4CF0-9B2F-18ABA14EB1AE}.Debug|Any CPU.Build.0 = Debug|Any CPU + {A1BE589D-E8DF-4CF0-9B2F-18ABA14EB1AE}.Release|Any CPU.ActiveCfg = Release|Any CPU + {A1BE589D-E8DF-4CF0-9B2F-18ABA14EB1AE}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {E0EF3727-5356-4C21-8BF3-6B79BD43A83F} + EndGlobalSection +EndGlobal diff --git a/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/03_Operation_RequiredInterface/model/Operation_RequiredInterface.di b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/03_Operation_RequiredInterface/model/Operation_RequiredInterface.di new file mode 100644 index 0000000..bf9abab --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/03_Operation_RequiredInterface/model/Operation_RequiredInterface.di @@ -0,0 +1,2 @@ + + diff --git a/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/03_Operation_RequiredInterface/model/Operation_RequiredInterface.notation b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/03_Operation_RequiredInterface/model/Operation_RequiredInterface.notation new file mode 100644 index 0000000..bf9abab --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/03_Operation_RequiredInterface/model/Operation_RequiredInterface.notation @@ -0,0 +1,2 @@ + + diff --git a/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/03_Operation_RequiredInterface/model/Operation_RequiredInterface.uml b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/03_Operation_RequiredInterface/model/Operation_RequiredInterface.uml new file mode 100644 index 0000000..cdfb4d8 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/03_Operation_RequiredInterface/model/Operation_RequiredInterface.uml @@ -0,0 +1,349 @@ + + + + + This test case addresses invocation of an Operation on a required interface of a Port. + + + Passing: true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + C# + Using + Console.WriteLine("Asserting d.a.b.p == 4"); + + // Test parameter p + int p = ((IntegerValue)inputParameters.ElementAt(0).values.ElementAt(0)).value; + Debug.Println("[doBody] argument p = " + p); + + Console.WriteLine("d.a.b.p == " + p); + Console.Write("Invocation forwarded out of c through q: "); + + if(p == 4) + { + Console.ForegroundColor = ConsoleColor.Green; + Console.WriteLine("Assertion successful."); + } + else + { + Console.ForegroundColor = ConsoleColor.Red; + Console.WriteLine("Assertion failed!"); + } + + Console.ResetColor(); + using fuml.semantics.simpleclassifiers; + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/03_Operation_RequiredInterface/src/Operation_RequiredInterface.cs b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/03_Operation_RequiredInterface/src/Operation_RequiredInterface.cs new file mode 100644 index 0000000..4a33ea4 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/03_Operation_RequiredInterface/src/Operation_RequiredInterface.cs @@ -0,0 +1,31 @@ +namespace Operation_RequiredInterface +{ + internal class Operation_RequiredInterface + { + static void PrintUsage() + { + Console.WriteLine( + "=============================================================================================\n" + + "USAGE: [ <...>]\n" + + "=============================================================================================\n" + ); + } + + static int Main(string[] args) + { + if(args.Length == 0) + { + Console.WriteLine("[ERROR] Must declare at least one behavior name.\n"); + PrintUsage(); + return -1; + } + + foreach (string arg in args) + { + Operation_RequiredInterfaceEnvironment.Instance().Execute(arg); + } + + return 0; + } + } +} diff --git a/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/03_Operation_RequiredInterface/src/Operation_RequiredInterfaceEnvironment.cs b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/03_Operation_RequiredInterface/src/Operation_RequiredInterfaceEnvironment.cs new file mode 100644 index 0000000..f02c263 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/03_Operation_RequiredInterface/src/Operation_RequiredInterfaceEnvironment.cs @@ -0,0 +1,93 @@ +/* + * Operation_RequiredInterfaceEnvironment.cs + * + * Auto-generated file + */ + +/* Start of user code : User-defined using directives + * This section may be used for using directives. + * It will not be overwritten by future generation processes. + */ + +/* + * End of user code + */ + +namespace Operation_RequiredInterface +{ + public class Operation_RequiredInterfaceEnvironment : pscs.environment.Environment + { + private static Operation_RequiredInterfaceEnvironment? instance; + + public static Operation_RequiredInterfaceEnvironment Instance() + { + if(instance is null) + { + instance = new(); + instance.inMemoryModel = Operation_RequiredInterfaceModel.Instance(); + } + + return instance; + } + + public Operation_RequiredInterfaceEnvironment() + { + /* + * Create custom opaque behavior execution instances and add them to the execution environment. + */ + AddPrimitiveBehaviorPrototype(new testPExecution()); + + /* Start of user code : Additional environment initializations + * This section may be used to do any additional environment initialization, + * for example initializing user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } + + public override void Execute(string behaviorName) + { + /* Start of user code : Context and inputs initializations + * This section may be used to initialize the execution context + * as well as input parameter values if required. + * It will not be overwritten by future generation processes. + */ + + //context = ...; + //inputs = ...; + + /* + * End of user code + */ + + /* + * Start execution via base class call + */ + base.Execute(behaviorName); + + /* Start of user code : Outputs evaluation + * This section may be used to evaluate output parameter values if required. + * It will not be overwritten by future generation processes. + */ + + //List theOutputs = outputs; + //... + + /* + * End of user code + */ + } + + /* Start of user code : User-defined members + * This section may be used for user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } // Operation_RequiredInterfaceEnvironment +} diff --git a/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/03_Operation_RequiredInterface/src/Operation_RequiredInterfaceModel.cs b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/03_Operation_RequiredInterface/src/Operation_RequiredInterfaceModel.cs new file mode 100644 index 0000000..dfb8848 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/03_Operation_RequiredInterface/src/Operation_RequiredInterfaceModel.cs @@ -0,0 +1,1145 @@ +/* + * Operation_RequiredInterfaceModel.cs + * + * Auto-generated file + */ + +using uml.actions; +using uml.packages; +using uml.structuredclassifiers; +using fuml.primitivetypes; +using uml.classification; +using fuml.library; +using uml.simpleclassifiers; +using uml.commonbehavior; +using uml.commonstructure; +using uml.values; +using uml.activities; +using uml.environment; + + +/* Start of user code : User-defined includes and forward declarations + * This section may be used for includes and forward declarations. + * It will not be overwritten by future generation processes. + */ + +/* + * End of user code + */ + +namespace Operation_RequiredInterface +{ + public class Operation_RequiredInterfaceModel : InMemoryModel + { + private static Operation_RequiredInterfaceModel? instance; + + /* + * Model Operation_RequiredInterface + */ + public Package Operation_RequiredInterface = new(); + public Interface Operation_RequiredInterface_I = new(); + public Operation Operation_RequiredInterface_I_setP_Integer = new(); + public Parameter Operation_RequiredInterface_I_setP_Integer_v = new(); + public Class_ Operation_RequiredInterface_IImpl = new(); + public Operation Operation_RequiredInterface_IImpl_setP_Integer = new(); + public Parameter Operation_RequiredInterface_IImpl_setP_Integer_v = new(); + public InterfaceRealization Operation_RequiredInterface_IImpl_IRealization = new(); + public Class_ Operation_RequiredInterface_B = new(); + public Property Operation_RequiredInterface_B_p = new(); + public Activity Operation_RequiredInterface_B_setPActivity = new(); + public Parameter Operation_RequiredInterface_B_setPActivity_v = new(); + public ActivityParameterNode Operation_RequiredInterface_B_setPActivity_vParameterNode = new(); + public LiteralInteger Operation_RequiredInterface_B_setPActivity_vParameterNode_LiteralInteger0 = new(); + public AddStructuralFeatureValueAction Operation_RequiredInterface_B_setPActivity_Set_this_p = new(); + public OutputPin Operation_RequiredInterface_B_setPActivity_Set_this_p_result = new(); + public LiteralUnlimitedNatural Operation_RequiredInterface_B_setPActivity_Set_this_p_result_LiteralUnlimitedNatural1 = new(); + public LiteralInteger Operation_RequiredInterface_B_setPActivity_Set_this_p_result_LiteralInteger2 = new(); + public InputPin Operation_RequiredInterface_B_setPActivity_Set_this_p_value = new(); + public LiteralInteger Operation_RequiredInterface_B_setPActivity_Set_this_p_value_LiteralInteger3 = new(); + public LiteralUnlimitedNatural Operation_RequiredInterface_B_setPActivity_Set_this_p_value_LiteralUnlimitedNatural4 = new(); + public InputPin Operation_RequiredInterface_B_setPActivity_Set_this_p_object = new(); + public LiteralInteger Operation_RequiredInterface_B_setPActivity_Set_this_p_object_LiteralInteger5 = new(); + public LiteralUnlimitedNatural Operation_RequiredInterface_B_setPActivity_Set_this_p_object_LiteralUnlimitedNatural6 = new(); + public ObjectFlow Operation_RequiredInterface_B_setPActivity_ObjectFlow7 = new(); + public LiteralInteger Operation_RequiredInterface_B_setPActivity_ObjectFlow7_LiteralInteger8 = new(); + public LiteralBoolean Operation_RequiredInterface_B_setPActivity_ObjectFlow7_LiteralBoolean9 = new(); + public ObjectFlow Operation_RequiredInterface_B_setPActivity_ObjectFlow10 = new(); + public LiteralBoolean Operation_RequiredInterface_B_setPActivity_ObjectFlow10_LiteralBoolean11 = new(); + public LiteralInteger Operation_RequiredInterface_B_setPActivity_ObjectFlow10_LiteralInteger12 = new(); + public ReadSelfAction Operation_RequiredInterface_B_setPActivity_this = new(); + public OutputPin Operation_RequiredInterface_B_setPActivity_this_result = new(); + public LiteralUnlimitedNatural Operation_RequiredInterface_B_setPActivity_this_result_LiteralUnlimitedNatural13 = new(); + public LiteralInteger Operation_RequiredInterface_B_setPActivity_this_result_LiteralInteger14 = new(); + public InterfaceRealization Operation_RequiredInterface_B_IRealization = new(); + public Operation Operation_RequiredInterface_B_setP_Integer = new(); + public Parameter Operation_RequiredInterface_B_setP_Integer_v = new(); + public Association Operation_RequiredInterface_R = new(); + public Property Operation_RequiredInterface_R_y = new(); + public Property Operation_RequiredInterface_R_x = new(); + public Association Operation_RequiredInterface_S = new(); + public Property Operation_RequiredInterface_S_x = new(); + public Property Operation_RequiredInterface_S_y = new(); + public Activity Operation_RequiredInterface_main = new(); + public ValueSpecificationAction Operation_RequiredInterface_main_Value_4 = new(); + public LiteralInteger Operation_RequiredInterface_main_Value_4_LiteralInteger15 = new(); + public OutputPin Operation_RequiredInterface_main_Value_4_result = new(); + public LiteralInteger Operation_RequiredInterface_main_Value_4_result_LiteralInteger16 = new(); + public LiteralUnlimitedNatural Operation_RequiredInterface_main_Value_4_result_LiteralUnlimitedNatural17 = new(); + public ObjectFlow Operation_RequiredInterface_main_ObjectFlow18 = new(); + public LiteralBoolean Operation_RequiredInterface_main_ObjectFlow18_LiteralBoolean19 = new(); + public LiteralInteger Operation_RequiredInterface_main_ObjectFlow18_LiteralInteger20 = new(); + public ObjectFlow Operation_RequiredInterface_main_ObjectFlow21 = new(); + public LiteralInteger Operation_RequiredInterface_main_ObjectFlow21_LiteralInteger22 = new(); + public LiteralBoolean Operation_RequiredInterface_main_ObjectFlow21_LiteralBoolean23 = new(); + public ReadStructuralFeatureAction Operation_RequiredInterface_main_Read_d_c = new(); + public InputPin Operation_RequiredInterface_main_Read_d_c_object = new(); + public LiteralInteger Operation_RequiredInterface_main_Read_d_c_object_LiteralInteger24 = new(); + public LiteralUnlimitedNatural Operation_RequiredInterface_main_Read_d_c_object_LiteralUnlimitedNatural25 = new(); + public OutputPin Operation_RequiredInterface_main_Read_d_c_result = new(); + public LiteralInteger Operation_RequiredInterface_main_Read_d_c_result_LiteralInteger26 = new(); + public LiteralUnlimitedNatural Operation_RequiredInterface_main_Read_d_c_result_LiteralUnlimitedNatural27 = new(); + public ObjectFlow Operation_RequiredInterface_main_ObjectFlow28 = new(); + public LiteralBoolean Operation_RequiredInterface_main_ObjectFlow28_LiteralBoolean29 = new(); + public LiteralInteger Operation_RequiredInterface_main_ObjectFlow28_LiteralInteger30 = new(); + public ReadStructuralFeatureAction Operation_RequiredInterface_main_Read_d_a = new(); + public InputPin Operation_RequiredInterface_main_Read_d_a_object = new(); + public LiteralInteger Operation_RequiredInterface_main_Read_d_a_object_LiteralInteger31 = new(); + public LiteralUnlimitedNatural Operation_RequiredInterface_main_Read_d_a_object_LiteralUnlimitedNatural32 = new(); + public OutputPin Operation_RequiredInterface_main_Read_d_a_result = new(); + public LiteralInteger Operation_RequiredInterface_main_Read_d_a_result_LiteralInteger33 = new(); + public LiteralUnlimitedNatural Operation_RequiredInterface_main_Read_d_a_result_LiteralUnlimitedNatural34 = new(); + public ObjectFlow Operation_RequiredInterface_main_ObjectFlow35 = new(); + public LiteralInteger Operation_RequiredInterface_main_ObjectFlow35_LiteralInteger36 = new(); + public LiteralBoolean Operation_RequiredInterface_main_ObjectFlow35_LiteralBoolean37 = new(); + public ReadStructuralFeatureAction Operation_RequiredInterface_main_Read_b_p = new(); + public OutputPin Operation_RequiredInterface_main_Read_b_p_result = new(); + public LiteralInteger Operation_RequiredInterface_main_Read_b_p_result_LiteralInteger38 = new(); + public LiteralUnlimitedNatural Operation_RequiredInterface_main_Read_b_p_result_LiteralUnlimitedNatural39 = new(); + public InputPin Operation_RequiredInterface_main_Read_b_p_object = new(); + public LiteralInteger Operation_RequiredInterface_main_Read_b_p_object_LiteralInteger40 = new(); + public LiteralUnlimitedNatural Operation_RequiredInterface_main_Read_b_p_object_LiteralUnlimitedNatural41 = new(); + public ObjectFlow Operation_RequiredInterface_main_ObjectFlow42 = new(); + public LiteralBoolean Operation_RequiredInterface_main_ObjectFlow42_LiteralBoolean43 = new(); + public LiteralInteger Operation_RequiredInterface_main_ObjectFlow42_LiteralInteger44 = new(); + public ReadStructuralFeatureAction Operation_RequiredInterface_main_Read_a_b = new(); + public InputPin Operation_RequiredInterface_main_Read_a_b_object = new(); + public LiteralInteger Operation_RequiredInterface_main_Read_a_b_object_LiteralInteger45 = new(); + public LiteralUnlimitedNatural Operation_RequiredInterface_main_Read_a_b_object_LiteralUnlimitedNatural46 = new(); + public OutputPin Operation_RequiredInterface_main_Read_a_b_result = new(); + public LiteralInteger Operation_RequiredInterface_main_Read_a_b_result_LiteralInteger47 = new(); + public LiteralUnlimitedNatural Operation_RequiredInterface_main_Read_a_b_result_LiteralUnlimitedNatural48 = new(); + public CallOperationAction Operation_RequiredInterface_main_D_ = new(); + public OutputPin Operation_RequiredInterface_main_D__result = new(); + public LiteralInteger Operation_RequiredInterface_main_D__result_LiteralInteger49 = new(); + public LiteralUnlimitedNatural Operation_RequiredInterface_main_D__result_LiteralUnlimitedNatural50 = new(); + public LiteralInteger Operation_RequiredInterface_main_D__result_LiteralInteger51 = new(); + public InputPin Operation_RequiredInterface_main_D__target = new(); + public LiteralUnlimitedNatural Operation_RequiredInterface_main_D__target_LiteralUnlimitedNatural52 = new(); + public LiteralInteger Operation_RequiredInterface_main_D__target_LiteralInteger53 = new(); + public CallOperationAction Operation_RequiredInterface_main_Call_setP_ = new(); + public InputPin Operation_RequiredInterface_main_Call_setP__target = new(); + public LiteralUnlimitedNatural Operation_RequiredInterface_main_Call_setP__target_LiteralUnlimitedNatural54 = new(); + public LiteralInteger Operation_RequiredInterface_main_Call_setP__target_LiteralInteger55 = new(); + public InputPin Operation_RequiredInterface_main_Call_setP__v = new(); + public LiteralUnlimitedNatural Operation_RequiredInterface_main_Call_setP__v_LiteralUnlimitedNatural56 = new(); + public LiteralInteger Operation_RequiredInterface_main_Call_setP__v_LiteralInteger57 = new(); + public LiteralInteger Operation_RequiredInterface_main_Call_setP__v_LiteralInteger58 = new(); + public ForkNode Operation_RequiredInterface_main_Fork_d = new(); + public ObjectFlow Operation_RequiredInterface_main_ObjectFlow59 = new(); + public LiteralInteger Operation_RequiredInterface_main_ObjectFlow59_LiteralInteger60 = new(); + public LiteralBoolean Operation_RequiredInterface_main_ObjectFlow59_LiteralBoolean61 = new(); + public ObjectFlow Operation_RequiredInterface_main_ObjectFlow62 = new(); + public LiteralInteger Operation_RequiredInterface_main_ObjectFlow62_LiteralInteger63 = new(); + public LiteralBoolean Operation_RequiredInterface_main_ObjectFlow62_LiteralBoolean64 = new(); + public ObjectFlow Operation_RequiredInterface_main_ObjectFlow65 = new(); + public LiteralBoolean Operation_RequiredInterface_main_ObjectFlow65_LiteralBoolean66 = new(); + public LiteralInteger Operation_RequiredInterface_main_ObjectFlow65_LiteralInteger67 = new(); + public CallBehaviorAction Operation_RequiredInterface_main_Call_testP = new(); + public InputPin Operation_RequiredInterface_main_Call_testP_p = new(); + public LiteralInteger Operation_RequiredInterface_main_Call_testP_p_LiteralInteger68 = new(); + public LiteralInteger Operation_RequiredInterface_main_Call_testP_p_LiteralInteger69 = new(); + public LiteralUnlimitedNatural Operation_RequiredInterface_main_Call_testP_p_LiteralUnlimitedNatural70 = new(); + public OpaqueBehavior Operation_RequiredInterface_main_testP = new(); + public Parameter Operation_RequiredInterface_main_testP_p = new(); + public ControlFlow Operation_RequiredInterface_main_ControlFlow71 = new(); + public CreateObjectAction Operation_RequiredInterface_main_Create_D = new(); + public OutputPin Operation_RequiredInterface_main_Create_D_result = new(); + public LiteralUnlimitedNatural Operation_RequiredInterface_main_Create_D_result_LiteralUnlimitedNatural72 = new(); + public LiteralInteger Operation_RequiredInterface_main_Create_D_result_LiteralInteger73 = new(); + public ObjectFlow Operation_RequiredInterface_main_ObjectFlow74 = new(); + public LiteralBoolean Operation_RequiredInterface_main_ObjectFlow74_LiteralBoolean75 = new(); + public LiteralInteger Operation_RequiredInterface_main_ObjectFlow74_LiteralInteger76 = new(); + public Class_ Operation_RequiredInterface_D = new(); + public Property Operation_RequiredInterface_D_c = new(); + public Connector Operation_RequiredInterface_D_s = new(); + public ConnectorEnd Operation_RequiredInterface_D_s_ConnectorEnd77 = new(); + public ConnectorEnd Operation_RequiredInterface_D_s_ConnectorEnd78 = new(); + public Property Operation_RequiredInterface_D_a = new(); + public Operation Operation_RequiredInterface_D_D_D = new(); + public Parameter Operation_RequiredInterface_D_D_D_result = new(); + public Class_ Operation_RequiredInterface_C = new(); + public Activity Operation_RequiredInterface_C_setPActivity = new(); + public ObjectFlow Operation_RequiredInterface_C_setPActivity_ObjectFlow79 = new(); + public LiteralBoolean Operation_RequiredInterface_C_setPActivity_ObjectFlow79_LiteralBoolean80 = new(); + public LiteralInteger Operation_RequiredInterface_C_setPActivity_ObjectFlow79_LiteralInteger81 = new(); + public ObjectFlow Operation_RequiredInterface_C_setPActivity_ObjectFlow82 = new(); + public LiteralBoolean Operation_RequiredInterface_C_setPActivity_ObjectFlow82_LiteralBoolean83 = new(); + public LiteralInteger Operation_RequiredInterface_C_setPActivity_ObjectFlow82_LiteralInteger84 = new(); + public ReadSelfAction Operation_RequiredInterface_C_setPActivity_this = new(); + public OutputPin Operation_RequiredInterface_C_setPActivity_this_result = new(); + public LiteralInteger Operation_RequiredInterface_C_setPActivity_this_result_LiteralInteger85 = new(); + public LiteralUnlimitedNatural Operation_RequiredInterface_C_setPActivity_this_result_LiteralUnlimitedNatural86 = new(); + public CallOperationAction Operation_RequiredInterface_C_setPActivity_Call_I_setP_on_q = new(); + public InputPin Operation_RequiredInterface_C_setPActivity_Call_I_setP_on_q_v = new(); + public LiteralInteger Operation_RequiredInterface_C_setPActivity_Call_I_setP_on_q_v_LiteralInteger87 = new(); + public LiteralUnlimitedNatural Operation_RequiredInterface_C_setPActivity_Call_I_setP_on_q_v_LiteralUnlimitedNatural88 = new(); + public LiteralInteger Operation_RequiredInterface_C_setPActivity_Call_I_setP_on_q_v_LiteralInteger89 = new(); + public InputPin Operation_RequiredInterface_C_setPActivity_Call_I_setP_on_q_target = new(); + public LiteralUnlimitedNatural Operation_RequiredInterface_C_setPActivity_Call_I_setP_on_q_target_LiteralUnlimitedNatural90 = new(); + public LiteralInteger Operation_RequiredInterface_C_setPActivity_Call_I_setP_on_q_target_LiteralInteger91 = new(); + public ActivityParameterNode Operation_RequiredInterface_C_setPActivity_vParameterNode = new(); + public LiteralInteger Operation_RequiredInterface_C_setPActivity_vParameterNode_LiteralInteger92 = new(); + public Parameter Operation_RequiredInterface_C_setPActivity_v = new(); + public Port Operation_RequiredInterface_C_q = new(); + public InterfaceRealization Operation_RequiredInterface_C_IRealization = new(); + public Operation Operation_RequiredInterface_C_setP_Integer = new(); + public Parameter Operation_RequiredInterface_C_setP_Integer_v = new(); + public Class_ Operation_RequiredInterface_A = new(); + public Port Operation_RequiredInterface_A_q = new(); + public Property Operation_RequiredInterface_A_b = new(); + public Connector Operation_RequiredInterface_A_r = new(); + public ConnectorEnd Operation_RequiredInterface_A_r_ConnectorEnd93 = new(); + public ConnectorEnd Operation_RequiredInterface_A_r_ConnectorEnd94 = new(); + public Activity Operation_RequiredInterface_A_setPActivity = new(); + public ObjectFlow Operation_RequiredInterface_A_setPActivity_ObjectFlow95 = new(); + public LiteralBoolean Operation_RequiredInterface_A_setPActivity_ObjectFlow95_LiteralBoolean96 = new(); + public LiteralInteger Operation_RequiredInterface_A_setPActivity_ObjectFlow95_LiteralInteger97 = new(); + public CallOperationAction Operation_RequiredInterface_A_setPActivity_Call_I_setP_on_q = new(); + public InputPin Operation_RequiredInterface_A_setPActivity_Call_I_setP_on_q_target = new(); + public LiteralInteger Operation_RequiredInterface_A_setPActivity_Call_I_setP_on_q_target_LiteralInteger98 = new(); + public LiteralUnlimitedNatural Operation_RequiredInterface_A_setPActivity_Call_I_setP_on_q_target_LiteralUnlimitedNatural99 = new(); + public InputPin Operation_RequiredInterface_A_setPActivity_Call_I_setP_on_q_v = new(); + public LiteralUnlimitedNatural Operation_RequiredInterface_A_setPActivity_Call_I_setP_on_q_v_LiteralUnlimitedNatural100 = new(); + public LiteralInteger Operation_RequiredInterface_A_setPActivity_Call_I_setP_on_q_v_LiteralInteger101 = new(); + public LiteralInteger Operation_RequiredInterface_A_setPActivity_Call_I_setP_on_q_v_LiteralInteger102 = new(); + public ObjectFlow Operation_RequiredInterface_A_setPActivity_ObjectFlow103 = new(); + public LiteralInteger Operation_RequiredInterface_A_setPActivity_ObjectFlow103_LiteralInteger104 = new(); + public LiteralBoolean Operation_RequiredInterface_A_setPActivity_ObjectFlow103_LiteralBoolean105 = new(); + public Parameter Operation_RequiredInterface_A_setPActivity_v = new(); + public ActivityParameterNode Operation_RequiredInterface_A_setPActivity_vParameterNode = new(); + public LiteralInteger Operation_RequiredInterface_A_setPActivity_vParameterNode_LiteralInteger106 = new(); + public ReadSelfAction Operation_RequiredInterface_A_setPActivity_this = new(); + public OutputPin Operation_RequiredInterface_A_setPActivity_this_result = new(); + public LiteralUnlimitedNatural Operation_RequiredInterface_A_setPActivity_this_result_LiteralUnlimitedNatural107 = new(); + public LiteralInteger Operation_RequiredInterface_A_setPActivity_this_result_LiteralInteger108 = new(); + public Operation Operation_RequiredInterface_A_setP_Integer = new(); + public Parameter Operation_RequiredInterface_A_setP_Integer_v = new(); + + public static Operation_RequiredInterfaceModel Instance() + { + if (instance is null) + { + instance = new(); + instance.InitializeInMemoryModel(); + } + + return instance; + } + + public Operation_RequiredInterfaceModel() + { + /* Start of user code : Additional model initializations + * This section may be used to do any additional model initialization, + * for example initializing user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } + + private void InitializeInMemoryModel() + { + // Create public members + /* + * Model Operation_RequiredInterface + */ + AddToElementRepository("Operation_RequiredInterface", Operation_RequiredInterface); + AddToElementRepository("I", Operation_RequiredInterface_I); + AddToElementRepository("setP_Integer", Operation_RequiredInterface_I_setP_Integer); + AddToElementRepository("v", Operation_RequiredInterface_I_setP_Integer_v); + AddToElementRepository("IImpl", Operation_RequiredInterface_IImpl); + AddToElementRepository("setP_Integer", Operation_RequiredInterface_IImpl_setP_Integer); + AddToElementRepository("v", Operation_RequiredInterface_IImpl_setP_Integer_v); + AddToElementRepository("IRealization", Operation_RequiredInterface_IImpl_IRealization); + AddToElementRepository("B", Operation_RequiredInterface_B); + AddToElementRepository("p", Operation_RequiredInterface_B_p); + AddToElementRepository("setPActivity", Operation_RequiredInterface_B_setPActivity); + AddToElementRepository("v", Operation_RequiredInterface_B_setPActivity_v); + AddToElementRepository("vParameterNode", Operation_RequiredInterface_B_setPActivity_vParameterNode); + AddToElementRepository("LiteralInteger0", Operation_RequiredInterface_B_setPActivity_vParameterNode_LiteralInteger0); + AddToElementRepository("Set this.p", Operation_RequiredInterface_B_setPActivity_Set_this_p); + AddToElementRepository("result", Operation_RequiredInterface_B_setPActivity_Set_this_p_result); + AddToElementRepository("LiteralUnlimitedNatural1", Operation_RequiredInterface_B_setPActivity_Set_this_p_result_LiteralUnlimitedNatural1); + AddToElementRepository("LiteralInteger2", Operation_RequiredInterface_B_setPActivity_Set_this_p_result_LiteralInteger2); + AddToElementRepository("value", Operation_RequiredInterface_B_setPActivity_Set_this_p_value); + AddToElementRepository("LiteralInteger3", Operation_RequiredInterface_B_setPActivity_Set_this_p_value_LiteralInteger3); + AddToElementRepository("LiteralUnlimitedNatural4", Operation_RequiredInterface_B_setPActivity_Set_this_p_value_LiteralUnlimitedNatural4); + AddToElementRepository("object", Operation_RequiredInterface_B_setPActivity_Set_this_p_object); + AddToElementRepository("LiteralInteger5", Operation_RequiredInterface_B_setPActivity_Set_this_p_object_LiteralInteger5); + AddToElementRepository("LiteralUnlimitedNatural6", Operation_RequiredInterface_B_setPActivity_Set_this_p_object_LiteralUnlimitedNatural6); + AddToElementRepository("ObjectFlow7", Operation_RequiredInterface_B_setPActivity_ObjectFlow7); + AddToElementRepository("LiteralInteger8", Operation_RequiredInterface_B_setPActivity_ObjectFlow7_LiteralInteger8); + AddToElementRepository("LiteralBoolean9", Operation_RequiredInterface_B_setPActivity_ObjectFlow7_LiteralBoolean9); + AddToElementRepository("ObjectFlow10", Operation_RequiredInterface_B_setPActivity_ObjectFlow10); + AddToElementRepository("LiteralBoolean11", Operation_RequiredInterface_B_setPActivity_ObjectFlow10_LiteralBoolean11); + AddToElementRepository("LiteralInteger12", Operation_RequiredInterface_B_setPActivity_ObjectFlow10_LiteralInteger12); + AddToElementRepository("this", Operation_RequiredInterface_B_setPActivity_this); + AddToElementRepository("result", Operation_RequiredInterface_B_setPActivity_this_result); + AddToElementRepository("LiteralUnlimitedNatural13", Operation_RequiredInterface_B_setPActivity_this_result_LiteralUnlimitedNatural13); + AddToElementRepository("LiteralInteger14", Operation_RequiredInterface_B_setPActivity_this_result_LiteralInteger14); + AddToElementRepository("IRealization", Operation_RequiredInterface_B_IRealization); + AddToElementRepository("setP_Integer", Operation_RequiredInterface_B_setP_Integer); + AddToElementRepository("v", Operation_RequiredInterface_B_setP_Integer_v); + AddToElementRepository("R", Operation_RequiredInterface_R); + AddToElementRepository("y", Operation_RequiredInterface_R_y); + AddToElementRepository("x", Operation_RequiredInterface_R_x); + AddToElementRepository("S", Operation_RequiredInterface_S); + AddToElementRepository("x", Operation_RequiredInterface_S_x); + AddToElementRepository("y", Operation_RequiredInterface_S_y); + AddToElementRepository("main", Operation_RequiredInterface_main); + AddToElementRepository("Value(4)", Operation_RequiredInterface_main_Value_4); + AddToElementRepository("LiteralInteger15", Operation_RequiredInterface_main_Value_4_LiteralInteger15); + AddToElementRepository("result", Operation_RequiredInterface_main_Value_4_result); + AddToElementRepository("LiteralInteger16", Operation_RequiredInterface_main_Value_4_result_LiteralInteger16); + AddToElementRepository("LiteralUnlimitedNatural17", Operation_RequiredInterface_main_Value_4_result_LiteralUnlimitedNatural17); + AddToElementRepository("ObjectFlow18", Operation_RequiredInterface_main_ObjectFlow18); + AddToElementRepository("LiteralBoolean19", Operation_RequiredInterface_main_ObjectFlow18_LiteralBoolean19); + AddToElementRepository("LiteralInteger20", Operation_RequiredInterface_main_ObjectFlow18_LiteralInteger20); + AddToElementRepository("ObjectFlow21", Operation_RequiredInterface_main_ObjectFlow21); + AddToElementRepository("LiteralInteger22", Operation_RequiredInterface_main_ObjectFlow21_LiteralInteger22); + AddToElementRepository("LiteralBoolean23", Operation_RequiredInterface_main_ObjectFlow21_LiteralBoolean23); + AddToElementRepository("Read d.c", Operation_RequiredInterface_main_Read_d_c); + AddToElementRepository("object", Operation_RequiredInterface_main_Read_d_c_object); + AddToElementRepository("LiteralInteger24", Operation_RequiredInterface_main_Read_d_c_object_LiteralInteger24); + AddToElementRepository("LiteralUnlimitedNatural25", Operation_RequiredInterface_main_Read_d_c_object_LiteralUnlimitedNatural25); + AddToElementRepository("result", Operation_RequiredInterface_main_Read_d_c_result); + AddToElementRepository("LiteralInteger26", Operation_RequiredInterface_main_Read_d_c_result_LiteralInteger26); + AddToElementRepository("LiteralUnlimitedNatural27", Operation_RequiredInterface_main_Read_d_c_result_LiteralUnlimitedNatural27); + AddToElementRepository("ObjectFlow28", Operation_RequiredInterface_main_ObjectFlow28); + AddToElementRepository("LiteralBoolean29", Operation_RequiredInterface_main_ObjectFlow28_LiteralBoolean29); + AddToElementRepository("LiteralInteger30", Operation_RequiredInterface_main_ObjectFlow28_LiteralInteger30); + AddToElementRepository("Read d.a", Operation_RequiredInterface_main_Read_d_a); + AddToElementRepository("object", Operation_RequiredInterface_main_Read_d_a_object); + AddToElementRepository("LiteralInteger31", Operation_RequiredInterface_main_Read_d_a_object_LiteralInteger31); + AddToElementRepository("LiteralUnlimitedNatural32", Operation_RequiredInterface_main_Read_d_a_object_LiteralUnlimitedNatural32); + AddToElementRepository("result", Operation_RequiredInterface_main_Read_d_a_result); + AddToElementRepository("LiteralInteger33", Operation_RequiredInterface_main_Read_d_a_result_LiteralInteger33); + AddToElementRepository("LiteralUnlimitedNatural34", Operation_RequiredInterface_main_Read_d_a_result_LiteralUnlimitedNatural34); + AddToElementRepository("ObjectFlow35", Operation_RequiredInterface_main_ObjectFlow35); + AddToElementRepository("LiteralInteger36", Operation_RequiredInterface_main_ObjectFlow35_LiteralInteger36); + AddToElementRepository("LiteralBoolean37", Operation_RequiredInterface_main_ObjectFlow35_LiteralBoolean37); + AddToElementRepository("Read b.p", Operation_RequiredInterface_main_Read_b_p); + AddToElementRepository("result", Operation_RequiredInterface_main_Read_b_p_result); + AddToElementRepository("LiteralInteger38", Operation_RequiredInterface_main_Read_b_p_result_LiteralInteger38); + AddToElementRepository("LiteralUnlimitedNatural39", Operation_RequiredInterface_main_Read_b_p_result_LiteralUnlimitedNatural39); + AddToElementRepository("object", Operation_RequiredInterface_main_Read_b_p_object); + AddToElementRepository("LiteralInteger40", Operation_RequiredInterface_main_Read_b_p_object_LiteralInteger40); + AddToElementRepository("LiteralUnlimitedNatural41", Operation_RequiredInterface_main_Read_b_p_object_LiteralUnlimitedNatural41); + AddToElementRepository("ObjectFlow42", Operation_RequiredInterface_main_ObjectFlow42); + AddToElementRepository("LiteralBoolean43", Operation_RequiredInterface_main_ObjectFlow42_LiteralBoolean43); + AddToElementRepository("LiteralInteger44", Operation_RequiredInterface_main_ObjectFlow42_LiteralInteger44); + AddToElementRepository("Read a.b", Operation_RequiredInterface_main_Read_a_b); + AddToElementRepository("object", Operation_RequiredInterface_main_Read_a_b_object); + AddToElementRepository("LiteralInteger45", Operation_RequiredInterface_main_Read_a_b_object_LiteralInteger45); + AddToElementRepository("LiteralUnlimitedNatural46", Operation_RequiredInterface_main_Read_a_b_object_LiteralUnlimitedNatural46); + AddToElementRepository("result", Operation_RequiredInterface_main_Read_a_b_result); + AddToElementRepository("LiteralInteger47", Operation_RequiredInterface_main_Read_a_b_result_LiteralInteger47); + AddToElementRepository("LiteralUnlimitedNatural48", Operation_RequiredInterface_main_Read_a_b_result_LiteralUnlimitedNatural48); + AddToElementRepository("D()", Operation_RequiredInterface_main_D_); + AddToElementRepository("result", Operation_RequiredInterface_main_D__result); + AddToElementRepository("LiteralInteger49", Operation_RequiredInterface_main_D__result_LiteralInteger49); + AddToElementRepository("LiteralUnlimitedNatural50", Operation_RequiredInterface_main_D__result_LiteralUnlimitedNatural50); + AddToElementRepository("LiteralInteger51", Operation_RequiredInterface_main_D__result_LiteralInteger51); + AddToElementRepository("target", Operation_RequiredInterface_main_D__target); + AddToElementRepository("LiteralUnlimitedNatural52", Operation_RequiredInterface_main_D__target_LiteralUnlimitedNatural52); + AddToElementRepository("LiteralInteger53", Operation_RequiredInterface_main_D__target_LiteralInteger53); + AddToElementRepository("Call setP()", Operation_RequiredInterface_main_Call_setP_); + AddToElementRepository("target", Operation_RequiredInterface_main_Call_setP__target); + AddToElementRepository("LiteralUnlimitedNatural54", Operation_RequiredInterface_main_Call_setP__target_LiteralUnlimitedNatural54); + AddToElementRepository("LiteralInteger55", Operation_RequiredInterface_main_Call_setP__target_LiteralInteger55); + AddToElementRepository("v", Operation_RequiredInterface_main_Call_setP__v); + AddToElementRepository("LiteralUnlimitedNatural56", Operation_RequiredInterface_main_Call_setP__v_LiteralUnlimitedNatural56); + AddToElementRepository("LiteralInteger57", Operation_RequiredInterface_main_Call_setP__v_LiteralInteger57); + AddToElementRepository("LiteralInteger58", Operation_RequiredInterface_main_Call_setP__v_LiteralInteger58); + AddToElementRepository("Fork d", Operation_RequiredInterface_main_Fork_d); + AddToElementRepository("ObjectFlow59", Operation_RequiredInterface_main_ObjectFlow59); + AddToElementRepository("LiteralInteger60", Operation_RequiredInterface_main_ObjectFlow59_LiteralInteger60); + AddToElementRepository("LiteralBoolean61", Operation_RequiredInterface_main_ObjectFlow59_LiteralBoolean61); + AddToElementRepository("ObjectFlow62", Operation_RequiredInterface_main_ObjectFlow62); + AddToElementRepository("LiteralInteger63", Operation_RequiredInterface_main_ObjectFlow62_LiteralInteger63); + AddToElementRepository("LiteralBoolean64", Operation_RequiredInterface_main_ObjectFlow62_LiteralBoolean64); + AddToElementRepository("ObjectFlow65", Operation_RequiredInterface_main_ObjectFlow65); + AddToElementRepository("LiteralBoolean66", Operation_RequiredInterface_main_ObjectFlow65_LiteralBoolean66); + AddToElementRepository("LiteralInteger67", Operation_RequiredInterface_main_ObjectFlow65_LiteralInteger67); + AddToElementRepository("Call testP", Operation_RequiredInterface_main_Call_testP); + AddToElementRepository("p", Operation_RequiredInterface_main_Call_testP_p); + AddToElementRepository("LiteralInteger68", Operation_RequiredInterface_main_Call_testP_p_LiteralInteger68); + AddToElementRepository("LiteralInteger69", Operation_RequiredInterface_main_Call_testP_p_LiteralInteger69); + AddToElementRepository("LiteralUnlimitedNatural70", Operation_RequiredInterface_main_Call_testP_p_LiteralUnlimitedNatural70); + AddToElementRepository("testP", Operation_RequiredInterface_main_testP); + AddToElementRepository("p", Operation_RequiredInterface_main_testP_p); + AddToElementRepository("ControlFlow71", Operation_RequiredInterface_main_ControlFlow71); + AddToElementRepository("Create D", Operation_RequiredInterface_main_Create_D); + AddToElementRepository("result", Operation_RequiredInterface_main_Create_D_result); + AddToElementRepository("LiteralUnlimitedNatural72", Operation_RequiredInterface_main_Create_D_result_LiteralUnlimitedNatural72); + AddToElementRepository("LiteralInteger73", Operation_RequiredInterface_main_Create_D_result_LiteralInteger73); + AddToElementRepository("ObjectFlow74", Operation_RequiredInterface_main_ObjectFlow74); + AddToElementRepository("LiteralBoolean75", Operation_RequiredInterface_main_ObjectFlow74_LiteralBoolean75); + AddToElementRepository("LiteralInteger76", Operation_RequiredInterface_main_ObjectFlow74_LiteralInteger76); + AddToElementRepository("D", Operation_RequiredInterface_D); + AddToElementRepository("c", Operation_RequiredInterface_D_c); + AddToElementRepository("s", Operation_RequiredInterface_D_s); + AddToElementRepository("ConnectorEnd77", Operation_RequiredInterface_D_s_ConnectorEnd77); + AddToElementRepository("ConnectorEnd78", Operation_RequiredInterface_D_s_ConnectorEnd78); + AddToElementRepository("a", Operation_RequiredInterface_D_a); + AddToElementRepository("D_D", Operation_RequiredInterface_D_D_D); + AddToElementRepository("result", Operation_RequiredInterface_D_D_D_result); + AddToElementRepository("C", Operation_RequiredInterface_C); + AddToElementRepository("setPActivity", Operation_RequiredInterface_C_setPActivity); + AddToElementRepository("ObjectFlow79", Operation_RequiredInterface_C_setPActivity_ObjectFlow79); + AddToElementRepository("LiteralBoolean80", Operation_RequiredInterface_C_setPActivity_ObjectFlow79_LiteralBoolean80); + AddToElementRepository("LiteralInteger81", Operation_RequiredInterface_C_setPActivity_ObjectFlow79_LiteralInteger81); + AddToElementRepository("ObjectFlow82", Operation_RequiredInterface_C_setPActivity_ObjectFlow82); + AddToElementRepository("LiteralBoolean83", Operation_RequiredInterface_C_setPActivity_ObjectFlow82_LiteralBoolean83); + AddToElementRepository("LiteralInteger84", Operation_RequiredInterface_C_setPActivity_ObjectFlow82_LiteralInteger84); + AddToElementRepository("this", Operation_RequiredInterface_C_setPActivity_this); + AddToElementRepository("result", Operation_RequiredInterface_C_setPActivity_this_result); + AddToElementRepository("LiteralInteger85", Operation_RequiredInterface_C_setPActivity_this_result_LiteralInteger85); + AddToElementRepository("LiteralUnlimitedNatural86", Operation_RequiredInterface_C_setPActivity_this_result_LiteralUnlimitedNatural86); + AddToElementRepository("Call I::setP on q", Operation_RequiredInterface_C_setPActivity_Call_I_setP_on_q); + AddToElementRepository("v", Operation_RequiredInterface_C_setPActivity_Call_I_setP_on_q_v); + AddToElementRepository("LiteralInteger87", Operation_RequiredInterface_C_setPActivity_Call_I_setP_on_q_v_LiteralInteger87); + AddToElementRepository("LiteralUnlimitedNatural88", Operation_RequiredInterface_C_setPActivity_Call_I_setP_on_q_v_LiteralUnlimitedNatural88); + AddToElementRepository("LiteralInteger89", Operation_RequiredInterface_C_setPActivity_Call_I_setP_on_q_v_LiteralInteger89); + AddToElementRepository("target", Operation_RequiredInterface_C_setPActivity_Call_I_setP_on_q_target); + AddToElementRepository("LiteralUnlimitedNatural90", Operation_RequiredInterface_C_setPActivity_Call_I_setP_on_q_target_LiteralUnlimitedNatural90); + AddToElementRepository("LiteralInteger91", Operation_RequiredInterface_C_setPActivity_Call_I_setP_on_q_target_LiteralInteger91); + AddToElementRepository("vParameterNode", Operation_RequiredInterface_C_setPActivity_vParameterNode); + AddToElementRepository("LiteralInteger92", Operation_RequiredInterface_C_setPActivity_vParameterNode_LiteralInteger92); + AddToElementRepository("v", Operation_RequiredInterface_C_setPActivity_v); + AddToElementRepository("q", Operation_RequiredInterface_C_q); + AddToElementRepository("IRealization", Operation_RequiredInterface_C_IRealization); + AddToElementRepository("setP_Integer", Operation_RequiredInterface_C_setP_Integer); + AddToElementRepository("v", Operation_RequiredInterface_C_setP_Integer_v); + AddToElementRepository("A", Operation_RequiredInterface_A); + AddToElementRepository("q", Operation_RequiredInterface_A_q); + AddToElementRepository("b", Operation_RequiredInterface_A_b); + AddToElementRepository("r", Operation_RequiredInterface_A_r); + AddToElementRepository("ConnectorEnd93", Operation_RequiredInterface_A_r_ConnectorEnd93); + AddToElementRepository("ConnectorEnd94", Operation_RequiredInterface_A_r_ConnectorEnd94); + AddToElementRepository("setPActivity", Operation_RequiredInterface_A_setPActivity); + AddToElementRepository("ObjectFlow95", Operation_RequiredInterface_A_setPActivity_ObjectFlow95); + AddToElementRepository("LiteralBoolean96", Operation_RequiredInterface_A_setPActivity_ObjectFlow95_LiteralBoolean96); + AddToElementRepository("LiteralInteger97", Operation_RequiredInterface_A_setPActivity_ObjectFlow95_LiteralInteger97); + AddToElementRepository("Call I::setP on q", Operation_RequiredInterface_A_setPActivity_Call_I_setP_on_q); + AddToElementRepository("target", Operation_RequiredInterface_A_setPActivity_Call_I_setP_on_q_target); + AddToElementRepository("LiteralInteger98", Operation_RequiredInterface_A_setPActivity_Call_I_setP_on_q_target_LiteralInteger98); + AddToElementRepository("LiteralUnlimitedNatural99", Operation_RequiredInterface_A_setPActivity_Call_I_setP_on_q_target_LiteralUnlimitedNatural99); + AddToElementRepository("v", Operation_RequiredInterface_A_setPActivity_Call_I_setP_on_q_v); + AddToElementRepository("LiteralUnlimitedNatural100", Operation_RequiredInterface_A_setPActivity_Call_I_setP_on_q_v_LiteralUnlimitedNatural100); + AddToElementRepository("LiteralInteger101", Operation_RequiredInterface_A_setPActivity_Call_I_setP_on_q_v_LiteralInteger101); + AddToElementRepository("LiteralInteger102", Operation_RequiredInterface_A_setPActivity_Call_I_setP_on_q_v_LiteralInteger102); + AddToElementRepository("ObjectFlow103", Operation_RequiredInterface_A_setPActivity_ObjectFlow103); + AddToElementRepository("LiteralInteger104", Operation_RequiredInterface_A_setPActivity_ObjectFlow103_LiteralInteger104); + AddToElementRepository("LiteralBoolean105", Operation_RequiredInterface_A_setPActivity_ObjectFlow103_LiteralBoolean105); + AddToElementRepository("v", Operation_RequiredInterface_A_setPActivity_v); + AddToElementRepository("vParameterNode", Operation_RequiredInterface_A_setPActivity_vParameterNode); + AddToElementRepository("LiteralInteger106", Operation_RequiredInterface_A_setPActivity_vParameterNode_LiteralInteger106); + AddToElementRepository("this", Operation_RequiredInterface_A_setPActivity_this); + AddToElementRepository("result", Operation_RequiredInterface_A_setPActivity_this_result); + AddToElementRepository("LiteralUnlimitedNatural107", Operation_RequiredInterface_A_setPActivity_this_result_LiteralUnlimitedNatural107); + AddToElementRepository("LiteralInteger108", Operation_RequiredInterface_A_setPActivity_this_result_LiteralInteger108); + AddToElementRepository("setP_Integer", Operation_RequiredInterface_A_setP_Integer); + AddToElementRepository("v", Operation_RequiredInterface_A_setP_Integer_v); + + // Initialize public members + /* + * Model Operation_RequiredInterface + */ + Operation_RequiredInterface.SetName("Operation_RequiredInterface"); + Operation_RequiredInterface.SetVisibility(VisibilityKind.public_); + // Interface I + Operation_RequiredInterface_I.SetName("I"); + Operation_RequiredInterface_I.SetVisibility(VisibilityKind.public_); + // Operation setP_Integer + Operation_RequiredInterface_I_setP_Integer.SetName("setP_Integer"); + Operation_RequiredInterface_I_setP_Integer.SetVisibility(VisibilityKind.public_); + // Parameter v + Operation_RequiredInterface_I_setP_Integer_v.SetName("v"); + Operation_RequiredInterface_I_setP_Integer_v.SetVisibility(VisibilityKind.public_); + + Operation_RequiredInterface_I_setP_Integer_v.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + Operation_RequiredInterface_I_setP_Integer.AddOwnedParameter(Operation_RequiredInterface_I_setP_Integer_v); + Operation_RequiredInterface_I.AddOwnedOperation(Operation_RequiredInterface_I_setP_Integer); + Operation_RequiredInterface.AddPackagedElement(Operation_RequiredInterface_I); + // Class IImpl + Operation_RequiredInterface_IImpl.SetName("IImpl"); + Operation_RequiredInterface_IImpl.SetVisibility(VisibilityKind.public_); + Operation_RequiredInterface_IImpl_IRealization.SetName("IRealization"); + Operation_RequiredInterface_IImpl_IRealization.SetVisibility(VisibilityKind.public_); + Operation_RequiredInterface_IImpl_IRealization.SetContract(Operation_RequiredInterface_I); + + Operation_RequiredInterface_IImpl.AddInterfaceRealization(Operation_RequiredInterface_IImpl_IRealization); + + // Operation setP_Integer + Operation_RequiredInterface_IImpl_setP_Integer.SetName("setP_Integer"); + Operation_RequiredInterface_IImpl_setP_Integer.SetVisibility(VisibilityKind.public_); + // Parameter v + Operation_RequiredInterface_IImpl_setP_Integer_v.SetName("v"); + Operation_RequiredInterface_IImpl_setP_Integer_v.SetVisibility(VisibilityKind.public_); + + Operation_RequiredInterface_IImpl_setP_Integer_v.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + Operation_RequiredInterface_IImpl_setP_Integer.AddOwnedParameter(Operation_RequiredInterface_IImpl_setP_Integer_v); + Operation_RequiredInterface_IImpl.AddOwnedOperation(Operation_RequiredInterface_IImpl_setP_Integer); + Operation_RequiredInterface.AddPackagedElement(Operation_RequiredInterface_IImpl); + // Class B + Operation_RequiredInterface_B.SetName("B"); + Operation_RequiredInterface_B.SetVisibility(VisibilityKind.public_); + + // Property p + Operation_RequiredInterface_B_p.SetName("p"); + Operation_RequiredInterface_B_p.SetVisibility(VisibilityKind.public_); + + Operation_RequiredInterface_B_p.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + Operation_RequiredInterface_B.AddOwnedAttribute(Operation_RequiredInterface_B_p); + // Activity setPActivity + Operation_RequiredInterface_B_setPActivity.SetName("setPActivity"); + Operation_RequiredInterface_B_setPActivity.SetVisibility(VisibilityKind.public_); + + // Parameter v + Operation_RequiredInterface_B_setPActivity_v.SetName("v"); + Operation_RequiredInterface_B_setPActivity_v.SetVisibility(VisibilityKind.public_); + + Operation_RequiredInterface_B_setPActivity_v.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + Operation_RequiredInterface_B_setPActivity.AddOwnedParameter(Operation_RequiredInterface_B_setPActivity_v); + // ActivityParameterNode vParameterNode + Operation_RequiredInterface_B_setPActivity_vParameterNode.SetName("vParameterNode"); + Operation_RequiredInterface_B_setPActivity_vParameterNode.SetVisibility(VisibilityKind.public_); + + Operation_RequiredInterface_B_setPActivity_vParameterNode.SetParameter(Operation_RequiredInterface_B_setPActivity_v); + Operation_RequiredInterface_B_setPActivity.AddNode(Operation_RequiredInterface_B_setPActivity_vParameterNode); + // AddStructuralFeatureValueAction Set this.p + Operation_RequiredInterface_B_setPActivity_Set_this_p.SetName("Set this.p"); + Operation_RequiredInterface_B_setPActivity_Set_this_p.SetVisibility(VisibilityKind.public_); + Operation_RequiredInterface_B_setPActivity_Set_this_p.SetStructuralFeature(Operation_RequiredInterface_B_p); + // InputPin object + Operation_RequiredInterface_B_setPActivity_Set_this_p_object.SetName("object"); + Operation_RequiredInterface_B_setPActivity_Set_this_p_object.SetVisibility(VisibilityKind.public_); + Operation_RequiredInterface_B_setPActivity_Set_this_p_object.SetType(Operation_RequiredInterface_B); + Operation_RequiredInterface_B_setPActivity_Set_this_p.SetObject(Operation_RequiredInterface_B_setPActivity_Set_this_p_object); + // InputPin value + Operation_RequiredInterface_B_setPActivity_Set_this_p_value.SetName("value"); + Operation_RequiredInterface_B_setPActivity_Set_this_p_value.SetVisibility(VisibilityKind.public_); + Operation_RequiredInterface_B_setPActivity_Set_this_p_value.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + Operation_RequiredInterface_B_setPActivity_Set_this_p.SetValue(Operation_RequiredInterface_B_setPActivity_Set_this_p_value); + // OutputPin result + Operation_RequiredInterface_B_setPActivity_Set_this_p_result.SetName("result"); + Operation_RequiredInterface_B_setPActivity_Set_this_p_result.SetVisibility(VisibilityKind.public_); + Operation_RequiredInterface_B_setPActivity_Set_this_p_result.SetType(Operation_RequiredInterface_B); + Operation_RequiredInterface_B_setPActivity_Set_this_p.SetResult(Operation_RequiredInterface_B_setPActivity_Set_this_p_result); + Operation_RequiredInterface_B_setPActivity_Set_this_p.SetIsReplaceAll(true); + Operation_RequiredInterface_B_setPActivity.AddNode(Operation_RequiredInterface_B_setPActivity_Set_this_p); + // ReadSelfAction this + Operation_RequiredInterface_B_setPActivity_this.SetName("this"); + Operation_RequiredInterface_B_setPActivity_this.SetVisibility(VisibilityKind.public_); + // OutputPin result + Operation_RequiredInterface_B_setPActivity_this_result.SetName("result"); + Operation_RequiredInterface_B_setPActivity_this_result.SetVisibility(VisibilityKind.public_); + Operation_RequiredInterface_B_setPActivity_this_result.SetType(Operation_RequiredInterface_B); + Operation_RequiredInterface_B_setPActivity_this.SetResult(Operation_RequiredInterface_B_setPActivity_this_result); + Operation_RequiredInterface_B_setPActivity.AddNode(Operation_RequiredInterface_B_setPActivity_this); + // ObjectFlow ObjectFlow7 from result to object + Operation_RequiredInterface_B_setPActivity_ObjectFlow7.SetName("ObjectFlow7"); + Operation_RequiredInterface_B_setPActivity_ObjectFlow7.SetVisibility(VisibilityKind.public_); + + Operation_RequiredInterface_B_setPActivity_ObjectFlow7.SetSource(Operation_RequiredInterface_B_setPActivity_this_result); + Operation_RequiredInterface_B_setPActivity_ObjectFlow7.SetTarget(Operation_RequiredInterface_B_setPActivity_Set_this_p_object); + // LiteralBoolean LiteralBoolean9 + Operation_RequiredInterface_B_setPActivity_ObjectFlow7_LiteralBoolean9.SetName("LiteralBoolean9"); + Operation_RequiredInterface_B_setPActivity_ObjectFlow7_LiteralBoolean9.SetVisibility(VisibilityKind.public_); + Operation_RequiredInterface_B_setPActivity_ObjectFlow7_LiteralBoolean9.SetValue(true); + Operation_RequiredInterface_B_setPActivity_ObjectFlow7.SetGuard(Operation_RequiredInterface_B_setPActivity_ObjectFlow7_LiteralBoolean9); + Operation_RequiredInterface_B_setPActivity.AddEdge(Operation_RequiredInterface_B_setPActivity_ObjectFlow7); + // ObjectFlow ObjectFlow10 from vParameterNode to value + Operation_RequiredInterface_B_setPActivity_ObjectFlow10.SetName("ObjectFlow10"); + Operation_RequiredInterface_B_setPActivity_ObjectFlow10.SetVisibility(VisibilityKind.public_); + + Operation_RequiredInterface_B_setPActivity_ObjectFlow10.SetSource(Operation_RequiredInterface_B_setPActivity_vParameterNode); + Operation_RequiredInterface_B_setPActivity_ObjectFlow10.SetTarget(Operation_RequiredInterface_B_setPActivity_Set_this_p_value); + // LiteralBoolean LiteralBoolean11 + Operation_RequiredInterface_B_setPActivity_ObjectFlow10_LiteralBoolean11.SetName("LiteralBoolean11"); + Operation_RequiredInterface_B_setPActivity_ObjectFlow10_LiteralBoolean11.SetVisibility(VisibilityKind.public_); + Operation_RequiredInterface_B_setPActivity_ObjectFlow10_LiteralBoolean11.SetValue(true); + Operation_RequiredInterface_B_setPActivity_ObjectFlow10.SetGuard(Operation_RequiredInterface_B_setPActivity_ObjectFlow10_LiteralBoolean11); + Operation_RequiredInterface_B_setPActivity.AddEdge(Operation_RequiredInterface_B_setPActivity_ObjectFlow10); + Operation_RequiredInterface_B.AddOwnedBehavior(Operation_RequiredInterface_B_setPActivity); + Operation_RequiredInterface_B_IRealization.SetName("IRealization"); + Operation_RequiredInterface_B_IRealization.SetVisibility(VisibilityKind.public_); + Operation_RequiredInterface_B_IRealization.SetContract(Operation_RequiredInterface_I); + + Operation_RequiredInterface_B.AddInterfaceRealization(Operation_RequiredInterface_B_IRealization); + + // Operation setP_Integer + Operation_RequiredInterface_B_setP_Integer.SetName("setP_Integer"); + Operation_RequiredInterface_B_setP_Integer.SetVisibility(VisibilityKind.public_); + // Parameter v + Operation_RequiredInterface_B_setP_Integer_v.SetName("v"); + Operation_RequiredInterface_B_setP_Integer_v.SetVisibility(VisibilityKind.public_); + + Operation_RequiredInterface_B_setP_Integer_v.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + Operation_RequiredInterface_B_setP_Integer.AddOwnedParameter(Operation_RequiredInterface_B_setP_Integer_v); + Operation_RequiredInterface_B_setP_Integer.AddMethod(Operation_RequiredInterface_B_setPActivity); + Operation_RequiredInterface_B.AddOwnedOperation(Operation_RequiredInterface_B_setP_Integer); + Operation_RequiredInterface.AddPackagedElement(Operation_RequiredInterface_B); + // Association R + Operation_RequiredInterface_R.SetName("R"); + Operation_RequiredInterface_R.SetVisibility(VisibilityKind.public_); + Operation_RequiredInterface_R.AddOwnedEnd(Operation_RequiredInterface_R_x); + Operation_RequiredInterface_R.AddOwnedEnd(Operation_RequiredInterface_R_y); + Operation_RequiredInterface.AddPackagedElement(Operation_RequiredInterface_R); + // Association S + Operation_RequiredInterface_S.SetName("S"); + Operation_RequiredInterface_S.SetVisibility(VisibilityKind.public_); + Operation_RequiredInterface_S.AddOwnedEnd(Operation_RequiredInterface_S_x); + Operation_RequiredInterface_S.AddOwnedEnd(Operation_RequiredInterface_S_y); + Operation_RequiredInterface.AddPackagedElement(Operation_RequiredInterface_S); + // Activity main + Operation_RequiredInterface_main.SetName("main"); + Operation_RequiredInterface_main.SetVisibility(VisibilityKind.public_); + // FunctionBehavior testP + Operation_RequiredInterface_main_testP.SetName("testP"); + Operation_RequiredInterface_main_testP.SetVisibility(VisibilityKind.public_); + + // Parameter p + Operation_RequiredInterface_main_testP_p.SetName("p"); + Operation_RequiredInterface_main_testP_p.SetVisibility(VisibilityKind.public_); + + Operation_RequiredInterface_main_testP_p.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + Operation_RequiredInterface_main_testP.AddOwnedParameter(Operation_RequiredInterface_main_testP_p); + Operation_RequiredInterface_main_testP.AddLanguage("C#"); + Operation_RequiredInterface_main_testP.AddLanguage("Using"); + Operation_RequiredInterface_main_testP.AddBody("Console.WriteLine(\"Asserting d.a.b.p == 4\"); // Test parameter p int p = ((IntegerValue)inputParameters.ElementAt(0).values.ElementAt(0)).value; Debug.Println(\"[doBody] argument p = \" + p); Console.WriteLine(\"d.a.b.p == \" + p); Console.Write(\"Invocation forwarded out of c through q: \"); if(p == 4) { Console.ForegroundColor = ConsoleColor.Green; Console.WriteLine(\"Assertion successful.\"); } else { Console.ForegroundColor = ConsoleColor.Red; Console.WriteLine(\"Assertion failed!\"); } Console.ResetColor();"); + Operation_RequiredInterface_main_testP.AddBody("using fuml.semantics.simpleclassifiers; "); + Operation_RequiredInterface_main.AddOwnedBehavior(Operation_RequiredInterface_main_testP); + // CallOperationAction D() + Operation_RequiredInterface_main_D_.SetName("D()"); + Operation_RequiredInterface_main_D_.SetVisibility(VisibilityKind.public_); + + // OutputPin result + Operation_RequiredInterface_main_D__result.SetName("result"); + Operation_RequiredInterface_main_D__result.SetVisibility(VisibilityKind.public_); + Operation_RequiredInterface_main_D__result.SetType(Operation_RequiredInterface_D); + Operation_RequiredInterface_main_D_.AddResult(Operation_RequiredInterface_main_D__result); + Operation_RequiredInterface_main_D_.SetOperation(Operation_RequiredInterface_D_D_D); + // InputPin target + Operation_RequiredInterface_main_D__target.SetName("target"); + Operation_RequiredInterface_main_D__target.SetVisibility(VisibilityKind.public_); + Operation_RequiredInterface_main_D__target.SetType(Operation_RequiredInterface_D); + Operation_RequiredInterface_main_D_.SetTarget(Operation_RequiredInterface_main_D__target); + Operation_RequiredInterface_main.AddNode(Operation_RequiredInterface_main_D_); + // CallOperationAction Call setP() + Operation_RequiredInterface_main_Call_setP_.SetName("Call setP()"); + Operation_RequiredInterface_main_Call_setP_.SetVisibility(VisibilityKind.public_); + Operation_RequiredInterface_main_Call_setP_.SetOperation(Operation_RequiredInterface_C_setP_Integer); + // InputPin target + Operation_RequiredInterface_main_Call_setP__target.SetName("target"); + Operation_RequiredInterface_main_Call_setP__target.SetVisibility(VisibilityKind.public_); + Operation_RequiredInterface_main_Call_setP__target.SetType(Operation_RequiredInterface_C); + Operation_RequiredInterface_main_Call_setP_.SetTarget(Operation_RequiredInterface_main_Call_setP__target); + // InputPin v + Operation_RequiredInterface_main_Call_setP__v.SetName("v"); + Operation_RequiredInterface_main_Call_setP__v.SetVisibility(VisibilityKind.public_); + Operation_RequiredInterface_main_Call_setP__v.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + Operation_RequiredInterface_main_Call_setP_.AddArgument(Operation_RequiredInterface_main_Call_setP__v); + Operation_RequiredInterface_main.AddNode(Operation_RequiredInterface_main_Call_setP_); + // ForkNode Fork d + Operation_RequiredInterface_main_Fork_d.SetName("Fork d"); + Operation_RequiredInterface_main_Fork_d.SetVisibility(VisibilityKind.public_); + Operation_RequiredInterface_main.AddNode(Operation_RequiredInterface_main_Fork_d); + // ValueSpecificationAction Value(4) + Operation_RequiredInterface_main_Value_4.SetName("Value(4)"); + Operation_RequiredInterface_main_Value_4.SetVisibility(VisibilityKind.public_); + // LiteralInteger LiteralInteger15 + Operation_RequiredInterface_main_Value_4_LiteralInteger15.SetName("LiteralInteger15"); + Operation_RequiredInterface_main_Value_4_LiteralInteger15.SetVisibility(VisibilityKind.public_); + Operation_RequiredInterface_main_Value_4_LiteralInteger15.SetValue(4); + Operation_RequiredInterface_main_Value_4.SetValue(Operation_RequiredInterface_main_Value_4_LiteralInteger15); + // OutputPin result + Operation_RequiredInterface_main_Value_4_result.SetName("result"); + Operation_RequiredInterface_main_Value_4_result.SetVisibility(VisibilityKind.public_); + Operation_RequiredInterface_main_Value_4_result.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + Operation_RequiredInterface_main_Value_4.SetResult(Operation_RequiredInterface_main_Value_4_result); + Operation_RequiredInterface_main.AddNode(Operation_RequiredInterface_main_Value_4); + // ReadStructuralFeatureAction Read d.c + Operation_RequiredInterface_main_Read_d_c.SetName("Read d.c"); + Operation_RequiredInterface_main_Read_d_c.SetVisibility(VisibilityKind.public_); + Operation_RequiredInterface_main_Read_d_c.SetStructuralFeature(Operation_RequiredInterface_D_c); + // InputPin object + Operation_RequiredInterface_main_Read_d_c_object.SetName("object"); + Operation_RequiredInterface_main_Read_d_c_object.SetVisibility(VisibilityKind.public_); + Operation_RequiredInterface_main_Read_d_c_object.SetType(Operation_RequiredInterface_D); + Operation_RequiredInterface_main_Read_d_c.SetObject(Operation_RequiredInterface_main_Read_d_c_object); + // OutputPin result + Operation_RequiredInterface_main_Read_d_c_result.SetName("result"); + Operation_RequiredInterface_main_Read_d_c_result.SetVisibility(VisibilityKind.public_); + Operation_RequiredInterface_main_Read_d_c_result.SetType(Operation_RequiredInterface_C); + Operation_RequiredInterface_main_Read_d_c.SetResult(Operation_RequiredInterface_main_Read_d_c_result); + Operation_RequiredInterface_main.AddNode(Operation_RequiredInterface_main_Read_d_c); + // ReadStructuralFeatureAction Read d.a + Operation_RequiredInterface_main_Read_d_a.SetName("Read d.a"); + Operation_RequiredInterface_main_Read_d_a.SetVisibility(VisibilityKind.public_); + Operation_RequiredInterface_main_Read_d_a.SetStructuralFeature(Operation_RequiredInterface_D_a); + // InputPin object + Operation_RequiredInterface_main_Read_d_a_object.SetName("object"); + Operation_RequiredInterface_main_Read_d_a_object.SetVisibility(VisibilityKind.public_); + Operation_RequiredInterface_main_Read_d_a_object.SetType(Operation_RequiredInterface_D); + Operation_RequiredInterface_main_Read_d_a.SetObject(Operation_RequiredInterface_main_Read_d_a_object); + // OutputPin result + Operation_RequiredInterface_main_Read_d_a_result.SetName("result"); + Operation_RequiredInterface_main_Read_d_a_result.SetVisibility(VisibilityKind.public_); + Operation_RequiredInterface_main_Read_d_a_result.SetType(Operation_RequiredInterface_A); + Operation_RequiredInterface_main_Read_d_a.SetResult(Operation_RequiredInterface_main_Read_d_a_result); + Operation_RequiredInterface_main.AddNode(Operation_RequiredInterface_main_Read_d_a); + // CallBehaviorAction Call testP + Operation_RequiredInterface_main_Call_testP.SetName("Call testP"); + Operation_RequiredInterface_main_Call_testP.SetVisibility(VisibilityKind.public_); + Operation_RequiredInterface_main_Call_testP.SetBehavior(Operation_RequiredInterface_main_testP); + // InputPin p + Operation_RequiredInterface_main_Call_testP_p.SetName("p"); + Operation_RequiredInterface_main_Call_testP_p.SetVisibility(VisibilityKind.public_); + Operation_RequiredInterface_main_Call_testP_p.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + Operation_RequiredInterface_main_Call_testP.AddArgument(Operation_RequiredInterface_main_Call_testP_p); + Operation_RequiredInterface_main.AddNode(Operation_RequiredInterface_main_Call_testP); + // ReadStructuralFeatureAction Read b.p + Operation_RequiredInterface_main_Read_b_p.SetName("Read b.p"); + Operation_RequiredInterface_main_Read_b_p.SetVisibility(VisibilityKind.public_); + Operation_RequiredInterface_main_Read_b_p.SetStructuralFeature(Operation_RequiredInterface_B_p); + // InputPin object + Operation_RequiredInterface_main_Read_b_p_object.SetName("object"); + Operation_RequiredInterface_main_Read_b_p_object.SetVisibility(VisibilityKind.public_); + Operation_RequiredInterface_main_Read_b_p_object.SetType(Operation_RequiredInterface_B); + Operation_RequiredInterface_main_Read_b_p.SetObject(Operation_RequiredInterface_main_Read_b_p_object); + // OutputPin result + Operation_RequiredInterface_main_Read_b_p_result.SetName("result"); + Operation_RequiredInterface_main_Read_b_p_result.SetVisibility(VisibilityKind.public_); + Operation_RequiredInterface_main_Read_b_p_result.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + Operation_RequiredInterface_main_Read_b_p.SetResult(Operation_RequiredInterface_main_Read_b_p_result); + Operation_RequiredInterface_main.AddNode(Operation_RequiredInterface_main_Read_b_p); + // CreateObjectAction Create D + Operation_RequiredInterface_main_Create_D.SetName("Create D"); + Operation_RequiredInterface_main_Create_D.SetVisibility(VisibilityKind.public_); + Operation_RequiredInterface_main_Create_D.SetClassifier(Operation_RequiredInterface_D); + // OutputPin result + Operation_RequiredInterface_main_Create_D_result.SetName("result"); + Operation_RequiredInterface_main_Create_D_result.SetVisibility(VisibilityKind.public_); + Operation_RequiredInterface_main_Create_D_result.SetType(Operation_RequiredInterface_D); + Operation_RequiredInterface_main_Create_D.SetResult(Operation_RequiredInterface_main_Create_D_result); + Operation_RequiredInterface_main.AddNode(Operation_RequiredInterface_main_Create_D); + // ReadStructuralFeatureAction Read a.b + Operation_RequiredInterface_main_Read_a_b.SetName("Read a.b"); + Operation_RequiredInterface_main_Read_a_b.SetVisibility(VisibilityKind.public_); + Operation_RequiredInterface_main_Read_a_b.SetStructuralFeature(Operation_RequiredInterface_A_b); + // InputPin object + Operation_RequiredInterface_main_Read_a_b_object.SetName("object"); + Operation_RequiredInterface_main_Read_a_b_object.SetVisibility(VisibilityKind.public_); + Operation_RequiredInterface_main_Read_a_b_object.SetType(Operation_RequiredInterface_A); + Operation_RequiredInterface_main_Read_a_b.SetObject(Operation_RequiredInterface_main_Read_a_b_object); + // OutputPin result + Operation_RequiredInterface_main_Read_a_b_result.SetName("result"); + Operation_RequiredInterface_main_Read_a_b_result.SetVisibility(VisibilityKind.public_); + Operation_RequiredInterface_main_Read_a_b_result.SetType(Operation_RequiredInterface_B); + Operation_RequiredInterface_main_Read_a_b.SetResult(Operation_RequiredInterface_main_Read_a_b_result); + Operation_RequiredInterface_main.AddNode(Operation_RequiredInterface_main_Read_a_b); + // ObjectFlow ObjectFlow59 from result to object + Operation_RequiredInterface_main_ObjectFlow59.SetName("ObjectFlow59"); + Operation_RequiredInterface_main_ObjectFlow59.SetVisibility(VisibilityKind.public_); + + Operation_RequiredInterface_main_ObjectFlow59.SetSource(Operation_RequiredInterface_main_Read_d_a_result); + Operation_RequiredInterface_main_ObjectFlow59.SetTarget(Operation_RequiredInterface_main_Read_a_b_object); + // LiteralBoolean LiteralBoolean61 + Operation_RequiredInterface_main_ObjectFlow59_LiteralBoolean61.SetName("LiteralBoolean61"); + Operation_RequiredInterface_main_ObjectFlow59_LiteralBoolean61.SetVisibility(VisibilityKind.public_); + Operation_RequiredInterface_main_ObjectFlow59_LiteralBoolean61.SetValue(true); + Operation_RequiredInterface_main_ObjectFlow59.SetGuard(Operation_RequiredInterface_main_ObjectFlow59_LiteralBoolean61); + Operation_RequiredInterface_main.AddEdge(Operation_RequiredInterface_main_ObjectFlow59); + // ObjectFlow ObjectFlow62 from result to target + Operation_RequiredInterface_main_ObjectFlow62.SetName("ObjectFlow62"); + Operation_RequiredInterface_main_ObjectFlow62.SetVisibility(VisibilityKind.public_); + + Operation_RequiredInterface_main_ObjectFlow62.SetSource(Operation_RequiredInterface_main_Read_d_c_result); + Operation_RequiredInterface_main_ObjectFlow62.SetTarget(Operation_RequiredInterface_main_Call_setP__target); + // LiteralBoolean LiteralBoolean64 + Operation_RequiredInterface_main_ObjectFlow62_LiteralBoolean64.SetName("LiteralBoolean64"); + Operation_RequiredInterface_main_ObjectFlow62_LiteralBoolean64.SetVisibility(VisibilityKind.public_); + Operation_RequiredInterface_main_ObjectFlow62_LiteralBoolean64.SetValue(true); + Operation_RequiredInterface_main_ObjectFlow62.SetGuard(Operation_RequiredInterface_main_ObjectFlow62_LiteralBoolean64); + Operation_RequiredInterface_main.AddEdge(Operation_RequiredInterface_main_ObjectFlow62); + // ObjectFlow ObjectFlow18 from result to target + Operation_RequiredInterface_main_ObjectFlow18.SetName("ObjectFlow18"); + Operation_RequiredInterface_main_ObjectFlow18.SetVisibility(VisibilityKind.public_); + + Operation_RequiredInterface_main_ObjectFlow18.SetSource(Operation_RequiredInterface_main_Create_D_result); + Operation_RequiredInterface_main_ObjectFlow18.SetTarget(Operation_RequiredInterface_main_D__target); + // LiteralBoolean LiteralBoolean19 + Operation_RequiredInterface_main_ObjectFlow18_LiteralBoolean19.SetName("LiteralBoolean19"); + Operation_RequiredInterface_main_ObjectFlow18_LiteralBoolean19.SetVisibility(VisibilityKind.public_); + Operation_RequiredInterface_main_ObjectFlow18_LiteralBoolean19.SetValue(true); + Operation_RequiredInterface_main_ObjectFlow18.SetGuard(Operation_RequiredInterface_main_ObjectFlow18_LiteralBoolean19); + Operation_RequiredInterface_main.AddEdge(Operation_RequiredInterface_main_ObjectFlow18); + // ObjectFlow ObjectFlow21 from result to object + Operation_RequiredInterface_main_ObjectFlow21.SetName("ObjectFlow21"); + Operation_RequiredInterface_main_ObjectFlow21.SetVisibility(VisibilityKind.public_); + + Operation_RequiredInterface_main_ObjectFlow21.SetSource(Operation_RequiredInterface_main_Read_a_b_result); + Operation_RequiredInterface_main_ObjectFlow21.SetTarget(Operation_RequiredInterface_main_Read_b_p_object); + // LiteralBoolean LiteralBoolean23 + Operation_RequiredInterface_main_ObjectFlow21_LiteralBoolean23.SetName("LiteralBoolean23"); + Operation_RequiredInterface_main_ObjectFlow21_LiteralBoolean23.SetVisibility(VisibilityKind.public_); + Operation_RequiredInterface_main_ObjectFlow21_LiteralBoolean23.SetValue(true); + Operation_RequiredInterface_main_ObjectFlow21.SetGuard(Operation_RequiredInterface_main_ObjectFlow21_LiteralBoolean23); + Operation_RequiredInterface_main.AddEdge(Operation_RequiredInterface_main_ObjectFlow21); + // ObjectFlow ObjectFlow28 from result to p + Operation_RequiredInterface_main_ObjectFlow28.SetName("ObjectFlow28"); + Operation_RequiredInterface_main_ObjectFlow28.SetVisibility(VisibilityKind.public_); + + Operation_RequiredInterface_main_ObjectFlow28.SetSource(Operation_RequiredInterface_main_Read_b_p_result); + Operation_RequiredInterface_main_ObjectFlow28.SetTarget(Operation_RequiredInterface_main_Call_testP_p); + // LiteralBoolean LiteralBoolean29 + Operation_RequiredInterface_main_ObjectFlow28_LiteralBoolean29.SetName("LiteralBoolean29"); + Operation_RequiredInterface_main_ObjectFlow28_LiteralBoolean29.SetVisibility(VisibilityKind.public_); + Operation_RequiredInterface_main_ObjectFlow28_LiteralBoolean29.SetValue(true); + Operation_RequiredInterface_main_ObjectFlow28.SetGuard(Operation_RequiredInterface_main_ObjectFlow28_LiteralBoolean29); + Operation_RequiredInterface_main.AddEdge(Operation_RequiredInterface_main_ObjectFlow28); + // ObjectFlow ObjectFlow65 from result to v + Operation_RequiredInterface_main_ObjectFlow65.SetName("ObjectFlow65"); + Operation_RequiredInterface_main_ObjectFlow65.SetVisibility(VisibilityKind.public_); + + Operation_RequiredInterface_main_ObjectFlow65.SetSource(Operation_RequiredInterface_main_Value_4_result); + Operation_RequiredInterface_main_ObjectFlow65.SetTarget(Operation_RequiredInterface_main_Call_setP__v); + // LiteralBoolean LiteralBoolean66 + Operation_RequiredInterface_main_ObjectFlow65_LiteralBoolean66.SetName("LiteralBoolean66"); + Operation_RequiredInterface_main_ObjectFlow65_LiteralBoolean66.SetVisibility(VisibilityKind.public_); + Operation_RequiredInterface_main_ObjectFlow65_LiteralBoolean66.SetValue(true); + Operation_RequiredInterface_main_ObjectFlow65.SetGuard(Operation_RequiredInterface_main_ObjectFlow65_LiteralBoolean66); + Operation_RequiredInterface_main.AddEdge(Operation_RequiredInterface_main_ObjectFlow65); + // ObjectFlow ObjectFlow35 from result to Fork d + Operation_RequiredInterface_main_ObjectFlow35.SetName("ObjectFlow35"); + Operation_RequiredInterface_main_ObjectFlow35.SetVisibility(VisibilityKind.public_); + + Operation_RequiredInterface_main_ObjectFlow35.SetSource(Operation_RequiredInterface_main_D__result); + Operation_RequiredInterface_main_ObjectFlow35.SetTarget(Operation_RequiredInterface_main_Fork_d); + // LiteralBoolean LiteralBoolean37 + Operation_RequiredInterface_main_ObjectFlow35_LiteralBoolean37.SetName("LiteralBoolean37"); + Operation_RequiredInterface_main_ObjectFlow35_LiteralBoolean37.SetVisibility(VisibilityKind.public_); + Operation_RequiredInterface_main_ObjectFlow35_LiteralBoolean37.SetValue(true); + Operation_RequiredInterface_main_ObjectFlow35.SetGuard(Operation_RequiredInterface_main_ObjectFlow35_LiteralBoolean37); + Operation_RequiredInterface_main.AddEdge(Operation_RequiredInterface_main_ObjectFlow35); + // ControlFlow ControlFlow71 from Call setP() to Read d.a + Operation_RequiredInterface_main_ControlFlow71.SetName("ControlFlow71"); + Operation_RequiredInterface_main_ControlFlow71.SetVisibility(VisibilityKind.public_); + + Operation_RequiredInterface_main_ControlFlow71.SetSource(Operation_RequiredInterface_main_Call_setP_); + Operation_RequiredInterface_main_ControlFlow71.SetTarget(Operation_RequiredInterface_main_Read_d_a); + Operation_RequiredInterface_main.AddEdge(Operation_RequiredInterface_main_ControlFlow71); + // ObjectFlow ObjectFlow42 from Fork d to object + Operation_RequiredInterface_main_ObjectFlow42.SetName("ObjectFlow42"); + Operation_RequiredInterface_main_ObjectFlow42.SetVisibility(VisibilityKind.public_); + + Operation_RequiredInterface_main_ObjectFlow42.SetSource(Operation_RequiredInterface_main_Fork_d); + Operation_RequiredInterface_main_ObjectFlow42.SetTarget(Operation_RequiredInterface_main_Read_d_a_object); + // LiteralBoolean LiteralBoolean43 + Operation_RequiredInterface_main_ObjectFlow42_LiteralBoolean43.SetName("LiteralBoolean43"); + Operation_RequiredInterface_main_ObjectFlow42_LiteralBoolean43.SetVisibility(VisibilityKind.public_); + Operation_RequiredInterface_main_ObjectFlow42_LiteralBoolean43.SetValue(true); + Operation_RequiredInterface_main_ObjectFlow42.SetGuard(Operation_RequiredInterface_main_ObjectFlow42_LiteralBoolean43); + Operation_RequiredInterface_main.AddEdge(Operation_RequiredInterface_main_ObjectFlow42); + // ObjectFlow ObjectFlow74 from Fork d to object + Operation_RequiredInterface_main_ObjectFlow74.SetName("ObjectFlow74"); + Operation_RequiredInterface_main_ObjectFlow74.SetVisibility(VisibilityKind.public_); + + Operation_RequiredInterface_main_ObjectFlow74.SetSource(Operation_RequiredInterface_main_Fork_d); + Operation_RequiredInterface_main_ObjectFlow74.SetTarget(Operation_RequiredInterface_main_Read_d_c_object); + // LiteralBoolean LiteralBoolean75 + Operation_RequiredInterface_main_ObjectFlow74_LiteralBoolean75.SetName("LiteralBoolean75"); + Operation_RequiredInterface_main_ObjectFlow74_LiteralBoolean75.SetVisibility(VisibilityKind.public_); + Operation_RequiredInterface_main_ObjectFlow74_LiteralBoolean75.SetValue(true); + Operation_RequiredInterface_main_ObjectFlow74.SetGuard(Operation_RequiredInterface_main_ObjectFlow74_LiteralBoolean75); + Operation_RequiredInterface_main.AddEdge(Operation_RequiredInterface_main_ObjectFlow74); + Operation_RequiredInterface.AddPackagedElement(Operation_RequiredInterface_main); + // Class D + Operation_RequiredInterface_D.SetName("D"); + Operation_RequiredInterface_D.SetVisibility(VisibilityKind.public_); + + // Property c + Operation_RequiredInterface_D_c.SetName("c"); + Operation_RequiredInterface_D_c.SetVisibility(VisibilityKind.public_); + + Operation_RequiredInterface_D_c.SetType(Operation_RequiredInterface_C); + Operation_RequiredInterface_D_c.SetAggregation(AggregationKind.composite); + Operation_RequiredInterface_D.AddOwnedAttribute(Operation_RequiredInterface_D_c); + // Property a + Operation_RequiredInterface_D_a.SetName("a"); + Operation_RequiredInterface_D_a.SetVisibility(VisibilityKind.public_); + + Operation_RequiredInterface_D_a.SetType(Operation_RequiredInterface_A); + Operation_RequiredInterface_D_a.SetAggregation(AggregationKind.composite); + Operation_RequiredInterface_D.AddOwnedAttribute(Operation_RequiredInterface_D_a); + + Operation_RequiredInterface_D_s.SetName("s"); + Operation_RequiredInterface_D_s.SetVisibility(VisibilityKind.public_); + + Operation_RequiredInterface_D_s_ConnectorEnd77.SetRole(Operation_RequiredInterface_C_q); + Operation_RequiredInterface_D_s_ConnectorEnd77.SetPartWithPort(Operation_RequiredInterface_D_c); + + Operation_RequiredInterface_D_s.AddEnd(Operation_RequiredInterface_D_s_ConnectorEnd77); + + Operation_RequiredInterface_D_s_ConnectorEnd78.SetRole(Operation_RequiredInterface_A_q); + Operation_RequiredInterface_D_s_ConnectorEnd78.SetPartWithPort(Operation_RequiredInterface_D_a); + + Operation_RequiredInterface_D_s.AddEnd(Operation_RequiredInterface_D_s_ConnectorEnd78); + Operation_RequiredInterface_D_s.SetType(Operation_RequiredInterface_S); + Operation_RequiredInterface_D.AddOwnedConnector(Operation_RequiredInterface_D_s); + // Operation D_D + Operation_RequiredInterface_D_D_D.SetName("D_D"); + Operation_RequiredInterface_D_D_D.SetVisibility(VisibilityKind.public_); + // Parameter result + Operation_RequiredInterface_D_D_D_result.SetName("result"); + Operation_RequiredInterface_D_D_D_result.SetVisibility(VisibilityKind.public_); + + Operation_RequiredInterface_D_D_D_result.SetType(Operation_RequiredInterface_D); + Operation_RequiredInterface_D_D_D_result.SetDirection(ParameterDirectionKind.return_); + Operation_RequiredInterface_D_D_D.AddOwnedParameter(Operation_RequiredInterface_D_D_D_result); + Operation_RequiredInterface_D_D_D.ApplyStereotype(uml.standardprofile.StandardProfileModel.Instance().Stereotype_Create); + Operation_RequiredInterface_D.AddOwnedOperation(Operation_RequiredInterface_D_D_D); + Operation_RequiredInterface.AddPackagedElement(Operation_RequiredInterface_D); + // Class C + Operation_RequiredInterface_C.SetName("C"); + Operation_RequiredInterface_C.SetVisibility(VisibilityKind.public_); + + // Port q + Operation_RequiredInterface_C_q.SetName("q"); + Operation_RequiredInterface_C_q.SetVisibility(VisibilityKind.public_); + + Operation_RequiredInterface_C_q.SetType(Operation_RequiredInterface_IImpl); + Operation_RequiredInterface_C_q.SetAggregation(AggregationKind.composite); + Operation_RequiredInterface_C_q.isConjugated = true;; + Operation_RequiredInterface_C_q.isService = true; + Operation_RequiredInterface_C_q.AddRequired(Operation_RequiredInterface_I); + Operation_RequiredInterface_C.AddOwnedAttribute(Operation_RequiredInterface_C_q); + // Activity setPActivity + Operation_RequiredInterface_C_setPActivity.SetName("setPActivity"); + Operation_RequiredInterface_C_setPActivity.SetVisibility(VisibilityKind.public_); + + // Parameter v + Operation_RequiredInterface_C_setPActivity_v.SetName("v"); + Operation_RequiredInterface_C_setPActivity_v.SetVisibility(VisibilityKind.public_); + + Operation_RequiredInterface_C_setPActivity_v.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + Operation_RequiredInterface_C_setPActivity.AddOwnedParameter(Operation_RequiredInterface_C_setPActivity_v); + // ReadSelfAction this + Operation_RequiredInterface_C_setPActivity_this.SetName("this"); + Operation_RequiredInterface_C_setPActivity_this.SetVisibility(VisibilityKind.public_); + // OutputPin result + Operation_RequiredInterface_C_setPActivity_this_result.SetName("result"); + Operation_RequiredInterface_C_setPActivity_this_result.SetVisibility(VisibilityKind.public_); + Operation_RequiredInterface_C_setPActivity_this_result.SetType(Operation_RequiredInterface_C); + Operation_RequiredInterface_C_setPActivity_this.SetResult(Operation_RequiredInterface_C_setPActivity_this_result); + Operation_RequiredInterface_C_setPActivity.AddNode(Operation_RequiredInterface_C_setPActivity_this); + // CallOperationAction Call I::setP on q + Operation_RequiredInterface_C_setPActivity_Call_I_setP_on_q.SetName("Call I::setP on q"); + Operation_RequiredInterface_C_setPActivity_Call_I_setP_on_q.SetVisibility(VisibilityKind.public_); + Operation_RequiredInterface_C_setPActivity_Call_I_setP_on_q.SetOnPort(Operation_RequiredInterface_C_q); + Operation_RequiredInterface_C_setPActivity_Call_I_setP_on_q.SetOperation(Operation_RequiredInterface_I_setP_Integer); + // InputPin target + Operation_RequiredInterface_C_setPActivity_Call_I_setP_on_q_target.SetName("target"); + Operation_RequiredInterface_C_setPActivity_Call_I_setP_on_q_target.SetVisibility(VisibilityKind.public_); + Operation_RequiredInterface_C_setPActivity_Call_I_setP_on_q_target.SetType(Operation_RequiredInterface_C); + Operation_RequiredInterface_C_setPActivity_Call_I_setP_on_q.SetTarget(Operation_RequiredInterface_C_setPActivity_Call_I_setP_on_q_target); + // InputPin v + Operation_RequiredInterface_C_setPActivity_Call_I_setP_on_q_v.SetName("v"); + Operation_RequiredInterface_C_setPActivity_Call_I_setP_on_q_v.SetVisibility(VisibilityKind.public_); + Operation_RequiredInterface_C_setPActivity_Call_I_setP_on_q_v.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + Operation_RequiredInterface_C_setPActivity_Call_I_setP_on_q.AddArgument(Operation_RequiredInterface_C_setPActivity_Call_I_setP_on_q_v); + Operation_RequiredInterface_C_setPActivity.AddNode(Operation_RequiredInterface_C_setPActivity_Call_I_setP_on_q); + // ActivityParameterNode vParameterNode + Operation_RequiredInterface_C_setPActivity_vParameterNode.SetName("vParameterNode"); + Operation_RequiredInterface_C_setPActivity_vParameterNode.SetVisibility(VisibilityKind.public_); + + Operation_RequiredInterface_C_setPActivity_vParameterNode.SetParameter(Operation_RequiredInterface_C_setPActivity_v); + Operation_RequiredInterface_C_setPActivity.AddNode(Operation_RequiredInterface_C_setPActivity_vParameterNode); + // ObjectFlow ObjectFlow79 from vParameterNode to v + Operation_RequiredInterface_C_setPActivity_ObjectFlow79.SetName("ObjectFlow79"); + Operation_RequiredInterface_C_setPActivity_ObjectFlow79.SetVisibility(VisibilityKind.public_); + + Operation_RequiredInterface_C_setPActivity_ObjectFlow79.SetSource(Operation_RequiredInterface_C_setPActivity_vParameterNode); + Operation_RequiredInterface_C_setPActivity_ObjectFlow79.SetTarget(Operation_RequiredInterface_C_setPActivity_Call_I_setP_on_q_v); + // LiteralBoolean LiteralBoolean80 + Operation_RequiredInterface_C_setPActivity_ObjectFlow79_LiteralBoolean80.SetName("LiteralBoolean80"); + Operation_RequiredInterface_C_setPActivity_ObjectFlow79_LiteralBoolean80.SetVisibility(VisibilityKind.public_); + Operation_RequiredInterface_C_setPActivity_ObjectFlow79_LiteralBoolean80.SetValue(true); + Operation_RequiredInterface_C_setPActivity_ObjectFlow79.SetGuard(Operation_RequiredInterface_C_setPActivity_ObjectFlow79_LiteralBoolean80); + Operation_RequiredInterface_C_setPActivity.AddEdge(Operation_RequiredInterface_C_setPActivity_ObjectFlow79); + // ObjectFlow ObjectFlow82 from result to target + Operation_RequiredInterface_C_setPActivity_ObjectFlow82.SetName("ObjectFlow82"); + Operation_RequiredInterface_C_setPActivity_ObjectFlow82.SetVisibility(VisibilityKind.public_); + + Operation_RequiredInterface_C_setPActivity_ObjectFlow82.SetSource(Operation_RequiredInterface_C_setPActivity_this_result); + Operation_RequiredInterface_C_setPActivity_ObjectFlow82.SetTarget(Operation_RequiredInterface_C_setPActivity_Call_I_setP_on_q_target); + // LiteralBoolean LiteralBoolean83 + Operation_RequiredInterface_C_setPActivity_ObjectFlow82_LiteralBoolean83.SetName("LiteralBoolean83"); + Operation_RequiredInterface_C_setPActivity_ObjectFlow82_LiteralBoolean83.SetVisibility(VisibilityKind.public_); + Operation_RequiredInterface_C_setPActivity_ObjectFlow82_LiteralBoolean83.SetValue(true); + Operation_RequiredInterface_C_setPActivity_ObjectFlow82.SetGuard(Operation_RequiredInterface_C_setPActivity_ObjectFlow82_LiteralBoolean83); + Operation_RequiredInterface_C_setPActivity.AddEdge(Operation_RequiredInterface_C_setPActivity_ObjectFlow82); + Operation_RequiredInterface_C.AddOwnedBehavior(Operation_RequiredInterface_C_setPActivity); + Operation_RequiredInterface_C_IRealization.SetName("IRealization"); + Operation_RequiredInterface_C_IRealization.SetVisibility(VisibilityKind.public_); + Operation_RequiredInterface_C_IRealization.SetContract(Operation_RequiredInterface_I); + + Operation_RequiredInterface_C.AddInterfaceRealization(Operation_RequiredInterface_C_IRealization); + + // Operation setP_Integer + Operation_RequiredInterface_C_setP_Integer.SetName("setP_Integer"); + Operation_RequiredInterface_C_setP_Integer.SetVisibility(VisibilityKind.public_); + // Parameter v + Operation_RequiredInterface_C_setP_Integer_v.SetName("v"); + Operation_RequiredInterface_C_setP_Integer_v.SetVisibility(VisibilityKind.public_); + + Operation_RequiredInterface_C_setP_Integer_v.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + Operation_RequiredInterface_C_setP_Integer.AddOwnedParameter(Operation_RequiredInterface_C_setP_Integer_v); + Operation_RequiredInterface_C_setP_Integer.AddMethod(Operation_RequiredInterface_C_setPActivity); + Operation_RequiredInterface_C.AddOwnedOperation(Operation_RequiredInterface_C_setP_Integer); + Operation_RequiredInterface.AddPackagedElement(Operation_RequiredInterface_C); + // Class A + Operation_RequiredInterface_A.SetName("A"); + Operation_RequiredInterface_A.SetVisibility(VisibilityKind.public_); + + // Port q + Operation_RequiredInterface_A_q.SetName("q"); + Operation_RequiredInterface_A_q.SetVisibility(VisibilityKind.public_); + + Operation_RequiredInterface_A_q.SetType(Operation_RequiredInterface_IImpl); + Operation_RequiredInterface_A_q.SetAggregation(AggregationKind.composite); + Operation_RequiredInterface_A_q.isService = true; + Operation_RequiredInterface_A_q.AddProvided(Operation_RequiredInterface_I); + Operation_RequiredInterface_A.AddOwnedAttribute(Operation_RequiredInterface_A_q); + // Property b + Operation_RequiredInterface_A_b.SetName("b"); + Operation_RequiredInterface_A_b.SetVisibility(VisibilityKind.public_); + + Operation_RequiredInterface_A_b.SetType(Operation_RequiredInterface_B); + Operation_RequiredInterface_A_b.SetAggregation(AggregationKind.composite); + Operation_RequiredInterface_A.AddOwnedAttribute(Operation_RequiredInterface_A_b); + // Activity setPActivity + Operation_RequiredInterface_A_setPActivity.SetName("setPActivity"); + Operation_RequiredInterface_A_setPActivity.SetVisibility(VisibilityKind.public_); + + // Parameter v + Operation_RequiredInterface_A_setPActivity_v.SetName("v"); + Operation_RequiredInterface_A_setPActivity_v.SetVisibility(VisibilityKind.public_); + + Operation_RequiredInterface_A_setPActivity_v.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + Operation_RequiredInterface_A_setPActivity.AddOwnedParameter(Operation_RequiredInterface_A_setPActivity_v); + // CallOperationAction Call I::setP on q + Operation_RequiredInterface_A_setPActivity_Call_I_setP_on_q.SetName("Call I::setP on q"); + Operation_RequiredInterface_A_setPActivity_Call_I_setP_on_q.SetVisibility(VisibilityKind.public_); + Operation_RequiredInterface_A_setPActivity_Call_I_setP_on_q.SetOnPort(Operation_RequiredInterface_A_q); + Operation_RequiredInterface_A_setPActivity_Call_I_setP_on_q.SetOperation(Operation_RequiredInterface_I_setP_Integer); + // InputPin target + Operation_RequiredInterface_A_setPActivity_Call_I_setP_on_q_target.SetName("target"); + Operation_RequiredInterface_A_setPActivity_Call_I_setP_on_q_target.SetVisibility(VisibilityKind.public_); + Operation_RequiredInterface_A_setPActivity_Call_I_setP_on_q.SetTarget(Operation_RequiredInterface_A_setPActivity_Call_I_setP_on_q_target); + // InputPin v + Operation_RequiredInterface_A_setPActivity_Call_I_setP_on_q_v.SetName("v"); + Operation_RequiredInterface_A_setPActivity_Call_I_setP_on_q_v.SetVisibility(VisibilityKind.public_); + Operation_RequiredInterface_A_setPActivity_Call_I_setP_on_q_v.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + Operation_RequiredInterface_A_setPActivity_Call_I_setP_on_q.AddArgument(Operation_RequiredInterface_A_setPActivity_Call_I_setP_on_q_v); + Operation_RequiredInterface_A_setPActivity.AddNode(Operation_RequiredInterface_A_setPActivity_Call_I_setP_on_q); + // ActivityParameterNode vParameterNode + Operation_RequiredInterface_A_setPActivity_vParameterNode.SetName("vParameterNode"); + Operation_RequiredInterface_A_setPActivity_vParameterNode.SetVisibility(VisibilityKind.public_); + + Operation_RequiredInterface_A_setPActivity_vParameterNode.SetParameter(Operation_RequiredInterface_A_setPActivity_v); + Operation_RequiredInterface_A_setPActivity.AddNode(Operation_RequiredInterface_A_setPActivity_vParameterNode); + // ReadSelfAction this + Operation_RequiredInterface_A_setPActivity_this.SetName("this"); + Operation_RequiredInterface_A_setPActivity_this.SetVisibility(VisibilityKind.public_); + // OutputPin result + Operation_RequiredInterface_A_setPActivity_this_result.SetName("result"); + Operation_RequiredInterface_A_setPActivity_this_result.SetVisibility(VisibilityKind.public_); + Operation_RequiredInterface_A_setPActivity_this_result.SetType(Operation_RequiredInterface_A); + Operation_RequiredInterface_A_setPActivity_this.SetResult(Operation_RequiredInterface_A_setPActivity_this_result); + Operation_RequiredInterface_A_setPActivity.AddNode(Operation_RequiredInterface_A_setPActivity_this); + // ObjectFlow ObjectFlow95 from vParameterNode to v + Operation_RequiredInterface_A_setPActivity_ObjectFlow95.SetName("ObjectFlow95"); + Operation_RequiredInterface_A_setPActivity_ObjectFlow95.SetVisibility(VisibilityKind.public_); + + Operation_RequiredInterface_A_setPActivity_ObjectFlow95.SetSource(Operation_RequiredInterface_A_setPActivity_vParameterNode); + Operation_RequiredInterface_A_setPActivity_ObjectFlow95.SetTarget(Operation_RequiredInterface_A_setPActivity_Call_I_setP_on_q_v); + // LiteralBoolean LiteralBoolean96 + Operation_RequiredInterface_A_setPActivity_ObjectFlow95_LiteralBoolean96.SetName("LiteralBoolean96"); + Operation_RequiredInterface_A_setPActivity_ObjectFlow95_LiteralBoolean96.SetVisibility(VisibilityKind.public_); + Operation_RequiredInterface_A_setPActivity_ObjectFlow95_LiteralBoolean96.SetValue(true); + Operation_RequiredInterface_A_setPActivity_ObjectFlow95.SetGuard(Operation_RequiredInterface_A_setPActivity_ObjectFlow95_LiteralBoolean96); + Operation_RequiredInterface_A_setPActivity.AddEdge(Operation_RequiredInterface_A_setPActivity_ObjectFlow95); + // ObjectFlow ObjectFlow103 from result to target + Operation_RequiredInterface_A_setPActivity_ObjectFlow103.SetName("ObjectFlow103"); + Operation_RequiredInterface_A_setPActivity_ObjectFlow103.SetVisibility(VisibilityKind.public_); + + Operation_RequiredInterface_A_setPActivity_ObjectFlow103.SetSource(Operation_RequiredInterface_A_setPActivity_this_result); + Operation_RequiredInterface_A_setPActivity_ObjectFlow103.SetTarget(Operation_RequiredInterface_A_setPActivity_Call_I_setP_on_q_target); + // LiteralBoolean LiteralBoolean105 + Operation_RequiredInterface_A_setPActivity_ObjectFlow103_LiteralBoolean105.SetName("LiteralBoolean105"); + Operation_RequiredInterface_A_setPActivity_ObjectFlow103_LiteralBoolean105.SetVisibility(VisibilityKind.public_); + Operation_RequiredInterface_A_setPActivity_ObjectFlow103_LiteralBoolean105.SetValue(true); + Operation_RequiredInterface_A_setPActivity_ObjectFlow103.SetGuard(Operation_RequiredInterface_A_setPActivity_ObjectFlow103_LiteralBoolean105); + Operation_RequiredInterface_A_setPActivity.AddEdge(Operation_RequiredInterface_A_setPActivity_ObjectFlow103); + Operation_RequiredInterface_A.AddOwnedBehavior(Operation_RequiredInterface_A_setPActivity); + Operation_RequiredInterface_A_r.SetName("r"); + Operation_RequiredInterface_A_r.SetVisibility(VisibilityKind.public_); + + Operation_RequiredInterface_A_r_ConnectorEnd94.SetRole(Operation_RequiredInterface_A_q); + + Operation_RequiredInterface_A_r.AddEnd(Operation_RequiredInterface_A_r_ConnectorEnd94); + + Operation_RequiredInterface_A_r_ConnectorEnd93.SetRole(Operation_RequiredInterface_A_b); + + Operation_RequiredInterface_A_r.AddEnd(Operation_RequiredInterface_A_r_ConnectorEnd93); + Operation_RequiredInterface_A_r.SetType(Operation_RequiredInterface_R); + Operation_RequiredInterface_A.AddOwnedConnector(Operation_RequiredInterface_A_r); + // Operation setP_Integer + Operation_RequiredInterface_A_setP_Integer.SetName("setP_Integer"); + Operation_RequiredInterface_A_setP_Integer.SetVisibility(VisibilityKind.public_); + // Parameter v + Operation_RequiredInterface_A_setP_Integer_v.SetName("v"); + Operation_RequiredInterface_A_setP_Integer_v.SetVisibility(VisibilityKind.public_); + + Operation_RequiredInterface_A_setP_Integer_v.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + Operation_RequiredInterface_A_setP_Integer.AddOwnedParameter(Operation_RequiredInterface_A_setP_Integer_v); + Operation_RequiredInterface_A_setP_Integer.AddMethod(Operation_RequiredInterface_A_setPActivity); + Operation_RequiredInterface_A.AddOwnedOperation(Operation_RequiredInterface_A_setP_Integer); + Operation_RequiredInterface.AddPackagedElement(Operation_RequiredInterface_A); + } + + /* Start of user code : User-defined members + * This section may be used for user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } // Operation_RequiredInterfaceModel +} diff --git a/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/03_Operation_RequiredInterface/src/testPExecution.cs b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/03_Operation_RequiredInterface/src/testPExecution.cs new file mode 100644 index 0000000..0217900 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/03_Operation_RequiredInterface/src/testPExecution.cs @@ -0,0 +1,78 @@ +/* + * testPExecution.cs + * + * Auto-generated file + */ + +using fuml.semantics.commonbehavior; +using fuml; +using fuml.semantics.simpleclassifiers; +using fuml.semantics.values; + +/* Start of user code : User-defined includes and forward declarations + * This section may be used for includes and forward declarations. + * It will not be overwritten by future generation processes. + */ + +/* + * End of user code + */ + +namespace Operation_RequiredInterface +{ + public class testPExecution : OpaqueBehaviorExecution + { + public testPExecution() + { + types.Add(Operation_RequiredInterfaceModel.Instance().Operation_RequiredInterface_main_testP); + /* Start of user code : Additional opaque behavior execution initializations + * This section may be used to do any additional opaque behavior execution initialization, + * for example initializing user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } + + public override void DoBody(List inputParameters, List outputParameters) + { + Console.WriteLine("Asserting d.a.b.p == 4"); + + // Test parameter p + int p = ((IntegerValue)inputParameters.ElementAt(0).values.ElementAt(0)).value; + Debug.Println("[doBody] argument p = " + p); + + Console.WriteLine("d.a.b.p == " + p); + Console.Write("Invocation forwarded out of c through q: "); + + if(p == 4) + { + Console.ForegroundColor = ConsoleColor.Green; + Console.WriteLine("Assertion successful."); + } + else + { + Console.ForegroundColor = ConsoleColor.Red; + Console.WriteLine("Assertion failed!"); + } + + Console.ResetColor(); + } + + protected override Value New_() + { + return new testPExecution(); + } + + /* Start of user code : User-defined members + * This section may be used for user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } // testPExecution +} diff --git a/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/04_Operation_ProvidedAndRequiredInterface/.gitignore b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/04_Operation_ProvidedAndRequiredInterface/.gitignore new file mode 100644 index 0000000..1736844 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/04_Operation_ProvidedAndRequiredInterface/.gitignore @@ -0,0 +1,3 @@ +/.vs/ +/bin/ +/obj/ diff --git a/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/04_Operation_ProvidedAndRequiredInterface/Operation_ProvidedAndRequiredInterface.csproj b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/04_Operation_ProvidedAndRequiredInterface/Operation_ProvidedAndRequiredInterface.csproj new file mode 100644 index 0000000..9d058be --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/04_Operation_ProvidedAndRequiredInterface/Operation_ProvidedAndRequiredInterface.csproj @@ -0,0 +1,50 @@ + + + + Exe + net6.0 + enable + enable + + + + Operation_ProvidedAndRequiredInterface.Debug + + + Operation_ProvidedAndRequiredInterface.Release + + + + + ..\..\..\..\uml\bin\Debug\net6.0\uml.Debug.dll + + + + + ..\..\..\..\uml\bin\Release\net6.0\uml.Release.dll + + + + + + ..\..\..\..\fuml\bin\Debug\net6.0\fuml.Debug.dll + + + + + ..\..\..\..\fuml\bin\Release\net6.0\fuml.Release.dll + + + + + + ..\..\..\..\pscs\bin\Debug\net6.0\pscs.Debug.dll + + + + + ..\..\..\..\pscs\bin\Release\net6.0\pscs.Release.dll + + + + diff --git a/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/04_Operation_ProvidedAndRequiredInterface/Operation_ProvidedAndRequiredInterface.sln b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/04_Operation_ProvidedAndRequiredInterface/Operation_ProvidedAndRequiredInterface.sln new file mode 100644 index 0000000..b25259b --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/04_Operation_ProvidedAndRequiredInterface/Operation_ProvidedAndRequiredInterface.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.32112.339 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Operation_ProvidedAndRequiredInterface", "Operation_ProvidedAndRequiredInterface.csproj", "{FBC6D959-502E-4E8D-B89F-A0FFE507CA62}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {FBC6D959-502E-4E8D-B89F-A0FFE507CA62}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {FBC6D959-502E-4E8D-B89F-A0FFE507CA62}.Debug|Any CPU.Build.0 = Debug|Any CPU + {FBC6D959-502E-4E8D-B89F-A0FFE507CA62}.Release|Any CPU.ActiveCfg = Release|Any CPU + {FBC6D959-502E-4E8D-B89F-A0FFE507CA62}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {96458FB0-86B0-4225-A5BA-1862BA565B85} + EndGlobalSection +EndGlobal diff --git a/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/04_Operation_ProvidedAndRequiredInterface/model/Operation_ProvidedAndRequiredInterface.di b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/04_Operation_ProvidedAndRequiredInterface/model/Operation_ProvidedAndRequiredInterface.di new file mode 100644 index 0000000..bf9abab --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/04_Operation_ProvidedAndRequiredInterface/model/Operation_ProvidedAndRequiredInterface.di @@ -0,0 +1,2 @@ + + diff --git a/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/04_Operation_ProvidedAndRequiredInterface/model/Operation_ProvidedAndRequiredInterface.notation b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/04_Operation_ProvidedAndRequiredInterface/model/Operation_ProvidedAndRequiredInterface.notation new file mode 100644 index 0000000..bf9abab --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/04_Operation_ProvidedAndRequiredInterface/model/Operation_ProvidedAndRequiredInterface.notation @@ -0,0 +1,2 @@ + + diff --git a/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/04_Operation_ProvidedAndRequiredInterface/model/Operation_ProvidedAndRequiredInterface.uml b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/04_Operation_ProvidedAndRequiredInterface/model/Operation_ProvidedAndRequiredInterface.uml new file mode 100644 index 0000000..12eb102 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/04_Operation_ProvidedAndRequiredInterface/model/Operation_ProvidedAndRequiredInterface.uml @@ -0,0 +1,380 @@ + + + + + This test case addresses invocation of an Operation which is both on a provided and a required interface of a Port. + + + Passing: true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + C# + Using + Console.WriteLine("Asserting d.a.b.p == 4"); + + // Test parameter p + int p = ((IntegerValue)inputParameters.ElementAt(0).values.ElementAt(0)).value; + Debug.Println("[doBody] argument p = " + p); + + Console.WriteLine("d.a.b.p == " + p); + Console.Write("Invocation forwarded out of e through q: "); + + if(p == 4) + { + Console.ForegroundColor = ConsoleColor.Green; + Console.WriteLine("Assertion successful."); + } + else + { + Console.ForegroundColor = ConsoleColor.Red; + Console.WriteLine("Assertion failed!"); + } + + Console.ResetColor(); + using fuml.semantics.simpleclassifiers; + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/04_Operation_ProvidedAndRequiredInterface/src/Operation_ProvidedAndRequiredInterface.cs b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/04_Operation_ProvidedAndRequiredInterface/src/Operation_ProvidedAndRequiredInterface.cs new file mode 100644 index 0000000..222d547 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/04_Operation_ProvidedAndRequiredInterface/src/Operation_ProvidedAndRequiredInterface.cs @@ -0,0 +1,31 @@ +namespace Operation_ProvidedAndRequiredInterface +{ + internal class Operation_ProvidedAndRequiredInterface + { + static void PrintUsage() + { + Console.WriteLine( + "=============================================================================================\n" + + "USAGE: [ <...>]\n" + + "=============================================================================================\n" + ); + } + + static int Main(string[] args) + { + if(args.Length == 0) + { + Console.WriteLine("[ERROR] Must declare at least one behavior name.\n"); + PrintUsage(); + return -1; + } + + foreach (string arg in args) + { + Operation_ProvidedAndRequiredInterfaceEnvironment.Instance().Execute(arg); + } + + return 0; + } + } +} diff --git a/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/04_Operation_ProvidedAndRequiredInterface/src/Operation_ProvidedAndRequiredInterfaceEnvironment.cs b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/04_Operation_ProvidedAndRequiredInterface/src/Operation_ProvidedAndRequiredInterfaceEnvironment.cs new file mode 100644 index 0000000..4451c7a --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/04_Operation_ProvidedAndRequiredInterface/src/Operation_ProvidedAndRequiredInterfaceEnvironment.cs @@ -0,0 +1,93 @@ +/* + * Operation_ProvidedAndRequiredInterfaceEnvironment.cs + * + * Auto-generated file + */ + +/* Start of user code : User-defined using directives + * This section may be used for using directives. + * It will not be overwritten by future generation processes. + */ + +/* + * End of user code + */ + +namespace Operation_ProvidedAndRequiredInterface +{ + public class Operation_ProvidedAndRequiredInterfaceEnvironment : pscs.environment.Environment + { + private static Operation_ProvidedAndRequiredInterfaceEnvironment? instance; + + public static Operation_ProvidedAndRequiredInterfaceEnvironment Instance() + { + if(instance is null) + { + instance = new(); + instance.inMemoryModel = Operation_ProvidedAndRequiredInterfaceModel.Instance(); + } + + return instance; + } + + public Operation_ProvidedAndRequiredInterfaceEnvironment() + { + /* + * Create custom opaque behavior execution instances and add them to the execution environment. + */ + AddPrimitiveBehaviorPrototype(new testPExecution()); + + /* Start of user code : Additional environment initializations + * This section may be used to do any additional environment initialization, + * for example initializing user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } + + public override void Execute(string behaviorName) + { + /* Start of user code : Context and inputs initializations + * This section may be used to initialize the execution context + * as well as input parameter values if required. + * It will not be overwritten by future generation processes. + */ + + //context = ...; + //inputs = ...; + + /* + * End of user code + */ + + /* + * Start execution via base class call + */ + base.Execute(behaviorName); + + /* Start of user code : Outputs evaluation + * This section may be used to evaluate output parameter values if required. + * It will not be overwritten by future generation processes. + */ + + //List theOutputs = outputs; + //... + + /* + * End of user code + */ + } + + /* Start of user code : User-defined members + * This section may be used for user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } // Operation_ProvidedAndRequiredInterfaceEnvironment +} diff --git a/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/04_Operation_ProvidedAndRequiredInterface/src/Operation_ProvidedAndRequiredInterfaceModel.cs b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/04_Operation_ProvidedAndRequiredInterface/src/Operation_ProvidedAndRequiredInterfaceModel.cs new file mode 100644 index 0000000..9fdaca6 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/04_Operation_ProvidedAndRequiredInterface/src/Operation_ProvidedAndRequiredInterfaceModel.cs @@ -0,0 +1,1276 @@ +/* + * Operation_ProvidedAndRequiredInterfaceModel.cs + * + * Auto-generated file + */ + +using uml.actions; +using uml.packages; +using uml.structuredclassifiers; +using fuml.primitivetypes; +using uml.classification; +using fuml.library; +using uml.simpleclassifiers; +using uml.commonbehavior; +using uml.commonstructure; +using uml.values; +using uml.activities; +using uml.environment; + + +/* Start of user code : User-defined includes and forward declarations + * This section may be used for includes and forward declarations. + * It will not be overwritten by future generation processes. + */ + +/* + * End of user code + */ + +namespace Operation_ProvidedAndRequiredInterface +{ + public class Operation_ProvidedAndRequiredInterfaceModel : InMemoryModel + { + private static Operation_ProvidedAndRequiredInterfaceModel? instance; + + /* + * Model Operation_ProvidedAndRequiredInterface + */ + public Package Operation_ProvidedAndRequiredInterface = new(); + public Association Operation_ProvidedAndRequiredInterface_R = new(); + public Property Operation_ProvidedAndRequiredInterface_R_y = new(); + public Property Operation_ProvidedAndRequiredInterface_R_x = new(); + public Association Operation_ProvidedAndRequiredInterface_S = new(); + public Property Operation_ProvidedAndRequiredInterface_S_x = new(); + public Property Operation_ProvidedAndRequiredInterface_S_y = new(); + public Class_ Operation_ProvidedAndRequiredInterface_C = new(); + public Operation Operation_ProvidedAndRequiredInterface_C_setP_Integer = new(); + public Parameter Operation_ProvidedAndRequiredInterface_C_setP_Integer_v = new(); + public Port Operation_ProvidedAndRequiredInterface_C_q = new(); + public InterfaceRealization Operation_ProvidedAndRequiredInterface_C_IRealization = new(); + public Activity Operation_ProvidedAndRequiredInterface_C_setPActivity = new(); + public ObjectFlow Operation_ProvidedAndRequiredInterface_C_setPActivity_ObjectFlow0 = new(); + public LiteralBoolean Operation_ProvidedAndRequiredInterface_C_setPActivity_ObjectFlow0_LiteralBoolean1 = new(); + public LiteralInteger Operation_ProvidedAndRequiredInterface_C_setPActivity_ObjectFlow0_LiteralInteger2 = new(); + public ActivityParameterNode Operation_ProvidedAndRequiredInterface_C_setPActivity_vParameterNode = new(); + public LiteralInteger Operation_ProvidedAndRequiredInterface_C_setPActivity_vParameterNode_LiteralInteger3 = new(); + public ObjectFlow Operation_ProvidedAndRequiredInterface_C_setPActivity_ObjectFlow4 = new(); + public LiteralInteger Operation_ProvidedAndRequiredInterface_C_setPActivity_ObjectFlow4_LiteralInteger5 = new(); + public LiteralBoolean Operation_ProvidedAndRequiredInterface_C_setPActivity_ObjectFlow4_LiteralBoolean6 = new(); + public ReadSelfAction Operation_ProvidedAndRequiredInterface_C_setPActivity_this = new(); + public OutputPin Operation_ProvidedAndRequiredInterface_C_setPActivity_this_result = new(); + public LiteralInteger Operation_ProvidedAndRequiredInterface_C_setPActivity_this_result_LiteralInteger7 = new(); + public LiteralUnlimitedNatural Operation_ProvidedAndRequiredInterface_C_setPActivity_this_result_LiteralUnlimitedNatural8 = new(); + public Parameter Operation_ProvidedAndRequiredInterface_C_setPActivity_v = new(); + public CallOperationAction Operation_ProvidedAndRequiredInterface_C_setPActivity_Call_I_setP_on_q = new(); + public InputPin Operation_ProvidedAndRequiredInterface_C_setPActivity_Call_I_setP_on_q_target = new(); + public LiteralInteger Operation_ProvidedAndRequiredInterface_C_setPActivity_Call_I_setP_on_q_target_LiteralInteger9 = new(); + public LiteralUnlimitedNatural Operation_ProvidedAndRequiredInterface_C_setPActivity_Call_I_setP_on_q_target_LiteralUnlimitedNatural10 = new(); + public InputPin Operation_ProvidedAndRequiredInterface_C_setPActivity_Call_I_setP_on_q_v = new(); + public LiteralInteger Operation_ProvidedAndRequiredInterface_C_setPActivity_Call_I_setP_on_q_v_LiteralInteger11 = new(); + public LiteralInteger Operation_ProvidedAndRequiredInterface_C_setPActivity_Call_I_setP_on_q_v_LiteralInteger12 = new(); + public LiteralUnlimitedNatural Operation_ProvidedAndRequiredInterface_C_setPActivity_Call_I_setP_on_q_v_LiteralUnlimitedNatural13 = new(); + public Interface Operation_ProvidedAndRequiredInterface_I = new(); + public Operation Operation_ProvidedAndRequiredInterface_I_setP_Integer = new(); + public Parameter Operation_ProvidedAndRequiredInterface_I_setP_Integer_v = new(); + public Class_ Operation_ProvidedAndRequiredInterface_D = new(); + public Operation Operation_ProvidedAndRequiredInterface_D_D_D = new(); + public Parameter Operation_ProvidedAndRequiredInterface_D_D_D_result = new(); + public Property Operation_ProvidedAndRequiredInterface_D_a = new(); + public Property Operation_ProvidedAndRequiredInterface_D_e = new(); + public Connector Operation_ProvidedAndRequiredInterface_D_s = new(); + public ConnectorEnd Operation_ProvidedAndRequiredInterface_D_s_ConnectorEnd14 = new(); + public ConnectorEnd Operation_ProvidedAndRequiredInterface_D_s_ConnectorEnd15 = new(); + public Activity Operation_ProvidedAndRequiredInterface_main = new(); + public ObjectFlow Operation_ProvidedAndRequiredInterface_main_ObjectFlow16 = new(); + public LiteralBoolean Operation_ProvidedAndRequiredInterface_main_ObjectFlow16_LiteralBoolean17 = new(); + public LiteralInteger Operation_ProvidedAndRequiredInterface_main_ObjectFlow16_LiteralInteger18 = new(); + public ObjectFlow Operation_ProvidedAndRequiredInterface_main_ObjectFlow19 = new(); + public LiteralInteger Operation_ProvidedAndRequiredInterface_main_ObjectFlow19_LiteralInteger20 = new(); + public LiteralBoolean Operation_ProvidedAndRequiredInterface_main_ObjectFlow19_LiteralBoolean21 = new(); + public ObjectFlow Operation_ProvidedAndRequiredInterface_main_ObjectFlow22 = new(); + public LiteralBoolean Operation_ProvidedAndRequiredInterface_main_ObjectFlow22_LiteralBoolean23 = new(); + public LiteralInteger Operation_ProvidedAndRequiredInterface_main_ObjectFlow22_LiteralInteger24 = new(); + public ForkNode Operation_ProvidedAndRequiredInterface_main_Fork_d = new(); + public CallOperationAction Operation_ProvidedAndRequiredInterface_main_Call_setP_ = new(); + public InputPin Operation_ProvidedAndRequiredInterface_main_Call_setP__v = new(); + public LiteralInteger Operation_ProvidedAndRequiredInterface_main_Call_setP__v_LiteralInteger25 = new(); + public LiteralUnlimitedNatural Operation_ProvidedAndRequiredInterface_main_Call_setP__v_LiteralUnlimitedNatural26 = new(); + public LiteralInteger Operation_ProvidedAndRequiredInterface_main_Call_setP__v_LiteralInteger27 = new(); + public InputPin Operation_ProvidedAndRequiredInterface_main_Call_setP__target = new(); + public LiteralInteger Operation_ProvidedAndRequiredInterface_main_Call_setP__target_LiteralInteger28 = new(); + public LiteralUnlimitedNatural Operation_ProvidedAndRequiredInterface_main_Call_setP__target_LiteralUnlimitedNatural29 = new(); + public ObjectFlow Operation_ProvidedAndRequiredInterface_main_ObjectFlow30 = new(); + public LiteralInteger Operation_ProvidedAndRequiredInterface_main_ObjectFlow30_LiteralInteger31 = new(); + public LiteralBoolean Operation_ProvidedAndRequiredInterface_main_ObjectFlow30_LiteralBoolean32 = new(); + public CallBehaviorAction Operation_ProvidedAndRequiredInterface_main_Call_testP = new(); + public InputPin Operation_ProvidedAndRequiredInterface_main_Call_testP_p = new(); + public LiteralInteger Operation_ProvidedAndRequiredInterface_main_Call_testP_p_LiteralInteger33 = new(); + public LiteralInteger Operation_ProvidedAndRequiredInterface_main_Call_testP_p_LiteralInteger34 = new(); + public LiteralUnlimitedNatural Operation_ProvidedAndRequiredInterface_main_Call_testP_p_LiteralUnlimitedNatural35 = new(); + public ObjectFlow Operation_ProvidedAndRequiredInterface_main_ObjectFlow36 = new(); + public LiteralBoolean Operation_ProvidedAndRequiredInterface_main_ObjectFlow36_LiteralBoolean37 = new(); + public LiteralInteger Operation_ProvidedAndRequiredInterface_main_ObjectFlow36_LiteralInteger38 = new(); + public OpaqueBehavior Operation_ProvidedAndRequiredInterface_main_testP = new(); + public Parameter Operation_ProvidedAndRequiredInterface_main_testP_p = new(); + public ObjectFlow Operation_ProvidedAndRequiredInterface_main_ObjectFlow39 = new(); + public LiteralBoolean Operation_ProvidedAndRequiredInterface_main_ObjectFlow39_LiteralBoolean40 = new(); + public LiteralInteger Operation_ProvidedAndRequiredInterface_main_ObjectFlow39_LiteralInteger41 = new(); + public ReadStructuralFeatureAction Operation_ProvidedAndRequiredInterface_main_Read_a_b = new(); + public InputPin Operation_ProvidedAndRequiredInterface_main_Read_a_b_object = new(); + public LiteralInteger Operation_ProvidedAndRequiredInterface_main_Read_a_b_object_LiteralInteger42 = new(); + public LiteralUnlimitedNatural Operation_ProvidedAndRequiredInterface_main_Read_a_b_object_LiteralUnlimitedNatural43 = new(); + public OutputPin Operation_ProvidedAndRequiredInterface_main_Read_a_b_result = new(); + public LiteralUnlimitedNatural Operation_ProvidedAndRequiredInterface_main_Read_a_b_result_LiteralUnlimitedNatural44 = new(); + public LiteralInteger Operation_ProvidedAndRequiredInterface_main_Read_a_b_result_LiteralInteger45 = new(); + public CallOperationAction Operation_ProvidedAndRequiredInterface_main_D_ = new(); + public InputPin Operation_ProvidedAndRequiredInterface_main_D__target = new(); + public LiteralUnlimitedNatural Operation_ProvidedAndRequiredInterface_main_D__target_LiteralUnlimitedNatural46 = new(); + public LiteralInteger Operation_ProvidedAndRequiredInterface_main_D__target_LiteralInteger47 = new(); + public OutputPin Operation_ProvidedAndRequiredInterface_main_D__result = new(); + public LiteralInteger Operation_ProvidedAndRequiredInterface_main_D__result_LiteralInteger48 = new(); + public LiteralUnlimitedNatural Operation_ProvidedAndRequiredInterface_main_D__result_LiteralUnlimitedNatural49 = new(); + public LiteralInteger Operation_ProvidedAndRequiredInterface_main_D__result_LiteralInteger50 = new(); + public ControlFlow Operation_ProvidedAndRequiredInterface_main_ControlFlow51 = new(); + public ObjectFlow Operation_ProvidedAndRequiredInterface_main_ObjectFlow52 = new(); + public LiteralInteger Operation_ProvidedAndRequiredInterface_main_ObjectFlow52_LiteralInteger53 = new(); + public LiteralBoolean Operation_ProvidedAndRequiredInterface_main_ObjectFlow52_LiteralBoolean54 = new(); + public ObjectFlow Operation_ProvidedAndRequiredInterface_main_ObjectFlow55 = new(); + public LiteralBoolean Operation_ProvidedAndRequiredInterface_main_ObjectFlow55_LiteralBoolean56 = new(); + public LiteralInteger Operation_ProvidedAndRequiredInterface_main_ObjectFlow55_LiteralInteger57 = new(); + public ReadStructuralFeatureAction Operation_ProvidedAndRequiredInterface_main_Read_b_p = new(); + public OutputPin Operation_ProvidedAndRequiredInterface_main_Read_b_p_result = new(); + public LiteralInteger Operation_ProvidedAndRequiredInterface_main_Read_b_p_result_LiteralInteger58 = new(); + public LiteralUnlimitedNatural Operation_ProvidedAndRequiredInterface_main_Read_b_p_result_LiteralUnlimitedNatural59 = new(); + public InputPin Operation_ProvidedAndRequiredInterface_main_Read_b_p_object = new(); + public LiteralUnlimitedNatural Operation_ProvidedAndRequiredInterface_main_Read_b_p_object_LiteralUnlimitedNatural60 = new(); + public LiteralInteger Operation_ProvidedAndRequiredInterface_main_Read_b_p_object_LiteralInteger61 = new(); + public ObjectFlow Operation_ProvidedAndRequiredInterface_main_ObjectFlow62 = new(); + public LiteralInteger Operation_ProvidedAndRequiredInterface_main_ObjectFlow62_LiteralInteger63 = new(); + public LiteralBoolean Operation_ProvidedAndRequiredInterface_main_ObjectFlow62_LiteralBoolean64 = new(); + public ReadStructuralFeatureAction Operation_ProvidedAndRequiredInterface_main_Read_e_c = new(); + public InputPin Operation_ProvidedAndRequiredInterface_main_Read_e_c_object = new(); + public LiteralInteger Operation_ProvidedAndRequiredInterface_main_Read_e_c_object_LiteralInteger65 = new(); + public LiteralUnlimitedNatural Operation_ProvidedAndRequiredInterface_main_Read_e_c_object_LiteralUnlimitedNatural66 = new(); + public OutputPin Operation_ProvidedAndRequiredInterface_main_Read_e_c_result = new(); + public LiteralInteger Operation_ProvidedAndRequiredInterface_main_Read_e_c_result_LiteralInteger67 = new(); + public LiteralUnlimitedNatural Operation_ProvidedAndRequiredInterface_main_Read_e_c_result_LiteralUnlimitedNatural68 = new(); + public ValueSpecificationAction Operation_ProvidedAndRequiredInterface_main_Value_4 = new(); + public LiteralInteger Operation_ProvidedAndRequiredInterface_main_Value_4_LiteralInteger69 = new(); + public OutputPin Operation_ProvidedAndRequiredInterface_main_Value_4_result = new(); + public LiteralInteger Operation_ProvidedAndRequiredInterface_main_Value_4_result_LiteralInteger70 = new(); + public LiteralUnlimitedNatural Operation_ProvidedAndRequiredInterface_main_Value_4_result_LiteralUnlimitedNatural71 = new(); + public ReadStructuralFeatureAction Operation_ProvidedAndRequiredInterface_main_Read_d_e = new(); + public OutputPin Operation_ProvidedAndRequiredInterface_main_Read_d_e_result = new(); + public LiteralInteger Operation_ProvidedAndRequiredInterface_main_Read_d_e_result_LiteralInteger72 = new(); + public LiteralUnlimitedNatural Operation_ProvidedAndRequiredInterface_main_Read_d_e_result_LiteralUnlimitedNatural73 = new(); + public InputPin Operation_ProvidedAndRequiredInterface_main_Read_d_e_object = new(); + public LiteralUnlimitedNatural Operation_ProvidedAndRequiredInterface_main_Read_d_e_object_LiteralUnlimitedNatural74 = new(); + public LiteralInteger Operation_ProvidedAndRequiredInterface_main_Read_d_e_object_LiteralInteger75 = new(); + public CreateObjectAction Operation_ProvidedAndRequiredInterface_main_Create_D = new(); + public OutputPin Operation_ProvidedAndRequiredInterface_main_Create_D_result = new(); + public LiteralUnlimitedNatural Operation_ProvidedAndRequiredInterface_main_Create_D_result_LiteralUnlimitedNatural76 = new(); + public LiteralInteger Operation_ProvidedAndRequiredInterface_main_Create_D_result_LiteralInteger77 = new(); + public ObjectFlow Operation_ProvidedAndRequiredInterface_main_ObjectFlow78 = new(); + public LiteralInteger Operation_ProvidedAndRequiredInterface_main_ObjectFlow78_LiteralInteger79 = new(); + public LiteralBoolean Operation_ProvidedAndRequiredInterface_main_ObjectFlow78_LiteralBoolean80 = new(); + public ReadStructuralFeatureAction Operation_ProvidedAndRequiredInterface_main_Read_d_a = new(); + public InputPin Operation_ProvidedAndRequiredInterface_main_Read_d_a_object = new(); + public LiteralUnlimitedNatural Operation_ProvidedAndRequiredInterface_main_Read_d_a_object_LiteralUnlimitedNatural81 = new(); + public LiteralInteger Operation_ProvidedAndRequiredInterface_main_Read_d_a_object_LiteralInteger82 = new(); + public OutputPin Operation_ProvidedAndRequiredInterface_main_Read_d_a_result = new(); + public LiteralUnlimitedNatural Operation_ProvidedAndRequiredInterface_main_Read_d_a_result_LiteralUnlimitedNatural83 = new(); + public LiteralInteger Operation_ProvidedAndRequiredInterface_main_Read_d_a_result_LiteralInteger84 = new(); + public Class_ Operation_ProvidedAndRequiredInterface_A = new(); + public Property Operation_ProvidedAndRequiredInterface_A_b = new(); + public Port Operation_ProvidedAndRequiredInterface_A_q = new(); + public Operation Operation_ProvidedAndRequiredInterface_A_setP_Integer = new(); + public Parameter Operation_ProvidedAndRequiredInterface_A_setP_Integer_v = new(); + public Activity Operation_ProvidedAndRequiredInterface_A_setPActivity = new(); + public ActivityParameterNode Operation_ProvidedAndRequiredInterface_A_setPActivity_vParameterNode = new(); + public LiteralInteger Operation_ProvidedAndRequiredInterface_A_setPActivity_vParameterNode_LiteralInteger85 = new(); + public ReadSelfAction Operation_ProvidedAndRequiredInterface_A_setPActivity_this = new(); + public OutputPin Operation_ProvidedAndRequiredInterface_A_setPActivity_this_result = new(); + public LiteralUnlimitedNatural Operation_ProvidedAndRequiredInterface_A_setPActivity_this_result_LiteralUnlimitedNatural86 = new(); + public LiteralInteger Operation_ProvidedAndRequiredInterface_A_setPActivity_this_result_LiteralInteger87 = new(); + public ObjectFlow Operation_ProvidedAndRequiredInterface_A_setPActivity_ObjectFlow88 = new(); + public LiteralBoolean Operation_ProvidedAndRequiredInterface_A_setPActivity_ObjectFlow88_LiteralBoolean89 = new(); + public LiteralInteger Operation_ProvidedAndRequiredInterface_A_setPActivity_ObjectFlow88_LiteralInteger90 = new(); + public ObjectFlow Operation_ProvidedAndRequiredInterface_A_setPActivity_ObjectFlow91 = new(); + public LiteralInteger Operation_ProvidedAndRequiredInterface_A_setPActivity_ObjectFlow91_LiteralInteger92 = new(); + public LiteralBoolean Operation_ProvidedAndRequiredInterface_A_setPActivity_ObjectFlow91_LiteralBoolean93 = new(); + public Parameter Operation_ProvidedAndRequiredInterface_A_setPActivity_v = new(); + public CallOperationAction Operation_ProvidedAndRequiredInterface_A_setPActivity_Call_I_setP_on_q = new(); + public InputPin Operation_ProvidedAndRequiredInterface_A_setPActivity_Call_I_setP_on_q_v = new(); + public LiteralUnlimitedNatural Operation_ProvidedAndRequiredInterface_A_setPActivity_Call_I_setP_on_q_v_LiteralUnlimitedNatural94 = new(); + public LiteralInteger Operation_ProvidedAndRequiredInterface_A_setPActivity_Call_I_setP_on_q_v_LiteralInteger95 = new(); + public LiteralInteger Operation_ProvidedAndRequiredInterface_A_setPActivity_Call_I_setP_on_q_v_LiteralInteger96 = new(); + public InputPin Operation_ProvidedAndRequiredInterface_A_setPActivity_Call_I_setP_on_q_target = new(); + public LiteralInteger Operation_ProvidedAndRequiredInterface_A_setPActivity_Call_I_setP_on_q_target_LiteralInteger97 = new(); + public LiteralUnlimitedNatural Operation_ProvidedAndRequiredInterface_A_setPActivity_Call_I_setP_on_q_target_LiteralUnlimitedNatural98 = new(); + public Connector Operation_ProvidedAndRequiredInterface_A_r = new(); + public ConnectorEnd Operation_ProvidedAndRequiredInterface_A_r_ConnectorEnd99 = new(); + public ConnectorEnd Operation_ProvidedAndRequiredInterface_A_r_ConnectorEnd100 = new(); + public Class_ Operation_ProvidedAndRequiredInterface_E = new(); + public Property Operation_ProvidedAndRequiredInterface_E_c = new(); + public Connector Operation_ProvidedAndRequiredInterface_E_s = new(); + public ConnectorEnd Operation_ProvidedAndRequiredInterface_E_s_ConnectorEnd101 = new(); + public ConnectorEnd Operation_ProvidedAndRequiredInterface_E_s_ConnectorEnd102 = new(); + public Port Operation_ProvidedAndRequiredInterface_E_q = new(); + public Class_ Operation_ProvidedAndRequiredInterface_IImpl = new(); + public InterfaceRealization Operation_ProvidedAndRequiredInterface_IImpl_IRealization = new(); + public Operation Operation_ProvidedAndRequiredInterface_IImpl_setP_Integer = new(); + public Parameter Operation_ProvidedAndRequiredInterface_IImpl_setP_Integer_v = new(); + public Usage Operation_ProvidedAndRequiredInterface_IUsageIProvReq = new(); + public Class_ Operation_ProvidedAndRequiredInterface_IProvReq = new(); + public Operation Operation_ProvidedAndRequiredInterface_IProvReq_setP_Integer = new(); + public Parameter Operation_ProvidedAndRequiredInterface_IProvReq_setP_Integer_v = new(); + public Generalization Operation_ProvidedAndRequiredInterface_IProvReq_Generalization103 = new(); + public Class_ Operation_ProvidedAndRequiredInterface_B = new(); + public Activity Operation_ProvidedAndRequiredInterface_B_setPActivity = new(); + public ObjectFlow Operation_ProvidedAndRequiredInterface_B_setPActivity_ObjectFlow104 = new(); + public LiteralInteger Operation_ProvidedAndRequiredInterface_B_setPActivity_ObjectFlow104_LiteralInteger105 = new(); + public LiteralBoolean Operation_ProvidedAndRequiredInterface_B_setPActivity_ObjectFlow104_LiteralBoolean106 = new(); + public ObjectFlow Operation_ProvidedAndRequiredInterface_B_setPActivity_ObjectFlow107 = new(); + public LiteralBoolean Operation_ProvidedAndRequiredInterface_B_setPActivity_ObjectFlow107_LiteralBoolean108 = new(); + public LiteralInteger Operation_ProvidedAndRequiredInterface_B_setPActivity_ObjectFlow107_LiteralInteger109 = new(); + public Parameter Operation_ProvidedAndRequiredInterface_B_setPActivity_v = new(); + public ActivityParameterNode Operation_ProvidedAndRequiredInterface_B_setPActivity_vParameterNode = new(); + public LiteralInteger Operation_ProvidedAndRequiredInterface_B_setPActivity_vParameterNode_LiteralInteger110 = new(); + public AddStructuralFeatureValueAction Operation_ProvidedAndRequiredInterface_B_setPActivity_Set_this_p = new(); + public InputPin Operation_ProvidedAndRequiredInterface_B_setPActivity_Set_this_p_value = new(); + public LiteralInteger Operation_ProvidedAndRequiredInterface_B_setPActivity_Set_this_p_value_LiteralInteger111 = new(); + public LiteralUnlimitedNatural Operation_ProvidedAndRequiredInterface_B_setPActivity_Set_this_p_value_LiteralUnlimitedNatural112 = new(); + public InputPin Operation_ProvidedAndRequiredInterface_B_setPActivity_Set_this_p_object = new(); + public LiteralInteger Operation_ProvidedAndRequiredInterface_B_setPActivity_Set_this_p_object_LiteralInteger113 = new(); + public LiteralUnlimitedNatural Operation_ProvidedAndRequiredInterface_B_setPActivity_Set_this_p_object_LiteralUnlimitedNatural114 = new(); + public OutputPin Operation_ProvidedAndRequiredInterface_B_setPActivity_Set_this_p_result = new(); + public LiteralInteger Operation_ProvidedAndRequiredInterface_B_setPActivity_Set_this_p_result_LiteralInteger115 = new(); + public LiteralUnlimitedNatural Operation_ProvidedAndRequiredInterface_B_setPActivity_Set_this_p_result_LiteralUnlimitedNatural116 = new(); + public ReadSelfAction Operation_ProvidedAndRequiredInterface_B_setPActivity_this = new(); + public OutputPin Operation_ProvidedAndRequiredInterface_B_setPActivity_this_result = new(); + public LiteralUnlimitedNatural Operation_ProvidedAndRequiredInterface_B_setPActivity_this_result_LiteralUnlimitedNatural117 = new(); + public LiteralInteger Operation_ProvidedAndRequiredInterface_B_setPActivity_this_result_LiteralInteger118 = new(); + public Property Operation_ProvidedAndRequiredInterface_B_p = new(); + public InterfaceRealization Operation_ProvidedAndRequiredInterface_B_IRealization = new(); + public Operation Operation_ProvidedAndRequiredInterface_B_setP_Integer = new(); + public Parameter Operation_ProvidedAndRequiredInterface_B_setP_Integer_v = new(); + + public static Operation_ProvidedAndRequiredInterfaceModel Instance() + { + if (instance is null) + { + instance = new(); + instance.InitializeInMemoryModel(); + } + + return instance; + } + + public Operation_ProvidedAndRequiredInterfaceModel() + { + /* Start of user code : Additional model initializations + * This section may be used to do any additional model initialization, + * for example initializing user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } + + private void InitializeInMemoryModel() + { + // Create public members + /* + * Model Operation_ProvidedAndRequiredInterface + */ + AddToElementRepository("Operation_ProvidedAndRequiredInterface", Operation_ProvidedAndRequiredInterface); + AddToElementRepository("R", Operation_ProvidedAndRequiredInterface_R); + AddToElementRepository("y", Operation_ProvidedAndRequiredInterface_R_y); + AddToElementRepository("x", Operation_ProvidedAndRequiredInterface_R_x); + AddToElementRepository("S", Operation_ProvidedAndRequiredInterface_S); + AddToElementRepository("x", Operation_ProvidedAndRequiredInterface_S_x); + AddToElementRepository("y", Operation_ProvidedAndRequiredInterface_S_y); + AddToElementRepository("C", Operation_ProvidedAndRequiredInterface_C); + AddToElementRepository("setP_Integer", Operation_ProvidedAndRequiredInterface_C_setP_Integer); + AddToElementRepository("v", Operation_ProvidedAndRequiredInterface_C_setP_Integer_v); + AddToElementRepository("q", Operation_ProvidedAndRequiredInterface_C_q); + AddToElementRepository("IRealization", Operation_ProvidedAndRequiredInterface_C_IRealization); + AddToElementRepository("setPActivity", Operation_ProvidedAndRequiredInterface_C_setPActivity); + AddToElementRepository("ObjectFlow0", Operation_ProvidedAndRequiredInterface_C_setPActivity_ObjectFlow0); + AddToElementRepository("LiteralBoolean1", Operation_ProvidedAndRequiredInterface_C_setPActivity_ObjectFlow0_LiteralBoolean1); + AddToElementRepository("LiteralInteger2", Operation_ProvidedAndRequiredInterface_C_setPActivity_ObjectFlow0_LiteralInteger2); + AddToElementRepository("vParameterNode", Operation_ProvidedAndRequiredInterface_C_setPActivity_vParameterNode); + AddToElementRepository("LiteralInteger3", Operation_ProvidedAndRequiredInterface_C_setPActivity_vParameterNode_LiteralInteger3); + AddToElementRepository("ObjectFlow4", Operation_ProvidedAndRequiredInterface_C_setPActivity_ObjectFlow4); + AddToElementRepository("LiteralInteger5", Operation_ProvidedAndRequiredInterface_C_setPActivity_ObjectFlow4_LiteralInteger5); + AddToElementRepository("LiteralBoolean6", Operation_ProvidedAndRequiredInterface_C_setPActivity_ObjectFlow4_LiteralBoolean6); + AddToElementRepository("this", Operation_ProvidedAndRequiredInterface_C_setPActivity_this); + AddToElementRepository("result", Operation_ProvidedAndRequiredInterface_C_setPActivity_this_result); + AddToElementRepository("LiteralInteger7", Operation_ProvidedAndRequiredInterface_C_setPActivity_this_result_LiteralInteger7); + AddToElementRepository("LiteralUnlimitedNatural8", Operation_ProvidedAndRequiredInterface_C_setPActivity_this_result_LiteralUnlimitedNatural8); + AddToElementRepository("v", Operation_ProvidedAndRequiredInterface_C_setPActivity_v); + AddToElementRepository("Call I::setP on q", Operation_ProvidedAndRequiredInterface_C_setPActivity_Call_I_setP_on_q); + AddToElementRepository("target", Operation_ProvidedAndRequiredInterface_C_setPActivity_Call_I_setP_on_q_target); + AddToElementRepository("LiteralInteger9", Operation_ProvidedAndRequiredInterface_C_setPActivity_Call_I_setP_on_q_target_LiteralInteger9); + AddToElementRepository("LiteralUnlimitedNatural10", Operation_ProvidedAndRequiredInterface_C_setPActivity_Call_I_setP_on_q_target_LiteralUnlimitedNatural10); + AddToElementRepository("v", Operation_ProvidedAndRequiredInterface_C_setPActivity_Call_I_setP_on_q_v); + AddToElementRepository("LiteralInteger11", Operation_ProvidedAndRequiredInterface_C_setPActivity_Call_I_setP_on_q_v_LiteralInteger11); + AddToElementRepository("LiteralInteger12", Operation_ProvidedAndRequiredInterface_C_setPActivity_Call_I_setP_on_q_v_LiteralInteger12); + AddToElementRepository("LiteralUnlimitedNatural13", Operation_ProvidedAndRequiredInterface_C_setPActivity_Call_I_setP_on_q_v_LiteralUnlimitedNatural13); + AddToElementRepository("I", Operation_ProvidedAndRequiredInterface_I); + AddToElementRepository("setP_Integer", Operation_ProvidedAndRequiredInterface_I_setP_Integer); + AddToElementRepository("v", Operation_ProvidedAndRequiredInterface_I_setP_Integer_v); + AddToElementRepository("D", Operation_ProvidedAndRequiredInterface_D); + AddToElementRepository("D_D", Operation_ProvidedAndRequiredInterface_D_D_D); + AddToElementRepository("result", Operation_ProvidedAndRequiredInterface_D_D_D_result); + AddToElementRepository("a", Operation_ProvidedAndRequiredInterface_D_a); + AddToElementRepository("e", Operation_ProvidedAndRequiredInterface_D_e); + AddToElementRepository("s", Operation_ProvidedAndRequiredInterface_D_s); + AddToElementRepository("ConnectorEnd14", Operation_ProvidedAndRequiredInterface_D_s_ConnectorEnd14); + AddToElementRepository("ConnectorEnd15", Operation_ProvidedAndRequiredInterface_D_s_ConnectorEnd15); + AddToElementRepository("main", Operation_ProvidedAndRequiredInterface_main); + AddToElementRepository("ObjectFlow16", Operation_ProvidedAndRequiredInterface_main_ObjectFlow16); + AddToElementRepository("LiteralBoolean17", Operation_ProvidedAndRequiredInterface_main_ObjectFlow16_LiteralBoolean17); + AddToElementRepository("LiteralInteger18", Operation_ProvidedAndRequiredInterface_main_ObjectFlow16_LiteralInteger18); + AddToElementRepository("ObjectFlow19", Operation_ProvidedAndRequiredInterface_main_ObjectFlow19); + AddToElementRepository("LiteralInteger20", Operation_ProvidedAndRequiredInterface_main_ObjectFlow19_LiteralInteger20); + AddToElementRepository("LiteralBoolean21", Operation_ProvidedAndRequiredInterface_main_ObjectFlow19_LiteralBoolean21); + AddToElementRepository("ObjectFlow22", Operation_ProvidedAndRequiredInterface_main_ObjectFlow22); + AddToElementRepository("LiteralBoolean23", Operation_ProvidedAndRequiredInterface_main_ObjectFlow22_LiteralBoolean23); + AddToElementRepository("LiteralInteger24", Operation_ProvidedAndRequiredInterface_main_ObjectFlow22_LiteralInteger24); + AddToElementRepository("Fork d", Operation_ProvidedAndRequiredInterface_main_Fork_d); + AddToElementRepository("Call setP()", Operation_ProvidedAndRequiredInterface_main_Call_setP_); + AddToElementRepository("v", Operation_ProvidedAndRequiredInterface_main_Call_setP__v); + AddToElementRepository("LiteralInteger25", Operation_ProvidedAndRequiredInterface_main_Call_setP__v_LiteralInteger25); + AddToElementRepository("LiteralUnlimitedNatural26", Operation_ProvidedAndRequiredInterface_main_Call_setP__v_LiteralUnlimitedNatural26); + AddToElementRepository("LiteralInteger27", Operation_ProvidedAndRequiredInterface_main_Call_setP__v_LiteralInteger27); + AddToElementRepository("target", Operation_ProvidedAndRequiredInterface_main_Call_setP__target); + AddToElementRepository("LiteralInteger28", Operation_ProvidedAndRequiredInterface_main_Call_setP__target_LiteralInteger28); + AddToElementRepository("LiteralUnlimitedNatural29", Operation_ProvidedAndRequiredInterface_main_Call_setP__target_LiteralUnlimitedNatural29); + AddToElementRepository("ObjectFlow30", Operation_ProvidedAndRequiredInterface_main_ObjectFlow30); + AddToElementRepository("LiteralInteger31", Operation_ProvidedAndRequiredInterface_main_ObjectFlow30_LiteralInteger31); + AddToElementRepository("LiteralBoolean32", Operation_ProvidedAndRequiredInterface_main_ObjectFlow30_LiteralBoolean32); + AddToElementRepository("Call testP", Operation_ProvidedAndRequiredInterface_main_Call_testP); + AddToElementRepository("p", Operation_ProvidedAndRequiredInterface_main_Call_testP_p); + AddToElementRepository("LiteralInteger33", Operation_ProvidedAndRequiredInterface_main_Call_testP_p_LiteralInteger33); + AddToElementRepository("LiteralInteger34", Operation_ProvidedAndRequiredInterface_main_Call_testP_p_LiteralInteger34); + AddToElementRepository("LiteralUnlimitedNatural35", Operation_ProvidedAndRequiredInterface_main_Call_testP_p_LiteralUnlimitedNatural35); + AddToElementRepository("ObjectFlow36", Operation_ProvidedAndRequiredInterface_main_ObjectFlow36); + AddToElementRepository("LiteralBoolean37", Operation_ProvidedAndRequiredInterface_main_ObjectFlow36_LiteralBoolean37); + AddToElementRepository("LiteralInteger38", Operation_ProvidedAndRequiredInterface_main_ObjectFlow36_LiteralInteger38); + AddToElementRepository("testP", Operation_ProvidedAndRequiredInterface_main_testP); + AddToElementRepository("p", Operation_ProvidedAndRequiredInterface_main_testP_p); + AddToElementRepository("ObjectFlow39", Operation_ProvidedAndRequiredInterface_main_ObjectFlow39); + AddToElementRepository("LiteralBoolean40", Operation_ProvidedAndRequiredInterface_main_ObjectFlow39_LiteralBoolean40); + AddToElementRepository("LiteralInteger41", Operation_ProvidedAndRequiredInterface_main_ObjectFlow39_LiteralInteger41); + AddToElementRepository("Read a.b", Operation_ProvidedAndRequiredInterface_main_Read_a_b); + AddToElementRepository("object", Operation_ProvidedAndRequiredInterface_main_Read_a_b_object); + AddToElementRepository("LiteralInteger42", Operation_ProvidedAndRequiredInterface_main_Read_a_b_object_LiteralInteger42); + AddToElementRepository("LiteralUnlimitedNatural43", Operation_ProvidedAndRequiredInterface_main_Read_a_b_object_LiteralUnlimitedNatural43); + AddToElementRepository("result", Operation_ProvidedAndRequiredInterface_main_Read_a_b_result); + AddToElementRepository("LiteralUnlimitedNatural44", Operation_ProvidedAndRequiredInterface_main_Read_a_b_result_LiteralUnlimitedNatural44); + AddToElementRepository("LiteralInteger45", Operation_ProvidedAndRequiredInterface_main_Read_a_b_result_LiteralInteger45); + AddToElementRepository("D()", Operation_ProvidedAndRequiredInterface_main_D_); + AddToElementRepository("target", Operation_ProvidedAndRequiredInterface_main_D__target); + AddToElementRepository("LiteralUnlimitedNatural46", Operation_ProvidedAndRequiredInterface_main_D__target_LiteralUnlimitedNatural46); + AddToElementRepository("LiteralInteger47", Operation_ProvidedAndRequiredInterface_main_D__target_LiteralInteger47); + AddToElementRepository("result", Operation_ProvidedAndRequiredInterface_main_D__result); + AddToElementRepository("LiteralInteger48", Operation_ProvidedAndRequiredInterface_main_D__result_LiteralInteger48); + AddToElementRepository("LiteralUnlimitedNatural49", Operation_ProvidedAndRequiredInterface_main_D__result_LiteralUnlimitedNatural49); + AddToElementRepository("LiteralInteger50", Operation_ProvidedAndRequiredInterface_main_D__result_LiteralInteger50); + AddToElementRepository("ControlFlow51", Operation_ProvidedAndRequiredInterface_main_ControlFlow51); + AddToElementRepository("ObjectFlow52", Operation_ProvidedAndRequiredInterface_main_ObjectFlow52); + AddToElementRepository("LiteralInteger53", Operation_ProvidedAndRequiredInterface_main_ObjectFlow52_LiteralInteger53); + AddToElementRepository("LiteralBoolean54", Operation_ProvidedAndRequiredInterface_main_ObjectFlow52_LiteralBoolean54); + AddToElementRepository("ObjectFlow55", Operation_ProvidedAndRequiredInterface_main_ObjectFlow55); + AddToElementRepository("LiteralBoolean56", Operation_ProvidedAndRequiredInterface_main_ObjectFlow55_LiteralBoolean56); + AddToElementRepository("LiteralInteger57", Operation_ProvidedAndRequiredInterface_main_ObjectFlow55_LiteralInteger57); + AddToElementRepository("Read b.p", Operation_ProvidedAndRequiredInterface_main_Read_b_p); + AddToElementRepository("result", Operation_ProvidedAndRequiredInterface_main_Read_b_p_result); + AddToElementRepository("LiteralInteger58", Operation_ProvidedAndRequiredInterface_main_Read_b_p_result_LiteralInteger58); + AddToElementRepository("LiteralUnlimitedNatural59", Operation_ProvidedAndRequiredInterface_main_Read_b_p_result_LiteralUnlimitedNatural59); + AddToElementRepository("object", Operation_ProvidedAndRequiredInterface_main_Read_b_p_object); + AddToElementRepository("LiteralUnlimitedNatural60", Operation_ProvidedAndRequiredInterface_main_Read_b_p_object_LiteralUnlimitedNatural60); + AddToElementRepository("LiteralInteger61", Operation_ProvidedAndRequiredInterface_main_Read_b_p_object_LiteralInteger61); + AddToElementRepository("ObjectFlow62", Operation_ProvidedAndRequiredInterface_main_ObjectFlow62); + AddToElementRepository("LiteralInteger63", Operation_ProvidedAndRequiredInterface_main_ObjectFlow62_LiteralInteger63); + AddToElementRepository("LiteralBoolean64", Operation_ProvidedAndRequiredInterface_main_ObjectFlow62_LiteralBoolean64); + AddToElementRepository("Read e.c", Operation_ProvidedAndRequiredInterface_main_Read_e_c); + AddToElementRepository("object", Operation_ProvidedAndRequiredInterface_main_Read_e_c_object); + AddToElementRepository("LiteralInteger65", Operation_ProvidedAndRequiredInterface_main_Read_e_c_object_LiteralInteger65); + AddToElementRepository("LiteralUnlimitedNatural66", Operation_ProvidedAndRequiredInterface_main_Read_e_c_object_LiteralUnlimitedNatural66); + AddToElementRepository("result", Operation_ProvidedAndRequiredInterface_main_Read_e_c_result); + AddToElementRepository("LiteralInteger67", Operation_ProvidedAndRequiredInterface_main_Read_e_c_result_LiteralInteger67); + AddToElementRepository("LiteralUnlimitedNatural68", Operation_ProvidedAndRequiredInterface_main_Read_e_c_result_LiteralUnlimitedNatural68); + AddToElementRepository("Value(4)", Operation_ProvidedAndRequiredInterface_main_Value_4); + AddToElementRepository("LiteralInteger69", Operation_ProvidedAndRequiredInterface_main_Value_4_LiteralInteger69); + AddToElementRepository("result", Operation_ProvidedAndRequiredInterface_main_Value_4_result); + AddToElementRepository("LiteralInteger70", Operation_ProvidedAndRequiredInterface_main_Value_4_result_LiteralInteger70); + AddToElementRepository("LiteralUnlimitedNatural71", Operation_ProvidedAndRequiredInterface_main_Value_4_result_LiteralUnlimitedNatural71); + AddToElementRepository("Read d.e", Operation_ProvidedAndRequiredInterface_main_Read_d_e); + AddToElementRepository("result", Operation_ProvidedAndRequiredInterface_main_Read_d_e_result); + AddToElementRepository("LiteralInteger72", Operation_ProvidedAndRequiredInterface_main_Read_d_e_result_LiteralInteger72); + AddToElementRepository("LiteralUnlimitedNatural73", Operation_ProvidedAndRequiredInterface_main_Read_d_e_result_LiteralUnlimitedNatural73); + AddToElementRepository("object", Operation_ProvidedAndRequiredInterface_main_Read_d_e_object); + AddToElementRepository("LiteralUnlimitedNatural74", Operation_ProvidedAndRequiredInterface_main_Read_d_e_object_LiteralUnlimitedNatural74); + AddToElementRepository("LiteralInteger75", Operation_ProvidedAndRequiredInterface_main_Read_d_e_object_LiteralInteger75); + AddToElementRepository("Create D", Operation_ProvidedAndRequiredInterface_main_Create_D); + AddToElementRepository("result", Operation_ProvidedAndRequiredInterface_main_Create_D_result); + AddToElementRepository("LiteralUnlimitedNatural76", Operation_ProvidedAndRequiredInterface_main_Create_D_result_LiteralUnlimitedNatural76); + AddToElementRepository("LiteralInteger77", Operation_ProvidedAndRequiredInterface_main_Create_D_result_LiteralInteger77); + AddToElementRepository("ObjectFlow78", Operation_ProvidedAndRequiredInterface_main_ObjectFlow78); + AddToElementRepository("LiteralInteger79", Operation_ProvidedAndRequiredInterface_main_ObjectFlow78_LiteralInteger79); + AddToElementRepository("LiteralBoolean80", Operation_ProvidedAndRequiredInterface_main_ObjectFlow78_LiteralBoolean80); + AddToElementRepository("Read d.a", Operation_ProvidedAndRequiredInterface_main_Read_d_a); + AddToElementRepository("object", Operation_ProvidedAndRequiredInterface_main_Read_d_a_object); + AddToElementRepository("LiteralUnlimitedNatural81", Operation_ProvidedAndRequiredInterface_main_Read_d_a_object_LiteralUnlimitedNatural81); + AddToElementRepository("LiteralInteger82", Operation_ProvidedAndRequiredInterface_main_Read_d_a_object_LiteralInteger82); + AddToElementRepository("result", Operation_ProvidedAndRequiredInterface_main_Read_d_a_result); + AddToElementRepository("LiteralUnlimitedNatural83", Operation_ProvidedAndRequiredInterface_main_Read_d_a_result_LiteralUnlimitedNatural83); + AddToElementRepository("LiteralInteger84", Operation_ProvidedAndRequiredInterface_main_Read_d_a_result_LiteralInteger84); + AddToElementRepository("A", Operation_ProvidedAndRequiredInterface_A); + AddToElementRepository("b", Operation_ProvidedAndRequiredInterface_A_b); + AddToElementRepository("q", Operation_ProvidedAndRequiredInterface_A_q); + AddToElementRepository("setP_Integer", Operation_ProvidedAndRequiredInterface_A_setP_Integer); + AddToElementRepository("v", Operation_ProvidedAndRequiredInterface_A_setP_Integer_v); + AddToElementRepository("setPActivity", Operation_ProvidedAndRequiredInterface_A_setPActivity); + AddToElementRepository("vParameterNode", Operation_ProvidedAndRequiredInterface_A_setPActivity_vParameterNode); + AddToElementRepository("LiteralInteger85", Operation_ProvidedAndRequiredInterface_A_setPActivity_vParameterNode_LiteralInteger85); + AddToElementRepository("this", Operation_ProvidedAndRequiredInterface_A_setPActivity_this); + AddToElementRepository("result", Operation_ProvidedAndRequiredInterface_A_setPActivity_this_result); + AddToElementRepository("LiteralUnlimitedNatural86", Operation_ProvidedAndRequiredInterface_A_setPActivity_this_result_LiteralUnlimitedNatural86); + AddToElementRepository("LiteralInteger87", Operation_ProvidedAndRequiredInterface_A_setPActivity_this_result_LiteralInteger87); + AddToElementRepository("ObjectFlow88", Operation_ProvidedAndRequiredInterface_A_setPActivity_ObjectFlow88); + AddToElementRepository("LiteralBoolean89", Operation_ProvidedAndRequiredInterface_A_setPActivity_ObjectFlow88_LiteralBoolean89); + AddToElementRepository("LiteralInteger90", Operation_ProvidedAndRequiredInterface_A_setPActivity_ObjectFlow88_LiteralInteger90); + AddToElementRepository("ObjectFlow91", Operation_ProvidedAndRequiredInterface_A_setPActivity_ObjectFlow91); + AddToElementRepository("LiteralInteger92", Operation_ProvidedAndRequiredInterface_A_setPActivity_ObjectFlow91_LiteralInteger92); + AddToElementRepository("LiteralBoolean93", Operation_ProvidedAndRequiredInterface_A_setPActivity_ObjectFlow91_LiteralBoolean93); + AddToElementRepository("v", Operation_ProvidedAndRequiredInterface_A_setPActivity_v); + AddToElementRepository("Call I::setP on q", Operation_ProvidedAndRequiredInterface_A_setPActivity_Call_I_setP_on_q); + AddToElementRepository("v", Operation_ProvidedAndRequiredInterface_A_setPActivity_Call_I_setP_on_q_v); + AddToElementRepository("LiteralUnlimitedNatural94", Operation_ProvidedAndRequiredInterface_A_setPActivity_Call_I_setP_on_q_v_LiteralUnlimitedNatural94); + AddToElementRepository("LiteralInteger95", Operation_ProvidedAndRequiredInterface_A_setPActivity_Call_I_setP_on_q_v_LiteralInteger95); + AddToElementRepository("LiteralInteger96", Operation_ProvidedAndRequiredInterface_A_setPActivity_Call_I_setP_on_q_v_LiteralInteger96); + AddToElementRepository("target", Operation_ProvidedAndRequiredInterface_A_setPActivity_Call_I_setP_on_q_target); + AddToElementRepository("LiteralInteger97", Operation_ProvidedAndRequiredInterface_A_setPActivity_Call_I_setP_on_q_target_LiteralInteger97); + AddToElementRepository("LiteralUnlimitedNatural98", Operation_ProvidedAndRequiredInterface_A_setPActivity_Call_I_setP_on_q_target_LiteralUnlimitedNatural98); + AddToElementRepository("r", Operation_ProvidedAndRequiredInterface_A_r); + AddToElementRepository("ConnectorEnd99", Operation_ProvidedAndRequiredInterface_A_r_ConnectorEnd99); + AddToElementRepository("ConnectorEnd100", Operation_ProvidedAndRequiredInterface_A_r_ConnectorEnd100); + AddToElementRepository("E", Operation_ProvidedAndRequiredInterface_E); + AddToElementRepository("c", Operation_ProvidedAndRequiredInterface_E_c); + AddToElementRepository("s", Operation_ProvidedAndRequiredInterface_E_s); + AddToElementRepository("ConnectorEnd101", Operation_ProvidedAndRequiredInterface_E_s_ConnectorEnd101); + AddToElementRepository("ConnectorEnd102", Operation_ProvidedAndRequiredInterface_E_s_ConnectorEnd102); + AddToElementRepository("q", Operation_ProvidedAndRequiredInterface_E_q); + AddToElementRepository("IImpl", Operation_ProvidedAndRequiredInterface_IImpl); + AddToElementRepository("IRealization", Operation_ProvidedAndRequiredInterface_IImpl_IRealization); + AddToElementRepository("setP_Integer", Operation_ProvidedAndRequiredInterface_IImpl_setP_Integer); + AddToElementRepository("v", Operation_ProvidedAndRequiredInterface_IImpl_setP_Integer_v); + AddToElementRepository("IUsageIProvReq", Operation_ProvidedAndRequiredInterface_IUsageIProvReq); + AddToElementRepository("IProvReq", Operation_ProvidedAndRequiredInterface_IProvReq); + AddToElementRepository("setP_Integer", Operation_ProvidedAndRequiredInterface_IProvReq_setP_Integer); + AddToElementRepository("v", Operation_ProvidedAndRequiredInterface_IProvReq_setP_Integer_v); + AddToElementRepository("Generalization103", Operation_ProvidedAndRequiredInterface_IProvReq_Generalization103); + AddToElementRepository("B", Operation_ProvidedAndRequiredInterface_B); + AddToElementRepository("setPActivity", Operation_ProvidedAndRequiredInterface_B_setPActivity); + AddToElementRepository("ObjectFlow104", Operation_ProvidedAndRequiredInterface_B_setPActivity_ObjectFlow104); + AddToElementRepository("LiteralInteger105", Operation_ProvidedAndRequiredInterface_B_setPActivity_ObjectFlow104_LiteralInteger105); + AddToElementRepository("LiteralBoolean106", Operation_ProvidedAndRequiredInterface_B_setPActivity_ObjectFlow104_LiteralBoolean106); + AddToElementRepository("ObjectFlow107", Operation_ProvidedAndRequiredInterface_B_setPActivity_ObjectFlow107); + AddToElementRepository("LiteralBoolean108", Operation_ProvidedAndRequiredInterface_B_setPActivity_ObjectFlow107_LiteralBoolean108); + AddToElementRepository("LiteralInteger109", Operation_ProvidedAndRequiredInterface_B_setPActivity_ObjectFlow107_LiteralInteger109); + AddToElementRepository("v", Operation_ProvidedAndRequiredInterface_B_setPActivity_v); + AddToElementRepository("vParameterNode", Operation_ProvidedAndRequiredInterface_B_setPActivity_vParameterNode); + AddToElementRepository("LiteralInteger110", Operation_ProvidedAndRequiredInterface_B_setPActivity_vParameterNode_LiteralInteger110); + AddToElementRepository("Set this.p", Operation_ProvidedAndRequiredInterface_B_setPActivity_Set_this_p); + AddToElementRepository("value", Operation_ProvidedAndRequiredInterface_B_setPActivity_Set_this_p_value); + AddToElementRepository("LiteralInteger111", Operation_ProvidedAndRequiredInterface_B_setPActivity_Set_this_p_value_LiteralInteger111); + AddToElementRepository("LiteralUnlimitedNatural112", Operation_ProvidedAndRequiredInterface_B_setPActivity_Set_this_p_value_LiteralUnlimitedNatural112); + AddToElementRepository("object", Operation_ProvidedAndRequiredInterface_B_setPActivity_Set_this_p_object); + AddToElementRepository("LiteralInteger113", Operation_ProvidedAndRequiredInterface_B_setPActivity_Set_this_p_object_LiteralInteger113); + AddToElementRepository("LiteralUnlimitedNatural114", Operation_ProvidedAndRequiredInterface_B_setPActivity_Set_this_p_object_LiteralUnlimitedNatural114); + AddToElementRepository("result", Operation_ProvidedAndRequiredInterface_B_setPActivity_Set_this_p_result); + AddToElementRepository("LiteralInteger115", Operation_ProvidedAndRequiredInterface_B_setPActivity_Set_this_p_result_LiteralInteger115); + AddToElementRepository("LiteralUnlimitedNatural116", Operation_ProvidedAndRequiredInterface_B_setPActivity_Set_this_p_result_LiteralUnlimitedNatural116); + AddToElementRepository("this", Operation_ProvidedAndRequiredInterface_B_setPActivity_this); + AddToElementRepository("result", Operation_ProvidedAndRequiredInterface_B_setPActivity_this_result); + AddToElementRepository("LiteralUnlimitedNatural117", Operation_ProvidedAndRequiredInterface_B_setPActivity_this_result_LiteralUnlimitedNatural117); + AddToElementRepository("LiteralInteger118", Operation_ProvidedAndRequiredInterface_B_setPActivity_this_result_LiteralInteger118); + AddToElementRepository("p", Operation_ProvidedAndRequiredInterface_B_p); + AddToElementRepository("IRealization", Operation_ProvidedAndRequiredInterface_B_IRealization); + AddToElementRepository("setP_Integer", Operation_ProvidedAndRequiredInterface_B_setP_Integer); + AddToElementRepository("v", Operation_ProvidedAndRequiredInterface_B_setP_Integer_v); + + // Initialize public members + /* + * Model Operation_ProvidedAndRequiredInterface + */ + Operation_ProvidedAndRequiredInterface.SetName("Operation_ProvidedAndRequiredInterface"); + Operation_ProvidedAndRequiredInterface.SetVisibility(VisibilityKind.public_); + // Association R + Operation_ProvidedAndRequiredInterface_R.SetName("R"); + Operation_ProvidedAndRequiredInterface_R.SetVisibility(VisibilityKind.public_); + Operation_ProvidedAndRequiredInterface_R.AddOwnedEnd(Operation_ProvidedAndRequiredInterface_R_x); + Operation_ProvidedAndRequiredInterface_R.AddOwnedEnd(Operation_ProvidedAndRequiredInterface_R_y); + Operation_ProvidedAndRequiredInterface.AddPackagedElement(Operation_ProvidedAndRequiredInterface_R); + // Association S + Operation_ProvidedAndRequiredInterface_S.SetName("S"); + Operation_ProvidedAndRequiredInterface_S.SetVisibility(VisibilityKind.public_); + Operation_ProvidedAndRequiredInterface_S.AddOwnedEnd(Operation_ProvidedAndRequiredInterface_S_x); + Operation_ProvidedAndRequiredInterface_S.AddOwnedEnd(Operation_ProvidedAndRequiredInterface_S_y); + Operation_ProvidedAndRequiredInterface.AddPackagedElement(Operation_ProvidedAndRequiredInterface_S); + // Class C + Operation_ProvidedAndRequiredInterface_C.SetName("C"); + Operation_ProvidedAndRequiredInterface_C.SetVisibility(VisibilityKind.public_); + + // Port q + Operation_ProvidedAndRequiredInterface_C_q.SetName("q"); + Operation_ProvidedAndRequiredInterface_C_q.SetVisibility(VisibilityKind.public_); + + Operation_ProvidedAndRequiredInterface_C_q.SetType(Operation_ProvidedAndRequiredInterface_IProvReq); + Operation_ProvidedAndRequiredInterface_C_q.SetAggregation(AggregationKind.composite); + Operation_ProvidedAndRequiredInterface_C_q.isService = true; + Operation_ProvidedAndRequiredInterface_C_q.AddRequired(Operation_ProvidedAndRequiredInterface_I); + Operation_ProvidedAndRequiredInterface_C_q.AddProvided(Operation_ProvidedAndRequiredInterface_I); + Operation_ProvidedAndRequiredInterface_C.AddOwnedAttribute(Operation_ProvidedAndRequiredInterface_C_q); + // Activity setPActivity + Operation_ProvidedAndRequiredInterface_C_setPActivity.SetName("setPActivity"); + Operation_ProvidedAndRequiredInterface_C_setPActivity.SetVisibility(VisibilityKind.public_); + + // Parameter v + Operation_ProvidedAndRequiredInterface_C_setPActivity_v.SetName("v"); + Operation_ProvidedAndRequiredInterface_C_setPActivity_v.SetVisibility(VisibilityKind.public_); + + Operation_ProvidedAndRequiredInterface_C_setPActivity_v.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + Operation_ProvidedAndRequiredInterface_C_setPActivity.AddOwnedParameter(Operation_ProvidedAndRequiredInterface_C_setPActivity_v); + // ActivityParameterNode vParameterNode + Operation_ProvidedAndRequiredInterface_C_setPActivity_vParameterNode.SetName("vParameterNode"); + Operation_ProvidedAndRequiredInterface_C_setPActivity_vParameterNode.SetVisibility(VisibilityKind.public_); + + Operation_ProvidedAndRequiredInterface_C_setPActivity_vParameterNode.SetParameter(Operation_ProvidedAndRequiredInterface_C_setPActivity_v); + Operation_ProvidedAndRequiredInterface_C_setPActivity.AddNode(Operation_ProvidedAndRequiredInterface_C_setPActivity_vParameterNode); + // ReadSelfAction this + Operation_ProvidedAndRequiredInterface_C_setPActivity_this.SetName("this"); + Operation_ProvidedAndRequiredInterface_C_setPActivity_this.SetVisibility(VisibilityKind.public_); + // OutputPin result + Operation_ProvidedAndRequiredInterface_C_setPActivity_this_result.SetName("result"); + Operation_ProvidedAndRequiredInterface_C_setPActivity_this_result.SetVisibility(VisibilityKind.public_); + Operation_ProvidedAndRequiredInterface_C_setPActivity_this_result.SetType(Operation_ProvidedAndRequiredInterface_C); + Operation_ProvidedAndRequiredInterface_C_setPActivity_this.SetResult(Operation_ProvidedAndRequiredInterface_C_setPActivity_this_result); + Operation_ProvidedAndRequiredInterface_C_setPActivity.AddNode(Operation_ProvidedAndRequiredInterface_C_setPActivity_this); + // CallOperationAction Call I::setP on q + Operation_ProvidedAndRequiredInterface_C_setPActivity_Call_I_setP_on_q.SetName("Call I::setP on q"); + Operation_ProvidedAndRequiredInterface_C_setPActivity_Call_I_setP_on_q.SetVisibility(VisibilityKind.public_); + Operation_ProvidedAndRequiredInterface_C_setPActivity_Call_I_setP_on_q.SetOnPort(Operation_ProvidedAndRequiredInterface_C_q); + Operation_ProvidedAndRequiredInterface_C_setPActivity_Call_I_setP_on_q.SetOperation(Operation_ProvidedAndRequiredInterface_I_setP_Integer); + // InputPin target + Operation_ProvidedAndRequiredInterface_C_setPActivity_Call_I_setP_on_q_target.SetName("target"); + Operation_ProvidedAndRequiredInterface_C_setPActivity_Call_I_setP_on_q_target.SetVisibility(VisibilityKind.public_); + Operation_ProvidedAndRequiredInterface_C_setPActivity_Call_I_setP_on_q_target.SetType(Operation_ProvidedAndRequiredInterface_C); + Operation_ProvidedAndRequiredInterface_C_setPActivity_Call_I_setP_on_q.SetTarget(Operation_ProvidedAndRequiredInterface_C_setPActivity_Call_I_setP_on_q_target); + // InputPin v + Operation_ProvidedAndRequiredInterface_C_setPActivity_Call_I_setP_on_q_v.SetName("v"); + Operation_ProvidedAndRequiredInterface_C_setPActivity_Call_I_setP_on_q_v.SetVisibility(VisibilityKind.public_); + Operation_ProvidedAndRequiredInterface_C_setPActivity_Call_I_setP_on_q_v.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + Operation_ProvidedAndRequiredInterface_C_setPActivity_Call_I_setP_on_q.AddArgument(Operation_ProvidedAndRequiredInterface_C_setPActivity_Call_I_setP_on_q_v); + Operation_ProvidedAndRequiredInterface_C_setPActivity.AddNode(Operation_ProvidedAndRequiredInterface_C_setPActivity_Call_I_setP_on_q); + // ObjectFlow ObjectFlow0 from result to target + Operation_ProvidedAndRequiredInterface_C_setPActivity_ObjectFlow0.SetName("ObjectFlow0"); + Operation_ProvidedAndRequiredInterface_C_setPActivity_ObjectFlow0.SetVisibility(VisibilityKind.public_); + + Operation_ProvidedAndRequiredInterface_C_setPActivity_ObjectFlow0.SetSource(Operation_ProvidedAndRequiredInterface_C_setPActivity_this_result); + Operation_ProvidedAndRequiredInterface_C_setPActivity_ObjectFlow0.SetTarget(Operation_ProvidedAndRequiredInterface_C_setPActivity_Call_I_setP_on_q_target); + // LiteralBoolean LiteralBoolean1 + Operation_ProvidedAndRequiredInterface_C_setPActivity_ObjectFlow0_LiteralBoolean1.SetName("LiteralBoolean1"); + Operation_ProvidedAndRequiredInterface_C_setPActivity_ObjectFlow0_LiteralBoolean1.SetVisibility(VisibilityKind.public_); + Operation_ProvidedAndRequiredInterface_C_setPActivity_ObjectFlow0_LiteralBoolean1.SetValue(true); + Operation_ProvidedAndRequiredInterface_C_setPActivity_ObjectFlow0.SetGuard(Operation_ProvidedAndRequiredInterface_C_setPActivity_ObjectFlow0_LiteralBoolean1); + Operation_ProvidedAndRequiredInterface_C_setPActivity.AddEdge(Operation_ProvidedAndRequiredInterface_C_setPActivity_ObjectFlow0); + // ObjectFlow ObjectFlow4 from vParameterNode to v + Operation_ProvidedAndRequiredInterface_C_setPActivity_ObjectFlow4.SetName("ObjectFlow4"); + Operation_ProvidedAndRequiredInterface_C_setPActivity_ObjectFlow4.SetVisibility(VisibilityKind.public_); + + Operation_ProvidedAndRequiredInterface_C_setPActivity_ObjectFlow4.SetSource(Operation_ProvidedAndRequiredInterface_C_setPActivity_vParameterNode); + Operation_ProvidedAndRequiredInterface_C_setPActivity_ObjectFlow4.SetTarget(Operation_ProvidedAndRequiredInterface_C_setPActivity_Call_I_setP_on_q_v); + // LiteralBoolean LiteralBoolean6 + Operation_ProvidedAndRequiredInterface_C_setPActivity_ObjectFlow4_LiteralBoolean6.SetName("LiteralBoolean6"); + Operation_ProvidedAndRequiredInterface_C_setPActivity_ObjectFlow4_LiteralBoolean6.SetVisibility(VisibilityKind.public_); + Operation_ProvidedAndRequiredInterface_C_setPActivity_ObjectFlow4_LiteralBoolean6.SetValue(true); + Operation_ProvidedAndRequiredInterface_C_setPActivity_ObjectFlow4.SetGuard(Operation_ProvidedAndRequiredInterface_C_setPActivity_ObjectFlow4_LiteralBoolean6); + Operation_ProvidedAndRequiredInterface_C_setPActivity.AddEdge(Operation_ProvidedAndRequiredInterface_C_setPActivity_ObjectFlow4); + Operation_ProvidedAndRequiredInterface_C.AddOwnedBehavior(Operation_ProvidedAndRequiredInterface_C_setPActivity); + Operation_ProvidedAndRequiredInterface_C_IRealization.SetName("IRealization"); + Operation_ProvidedAndRequiredInterface_C_IRealization.SetVisibility(VisibilityKind.public_); + Operation_ProvidedAndRequiredInterface_C_IRealization.SetContract(Operation_ProvidedAndRequiredInterface_I); + + Operation_ProvidedAndRequiredInterface_C.AddInterfaceRealization(Operation_ProvidedAndRequiredInterface_C_IRealization); + + // Operation setP_Integer + Operation_ProvidedAndRequiredInterface_C_setP_Integer.SetName("setP_Integer"); + Operation_ProvidedAndRequiredInterface_C_setP_Integer.SetVisibility(VisibilityKind.public_); + // Parameter v + Operation_ProvidedAndRequiredInterface_C_setP_Integer_v.SetName("v"); + Operation_ProvidedAndRequiredInterface_C_setP_Integer_v.SetVisibility(VisibilityKind.public_); + + Operation_ProvidedAndRequiredInterface_C_setP_Integer_v.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + Operation_ProvidedAndRequiredInterface_C_setP_Integer.AddOwnedParameter(Operation_ProvidedAndRequiredInterface_C_setP_Integer_v); + Operation_ProvidedAndRequiredInterface_C_setP_Integer.AddMethod(Operation_ProvidedAndRequiredInterface_C_setPActivity); + Operation_ProvidedAndRequiredInterface_C.AddOwnedOperation(Operation_ProvidedAndRequiredInterface_C_setP_Integer); + Operation_ProvidedAndRequiredInterface.AddPackagedElement(Operation_ProvidedAndRequiredInterface_C); + // Interface I + Operation_ProvidedAndRequiredInterface_I.SetName("I"); + Operation_ProvidedAndRequiredInterface_I.SetVisibility(VisibilityKind.public_); + // Operation setP_Integer + Operation_ProvidedAndRequiredInterface_I_setP_Integer.SetName("setP_Integer"); + Operation_ProvidedAndRequiredInterface_I_setP_Integer.SetVisibility(VisibilityKind.public_); + // Parameter v + Operation_ProvidedAndRequiredInterface_I_setP_Integer_v.SetName("v"); + Operation_ProvidedAndRequiredInterface_I_setP_Integer_v.SetVisibility(VisibilityKind.public_); + + Operation_ProvidedAndRequiredInterface_I_setP_Integer_v.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + Operation_ProvidedAndRequiredInterface_I_setP_Integer.AddOwnedParameter(Operation_ProvidedAndRequiredInterface_I_setP_Integer_v); + Operation_ProvidedAndRequiredInterface_I.AddOwnedOperation(Operation_ProvidedAndRequiredInterface_I_setP_Integer); + Operation_ProvidedAndRequiredInterface.AddPackagedElement(Operation_ProvidedAndRequiredInterface_I); + // Class D + Operation_ProvidedAndRequiredInterface_D.SetName("D"); + Operation_ProvidedAndRequiredInterface_D.SetVisibility(VisibilityKind.public_); + + // Property e + Operation_ProvidedAndRequiredInterface_D_e.SetName("e"); + Operation_ProvidedAndRequiredInterface_D_e.SetVisibility(VisibilityKind.public_); + + Operation_ProvidedAndRequiredInterface_D_e.SetType(Operation_ProvidedAndRequiredInterface_E); + Operation_ProvidedAndRequiredInterface_D_e.SetAggregation(AggregationKind.composite); + Operation_ProvidedAndRequiredInterface_D.AddOwnedAttribute(Operation_ProvidedAndRequiredInterface_D_e); + // Property a + Operation_ProvidedAndRequiredInterface_D_a.SetName("a"); + Operation_ProvidedAndRequiredInterface_D_a.SetVisibility(VisibilityKind.public_); + + Operation_ProvidedAndRequiredInterface_D_a.SetType(Operation_ProvidedAndRequiredInterface_A); + Operation_ProvidedAndRequiredInterface_D_a.SetAggregation(AggregationKind.composite); + Operation_ProvidedAndRequiredInterface_D.AddOwnedAttribute(Operation_ProvidedAndRequiredInterface_D_a); + + Operation_ProvidedAndRequiredInterface_D_s.SetName("s"); + Operation_ProvidedAndRequiredInterface_D_s.SetVisibility(VisibilityKind.public_); + + Operation_ProvidedAndRequiredInterface_D_s_ConnectorEnd15.SetRole(Operation_ProvidedAndRequiredInterface_E_q); + Operation_ProvidedAndRequiredInterface_D_s_ConnectorEnd15.SetPartWithPort(Operation_ProvidedAndRequiredInterface_D_e); + + Operation_ProvidedAndRequiredInterface_D_s.AddEnd(Operation_ProvidedAndRequiredInterface_D_s_ConnectorEnd15); + + Operation_ProvidedAndRequiredInterface_D_s_ConnectorEnd14.SetRole(Operation_ProvidedAndRequiredInterface_A_q); + Operation_ProvidedAndRequiredInterface_D_s_ConnectorEnd14.SetPartWithPort(Operation_ProvidedAndRequiredInterface_D_a); + + Operation_ProvidedAndRequiredInterface_D_s.AddEnd(Operation_ProvidedAndRequiredInterface_D_s_ConnectorEnd14); + Operation_ProvidedAndRequiredInterface_D_s.SetType(Operation_ProvidedAndRequiredInterface_S); + Operation_ProvidedAndRequiredInterface_D.AddOwnedConnector(Operation_ProvidedAndRequiredInterface_D_s); + // Operation D_D + Operation_ProvidedAndRequiredInterface_D_D_D.SetName("D_D"); + Operation_ProvidedAndRequiredInterface_D_D_D.SetVisibility(VisibilityKind.public_); + // Parameter result + Operation_ProvidedAndRequiredInterface_D_D_D_result.SetName("result"); + Operation_ProvidedAndRequiredInterface_D_D_D_result.SetVisibility(VisibilityKind.public_); + + Operation_ProvidedAndRequiredInterface_D_D_D_result.SetType(Operation_ProvidedAndRequiredInterface_D); + Operation_ProvidedAndRequiredInterface_D_D_D_result.SetDirection(ParameterDirectionKind.return_); + Operation_ProvidedAndRequiredInterface_D_D_D.AddOwnedParameter(Operation_ProvidedAndRequiredInterface_D_D_D_result); + Operation_ProvidedAndRequiredInterface_D_D_D.ApplyStereotype(uml.standardprofile.StandardProfileModel.Instance().Stereotype_Create); + Operation_ProvidedAndRequiredInterface_D.AddOwnedOperation(Operation_ProvidedAndRequiredInterface_D_D_D); + Operation_ProvidedAndRequiredInterface.AddPackagedElement(Operation_ProvidedAndRequiredInterface_D); + // Activity main + Operation_ProvidedAndRequiredInterface_main.SetName("main"); + Operation_ProvidedAndRequiredInterface_main.SetVisibility(VisibilityKind.public_); + // FunctionBehavior testP + Operation_ProvidedAndRequiredInterface_main_testP.SetName("testP"); + Operation_ProvidedAndRequiredInterface_main_testP.SetVisibility(VisibilityKind.public_); + + // Parameter p + Operation_ProvidedAndRequiredInterface_main_testP_p.SetName("p"); + Operation_ProvidedAndRequiredInterface_main_testP_p.SetVisibility(VisibilityKind.public_); + + Operation_ProvidedAndRequiredInterface_main_testP_p.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + Operation_ProvidedAndRequiredInterface_main_testP.AddOwnedParameter(Operation_ProvidedAndRequiredInterface_main_testP_p); + Operation_ProvidedAndRequiredInterface_main_testP.AddLanguage("C#"); + Operation_ProvidedAndRequiredInterface_main_testP.AddLanguage("Using"); + Operation_ProvidedAndRequiredInterface_main_testP.AddBody("Console.WriteLine(\"Asserting d.a.b.p == 4\"); // Test parameter p int p = ((IntegerValue)inputParameters.ElementAt(0).values.ElementAt(0)).value; Debug.Println(\"[doBody] argument p = \" + p); Console.WriteLine(\"d.a.b.p == \" + p); Console.Write(\"Invocation forwarded out of e through q: \"); if(p == 4) { Console.ForegroundColor = ConsoleColor.Green; Console.WriteLine(\"Assertion successful.\"); } else { Console.ForegroundColor = ConsoleColor.Red; Console.WriteLine(\"Assertion failed!\"); } Console.ResetColor();"); + Operation_ProvidedAndRequiredInterface_main_testP.AddBody("using fuml.semantics.simpleclassifiers; "); + Operation_ProvidedAndRequiredInterface_main.AddOwnedBehavior(Operation_ProvidedAndRequiredInterface_main_testP); + // ReadStructuralFeatureAction Read a.b + Operation_ProvidedAndRequiredInterface_main_Read_a_b.SetName("Read a.b"); + Operation_ProvidedAndRequiredInterface_main_Read_a_b.SetVisibility(VisibilityKind.public_); + Operation_ProvidedAndRequiredInterface_main_Read_a_b.SetStructuralFeature(Operation_ProvidedAndRequiredInterface_A_b); + // InputPin object + Operation_ProvidedAndRequiredInterface_main_Read_a_b_object.SetName("object"); + Operation_ProvidedAndRequiredInterface_main_Read_a_b_object.SetVisibility(VisibilityKind.public_); + Operation_ProvidedAndRequiredInterface_main_Read_a_b_object.SetType(Operation_ProvidedAndRequiredInterface_A); + Operation_ProvidedAndRequiredInterface_main_Read_a_b.SetObject(Operation_ProvidedAndRequiredInterface_main_Read_a_b_object); + // OutputPin result + Operation_ProvidedAndRequiredInterface_main_Read_a_b_result.SetName("result"); + Operation_ProvidedAndRequiredInterface_main_Read_a_b_result.SetVisibility(VisibilityKind.public_); + Operation_ProvidedAndRequiredInterface_main_Read_a_b_result.SetType(Operation_ProvidedAndRequiredInterface_B); + Operation_ProvidedAndRequiredInterface_main_Read_a_b.SetResult(Operation_ProvidedAndRequiredInterface_main_Read_a_b_result); + Operation_ProvidedAndRequiredInterface_main.AddNode(Operation_ProvidedAndRequiredInterface_main_Read_a_b); + // CallOperationAction D() + Operation_ProvidedAndRequiredInterface_main_D_.SetName("D()"); + Operation_ProvidedAndRequiredInterface_main_D_.SetVisibility(VisibilityKind.public_); + + // OutputPin result + Operation_ProvidedAndRequiredInterface_main_D__result.SetName("result"); + Operation_ProvidedAndRequiredInterface_main_D__result.SetVisibility(VisibilityKind.public_); + Operation_ProvidedAndRequiredInterface_main_D__result.SetType(Operation_ProvidedAndRequiredInterface_D); + Operation_ProvidedAndRequiredInterface_main_D_.AddResult(Operation_ProvidedAndRequiredInterface_main_D__result); + Operation_ProvidedAndRequiredInterface_main_D_.SetOperation(Operation_ProvidedAndRequiredInterface_D_D_D); + // InputPin target + Operation_ProvidedAndRequiredInterface_main_D__target.SetName("target"); + Operation_ProvidedAndRequiredInterface_main_D__target.SetVisibility(VisibilityKind.public_); + Operation_ProvidedAndRequiredInterface_main_D__target.SetType(Operation_ProvidedAndRequiredInterface_D); + Operation_ProvidedAndRequiredInterface_main_D_.SetTarget(Operation_ProvidedAndRequiredInterface_main_D__target); + Operation_ProvidedAndRequiredInterface_main.AddNode(Operation_ProvidedAndRequiredInterface_main_D_); + // ReadStructuralFeatureAction Read b.p + Operation_ProvidedAndRequiredInterface_main_Read_b_p.SetName("Read b.p"); + Operation_ProvidedAndRequiredInterface_main_Read_b_p.SetVisibility(VisibilityKind.public_); + Operation_ProvidedAndRequiredInterface_main_Read_b_p.SetStructuralFeature(Operation_ProvidedAndRequiredInterface_B_p); + // InputPin object + Operation_ProvidedAndRequiredInterface_main_Read_b_p_object.SetName("object"); + Operation_ProvidedAndRequiredInterface_main_Read_b_p_object.SetVisibility(VisibilityKind.public_); + Operation_ProvidedAndRequiredInterface_main_Read_b_p_object.SetType(Operation_ProvidedAndRequiredInterface_B); + Operation_ProvidedAndRequiredInterface_main_Read_b_p.SetObject(Operation_ProvidedAndRequiredInterface_main_Read_b_p_object); + // OutputPin result + Operation_ProvidedAndRequiredInterface_main_Read_b_p_result.SetName("result"); + Operation_ProvidedAndRequiredInterface_main_Read_b_p_result.SetVisibility(VisibilityKind.public_); + Operation_ProvidedAndRequiredInterface_main_Read_b_p_result.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + Operation_ProvidedAndRequiredInterface_main_Read_b_p.SetResult(Operation_ProvidedAndRequiredInterface_main_Read_b_p_result); + Operation_ProvidedAndRequiredInterface_main.AddNode(Operation_ProvidedAndRequiredInterface_main_Read_b_p); + // ForkNode Fork d + Operation_ProvidedAndRequiredInterface_main_Fork_d.SetName("Fork d"); + Operation_ProvidedAndRequiredInterface_main_Fork_d.SetVisibility(VisibilityKind.public_); + Operation_ProvidedAndRequiredInterface_main.AddNode(Operation_ProvidedAndRequiredInterface_main_Fork_d); + // ReadStructuralFeatureAction Read e.c + Operation_ProvidedAndRequiredInterface_main_Read_e_c.SetName("Read e.c"); + Operation_ProvidedAndRequiredInterface_main_Read_e_c.SetVisibility(VisibilityKind.public_); + Operation_ProvidedAndRequiredInterface_main_Read_e_c.SetStructuralFeature(Operation_ProvidedAndRequiredInterface_E_c); + // InputPin object + Operation_ProvidedAndRequiredInterface_main_Read_e_c_object.SetName("object"); + Operation_ProvidedAndRequiredInterface_main_Read_e_c_object.SetVisibility(VisibilityKind.public_); + Operation_ProvidedAndRequiredInterface_main_Read_e_c_object.SetType(Operation_ProvidedAndRequiredInterface_E); + Operation_ProvidedAndRequiredInterface_main_Read_e_c.SetObject(Operation_ProvidedAndRequiredInterface_main_Read_e_c_object); + // OutputPin result + Operation_ProvidedAndRequiredInterface_main_Read_e_c_result.SetName("result"); + Operation_ProvidedAndRequiredInterface_main_Read_e_c_result.SetVisibility(VisibilityKind.public_); + Operation_ProvidedAndRequiredInterface_main_Read_e_c_result.SetType(Operation_ProvidedAndRequiredInterface_C); + Operation_ProvidedAndRequiredInterface_main_Read_e_c.SetResult(Operation_ProvidedAndRequiredInterface_main_Read_e_c_result); + Operation_ProvidedAndRequiredInterface_main.AddNode(Operation_ProvidedAndRequiredInterface_main_Read_e_c); + // CallOperationAction Call setP() + Operation_ProvidedAndRequiredInterface_main_Call_setP_.SetName("Call setP()"); + Operation_ProvidedAndRequiredInterface_main_Call_setP_.SetVisibility(VisibilityKind.public_); + Operation_ProvidedAndRequiredInterface_main_Call_setP_.SetOperation(Operation_ProvidedAndRequiredInterface_C_setP_Integer); + // InputPin target + Operation_ProvidedAndRequiredInterface_main_Call_setP__target.SetName("target"); + Operation_ProvidedAndRequiredInterface_main_Call_setP__target.SetVisibility(VisibilityKind.public_); + Operation_ProvidedAndRequiredInterface_main_Call_setP__target.SetType(Operation_ProvidedAndRequiredInterface_C); + Operation_ProvidedAndRequiredInterface_main_Call_setP_.SetTarget(Operation_ProvidedAndRequiredInterface_main_Call_setP__target); + // InputPin v + Operation_ProvidedAndRequiredInterface_main_Call_setP__v.SetName("v"); + Operation_ProvidedAndRequiredInterface_main_Call_setP__v.SetVisibility(VisibilityKind.public_); + Operation_ProvidedAndRequiredInterface_main_Call_setP__v.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + Operation_ProvidedAndRequiredInterface_main_Call_setP_.AddArgument(Operation_ProvidedAndRequiredInterface_main_Call_setP__v); + Operation_ProvidedAndRequiredInterface_main.AddNode(Operation_ProvidedAndRequiredInterface_main_Call_setP_); + // CallBehaviorAction Call testP + Operation_ProvidedAndRequiredInterface_main_Call_testP.SetName("Call testP"); + Operation_ProvidedAndRequiredInterface_main_Call_testP.SetVisibility(VisibilityKind.public_); + Operation_ProvidedAndRequiredInterface_main_Call_testP.SetBehavior(Operation_ProvidedAndRequiredInterface_main_testP); + // InputPin p + Operation_ProvidedAndRequiredInterface_main_Call_testP_p.SetName("p"); + Operation_ProvidedAndRequiredInterface_main_Call_testP_p.SetVisibility(VisibilityKind.public_); + Operation_ProvidedAndRequiredInterface_main_Call_testP_p.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + Operation_ProvidedAndRequiredInterface_main_Call_testP.AddArgument(Operation_ProvidedAndRequiredInterface_main_Call_testP_p); + Operation_ProvidedAndRequiredInterface_main.AddNode(Operation_ProvidedAndRequiredInterface_main_Call_testP); + // ValueSpecificationAction Value(4) + Operation_ProvidedAndRequiredInterface_main_Value_4.SetName("Value(4)"); + Operation_ProvidedAndRequiredInterface_main_Value_4.SetVisibility(VisibilityKind.public_); + // LiteralInteger LiteralInteger69 + Operation_ProvidedAndRequiredInterface_main_Value_4_LiteralInteger69.SetName("LiteralInteger69"); + Operation_ProvidedAndRequiredInterface_main_Value_4_LiteralInteger69.SetVisibility(VisibilityKind.public_); + Operation_ProvidedAndRequiredInterface_main_Value_4_LiteralInteger69.SetValue(4); + Operation_ProvidedAndRequiredInterface_main_Value_4.SetValue(Operation_ProvidedAndRequiredInterface_main_Value_4_LiteralInteger69); + // OutputPin result + Operation_ProvidedAndRequiredInterface_main_Value_4_result.SetName("result"); + Operation_ProvidedAndRequiredInterface_main_Value_4_result.SetVisibility(VisibilityKind.public_); + Operation_ProvidedAndRequiredInterface_main_Value_4_result.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + Operation_ProvidedAndRequiredInterface_main_Value_4.SetResult(Operation_ProvidedAndRequiredInterface_main_Value_4_result); + Operation_ProvidedAndRequiredInterface_main.AddNode(Operation_ProvidedAndRequiredInterface_main_Value_4); + // ReadStructuralFeatureAction Read d.e + Operation_ProvidedAndRequiredInterface_main_Read_d_e.SetName("Read d.e"); + Operation_ProvidedAndRequiredInterface_main_Read_d_e.SetVisibility(VisibilityKind.public_); + Operation_ProvidedAndRequiredInterface_main_Read_d_e.SetStructuralFeature(Operation_ProvidedAndRequiredInterface_D_e); + // InputPin object + Operation_ProvidedAndRequiredInterface_main_Read_d_e_object.SetName("object"); + Operation_ProvidedAndRequiredInterface_main_Read_d_e_object.SetVisibility(VisibilityKind.public_); + Operation_ProvidedAndRequiredInterface_main_Read_d_e_object.SetType(Operation_ProvidedAndRequiredInterface_D); + Operation_ProvidedAndRequiredInterface_main_Read_d_e.SetObject(Operation_ProvidedAndRequiredInterface_main_Read_d_e_object); + // OutputPin result + Operation_ProvidedAndRequiredInterface_main_Read_d_e_result.SetName("result"); + Operation_ProvidedAndRequiredInterface_main_Read_d_e_result.SetVisibility(VisibilityKind.public_); + Operation_ProvidedAndRequiredInterface_main_Read_d_e_result.SetType(Operation_ProvidedAndRequiredInterface_E); + Operation_ProvidedAndRequiredInterface_main_Read_d_e.SetResult(Operation_ProvidedAndRequiredInterface_main_Read_d_e_result); + Operation_ProvidedAndRequiredInterface_main.AddNode(Operation_ProvidedAndRequiredInterface_main_Read_d_e); + // CreateObjectAction Create D + Operation_ProvidedAndRequiredInterface_main_Create_D.SetName("Create D"); + Operation_ProvidedAndRequiredInterface_main_Create_D.SetVisibility(VisibilityKind.public_); + Operation_ProvidedAndRequiredInterface_main_Create_D.SetClassifier(Operation_ProvidedAndRequiredInterface_D); + // OutputPin result + Operation_ProvidedAndRequiredInterface_main_Create_D_result.SetName("result"); + Operation_ProvidedAndRequiredInterface_main_Create_D_result.SetVisibility(VisibilityKind.public_); + Operation_ProvidedAndRequiredInterface_main_Create_D_result.SetType(Operation_ProvidedAndRequiredInterface_D); + Operation_ProvidedAndRequiredInterface_main_Create_D.SetResult(Operation_ProvidedAndRequiredInterface_main_Create_D_result); + Operation_ProvidedAndRequiredInterface_main.AddNode(Operation_ProvidedAndRequiredInterface_main_Create_D); + // ReadStructuralFeatureAction Read d.a + Operation_ProvidedAndRequiredInterface_main_Read_d_a.SetName("Read d.a"); + Operation_ProvidedAndRequiredInterface_main_Read_d_a.SetVisibility(VisibilityKind.public_); + Operation_ProvidedAndRequiredInterface_main_Read_d_a.SetStructuralFeature(Operation_ProvidedAndRequiredInterface_D_a); + // InputPin object + Operation_ProvidedAndRequiredInterface_main_Read_d_a_object.SetName("object"); + Operation_ProvidedAndRequiredInterface_main_Read_d_a_object.SetVisibility(VisibilityKind.public_); + Operation_ProvidedAndRequiredInterface_main_Read_d_a_object.SetType(Operation_ProvidedAndRequiredInterface_D); + Operation_ProvidedAndRequiredInterface_main_Read_d_a.SetObject(Operation_ProvidedAndRequiredInterface_main_Read_d_a_object); + // OutputPin result + Operation_ProvidedAndRequiredInterface_main_Read_d_a_result.SetName("result"); + Operation_ProvidedAndRequiredInterface_main_Read_d_a_result.SetVisibility(VisibilityKind.public_); + Operation_ProvidedAndRequiredInterface_main_Read_d_a_result.SetType(Operation_ProvidedAndRequiredInterface_A); + Operation_ProvidedAndRequiredInterface_main_Read_d_a.SetResult(Operation_ProvidedAndRequiredInterface_main_Read_d_a_result); + Operation_ProvidedAndRequiredInterface_main.AddNode(Operation_ProvidedAndRequiredInterface_main_Read_d_a); + // ObjectFlow ObjectFlow39 from Fork d to object + Operation_ProvidedAndRequiredInterface_main_ObjectFlow39.SetName("ObjectFlow39"); + Operation_ProvidedAndRequiredInterface_main_ObjectFlow39.SetVisibility(VisibilityKind.public_); + + Operation_ProvidedAndRequiredInterface_main_ObjectFlow39.SetSource(Operation_ProvidedAndRequiredInterface_main_Fork_d); + Operation_ProvidedAndRequiredInterface_main_ObjectFlow39.SetTarget(Operation_ProvidedAndRequiredInterface_main_Read_d_a_object); + // LiteralBoolean LiteralBoolean40 + Operation_ProvidedAndRequiredInterface_main_ObjectFlow39_LiteralBoolean40.SetName("LiteralBoolean40"); + Operation_ProvidedAndRequiredInterface_main_ObjectFlow39_LiteralBoolean40.SetVisibility(VisibilityKind.public_); + Operation_ProvidedAndRequiredInterface_main_ObjectFlow39_LiteralBoolean40.SetValue(true); + Operation_ProvidedAndRequiredInterface_main_ObjectFlow39.SetGuard(Operation_ProvidedAndRequiredInterface_main_ObjectFlow39_LiteralBoolean40); + Operation_ProvidedAndRequiredInterface_main.AddEdge(Operation_ProvidedAndRequiredInterface_main_ObjectFlow39); + // ObjectFlow ObjectFlow16 from result to target + Operation_ProvidedAndRequiredInterface_main_ObjectFlow16.SetName("ObjectFlow16"); + Operation_ProvidedAndRequiredInterface_main_ObjectFlow16.SetVisibility(VisibilityKind.public_); + + Operation_ProvidedAndRequiredInterface_main_ObjectFlow16.SetSource(Operation_ProvidedAndRequiredInterface_main_Read_e_c_result); + Operation_ProvidedAndRequiredInterface_main_ObjectFlow16.SetTarget(Operation_ProvidedAndRequiredInterface_main_Call_setP__target); + // LiteralBoolean LiteralBoolean17 + Operation_ProvidedAndRequiredInterface_main_ObjectFlow16_LiteralBoolean17.SetName("LiteralBoolean17"); + Operation_ProvidedAndRequiredInterface_main_ObjectFlow16_LiteralBoolean17.SetVisibility(VisibilityKind.public_); + Operation_ProvidedAndRequiredInterface_main_ObjectFlow16_LiteralBoolean17.SetValue(true); + Operation_ProvidedAndRequiredInterface_main_ObjectFlow16.SetGuard(Operation_ProvidedAndRequiredInterface_main_ObjectFlow16_LiteralBoolean17); + Operation_ProvidedAndRequiredInterface_main.AddEdge(Operation_ProvidedAndRequiredInterface_main_ObjectFlow16); + // ControlFlow ControlFlow51 from Call setP() to Read d.a + Operation_ProvidedAndRequiredInterface_main_ControlFlow51.SetName("ControlFlow51"); + Operation_ProvidedAndRequiredInterface_main_ControlFlow51.SetVisibility(VisibilityKind.public_); + + Operation_ProvidedAndRequiredInterface_main_ControlFlow51.SetSource(Operation_ProvidedAndRequiredInterface_main_Call_setP_); + Operation_ProvidedAndRequiredInterface_main_ControlFlow51.SetTarget(Operation_ProvidedAndRequiredInterface_main_Read_d_a); + Operation_ProvidedAndRequiredInterface_main.AddEdge(Operation_ProvidedAndRequiredInterface_main_ControlFlow51); + // ObjectFlow ObjectFlow52 from result to v + Operation_ProvidedAndRequiredInterface_main_ObjectFlow52.SetName("ObjectFlow52"); + Operation_ProvidedAndRequiredInterface_main_ObjectFlow52.SetVisibility(VisibilityKind.public_); + + Operation_ProvidedAndRequiredInterface_main_ObjectFlow52.SetSource(Operation_ProvidedAndRequiredInterface_main_Value_4_result); + Operation_ProvidedAndRequiredInterface_main_ObjectFlow52.SetTarget(Operation_ProvidedAndRequiredInterface_main_Call_setP__v); + // LiteralBoolean LiteralBoolean54 + Operation_ProvidedAndRequiredInterface_main_ObjectFlow52_LiteralBoolean54.SetName("LiteralBoolean54"); + Operation_ProvidedAndRequiredInterface_main_ObjectFlow52_LiteralBoolean54.SetVisibility(VisibilityKind.public_); + Operation_ProvidedAndRequiredInterface_main_ObjectFlow52_LiteralBoolean54.SetValue(true); + Operation_ProvidedAndRequiredInterface_main_ObjectFlow52.SetGuard(Operation_ProvidedAndRequiredInterface_main_ObjectFlow52_LiteralBoolean54); + Operation_ProvidedAndRequiredInterface_main.AddEdge(Operation_ProvidedAndRequiredInterface_main_ObjectFlow52); + // ObjectFlow ObjectFlow55 from result to object + Operation_ProvidedAndRequiredInterface_main_ObjectFlow55.SetName("ObjectFlow55"); + Operation_ProvidedAndRequiredInterface_main_ObjectFlow55.SetVisibility(VisibilityKind.public_); + + Operation_ProvidedAndRequiredInterface_main_ObjectFlow55.SetSource(Operation_ProvidedAndRequiredInterface_main_Read_d_e_result); + Operation_ProvidedAndRequiredInterface_main_ObjectFlow55.SetTarget(Operation_ProvidedAndRequiredInterface_main_Read_e_c_object); + // LiteralBoolean LiteralBoolean56 + Operation_ProvidedAndRequiredInterface_main_ObjectFlow55_LiteralBoolean56.SetName("LiteralBoolean56"); + Operation_ProvidedAndRequiredInterface_main_ObjectFlow55_LiteralBoolean56.SetVisibility(VisibilityKind.public_); + Operation_ProvidedAndRequiredInterface_main_ObjectFlow55_LiteralBoolean56.SetValue(true); + Operation_ProvidedAndRequiredInterface_main_ObjectFlow55.SetGuard(Operation_ProvidedAndRequiredInterface_main_ObjectFlow55_LiteralBoolean56); + Operation_ProvidedAndRequiredInterface_main.AddEdge(Operation_ProvidedAndRequiredInterface_main_ObjectFlow55); + // ObjectFlow ObjectFlow19 from Fork d to object + Operation_ProvidedAndRequiredInterface_main_ObjectFlow19.SetName("ObjectFlow19"); + Operation_ProvidedAndRequiredInterface_main_ObjectFlow19.SetVisibility(VisibilityKind.public_); + + Operation_ProvidedAndRequiredInterface_main_ObjectFlow19.SetSource(Operation_ProvidedAndRequiredInterface_main_Fork_d); + Operation_ProvidedAndRequiredInterface_main_ObjectFlow19.SetTarget(Operation_ProvidedAndRequiredInterface_main_Read_d_e_object); + // LiteralBoolean LiteralBoolean21 + Operation_ProvidedAndRequiredInterface_main_ObjectFlow19_LiteralBoolean21.SetName("LiteralBoolean21"); + Operation_ProvidedAndRequiredInterface_main_ObjectFlow19_LiteralBoolean21.SetVisibility(VisibilityKind.public_); + Operation_ProvidedAndRequiredInterface_main_ObjectFlow19_LiteralBoolean21.SetValue(true); + Operation_ProvidedAndRequiredInterface_main_ObjectFlow19.SetGuard(Operation_ProvidedAndRequiredInterface_main_ObjectFlow19_LiteralBoolean21); + Operation_ProvidedAndRequiredInterface_main.AddEdge(Operation_ProvidedAndRequiredInterface_main_ObjectFlow19); + // ObjectFlow ObjectFlow62 from result to target + Operation_ProvidedAndRequiredInterface_main_ObjectFlow62.SetName("ObjectFlow62"); + Operation_ProvidedAndRequiredInterface_main_ObjectFlow62.SetVisibility(VisibilityKind.public_); + + Operation_ProvidedAndRequiredInterface_main_ObjectFlow62.SetSource(Operation_ProvidedAndRequiredInterface_main_Create_D_result); + Operation_ProvidedAndRequiredInterface_main_ObjectFlow62.SetTarget(Operation_ProvidedAndRequiredInterface_main_D__target); + // LiteralBoolean LiteralBoolean64 + Operation_ProvidedAndRequiredInterface_main_ObjectFlow62_LiteralBoolean64.SetName("LiteralBoolean64"); + Operation_ProvidedAndRequiredInterface_main_ObjectFlow62_LiteralBoolean64.SetVisibility(VisibilityKind.public_); + Operation_ProvidedAndRequiredInterface_main_ObjectFlow62_LiteralBoolean64.SetValue(true); + Operation_ProvidedAndRequiredInterface_main_ObjectFlow62.SetGuard(Operation_ProvidedAndRequiredInterface_main_ObjectFlow62_LiteralBoolean64); + Operation_ProvidedAndRequiredInterface_main.AddEdge(Operation_ProvidedAndRequiredInterface_main_ObjectFlow62); + // ObjectFlow ObjectFlow22 from result to Fork d + Operation_ProvidedAndRequiredInterface_main_ObjectFlow22.SetName("ObjectFlow22"); + Operation_ProvidedAndRequiredInterface_main_ObjectFlow22.SetVisibility(VisibilityKind.public_); + + Operation_ProvidedAndRequiredInterface_main_ObjectFlow22.SetSource(Operation_ProvidedAndRequiredInterface_main_D__result); + Operation_ProvidedAndRequiredInterface_main_ObjectFlow22.SetTarget(Operation_ProvidedAndRequiredInterface_main_Fork_d); + // LiteralBoolean LiteralBoolean23 + Operation_ProvidedAndRequiredInterface_main_ObjectFlow22_LiteralBoolean23.SetName("LiteralBoolean23"); + Operation_ProvidedAndRequiredInterface_main_ObjectFlow22_LiteralBoolean23.SetVisibility(VisibilityKind.public_); + Operation_ProvidedAndRequiredInterface_main_ObjectFlow22_LiteralBoolean23.SetValue(true); + Operation_ProvidedAndRequiredInterface_main_ObjectFlow22.SetGuard(Operation_ProvidedAndRequiredInterface_main_ObjectFlow22_LiteralBoolean23); + Operation_ProvidedAndRequiredInterface_main.AddEdge(Operation_ProvidedAndRequiredInterface_main_ObjectFlow22); + // ObjectFlow ObjectFlow30 from result to object + Operation_ProvidedAndRequiredInterface_main_ObjectFlow30.SetName("ObjectFlow30"); + Operation_ProvidedAndRequiredInterface_main_ObjectFlow30.SetVisibility(VisibilityKind.public_); + + Operation_ProvidedAndRequiredInterface_main_ObjectFlow30.SetSource(Operation_ProvidedAndRequiredInterface_main_Read_d_a_result); + Operation_ProvidedAndRequiredInterface_main_ObjectFlow30.SetTarget(Operation_ProvidedAndRequiredInterface_main_Read_a_b_object); + // LiteralBoolean LiteralBoolean32 + Operation_ProvidedAndRequiredInterface_main_ObjectFlow30_LiteralBoolean32.SetName("LiteralBoolean32"); + Operation_ProvidedAndRequiredInterface_main_ObjectFlow30_LiteralBoolean32.SetVisibility(VisibilityKind.public_); + Operation_ProvidedAndRequiredInterface_main_ObjectFlow30_LiteralBoolean32.SetValue(true); + Operation_ProvidedAndRequiredInterface_main_ObjectFlow30.SetGuard(Operation_ProvidedAndRequiredInterface_main_ObjectFlow30_LiteralBoolean32); + Operation_ProvidedAndRequiredInterface_main.AddEdge(Operation_ProvidedAndRequiredInterface_main_ObjectFlow30); + // ObjectFlow ObjectFlow36 from result to object + Operation_ProvidedAndRequiredInterface_main_ObjectFlow36.SetName("ObjectFlow36"); + Operation_ProvidedAndRequiredInterface_main_ObjectFlow36.SetVisibility(VisibilityKind.public_); + + Operation_ProvidedAndRequiredInterface_main_ObjectFlow36.SetSource(Operation_ProvidedAndRequiredInterface_main_Read_a_b_result); + Operation_ProvidedAndRequiredInterface_main_ObjectFlow36.SetTarget(Operation_ProvidedAndRequiredInterface_main_Read_b_p_object); + // LiteralBoolean LiteralBoolean37 + Operation_ProvidedAndRequiredInterface_main_ObjectFlow36_LiteralBoolean37.SetName("LiteralBoolean37"); + Operation_ProvidedAndRequiredInterface_main_ObjectFlow36_LiteralBoolean37.SetVisibility(VisibilityKind.public_); + Operation_ProvidedAndRequiredInterface_main_ObjectFlow36_LiteralBoolean37.SetValue(true); + Operation_ProvidedAndRequiredInterface_main_ObjectFlow36.SetGuard(Operation_ProvidedAndRequiredInterface_main_ObjectFlow36_LiteralBoolean37); + Operation_ProvidedAndRequiredInterface_main.AddEdge(Operation_ProvidedAndRequiredInterface_main_ObjectFlow36); + // ObjectFlow ObjectFlow78 from result to p + Operation_ProvidedAndRequiredInterface_main_ObjectFlow78.SetName("ObjectFlow78"); + Operation_ProvidedAndRequiredInterface_main_ObjectFlow78.SetVisibility(VisibilityKind.public_); + + Operation_ProvidedAndRequiredInterface_main_ObjectFlow78.SetSource(Operation_ProvidedAndRequiredInterface_main_Read_b_p_result); + Operation_ProvidedAndRequiredInterface_main_ObjectFlow78.SetTarget(Operation_ProvidedAndRequiredInterface_main_Call_testP_p); + // LiteralBoolean LiteralBoolean80 + Operation_ProvidedAndRequiredInterface_main_ObjectFlow78_LiteralBoolean80.SetName("LiteralBoolean80"); + Operation_ProvidedAndRequiredInterface_main_ObjectFlow78_LiteralBoolean80.SetVisibility(VisibilityKind.public_); + Operation_ProvidedAndRequiredInterface_main_ObjectFlow78_LiteralBoolean80.SetValue(true); + Operation_ProvidedAndRequiredInterface_main_ObjectFlow78.SetGuard(Operation_ProvidedAndRequiredInterface_main_ObjectFlow78_LiteralBoolean80); + Operation_ProvidedAndRequiredInterface_main.AddEdge(Operation_ProvidedAndRequiredInterface_main_ObjectFlow78); + Operation_ProvidedAndRequiredInterface.AddPackagedElement(Operation_ProvidedAndRequiredInterface_main); + // Class A + Operation_ProvidedAndRequiredInterface_A.SetName("A"); + Operation_ProvidedAndRequiredInterface_A.SetVisibility(VisibilityKind.public_); + + // Port q + Operation_ProvidedAndRequiredInterface_A_q.SetName("q"); + Operation_ProvidedAndRequiredInterface_A_q.SetVisibility(VisibilityKind.public_); + + Operation_ProvidedAndRequiredInterface_A_q.SetType(Operation_ProvidedAndRequiredInterface_IImpl); + Operation_ProvidedAndRequiredInterface_A_q.SetAggregation(AggregationKind.composite); + Operation_ProvidedAndRequiredInterface_A_q.isService = true; + Operation_ProvidedAndRequiredInterface_A_q.AddProvided(Operation_ProvidedAndRequiredInterface_I); + Operation_ProvidedAndRequiredInterface_A.AddOwnedAttribute(Operation_ProvidedAndRequiredInterface_A_q); + // Property b + Operation_ProvidedAndRequiredInterface_A_b.SetName("b"); + Operation_ProvidedAndRequiredInterface_A_b.SetVisibility(VisibilityKind.public_); + + Operation_ProvidedAndRequiredInterface_A_b.SetType(Operation_ProvidedAndRequiredInterface_B); + Operation_ProvidedAndRequiredInterface_A_b.SetAggregation(AggregationKind.composite); + Operation_ProvidedAndRequiredInterface_A.AddOwnedAttribute(Operation_ProvidedAndRequiredInterface_A_b); + // Activity setPActivity + Operation_ProvidedAndRequiredInterface_A_setPActivity.SetName("setPActivity"); + Operation_ProvidedAndRequiredInterface_A_setPActivity.SetVisibility(VisibilityKind.public_); + + // Parameter v + Operation_ProvidedAndRequiredInterface_A_setPActivity_v.SetName("v"); + Operation_ProvidedAndRequiredInterface_A_setPActivity_v.SetVisibility(VisibilityKind.public_); + + Operation_ProvidedAndRequiredInterface_A_setPActivity_v.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + Operation_ProvidedAndRequiredInterface_A_setPActivity.AddOwnedParameter(Operation_ProvidedAndRequiredInterface_A_setPActivity_v); + // ActivityParameterNode vParameterNode + Operation_ProvidedAndRequiredInterface_A_setPActivity_vParameterNode.SetName("vParameterNode"); + Operation_ProvidedAndRequiredInterface_A_setPActivity_vParameterNode.SetVisibility(VisibilityKind.public_); + + Operation_ProvidedAndRequiredInterface_A_setPActivity_vParameterNode.SetParameter(Operation_ProvidedAndRequiredInterface_A_setPActivity_v); + Operation_ProvidedAndRequiredInterface_A_setPActivity.AddNode(Operation_ProvidedAndRequiredInterface_A_setPActivity_vParameterNode); + // ReadSelfAction this + Operation_ProvidedAndRequiredInterface_A_setPActivity_this.SetName("this"); + Operation_ProvidedAndRequiredInterface_A_setPActivity_this.SetVisibility(VisibilityKind.public_); + // OutputPin result + Operation_ProvidedAndRequiredInterface_A_setPActivity_this_result.SetName("result"); + Operation_ProvidedAndRequiredInterface_A_setPActivity_this_result.SetVisibility(VisibilityKind.public_); + Operation_ProvidedAndRequiredInterface_A_setPActivity_this_result.SetType(Operation_ProvidedAndRequiredInterface_A); + Operation_ProvidedAndRequiredInterface_A_setPActivity_this.SetResult(Operation_ProvidedAndRequiredInterface_A_setPActivity_this_result); + Operation_ProvidedAndRequiredInterface_A_setPActivity.AddNode(Operation_ProvidedAndRequiredInterface_A_setPActivity_this); + // CallOperationAction Call I::setP on q + Operation_ProvidedAndRequiredInterface_A_setPActivity_Call_I_setP_on_q.SetName("Call I::setP on q"); + Operation_ProvidedAndRequiredInterface_A_setPActivity_Call_I_setP_on_q.SetVisibility(VisibilityKind.public_); + Operation_ProvidedAndRequiredInterface_A_setPActivity_Call_I_setP_on_q.SetOnPort(Operation_ProvidedAndRequiredInterface_A_q); + Operation_ProvidedAndRequiredInterface_A_setPActivity_Call_I_setP_on_q.SetOperation(Operation_ProvidedAndRequiredInterface_I_setP_Integer); + // InputPin target + Operation_ProvidedAndRequiredInterface_A_setPActivity_Call_I_setP_on_q_target.SetName("target"); + Operation_ProvidedAndRequiredInterface_A_setPActivity_Call_I_setP_on_q_target.SetVisibility(VisibilityKind.public_); + Operation_ProvidedAndRequiredInterface_A_setPActivity_Call_I_setP_on_q.SetTarget(Operation_ProvidedAndRequiredInterface_A_setPActivity_Call_I_setP_on_q_target); + // InputPin v + Operation_ProvidedAndRequiredInterface_A_setPActivity_Call_I_setP_on_q_v.SetName("v"); + Operation_ProvidedAndRequiredInterface_A_setPActivity_Call_I_setP_on_q_v.SetVisibility(VisibilityKind.public_); + Operation_ProvidedAndRequiredInterface_A_setPActivity_Call_I_setP_on_q_v.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + Operation_ProvidedAndRequiredInterface_A_setPActivity_Call_I_setP_on_q.AddArgument(Operation_ProvidedAndRequiredInterface_A_setPActivity_Call_I_setP_on_q_v); + Operation_ProvidedAndRequiredInterface_A_setPActivity.AddNode(Operation_ProvidedAndRequiredInterface_A_setPActivity_Call_I_setP_on_q); + // ObjectFlow ObjectFlow88 from result to target + Operation_ProvidedAndRequiredInterface_A_setPActivity_ObjectFlow88.SetName("ObjectFlow88"); + Operation_ProvidedAndRequiredInterface_A_setPActivity_ObjectFlow88.SetVisibility(VisibilityKind.public_); + + Operation_ProvidedAndRequiredInterface_A_setPActivity_ObjectFlow88.SetSource(Operation_ProvidedAndRequiredInterface_A_setPActivity_this_result); + Operation_ProvidedAndRequiredInterface_A_setPActivity_ObjectFlow88.SetTarget(Operation_ProvidedAndRequiredInterface_A_setPActivity_Call_I_setP_on_q_target); + // LiteralBoolean LiteralBoolean89 + Operation_ProvidedAndRequiredInterface_A_setPActivity_ObjectFlow88_LiteralBoolean89.SetName("LiteralBoolean89"); + Operation_ProvidedAndRequiredInterface_A_setPActivity_ObjectFlow88_LiteralBoolean89.SetVisibility(VisibilityKind.public_); + Operation_ProvidedAndRequiredInterface_A_setPActivity_ObjectFlow88_LiteralBoolean89.SetValue(true); + Operation_ProvidedAndRequiredInterface_A_setPActivity_ObjectFlow88.SetGuard(Operation_ProvidedAndRequiredInterface_A_setPActivity_ObjectFlow88_LiteralBoolean89); + Operation_ProvidedAndRequiredInterface_A_setPActivity.AddEdge(Operation_ProvidedAndRequiredInterface_A_setPActivity_ObjectFlow88); + // ObjectFlow ObjectFlow91 from vParameterNode to v + Operation_ProvidedAndRequiredInterface_A_setPActivity_ObjectFlow91.SetName("ObjectFlow91"); + Operation_ProvidedAndRequiredInterface_A_setPActivity_ObjectFlow91.SetVisibility(VisibilityKind.public_); + + Operation_ProvidedAndRequiredInterface_A_setPActivity_ObjectFlow91.SetSource(Operation_ProvidedAndRequiredInterface_A_setPActivity_vParameterNode); + Operation_ProvidedAndRequiredInterface_A_setPActivity_ObjectFlow91.SetTarget(Operation_ProvidedAndRequiredInterface_A_setPActivity_Call_I_setP_on_q_v); + // LiteralBoolean LiteralBoolean93 + Operation_ProvidedAndRequiredInterface_A_setPActivity_ObjectFlow91_LiteralBoolean93.SetName("LiteralBoolean93"); + Operation_ProvidedAndRequiredInterface_A_setPActivity_ObjectFlow91_LiteralBoolean93.SetVisibility(VisibilityKind.public_); + Operation_ProvidedAndRequiredInterface_A_setPActivity_ObjectFlow91_LiteralBoolean93.SetValue(true); + Operation_ProvidedAndRequiredInterface_A_setPActivity_ObjectFlow91.SetGuard(Operation_ProvidedAndRequiredInterface_A_setPActivity_ObjectFlow91_LiteralBoolean93); + Operation_ProvidedAndRequiredInterface_A_setPActivity.AddEdge(Operation_ProvidedAndRequiredInterface_A_setPActivity_ObjectFlow91); + Operation_ProvidedAndRequiredInterface_A.AddOwnedBehavior(Operation_ProvidedAndRequiredInterface_A_setPActivity); + Operation_ProvidedAndRequiredInterface_A_r.SetName("r"); + Operation_ProvidedAndRequiredInterface_A_r.SetVisibility(VisibilityKind.public_); + + Operation_ProvidedAndRequiredInterface_A_r_ConnectorEnd100.SetRole(Operation_ProvidedAndRequiredInterface_A_q); + + Operation_ProvidedAndRequiredInterface_A_r.AddEnd(Operation_ProvidedAndRequiredInterface_A_r_ConnectorEnd100); + + Operation_ProvidedAndRequiredInterface_A_r_ConnectorEnd99.SetRole(Operation_ProvidedAndRequiredInterface_A_b); + + Operation_ProvidedAndRequiredInterface_A_r.AddEnd(Operation_ProvidedAndRequiredInterface_A_r_ConnectorEnd99); + Operation_ProvidedAndRequiredInterface_A_r.SetType(Operation_ProvidedAndRequiredInterface_R); + Operation_ProvidedAndRequiredInterface_A.AddOwnedConnector(Operation_ProvidedAndRequiredInterface_A_r); + // Operation setP_Integer + Operation_ProvidedAndRequiredInterface_A_setP_Integer.SetName("setP_Integer"); + Operation_ProvidedAndRequiredInterface_A_setP_Integer.SetVisibility(VisibilityKind.public_); + // Parameter v + Operation_ProvidedAndRequiredInterface_A_setP_Integer_v.SetName("v"); + Operation_ProvidedAndRequiredInterface_A_setP_Integer_v.SetVisibility(VisibilityKind.public_); + + Operation_ProvidedAndRequiredInterface_A_setP_Integer_v.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + Operation_ProvidedAndRequiredInterface_A_setP_Integer.AddOwnedParameter(Operation_ProvidedAndRequiredInterface_A_setP_Integer_v); + Operation_ProvidedAndRequiredInterface_A_setP_Integer.AddMethod(Operation_ProvidedAndRequiredInterface_A_setPActivity); + Operation_ProvidedAndRequiredInterface_A.AddOwnedOperation(Operation_ProvidedAndRequiredInterface_A_setP_Integer); + Operation_ProvidedAndRequiredInterface.AddPackagedElement(Operation_ProvidedAndRequiredInterface_A); + // Class E + Operation_ProvidedAndRequiredInterface_E.SetName("E"); + Operation_ProvidedAndRequiredInterface_E.SetVisibility(VisibilityKind.public_); + + // Port q + Operation_ProvidedAndRequiredInterface_E_q.SetName("q"); + Operation_ProvidedAndRequiredInterface_E_q.SetVisibility(VisibilityKind.public_); + + Operation_ProvidedAndRequiredInterface_E_q.SetType(Operation_ProvidedAndRequiredInterface_IProvReq); + Operation_ProvidedAndRequiredInterface_E_q.SetAggregation(AggregationKind.composite); + Operation_ProvidedAndRequiredInterface_E_q.isService = true; + Operation_ProvidedAndRequiredInterface_E_q.AddRequired(Operation_ProvidedAndRequiredInterface_I); + Operation_ProvidedAndRequiredInterface_E_q.AddProvided(Operation_ProvidedAndRequiredInterface_I); + Operation_ProvidedAndRequiredInterface_E.AddOwnedAttribute(Operation_ProvidedAndRequiredInterface_E_q); + // Property c + Operation_ProvidedAndRequiredInterface_E_c.SetName("c"); + Operation_ProvidedAndRequiredInterface_E_c.SetVisibility(VisibilityKind.public_); + + Operation_ProvidedAndRequiredInterface_E_c.SetType(Operation_ProvidedAndRequiredInterface_C); + Operation_ProvidedAndRequiredInterface_E_c.SetAggregation(AggregationKind.composite); + Operation_ProvidedAndRequiredInterface_E.AddOwnedAttribute(Operation_ProvidedAndRequiredInterface_E_c); + + Operation_ProvidedAndRequiredInterface_E_s.SetName("s"); + Operation_ProvidedAndRequiredInterface_E_s.SetVisibility(VisibilityKind.public_); + + Operation_ProvidedAndRequiredInterface_E_s_ConnectorEnd102.SetRole(Operation_ProvidedAndRequiredInterface_C_q); + Operation_ProvidedAndRequiredInterface_E_s_ConnectorEnd102.SetPartWithPort(Operation_ProvidedAndRequiredInterface_E_c); + + Operation_ProvidedAndRequiredInterface_E_s.AddEnd(Operation_ProvidedAndRequiredInterface_E_s_ConnectorEnd102); + + Operation_ProvidedAndRequiredInterface_E_s_ConnectorEnd101.SetRole(Operation_ProvidedAndRequiredInterface_E_q); + + Operation_ProvidedAndRequiredInterface_E_s.AddEnd(Operation_ProvidedAndRequiredInterface_E_s_ConnectorEnd101); + Operation_ProvidedAndRequiredInterface_E_s.SetType(Operation_ProvidedAndRequiredInterface_S); + Operation_ProvidedAndRequiredInterface_E.AddOwnedConnector(Operation_ProvidedAndRequiredInterface_E_s); + Operation_ProvidedAndRequiredInterface.AddPackagedElement(Operation_ProvidedAndRequiredInterface_E); + // Class IImpl + Operation_ProvidedAndRequiredInterface_IImpl.SetName("IImpl"); + Operation_ProvidedAndRequiredInterface_IImpl.SetVisibility(VisibilityKind.public_); + Operation_ProvidedAndRequiredInterface_IImpl_IRealization.SetName("IRealization"); + Operation_ProvidedAndRequiredInterface_IImpl_IRealization.SetVisibility(VisibilityKind.public_); + Operation_ProvidedAndRequiredInterface_IImpl_IRealization.SetContract(Operation_ProvidedAndRequiredInterface_I); + + Operation_ProvidedAndRequiredInterface_IImpl.AddInterfaceRealization(Operation_ProvidedAndRequiredInterface_IImpl_IRealization); + + // Operation setP_Integer + Operation_ProvidedAndRequiredInterface_IImpl_setP_Integer.SetName("setP_Integer"); + Operation_ProvidedAndRequiredInterface_IImpl_setP_Integer.SetVisibility(VisibilityKind.public_); + // Parameter v + Operation_ProvidedAndRequiredInterface_IImpl_setP_Integer_v.SetName("v"); + Operation_ProvidedAndRequiredInterface_IImpl_setP_Integer_v.SetVisibility(VisibilityKind.public_); + + Operation_ProvidedAndRequiredInterface_IImpl_setP_Integer_v.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + Operation_ProvidedAndRequiredInterface_IImpl_setP_Integer.AddOwnedParameter(Operation_ProvidedAndRequiredInterface_IImpl_setP_Integer_v); + Operation_ProvidedAndRequiredInterface_IImpl.AddOwnedOperation(Operation_ProvidedAndRequiredInterface_IImpl_setP_Integer); + Operation_ProvidedAndRequiredInterface.AddPackagedElement(Operation_ProvidedAndRequiredInterface_IImpl); + // Usage IUsageIProvReq + Operation_ProvidedAndRequiredInterface_IUsageIProvReq.SetName("IUsageIProvReq"); + Operation_ProvidedAndRequiredInterface_IUsageIProvReq.SetVisibility(VisibilityKind.public_); + Operation_ProvidedAndRequiredInterface_IUsageIProvReq.AddClient(Operation_ProvidedAndRequiredInterface_IProvReq); + Operation_ProvidedAndRequiredInterface_IUsageIProvReq.AddSupplier(Operation_ProvidedAndRequiredInterface_I); + Operation_ProvidedAndRequiredInterface.AddPackagedElement(Operation_ProvidedAndRequiredInterface_IUsageIProvReq); + // Class IProvReq + Operation_ProvidedAndRequiredInterface_IProvReq.SetName("IProvReq"); + Operation_ProvidedAndRequiredInterface_IProvReq.SetVisibility(VisibilityKind.public_); + + // Generalization to IImpl + Operation_ProvidedAndRequiredInterface_IProvReq_Generalization103.SetGeneral(Operation_ProvidedAndRequiredInterface_IImpl); + Operation_ProvidedAndRequiredInterface_IProvReq.AddGeneralization(Operation_ProvidedAndRequiredInterface_IProvReq_Generalization103); + + + // Operation setP_Integer + Operation_ProvidedAndRequiredInterface_IProvReq_setP_Integer.SetName("setP_Integer"); + Operation_ProvidedAndRequiredInterface_IProvReq_setP_Integer.SetVisibility(VisibilityKind.public_); + // Parameter v + Operation_ProvidedAndRequiredInterface_IProvReq_setP_Integer_v.SetName("v"); + Operation_ProvidedAndRequiredInterface_IProvReq_setP_Integer_v.SetVisibility(VisibilityKind.public_); + + Operation_ProvidedAndRequiredInterface_IProvReq_setP_Integer_v.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + Operation_ProvidedAndRequiredInterface_IProvReq_setP_Integer.AddOwnedParameter(Operation_ProvidedAndRequiredInterface_IProvReq_setP_Integer_v); + Operation_ProvidedAndRequiredInterface_IProvReq.AddOwnedOperation(Operation_ProvidedAndRequiredInterface_IProvReq_setP_Integer); + Operation_ProvidedAndRequiredInterface.AddPackagedElement(Operation_ProvidedAndRequiredInterface_IProvReq); + // Class B + Operation_ProvidedAndRequiredInterface_B.SetName("B"); + Operation_ProvidedAndRequiredInterface_B.SetVisibility(VisibilityKind.public_); + + // Property p + Operation_ProvidedAndRequiredInterface_B_p.SetName("p"); + Operation_ProvidedAndRequiredInterface_B_p.SetVisibility(VisibilityKind.public_); + + Operation_ProvidedAndRequiredInterface_B_p.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + Operation_ProvidedAndRequiredInterface_B.AddOwnedAttribute(Operation_ProvidedAndRequiredInterface_B_p); + // Activity setPActivity + Operation_ProvidedAndRequiredInterface_B_setPActivity.SetName("setPActivity"); + Operation_ProvidedAndRequiredInterface_B_setPActivity.SetVisibility(VisibilityKind.public_); + + // Parameter v + Operation_ProvidedAndRequiredInterface_B_setPActivity_v.SetName("v"); + Operation_ProvidedAndRequiredInterface_B_setPActivity_v.SetVisibility(VisibilityKind.public_); + + Operation_ProvidedAndRequiredInterface_B_setPActivity_v.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + Operation_ProvidedAndRequiredInterface_B_setPActivity.AddOwnedParameter(Operation_ProvidedAndRequiredInterface_B_setPActivity_v); + // ActivityParameterNode vParameterNode + Operation_ProvidedAndRequiredInterface_B_setPActivity_vParameterNode.SetName("vParameterNode"); + Operation_ProvidedAndRequiredInterface_B_setPActivity_vParameterNode.SetVisibility(VisibilityKind.public_); + + Operation_ProvidedAndRequiredInterface_B_setPActivity_vParameterNode.SetParameter(Operation_ProvidedAndRequiredInterface_B_setPActivity_v); + Operation_ProvidedAndRequiredInterface_B_setPActivity.AddNode(Operation_ProvidedAndRequiredInterface_B_setPActivity_vParameterNode); + // AddStructuralFeatureValueAction Set this.p + Operation_ProvidedAndRequiredInterface_B_setPActivity_Set_this_p.SetName("Set this.p"); + Operation_ProvidedAndRequiredInterface_B_setPActivity_Set_this_p.SetVisibility(VisibilityKind.public_); + Operation_ProvidedAndRequiredInterface_B_setPActivity_Set_this_p.SetStructuralFeature(Operation_ProvidedAndRequiredInterface_B_p); + // InputPin object + Operation_ProvidedAndRequiredInterface_B_setPActivity_Set_this_p_object.SetName("object"); + Operation_ProvidedAndRequiredInterface_B_setPActivity_Set_this_p_object.SetVisibility(VisibilityKind.public_); + Operation_ProvidedAndRequiredInterface_B_setPActivity_Set_this_p_object.SetType(Operation_ProvidedAndRequiredInterface_B); + Operation_ProvidedAndRequiredInterface_B_setPActivity_Set_this_p.SetObject(Operation_ProvidedAndRequiredInterface_B_setPActivity_Set_this_p_object); + // InputPin value + Operation_ProvidedAndRequiredInterface_B_setPActivity_Set_this_p_value.SetName("value"); + Operation_ProvidedAndRequiredInterface_B_setPActivity_Set_this_p_value.SetVisibility(VisibilityKind.public_); + Operation_ProvidedAndRequiredInterface_B_setPActivity_Set_this_p_value.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + Operation_ProvidedAndRequiredInterface_B_setPActivity_Set_this_p.SetValue(Operation_ProvidedAndRequiredInterface_B_setPActivity_Set_this_p_value); + // OutputPin result + Operation_ProvidedAndRequiredInterface_B_setPActivity_Set_this_p_result.SetName("result"); + Operation_ProvidedAndRequiredInterface_B_setPActivity_Set_this_p_result.SetVisibility(VisibilityKind.public_); + Operation_ProvidedAndRequiredInterface_B_setPActivity_Set_this_p_result.SetType(Operation_ProvidedAndRequiredInterface_B); + Operation_ProvidedAndRequiredInterface_B_setPActivity_Set_this_p.SetResult(Operation_ProvidedAndRequiredInterface_B_setPActivity_Set_this_p_result); + Operation_ProvidedAndRequiredInterface_B_setPActivity_Set_this_p.SetIsReplaceAll(true); + Operation_ProvidedAndRequiredInterface_B_setPActivity.AddNode(Operation_ProvidedAndRequiredInterface_B_setPActivity_Set_this_p); + // ReadSelfAction this + Operation_ProvidedAndRequiredInterface_B_setPActivity_this.SetName("this"); + Operation_ProvidedAndRequiredInterface_B_setPActivity_this.SetVisibility(VisibilityKind.public_); + // OutputPin result + Operation_ProvidedAndRequiredInterface_B_setPActivity_this_result.SetName("result"); + Operation_ProvidedAndRequiredInterface_B_setPActivity_this_result.SetVisibility(VisibilityKind.public_); + Operation_ProvidedAndRequiredInterface_B_setPActivity_this_result.SetType(Operation_ProvidedAndRequiredInterface_B); + Operation_ProvidedAndRequiredInterface_B_setPActivity_this.SetResult(Operation_ProvidedAndRequiredInterface_B_setPActivity_this_result); + Operation_ProvidedAndRequiredInterface_B_setPActivity.AddNode(Operation_ProvidedAndRequiredInterface_B_setPActivity_this); + // ObjectFlow ObjectFlow104 from vParameterNode to value + Operation_ProvidedAndRequiredInterface_B_setPActivity_ObjectFlow104.SetName("ObjectFlow104"); + Operation_ProvidedAndRequiredInterface_B_setPActivity_ObjectFlow104.SetVisibility(VisibilityKind.public_); + + Operation_ProvidedAndRequiredInterface_B_setPActivity_ObjectFlow104.SetSource(Operation_ProvidedAndRequiredInterface_B_setPActivity_vParameterNode); + Operation_ProvidedAndRequiredInterface_B_setPActivity_ObjectFlow104.SetTarget(Operation_ProvidedAndRequiredInterface_B_setPActivity_Set_this_p_value); + // LiteralBoolean LiteralBoolean106 + Operation_ProvidedAndRequiredInterface_B_setPActivity_ObjectFlow104_LiteralBoolean106.SetName("LiteralBoolean106"); + Operation_ProvidedAndRequiredInterface_B_setPActivity_ObjectFlow104_LiteralBoolean106.SetVisibility(VisibilityKind.public_); + Operation_ProvidedAndRequiredInterface_B_setPActivity_ObjectFlow104_LiteralBoolean106.SetValue(true); + Operation_ProvidedAndRequiredInterface_B_setPActivity_ObjectFlow104.SetGuard(Operation_ProvidedAndRequiredInterface_B_setPActivity_ObjectFlow104_LiteralBoolean106); + Operation_ProvidedAndRequiredInterface_B_setPActivity.AddEdge(Operation_ProvidedAndRequiredInterface_B_setPActivity_ObjectFlow104); + // ObjectFlow ObjectFlow107 from result to object + Operation_ProvidedAndRequiredInterface_B_setPActivity_ObjectFlow107.SetName("ObjectFlow107"); + Operation_ProvidedAndRequiredInterface_B_setPActivity_ObjectFlow107.SetVisibility(VisibilityKind.public_); + + Operation_ProvidedAndRequiredInterface_B_setPActivity_ObjectFlow107.SetSource(Operation_ProvidedAndRequiredInterface_B_setPActivity_this_result); + Operation_ProvidedAndRequiredInterface_B_setPActivity_ObjectFlow107.SetTarget(Operation_ProvidedAndRequiredInterface_B_setPActivity_Set_this_p_object); + // LiteralBoolean LiteralBoolean108 + Operation_ProvidedAndRequiredInterface_B_setPActivity_ObjectFlow107_LiteralBoolean108.SetName("LiteralBoolean108"); + Operation_ProvidedAndRequiredInterface_B_setPActivity_ObjectFlow107_LiteralBoolean108.SetVisibility(VisibilityKind.public_); + Operation_ProvidedAndRequiredInterface_B_setPActivity_ObjectFlow107_LiteralBoolean108.SetValue(true); + Operation_ProvidedAndRequiredInterface_B_setPActivity_ObjectFlow107.SetGuard(Operation_ProvidedAndRequiredInterface_B_setPActivity_ObjectFlow107_LiteralBoolean108); + Operation_ProvidedAndRequiredInterface_B_setPActivity.AddEdge(Operation_ProvidedAndRequiredInterface_B_setPActivity_ObjectFlow107); + Operation_ProvidedAndRequiredInterface_B.AddOwnedBehavior(Operation_ProvidedAndRequiredInterface_B_setPActivity); + Operation_ProvidedAndRequiredInterface_B_IRealization.SetName("IRealization"); + Operation_ProvidedAndRequiredInterface_B_IRealization.SetVisibility(VisibilityKind.public_); + Operation_ProvidedAndRequiredInterface_B_IRealization.SetContract(Operation_ProvidedAndRequiredInterface_I); + + Operation_ProvidedAndRequiredInterface_B.AddInterfaceRealization(Operation_ProvidedAndRequiredInterface_B_IRealization); + + // Operation setP_Integer + Operation_ProvidedAndRequiredInterface_B_setP_Integer.SetName("setP_Integer"); + Operation_ProvidedAndRequiredInterface_B_setP_Integer.SetVisibility(VisibilityKind.public_); + // Parameter v + Operation_ProvidedAndRequiredInterface_B_setP_Integer_v.SetName("v"); + Operation_ProvidedAndRequiredInterface_B_setP_Integer_v.SetVisibility(VisibilityKind.public_); + + Operation_ProvidedAndRequiredInterface_B_setP_Integer_v.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + Operation_ProvidedAndRequiredInterface_B_setP_Integer.AddOwnedParameter(Operation_ProvidedAndRequiredInterface_B_setP_Integer_v); + Operation_ProvidedAndRequiredInterface_B_setP_Integer.AddMethod(Operation_ProvidedAndRequiredInterface_B_setPActivity); + Operation_ProvidedAndRequiredInterface_B.AddOwnedOperation(Operation_ProvidedAndRequiredInterface_B_setP_Integer); + Operation_ProvidedAndRequiredInterface.AddPackagedElement(Operation_ProvidedAndRequiredInterface_B); + } + + /* Start of user code : User-defined members + * This section may be used for user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } // Operation_ProvidedAndRequiredInterfaceModel +} diff --git a/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/04_Operation_ProvidedAndRequiredInterface/src/testPExecution.cs b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/04_Operation_ProvidedAndRequiredInterface/src/testPExecution.cs new file mode 100644 index 0000000..f3a1a0d --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/04_Operation_ProvidedAndRequiredInterface/src/testPExecution.cs @@ -0,0 +1,78 @@ +/* + * testPExecution.cs + * + * Auto-generated file + */ + +using fuml.semantics.commonbehavior; +using fuml; +using fuml.semantics.simpleclassifiers; +using fuml.semantics.values; + +/* Start of user code : User-defined includes and forward declarations + * This section may be used for includes and forward declarations. + * It will not be overwritten by future generation processes. + */ + +/* + * End of user code + */ + +namespace Operation_ProvidedAndRequiredInterface +{ + public class testPExecution : OpaqueBehaviorExecution + { + public testPExecution() + { + types.Add(Operation_ProvidedAndRequiredInterfaceModel.Instance().Operation_ProvidedAndRequiredInterface_main_testP); + /* Start of user code : Additional opaque behavior execution initializations + * This section may be used to do any additional opaque behavior execution initialization, + * for example initializing user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } + + public override void DoBody(List inputParameters, List outputParameters) + { + Console.WriteLine("Asserting d.a.b.p == 4"); + + // Test parameter p + int p = ((IntegerValue)inputParameters.ElementAt(0).values.ElementAt(0)).value; + Debug.Println("[doBody] argument p = " + p); + + Console.WriteLine("d.a.b.p == " + p); + Console.Write("Invocation forwarded out of e through q: "); + + if(p == 4) + { + Console.ForegroundColor = ConsoleColor.Green; + Console.WriteLine("Assertion successful."); + } + else + { + Console.ForegroundColor = ConsoleColor.Red; + Console.WriteLine("Assertion failed!"); + } + + Console.ResetColor(); + } + + protected override Value New_() + { + return new testPExecution(); + } + + /* Start of user code : User-defined members + * This section may be used for user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } // testPExecution +} diff --git a/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/05_Operation_RequiredInterface_DelegationChain/.gitignore b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/05_Operation_RequiredInterface_DelegationChain/.gitignore new file mode 100644 index 0000000..1736844 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/05_Operation_RequiredInterface_DelegationChain/.gitignore @@ -0,0 +1,3 @@ +/.vs/ +/bin/ +/obj/ diff --git a/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/05_Operation_RequiredInterface_DelegationChain/Operation_RequiredInterface_DelegationChain.csproj b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/05_Operation_RequiredInterface_DelegationChain/Operation_RequiredInterface_DelegationChain.csproj new file mode 100644 index 0000000..68dd2a2 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/05_Operation_RequiredInterface_DelegationChain/Operation_RequiredInterface_DelegationChain.csproj @@ -0,0 +1,50 @@ + + + + Exe + net6.0 + enable + enable + + + + Operation_RequiredInterface_DelegationChain.Debug + + + Operation_RequiredInterface_DelegationChain.Release + + + + + ..\..\..\..\uml\bin\Debug\net6.0\uml.Debug.dll + + + + + ..\..\..\..\uml\bin\Release\net6.0\uml.Release.dll + + + + + + ..\..\..\..\fuml\bin\Debug\net6.0\fuml.Debug.dll + + + + + ..\..\..\..\fuml\bin\Release\net6.0\fuml.Release.dll + + + + + + ..\..\..\..\pscs\bin\Debug\net6.0\pscs.Debug.dll + + + + + ..\..\..\..\pscs\bin\Release\net6.0\pscs.Release.dll + + + + diff --git a/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/05_Operation_RequiredInterface_DelegationChain/Operation_RequiredInterface_DelegationChain.sln b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/05_Operation_RequiredInterface_DelegationChain/Operation_RequiredInterface_DelegationChain.sln new file mode 100644 index 0000000..88fcb93 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/05_Operation_RequiredInterface_DelegationChain/Operation_RequiredInterface_DelegationChain.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.32112.339 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Operation_RequiredInterface_DelegationChain", "Operation_RequiredInterface_DelegationChain.csproj", "{F5D027B8-DA3B-479D-8A18-26FAA9939FC8}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {F5D027B8-DA3B-479D-8A18-26FAA9939FC8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {F5D027B8-DA3B-479D-8A18-26FAA9939FC8}.Debug|Any CPU.Build.0 = Debug|Any CPU + {F5D027B8-DA3B-479D-8A18-26FAA9939FC8}.Release|Any CPU.ActiveCfg = Release|Any CPU + {F5D027B8-DA3B-479D-8A18-26FAA9939FC8}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {85893DEE-AFC8-44C9-AD1E-3CCFF8993724} + EndGlobalSection +EndGlobal diff --git a/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/05_Operation_RequiredInterface_DelegationChain/model/Operation_RequiredInterface_DelegationChain.di b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/05_Operation_RequiredInterface_DelegationChain/model/Operation_RequiredInterface_DelegationChain.di new file mode 100644 index 0000000..8c549ee --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/05_Operation_RequiredInterface_DelegationChain/model/Operation_RequiredInterface_DelegationChain.di @@ -0,0 +1,2 @@ + + diff --git a/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/05_Operation_RequiredInterface_DelegationChain/model/Operation_RequiredInterface_DelegationChain.notation b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/05_Operation_RequiredInterface_DelegationChain/model/Operation_RequiredInterface_DelegationChain.notation new file mode 100644 index 0000000..dbf4ab8 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/05_Operation_RequiredInterface_DelegationChain/model/Operation_RequiredInterface_DelegationChain.notation @@ -0,0 +1,1243 @@ + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + + + +
+
+ + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + +
+ + + +
+ + + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + + + + + + + + + +
+
+ + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/05_Operation_RequiredInterface_DelegationChain/model/Operation_RequiredInterface_DelegationChain.uml b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/05_Operation_RequiredInterface_DelegationChain/model/Operation_RequiredInterface_DelegationChain.uml new file mode 100644 index 0000000..346a549 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/05_Operation_RequiredInterface_DelegationChain/model/Operation_RequiredInterface_DelegationChain.uml @@ -0,0 +1,371 @@ + + + + + This test case addresses invocation of an Operation on a required interface of a Port, with a chain of delegation and assembly connectors. + + + Passing: true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + C# + Using + Console.WriteLine("Asserting d.a.b.p == 4"); + + // Test parameter p + int p = ((IntegerValue)inputParameters.ElementAt(0).values.ElementAt(0)).value; + Debug.Println("[doBody] argument p = " + p); + + Console.WriteLine("d.a.b.p == " + p); + Console.Write("Invocation forwarded out of e through q: "); + + if(p == 4) + { + Console.ForegroundColor = ConsoleColor.Green; + Console.WriteLine("Assertion successful."); + } + else + { + Console.ForegroundColor = ConsoleColor.Red; + Console.WriteLine("Assertion failed!"); + } + + Console.ResetColor(); + using fuml.semantics.simpleclassifiers; + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/05_Operation_RequiredInterface_DelegationChain/src/Operation_RequiredInterface_DelegationChain.cs b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/05_Operation_RequiredInterface_DelegationChain/src/Operation_RequiredInterface_DelegationChain.cs new file mode 100644 index 0000000..04998f1 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/05_Operation_RequiredInterface_DelegationChain/src/Operation_RequiredInterface_DelegationChain.cs @@ -0,0 +1,31 @@ +namespace Operation_RequiredInterface_DelegationChain +{ + internal class Operation_RequiredInterface_DelegationChain + { + static void PrintUsage() + { + Console.WriteLine( + "=============================================================================================\n" + + "USAGE: [ <...>]\n" + + "=============================================================================================\n" + ); + } + + static int Main(string[] args) + { + if(args.Length == 0) + { + Console.WriteLine("[ERROR] Must declare at least one behavior name.\n"); + PrintUsage(); + return -1; + } + + foreach (string arg in args) + { + Operation_RequiredInterface_DelegationChainEnvironment.Instance().Execute(arg); + } + + return 0; + } + } +} diff --git a/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/05_Operation_RequiredInterface_DelegationChain/src/Operation_RequiredInterface_DelegationChainEnvironment.cs b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/05_Operation_RequiredInterface_DelegationChain/src/Operation_RequiredInterface_DelegationChainEnvironment.cs new file mode 100644 index 0000000..df6c095 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/05_Operation_RequiredInterface_DelegationChain/src/Operation_RequiredInterface_DelegationChainEnvironment.cs @@ -0,0 +1,93 @@ +/* + * Operation_RequiredInterface_DelegationChainEnvironment.cs + * + * Auto-generated file + */ + +/* Start of user code : User-defined using directives + * This section may be used for using directives. + * It will not be overwritten by future generation processes. + */ + +/* + * End of user code + */ + +namespace Operation_RequiredInterface_DelegationChain +{ + public class Operation_RequiredInterface_DelegationChainEnvironment : pscs.environment.Environment + { + private static Operation_RequiredInterface_DelegationChainEnvironment? instance; + + public static Operation_RequiredInterface_DelegationChainEnvironment Instance() + { + if(instance is null) + { + instance = new(); + instance.inMemoryModel = Operation_RequiredInterface_DelegationChainModel.Instance(); + } + + return instance; + } + + public Operation_RequiredInterface_DelegationChainEnvironment() + { + /* + * Create custom opaque behavior execution instances and add them to the execution environment. + */ + AddPrimitiveBehaviorPrototype(new testPExecution()); + + /* Start of user code : Additional environment initializations + * This section may be used to do any additional environment initialization, + * for example initializing user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } + + public override void Execute(string behaviorName) + { + /* Start of user code : Context and inputs initializations + * This section may be used to initialize the execution context + * as well as input parameter values if required. + * It will not be overwritten by future generation processes. + */ + + //context = ...; + //inputs = ...; + + /* + * End of user code + */ + + /* + * Start execution via base class call + */ + base.Execute(behaviorName); + + /* Start of user code : Outputs evaluation + * This section may be used to evaluate output parameter values if required. + * It will not be overwritten by future generation processes. + */ + + //List theOutputs = outputs; + //... + + /* + * End of user code + */ + } + + /* Start of user code : User-defined members + * This section may be used for user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } // Operation_RequiredInterface_DelegationChainEnvironment +} diff --git a/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/05_Operation_RequiredInterface_DelegationChain/src/Operation_RequiredInterface_DelegationChainModel.cs b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/05_Operation_RequiredInterface_DelegationChain/src/Operation_RequiredInterface_DelegationChainModel.cs new file mode 100644 index 0000000..26d2c01 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/05_Operation_RequiredInterface_DelegationChain/src/Operation_RequiredInterface_DelegationChainModel.cs @@ -0,0 +1,1240 @@ +/* + * Operation_RequiredInterface_DelegationChainModel.cs + * + * Auto-generated file + */ + +using uml.actions; +using uml.packages; +using uml.structuredclassifiers; +using fuml.primitivetypes; +using uml.classification; +using fuml.library; +using uml.simpleclassifiers; +using uml.commonbehavior; +using uml.commonstructure; +using uml.values; +using uml.activities; +using uml.environment; + + +/* Start of user code : User-defined includes and forward declarations + * This section may be used for includes and forward declarations. + * It will not be overwritten by future generation processes. + */ + +/* + * End of user code + */ + +namespace Operation_RequiredInterface_DelegationChain +{ + public class Operation_RequiredInterface_DelegationChainModel : InMemoryModel + { + private static Operation_RequiredInterface_DelegationChainModel? instance; + + /* + * Model Operation_RequiredInterface_DelegationChain + */ + public Package Operation_RequiredInterface_DelegationChain = new(); + public Class_ Operation_RequiredInterface_DelegationChain_C = new(); + public Operation Operation_RequiredInterface_DelegationChain_C_setP_Integer = new(); + public Parameter Operation_RequiredInterface_DelegationChain_C_setP_Integer_v = new(); + public Port Operation_RequiredInterface_DelegationChain_C_q = new(); + public InterfaceRealization Operation_RequiredInterface_DelegationChain_C_IRealization = new(); + public Activity Operation_RequiredInterface_DelegationChain_C_setPActivity = new(); + public ObjectFlow Operation_RequiredInterface_DelegationChain_C_setPActivity_ObjectFlow0 = new(); + public LiteralBoolean Operation_RequiredInterface_DelegationChain_C_setPActivity_ObjectFlow0_LiteralBoolean1 = new(); + public LiteralInteger Operation_RequiredInterface_DelegationChain_C_setPActivity_ObjectFlow0_LiteralInteger2 = new(); + public ActivityParameterNode Operation_RequiredInterface_DelegationChain_C_setPActivity_vParameterNode = new(); + public LiteralInteger Operation_RequiredInterface_DelegationChain_C_setPActivity_vParameterNode_LiteralInteger3 = new(); + public ObjectFlow Operation_RequiredInterface_DelegationChain_C_setPActivity_ObjectFlow4 = new(); + public LiteralInteger Operation_RequiredInterface_DelegationChain_C_setPActivity_ObjectFlow4_LiteralInteger5 = new(); + public LiteralBoolean Operation_RequiredInterface_DelegationChain_C_setPActivity_ObjectFlow4_LiteralBoolean6 = new(); + public ReadSelfAction Operation_RequiredInterface_DelegationChain_C_setPActivity_this = new(); + public OutputPin Operation_RequiredInterface_DelegationChain_C_setPActivity_this_result = new(); + public LiteralInteger Operation_RequiredInterface_DelegationChain_C_setPActivity_this_result_LiteralInteger7 = new(); + public LiteralUnlimitedNatural Operation_RequiredInterface_DelegationChain_C_setPActivity_this_result_LiteralUnlimitedNatural8 = new(); + public Parameter Operation_RequiredInterface_DelegationChain_C_setPActivity_v = new(); + public CallOperationAction Operation_RequiredInterface_DelegationChain_C_setPActivity_Call_I_setP_on_q = new(); + public InputPin Operation_RequiredInterface_DelegationChain_C_setPActivity_Call_I_setP_on_q_target = new(); + public LiteralInteger Operation_RequiredInterface_DelegationChain_C_setPActivity_Call_I_setP_on_q_target_LiteralInteger9 = new(); + public LiteralUnlimitedNatural Operation_RequiredInterface_DelegationChain_C_setPActivity_Call_I_setP_on_q_target_LiteralUnlimitedNatural10 = new(); + public InputPin Operation_RequiredInterface_DelegationChain_C_setPActivity_Call_I_setP_on_q_v = new(); + public LiteralInteger Operation_RequiredInterface_DelegationChain_C_setPActivity_Call_I_setP_on_q_v_LiteralInteger11 = new(); + public LiteralInteger Operation_RequiredInterface_DelegationChain_C_setPActivity_Call_I_setP_on_q_v_LiteralInteger12 = new(); + public LiteralUnlimitedNatural Operation_RequiredInterface_DelegationChain_C_setPActivity_Call_I_setP_on_q_v_LiteralUnlimitedNatural13 = new(); + public Association Operation_RequiredInterface_DelegationChain_S = new(); + public Property Operation_RequiredInterface_DelegationChain_S_y = new(); + public Property Operation_RequiredInterface_DelegationChain_S_x = new(); + public Activity Operation_RequiredInterface_DelegationChain_main = new(); + public ControlFlow Operation_RequiredInterface_DelegationChain_main_ControlFlow14 = new(); + public ValueSpecificationAction Operation_RequiredInterface_DelegationChain_main_Value_4 = new(); + public OutputPin Operation_RequiredInterface_DelegationChain_main_Value_4_result = new(); + public LiteralUnlimitedNatural Operation_RequiredInterface_DelegationChain_main_Value_4_result_LiteralUnlimitedNatural15 = new(); + public LiteralInteger Operation_RequiredInterface_DelegationChain_main_Value_4_result_LiteralInteger16 = new(); + public LiteralInteger Operation_RequiredInterface_DelegationChain_main_Value_4_LiteralInteger17 = new(); + public ReadStructuralFeatureAction Operation_RequiredInterface_DelegationChain_main_Read_a_b = new(); + public InputPin Operation_RequiredInterface_DelegationChain_main_Read_a_b_object = new(); + public LiteralInteger Operation_RequiredInterface_DelegationChain_main_Read_a_b_object_LiteralInteger18 = new(); + public LiteralUnlimitedNatural Operation_RequiredInterface_DelegationChain_main_Read_a_b_object_LiteralUnlimitedNatural19 = new(); + public OutputPin Operation_RequiredInterface_DelegationChain_main_Read_a_b_result = new(); + public LiteralInteger Operation_RequiredInterface_DelegationChain_main_Read_a_b_result_LiteralInteger20 = new(); + public LiteralUnlimitedNatural Operation_RequiredInterface_DelegationChain_main_Read_a_b_result_LiteralUnlimitedNatural21 = new(); + public ObjectFlow Operation_RequiredInterface_DelegationChain_main_ObjectFlow22 = new(); + public LiteralInteger Operation_RequiredInterface_DelegationChain_main_ObjectFlow22_LiteralInteger23 = new(); + public LiteralBoolean Operation_RequiredInterface_DelegationChain_main_ObjectFlow22_LiteralBoolean24 = new(); + public CreateObjectAction Operation_RequiredInterface_DelegationChain_main_Create_D = new(); + public OutputPin Operation_RequiredInterface_DelegationChain_main_Create_D_result = new(); + public LiteralInteger Operation_RequiredInterface_DelegationChain_main_Create_D_result_LiteralInteger25 = new(); + public LiteralUnlimitedNatural Operation_RequiredInterface_DelegationChain_main_Create_D_result_LiteralUnlimitedNatural26 = new(); + public ForkNode Operation_RequiredInterface_DelegationChain_main_Fork_d = new(); + public ObjectFlow Operation_RequiredInterface_DelegationChain_main_ObjectFlow27 = new(); + public LiteralBoolean Operation_RequiredInterface_DelegationChain_main_ObjectFlow27_LiteralBoolean28 = new(); + public LiteralInteger Operation_RequiredInterface_DelegationChain_main_ObjectFlow27_LiteralInteger29 = new(); + public ObjectFlow Operation_RequiredInterface_DelegationChain_main_ObjectFlow30 = new(); + public LiteralInteger Operation_RequiredInterface_DelegationChain_main_ObjectFlow30_LiteralInteger31 = new(); + public LiteralBoolean Operation_RequiredInterface_DelegationChain_main_ObjectFlow30_LiteralBoolean32 = new(); + public ReadStructuralFeatureAction Operation_RequiredInterface_DelegationChain_main_Read_b_p = new(); + public OutputPin Operation_RequiredInterface_DelegationChain_main_Read_b_p_result = new(); + public LiteralInteger Operation_RequiredInterface_DelegationChain_main_Read_b_p_result_LiteralInteger33 = new(); + public LiteralUnlimitedNatural Operation_RequiredInterface_DelegationChain_main_Read_b_p_result_LiteralUnlimitedNatural34 = new(); + public InputPin Operation_RequiredInterface_DelegationChain_main_Read_b_p_object = new(); + public LiteralUnlimitedNatural Operation_RequiredInterface_DelegationChain_main_Read_b_p_object_LiteralUnlimitedNatural35 = new(); + public LiteralInteger Operation_RequiredInterface_DelegationChain_main_Read_b_p_object_LiteralInteger36 = new(); + public ReadStructuralFeatureAction Operation_RequiredInterface_DelegationChain_main_Read_d_a = new(); + public OutputPin Operation_RequiredInterface_DelegationChain_main_Read_d_a_result = new(); + public LiteralInteger Operation_RequiredInterface_DelegationChain_main_Read_d_a_result_LiteralInteger37 = new(); + public LiteralUnlimitedNatural Operation_RequiredInterface_DelegationChain_main_Read_d_a_result_LiteralUnlimitedNatural38 = new(); + public InputPin Operation_RequiredInterface_DelegationChain_main_Read_d_a_object = new(); + public LiteralInteger Operation_RequiredInterface_DelegationChain_main_Read_d_a_object_LiteralInteger39 = new(); + public LiteralUnlimitedNatural Operation_RequiredInterface_DelegationChain_main_Read_d_a_object_LiteralUnlimitedNatural40 = new(); + public ObjectFlow Operation_RequiredInterface_DelegationChain_main_ObjectFlow41 = new(); + public LiteralBoolean Operation_RequiredInterface_DelegationChain_main_ObjectFlow41_LiteralBoolean42 = new(); + public LiteralInteger Operation_RequiredInterface_DelegationChain_main_ObjectFlow41_LiteralInteger43 = new(); + public ReadStructuralFeatureAction Operation_RequiredInterface_DelegationChain_main_Read_e_c = new(); + public OutputPin Operation_RequiredInterface_DelegationChain_main_Read_e_c_result = new(); + public LiteralUnlimitedNatural Operation_RequiredInterface_DelegationChain_main_Read_e_c_result_LiteralUnlimitedNatural44 = new(); + public LiteralInteger Operation_RequiredInterface_DelegationChain_main_Read_e_c_result_LiteralInteger45 = new(); + public InputPin Operation_RequiredInterface_DelegationChain_main_Read_e_c_object = new(); + public LiteralUnlimitedNatural Operation_RequiredInterface_DelegationChain_main_Read_e_c_object_LiteralUnlimitedNatural46 = new(); + public LiteralInteger Operation_RequiredInterface_DelegationChain_main_Read_e_c_object_LiteralInteger47 = new(); + public ObjectFlow Operation_RequiredInterface_DelegationChain_main_ObjectFlow48 = new(); + public LiteralInteger Operation_RequiredInterface_DelegationChain_main_ObjectFlow48_LiteralInteger49 = new(); + public LiteralBoolean Operation_RequiredInterface_DelegationChain_main_ObjectFlow48_LiteralBoolean50 = new(); + public ObjectFlow Operation_RequiredInterface_DelegationChain_main_ObjectFlow51 = new(); + public LiteralInteger Operation_RequiredInterface_DelegationChain_main_ObjectFlow51_LiteralInteger52 = new(); + public LiteralBoolean Operation_RequiredInterface_DelegationChain_main_ObjectFlow51_LiteralBoolean53 = new(); + public ObjectFlow Operation_RequiredInterface_DelegationChain_main_ObjectFlow54 = new(); + public LiteralBoolean Operation_RequiredInterface_DelegationChain_main_ObjectFlow54_LiteralBoolean55 = new(); + public LiteralInteger Operation_RequiredInterface_DelegationChain_main_ObjectFlow54_LiteralInteger56 = new(); + public OpaqueBehavior Operation_RequiredInterface_DelegationChain_main_testP = new(); + public Parameter Operation_RequiredInterface_DelegationChain_main_testP_p = new(); + public CallOperationAction Operation_RequiredInterface_DelegationChain_main_Call_setP_ = new(); + public InputPin Operation_RequiredInterface_DelegationChain_main_Call_setP__v = new(); + public LiteralUnlimitedNatural Operation_RequiredInterface_DelegationChain_main_Call_setP__v_LiteralUnlimitedNatural57 = new(); + public LiteralInteger Operation_RequiredInterface_DelegationChain_main_Call_setP__v_LiteralInteger58 = new(); + public LiteralInteger Operation_RequiredInterface_DelegationChain_main_Call_setP__v_LiteralInteger59 = new(); + public InputPin Operation_RequiredInterface_DelegationChain_main_Call_setP__target = new(); + public LiteralInteger Operation_RequiredInterface_DelegationChain_main_Call_setP__target_LiteralInteger60 = new(); + public LiteralUnlimitedNatural Operation_RequiredInterface_DelegationChain_main_Call_setP__target_LiteralUnlimitedNatural61 = new(); + public CallBehaviorAction Operation_RequiredInterface_DelegationChain_main_Call_testP = new(); + public InputPin Operation_RequiredInterface_DelegationChain_main_Call_testP_p = new(); + public LiteralUnlimitedNatural Operation_RequiredInterface_DelegationChain_main_Call_testP_p_LiteralUnlimitedNatural62 = new(); + public LiteralInteger Operation_RequiredInterface_DelegationChain_main_Call_testP_p_LiteralInteger63 = new(); + public LiteralInteger Operation_RequiredInterface_DelegationChain_main_Call_testP_p_LiteralInteger64 = new(); + public ReadStructuralFeatureAction Operation_RequiredInterface_DelegationChain_main_Read_d_e = new(); + public OutputPin Operation_RequiredInterface_DelegationChain_main_Read_d_e_result = new(); + public LiteralUnlimitedNatural Operation_RequiredInterface_DelegationChain_main_Read_d_e_result_LiteralUnlimitedNatural65 = new(); + public LiteralInteger Operation_RequiredInterface_DelegationChain_main_Read_d_e_result_LiteralInteger66 = new(); + public InputPin Operation_RequiredInterface_DelegationChain_main_Read_d_e_object = new(); + public LiteralUnlimitedNatural Operation_RequiredInterface_DelegationChain_main_Read_d_e_object_LiteralUnlimitedNatural67 = new(); + public LiteralInteger Operation_RequiredInterface_DelegationChain_main_Read_d_e_object_LiteralInteger68 = new(); + public CallOperationAction Operation_RequiredInterface_DelegationChain_main_D_ = new(); + public OutputPin Operation_RequiredInterface_DelegationChain_main_D__result = new(); + public LiteralInteger Operation_RequiredInterface_DelegationChain_main_D__result_LiteralInteger69 = new(); + public LiteralUnlimitedNatural Operation_RequiredInterface_DelegationChain_main_D__result_LiteralUnlimitedNatural70 = new(); + public LiteralInteger Operation_RequiredInterface_DelegationChain_main_D__result_LiteralInteger71 = new(); + public InputPin Operation_RequiredInterface_DelegationChain_main_D__target = new(); + public LiteralInteger Operation_RequiredInterface_DelegationChain_main_D__target_LiteralInteger72 = new(); + public LiteralUnlimitedNatural Operation_RequiredInterface_DelegationChain_main_D__target_LiteralUnlimitedNatural73 = new(); + public ObjectFlow Operation_RequiredInterface_DelegationChain_main_ObjectFlow74 = new(); + public LiteralBoolean Operation_RequiredInterface_DelegationChain_main_ObjectFlow74_LiteralBoolean75 = new(); + public LiteralInteger Operation_RequiredInterface_DelegationChain_main_ObjectFlow74_LiteralInteger76 = new(); + public ObjectFlow Operation_RequiredInterface_DelegationChain_main_ObjectFlow77 = new(); + public LiteralBoolean Operation_RequiredInterface_DelegationChain_main_ObjectFlow77_LiteralBoolean78 = new(); + public LiteralInteger Operation_RequiredInterface_DelegationChain_main_ObjectFlow77_LiteralInteger79 = new(); + public ObjectFlow Operation_RequiredInterface_DelegationChain_main_ObjectFlow80 = new(); + public LiteralInteger Operation_RequiredInterface_DelegationChain_main_ObjectFlow80_LiteralInteger81 = new(); + public LiteralBoolean Operation_RequiredInterface_DelegationChain_main_ObjectFlow80_LiteralBoolean82 = new(); + public Interface Operation_RequiredInterface_DelegationChain_I = new(); + public Operation Operation_RequiredInterface_DelegationChain_I_setP_Integer = new(); + public Parameter Operation_RequiredInterface_DelegationChain_I_setP_Integer_v = new(); + public Class_ Operation_RequiredInterface_DelegationChain_D = new(); + public Operation Operation_RequiredInterface_DelegationChain_D_D_D = new(); + public Parameter Operation_RequiredInterface_DelegationChain_D_D_D_result = new(); + public Property Operation_RequiredInterface_DelegationChain_D_a = new(); + public Property Operation_RequiredInterface_DelegationChain_D_e = new(); + public Connector Operation_RequiredInterface_DelegationChain_D_s = new(); + public ConnectorEnd Operation_RequiredInterface_DelegationChain_D_s_ConnectorEnd83 = new(); + public ConnectorEnd Operation_RequiredInterface_DelegationChain_D_s_ConnectorEnd84 = new(); + public Association Operation_RequiredInterface_DelegationChain_R = new(); + public Property Operation_RequiredInterface_DelegationChain_R_x = new(); + public Property Operation_RequiredInterface_DelegationChain_R_y = new(); + public Class_ Operation_RequiredInterface_DelegationChain_A = new(); + public Property Operation_RequiredInterface_DelegationChain_A_b = new(); + public Port Operation_RequiredInterface_DelegationChain_A_q = new(); + public Operation Operation_RequiredInterface_DelegationChain_A_setP_Integer = new(); + public Parameter Operation_RequiredInterface_DelegationChain_A_setP_Integer_v = new(); + public Activity Operation_RequiredInterface_DelegationChain_A_setPActivity = new(); + public ActivityParameterNode Operation_RequiredInterface_DelegationChain_A_setPActivity_vParameterNode = new(); + public LiteralInteger Operation_RequiredInterface_DelegationChain_A_setPActivity_vParameterNode_LiteralInteger85 = new(); + public ReadSelfAction Operation_RequiredInterface_DelegationChain_A_setPActivity_this = new(); + public OutputPin Operation_RequiredInterface_DelegationChain_A_setPActivity_this_result = new(); + public LiteralUnlimitedNatural Operation_RequiredInterface_DelegationChain_A_setPActivity_this_result_LiteralUnlimitedNatural86 = new(); + public LiteralInteger Operation_RequiredInterface_DelegationChain_A_setPActivity_this_result_LiteralInteger87 = new(); + public ObjectFlow Operation_RequiredInterface_DelegationChain_A_setPActivity_ObjectFlow88 = new(); + public LiteralBoolean Operation_RequiredInterface_DelegationChain_A_setPActivity_ObjectFlow88_LiteralBoolean89 = new(); + public LiteralInteger Operation_RequiredInterface_DelegationChain_A_setPActivity_ObjectFlow88_LiteralInteger90 = new(); + public ObjectFlow Operation_RequiredInterface_DelegationChain_A_setPActivity_ObjectFlow91 = new(); + public LiteralInteger Operation_RequiredInterface_DelegationChain_A_setPActivity_ObjectFlow91_LiteralInteger92 = new(); + public LiteralBoolean Operation_RequiredInterface_DelegationChain_A_setPActivity_ObjectFlow91_LiteralBoolean93 = new(); + public Parameter Operation_RequiredInterface_DelegationChain_A_setPActivity_v = new(); + public CallOperationAction Operation_RequiredInterface_DelegationChain_A_setPActivity_Call_I_setP_on_q = new(); + public InputPin Operation_RequiredInterface_DelegationChain_A_setPActivity_Call_I_setP_on_q_v = new(); + public LiteralUnlimitedNatural Operation_RequiredInterface_DelegationChain_A_setPActivity_Call_I_setP_on_q_v_LiteralUnlimitedNatural94 = new(); + public LiteralInteger Operation_RequiredInterface_DelegationChain_A_setPActivity_Call_I_setP_on_q_v_LiteralInteger95 = new(); + public LiteralInteger Operation_RequiredInterface_DelegationChain_A_setPActivity_Call_I_setP_on_q_v_LiteralInteger96 = new(); + public InputPin Operation_RequiredInterface_DelegationChain_A_setPActivity_Call_I_setP_on_q_target = new(); + public LiteralInteger Operation_RequiredInterface_DelegationChain_A_setPActivity_Call_I_setP_on_q_target_LiteralInteger97 = new(); + public LiteralUnlimitedNatural Operation_RequiredInterface_DelegationChain_A_setPActivity_Call_I_setP_on_q_target_LiteralUnlimitedNatural98 = new(); + public Connector Operation_RequiredInterface_DelegationChain_A_r = new(); + public ConnectorEnd Operation_RequiredInterface_DelegationChain_A_r_ConnectorEnd99 = new(); + public ConnectorEnd Operation_RequiredInterface_DelegationChain_A_r_ConnectorEnd100 = new(); + public Class_ Operation_RequiredInterface_DelegationChain_E = new(); + public Property Operation_RequiredInterface_DelegationChain_E_c = new(); + public Connector Operation_RequiredInterface_DelegationChain_E_s = new(); + public ConnectorEnd Operation_RequiredInterface_DelegationChain_E_s_ConnectorEnd101 = new(); + public ConnectorEnd Operation_RequiredInterface_DelegationChain_E_s_ConnectorEnd102 = new(); + public Port Operation_RequiredInterface_DelegationChain_E_q = new(); + public Class_ Operation_RequiredInterface_DelegationChain_IImpl = new(); + public InterfaceRealization Operation_RequiredInterface_DelegationChain_IImpl_IRealization = new(); + public Operation Operation_RequiredInterface_DelegationChain_IImpl_setP_Integer = new(); + public Parameter Operation_RequiredInterface_DelegationChain_IImpl_setP_Integer_v = new(); + public Class_ Operation_RequiredInterface_DelegationChain_B = new(); + public Activity Operation_RequiredInterface_DelegationChain_B_setPActivity = new(); + public ObjectFlow Operation_RequiredInterface_DelegationChain_B_setPActivity_ObjectFlow103 = new(); + public LiteralInteger Operation_RequiredInterface_DelegationChain_B_setPActivity_ObjectFlow103_LiteralInteger104 = new(); + public LiteralBoolean Operation_RequiredInterface_DelegationChain_B_setPActivity_ObjectFlow103_LiteralBoolean105 = new(); + public ObjectFlow Operation_RequiredInterface_DelegationChain_B_setPActivity_ObjectFlow106 = new(); + public LiteralBoolean Operation_RequiredInterface_DelegationChain_B_setPActivity_ObjectFlow106_LiteralBoolean107 = new(); + public LiteralInteger Operation_RequiredInterface_DelegationChain_B_setPActivity_ObjectFlow106_LiteralInteger108 = new(); + public Parameter Operation_RequiredInterface_DelegationChain_B_setPActivity_v = new(); + public ActivityParameterNode Operation_RequiredInterface_DelegationChain_B_setPActivity_vParameterNode = new(); + public LiteralInteger Operation_RequiredInterface_DelegationChain_B_setPActivity_vParameterNode_LiteralInteger109 = new(); + public AddStructuralFeatureValueAction Operation_RequiredInterface_DelegationChain_B_setPActivity_Set_this_p = new(); + public InputPin Operation_RequiredInterface_DelegationChain_B_setPActivity_Set_this_p_value = new(); + public LiteralInteger Operation_RequiredInterface_DelegationChain_B_setPActivity_Set_this_p_value_LiteralInteger110 = new(); + public LiteralUnlimitedNatural Operation_RequiredInterface_DelegationChain_B_setPActivity_Set_this_p_value_LiteralUnlimitedNatural111 = new(); + public InputPin Operation_RequiredInterface_DelegationChain_B_setPActivity_Set_this_p_object = new(); + public LiteralInteger Operation_RequiredInterface_DelegationChain_B_setPActivity_Set_this_p_object_LiteralInteger112 = new(); + public LiteralUnlimitedNatural Operation_RequiredInterface_DelegationChain_B_setPActivity_Set_this_p_object_LiteralUnlimitedNatural113 = new(); + public OutputPin Operation_RequiredInterface_DelegationChain_B_setPActivity_Set_this_p_result = new(); + public LiteralInteger Operation_RequiredInterface_DelegationChain_B_setPActivity_Set_this_p_result_LiteralInteger114 = new(); + public LiteralUnlimitedNatural Operation_RequiredInterface_DelegationChain_B_setPActivity_Set_this_p_result_LiteralUnlimitedNatural115 = new(); + public ReadSelfAction Operation_RequiredInterface_DelegationChain_B_setPActivity_this = new(); + public OutputPin Operation_RequiredInterface_DelegationChain_B_setPActivity_this_result = new(); + public LiteralUnlimitedNatural Operation_RequiredInterface_DelegationChain_B_setPActivity_this_result_LiteralUnlimitedNatural116 = new(); + public LiteralInteger Operation_RequiredInterface_DelegationChain_B_setPActivity_this_result_LiteralInteger117 = new(); + public Property Operation_RequiredInterface_DelegationChain_B_p = new(); + public InterfaceRealization Operation_RequiredInterface_DelegationChain_B_IRealization = new(); + public Operation Operation_RequiredInterface_DelegationChain_B_setP_Integer = new(); + public Parameter Operation_RequiredInterface_DelegationChain_B_setP_Integer_v = new(); + + public static Operation_RequiredInterface_DelegationChainModel Instance() + { + if (instance is null) + { + instance = new(); + instance.InitializeInMemoryModel(); + } + + return instance; + } + + public Operation_RequiredInterface_DelegationChainModel() + { + /* Start of user code : Additional model initializations + * This section may be used to do any additional model initialization, + * for example initializing user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } + + private void InitializeInMemoryModel() + { + // Create public members + /* + * Model Operation_RequiredInterface_DelegationChain + */ + AddToElementRepository("Operation_RequiredInterface_DelegationChain", Operation_RequiredInterface_DelegationChain); + AddToElementRepository("C", Operation_RequiredInterface_DelegationChain_C); + AddToElementRepository("setP_Integer", Operation_RequiredInterface_DelegationChain_C_setP_Integer); + AddToElementRepository("v", Operation_RequiredInterface_DelegationChain_C_setP_Integer_v); + AddToElementRepository("q", Operation_RequiredInterface_DelegationChain_C_q); + AddToElementRepository("IRealization", Operation_RequiredInterface_DelegationChain_C_IRealization); + AddToElementRepository("setPActivity", Operation_RequiredInterface_DelegationChain_C_setPActivity); + AddToElementRepository("ObjectFlow0", Operation_RequiredInterface_DelegationChain_C_setPActivity_ObjectFlow0); + AddToElementRepository("LiteralBoolean1", Operation_RequiredInterface_DelegationChain_C_setPActivity_ObjectFlow0_LiteralBoolean1); + AddToElementRepository("LiteralInteger2", Operation_RequiredInterface_DelegationChain_C_setPActivity_ObjectFlow0_LiteralInteger2); + AddToElementRepository("vParameterNode", Operation_RequiredInterface_DelegationChain_C_setPActivity_vParameterNode); + AddToElementRepository("LiteralInteger3", Operation_RequiredInterface_DelegationChain_C_setPActivity_vParameterNode_LiteralInteger3); + AddToElementRepository("ObjectFlow4", Operation_RequiredInterface_DelegationChain_C_setPActivity_ObjectFlow4); + AddToElementRepository("LiteralInteger5", Operation_RequiredInterface_DelegationChain_C_setPActivity_ObjectFlow4_LiteralInteger5); + AddToElementRepository("LiteralBoolean6", Operation_RequiredInterface_DelegationChain_C_setPActivity_ObjectFlow4_LiteralBoolean6); + AddToElementRepository("this", Operation_RequiredInterface_DelegationChain_C_setPActivity_this); + AddToElementRepository("result", Operation_RequiredInterface_DelegationChain_C_setPActivity_this_result); + AddToElementRepository("LiteralInteger7", Operation_RequiredInterface_DelegationChain_C_setPActivity_this_result_LiteralInteger7); + AddToElementRepository("LiteralUnlimitedNatural8", Operation_RequiredInterface_DelegationChain_C_setPActivity_this_result_LiteralUnlimitedNatural8); + AddToElementRepository("v", Operation_RequiredInterface_DelegationChain_C_setPActivity_v); + AddToElementRepository("Call I::setP on q", Operation_RequiredInterface_DelegationChain_C_setPActivity_Call_I_setP_on_q); + AddToElementRepository("target", Operation_RequiredInterface_DelegationChain_C_setPActivity_Call_I_setP_on_q_target); + AddToElementRepository("LiteralInteger9", Operation_RequiredInterface_DelegationChain_C_setPActivity_Call_I_setP_on_q_target_LiteralInteger9); + AddToElementRepository("LiteralUnlimitedNatural10", Operation_RequiredInterface_DelegationChain_C_setPActivity_Call_I_setP_on_q_target_LiteralUnlimitedNatural10); + AddToElementRepository("v", Operation_RequiredInterface_DelegationChain_C_setPActivity_Call_I_setP_on_q_v); + AddToElementRepository("LiteralInteger11", Operation_RequiredInterface_DelegationChain_C_setPActivity_Call_I_setP_on_q_v_LiteralInteger11); + AddToElementRepository("LiteralInteger12", Operation_RequiredInterface_DelegationChain_C_setPActivity_Call_I_setP_on_q_v_LiteralInteger12); + AddToElementRepository("LiteralUnlimitedNatural13", Operation_RequiredInterface_DelegationChain_C_setPActivity_Call_I_setP_on_q_v_LiteralUnlimitedNatural13); + AddToElementRepository("S", Operation_RequiredInterface_DelegationChain_S); + AddToElementRepository("y", Operation_RequiredInterface_DelegationChain_S_y); + AddToElementRepository("x", Operation_RequiredInterface_DelegationChain_S_x); + AddToElementRepository("main", Operation_RequiredInterface_DelegationChain_main); + AddToElementRepository("ControlFlow14", Operation_RequiredInterface_DelegationChain_main_ControlFlow14); + AddToElementRepository("Value(4)", Operation_RequiredInterface_DelegationChain_main_Value_4); + AddToElementRepository("result", Operation_RequiredInterface_DelegationChain_main_Value_4_result); + AddToElementRepository("LiteralUnlimitedNatural15", Operation_RequiredInterface_DelegationChain_main_Value_4_result_LiteralUnlimitedNatural15); + AddToElementRepository("LiteralInteger16", Operation_RequiredInterface_DelegationChain_main_Value_4_result_LiteralInteger16); + AddToElementRepository("LiteralInteger17", Operation_RequiredInterface_DelegationChain_main_Value_4_LiteralInteger17); + AddToElementRepository("Read a.b", Operation_RequiredInterface_DelegationChain_main_Read_a_b); + AddToElementRepository("object", Operation_RequiredInterface_DelegationChain_main_Read_a_b_object); + AddToElementRepository("LiteralInteger18", Operation_RequiredInterface_DelegationChain_main_Read_a_b_object_LiteralInteger18); + AddToElementRepository("LiteralUnlimitedNatural19", Operation_RequiredInterface_DelegationChain_main_Read_a_b_object_LiteralUnlimitedNatural19); + AddToElementRepository("result", Operation_RequiredInterface_DelegationChain_main_Read_a_b_result); + AddToElementRepository("LiteralInteger20", Operation_RequiredInterface_DelegationChain_main_Read_a_b_result_LiteralInteger20); + AddToElementRepository("LiteralUnlimitedNatural21", Operation_RequiredInterface_DelegationChain_main_Read_a_b_result_LiteralUnlimitedNatural21); + AddToElementRepository("ObjectFlow22", Operation_RequiredInterface_DelegationChain_main_ObjectFlow22); + AddToElementRepository("LiteralInteger23", Operation_RequiredInterface_DelegationChain_main_ObjectFlow22_LiteralInteger23); + AddToElementRepository("LiteralBoolean24", Operation_RequiredInterface_DelegationChain_main_ObjectFlow22_LiteralBoolean24); + AddToElementRepository("Create D", Operation_RequiredInterface_DelegationChain_main_Create_D); + AddToElementRepository("result", Operation_RequiredInterface_DelegationChain_main_Create_D_result); + AddToElementRepository("LiteralInteger25", Operation_RequiredInterface_DelegationChain_main_Create_D_result_LiteralInteger25); + AddToElementRepository("LiteralUnlimitedNatural26", Operation_RequiredInterface_DelegationChain_main_Create_D_result_LiteralUnlimitedNatural26); + AddToElementRepository("Fork d", Operation_RequiredInterface_DelegationChain_main_Fork_d); + AddToElementRepository("ObjectFlow27", Operation_RequiredInterface_DelegationChain_main_ObjectFlow27); + AddToElementRepository("LiteralBoolean28", Operation_RequiredInterface_DelegationChain_main_ObjectFlow27_LiteralBoolean28); + AddToElementRepository("LiteralInteger29", Operation_RequiredInterface_DelegationChain_main_ObjectFlow27_LiteralInteger29); + AddToElementRepository("ObjectFlow30", Operation_RequiredInterface_DelegationChain_main_ObjectFlow30); + AddToElementRepository("LiteralInteger31", Operation_RequiredInterface_DelegationChain_main_ObjectFlow30_LiteralInteger31); + AddToElementRepository("LiteralBoolean32", Operation_RequiredInterface_DelegationChain_main_ObjectFlow30_LiteralBoolean32); + AddToElementRepository("Read b.p", Operation_RequiredInterface_DelegationChain_main_Read_b_p); + AddToElementRepository("result", Operation_RequiredInterface_DelegationChain_main_Read_b_p_result); + AddToElementRepository("LiteralInteger33", Operation_RequiredInterface_DelegationChain_main_Read_b_p_result_LiteralInteger33); + AddToElementRepository("LiteralUnlimitedNatural34", Operation_RequiredInterface_DelegationChain_main_Read_b_p_result_LiteralUnlimitedNatural34); + AddToElementRepository("object", Operation_RequiredInterface_DelegationChain_main_Read_b_p_object); + AddToElementRepository("LiteralUnlimitedNatural35", Operation_RequiredInterface_DelegationChain_main_Read_b_p_object_LiteralUnlimitedNatural35); + AddToElementRepository("LiteralInteger36", Operation_RequiredInterface_DelegationChain_main_Read_b_p_object_LiteralInteger36); + AddToElementRepository("Read d.a", Operation_RequiredInterface_DelegationChain_main_Read_d_a); + AddToElementRepository("result", Operation_RequiredInterface_DelegationChain_main_Read_d_a_result); + AddToElementRepository("LiteralInteger37", Operation_RequiredInterface_DelegationChain_main_Read_d_a_result_LiteralInteger37); + AddToElementRepository("LiteralUnlimitedNatural38", Operation_RequiredInterface_DelegationChain_main_Read_d_a_result_LiteralUnlimitedNatural38); + AddToElementRepository("object", Operation_RequiredInterface_DelegationChain_main_Read_d_a_object); + AddToElementRepository("LiteralInteger39", Operation_RequiredInterface_DelegationChain_main_Read_d_a_object_LiteralInteger39); + AddToElementRepository("LiteralUnlimitedNatural40", Operation_RequiredInterface_DelegationChain_main_Read_d_a_object_LiteralUnlimitedNatural40); + AddToElementRepository("ObjectFlow41", Operation_RequiredInterface_DelegationChain_main_ObjectFlow41); + AddToElementRepository("LiteralBoolean42", Operation_RequiredInterface_DelegationChain_main_ObjectFlow41_LiteralBoolean42); + AddToElementRepository("LiteralInteger43", Operation_RequiredInterface_DelegationChain_main_ObjectFlow41_LiteralInteger43); + AddToElementRepository("Read e.c", Operation_RequiredInterface_DelegationChain_main_Read_e_c); + AddToElementRepository("result", Operation_RequiredInterface_DelegationChain_main_Read_e_c_result); + AddToElementRepository("LiteralUnlimitedNatural44", Operation_RequiredInterface_DelegationChain_main_Read_e_c_result_LiteralUnlimitedNatural44); + AddToElementRepository("LiteralInteger45", Operation_RequiredInterface_DelegationChain_main_Read_e_c_result_LiteralInteger45); + AddToElementRepository("object", Operation_RequiredInterface_DelegationChain_main_Read_e_c_object); + AddToElementRepository("LiteralUnlimitedNatural46", Operation_RequiredInterface_DelegationChain_main_Read_e_c_object_LiteralUnlimitedNatural46); + AddToElementRepository("LiteralInteger47", Operation_RequiredInterface_DelegationChain_main_Read_e_c_object_LiteralInteger47); + AddToElementRepository("ObjectFlow48", Operation_RequiredInterface_DelegationChain_main_ObjectFlow48); + AddToElementRepository("LiteralInteger49", Operation_RequiredInterface_DelegationChain_main_ObjectFlow48_LiteralInteger49); + AddToElementRepository("LiteralBoolean50", Operation_RequiredInterface_DelegationChain_main_ObjectFlow48_LiteralBoolean50); + AddToElementRepository("ObjectFlow51", Operation_RequiredInterface_DelegationChain_main_ObjectFlow51); + AddToElementRepository("LiteralInteger52", Operation_RequiredInterface_DelegationChain_main_ObjectFlow51_LiteralInteger52); + AddToElementRepository("LiteralBoolean53", Operation_RequiredInterface_DelegationChain_main_ObjectFlow51_LiteralBoolean53); + AddToElementRepository("ObjectFlow54", Operation_RequiredInterface_DelegationChain_main_ObjectFlow54); + AddToElementRepository("LiteralBoolean55", Operation_RequiredInterface_DelegationChain_main_ObjectFlow54_LiteralBoolean55); + AddToElementRepository("LiteralInteger56", Operation_RequiredInterface_DelegationChain_main_ObjectFlow54_LiteralInteger56); + AddToElementRepository("testP", Operation_RequiredInterface_DelegationChain_main_testP); + AddToElementRepository("p", Operation_RequiredInterface_DelegationChain_main_testP_p); + AddToElementRepository("Call setP()", Operation_RequiredInterface_DelegationChain_main_Call_setP_); + AddToElementRepository("v", Operation_RequiredInterface_DelegationChain_main_Call_setP__v); + AddToElementRepository("LiteralUnlimitedNatural57", Operation_RequiredInterface_DelegationChain_main_Call_setP__v_LiteralUnlimitedNatural57); + AddToElementRepository("LiteralInteger58", Operation_RequiredInterface_DelegationChain_main_Call_setP__v_LiteralInteger58); + AddToElementRepository("LiteralInteger59", Operation_RequiredInterface_DelegationChain_main_Call_setP__v_LiteralInteger59); + AddToElementRepository("target", Operation_RequiredInterface_DelegationChain_main_Call_setP__target); + AddToElementRepository("LiteralInteger60", Operation_RequiredInterface_DelegationChain_main_Call_setP__target_LiteralInteger60); + AddToElementRepository("LiteralUnlimitedNatural61", Operation_RequiredInterface_DelegationChain_main_Call_setP__target_LiteralUnlimitedNatural61); + AddToElementRepository("Call testP", Operation_RequiredInterface_DelegationChain_main_Call_testP); + AddToElementRepository("p", Operation_RequiredInterface_DelegationChain_main_Call_testP_p); + AddToElementRepository("LiteralUnlimitedNatural62", Operation_RequiredInterface_DelegationChain_main_Call_testP_p_LiteralUnlimitedNatural62); + AddToElementRepository("LiteralInteger63", Operation_RequiredInterface_DelegationChain_main_Call_testP_p_LiteralInteger63); + AddToElementRepository("LiteralInteger64", Operation_RequiredInterface_DelegationChain_main_Call_testP_p_LiteralInteger64); + AddToElementRepository("Read d.e", Operation_RequiredInterface_DelegationChain_main_Read_d_e); + AddToElementRepository("result", Operation_RequiredInterface_DelegationChain_main_Read_d_e_result); + AddToElementRepository("LiteralUnlimitedNatural65", Operation_RequiredInterface_DelegationChain_main_Read_d_e_result_LiteralUnlimitedNatural65); + AddToElementRepository("LiteralInteger66", Operation_RequiredInterface_DelegationChain_main_Read_d_e_result_LiteralInteger66); + AddToElementRepository("object", Operation_RequiredInterface_DelegationChain_main_Read_d_e_object); + AddToElementRepository("LiteralUnlimitedNatural67", Operation_RequiredInterface_DelegationChain_main_Read_d_e_object_LiteralUnlimitedNatural67); + AddToElementRepository("LiteralInteger68", Operation_RequiredInterface_DelegationChain_main_Read_d_e_object_LiteralInteger68); + AddToElementRepository("D()", Operation_RequiredInterface_DelegationChain_main_D_); + AddToElementRepository("result", Operation_RequiredInterface_DelegationChain_main_D__result); + AddToElementRepository("LiteralInteger69", Operation_RequiredInterface_DelegationChain_main_D__result_LiteralInteger69); + AddToElementRepository("LiteralUnlimitedNatural70", Operation_RequiredInterface_DelegationChain_main_D__result_LiteralUnlimitedNatural70); + AddToElementRepository("LiteralInteger71", Operation_RequiredInterface_DelegationChain_main_D__result_LiteralInteger71); + AddToElementRepository("target", Operation_RequiredInterface_DelegationChain_main_D__target); + AddToElementRepository("LiteralInteger72", Operation_RequiredInterface_DelegationChain_main_D__target_LiteralInteger72); + AddToElementRepository("LiteralUnlimitedNatural73", Operation_RequiredInterface_DelegationChain_main_D__target_LiteralUnlimitedNatural73); + AddToElementRepository("ObjectFlow74", Operation_RequiredInterface_DelegationChain_main_ObjectFlow74); + AddToElementRepository("LiteralBoolean75", Operation_RequiredInterface_DelegationChain_main_ObjectFlow74_LiteralBoolean75); + AddToElementRepository("LiteralInteger76", Operation_RequiredInterface_DelegationChain_main_ObjectFlow74_LiteralInteger76); + AddToElementRepository("ObjectFlow77", Operation_RequiredInterface_DelegationChain_main_ObjectFlow77); + AddToElementRepository("LiteralBoolean78", Operation_RequiredInterface_DelegationChain_main_ObjectFlow77_LiteralBoolean78); + AddToElementRepository("LiteralInteger79", Operation_RequiredInterface_DelegationChain_main_ObjectFlow77_LiteralInteger79); + AddToElementRepository("ObjectFlow80", Operation_RequiredInterface_DelegationChain_main_ObjectFlow80); + AddToElementRepository("LiteralInteger81", Operation_RequiredInterface_DelegationChain_main_ObjectFlow80_LiteralInteger81); + AddToElementRepository("LiteralBoolean82", Operation_RequiredInterface_DelegationChain_main_ObjectFlow80_LiteralBoolean82); + AddToElementRepository("I", Operation_RequiredInterface_DelegationChain_I); + AddToElementRepository("setP_Integer", Operation_RequiredInterface_DelegationChain_I_setP_Integer); + AddToElementRepository("v", Operation_RequiredInterface_DelegationChain_I_setP_Integer_v); + AddToElementRepository("D", Operation_RequiredInterface_DelegationChain_D); + AddToElementRepository("D_D", Operation_RequiredInterface_DelegationChain_D_D_D); + AddToElementRepository("result", Operation_RequiredInterface_DelegationChain_D_D_D_result); + AddToElementRepository("a", Operation_RequiredInterface_DelegationChain_D_a); + AddToElementRepository("e", Operation_RequiredInterface_DelegationChain_D_e); + AddToElementRepository("s", Operation_RequiredInterface_DelegationChain_D_s); + AddToElementRepository("ConnectorEnd83", Operation_RequiredInterface_DelegationChain_D_s_ConnectorEnd83); + AddToElementRepository("ConnectorEnd84", Operation_RequiredInterface_DelegationChain_D_s_ConnectorEnd84); + AddToElementRepository("R", Operation_RequiredInterface_DelegationChain_R); + AddToElementRepository("x", Operation_RequiredInterface_DelegationChain_R_x); + AddToElementRepository("y", Operation_RequiredInterface_DelegationChain_R_y); + AddToElementRepository("A", Operation_RequiredInterface_DelegationChain_A); + AddToElementRepository("b", Operation_RequiredInterface_DelegationChain_A_b); + AddToElementRepository("q", Operation_RequiredInterface_DelegationChain_A_q); + AddToElementRepository("setP_Integer", Operation_RequiredInterface_DelegationChain_A_setP_Integer); + AddToElementRepository("v", Operation_RequiredInterface_DelegationChain_A_setP_Integer_v); + AddToElementRepository("setPActivity", Operation_RequiredInterface_DelegationChain_A_setPActivity); + AddToElementRepository("vParameterNode", Operation_RequiredInterface_DelegationChain_A_setPActivity_vParameterNode); + AddToElementRepository("LiteralInteger85", Operation_RequiredInterface_DelegationChain_A_setPActivity_vParameterNode_LiteralInteger85); + AddToElementRepository("this", Operation_RequiredInterface_DelegationChain_A_setPActivity_this); + AddToElementRepository("result", Operation_RequiredInterface_DelegationChain_A_setPActivity_this_result); + AddToElementRepository("LiteralUnlimitedNatural86", Operation_RequiredInterface_DelegationChain_A_setPActivity_this_result_LiteralUnlimitedNatural86); + AddToElementRepository("LiteralInteger87", Operation_RequiredInterface_DelegationChain_A_setPActivity_this_result_LiteralInteger87); + AddToElementRepository("ObjectFlow88", Operation_RequiredInterface_DelegationChain_A_setPActivity_ObjectFlow88); + AddToElementRepository("LiteralBoolean89", Operation_RequiredInterface_DelegationChain_A_setPActivity_ObjectFlow88_LiteralBoolean89); + AddToElementRepository("LiteralInteger90", Operation_RequiredInterface_DelegationChain_A_setPActivity_ObjectFlow88_LiteralInteger90); + AddToElementRepository("ObjectFlow91", Operation_RequiredInterface_DelegationChain_A_setPActivity_ObjectFlow91); + AddToElementRepository("LiteralInteger92", Operation_RequiredInterface_DelegationChain_A_setPActivity_ObjectFlow91_LiteralInteger92); + AddToElementRepository("LiteralBoolean93", Operation_RequiredInterface_DelegationChain_A_setPActivity_ObjectFlow91_LiteralBoolean93); + AddToElementRepository("v", Operation_RequiredInterface_DelegationChain_A_setPActivity_v); + AddToElementRepository("Call I::setP on q", Operation_RequiredInterface_DelegationChain_A_setPActivity_Call_I_setP_on_q); + AddToElementRepository("v", Operation_RequiredInterface_DelegationChain_A_setPActivity_Call_I_setP_on_q_v); + AddToElementRepository("LiteralUnlimitedNatural94", Operation_RequiredInterface_DelegationChain_A_setPActivity_Call_I_setP_on_q_v_LiteralUnlimitedNatural94); + AddToElementRepository("LiteralInteger95", Operation_RequiredInterface_DelegationChain_A_setPActivity_Call_I_setP_on_q_v_LiteralInteger95); + AddToElementRepository("LiteralInteger96", Operation_RequiredInterface_DelegationChain_A_setPActivity_Call_I_setP_on_q_v_LiteralInteger96); + AddToElementRepository("target", Operation_RequiredInterface_DelegationChain_A_setPActivity_Call_I_setP_on_q_target); + AddToElementRepository("LiteralInteger97", Operation_RequiredInterface_DelegationChain_A_setPActivity_Call_I_setP_on_q_target_LiteralInteger97); + AddToElementRepository("LiteralUnlimitedNatural98", Operation_RequiredInterface_DelegationChain_A_setPActivity_Call_I_setP_on_q_target_LiteralUnlimitedNatural98); + AddToElementRepository("r", Operation_RequiredInterface_DelegationChain_A_r); + AddToElementRepository("ConnectorEnd99", Operation_RequiredInterface_DelegationChain_A_r_ConnectorEnd99); + AddToElementRepository("ConnectorEnd100", Operation_RequiredInterface_DelegationChain_A_r_ConnectorEnd100); + AddToElementRepository("E", Operation_RequiredInterface_DelegationChain_E); + AddToElementRepository("c", Operation_RequiredInterface_DelegationChain_E_c); + AddToElementRepository("s", Operation_RequiredInterface_DelegationChain_E_s); + AddToElementRepository("ConnectorEnd101", Operation_RequiredInterface_DelegationChain_E_s_ConnectorEnd101); + AddToElementRepository("ConnectorEnd102", Operation_RequiredInterface_DelegationChain_E_s_ConnectorEnd102); + AddToElementRepository("q", Operation_RequiredInterface_DelegationChain_E_q); + AddToElementRepository("IImpl", Operation_RequiredInterface_DelegationChain_IImpl); + AddToElementRepository("IRealization", Operation_RequiredInterface_DelegationChain_IImpl_IRealization); + AddToElementRepository("setP_Integer", Operation_RequiredInterface_DelegationChain_IImpl_setP_Integer); + AddToElementRepository("v", Operation_RequiredInterface_DelegationChain_IImpl_setP_Integer_v); + AddToElementRepository("B", Operation_RequiredInterface_DelegationChain_B); + AddToElementRepository("setPActivity", Operation_RequiredInterface_DelegationChain_B_setPActivity); + AddToElementRepository("ObjectFlow103", Operation_RequiredInterface_DelegationChain_B_setPActivity_ObjectFlow103); + AddToElementRepository("LiteralInteger104", Operation_RequiredInterface_DelegationChain_B_setPActivity_ObjectFlow103_LiteralInteger104); + AddToElementRepository("LiteralBoolean105", Operation_RequiredInterface_DelegationChain_B_setPActivity_ObjectFlow103_LiteralBoolean105); + AddToElementRepository("ObjectFlow106", Operation_RequiredInterface_DelegationChain_B_setPActivity_ObjectFlow106); + AddToElementRepository("LiteralBoolean107", Operation_RequiredInterface_DelegationChain_B_setPActivity_ObjectFlow106_LiteralBoolean107); + AddToElementRepository("LiteralInteger108", Operation_RequiredInterface_DelegationChain_B_setPActivity_ObjectFlow106_LiteralInteger108); + AddToElementRepository("v", Operation_RequiredInterface_DelegationChain_B_setPActivity_v); + AddToElementRepository("vParameterNode", Operation_RequiredInterface_DelegationChain_B_setPActivity_vParameterNode); + AddToElementRepository("LiteralInteger109", Operation_RequiredInterface_DelegationChain_B_setPActivity_vParameterNode_LiteralInteger109); + AddToElementRepository("Set this.p", Operation_RequiredInterface_DelegationChain_B_setPActivity_Set_this_p); + AddToElementRepository("value", Operation_RequiredInterface_DelegationChain_B_setPActivity_Set_this_p_value); + AddToElementRepository("LiteralInteger110", Operation_RequiredInterface_DelegationChain_B_setPActivity_Set_this_p_value_LiteralInteger110); + AddToElementRepository("LiteralUnlimitedNatural111", Operation_RequiredInterface_DelegationChain_B_setPActivity_Set_this_p_value_LiteralUnlimitedNatural111); + AddToElementRepository("object", Operation_RequiredInterface_DelegationChain_B_setPActivity_Set_this_p_object); + AddToElementRepository("LiteralInteger112", Operation_RequiredInterface_DelegationChain_B_setPActivity_Set_this_p_object_LiteralInteger112); + AddToElementRepository("LiteralUnlimitedNatural113", Operation_RequiredInterface_DelegationChain_B_setPActivity_Set_this_p_object_LiteralUnlimitedNatural113); + AddToElementRepository("result", Operation_RequiredInterface_DelegationChain_B_setPActivity_Set_this_p_result); + AddToElementRepository("LiteralInteger114", Operation_RequiredInterface_DelegationChain_B_setPActivity_Set_this_p_result_LiteralInteger114); + AddToElementRepository("LiteralUnlimitedNatural115", Operation_RequiredInterface_DelegationChain_B_setPActivity_Set_this_p_result_LiteralUnlimitedNatural115); + AddToElementRepository("this", Operation_RequiredInterface_DelegationChain_B_setPActivity_this); + AddToElementRepository("result", Operation_RequiredInterface_DelegationChain_B_setPActivity_this_result); + AddToElementRepository("LiteralUnlimitedNatural116", Operation_RequiredInterface_DelegationChain_B_setPActivity_this_result_LiteralUnlimitedNatural116); + AddToElementRepository("LiteralInteger117", Operation_RequiredInterface_DelegationChain_B_setPActivity_this_result_LiteralInteger117); + AddToElementRepository("p", Operation_RequiredInterface_DelegationChain_B_p); + AddToElementRepository("IRealization", Operation_RequiredInterface_DelegationChain_B_IRealization); + AddToElementRepository("setP_Integer", Operation_RequiredInterface_DelegationChain_B_setP_Integer); + AddToElementRepository("v", Operation_RequiredInterface_DelegationChain_B_setP_Integer_v); + + // Initialize public members + /* + * Model Operation_RequiredInterface_DelegationChain + */ + Operation_RequiredInterface_DelegationChain.SetName("Operation_RequiredInterface_DelegationChain"); + Operation_RequiredInterface_DelegationChain.SetVisibility(VisibilityKind.public_); + // Class C + Operation_RequiredInterface_DelegationChain_C.SetName("C"); + Operation_RequiredInterface_DelegationChain_C.SetVisibility(VisibilityKind.public_); + + // Port q + Operation_RequiredInterface_DelegationChain_C_q.SetName("q"); + Operation_RequiredInterface_DelegationChain_C_q.SetVisibility(VisibilityKind.public_); + + Operation_RequiredInterface_DelegationChain_C_q.SetType(Operation_RequiredInterface_DelegationChain_IImpl); + Operation_RequiredInterface_DelegationChain_C_q.SetAggregation(AggregationKind.composite); + Operation_RequiredInterface_DelegationChain_C_q.isConjugated = true;; + Operation_RequiredInterface_DelegationChain_C_q.isService = true; + Operation_RequiredInterface_DelegationChain_C_q.AddRequired(Operation_RequiredInterface_DelegationChain_I); + Operation_RequiredInterface_DelegationChain_C.AddOwnedAttribute(Operation_RequiredInterface_DelegationChain_C_q); + // Activity setPActivity + Operation_RequiredInterface_DelegationChain_C_setPActivity.SetName("setPActivity"); + Operation_RequiredInterface_DelegationChain_C_setPActivity.SetVisibility(VisibilityKind.public_); + + // Parameter v + Operation_RequiredInterface_DelegationChain_C_setPActivity_v.SetName("v"); + Operation_RequiredInterface_DelegationChain_C_setPActivity_v.SetVisibility(VisibilityKind.public_); + + Operation_RequiredInterface_DelegationChain_C_setPActivity_v.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + Operation_RequiredInterface_DelegationChain_C_setPActivity.AddOwnedParameter(Operation_RequiredInterface_DelegationChain_C_setPActivity_v); + // ActivityParameterNode vParameterNode + Operation_RequiredInterface_DelegationChain_C_setPActivity_vParameterNode.SetName("vParameterNode"); + Operation_RequiredInterface_DelegationChain_C_setPActivity_vParameterNode.SetVisibility(VisibilityKind.public_); + + Operation_RequiredInterface_DelegationChain_C_setPActivity_vParameterNode.SetParameter(Operation_RequiredInterface_DelegationChain_C_setPActivity_v); + Operation_RequiredInterface_DelegationChain_C_setPActivity.AddNode(Operation_RequiredInterface_DelegationChain_C_setPActivity_vParameterNode); + // ReadSelfAction this + Operation_RequiredInterface_DelegationChain_C_setPActivity_this.SetName("this"); + Operation_RequiredInterface_DelegationChain_C_setPActivity_this.SetVisibility(VisibilityKind.public_); + // OutputPin result + Operation_RequiredInterface_DelegationChain_C_setPActivity_this_result.SetName("result"); + Operation_RequiredInterface_DelegationChain_C_setPActivity_this_result.SetVisibility(VisibilityKind.public_); + Operation_RequiredInterface_DelegationChain_C_setPActivity_this_result.SetType(Operation_RequiredInterface_DelegationChain_C); + Operation_RequiredInterface_DelegationChain_C_setPActivity_this.SetResult(Operation_RequiredInterface_DelegationChain_C_setPActivity_this_result); + Operation_RequiredInterface_DelegationChain_C_setPActivity.AddNode(Operation_RequiredInterface_DelegationChain_C_setPActivity_this); + // CallOperationAction Call I::setP on q + Operation_RequiredInterface_DelegationChain_C_setPActivity_Call_I_setP_on_q.SetName("Call I::setP on q"); + Operation_RequiredInterface_DelegationChain_C_setPActivity_Call_I_setP_on_q.SetVisibility(VisibilityKind.public_); + Operation_RequiredInterface_DelegationChain_C_setPActivity_Call_I_setP_on_q.SetOnPort(Operation_RequiredInterface_DelegationChain_C_q); + Operation_RequiredInterface_DelegationChain_C_setPActivity_Call_I_setP_on_q.SetOperation(Operation_RequiredInterface_DelegationChain_I_setP_Integer); + // InputPin target + Operation_RequiredInterface_DelegationChain_C_setPActivity_Call_I_setP_on_q_target.SetName("target"); + Operation_RequiredInterface_DelegationChain_C_setPActivity_Call_I_setP_on_q_target.SetVisibility(VisibilityKind.public_); + Operation_RequiredInterface_DelegationChain_C_setPActivity_Call_I_setP_on_q_target.SetType(Operation_RequiredInterface_DelegationChain_C); + Operation_RequiredInterface_DelegationChain_C_setPActivity_Call_I_setP_on_q.SetTarget(Operation_RequiredInterface_DelegationChain_C_setPActivity_Call_I_setP_on_q_target); + // InputPin v + Operation_RequiredInterface_DelegationChain_C_setPActivity_Call_I_setP_on_q_v.SetName("v"); + Operation_RequiredInterface_DelegationChain_C_setPActivity_Call_I_setP_on_q_v.SetVisibility(VisibilityKind.public_); + Operation_RequiredInterface_DelegationChain_C_setPActivity_Call_I_setP_on_q_v.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + Operation_RequiredInterface_DelegationChain_C_setPActivity_Call_I_setP_on_q.AddArgument(Operation_RequiredInterface_DelegationChain_C_setPActivity_Call_I_setP_on_q_v); + Operation_RequiredInterface_DelegationChain_C_setPActivity.AddNode(Operation_RequiredInterface_DelegationChain_C_setPActivity_Call_I_setP_on_q); + // ObjectFlow ObjectFlow0 from result to target + Operation_RequiredInterface_DelegationChain_C_setPActivity_ObjectFlow0.SetName("ObjectFlow0"); + Operation_RequiredInterface_DelegationChain_C_setPActivity_ObjectFlow0.SetVisibility(VisibilityKind.public_); + + Operation_RequiredInterface_DelegationChain_C_setPActivity_ObjectFlow0.SetSource(Operation_RequiredInterface_DelegationChain_C_setPActivity_this_result); + Operation_RequiredInterface_DelegationChain_C_setPActivity_ObjectFlow0.SetTarget(Operation_RequiredInterface_DelegationChain_C_setPActivity_Call_I_setP_on_q_target); + // LiteralBoolean LiteralBoolean1 + Operation_RequiredInterface_DelegationChain_C_setPActivity_ObjectFlow0_LiteralBoolean1.SetName("LiteralBoolean1"); + Operation_RequiredInterface_DelegationChain_C_setPActivity_ObjectFlow0_LiteralBoolean1.SetVisibility(VisibilityKind.public_); + Operation_RequiredInterface_DelegationChain_C_setPActivity_ObjectFlow0_LiteralBoolean1.SetValue(true); + Operation_RequiredInterface_DelegationChain_C_setPActivity_ObjectFlow0.SetGuard(Operation_RequiredInterface_DelegationChain_C_setPActivity_ObjectFlow0_LiteralBoolean1); + Operation_RequiredInterface_DelegationChain_C_setPActivity.AddEdge(Operation_RequiredInterface_DelegationChain_C_setPActivity_ObjectFlow0); + // ObjectFlow ObjectFlow4 from vParameterNode to v + Operation_RequiredInterface_DelegationChain_C_setPActivity_ObjectFlow4.SetName("ObjectFlow4"); + Operation_RequiredInterface_DelegationChain_C_setPActivity_ObjectFlow4.SetVisibility(VisibilityKind.public_); + + Operation_RequiredInterface_DelegationChain_C_setPActivity_ObjectFlow4.SetSource(Operation_RequiredInterface_DelegationChain_C_setPActivity_vParameterNode); + Operation_RequiredInterface_DelegationChain_C_setPActivity_ObjectFlow4.SetTarget(Operation_RequiredInterface_DelegationChain_C_setPActivity_Call_I_setP_on_q_v); + // LiteralBoolean LiteralBoolean6 + Operation_RequiredInterface_DelegationChain_C_setPActivity_ObjectFlow4_LiteralBoolean6.SetName("LiteralBoolean6"); + Operation_RequiredInterface_DelegationChain_C_setPActivity_ObjectFlow4_LiteralBoolean6.SetVisibility(VisibilityKind.public_); + Operation_RequiredInterface_DelegationChain_C_setPActivity_ObjectFlow4_LiteralBoolean6.SetValue(true); + Operation_RequiredInterface_DelegationChain_C_setPActivity_ObjectFlow4.SetGuard(Operation_RequiredInterface_DelegationChain_C_setPActivity_ObjectFlow4_LiteralBoolean6); + Operation_RequiredInterface_DelegationChain_C_setPActivity.AddEdge(Operation_RequiredInterface_DelegationChain_C_setPActivity_ObjectFlow4); + Operation_RequiredInterface_DelegationChain_C.AddOwnedBehavior(Operation_RequiredInterface_DelegationChain_C_setPActivity); + Operation_RequiredInterface_DelegationChain_C_IRealization.SetName("IRealization"); + Operation_RequiredInterface_DelegationChain_C_IRealization.SetVisibility(VisibilityKind.public_); + Operation_RequiredInterface_DelegationChain_C_IRealization.SetContract(Operation_RequiredInterface_DelegationChain_I); + + Operation_RequiredInterface_DelegationChain_C.AddInterfaceRealization(Operation_RequiredInterface_DelegationChain_C_IRealization); + + // Operation setP_Integer + Operation_RequiredInterface_DelegationChain_C_setP_Integer.SetName("setP_Integer"); + Operation_RequiredInterface_DelegationChain_C_setP_Integer.SetVisibility(VisibilityKind.public_); + // Parameter v + Operation_RequiredInterface_DelegationChain_C_setP_Integer_v.SetName("v"); + Operation_RequiredInterface_DelegationChain_C_setP_Integer_v.SetVisibility(VisibilityKind.public_); + + Operation_RequiredInterface_DelegationChain_C_setP_Integer_v.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + Operation_RequiredInterface_DelegationChain_C_setP_Integer.AddOwnedParameter(Operation_RequiredInterface_DelegationChain_C_setP_Integer_v); + Operation_RequiredInterface_DelegationChain_C_setP_Integer.AddMethod(Operation_RequiredInterface_DelegationChain_C_setPActivity); + Operation_RequiredInterface_DelegationChain_C.AddOwnedOperation(Operation_RequiredInterface_DelegationChain_C_setP_Integer); + Operation_RequiredInterface_DelegationChain.AddPackagedElement(Operation_RequiredInterface_DelegationChain_C); + // Association S + Operation_RequiredInterface_DelegationChain_S.SetName("S"); + Operation_RequiredInterface_DelegationChain_S.SetVisibility(VisibilityKind.public_); + Operation_RequiredInterface_DelegationChain_S.AddOwnedEnd(Operation_RequiredInterface_DelegationChain_S_x); + Operation_RequiredInterface_DelegationChain_S.AddOwnedEnd(Operation_RequiredInterface_DelegationChain_S_y); + Operation_RequiredInterface_DelegationChain.AddPackagedElement(Operation_RequiredInterface_DelegationChain_S); + // Activity main + Operation_RequiredInterface_DelegationChain_main.SetName("main"); + Operation_RequiredInterface_DelegationChain_main.SetVisibility(VisibilityKind.public_); + // FunctionBehavior testP + Operation_RequiredInterface_DelegationChain_main_testP.SetName("testP"); + Operation_RequiredInterface_DelegationChain_main_testP.SetVisibility(VisibilityKind.public_); + + // Parameter p + Operation_RequiredInterface_DelegationChain_main_testP_p.SetName("p"); + Operation_RequiredInterface_DelegationChain_main_testP_p.SetVisibility(VisibilityKind.public_); + + Operation_RequiredInterface_DelegationChain_main_testP_p.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + Operation_RequiredInterface_DelegationChain_main_testP.AddOwnedParameter(Operation_RequiredInterface_DelegationChain_main_testP_p); + Operation_RequiredInterface_DelegationChain_main_testP.AddLanguage("C#"); + Operation_RequiredInterface_DelegationChain_main_testP.AddLanguage("Using"); + Operation_RequiredInterface_DelegationChain_main_testP.AddBody("Console.WriteLine(\"Asserting d.a.b.p == 4\"); // Test parameter p int p = ((IntegerValue)inputParameters.ElementAt(0).values.ElementAt(0)).value; Debug.Println(\"[doBody] argument p = \" + p); Console.WriteLine(\"d.a.b.p == \" + p); Console.Write(\"Invocation forwarded out of e through q: \"); if(p == 4) { Console.ForegroundColor = ConsoleColor.Green; Console.WriteLine(\"Assertion successful.\"); } else { Console.ForegroundColor = ConsoleColor.Red; Console.WriteLine(\"Assertion failed!\"); } Console.ResetColor();"); + Operation_RequiredInterface_DelegationChain_main_testP.AddBody("using fuml.semantics.simpleclassifiers; "); + Operation_RequiredInterface_DelegationChain_main.AddOwnedBehavior(Operation_RequiredInterface_DelegationChain_main_testP); + // ValueSpecificationAction Value(4) + Operation_RequiredInterface_DelegationChain_main_Value_4.SetName("Value(4)"); + Operation_RequiredInterface_DelegationChain_main_Value_4.SetVisibility(VisibilityKind.public_); + // LiteralInteger LiteralInteger17 + Operation_RequiredInterface_DelegationChain_main_Value_4_LiteralInteger17.SetName("LiteralInteger17"); + Operation_RequiredInterface_DelegationChain_main_Value_4_LiteralInteger17.SetVisibility(VisibilityKind.public_); + Operation_RequiredInterface_DelegationChain_main_Value_4_LiteralInteger17.SetValue(4); + Operation_RequiredInterface_DelegationChain_main_Value_4.SetValue(Operation_RequiredInterface_DelegationChain_main_Value_4_LiteralInteger17); + // OutputPin result + Operation_RequiredInterface_DelegationChain_main_Value_4_result.SetName("result"); + Operation_RequiredInterface_DelegationChain_main_Value_4_result.SetVisibility(VisibilityKind.public_); + Operation_RequiredInterface_DelegationChain_main_Value_4_result.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + Operation_RequiredInterface_DelegationChain_main_Value_4.SetResult(Operation_RequiredInterface_DelegationChain_main_Value_4_result); + Operation_RequiredInterface_DelegationChain_main.AddNode(Operation_RequiredInterface_DelegationChain_main_Value_4); + // ReadStructuralFeatureAction Read e.c + Operation_RequiredInterface_DelegationChain_main_Read_e_c.SetName("Read e.c"); + Operation_RequiredInterface_DelegationChain_main_Read_e_c.SetVisibility(VisibilityKind.public_); + Operation_RequiredInterface_DelegationChain_main_Read_e_c.SetStructuralFeature(Operation_RequiredInterface_DelegationChain_E_c); + // InputPin object + Operation_RequiredInterface_DelegationChain_main_Read_e_c_object.SetName("object"); + Operation_RequiredInterface_DelegationChain_main_Read_e_c_object.SetVisibility(VisibilityKind.public_); + Operation_RequiredInterface_DelegationChain_main_Read_e_c_object.SetType(Operation_RequiredInterface_DelegationChain_E); + Operation_RequiredInterface_DelegationChain_main_Read_e_c.SetObject(Operation_RequiredInterface_DelegationChain_main_Read_e_c_object); + // OutputPin result + Operation_RequiredInterface_DelegationChain_main_Read_e_c_result.SetName("result"); + Operation_RequiredInterface_DelegationChain_main_Read_e_c_result.SetVisibility(VisibilityKind.public_); + Operation_RequiredInterface_DelegationChain_main_Read_e_c_result.SetType(Operation_RequiredInterface_DelegationChain_C); + Operation_RequiredInterface_DelegationChain_main_Read_e_c.SetResult(Operation_RequiredInterface_DelegationChain_main_Read_e_c_result); + Operation_RequiredInterface_DelegationChain_main.AddNode(Operation_RequiredInterface_DelegationChain_main_Read_e_c); + // ReadStructuralFeatureAction Read a.b + Operation_RequiredInterface_DelegationChain_main_Read_a_b.SetName("Read a.b"); + Operation_RequiredInterface_DelegationChain_main_Read_a_b.SetVisibility(VisibilityKind.public_); + Operation_RequiredInterface_DelegationChain_main_Read_a_b.SetStructuralFeature(Operation_RequiredInterface_DelegationChain_A_b); + // InputPin object + Operation_RequiredInterface_DelegationChain_main_Read_a_b_object.SetName("object"); + Operation_RequiredInterface_DelegationChain_main_Read_a_b_object.SetVisibility(VisibilityKind.public_); + Operation_RequiredInterface_DelegationChain_main_Read_a_b_object.SetType(Operation_RequiredInterface_DelegationChain_A); + Operation_RequiredInterface_DelegationChain_main_Read_a_b.SetObject(Operation_RequiredInterface_DelegationChain_main_Read_a_b_object); + // OutputPin result + Operation_RequiredInterface_DelegationChain_main_Read_a_b_result.SetName("result"); + Operation_RequiredInterface_DelegationChain_main_Read_a_b_result.SetVisibility(VisibilityKind.public_); + Operation_RequiredInterface_DelegationChain_main_Read_a_b_result.SetType(Operation_RequiredInterface_DelegationChain_B); + Operation_RequiredInterface_DelegationChain_main_Read_a_b.SetResult(Operation_RequiredInterface_DelegationChain_main_Read_a_b_result); + Operation_RequiredInterface_DelegationChain_main.AddNode(Operation_RequiredInterface_DelegationChain_main_Read_a_b); + // CreateObjectAction Create D + Operation_RequiredInterface_DelegationChain_main_Create_D.SetName("Create D"); + Operation_RequiredInterface_DelegationChain_main_Create_D.SetVisibility(VisibilityKind.public_); + Operation_RequiredInterface_DelegationChain_main_Create_D.SetClassifier(Operation_RequiredInterface_DelegationChain_D); + // OutputPin result + Operation_RequiredInterface_DelegationChain_main_Create_D_result.SetName("result"); + Operation_RequiredInterface_DelegationChain_main_Create_D_result.SetVisibility(VisibilityKind.public_); + Operation_RequiredInterface_DelegationChain_main_Create_D_result.SetType(Operation_RequiredInterface_DelegationChain_D); + Operation_RequiredInterface_DelegationChain_main_Create_D.SetResult(Operation_RequiredInterface_DelegationChain_main_Create_D_result); + Operation_RequiredInterface_DelegationChain_main.AddNode(Operation_RequiredInterface_DelegationChain_main_Create_D); + // ForkNode Fork d + Operation_RequiredInterface_DelegationChain_main_Fork_d.SetName("Fork d"); + Operation_RequiredInterface_DelegationChain_main_Fork_d.SetVisibility(VisibilityKind.public_); + Operation_RequiredInterface_DelegationChain_main.AddNode(Operation_RequiredInterface_DelegationChain_main_Fork_d); + // CallOperationAction Call setP() + Operation_RequiredInterface_DelegationChain_main_Call_setP_.SetName("Call setP()"); + Operation_RequiredInterface_DelegationChain_main_Call_setP_.SetVisibility(VisibilityKind.public_); + Operation_RequiredInterface_DelegationChain_main_Call_setP_.SetOperation(Operation_RequiredInterface_DelegationChain_C_setP_Integer); + // InputPin target + Operation_RequiredInterface_DelegationChain_main_Call_setP__target.SetName("target"); + Operation_RequiredInterface_DelegationChain_main_Call_setP__target.SetVisibility(VisibilityKind.public_); + Operation_RequiredInterface_DelegationChain_main_Call_setP__target.SetType(Operation_RequiredInterface_DelegationChain_C); + Operation_RequiredInterface_DelegationChain_main_Call_setP_.SetTarget(Operation_RequiredInterface_DelegationChain_main_Call_setP__target); + // InputPin v + Operation_RequiredInterface_DelegationChain_main_Call_setP__v.SetName("v"); + Operation_RequiredInterface_DelegationChain_main_Call_setP__v.SetVisibility(VisibilityKind.public_); + Operation_RequiredInterface_DelegationChain_main_Call_setP__v.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + Operation_RequiredInterface_DelegationChain_main_Call_setP_.AddArgument(Operation_RequiredInterface_DelegationChain_main_Call_setP__v); + Operation_RequiredInterface_DelegationChain_main.AddNode(Operation_RequiredInterface_DelegationChain_main_Call_setP_); + // ReadStructuralFeatureAction Read b.p + Operation_RequiredInterface_DelegationChain_main_Read_b_p.SetName("Read b.p"); + Operation_RequiredInterface_DelegationChain_main_Read_b_p.SetVisibility(VisibilityKind.public_); + Operation_RequiredInterface_DelegationChain_main_Read_b_p.SetStructuralFeature(Operation_RequiredInterface_DelegationChain_B_p); + // InputPin object + Operation_RequiredInterface_DelegationChain_main_Read_b_p_object.SetName("object"); + Operation_RequiredInterface_DelegationChain_main_Read_b_p_object.SetVisibility(VisibilityKind.public_); + Operation_RequiredInterface_DelegationChain_main_Read_b_p_object.SetType(Operation_RequiredInterface_DelegationChain_B); + Operation_RequiredInterface_DelegationChain_main_Read_b_p.SetObject(Operation_RequiredInterface_DelegationChain_main_Read_b_p_object); + // OutputPin result + Operation_RequiredInterface_DelegationChain_main_Read_b_p_result.SetName("result"); + Operation_RequiredInterface_DelegationChain_main_Read_b_p_result.SetVisibility(VisibilityKind.public_); + Operation_RequiredInterface_DelegationChain_main_Read_b_p_result.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + Operation_RequiredInterface_DelegationChain_main_Read_b_p.SetResult(Operation_RequiredInterface_DelegationChain_main_Read_b_p_result); + Operation_RequiredInterface_DelegationChain_main.AddNode(Operation_RequiredInterface_DelegationChain_main_Read_b_p); + // CallBehaviorAction Call testP + Operation_RequiredInterface_DelegationChain_main_Call_testP.SetName("Call testP"); + Operation_RequiredInterface_DelegationChain_main_Call_testP.SetVisibility(VisibilityKind.public_); + Operation_RequiredInterface_DelegationChain_main_Call_testP.SetBehavior(Operation_RequiredInterface_DelegationChain_main_testP); + // InputPin p + Operation_RequiredInterface_DelegationChain_main_Call_testP_p.SetName("p"); + Operation_RequiredInterface_DelegationChain_main_Call_testP_p.SetVisibility(VisibilityKind.public_); + Operation_RequiredInterface_DelegationChain_main_Call_testP_p.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + Operation_RequiredInterface_DelegationChain_main_Call_testP.AddArgument(Operation_RequiredInterface_DelegationChain_main_Call_testP_p); + Operation_RequiredInterface_DelegationChain_main.AddNode(Operation_RequiredInterface_DelegationChain_main_Call_testP); + // ReadStructuralFeatureAction Read d.a + Operation_RequiredInterface_DelegationChain_main_Read_d_a.SetName("Read d.a"); + Operation_RequiredInterface_DelegationChain_main_Read_d_a.SetVisibility(VisibilityKind.public_); + Operation_RequiredInterface_DelegationChain_main_Read_d_a.SetStructuralFeature(Operation_RequiredInterface_DelegationChain_D_a); + // InputPin object + Operation_RequiredInterface_DelegationChain_main_Read_d_a_object.SetName("object"); + Operation_RequiredInterface_DelegationChain_main_Read_d_a_object.SetVisibility(VisibilityKind.public_); + Operation_RequiredInterface_DelegationChain_main_Read_d_a_object.SetType(Operation_RequiredInterface_DelegationChain_D); + Operation_RequiredInterface_DelegationChain_main_Read_d_a.SetObject(Operation_RequiredInterface_DelegationChain_main_Read_d_a_object); + // OutputPin result + Operation_RequiredInterface_DelegationChain_main_Read_d_a_result.SetName("result"); + Operation_RequiredInterface_DelegationChain_main_Read_d_a_result.SetVisibility(VisibilityKind.public_); + Operation_RequiredInterface_DelegationChain_main_Read_d_a_result.SetType(Operation_RequiredInterface_DelegationChain_A); + Operation_RequiredInterface_DelegationChain_main_Read_d_a.SetResult(Operation_RequiredInterface_DelegationChain_main_Read_d_a_result); + Operation_RequiredInterface_DelegationChain_main.AddNode(Operation_RequiredInterface_DelegationChain_main_Read_d_a); + // ReadStructuralFeatureAction Read d.e + Operation_RequiredInterface_DelegationChain_main_Read_d_e.SetName("Read d.e"); + Operation_RequiredInterface_DelegationChain_main_Read_d_e.SetVisibility(VisibilityKind.public_); + Operation_RequiredInterface_DelegationChain_main_Read_d_e.SetStructuralFeature(Operation_RequiredInterface_DelegationChain_D_e); + // InputPin object + Operation_RequiredInterface_DelegationChain_main_Read_d_e_object.SetName("object"); + Operation_RequiredInterface_DelegationChain_main_Read_d_e_object.SetVisibility(VisibilityKind.public_); + Operation_RequiredInterface_DelegationChain_main_Read_d_e_object.SetType(Operation_RequiredInterface_DelegationChain_D); + Operation_RequiredInterface_DelegationChain_main_Read_d_e.SetObject(Operation_RequiredInterface_DelegationChain_main_Read_d_e_object); + // OutputPin result + Operation_RequiredInterface_DelegationChain_main_Read_d_e_result.SetName("result"); + Operation_RequiredInterface_DelegationChain_main_Read_d_e_result.SetVisibility(VisibilityKind.public_); + Operation_RequiredInterface_DelegationChain_main_Read_d_e_result.SetType(Operation_RequiredInterface_DelegationChain_E); + Operation_RequiredInterface_DelegationChain_main_Read_d_e.SetResult(Operation_RequiredInterface_DelegationChain_main_Read_d_e_result); + Operation_RequiredInterface_DelegationChain_main.AddNode(Operation_RequiredInterface_DelegationChain_main_Read_d_e); + // CallOperationAction D() + Operation_RequiredInterface_DelegationChain_main_D_.SetName("D()"); + Operation_RequiredInterface_DelegationChain_main_D_.SetVisibility(VisibilityKind.public_); + + // OutputPin result + Operation_RequiredInterface_DelegationChain_main_D__result.SetName("result"); + Operation_RequiredInterface_DelegationChain_main_D__result.SetVisibility(VisibilityKind.public_); + Operation_RequiredInterface_DelegationChain_main_D__result.SetType(Operation_RequiredInterface_DelegationChain_D); + Operation_RequiredInterface_DelegationChain_main_D_.AddResult(Operation_RequiredInterface_DelegationChain_main_D__result); + Operation_RequiredInterface_DelegationChain_main_D_.SetOperation(Operation_RequiredInterface_DelegationChain_D_D_D); + // InputPin target + Operation_RequiredInterface_DelegationChain_main_D__target.SetName("target"); + Operation_RequiredInterface_DelegationChain_main_D__target.SetVisibility(VisibilityKind.public_); + Operation_RequiredInterface_DelegationChain_main_D__target.SetType(Operation_RequiredInterface_DelegationChain_D); + Operation_RequiredInterface_DelegationChain_main_D_.SetTarget(Operation_RequiredInterface_DelegationChain_main_D__target); + Operation_RequiredInterface_DelegationChain_main.AddNode(Operation_RequiredInterface_DelegationChain_main_D_); + // ControlFlow ControlFlow14 from Call setP() to Read d.a + Operation_RequiredInterface_DelegationChain_main_ControlFlow14.SetName("ControlFlow14"); + Operation_RequiredInterface_DelegationChain_main_ControlFlow14.SetVisibility(VisibilityKind.public_); + + Operation_RequiredInterface_DelegationChain_main_ControlFlow14.SetSource(Operation_RequiredInterface_DelegationChain_main_Call_setP_); + Operation_RequiredInterface_DelegationChain_main_ControlFlow14.SetTarget(Operation_RequiredInterface_DelegationChain_main_Read_d_a); + Operation_RequiredInterface_DelegationChain_main.AddEdge(Operation_RequiredInterface_DelegationChain_main_ControlFlow14); + // ObjectFlow ObjectFlow48 from result to target + Operation_RequiredInterface_DelegationChain_main_ObjectFlow48.SetName("ObjectFlow48"); + Operation_RequiredInterface_DelegationChain_main_ObjectFlow48.SetVisibility(VisibilityKind.public_); + + Operation_RequiredInterface_DelegationChain_main_ObjectFlow48.SetSource(Operation_RequiredInterface_DelegationChain_main_Read_e_c_result); + Operation_RequiredInterface_DelegationChain_main_ObjectFlow48.SetTarget(Operation_RequiredInterface_DelegationChain_main_Call_setP__target); + // LiteralBoolean LiteralBoolean50 + Operation_RequiredInterface_DelegationChain_main_ObjectFlow48_LiteralBoolean50.SetName("LiteralBoolean50"); + Operation_RequiredInterface_DelegationChain_main_ObjectFlow48_LiteralBoolean50.SetVisibility(VisibilityKind.public_); + Operation_RequiredInterface_DelegationChain_main_ObjectFlow48_LiteralBoolean50.SetValue(true); + Operation_RequiredInterface_DelegationChain_main_ObjectFlow48.SetGuard(Operation_RequiredInterface_DelegationChain_main_ObjectFlow48_LiteralBoolean50); + Operation_RequiredInterface_DelegationChain_main.AddEdge(Operation_RequiredInterface_DelegationChain_main_ObjectFlow48); + // ObjectFlow ObjectFlow51 from result to Fork d + Operation_RequiredInterface_DelegationChain_main_ObjectFlow51.SetName("ObjectFlow51"); + Operation_RequiredInterface_DelegationChain_main_ObjectFlow51.SetVisibility(VisibilityKind.public_); + + Operation_RequiredInterface_DelegationChain_main_ObjectFlow51.SetSource(Operation_RequiredInterface_DelegationChain_main_D__result); + Operation_RequiredInterface_DelegationChain_main_ObjectFlow51.SetTarget(Operation_RequiredInterface_DelegationChain_main_Fork_d); + // LiteralBoolean LiteralBoolean53 + Operation_RequiredInterface_DelegationChain_main_ObjectFlow51_LiteralBoolean53.SetName("LiteralBoolean53"); + Operation_RequiredInterface_DelegationChain_main_ObjectFlow51_LiteralBoolean53.SetVisibility(VisibilityKind.public_); + Operation_RequiredInterface_DelegationChain_main_ObjectFlow51_LiteralBoolean53.SetValue(true); + Operation_RequiredInterface_DelegationChain_main_ObjectFlow51.SetGuard(Operation_RequiredInterface_DelegationChain_main_ObjectFlow51_LiteralBoolean53); + Operation_RequiredInterface_DelegationChain_main.AddEdge(Operation_RequiredInterface_DelegationChain_main_ObjectFlow51); + // ObjectFlow ObjectFlow22 from result to target + Operation_RequiredInterface_DelegationChain_main_ObjectFlow22.SetName("ObjectFlow22"); + Operation_RequiredInterface_DelegationChain_main_ObjectFlow22.SetVisibility(VisibilityKind.public_); + + Operation_RequiredInterface_DelegationChain_main_ObjectFlow22.SetSource(Operation_RequiredInterface_DelegationChain_main_Create_D_result); + Operation_RequiredInterface_DelegationChain_main_ObjectFlow22.SetTarget(Operation_RequiredInterface_DelegationChain_main_D__target); + // LiteralBoolean LiteralBoolean24 + Operation_RequiredInterface_DelegationChain_main_ObjectFlow22_LiteralBoolean24.SetName("LiteralBoolean24"); + Operation_RequiredInterface_DelegationChain_main_ObjectFlow22_LiteralBoolean24.SetVisibility(VisibilityKind.public_); + Operation_RequiredInterface_DelegationChain_main_ObjectFlow22_LiteralBoolean24.SetValue(true); + Operation_RequiredInterface_DelegationChain_main_ObjectFlow22.SetGuard(Operation_RequiredInterface_DelegationChain_main_ObjectFlow22_LiteralBoolean24); + Operation_RequiredInterface_DelegationChain_main.AddEdge(Operation_RequiredInterface_DelegationChain_main_ObjectFlow22); + // ObjectFlow ObjectFlow54 from Fork d to object + Operation_RequiredInterface_DelegationChain_main_ObjectFlow54.SetName("ObjectFlow54"); + Operation_RequiredInterface_DelegationChain_main_ObjectFlow54.SetVisibility(VisibilityKind.public_); + + Operation_RequiredInterface_DelegationChain_main_ObjectFlow54.SetSource(Operation_RequiredInterface_DelegationChain_main_Fork_d); + Operation_RequiredInterface_DelegationChain_main_ObjectFlow54.SetTarget(Operation_RequiredInterface_DelegationChain_main_Read_d_e_object); + // LiteralBoolean LiteralBoolean55 + Operation_RequiredInterface_DelegationChain_main_ObjectFlow54_LiteralBoolean55.SetName("LiteralBoolean55"); + Operation_RequiredInterface_DelegationChain_main_ObjectFlow54_LiteralBoolean55.SetVisibility(VisibilityKind.public_); + Operation_RequiredInterface_DelegationChain_main_ObjectFlow54_LiteralBoolean55.SetValue(true); + Operation_RequiredInterface_DelegationChain_main_ObjectFlow54.SetGuard(Operation_RequiredInterface_DelegationChain_main_ObjectFlow54_LiteralBoolean55); + Operation_RequiredInterface_DelegationChain_main.AddEdge(Operation_RequiredInterface_DelegationChain_main_ObjectFlow54); + // ObjectFlow ObjectFlow27 from result to v + Operation_RequiredInterface_DelegationChain_main_ObjectFlow27.SetName("ObjectFlow27"); + Operation_RequiredInterface_DelegationChain_main_ObjectFlow27.SetVisibility(VisibilityKind.public_); + + Operation_RequiredInterface_DelegationChain_main_ObjectFlow27.SetSource(Operation_RequiredInterface_DelegationChain_main_Value_4_result); + Operation_RequiredInterface_DelegationChain_main_ObjectFlow27.SetTarget(Operation_RequiredInterface_DelegationChain_main_Call_setP__v); + // LiteralBoolean LiteralBoolean28 + Operation_RequiredInterface_DelegationChain_main_ObjectFlow27_LiteralBoolean28.SetName("LiteralBoolean28"); + Operation_RequiredInterface_DelegationChain_main_ObjectFlow27_LiteralBoolean28.SetVisibility(VisibilityKind.public_); + Operation_RequiredInterface_DelegationChain_main_ObjectFlow27_LiteralBoolean28.SetValue(true); + Operation_RequiredInterface_DelegationChain_main_ObjectFlow27.SetGuard(Operation_RequiredInterface_DelegationChain_main_ObjectFlow27_LiteralBoolean28); + Operation_RequiredInterface_DelegationChain_main.AddEdge(Operation_RequiredInterface_DelegationChain_main_ObjectFlow27); + // ObjectFlow ObjectFlow30 from result to object + Operation_RequiredInterface_DelegationChain_main_ObjectFlow30.SetName("ObjectFlow30"); + Operation_RequiredInterface_DelegationChain_main_ObjectFlow30.SetVisibility(VisibilityKind.public_); + + Operation_RequiredInterface_DelegationChain_main_ObjectFlow30.SetSource(Operation_RequiredInterface_DelegationChain_main_Read_a_b_result); + Operation_RequiredInterface_DelegationChain_main_ObjectFlow30.SetTarget(Operation_RequiredInterface_DelegationChain_main_Read_b_p_object); + // LiteralBoolean LiteralBoolean32 + Operation_RequiredInterface_DelegationChain_main_ObjectFlow30_LiteralBoolean32.SetName("LiteralBoolean32"); + Operation_RequiredInterface_DelegationChain_main_ObjectFlow30_LiteralBoolean32.SetVisibility(VisibilityKind.public_); + Operation_RequiredInterface_DelegationChain_main_ObjectFlow30_LiteralBoolean32.SetValue(true); + Operation_RequiredInterface_DelegationChain_main_ObjectFlow30.SetGuard(Operation_RequiredInterface_DelegationChain_main_ObjectFlow30_LiteralBoolean32); + Operation_RequiredInterface_DelegationChain_main.AddEdge(Operation_RequiredInterface_DelegationChain_main_ObjectFlow30); + // ObjectFlow ObjectFlow41 from result to object + Operation_RequiredInterface_DelegationChain_main_ObjectFlow41.SetName("ObjectFlow41"); + Operation_RequiredInterface_DelegationChain_main_ObjectFlow41.SetVisibility(VisibilityKind.public_); + + Operation_RequiredInterface_DelegationChain_main_ObjectFlow41.SetSource(Operation_RequiredInterface_DelegationChain_main_Read_d_a_result); + Operation_RequiredInterface_DelegationChain_main_ObjectFlow41.SetTarget(Operation_RequiredInterface_DelegationChain_main_Read_a_b_object); + // LiteralBoolean LiteralBoolean42 + Operation_RequiredInterface_DelegationChain_main_ObjectFlow41_LiteralBoolean42.SetName("LiteralBoolean42"); + Operation_RequiredInterface_DelegationChain_main_ObjectFlow41_LiteralBoolean42.SetVisibility(VisibilityKind.public_); + Operation_RequiredInterface_DelegationChain_main_ObjectFlow41_LiteralBoolean42.SetValue(true); + Operation_RequiredInterface_DelegationChain_main_ObjectFlow41.SetGuard(Operation_RequiredInterface_DelegationChain_main_ObjectFlow41_LiteralBoolean42); + Operation_RequiredInterface_DelegationChain_main.AddEdge(Operation_RequiredInterface_DelegationChain_main_ObjectFlow41); + // ObjectFlow ObjectFlow74 from result to object + Operation_RequiredInterface_DelegationChain_main_ObjectFlow74.SetName("ObjectFlow74"); + Operation_RequiredInterface_DelegationChain_main_ObjectFlow74.SetVisibility(VisibilityKind.public_); + + Operation_RequiredInterface_DelegationChain_main_ObjectFlow74.SetSource(Operation_RequiredInterface_DelegationChain_main_Read_d_e_result); + Operation_RequiredInterface_DelegationChain_main_ObjectFlow74.SetTarget(Operation_RequiredInterface_DelegationChain_main_Read_e_c_object); + // LiteralBoolean LiteralBoolean75 + Operation_RequiredInterface_DelegationChain_main_ObjectFlow74_LiteralBoolean75.SetName("LiteralBoolean75"); + Operation_RequiredInterface_DelegationChain_main_ObjectFlow74_LiteralBoolean75.SetVisibility(VisibilityKind.public_); + Operation_RequiredInterface_DelegationChain_main_ObjectFlow74_LiteralBoolean75.SetValue(true); + Operation_RequiredInterface_DelegationChain_main_ObjectFlow74.SetGuard(Operation_RequiredInterface_DelegationChain_main_ObjectFlow74_LiteralBoolean75); + Operation_RequiredInterface_DelegationChain_main.AddEdge(Operation_RequiredInterface_DelegationChain_main_ObjectFlow74); + // ObjectFlow ObjectFlow77 from result to p + Operation_RequiredInterface_DelegationChain_main_ObjectFlow77.SetName("ObjectFlow77"); + Operation_RequiredInterface_DelegationChain_main_ObjectFlow77.SetVisibility(VisibilityKind.public_); + + Operation_RequiredInterface_DelegationChain_main_ObjectFlow77.SetSource(Operation_RequiredInterface_DelegationChain_main_Read_b_p_result); + Operation_RequiredInterface_DelegationChain_main_ObjectFlow77.SetTarget(Operation_RequiredInterface_DelegationChain_main_Call_testP_p); + // LiteralBoolean LiteralBoolean78 + Operation_RequiredInterface_DelegationChain_main_ObjectFlow77_LiteralBoolean78.SetName("LiteralBoolean78"); + Operation_RequiredInterface_DelegationChain_main_ObjectFlow77_LiteralBoolean78.SetVisibility(VisibilityKind.public_); + Operation_RequiredInterface_DelegationChain_main_ObjectFlow77_LiteralBoolean78.SetValue(true); + Operation_RequiredInterface_DelegationChain_main_ObjectFlow77.SetGuard(Operation_RequiredInterface_DelegationChain_main_ObjectFlow77_LiteralBoolean78); + Operation_RequiredInterface_DelegationChain_main.AddEdge(Operation_RequiredInterface_DelegationChain_main_ObjectFlow77); + // ObjectFlow ObjectFlow80 from Fork d to object + Operation_RequiredInterface_DelegationChain_main_ObjectFlow80.SetName("ObjectFlow80"); + Operation_RequiredInterface_DelegationChain_main_ObjectFlow80.SetVisibility(VisibilityKind.public_); + + Operation_RequiredInterface_DelegationChain_main_ObjectFlow80.SetSource(Operation_RequiredInterface_DelegationChain_main_Fork_d); + Operation_RequiredInterface_DelegationChain_main_ObjectFlow80.SetTarget(Operation_RequiredInterface_DelegationChain_main_Read_d_a_object); + // LiteralBoolean LiteralBoolean82 + Operation_RequiredInterface_DelegationChain_main_ObjectFlow80_LiteralBoolean82.SetName("LiteralBoolean82"); + Operation_RequiredInterface_DelegationChain_main_ObjectFlow80_LiteralBoolean82.SetVisibility(VisibilityKind.public_); + Operation_RequiredInterface_DelegationChain_main_ObjectFlow80_LiteralBoolean82.SetValue(true); + Operation_RequiredInterface_DelegationChain_main_ObjectFlow80.SetGuard(Operation_RequiredInterface_DelegationChain_main_ObjectFlow80_LiteralBoolean82); + Operation_RequiredInterface_DelegationChain_main.AddEdge(Operation_RequiredInterface_DelegationChain_main_ObjectFlow80); + Operation_RequiredInterface_DelegationChain.AddPackagedElement(Operation_RequiredInterface_DelegationChain_main); + // Interface I + Operation_RequiredInterface_DelegationChain_I.SetName("I"); + Operation_RequiredInterface_DelegationChain_I.SetVisibility(VisibilityKind.public_); + // Operation setP_Integer + Operation_RequiredInterface_DelegationChain_I_setP_Integer.SetName("setP_Integer"); + Operation_RequiredInterface_DelegationChain_I_setP_Integer.SetVisibility(VisibilityKind.public_); + // Parameter v + Operation_RequiredInterface_DelegationChain_I_setP_Integer_v.SetName("v"); + Operation_RequiredInterface_DelegationChain_I_setP_Integer_v.SetVisibility(VisibilityKind.public_); + + Operation_RequiredInterface_DelegationChain_I_setP_Integer_v.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + Operation_RequiredInterface_DelegationChain_I_setP_Integer.AddOwnedParameter(Operation_RequiredInterface_DelegationChain_I_setP_Integer_v); + Operation_RequiredInterface_DelegationChain_I.AddOwnedOperation(Operation_RequiredInterface_DelegationChain_I_setP_Integer); + Operation_RequiredInterface_DelegationChain.AddPackagedElement(Operation_RequiredInterface_DelegationChain_I); + // Class D + Operation_RequiredInterface_DelegationChain_D.SetName("D"); + Operation_RequiredInterface_DelegationChain_D.SetVisibility(VisibilityKind.public_); + + // Property e + Operation_RequiredInterface_DelegationChain_D_e.SetName("e"); + Operation_RequiredInterface_DelegationChain_D_e.SetVisibility(VisibilityKind.public_); + + Operation_RequiredInterface_DelegationChain_D_e.SetType(Operation_RequiredInterface_DelegationChain_E); + Operation_RequiredInterface_DelegationChain_D_e.SetAggregation(AggregationKind.composite); + Operation_RequiredInterface_DelegationChain_D.AddOwnedAttribute(Operation_RequiredInterface_DelegationChain_D_e); + // Property a + Operation_RequiredInterface_DelegationChain_D_a.SetName("a"); + Operation_RequiredInterface_DelegationChain_D_a.SetVisibility(VisibilityKind.public_); + + Operation_RequiredInterface_DelegationChain_D_a.SetType(Operation_RequiredInterface_DelegationChain_A); + Operation_RequiredInterface_DelegationChain_D_a.SetAggregation(AggregationKind.composite); + Operation_RequiredInterface_DelegationChain_D.AddOwnedAttribute(Operation_RequiredInterface_DelegationChain_D_a); + + Operation_RequiredInterface_DelegationChain_D_s.SetName("s"); + Operation_RequiredInterface_DelegationChain_D_s.SetVisibility(VisibilityKind.public_); + + Operation_RequiredInterface_DelegationChain_D_s_ConnectorEnd84.SetRole(Operation_RequiredInterface_DelegationChain_E_q); + Operation_RequiredInterface_DelegationChain_D_s_ConnectorEnd84.SetPartWithPort(Operation_RequiredInterface_DelegationChain_D_e); + + Operation_RequiredInterface_DelegationChain_D_s.AddEnd(Operation_RequiredInterface_DelegationChain_D_s_ConnectorEnd84); + + Operation_RequiredInterface_DelegationChain_D_s_ConnectorEnd83.SetRole(Operation_RequiredInterface_DelegationChain_A_q); + Operation_RequiredInterface_DelegationChain_D_s_ConnectorEnd83.SetPartWithPort(Operation_RequiredInterface_DelegationChain_D_a); + + Operation_RequiredInterface_DelegationChain_D_s.AddEnd(Operation_RequiredInterface_DelegationChain_D_s_ConnectorEnd83); + Operation_RequiredInterface_DelegationChain_D_s.SetType(Operation_RequiredInterface_DelegationChain_S); + Operation_RequiredInterface_DelegationChain_D.AddOwnedConnector(Operation_RequiredInterface_DelegationChain_D_s); + // Operation D_D + Operation_RequiredInterface_DelegationChain_D_D_D.SetName("D_D"); + Operation_RequiredInterface_DelegationChain_D_D_D.SetVisibility(VisibilityKind.public_); + // Parameter result + Operation_RequiredInterface_DelegationChain_D_D_D_result.SetName("result"); + Operation_RequiredInterface_DelegationChain_D_D_D_result.SetVisibility(VisibilityKind.public_); + + Operation_RequiredInterface_DelegationChain_D_D_D_result.SetType(Operation_RequiredInterface_DelegationChain_D); + Operation_RequiredInterface_DelegationChain_D_D_D_result.SetDirection(ParameterDirectionKind.return_); + Operation_RequiredInterface_DelegationChain_D_D_D.AddOwnedParameter(Operation_RequiredInterface_DelegationChain_D_D_D_result); + Operation_RequiredInterface_DelegationChain_D_D_D.ApplyStereotype(uml.standardprofile.StandardProfileModel.Instance().Stereotype_Create); + Operation_RequiredInterface_DelegationChain_D.AddOwnedOperation(Operation_RequiredInterface_DelegationChain_D_D_D); + Operation_RequiredInterface_DelegationChain.AddPackagedElement(Operation_RequiredInterface_DelegationChain_D); + // Association R + Operation_RequiredInterface_DelegationChain_R.SetName("R"); + Operation_RequiredInterface_DelegationChain_R.SetVisibility(VisibilityKind.public_); + Operation_RequiredInterface_DelegationChain_R.AddOwnedEnd(Operation_RequiredInterface_DelegationChain_R_x); + Operation_RequiredInterface_DelegationChain_R.AddOwnedEnd(Operation_RequiredInterface_DelegationChain_R_y); + Operation_RequiredInterface_DelegationChain.AddPackagedElement(Operation_RequiredInterface_DelegationChain_R); + // Class A + Operation_RequiredInterface_DelegationChain_A.SetName("A"); + Operation_RequiredInterface_DelegationChain_A.SetVisibility(VisibilityKind.public_); + + // Port q + Operation_RequiredInterface_DelegationChain_A_q.SetName("q"); + Operation_RequiredInterface_DelegationChain_A_q.SetVisibility(VisibilityKind.public_); + + Operation_RequiredInterface_DelegationChain_A_q.SetType(Operation_RequiredInterface_DelegationChain_IImpl); + Operation_RequiredInterface_DelegationChain_A_q.SetAggregation(AggregationKind.composite); + Operation_RequiredInterface_DelegationChain_A_q.isService = true; + Operation_RequiredInterface_DelegationChain_A_q.AddProvided(Operation_RequiredInterface_DelegationChain_I); + Operation_RequiredInterface_DelegationChain_A.AddOwnedAttribute(Operation_RequiredInterface_DelegationChain_A_q); + // Property b + Operation_RequiredInterface_DelegationChain_A_b.SetName("b"); + Operation_RequiredInterface_DelegationChain_A_b.SetVisibility(VisibilityKind.public_); + + Operation_RequiredInterface_DelegationChain_A_b.SetType(Operation_RequiredInterface_DelegationChain_B); + Operation_RequiredInterface_DelegationChain_A_b.SetAggregation(AggregationKind.composite); + Operation_RequiredInterface_DelegationChain_A.AddOwnedAttribute(Operation_RequiredInterface_DelegationChain_A_b); + // Activity setPActivity + Operation_RequiredInterface_DelegationChain_A_setPActivity.SetName("setPActivity"); + Operation_RequiredInterface_DelegationChain_A_setPActivity.SetVisibility(VisibilityKind.public_); + + // Parameter v + Operation_RequiredInterface_DelegationChain_A_setPActivity_v.SetName("v"); + Operation_RequiredInterface_DelegationChain_A_setPActivity_v.SetVisibility(VisibilityKind.public_); + + Operation_RequiredInterface_DelegationChain_A_setPActivity_v.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + Operation_RequiredInterface_DelegationChain_A_setPActivity.AddOwnedParameter(Operation_RequiredInterface_DelegationChain_A_setPActivity_v); + // ActivityParameterNode vParameterNode + Operation_RequiredInterface_DelegationChain_A_setPActivity_vParameterNode.SetName("vParameterNode"); + Operation_RequiredInterface_DelegationChain_A_setPActivity_vParameterNode.SetVisibility(VisibilityKind.public_); + + Operation_RequiredInterface_DelegationChain_A_setPActivity_vParameterNode.SetParameter(Operation_RequiredInterface_DelegationChain_A_setPActivity_v); + Operation_RequiredInterface_DelegationChain_A_setPActivity.AddNode(Operation_RequiredInterface_DelegationChain_A_setPActivity_vParameterNode); + // ReadSelfAction this + Operation_RequiredInterface_DelegationChain_A_setPActivity_this.SetName("this"); + Operation_RequiredInterface_DelegationChain_A_setPActivity_this.SetVisibility(VisibilityKind.public_); + // OutputPin result + Operation_RequiredInterface_DelegationChain_A_setPActivity_this_result.SetName("result"); + Operation_RequiredInterface_DelegationChain_A_setPActivity_this_result.SetVisibility(VisibilityKind.public_); + Operation_RequiredInterface_DelegationChain_A_setPActivity_this_result.SetType(Operation_RequiredInterface_DelegationChain_A); + Operation_RequiredInterface_DelegationChain_A_setPActivity_this.SetResult(Operation_RequiredInterface_DelegationChain_A_setPActivity_this_result); + Operation_RequiredInterface_DelegationChain_A_setPActivity.AddNode(Operation_RequiredInterface_DelegationChain_A_setPActivity_this); + // CallOperationAction Call I::setP on q + Operation_RequiredInterface_DelegationChain_A_setPActivity_Call_I_setP_on_q.SetName("Call I::setP on q"); + Operation_RequiredInterface_DelegationChain_A_setPActivity_Call_I_setP_on_q.SetVisibility(VisibilityKind.public_); + Operation_RequiredInterface_DelegationChain_A_setPActivity_Call_I_setP_on_q.SetOnPort(Operation_RequiredInterface_DelegationChain_A_q); + Operation_RequiredInterface_DelegationChain_A_setPActivity_Call_I_setP_on_q.SetOperation(Operation_RequiredInterface_DelegationChain_I_setP_Integer); + // InputPin target + Operation_RequiredInterface_DelegationChain_A_setPActivity_Call_I_setP_on_q_target.SetName("target"); + Operation_RequiredInterface_DelegationChain_A_setPActivity_Call_I_setP_on_q_target.SetVisibility(VisibilityKind.public_); + Operation_RequiredInterface_DelegationChain_A_setPActivity_Call_I_setP_on_q.SetTarget(Operation_RequiredInterface_DelegationChain_A_setPActivity_Call_I_setP_on_q_target); + // InputPin v + Operation_RequiredInterface_DelegationChain_A_setPActivity_Call_I_setP_on_q_v.SetName("v"); + Operation_RequiredInterface_DelegationChain_A_setPActivity_Call_I_setP_on_q_v.SetVisibility(VisibilityKind.public_); + Operation_RequiredInterface_DelegationChain_A_setPActivity_Call_I_setP_on_q_v.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + Operation_RequiredInterface_DelegationChain_A_setPActivity_Call_I_setP_on_q.AddArgument(Operation_RequiredInterface_DelegationChain_A_setPActivity_Call_I_setP_on_q_v); + Operation_RequiredInterface_DelegationChain_A_setPActivity.AddNode(Operation_RequiredInterface_DelegationChain_A_setPActivity_Call_I_setP_on_q); + // ObjectFlow ObjectFlow88 from result to target + Operation_RequiredInterface_DelegationChain_A_setPActivity_ObjectFlow88.SetName("ObjectFlow88"); + Operation_RequiredInterface_DelegationChain_A_setPActivity_ObjectFlow88.SetVisibility(VisibilityKind.public_); + + Operation_RequiredInterface_DelegationChain_A_setPActivity_ObjectFlow88.SetSource(Operation_RequiredInterface_DelegationChain_A_setPActivity_this_result); + Operation_RequiredInterface_DelegationChain_A_setPActivity_ObjectFlow88.SetTarget(Operation_RequiredInterface_DelegationChain_A_setPActivity_Call_I_setP_on_q_target); + // LiteralBoolean LiteralBoolean89 + Operation_RequiredInterface_DelegationChain_A_setPActivity_ObjectFlow88_LiteralBoolean89.SetName("LiteralBoolean89"); + Operation_RequiredInterface_DelegationChain_A_setPActivity_ObjectFlow88_LiteralBoolean89.SetVisibility(VisibilityKind.public_); + Operation_RequiredInterface_DelegationChain_A_setPActivity_ObjectFlow88_LiteralBoolean89.SetValue(true); + Operation_RequiredInterface_DelegationChain_A_setPActivity_ObjectFlow88.SetGuard(Operation_RequiredInterface_DelegationChain_A_setPActivity_ObjectFlow88_LiteralBoolean89); + Operation_RequiredInterface_DelegationChain_A_setPActivity.AddEdge(Operation_RequiredInterface_DelegationChain_A_setPActivity_ObjectFlow88); + // ObjectFlow ObjectFlow91 from vParameterNode to v + Operation_RequiredInterface_DelegationChain_A_setPActivity_ObjectFlow91.SetName("ObjectFlow91"); + Operation_RequiredInterface_DelegationChain_A_setPActivity_ObjectFlow91.SetVisibility(VisibilityKind.public_); + + Operation_RequiredInterface_DelegationChain_A_setPActivity_ObjectFlow91.SetSource(Operation_RequiredInterface_DelegationChain_A_setPActivity_vParameterNode); + Operation_RequiredInterface_DelegationChain_A_setPActivity_ObjectFlow91.SetTarget(Operation_RequiredInterface_DelegationChain_A_setPActivity_Call_I_setP_on_q_v); + // LiteralBoolean LiteralBoolean93 + Operation_RequiredInterface_DelegationChain_A_setPActivity_ObjectFlow91_LiteralBoolean93.SetName("LiteralBoolean93"); + Operation_RequiredInterface_DelegationChain_A_setPActivity_ObjectFlow91_LiteralBoolean93.SetVisibility(VisibilityKind.public_); + Operation_RequiredInterface_DelegationChain_A_setPActivity_ObjectFlow91_LiteralBoolean93.SetValue(true); + Operation_RequiredInterface_DelegationChain_A_setPActivity_ObjectFlow91.SetGuard(Operation_RequiredInterface_DelegationChain_A_setPActivity_ObjectFlow91_LiteralBoolean93); + Operation_RequiredInterface_DelegationChain_A_setPActivity.AddEdge(Operation_RequiredInterface_DelegationChain_A_setPActivity_ObjectFlow91); + Operation_RequiredInterface_DelegationChain_A.AddOwnedBehavior(Operation_RequiredInterface_DelegationChain_A_setPActivity); + Operation_RequiredInterface_DelegationChain_A_r.SetName("r"); + Operation_RequiredInterface_DelegationChain_A_r.SetVisibility(VisibilityKind.public_); + + Operation_RequiredInterface_DelegationChain_A_r_ConnectorEnd100.SetRole(Operation_RequiredInterface_DelegationChain_A_q); + + Operation_RequiredInterface_DelegationChain_A_r.AddEnd(Operation_RequiredInterface_DelegationChain_A_r_ConnectorEnd100); + + Operation_RequiredInterface_DelegationChain_A_r_ConnectorEnd99.SetRole(Operation_RequiredInterface_DelegationChain_A_b); + + Operation_RequiredInterface_DelegationChain_A_r.AddEnd(Operation_RequiredInterface_DelegationChain_A_r_ConnectorEnd99); + Operation_RequiredInterface_DelegationChain_A_r.SetType(Operation_RequiredInterface_DelegationChain_R); + Operation_RequiredInterface_DelegationChain_A.AddOwnedConnector(Operation_RequiredInterface_DelegationChain_A_r); + // Operation setP_Integer + Operation_RequiredInterface_DelegationChain_A_setP_Integer.SetName("setP_Integer"); + Operation_RequiredInterface_DelegationChain_A_setP_Integer.SetVisibility(VisibilityKind.public_); + // Parameter v + Operation_RequiredInterface_DelegationChain_A_setP_Integer_v.SetName("v"); + Operation_RequiredInterface_DelegationChain_A_setP_Integer_v.SetVisibility(VisibilityKind.public_); + + Operation_RequiredInterface_DelegationChain_A_setP_Integer_v.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + Operation_RequiredInterface_DelegationChain_A_setP_Integer.AddOwnedParameter(Operation_RequiredInterface_DelegationChain_A_setP_Integer_v); + Operation_RequiredInterface_DelegationChain_A_setP_Integer.AddMethod(Operation_RequiredInterface_DelegationChain_A_setPActivity); + Operation_RequiredInterface_DelegationChain_A.AddOwnedOperation(Operation_RequiredInterface_DelegationChain_A_setP_Integer); + Operation_RequiredInterface_DelegationChain.AddPackagedElement(Operation_RequiredInterface_DelegationChain_A); + // Class E + Operation_RequiredInterface_DelegationChain_E.SetName("E"); + Operation_RequiredInterface_DelegationChain_E.SetVisibility(VisibilityKind.public_); + + // Port q + Operation_RequiredInterface_DelegationChain_E_q.SetName("q"); + Operation_RequiredInterface_DelegationChain_E_q.SetVisibility(VisibilityKind.public_); + + Operation_RequiredInterface_DelegationChain_E_q.SetType(Operation_RequiredInterface_DelegationChain_IImpl); + Operation_RequiredInterface_DelegationChain_E_q.SetAggregation(AggregationKind.composite); + Operation_RequiredInterface_DelegationChain_E_q.isConjugated = true;; + Operation_RequiredInterface_DelegationChain_E_q.isService = true; + Operation_RequiredInterface_DelegationChain_E_q.AddRequired(Operation_RequiredInterface_DelegationChain_I); + Operation_RequiredInterface_DelegationChain_E.AddOwnedAttribute(Operation_RequiredInterface_DelegationChain_E_q); + // Property c + Operation_RequiredInterface_DelegationChain_E_c.SetName("c"); + Operation_RequiredInterface_DelegationChain_E_c.SetVisibility(VisibilityKind.public_); + + Operation_RequiredInterface_DelegationChain_E_c.SetType(Operation_RequiredInterface_DelegationChain_C); + Operation_RequiredInterface_DelegationChain_E_c.SetAggregation(AggregationKind.composite); + Operation_RequiredInterface_DelegationChain_E.AddOwnedAttribute(Operation_RequiredInterface_DelegationChain_E_c); + + Operation_RequiredInterface_DelegationChain_E_s.SetName("s"); + Operation_RequiredInterface_DelegationChain_E_s.SetVisibility(VisibilityKind.public_); + + Operation_RequiredInterface_DelegationChain_E_s_ConnectorEnd102.SetRole(Operation_RequiredInterface_DelegationChain_C_q); + Operation_RequiredInterface_DelegationChain_E_s_ConnectorEnd102.SetPartWithPort(Operation_RequiredInterface_DelegationChain_E_c); + + Operation_RequiredInterface_DelegationChain_E_s.AddEnd(Operation_RequiredInterface_DelegationChain_E_s_ConnectorEnd102); + + Operation_RequiredInterface_DelegationChain_E_s_ConnectorEnd101.SetRole(Operation_RequiredInterface_DelegationChain_E_q); + + Operation_RequiredInterface_DelegationChain_E_s.AddEnd(Operation_RequiredInterface_DelegationChain_E_s_ConnectorEnd101); + Operation_RequiredInterface_DelegationChain_E_s.SetType(Operation_RequiredInterface_DelegationChain_S); + Operation_RequiredInterface_DelegationChain_E.AddOwnedConnector(Operation_RequiredInterface_DelegationChain_E_s); + Operation_RequiredInterface_DelegationChain.AddPackagedElement(Operation_RequiredInterface_DelegationChain_E); + // Class IImpl + Operation_RequiredInterface_DelegationChain_IImpl.SetName("IImpl"); + Operation_RequiredInterface_DelegationChain_IImpl.SetVisibility(VisibilityKind.public_); + Operation_RequiredInterface_DelegationChain_IImpl_IRealization.SetName("IRealization"); + Operation_RequiredInterface_DelegationChain_IImpl_IRealization.SetVisibility(VisibilityKind.public_); + Operation_RequiredInterface_DelegationChain_IImpl_IRealization.SetContract(Operation_RequiredInterface_DelegationChain_I); + + Operation_RequiredInterface_DelegationChain_IImpl.AddInterfaceRealization(Operation_RequiredInterface_DelegationChain_IImpl_IRealization); + + // Operation setP_Integer + Operation_RequiredInterface_DelegationChain_IImpl_setP_Integer.SetName("setP_Integer"); + Operation_RequiredInterface_DelegationChain_IImpl_setP_Integer.SetVisibility(VisibilityKind.public_); + // Parameter v + Operation_RequiredInterface_DelegationChain_IImpl_setP_Integer_v.SetName("v"); + Operation_RequiredInterface_DelegationChain_IImpl_setP_Integer_v.SetVisibility(VisibilityKind.public_); + + Operation_RequiredInterface_DelegationChain_IImpl_setP_Integer_v.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + Operation_RequiredInterface_DelegationChain_IImpl_setP_Integer.AddOwnedParameter(Operation_RequiredInterface_DelegationChain_IImpl_setP_Integer_v); + Operation_RequiredInterface_DelegationChain_IImpl.AddOwnedOperation(Operation_RequiredInterface_DelegationChain_IImpl_setP_Integer); + Operation_RequiredInterface_DelegationChain.AddPackagedElement(Operation_RequiredInterface_DelegationChain_IImpl); + // Class B + Operation_RequiredInterface_DelegationChain_B.SetName("B"); + Operation_RequiredInterface_DelegationChain_B.SetVisibility(VisibilityKind.public_); + + // Property p + Operation_RequiredInterface_DelegationChain_B_p.SetName("p"); + Operation_RequiredInterface_DelegationChain_B_p.SetVisibility(VisibilityKind.public_); + + Operation_RequiredInterface_DelegationChain_B_p.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + Operation_RequiredInterface_DelegationChain_B.AddOwnedAttribute(Operation_RequiredInterface_DelegationChain_B_p); + // Activity setPActivity + Operation_RequiredInterface_DelegationChain_B_setPActivity.SetName("setPActivity"); + Operation_RequiredInterface_DelegationChain_B_setPActivity.SetVisibility(VisibilityKind.public_); + + // Parameter v + Operation_RequiredInterface_DelegationChain_B_setPActivity_v.SetName("v"); + Operation_RequiredInterface_DelegationChain_B_setPActivity_v.SetVisibility(VisibilityKind.public_); + + Operation_RequiredInterface_DelegationChain_B_setPActivity_v.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + Operation_RequiredInterface_DelegationChain_B_setPActivity.AddOwnedParameter(Operation_RequiredInterface_DelegationChain_B_setPActivity_v); + // ActivityParameterNode vParameterNode + Operation_RequiredInterface_DelegationChain_B_setPActivity_vParameterNode.SetName("vParameterNode"); + Operation_RequiredInterface_DelegationChain_B_setPActivity_vParameterNode.SetVisibility(VisibilityKind.public_); + + Operation_RequiredInterface_DelegationChain_B_setPActivity_vParameterNode.SetParameter(Operation_RequiredInterface_DelegationChain_B_setPActivity_v); + Operation_RequiredInterface_DelegationChain_B_setPActivity.AddNode(Operation_RequiredInterface_DelegationChain_B_setPActivity_vParameterNode); + // AddStructuralFeatureValueAction Set this.p + Operation_RequiredInterface_DelegationChain_B_setPActivity_Set_this_p.SetName("Set this.p"); + Operation_RequiredInterface_DelegationChain_B_setPActivity_Set_this_p.SetVisibility(VisibilityKind.public_); + Operation_RequiredInterface_DelegationChain_B_setPActivity_Set_this_p.SetStructuralFeature(Operation_RequiredInterface_DelegationChain_B_p); + // InputPin object + Operation_RequiredInterface_DelegationChain_B_setPActivity_Set_this_p_object.SetName("object"); + Operation_RequiredInterface_DelegationChain_B_setPActivity_Set_this_p_object.SetVisibility(VisibilityKind.public_); + Operation_RequiredInterface_DelegationChain_B_setPActivity_Set_this_p_object.SetType(Operation_RequiredInterface_DelegationChain_B); + Operation_RequiredInterface_DelegationChain_B_setPActivity_Set_this_p.SetObject(Operation_RequiredInterface_DelegationChain_B_setPActivity_Set_this_p_object); + // InputPin value + Operation_RequiredInterface_DelegationChain_B_setPActivity_Set_this_p_value.SetName("value"); + Operation_RequiredInterface_DelegationChain_B_setPActivity_Set_this_p_value.SetVisibility(VisibilityKind.public_); + Operation_RequiredInterface_DelegationChain_B_setPActivity_Set_this_p_value.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + Operation_RequiredInterface_DelegationChain_B_setPActivity_Set_this_p.SetValue(Operation_RequiredInterface_DelegationChain_B_setPActivity_Set_this_p_value); + // OutputPin result + Operation_RequiredInterface_DelegationChain_B_setPActivity_Set_this_p_result.SetName("result"); + Operation_RequiredInterface_DelegationChain_B_setPActivity_Set_this_p_result.SetVisibility(VisibilityKind.public_); + Operation_RequiredInterface_DelegationChain_B_setPActivity_Set_this_p_result.SetType(Operation_RequiredInterface_DelegationChain_B); + Operation_RequiredInterface_DelegationChain_B_setPActivity_Set_this_p.SetResult(Operation_RequiredInterface_DelegationChain_B_setPActivity_Set_this_p_result); + Operation_RequiredInterface_DelegationChain_B_setPActivity_Set_this_p.SetIsReplaceAll(true); + Operation_RequiredInterface_DelegationChain_B_setPActivity.AddNode(Operation_RequiredInterface_DelegationChain_B_setPActivity_Set_this_p); + // ReadSelfAction this + Operation_RequiredInterface_DelegationChain_B_setPActivity_this.SetName("this"); + Operation_RequiredInterface_DelegationChain_B_setPActivity_this.SetVisibility(VisibilityKind.public_); + // OutputPin result + Operation_RequiredInterface_DelegationChain_B_setPActivity_this_result.SetName("result"); + Operation_RequiredInterface_DelegationChain_B_setPActivity_this_result.SetVisibility(VisibilityKind.public_); + Operation_RequiredInterface_DelegationChain_B_setPActivity_this_result.SetType(Operation_RequiredInterface_DelegationChain_B); + Operation_RequiredInterface_DelegationChain_B_setPActivity_this.SetResult(Operation_RequiredInterface_DelegationChain_B_setPActivity_this_result); + Operation_RequiredInterface_DelegationChain_B_setPActivity.AddNode(Operation_RequiredInterface_DelegationChain_B_setPActivity_this); + // ObjectFlow ObjectFlow103 from vParameterNode to value + Operation_RequiredInterface_DelegationChain_B_setPActivity_ObjectFlow103.SetName("ObjectFlow103"); + Operation_RequiredInterface_DelegationChain_B_setPActivity_ObjectFlow103.SetVisibility(VisibilityKind.public_); + + Operation_RequiredInterface_DelegationChain_B_setPActivity_ObjectFlow103.SetSource(Operation_RequiredInterface_DelegationChain_B_setPActivity_vParameterNode); + Operation_RequiredInterface_DelegationChain_B_setPActivity_ObjectFlow103.SetTarget(Operation_RequiredInterface_DelegationChain_B_setPActivity_Set_this_p_value); + // LiteralBoolean LiteralBoolean105 + Operation_RequiredInterface_DelegationChain_B_setPActivity_ObjectFlow103_LiteralBoolean105.SetName("LiteralBoolean105"); + Operation_RequiredInterface_DelegationChain_B_setPActivity_ObjectFlow103_LiteralBoolean105.SetVisibility(VisibilityKind.public_); + Operation_RequiredInterface_DelegationChain_B_setPActivity_ObjectFlow103_LiteralBoolean105.SetValue(true); + Operation_RequiredInterface_DelegationChain_B_setPActivity_ObjectFlow103.SetGuard(Operation_RequiredInterface_DelegationChain_B_setPActivity_ObjectFlow103_LiteralBoolean105); + Operation_RequiredInterface_DelegationChain_B_setPActivity.AddEdge(Operation_RequiredInterface_DelegationChain_B_setPActivity_ObjectFlow103); + // ObjectFlow ObjectFlow106 from result to object + Operation_RequiredInterface_DelegationChain_B_setPActivity_ObjectFlow106.SetName("ObjectFlow106"); + Operation_RequiredInterface_DelegationChain_B_setPActivity_ObjectFlow106.SetVisibility(VisibilityKind.public_); + + Operation_RequiredInterface_DelegationChain_B_setPActivity_ObjectFlow106.SetSource(Operation_RequiredInterface_DelegationChain_B_setPActivity_this_result); + Operation_RequiredInterface_DelegationChain_B_setPActivity_ObjectFlow106.SetTarget(Operation_RequiredInterface_DelegationChain_B_setPActivity_Set_this_p_object); + // LiteralBoolean LiteralBoolean107 + Operation_RequiredInterface_DelegationChain_B_setPActivity_ObjectFlow106_LiteralBoolean107.SetName("LiteralBoolean107"); + Operation_RequiredInterface_DelegationChain_B_setPActivity_ObjectFlow106_LiteralBoolean107.SetVisibility(VisibilityKind.public_); + Operation_RequiredInterface_DelegationChain_B_setPActivity_ObjectFlow106_LiteralBoolean107.SetValue(true); + Operation_RequiredInterface_DelegationChain_B_setPActivity_ObjectFlow106.SetGuard(Operation_RequiredInterface_DelegationChain_B_setPActivity_ObjectFlow106_LiteralBoolean107); + Operation_RequiredInterface_DelegationChain_B_setPActivity.AddEdge(Operation_RequiredInterface_DelegationChain_B_setPActivity_ObjectFlow106); + Operation_RequiredInterface_DelegationChain_B.AddOwnedBehavior(Operation_RequiredInterface_DelegationChain_B_setPActivity); + Operation_RequiredInterface_DelegationChain_B_IRealization.SetName("IRealization"); + Operation_RequiredInterface_DelegationChain_B_IRealization.SetVisibility(VisibilityKind.public_); + Operation_RequiredInterface_DelegationChain_B_IRealization.SetContract(Operation_RequiredInterface_DelegationChain_I); + + Operation_RequiredInterface_DelegationChain_B.AddInterfaceRealization(Operation_RequiredInterface_DelegationChain_B_IRealization); + + // Operation setP_Integer + Operation_RequiredInterface_DelegationChain_B_setP_Integer.SetName("setP_Integer"); + Operation_RequiredInterface_DelegationChain_B_setP_Integer.SetVisibility(VisibilityKind.public_); + // Parameter v + Operation_RequiredInterface_DelegationChain_B_setP_Integer_v.SetName("v"); + Operation_RequiredInterface_DelegationChain_B_setP_Integer_v.SetVisibility(VisibilityKind.public_); + + Operation_RequiredInterface_DelegationChain_B_setP_Integer_v.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + Operation_RequiredInterface_DelegationChain_B_setP_Integer.AddOwnedParameter(Operation_RequiredInterface_DelegationChain_B_setP_Integer_v); + Operation_RequiredInterface_DelegationChain_B_setP_Integer.AddMethod(Operation_RequiredInterface_DelegationChain_B_setPActivity); + Operation_RequiredInterface_DelegationChain_B.AddOwnedOperation(Operation_RequiredInterface_DelegationChain_B_setP_Integer); + Operation_RequiredInterface_DelegationChain.AddPackagedElement(Operation_RequiredInterface_DelegationChain_B); + } + + /* Start of user code : User-defined members + * This section may be used for user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } // Operation_RequiredInterface_DelegationChainModel +} diff --git a/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/05_Operation_RequiredInterface_DelegationChain/src/testPExecution.cs b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/05_Operation_RequiredInterface_DelegationChain/src/testPExecution.cs new file mode 100644 index 0000000..242b7da --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/05_Operation_RequiredInterface_DelegationChain/src/testPExecution.cs @@ -0,0 +1,78 @@ +/* + * testPExecution.cs + * + * Auto-generated file + */ + +using fuml.semantics.commonbehavior; +using fuml; +using fuml.semantics.simpleclassifiers; +using fuml.semantics.values; + +/* Start of user code : User-defined includes and forward declarations + * This section may be used for includes and forward declarations. + * It will not be overwritten by future generation processes. + */ + +/* + * End of user code + */ + +namespace Operation_RequiredInterface_DelegationChain +{ + public class testPExecution : OpaqueBehaviorExecution + { + public testPExecution() + { + types.Add(Operation_RequiredInterface_DelegationChainModel.Instance().Operation_RequiredInterface_DelegationChain_main_testP); + /* Start of user code : Additional opaque behavior execution initializations + * This section may be used to do any additional opaque behavior execution initialization, + * for example initializing user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } + + public override void DoBody(List inputParameters, List outputParameters) + { + Console.WriteLine("Asserting d.a.b.p == 4"); + + // Test parameter p + int p = ((IntegerValue)inputParameters.ElementAt(0).values.ElementAt(0)).value; + Debug.Println("[doBody] argument p = " + p); + + Console.WriteLine("d.a.b.p == " + p); + Console.Write("Invocation forwarded out of e through q: "); + + if(p == 4) + { + Console.ForegroundColor = ConsoleColor.Green; + Console.WriteLine("Assertion successful."); + } + else + { + Console.ForegroundColor = ConsoleColor.Red; + Console.WriteLine("Assertion failed!"); + } + + Console.ResetColor(); + } + + protected override Value New_() + { + return new testPExecution(); + } + + /* Start of user code : User-defined members + * This section may be used for user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } // testPExecution +} diff --git a/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/06_SignalCommon/.gitignore b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/06_SignalCommon/.gitignore new file mode 100644 index 0000000..1736844 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/06_SignalCommon/.gitignore @@ -0,0 +1,3 @@ +/.vs/ +/bin/ +/obj/ diff --git a/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/06_SignalCommon/SignalCommon.csproj b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/06_SignalCommon/SignalCommon.csproj new file mode 100644 index 0000000..011969a --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/06_SignalCommon/SignalCommon.csproj @@ -0,0 +1,50 @@ + + + + Exe + net6.0 + enable + enable + + + + SignalCommon.Debug + + + SignalCommon.Release + + + + + ..\..\..\..\uml\bin\Debug\net6.0\uml.Debug.dll + + + + + ..\..\..\..\uml\bin\Release\net6.0\uml.Release.dll + + + + + + ..\..\..\..\fuml\bin\Debug\net6.0\fuml.Debug.dll + + + + + ..\..\..\..\fuml\bin\Release\net6.0\fuml.Release.dll + + + + + + ..\..\..\..\pscs\bin\Debug\net6.0\pscs.Debug.dll + + + + + ..\..\..\..\pscs\bin\Release\net6.0\pscs.Release.dll + + + + diff --git a/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/06_SignalCommon/SignalCommon.sln b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/06_SignalCommon/SignalCommon.sln new file mode 100644 index 0000000..7c11946 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/06_SignalCommon/SignalCommon.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.32112.339 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SignalCommon", "SignalCommon.csproj", "{A2F7272C-E4FA-4692-A66C-4357AF65DD7A}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {A2F7272C-E4FA-4692-A66C-4357AF65DD7A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {A2F7272C-E4FA-4692-A66C-4357AF65DD7A}.Debug|Any CPU.Build.0 = Debug|Any CPU + {A2F7272C-E4FA-4692-A66C-4357AF65DD7A}.Release|Any CPU.ActiveCfg = Release|Any CPU + {A2F7272C-E4FA-4692-A66C-4357AF65DD7A}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {9BC82421-C653-4CDD-8DEC-9E32AF09E379} + EndGlobalSection +EndGlobal diff --git a/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/06_SignalCommon/model/SignalCommon.di b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/06_SignalCommon/model/SignalCommon.di new file mode 100644 index 0000000..bf9abab --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/06_SignalCommon/model/SignalCommon.di @@ -0,0 +1,2 @@ + + diff --git a/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/06_SignalCommon/model/SignalCommon.notation b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/06_SignalCommon/model/SignalCommon.notation new file mode 100644 index 0000000..bf9abab --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/06_SignalCommon/model/SignalCommon.notation @@ -0,0 +1,2 @@ + + diff --git a/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/06_SignalCommon/model/SignalCommon.uml b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/06_SignalCommon/model/SignalCommon.uml new file mode 100644 index 0000000..8fb91c1 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/06_SignalCommon/model/SignalCommon.uml @@ -0,0 +1,169 @@ + + + + + Classes, Interfaces and Associations shared among test cases of Test Suite 03 involving signals. +NOTE: Currently, referencing other models within a model is not supported. This feature will be implemented in the future. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/06_SignalCommon/src/SignalCommon.cs b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/06_SignalCommon/src/SignalCommon.cs new file mode 100644 index 0000000..2a54e22 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/06_SignalCommon/src/SignalCommon.cs @@ -0,0 +1,31 @@ +namespace SignalCommon +{ + internal class SignalCommon + { + static void PrintUsage() + { + Console.WriteLine( + "=============================================================================================\n" + + "USAGE: [ <...>]\n" + + "=============================================================================================\n" + ); + } + + static int Main(string[] args) + { + if(args.Length == 0) + { + Console.WriteLine("[ERROR] Must declare at least one behavior name.\n"); + PrintUsage(); + return -1; + } + + foreach (string arg in args) + { + SignalCommonEnvironment.Instance().Execute(arg); + } + + return 0; + } + } +} diff --git a/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/06_SignalCommon/src/SignalCommonEnvironment.cs b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/06_SignalCommon/src/SignalCommonEnvironment.cs new file mode 100644 index 0000000..1dc0f18 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/06_SignalCommon/src/SignalCommonEnvironment.cs @@ -0,0 +1,92 @@ +/* + * SignalCommonEnvironment.cs + * + * Auto-generated file + */ + +/* Start of user code : User-defined using directives + * This section may be used for using directives. + * It will not be overwritten by future generation processes. + */ + +/* + * End of user code + */ + +namespace SignalCommon +{ + public class SignalCommonEnvironment : pscs.environment.Environment + { + private static SignalCommonEnvironment? instance; + + public static SignalCommonEnvironment Instance() + { + if(instance is null) + { + instance = new(); + instance.inMemoryModel = SignalCommonModel.Instance(); + } + + return instance; + } + + public SignalCommonEnvironment() + { + /* + * Create custom opaque behavior execution instances and add them to the execution environment. + */ + + /* Start of user code : Additional environment initializations + * This section may be used to do any additional environment initialization, + * for example initializing user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } + + public override void Execute(string behaviorName) + { + /* Start of user code : Context and inputs initializations + * This section may be used to initialize the execution context + * as well as input parameter values if required. + * It will not be overwritten by future generation processes. + */ + + //context = ...; + //inputs = ...; + + /* + * End of user code + */ + + /* + * Start execution via base class call + */ + base.Execute(behaviorName); + + /* Start of user code : Outputs evaluation + * This section may be used to evaluate output parameter values if required. + * It will not be overwritten by future generation processes. + */ + + //List theOutputs = outputs; + //... + + /* + * End of user code + */ + } + + /* Start of user code : User-defined members + * This section may be used for user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } // SignalCommonEnvironment +} diff --git a/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/06_SignalCommon/src/SignalCommonModel.cs b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/06_SignalCommon/src/SignalCommonModel.cs new file mode 100644 index 0000000..7d26f55 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/06_SignalCommon/src/SignalCommonModel.cs @@ -0,0 +1,689 @@ +/* + * SignalCommonModel.cs + * + * Auto-generated file + */ + +using uml.actions; +using uml.packages; +using uml.structuredclassifiers; +using fuml.primitivetypes; +using uml.classification; +using fuml.library; +using uml.commonbehavior; +using uml.simpleclassifiers; +using uml.commonstructure; +using uml.values; +using uml.activities; +using uml.environment; + + +/* Start of user code : User-defined includes and forward declarations + * This section may be used for includes and forward declarations. + * It will not be overwritten by future generation processes. + */ + +/* + * End of user code + */ + +namespace SignalCommon +{ + public class SignalCommonModel : InMemoryModel + { + private static SignalCommonModel? instance; + + /* + * Model SignalCommon + */ + public Package SignalCommon = new(); + public Class_ SignalCommon_A = new(); + public Operation SignalCommon_A_A_A = new(); + public Parameter SignalCommon_A_A_A_result = new(); + public Property SignalCommon_A_v = new(); + public Port SignalCommon_A_p = new(); + public Activity SignalCommon_A_AClassifierBehavior = new(); + public ObjectFlow SignalCommon_A_AClassifierBehavior_ObjectFlow0 = new(); + public LiteralBoolean SignalCommon_A_AClassifierBehavior_ObjectFlow0_LiteralBoolean1 = new(); + public LiteralInteger SignalCommon_A_AClassifierBehavior_ObjectFlow0_LiteralInteger2 = new(); + public AcceptEventAction SignalCommon_A_AClassifierBehavior_Accept_S = new(); + public OutputPin SignalCommon_A_AClassifierBehavior_Accept_S_value = new(); + public LiteralUnlimitedNatural SignalCommon_A_AClassifierBehavior_Accept_S_value_LiteralUnlimitedNatural3 = new(); + public LiteralInteger SignalCommon_A_AClassifierBehavior_Accept_S_value_LiteralInteger4 = new(); + public LiteralInteger SignalCommon_A_AClassifierBehavior_Accept_S_value_LiteralInteger5 = new(); + public Trigger SignalCommon_A_AClassifierBehavior_Accept_S_Trigger6 = new(); + public ActivityFinalNode SignalCommon_A_AClassifierBehavior_ActivityFinalNode7 = new(); + public ControlFlow SignalCommon_A_AClassifierBehavior_ControlFlow8 = new(); + public AddStructuralFeatureValueAction SignalCommon_A_AClassifierBehavior_Set_v = new(); + public InputPin SignalCommon_A_AClassifierBehavior_Set_v_value = new(); + public LiteralUnlimitedNatural SignalCommon_A_AClassifierBehavior_Set_v_value_LiteralUnlimitedNatural9 = new(); + public LiteralInteger SignalCommon_A_AClassifierBehavior_Set_v_value_LiteralInteger10 = new(); + public InputPin SignalCommon_A_AClassifierBehavior_Set_v_object = new(); + public LiteralInteger SignalCommon_A_AClassifierBehavior_Set_v_object_LiteralInteger11 = new(); + public LiteralUnlimitedNatural SignalCommon_A_AClassifierBehavior_Set_v_object_LiteralUnlimitedNatural12 = new(); + public OutputPin SignalCommon_A_AClassifierBehavior_Set_v_result = new(); + public LiteralUnlimitedNatural SignalCommon_A_AClassifierBehavior_Set_v_result_LiteralUnlimitedNatural13 = new(); + public LiteralInteger SignalCommon_A_AClassifierBehavior_Set_v_result_LiteralInteger14 = new(); + public SendSignalAction SignalCommon_A_AClassifierBehavior_Send_Continue = new(); + public InputPin SignalCommon_A_AClassifierBehavior_Send_Continue_target = new(); + public LiteralInteger SignalCommon_A_AClassifierBehavior_Send_Continue_target_LiteralInteger15 = new(); + public LiteralUnlimitedNatural SignalCommon_A_AClassifierBehavior_Send_Continue_target_LiteralUnlimitedNatural16 = new(); + public ObjectFlow SignalCommon_A_AClassifierBehavior_ObjectFlow17 = new(); + public LiteralBoolean SignalCommon_A_AClassifierBehavior_ObjectFlow17_LiteralBoolean18 = new(); + public LiteralInteger SignalCommon_A_AClassifierBehavior_ObjectFlow17_LiteralInteger19 = new(); + public ObjectFlow SignalCommon_A_AClassifierBehavior_ObjectFlow20 = new(); + public LiteralInteger SignalCommon_A_AClassifierBehavior_ObjectFlow20_LiteralInteger21 = new(); + public LiteralBoolean SignalCommon_A_AClassifierBehavior_ObjectFlow20_LiteralBoolean22 = new(); + public ControlFlow SignalCommon_A_AClassifierBehavior_ControlFlow23 = new(); + public ReadSelfAction SignalCommon_A_AClassifierBehavior_this = new(); + public OutputPin SignalCommon_A_AClassifierBehavior_this_result = new(); + public LiteralInteger SignalCommon_A_AClassifierBehavior_this_result_LiteralInteger24 = new(); + public LiteralUnlimitedNatural SignalCommon_A_AClassifierBehavior_this_result_LiteralUnlimitedNatural25 = new(); + public SignalEvent SignalCommon_StartEvent = new(); + public Class_ SignalCommon_Tester = new(); + public Reception SignalCommon_Tester_Start = new(); + public Activity SignalCommon_Tester_TesterClassifierBehavior = new(); + public ControlFlow SignalCommon_Tester_TesterClassifierBehavior_ControlFlow26 = new(); + public CallOperationAction SignalCommon_Tester_TesterClassifierBehavior_Call_test_ = new(); + public InputPin SignalCommon_Tester_TesterClassifierBehavior_Call_test__target = new(); + public LiteralInteger SignalCommon_Tester_TesterClassifierBehavior_Call_test__target_LiteralInteger27 = new(); + public LiteralUnlimitedNatural SignalCommon_Tester_TesterClassifierBehavior_Call_test__target_LiteralUnlimitedNatural28 = new(); + public ControlFlow SignalCommon_Tester_TesterClassifierBehavior_ControlFlow29 = new(); + public ReadSelfAction SignalCommon_Tester_TesterClassifierBehavior_this = new(); + public OutputPin SignalCommon_Tester_TesterClassifierBehavior_this_result = new(); + public LiteralInteger SignalCommon_Tester_TesterClassifierBehavior_this_result_LiteralInteger30 = new(); + public LiteralUnlimitedNatural SignalCommon_Tester_TesterClassifierBehavior_this_result_LiteralUnlimitedNatural31 = new(); + public ControlFlow SignalCommon_Tester_TesterClassifierBehavior_ControlFlow32 = new(); + public ObjectFlow SignalCommon_Tester_TesterClassifierBehavior_ObjectFlow33 = new(); + public LiteralBoolean SignalCommon_Tester_TesterClassifierBehavior_ObjectFlow33_LiteralBoolean34 = new(); + public LiteralInteger SignalCommon_Tester_TesterClassifierBehavior_ObjectFlow33_LiteralInteger35 = new(); + public SendSignalAction SignalCommon_Tester_TesterClassifierBehavior_Send_S = new(); + public InputPin SignalCommon_Tester_TesterClassifierBehavior_Send_S_target = new(); + public LiteralInteger SignalCommon_Tester_TesterClassifierBehavior_Send_S_target_LiteralInteger36 = new(); + public LiteralUnlimitedNatural SignalCommon_Tester_TesterClassifierBehavior_Send_S_target_LiteralUnlimitedNatural37 = new(); + public InputPin SignalCommon_Tester_TesterClassifierBehavior_Send_S_value = new(); + public LiteralUnlimitedNatural SignalCommon_Tester_TesterClassifierBehavior_Send_S_value_LiteralUnlimitedNatural38 = new(); + public LiteralInteger SignalCommon_Tester_TesterClassifierBehavior_Send_S_value_LiteralInteger39 = new(); + public LiteralInteger SignalCommon_Tester_TesterClassifierBehavior_Send_S_value_LiteralInteger40 = new(); + public ControlFlow SignalCommon_Tester_TesterClassifierBehavior_ControlFlow41 = new(); + public ActivityFinalNode SignalCommon_Tester_TesterClassifierBehavior_ActivityFinalNode42 = new(); + public ObjectFlow SignalCommon_Tester_TesterClassifierBehavior_ObjectFlow43 = new(); + public LiteralBoolean SignalCommon_Tester_TesterClassifierBehavior_ObjectFlow43_LiteralBoolean44 = new(); + public LiteralInteger SignalCommon_Tester_TesterClassifierBehavior_ObjectFlow43_LiteralInteger45 = new(); + public ObjectFlow SignalCommon_Tester_TesterClassifierBehavior_ObjectFlow46 = new(); + public LiteralBoolean SignalCommon_Tester_TesterClassifierBehavior_ObjectFlow46_LiteralBoolean47 = new(); + public LiteralInteger SignalCommon_Tester_TesterClassifierBehavior_ObjectFlow46_LiteralInteger48 = new(); + public AcceptEventAction SignalCommon_Tester_TesterClassifierBehavior_Accept_Continue = new(); + public AcceptEventAction SignalCommon_Tester_TesterClassifierBehavior_Accept_Start = new(); + public Trigger SignalCommon_Tester_TesterClassifierBehavior_Accept_Start_Trigger49 = new(); + public OutputPin SignalCommon_Tester_TesterClassifierBehavior_Accept_Start_testCase = new(); + public LiteralInteger SignalCommon_Tester_TesterClassifierBehavior_Accept_Start_testCase_LiteralInteger50 = new(); + public LiteralUnlimitedNatural SignalCommon_Tester_TesterClassifierBehavior_Accept_Start_testCase_LiteralUnlimitedNatural51 = new(); + public LiteralInteger SignalCommon_Tester_TesterClassifierBehavior_Accept_Start_testCase_LiteralInteger52 = new(); + public ValueSpecificationAction SignalCommon_Tester_TesterClassifierBehavior_Value_4 = new(); + public OutputPin SignalCommon_Tester_TesterClassifierBehavior_Value_4_result = new(); + public LiteralUnlimitedNatural SignalCommon_Tester_TesterClassifierBehavior_Value_4_result_LiteralUnlimitedNatural53 = new(); + public LiteralInteger SignalCommon_Tester_TesterClassifierBehavior_Value_4_result_LiteralInteger54 = new(); + public LiteralInteger SignalCommon_Tester_TesterClassifierBehavior_Value_4_LiteralInteger55 = new(); + public Operation SignalCommon_Tester_Tester_Tester = new(); + public Parameter SignalCommon_Tester_Tester_Tester_result = new(); + public Port SignalCommon_Tester_q = new(); + public Association SignalCommon_R = new(); + public Property SignalCommon_R_y = new(); + public Property SignalCommon_R_x = new(); + public Signal SignalCommon_S = new(); + public Property SignalCommon_S_value = new(); + public Signal SignalCommon_Start = new(); + public Property SignalCommon_Start_testCase = new(); + public SignalEvent SignalCommon_ContinueEvent = new(); + public Class_ SignalCommon_I = new(); + public Signal SignalCommon_Continue = new(); + public SignalEvent SignalCommon_SEvent = new(); + public Class_ SignalCommon_TestCase = new(); + public Operation SignalCommon_TestCase_test = new(); + + public static SignalCommonModel Instance() + { + if (instance is null) + { + instance = new(); + instance.InitializeInMemoryModel(); + } + + return instance; + } + + public SignalCommonModel() + { + /* Start of user code : Additional model initializations + * This section may be used to do any additional model initialization, + * for example initializing user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } + + private void InitializeInMemoryModel() + { + // Create public members + /* + * Model SignalCommon + */ + AddToElementRepository("SignalCommon", SignalCommon); + AddToElementRepository("A", SignalCommon_A); + AddToElementRepository("A_A", SignalCommon_A_A_A); + AddToElementRepository("result", SignalCommon_A_A_A_result); + AddToElementRepository("v", SignalCommon_A_v); + AddToElementRepository("p", SignalCommon_A_p); + AddToElementRepository("AClassifierBehavior", SignalCommon_A_AClassifierBehavior); + AddToElementRepository("ObjectFlow0", SignalCommon_A_AClassifierBehavior_ObjectFlow0); + AddToElementRepository("LiteralBoolean1", SignalCommon_A_AClassifierBehavior_ObjectFlow0_LiteralBoolean1); + AddToElementRepository("LiteralInteger2", SignalCommon_A_AClassifierBehavior_ObjectFlow0_LiteralInteger2); + AddToElementRepository("Accept S", SignalCommon_A_AClassifierBehavior_Accept_S); + AddToElementRepository("value", SignalCommon_A_AClassifierBehavior_Accept_S_value); + AddToElementRepository("LiteralUnlimitedNatural3", SignalCommon_A_AClassifierBehavior_Accept_S_value_LiteralUnlimitedNatural3); + AddToElementRepository("LiteralInteger4", SignalCommon_A_AClassifierBehavior_Accept_S_value_LiteralInteger4); + AddToElementRepository("LiteralInteger5", SignalCommon_A_AClassifierBehavior_Accept_S_value_LiteralInteger5); + AddToElementRepository("Trigger6", SignalCommon_A_AClassifierBehavior_Accept_S_Trigger6); + AddToElementRepository("ActivityFinalNode7", SignalCommon_A_AClassifierBehavior_ActivityFinalNode7); + AddToElementRepository("ControlFlow8", SignalCommon_A_AClassifierBehavior_ControlFlow8); + AddToElementRepository("Set v", SignalCommon_A_AClassifierBehavior_Set_v); + AddToElementRepository("value", SignalCommon_A_AClassifierBehavior_Set_v_value); + AddToElementRepository("LiteralUnlimitedNatural9", SignalCommon_A_AClassifierBehavior_Set_v_value_LiteralUnlimitedNatural9); + AddToElementRepository("LiteralInteger10", SignalCommon_A_AClassifierBehavior_Set_v_value_LiteralInteger10); + AddToElementRepository("object", SignalCommon_A_AClassifierBehavior_Set_v_object); + AddToElementRepository("LiteralInteger11", SignalCommon_A_AClassifierBehavior_Set_v_object_LiteralInteger11); + AddToElementRepository("LiteralUnlimitedNatural12", SignalCommon_A_AClassifierBehavior_Set_v_object_LiteralUnlimitedNatural12); + AddToElementRepository("result", SignalCommon_A_AClassifierBehavior_Set_v_result); + AddToElementRepository("LiteralUnlimitedNatural13", SignalCommon_A_AClassifierBehavior_Set_v_result_LiteralUnlimitedNatural13); + AddToElementRepository("LiteralInteger14", SignalCommon_A_AClassifierBehavior_Set_v_result_LiteralInteger14); + AddToElementRepository("Send Continue", SignalCommon_A_AClassifierBehavior_Send_Continue); + AddToElementRepository("target", SignalCommon_A_AClassifierBehavior_Send_Continue_target); + AddToElementRepository("LiteralInteger15", SignalCommon_A_AClassifierBehavior_Send_Continue_target_LiteralInteger15); + AddToElementRepository("LiteralUnlimitedNatural16", SignalCommon_A_AClassifierBehavior_Send_Continue_target_LiteralUnlimitedNatural16); + AddToElementRepository("ObjectFlow17", SignalCommon_A_AClassifierBehavior_ObjectFlow17); + AddToElementRepository("LiteralBoolean18", SignalCommon_A_AClassifierBehavior_ObjectFlow17_LiteralBoolean18); + AddToElementRepository("LiteralInteger19", SignalCommon_A_AClassifierBehavior_ObjectFlow17_LiteralInteger19); + AddToElementRepository("ObjectFlow20", SignalCommon_A_AClassifierBehavior_ObjectFlow20); + AddToElementRepository("LiteralInteger21", SignalCommon_A_AClassifierBehavior_ObjectFlow20_LiteralInteger21); + AddToElementRepository("LiteralBoolean22", SignalCommon_A_AClassifierBehavior_ObjectFlow20_LiteralBoolean22); + AddToElementRepository("ControlFlow23", SignalCommon_A_AClassifierBehavior_ControlFlow23); + AddToElementRepository("this", SignalCommon_A_AClassifierBehavior_this); + AddToElementRepository("result", SignalCommon_A_AClassifierBehavior_this_result); + AddToElementRepository("LiteralInteger24", SignalCommon_A_AClassifierBehavior_this_result_LiteralInteger24); + AddToElementRepository("LiteralUnlimitedNatural25", SignalCommon_A_AClassifierBehavior_this_result_LiteralUnlimitedNatural25); + AddToElementRepository("StartEvent", SignalCommon_StartEvent); + AddToElementRepository("Tester", SignalCommon_Tester); + AddToElementRepository("Start", SignalCommon_Tester_Start); + AddToElementRepository("TesterClassifierBehavior", SignalCommon_Tester_TesterClassifierBehavior); + AddToElementRepository("ControlFlow26", SignalCommon_Tester_TesterClassifierBehavior_ControlFlow26); + AddToElementRepository("Call test()", SignalCommon_Tester_TesterClassifierBehavior_Call_test_); + AddToElementRepository("target", SignalCommon_Tester_TesterClassifierBehavior_Call_test__target); + AddToElementRepository("LiteralInteger27", SignalCommon_Tester_TesterClassifierBehavior_Call_test__target_LiteralInteger27); + AddToElementRepository("LiteralUnlimitedNatural28", SignalCommon_Tester_TesterClassifierBehavior_Call_test__target_LiteralUnlimitedNatural28); + AddToElementRepository("ControlFlow29", SignalCommon_Tester_TesterClassifierBehavior_ControlFlow29); + AddToElementRepository("this", SignalCommon_Tester_TesterClassifierBehavior_this); + AddToElementRepository("result", SignalCommon_Tester_TesterClassifierBehavior_this_result); + AddToElementRepository("LiteralInteger30", SignalCommon_Tester_TesterClassifierBehavior_this_result_LiteralInteger30); + AddToElementRepository("LiteralUnlimitedNatural31", SignalCommon_Tester_TesterClassifierBehavior_this_result_LiteralUnlimitedNatural31); + AddToElementRepository("ControlFlow32", SignalCommon_Tester_TesterClassifierBehavior_ControlFlow32); + AddToElementRepository("ObjectFlow33", SignalCommon_Tester_TesterClassifierBehavior_ObjectFlow33); + AddToElementRepository("LiteralBoolean34", SignalCommon_Tester_TesterClassifierBehavior_ObjectFlow33_LiteralBoolean34); + AddToElementRepository("LiteralInteger35", SignalCommon_Tester_TesterClassifierBehavior_ObjectFlow33_LiteralInteger35); + AddToElementRepository("Send S", SignalCommon_Tester_TesterClassifierBehavior_Send_S); + AddToElementRepository("target", SignalCommon_Tester_TesterClassifierBehavior_Send_S_target); + AddToElementRepository("LiteralInteger36", SignalCommon_Tester_TesterClassifierBehavior_Send_S_target_LiteralInteger36); + AddToElementRepository("LiteralUnlimitedNatural37", SignalCommon_Tester_TesterClassifierBehavior_Send_S_target_LiteralUnlimitedNatural37); + AddToElementRepository("value", SignalCommon_Tester_TesterClassifierBehavior_Send_S_value); + AddToElementRepository("LiteralUnlimitedNatural38", SignalCommon_Tester_TesterClassifierBehavior_Send_S_value_LiteralUnlimitedNatural38); + AddToElementRepository("LiteralInteger39", SignalCommon_Tester_TesterClassifierBehavior_Send_S_value_LiteralInteger39); + AddToElementRepository("LiteralInteger40", SignalCommon_Tester_TesterClassifierBehavior_Send_S_value_LiteralInteger40); + AddToElementRepository("ControlFlow41", SignalCommon_Tester_TesterClassifierBehavior_ControlFlow41); + AddToElementRepository("ActivityFinalNode42", SignalCommon_Tester_TesterClassifierBehavior_ActivityFinalNode42); + AddToElementRepository("ObjectFlow43", SignalCommon_Tester_TesterClassifierBehavior_ObjectFlow43); + AddToElementRepository("LiteralBoolean44", SignalCommon_Tester_TesterClassifierBehavior_ObjectFlow43_LiteralBoolean44); + AddToElementRepository("LiteralInteger45", SignalCommon_Tester_TesterClassifierBehavior_ObjectFlow43_LiteralInteger45); + AddToElementRepository("ObjectFlow46", SignalCommon_Tester_TesterClassifierBehavior_ObjectFlow46); + AddToElementRepository("LiteralBoolean47", SignalCommon_Tester_TesterClassifierBehavior_ObjectFlow46_LiteralBoolean47); + AddToElementRepository("LiteralInteger48", SignalCommon_Tester_TesterClassifierBehavior_ObjectFlow46_LiteralInteger48); + AddToElementRepository("Accept Continue", SignalCommon_Tester_TesterClassifierBehavior_Accept_Continue); + AddToElementRepository("Accept Start", SignalCommon_Tester_TesterClassifierBehavior_Accept_Start); + AddToElementRepository("Trigger49", SignalCommon_Tester_TesterClassifierBehavior_Accept_Start_Trigger49); + AddToElementRepository("testCase", SignalCommon_Tester_TesterClassifierBehavior_Accept_Start_testCase); + AddToElementRepository("LiteralInteger50", SignalCommon_Tester_TesterClassifierBehavior_Accept_Start_testCase_LiteralInteger50); + AddToElementRepository("LiteralUnlimitedNatural51", SignalCommon_Tester_TesterClassifierBehavior_Accept_Start_testCase_LiteralUnlimitedNatural51); + AddToElementRepository("LiteralInteger52", SignalCommon_Tester_TesterClassifierBehavior_Accept_Start_testCase_LiteralInteger52); + AddToElementRepository("Value(4)", SignalCommon_Tester_TesterClassifierBehavior_Value_4); + AddToElementRepository("result", SignalCommon_Tester_TesterClassifierBehavior_Value_4_result); + AddToElementRepository("LiteralUnlimitedNatural53", SignalCommon_Tester_TesterClassifierBehavior_Value_4_result_LiteralUnlimitedNatural53); + AddToElementRepository("LiteralInteger54", SignalCommon_Tester_TesterClassifierBehavior_Value_4_result_LiteralInteger54); + AddToElementRepository("LiteralInteger55", SignalCommon_Tester_TesterClassifierBehavior_Value_4_LiteralInteger55); + AddToElementRepository("Tester_Tester", SignalCommon_Tester_Tester_Tester); + AddToElementRepository("result", SignalCommon_Tester_Tester_Tester_result); + AddToElementRepository("q", SignalCommon_Tester_q); + AddToElementRepository("R", SignalCommon_R); + AddToElementRepository("y", SignalCommon_R_y); + AddToElementRepository("x", SignalCommon_R_x); + AddToElementRepository("S", SignalCommon_S); + AddToElementRepository("value", SignalCommon_S_value); + AddToElementRepository("Start", SignalCommon_Start); + AddToElementRepository("testCase", SignalCommon_Start_testCase); + AddToElementRepository("ContinueEvent", SignalCommon_ContinueEvent); + AddToElementRepository("I", SignalCommon_I); + AddToElementRepository("Continue", SignalCommon_Continue); + AddToElementRepository("SEvent", SignalCommon_SEvent); + AddToElementRepository("TestCase", SignalCommon_TestCase); + AddToElementRepository("test", SignalCommon_TestCase_test); + + // Initialize public members + /* + * Model SignalCommon + */ + SignalCommon.SetName("SignalCommon"); + SignalCommon.SetVisibility(VisibilityKind.public_); + // Class A + SignalCommon_A.SetName("A"); + SignalCommon_A.SetVisibility(VisibilityKind.public_); + + // Property v + SignalCommon_A_v.SetName("v"); + SignalCommon_A_v.SetVisibility(VisibilityKind.public_); + + SignalCommon_A_v.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + SignalCommon_A_v.SetAggregation(AggregationKind.shared); + SignalCommon_A.AddOwnedAttribute(SignalCommon_A_v); + // Port p + SignalCommon_A_p.SetName("p"); + SignalCommon_A_p.SetVisibility(VisibilityKind.public_); + + SignalCommon_A_p.SetType(SignalCommon_I); + SignalCommon_A_p.SetAggregation(AggregationKind.composite); + SignalCommon_A_p.isBehavior = true; + SignalCommon_A_p.isService = true; + SignalCommon_A.AddOwnedAttribute(SignalCommon_A_p); + SignalCommon_A.SetClassifierBehavior(SignalCommon_A_AClassifierBehavior); + // Activity AClassifierBehavior + SignalCommon_A_AClassifierBehavior.SetName("AClassifierBehavior"); + SignalCommon_A_AClassifierBehavior.SetVisibility(VisibilityKind.public_); + + SignalCommon_A_AClassifierBehavior.isReentrant = false; + // AcceptEventAction Accept S + SignalCommon_A_AClassifierBehavior_Accept_S.SetName("Accept S"); + SignalCommon_A_AClassifierBehavior_Accept_S.SetVisibility(VisibilityKind.public_); + SignalCommon_A_AClassifierBehavior_Accept_S.SetIsUnmarshall(true); + // OutputPin value + SignalCommon_A_AClassifierBehavior_Accept_S_value.SetName("value"); + SignalCommon_A_AClassifierBehavior_Accept_S_value.SetVisibility(VisibilityKind.public_); + SignalCommon_A_AClassifierBehavior_Accept_S_value.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + SignalCommon_A_AClassifierBehavior_Accept_S.AddResult(SignalCommon_A_AClassifierBehavior_Accept_S_value); + // Trigger Trigger6 + SignalCommon_A_AClassifierBehavior_Accept_S_Trigger6.SetName("Trigger6"); + SignalCommon_A_AClassifierBehavior_Accept_S_Trigger6.SetVisibility(VisibilityKind.public_); + SignalCommon_A_AClassifierBehavior_Accept_S_Trigger6.SetEvent(SignalCommon_SEvent); + SignalCommon_A_AClassifierBehavior_Accept_S.AddTrigger(SignalCommon_A_AClassifierBehavior_Accept_S_Trigger6); + SignalCommon_A_AClassifierBehavior.AddNode(SignalCommon_A_AClassifierBehavior_Accept_S); + // ActivityFinalNode ActivityFinalNode7 + SignalCommon_A_AClassifierBehavior_ActivityFinalNode7.SetName("ActivityFinalNode7"); + SignalCommon_A_AClassifierBehavior_ActivityFinalNode7.SetVisibility(VisibilityKind.public_); + SignalCommon_A_AClassifierBehavior.AddNode(SignalCommon_A_AClassifierBehavior_ActivityFinalNode7); + // AddStructuralFeatureValueAction Set v + SignalCommon_A_AClassifierBehavior_Set_v.SetName("Set v"); + SignalCommon_A_AClassifierBehavior_Set_v.SetVisibility(VisibilityKind.public_); + SignalCommon_A_AClassifierBehavior_Set_v.SetStructuralFeature(SignalCommon_A_v); + // InputPin object + SignalCommon_A_AClassifierBehavior_Set_v_object.SetName("object"); + SignalCommon_A_AClassifierBehavior_Set_v_object.SetVisibility(VisibilityKind.public_); + SignalCommon_A_AClassifierBehavior_Set_v_object.SetType(SignalCommon_A); + SignalCommon_A_AClassifierBehavior_Set_v.SetObject(SignalCommon_A_AClassifierBehavior_Set_v_object); + // InputPin value + SignalCommon_A_AClassifierBehavior_Set_v_value.SetName("value"); + SignalCommon_A_AClassifierBehavior_Set_v_value.SetVisibility(VisibilityKind.public_); + SignalCommon_A_AClassifierBehavior_Set_v_value.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + SignalCommon_A_AClassifierBehavior_Set_v.SetValue(SignalCommon_A_AClassifierBehavior_Set_v_value); + // OutputPin result + SignalCommon_A_AClassifierBehavior_Set_v_result.SetName("result"); + SignalCommon_A_AClassifierBehavior_Set_v_result.SetVisibility(VisibilityKind.public_); + SignalCommon_A_AClassifierBehavior_Set_v_result.SetType(SignalCommon_A); + SignalCommon_A_AClassifierBehavior_Set_v.SetResult(SignalCommon_A_AClassifierBehavior_Set_v_result); + SignalCommon_A_AClassifierBehavior.AddNode(SignalCommon_A_AClassifierBehavior_Set_v); + // SendSignalAction Send Continue + SignalCommon_A_AClassifierBehavior_Send_Continue.SetName("Send Continue"); + SignalCommon_A_AClassifierBehavior_Send_Continue.SetVisibility(VisibilityKind.public_); + SignalCommon_A_AClassifierBehavior_Send_Continue.SetSignal(SignalCommon_Continue); + // InputPin target + SignalCommon_A_AClassifierBehavior_Send_Continue_target.SetName("target"); + SignalCommon_A_AClassifierBehavior_Send_Continue_target.SetVisibility(VisibilityKind.public_); + SignalCommon_A_AClassifierBehavior_Send_Continue_target.SetType(SignalCommon_A); + SignalCommon_A_AClassifierBehavior_Send_Continue.SetTarget(SignalCommon_A_AClassifierBehavior_Send_Continue_target); + SignalCommon_A_AClassifierBehavior_Send_Continue.SetOnPort(SignalCommon_A_p); + SignalCommon_A_AClassifierBehavior.AddNode(SignalCommon_A_AClassifierBehavior_Send_Continue); + // ReadSelfAction this + SignalCommon_A_AClassifierBehavior_this.SetName("this"); + SignalCommon_A_AClassifierBehavior_this.SetVisibility(VisibilityKind.public_); + // OutputPin result + SignalCommon_A_AClassifierBehavior_this_result.SetName("result"); + SignalCommon_A_AClassifierBehavior_this_result.SetVisibility(VisibilityKind.public_); + SignalCommon_A_AClassifierBehavior_this_result.SetType(SignalCommon_A); + SignalCommon_A_AClassifierBehavior_this.SetResult(SignalCommon_A_AClassifierBehavior_this_result); + SignalCommon_A_AClassifierBehavior.AddNode(SignalCommon_A_AClassifierBehavior_this); + // ObjectFlow ObjectFlow0 from result to object + SignalCommon_A_AClassifierBehavior_ObjectFlow0.SetName("ObjectFlow0"); + SignalCommon_A_AClassifierBehavior_ObjectFlow0.SetVisibility(VisibilityKind.public_); + + SignalCommon_A_AClassifierBehavior_ObjectFlow0.SetSource(SignalCommon_A_AClassifierBehavior_this_result); + SignalCommon_A_AClassifierBehavior_ObjectFlow0.SetTarget(SignalCommon_A_AClassifierBehavior_Set_v_object); + // LiteralBoolean LiteralBoolean1 + SignalCommon_A_AClassifierBehavior_ObjectFlow0_LiteralBoolean1.SetName("LiteralBoolean1"); + SignalCommon_A_AClassifierBehavior_ObjectFlow0_LiteralBoolean1.SetVisibility(VisibilityKind.public_); + SignalCommon_A_AClassifierBehavior_ObjectFlow0_LiteralBoolean1.SetValue(true); + SignalCommon_A_AClassifierBehavior_ObjectFlow0.SetGuard(SignalCommon_A_AClassifierBehavior_ObjectFlow0_LiteralBoolean1); + SignalCommon_A_AClassifierBehavior.AddEdge(SignalCommon_A_AClassifierBehavior_ObjectFlow0); + // ControlFlow ControlFlow8 from Send Continue to ActivityFinalNode7 + SignalCommon_A_AClassifierBehavior_ControlFlow8.SetName("ControlFlow8"); + SignalCommon_A_AClassifierBehavior_ControlFlow8.SetVisibility(VisibilityKind.public_); + + SignalCommon_A_AClassifierBehavior_ControlFlow8.SetSource(SignalCommon_A_AClassifierBehavior_Send_Continue); + SignalCommon_A_AClassifierBehavior_ControlFlow8.SetTarget(SignalCommon_A_AClassifierBehavior_ActivityFinalNode7); + SignalCommon_A_AClassifierBehavior.AddEdge(SignalCommon_A_AClassifierBehavior_ControlFlow8); + // ObjectFlow ObjectFlow17 from result to target + SignalCommon_A_AClassifierBehavior_ObjectFlow17.SetName("ObjectFlow17"); + SignalCommon_A_AClassifierBehavior_ObjectFlow17.SetVisibility(VisibilityKind.public_); + + SignalCommon_A_AClassifierBehavior_ObjectFlow17.SetSource(SignalCommon_A_AClassifierBehavior_Set_v_result); + SignalCommon_A_AClassifierBehavior_ObjectFlow17.SetTarget(SignalCommon_A_AClassifierBehavior_Send_Continue_target); + // LiteralBoolean LiteralBoolean18 + SignalCommon_A_AClassifierBehavior_ObjectFlow17_LiteralBoolean18.SetName("LiteralBoolean18"); + SignalCommon_A_AClassifierBehavior_ObjectFlow17_LiteralBoolean18.SetVisibility(VisibilityKind.public_); + SignalCommon_A_AClassifierBehavior_ObjectFlow17_LiteralBoolean18.SetValue(true); + SignalCommon_A_AClassifierBehavior_ObjectFlow17.SetGuard(SignalCommon_A_AClassifierBehavior_ObjectFlow17_LiteralBoolean18); + SignalCommon_A_AClassifierBehavior.AddEdge(SignalCommon_A_AClassifierBehavior_ObjectFlow17); + // ObjectFlow ObjectFlow20 from value to value + SignalCommon_A_AClassifierBehavior_ObjectFlow20.SetName("ObjectFlow20"); + SignalCommon_A_AClassifierBehavior_ObjectFlow20.SetVisibility(VisibilityKind.public_); + + SignalCommon_A_AClassifierBehavior_ObjectFlow20.SetSource(SignalCommon_A_AClassifierBehavior_Accept_S_value); + SignalCommon_A_AClassifierBehavior_ObjectFlow20.SetTarget(SignalCommon_A_AClassifierBehavior_Set_v_value); + // LiteralBoolean LiteralBoolean22 + SignalCommon_A_AClassifierBehavior_ObjectFlow20_LiteralBoolean22.SetName("LiteralBoolean22"); + SignalCommon_A_AClassifierBehavior_ObjectFlow20_LiteralBoolean22.SetVisibility(VisibilityKind.public_); + SignalCommon_A_AClassifierBehavior_ObjectFlow20_LiteralBoolean22.SetValue(true); + SignalCommon_A_AClassifierBehavior_ObjectFlow20.SetGuard(SignalCommon_A_AClassifierBehavior_ObjectFlow20_LiteralBoolean22); + SignalCommon_A_AClassifierBehavior.AddEdge(SignalCommon_A_AClassifierBehavior_ObjectFlow20); + // ControlFlow ControlFlow23 from Accept S to this + SignalCommon_A_AClassifierBehavior_ControlFlow23.SetName("ControlFlow23"); + SignalCommon_A_AClassifierBehavior_ControlFlow23.SetVisibility(VisibilityKind.public_); + + SignalCommon_A_AClassifierBehavior_ControlFlow23.SetSource(SignalCommon_A_AClassifierBehavior_Accept_S); + SignalCommon_A_AClassifierBehavior_ControlFlow23.SetTarget(SignalCommon_A_AClassifierBehavior_this); + SignalCommon_A_AClassifierBehavior.AddEdge(SignalCommon_A_AClassifierBehavior_ControlFlow23); + SignalCommon_A.AddOwnedBehavior(SignalCommon_A_AClassifierBehavior); + + SignalCommon_A.SetIsActive(true); + // Operation A_A + SignalCommon_A_A_A.SetName("A_A"); + SignalCommon_A_A_A.SetVisibility(VisibilityKind.public_); + // Parameter result + SignalCommon_A_A_A_result.SetName("result"); + SignalCommon_A_A_A_result.SetVisibility(VisibilityKind.public_); + + SignalCommon_A_A_A_result.SetType(SignalCommon_A); + SignalCommon_A_A_A_result.SetDirection(ParameterDirectionKind.return_); + SignalCommon_A_A_A.AddOwnedParameter(SignalCommon_A_A_A_result); + SignalCommon_A_A_A.ApplyStereotype(uml.standardprofile.StandardProfileModel.Instance().Stereotype_Create); + SignalCommon_A.AddOwnedOperation(SignalCommon_A_A_A); + SignalCommon.AddPackagedElement(SignalCommon_A); + // SignalEvent StartEvent + SignalCommon_StartEvent.SetName("StartEvent"); + SignalCommon_StartEvent.SetVisibility(VisibilityKind.public_); + SignalCommon_StartEvent.SetSignal(SignalCommon_Start); + SignalCommon.AddPackagedElement(SignalCommon_StartEvent); + // Class Tester + SignalCommon_Tester.SetName("Tester"); + SignalCommon_Tester.SetVisibility(VisibilityKind.public_); + + // Port q + SignalCommon_Tester_q.SetName("q"); + SignalCommon_Tester_q.SetVisibility(VisibilityKind.public_); + + SignalCommon_Tester_q.SetType(SignalCommon_I); + SignalCommon_Tester_q.SetAggregation(AggregationKind.composite); + SignalCommon_Tester_q.isBehavior = true; + SignalCommon_Tester_q.isService = true; + SignalCommon_Tester.AddOwnedAttribute(SignalCommon_Tester_q); + SignalCommon_Tester.SetClassifierBehavior(SignalCommon_Tester_TesterClassifierBehavior); + // Activity TesterClassifierBehavior + SignalCommon_Tester_TesterClassifierBehavior.SetName("TesterClassifierBehavior"); + SignalCommon_Tester_TesterClassifierBehavior.SetVisibility(VisibilityKind.public_); + + SignalCommon_Tester_TesterClassifierBehavior.isReentrant = false; + // CallOperationAction Call test() + SignalCommon_Tester_TesterClassifierBehavior_Call_test_.SetName("Call test()"); + SignalCommon_Tester_TesterClassifierBehavior_Call_test_.SetVisibility(VisibilityKind.public_); + SignalCommon_Tester_TesterClassifierBehavior_Call_test_.SetOperation(SignalCommon_TestCase_test); + // InputPin target + SignalCommon_Tester_TesterClassifierBehavior_Call_test__target.SetName("target"); + SignalCommon_Tester_TesterClassifierBehavior_Call_test__target.SetVisibility(VisibilityKind.public_); + SignalCommon_Tester_TesterClassifierBehavior_Call_test__target.SetType(SignalCommon_TestCase); + SignalCommon_Tester_TesterClassifierBehavior_Call_test_.SetTarget(SignalCommon_Tester_TesterClassifierBehavior_Call_test__target); + SignalCommon_Tester_TesterClassifierBehavior.AddNode(SignalCommon_Tester_TesterClassifierBehavior_Call_test_); + // SendSignalAction Send S + SignalCommon_Tester_TesterClassifierBehavior_Send_S.SetName("Send S"); + SignalCommon_Tester_TesterClassifierBehavior_Send_S.SetVisibility(VisibilityKind.public_); + SignalCommon_Tester_TesterClassifierBehavior_Send_S.SetSignal(SignalCommon_S); + // InputPin target + SignalCommon_Tester_TesterClassifierBehavior_Send_S_target.SetName("target"); + SignalCommon_Tester_TesterClassifierBehavior_Send_S_target.SetVisibility(VisibilityKind.public_); + SignalCommon_Tester_TesterClassifierBehavior_Send_S_target.SetType(SignalCommon_Tester); + SignalCommon_Tester_TesterClassifierBehavior_Send_S.SetTarget(SignalCommon_Tester_TesterClassifierBehavior_Send_S_target); + // InputPin value + SignalCommon_Tester_TesterClassifierBehavior_Send_S_value.SetName("value"); + SignalCommon_Tester_TesterClassifierBehavior_Send_S_value.SetVisibility(VisibilityKind.public_); + SignalCommon_Tester_TesterClassifierBehavior_Send_S_value.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + SignalCommon_Tester_TesterClassifierBehavior_Send_S.AddArgument(SignalCommon_Tester_TesterClassifierBehavior_Send_S_value); + SignalCommon_Tester_TesterClassifierBehavior_Send_S.SetOnPort(SignalCommon_Tester_q); + SignalCommon_Tester_TesterClassifierBehavior.AddNode(SignalCommon_Tester_TesterClassifierBehavior_Send_S); + // ActivityFinalNode ActivityFinalNode42 + SignalCommon_Tester_TesterClassifierBehavior_ActivityFinalNode42.SetName("ActivityFinalNode42"); + SignalCommon_Tester_TesterClassifierBehavior_ActivityFinalNode42.SetVisibility(VisibilityKind.public_); + SignalCommon_Tester_TesterClassifierBehavior.AddNode(SignalCommon_Tester_TesterClassifierBehavior_ActivityFinalNode42); + // ReadSelfAction this + SignalCommon_Tester_TesterClassifierBehavior_this.SetName("this"); + SignalCommon_Tester_TesterClassifierBehavior_this.SetVisibility(VisibilityKind.public_); + // OutputPin result + SignalCommon_Tester_TesterClassifierBehavior_this_result.SetName("result"); + SignalCommon_Tester_TesterClassifierBehavior_this_result.SetVisibility(VisibilityKind.public_); + SignalCommon_Tester_TesterClassifierBehavior_this_result.SetType(SignalCommon_Tester); + SignalCommon_Tester_TesterClassifierBehavior_this.SetResult(SignalCommon_Tester_TesterClassifierBehavior_this_result); + SignalCommon_Tester_TesterClassifierBehavior.AddNode(SignalCommon_Tester_TesterClassifierBehavior_this); + // AcceptEventAction Accept Continue + SignalCommon_Tester_TesterClassifierBehavior_Accept_Continue.SetName("Accept Continue"); + SignalCommon_Tester_TesterClassifierBehavior_Accept_Continue.SetVisibility(VisibilityKind.public_); + SignalCommon_Tester_TesterClassifierBehavior.AddNode(SignalCommon_Tester_TesterClassifierBehavior_Accept_Continue); + // AcceptEventAction Accept Start + SignalCommon_Tester_TesterClassifierBehavior_Accept_Start.SetName("Accept Start"); + SignalCommon_Tester_TesterClassifierBehavior_Accept_Start.SetVisibility(VisibilityKind.public_); + SignalCommon_Tester_TesterClassifierBehavior_Accept_Start.SetIsUnmarshall(true); + // OutputPin testCase + SignalCommon_Tester_TesterClassifierBehavior_Accept_Start_testCase.SetName("testCase"); + SignalCommon_Tester_TesterClassifierBehavior_Accept_Start_testCase.SetVisibility(VisibilityKind.public_); + SignalCommon_Tester_TesterClassifierBehavior_Accept_Start_testCase.SetType(SignalCommon_TestCase); + SignalCommon_Tester_TesterClassifierBehavior_Accept_Start.AddResult(SignalCommon_Tester_TesterClassifierBehavior_Accept_Start_testCase); + // Trigger Trigger49 + SignalCommon_Tester_TesterClassifierBehavior_Accept_Start_Trigger49.SetName("Trigger49"); + SignalCommon_Tester_TesterClassifierBehavior_Accept_Start_Trigger49.SetVisibility(VisibilityKind.public_); + SignalCommon_Tester_TesterClassifierBehavior_Accept_Start_Trigger49.SetEvent(SignalCommon_StartEvent); + SignalCommon_Tester_TesterClassifierBehavior_Accept_Start.AddTrigger(SignalCommon_Tester_TesterClassifierBehavior_Accept_Start_Trigger49); + SignalCommon_Tester_TesterClassifierBehavior.AddNode(SignalCommon_Tester_TesterClassifierBehavior_Accept_Start); + // ValueSpecificationAction Value(4) + SignalCommon_Tester_TesterClassifierBehavior_Value_4.SetName("Value(4)"); + SignalCommon_Tester_TesterClassifierBehavior_Value_4.SetVisibility(VisibilityKind.public_); + // LiteralInteger LiteralInteger55 + SignalCommon_Tester_TesterClassifierBehavior_Value_4_LiteralInteger55.SetName("LiteralInteger55"); + SignalCommon_Tester_TesterClassifierBehavior_Value_4_LiteralInteger55.SetVisibility(VisibilityKind.public_); + SignalCommon_Tester_TesterClassifierBehavior_Value_4_LiteralInteger55.SetValue(4); + SignalCommon_Tester_TesterClassifierBehavior_Value_4.SetValue(SignalCommon_Tester_TesterClassifierBehavior_Value_4_LiteralInteger55); + // OutputPin result + SignalCommon_Tester_TesterClassifierBehavior_Value_4_result.SetName("result"); + SignalCommon_Tester_TesterClassifierBehavior_Value_4_result.SetVisibility(VisibilityKind.public_); + SignalCommon_Tester_TesterClassifierBehavior_Value_4_result.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + SignalCommon_Tester_TesterClassifierBehavior_Value_4.SetResult(SignalCommon_Tester_TesterClassifierBehavior_Value_4_result); + SignalCommon_Tester_TesterClassifierBehavior.AddNode(SignalCommon_Tester_TesterClassifierBehavior_Value_4); + // ControlFlow ControlFlow26 from Call test() to ActivityFinalNode42 + SignalCommon_Tester_TesterClassifierBehavior_ControlFlow26.SetName("ControlFlow26"); + SignalCommon_Tester_TesterClassifierBehavior_ControlFlow26.SetVisibility(VisibilityKind.public_); + + SignalCommon_Tester_TesterClassifierBehavior_ControlFlow26.SetSource(SignalCommon_Tester_TesterClassifierBehavior_Call_test_); + SignalCommon_Tester_TesterClassifierBehavior_ControlFlow26.SetTarget(SignalCommon_Tester_TesterClassifierBehavior_ActivityFinalNode42); + SignalCommon_Tester_TesterClassifierBehavior.AddEdge(SignalCommon_Tester_TesterClassifierBehavior_ControlFlow26); + // ObjectFlow ObjectFlow33 from result to value + SignalCommon_Tester_TesterClassifierBehavior_ObjectFlow33.SetName("ObjectFlow33"); + SignalCommon_Tester_TesterClassifierBehavior_ObjectFlow33.SetVisibility(VisibilityKind.public_); + + SignalCommon_Tester_TesterClassifierBehavior_ObjectFlow33.SetSource(SignalCommon_Tester_TesterClassifierBehavior_Value_4_result); + SignalCommon_Tester_TesterClassifierBehavior_ObjectFlow33.SetTarget(SignalCommon_Tester_TesterClassifierBehavior_Send_S_value); + // LiteralBoolean LiteralBoolean34 + SignalCommon_Tester_TesterClassifierBehavior_ObjectFlow33_LiteralBoolean34.SetName("LiteralBoolean34"); + SignalCommon_Tester_TesterClassifierBehavior_ObjectFlow33_LiteralBoolean34.SetVisibility(VisibilityKind.public_); + SignalCommon_Tester_TesterClassifierBehavior_ObjectFlow33_LiteralBoolean34.SetValue(true); + SignalCommon_Tester_TesterClassifierBehavior_ObjectFlow33.SetGuard(SignalCommon_Tester_TesterClassifierBehavior_ObjectFlow33_LiteralBoolean34); + SignalCommon_Tester_TesterClassifierBehavior.AddEdge(SignalCommon_Tester_TesterClassifierBehavior_ObjectFlow33); + // ControlFlow ControlFlow29 from Accept Start to this + SignalCommon_Tester_TesterClassifierBehavior_ControlFlow29.SetName("ControlFlow29"); + SignalCommon_Tester_TesterClassifierBehavior_ControlFlow29.SetVisibility(VisibilityKind.public_); + + SignalCommon_Tester_TesterClassifierBehavior_ControlFlow29.SetSource(SignalCommon_Tester_TesterClassifierBehavior_Accept_Start); + SignalCommon_Tester_TesterClassifierBehavior_ControlFlow29.SetTarget(SignalCommon_Tester_TesterClassifierBehavior_this); + SignalCommon_Tester_TesterClassifierBehavior.AddEdge(SignalCommon_Tester_TesterClassifierBehavior_ControlFlow29); + // ControlFlow ControlFlow41 from Send S to Accept Continue + SignalCommon_Tester_TesterClassifierBehavior_ControlFlow41.SetName("ControlFlow41"); + SignalCommon_Tester_TesterClassifierBehavior_ControlFlow41.SetVisibility(VisibilityKind.public_); + + SignalCommon_Tester_TesterClassifierBehavior_ControlFlow41.SetSource(SignalCommon_Tester_TesterClassifierBehavior_Send_S); + SignalCommon_Tester_TesterClassifierBehavior_ControlFlow41.SetTarget(SignalCommon_Tester_TesterClassifierBehavior_Accept_Continue); + SignalCommon_Tester_TesterClassifierBehavior.AddEdge(SignalCommon_Tester_TesterClassifierBehavior_ControlFlow41); + // ObjectFlow ObjectFlow43 from result to target + SignalCommon_Tester_TesterClassifierBehavior_ObjectFlow43.SetName("ObjectFlow43"); + SignalCommon_Tester_TesterClassifierBehavior_ObjectFlow43.SetVisibility(VisibilityKind.public_); + + SignalCommon_Tester_TesterClassifierBehavior_ObjectFlow43.SetSource(SignalCommon_Tester_TesterClassifierBehavior_this_result); + SignalCommon_Tester_TesterClassifierBehavior_ObjectFlow43.SetTarget(SignalCommon_Tester_TesterClassifierBehavior_Send_S_target); + // LiteralBoolean LiteralBoolean44 + SignalCommon_Tester_TesterClassifierBehavior_ObjectFlow43_LiteralBoolean44.SetName("LiteralBoolean44"); + SignalCommon_Tester_TesterClassifierBehavior_ObjectFlow43_LiteralBoolean44.SetVisibility(VisibilityKind.public_); + SignalCommon_Tester_TesterClassifierBehavior_ObjectFlow43_LiteralBoolean44.SetValue(true); + SignalCommon_Tester_TesterClassifierBehavior_ObjectFlow43.SetGuard(SignalCommon_Tester_TesterClassifierBehavior_ObjectFlow43_LiteralBoolean44); + SignalCommon_Tester_TesterClassifierBehavior.AddEdge(SignalCommon_Tester_TesterClassifierBehavior_ObjectFlow43); + // ControlFlow ControlFlow32 from Accept Continue to Call test() + SignalCommon_Tester_TesterClassifierBehavior_ControlFlow32.SetName("ControlFlow32"); + SignalCommon_Tester_TesterClassifierBehavior_ControlFlow32.SetVisibility(VisibilityKind.public_); + + SignalCommon_Tester_TesterClassifierBehavior_ControlFlow32.SetSource(SignalCommon_Tester_TesterClassifierBehavior_Accept_Continue); + SignalCommon_Tester_TesterClassifierBehavior_ControlFlow32.SetTarget(SignalCommon_Tester_TesterClassifierBehavior_Call_test_); + SignalCommon_Tester_TesterClassifierBehavior.AddEdge(SignalCommon_Tester_TesterClassifierBehavior_ControlFlow32); + // ObjectFlow ObjectFlow46 from testCase to target + SignalCommon_Tester_TesterClassifierBehavior_ObjectFlow46.SetName("ObjectFlow46"); + SignalCommon_Tester_TesterClassifierBehavior_ObjectFlow46.SetVisibility(VisibilityKind.public_); + + SignalCommon_Tester_TesterClassifierBehavior_ObjectFlow46.SetSource(SignalCommon_Tester_TesterClassifierBehavior_Accept_Start_testCase); + SignalCommon_Tester_TesterClassifierBehavior_ObjectFlow46.SetTarget(SignalCommon_Tester_TesterClassifierBehavior_Call_test__target); + // LiteralBoolean LiteralBoolean47 + SignalCommon_Tester_TesterClassifierBehavior_ObjectFlow46_LiteralBoolean47.SetName("LiteralBoolean47"); + SignalCommon_Tester_TesterClassifierBehavior_ObjectFlow46_LiteralBoolean47.SetVisibility(VisibilityKind.public_); + SignalCommon_Tester_TesterClassifierBehavior_ObjectFlow46_LiteralBoolean47.SetValue(true); + SignalCommon_Tester_TesterClassifierBehavior_ObjectFlow46.SetGuard(SignalCommon_Tester_TesterClassifierBehavior_ObjectFlow46_LiteralBoolean47); + SignalCommon_Tester_TesterClassifierBehavior.AddEdge(SignalCommon_Tester_TesterClassifierBehavior_ObjectFlow46); + SignalCommon_Tester.AddOwnedBehavior(SignalCommon_Tester_TesterClassifierBehavior); + + SignalCommon_Tester.SetIsActive(true); + // Operation Tester_Tester + SignalCommon_Tester_Tester_Tester.SetName("Tester_Tester"); + SignalCommon_Tester_Tester_Tester.SetVisibility(VisibilityKind.public_); + // Parameter result + SignalCommon_Tester_Tester_Tester_result.SetName("result"); + SignalCommon_Tester_Tester_Tester_result.SetVisibility(VisibilityKind.public_); + + SignalCommon_Tester_Tester_Tester_result.SetType(SignalCommon_Tester); + SignalCommon_Tester_Tester_Tester_result.SetDirection(ParameterDirectionKind.return_); + SignalCommon_Tester_Tester_Tester.AddOwnedParameter(SignalCommon_Tester_Tester_Tester_result); + SignalCommon_Tester_Tester_Tester.ApplyStereotype(uml.standardprofile.StandardProfileModel.Instance().Stereotype_Create); + SignalCommon_Tester.AddOwnedOperation(SignalCommon_Tester_Tester_Tester); + // Reception Start + SignalCommon_Tester_Start.SetName("Start"); + SignalCommon_Tester_Start.SetVisibility(VisibilityKind.public_); + SignalCommon_Tester_Start.SetSignal(SignalCommon_Start); + SignalCommon_Tester.AddOwnedReception(SignalCommon_Tester_Start); + SignalCommon.AddPackagedElement(SignalCommon_Tester); + // Association R + SignalCommon_R.SetName("R"); + SignalCommon_R.SetVisibility(VisibilityKind.public_); + SignalCommon_R.AddOwnedEnd(SignalCommon_R_x); + SignalCommon_R.AddOwnedEnd(SignalCommon_R_y); + SignalCommon.AddPackagedElement(SignalCommon_R); + // Signal S + SignalCommon_S.SetName("S"); + SignalCommon_S.SetVisibility(VisibilityKind.public_); + + // Property value + SignalCommon_S_value.SetName("value"); + SignalCommon_S_value.SetVisibility(VisibilityKind.public_); + + SignalCommon_S_value.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + SignalCommon_S.AddOwnedAttribute(SignalCommon_S_value); + SignalCommon.AddPackagedElement(SignalCommon_S); + // Signal Start + SignalCommon_Start.SetName("Start"); + SignalCommon_Start.SetVisibility(VisibilityKind.public_); + + // Property testCase + SignalCommon_Start_testCase.SetName("testCase"); + SignalCommon_Start_testCase.SetVisibility(VisibilityKind.public_); + + SignalCommon_Start_testCase.SetType(SignalCommon_TestCase); + SignalCommon_Start.AddOwnedAttribute(SignalCommon_Start_testCase); + SignalCommon.AddPackagedElement(SignalCommon_Start); + // SignalEvent ContinueEvent + SignalCommon_ContinueEvent.SetName("ContinueEvent"); + SignalCommon_ContinueEvent.SetVisibility(VisibilityKind.public_); + SignalCommon_ContinueEvent.SetSignal(SignalCommon_Continue); + SignalCommon.AddPackagedElement(SignalCommon_ContinueEvent); + // Class I + SignalCommon_I.SetName("I"); + SignalCommon_I.SetVisibility(VisibilityKind.public_); + SignalCommon.AddPackagedElement(SignalCommon_I); + // Signal Continue + SignalCommon_Continue.SetName("Continue"); + SignalCommon_Continue.SetVisibility(VisibilityKind.public_); + SignalCommon.AddPackagedElement(SignalCommon_Continue); + // SignalEvent SEvent + SignalCommon_SEvent.SetName("SEvent"); + SignalCommon_SEvent.SetVisibility(VisibilityKind.public_); + SignalCommon_SEvent.SetSignal(SignalCommon_S); + SignalCommon.AddPackagedElement(SignalCommon_SEvent); + // Class TestCase + SignalCommon_TestCase.SetName("TestCase"); + SignalCommon_TestCase.SetVisibility(VisibilityKind.public_); + + SignalCommon_TestCase.SetIsAbstract(true); + + + // Operation test + SignalCommon_TestCase_test.SetName("test"); + SignalCommon_TestCase_test.SetVisibility(VisibilityKind.public_); + SignalCommon_TestCase_test.SetIsAbstract(true); + SignalCommon_TestCase.AddOwnedOperation(SignalCommon_TestCase_test); + SignalCommon.AddPackagedElement(SignalCommon_TestCase); + } + + /* Start of user code : User-defined members + * This section may be used for user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } // SignalCommonModel +} diff --git a/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/07_Signal_Assembly/.gitignore b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/07_Signal_Assembly/.gitignore new file mode 100644 index 0000000..1736844 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/07_Signal_Assembly/.gitignore @@ -0,0 +1,3 @@ +/.vs/ +/bin/ +/obj/ diff --git a/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/07_Signal_Assembly/Signal_Assembly.csproj b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/07_Signal_Assembly/Signal_Assembly.csproj new file mode 100644 index 0000000..a2137ed --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/07_Signal_Assembly/Signal_Assembly.csproj @@ -0,0 +1,50 @@ + + + + Exe + net6.0 + enable + enable + + + + Signal_Assembly.Debug + + + Signal_Assembly.Release + + + + + ..\..\..\..\uml\bin\Debug\net6.0\uml.Debug.dll + + + + + ..\..\..\..\uml\bin\Release\net6.0\uml.Release.dll + + + + + + ..\..\..\..\fuml\bin\Debug\net6.0\fuml.Debug.dll + + + + + ..\..\..\..\fuml\bin\Release\net6.0\fuml.Release.dll + + + + + + ..\..\..\..\pscs\bin\Debug\net6.0\pscs.Debug.dll + + + + + ..\..\..\..\pscs\bin\Release\net6.0\pscs.Release.dll + + + + diff --git a/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/07_Signal_Assembly/Signal_Assembly.sln b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/07_Signal_Assembly/Signal_Assembly.sln new file mode 100644 index 0000000..0dde795 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/07_Signal_Assembly/Signal_Assembly.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.32112.339 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Signal_Assembly", "Signal_Assembly.csproj", "{EEBF5EB6-6F7D-4747-B300-6DD999F75E90}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {EEBF5EB6-6F7D-4747-B300-6DD999F75E90}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {EEBF5EB6-6F7D-4747-B300-6DD999F75E90}.Debug|Any CPU.Build.0 = Debug|Any CPU + {EEBF5EB6-6F7D-4747-B300-6DD999F75E90}.Release|Any CPU.ActiveCfg = Release|Any CPU + {EEBF5EB6-6F7D-4747-B300-6DD999F75E90}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {18450CB3-97F8-4F56-B194-FB233D3136D6} + EndGlobalSection +EndGlobal diff --git a/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/07_Signal_Assembly/model/Signal_Assembly.di b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/07_Signal_Assembly/model/Signal_Assembly.di new file mode 100644 index 0000000..bf9abab --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/07_Signal_Assembly/model/Signal_Assembly.di @@ -0,0 +1,2 @@ + + diff --git a/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/07_Signal_Assembly/model/Signal_Assembly.notation b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/07_Signal_Assembly/model/Signal_Assembly.notation new file mode 100644 index 0000000..0ec22b6 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/07_Signal_Assembly/model/Signal_Assembly.notation @@ -0,0 +1,1274 @@ + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/07_Signal_Assembly/model/Signal_Assembly.uml b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/07_Signal_Assembly/model/Signal_Assembly.uml new file mode 100644 index 0000000..c03decc --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/07_Signal_Assembly/model/Signal_Assembly.uml @@ -0,0 +1,332 @@ + + + + + This test case addresses sending of a signal on a Port. + + + Passing: true + + + + + + + + + + + + + + + + + + C# + Using + Console.WriteLine("Asserting a.v == 4"); + + // Test parameter v + int v = ((IntegerValue)inputParameters.ElementAt(0).values.ElementAt(0)).value; + Debug.Println("[doBody] argument v = " + v); + + Console.WriteLine("a.v == " + v); + Console.Write("Signal correctly sent and received: "); + + if(v == 4) + { + Console.ForegroundColor = ConsoleColor.Green; + Console.WriteLine("Assertion successful."); + } + else + { + Console.ForegroundColor = ConsoleColor.Red; + Console.WriteLine("Assertion failed!"); + } + + Console.ResetColor(); + using fuml.semantics.simpleclassifiers; + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/07_Signal_Assembly/src/Signal_Assembly.cs b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/07_Signal_Assembly/src/Signal_Assembly.cs new file mode 100644 index 0000000..765fbf3 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/07_Signal_Assembly/src/Signal_Assembly.cs @@ -0,0 +1,31 @@ +namespace Signal_Assembly +{ + internal class Signal_Assembly + { + static void PrintUsage() + { + Console.WriteLine( + "=============================================================================================\n" + + "USAGE: [ <...>]\n" + + "=============================================================================================\n" + ); + } + + static int Main(string[] args) + { + if(args.Length == 0) + { + Console.WriteLine("[ERROR] Must declare at least one behavior name.\n"); + PrintUsage(); + return -1; + } + + foreach (string arg in args) + { + Signal_AssemblyEnvironment.Instance().Execute(arg); + } + + return 0; + } + } +} diff --git a/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/07_Signal_Assembly/src/Signal_AssemblyEnvironment.cs b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/07_Signal_Assembly/src/Signal_AssemblyEnvironment.cs new file mode 100644 index 0000000..55f0b86 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/07_Signal_Assembly/src/Signal_AssemblyEnvironment.cs @@ -0,0 +1,93 @@ +/* + * Signal_AssemblyEnvironment.cs + * + * Auto-generated file + */ + +/* Start of user code : User-defined using directives + * This section may be used for using directives. + * It will not be overwritten by future generation processes. + */ + +/* + * End of user code + */ + +namespace Signal_Assembly +{ + public class Signal_AssemblyEnvironment : pscs.environment.Environment + { + private static Signal_AssemblyEnvironment? instance; + + public static Signal_AssemblyEnvironment Instance() + { + if(instance is null) + { + instance = new(); + instance.inMemoryModel = Signal_AssemblyModel.Instance(); + } + + return instance; + } + + public Signal_AssemblyEnvironment() + { + /* + * Create custom opaque behavior execution instances and add them to the execution environment. + */ + AddPrimitiveBehaviorPrototype(new testVExecution()); + + /* Start of user code : Additional environment initializations + * This section may be used to do any additional environment initialization, + * for example initializing user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } + + public override void Execute(string behaviorName) + { + /* Start of user code : Context and inputs initializations + * This section may be used to initialize the execution context + * as well as input parameter values if required. + * It will not be overwritten by future generation processes. + */ + + //context = ...; + //inputs = ...; + + /* + * End of user code + */ + + /* + * Start execution via base class call + */ + base.Execute(behaviorName); + + /* Start of user code : Outputs evaluation + * This section may be used to evaluate output parameter values if required. + * It will not be overwritten by future generation processes. + */ + + //List theOutputs = outputs; + //... + + /* + * End of user code + */ + } + + /* Start of user code : User-defined members + * This section may be used for user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } // Signal_AssemblyEnvironment +} diff --git a/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/07_Signal_Assembly/src/Signal_AssemblyModel.cs b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/07_Signal_Assembly/src/Signal_AssemblyModel.cs new file mode 100644 index 0000000..f4ed75d --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/07_Signal_Assembly/src/Signal_AssemblyModel.cs @@ -0,0 +1,1169 @@ +/* + * Signal_AssemblyModel.cs + * + * Auto-generated file + */ + +using uml.actions; +using uml.packages; +using uml.structuredclassifiers; +using fuml.primitivetypes; +using uml.classification; +using fuml.library; +using uml.simpleclassifiers; +using uml.commonbehavior; +using uml.commonstructure; +using uml.values; +using uml.activities; +using uml.environment; + + +/* Start of user code : User-defined includes and forward declarations + * This section may be used for includes and forward declarations. + * It will not be overwritten by future generation processes. + */ + +/* + * End of user code + */ + +namespace Signal_Assembly +{ + public class Signal_AssemblyModel : InMemoryModel + { + private static Signal_AssemblyModel? instance; + + /* + * Model Signal_Assembly + */ + public Package Signal_Assembly = new(); + public SignalEvent Signal_Assembly_StartEvent = new(); + public Signal Signal_Assembly_Start = new(); + public Property Signal_Assembly_Start_testCase = new(); + public Association Signal_Assembly_R = new(); + public Property Signal_Assembly_R_x = new(); + public Property Signal_Assembly_R_y = new(); + public Class_ Signal_Assembly_I = new(); + public SignalEvent Signal_Assembly_ContinueEvent = new(); + public Class_ Signal_Assembly_TestCaseAssembly = new(); + public Property Signal_Assembly_TestCaseAssembly_a = new(); + public Property Signal_Assembly_TestCaseAssembly_tester = new(); + public Operation Signal_Assembly_TestCaseAssembly_TestCaseAssembly_TestCaseAssembly = new(); + public Parameter Signal_Assembly_TestCaseAssembly_TestCaseAssembly_TestCaseAssembly_result = new(); + public Connector Signal_Assembly_TestCaseAssembly_r = new(); + public ConnectorEnd Signal_Assembly_TestCaseAssembly_r_ConnectorEnd0 = new(); + public ConnectorEnd Signal_Assembly_TestCaseAssembly_r_ConnectorEnd1 = new(); + public Activity Signal_Assembly_TestCaseAssembly_testActivity = new(); + public OpaqueBehavior Signal_Assembly_TestCaseAssembly_testActivity_testV = new(); + public Parameter Signal_Assembly_TestCaseAssembly_testActivity_testV_v = new(); + public ObjectFlow Signal_Assembly_TestCaseAssembly_testActivity_ObjectFlow2 = new(); + public LiteralInteger Signal_Assembly_TestCaseAssembly_testActivity_ObjectFlow2_LiteralInteger3 = new(); + public LiteralBoolean Signal_Assembly_TestCaseAssembly_testActivity_ObjectFlow2_LiteralBoolean4 = new(); + public ObjectFlow Signal_Assembly_TestCaseAssembly_testActivity_ObjectFlow5 = new(); + public LiteralInteger Signal_Assembly_TestCaseAssembly_testActivity_ObjectFlow5_LiteralInteger6 = new(); + public LiteralBoolean Signal_Assembly_TestCaseAssembly_testActivity_ObjectFlow5_LiteralBoolean7 = new(); + public ReadStructuralFeatureAction Signal_Assembly_TestCaseAssembly_testActivity_Read_this_a = new(); + public OutputPin Signal_Assembly_TestCaseAssembly_testActivity_Read_this_a_result = new(); + public LiteralInteger Signal_Assembly_TestCaseAssembly_testActivity_Read_this_a_result_LiteralInteger8 = new(); + public LiteralUnlimitedNatural Signal_Assembly_TestCaseAssembly_testActivity_Read_this_a_result_LiteralUnlimitedNatural9 = new(); + public InputPin Signal_Assembly_TestCaseAssembly_testActivity_Read_this_a_object = new(); + public LiteralUnlimitedNatural Signal_Assembly_TestCaseAssembly_testActivity_Read_this_a_object_LiteralUnlimitedNatural10 = new(); + public LiteralInteger Signal_Assembly_TestCaseAssembly_testActivity_Read_this_a_object_LiteralInteger11 = new(); + public ReadStructuralFeatureAction Signal_Assembly_TestCaseAssembly_testActivity_Read_a_v = new(); + public InputPin Signal_Assembly_TestCaseAssembly_testActivity_Read_a_v_object = new(); + public LiteralInteger Signal_Assembly_TestCaseAssembly_testActivity_Read_a_v_object_LiteralInteger12 = new(); + public LiteralUnlimitedNatural Signal_Assembly_TestCaseAssembly_testActivity_Read_a_v_object_LiteralUnlimitedNatural13 = new(); + public OutputPin Signal_Assembly_TestCaseAssembly_testActivity_Read_a_v_result = new(); + public LiteralUnlimitedNatural Signal_Assembly_TestCaseAssembly_testActivity_Read_a_v_result_LiteralUnlimitedNatural14 = new(); + public LiteralInteger Signal_Assembly_TestCaseAssembly_testActivity_Read_a_v_result_LiteralInteger15 = new(); + public ObjectFlow Signal_Assembly_TestCaseAssembly_testActivity_ObjectFlow16 = new(); + public LiteralInteger Signal_Assembly_TestCaseAssembly_testActivity_ObjectFlow16_LiteralInteger17 = new(); + public LiteralBoolean Signal_Assembly_TestCaseAssembly_testActivity_ObjectFlow16_LiteralBoolean18 = new(); + public ReadSelfAction Signal_Assembly_TestCaseAssembly_testActivity_this = new(); + public OutputPin Signal_Assembly_TestCaseAssembly_testActivity_this_result = new(); + public LiteralInteger Signal_Assembly_TestCaseAssembly_testActivity_this_result_LiteralInteger19 = new(); + public LiteralUnlimitedNatural Signal_Assembly_TestCaseAssembly_testActivity_this_result_LiteralUnlimitedNatural20 = new(); + public CallBehaviorAction Signal_Assembly_TestCaseAssembly_testActivity_Call_testV = new(); + public InputPin Signal_Assembly_TestCaseAssembly_testActivity_Call_testV_v = new(); + public LiteralUnlimitedNatural Signal_Assembly_TestCaseAssembly_testActivity_Call_testV_v_LiteralUnlimitedNatural21 = new(); + public LiteralInteger Signal_Assembly_TestCaseAssembly_testActivity_Call_testV_v_LiteralInteger22 = new(); + public LiteralInteger Signal_Assembly_TestCaseAssembly_testActivity_Call_testV_v_LiteralInteger23 = new(); + public Generalization Signal_Assembly_TestCaseAssembly_Generalization24 = new(); + public Operation Signal_Assembly_TestCaseAssembly_test = new(); + public Class_ Signal_Assembly_TestCase = new(); + public Operation Signal_Assembly_TestCase_test = new(); + public Signal Signal_Assembly_S = new(); + public Property Signal_Assembly_S_value = new(); + public Activity Signal_Assembly_main = new(); + public ObjectFlow Signal_Assembly_main_ObjectFlow25 = new(); + public LiteralInteger Signal_Assembly_main_ObjectFlow25_LiteralInteger26 = new(); + public LiteralBoolean Signal_Assembly_main_ObjectFlow25_LiteralBoolean27 = new(); + public ReadStructuralFeatureAction Signal_Assembly_main_Read_TestCaseAssembly_tester = new(); + public InputPin Signal_Assembly_main_Read_TestCaseAssembly_tester_object = new(); + public LiteralUnlimitedNatural Signal_Assembly_main_Read_TestCaseAssembly_tester_object_LiteralUnlimitedNatural28 = new(); + public LiteralInteger Signal_Assembly_main_Read_TestCaseAssembly_tester_object_LiteralInteger29 = new(); + public OutputPin Signal_Assembly_main_Read_TestCaseAssembly_tester_result = new(); + public LiteralUnlimitedNatural Signal_Assembly_main_Read_TestCaseAssembly_tester_result_LiteralUnlimitedNatural30 = new(); + public LiteralInteger Signal_Assembly_main_Read_TestCaseAssembly_tester_result_LiteralInteger31 = new(); + public CreateObjectAction Signal_Assembly_main_Create_TestCaseAssembly = new(); + public OutputPin Signal_Assembly_main_Create_TestCaseAssembly_result = new(); + public LiteralInteger Signal_Assembly_main_Create_TestCaseAssembly_result_LiteralInteger32 = new(); + public LiteralUnlimitedNatural Signal_Assembly_main_Create_TestCaseAssembly_result_LiteralUnlimitedNatural33 = new(); + public ObjectFlow Signal_Assembly_main_ObjectFlow34 = new(); + public LiteralInteger Signal_Assembly_main_ObjectFlow34_LiteralInteger35 = new(); + public LiteralBoolean Signal_Assembly_main_ObjectFlow34_LiteralBoolean36 = new(); + public ObjectFlow Signal_Assembly_main_ObjectFlow37 = new(); + public LiteralInteger Signal_Assembly_main_ObjectFlow37_LiteralInteger38 = new(); + public LiteralBoolean Signal_Assembly_main_ObjectFlow37_LiteralBoolean39 = new(); + public CallOperationAction Signal_Assembly_main_TestCaseAssembly_ = new(); + public InputPin Signal_Assembly_main_TestCaseAssembly__target = new(); + public LiteralInteger Signal_Assembly_main_TestCaseAssembly__target_LiteralInteger40 = new(); + public LiteralUnlimitedNatural Signal_Assembly_main_TestCaseAssembly__target_LiteralUnlimitedNatural41 = new(); + public OutputPin Signal_Assembly_main_TestCaseAssembly__result = new(); + public LiteralUnlimitedNatural Signal_Assembly_main_TestCaseAssembly__result_LiteralUnlimitedNatural42 = new(); + public LiteralInteger Signal_Assembly_main_TestCaseAssembly__result_LiteralInteger43 = new(); + public LiteralInteger Signal_Assembly_main_TestCaseAssembly__result_LiteralInteger44 = new(); + public ForkNode Signal_Assembly_main_Fork_testCase = new(); + public ObjectFlow Signal_Assembly_main_ObjectFlow45 = new(); + public LiteralBoolean Signal_Assembly_main_ObjectFlow45_LiteralBoolean46 = new(); + public LiteralInteger Signal_Assembly_main_ObjectFlow45_LiteralInteger47 = new(); + public ObjectFlow Signal_Assembly_main_ObjectFlow48 = new(); + public LiteralBoolean Signal_Assembly_main_ObjectFlow48_LiteralBoolean49 = new(); + public LiteralInteger Signal_Assembly_main_ObjectFlow48_LiteralInteger50 = new(); + public SendSignalAction Signal_Assembly_main_Send_Start = new(); + public InputPin Signal_Assembly_main_Send_Start_target = new(); + public LiteralUnlimitedNatural Signal_Assembly_main_Send_Start_target_LiteralUnlimitedNatural51 = new(); + public LiteralInteger Signal_Assembly_main_Send_Start_target_LiteralInteger52 = new(); + public InputPin Signal_Assembly_main_Send_Start_testCase = new(); + public LiteralInteger Signal_Assembly_main_Send_Start_testCase_LiteralInteger53 = new(); + public LiteralInteger Signal_Assembly_main_Send_Start_testCase_LiteralInteger54 = new(); + public LiteralUnlimitedNatural Signal_Assembly_main_Send_Start_testCase_LiteralUnlimitedNatural55 = new(); + public Class_ Signal_Assembly_Tester = new(); + public Reception Signal_Assembly_Tester_Start = new(); + public Activity Signal_Assembly_Tester_TesterClassifierBehavior = new(); + public ObjectFlow Signal_Assembly_Tester_TesterClassifierBehavior_ObjectFlow56 = new(); + public LiteralInteger Signal_Assembly_Tester_TesterClassifierBehavior_ObjectFlow56_LiteralInteger57 = new(); + public LiteralBoolean Signal_Assembly_Tester_TesterClassifierBehavior_ObjectFlow56_LiteralBoolean58 = new(); + public ControlFlow Signal_Assembly_Tester_TesterClassifierBehavior_ControlFlow59 = new(); + public ObjectFlow Signal_Assembly_Tester_TesterClassifierBehavior_ObjectFlow60 = new(); + public LiteralBoolean Signal_Assembly_Tester_TesterClassifierBehavior_ObjectFlow60_LiteralBoolean61 = new(); + public LiteralInteger Signal_Assembly_Tester_TesterClassifierBehavior_ObjectFlow60_LiteralInteger62 = new(); + public ControlFlow Signal_Assembly_Tester_TesterClassifierBehavior_ControlFlow63 = new(); + public CallOperationAction Signal_Assembly_Tester_TesterClassifierBehavior_Call_test_ = new(); + public InputPin Signal_Assembly_Tester_TesterClassifierBehavior_Call_test__target = new(); + public LiteralInteger Signal_Assembly_Tester_TesterClassifierBehavior_Call_test__target_LiteralInteger64 = new(); + public LiteralUnlimitedNatural Signal_Assembly_Tester_TesterClassifierBehavior_Call_test__target_LiteralUnlimitedNatural65 = new(); + public AcceptEventAction Signal_Assembly_Tester_TesterClassifierBehavior_Accept_Start = new(); + public OutputPin Signal_Assembly_Tester_TesterClassifierBehavior_Accept_Start_testCase = new(); + public LiteralInteger Signal_Assembly_Tester_TesterClassifierBehavior_Accept_Start_testCase_LiteralInteger66 = new(); + public LiteralUnlimitedNatural Signal_Assembly_Tester_TesterClassifierBehavior_Accept_Start_testCase_LiteralUnlimitedNatural67 = new(); + public LiteralInteger Signal_Assembly_Tester_TesterClassifierBehavior_Accept_Start_testCase_LiteralInteger68 = new(); + public Trigger Signal_Assembly_Tester_TesterClassifierBehavior_Accept_Start_Trigger69 = new(); + public ControlFlow Signal_Assembly_Tester_TesterClassifierBehavior_ControlFlow70 = new(); + public ValueSpecificationAction Signal_Assembly_Tester_TesterClassifierBehavior_Value_4 = new(); + public OutputPin Signal_Assembly_Tester_TesterClassifierBehavior_Value_4_result = new(); + public LiteralInteger Signal_Assembly_Tester_TesterClassifierBehavior_Value_4_result_LiteralInteger71 = new(); + public LiteralUnlimitedNatural Signal_Assembly_Tester_TesterClassifierBehavior_Value_4_result_LiteralUnlimitedNatural72 = new(); + public LiteralInteger Signal_Assembly_Tester_TesterClassifierBehavior_Value_4_LiteralInteger73 = new(); + public ControlFlow Signal_Assembly_Tester_TesterClassifierBehavior_ControlFlow74 = new(); + public ObjectFlow Signal_Assembly_Tester_TesterClassifierBehavior_ObjectFlow75 = new(); + public LiteralBoolean Signal_Assembly_Tester_TesterClassifierBehavior_ObjectFlow75_LiteralBoolean76 = new(); + public LiteralInteger Signal_Assembly_Tester_TesterClassifierBehavior_ObjectFlow75_LiteralInteger77 = new(); + public ActivityFinalNode Signal_Assembly_Tester_TesterClassifierBehavior_ActivityFinalNode78 = new(); + public AcceptEventAction Signal_Assembly_Tester_TesterClassifierBehavior_Accept_Continue = new(); + public Trigger Signal_Assembly_Tester_TesterClassifierBehavior_Accept_Continue_Trigger79 = new(); + public OutputPin Signal_Assembly_Tester_TesterClassifierBehavior_Accept_Continue_result = new(); + public LiteralUnlimitedNatural Signal_Assembly_Tester_TesterClassifierBehavior_Accept_Continue_result_LiteralUnlimitedNatural80 = new(); + public LiteralInteger Signal_Assembly_Tester_TesterClassifierBehavior_Accept_Continue_result_LiteralInteger81 = new(); + public LiteralInteger Signal_Assembly_Tester_TesterClassifierBehavior_Accept_Continue_result_LiteralInteger82 = new(); + public ReadSelfAction Signal_Assembly_Tester_TesterClassifierBehavior_this = new(); + public OutputPin Signal_Assembly_Tester_TesterClassifierBehavior_this_result = new(); + public LiteralUnlimitedNatural Signal_Assembly_Tester_TesterClassifierBehavior_this_result_LiteralUnlimitedNatural83 = new(); + public LiteralInteger Signal_Assembly_Tester_TesterClassifierBehavior_this_result_LiteralInteger84 = new(); + public SendSignalAction Signal_Assembly_Tester_TesterClassifierBehavior_Send_S = new(); + public InputPin Signal_Assembly_Tester_TesterClassifierBehavior_Send_S_value = new(); + public LiteralInteger Signal_Assembly_Tester_TesterClassifierBehavior_Send_S_value_LiteralInteger85 = new(); + public LiteralInteger Signal_Assembly_Tester_TesterClassifierBehavior_Send_S_value_LiteralInteger86 = new(); + public LiteralUnlimitedNatural Signal_Assembly_Tester_TesterClassifierBehavior_Send_S_value_LiteralUnlimitedNatural87 = new(); + public InputPin Signal_Assembly_Tester_TesterClassifierBehavior_Send_S_target = new(); + public LiteralUnlimitedNatural Signal_Assembly_Tester_TesterClassifierBehavior_Send_S_target_LiteralUnlimitedNatural88 = new(); + public LiteralInteger Signal_Assembly_Tester_TesterClassifierBehavior_Send_S_target_LiteralInteger89 = new(); + public Port Signal_Assembly_Tester_q = new(); + public Operation Signal_Assembly_Tester_Tester_Tester = new(); + public Parameter Signal_Assembly_Tester_Tester_Tester_result = new(); + public Signal Signal_Assembly_Continue = new(); + public SignalEvent Signal_Assembly_SEvent = new(); + public Class_ Signal_Assembly_A = new(); + public Port Signal_Assembly_A_p = new(); + public Activity Signal_Assembly_A_AClassifierBehavior = new(); + public ObjectFlow Signal_Assembly_A_AClassifierBehavior_ObjectFlow90 = new(); + public LiteralInteger Signal_Assembly_A_AClassifierBehavior_ObjectFlow90_LiteralInteger91 = new(); + public LiteralBoolean Signal_Assembly_A_AClassifierBehavior_ObjectFlow90_LiteralBoolean92 = new(); + public ActivityFinalNode Signal_Assembly_A_AClassifierBehavior_ActivityFinalNode93 = new(); + public ObjectFlow Signal_Assembly_A_AClassifierBehavior_ObjectFlow94 = new(); + public LiteralBoolean Signal_Assembly_A_AClassifierBehavior_ObjectFlow94_LiteralBoolean95 = new(); + public LiteralInteger Signal_Assembly_A_AClassifierBehavior_ObjectFlow94_LiteralInteger96 = new(); + public ObjectFlow Signal_Assembly_A_AClassifierBehavior_ObjectFlow97 = new(); + public LiteralBoolean Signal_Assembly_A_AClassifierBehavior_ObjectFlow97_LiteralBoolean98 = new(); + public LiteralInteger Signal_Assembly_A_AClassifierBehavior_ObjectFlow97_LiteralInteger99 = new(); + public ControlFlow Signal_Assembly_A_AClassifierBehavior_ControlFlow100 = new(); + public AddStructuralFeatureValueAction Signal_Assembly_A_AClassifierBehavior_Set_v = new(); + public OutputPin Signal_Assembly_A_AClassifierBehavior_Set_v_result = new(); + public LiteralInteger Signal_Assembly_A_AClassifierBehavior_Set_v_result_LiteralInteger101 = new(); + public LiteralUnlimitedNatural Signal_Assembly_A_AClassifierBehavior_Set_v_result_LiteralUnlimitedNatural102 = new(); + public InputPin Signal_Assembly_A_AClassifierBehavior_Set_v_object = new(); + public LiteralInteger Signal_Assembly_A_AClassifierBehavior_Set_v_object_LiteralInteger103 = new(); + public LiteralUnlimitedNatural Signal_Assembly_A_AClassifierBehavior_Set_v_object_LiteralUnlimitedNatural104 = new(); + public InputPin Signal_Assembly_A_AClassifierBehavior_Set_v_value = new(); + public LiteralInteger Signal_Assembly_A_AClassifierBehavior_Set_v_value_LiteralInteger105 = new(); + public LiteralUnlimitedNatural Signal_Assembly_A_AClassifierBehavior_Set_v_value_LiteralUnlimitedNatural106 = new(); + public ControlFlow Signal_Assembly_A_AClassifierBehavior_ControlFlow107 = new(); + public ReadSelfAction Signal_Assembly_A_AClassifierBehavior_this = new(); + public OutputPin Signal_Assembly_A_AClassifierBehavior_this_result = new(); + public LiteralUnlimitedNatural Signal_Assembly_A_AClassifierBehavior_this_result_LiteralUnlimitedNatural108 = new(); + public LiteralInteger Signal_Assembly_A_AClassifierBehavior_this_result_LiteralInteger109 = new(); + public AcceptEventAction Signal_Assembly_A_AClassifierBehavior_Accept_S = new(); + public Trigger Signal_Assembly_A_AClassifierBehavior_Accept_S_Trigger110 = new(); + public OutputPin Signal_Assembly_A_AClassifierBehavior_Accept_S_value = new(); + public LiteralInteger Signal_Assembly_A_AClassifierBehavior_Accept_S_value_LiteralInteger111 = new(); + public LiteralUnlimitedNatural Signal_Assembly_A_AClassifierBehavior_Accept_S_value_LiteralUnlimitedNatural112 = new(); + public LiteralInteger Signal_Assembly_A_AClassifierBehavior_Accept_S_value_LiteralInteger113 = new(); + public SendSignalAction Signal_Assembly_A_AClassifierBehavior_Send_Continue = new(); + public InputPin Signal_Assembly_A_AClassifierBehavior_Send_Continue_target = new(); + public LiteralUnlimitedNatural Signal_Assembly_A_AClassifierBehavior_Send_Continue_target_LiteralUnlimitedNatural114 = new(); + public LiteralInteger Signal_Assembly_A_AClassifierBehavior_Send_Continue_target_LiteralInteger115 = new(); + public Property Signal_Assembly_A_v = new(); + public Operation Signal_Assembly_A_A_A = new(); + public Parameter Signal_Assembly_A_A_A_result = new(); + + public static Signal_AssemblyModel Instance() + { + if (instance is null) + { + instance = new(); + instance.InitializeInMemoryModel(); + } + + return instance; + } + + public Signal_AssemblyModel() + { + /* Start of user code : Additional model initializations + * This section may be used to do any additional model initialization, + * for example initializing user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } + + private void InitializeInMemoryModel() + { + // Create public members + /* + * Model Signal_Assembly + */ + AddToElementRepository("Signal_Assembly", Signal_Assembly); + AddToElementRepository("StartEvent", Signal_Assembly_StartEvent); + AddToElementRepository("Start", Signal_Assembly_Start); + AddToElementRepository("testCase", Signal_Assembly_Start_testCase); + AddToElementRepository("R", Signal_Assembly_R); + AddToElementRepository("x", Signal_Assembly_R_x); + AddToElementRepository("y", Signal_Assembly_R_y); + AddToElementRepository("I", Signal_Assembly_I); + AddToElementRepository("ContinueEvent", Signal_Assembly_ContinueEvent); + AddToElementRepository("TestCaseAssembly", Signal_Assembly_TestCaseAssembly); + AddToElementRepository("a", Signal_Assembly_TestCaseAssembly_a); + AddToElementRepository("tester", Signal_Assembly_TestCaseAssembly_tester); + AddToElementRepository("TestCaseAssembly_TestCaseAssembly", Signal_Assembly_TestCaseAssembly_TestCaseAssembly_TestCaseAssembly); + AddToElementRepository("result", Signal_Assembly_TestCaseAssembly_TestCaseAssembly_TestCaseAssembly_result); + AddToElementRepository("r", Signal_Assembly_TestCaseAssembly_r); + AddToElementRepository("ConnectorEnd0", Signal_Assembly_TestCaseAssembly_r_ConnectorEnd0); + AddToElementRepository("ConnectorEnd1", Signal_Assembly_TestCaseAssembly_r_ConnectorEnd1); + AddToElementRepository("testActivity", Signal_Assembly_TestCaseAssembly_testActivity); + AddToElementRepository("testV", Signal_Assembly_TestCaseAssembly_testActivity_testV); + AddToElementRepository("v", Signal_Assembly_TestCaseAssembly_testActivity_testV_v); + AddToElementRepository("ObjectFlow2", Signal_Assembly_TestCaseAssembly_testActivity_ObjectFlow2); + AddToElementRepository("LiteralInteger3", Signal_Assembly_TestCaseAssembly_testActivity_ObjectFlow2_LiteralInteger3); + AddToElementRepository("LiteralBoolean4", Signal_Assembly_TestCaseAssembly_testActivity_ObjectFlow2_LiteralBoolean4); + AddToElementRepository("ObjectFlow5", Signal_Assembly_TestCaseAssembly_testActivity_ObjectFlow5); + AddToElementRepository("LiteralInteger6", Signal_Assembly_TestCaseAssembly_testActivity_ObjectFlow5_LiteralInteger6); + AddToElementRepository("LiteralBoolean7", Signal_Assembly_TestCaseAssembly_testActivity_ObjectFlow5_LiteralBoolean7); + AddToElementRepository("Read this.a", Signal_Assembly_TestCaseAssembly_testActivity_Read_this_a); + AddToElementRepository("result", Signal_Assembly_TestCaseAssembly_testActivity_Read_this_a_result); + AddToElementRepository("LiteralInteger8", Signal_Assembly_TestCaseAssembly_testActivity_Read_this_a_result_LiteralInteger8); + AddToElementRepository("LiteralUnlimitedNatural9", Signal_Assembly_TestCaseAssembly_testActivity_Read_this_a_result_LiteralUnlimitedNatural9); + AddToElementRepository("object", Signal_Assembly_TestCaseAssembly_testActivity_Read_this_a_object); + AddToElementRepository("LiteralUnlimitedNatural10", Signal_Assembly_TestCaseAssembly_testActivity_Read_this_a_object_LiteralUnlimitedNatural10); + AddToElementRepository("LiteralInteger11", Signal_Assembly_TestCaseAssembly_testActivity_Read_this_a_object_LiteralInteger11); + AddToElementRepository("Read a.v", Signal_Assembly_TestCaseAssembly_testActivity_Read_a_v); + AddToElementRepository("object", Signal_Assembly_TestCaseAssembly_testActivity_Read_a_v_object); + AddToElementRepository("LiteralInteger12", Signal_Assembly_TestCaseAssembly_testActivity_Read_a_v_object_LiteralInteger12); + AddToElementRepository("LiteralUnlimitedNatural13", Signal_Assembly_TestCaseAssembly_testActivity_Read_a_v_object_LiteralUnlimitedNatural13); + AddToElementRepository("result", Signal_Assembly_TestCaseAssembly_testActivity_Read_a_v_result); + AddToElementRepository("LiteralUnlimitedNatural14", Signal_Assembly_TestCaseAssembly_testActivity_Read_a_v_result_LiteralUnlimitedNatural14); + AddToElementRepository("LiteralInteger15", Signal_Assembly_TestCaseAssembly_testActivity_Read_a_v_result_LiteralInteger15); + AddToElementRepository("ObjectFlow16", Signal_Assembly_TestCaseAssembly_testActivity_ObjectFlow16); + AddToElementRepository("LiteralInteger17", Signal_Assembly_TestCaseAssembly_testActivity_ObjectFlow16_LiteralInteger17); + AddToElementRepository("LiteralBoolean18", Signal_Assembly_TestCaseAssembly_testActivity_ObjectFlow16_LiteralBoolean18); + AddToElementRepository("this", Signal_Assembly_TestCaseAssembly_testActivity_this); + AddToElementRepository("result", Signal_Assembly_TestCaseAssembly_testActivity_this_result); + AddToElementRepository("LiteralInteger19", Signal_Assembly_TestCaseAssembly_testActivity_this_result_LiteralInteger19); + AddToElementRepository("LiteralUnlimitedNatural20", Signal_Assembly_TestCaseAssembly_testActivity_this_result_LiteralUnlimitedNatural20); + AddToElementRepository("Call testV", Signal_Assembly_TestCaseAssembly_testActivity_Call_testV); + AddToElementRepository("v", Signal_Assembly_TestCaseAssembly_testActivity_Call_testV_v); + AddToElementRepository("LiteralUnlimitedNatural21", Signal_Assembly_TestCaseAssembly_testActivity_Call_testV_v_LiteralUnlimitedNatural21); + AddToElementRepository("LiteralInteger22", Signal_Assembly_TestCaseAssembly_testActivity_Call_testV_v_LiteralInteger22); + AddToElementRepository("LiteralInteger23", Signal_Assembly_TestCaseAssembly_testActivity_Call_testV_v_LiteralInteger23); + AddToElementRepository("Generalization24", Signal_Assembly_TestCaseAssembly_Generalization24); + AddToElementRepository("test", Signal_Assembly_TestCaseAssembly_test); + AddToElementRepository("TestCase", Signal_Assembly_TestCase); + AddToElementRepository("test", Signal_Assembly_TestCase_test); + AddToElementRepository("S", Signal_Assembly_S); + AddToElementRepository("value", Signal_Assembly_S_value); + AddToElementRepository("main", Signal_Assembly_main); + AddToElementRepository("ObjectFlow25", Signal_Assembly_main_ObjectFlow25); + AddToElementRepository("LiteralInteger26", Signal_Assembly_main_ObjectFlow25_LiteralInteger26); + AddToElementRepository("LiteralBoolean27", Signal_Assembly_main_ObjectFlow25_LiteralBoolean27); + AddToElementRepository("Read TestCaseAssembly.tester", Signal_Assembly_main_Read_TestCaseAssembly_tester); + AddToElementRepository("object", Signal_Assembly_main_Read_TestCaseAssembly_tester_object); + AddToElementRepository("LiteralUnlimitedNatural28", Signal_Assembly_main_Read_TestCaseAssembly_tester_object_LiteralUnlimitedNatural28); + AddToElementRepository("LiteralInteger29", Signal_Assembly_main_Read_TestCaseAssembly_tester_object_LiteralInteger29); + AddToElementRepository("result", Signal_Assembly_main_Read_TestCaseAssembly_tester_result); + AddToElementRepository("LiteralUnlimitedNatural30", Signal_Assembly_main_Read_TestCaseAssembly_tester_result_LiteralUnlimitedNatural30); + AddToElementRepository("LiteralInteger31", Signal_Assembly_main_Read_TestCaseAssembly_tester_result_LiteralInteger31); + AddToElementRepository("Create TestCaseAssembly", Signal_Assembly_main_Create_TestCaseAssembly); + AddToElementRepository("result", Signal_Assembly_main_Create_TestCaseAssembly_result); + AddToElementRepository("LiteralInteger32", Signal_Assembly_main_Create_TestCaseAssembly_result_LiteralInteger32); + AddToElementRepository("LiteralUnlimitedNatural33", Signal_Assembly_main_Create_TestCaseAssembly_result_LiteralUnlimitedNatural33); + AddToElementRepository("ObjectFlow34", Signal_Assembly_main_ObjectFlow34); + AddToElementRepository("LiteralInteger35", Signal_Assembly_main_ObjectFlow34_LiteralInteger35); + AddToElementRepository("LiteralBoolean36", Signal_Assembly_main_ObjectFlow34_LiteralBoolean36); + AddToElementRepository("ObjectFlow37", Signal_Assembly_main_ObjectFlow37); + AddToElementRepository("LiteralInteger38", Signal_Assembly_main_ObjectFlow37_LiteralInteger38); + AddToElementRepository("LiteralBoolean39", Signal_Assembly_main_ObjectFlow37_LiteralBoolean39); + AddToElementRepository("TestCaseAssembly()", Signal_Assembly_main_TestCaseAssembly_); + AddToElementRepository("target", Signal_Assembly_main_TestCaseAssembly__target); + AddToElementRepository("LiteralInteger40", Signal_Assembly_main_TestCaseAssembly__target_LiteralInteger40); + AddToElementRepository("LiteralUnlimitedNatural41", Signal_Assembly_main_TestCaseAssembly__target_LiteralUnlimitedNatural41); + AddToElementRepository("result", Signal_Assembly_main_TestCaseAssembly__result); + AddToElementRepository("LiteralUnlimitedNatural42", Signal_Assembly_main_TestCaseAssembly__result_LiteralUnlimitedNatural42); + AddToElementRepository("LiteralInteger43", Signal_Assembly_main_TestCaseAssembly__result_LiteralInteger43); + AddToElementRepository("LiteralInteger44", Signal_Assembly_main_TestCaseAssembly__result_LiteralInteger44); + AddToElementRepository("Fork testCase", Signal_Assembly_main_Fork_testCase); + AddToElementRepository("ObjectFlow45", Signal_Assembly_main_ObjectFlow45); + AddToElementRepository("LiteralBoolean46", Signal_Assembly_main_ObjectFlow45_LiteralBoolean46); + AddToElementRepository("LiteralInteger47", Signal_Assembly_main_ObjectFlow45_LiteralInteger47); + AddToElementRepository("ObjectFlow48", Signal_Assembly_main_ObjectFlow48); + AddToElementRepository("LiteralBoolean49", Signal_Assembly_main_ObjectFlow48_LiteralBoolean49); + AddToElementRepository("LiteralInteger50", Signal_Assembly_main_ObjectFlow48_LiteralInteger50); + AddToElementRepository("Send Start", Signal_Assembly_main_Send_Start); + AddToElementRepository("target", Signal_Assembly_main_Send_Start_target); + AddToElementRepository("LiteralUnlimitedNatural51", Signal_Assembly_main_Send_Start_target_LiteralUnlimitedNatural51); + AddToElementRepository("LiteralInteger52", Signal_Assembly_main_Send_Start_target_LiteralInteger52); + AddToElementRepository("testCase", Signal_Assembly_main_Send_Start_testCase); + AddToElementRepository("LiteralInteger53", Signal_Assembly_main_Send_Start_testCase_LiteralInteger53); + AddToElementRepository("LiteralInteger54", Signal_Assembly_main_Send_Start_testCase_LiteralInteger54); + AddToElementRepository("LiteralUnlimitedNatural55", Signal_Assembly_main_Send_Start_testCase_LiteralUnlimitedNatural55); + AddToElementRepository("Tester", Signal_Assembly_Tester); + AddToElementRepository("Start", Signal_Assembly_Tester_Start); + AddToElementRepository("TesterClassifierBehavior", Signal_Assembly_Tester_TesterClassifierBehavior); + AddToElementRepository("ObjectFlow56", Signal_Assembly_Tester_TesterClassifierBehavior_ObjectFlow56); + AddToElementRepository("LiteralInteger57", Signal_Assembly_Tester_TesterClassifierBehavior_ObjectFlow56_LiteralInteger57); + AddToElementRepository("LiteralBoolean58", Signal_Assembly_Tester_TesterClassifierBehavior_ObjectFlow56_LiteralBoolean58); + AddToElementRepository("ControlFlow59", Signal_Assembly_Tester_TesterClassifierBehavior_ControlFlow59); + AddToElementRepository("ObjectFlow60", Signal_Assembly_Tester_TesterClassifierBehavior_ObjectFlow60); + AddToElementRepository("LiteralBoolean61", Signal_Assembly_Tester_TesterClassifierBehavior_ObjectFlow60_LiteralBoolean61); + AddToElementRepository("LiteralInteger62", Signal_Assembly_Tester_TesterClassifierBehavior_ObjectFlow60_LiteralInteger62); + AddToElementRepository("ControlFlow63", Signal_Assembly_Tester_TesterClassifierBehavior_ControlFlow63); + AddToElementRepository("Call test()", Signal_Assembly_Tester_TesterClassifierBehavior_Call_test_); + AddToElementRepository("target", Signal_Assembly_Tester_TesterClassifierBehavior_Call_test__target); + AddToElementRepository("LiteralInteger64", Signal_Assembly_Tester_TesterClassifierBehavior_Call_test__target_LiteralInteger64); + AddToElementRepository("LiteralUnlimitedNatural65", Signal_Assembly_Tester_TesterClassifierBehavior_Call_test__target_LiteralUnlimitedNatural65); + AddToElementRepository("Accept Start", Signal_Assembly_Tester_TesterClassifierBehavior_Accept_Start); + AddToElementRepository("testCase", Signal_Assembly_Tester_TesterClassifierBehavior_Accept_Start_testCase); + AddToElementRepository("LiteralInteger66", Signal_Assembly_Tester_TesterClassifierBehavior_Accept_Start_testCase_LiteralInteger66); + AddToElementRepository("LiteralUnlimitedNatural67", Signal_Assembly_Tester_TesterClassifierBehavior_Accept_Start_testCase_LiteralUnlimitedNatural67); + AddToElementRepository("LiteralInteger68", Signal_Assembly_Tester_TesterClassifierBehavior_Accept_Start_testCase_LiteralInteger68); + AddToElementRepository("Trigger69", Signal_Assembly_Tester_TesterClassifierBehavior_Accept_Start_Trigger69); + AddToElementRepository("ControlFlow70", Signal_Assembly_Tester_TesterClassifierBehavior_ControlFlow70); + AddToElementRepository("Value(4)", Signal_Assembly_Tester_TesterClassifierBehavior_Value_4); + AddToElementRepository("result", Signal_Assembly_Tester_TesterClassifierBehavior_Value_4_result); + AddToElementRepository("LiteralInteger71", Signal_Assembly_Tester_TesterClassifierBehavior_Value_4_result_LiteralInteger71); + AddToElementRepository("LiteralUnlimitedNatural72", Signal_Assembly_Tester_TesterClassifierBehavior_Value_4_result_LiteralUnlimitedNatural72); + AddToElementRepository("LiteralInteger73", Signal_Assembly_Tester_TesterClassifierBehavior_Value_4_LiteralInteger73); + AddToElementRepository("ControlFlow74", Signal_Assembly_Tester_TesterClassifierBehavior_ControlFlow74); + AddToElementRepository("ObjectFlow75", Signal_Assembly_Tester_TesterClassifierBehavior_ObjectFlow75); + AddToElementRepository("LiteralBoolean76", Signal_Assembly_Tester_TesterClassifierBehavior_ObjectFlow75_LiteralBoolean76); + AddToElementRepository("LiteralInteger77", Signal_Assembly_Tester_TesterClassifierBehavior_ObjectFlow75_LiteralInteger77); + AddToElementRepository("ActivityFinalNode78", Signal_Assembly_Tester_TesterClassifierBehavior_ActivityFinalNode78); + AddToElementRepository("Accept Continue", Signal_Assembly_Tester_TesterClassifierBehavior_Accept_Continue); + AddToElementRepository("Trigger79", Signal_Assembly_Tester_TesterClassifierBehavior_Accept_Continue_Trigger79); + AddToElementRepository("result", Signal_Assembly_Tester_TesterClassifierBehavior_Accept_Continue_result); + AddToElementRepository("LiteralUnlimitedNatural80", Signal_Assembly_Tester_TesterClassifierBehavior_Accept_Continue_result_LiteralUnlimitedNatural80); + AddToElementRepository("LiteralInteger81", Signal_Assembly_Tester_TesterClassifierBehavior_Accept_Continue_result_LiteralInteger81); + AddToElementRepository("LiteralInteger82", Signal_Assembly_Tester_TesterClassifierBehavior_Accept_Continue_result_LiteralInteger82); + AddToElementRepository("this", Signal_Assembly_Tester_TesterClassifierBehavior_this); + AddToElementRepository("result", Signal_Assembly_Tester_TesterClassifierBehavior_this_result); + AddToElementRepository("LiteralUnlimitedNatural83", Signal_Assembly_Tester_TesterClassifierBehavior_this_result_LiteralUnlimitedNatural83); + AddToElementRepository("LiteralInteger84", Signal_Assembly_Tester_TesterClassifierBehavior_this_result_LiteralInteger84); + AddToElementRepository("Send S", Signal_Assembly_Tester_TesterClassifierBehavior_Send_S); + AddToElementRepository("value", Signal_Assembly_Tester_TesterClassifierBehavior_Send_S_value); + AddToElementRepository("LiteralInteger85", Signal_Assembly_Tester_TesterClassifierBehavior_Send_S_value_LiteralInteger85); + AddToElementRepository("LiteralInteger86", Signal_Assembly_Tester_TesterClassifierBehavior_Send_S_value_LiteralInteger86); + AddToElementRepository("LiteralUnlimitedNatural87", Signal_Assembly_Tester_TesterClassifierBehavior_Send_S_value_LiteralUnlimitedNatural87); + AddToElementRepository("target", Signal_Assembly_Tester_TesterClassifierBehavior_Send_S_target); + AddToElementRepository("LiteralUnlimitedNatural88", Signal_Assembly_Tester_TesterClassifierBehavior_Send_S_target_LiteralUnlimitedNatural88); + AddToElementRepository("LiteralInteger89", Signal_Assembly_Tester_TesterClassifierBehavior_Send_S_target_LiteralInteger89); + AddToElementRepository("q", Signal_Assembly_Tester_q); + AddToElementRepository("Tester_Tester", Signal_Assembly_Tester_Tester_Tester); + AddToElementRepository("result", Signal_Assembly_Tester_Tester_Tester_result); + AddToElementRepository("Continue", Signal_Assembly_Continue); + AddToElementRepository("SEvent", Signal_Assembly_SEvent); + AddToElementRepository("A", Signal_Assembly_A); + AddToElementRepository("p", Signal_Assembly_A_p); + AddToElementRepository("AClassifierBehavior", Signal_Assembly_A_AClassifierBehavior); + AddToElementRepository("ObjectFlow90", Signal_Assembly_A_AClassifierBehavior_ObjectFlow90); + AddToElementRepository("LiteralInteger91", Signal_Assembly_A_AClassifierBehavior_ObjectFlow90_LiteralInteger91); + AddToElementRepository("LiteralBoolean92", Signal_Assembly_A_AClassifierBehavior_ObjectFlow90_LiteralBoolean92); + AddToElementRepository("ActivityFinalNode93", Signal_Assembly_A_AClassifierBehavior_ActivityFinalNode93); + AddToElementRepository("ObjectFlow94", Signal_Assembly_A_AClassifierBehavior_ObjectFlow94); + AddToElementRepository("LiteralBoolean95", Signal_Assembly_A_AClassifierBehavior_ObjectFlow94_LiteralBoolean95); + AddToElementRepository("LiteralInteger96", Signal_Assembly_A_AClassifierBehavior_ObjectFlow94_LiteralInteger96); + AddToElementRepository("ObjectFlow97", Signal_Assembly_A_AClassifierBehavior_ObjectFlow97); + AddToElementRepository("LiteralBoolean98", Signal_Assembly_A_AClassifierBehavior_ObjectFlow97_LiteralBoolean98); + AddToElementRepository("LiteralInteger99", Signal_Assembly_A_AClassifierBehavior_ObjectFlow97_LiteralInteger99); + AddToElementRepository("ControlFlow100", Signal_Assembly_A_AClassifierBehavior_ControlFlow100); + AddToElementRepository("Set v", Signal_Assembly_A_AClassifierBehavior_Set_v); + AddToElementRepository("result", Signal_Assembly_A_AClassifierBehavior_Set_v_result); + AddToElementRepository("LiteralInteger101", Signal_Assembly_A_AClassifierBehavior_Set_v_result_LiteralInteger101); + AddToElementRepository("LiteralUnlimitedNatural102", Signal_Assembly_A_AClassifierBehavior_Set_v_result_LiteralUnlimitedNatural102); + AddToElementRepository("object", Signal_Assembly_A_AClassifierBehavior_Set_v_object); + AddToElementRepository("LiteralInteger103", Signal_Assembly_A_AClassifierBehavior_Set_v_object_LiteralInteger103); + AddToElementRepository("LiteralUnlimitedNatural104", Signal_Assembly_A_AClassifierBehavior_Set_v_object_LiteralUnlimitedNatural104); + AddToElementRepository("value", Signal_Assembly_A_AClassifierBehavior_Set_v_value); + AddToElementRepository("LiteralInteger105", Signal_Assembly_A_AClassifierBehavior_Set_v_value_LiteralInteger105); + AddToElementRepository("LiteralUnlimitedNatural106", Signal_Assembly_A_AClassifierBehavior_Set_v_value_LiteralUnlimitedNatural106); + AddToElementRepository("ControlFlow107", Signal_Assembly_A_AClassifierBehavior_ControlFlow107); + AddToElementRepository("this", Signal_Assembly_A_AClassifierBehavior_this); + AddToElementRepository("result", Signal_Assembly_A_AClassifierBehavior_this_result); + AddToElementRepository("LiteralUnlimitedNatural108", Signal_Assembly_A_AClassifierBehavior_this_result_LiteralUnlimitedNatural108); + AddToElementRepository("LiteralInteger109", Signal_Assembly_A_AClassifierBehavior_this_result_LiteralInteger109); + AddToElementRepository("Accept S", Signal_Assembly_A_AClassifierBehavior_Accept_S); + AddToElementRepository("Trigger110", Signal_Assembly_A_AClassifierBehavior_Accept_S_Trigger110); + AddToElementRepository("value", Signal_Assembly_A_AClassifierBehavior_Accept_S_value); + AddToElementRepository("LiteralInteger111", Signal_Assembly_A_AClassifierBehavior_Accept_S_value_LiteralInteger111); + AddToElementRepository("LiteralUnlimitedNatural112", Signal_Assembly_A_AClassifierBehavior_Accept_S_value_LiteralUnlimitedNatural112); + AddToElementRepository("LiteralInteger113", Signal_Assembly_A_AClassifierBehavior_Accept_S_value_LiteralInteger113); + AddToElementRepository("Send Continue", Signal_Assembly_A_AClassifierBehavior_Send_Continue); + AddToElementRepository("target", Signal_Assembly_A_AClassifierBehavior_Send_Continue_target); + AddToElementRepository("LiteralUnlimitedNatural114", Signal_Assembly_A_AClassifierBehavior_Send_Continue_target_LiteralUnlimitedNatural114); + AddToElementRepository("LiteralInteger115", Signal_Assembly_A_AClassifierBehavior_Send_Continue_target_LiteralInteger115); + AddToElementRepository("v", Signal_Assembly_A_v); + AddToElementRepository("A_A", Signal_Assembly_A_A_A); + AddToElementRepository("result", Signal_Assembly_A_A_A_result); + + // Initialize public members + /* + * Model Signal_Assembly + */ + Signal_Assembly.SetName("Signal_Assembly"); + Signal_Assembly.SetVisibility(VisibilityKind.public_); + // SignalEvent StartEvent + Signal_Assembly_StartEvent.SetName("StartEvent"); + Signal_Assembly_StartEvent.SetVisibility(VisibilityKind.public_); + Signal_Assembly_StartEvent.SetSignal(Signal_Assembly_Start); + Signal_Assembly.AddPackagedElement(Signal_Assembly_StartEvent); + // Signal Start + Signal_Assembly_Start.SetName("Start"); + Signal_Assembly_Start.SetVisibility(VisibilityKind.public_); + + // Property testCase + Signal_Assembly_Start_testCase.SetName("testCase"); + Signal_Assembly_Start_testCase.SetVisibility(VisibilityKind.public_); + + Signal_Assembly_Start_testCase.SetType(Signal_Assembly_TestCase); + Signal_Assembly_Start.AddOwnedAttribute(Signal_Assembly_Start_testCase); + Signal_Assembly.AddPackagedElement(Signal_Assembly_Start); + // Association R + Signal_Assembly_R.SetName("R"); + Signal_Assembly_R.SetVisibility(VisibilityKind.public_); + Signal_Assembly_R.AddOwnedEnd(Signal_Assembly_R_x); + Signal_Assembly_R.AddOwnedEnd(Signal_Assembly_R_y); + Signal_Assembly.AddPackagedElement(Signal_Assembly_R); + // Class I + Signal_Assembly_I.SetName("I"); + Signal_Assembly_I.SetVisibility(VisibilityKind.public_); + Signal_Assembly.AddPackagedElement(Signal_Assembly_I); + // SignalEvent ContinueEvent + Signal_Assembly_ContinueEvent.SetName("ContinueEvent"); + Signal_Assembly_ContinueEvent.SetVisibility(VisibilityKind.public_); + Signal_Assembly_ContinueEvent.SetSignal(Signal_Assembly_Continue); + Signal_Assembly.AddPackagedElement(Signal_Assembly_ContinueEvent); + // Class TestCaseAssembly + Signal_Assembly_TestCaseAssembly.SetName("TestCaseAssembly"); + Signal_Assembly_TestCaseAssembly.SetVisibility(VisibilityKind.public_); + + // Generalization to TestCase + Signal_Assembly_TestCaseAssembly_Generalization24.SetGeneral(Signal_Assembly_TestCase); + Signal_Assembly_TestCaseAssembly.AddGeneralization(Signal_Assembly_TestCaseAssembly_Generalization24); + // Property a + Signal_Assembly_TestCaseAssembly_a.SetName("a"); + Signal_Assembly_TestCaseAssembly_a.SetVisibility(VisibilityKind.public_); + + Signal_Assembly_TestCaseAssembly_a.SetType(Signal_Assembly_A); + Signal_Assembly_TestCaseAssembly_a.SetAggregation(AggregationKind.composite); + Signal_Assembly_TestCaseAssembly.AddOwnedAttribute(Signal_Assembly_TestCaseAssembly_a); + // Property tester + Signal_Assembly_TestCaseAssembly_tester.SetName("tester"); + Signal_Assembly_TestCaseAssembly_tester.SetVisibility(VisibilityKind.public_); + + Signal_Assembly_TestCaseAssembly_tester.SetType(Signal_Assembly_Tester); + Signal_Assembly_TestCaseAssembly_tester.SetAggregation(AggregationKind.composite); + Signal_Assembly_TestCaseAssembly.AddOwnedAttribute(Signal_Assembly_TestCaseAssembly_tester); + // Activity testActivity + Signal_Assembly_TestCaseAssembly_testActivity.SetName("testActivity"); + Signal_Assembly_TestCaseAssembly_testActivity.SetVisibility(VisibilityKind.public_); + // FunctionBehavior testV + Signal_Assembly_TestCaseAssembly_testActivity_testV.SetName("testV"); + Signal_Assembly_TestCaseAssembly_testActivity_testV.SetVisibility(VisibilityKind.public_); + + // Parameter v + Signal_Assembly_TestCaseAssembly_testActivity_testV_v.SetName("v"); + Signal_Assembly_TestCaseAssembly_testActivity_testV_v.SetVisibility(VisibilityKind.public_); + + Signal_Assembly_TestCaseAssembly_testActivity_testV_v.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + Signal_Assembly_TestCaseAssembly_testActivity_testV.AddOwnedParameter(Signal_Assembly_TestCaseAssembly_testActivity_testV_v); + Signal_Assembly_TestCaseAssembly_testActivity_testV.AddLanguage("C#"); + Signal_Assembly_TestCaseAssembly_testActivity_testV.AddLanguage("Using"); + Signal_Assembly_TestCaseAssembly_testActivity_testV.AddBody("Console.WriteLine(\"Asserting a.v == 4\"); // Test parameter v int v = ((IntegerValue)inputParameters.ElementAt(0).values.ElementAt(0)).value; Debug.Println(\"[doBody] argument v = \" + v); Console.WriteLine(\"a.v == \" + v); Console.Write(\"Signal correctly sent and received: \"); if(v == 4) { Console.ForegroundColor = ConsoleColor.Green; Console.WriteLine(\"Assertion successful.\"); } else { Console.ForegroundColor = ConsoleColor.Red; Console.WriteLine(\"Assertion failed!\"); } Console.ResetColor();"); + Signal_Assembly_TestCaseAssembly_testActivity_testV.AddBody("using fuml.semantics.simpleclassifiers; "); + Signal_Assembly_TestCaseAssembly_testActivity.AddOwnedBehavior(Signal_Assembly_TestCaseAssembly_testActivity_testV); + // ReadStructuralFeatureAction Read this.a + Signal_Assembly_TestCaseAssembly_testActivity_Read_this_a.SetName("Read this.a"); + Signal_Assembly_TestCaseAssembly_testActivity_Read_this_a.SetVisibility(VisibilityKind.public_); + Signal_Assembly_TestCaseAssembly_testActivity_Read_this_a.SetStructuralFeature(Signal_Assembly_TestCaseAssembly_a); + // InputPin object + Signal_Assembly_TestCaseAssembly_testActivity_Read_this_a_object.SetName("object"); + Signal_Assembly_TestCaseAssembly_testActivity_Read_this_a_object.SetVisibility(VisibilityKind.public_); + Signal_Assembly_TestCaseAssembly_testActivity_Read_this_a_object.SetType(Signal_Assembly_TestCaseAssembly); + Signal_Assembly_TestCaseAssembly_testActivity_Read_this_a.SetObject(Signal_Assembly_TestCaseAssembly_testActivity_Read_this_a_object); + // OutputPin result + Signal_Assembly_TestCaseAssembly_testActivity_Read_this_a_result.SetName("result"); + Signal_Assembly_TestCaseAssembly_testActivity_Read_this_a_result.SetVisibility(VisibilityKind.public_); + Signal_Assembly_TestCaseAssembly_testActivity_Read_this_a_result.SetType(Signal_Assembly_A); + Signal_Assembly_TestCaseAssembly_testActivity_Read_this_a.SetResult(Signal_Assembly_TestCaseAssembly_testActivity_Read_this_a_result); + Signal_Assembly_TestCaseAssembly_testActivity.AddNode(Signal_Assembly_TestCaseAssembly_testActivity_Read_this_a); + // ReadStructuralFeatureAction Read a.v + Signal_Assembly_TestCaseAssembly_testActivity_Read_a_v.SetName("Read a.v"); + Signal_Assembly_TestCaseAssembly_testActivity_Read_a_v.SetVisibility(VisibilityKind.public_); + Signal_Assembly_TestCaseAssembly_testActivity_Read_a_v.SetStructuralFeature(Signal_Assembly_A_v); + // InputPin object + Signal_Assembly_TestCaseAssembly_testActivity_Read_a_v_object.SetName("object"); + Signal_Assembly_TestCaseAssembly_testActivity_Read_a_v_object.SetVisibility(VisibilityKind.public_); + Signal_Assembly_TestCaseAssembly_testActivity_Read_a_v_object.SetType(Signal_Assembly_A); + Signal_Assembly_TestCaseAssembly_testActivity_Read_a_v.SetObject(Signal_Assembly_TestCaseAssembly_testActivity_Read_a_v_object); + // OutputPin result + Signal_Assembly_TestCaseAssembly_testActivity_Read_a_v_result.SetName("result"); + Signal_Assembly_TestCaseAssembly_testActivity_Read_a_v_result.SetVisibility(VisibilityKind.public_); + Signal_Assembly_TestCaseAssembly_testActivity_Read_a_v_result.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + Signal_Assembly_TestCaseAssembly_testActivity_Read_a_v.SetResult(Signal_Assembly_TestCaseAssembly_testActivity_Read_a_v_result); + Signal_Assembly_TestCaseAssembly_testActivity.AddNode(Signal_Assembly_TestCaseAssembly_testActivity_Read_a_v); + // ReadSelfAction this + Signal_Assembly_TestCaseAssembly_testActivity_this.SetName("this"); + Signal_Assembly_TestCaseAssembly_testActivity_this.SetVisibility(VisibilityKind.public_); + // OutputPin result + Signal_Assembly_TestCaseAssembly_testActivity_this_result.SetName("result"); + Signal_Assembly_TestCaseAssembly_testActivity_this_result.SetVisibility(VisibilityKind.public_); + Signal_Assembly_TestCaseAssembly_testActivity_this_result.SetType(Signal_Assembly_TestCaseAssembly); + Signal_Assembly_TestCaseAssembly_testActivity_this.SetResult(Signal_Assembly_TestCaseAssembly_testActivity_this_result); + Signal_Assembly_TestCaseAssembly_testActivity.AddNode(Signal_Assembly_TestCaseAssembly_testActivity_this); + // CallBehaviorAction Call testV + Signal_Assembly_TestCaseAssembly_testActivity_Call_testV.SetName("Call testV"); + Signal_Assembly_TestCaseAssembly_testActivity_Call_testV.SetVisibility(VisibilityKind.public_); + Signal_Assembly_TestCaseAssembly_testActivity_Call_testV.SetBehavior(Signal_Assembly_TestCaseAssembly_testActivity_testV); + // InputPin v + Signal_Assembly_TestCaseAssembly_testActivity_Call_testV_v.SetName("v"); + Signal_Assembly_TestCaseAssembly_testActivity_Call_testV_v.SetVisibility(VisibilityKind.public_); + Signal_Assembly_TestCaseAssembly_testActivity_Call_testV_v.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + Signal_Assembly_TestCaseAssembly_testActivity_Call_testV.AddArgument(Signal_Assembly_TestCaseAssembly_testActivity_Call_testV_v); + Signal_Assembly_TestCaseAssembly_testActivity.AddNode(Signal_Assembly_TestCaseAssembly_testActivity_Call_testV); + // ObjectFlow ObjectFlow2 from result to v + Signal_Assembly_TestCaseAssembly_testActivity_ObjectFlow2.SetName("ObjectFlow2"); + Signal_Assembly_TestCaseAssembly_testActivity_ObjectFlow2.SetVisibility(VisibilityKind.public_); + + Signal_Assembly_TestCaseAssembly_testActivity_ObjectFlow2.SetSource(Signal_Assembly_TestCaseAssembly_testActivity_Read_a_v_result); + Signal_Assembly_TestCaseAssembly_testActivity_ObjectFlow2.SetTarget(Signal_Assembly_TestCaseAssembly_testActivity_Call_testV_v); + // LiteralBoolean LiteralBoolean4 + Signal_Assembly_TestCaseAssembly_testActivity_ObjectFlow2_LiteralBoolean4.SetName("LiteralBoolean4"); + Signal_Assembly_TestCaseAssembly_testActivity_ObjectFlow2_LiteralBoolean4.SetVisibility(VisibilityKind.public_); + Signal_Assembly_TestCaseAssembly_testActivity_ObjectFlow2_LiteralBoolean4.SetValue(true); + Signal_Assembly_TestCaseAssembly_testActivity_ObjectFlow2.SetGuard(Signal_Assembly_TestCaseAssembly_testActivity_ObjectFlow2_LiteralBoolean4); + Signal_Assembly_TestCaseAssembly_testActivity.AddEdge(Signal_Assembly_TestCaseAssembly_testActivity_ObjectFlow2); + // ObjectFlow ObjectFlow5 from result to object + Signal_Assembly_TestCaseAssembly_testActivity_ObjectFlow5.SetName("ObjectFlow5"); + Signal_Assembly_TestCaseAssembly_testActivity_ObjectFlow5.SetVisibility(VisibilityKind.public_); + + Signal_Assembly_TestCaseAssembly_testActivity_ObjectFlow5.SetSource(Signal_Assembly_TestCaseAssembly_testActivity_this_result); + Signal_Assembly_TestCaseAssembly_testActivity_ObjectFlow5.SetTarget(Signal_Assembly_TestCaseAssembly_testActivity_Read_this_a_object); + // LiteralBoolean LiteralBoolean7 + Signal_Assembly_TestCaseAssembly_testActivity_ObjectFlow5_LiteralBoolean7.SetName("LiteralBoolean7"); + Signal_Assembly_TestCaseAssembly_testActivity_ObjectFlow5_LiteralBoolean7.SetVisibility(VisibilityKind.public_); + Signal_Assembly_TestCaseAssembly_testActivity_ObjectFlow5_LiteralBoolean7.SetValue(true); + Signal_Assembly_TestCaseAssembly_testActivity_ObjectFlow5.SetGuard(Signal_Assembly_TestCaseAssembly_testActivity_ObjectFlow5_LiteralBoolean7); + Signal_Assembly_TestCaseAssembly_testActivity.AddEdge(Signal_Assembly_TestCaseAssembly_testActivity_ObjectFlow5); + // ObjectFlow ObjectFlow16 from result to object + Signal_Assembly_TestCaseAssembly_testActivity_ObjectFlow16.SetName("ObjectFlow16"); + Signal_Assembly_TestCaseAssembly_testActivity_ObjectFlow16.SetVisibility(VisibilityKind.public_); + + Signal_Assembly_TestCaseAssembly_testActivity_ObjectFlow16.SetSource(Signal_Assembly_TestCaseAssembly_testActivity_Read_this_a_result); + Signal_Assembly_TestCaseAssembly_testActivity_ObjectFlow16.SetTarget(Signal_Assembly_TestCaseAssembly_testActivity_Read_a_v_object); + // LiteralBoolean LiteralBoolean18 + Signal_Assembly_TestCaseAssembly_testActivity_ObjectFlow16_LiteralBoolean18.SetName("LiteralBoolean18"); + Signal_Assembly_TestCaseAssembly_testActivity_ObjectFlow16_LiteralBoolean18.SetVisibility(VisibilityKind.public_); + Signal_Assembly_TestCaseAssembly_testActivity_ObjectFlow16_LiteralBoolean18.SetValue(true); + Signal_Assembly_TestCaseAssembly_testActivity_ObjectFlow16.SetGuard(Signal_Assembly_TestCaseAssembly_testActivity_ObjectFlow16_LiteralBoolean18); + Signal_Assembly_TestCaseAssembly_testActivity.AddEdge(Signal_Assembly_TestCaseAssembly_testActivity_ObjectFlow16); + Signal_Assembly_TestCaseAssembly.AddOwnedBehavior(Signal_Assembly_TestCaseAssembly_testActivity); + Signal_Assembly_TestCaseAssembly_r.SetName("r"); + Signal_Assembly_TestCaseAssembly_r.SetVisibility(VisibilityKind.public_); + + Signal_Assembly_TestCaseAssembly_r_ConnectorEnd1.SetRole(Signal_Assembly_A_p); + Signal_Assembly_TestCaseAssembly_r_ConnectorEnd1.SetPartWithPort(Signal_Assembly_TestCaseAssembly_a); + + Signal_Assembly_TestCaseAssembly_r.AddEnd(Signal_Assembly_TestCaseAssembly_r_ConnectorEnd1); + + Signal_Assembly_TestCaseAssembly_r_ConnectorEnd0.SetRole(Signal_Assembly_Tester_q); + Signal_Assembly_TestCaseAssembly_r_ConnectorEnd0.SetPartWithPort(Signal_Assembly_TestCaseAssembly_tester); + + Signal_Assembly_TestCaseAssembly_r.AddEnd(Signal_Assembly_TestCaseAssembly_r_ConnectorEnd0); + Signal_Assembly_TestCaseAssembly_r.SetType(Signal_Assembly_R); + Signal_Assembly_TestCaseAssembly.AddOwnedConnector(Signal_Assembly_TestCaseAssembly_r); + // Operation TestCaseAssembly_TestCaseAssembly + Signal_Assembly_TestCaseAssembly_TestCaseAssembly_TestCaseAssembly.SetName("TestCaseAssembly_TestCaseAssembly"); + Signal_Assembly_TestCaseAssembly_TestCaseAssembly_TestCaseAssembly.SetVisibility(VisibilityKind.public_); + // Parameter result + Signal_Assembly_TestCaseAssembly_TestCaseAssembly_TestCaseAssembly_result.SetName("result"); + Signal_Assembly_TestCaseAssembly_TestCaseAssembly_TestCaseAssembly_result.SetVisibility(VisibilityKind.public_); + + Signal_Assembly_TestCaseAssembly_TestCaseAssembly_TestCaseAssembly_result.SetType(Signal_Assembly_TestCaseAssembly); + Signal_Assembly_TestCaseAssembly_TestCaseAssembly_TestCaseAssembly_result.SetDirection(ParameterDirectionKind.return_); + Signal_Assembly_TestCaseAssembly_TestCaseAssembly_TestCaseAssembly.AddOwnedParameter(Signal_Assembly_TestCaseAssembly_TestCaseAssembly_TestCaseAssembly_result); + Signal_Assembly_TestCaseAssembly_TestCaseAssembly_TestCaseAssembly.ApplyStereotype(uml.standardprofile.StandardProfileModel.Instance().Stereotype_Create); + Signal_Assembly_TestCaseAssembly.AddOwnedOperation(Signal_Assembly_TestCaseAssembly_TestCaseAssembly_TestCaseAssembly); + // Operation test + Signal_Assembly_TestCaseAssembly_test.SetName("test"); + Signal_Assembly_TestCaseAssembly_test.SetVisibility(VisibilityKind.public_); + Signal_Assembly_TestCaseAssembly_test.AddMethod(Signal_Assembly_TestCaseAssembly_testActivity); + Signal_Assembly_TestCaseAssembly_test.AddRedefinedOperation(Signal_Assembly_TestCase_test); + Signal_Assembly_TestCaseAssembly.AddOwnedOperation(Signal_Assembly_TestCaseAssembly_test); + Signal_Assembly.AddPackagedElement(Signal_Assembly_TestCaseAssembly); + // Class TestCase + Signal_Assembly_TestCase.SetName("TestCase"); + Signal_Assembly_TestCase.SetVisibility(VisibilityKind.public_); + + Signal_Assembly_TestCase.SetIsAbstract(true); + + + // Operation test + Signal_Assembly_TestCase_test.SetName("test"); + Signal_Assembly_TestCase_test.SetVisibility(VisibilityKind.public_); + Signal_Assembly_TestCase_test.SetIsAbstract(true); + Signal_Assembly_TestCase.AddOwnedOperation(Signal_Assembly_TestCase_test); + Signal_Assembly.AddPackagedElement(Signal_Assembly_TestCase); + // Signal S + Signal_Assembly_S.SetName("S"); + Signal_Assembly_S.SetVisibility(VisibilityKind.public_); + + // Property value + Signal_Assembly_S_value.SetName("value"); + Signal_Assembly_S_value.SetVisibility(VisibilityKind.public_); + + Signal_Assembly_S_value.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + Signal_Assembly_S.AddOwnedAttribute(Signal_Assembly_S_value); + Signal_Assembly.AddPackagedElement(Signal_Assembly_S); + // Activity main + Signal_Assembly_main.SetName("main"); + Signal_Assembly_main.SetVisibility(VisibilityKind.public_); + // ReadStructuralFeatureAction Read TestCaseAssembly.tester + Signal_Assembly_main_Read_TestCaseAssembly_tester.SetName("Read TestCaseAssembly.tester"); + Signal_Assembly_main_Read_TestCaseAssembly_tester.SetVisibility(VisibilityKind.public_); + Signal_Assembly_main_Read_TestCaseAssembly_tester.SetStructuralFeature(Signal_Assembly_TestCaseAssembly_tester); + // InputPin object + Signal_Assembly_main_Read_TestCaseAssembly_tester_object.SetName("object"); + Signal_Assembly_main_Read_TestCaseAssembly_tester_object.SetVisibility(VisibilityKind.public_); + Signal_Assembly_main_Read_TestCaseAssembly_tester_object.SetType(Signal_Assembly_TestCaseAssembly); + Signal_Assembly_main_Read_TestCaseAssembly_tester.SetObject(Signal_Assembly_main_Read_TestCaseAssembly_tester_object); + // OutputPin result + Signal_Assembly_main_Read_TestCaseAssembly_tester_result.SetName("result"); + Signal_Assembly_main_Read_TestCaseAssembly_tester_result.SetVisibility(VisibilityKind.public_); + Signal_Assembly_main_Read_TestCaseAssembly_tester_result.SetType(Signal_Assembly_Tester); + Signal_Assembly_main_Read_TestCaseAssembly_tester.SetResult(Signal_Assembly_main_Read_TestCaseAssembly_tester_result); + Signal_Assembly_main.AddNode(Signal_Assembly_main_Read_TestCaseAssembly_tester); + // CreateObjectAction Create TestCaseAssembly + Signal_Assembly_main_Create_TestCaseAssembly.SetName("Create TestCaseAssembly"); + Signal_Assembly_main_Create_TestCaseAssembly.SetVisibility(VisibilityKind.public_); + Signal_Assembly_main_Create_TestCaseAssembly.SetClassifier(Signal_Assembly_TestCaseAssembly); + // OutputPin result + Signal_Assembly_main_Create_TestCaseAssembly_result.SetName("result"); + Signal_Assembly_main_Create_TestCaseAssembly_result.SetVisibility(VisibilityKind.public_); + Signal_Assembly_main_Create_TestCaseAssembly_result.SetType(Signal_Assembly_TestCaseAssembly); + Signal_Assembly_main_Create_TestCaseAssembly.SetResult(Signal_Assembly_main_Create_TestCaseAssembly_result); + Signal_Assembly_main.AddNode(Signal_Assembly_main_Create_TestCaseAssembly); + // CallOperationAction TestCaseAssembly() + Signal_Assembly_main_TestCaseAssembly_.SetName("TestCaseAssembly()"); + Signal_Assembly_main_TestCaseAssembly_.SetVisibility(VisibilityKind.public_); + + // OutputPin result + Signal_Assembly_main_TestCaseAssembly__result.SetName("result"); + Signal_Assembly_main_TestCaseAssembly__result.SetVisibility(VisibilityKind.public_); + Signal_Assembly_main_TestCaseAssembly__result.SetType(Signal_Assembly_TestCaseAssembly); + Signal_Assembly_main_TestCaseAssembly_.AddResult(Signal_Assembly_main_TestCaseAssembly__result); + Signal_Assembly_main_TestCaseAssembly_.SetOperation(Signal_Assembly_TestCaseAssembly_TestCaseAssembly_TestCaseAssembly); + // InputPin target + Signal_Assembly_main_TestCaseAssembly__target.SetName("target"); + Signal_Assembly_main_TestCaseAssembly__target.SetVisibility(VisibilityKind.public_); + Signal_Assembly_main_TestCaseAssembly__target.SetType(Signal_Assembly_TestCaseAssembly); + Signal_Assembly_main_TestCaseAssembly_.SetTarget(Signal_Assembly_main_TestCaseAssembly__target); + Signal_Assembly_main.AddNode(Signal_Assembly_main_TestCaseAssembly_); + // ForkNode Fork testCase + Signal_Assembly_main_Fork_testCase.SetName("Fork testCase"); + Signal_Assembly_main_Fork_testCase.SetVisibility(VisibilityKind.public_); + Signal_Assembly_main.AddNode(Signal_Assembly_main_Fork_testCase); + // SendSignalAction Send Start + Signal_Assembly_main_Send_Start.SetName("Send Start"); + Signal_Assembly_main_Send_Start.SetVisibility(VisibilityKind.public_); + Signal_Assembly_main_Send_Start.SetSignal(Signal_Assembly_Start); + // InputPin target + Signal_Assembly_main_Send_Start_target.SetName("target"); + Signal_Assembly_main_Send_Start_target.SetVisibility(VisibilityKind.public_); + Signal_Assembly_main_Send_Start_target.SetType(Signal_Assembly_Tester); + Signal_Assembly_main_Send_Start.SetTarget(Signal_Assembly_main_Send_Start_target); + // InputPin testCase + Signal_Assembly_main_Send_Start_testCase.SetName("testCase"); + Signal_Assembly_main_Send_Start_testCase.SetVisibility(VisibilityKind.public_); + Signal_Assembly_main_Send_Start_testCase.SetType(Signal_Assembly_TestCase); + Signal_Assembly_main_Send_Start.AddArgument(Signal_Assembly_main_Send_Start_testCase); + Signal_Assembly_main.AddNode(Signal_Assembly_main_Send_Start); + // ObjectFlow ObjectFlow25 from result to target + Signal_Assembly_main_ObjectFlow25.SetName("ObjectFlow25"); + Signal_Assembly_main_ObjectFlow25.SetVisibility(VisibilityKind.public_); + + Signal_Assembly_main_ObjectFlow25.SetSource(Signal_Assembly_main_Read_TestCaseAssembly_tester_result); + Signal_Assembly_main_ObjectFlow25.SetTarget(Signal_Assembly_main_Send_Start_target); + // LiteralBoolean LiteralBoolean27 + Signal_Assembly_main_ObjectFlow25_LiteralBoolean27.SetName("LiteralBoolean27"); + Signal_Assembly_main_ObjectFlow25_LiteralBoolean27.SetVisibility(VisibilityKind.public_); + Signal_Assembly_main_ObjectFlow25_LiteralBoolean27.SetValue(true); + Signal_Assembly_main_ObjectFlow25.SetGuard(Signal_Assembly_main_ObjectFlow25_LiteralBoolean27); + Signal_Assembly_main.AddEdge(Signal_Assembly_main_ObjectFlow25); + // ObjectFlow ObjectFlow34 from result to target + Signal_Assembly_main_ObjectFlow34.SetName("ObjectFlow34"); + Signal_Assembly_main_ObjectFlow34.SetVisibility(VisibilityKind.public_); + + Signal_Assembly_main_ObjectFlow34.SetSource(Signal_Assembly_main_Create_TestCaseAssembly_result); + Signal_Assembly_main_ObjectFlow34.SetTarget(Signal_Assembly_main_TestCaseAssembly__target); + // LiteralBoolean LiteralBoolean36 + Signal_Assembly_main_ObjectFlow34_LiteralBoolean36.SetName("LiteralBoolean36"); + Signal_Assembly_main_ObjectFlow34_LiteralBoolean36.SetVisibility(VisibilityKind.public_); + Signal_Assembly_main_ObjectFlow34_LiteralBoolean36.SetValue(true); + Signal_Assembly_main_ObjectFlow34.SetGuard(Signal_Assembly_main_ObjectFlow34_LiteralBoolean36); + Signal_Assembly_main.AddEdge(Signal_Assembly_main_ObjectFlow34); + // ObjectFlow ObjectFlow37 from Fork testCase to testCase + Signal_Assembly_main_ObjectFlow37.SetName("ObjectFlow37"); + Signal_Assembly_main_ObjectFlow37.SetVisibility(VisibilityKind.public_); + + Signal_Assembly_main_ObjectFlow37.SetSource(Signal_Assembly_main_Fork_testCase); + Signal_Assembly_main_ObjectFlow37.SetTarget(Signal_Assembly_main_Send_Start_testCase); + // LiteralBoolean LiteralBoolean39 + Signal_Assembly_main_ObjectFlow37_LiteralBoolean39.SetName("LiteralBoolean39"); + Signal_Assembly_main_ObjectFlow37_LiteralBoolean39.SetVisibility(VisibilityKind.public_); + Signal_Assembly_main_ObjectFlow37_LiteralBoolean39.SetValue(true); + Signal_Assembly_main_ObjectFlow37.SetGuard(Signal_Assembly_main_ObjectFlow37_LiteralBoolean39); + Signal_Assembly_main.AddEdge(Signal_Assembly_main_ObjectFlow37); + // ObjectFlow ObjectFlow45 from Fork testCase to object + Signal_Assembly_main_ObjectFlow45.SetName("ObjectFlow45"); + Signal_Assembly_main_ObjectFlow45.SetVisibility(VisibilityKind.public_); + + Signal_Assembly_main_ObjectFlow45.SetSource(Signal_Assembly_main_Fork_testCase); + Signal_Assembly_main_ObjectFlow45.SetTarget(Signal_Assembly_main_Read_TestCaseAssembly_tester_object); + // LiteralBoolean LiteralBoolean46 + Signal_Assembly_main_ObjectFlow45_LiteralBoolean46.SetName("LiteralBoolean46"); + Signal_Assembly_main_ObjectFlow45_LiteralBoolean46.SetVisibility(VisibilityKind.public_); + Signal_Assembly_main_ObjectFlow45_LiteralBoolean46.SetValue(true); + Signal_Assembly_main_ObjectFlow45.SetGuard(Signal_Assembly_main_ObjectFlow45_LiteralBoolean46); + Signal_Assembly_main.AddEdge(Signal_Assembly_main_ObjectFlow45); + // ObjectFlow ObjectFlow48 from result to Fork testCase + Signal_Assembly_main_ObjectFlow48.SetName("ObjectFlow48"); + Signal_Assembly_main_ObjectFlow48.SetVisibility(VisibilityKind.public_); + + Signal_Assembly_main_ObjectFlow48.SetSource(Signal_Assembly_main_TestCaseAssembly__result); + Signal_Assembly_main_ObjectFlow48.SetTarget(Signal_Assembly_main_Fork_testCase); + // LiteralBoolean LiteralBoolean49 + Signal_Assembly_main_ObjectFlow48_LiteralBoolean49.SetName("LiteralBoolean49"); + Signal_Assembly_main_ObjectFlow48_LiteralBoolean49.SetVisibility(VisibilityKind.public_); + Signal_Assembly_main_ObjectFlow48_LiteralBoolean49.SetValue(true); + Signal_Assembly_main_ObjectFlow48.SetGuard(Signal_Assembly_main_ObjectFlow48_LiteralBoolean49); + Signal_Assembly_main.AddEdge(Signal_Assembly_main_ObjectFlow48); + Signal_Assembly.AddPackagedElement(Signal_Assembly_main); + // Class Tester + Signal_Assembly_Tester.SetName("Tester"); + Signal_Assembly_Tester.SetVisibility(VisibilityKind.public_); + + // Port q + Signal_Assembly_Tester_q.SetName("q"); + Signal_Assembly_Tester_q.SetVisibility(VisibilityKind.public_); + + Signal_Assembly_Tester_q.SetType(Signal_Assembly_I); + Signal_Assembly_Tester_q.SetAggregation(AggregationKind.composite); + Signal_Assembly_Tester_q.isBehavior = true; + Signal_Assembly_Tester_q.isService = true; + Signal_Assembly_Tester.AddOwnedAttribute(Signal_Assembly_Tester_q); + Signal_Assembly_Tester.SetClassifierBehavior(Signal_Assembly_Tester_TesterClassifierBehavior); + // Activity TesterClassifierBehavior + Signal_Assembly_Tester_TesterClassifierBehavior.SetName("TesterClassifierBehavior"); + Signal_Assembly_Tester_TesterClassifierBehavior.SetVisibility(VisibilityKind.public_); + + Signal_Assembly_Tester_TesterClassifierBehavior.isReentrant = false; + // CallOperationAction Call test() + Signal_Assembly_Tester_TesterClassifierBehavior_Call_test_.SetName("Call test()"); + Signal_Assembly_Tester_TesterClassifierBehavior_Call_test_.SetVisibility(VisibilityKind.public_); + Signal_Assembly_Tester_TesterClassifierBehavior_Call_test_.SetOperation(Signal_Assembly_TestCase_test); + // InputPin target + Signal_Assembly_Tester_TesterClassifierBehavior_Call_test__target.SetName("target"); + Signal_Assembly_Tester_TesterClassifierBehavior_Call_test__target.SetVisibility(VisibilityKind.public_); + Signal_Assembly_Tester_TesterClassifierBehavior_Call_test__target.SetType(Signal_Assembly_TestCase); + Signal_Assembly_Tester_TesterClassifierBehavior_Call_test_.SetTarget(Signal_Assembly_Tester_TesterClassifierBehavior_Call_test__target); + Signal_Assembly_Tester_TesterClassifierBehavior.AddNode(Signal_Assembly_Tester_TesterClassifierBehavior_Call_test_); + // AcceptEventAction Accept Start + Signal_Assembly_Tester_TesterClassifierBehavior_Accept_Start.SetName("Accept Start"); + Signal_Assembly_Tester_TesterClassifierBehavior_Accept_Start.SetVisibility(VisibilityKind.public_); + Signal_Assembly_Tester_TesterClassifierBehavior_Accept_Start.SetIsUnmarshall(true); + // OutputPin testCase + Signal_Assembly_Tester_TesterClassifierBehavior_Accept_Start_testCase.SetName("testCase"); + Signal_Assembly_Tester_TesterClassifierBehavior_Accept_Start_testCase.SetVisibility(VisibilityKind.public_); + Signal_Assembly_Tester_TesterClassifierBehavior_Accept_Start_testCase.SetType(Signal_Assembly_TestCase); + Signal_Assembly_Tester_TesterClassifierBehavior_Accept_Start.AddResult(Signal_Assembly_Tester_TesterClassifierBehavior_Accept_Start_testCase); + // Trigger Trigger69 + Signal_Assembly_Tester_TesterClassifierBehavior_Accept_Start_Trigger69.SetName("Trigger69"); + Signal_Assembly_Tester_TesterClassifierBehavior_Accept_Start_Trigger69.SetVisibility(VisibilityKind.public_); + Signal_Assembly_Tester_TesterClassifierBehavior_Accept_Start_Trigger69.SetEvent(Signal_Assembly_StartEvent); + Signal_Assembly_Tester_TesterClassifierBehavior_Accept_Start.AddTrigger(Signal_Assembly_Tester_TesterClassifierBehavior_Accept_Start_Trigger69); + Signal_Assembly_Tester_TesterClassifierBehavior.AddNode(Signal_Assembly_Tester_TesterClassifierBehavior_Accept_Start); + // ActivityFinalNode ActivityFinalNode78 + Signal_Assembly_Tester_TesterClassifierBehavior_ActivityFinalNode78.SetName("ActivityFinalNode78"); + Signal_Assembly_Tester_TesterClassifierBehavior_ActivityFinalNode78.SetVisibility(VisibilityKind.public_); + Signal_Assembly_Tester_TesterClassifierBehavior.AddNode(Signal_Assembly_Tester_TesterClassifierBehavior_ActivityFinalNode78); + // ValueSpecificationAction Value(4) + Signal_Assembly_Tester_TesterClassifierBehavior_Value_4.SetName("Value(4)"); + Signal_Assembly_Tester_TesterClassifierBehavior_Value_4.SetVisibility(VisibilityKind.public_); + // LiteralInteger LiteralInteger73 + Signal_Assembly_Tester_TesterClassifierBehavior_Value_4_LiteralInteger73.SetName("LiteralInteger73"); + Signal_Assembly_Tester_TesterClassifierBehavior_Value_4_LiteralInteger73.SetVisibility(VisibilityKind.public_); + Signal_Assembly_Tester_TesterClassifierBehavior_Value_4_LiteralInteger73.SetValue(4); + Signal_Assembly_Tester_TesterClassifierBehavior_Value_4.SetValue(Signal_Assembly_Tester_TesterClassifierBehavior_Value_4_LiteralInteger73); + // OutputPin result + Signal_Assembly_Tester_TesterClassifierBehavior_Value_4_result.SetName("result"); + Signal_Assembly_Tester_TesterClassifierBehavior_Value_4_result.SetVisibility(VisibilityKind.public_); + Signal_Assembly_Tester_TesterClassifierBehavior_Value_4_result.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + Signal_Assembly_Tester_TesterClassifierBehavior_Value_4.SetResult(Signal_Assembly_Tester_TesterClassifierBehavior_Value_4_result); + Signal_Assembly_Tester_TesterClassifierBehavior.AddNode(Signal_Assembly_Tester_TesterClassifierBehavior_Value_4); + // AcceptEventAction Accept Continue + Signal_Assembly_Tester_TesterClassifierBehavior_Accept_Continue.SetName("Accept Continue"); + Signal_Assembly_Tester_TesterClassifierBehavior_Accept_Continue.SetVisibility(VisibilityKind.public_); + // OutputPin result + Signal_Assembly_Tester_TesterClassifierBehavior_Accept_Continue_result.SetName("result"); + Signal_Assembly_Tester_TesterClassifierBehavior_Accept_Continue_result.SetVisibility(VisibilityKind.public_); + Signal_Assembly_Tester_TesterClassifierBehavior_Accept_Continue_result.SetType(Signal_Assembly_Continue); + Signal_Assembly_Tester_TesterClassifierBehavior_Accept_Continue.AddResult(Signal_Assembly_Tester_TesterClassifierBehavior_Accept_Continue_result); + // Trigger Trigger79 + Signal_Assembly_Tester_TesterClassifierBehavior_Accept_Continue_Trigger79.SetName("Trigger79"); + Signal_Assembly_Tester_TesterClassifierBehavior_Accept_Continue_Trigger79.SetVisibility(VisibilityKind.public_); + Signal_Assembly_Tester_TesterClassifierBehavior_Accept_Continue_Trigger79.SetEvent(Signal_Assembly_ContinueEvent); + Signal_Assembly_Tester_TesterClassifierBehavior_Accept_Continue.AddTrigger(Signal_Assembly_Tester_TesterClassifierBehavior_Accept_Continue_Trigger79); + Signal_Assembly_Tester_TesterClassifierBehavior.AddNode(Signal_Assembly_Tester_TesterClassifierBehavior_Accept_Continue); + // ReadSelfAction this + Signal_Assembly_Tester_TesterClassifierBehavior_this.SetName("this"); + Signal_Assembly_Tester_TesterClassifierBehavior_this.SetVisibility(VisibilityKind.public_); + // OutputPin result + Signal_Assembly_Tester_TesterClassifierBehavior_this_result.SetName("result"); + Signal_Assembly_Tester_TesterClassifierBehavior_this_result.SetVisibility(VisibilityKind.public_); + Signal_Assembly_Tester_TesterClassifierBehavior_this_result.SetType(Signal_Assembly_Tester); + Signal_Assembly_Tester_TesterClassifierBehavior_this.SetResult(Signal_Assembly_Tester_TesterClassifierBehavior_this_result); + Signal_Assembly_Tester_TesterClassifierBehavior.AddNode(Signal_Assembly_Tester_TesterClassifierBehavior_this); + // SendSignalAction Send S + Signal_Assembly_Tester_TesterClassifierBehavior_Send_S.SetName("Send S"); + Signal_Assembly_Tester_TesterClassifierBehavior_Send_S.SetVisibility(VisibilityKind.public_); + Signal_Assembly_Tester_TesterClassifierBehavior_Send_S.SetSignal(Signal_Assembly_S); + // InputPin target + Signal_Assembly_Tester_TesterClassifierBehavior_Send_S_target.SetName("target"); + Signal_Assembly_Tester_TesterClassifierBehavior_Send_S_target.SetVisibility(VisibilityKind.public_); + Signal_Assembly_Tester_TesterClassifierBehavior_Send_S_target.SetType(Signal_Assembly_Tester); + Signal_Assembly_Tester_TesterClassifierBehavior_Send_S.SetTarget(Signal_Assembly_Tester_TesterClassifierBehavior_Send_S_target); + // InputPin value + Signal_Assembly_Tester_TesterClassifierBehavior_Send_S_value.SetName("value"); + Signal_Assembly_Tester_TesterClassifierBehavior_Send_S_value.SetVisibility(VisibilityKind.public_); + Signal_Assembly_Tester_TesterClassifierBehavior_Send_S_value.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + Signal_Assembly_Tester_TesterClassifierBehavior_Send_S.AddArgument(Signal_Assembly_Tester_TesterClassifierBehavior_Send_S_value); + Signal_Assembly_Tester_TesterClassifierBehavior_Send_S.SetOnPort(Signal_Assembly_Tester_q); + Signal_Assembly_Tester_TesterClassifierBehavior.AddNode(Signal_Assembly_Tester_TesterClassifierBehavior_Send_S); + // ObjectFlow ObjectFlow56 from testCase to target + Signal_Assembly_Tester_TesterClassifierBehavior_ObjectFlow56.SetName("ObjectFlow56"); + Signal_Assembly_Tester_TesterClassifierBehavior_ObjectFlow56.SetVisibility(VisibilityKind.public_); + + Signal_Assembly_Tester_TesterClassifierBehavior_ObjectFlow56.SetSource(Signal_Assembly_Tester_TesterClassifierBehavior_Accept_Start_testCase); + Signal_Assembly_Tester_TesterClassifierBehavior_ObjectFlow56.SetTarget(Signal_Assembly_Tester_TesterClassifierBehavior_Call_test__target); + // LiteralBoolean LiteralBoolean58 + Signal_Assembly_Tester_TesterClassifierBehavior_ObjectFlow56_LiteralBoolean58.SetName("LiteralBoolean58"); + Signal_Assembly_Tester_TesterClassifierBehavior_ObjectFlow56_LiteralBoolean58.SetVisibility(VisibilityKind.public_); + Signal_Assembly_Tester_TesterClassifierBehavior_ObjectFlow56_LiteralBoolean58.SetValue(true); + Signal_Assembly_Tester_TesterClassifierBehavior_ObjectFlow56.SetGuard(Signal_Assembly_Tester_TesterClassifierBehavior_ObjectFlow56_LiteralBoolean58); + Signal_Assembly_Tester_TesterClassifierBehavior.AddEdge(Signal_Assembly_Tester_TesterClassifierBehavior_ObjectFlow56); + // ControlFlow ControlFlow74 from Call test() to ActivityFinalNode78 + Signal_Assembly_Tester_TesterClassifierBehavior_ControlFlow74.SetName("ControlFlow74"); + Signal_Assembly_Tester_TesterClassifierBehavior_ControlFlow74.SetVisibility(VisibilityKind.public_); + + Signal_Assembly_Tester_TesterClassifierBehavior_ControlFlow74.SetSource(Signal_Assembly_Tester_TesterClassifierBehavior_Call_test_); + Signal_Assembly_Tester_TesterClassifierBehavior_ControlFlow74.SetTarget(Signal_Assembly_Tester_TesterClassifierBehavior_ActivityFinalNode78); + Signal_Assembly_Tester_TesterClassifierBehavior.AddEdge(Signal_Assembly_Tester_TesterClassifierBehavior_ControlFlow74); + // ControlFlow ControlFlow59 from Accept Continue to Call test() + Signal_Assembly_Tester_TesterClassifierBehavior_ControlFlow59.SetName("ControlFlow59"); + Signal_Assembly_Tester_TesterClassifierBehavior_ControlFlow59.SetVisibility(VisibilityKind.public_); + + Signal_Assembly_Tester_TesterClassifierBehavior_ControlFlow59.SetSource(Signal_Assembly_Tester_TesterClassifierBehavior_Accept_Continue); + Signal_Assembly_Tester_TesterClassifierBehavior_ControlFlow59.SetTarget(Signal_Assembly_Tester_TesterClassifierBehavior_Call_test_); + Signal_Assembly_Tester_TesterClassifierBehavior.AddEdge(Signal_Assembly_Tester_TesterClassifierBehavior_ControlFlow59); + // ObjectFlow ObjectFlow60 from result to value + Signal_Assembly_Tester_TesterClassifierBehavior_ObjectFlow60.SetName("ObjectFlow60"); + Signal_Assembly_Tester_TesterClassifierBehavior_ObjectFlow60.SetVisibility(VisibilityKind.public_); + + Signal_Assembly_Tester_TesterClassifierBehavior_ObjectFlow60.SetSource(Signal_Assembly_Tester_TesterClassifierBehavior_Value_4_result); + Signal_Assembly_Tester_TesterClassifierBehavior_ObjectFlow60.SetTarget(Signal_Assembly_Tester_TesterClassifierBehavior_Send_S_value); + // LiteralBoolean LiteralBoolean61 + Signal_Assembly_Tester_TesterClassifierBehavior_ObjectFlow60_LiteralBoolean61.SetName("LiteralBoolean61"); + Signal_Assembly_Tester_TesterClassifierBehavior_ObjectFlow60_LiteralBoolean61.SetVisibility(VisibilityKind.public_); + Signal_Assembly_Tester_TesterClassifierBehavior_ObjectFlow60_LiteralBoolean61.SetValue(true); + Signal_Assembly_Tester_TesterClassifierBehavior_ObjectFlow60.SetGuard(Signal_Assembly_Tester_TesterClassifierBehavior_ObjectFlow60_LiteralBoolean61); + Signal_Assembly_Tester_TesterClassifierBehavior.AddEdge(Signal_Assembly_Tester_TesterClassifierBehavior_ObjectFlow60); + // ControlFlow ControlFlow63 from Accept Start to this + Signal_Assembly_Tester_TesterClassifierBehavior_ControlFlow63.SetName("ControlFlow63"); + Signal_Assembly_Tester_TesterClassifierBehavior_ControlFlow63.SetVisibility(VisibilityKind.public_); + + Signal_Assembly_Tester_TesterClassifierBehavior_ControlFlow63.SetSource(Signal_Assembly_Tester_TesterClassifierBehavior_Accept_Start); + Signal_Assembly_Tester_TesterClassifierBehavior_ControlFlow63.SetTarget(Signal_Assembly_Tester_TesterClassifierBehavior_this); + Signal_Assembly_Tester_TesterClassifierBehavior.AddEdge(Signal_Assembly_Tester_TesterClassifierBehavior_ControlFlow63); + // ObjectFlow ObjectFlow75 from result to target + Signal_Assembly_Tester_TesterClassifierBehavior_ObjectFlow75.SetName("ObjectFlow75"); + Signal_Assembly_Tester_TesterClassifierBehavior_ObjectFlow75.SetVisibility(VisibilityKind.public_); + + Signal_Assembly_Tester_TesterClassifierBehavior_ObjectFlow75.SetSource(Signal_Assembly_Tester_TesterClassifierBehavior_this_result); + Signal_Assembly_Tester_TesterClassifierBehavior_ObjectFlow75.SetTarget(Signal_Assembly_Tester_TesterClassifierBehavior_Send_S_target); + // LiteralBoolean LiteralBoolean76 + Signal_Assembly_Tester_TesterClassifierBehavior_ObjectFlow75_LiteralBoolean76.SetName("LiteralBoolean76"); + Signal_Assembly_Tester_TesterClassifierBehavior_ObjectFlow75_LiteralBoolean76.SetVisibility(VisibilityKind.public_); + Signal_Assembly_Tester_TesterClassifierBehavior_ObjectFlow75_LiteralBoolean76.SetValue(true); + Signal_Assembly_Tester_TesterClassifierBehavior_ObjectFlow75.SetGuard(Signal_Assembly_Tester_TesterClassifierBehavior_ObjectFlow75_LiteralBoolean76); + Signal_Assembly_Tester_TesterClassifierBehavior.AddEdge(Signal_Assembly_Tester_TesterClassifierBehavior_ObjectFlow75); + // ControlFlow ControlFlow70 from Send S to Accept Continue + Signal_Assembly_Tester_TesterClassifierBehavior_ControlFlow70.SetName("ControlFlow70"); + Signal_Assembly_Tester_TesterClassifierBehavior_ControlFlow70.SetVisibility(VisibilityKind.public_); + + Signal_Assembly_Tester_TesterClassifierBehavior_ControlFlow70.SetSource(Signal_Assembly_Tester_TesterClassifierBehavior_Send_S); + Signal_Assembly_Tester_TesterClassifierBehavior_ControlFlow70.SetTarget(Signal_Assembly_Tester_TesterClassifierBehavior_Accept_Continue); + Signal_Assembly_Tester_TesterClassifierBehavior.AddEdge(Signal_Assembly_Tester_TesterClassifierBehavior_ControlFlow70); + Signal_Assembly_Tester.AddOwnedBehavior(Signal_Assembly_Tester_TesterClassifierBehavior); + + Signal_Assembly_Tester.SetIsActive(true); + // Operation Tester_Tester + Signal_Assembly_Tester_Tester_Tester.SetName("Tester_Tester"); + Signal_Assembly_Tester_Tester_Tester.SetVisibility(VisibilityKind.public_); + // Parameter result + Signal_Assembly_Tester_Tester_Tester_result.SetName("result"); + Signal_Assembly_Tester_Tester_Tester_result.SetVisibility(VisibilityKind.public_); + + Signal_Assembly_Tester_Tester_Tester_result.SetType(Signal_Assembly_Tester); + Signal_Assembly_Tester_Tester_Tester_result.SetDirection(ParameterDirectionKind.return_); + Signal_Assembly_Tester_Tester_Tester.AddOwnedParameter(Signal_Assembly_Tester_Tester_Tester_result); + Signal_Assembly_Tester_Tester_Tester.ApplyStereotype(uml.standardprofile.StandardProfileModel.Instance().Stereotype_Create); + Signal_Assembly_Tester.AddOwnedOperation(Signal_Assembly_Tester_Tester_Tester); + // Reception Start + Signal_Assembly_Tester_Start.SetName("Start"); + Signal_Assembly_Tester_Start.SetVisibility(VisibilityKind.public_); + Signal_Assembly_Tester_Start.SetSignal(Signal_Assembly_Start); + Signal_Assembly_Tester.AddOwnedReception(Signal_Assembly_Tester_Start); + Signal_Assembly.AddPackagedElement(Signal_Assembly_Tester); + // Signal Continue + Signal_Assembly_Continue.SetName("Continue"); + Signal_Assembly_Continue.SetVisibility(VisibilityKind.public_); + Signal_Assembly.AddPackagedElement(Signal_Assembly_Continue); + // SignalEvent SEvent + Signal_Assembly_SEvent.SetName("SEvent"); + Signal_Assembly_SEvent.SetVisibility(VisibilityKind.public_); + Signal_Assembly_SEvent.SetSignal(Signal_Assembly_S); + Signal_Assembly.AddPackagedElement(Signal_Assembly_SEvent); + // Class A + Signal_Assembly_A.SetName("A"); + Signal_Assembly_A.SetVisibility(VisibilityKind.public_); + + // Property v + Signal_Assembly_A_v.SetName("v"); + Signal_Assembly_A_v.SetVisibility(VisibilityKind.public_); + + Signal_Assembly_A_v.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + Signal_Assembly_A_v.SetAggregation(AggregationKind.shared); + Signal_Assembly_A.AddOwnedAttribute(Signal_Assembly_A_v); + // Port p + Signal_Assembly_A_p.SetName("p"); + Signal_Assembly_A_p.SetVisibility(VisibilityKind.public_); + + Signal_Assembly_A_p.SetType(Signal_Assembly_I); + Signal_Assembly_A_p.SetAggregation(AggregationKind.composite); + Signal_Assembly_A_p.isBehavior = true; + Signal_Assembly_A_p.isService = true; + Signal_Assembly_A.AddOwnedAttribute(Signal_Assembly_A_p); + Signal_Assembly_A.SetClassifierBehavior(Signal_Assembly_A_AClassifierBehavior); + // Activity AClassifierBehavior + Signal_Assembly_A_AClassifierBehavior.SetName("AClassifierBehavior"); + Signal_Assembly_A_AClassifierBehavior.SetVisibility(VisibilityKind.public_); + + Signal_Assembly_A_AClassifierBehavior.isReentrant = false; + // ActivityFinalNode ActivityFinalNode93 + Signal_Assembly_A_AClassifierBehavior_ActivityFinalNode93.SetName("ActivityFinalNode93"); + Signal_Assembly_A_AClassifierBehavior_ActivityFinalNode93.SetVisibility(VisibilityKind.public_); + Signal_Assembly_A_AClassifierBehavior.AddNode(Signal_Assembly_A_AClassifierBehavior_ActivityFinalNode93); + // AddStructuralFeatureValueAction Set v + Signal_Assembly_A_AClassifierBehavior_Set_v.SetName("Set v"); + Signal_Assembly_A_AClassifierBehavior_Set_v.SetVisibility(VisibilityKind.public_); + Signal_Assembly_A_AClassifierBehavior_Set_v.SetStructuralFeature(Signal_Assembly_A_v); + // InputPin object + Signal_Assembly_A_AClassifierBehavior_Set_v_object.SetName("object"); + Signal_Assembly_A_AClassifierBehavior_Set_v_object.SetVisibility(VisibilityKind.public_); + Signal_Assembly_A_AClassifierBehavior_Set_v_object.SetType(Signal_Assembly_A); + Signal_Assembly_A_AClassifierBehavior_Set_v.SetObject(Signal_Assembly_A_AClassifierBehavior_Set_v_object); + // InputPin value + Signal_Assembly_A_AClassifierBehavior_Set_v_value.SetName("value"); + Signal_Assembly_A_AClassifierBehavior_Set_v_value.SetVisibility(VisibilityKind.public_); + Signal_Assembly_A_AClassifierBehavior_Set_v_value.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + Signal_Assembly_A_AClassifierBehavior_Set_v.SetValue(Signal_Assembly_A_AClassifierBehavior_Set_v_value); + // OutputPin result + Signal_Assembly_A_AClassifierBehavior_Set_v_result.SetName("result"); + Signal_Assembly_A_AClassifierBehavior_Set_v_result.SetVisibility(VisibilityKind.public_); + Signal_Assembly_A_AClassifierBehavior_Set_v_result.SetType(Signal_Assembly_A); + Signal_Assembly_A_AClassifierBehavior_Set_v.SetResult(Signal_Assembly_A_AClassifierBehavior_Set_v_result); + Signal_Assembly_A_AClassifierBehavior.AddNode(Signal_Assembly_A_AClassifierBehavior_Set_v); + // ReadSelfAction this + Signal_Assembly_A_AClassifierBehavior_this.SetName("this"); + Signal_Assembly_A_AClassifierBehavior_this.SetVisibility(VisibilityKind.public_); + // OutputPin result + Signal_Assembly_A_AClassifierBehavior_this_result.SetName("result"); + Signal_Assembly_A_AClassifierBehavior_this_result.SetVisibility(VisibilityKind.public_); + Signal_Assembly_A_AClassifierBehavior_this_result.SetType(Signal_Assembly_A); + Signal_Assembly_A_AClassifierBehavior_this.SetResult(Signal_Assembly_A_AClassifierBehavior_this_result); + Signal_Assembly_A_AClassifierBehavior.AddNode(Signal_Assembly_A_AClassifierBehavior_this); + // AcceptEventAction Accept S + Signal_Assembly_A_AClassifierBehavior_Accept_S.SetName("Accept S"); + Signal_Assembly_A_AClassifierBehavior_Accept_S.SetVisibility(VisibilityKind.public_); + Signal_Assembly_A_AClassifierBehavior_Accept_S.SetIsUnmarshall(true); + // OutputPin value + Signal_Assembly_A_AClassifierBehavior_Accept_S_value.SetName("value"); + Signal_Assembly_A_AClassifierBehavior_Accept_S_value.SetVisibility(VisibilityKind.public_); + Signal_Assembly_A_AClassifierBehavior_Accept_S_value.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + Signal_Assembly_A_AClassifierBehavior_Accept_S.AddResult(Signal_Assembly_A_AClassifierBehavior_Accept_S_value); + // Trigger Trigger110 + Signal_Assembly_A_AClassifierBehavior_Accept_S_Trigger110.SetName("Trigger110"); + Signal_Assembly_A_AClassifierBehavior_Accept_S_Trigger110.SetVisibility(VisibilityKind.public_); + Signal_Assembly_A_AClassifierBehavior_Accept_S_Trigger110.SetEvent(Signal_Assembly_SEvent); + Signal_Assembly_A_AClassifierBehavior_Accept_S.AddTrigger(Signal_Assembly_A_AClassifierBehavior_Accept_S_Trigger110); + Signal_Assembly_A_AClassifierBehavior.AddNode(Signal_Assembly_A_AClassifierBehavior_Accept_S); + // SendSignalAction Send Continue + Signal_Assembly_A_AClassifierBehavior_Send_Continue.SetName("Send Continue"); + Signal_Assembly_A_AClassifierBehavior_Send_Continue.SetVisibility(VisibilityKind.public_); + Signal_Assembly_A_AClassifierBehavior_Send_Continue.SetSignal(Signal_Assembly_Continue); + // InputPin target + Signal_Assembly_A_AClassifierBehavior_Send_Continue_target.SetName("target"); + Signal_Assembly_A_AClassifierBehavior_Send_Continue_target.SetVisibility(VisibilityKind.public_); + Signal_Assembly_A_AClassifierBehavior_Send_Continue_target.SetType(Signal_Assembly_A); + Signal_Assembly_A_AClassifierBehavior_Send_Continue.SetTarget(Signal_Assembly_A_AClassifierBehavior_Send_Continue_target); + Signal_Assembly_A_AClassifierBehavior_Send_Continue.SetOnPort(Signal_Assembly_A_p); + Signal_Assembly_A_AClassifierBehavior.AddNode(Signal_Assembly_A_AClassifierBehavior_Send_Continue); + // ObjectFlow ObjectFlow90 from result to target + Signal_Assembly_A_AClassifierBehavior_ObjectFlow90.SetName("ObjectFlow90"); + Signal_Assembly_A_AClassifierBehavior_ObjectFlow90.SetVisibility(VisibilityKind.public_); + + Signal_Assembly_A_AClassifierBehavior_ObjectFlow90.SetSource(Signal_Assembly_A_AClassifierBehavior_Set_v_result); + Signal_Assembly_A_AClassifierBehavior_ObjectFlow90.SetTarget(Signal_Assembly_A_AClassifierBehavior_Send_Continue_target); + // LiteralBoolean LiteralBoolean92 + Signal_Assembly_A_AClassifierBehavior_ObjectFlow90_LiteralBoolean92.SetName("LiteralBoolean92"); + Signal_Assembly_A_AClassifierBehavior_ObjectFlow90_LiteralBoolean92.SetVisibility(VisibilityKind.public_); + Signal_Assembly_A_AClassifierBehavior_ObjectFlow90_LiteralBoolean92.SetValue(true); + Signal_Assembly_A_AClassifierBehavior_ObjectFlow90.SetGuard(Signal_Assembly_A_AClassifierBehavior_ObjectFlow90_LiteralBoolean92); + Signal_Assembly_A_AClassifierBehavior.AddEdge(Signal_Assembly_A_AClassifierBehavior_ObjectFlow90); + // ObjectFlow ObjectFlow94 from result to object + Signal_Assembly_A_AClassifierBehavior_ObjectFlow94.SetName("ObjectFlow94"); + Signal_Assembly_A_AClassifierBehavior_ObjectFlow94.SetVisibility(VisibilityKind.public_); + + Signal_Assembly_A_AClassifierBehavior_ObjectFlow94.SetSource(Signal_Assembly_A_AClassifierBehavior_this_result); + Signal_Assembly_A_AClassifierBehavior_ObjectFlow94.SetTarget(Signal_Assembly_A_AClassifierBehavior_Set_v_object); + // LiteralBoolean LiteralBoolean95 + Signal_Assembly_A_AClassifierBehavior_ObjectFlow94_LiteralBoolean95.SetName("LiteralBoolean95"); + Signal_Assembly_A_AClassifierBehavior_ObjectFlow94_LiteralBoolean95.SetVisibility(VisibilityKind.public_); + Signal_Assembly_A_AClassifierBehavior_ObjectFlow94_LiteralBoolean95.SetValue(true); + Signal_Assembly_A_AClassifierBehavior_ObjectFlow94.SetGuard(Signal_Assembly_A_AClassifierBehavior_ObjectFlow94_LiteralBoolean95); + Signal_Assembly_A_AClassifierBehavior.AddEdge(Signal_Assembly_A_AClassifierBehavior_ObjectFlow94); + // ObjectFlow ObjectFlow97 from value to value + Signal_Assembly_A_AClassifierBehavior_ObjectFlow97.SetName("ObjectFlow97"); + Signal_Assembly_A_AClassifierBehavior_ObjectFlow97.SetVisibility(VisibilityKind.public_); + + Signal_Assembly_A_AClassifierBehavior_ObjectFlow97.SetSource(Signal_Assembly_A_AClassifierBehavior_Accept_S_value); + Signal_Assembly_A_AClassifierBehavior_ObjectFlow97.SetTarget(Signal_Assembly_A_AClassifierBehavior_Set_v_value); + // LiteralBoolean LiteralBoolean98 + Signal_Assembly_A_AClassifierBehavior_ObjectFlow97_LiteralBoolean98.SetName("LiteralBoolean98"); + Signal_Assembly_A_AClassifierBehavior_ObjectFlow97_LiteralBoolean98.SetVisibility(VisibilityKind.public_); + Signal_Assembly_A_AClassifierBehavior_ObjectFlow97_LiteralBoolean98.SetValue(true); + Signal_Assembly_A_AClassifierBehavior_ObjectFlow97.SetGuard(Signal_Assembly_A_AClassifierBehavior_ObjectFlow97_LiteralBoolean98); + Signal_Assembly_A_AClassifierBehavior.AddEdge(Signal_Assembly_A_AClassifierBehavior_ObjectFlow97); + // ControlFlow ControlFlow100 from Accept S to this + Signal_Assembly_A_AClassifierBehavior_ControlFlow100.SetName("ControlFlow100"); + Signal_Assembly_A_AClassifierBehavior_ControlFlow100.SetVisibility(VisibilityKind.public_); + + Signal_Assembly_A_AClassifierBehavior_ControlFlow100.SetSource(Signal_Assembly_A_AClassifierBehavior_Accept_S); + Signal_Assembly_A_AClassifierBehavior_ControlFlow100.SetTarget(Signal_Assembly_A_AClassifierBehavior_this); + Signal_Assembly_A_AClassifierBehavior.AddEdge(Signal_Assembly_A_AClassifierBehavior_ControlFlow100); + // ControlFlow ControlFlow107 from Send Continue to ActivityFinalNode93 + Signal_Assembly_A_AClassifierBehavior_ControlFlow107.SetName("ControlFlow107"); + Signal_Assembly_A_AClassifierBehavior_ControlFlow107.SetVisibility(VisibilityKind.public_); + + Signal_Assembly_A_AClassifierBehavior_ControlFlow107.SetSource(Signal_Assembly_A_AClassifierBehavior_Send_Continue); + Signal_Assembly_A_AClassifierBehavior_ControlFlow107.SetTarget(Signal_Assembly_A_AClassifierBehavior_ActivityFinalNode93); + Signal_Assembly_A_AClassifierBehavior.AddEdge(Signal_Assembly_A_AClassifierBehavior_ControlFlow107); + Signal_Assembly_A.AddOwnedBehavior(Signal_Assembly_A_AClassifierBehavior); + + Signal_Assembly_A.SetIsActive(true); + // Operation A_A + Signal_Assembly_A_A_A.SetName("A_A"); + Signal_Assembly_A_A_A.SetVisibility(VisibilityKind.public_); + // Parameter result + Signal_Assembly_A_A_A_result.SetName("result"); + Signal_Assembly_A_A_A_result.SetVisibility(VisibilityKind.public_); + + Signal_Assembly_A_A_A_result.SetType(Signal_Assembly_A); + Signal_Assembly_A_A_A_result.SetDirection(ParameterDirectionKind.return_); + Signal_Assembly_A_A_A.AddOwnedParameter(Signal_Assembly_A_A_A_result); + Signal_Assembly_A_A_A.ApplyStereotype(uml.standardprofile.StandardProfileModel.Instance().Stereotype_Create); + Signal_Assembly_A.AddOwnedOperation(Signal_Assembly_A_A_A); + Signal_Assembly.AddPackagedElement(Signal_Assembly_A); + } + + /* Start of user code : User-defined members + * This section may be used for user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } // Signal_AssemblyModel +} diff --git a/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/07_Signal_Assembly/src/testVExecution.cs b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/07_Signal_Assembly/src/testVExecution.cs new file mode 100644 index 0000000..6512e48 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/07_Signal_Assembly/src/testVExecution.cs @@ -0,0 +1,78 @@ +/* + * testVExecution.cs + * + * Auto-generated file + */ + +using fuml.semantics.commonbehavior; +using fuml; +using fuml.semantics.simpleclassifiers; +using fuml.semantics.values; + +/* Start of user code : User-defined includes and forward declarations + * This section may be used for includes and forward declarations. + * It will not be overwritten by future generation processes. + */ + +/* + * End of user code + */ + +namespace Signal_Assembly +{ + public class testVExecution : OpaqueBehaviorExecution + { + public testVExecution() + { + types.Add(Signal_AssemblyModel.Instance().Signal_Assembly_TestCaseAssembly_testActivity_testV); + /* Start of user code : Additional opaque behavior execution initializations + * This section may be used to do any additional opaque behavior execution initialization, + * for example initializing user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } + + public override void DoBody(List inputParameters, List outputParameters) + { + Console.WriteLine("Asserting a.v == 4"); + + // Test parameter v + int v = ((IntegerValue)inputParameters.ElementAt(0).values.ElementAt(0)).value; + Debug.Println("[doBody] argument v = " + v); + + Console.WriteLine("a.v == " + v); + Console.Write("Signal correctly sent and received: "); + + if(v == 4) + { + Console.ForegroundColor = ConsoleColor.Green; + Console.WriteLine("Assertion successful."); + } + else + { + Console.ForegroundColor = ConsoleColor.Red; + Console.WriteLine("Assertion failed!"); + } + + Console.ResetColor(); + } + + protected override Value New_() + { + return new testVExecution(); + } + + /* Start of user code : User-defined members + * This section may be used for user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } // testVExecution +} diff --git a/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/08_Signal_AssemblyAndDelegation/.gitignore b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/08_Signal_AssemblyAndDelegation/.gitignore new file mode 100644 index 0000000..1736844 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/08_Signal_AssemblyAndDelegation/.gitignore @@ -0,0 +1,3 @@ +/.vs/ +/bin/ +/obj/ diff --git a/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/08_Signal_AssemblyAndDelegation/Properties/launchSettings.json b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/08_Signal_AssemblyAndDelegation/Properties/launchSettings.json new file mode 100644 index 0000000..189b937 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/08_Signal_AssemblyAndDelegation/Properties/launchSettings.json @@ -0,0 +1,8 @@ +{ + "profiles": { + "Signal_AssemblyAndDelegation": { + "commandName": "Project", + "commandLineArgs": "main" + } + } +} \ No newline at end of file diff --git a/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/08_Signal_AssemblyAndDelegation/Signal_AssemblyAndDelegation.csproj b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/08_Signal_AssemblyAndDelegation/Signal_AssemblyAndDelegation.csproj new file mode 100644 index 0000000..ff5fe6f --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/08_Signal_AssemblyAndDelegation/Signal_AssemblyAndDelegation.csproj @@ -0,0 +1,50 @@ + + + + Exe + net6.0 + enable + enable + + + + Signal_AssemblyAndDelegation.Debug + + + Signal_AssemblyAndDelegation.Release + + + + + ..\..\..\..\uml\bin\Debug\net6.0\uml.Debug.dll + + + + + ..\..\..\..\uml\bin\Release\net6.0\uml.Release.dll + + + + + + ..\..\..\..\fuml\bin\Debug\net6.0\fuml.Debug.dll + + + + + ..\..\..\..\fuml\bin\Release\net6.0\fuml.Release.dll + + + + + + ..\..\..\..\pscs\bin\Debug\net6.0\pscs.Debug.dll + + + + + ..\..\..\..\pscs\bin\Release\net6.0\pscs.Release.dll + + + + diff --git a/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/08_Signal_AssemblyAndDelegation/Signal_AssemblyAndDelegation.sln b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/08_Signal_AssemblyAndDelegation/Signal_AssemblyAndDelegation.sln new file mode 100644 index 0000000..f56a729 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/08_Signal_AssemblyAndDelegation/Signal_AssemblyAndDelegation.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.32112.339 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Signal_AssemblyAndDelegation", "Signal_AssemblyAndDelegation.csproj", "{2BC4B881-B9D8-4E89-AA8F-4D8DA1DACBD7}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {2BC4B881-B9D8-4E89-AA8F-4D8DA1DACBD7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {2BC4B881-B9D8-4E89-AA8F-4D8DA1DACBD7}.Debug|Any CPU.Build.0 = Debug|Any CPU + {2BC4B881-B9D8-4E89-AA8F-4D8DA1DACBD7}.Release|Any CPU.ActiveCfg = Release|Any CPU + {2BC4B881-B9D8-4E89-AA8F-4D8DA1DACBD7}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {AB78263A-7C30-4F86-B882-2BDCF7111F70} + EndGlobalSection +EndGlobal diff --git a/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/08_Signal_AssemblyAndDelegation/model/Signal_AssemblyAndDelegation.di b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/08_Signal_AssemblyAndDelegation/model/Signal_AssemblyAndDelegation.di new file mode 100644 index 0000000..bf9abab --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/08_Signal_AssemblyAndDelegation/model/Signal_AssemblyAndDelegation.di @@ -0,0 +1,2 @@ + + diff --git a/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/08_Signal_AssemblyAndDelegation/model/Signal_AssemblyAndDelegation.notation b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/08_Signal_AssemblyAndDelegation/model/Signal_AssemblyAndDelegation.notation new file mode 100644 index 0000000..112cdc0 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/08_Signal_AssemblyAndDelegation/model/Signal_AssemblyAndDelegation.notation @@ -0,0 +1,1412 @@ + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/08_Signal_AssemblyAndDelegation/model/Signal_AssemblyAndDelegation.uml b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/08_Signal_AssemblyAndDelegation/model/Signal_AssemblyAndDelegation.uml new file mode 100644 index 0000000..15d92f3 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/08_Signal_AssemblyAndDelegation/model/Signal_AssemblyAndDelegation.uml @@ -0,0 +1,376 @@ + + + + + This test case addresses sending of a signal on a Port. As compared to test case of 9.5.7, this test case implies a chain of +delegation and assembly connectors. + + + Passing: false + + + + + + + + + + + + + + + + + + C# + Using + Console.WriteLine("Asserting b.a.v == 4"); + + // Test parameter v + int v = ((IntegerValue)inputParameters.ElementAt(0).values.ElementAt(0)).value; + Debug.Println("[doBody] argument v = " + v); + + Console.WriteLine("b.a.v == " + v); + Console.Write("Signal correctly sent and received: "); + + if(v == 4) + { + Console.ForegroundColor = ConsoleColor.Green; + Console.WriteLine("Assertion successful."); + } + else + { + Console.ForegroundColor = ConsoleColor.Red; + Console.WriteLine("Assertion failed!"); + } + + Console.ResetColor(); + using fuml.semantics.simpleclassifiers; + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/08_Signal_AssemblyAndDelegation/src/Signal_AssemblyAndDelegation.cs b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/08_Signal_AssemblyAndDelegation/src/Signal_AssemblyAndDelegation.cs new file mode 100644 index 0000000..36dee1b --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/08_Signal_AssemblyAndDelegation/src/Signal_AssemblyAndDelegation.cs @@ -0,0 +1,31 @@ +namespace Signal_AssemblyAndDelegation +{ + internal class Signal_AssemblyAndDelegation + { + static void PrintUsage() + { + Console.WriteLine( + "=============================================================================================\n" + + "USAGE: [ <...>]\n" + + "=============================================================================================\n" + ); + } + + static int Main(string[] args) + { + if(args.Length == 0) + { + Console.WriteLine("[ERROR] Must declare at least one behavior name.\n"); + PrintUsage(); + return -1; + } + + foreach (string arg in args) + { + Signal_AssemblyAndDelegationEnvironment.Instance().Execute(arg); + } + + return 0; + } + } +} diff --git a/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/08_Signal_AssemblyAndDelegation/src/Signal_AssemblyAndDelegationEnvironment.cs b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/08_Signal_AssemblyAndDelegation/src/Signal_AssemblyAndDelegationEnvironment.cs new file mode 100644 index 0000000..590af75 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/08_Signal_AssemblyAndDelegation/src/Signal_AssemblyAndDelegationEnvironment.cs @@ -0,0 +1,93 @@ +/* + * Signal_AssemblyAndDelegationEnvironment.cs + * + * Auto-generated file + */ + +/* Start of user code : User-defined using directives + * This section may be used for using directives. + * It will not be overwritten by future generation processes. + */ + +/* + * End of user code + */ + +namespace Signal_AssemblyAndDelegation +{ + public class Signal_AssemblyAndDelegationEnvironment : pscs.environment.Environment + { + private static Signal_AssemblyAndDelegationEnvironment? instance; + + public static Signal_AssemblyAndDelegationEnvironment Instance() + { + if(instance is null) + { + instance = new(); + instance.inMemoryModel = Signal_AssemblyAndDelegationModel.Instance(); + } + + return instance; + } + + public Signal_AssemblyAndDelegationEnvironment() + { + /* + * Create custom opaque behavior execution instances and add them to the execution environment. + */ + AddPrimitiveBehaviorPrototype(new testVExecution()); + + /* Start of user code : Additional environment initializations + * This section may be used to do any additional environment initialization, + * for example initializing user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } + + public override void Execute(string behaviorName) + { + /* Start of user code : Context and inputs initializations + * This section may be used to initialize the execution context + * as well as input parameter values if required. + * It will not be overwritten by future generation processes. + */ + + //context = ...; + //inputs = ...; + + /* + * End of user code + */ + + /* + * Start execution via base class call + */ + base.Execute(behaviorName); + + /* Start of user code : Outputs evaluation + * This section may be used to evaluate output parameter values if required. + * It will not be overwritten by future generation processes. + */ + + //List theOutputs = outputs; + //... + + /* + * End of user code + */ + } + + /* Start of user code : User-defined members + * This section may be used for user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } // Signal_AssemblyAndDelegationEnvironment +} diff --git a/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/08_Signal_AssemblyAndDelegation/src/Signal_AssemblyAndDelegationModel.cs b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/08_Signal_AssemblyAndDelegation/src/Signal_AssemblyAndDelegationModel.cs new file mode 100644 index 0000000..d3dab13 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/08_Signal_AssemblyAndDelegation/src/Signal_AssemblyAndDelegationModel.cs @@ -0,0 +1,1355 @@ +/* + * Signal_AssemblyAndDelegationModel.cs + * + * Auto-generated file + */ + +using uml.actions; +using uml.packages; +using uml.structuredclassifiers; +using fuml.primitivetypes; +using uml.classification; +using fuml.library; +using uml.simpleclassifiers; +using uml.commonbehavior; +using uml.commonstructure; +using uml.values; +using uml.activities; +using uml.environment; + + +/* Start of user code : User-defined includes and forward declarations + * This section may be used for includes and forward declarations. + * It will not be overwritten by future generation processes. + */ + +/* + * End of user code + */ + +namespace Signal_AssemblyAndDelegation +{ + public class Signal_AssemblyAndDelegationModel : InMemoryModel + { + private static Signal_AssemblyAndDelegationModel? instance; + + /* + * Model Signal_AssemblyAndDelegation + */ + public Package Signal_AssemblyAndDelegation = new(); + public Activity Signal_AssemblyAndDelegation_main = new(); + public SendSignalAction Signal_AssemblyAndDelegation_main_Send_Start = new(); + public InputPin Signal_AssemblyAndDelegation_main_Send_Start_testCase = new(); + public LiteralUnlimitedNatural Signal_AssemblyAndDelegation_main_Send_Start_testCase_LiteralUnlimitedNatural0 = new(); + public LiteralInteger Signal_AssemblyAndDelegation_main_Send_Start_testCase_LiteralInteger1 = new(); + public LiteralInteger Signal_AssemblyAndDelegation_main_Send_Start_testCase_LiteralInteger2 = new(); + public InputPin Signal_AssemblyAndDelegation_main_Send_Start_target = new(); + public LiteralInteger Signal_AssemblyAndDelegation_main_Send_Start_target_LiteralInteger3 = new(); + public LiteralUnlimitedNatural Signal_AssemblyAndDelegation_main_Send_Start_target_LiteralUnlimitedNatural4 = new(); + public CallOperationAction Signal_AssemblyAndDelegation_main_TestCaseAssembly_ = new(); + public InputPin Signal_AssemblyAndDelegation_main_TestCaseAssembly__target = new(); + public LiteralUnlimitedNatural Signal_AssemblyAndDelegation_main_TestCaseAssembly__target_LiteralUnlimitedNatural5 = new(); + public LiteralInteger Signal_AssemblyAndDelegation_main_TestCaseAssembly__target_LiteralInteger6 = new(); + public OutputPin Signal_AssemblyAndDelegation_main_TestCaseAssembly__result = new(); + public LiteralInteger Signal_AssemblyAndDelegation_main_TestCaseAssembly__result_LiteralInteger7 = new(); + public LiteralInteger Signal_AssemblyAndDelegation_main_TestCaseAssembly__result_LiteralInteger8 = new(); + public LiteralUnlimitedNatural Signal_AssemblyAndDelegation_main_TestCaseAssembly__result_LiteralUnlimitedNatural9 = new(); + public CreateObjectAction Signal_AssemblyAndDelegation_main_Create_TestCaseAssembly = new(); + public OutputPin Signal_AssemblyAndDelegation_main_Create_TestCaseAssembly_result = new(); + public LiteralInteger Signal_AssemblyAndDelegation_main_Create_TestCaseAssembly_result_LiteralInteger10 = new(); + public LiteralUnlimitedNatural Signal_AssemblyAndDelegation_main_Create_TestCaseAssembly_result_LiteralUnlimitedNatural11 = new(); + public ObjectFlow Signal_AssemblyAndDelegation_main_ObjectFlow12 = new(); + public LiteralInteger Signal_AssemblyAndDelegation_main_ObjectFlow12_LiteralInteger13 = new(); + public LiteralBoolean Signal_AssemblyAndDelegation_main_ObjectFlow12_LiteralBoolean14 = new(); + public ObjectFlow Signal_AssemblyAndDelegation_main_ObjectFlow15 = new(); + public LiteralInteger Signal_AssemblyAndDelegation_main_ObjectFlow15_LiteralInteger16 = new(); + public LiteralBoolean Signal_AssemblyAndDelegation_main_ObjectFlow15_LiteralBoolean17 = new(); + public ObjectFlow Signal_AssemblyAndDelegation_main_ObjectFlow18 = new(); + public LiteralInteger Signal_AssemblyAndDelegation_main_ObjectFlow18_LiteralInteger19 = new(); + public LiteralBoolean Signal_AssemblyAndDelegation_main_ObjectFlow18_LiteralBoolean20 = new(); + public ForkNode Signal_AssemblyAndDelegation_main_Fork_testCase = new(); + public ObjectFlow Signal_AssemblyAndDelegation_main_ObjectFlow21 = new(); + public LiteralBoolean Signal_AssemblyAndDelegation_main_ObjectFlow21_LiteralBoolean22 = new(); + public LiteralInteger Signal_AssemblyAndDelegation_main_ObjectFlow21_LiteralInteger23 = new(); + public ObjectFlow Signal_AssemblyAndDelegation_main_ObjectFlow24 = new(); + public LiteralInteger Signal_AssemblyAndDelegation_main_ObjectFlow24_LiteralInteger25 = new(); + public LiteralBoolean Signal_AssemblyAndDelegation_main_ObjectFlow24_LiteralBoolean26 = new(); + public ObjectFlow Signal_AssemblyAndDelegation_main_ObjectFlow27 = new(); + public LiteralInteger Signal_AssemblyAndDelegation_main_ObjectFlow27_LiteralInteger28 = new(); + public LiteralBoolean Signal_AssemblyAndDelegation_main_ObjectFlow27_LiteralBoolean29 = new(); + public ReadStructuralFeatureAction Signal_AssemblyAndDelegation_main_Read_TestCaseAssembly_c = new(); + public InputPin Signal_AssemblyAndDelegation_main_Read_TestCaseAssembly_c_object = new(); + public LiteralUnlimitedNatural Signal_AssemblyAndDelegation_main_Read_TestCaseAssembly_c_object_LiteralUnlimitedNatural30 = new(); + public LiteralInteger Signal_AssemblyAndDelegation_main_Read_TestCaseAssembly_c_object_LiteralInteger31 = new(); + public OutputPin Signal_AssemblyAndDelegation_main_Read_TestCaseAssembly_c_result = new(); + public LiteralUnlimitedNatural Signal_AssemblyAndDelegation_main_Read_TestCaseAssembly_c_result_LiteralUnlimitedNatural32 = new(); + public LiteralInteger Signal_AssemblyAndDelegation_main_Read_TestCaseAssembly_c_result_LiteralInteger33 = new(); + public ReadStructuralFeatureAction Signal_AssemblyAndDelegation_main_Read_c_tester = new(); + public InputPin Signal_AssemblyAndDelegation_main_Read_c_tester_object = new(); + public LiteralUnlimitedNatural Signal_AssemblyAndDelegation_main_Read_c_tester_object_LiteralUnlimitedNatural34 = new(); + public LiteralInteger Signal_AssemblyAndDelegation_main_Read_c_tester_object_LiteralInteger35 = new(); + public OutputPin Signal_AssemblyAndDelegation_main_Read_c_tester_result = new(); + public LiteralUnlimitedNatural Signal_AssemblyAndDelegation_main_Read_c_tester_result_LiteralUnlimitedNatural36 = new(); + public LiteralInteger Signal_AssemblyAndDelegation_main_Read_c_tester_result_LiteralInteger37 = new(); + public SignalEvent Signal_AssemblyAndDelegation_StartEvent = new(); + public Class_ Signal_AssemblyAndDelegation_B = new(); + public Connector Signal_AssemblyAndDelegation_B_r = new(); + public ConnectorEnd Signal_AssemblyAndDelegation_B_r_ConnectorEnd38 = new(); + public ConnectorEnd Signal_AssemblyAndDelegation_B_r_ConnectorEnd39 = new(); + public Property Signal_AssemblyAndDelegation_B_a = new(); + public Port Signal_AssemblyAndDelegation_B_p = new(); + public Class_ Signal_AssemblyAndDelegation_I = new(); + public SignalEvent Signal_AssemblyAndDelegation_SEvent = new(); + public Signal Signal_AssemblyAndDelegation_S = new(); + public Property Signal_AssemblyAndDelegation_S_value = new(); + public Class_ Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation = new(); + public Property Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_b = new(); + public Property Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_c = new(); + public Operation Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_TestCaseAssemblyAndDelegation_TestCaseAssemblyAndDelegation = new(); + public Parameter Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_TestCaseAssemblyAndDelegation_TestCaseAssemblyAndDelegation_result = new(); + public Connector Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_r = new(); + public ConnectorEnd Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_r_ConnectorEnd40 = new(); + public ConnectorEnd Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_r_ConnectorEnd41 = new(); + public Activity Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity = new(); + public ReadStructuralFeatureAction Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_Read_b_a = new(); + public OutputPin Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_Read_b_a_result = new(); + public LiteralUnlimitedNatural Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_Read_b_a_result_LiteralUnlimitedNatural42 = new(); + public LiteralInteger Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_Read_b_a_result_LiteralInteger43 = new(); + public InputPin Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_Read_b_a_object = new(); + public LiteralUnlimitedNatural Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_Read_b_a_object_LiteralUnlimitedNatural44 = new(); + public LiteralInteger Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_Read_b_a_object_LiteralInteger45 = new(); + public OpaqueBehavior Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_testV = new(); + public Parameter Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_testV_v = new(); + public ObjectFlow Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_ObjectFlow46 = new(); + public LiteralInteger Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_ObjectFlow46_LiteralInteger47 = new(); + public LiteralBoolean Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_ObjectFlow46_LiteralBoolean48 = new(); + public CallBehaviorAction Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_Call_testV = new(); + public InputPin Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_Call_testV_v = new(); + public LiteralInteger Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_Call_testV_v_LiteralInteger49 = new(); + public LiteralUnlimitedNatural Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_Call_testV_v_LiteralUnlimitedNatural50 = new(); + public LiteralInteger Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_Call_testV_v_LiteralInteger51 = new(); + public ObjectFlow Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_ObjectFlow52 = new(); + public LiteralInteger Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_ObjectFlow52_LiteralInteger53 = new(); + public LiteralBoolean Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_ObjectFlow52_LiteralBoolean54 = new(); + public ReadSelfAction Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_this = new(); + public OutputPin Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_this_result = new(); + public LiteralInteger Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_this_result_LiteralInteger55 = new(); + public LiteralUnlimitedNatural Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_this_result_LiteralUnlimitedNatural56 = new(); + public ReadStructuralFeatureAction Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_Read_a_v = new(); + public OutputPin Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_Read_a_v_result = new(); + public LiteralUnlimitedNatural Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_Read_a_v_result_LiteralUnlimitedNatural57 = new(); + public LiteralInteger Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_Read_a_v_result_LiteralInteger58 = new(); + public InputPin Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_Read_a_v_object = new(); + public LiteralUnlimitedNatural Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_Read_a_v_object_LiteralUnlimitedNatural59 = new(); + public LiteralInteger Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_Read_a_v_object_LiteralInteger60 = new(); + public ObjectFlow Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_ObjectFlow61 = new(); + public LiteralInteger Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_ObjectFlow61_LiteralInteger62 = new(); + public LiteralBoolean Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_ObjectFlow61_LiteralBoolean63 = new(); + public ObjectFlow Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_ObjectFlow64 = new(); + public LiteralInteger Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_ObjectFlow64_LiteralInteger65 = new(); + public LiteralBoolean Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_ObjectFlow64_LiteralBoolean66 = new(); + public ReadStructuralFeatureAction Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_Read_this_b = new(); + public InputPin Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_Read_this_b_object = new(); + public LiteralInteger Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_Read_this_b_object_LiteralInteger67 = new(); + public LiteralUnlimitedNatural Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_Read_this_b_object_LiteralUnlimitedNatural68 = new(); + public OutputPin Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_Read_this_b_result = new(); + public LiteralInteger Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_Read_this_b_result_LiteralInteger69 = new(); + public LiteralUnlimitedNatural Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_Read_this_b_result_LiteralUnlimitedNatural70 = new(); + public Generalization Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_Generalization71 = new(); + public Operation Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_test = new(); + public Class_ Signal_AssemblyAndDelegation_A = new(); + public Port Signal_AssemblyAndDelegation_A_p = new(); + public Operation Signal_AssemblyAndDelegation_A_A_A = new(); + public Parameter Signal_AssemblyAndDelegation_A_A_A_result = new(); + public Property Signal_AssemblyAndDelegation_A_v = new(); + public Activity Signal_AssemblyAndDelegation_A_AClassifierBehavior = new(); + public ControlFlow Signal_AssemblyAndDelegation_A_AClassifierBehavior_ControlFlow72 = new(); + public ReadSelfAction Signal_AssemblyAndDelegation_A_AClassifierBehavior_this = new(); + public OutputPin Signal_AssemblyAndDelegation_A_AClassifierBehavior_this_result = new(); + public LiteralInteger Signal_AssemblyAndDelegation_A_AClassifierBehavior_this_result_LiteralInteger73 = new(); + public LiteralUnlimitedNatural Signal_AssemblyAndDelegation_A_AClassifierBehavior_this_result_LiteralUnlimitedNatural74 = new(); + public ObjectFlow Signal_AssemblyAndDelegation_A_AClassifierBehavior_ObjectFlow75 = new(); + public LiteralInteger Signal_AssemblyAndDelegation_A_AClassifierBehavior_ObjectFlow75_LiteralInteger76 = new(); + public LiteralBoolean Signal_AssemblyAndDelegation_A_AClassifierBehavior_ObjectFlow75_LiteralBoolean77 = new(); + public SendSignalAction Signal_AssemblyAndDelegation_A_AClassifierBehavior_Send_Continue = new(); + public InputPin Signal_AssemblyAndDelegation_A_AClassifierBehavior_Send_Continue_target = new(); + public LiteralInteger Signal_AssemblyAndDelegation_A_AClassifierBehavior_Send_Continue_target_LiteralInteger78 = new(); + public LiteralUnlimitedNatural Signal_AssemblyAndDelegation_A_AClassifierBehavior_Send_Continue_target_LiteralUnlimitedNatural79 = new(); + public ActivityFinalNode Signal_AssemblyAndDelegation_A_AClassifierBehavior_ActivityFinalNode80 = new(); + public ObjectFlow Signal_AssemblyAndDelegation_A_AClassifierBehavior_ObjectFlow81 = new(); + public LiteralInteger Signal_AssemblyAndDelegation_A_AClassifierBehavior_ObjectFlow81_LiteralInteger82 = new(); + public LiteralBoolean Signal_AssemblyAndDelegation_A_AClassifierBehavior_ObjectFlow81_LiteralBoolean83 = new(); + public ControlFlow Signal_AssemblyAndDelegation_A_AClassifierBehavior_ControlFlow84 = new(); + public AcceptEventAction Signal_AssemblyAndDelegation_A_AClassifierBehavior_Accept_S = new(); + public OutputPin Signal_AssemblyAndDelegation_A_AClassifierBehavior_Accept_S_value = new(); + public LiteralInteger Signal_AssemblyAndDelegation_A_AClassifierBehavior_Accept_S_value_LiteralInteger85 = new(); + public LiteralInteger Signal_AssemblyAndDelegation_A_AClassifierBehavior_Accept_S_value_LiteralInteger86 = new(); + public LiteralUnlimitedNatural Signal_AssemblyAndDelegation_A_AClassifierBehavior_Accept_S_value_LiteralUnlimitedNatural87 = new(); + public Trigger Signal_AssemblyAndDelegation_A_AClassifierBehavior_Accept_S_Trigger88 = new(); + public ObjectFlow Signal_AssemblyAndDelegation_A_AClassifierBehavior_ObjectFlow89 = new(); + public LiteralBoolean Signal_AssemblyAndDelegation_A_AClassifierBehavior_ObjectFlow89_LiteralBoolean90 = new(); + public LiteralInteger Signal_AssemblyAndDelegation_A_AClassifierBehavior_ObjectFlow89_LiteralInteger91 = new(); + public AddStructuralFeatureValueAction Signal_AssemblyAndDelegation_A_AClassifierBehavior_Set_v = new(); + public InputPin Signal_AssemblyAndDelegation_A_AClassifierBehavior_Set_v_object = new(); + public LiteralUnlimitedNatural Signal_AssemblyAndDelegation_A_AClassifierBehavior_Set_v_object_LiteralUnlimitedNatural92 = new(); + public LiteralInteger Signal_AssemblyAndDelegation_A_AClassifierBehavior_Set_v_object_LiteralInteger93 = new(); + public InputPin Signal_AssemblyAndDelegation_A_AClassifierBehavior_Set_v_value = new(); + public LiteralUnlimitedNatural Signal_AssemblyAndDelegation_A_AClassifierBehavior_Set_v_value_LiteralUnlimitedNatural94 = new(); + public LiteralInteger Signal_AssemblyAndDelegation_A_AClassifierBehavior_Set_v_value_LiteralInteger95 = new(); + public OutputPin Signal_AssemblyAndDelegation_A_AClassifierBehavior_Set_v_result = new(); + public LiteralUnlimitedNatural Signal_AssemblyAndDelegation_A_AClassifierBehavior_Set_v_result_LiteralUnlimitedNatural96 = new(); + public LiteralInteger Signal_AssemblyAndDelegation_A_AClassifierBehavior_Set_v_result_LiteralInteger97 = new(); + public Signal Signal_AssemblyAndDelegation_Continue = new(); + public SignalEvent Signal_AssemblyAndDelegation_ContinueEvent = new(); + public Class_ Signal_AssemblyAndDelegation_C = new(); + public Port Signal_AssemblyAndDelegation_C_q = new(); + public Property Signal_AssemblyAndDelegation_C_tester = new(); + public Connector Signal_AssemblyAndDelegation_C_r = new(); + public ConnectorEnd Signal_AssemblyAndDelegation_C_r_ConnectorEnd98 = new(); + public ConnectorEnd Signal_AssemblyAndDelegation_C_r_ConnectorEnd99 = new(); + public Class_ Signal_AssemblyAndDelegation_TestCase = new(); + public Operation Signal_AssemblyAndDelegation_TestCase_test = new(); + public Association Signal_AssemblyAndDelegation_R = new(); + public Property Signal_AssemblyAndDelegation_R_x = new(); + public Property Signal_AssemblyAndDelegation_R_y = new(); + public Signal Signal_AssemblyAndDelegation_Start = new(); + public Property Signal_AssemblyAndDelegation_Start_testCase = new(); + public Class_ Signal_AssemblyAndDelegation_Tester = new(); + public Reception Signal_AssemblyAndDelegation_Tester_Start = new(); + public Port Signal_AssemblyAndDelegation_Tester_q = new(); + public Activity Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior = new(); + public ControlFlow Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_ControlFlow100 = new(); + public ControlFlow Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_ControlFlow101 = new(); + public ValueSpecificationAction Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_Value_4 = new(); + public OutputPin Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_Value_4_result = new(); + public LiteralInteger Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_Value_4_result_LiteralInteger102 = new(); + public LiteralUnlimitedNatural Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_Value_4_result_LiteralUnlimitedNatural103 = new(); + public LiteralInteger Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_Value_4_LiteralInteger104 = new(); + public AcceptEventAction Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_Accept_Continue = new(); + public Trigger Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_Accept_Continue_Trigger105 = new(); + public OutputPin Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_Accept_Continue_result = new(); + public LiteralInteger Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_Accept_Continue_result_LiteralInteger106 = new(); + public LiteralInteger Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_Accept_Continue_result_LiteralInteger107 = new(); + public LiteralUnlimitedNatural Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_Accept_Continue_result_LiteralUnlimitedNatural108 = new(); + public ObjectFlow Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_ObjectFlow109 = new(); + public LiteralBoolean Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_ObjectFlow109_LiteralBoolean110 = new(); + public LiteralInteger Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_ObjectFlow109_LiteralInteger111 = new(); + public ControlFlow Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_ControlFlow112 = new(); + public CallOperationAction Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_Call_test_ = new(); + public InputPin Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_Call_test__target = new(); + public LiteralInteger Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_Call_test__target_LiteralInteger113 = new(); + public LiteralUnlimitedNatural Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_Call_test__target_LiteralUnlimitedNatural114 = new(); + public ControlFlow Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_ControlFlow115 = new(); + public ObjectFlow Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_ObjectFlow116 = new(); + public LiteralInteger Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_ObjectFlow116_LiteralInteger117 = new(); + public LiteralBoolean Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_ObjectFlow116_LiteralBoolean118 = new(); + public ActivityFinalNode Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_ActivityFinalNode119 = new(); + public AcceptEventAction Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_Accept_Start = new(); + public Trigger Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_Accept_Start_Trigger120 = new(); + public OutputPin Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_Accept_Start_testCase = new(); + public LiteralInteger Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_Accept_Start_testCase_LiteralInteger121 = new(); + public LiteralInteger Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_Accept_Start_testCase_LiteralInteger122 = new(); + public LiteralUnlimitedNatural Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_Accept_Start_testCase_LiteralUnlimitedNatural123 = new(); + public SendSignalAction Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_Send_S = new(); + public InputPin Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_Send_S_target = new(); + public LiteralInteger Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_Send_S_target_LiteralInteger124 = new(); + public LiteralUnlimitedNatural Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_Send_S_target_LiteralUnlimitedNatural125 = new(); + public InputPin Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_Send_S_value = new(); + public LiteralInteger Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_Send_S_value_LiteralInteger126 = new(); + public LiteralInteger Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_Send_S_value_LiteralInteger127 = new(); + public LiteralUnlimitedNatural Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_Send_S_value_LiteralUnlimitedNatural128 = new(); + public ObjectFlow Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_ObjectFlow129 = new(); + public LiteralBoolean Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_ObjectFlow129_LiteralBoolean130 = new(); + public LiteralInteger Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_ObjectFlow129_LiteralInteger131 = new(); + public ReadSelfAction Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_this = new(); + public OutputPin Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_this_result = new(); + public LiteralInteger Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_this_result_LiteralInteger132 = new(); + public LiteralUnlimitedNatural Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_this_result_LiteralUnlimitedNatural133 = new(); + public Operation Signal_AssemblyAndDelegation_Tester_Tester_Tester = new(); + public Parameter Signal_AssemblyAndDelegation_Tester_Tester_Tester_result = new(); + + public static Signal_AssemblyAndDelegationModel Instance() + { + if (instance is null) + { + instance = new(); + instance.InitializeInMemoryModel(); + } + + return instance; + } + + public Signal_AssemblyAndDelegationModel() + { + /* Start of user code : Additional model initializations + * This section may be used to do any additional model initialization, + * for example initializing user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } + + private void InitializeInMemoryModel() + { + // Create public members + /* + * Model Signal_AssemblyAndDelegation + */ + AddToElementRepository("Signal_AssemblyAndDelegation", Signal_AssemblyAndDelegation); + AddToElementRepository("main", Signal_AssemblyAndDelegation_main); + AddToElementRepository("Send Start", Signal_AssemblyAndDelegation_main_Send_Start); + AddToElementRepository("testCase", Signal_AssemblyAndDelegation_main_Send_Start_testCase); + AddToElementRepository("LiteralUnlimitedNatural0", Signal_AssemblyAndDelegation_main_Send_Start_testCase_LiteralUnlimitedNatural0); + AddToElementRepository("LiteralInteger1", Signal_AssemblyAndDelegation_main_Send_Start_testCase_LiteralInteger1); + AddToElementRepository("LiteralInteger2", Signal_AssemblyAndDelegation_main_Send_Start_testCase_LiteralInteger2); + AddToElementRepository("target", Signal_AssemblyAndDelegation_main_Send_Start_target); + AddToElementRepository("LiteralInteger3", Signal_AssemblyAndDelegation_main_Send_Start_target_LiteralInteger3); + AddToElementRepository("LiteralUnlimitedNatural4", Signal_AssemblyAndDelegation_main_Send_Start_target_LiteralUnlimitedNatural4); + AddToElementRepository("TestCaseAssembly()", Signal_AssemblyAndDelegation_main_TestCaseAssembly_); + AddToElementRepository("target", Signal_AssemblyAndDelegation_main_TestCaseAssembly__target); + AddToElementRepository("LiteralUnlimitedNatural5", Signal_AssemblyAndDelegation_main_TestCaseAssembly__target_LiteralUnlimitedNatural5); + AddToElementRepository("LiteralInteger6", Signal_AssemblyAndDelegation_main_TestCaseAssembly__target_LiteralInteger6); + AddToElementRepository("result", Signal_AssemblyAndDelegation_main_TestCaseAssembly__result); + AddToElementRepository("LiteralInteger7", Signal_AssemblyAndDelegation_main_TestCaseAssembly__result_LiteralInteger7); + AddToElementRepository("LiteralInteger8", Signal_AssemblyAndDelegation_main_TestCaseAssembly__result_LiteralInteger8); + AddToElementRepository("LiteralUnlimitedNatural9", Signal_AssemblyAndDelegation_main_TestCaseAssembly__result_LiteralUnlimitedNatural9); + AddToElementRepository("Create TestCaseAssembly", Signal_AssemblyAndDelegation_main_Create_TestCaseAssembly); + AddToElementRepository("result", Signal_AssemblyAndDelegation_main_Create_TestCaseAssembly_result); + AddToElementRepository("LiteralInteger10", Signal_AssemblyAndDelegation_main_Create_TestCaseAssembly_result_LiteralInteger10); + AddToElementRepository("LiteralUnlimitedNatural11", Signal_AssemblyAndDelegation_main_Create_TestCaseAssembly_result_LiteralUnlimitedNatural11); + AddToElementRepository("ObjectFlow12", Signal_AssemblyAndDelegation_main_ObjectFlow12); + AddToElementRepository("LiteralInteger13", Signal_AssemblyAndDelegation_main_ObjectFlow12_LiteralInteger13); + AddToElementRepository("LiteralBoolean14", Signal_AssemblyAndDelegation_main_ObjectFlow12_LiteralBoolean14); + AddToElementRepository("ObjectFlow15", Signal_AssemblyAndDelegation_main_ObjectFlow15); + AddToElementRepository("LiteralInteger16", Signal_AssemblyAndDelegation_main_ObjectFlow15_LiteralInteger16); + AddToElementRepository("LiteralBoolean17", Signal_AssemblyAndDelegation_main_ObjectFlow15_LiteralBoolean17); + AddToElementRepository("ObjectFlow18", Signal_AssemblyAndDelegation_main_ObjectFlow18); + AddToElementRepository("LiteralInteger19", Signal_AssemblyAndDelegation_main_ObjectFlow18_LiteralInteger19); + AddToElementRepository("LiteralBoolean20", Signal_AssemblyAndDelegation_main_ObjectFlow18_LiteralBoolean20); + AddToElementRepository("Fork testCase", Signal_AssemblyAndDelegation_main_Fork_testCase); + AddToElementRepository("ObjectFlow21", Signal_AssemblyAndDelegation_main_ObjectFlow21); + AddToElementRepository("LiteralBoolean22", Signal_AssemblyAndDelegation_main_ObjectFlow21_LiteralBoolean22); + AddToElementRepository("LiteralInteger23", Signal_AssemblyAndDelegation_main_ObjectFlow21_LiteralInteger23); + AddToElementRepository("ObjectFlow24", Signal_AssemblyAndDelegation_main_ObjectFlow24); + AddToElementRepository("LiteralInteger25", Signal_AssemblyAndDelegation_main_ObjectFlow24_LiteralInteger25); + AddToElementRepository("LiteralBoolean26", Signal_AssemblyAndDelegation_main_ObjectFlow24_LiteralBoolean26); + AddToElementRepository("ObjectFlow27", Signal_AssemblyAndDelegation_main_ObjectFlow27); + AddToElementRepository("LiteralInteger28", Signal_AssemblyAndDelegation_main_ObjectFlow27_LiteralInteger28); + AddToElementRepository("LiteralBoolean29", Signal_AssemblyAndDelegation_main_ObjectFlow27_LiteralBoolean29); + AddToElementRepository("Read TestCaseAssembly.c", Signal_AssemblyAndDelegation_main_Read_TestCaseAssembly_c); + AddToElementRepository("object", Signal_AssemblyAndDelegation_main_Read_TestCaseAssembly_c_object); + AddToElementRepository("LiteralUnlimitedNatural30", Signal_AssemblyAndDelegation_main_Read_TestCaseAssembly_c_object_LiteralUnlimitedNatural30); + AddToElementRepository("LiteralInteger31", Signal_AssemblyAndDelegation_main_Read_TestCaseAssembly_c_object_LiteralInteger31); + AddToElementRepository("result", Signal_AssemblyAndDelegation_main_Read_TestCaseAssembly_c_result); + AddToElementRepository("LiteralUnlimitedNatural32", Signal_AssemblyAndDelegation_main_Read_TestCaseAssembly_c_result_LiteralUnlimitedNatural32); + AddToElementRepository("LiteralInteger33", Signal_AssemblyAndDelegation_main_Read_TestCaseAssembly_c_result_LiteralInteger33); + AddToElementRepository("Read c.tester", Signal_AssemblyAndDelegation_main_Read_c_tester); + AddToElementRepository("object", Signal_AssemblyAndDelegation_main_Read_c_tester_object); + AddToElementRepository("LiteralUnlimitedNatural34", Signal_AssemblyAndDelegation_main_Read_c_tester_object_LiteralUnlimitedNatural34); + AddToElementRepository("LiteralInteger35", Signal_AssemblyAndDelegation_main_Read_c_tester_object_LiteralInteger35); + AddToElementRepository("result", Signal_AssemblyAndDelegation_main_Read_c_tester_result); + AddToElementRepository("LiteralUnlimitedNatural36", Signal_AssemblyAndDelegation_main_Read_c_tester_result_LiteralUnlimitedNatural36); + AddToElementRepository("LiteralInteger37", Signal_AssemblyAndDelegation_main_Read_c_tester_result_LiteralInteger37); + AddToElementRepository("StartEvent", Signal_AssemblyAndDelegation_StartEvent); + AddToElementRepository("B", Signal_AssemblyAndDelegation_B); + AddToElementRepository("r", Signal_AssemblyAndDelegation_B_r); + AddToElementRepository("ConnectorEnd38", Signal_AssemblyAndDelegation_B_r_ConnectorEnd38); + AddToElementRepository("ConnectorEnd39", Signal_AssemblyAndDelegation_B_r_ConnectorEnd39); + AddToElementRepository("a", Signal_AssemblyAndDelegation_B_a); + AddToElementRepository("p", Signal_AssemblyAndDelegation_B_p); + AddToElementRepository("I", Signal_AssemblyAndDelegation_I); + AddToElementRepository("SEvent", Signal_AssemblyAndDelegation_SEvent); + AddToElementRepository("S", Signal_AssemblyAndDelegation_S); + AddToElementRepository("value", Signal_AssemblyAndDelegation_S_value); + AddToElementRepository("TestCaseAssemblyAndDelegation", Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation); + AddToElementRepository("b", Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_b); + AddToElementRepository("c", Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_c); + AddToElementRepository("TestCaseAssemblyAndDelegation_TestCaseAssemblyAndDelegation", Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_TestCaseAssemblyAndDelegation_TestCaseAssemblyAndDelegation); + AddToElementRepository("result", Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_TestCaseAssemblyAndDelegation_TestCaseAssemblyAndDelegation_result); + AddToElementRepository("r", Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_r); + AddToElementRepository("ConnectorEnd40", Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_r_ConnectorEnd40); + AddToElementRepository("ConnectorEnd41", Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_r_ConnectorEnd41); + AddToElementRepository("testActivity", Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity); + AddToElementRepository("Read b.a", Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_Read_b_a); + AddToElementRepository("result", Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_Read_b_a_result); + AddToElementRepository("LiteralUnlimitedNatural42", Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_Read_b_a_result_LiteralUnlimitedNatural42); + AddToElementRepository("LiteralInteger43", Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_Read_b_a_result_LiteralInteger43); + AddToElementRepository("object", Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_Read_b_a_object); + AddToElementRepository("LiteralUnlimitedNatural44", Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_Read_b_a_object_LiteralUnlimitedNatural44); + AddToElementRepository("LiteralInteger45", Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_Read_b_a_object_LiteralInteger45); + AddToElementRepository("testV", Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_testV); + AddToElementRepository("v", Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_testV_v); + AddToElementRepository("ObjectFlow46", Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_ObjectFlow46); + AddToElementRepository("LiteralInteger47", Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_ObjectFlow46_LiteralInteger47); + AddToElementRepository("LiteralBoolean48", Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_ObjectFlow46_LiteralBoolean48); + AddToElementRepository("Call testV", Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_Call_testV); + AddToElementRepository("v", Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_Call_testV_v); + AddToElementRepository("LiteralInteger49", Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_Call_testV_v_LiteralInteger49); + AddToElementRepository("LiteralUnlimitedNatural50", Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_Call_testV_v_LiteralUnlimitedNatural50); + AddToElementRepository("LiteralInteger51", Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_Call_testV_v_LiteralInteger51); + AddToElementRepository("ObjectFlow52", Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_ObjectFlow52); + AddToElementRepository("LiteralInteger53", Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_ObjectFlow52_LiteralInteger53); + AddToElementRepository("LiteralBoolean54", Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_ObjectFlow52_LiteralBoolean54); + AddToElementRepository("this", Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_this); + AddToElementRepository("result", Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_this_result); + AddToElementRepository("LiteralInteger55", Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_this_result_LiteralInteger55); + AddToElementRepository("LiteralUnlimitedNatural56", Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_this_result_LiteralUnlimitedNatural56); + AddToElementRepository("Read a.v", Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_Read_a_v); + AddToElementRepository("result", Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_Read_a_v_result); + AddToElementRepository("LiteralUnlimitedNatural57", Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_Read_a_v_result_LiteralUnlimitedNatural57); + AddToElementRepository("LiteralInteger58", Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_Read_a_v_result_LiteralInteger58); + AddToElementRepository("object", Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_Read_a_v_object); + AddToElementRepository("LiteralUnlimitedNatural59", Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_Read_a_v_object_LiteralUnlimitedNatural59); + AddToElementRepository("LiteralInteger60", Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_Read_a_v_object_LiteralInteger60); + AddToElementRepository("ObjectFlow61", Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_ObjectFlow61); + AddToElementRepository("LiteralInteger62", Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_ObjectFlow61_LiteralInteger62); + AddToElementRepository("LiteralBoolean63", Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_ObjectFlow61_LiteralBoolean63); + AddToElementRepository("ObjectFlow64", Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_ObjectFlow64); + AddToElementRepository("LiteralInteger65", Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_ObjectFlow64_LiteralInteger65); + AddToElementRepository("LiteralBoolean66", Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_ObjectFlow64_LiteralBoolean66); + AddToElementRepository("Read this.b", Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_Read_this_b); + AddToElementRepository("object", Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_Read_this_b_object); + AddToElementRepository("LiteralInteger67", Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_Read_this_b_object_LiteralInteger67); + AddToElementRepository("LiteralUnlimitedNatural68", Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_Read_this_b_object_LiteralUnlimitedNatural68); + AddToElementRepository("result", Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_Read_this_b_result); + AddToElementRepository("LiteralInteger69", Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_Read_this_b_result_LiteralInteger69); + AddToElementRepository("LiteralUnlimitedNatural70", Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_Read_this_b_result_LiteralUnlimitedNatural70); + AddToElementRepository("Generalization71", Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_Generalization71); + AddToElementRepository("test", Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_test); + AddToElementRepository("A", Signal_AssemblyAndDelegation_A); + AddToElementRepository("p", Signal_AssemblyAndDelegation_A_p); + AddToElementRepository("A_A", Signal_AssemblyAndDelegation_A_A_A); + AddToElementRepository("result", Signal_AssemblyAndDelegation_A_A_A_result); + AddToElementRepository("v", Signal_AssemblyAndDelegation_A_v); + AddToElementRepository("AClassifierBehavior", Signal_AssemblyAndDelegation_A_AClassifierBehavior); + AddToElementRepository("ControlFlow72", Signal_AssemblyAndDelegation_A_AClassifierBehavior_ControlFlow72); + AddToElementRepository("this", Signal_AssemblyAndDelegation_A_AClassifierBehavior_this); + AddToElementRepository("result", Signal_AssemblyAndDelegation_A_AClassifierBehavior_this_result); + AddToElementRepository("LiteralInteger73", Signal_AssemblyAndDelegation_A_AClassifierBehavior_this_result_LiteralInteger73); + AddToElementRepository("LiteralUnlimitedNatural74", Signal_AssemblyAndDelegation_A_AClassifierBehavior_this_result_LiteralUnlimitedNatural74); + AddToElementRepository("ObjectFlow75", Signal_AssemblyAndDelegation_A_AClassifierBehavior_ObjectFlow75); + AddToElementRepository("LiteralInteger76", Signal_AssemblyAndDelegation_A_AClassifierBehavior_ObjectFlow75_LiteralInteger76); + AddToElementRepository("LiteralBoolean77", Signal_AssemblyAndDelegation_A_AClassifierBehavior_ObjectFlow75_LiteralBoolean77); + AddToElementRepository("Send Continue", Signal_AssemblyAndDelegation_A_AClassifierBehavior_Send_Continue); + AddToElementRepository("target", Signal_AssemblyAndDelegation_A_AClassifierBehavior_Send_Continue_target); + AddToElementRepository("LiteralInteger78", Signal_AssemblyAndDelegation_A_AClassifierBehavior_Send_Continue_target_LiteralInteger78); + AddToElementRepository("LiteralUnlimitedNatural79", Signal_AssemblyAndDelegation_A_AClassifierBehavior_Send_Continue_target_LiteralUnlimitedNatural79); + AddToElementRepository("ActivityFinalNode80", Signal_AssemblyAndDelegation_A_AClassifierBehavior_ActivityFinalNode80); + AddToElementRepository("ObjectFlow81", Signal_AssemblyAndDelegation_A_AClassifierBehavior_ObjectFlow81); + AddToElementRepository("LiteralInteger82", Signal_AssemblyAndDelegation_A_AClassifierBehavior_ObjectFlow81_LiteralInteger82); + AddToElementRepository("LiteralBoolean83", Signal_AssemblyAndDelegation_A_AClassifierBehavior_ObjectFlow81_LiteralBoolean83); + AddToElementRepository("ControlFlow84", Signal_AssemblyAndDelegation_A_AClassifierBehavior_ControlFlow84); + AddToElementRepository("Accept S", Signal_AssemblyAndDelegation_A_AClassifierBehavior_Accept_S); + AddToElementRepository("value", Signal_AssemblyAndDelegation_A_AClassifierBehavior_Accept_S_value); + AddToElementRepository("LiteralInteger85", Signal_AssemblyAndDelegation_A_AClassifierBehavior_Accept_S_value_LiteralInteger85); + AddToElementRepository("LiteralInteger86", Signal_AssemblyAndDelegation_A_AClassifierBehavior_Accept_S_value_LiteralInteger86); + AddToElementRepository("LiteralUnlimitedNatural87", Signal_AssemblyAndDelegation_A_AClassifierBehavior_Accept_S_value_LiteralUnlimitedNatural87); + AddToElementRepository("Trigger88", Signal_AssemblyAndDelegation_A_AClassifierBehavior_Accept_S_Trigger88); + AddToElementRepository("ObjectFlow89", Signal_AssemblyAndDelegation_A_AClassifierBehavior_ObjectFlow89); + AddToElementRepository("LiteralBoolean90", Signal_AssemblyAndDelegation_A_AClassifierBehavior_ObjectFlow89_LiteralBoolean90); + AddToElementRepository("LiteralInteger91", Signal_AssemblyAndDelegation_A_AClassifierBehavior_ObjectFlow89_LiteralInteger91); + AddToElementRepository("Set v", Signal_AssemblyAndDelegation_A_AClassifierBehavior_Set_v); + AddToElementRepository("object", Signal_AssemblyAndDelegation_A_AClassifierBehavior_Set_v_object); + AddToElementRepository("LiteralUnlimitedNatural92", Signal_AssemblyAndDelegation_A_AClassifierBehavior_Set_v_object_LiteralUnlimitedNatural92); + AddToElementRepository("LiteralInteger93", Signal_AssemblyAndDelegation_A_AClassifierBehavior_Set_v_object_LiteralInteger93); + AddToElementRepository("value", Signal_AssemblyAndDelegation_A_AClassifierBehavior_Set_v_value); + AddToElementRepository("LiteralUnlimitedNatural94", Signal_AssemblyAndDelegation_A_AClassifierBehavior_Set_v_value_LiteralUnlimitedNatural94); + AddToElementRepository("LiteralInteger95", Signal_AssemblyAndDelegation_A_AClassifierBehavior_Set_v_value_LiteralInteger95); + AddToElementRepository("result", Signal_AssemblyAndDelegation_A_AClassifierBehavior_Set_v_result); + AddToElementRepository("LiteralUnlimitedNatural96", Signal_AssemblyAndDelegation_A_AClassifierBehavior_Set_v_result_LiteralUnlimitedNatural96); + AddToElementRepository("LiteralInteger97", Signal_AssemblyAndDelegation_A_AClassifierBehavior_Set_v_result_LiteralInteger97); + AddToElementRepository("Continue", Signal_AssemblyAndDelegation_Continue); + AddToElementRepository("ContinueEvent", Signal_AssemblyAndDelegation_ContinueEvent); + AddToElementRepository("C", Signal_AssemblyAndDelegation_C); + AddToElementRepository("q", Signal_AssemblyAndDelegation_C_q); + AddToElementRepository("tester", Signal_AssemblyAndDelegation_C_tester); + AddToElementRepository("r", Signal_AssemblyAndDelegation_C_r); + AddToElementRepository("ConnectorEnd98", Signal_AssemblyAndDelegation_C_r_ConnectorEnd98); + AddToElementRepository("ConnectorEnd99", Signal_AssemblyAndDelegation_C_r_ConnectorEnd99); + AddToElementRepository("TestCase", Signal_AssemblyAndDelegation_TestCase); + AddToElementRepository("test", Signal_AssemblyAndDelegation_TestCase_test); + AddToElementRepository("R", Signal_AssemblyAndDelegation_R); + AddToElementRepository("x", Signal_AssemblyAndDelegation_R_x); + AddToElementRepository("y", Signal_AssemblyAndDelegation_R_y); + AddToElementRepository("Start", Signal_AssemblyAndDelegation_Start); + AddToElementRepository("testCase", Signal_AssemblyAndDelegation_Start_testCase); + AddToElementRepository("Tester", Signal_AssemblyAndDelegation_Tester); + AddToElementRepository("Start", Signal_AssemblyAndDelegation_Tester_Start); + AddToElementRepository("q", Signal_AssemblyAndDelegation_Tester_q); + AddToElementRepository("TesterClassifierBehavior", Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior); + AddToElementRepository("ControlFlow100", Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_ControlFlow100); + AddToElementRepository("ControlFlow101", Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_ControlFlow101); + AddToElementRepository("Value(4)", Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_Value_4); + AddToElementRepository("result", Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_Value_4_result); + AddToElementRepository("LiteralInteger102", Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_Value_4_result_LiteralInteger102); + AddToElementRepository("LiteralUnlimitedNatural103", Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_Value_4_result_LiteralUnlimitedNatural103); + AddToElementRepository("LiteralInteger104", Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_Value_4_LiteralInteger104); + AddToElementRepository("Accept Continue", Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_Accept_Continue); + AddToElementRepository("Trigger105", Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_Accept_Continue_Trigger105); + AddToElementRepository("result", Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_Accept_Continue_result); + AddToElementRepository("LiteralInteger106", Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_Accept_Continue_result_LiteralInteger106); + AddToElementRepository("LiteralInteger107", Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_Accept_Continue_result_LiteralInteger107); + AddToElementRepository("LiteralUnlimitedNatural108", Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_Accept_Continue_result_LiteralUnlimitedNatural108); + AddToElementRepository("ObjectFlow109", Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_ObjectFlow109); + AddToElementRepository("LiteralBoolean110", Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_ObjectFlow109_LiteralBoolean110); + AddToElementRepository("LiteralInteger111", Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_ObjectFlow109_LiteralInteger111); + AddToElementRepository("ControlFlow112", Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_ControlFlow112); + AddToElementRepository("Call test()", Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_Call_test_); + AddToElementRepository("target", Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_Call_test__target); + AddToElementRepository("LiteralInteger113", Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_Call_test__target_LiteralInteger113); + AddToElementRepository("LiteralUnlimitedNatural114", Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_Call_test__target_LiteralUnlimitedNatural114); + AddToElementRepository("ControlFlow115", Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_ControlFlow115); + AddToElementRepository("ObjectFlow116", Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_ObjectFlow116); + AddToElementRepository("LiteralInteger117", Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_ObjectFlow116_LiteralInteger117); + AddToElementRepository("LiteralBoolean118", Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_ObjectFlow116_LiteralBoolean118); + AddToElementRepository("ActivityFinalNode119", Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_ActivityFinalNode119); + AddToElementRepository("Accept Start", Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_Accept_Start); + AddToElementRepository("Trigger120", Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_Accept_Start_Trigger120); + AddToElementRepository("testCase", Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_Accept_Start_testCase); + AddToElementRepository("LiteralInteger121", Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_Accept_Start_testCase_LiteralInteger121); + AddToElementRepository("LiteralInteger122", Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_Accept_Start_testCase_LiteralInteger122); + AddToElementRepository("LiteralUnlimitedNatural123", Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_Accept_Start_testCase_LiteralUnlimitedNatural123); + AddToElementRepository("Send S", Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_Send_S); + AddToElementRepository("target", Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_Send_S_target); + AddToElementRepository("LiteralInteger124", Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_Send_S_target_LiteralInteger124); + AddToElementRepository("LiteralUnlimitedNatural125", Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_Send_S_target_LiteralUnlimitedNatural125); + AddToElementRepository("value", Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_Send_S_value); + AddToElementRepository("LiteralInteger126", Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_Send_S_value_LiteralInteger126); + AddToElementRepository("LiteralInteger127", Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_Send_S_value_LiteralInteger127); + AddToElementRepository("LiteralUnlimitedNatural128", Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_Send_S_value_LiteralUnlimitedNatural128); + AddToElementRepository("ObjectFlow129", Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_ObjectFlow129); + AddToElementRepository("LiteralBoolean130", Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_ObjectFlow129_LiteralBoolean130); + AddToElementRepository("LiteralInteger131", Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_ObjectFlow129_LiteralInteger131); + AddToElementRepository("this", Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_this); + AddToElementRepository("result", Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_this_result); + AddToElementRepository("LiteralInteger132", Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_this_result_LiteralInteger132); + AddToElementRepository("LiteralUnlimitedNatural133", Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_this_result_LiteralUnlimitedNatural133); + AddToElementRepository("Tester_Tester", Signal_AssemblyAndDelegation_Tester_Tester_Tester); + AddToElementRepository("result", Signal_AssemblyAndDelegation_Tester_Tester_Tester_result); + + // Initialize public members + /* + * Model Signal_AssemblyAndDelegation + */ + Signal_AssemblyAndDelegation.SetName("Signal_AssemblyAndDelegation"); + Signal_AssemblyAndDelegation.SetVisibility(VisibilityKind.public_); + // Activity main + Signal_AssemblyAndDelegation_main.SetName("main"); + Signal_AssemblyAndDelegation_main.SetVisibility(VisibilityKind.public_); + // SendSignalAction Send Start + Signal_AssemblyAndDelegation_main_Send_Start.SetName("Send Start"); + Signal_AssemblyAndDelegation_main_Send_Start.SetVisibility(VisibilityKind.public_); + Signal_AssemblyAndDelegation_main_Send_Start.SetSignal(Signal_AssemblyAndDelegation_Start); + // InputPin target + Signal_AssemblyAndDelegation_main_Send_Start_target.SetName("target"); + Signal_AssemblyAndDelegation_main_Send_Start_target.SetVisibility(VisibilityKind.public_); + Signal_AssemblyAndDelegation_main_Send_Start_target.SetType(Signal_AssemblyAndDelegation_Tester); + Signal_AssemblyAndDelegation_main_Send_Start.SetTarget(Signal_AssemblyAndDelegation_main_Send_Start_target); + // InputPin testCase + Signal_AssemblyAndDelegation_main_Send_Start_testCase.SetName("testCase"); + Signal_AssemblyAndDelegation_main_Send_Start_testCase.SetVisibility(VisibilityKind.public_); + Signal_AssemblyAndDelegation_main_Send_Start_testCase.SetType(Signal_AssemblyAndDelegation_TestCase); + Signal_AssemblyAndDelegation_main_Send_Start.AddArgument(Signal_AssemblyAndDelegation_main_Send_Start_testCase); + Signal_AssemblyAndDelegation_main.AddNode(Signal_AssemblyAndDelegation_main_Send_Start); + // CallOperationAction TestCaseAssembly() + Signal_AssemblyAndDelegation_main_TestCaseAssembly_.SetName("TestCaseAssembly()"); + Signal_AssemblyAndDelegation_main_TestCaseAssembly_.SetVisibility(VisibilityKind.public_); + + // OutputPin result + Signal_AssemblyAndDelegation_main_TestCaseAssembly__result.SetName("result"); + Signal_AssemblyAndDelegation_main_TestCaseAssembly__result.SetVisibility(VisibilityKind.public_); + Signal_AssemblyAndDelegation_main_TestCaseAssembly__result.SetType(Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation); + Signal_AssemblyAndDelegation_main_TestCaseAssembly_.AddResult(Signal_AssemblyAndDelegation_main_TestCaseAssembly__result); + Signal_AssemblyAndDelegation_main_TestCaseAssembly_.SetOperation(Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_TestCaseAssemblyAndDelegation_TestCaseAssemblyAndDelegation); + // InputPin target + Signal_AssemblyAndDelegation_main_TestCaseAssembly__target.SetName("target"); + Signal_AssemblyAndDelegation_main_TestCaseAssembly__target.SetVisibility(VisibilityKind.public_); + Signal_AssemblyAndDelegation_main_TestCaseAssembly__target.SetType(Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation); + Signal_AssemblyAndDelegation_main_TestCaseAssembly_.SetTarget(Signal_AssemblyAndDelegation_main_TestCaseAssembly__target); + Signal_AssemblyAndDelegation_main.AddNode(Signal_AssemblyAndDelegation_main_TestCaseAssembly_); + // CreateObjectAction Create TestCaseAssembly + Signal_AssemblyAndDelegation_main_Create_TestCaseAssembly.SetName("Create TestCaseAssembly"); + Signal_AssemblyAndDelegation_main_Create_TestCaseAssembly.SetVisibility(VisibilityKind.public_); + Signal_AssemblyAndDelegation_main_Create_TestCaseAssembly.SetClassifier(Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation); + // OutputPin result + Signal_AssemblyAndDelegation_main_Create_TestCaseAssembly_result.SetName("result"); + Signal_AssemblyAndDelegation_main_Create_TestCaseAssembly_result.SetVisibility(VisibilityKind.public_); + Signal_AssemblyAndDelegation_main_Create_TestCaseAssembly_result.SetType(Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation); + Signal_AssemblyAndDelegation_main_Create_TestCaseAssembly.SetResult(Signal_AssemblyAndDelegation_main_Create_TestCaseAssembly_result); + Signal_AssemblyAndDelegation_main.AddNode(Signal_AssemblyAndDelegation_main_Create_TestCaseAssembly); + // ForkNode Fork testCase + Signal_AssemblyAndDelegation_main_Fork_testCase.SetName("Fork testCase"); + Signal_AssemblyAndDelegation_main_Fork_testCase.SetVisibility(VisibilityKind.public_); + Signal_AssemblyAndDelegation_main.AddNode(Signal_AssemblyAndDelegation_main_Fork_testCase); + // ReadStructuralFeatureAction Read TestCaseAssembly.c + Signal_AssemblyAndDelegation_main_Read_TestCaseAssembly_c.SetName("Read TestCaseAssembly.c"); + Signal_AssemblyAndDelegation_main_Read_TestCaseAssembly_c.SetVisibility(VisibilityKind.public_); + Signal_AssemblyAndDelegation_main_Read_TestCaseAssembly_c.SetStructuralFeature(Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_c); + // InputPin object + Signal_AssemblyAndDelegation_main_Read_TestCaseAssembly_c_object.SetName("object"); + Signal_AssemblyAndDelegation_main_Read_TestCaseAssembly_c_object.SetVisibility(VisibilityKind.public_); + Signal_AssemblyAndDelegation_main_Read_TestCaseAssembly_c_object.SetType(Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation); + Signal_AssemblyAndDelegation_main_Read_TestCaseAssembly_c.SetObject(Signal_AssemblyAndDelegation_main_Read_TestCaseAssembly_c_object); + // OutputPin result + Signal_AssemblyAndDelegation_main_Read_TestCaseAssembly_c_result.SetName("result"); + Signal_AssemblyAndDelegation_main_Read_TestCaseAssembly_c_result.SetVisibility(VisibilityKind.public_); + Signal_AssemblyAndDelegation_main_Read_TestCaseAssembly_c_result.SetType(Signal_AssemblyAndDelegation_C); + Signal_AssemblyAndDelegation_main_Read_TestCaseAssembly_c.SetResult(Signal_AssemblyAndDelegation_main_Read_TestCaseAssembly_c_result); + Signal_AssemblyAndDelegation_main.AddNode(Signal_AssemblyAndDelegation_main_Read_TestCaseAssembly_c); + // ReadStructuralFeatureAction Read c.tester + Signal_AssemblyAndDelegation_main_Read_c_tester.SetName("Read c.tester"); + Signal_AssemblyAndDelegation_main_Read_c_tester.SetVisibility(VisibilityKind.public_); + Signal_AssemblyAndDelegation_main_Read_c_tester.SetStructuralFeature(Signal_AssemblyAndDelegation_C_tester); + // InputPin object + Signal_AssemblyAndDelegation_main_Read_c_tester_object.SetName("object"); + Signal_AssemblyAndDelegation_main_Read_c_tester_object.SetVisibility(VisibilityKind.public_); + Signal_AssemblyAndDelegation_main_Read_c_tester_object.SetType(Signal_AssemblyAndDelegation_C); + Signal_AssemblyAndDelegation_main_Read_c_tester.SetObject(Signal_AssemblyAndDelegation_main_Read_c_tester_object); + // OutputPin result + Signal_AssemblyAndDelegation_main_Read_c_tester_result.SetName("result"); + Signal_AssemblyAndDelegation_main_Read_c_tester_result.SetVisibility(VisibilityKind.public_); + Signal_AssemblyAndDelegation_main_Read_c_tester_result.SetType(Signal_AssemblyAndDelegation_Tester); + Signal_AssemblyAndDelegation_main_Read_c_tester.SetResult(Signal_AssemblyAndDelegation_main_Read_c_tester_result); + Signal_AssemblyAndDelegation_main.AddNode(Signal_AssemblyAndDelegation_main_Read_c_tester); + // ObjectFlow ObjectFlow12 from Fork testCase to testCase + Signal_AssemblyAndDelegation_main_ObjectFlow12.SetName("ObjectFlow12"); + Signal_AssemblyAndDelegation_main_ObjectFlow12.SetVisibility(VisibilityKind.public_); + + Signal_AssemblyAndDelegation_main_ObjectFlow12.SetSource(Signal_AssemblyAndDelegation_main_Fork_testCase); + Signal_AssemblyAndDelegation_main_ObjectFlow12.SetTarget(Signal_AssemblyAndDelegation_main_Send_Start_testCase); + // LiteralBoolean LiteralBoolean14 + Signal_AssemblyAndDelegation_main_ObjectFlow12_LiteralBoolean14.SetName("LiteralBoolean14"); + Signal_AssemblyAndDelegation_main_ObjectFlow12_LiteralBoolean14.SetVisibility(VisibilityKind.public_); + Signal_AssemblyAndDelegation_main_ObjectFlow12_LiteralBoolean14.SetValue(true); + Signal_AssemblyAndDelegation_main_ObjectFlow12.SetGuard(Signal_AssemblyAndDelegation_main_ObjectFlow12_LiteralBoolean14); + Signal_AssemblyAndDelegation_main.AddEdge(Signal_AssemblyAndDelegation_main_ObjectFlow12); + // ObjectFlow ObjectFlow15 from result to Fork testCase + Signal_AssemblyAndDelegation_main_ObjectFlow15.SetName("ObjectFlow15"); + Signal_AssemblyAndDelegation_main_ObjectFlow15.SetVisibility(VisibilityKind.public_); + + Signal_AssemblyAndDelegation_main_ObjectFlow15.SetSource(Signal_AssemblyAndDelegation_main_TestCaseAssembly__result); + Signal_AssemblyAndDelegation_main_ObjectFlow15.SetTarget(Signal_AssemblyAndDelegation_main_Fork_testCase); + // LiteralBoolean LiteralBoolean17 + Signal_AssemblyAndDelegation_main_ObjectFlow15_LiteralBoolean17.SetName("LiteralBoolean17"); + Signal_AssemblyAndDelegation_main_ObjectFlow15_LiteralBoolean17.SetVisibility(VisibilityKind.public_); + Signal_AssemblyAndDelegation_main_ObjectFlow15_LiteralBoolean17.SetValue(true); + Signal_AssemblyAndDelegation_main_ObjectFlow15.SetGuard(Signal_AssemblyAndDelegation_main_ObjectFlow15_LiteralBoolean17); + Signal_AssemblyAndDelegation_main.AddEdge(Signal_AssemblyAndDelegation_main_ObjectFlow15); + // ObjectFlow ObjectFlow18 from Fork testCase to object + Signal_AssemblyAndDelegation_main_ObjectFlow18.SetName("ObjectFlow18"); + Signal_AssemblyAndDelegation_main_ObjectFlow18.SetVisibility(VisibilityKind.public_); + + Signal_AssemblyAndDelegation_main_ObjectFlow18.SetSource(Signal_AssemblyAndDelegation_main_Fork_testCase); + Signal_AssemblyAndDelegation_main_ObjectFlow18.SetTarget(Signal_AssemblyAndDelegation_main_Read_TestCaseAssembly_c_object); + // LiteralBoolean LiteralBoolean20 + Signal_AssemblyAndDelegation_main_ObjectFlow18_LiteralBoolean20.SetName("LiteralBoolean20"); + Signal_AssemblyAndDelegation_main_ObjectFlow18_LiteralBoolean20.SetVisibility(VisibilityKind.public_); + Signal_AssemblyAndDelegation_main_ObjectFlow18_LiteralBoolean20.SetValue(true); + Signal_AssemblyAndDelegation_main_ObjectFlow18.SetGuard(Signal_AssemblyAndDelegation_main_ObjectFlow18_LiteralBoolean20); + Signal_AssemblyAndDelegation_main.AddEdge(Signal_AssemblyAndDelegation_main_ObjectFlow18); + // ObjectFlow ObjectFlow21 from result to target + Signal_AssemblyAndDelegation_main_ObjectFlow21.SetName("ObjectFlow21"); + Signal_AssemblyAndDelegation_main_ObjectFlow21.SetVisibility(VisibilityKind.public_); + + Signal_AssemblyAndDelegation_main_ObjectFlow21.SetSource(Signal_AssemblyAndDelegation_main_Create_TestCaseAssembly_result); + Signal_AssemblyAndDelegation_main_ObjectFlow21.SetTarget(Signal_AssemblyAndDelegation_main_TestCaseAssembly__target); + // LiteralBoolean LiteralBoolean22 + Signal_AssemblyAndDelegation_main_ObjectFlow21_LiteralBoolean22.SetName("LiteralBoolean22"); + Signal_AssemblyAndDelegation_main_ObjectFlow21_LiteralBoolean22.SetVisibility(VisibilityKind.public_); + Signal_AssemblyAndDelegation_main_ObjectFlow21_LiteralBoolean22.SetValue(true); + Signal_AssemblyAndDelegation_main_ObjectFlow21.SetGuard(Signal_AssemblyAndDelegation_main_ObjectFlow21_LiteralBoolean22); + Signal_AssemblyAndDelegation_main.AddEdge(Signal_AssemblyAndDelegation_main_ObjectFlow21); + // ObjectFlow ObjectFlow24 from result to target + Signal_AssemblyAndDelegation_main_ObjectFlow24.SetName("ObjectFlow24"); + Signal_AssemblyAndDelegation_main_ObjectFlow24.SetVisibility(VisibilityKind.public_); + + Signal_AssemblyAndDelegation_main_ObjectFlow24.SetSource(Signal_AssemblyAndDelegation_main_Read_c_tester_result); + Signal_AssemblyAndDelegation_main_ObjectFlow24.SetTarget(Signal_AssemblyAndDelegation_main_Send_Start_target); + // LiteralBoolean LiteralBoolean26 + Signal_AssemblyAndDelegation_main_ObjectFlow24_LiteralBoolean26.SetName("LiteralBoolean26"); + Signal_AssemblyAndDelegation_main_ObjectFlow24_LiteralBoolean26.SetVisibility(VisibilityKind.public_); + Signal_AssemblyAndDelegation_main_ObjectFlow24_LiteralBoolean26.SetValue(true); + Signal_AssemblyAndDelegation_main_ObjectFlow24.SetGuard(Signal_AssemblyAndDelegation_main_ObjectFlow24_LiteralBoolean26); + Signal_AssemblyAndDelegation_main.AddEdge(Signal_AssemblyAndDelegation_main_ObjectFlow24); + // ObjectFlow ObjectFlow27 from result to object + Signal_AssemblyAndDelegation_main_ObjectFlow27.SetName("ObjectFlow27"); + Signal_AssemblyAndDelegation_main_ObjectFlow27.SetVisibility(VisibilityKind.public_); + + Signal_AssemblyAndDelegation_main_ObjectFlow27.SetSource(Signal_AssemblyAndDelegation_main_Read_TestCaseAssembly_c_result); + Signal_AssemblyAndDelegation_main_ObjectFlow27.SetTarget(Signal_AssemblyAndDelegation_main_Read_c_tester_object); + // LiteralBoolean LiteralBoolean29 + Signal_AssemblyAndDelegation_main_ObjectFlow27_LiteralBoolean29.SetName("LiteralBoolean29"); + Signal_AssemblyAndDelegation_main_ObjectFlow27_LiteralBoolean29.SetVisibility(VisibilityKind.public_); + Signal_AssemblyAndDelegation_main_ObjectFlow27_LiteralBoolean29.SetValue(true); + Signal_AssemblyAndDelegation_main_ObjectFlow27.SetGuard(Signal_AssemblyAndDelegation_main_ObjectFlow27_LiteralBoolean29); + Signal_AssemblyAndDelegation_main.AddEdge(Signal_AssemblyAndDelegation_main_ObjectFlow27); + Signal_AssemblyAndDelegation.AddPackagedElement(Signal_AssemblyAndDelegation_main); + // SignalEvent StartEvent + Signal_AssemblyAndDelegation_StartEvent.SetName("StartEvent"); + Signal_AssemblyAndDelegation_StartEvent.SetVisibility(VisibilityKind.public_); + Signal_AssemblyAndDelegation_StartEvent.SetSignal(Signal_AssemblyAndDelegation_Start); + Signal_AssemblyAndDelegation.AddPackagedElement(Signal_AssemblyAndDelegation_StartEvent); + // Class B + Signal_AssemblyAndDelegation_B.SetName("B"); + Signal_AssemblyAndDelegation_B.SetVisibility(VisibilityKind.public_); + + // Port p + Signal_AssemblyAndDelegation_B_p.SetName("p"); + Signal_AssemblyAndDelegation_B_p.SetVisibility(VisibilityKind.public_); + + Signal_AssemblyAndDelegation_B_p.SetType(Signal_AssemblyAndDelegation_I); + Signal_AssemblyAndDelegation_B_p.SetAggregation(AggregationKind.composite); + Signal_AssemblyAndDelegation_B_p.isService = true; + Signal_AssemblyAndDelegation_B.AddOwnedAttribute(Signal_AssemblyAndDelegation_B_p); + // Property a + Signal_AssemblyAndDelegation_B_a.SetName("a"); + Signal_AssemblyAndDelegation_B_a.SetVisibility(VisibilityKind.public_); + + Signal_AssemblyAndDelegation_B_a.SetType(Signal_AssemblyAndDelegation_A); + Signal_AssemblyAndDelegation_B_a.SetAggregation(AggregationKind.composite); + Signal_AssemblyAndDelegation_B.AddOwnedAttribute(Signal_AssemblyAndDelegation_B_a); + + Signal_AssemblyAndDelegation_B_r.SetName("r"); + Signal_AssemblyAndDelegation_B_r.SetVisibility(VisibilityKind.public_); + + Signal_AssemblyAndDelegation_B_r_ConnectorEnd39.SetRole(Signal_AssemblyAndDelegation_A_p); + Signal_AssemblyAndDelegation_B_r_ConnectorEnd39.SetPartWithPort(Signal_AssemblyAndDelegation_B_a); + + Signal_AssemblyAndDelegation_B_r.AddEnd(Signal_AssemblyAndDelegation_B_r_ConnectorEnd39); + + Signal_AssemblyAndDelegation_B_r_ConnectorEnd38.SetRole(Signal_AssemblyAndDelegation_B_p); + + Signal_AssemblyAndDelegation_B_r.AddEnd(Signal_AssemblyAndDelegation_B_r_ConnectorEnd38); + Signal_AssemblyAndDelegation_B_r.SetType(Signal_AssemblyAndDelegation_R); + Signal_AssemblyAndDelegation_B.AddOwnedConnector(Signal_AssemblyAndDelegation_B_r); + Signal_AssemblyAndDelegation.AddPackagedElement(Signal_AssemblyAndDelegation_B); + // Class I + Signal_AssemblyAndDelegation_I.SetName("I"); + Signal_AssemblyAndDelegation_I.SetVisibility(VisibilityKind.public_); + Signal_AssemblyAndDelegation.AddPackagedElement(Signal_AssemblyAndDelegation_I); + // SignalEvent SEvent + Signal_AssemblyAndDelegation_SEvent.SetName("SEvent"); + Signal_AssemblyAndDelegation_SEvent.SetVisibility(VisibilityKind.public_); + Signal_AssemblyAndDelegation_SEvent.SetSignal(Signal_AssemblyAndDelegation_S); + Signal_AssemblyAndDelegation.AddPackagedElement(Signal_AssemblyAndDelegation_SEvent); + // Signal S + Signal_AssemblyAndDelegation_S.SetName("S"); + Signal_AssemblyAndDelegation_S.SetVisibility(VisibilityKind.public_); + + // Property value + Signal_AssemblyAndDelegation_S_value.SetName("value"); + Signal_AssemblyAndDelegation_S_value.SetVisibility(VisibilityKind.public_); + + Signal_AssemblyAndDelegation_S_value.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + Signal_AssemblyAndDelegation_S.AddOwnedAttribute(Signal_AssemblyAndDelegation_S_value); + Signal_AssemblyAndDelegation.AddPackagedElement(Signal_AssemblyAndDelegation_S); + // Class TestCaseAssemblyAndDelegation + Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation.SetName("TestCaseAssemblyAndDelegation"); + Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation.SetVisibility(VisibilityKind.public_); + + // Generalization to TestCase + Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_Generalization71.SetGeneral(Signal_AssemblyAndDelegation_TestCase); + Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation.AddGeneralization(Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_Generalization71); + // Property b + Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_b.SetName("b"); + Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_b.SetVisibility(VisibilityKind.public_); + + Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_b.SetType(Signal_AssemblyAndDelegation_B); + Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_b.SetAggregation(AggregationKind.composite); + Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation.AddOwnedAttribute(Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_b); + // Property c + Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_c.SetName("c"); + Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_c.SetVisibility(VisibilityKind.public_); + + Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_c.SetType(Signal_AssemblyAndDelegation_C); + Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_c.SetAggregation(AggregationKind.composite); + Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation.AddOwnedAttribute(Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_c); + // Activity testActivity + Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity.SetName("testActivity"); + Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity.SetVisibility(VisibilityKind.public_); + // FunctionBehavior testV + Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_testV.SetName("testV"); + Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_testV.SetVisibility(VisibilityKind.public_); + + // Parameter v + Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_testV_v.SetName("v"); + Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_testV_v.SetVisibility(VisibilityKind.public_); + + Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_testV_v.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_testV.AddOwnedParameter(Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_testV_v); + Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_testV.AddLanguage("C#"); + Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_testV.AddLanguage("Using"); + Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_testV.AddBody("Console.WriteLine(\"Asserting b.a.v == 4\"); // Test parameter v int v = ((IntegerValue)inputParameters.ElementAt(0).values.ElementAt(0)).value; Debug.Println(\"[doBody] argument v = \" + v); Console.WriteLine(\"b.a.v == \" + v); Console.Write(\"Signal correctly sent and received: \"); if(v == 4) { Console.ForegroundColor = ConsoleColor.Green; Console.WriteLine(\"Assertion successful.\"); } else { Console.ForegroundColor = ConsoleColor.Red; Console.WriteLine(\"Assertion failed!\"); } Console.ResetColor();"); + Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_testV.AddBody("using fuml.semantics.simpleclassifiers;"); + Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity.AddOwnedBehavior(Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_testV); + // ReadStructuralFeatureAction Read b.a + Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_Read_b_a.SetName("Read b.a"); + Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_Read_b_a.SetVisibility(VisibilityKind.public_); + Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_Read_b_a.SetStructuralFeature(Signal_AssemblyAndDelegation_B_a); + // InputPin object + Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_Read_b_a_object.SetName("object"); + Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_Read_b_a_object.SetVisibility(VisibilityKind.public_); + Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_Read_b_a_object.SetType(Signal_AssemblyAndDelegation_B); + Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_Read_b_a.SetObject(Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_Read_b_a_object); + // OutputPin result + Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_Read_b_a_result.SetName("result"); + Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_Read_b_a_result.SetVisibility(VisibilityKind.public_); + Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_Read_b_a_result.SetType(Signal_AssemblyAndDelegation_A); + Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_Read_b_a.SetResult(Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_Read_b_a_result); + Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity.AddNode(Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_Read_b_a); + // CallBehaviorAction Call testV + Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_Call_testV.SetName("Call testV"); + Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_Call_testV.SetVisibility(VisibilityKind.public_); + Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_Call_testV.SetBehavior(Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_testV); + // InputPin v + Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_Call_testV_v.SetName("v"); + Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_Call_testV_v.SetVisibility(VisibilityKind.public_); + Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_Call_testV_v.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_Call_testV.AddArgument(Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_Call_testV_v); + Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity.AddNode(Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_Call_testV); + // ReadSelfAction this + Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_this.SetName("this"); + Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_this.SetVisibility(VisibilityKind.public_); + // OutputPin result + Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_this_result.SetName("result"); + Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_this_result.SetVisibility(VisibilityKind.public_); + Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_this_result.SetType(Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation); + Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_this.SetResult(Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_this_result); + Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity.AddNode(Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_this); + // ReadStructuralFeatureAction Read a.v + Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_Read_a_v.SetName("Read a.v"); + Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_Read_a_v.SetVisibility(VisibilityKind.public_); + Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_Read_a_v.SetStructuralFeature(Signal_AssemblyAndDelegation_A_v); + // InputPin object + Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_Read_a_v_object.SetName("object"); + Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_Read_a_v_object.SetVisibility(VisibilityKind.public_); + Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_Read_a_v_object.SetType(Signal_AssemblyAndDelegation_A); + Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_Read_a_v.SetObject(Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_Read_a_v_object); + // OutputPin result + Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_Read_a_v_result.SetName("result"); + Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_Read_a_v_result.SetVisibility(VisibilityKind.public_); + Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_Read_a_v_result.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_Read_a_v.SetResult(Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_Read_a_v_result); + Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity.AddNode(Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_Read_a_v); + // ReadStructuralFeatureAction Read this.b + Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_Read_this_b.SetName("Read this.b"); + Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_Read_this_b.SetVisibility(VisibilityKind.public_); + Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_Read_this_b.SetStructuralFeature(Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_b); + // InputPin object + Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_Read_this_b_object.SetName("object"); + Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_Read_this_b_object.SetVisibility(VisibilityKind.public_); + Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_Read_this_b_object.SetType(Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation); + Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_Read_this_b.SetObject(Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_Read_this_b_object); + // OutputPin result + Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_Read_this_b_result.SetName("result"); + Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_Read_this_b_result.SetVisibility(VisibilityKind.public_); + Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_Read_this_b_result.SetType(Signal_AssemblyAndDelegation_B); + Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_Read_this_b.SetResult(Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_Read_this_b_result); + Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity.AddNode(Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_Read_this_b); + // ObjectFlow ObjectFlow46 from result to object + Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_ObjectFlow46.SetName("ObjectFlow46"); + Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_ObjectFlow46.SetVisibility(VisibilityKind.public_); + + Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_ObjectFlow46.SetSource(Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_Read_this_b_result); + Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_ObjectFlow46.SetTarget(Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_Read_b_a_object); + // LiteralBoolean LiteralBoolean48 + Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_ObjectFlow46_LiteralBoolean48.SetName("LiteralBoolean48"); + Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_ObjectFlow46_LiteralBoolean48.SetVisibility(VisibilityKind.public_); + Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_ObjectFlow46_LiteralBoolean48.SetValue(true); + Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_ObjectFlow46.SetGuard(Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_ObjectFlow46_LiteralBoolean48); + Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity.AddEdge(Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_ObjectFlow46); + // ObjectFlow ObjectFlow52 from result to v + Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_ObjectFlow52.SetName("ObjectFlow52"); + Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_ObjectFlow52.SetVisibility(VisibilityKind.public_); + + Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_ObjectFlow52.SetSource(Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_Read_a_v_result); + Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_ObjectFlow52.SetTarget(Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_Call_testV_v); + // LiteralBoolean LiteralBoolean54 + Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_ObjectFlow52_LiteralBoolean54.SetName("LiteralBoolean54"); + Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_ObjectFlow52_LiteralBoolean54.SetVisibility(VisibilityKind.public_); + Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_ObjectFlow52_LiteralBoolean54.SetValue(true); + Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_ObjectFlow52.SetGuard(Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_ObjectFlow52_LiteralBoolean54); + Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity.AddEdge(Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_ObjectFlow52); + // ObjectFlow ObjectFlow61 from result to object + Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_ObjectFlow61.SetName("ObjectFlow61"); + Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_ObjectFlow61.SetVisibility(VisibilityKind.public_); + + Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_ObjectFlow61.SetSource(Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_Read_b_a_result); + Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_ObjectFlow61.SetTarget(Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_Read_a_v_object); + // LiteralBoolean LiteralBoolean63 + Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_ObjectFlow61_LiteralBoolean63.SetName("LiteralBoolean63"); + Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_ObjectFlow61_LiteralBoolean63.SetVisibility(VisibilityKind.public_); + Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_ObjectFlow61_LiteralBoolean63.SetValue(true); + Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_ObjectFlow61.SetGuard(Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_ObjectFlow61_LiteralBoolean63); + Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity.AddEdge(Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_ObjectFlow61); + // ObjectFlow ObjectFlow64 from result to object + Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_ObjectFlow64.SetName("ObjectFlow64"); + Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_ObjectFlow64.SetVisibility(VisibilityKind.public_); + + Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_ObjectFlow64.SetSource(Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_this_result); + Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_ObjectFlow64.SetTarget(Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_Read_this_b_object); + // LiteralBoolean LiteralBoolean66 + Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_ObjectFlow64_LiteralBoolean66.SetName("LiteralBoolean66"); + Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_ObjectFlow64_LiteralBoolean66.SetVisibility(VisibilityKind.public_); + Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_ObjectFlow64_LiteralBoolean66.SetValue(true); + Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_ObjectFlow64.SetGuard(Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_ObjectFlow64_LiteralBoolean66); + Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity.AddEdge(Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_ObjectFlow64); + Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation.AddOwnedBehavior(Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity); + Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_r.SetName("r"); + Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_r.SetVisibility(VisibilityKind.public_); + + Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_r_ConnectorEnd41.SetRole(Signal_AssemblyAndDelegation_B_p); + Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_r_ConnectorEnd41.SetPartWithPort(Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_b); + + Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_r.AddEnd(Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_r_ConnectorEnd41); + + Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_r_ConnectorEnd40.SetRole(Signal_AssemblyAndDelegation_C_q); + Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_r_ConnectorEnd40.SetPartWithPort(Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_c); + + Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_r.AddEnd(Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_r_ConnectorEnd40); + Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_r.SetType(Signal_AssemblyAndDelegation_R); + Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation.AddOwnedConnector(Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_r); + // Operation TestCaseAssemblyAndDelegation_TestCaseAssemblyAndDelegation + Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_TestCaseAssemblyAndDelegation_TestCaseAssemblyAndDelegation.SetName("TestCaseAssemblyAndDelegation_TestCaseAssemblyAndDelegation"); + Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_TestCaseAssemblyAndDelegation_TestCaseAssemblyAndDelegation.SetVisibility(VisibilityKind.public_); + // Parameter result + Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_TestCaseAssemblyAndDelegation_TestCaseAssemblyAndDelegation_result.SetName("result"); + Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_TestCaseAssemblyAndDelegation_TestCaseAssemblyAndDelegation_result.SetVisibility(VisibilityKind.public_); + + Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_TestCaseAssemblyAndDelegation_TestCaseAssemblyAndDelegation_result.SetType(Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation); + Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_TestCaseAssemblyAndDelegation_TestCaseAssemblyAndDelegation_result.SetDirection(ParameterDirectionKind.return_); + Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_TestCaseAssemblyAndDelegation_TestCaseAssemblyAndDelegation.AddOwnedParameter(Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_TestCaseAssemblyAndDelegation_TestCaseAssemblyAndDelegation_result); + Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_TestCaseAssemblyAndDelegation_TestCaseAssemblyAndDelegation.ApplyStereotype(uml.standardprofile.StandardProfileModel.Instance().Stereotype_Create); + Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation.AddOwnedOperation(Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_TestCaseAssemblyAndDelegation_TestCaseAssemblyAndDelegation); + // Operation test + Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_test.SetName("test"); + Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_test.SetVisibility(VisibilityKind.public_); + Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_test.AddMethod(Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity); + Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_test.AddRedefinedOperation(Signal_AssemblyAndDelegation_TestCase_test); + Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation.AddOwnedOperation(Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_test); + Signal_AssemblyAndDelegation.AddPackagedElement(Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation); + // Class A + Signal_AssemblyAndDelegation_A.SetName("A"); + Signal_AssemblyAndDelegation_A.SetVisibility(VisibilityKind.public_); + + // Property v + Signal_AssemblyAndDelegation_A_v.SetName("v"); + Signal_AssemblyAndDelegation_A_v.SetVisibility(VisibilityKind.public_); + + Signal_AssemblyAndDelegation_A_v.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + Signal_AssemblyAndDelegation_A_v.SetAggregation(AggregationKind.shared); + Signal_AssemblyAndDelegation_A.AddOwnedAttribute(Signal_AssemblyAndDelegation_A_v); + // Port p + Signal_AssemblyAndDelegation_A_p.SetName("p"); + Signal_AssemblyAndDelegation_A_p.SetVisibility(VisibilityKind.public_); + + Signal_AssemblyAndDelegation_A_p.SetType(Signal_AssemblyAndDelegation_I); + Signal_AssemblyAndDelegation_A_p.SetAggregation(AggregationKind.composite); + Signal_AssemblyAndDelegation_A_p.isBehavior = true; + Signal_AssemblyAndDelegation_A_p.isService = true; + Signal_AssemblyAndDelegation_A.AddOwnedAttribute(Signal_AssemblyAndDelegation_A_p); + Signal_AssemblyAndDelegation_A.SetClassifierBehavior(Signal_AssemblyAndDelegation_A_AClassifierBehavior); + // Activity AClassifierBehavior + Signal_AssemblyAndDelegation_A_AClassifierBehavior.SetName("AClassifierBehavior"); + Signal_AssemblyAndDelegation_A_AClassifierBehavior.SetVisibility(VisibilityKind.public_); + + Signal_AssemblyAndDelegation_A_AClassifierBehavior.isReentrant = false; + // ReadSelfAction this + Signal_AssemblyAndDelegation_A_AClassifierBehavior_this.SetName("this"); + Signal_AssemblyAndDelegation_A_AClassifierBehavior_this.SetVisibility(VisibilityKind.public_); + // OutputPin result + Signal_AssemblyAndDelegation_A_AClassifierBehavior_this_result.SetName("result"); + Signal_AssemblyAndDelegation_A_AClassifierBehavior_this_result.SetVisibility(VisibilityKind.public_); + Signal_AssemblyAndDelegation_A_AClassifierBehavior_this_result.SetType(Signal_AssemblyAndDelegation_A); + Signal_AssemblyAndDelegation_A_AClassifierBehavior_this.SetResult(Signal_AssemblyAndDelegation_A_AClassifierBehavior_this_result); + Signal_AssemblyAndDelegation_A_AClassifierBehavior.AddNode(Signal_AssemblyAndDelegation_A_AClassifierBehavior_this); + // SendSignalAction Send Continue + Signal_AssemblyAndDelegation_A_AClassifierBehavior_Send_Continue.SetName("Send Continue"); + Signal_AssemblyAndDelegation_A_AClassifierBehavior_Send_Continue.SetVisibility(VisibilityKind.public_); + Signal_AssemblyAndDelegation_A_AClassifierBehavior_Send_Continue.SetSignal(Signal_AssemblyAndDelegation_Continue); + // InputPin target + Signal_AssemblyAndDelegation_A_AClassifierBehavior_Send_Continue_target.SetName("target"); + Signal_AssemblyAndDelegation_A_AClassifierBehavior_Send_Continue_target.SetVisibility(VisibilityKind.public_); + Signal_AssemblyAndDelegation_A_AClassifierBehavior_Send_Continue_target.SetType(Signal_AssemblyAndDelegation_A); + Signal_AssemblyAndDelegation_A_AClassifierBehavior_Send_Continue.SetTarget(Signal_AssemblyAndDelegation_A_AClassifierBehavior_Send_Continue_target); + Signal_AssemblyAndDelegation_A_AClassifierBehavior_Send_Continue.SetOnPort(Signal_AssemblyAndDelegation_A_p); + Signal_AssemblyAndDelegation_A_AClassifierBehavior.AddNode(Signal_AssemblyAndDelegation_A_AClassifierBehavior_Send_Continue); + // ActivityFinalNode ActivityFinalNode80 + Signal_AssemblyAndDelegation_A_AClassifierBehavior_ActivityFinalNode80.SetName("ActivityFinalNode80"); + Signal_AssemblyAndDelegation_A_AClassifierBehavior_ActivityFinalNode80.SetVisibility(VisibilityKind.public_); + Signal_AssemblyAndDelegation_A_AClassifierBehavior.AddNode(Signal_AssemblyAndDelegation_A_AClassifierBehavior_ActivityFinalNode80); + // AcceptEventAction Accept S + Signal_AssemblyAndDelegation_A_AClassifierBehavior_Accept_S.SetName("Accept S"); + Signal_AssemblyAndDelegation_A_AClassifierBehavior_Accept_S.SetVisibility(VisibilityKind.public_); + Signal_AssemblyAndDelegation_A_AClassifierBehavior_Accept_S.SetIsUnmarshall(true); + // OutputPin value + Signal_AssemblyAndDelegation_A_AClassifierBehavior_Accept_S_value.SetName("value"); + Signal_AssemblyAndDelegation_A_AClassifierBehavior_Accept_S_value.SetVisibility(VisibilityKind.public_); + Signal_AssemblyAndDelegation_A_AClassifierBehavior_Accept_S_value.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + Signal_AssemblyAndDelegation_A_AClassifierBehavior_Accept_S.AddResult(Signal_AssemblyAndDelegation_A_AClassifierBehavior_Accept_S_value); + // Trigger Trigger88 + Signal_AssemblyAndDelegation_A_AClassifierBehavior_Accept_S_Trigger88.SetName("Trigger88"); + Signal_AssemblyAndDelegation_A_AClassifierBehavior_Accept_S_Trigger88.SetVisibility(VisibilityKind.public_); + Signal_AssemblyAndDelegation_A_AClassifierBehavior_Accept_S_Trigger88.SetEvent(Signal_AssemblyAndDelegation_SEvent); + Signal_AssemblyAndDelegation_A_AClassifierBehavior_Accept_S.AddTrigger(Signal_AssemblyAndDelegation_A_AClassifierBehavior_Accept_S_Trigger88); + Signal_AssemblyAndDelegation_A_AClassifierBehavior.AddNode(Signal_AssemblyAndDelegation_A_AClassifierBehavior_Accept_S); + // AddStructuralFeatureValueAction Set v + Signal_AssemblyAndDelegation_A_AClassifierBehavior_Set_v.SetName("Set v"); + Signal_AssemblyAndDelegation_A_AClassifierBehavior_Set_v.SetVisibility(VisibilityKind.public_); + Signal_AssemblyAndDelegation_A_AClassifierBehavior_Set_v.SetStructuralFeature(Signal_AssemblyAndDelegation_A_v); + // InputPin object + Signal_AssemblyAndDelegation_A_AClassifierBehavior_Set_v_object.SetName("object"); + Signal_AssemblyAndDelegation_A_AClassifierBehavior_Set_v_object.SetVisibility(VisibilityKind.public_); + Signal_AssemblyAndDelegation_A_AClassifierBehavior_Set_v_object.SetType(Signal_AssemblyAndDelegation_A); + Signal_AssemblyAndDelegation_A_AClassifierBehavior_Set_v.SetObject(Signal_AssemblyAndDelegation_A_AClassifierBehavior_Set_v_object); + // InputPin value + Signal_AssemblyAndDelegation_A_AClassifierBehavior_Set_v_value.SetName("value"); + Signal_AssemblyAndDelegation_A_AClassifierBehavior_Set_v_value.SetVisibility(VisibilityKind.public_); + Signal_AssemblyAndDelegation_A_AClassifierBehavior_Set_v_value.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + Signal_AssemblyAndDelegation_A_AClassifierBehavior_Set_v.SetValue(Signal_AssemblyAndDelegation_A_AClassifierBehavior_Set_v_value); + // OutputPin result + Signal_AssemblyAndDelegation_A_AClassifierBehavior_Set_v_result.SetName("result"); + Signal_AssemblyAndDelegation_A_AClassifierBehavior_Set_v_result.SetVisibility(VisibilityKind.public_); + Signal_AssemblyAndDelegation_A_AClassifierBehavior_Set_v_result.SetType(Signal_AssemblyAndDelegation_A); + Signal_AssemblyAndDelegation_A_AClassifierBehavior_Set_v.SetResult(Signal_AssemblyAndDelegation_A_AClassifierBehavior_Set_v_result); + Signal_AssemblyAndDelegation_A_AClassifierBehavior.AddNode(Signal_AssemblyAndDelegation_A_AClassifierBehavior_Set_v); + // ControlFlow ControlFlow72 from Send Continue to ActivityFinalNode80 + Signal_AssemblyAndDelegation_A_AClassifierBehavior_ControlFlow72.SetName("ControlFlow72"); + Signal_AssemblyAndDelegation_A_AClassifierBehavior_ControlFlow72.SetVisibility(VisibilityKind.public_); + + Signal_AssemblyAndDelegation_A_AClassifierBehavior_ControlFlow72.SetSource(Signal_AssemblyAndDelegation_A_AClassifierBehavior_Send_Continue); + Signal_AssemblyAndDelegation_A_AClassifierBehavior_ControlFlow72.SetTarget(Signal_AssemblyAndDelegation_A_AClassifierBehavior_ActivityFinalNode80); + Signal_AssemblyAndDelegation_A_AClassifierBehavior.AddEdge(Signal_AssemblyAndDelegation_A_AClassifierBehavior_ControlFlow72); + // ObjectFlow ObjectFlow75 from result to object + Signal_AssemblyAndDelegation_A_AClassifierBehavior_ObjectFlow75.SetName("ObjectFlow75"); + Signal_AssemblyAndDelegation_A_AClassifierBehavior_ObjectFlow75.SetVisibility(VisibilityKind.public_); + + Signal_AssemblyAndDelegation_A_AClassifierBehavior_ObjectFlow75.SetSource(Signal_AssemblyAndDelegation_A_AClassifierBehavior_this_result); + Signal_AssemblyAndDelegation_A_AClassifierBehavior_ObjectFlow75.SetTarget(Signal_AssemblyAndDelegation_A_AClassifierBehavior_Set_v_object); + // LiteralBoolean LiteralBoolean77 + Signal_AssemblyAndDelegation_A_AClassifierBehavior_ObjectFlow75_LiteralBoolean77.SetName("LiteralBoolean77"); + Signal_AssemblyAndDelegation_A_AClassifierBehavior_ObjectFlow75_LiteralBoolean77.SetVisibility(VisibilityKind.public_); + Signal_AssemblyAndDelegation_A_AClassifierBehavior_ObjectFlow75_LiteralBoolean77.SetValue(true); + Signal_AssemblyAndDelegation_A_AClassifierBehavior_ObjectFlow75.SetGuard(Signal_AssemblyAndDelegation_A_AClassifierBehavior_ObjectFlow75_LiteralBoolean77); + Signal_AssemblyAndDelegation_A_AClassifierBehavior.AddEdge(Signal_AssemblyAndDelegation_A_AClassifierBehavior_ObjectFlow75); + // ObjectFlow ObjectFlow81 from value to value + Signal_AssemblyAndDelegation_A_AClassifierBehavior_ObjectFlow81.SetName("ObjectFlow81"); + Signal_AssemblyAndDelegation_A_AClassifierBehavior_ObjectFlow81.SetVisibility(VisibilityKind.public_); + + Signal_AssemblyAndDelegation_A_AClassifierBehavior_ObjectFlow81.SetSource(Signal_AssemblyAndDelegation_A_AClassifierBehavior_Accept_S_value); + Signal_AssemblyAndDelegation_A_AClassifierBehavior_ObjectFlow81.SetTarget(Signal_AssemblyAndDelegation_A_AClassifierBehavior_Set_v_value); + // LiteralBoolean LiteralBoolean83 + Signal_AssemblyAndDelegation_A_AClassifierBehavior_ObjectFlow81_LiteralBoolean83.SetName("LiteralBoolean83"); + Signal_AssemblyAndDelegation_A_AClassifierBehavior_ObjectFlow81_LiteralBoolean83.SetVisibility(VisibilityKind.public_); + Signal_AssemblyAndDelegation_A_AClassifierBehavior_ObjectFlow81_LiteralBoolean83.SetValue(true); + Signal_AssemblyAndDelegation_A_AClassifierBehavior_ObjectFlow81.SetGuard(Signal_AssemblyAndDelegation_A_AClassifierBehavior_ObjectFlow81_LiteralBoolean83); + Signal_AssemblyAndDelegation_A_AClassifierBehavior.AddEdge(Signal_AssemblyAndDelegation_A_AClassifierBehavior_ObjectFlow81); + // ControlFlow ControlFlow84 from Accept S to this + Signal_AssemblyAndDelegation_A_AClassifierBehavior_ControlFlow84.SetName("ControlFlow84"); + Signal_AssemblyAndDelegation_A_AClassifierBehavior_ControlFlow84.SetVisibility(VisibilityKind.public_); + + Signal_AssemblyAndDelegation_A_AClassifierBehavior_ControlFlow84.SetSource(Signal_AssemblyAndDelegation_A_AClassifierBehavior_Accept_S); + Signal_AssemblyAndDelegation_A_AClassifierBehavior_ControlFlow84.SetTarget(Signal_AssemblyAndDelegation_A_AClassifierBehavior_this); + Signal_AssemblyAndDelegation_A_AClassifierBehavior.AddEdge(Signal_AssemblyAndDelegation_A_AClassifierBehavior_ControlFlow84); + // ObjectFlow ObjectFlow89 from result to target + Signal_AssemblyAndDelegation_A_AClassifierBehavior_ObjectFlow89.SetName("ObjectFlow89"); + Signal_AssemblyAndDelegation_A_AClassifierBehavior_ObjectFlow89.SetVisibility(VisibilityKind.public_); + + Signal_AssemblyAndDelegation_A_AClassifierBehavior_ObjectFlow89.SetSource(Signal_AssemblyAndDelegation_A_AClassifierBehavior_Set_v_result); + Signal_AssemblyAndDelegation_A_AClassifierBehavior_ObjectFlow89.SetTarget(Signal_AssemblyAndDelegation_A_AClassifierBehavior_Send_Continue_target); + // LiteralBoolean LiteralBoolean90 + Signal_AssemblyAndDelegation_A_AClassifierBehavior_ObjectFlow89_LiteralBoolean90.SetName("LiteralBoolean90"); + Signal_AssemblyAndDelegation_A_AClassifierBehavior_ObjectFlow89_LiteralBoolean90.SetVisibility(VisibilityKind.public_); + Signal_AssemblyAndDelegation_A_AClassifierBehavior_ObjectFlow89_LiteralBoolean90.SetValue(true); + Signal_AssemblyAndDelegation_A_AClassifierBehavior_ObjectFlow89.SetGuard(Signal_AssemblyAndDelegation_A_AClassifierBehavior_ObjectFlow89_LiteralBoolean90); + Signal_AssemblyAndDelegation_A_AClassifierBehavior.AddEdge(Signal_AssemblyAndDelegation_A_AClassifierBehavior_ObjectFlow89); + Signal_AssemblyAndDelegation_A.AddOwnedBehavior(Signal_AssemblyAndDelegation_A_AClassifierBehavior); + + Signal_AssemblyAndDelegation_A.SetIsActive(true); + // Operation A_A + Signal_AssemblyAndDelegation_A_A_A.SetName("A_A"); + Signal_AssemblyAndDelegation_A_A_A.SetVisibility(VisibilityKind.public_); + // Parameter result + Signal_AssemblyAndDelegation_A_A_A_result.SetName("result"); + Signal_AssemblyAndDelegation_A_A_A_result.SetVisibility(VisibilityKind.public_); + + Signal_AssemblyAndDelegation_A_A_A_result.SetType(Signal_AssemblyAndDelegation_A); + Signal_AssemblyAndDelegation_A_A_A_result.SetDirection(ParameterDirectionKind.return_); + Signal_AssemblyAndDelegation_A_A_A.AddOwnedParameter(Signal_AssemblyAndDelegation_A_A_A_result); + Signal_AssemblyAndDelegation_A_A_A.ApplyStereotype(uml.standardprofile.StandardProfileModel.Instance().Stereotype_Create); + Signal_AssemblyAndDelegation_A.AddOwnedOperation(Signal_AssemblyAndDelegation_A_A_A); + Signal_AssemblyAndDelegation.AddPackagedElement(Signal_AssemblyAndDelegation_A); + // Signal Continue + Signal_AssemblyAndDelegation_Continue.SetName("Continue"); + Signal_AssemblyAndDelegation_Continue.SetVisibility(VisibilityKind.public_); + Signal_AssemblyAndDelegation.AddPackagedElement(Signal_AssemblyAndDelegation_Continue); + // SignalEvent ContinueEvent + Signal_AssemblyAndDelegation_ContinueEvent.SetName("ContinueEvent"); + Signal_AssemblyAndDelegation_ContinueEvent.SetVisibility(VisibilityKind.public_); + Signal_AssemblyAndDelegation_ContinueEvent.SetSignal(Signal_AssemblyAndDelegation_Continue); + Signal_AssemblyAndDelegation.AddPackagedElement(Signal_AssemblyAndDelegation_ContinueEvent); + // Class C + Signal_AssemblyAndDelegation_C.SetName("C"); + Signal_AssemblyAndDelegation_C.SetVisibility(VisibilityKind.public_); + + // Port q + Signal_AssemblyAndDelegation_C_q.SetName("q"); + Signal_AssemblyAndDelegation_C_q.SetVisibility(VisibilityKind.public_); + + Signal_AssemblyAndDelegation_C_q.SetType(Signal_AssemblyAndDelegation_I); + Signal_AssemblyAndDelegation_C_q.SetAggregation(AggregationKind.composite); + Signal_AssemblyAndDelegation_C_q.isService = true; + Signal_AssemblyAndDelegation_C.AddOwnedAttribute(Signal_AssemblyAndDelegation_C_q); + // Property tester + Signal_AssemblyAndDelegation_C_tester.SetName("tester"); + Signal_AssemblyAndDelegation_C_tester.SetVisibility(VisibilityKind.public_); + + Signal_AssemblyAndDelegation_C_tester.SetType(Signal_AssemblyAndDelegation_Tester); + Signal_AssemblyAndDelegation_C_tester.SetAggregation(AggregationKind.composite); + Signal_AssemblyAndDelegation_C.AddOwnedAttribute(Signal_AssemblyAndDelegation_C_tester); + + Signal_AssemblyAndDelegation_C_r.SetName("r"); + Signal_AssemblyAndDelegation_C_r.SetVisibility(VisibilityKind.public_); + + Signal_AssemblyAndDelegation_C_r_ConnectorEnd98.SetRole(Signal_AssemblyAndDelegation_C_q); + + Signal_AssemblyAndDelegation_C_r.AddEnd(Signal_AssemblyAndDelegation_C_r_ConnectorEnd98); + + Signal_AssemblyAndDelegation_C_r_ConnectorEnd99.SetRole(Signal_AssemblyAndDelegation_Tester_q); + Signal_AssemblyAndDelegation_C_r_ConnectorEnd99.SetPartWithPort(Signal_AssemblyAndDelegation_C_tester); + + Signal_AssemblyAndDelegation_C_r.AddEnd(Signal_AssemblyAndDelegation_C_r_ConnectorEnd99); + Signal_AssemblyAndDelegation_C_r.SetType(Signal_AssemblyAndDelegation_R); + Signal_AssemblyAndDelegation_C.AddOwnedConnector(Signal_AssemblyAndDelegation_C_r); + Signal_AssemblyAndDelegation.AddPackagedElement(Signal_AssemblyAndDelegation_C); + // Class TestCase + Signal_AssemblyAndDelegation_TestCase.SetName("TestCase"); + Signal_AssemblyAndDelegation_TestCase.SetVisibility(VisibilityKind.public_); + + Signal_AssemblyAndDelegation_TestCase.SetIsAbstract(true); + + + // Operation test + Signal_AssemblyAndDelegation_TestCase_test.SetName("test"); + Signal_AssemblyAndDelegation_TestCase_test.SetVisibility(VisibilityKind.public_); + Signal_AssemblyAndDelegation_TestCase_test.SetIsAbstract(true); + Signal_AssemblyAndDelegation_TestCase.AddOwnedOperation(Signal_AssemblyAndDelegation_TestCase_test); + Signal_AssemblyAndDelegation.AddPackagedElement(Signal_AssemblyAndDelegation_TestCase); + // Association R + Signal_AssemblyAndDelegation_R.SetName("R"); + Signal_AssemblyAndDelegation_R.SetVisibility(VisibilityKind.public_); + Signal_AssemblyAndDelegation_R.AddOwnedEnd(Signal_AssemblyAndDelegation_R_x); + Signal_AssemblyAndDelegation_R.AddOwnedEnd(Signal_AssemblyAndDelegation_R_y); + Signal_AssemblyAndDelegation.AddPackagedElement(Signal_AssemblyAndDelegation_R); + // Signal Start + Signal_AssemblyAndDelegation_Start.SetName("Start"); + Signal_AssemblyAndDelegation_Start.SetVisibility(VisibilityKind.public_); + + // Property testCase + Signal_AssemblyAndDelegation_Start_testCase.SetName("testCase"); + Signal_AssemblyAndDelegation_Start_testCase.SetVisibility(VisibilityKind.public_); + + Signal_AssemblyAndDelegation_Start_testCase.SetType(Signal_AssemblyAndDelegation_TestCase); + Signal_AssemblyAndDelegation_Start.AddOwnedAttribute(Signal_AssemblyAndDelegation_Start_testCase); + Signal_AssemblyAndDelegation.AddPackagedElement(Signal_AssemblyAndDelegation_Start); + // Class Tester + Signal_AssemblyAndDelegation_Tester.SetName("Tester"); + Signal_AssemblyAndDelegation_Tester.SetVisibility(VisibilityKind.public_); + + // Port q + Signal_AssemblyAndDelegation_Tester_q.SetName("q"); + Signal_AssemblyAndDelegation_Tester_q.SetVisibility(VisibilityKind.public_); + + Signal_AssemblyAndDelegation_Tester_q.SetType(Signal_AssemblyAndDelegation_I); + Signal_AssemblyAndDelegation_Tester_q.SetAggregation(AggregationKind.composite); + Signal_AssemblyAndDelegation_Tester_q.isBehavior = true; + Signal_AssemblyAndDelegation_Tester_q.isService = true; + Signal_AssemblyAndDelegation_Tester.AddOwnedAttribute(Signal_AssemblyAndDelegation_Tester_q); + Signal_AssemblyAndDelegation_Tester.SetClassifierBehavior(Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior); + // Activity TesterClassifierBehavior + Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior.SetName("TesterClassifierBehavior"); + Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior.SetVisibility(VisibilityKind.public_); + + Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior.isReentrant = false; + // ValueSpecificationAction Value(4) + Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_Value_4.SetName("Value(4)"); + Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_Value_4.SetVisibility(VisibilityKind.public_); + // LiteralInteger LiteralInteger104 + Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_Value_4_LiteralInteger104.SetName("LiteralInteger104"); + Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_Value_4_LiteralInteger104.SetVisibility(VisibilityKind.public_); + Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_Value_4_LiteralInteger104.SetValue(4); + Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_Value_4.SetValue(Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_Value_4_LiteralInteger104); + // OutputPin result + Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_Value_4_result.SetName("result"); + Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_Value_4_result.SetVisibility(VisibilityKind.public_); + Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_Value_4_result.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_Value_4.SetResult(Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_Value_4_result); + Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior.AddNode(Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_Value_4); + // AcceptEventAction Accept Continue + Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_Accept_Continue.SetName("Accept Continue"); + Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_Accept_Continue.SetVisibility(VisibilityKind.public_); + // OutputPin result + Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_Accept_Continue_result.SetName("result"); + Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_Accept_Continue_result.SetVisibility(VisibilityKind.public_); + Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_Accept_Continue_result.SetType(Signal_AssemblyAndDelegation_Continue); + Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_Accept_Continue.AddResult(Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_Accept_Continue_result); + // Trigger Trigger105 + Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_Accept_Continue_Trigger105.SetName("Trigger105"); + Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_Accept_Continue_Trigger105.SetVisibility(VisibilityKind.public_); + Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_Accept_Continue_Trigger105.SetEvent(Signal_AssemblyAndDelegation_ContinueEvent); + Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_Accept_Continue.AddTrigger(Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_Accept_Continue_Trigger105); + Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior.AddNode(Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_Accept_Continue); + // ActivityFinalNode ActivityFinalNode119 + Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_ActivityFinalNode119.SetName("ActivityFinalNode119"); + Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_ActivityFinalNode119.SetVisibility(VisibilityKind.public_); + Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior.AddNode(Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_ActivityFinalNode119); + // AcceptEventAction Accept Start + Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_Accept_Start.SetName("Accept Start"); + Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_Accept_Start.SetVisibility(VisibilityKind.public_); + Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_Accept_Start.SetIsUnmarshall(true); + // OutputPin testCase + Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_Accept_Start_testCase.SetName("testCase"); + Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_Accept_Start_testCase.SetVisibility(VisibilityKind.public_); + Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_Accept_Start_testCase.SetType(Signal_AssemblyAndDelegation_TestCase); + Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_Accept_Start.AddResult(Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_Accept_Start_testCase); + // Trigger Trigger120 + Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_Accept_Start_Trigger120.SetName("Trigger120"); + Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_Accept_Start_Trigger120.SetVisibility(VisibilityKind.public_); + Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_Accept_Start_Trigger120.SetEvent(Signal_AssemblyAndDelegation_StartEvent); + Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_Accept_Start.AddTrigger(Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_Accept_Start_Trigger120); + Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior.AddNode(Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_Accept_Start); + // SendSignalAction Send S + Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_Send_S.SetName("Send S"); + Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_Send_S.SetVisibility(VisibilityKind.public_); + Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_Send_S.SetSignal(Signal_AssemblyAndDelegation_S); + // InputPin target + Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_Send_S_target.SetName("target"); + Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_Send_S_target.SetVisibility(VisibilityKind.public_); + Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_Send_S_target.SetType(Signal_AssemblyAndDelegation_Tester); + Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_Send_S.SetTarget(Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_Send_S_target); + // InputPin value + Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_Send_S_value.SetName("value"); + Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_Send_S_value.SetVisibility(VisibilityKind.public_); + Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_Send_S_value.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_Send_S.AddArgument(Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_Send_S_value); + Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_Send_S.SetOnPort(Signal_AssemblyAndDelegation_Tester_q); + Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior.AddNode(Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_Send_S); + // ReadSelfAction this + Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_this.SetName("this"); + Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_this.SetVisibility(VisibilityKind.public_); + // OutputPin result + Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_this_result.SetName("result"); + Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_this_result.SetVisibility(VisibilityKind.public_); + Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_this_result.SetType(Signal_AssemblyAndDelegation_Tester); + Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_this.SetResult(Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_this_result); + Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior.AddNode(Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_this); + // CallOperationAction Call test() + Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_Call_test_.SetName("Call test()"); + Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_Call_test_.SetVisibility(VisibilityKind.public_); + Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_Call_test_.SetOperation(Signal_AssemblyAndDelegation_TestCase_test); + // InputPin target + Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_Call_test__target.SetName("target"); + Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_Call_test__target.SetVisibility(VisibilityKind.public_); + Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_Call_test__target.SetType(Signal_AssemblyAndDelegation_TestCase); + Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_Call_test_.SetTarget(Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_Call_test__target); + Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior.AddNode(Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_Call_test_); + // ControlFlow ControlFlow100 from Send S to Accept Continue + Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_ControlFlow100.SetName("ControlFlow100"); + Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_ControlFlow100.SetVisibility(VisibilityKind.public_); + + Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_ControlFlow100.SetSource(Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_Send_S); + Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_ControlFlow100.SetTarget(Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_Accept_Continue); + Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior.AddEdge(Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_ControlFlow100); + // ControlFlow ControlFlow115 from Call test() to ActivityFinalNode119 + Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_ControlFlow115.SetName("ControlFlow115"); + Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_ControlFlow115.SetVisibility(VisibilityKind.public_); + + Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_ControlFlow115.SetSource(Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_Call_test_); + Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_ControlFlow115.SetTarget(Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_ActivityFinalNode119); + Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior.AddEdge(Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_ControlFlow115); + // ObjectFlow ObjectFlow116 from testCase to target + Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_ObjectFlow116.SetName("ObjectFlow116"); + Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_ObjectFlow116.SetVisibility(VisibilityKind.public_); + + Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_ObjectFlow116.SetSource(Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_Accept_Start_testCase); + Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_ObjectFlow116.SetTarget(Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_Call_test__target); + // LiteralBoolean LiteralBoolean118 + Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_ObjectFlow116_LiteralBoolean118.SetName("LiteralBoolean118"); + Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_ObjectFlow116_LiteralBoolean118.SetVisibility(VisibilityKind.public_); + Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_ObjectFlow116_LiteralBoolean118.SetValue(true); + Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_ObjectFlow116.SetGuard(Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_ObjectFlow116_LiteralBoolean118); + Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior.AddEdge(Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_ObjectFlow116); + // ControlFlow ControlFlow101 from Accept Continue to Call test() + Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_ControlFlow101.SetName("ControlFlow101"); + Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_ControlFlow101.SetVisibility(VisibilityKind.public_); + + Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_ControlFlow101.SetSource(Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_Accept_Continue); + Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_ControlFlow101.SetTarget(Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_Call_test_); + Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior.AddEdge(Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_ControlFlow101); + // ObjectFlow ObjectFlow109 from result to value + Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_ObjectFlow109.SetName("ObjectFlow109"); + Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_ObjectFlow109.SetVisibility(VisibilityKind.public_); + + Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_ObjectFlow109.SetSource(Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_Value_4_result); + Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_ObjectFlow109.SetTarget(Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_Send_S_value); + // LiteralBoolean LiteralBoolean110 + Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_ObjectFlow109_LiteralBoolean110.SetName("LiteralBoolean110"); + Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_ObjectFlow109_LiteralBoolean110.SetVisibility(VisibilityKind.public_); + Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_ObjectFlow109_LiteralBoolean110.SetValue(true); + Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_ObjectFlow109.SetGuard(Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_ObjectFlow109_LiteralBoolean110); + Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior.AddEdge(Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_ObjectFlow109); + // ObjectFlow ObjectFlow129 from result to target + Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_ObjectFlow129.SetName("ObjectFlow129"); + Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_ObjectFlow129.SetVisibility(VisibilityKind.public_); + + Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_ObjectFlow129.SetSource(Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_this_result); + Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_ObjectFlow129.SetTarget(Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_Send_S_target); + // LiteralBoolean LiteralBoolean130 + Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_ObjectFlow129_LiteralBoolean130.SetName("LiteralBoolean130"); + Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_ObjectFlow129_LiteralBoolean130.SetVisibility(VisibilityKind.public_); + Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_ObjectFlow129_LiteralBoolean130.SetValue(true); + Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_ObjectFlow129.SetGuard(Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_ObjectFlow129_LiteralBoolean130); + Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior.AddEdge(Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_ObjectFlow129); + // ControlFlow ControlFlow112 from Accept Start to this + Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_ControlFlow112.SetName("ControlFlow112"); + Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_ControlFlow112.SetVisibility(VisibilityKind.public_); + + Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_ControlFlow112.SetSource(Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_Accept_Start); + Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_ControlFlow112.SetTarget(Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_this); + Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior.AddEdge(Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior_ControlFlow112); + Signal_AssemblyAndDelegation_Tester.AddOwnedBehavior(Signal_AssemblyAndDelegation_Tester_TesterClassifierBehavior); + + Signal_AssemblyAndDelegation_Tester.SetIsActive(true); + // Operation Tester_Tester + Signal_AssemblyAndDelegation_Tester_Tester_Tester.SetName("Tester_Tester"); + Signal_AssemblyAndDelegation_Tester_Tester_Tester.SetVisibility(VisibilityKind.public_); + // Parameter result + Signal_AssemblyAndDelegation_Tester_Tester_Tester_result.SetName("result"); + Signal_AssemblyAndDelegation_Tester_Tester_Tester_result.SetVisibility(VisibilityKind.public_); + + Signal_AssemblyAndDelegation_Tester_Tester_Tester_result.SetType(Signal_AssemblyAndDelegation_Tester); + Signal_AssemblyAndDelegation_Tester_Tester_Tester_result.SetDirection(ParameterDirectionKind.return_); + Signal_AssemblyAndDelegation_Tester_Tester_Tester.AddOwnedParameter(Signal_AssemblyAndDelegation_Tester_Tester_Tester_result); + Signal_AssemblyAndDelegation_Tester_Tester_Tester.ApplyStereotype(uml.standardprofile.StandardProfileModel.Instance().Stereotype_Create); + Signal_AssemblyAndDelegation_Tester.AddOwnedOperation(Signal_AssemblyAndDelegation_Tester_Tester_Tester); + // Reception Start + Signal_AssemblyAndDelegation_Tester_Start.SetName("Start"); + Signal_AssemblyAndDelegation_Tester_Start.SetVisibility(VisibilityKind.public_); + Signal_AssemblyAndDelegation_Tester_Start.SetSignal(Signal_AssemblyAndDelegation_Start); + Signal_AssemblyAndDelegation_Tester.AddOwnedReception(Signal_AssemblyAndDelegation_Tester_Start); + Signal_AssemblyAndDelegation.AddPackagedElement(Signal_AssemblyAndDelegation_Tester); + } + + /* Start of user code : User-defined members + * This section may be used for user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } // Signal_AssemblyAndDelegationModel +} diff --git a/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/08_Signal_AssemblyAndDelegation/src/testVExecution.cs b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/08_Signal_AssemblyAndDelegation/src/testVExecution.cs new file mode 100644 index 0000000..94bc106 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/03_Communication_(onPort)/08_Signal_AssemblyAndDelegation/src/testVExecution.cs @@ -0,0 +1,78 @@ +/* + * testVExecution.cs + * + * Auto-generated file + */ + +using fuml.semantics.commonbehavior; +using fuml; +using fuml.semantics.simpleclassifiers; +using fuml.semantics.values; + +/* Start of user code : User-defined includes and forward declarations + * This section may be used for includes and forward declarations. + * It will not be overwritten by future generation processes. + */ + +/* + * End of user code + */ + +namespace Signal_AssemblyAndDelegation +{ + public class testVExecution : OpaqueBehaviorExecution + { + public testVExecution() + { + types.Add(Signal_AssemblyAndDelegationModel.Instance().Signal_AssemblyAndDelegation_TestCaseAssemblyAndDelegation_testActivity_testV); + /* Start of user code : Additional opaque behavior execution initializations + * This section may be used to do any additional opaque behavior execution initialization, + * for example initializing user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } + + public override void DoBody(List inputParameters, List outputParameters) + { + Console.WriteLine("Asserting b.a.v == 4"); + + // Test parameter v + int v = ((IntegerValue)inputParameters.ElementAt(0).values.ElementAt(0)).value; + Debug.Println("[doBody] argument v = " + v); + + Console.WriteLine("b.a.v == " + v); + Console.Write("Signal correctly sent and received: "); + + if(v == 4) + { + Console.ForegroundColor = ConsoleColor.Green; + Console.WriteLine("Assertion successful."); + } + else + { + Console.ForegroundColor = ConsoleColor.Red; + Console.WriteLine("Assertion failed!"); + } + + Console.ResetColor(); + } + + protected override Value New_() + { + return new testVExecution(); + } + + /* Start of user code : User-defined members + * This section may be used for user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } // testVExecution +} diff --git a/fUML-CSharp/tests/pscs-Tests/04_Destruction/01_RecursiveDestruction/.gitignore b/fUML-CSharp/tests/pscs-Tests/04_Destruction/01_RecursiveDestruction/.gitignore new file mode 100644 index 0000000..1736844 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/04_Destruction/01_RecursiveDestruction/.gitignore @@ -0,0 +1,3 @@ +/.vs/ +/bin/ +/obj/ diff --git a/fUML-CSharp/tests/pscs-Tests/04_Destruction/01_RecursiveDestruction/Properties/launchSettings.json b/fUML-CSharp/tests/pscs-Tests/04_Destruction/01_RecursiveDestruction/Properties/launchSettings.json new file mode 100644 index 0000000..448c168 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/04_Destruction/01_RecursiveDestruction/Properties/launchSettings.json @@ -0,0 +1,8 @@ +{ + "profiles": { + "RecursiveDestruction": { + "commandName": "Project", + "commandLineArgs": "main" + } + } +} \ No newline at end of file diff --git a/fUML-CSharp/tests/pscs-Tests/04_Destruction/01_RecursiveDestruction/RecursiveDestruction.csproj b/fUML-CSharp/tests/pscs-Tests/04_Destruction/01_RecursiveDestruction/RecursiveDestruction.csproj new file mode 100644 index 0000000..5f57fd9 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/04_Destruction/01_RecursiveDestruction/RecursiveDestruction.csproj @@ -0,0 +1,50 @@ + + + + Exe + net6.0 + enable + enable + + + + RecursiveDestruction.Debug + + + RecursiveDestruction.Release + + + + + ..\..\..\..\uml\bin\Debug\net6.0\uml.Debug.dll + + + + + ..\..\..\..\uml\bin\Release\net6.0\uml.Release.dll + + + + + + ..\..\..\..\fuml\bin\Debug\net6.0\fuml.Debug.dll + + + + + ..\..\..\..\fuml\bin\Release\net6.0\fuml.Release.dll + + + + + + ..\..\..\..\pscs\bin\Debug\net6.0\pscs.Debug.dll + + + + + ..\..\..\..\pscs\bin\Release\net6.0\pscs.Release.dll + + + + diff --git a/fUML-CSharp/tests/pscs-Tests/04_Destruction/01_RecursiveDestruction/RecursiveDestruction.sln b/fUML-CSharp/tests/pscs-Tests/04_Destruction/01_RecursiveDestruction/RecursiveDestruction.sln new file mode 100644 index 0000000..ded56bf --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/04_Destruction/01_RecursiveDestruction/RecursiveDestruction.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.32112.339 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "RecursiveDestruction", "RecursiveDestruction.csproj", "{0B747776-496A-4EB2-A204-71847FF60447}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {0B747776-496A-4EB2-A204-71847FF60447}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {0B747776-496A-4EB2-A204-71847FF60447}.Debug|Any CPU.Build.0 = Debug|Any CPU + {0B747776-496A-4EB2-A204-71847FF60447}.Release|Any CPU.ActiveCfg = Release|Any CPU + {0B747776-496A-4EB2-A204-71847FF60447}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {B2AD99DA-7A99-4AD0-9084-260C21075F86} + EndGlobalSection +EndGlobal diff --git a/fUML-CSharp/tests/pscs-Tests/04_Destruction/01_RecursiveDestruction/model/RecursiveDestruction.di b/fUML-CSharp/tests/pscs-Tests/04_Destruction/01_RecursiveDestruction/model/RecursiveDestruction.di new file mode 100644 index 0000000..bf9abab --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/04_Destruction/01_RecursiveDestruction/model/RecursiveDestruction.di @@ -0,0 +1,2 @@ + + diff --git a/fUML-CSharp/tests/pscs-Tests/04_Destruction/01_RecursiveDestruction/model/RecursiveDestruction.notation b/fUML-CSharp/tests/pscs-Tests/04_Destruction/01_RecursiveDestruction/model/RecursiveDestruction.notation new file mode 100644 index 0000000..425c8a2 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/04_Destruction/01_RecursiveDestruction/model/RecursiveDestruction.notation @@ -0,0 +1,771 @@ + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + +
+ + + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + +
+ + + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + +
+ + + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + +
+ + + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + +
+ + + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/fUML-CSharp/tests/pscs-Tests/04_Destruction/01_RecursiveDestruction/model/RecursiveDestruction.uml b/fUML-CSharp/tests/pscs-Tests/04_Destruction/01_RecursiveDestruction/model/RecursiveDestruction.uml new file mode 100644 index 0000000..5d65a16 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/04_Destruction/01_RecursiveDestruction/model/RecursiveDestruction.uml @@ -0,0 +1,295 @@ + + + + + This test case validates recursive destruction of parts and ports in the case where a composite object is destroyed. + + + Passing: true + + + + + + + Star pattern: +lower bound on ends of connector r equal +lower bound of connected parts + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + C# + Console.WriteLine("# Instances of B: " + inputParameters.ElementAt(0).values.Count); + + + + + + + C# + Console.WriteLine("# Instances of C: " + inputParameters.ElementAt(0).values.Count); + + + + + + + C# + Console.WriteLine("# Instances of IImpl: " + inputParameters.ElementAt(0).values.Count); + + + + + + + C# + Console.WriteLine("Asserting B.allInstances()->size() == 0"); + + int extentSize = inputParameters.ElementAt(0).values.Count; + + Console.WriteLine("B.allInstances()->size() == " + extentSize); + Console.Write("All instances of B recursively destroyed: "); + + if(extentSize == 0) + { + Console.ForegroundColor = ConsoleColor.Green; + Console.WriteLine("Assertion successful."); + } + else + { + Console.ForegroundColor = ConsoleColor.Red; + Console.WriteLine("Assertion failed!"); + } + Console.ResetColor(); + + + + + + + C# + Console.WriteLine("Asserting C.allInstances()->size() == 0"); + + int extentSize = inputParameters.ElementAt(0).values.Count; + + Console.WriteLine("C.allInstances()->size() == " + extentSize); + Console.Write("All instances of C recursively destroyed: "); + + if(extentSize == 0) + { + Console.ForegroundColor = ConsoleColor.Green; + Console.WriteLine("Assertion successful."); + } + else + { + Console.ForegroundColor = ConsoleColor.Red; + Console.WriteLine("Assertion failed!"); + } + Console.ResetColor(); + + + + + + + C# + Console.WriteLine("Asserting IImpl.allInstances()->size() == 0"); + + int extentSize = inputParameters.ElementAt(0).values.Count; + + Console.WriteLine("IImpl.allInstances()->size() == " + extentSize); + Console.Write("All instances of IImpl recursively destroyed: "); + + if(extentSize == 0) + { + Console.ForegroundColor = ConsoleColor.Green; + Console.WriteLine("Assertion successful."); + } + else + { + Console.ForegroundColor = ConsoleColor.Red; + Console.WriteLine("Assertion failed!"); + } + Console.ResetColor(); + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/fUML-CSharp/tests/pscs-Tests/04_Destruction/01_RecursiveDestruction/src/RecursiveDestruction.cs b/fUML-CSharp/tests/pscs-Tests/04_Destruction/01_RecursiveDestruction/src/RecursiveDestruction.cs new file mode 100644 index 0000000..fd88265 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/04_Destruction/01_RecursiveDestruction/src/RecursiveDestruction.cs @@ -0,0 +1,31 @@ +namespace RecursiveDestruction +{ + internal class RecursiveDestruction + { + static void PrintUsage() + { + Console.WriteLine( + "=============================================================================================\n" + + "USAGE: [ <...>]\n" + + "=============================================================================================\n" + ); + } + + static int Main(string[] args) + { + if(args.Length == 0) + { + Console.WriteLine("[ERROR] Must declare at least one behavior name.\n"); + PrintUsage(); + return -1; + } + + foreach (string arg in args) + { + RecursiveDestructionEnvironment.Instance().Execute(arg); + } + + return 0; + } + } +} diff --git a/fUML-CSharp/tests/pscs-Tests/04_Destruction/01_RecursiveDestruction/src/RecursiveDestructionEnvironment.cs b/fUML-CSharp/tests/pscs-Tests/04_Destruction/01_RecursiveDestruction/src/RecursiveDestructionEnvironment.cs new file mode 100644 index 0000000..e61a94c --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/04_Destruction/01_RecursiveDestruction/src/RecursiveDestructionEnvironment.cs @@ -0,0 +1,98 @@ +/* + * RecursiveDestructionEnvironment.cs + * + * Auto-generated file + */ + +/* Start of user code : User-defined using directives + * This section may be used for using directives. + * It will not be overwritten by future generation processes. + */ + +/* + * End of user code + */ + +namespace RecursiveDestruction +{ + public class RecursiveDestructionEnvironment : pscs.environment.Environment + { + private static RecursiveDestructionEnvironment? instance; + + public static RecursiveDestructionEnvironment Instance() + { + if(instance is null) + { + instance = new(); + instance.inMemoryModel = RecursiveDestructionModel.Instance(); + } + + return instance; + } + + public RecursiveDestructionEnvironment() + { + /* + * Create custom opaque behavior execution instances and add them to the execution environment. + */ + AddPrimitiveBehaviorPrototype(new numberOfCInstancesExecution()); + AddPrimitiveBehaviorPrototype(new numberOfIImplInstancesExecution()); + AddPrimitiveBehaviorPrototype(new assertExtentOfBExecution()); + AddPrimitiveBehaviorPrototype(new numberOfBInstancesExecution()); + AddPrimitiveBehaviorPrototype(new assertExtentOfIImplExecution()); + AddPrimitiveBehaviorPrototype(new assertExtentOfCExecution()); + + /* Start of user code : Additional environment initializations + * This section may be used to do any additional environment initialization, + * for example initializing user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } + + public override void Execute(string behaviorName) + { + /* Start of user code : Context and inputs initializations + * This section may be used to initialize the execution context + * as well as input parameter values if required. + * It will not be overwritten by future generation processes. + */ + + //context = ...; + //inputs = ...; + + /* + * End of user code + */ + + /* + * Start execution via base class call + */ + base.Execute(behaviorName); + + /* Start of user code : Outputs evaluation + * This section may be used to evaluate output parameter values if required. + * It will not be overwritten by future generation processes. + */ + + //List theOutputs = outputs; + //... + + /* + * End of user code + */ + } + + /* Start of user code : User-defined members + * This section may be used for user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } // RecursiveDestructionEnvironment +} diff --git a/fUML-CSharp/tests/pscs-Tests/04_Destruction/01_RecursiveDestruction/src/RecursiveDestructionModel.cs b/fUML-CSharp/tests/pscs-Tests/04_Destruction/01_RecursiveDestruction/src/RecursiveDestructionModel.cs new file mode 100644 index 0000000..0fabb44 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/04_Destruction/01_RecursiveDestruction/src/RecursiveDestructionModel.cs @@ -0,0 +1,886 @@ +/* + * RecursiveDestructionModel.cs + * + * Auto-generated file + */ + +using uml.actions; +using uml.packages; +using uml.structuredclassifiers; +using fuml.primitivetypes; +using uml.classification; +using fuml.library; +using uml.commonbehavior; +using uml.simpleclassifiers; +using uml.commonstructure; +using uml.values; +using uml.activities; +using uml.environment; + + +/* Start of user code : User-defined includes and forward declarations + * This section may be used for includes and forward declarations. + * It will not be overwritten by future generation processes. + */ + +/* + * End of user code + */ + +namespace RecursiveDestruction +{ + public class RecursiveDestructionModel : InMemoryModel + { + private static RecursiveDestructionModel? instance; + + /* + * Model RecursiveDestruction + */ + public Package RecursiveDestruction = new(); + public Class_ RecursiveDestruction_IImpl = new(); + public InterfaceRealization RecursiveDestruction_IImpl_I_Realization = new(); + public Class_ RecursiveDestruction_B = new(); + public Port RecursiveDestruction_B_p = new(); + public LiteralInteger RecursiveDestruction_B_p_LiteralInteger0 = new(); + public LiteralUnlimitedNatural RecursiveDestruction_B_p_LiteralUnlimitedNatural1 = new(); + public Association RecursiveDestruction_R = new(); + public Property RecursiveDestruction_R_y = new(); + public LiteralInteger RecursiveDestruction_R_y_LiteralInteger2 = new(); + public LiteralUnlimitedNatural RecursiveDestruction_R_y_LiteralUnlimitedNatural3 = new(); + public Property RecursiveDestruction_R_x = new(); + public LiteralInteger RecursiveDestruction_R_x_LiteralInteger4 = new(); + public LiteralUnlimitedNatural RecursiveDestruction_R_x_LiteralUnlimitedNatural5 = new(); + public Activity RecursiveDestruction_main = new(); + public ControlFlow RecursiveDestruction_main_ControlFlow6 = new(); + public ObjectFlow RecursiveDestruction_main_ObjectFlow7 = new(); + public LiteralBoolean RecursiveDestruction_main_ObjectFlow7_LiteralBoolean8 = new(); + public LiteralInteger RecursiveDestruction_main_ObjectFlow7_LiteralInteger9 = new(); + public CreateObjectAction RecursiveDestruction_main_Create_A_Star_Pattern = new(); + public OutputPin RecursiveDestruction_main_Create_A_Star_Pattern_result = new(); + public LiteralUnlimitedNatural RecursiveDestruction_main_Create_A_Star_Pattern_result_LiteralUnlimitedNatural10 = new(); + public LiteralInteger RecursiveDestruction_main_Create_A_Star_Pattern_result_LiteralInteger11 = new(); + public OpaqueBehavior RecursiveDestruction_main_numberOfIImplInstances = new(); + public Parameter RecursiveDestruction_main_numberOfIImplInstances_iImplList = new(); + public LiteralInteger RecursiveDestruction_main_numberOfIImplInstances_iImplList_LiteralInteger12 = new(); + public LiteralUnlimitedNatural RecursiveDestruction_main_numberOfIImplInstances_iImplList_LiteralUnlimitedNatural13 = new(); + public ObjectFlow RecursiveDestruction_main_ObjectFlow14 = new(); + public LiteralInteger RecursiveDestruction_main_ObjectFlow14_LiteralInteger15 = new(); + public LiteralBoolean RecursiveDestruction_main_ObjectFlow14_LiteralBoolean16 = new(); + public ReadExtentAction RecursiveDestruction_main_Extent_of_IImpl_after_destruction = new(); + public OutputPin RecursiveDestruction_main_Extent_of_IImpl_after_destruction_iImplExtent = new(); + public CallBehaviorAction RecursiveDestruction_main_Call_numberOfCInstances = new(); + public InputPin RecursiveDestruction_main_Call_numberOfCInstances_cList = new(); + public LiteralInteger RecursiveDestruction_main_Call_numberOfCInstances_cList_LiteralInteger17 = new(); + public LiteralUnlimitedNatural RecursiveDestruction_main_Call_numberOfCInstances_cList_LiteralUnlimitedNatural18 = new(); + public LiteralInteger RecursiveDestruction_main_Call_numberOfCInstances_cList_LiteralInteger19 = new(); + public ObjectFlow RecursiveDestruction_main_ObjectFlow20 = new(); + public LiteralInteger RecursiveDestruction_main_ObjectFlow20_LiteralInteger21 = new(); + public LiteralBoolean RecursiveDestruction_main_ObjectFlow20_LiteralBoolean22 = new(); + public ObjectFlow RecursiveDestruction_main_ObjectFlow23 = new(); + public LiteralBoolean RecursiveDestruction_main_ObjectFlow23_LiteralBoolean24 = new(); + public LiteralInteger RecursiveDestruction_main_ObjectFlow23_LiteralInteger25 = new(); + public ObjectFlow RecursiveDestruction_main_ObjectFlow26 = new(); + public LiteralBoolean RecursiveDestruction_main_ObjectFlow26_LiteralBoolean27 = new(); + public LiteralInteger RecursiveDestruction_main_ObjectFlow26_LiteralInteger28 = new(); + public CallBehaviorAction RecursiveDestruction_main_Call_assertExtentOfC = new(); + public InputPin RecursiveDestruction_main_Call_assertExtentOfC_cList = new(); + public LiteralInteger RecursiveDestruction_main_Call_assertExtentOfC_cList_LiteralInteger29 = new(); + public LiteralInteger RecursiveDestruction_main_Call_assertExtentOfC_cList_LiteralInteger30 = new(); + public LiteralUnlimitedNatural RecursiveDestruction_main_Call_assertExtentOfC_cList_LiteralUnlimitedNatural31 = new(); + public OpaqueBehavior RecursiveDestruction_main_assertExtentOfIImpl = new(); + public Parameter RecursiveDestruction_main_assertExtentOfIImpl_iImplList = new(); + public LiteralUnlimitedNatural RecursiveDestruction_main_assertExtentOfIImpl_iImplList_LiteralUnlimitedNatural32 = new(); + public LiteralInteger RecursiveDestruction_main_assertExtentOfIImpl_iImplList_LiteralInteger33 = new(); + public ObjectFlow RecursiveDestruction_main_ObjectFlow34 = new(); + public LiteralBoolean RecursiveDestruction_main_ObjectFlow34_LiteralBoolean35 = new(); + public LiteralInteger RecursiveDestruction_main_ObjectFlow34_LiteralInteger36 = new(); + public ControlFlow RecursiveDestruction_main_ControlFlow37 = new(); + public ControlFlow RecursiveDestruction_main_ControlFlow38 = new(); + public ControlFlow RecursiveDestruction_main_ControlFlow39 = new(); + public OpaqueBehavior RecursiveDestruction_main_numberOfCInstances = new(); + public Parameter RecursiveDestruction_main_numberOfCInstances_cList = new(); + public LiteralInteger RecursiveDestruction_main_numberOfCInstances_cList_LiteralInteger40 = new(); + public LiteralUnlimitedNatural RecursiveDestruction_main_numberOfCInstances_cList_LiteralUnlimitedNatural41 = new(); + public OpaqueBehavior RecursiveDestruction_main_assertExtentOfB = new(); + public Parameter RecursiveDestruction_main_assertExtentOfB_bList = new(); + public LiteralInteger RecursiveDestruction_main_assertExtentOfB_bList_LiteralInteger42 = new(); + public LiteralUnlimitedNatural RecursiveDestruction_main_assertExtentOfB_bList_LiteralUnlimitedNatural43 = new(); + public ReadExtentAction RecursiveDestruction_main_Extent_of_B_before_destruction = new(); + public OutputPin RecursiveDestruction_main_Extent_of_B_before_destruction_bExtent = new(); + public ReadExtentAction RecursiveDestruction_main_Extent_of_C_before_destruction = new(); + public OutputPin RecursiveDestruction_main_Extent_of_C_before_destruction_cExtent = new(); + public ReadExtentAction RecursiveDestruction_main_Extent_of_IImpl_before_destruction = new(); + public OutputPin RecursiveDestruction_main_Extent_of_IImpl_before_destruction_iImplExtent = new(); + public DestroyObjectAction RecursiveDestruction_main_Destroy_A_Star_Pattern = new(); + public InputPin RecursiveDestruction_main_Destroy_A_Star_Pattern_target = new(); + public CallBehaviorAction RecursiveDestruction_main_Call_numberOfIImplInstances = new(); + public InputPin RecursiveDestruction_main_Call_numberOfIImplInstances_iImplList = new(); + public LiteralUnlimitedNatural RecursiveDestruction_main_Call_numberOfIImplInstances_iImplList_LiteralUnlimitedNatural44 = new(); + public LiteralInteger RecursiveDestruction_main_Call_numberOfIImplInstances_iImplList_LiteralInteger45 = new(); + public LiteralInteger RecursiveDestruction_main_Call_numberOfIImplInstances_iImplList_LiteralInteger46 = new(); + public CallOperationAction RecursiveDestruction_main_A_Star_Pattern_ = new(); + public InputPin RecursiveDestruction_main_A_Star_Pattern__target = new(); + public LiteralUnlimitedNatural RecursiveDestruction_main_A_Star_Pattern__target_LiteralUnlimitedNatural47 = new(); + public LiteralInteger RecursiveDestruction_main_A_Star_Pattern__target_LiteralInteger48 = new(); + public OutputPin RecursiveDestruction_main_A_Star_Pattern__result = new(); + public LiteralUnlimitedNatural RecursiveDestruction_main_A_Star_Pattern__result_LiteralUnlimitedNatural49 = new(); + public LiteralInteger RecursiveDestruction_main_A_Star_Pattern__result_LiteralInteger50 = new(); + public LiteralInteger RecursiveDestruction_main_A_Star_Pattern__result_LiteralInteger51 = new(); + public ControlFlow RecursiveDestruction_main_ControlFlow52 = new(); + public ObjectFlow RecursiveDestruction_main_ObjectFlow53 = new(); + public LiteralInteger RecursiveDestruction_main_ObjectFlow53_LiteralInteger54 = new(); + public LiteralBoolean RecursiveDestruction_main_ObjectFlow53_LiteralBoolean55 = new(); + public ObjectFlow RecursiveDestruction_main_ObjectFlow56 = new(); + public LiteralInteger RecursiveDestruction_main_ObjectFlow56_LiteralInteger57 = new(); + public LiteralBoolean RecursiveDestruction_main_ObjectFlow56_LiteralBoolean58 = new(); + public CallBehaviorAction RecursiveDestruction_main_Call_numberOfBInstances = new(); + public InputPin RecursiveDestruction_main_Call_numberOfBInstances_bList = new(); + public LiteralInteger RecursiveDestruction_main_Call_numberOfBInstances_bList_LiteralInteger59 = new(); + public LiteralUnlimitedNatural RecursiveDestruction_main_Call_numberOfBInstances_bList_LiteralUnlimitedNatural60 = new(); + public LiteralInteger RecursiveDestruction_main_Call_numberOfBInstances_bList_LiteralInteger61 = new(); + public OpaqueBehavior RecursiveDestruction_main_numberOfBInstances = new(); + public Parameter RecursiveDestruction_main_numberOfBInstances_bList = new(); + public LiteralInteger RecursiveDestruction_main_numberOfBInstances_bList_LiteralInteger62 = new(); + public LiteralUnlimitedNatural RecursiveDestruction_main_numberOfBInstances_bList_LiteralUnlimitedNatural63 = new(); + public ReadExtentAction RecursiveDestruction_main_Extent_of_B_after_destruction = new(); + public OutputPin RecursiveDestruction_main_Extent_of_B_after_destruction_bExtent = new(); + public ControlFlow RecursiveDestruction_main_ControlFlow64 = new(); + public ControlFlow RecursiveDestruction_main_ControlFlow65 = new(); + public ReadExtentAction RecursiveDestruction_main_Extent_of_C_after_destruction = new(); + public OutputPin RecursiveDestruction_main_Extent_of_C_after_destruction_cExtent = new(); + public CallBehaviorAction RecursiveDestruction_main_Call_assertExtentOfIImpl = new(); + public InputPin RecursiveDestruction_main_Call_assertExtentOfIImpl_iImplList = new(); + public LiteralUnlimitedNatural RecursiveDestruction_main_Call_assertExtentOfIImpl_iImplList_LiteralUnlimitedNatural66 = new(); + public LiteralInteger RecursiveDestruction_main_Call_assertExtentOfIImpl_iImplList_LiteralInteger67 = new(); + public LiteralInteger RecursiveDestruction_main_Call_assertExtentOfIImpl_iImplList_LiteralInteger68 = new(); + public OpaqueBehavior RecursiveDestruction_main_assertExtentOfC = new(); + public Parameter RecursiveDestruction_main_assertExtentOfC_cList = new(); + public LiteralUnlimitedNatural RecursiveDestruction_main_assertExtentOfC_cList_LiteralUnlimitedNatural69 = new(); + public LiteralInteger RecursiveDestruction_main_assertExtentOfC_cList_LiteralInteger70 = new(); + public CallBehaviorAction RecursiveDestruction_main_Call_assertExtentOfB = new(); + public InputPin RecursiveDestruction_main_Call_assertExtentOfB_bList = new(); + public LiteralInteger RecursiveDestruction_main_Call_assertExtentOfB_bList_LiteralInteger71 = new(); + public LiteralInteger RecursiveDestruction_main_Call_assertExtentOfB_bList_LiteralInteger72 = new(); + public LiteralUnlimitedNatural RecursiveDestruction_main_Call_assertExtentOfB_bList_LiteralUnlimitedNatural73 = new(); + public Class_ RecursiveDestruction_A_Star_Pattern = new(); + public Comment RecursiveDestruction_A_Star_Pattern_Comment74 = new(); + public Property RecursiveDestruction_A_Star_Pattern_partB = new(); + public LiteralUnlimitedNatural RecursiveDestruction_A_Star_Pattern_partB_LiteralUnlimitedNatural75 = new(); + public LiteralInteger RecursiveDestruction_A_Star_Pattern_partB_LiteralInteger76 = new(); + public Property RecursiveDestruction_A_Star_Pattern_partC = new(); + public LiteralUnlimitedNatural RecursiveDestruction_A_Star_Pattern_partC_LiteralUnlimitedNatural77 = new(); + public LiteralInteger RecursiveDestruction_A_Star_Pattern_partC_LiteralInteger78 = new(); + public Operation RecursiveDestruction_A_Star_Pattern_A_Star_Pattern_A_Star_Pattern = new(); + public Parameter RecursiveDestruction_A_Star_Pattern_A_Star_Pattern_A_Star_Pattern_result = new(); + public Connector RecursiveDestruction_A_Star_Pattern_r = new(); + public ConnectorEnd RecursiveDestruction_A_Star_Pattern_r_ConnectorEnd79 = new(); + public LiteralInteger RecursiveDestruction_A_Star_Pattern_r_ConnectorEnd79_connectorEnd_2_Lower = new(); + public LiteralUnlimitedNatural RecursiveDestruction_A_Star_Pattern_r_ConnectorEnd79_connectorEnd_2_Upper = new(); + public ConnectorEnd RecursiveDestruction_A_Star_Pattern_r_ConnectorEnd80 = new(); + public LiteralInteger RecursiveDestruction_A_Star_Pattern_r_ConnectorEnd80_connectorEnd_1_Lower = new(); + public LiteralUnlimitedNatural RecursiveDestruction_A_Star_Pattern_r_ConnectorEnd80_connectorEnd_1_Upper = new(); + public Class_ RecursiveDestruction_C = new(); + public Port RecursiveDestruction_C_q = new(); + public LiteralInteger RecursiveDestruction_C_q_LiteralInteger81 = new(); + public LiteralUnlimitedNatural RecursiveDestruction_C_q_LiteralUnlimitedNatural82 = new(); + public Interface RecursiveDestruction_I = new(); + + public static RecursiveDestructionModel Instance() + { + if (instance is null) + { + instance = new(); + instance.InitializeInMemoryModel(); + } + + return instance; + } + + public RecursiveDestructionModel() + { + /* Start of user code : Additional model initializations + * This section may be used to do any additional model initialization, + * for example initializing user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } + + private void InitializeInMemoryModel() + { + // Create public members + /* + * Model RecursiveDestruction + */ + AddToElementRepository("RecursiveDestruction", RecursiveDestruction); + AddToElementRepository("IImpl", RecursiveDestruction_IImpl); + AddToElementRepository("I_Realization", RecursiveDestruction_IImpl_I_Realization); + AddToElementRepository("B", RecursiveDestruction_B); + AddToElementRepository("p", RecursiveDestruction_B_p); + AddToElementRepository("LiteralInteger0", RecursiveDestruction_B_p_LiteralInteger0); + AddToElementRepository("LiteralUnlimitedNatural1", RecursiveDestruction_B_p_LiteralUnlimitedNatural1); + AddToElementRepository("R", RecursiveDestruction_R); + AddToElementRepository("y", RecursiveDestruction_R_y); + AddToElementRepository("LiteralInteger2", RecursiveDestruction_R_y_LiteralInteger2); + AddToElementRepository("LiteralUnlimitedNatural3", RecursiveDestruction_R_y_LiteralUnlimitedNatural3); + AddToElementRepository("x", RecursiveDestruction_R_x); + AddToElementRepository("LiteralInteger4", RecursiveDestruction_R_x_LiteralInteger4); + AddToElementRepository("LiteralUnlimitedNatural5", RecursiveDestruction_R_x_LiteralUnlimitedNatural5); + AddToElementRepository("main", RecursiveDestruction_main); + AddToElementRepository("ControlFlow6", RecursiveDestruction_main_ControlFlow6); + AddToElementRepository("ObjectFlow7", RecursiveDestruction_main_ObjectFlow7); + AddToElementRepository("LiteralBoolean8", RecursiveDestruction_main_ObjectFlow7_LiteralBoolean8); + AddToElementRepository("LiteralInteger9", RecursiveDestruction_main_ObjectFlow7_LiteralInteger9); + AddToElementRepository("Create A_Star_Pattern", RecursiveDestruction_main_Create_A_Star_Pattern); + AddToElementRepository("result", RecursiveDestruction_main_Create_A_Star_Pattern_result); + AddToElementRepository("LiteralUnlimitedNatural10", RecursiveDestruction_main_Create_A_Star_Pattern_result_LiteralUnlimitedNatural10); + AddToElementRepository("LiteralInteger11", RecursiveDestruction_main_Create_A_Star_Pattern_result_LiteralInteger11); + AddToElementRepository("numberOfIImplInstances", RecursiveDestruction_main_numberOfIImplInstances); + AddToElementRepository("iImplList", RecursiveDestruction_main_numberOfIImplInstances_iImplList); + AddToElementRepository("LiteralInteger12", RecursiveDestruction_main_numberOfIImplInstances_iImplList_LiteralInteger12); + AddToElementRepository("LiteralUnlimitedNatural13", RecursiveDestruction_main_numberOfIImplInstances_iImplList_LiteralUnlimitedNatural13); + AddToElementRepository("ObjectFlow14", RecursiveDestruction_main_ObjectFlow14); + AddToElementRepository("LiteralInteger15", RecursiveDestruction_main_ObjectFlow14_LiteralInteger15); + AddToElementRepository("LiteralBoolean16", RecursiveDestruction_main_ObjectFlow14_LiteralBoolean16); + AddToElementRepository("Extent of IImpl after destruction", RecursiveDestruction_main_Extent_of_IImpl_after_destruction); + AddToElementRepository("iImplExtent", RecursiveDestruction_main_Extent_of_IImpl_after_destruction_iImplExtent); + AddToElementRepository("Call numberOfCInstances", RecursiveDestruction_main_Call_numberOfCInstances); + AddToElementRepository("cList", RecursiveDestruction_main_Call_numberOfCInstances_cList); + AddToElementRepository("LiteralInteger17", RecursiveDestruction_main_Call_numberOfCInstances_cList_LiteralInteger17); + AddToElementRepository("LiteralUnlimitedNatural18", RecursiveDestruction_main_Call_numberOfCInstances_cList_LiteralUnlimitedNatural18); + AddToElementRepository("LiteralInteger19", RecursiveDestruction_main_Call_numberOfCInstances_cList_LiteralInteger19); + AddToElementRepository("ObjectFlow20", RecursiveDestruction_main_ObjectFlow20); + AddToElementRepository("LiteralInteger21", RecursiveDestruction_main_ObjectFlow20_LiteralInteger21); + AddToElementRepository("LiteralBoolean22", RecursiveDestruction_main_ObjectFlow20_LiteralBoolean22); + AddToElementRepository("ObjectFlow23", RecursiveDestruction_main_ObjectFlow23); + AddToElementRepository("LiteralBoolean24", RecursiveDestruction_main_ObjectFlow23_LiteralBoolean24); + AddToElementRepository("LiteralInteger25", RecursiveDestruction_main_ObjectFlow23_LiteralInteger25); + AddToElementRepository("ObjectFlow26", RecursiveDestruction_main_ObjectFlow26); + AddToElementRepository("LiteralBoolean27", RecursiveDestruction_main_ObjectFlow26_LiteralBoolean27); + AddToElementRepository("LiteralInteger28", RecursiveDestruction_main_ObjectFlow26_LiteralInteger28); + AddToElementRepository("Call assertExtentOfC", RecursiveDestruction_main_Call_assertExtentOfC); + AddToElementRepository("cList", RecursiveDestruction_main_Call_assertExtentOfC_cList); + AddToElementRepository("LiteralInteger29", RecursiveDestruction_main_Call_assertExtentOfC_cList_LiteralInteger29); + AddToElementRepository("LiteralInteger30", RecursiveDestruction_main_Call_assertExtentOfC_cList_LiteralInteger30); + AddToElementRepository("LiteralUnlimitedNatural31", RecursiveDestruction_main_Call_assertExtentOfC_cList_LiteralUnlimitedNatural31); + AddToElementRepository("assertExtentOfIImpl", RecursiveDestruction_main_assertExtentOfIImpl); + AddToElementRepository("iImplList", RecursiveDestruction_main_assertExtentOfIImpl_iImplList); + AddToElementRepository("LiteralUnlimitedNatural32", RecursiveDestruction_main_assertExtentOfIImpl_iImplList_LiteralUnlimitedNatural32); + AddToElementRepository("LiteralInteger33", RecursiveDestruction_main_assertExtentOfIImpl_iImplList_LiteralInteger33); + AddToElementRepository("ObjectFlow34", RecursiveDestruction_main_ObjectFlow34); + AddToElementRepository("LiteralBoolean35", RecursiveDestruction_main_ObjectFlow34_LiteralBoolean35); + AddToElementRepository("LiteralInteger36", RecursiveDestruction_main_ObjectFlow34_LiteralInteger36); + AddToElementRepository("ControlFlow37", RecursiveDestruction_main_ControlFlow37); + AddToElementRepository("ControlFlow38", RecursiveDestruction_main_ControlFlow38); + AddToElementRepository("ControlFlow39", RecursiveDestruction_main_ControlFlow39); + AddToElementRepository("numberOfCInstances", RecursiveDestruction_main_numberOfCInstances); + AddToElementRepository("cList", RecursiveDestruction_main_numberOfCInstances_cList); + AddToElementRepository("LiteralInteger40", RecursiveDestruction_main_numberOfCInstances_cList_LiteralInteger40); + AddToElementRepository("LiteralUnlimitedNatural41", RecursiveDestruction_main_numberOfCInstances_cList_LiteralUnlimitedNatural41); + AddToElementRepository("assertExtentOfB", RecursiveDestruction_main_assertExtentOfB); + AddToElementRepository("bList", RecursiveDestruction_main_assertExtentOfB_bList); + AddToElementRepository("LiteralInteger42", RecursiveDestruction_main_assertExtentOfB_bList_LiteralInteger42); + AddToElementRepository("LiteralUnlimitedNatural43", RecursiveDestruction_main_assertExtentOfB_bList_LiteralUnlimitedNatural43); + AddToElementRepository("Extent of B before destruction", RecursiveDestruction_main_Extent_of_B_before_destruction); + AddToElementRepository("bExtent", RecursiveDestruction_main_Extent_of_B_before_destruction_bExtent); + AddToElementRepository("Extent of C before destruction", RecursiveDestruction_main_Extent_of_C_before_destruction); + AddToElementRepository("cExtent", RecursiveDestruction_main_Extent_of_C_before_destruction_cExtent); + AddToElementRepository("Extent of IImpl before destruction", RecursiveDestruction_main_Extent_of_IImpl_before_destruction); + AddToElementRepository("iImplExtent", RecursiveDestruction_main_Extent_of_IImpl_before_destruction_iImplExtent); + AddToElementRepository("Destroy A_Star_Pattern", RecursiveDestruction_main_Destroy_A_Star_Pattern); + AddToElementRepository("target", RecursiveDestruction_main_Destroy_A_Star_Pattern_target); + AddToElementRepository("Call numberOfIImplInstances", RecursiveDestruction_main_Call_numberOfIImplInstances); + AddToElementRepository("iImplList", RecursiveDestruction_main_Call_numberOfIImplInstances_iImplList); + AddToElementRepository("LiteralUnlimitedNatural44", RecursiveDestruction_main_Call_numberOfIImplInstances_iImplList_LiteralUnlimitedNatural44); + AddToElementRepository("LiteralInteger45", RecursiveDestruction_main_Call_numberOfIImplInstances_iImplList_LiteralInteger45); + AddToElementRepository("LiteralInteger46", RecursiveDestruction_main_Call_numberOfIImplInstances_iImplList_LiteralInteger46); + AddToElementRepository("A_Star_Pattern()", RecursiveDestruction_main_A_Star_Pattern_); + AddToElementRepository("target", RecursiveDestruction_main_A_Star_Pattern__target); + AddToElementRepository("LiteralUnlimitedNatural47", RecursiveDestruction_main_A_Star_Pattern__target_LiteralUnlimitedNatural47); + AddToElementRepository("LiteralInteger48", RecursiveDestruction_main_A_Star_Pattern__target_LiteralInteger48); + AddToElementRepository("result", RecursiveDestruction_main_A_Star_Pattern__result); + AddToElementRepository("LiteralUnlimitedNatural49", RecursiveDestruction_main_A_Star_Pattern__result_LiteralUnlimitedNatural49); + AddToElementRepository("LiteralInteger50", RecursiveDestruction_main_A_Star_Pattern__result_LiteralInteger50); + AddToElementRepository("LiteralInteger51", RecursiveDestruction_main_A_Star_Pattern__result_LiteralInteger51); + AddToElementRepository("ControlFlow52", RecursiveDestruction_main_ControlFlow52); + AddToElementRepository("ObjectFlow53", RecursiveDestruction_main_ObjectFlow53); + AddToElementRepository("LiteralInteger54", RecursiveDestruction_main_ObjectFlow53_LiteralInteger54); + AddToElementRepository("LiteralBoolean55", RecursiveDestruction_main_ObjectFlow53_LiteralBoolean55); + AddToElementRepository("ObjectFlow56", RecursiveDestruction_main_ObjectFlow56); + AddToElementRepository("LiteralInteger57", RecursiveDestruction_main_ObjectFlow56_LiteralInteger57); + AddToElementRepository("LiteralBoolean58", RecursiveDestruction_main_ObjectFlow56_LiteralBoolean58); + AddToElementRepository("Call numberOfBInstances", RecursiveDestruction_main_Call_numberOfBInstances); + AddToElementRepository("bList", RecursiveDestruction_main_Call_numberOfBInstances_bList); + AddToElementRepository("LiteralInteger59", RecursiveDestruction_main_Call_numberOfBInstances_bList_LiteralInteger59); + AddToElementRepository("LiteralUnlimitedNatural60", RecursiveDestruction_main_Call_numberOfBInstances_bList_LiteralUnlimitedNatural60); + AddToElementRepository("LiteralInteger61", RecursiveDestruction_main_Call_numberOfBInstances_bList_LiteralInteger61); + AddToElementRepository("numberOfBInstances", RecursiveDestruction_main_numberOfBInstances); + AddToElementRepository("bList", RecursiveDestruction_main_numberOfBInstances_bList); + AddToElementRepository("LiteralInteger62", RecursiveDestruction_main_numberOfBInstances_bList_LiteralInteger62); + AddToElementRepository("LiteralUnlimitedNatural63", RecursiveDestruction_main_numberOfBInstances_bList_LiteralUnlimitedNatural63); + AddToElementRepository("Extent of B after destruction", RecursiveDestruction_main_Extent_of_B_after_destruction); + AddToElementRepository("bExtent", RecursiveDestruction_main_Extent_of_B_after_destruction_bExtent); + AddToElementRepository("ControlFlow64", RecursiveDestruction_main_ControlFlow64); + AddToElementRepository("ControlFlow65", RecursiveDestruction_main_ControlFlow65); + AddToElementRepository("Extent of C after destruction", RecursiveDestruction_main_Extent_of_C_after_destruction); + AddToElementRepository("cExtent", RecursiveDestruction_main_Extent_of_C_after_destruction_cExtent); + AddToElementRepository("Call assertExtentOfIImpl", RecursiveDestruction_main_Call_assertExtentOfIImpl); + AddToElementRepository("iImplList", RecursiveDestruction_main_Call_assertExtentOfIImpl_iImplList); + AddToElementRepository("LiteralUnlimitedNatural66", RecursiveDestruction_main_Call_assertExtentOfIImpl_iImplList_LiteralUnlimitedNatural66); + AddToElementRepository("LiteralInteger67", RecursiveDestruction_main_Call_assertExtentOfIImpl_iImplList_LiteralInteger67); + AddToElementRepository("LiteralInteger68", RecursiveDestruction_main_Call_assertExtentOfIImpl_iImplList_LiteralInteger68); + AddToElementRepository("assertExtentOfC", RecursiveDestruction_main_assertExtentOfC); + AddToElementRepository("cList", RecursiveDestruction_main_assertExtentOfC_cList); + AddToElementRepository("LiteralUnlimitedNatural69", RecursiveDestruction_main_assertExtentOfC_cList_LiteralUnlimitedNatural69); + AddToElementRepository("LiteralInteger70", RecursiveDestruction_main_assertExtentOfC_cList_LiteralInteger70); + AddToElementRepository("Call assertExtentOfB", RecursiveDestruction_main_Call_assertExtentOfB); + AddToElementRepository("bList", RecursiveDestruction_main_Call_assertExtentOfB_bList); + AddToElementRepository("LiteralInteger71", RecursiveDestruction_main_Call_assertExtentOfB_bList_LiteralInteger71); + AddToElementRepository("LiteralInteger72", RecursiveDestruction_main_Call_assertExtentOfB_bList_LiteralInteger72); + AddToElementRepository("LiteralUnlimitedNatural73", RecursiveDestruction_main_Call_assertExtentOfB_bList_LiteralUnlimitedNatural73); + AddToElementRepository("A_Star_Pattern", RecursiveDestruction_A_Star_Pattern); + AddToElementRepository("Comment74", RecursiveDestruction_A_Star_Pattern_Comment74); + AddToElementRepository("partB", RecursiveDestruction_A_Star_Pattern_partB); + AddToElementRepository("LiteralUnlimitedNatural75", RecursiveDestruction_A_Star_Pattern_partB_LiteralUnlimitedNatural75); + AddToElementRepository("LiteralInteger76", RecursiveDestruction_A_Star_Pattern_partB_LiteralInteger76); + AddToElementRepository("partC", RecursiveDestruction_A_Star_Pattern_partC); + AddToElementRepository("LiteralUnlimitedNatural77", RecursiveDestruction_A_Star_Pattern_partC_LiteralUnlimitedNatural77); + AddToElementRepository("LiteralInteger78", RecursiveDestruction_A_Star_Pattern_partC_LiteralInteger78); + AddToElementRepository("A_Star_Pattern_A_Star_Pattern", RecursiveDestruction_A_Star_Pattern_A_Star_Pattern_A_Star_Pattern); + AddToElementRepository("result", RecursiveDestruction_A_Star_Pattern_A_Star_Pattern_A_Star_Pattern_result); + AddToElementRepository("r", RecursiveDestruction_A_Star_Pattern_r); + AddToElementRepository("ConnectorEnd79", RecursiveDestruction_A_Star_Pattern_r_ConnectorEnd79); + AddToElementRepository("connectorEnd_2_Lower", RecursiveDestruction_A_Star_Pattern_r_ConnectorEnd79_connectorEnd_2_Lower); + AddToElementRepository("connectorEnd_2_Upper", RecursiveDestruction_A_Star_Pattern_r_ConnectorEnd79_connectorEnd_2_Upper); + AddToElementRepository("ConnectorEnd80", RecursiveDestruction_A_Star_Pattern_r_ConnectorEnd80); + AddToElementRepository("connectorEnd_1_Lower", RecursiveDestruction_A_Star_Pattern_r_ConnectorEnd80_connectorEnd_1_Lower); + AddToElementRepository("connectorEnd_1_Upper", RecursiveDestruction_A_Star_Pattern_r_ConnectorEnd80_connectorEnd_1_Upper); + AddToElementRepository("C", RecursiveDestruction_C); + AddToElementRepository("q", RecursiveDestruction_C_q); + AddToElementRepository("LiteralInteger81", RecursiveDestruction_C_q_LiteralInteger81); + AddToElementRepository("LiteralUnlimitedNatural82", RecursiveDestruction_C_q_LiteralUnlimitedNatural82); + AddToElementRepository("I", RecursiveDestruction_I); + + // Initialize public members + /* + * Model RecursiveDestruction + */ + RecursiveDestruction.SetName("RecursiveDestruction"); + RecursiveDestruction.SetVisibility(VisibilityKind.public_); + // Class IImpl + RecursiveDestruction_IImpl.SetName("IImpl"); + RecursiveDestruction_IImpl.SetVisibility(VisibilityKind.public_); + RecursiveDestruction_IImpl_I_Realization.SetName("I_Realization"); + RecursiveDestruction_IImpl_I_Realization.SetVisibility(VisibilityKind.public_); + RecursiveDestruction_IImpl_I_Realization.SetContract(RecursiveDestruction_I); + + RecursiveDestruction_IImpl.AddInterfaceRealization(RecursiveDestruction_IImpl_I_Realization); + RecursiveDestruction.AddPackagedElement(RecursiveDestruction_IImpl); + // Class B + RecursiveDestruction_B.SetName("B"); + RecursiveDestruction_B.SetVisibility(VisibilityKind.public_); + + // Port p + RecursiveDestruction_B_p.SetName("p"); + RecursiveDestruction_B_p.SetVisibility(VisibilityKind.public_); + RecursiveDestruction_B_p.SetUpper(-1); + RecursiveDestruction_B_p.SetLower(2); + RecursiveDestruction_B_p.SetType(RecursiveDestruction_IImpl); + RecursiveDestruction_B_p.SetAggregation(AggregationKind.composite); + RecursiveDestruction_B_p.isService = true; + RecursiveDestruction_B_p.AddProvided(RecursiveDestruction_I); + RecursiveDestruction_B.AddOwnedAttribute(RecursiveDestruction_B_p); + RecursiveDestruction.AddPackagedElement(RecursiveDestruction_B); + // Association R + RecursiveDestruction_R.SetName("R"); + RecursiveDestruction_R.SetVisibility(VisibilityKind.public_); + RecursiveDestruction_R.AddOwnedEnd(RecursiveDestruction_R_x); + RecursiveDestruction_R.AddOwnedEnd(RecursiveDestruction_R_y); + RecursiveDestruction.AddPackagedElement(RecursiveDestruction_R); + // Activity main + RecursiveDestruction_main.SetName("main"); + RecursiveDestruction_main.SetVisibility(VisibilityKind.public_); + // FunctionBehavior numberOfCInstances + RecursiveDestruction_main_numberOfCInstances.SetName("numberOfCInstances"); + RecursiveDestruction_main_numberOfCInstances.SetVisibility(VisibilityKind.public_); + + // Parameter cList + RecursiveDestruction_main_numberOfCInstances_cList.SetName("cList"); + RecursiveDestruction_main_numberOfCInstances_cList.SetVisibility(VisibilityKind.public_); + RecursiveDestruction_main_numberOfCInstances_cList.SetUpper(-1); + RecursiveDestruction_main_numberOfCInstances_cList.SetLower(0); + RecursiveDestruction_main_numberOfCInstances_cList.SetType(RecursiveDestruction_C); + RecursiveDestruction_main_numberOfCInstances.AddOwnedParameter(RecursiveDestruction_main_numberOfCInstances_cList); + RecursiveDestruction_main_numberOfCInstances.AddLanguage("C#"); + RecursiveDestruction_main_numberOfCInstances.AddBody("Console.WriteLine(\"# Instances of C: \" + inputParameters.ElementAt(0).values.Count);"); + RecursiveDestruction_main.AddOwnedBehavior(RecursiveDestruction_main_numberOfCInstances); + // FunctionBehavior numberOfIImplInstances + RecursiveDestruction_main_numberOfIImplInstances.SetName("numberOfIImplInstances"); + RecursiveDestruction_main_numberOfIImplInstances.SetVisibility(VisibilityKind.public_); + + // Parameter iImplList + RecursiveDestruction_main_numberOfIImplInstances_iImplList.SetName("iImplList"); + RecursiveDestruction_main_numberOfIImplInstances_iImplList.SetVisibility(VisibilityKind.public_); + RecursiveDestruction_main_numberOfIImplInstances_iImplList.SetUpper(-1); + RecursiveDestruction_main_numberOfIImplInstances_iImplList.SetLower(0); + RecursiveDestruction_main_numberOfIImplInstances_iImplList.SetType(RecursiveDestruction_IImpl); + RecursiveDestruction_main_numberOfIImplInstances.AddOwnedParameter(RecursiveDestruction_main_numberOfIImplInstances_iImplList); + RecursiveDestruction_main_numberOfIImplInstances.AddLanguage("C#"); + RecursiveDestruction_main_numberOfIImplInstances.AddBody("Console.WriteLine(\"# Instances of IImpl: \" + inputParameters.ElementAt(0).values.Count);"); + RecursiveDestruction_main.AddOwnedBehavior(RecursiveDestruction_main_numberOfIImplInstances); + // FunctionBehavior numberOfBInstances + RecursiveDestruction_main_numberOfBInstances.SetName("numberOfBInstances"); + RecursiveDestruction_main_numberOfBInstances.SetVisibility(VisibilityKind.public_); + + // Parameter bList + RecursiveDestruction_main_numberOfBInstances_bList.SetName("bList"); + RecursiveDestruction_main_numberOfBInstances_bList.SetVisibility(VisibilityKind.public_); + RecursiveDestruction_main_numberOfBInstances_bList.SetUpper(-1); + RecursiveDestruction_main_numberOfBInstances_bList.SetLower(0); + RecursiveDestruction_main_numberOfBInstances_bList.SetType(RecursiveDestruction_B); + RecursiveDestruction_main_numberOfBInstances.AddOwnedParameter(RecursiveDestruction_main_numberOfBInstances_bList); + RecursiveDestruction_main_numberOfBInstances.AddLanguage("C#"); + RecursiveDestruction_main_numberOfBInstances.AddBody("Console.WriteLine(\"# Instances of B: \" + inputParameters.ElementAt(0).values.Count);"); + RecursiveDestruction_main.AddOwnedBehavior(RecursiveDestruction_main_numberOfBInstances); + // FunctionBehavior assertExtentOfB + RecursiveDestruction_main_assertExtentOfB.SetName("assertExtentOfB"); + RecursiveDestruction_main_assertExtentOfB.SetVisibility(VisibilityKind.public_); + + // Parameter bList + RecursiveDestruction_main_assertExtentOfB_bList.SetName("bList"); + RecursiveDestruction_main_assertExtentOfB_bList.SetVisibility(VisibilityKind.public_); + RecursiveDestruction_main_assertExtentOfB_bList.SetUpper(-1); + RecursiveDestruction_main_assertExtentOfB_bList.SetLower(0); + RecursiveDestruction_main_assertExtentOfB_bList.SetType(RecursiveDestruction_B); + RecursiveDestruction_main_assertExtentOfB.AddOwnedParameter(RecursiveDestruction_main_assertExtentOfB_bList); + RecursiveDestruction_main_assertExtentOfB.AddLanguage("C#"); + RecursiveDestruction_main_assertExtentOfB.AddBody("Console.WriteLine(\"Asserting B.allInstances()->size() == 0\"); int extentSize = inputParameters.ElementAt(0).values.Count; Console.WriteLine(\"B.allInstances()->size() == \" + extentSize); Console.Write(\"All instances of B recursively destroyed: \"); if(extentSize == 0) { Console.ForegroundColor = ConsoleColor.Green; Console.WriteLine(\"Assertion successful.\"); } else { Console.ForegroundColor = ConsoleColor.Red; Console.WriteLine(\"Assertion failed!\"); } Console.ResetColor();"); + RecursiveDestruction_main.AddOwnedBehavior(RecursiveDestruction_main_assertExtentOfB); + // FunctionBehavior assertExtentOfIImpl + RecursiveDestruction_main_assertExtentOfIImpl.SetName("assertExtentOfIImpl"); + RecursiveDestruction_main_assertExtentOfIImpl.SetVisibility(VisibilityKind.public_); + + // Parameter iImplList + RecursiveDestruction_main_assertExtentOfIImpl_iImplList.SetName("iImplList"); + RecursiveDestruction_main_assertExtentOfIImpl_iImplList.SetVisibility(VisibilityKind.public_); + RecursiveDestruction_main_assertExtentOfIImpl_iImplList.SetUpper(-1); + RecursiveDestruction_main_assertExtentOfIImpl_iImplList.SetLower(0); + RecursiveDestruction_main_assertExtentOfIImpl_iImplList.SetType(RecursiveDestruction_IImpl); + RecursiveDestruction_main_assertExtentOfIImpl.AddOwnedParameter(RecursiveDestruction_main_assertExtentOfIImpl_iImplList); + RecursiveDestruction_main_assertExtentOfIImpl.AddLanguage("C#"); + RecursiveDestruction_main_assertExtentOfIImpl.AddBody("Console.WriteLine(\"Asserting IImpl.allInstances()->size() == 0\"); int extentSize = inputParameters.ElementAt(0).values.Count; Console.WriteLine(\"IImpl.allInstances()->size() == \" + extentSize); Console.Write(\"All instances of IImpl recursively destroyed: \"); if(extentSize == 0) { Console.ForegroundColor = ConsoleColor.Green; Console.WriteLine(\"Assertion successful.\"); } else { Console.ForegroundColor = ConsoleColor.Red; Console.WriteLine(\"Assertion failed!\"); } Console.ResetColor();"); + RecursiveDestruction_main.AddOwnedBehavior(RecursiveDestruction_main_assertExtentOfIImpl); + // FunctionBehavior assertExtentOfC + RecursiveDestruction_main_assertExtentOfC.SetName("assertExtentOfC"); + RecursiveDestruction_main_assertExtentOfC.SetVisibility(VisibilityKind.public_); + + // Parameter cList + RecursiveDestruction_main_assertExtentOfC_cList.SetName("cList"); + RecursiveDestruction_main_assertExtentOfC_cList.SetVisibility(VisibilityKind.public_); + RecursiveDestruction_main_assertExtentOfC_cList.SetUpper(-1); + RecursiveDestruction_main_assertExtentOfC_cList.SetLower(0); + RecursiveDestruction_main_assertExtentOfC_cList.SetType(RecursiveDestruction_C); + RecursiveDestruction_main_assertExtentOfC.AddOwnedParameter(RecursiveDestruction_main_assertExtentOfC_cList); + RecursiveDestruction_main_assertExtentOfC.AddLanguage("C#"); + RecursiveDestruction_main_assertExtentOfC.AddBody("Console.WriteLine(\"Asserting C.allInstances()->size() == 0\"); int extentSize = inputParameters.ElementAt(0).values.Count; Console.WriteLine(\"C.allInstances()->size() == \" + extentSize); Console.Write(\"All instances of C recursively destroyed: \"); if(extentSize == 0) { Console.ForegroundColor = ConsoleColor.Green; Console.WriteLine(\"Assertion successful.\"); } else { Console.ForegroundColor = ConsoleColor.Red; Console.WriteLine(\"Assertion failed!\"); } Console.ResetColor();"); + RecursiveDestruction_main.AddOwnedBehavior(RecursiveDestruction_main_assertExtentOfC); + // CreateObjectAction Create A_Star_Pattern + RecursiveDestruction_main_Create_A_Star_Pattern.SetName("Create A_Star_Pattern"); + RecursiveDestruction_main_Create_A_Star_Pattern.SetVisibility(VisibilityKind.public_); + RecursiveDestruction_main_Create_A_Star_Pattern.SetClassifier(RecursiveDestruction_A_Star_Pattern); + // OutputPin result + RecursiveDestruction_main_Create_A_Star_Pattern_result.SetName("result"); + RecursiveDestruction_main_Create_A_Star_Pattern_result.SetVisibility(VisibilityKind.public_); + RecursiveDestruction_main_Create_A_Star_Pattern_result.SetType(RecursiveDestruction_A_Star_Pattern); + RecursiveDestruction_main_Create_A_Star_Pattern.SetResult(RecursiveDestruction_main_Create_A_Star_Pattern_result); + RecursiveDestruction_main.AddNode(RecursiveDestruction_main_Create_A_Star_Pattern); + // ReadExtentAction Extent of IImpl after destruction + RecursiveDestruction_main_Extent_of_IImpl_after_destruction.SetName("Extent of IImpl after destruction"); + RecursiveDestruction_main_Extent_of_IImpl_after_destruction.SetVisibility(VisibilityKind.public_); + RecursiveDestruction_main_Extent_of_IImpl_after_destruction.SetClassifier(RecursiveDestruction_IImpl); + // OutputPin iImplExtent + RecursiveDestruction_main_Extent_of_IImpl_after_destruction_iImplExtent.SetName("iImplExtent"); + RecursiveDestruction_main_Extent_of_IImpl_after_destruction_iImplExtent.SetVisibility(VisibilityKind.public_); + RecursiveDestruction_main_Extent_of_IImpl_after_destruction_iImplExtent.SetType(RecursiveDestruction_IImpl); + RecursiveDestruction_main_Extent_of_IImpl_after_destruction.SetResult(RecursiveDestruction_main_Extent_of_IImpl_after_destruction_iImplExtent); + RecursiveDestruction_main.AddNode(RecursiveDestruction_main_Extent_of_IImpl_after_destruction); + // ReadExtentAction Extent of B before destruction + RecursiveDestruction_main_Extent_of_B_before_destruction.SetName("Extent of B before destruction"); + RecursiveDestruction_main_Extent_of_B_before_destruction.SetVisibility(VisibilityKind.public_); + RecursiveDestruction_main_Extent_of_B_before_destruction.SetClassifier(RecursiveDestruction_B); + // OutputPin bExtent + RecursiveDestruction_main_Extent_of_B_before_destruction_bExtent.SetName("bExtent"); + RecursiveDestruction_main_Extent_of_B_before_destruction_bExtent.SetVisibility(VisibilityKind.public_); + RecursiveDestruction_main_Extent_of_B_before_destruction_bExtent.SetType(RecursiveDestruction_B); + RecursiveDestruction_main_Extent_of_B_before_destruction.SetResult(RecursiveDestruction_main_Extent_of_B_before_destruction_bExtent); + RecursiveDestruction_main.AddNode(RecursiveDestruction_main_Extent_of_B_before_destruction); + // CallBehaviorAction Call numberOfCInstances + RecursiveDestruction_main_Call_numberOfCInstances.SetName("Call numberOfCInstances"); + RecursiveDestruction_main_Call_numberOfCInstances.SetVisibility(VisibilityKind.public_); + RecursiveDestruction_main_Call_numberOfCInstances.SetBehavior(RecursiveDestruction_main_numberOfCInstances); + // InputPin cList + RecursiveDestruction_main_Call_numberOfCInstances_cList.SetName("cList"); + RecursiveDestruction_main_Call_numberOfCInstances_cList.SetVisibility(VisibilityKind.public_); + RecursiveDestruction_main_Call_numberOfCInstances_cList.SetType(RecursiveDestruction_C); + RecursiveDestruction_main_Call_numberOfCInstances_cList.SetUpper(-1); + RecursiveDestruction_main_Call_numberOfCInstances_cList.SetLower(0); + RecursiveDestruction_main_Call_numberOfCInstances.AddArgument(RecursiveDestruction_main_Call_numberOfCInstances_cList); + RecursiveDestruction_main.AddNode(RecursiveDestruction_main_Call_numberOfCInstances); + // ReadExtentAction Extent of C before destruction + RecursiveDestruction_main_Extent_of_C_before_destruction.SetName("Extent of C before destruction"); + RecursiveDestruction_main_Extent_of_C_before_destruction.SetVisibility(VisibilityKind.public_); + RecursiveDestruction_main_Extent_of_C_before_destruction.SetClassifier(RecursiveDestruction_C); + // OutputPin cExtent + RecursiveDestruction_main_Extent_of_C_before_destruction_cExtent.SetName("cExtent"); + RecursiveDestruction_main_Extent_of_C_before_destruction_cExtent.SetVisibility(VisibilityKind.public_); + RecursiveDestruction_main_Extent_of_C_before_destruction_cExtent.SetType(RecursiveDestruction_C); + RecursiveDestruction_main_Extent_of_C_before_destruction.SetResult(RecursiveDestruction_main_Extent_of_C_before_destruction_cExtent); + RecursiveDestruction_main.AddNode(RecursiveDestruction_main_Extent_of_C_before_destruction); + // ReadExtentAction Extent of IImpl before destruction + RecursiveDestruction_main_Extent_of_IImpl_before_destruction.SetName("Extent of IImpl before destruction"); + RecursiveDestruction_main_Extent_of_IImpl_before_destruction.SetVisibility(VisibilityKind.public_); + RecursiveDestruction_main_Extent_of_IImpl_before_destruction.SetClassifier(RecursiveDestruction_IImpl); + // OutputPin iImplExtent + RecursiveDestruction_main_Extent_of_IImpl_before_destruction_iImplExtent.SetName("iImplExtent"); + RecursiveDestruction_main_Extent_of_IImpl_before_destruction_iImplExtent.SetVisibility(VisibilityKind.public_); + RecursiveDestruction_main_Extent_of_IImpl_before_destruction_iImplExtent.SetType(RecursiveDestruction_IImpl); + RecursiveDestruction_main_Extent_of_IImpl_before_destruction.SetResult(RecursiveDestruction_main_Extent_of_IImpl_before_destruction_iImplExtent); + RecursiveDestruction_main.AddNode(RecursiveDestruction_main_Extent_of_IImpl_before_destruction); + // DestroyObjectAction Destroy A_Star_Pattern + RecursiveDestruction_main_Destroy_A_Star_Pattern.SetName("Destroy A_Star_Pattern"); + RecursiveDestruction_main_Destroy_A_Star_Pattern.SetVisibility(VisibilityKind.public_); + RecursiveDestruction_main_Destroy_A_Star_Pattern.SetIsDestroyLinks(true); + RecursiveDestruction_main_Destroy_A_Star_Pattern.SetIsDestroyOwnedObjects(true); + // InputPin target + RecursiveDestruction_main_Destroy_A_Star_Pattern_target.SetName("target"); + RecursiveDestruction_main_Destroy_A_Star_Pattern_target.SetVisibility(VisibilityKind.public_); + RecursiveDestruction_main_Destroy_A_Star_Pattern_target.SetType(RecursiveDestruction_A_Star_Pattern); + RecursiveDestruction_main_Destroy_A_Star_Pattern_target.SetIsOrdered(true); + RecursiveDestruction_main_Destroy_A_Star_Pattern_target.SetIsUnique(false); + RecursiveDestruction_main_Destroy_A_Star_Pattern.SetTarget(RecursiveDestruction_main_Destroy_A_Star_Pattern_target); + RecursiveDestruction_main.AddNode(RecursiveDestruction_main_Destroy_A_Star_Pattern); + // CallBehaviorAction Call numberOfIImplInstances + RecursiveDestruction_main_Call_numberOfIImplInstances.SetName("Call numberOfIImplInstances"); + RecursiveDestruction_main_Call_numberOfIImplInstances.SetVisibility(VisibilityKind.public_); + RecursiveDestruction_main_Call_numberOfIImplInstances.SetBehavior(RecursiveDestruction_main_numberOfIImplInstances); + // InputPin iImplList + RecursiveDestruction_main_Call_numberOfIImplInstances_iImplList.SetName("iImplList"); + RecursiveDestruction_main_Call_numberOfIImplInstances_iImplList.SetVisibility(VisibilityKind.public_); + RecursiveDestruction_main_Call_numberOfIImplInstances_iImplList.SetType(RecursiveDestruction_IImpl); + RecursiveDestruction_main_Call_numberOfIImplInstances_iImplList.SetUpper(-1); + RecursiveDestruction_main_Call_numberOfIImplInstances_iImplList.SetLower(0); + RecursiveDestruction_main_Call_numberOfIImplInstances.AddArgument(RecursiveDestruction_main_Call_numberOfIImplInstances_iImplList); + RecursiveDestruction_main.AddNode(RecursiveDestruction_main_Call_numberOfIImplInstances); + // CallOperationAction A_Star_Pattern() + RecursiveDestruction_main_A_Star_Pattern_.SetName("A_Star_Pattern()"); + RecursiveDestruction_main_A_Star_Pattern_.SetVisibility(VisibilityKind.public_); + + // OutputPin result + RecursiveDestruction_main_A_Star_Pattern__result.SetName("result"); + RecursiveDestruction_main_A_Star_Pattern__result.SetVisibility(VisibilityKind.public_); + RecursiveDestruction_main_A_Star_Pattern__result.SetType(RecursiveDestruction_A_Star_Pattern); + RecursiveDestruction_main_A_Star_Pattern_.AddResult(RecursiveDestruction_main_A_Star_Pattern__result); + RecursiveDestruction_main_A_Star_Pattern_.SetOperation(RecursiveDestruction_A_Star_Pattern_A_Star_Pattern_A_Star_Pattern); + // InputPin target + RecursiveDestruction_main_A_Star_Pattern__target.SetName("target"); + RecursiveDestruction_main_A_Star_Pattern__target.SetVisibility(VisibilityKind.public_); + RecursiveDestruction_main_A_Star_Pattern__target.SetType(RecursiveDestruction_A_Star_Pattern); + RecursiveDestruction_main_A_Star_Pattern_.SetTarget(RecursiveDestruction_main_A_Star_Pattern__target); + RecursiveDestruction_main.AddNode(RecursiveDestruction_main_A_Star_Pattern_); + // CallBehaviorAction Call numberOfBInstances + RecursiveDestruction_main_Call_numberOfBInstances.SetName("Call numberOfBInstances"); + RecursiveDestruction_main_Call_numberOfBInstances.SetVisibility(VisibilityKind.public_); + RecursiveDestruction_main_Call_numberOfBInstances.SetBehavior(RecursiveDestruction_main_numberOfBInstances); + // InputPin bList + RecursiveDestruction_main_Call_numberOfBInstances_bList.SetName("bList"); + RecursiveDestruction_main_Call_numberOfBInstances_bList.SetVisibility(VisibilityKind.public_); + RecursiveDestruction_main_Call_numberOfBInstances_bList.SetType(RecursiveDestruction_B); + RecursiveDestruction_main_Call_numberOfBInstances_bList.SetUpper(-1); + RecursiveDestruction_main_Call_numberOfBInstances_bList.SetLower(0); + RecursiveDestruction_main_Call_numberOfBInstances.AddArgument(RecursiveDestruction_main_Call_numberOfBInstances_bList); + RecursiveDestruction_main.AddNode(RecursiveDestruction_main_Call_numberOfBInstances); + // ReadExtentAction Extent of B after destruction + RecursiveDestruction_main_Extent_of_B_after_destruction.SetName("Extent of B after destruction"); + RecursiveDestruction_main_Extent_of_B_after_destruction.SetVisibility(VisibilityKind.public_); + RecursiveDestruction_main_Extent_of_B_after_destruction.SetClassifier(RecursiveDestruction_B); + // OutputPin bExtent + RecursiveDestruction_main_Extent_of_B_after_destruction_bExtent.SetName("bExtent"); + RecursiveDestruction_main_Extent_of_B_after_destruction_bExtent.SetVisibility(VisibilityKind.public_); + RecursiveDestruction_main_Extent_of_B_after_destruction_bExtent.SetType(RecursiveDestruction_B); + RecursiveDestruction_main_Extent_of_B_after_destruction.SetResult(RecursiveDestruction_main_Extent_of_B_after_destruction_bExtent); + RecursiveDestruction_main.AddNode(RecursiveDestruction_main_Extent_of_B_after_destruction); + // CallBehaviorAction Call assertExtentOfC + RecursiveDestruction_main_Call_assertExtentOfC.SetName("Call assertExtentOfC"); + RecursiveDestruction_main_Call_assertExtentOfC.SetVisibility(VisibilityKind.public_); + RecursiveDestruction_main_Call_assertExtentOfC.SetBehavior(RecursiveDestruction_main_assertExtentOfC); + // InputPin cList + RecursiveDestruction_main_Call_assertExtentOfC_cList.SetName("cList"); + RecursiveDestruction_main_Call_assertExtentOfC_cList.SetVisibility(VisibilityKind.public_); + RecursiveDestruction_main_Call_assertExtentOfC_cList.SetType(RecursiveDestruction_C); + RecursiveDestruction_main_Call_assertExtentOfC_cList.SetUpper(-1); + RecursiveDestruction_main_Call_assertExtentOfC_cList.SetLower(0); + RecursiveDestruction_main_Call_assertExtentOfC.AddArgument(RecursiveDestruction_main_Call_assertExtentOfC_cList); + RecursiveDestruction_main.AddNode(RecursiveDestruction_main_Call_assertExtentOfC); + // ReadExtentAction Extent of C after destruction + RecursiveDestruction_main_Extent_of_C_after_destruction.SetName("Extent of C after destruction"); + RecursiveDestruction_main_Extent_of_C_after_destruction.SetVisibility(VisibilityKind.public_); + RecursiveDestruction_main_Extent_of_C_after_destruction.SetClassifier(RecursiveDestruction_C); + // OutputPin cExtent + RecursiveDestruction_main_Extent_of_C_after_destruction_cExtent.SetName("cExtent"); + RecursiveDestruction_main_Extent_of_C_after_destruction_cExtent.SetVisibility(VisibilityKind.public_); + RecursiveDestruction_main_Extent_of_C_after_destruction_cExtent.SetType(RecursiveDestruction_C); + RecursiveDestruction_main_Extent_of_C_after_destruction.SetResult(RecursiveDestruction_main_Extent_of_C_after_destruction_cExtent); + RecursiveDestruction_main.AddNode(RecursiveDestruction_main_Extent_of_C_after_destruction); + // CallBehaviorAction Call assertExtentOfIImpl + RecursiveDestruction_main_Call_assertExtentOfIImpl.SetName("Call assertExtentOfIImpl"); + RecursiveDestruction_main_Call_assertExtentOfIImpl.SetVisibility(VisibilityKind.public_); + RecursiveDestruction_main_Call_assertExtentOfIImpl.SetBehavior(RecursiveDestruction_main_assertExtentOfIImpl); + // InputPin iImplList + RecursiveDestruction_main_Call_assertExtentOfIImpl_iImplList.SetName("iImplList"); + RecursiveDestruction_main_Call_assertExtentOfIImpl_iImplList.SetVisibility(VisibilityKind.public_); + RecursiveDestruction_main_Call_assertExtentOfIImpl_iImplList.SetType(RecursiveDestruction_IImpl); + RecursiveDestruction_main_Call_assertExtentOfIImpl_iImplList.SetUpper(-1); + RecursiveDestruction_main_Call_assertExtentOfIImpl_iImplList.SetLower(0); + RecursiveDestruction_main_Call_assertExtentOfIImpl.AddArgument(RecursiveDestruction_main_Call_assertExtentOfIImpl_iImplList); + RecursiveDestruction_main.AddNode(RecursiveDestruction_main_Call_assertExtentOfIImpl); + // CallBehaviorAction Call assertExtentOfB + RecursiveDestruction_main_Call_assertExtentOfB.SetName("Call assertExtentOfB"); + RecursiveDestruction_main_Call_assertExtentOfB.SetVisibility(VisibilityKind.public_); + RecursiveDestruction_main_Call_assertExtentOfB.SetBehavior(RecursiveDestruction_main_assertExtentOfB); + // InputPin bList + RecursiveDestruction_main_Call_assertExtentOfB_bList.SetName("bList"); + RecursiveDestruction_main_Call_assertExtentOfB_bList.SetVisibility(VisibilityKind.public_); + RecursiveDestruction_main_Call_assertExtentOfB_bList.SetType(RecursiveDestruction_B); + RecursiveDestruction_main_Call_assertExtentOfB_bList.SetUpper(-1); + RecursiveDestruction_main_Call_assertExtentOfB_bList.SetLower(0); + RecursiveDestruction_main_Call_assertExtentOfB.AddArgument(RecursiveDestruction_main_Call_assertExtentOfB_bList); + RecursiveDestruction_main.AddNode(RecursiveDestruction_main_Call_assertExtentOfB); + // ControlFlow ControlFlow6 from A_Star_Pattern() to Extent of B before destruction + RecursiveDestruction_main_ControlFlow6.SetName("ControlFlow6"); + RecursiveDestruction_main_ControlFlow6.SetVisibility(VisibilityKind.public_); + + RecursiveDestruction_main_ControlFlow6.SetSource(RecursiveDestruction_main_A_Star_Pattern_); + RecursiveDestruction_main_ControlFlow6.SetTarget(RecursiveDestruction_main_Extent_of_B_before_destruction); + RecursiveDestruction_main.AddEdge(RecursiveDestruction_main_ControlFlow6); + // ControlFlow ControlFlow39 from Destroy A_Star_Pattern to Extent of B after destruction + RecursiveDestruction_main_ControlFlow39.SetName("ControlFlow39"); + RecursiveDestruction_main_ControlFlow39.SetVisibility(VisibilityKind.public_); + + RecursiveDestruction_main_ControlFlow39.SetSource(RecursiveDestruction_main_Destroy_A_Star_Pattern); + RecursiveDestruction_main_ControlFlow39.SetTarget(RecursiveDestruction_main_Extent_of_B_after_destruction); + RecursiveDestruction_main.AddEdge(RecursiveDestruction_main_ControlFlow39); + // ObjectFlow ObjectFlow7 from iImplExtent to iImplList + RecursiveDestruction_main_ObjectFlow7.SetName("ObjectFlow7"); + RecursiveDestruction_main_ObjectFlow7.SetVisibility(VisibilityKind.public_); + + RecursiveDestruction_main_ObjectFlow7.SetSource(RecursiveDestruction_main_Extent_of_IImpl_after_destruction_iImplExtent); + RecursiveDestruction_main_ObjectFlow7.SetTarget(RecursiveDestruction_main_Call_assertExtentOfIImpl_iImplList); + // LiteralBoolean LiteralBoolean8 + RecursiveDestruction_main_ObjectFlow7_LiteralBoolean8.SetName("LiteralBoolean8"); + RecursiveDestruction_main_ObjectFlow7_LiteralBoolean8.SetVisibility(VisibilityKind.public_); + RecursiveDestruction_main_ObjectFlow7_LiteralBoolean8.SetValue(true); + RecursiveDestruction_main_ObjectFlow7.SetGuard(RecursiveDestruction_main_ObjectFlow7_LiteralBoolean8); + RecursiveDestruction_main.AddEdge(RecursiveDestruction_main_ObjectFlow7); + // ObjectFlow ObjectFlow14 from iImplExtent to iImplList + RecursiveDestruction_main_ObjectFlow14.SetName("ObjectFlow14"); + RecursiveDestruction_main_ObjectFlow14.SetVisibility(VisibilityKind.public_); + + RecursiveDestruction_main_ObjectFlow14.SetSource(RecursiveDestruction_main_Extent_of_IImpl_before_destruction_iImplExtent); + RecursiveDestruction_main_ObjectFlow14.SetTarget(RecursiveDestruction_main_Call_numberOfIImplInstances_iImplList); + // LiteralBoolean LiteralBoolean16 + RecursiveDestruction_main_ObjectFlow14_LiteralBoolean16.SetName("LiteralBoolean16"); + RecursiveDestruction_main_ObjectFlow14_LiteralBoolean16.SetVisibility(VisibilityKind.public_); + RecursiveDestruction_main_ObjectFlow14_LiteralBoolean16.SetValue(true); + RecursiveDestruction_main_ObjectFlow14.SetGuard(RecursiveDestruction_main_ObjectFlow14_LiteralBoolean16); + RecursiveDestruction_main.AddEdge(RecursiveDestruction_main_ObjectFlow14); + // ObjectFlow ObjectFlow20 from cExtent to cList + RecursiveDestruction_main_ObjectFlow20.SetName("ObjectFlow20"); + RecursiveDestruction_main_ObjectFlow20.SetVisibility(VisibilityKind.public_); + + RecursiveDestruction_main_ObjectFlow20.SetSource(RecursiveDestruction_main_Extent_of_C_before_destruction_cExtent); + RecursiveDestruction_main_ObjectFlow20.SetTarget(RecursiveDestruction_main_Call_numberOfCInstances_cList); + // LiteralBoolean LiteralBoolean22 + RecursiveDestruction_main_ObjectFlow20_LiteralBoolean22.SetName("LiteralBoolean22"); + RecursiveDestruction_main_ObjectFlow20_LiteralBoolean22.SetVisibility(VisibilityKind.public_); + RecursiveDestruction_main_ObjectFlow20_LiteralBoolean22.SetValue(true); + RecursiveDestruction_main_ObjectFlow20.SetGuard(RecursiveDestruction_main_ObjectFlow20_LiteralBoolean22); + RecursiveDestruction_main.AddEdge(RecursiveDestruction_main_ObjectFlow20); + // ObjectFlow ObjectFlow23 from bExtent to bList + RecursiveDestruction_main_ObjectFlow23.SetName("ObjectFlow23"); + RecursiveDestruction_main_ObjectFlow23.SetVisibility(VisibilityKind.public_); + + RecursiveDestruction_main_ObjectFlow23.SetSource(RecursiveDestruction_main_Extent_of_B_after_destruction_bExtent); + RecursiveDestruction_main_ObjectFlow23.SetTarget(RecursiveDestruction_main_Call_assertExtentOfB_bList); + // LiteralBoolean LiteralBoolean24 + RecursiveDestruction_main_ObjectFlow23_LiteralBoolean24.SetName("LiteralBoolean24"); + RecursiveDestruction_main_ObjectFlow23_LiteralBoolean24.SetVisibility(VisibilityKind.public_); + RecursiveDestruction_main_ObjectFlow23_LiteralBoolean24.SetValue(true); + RecursiveDestruction_main_ObjectFlow23.SetGuard(RecursiveDestruction_main_ObjectFlow23_LiteralBoolean24); + RecursiveDestruction_main.AddEdge(RecursiveDestruction_main_ObjectFlow23); + // ControlFlow ControlFlow52 from Call assertExtentOfC to Extent of IImpl after destruction + RecursiveDestruction_main_ControlFlow52.SetName("ControlFlow52"); + RecursiveDestruction_main_ControlFlow52.SetVisibility(VisibilityKind.public_); + + RecursiveDestruction_main_ControlFlow52.SetSource(RecursiveDestruction_main_Call_assertExtentOfC); + RecursiveDestruction_main_ControlFlow52.SetTarget(RecursiveDestruction_main_Extent_of_IImpl_after_destruction); + RecursiveDestruction_main.AddEdge(RecursiveDestruction_main_ControlFlow52); + // ObjectFlow ObjectFlow26 from cExtent to cList + RecursiveDestruction_main_ObjectFlow26.SetName("ObjectFlow26"); + RecursiveDestruction_main_ObjectFlow26.SetVisibility(VisibilityKind.public_); + + RecursiveDestruction_main_ObjectFlow26.SetSource(RecursiveDestruction_main_Extent_of_C_after_destruction_cExtent); + RecursiveDestruction_main_ObjectFlow26.SetTarget(RecursiveDestruction_main_Call_assertExtentOfC_cList); + // LiteralBoolean LiteralBoolean27 + RecursiveDestruction_main_ObjectFlow26_LiteralBoolean27.SetName("LiteralBoolean27"); + RecursiveDestruction_main_ObjectFlow26_LiteralBoolean27.SetVisibility(VisibilityKind.public_); + RecursiveDestruction_main_ObjectFlow26_LiteralBoolean27.SetValue(true); + RecursiveDestruction_main_ObjectFlow26.SetGuard(RecursiveDestruction_main_ObjectFlow26_LiteralBoolean27); + RecursiveDestruction_main.AddEdge(RecursiveDestruction_main_ObjectFlow26); + // ObjectFlow ObjectFlow53 from result to target + RecursiveDestruction_main_ObjectFlow53.SetName("ObjectFlow53"); + RecursiveDestruction_main_ObjectFlow53.SetVisibility(VisibilityKind.public_); + + RecursiveDestruction_main_ObjectFlow53.SetSource(RecursiveDestruction_main_Create_A_Star_Pattern_result); + RecursiveDestruction_main_ObjectFlow53.SetTarget(RecursiveDestruction_main_A_Star_Pattern__target); + // LiteralBoolean LiteralBoolean55 + RecursiveDestruction_main_ObjectFlow53_LiteralBoolean55.SetName("LiteralBoolean55"); + RecursiveDestruction_main_ObjectFlow53_LiteralBoolean55.SetVisibility(VisibilityKind.public_); + RecursiveDestruction_main_ObjectFlow53_LiteralBoolean55.SetValue(true); + RecursiveDestruction_main_ObjectFlow53.SetGuard(RecursiveDestruction_main_ObjectFlow53_LiteralBoolean55); + RecursiveDestruction_main.AddEdge(RecursiveDestruction_main_ObjectFlow53); + // ObjectFlow ObjectFlow56 from bExtent to bList + RecursiveDestruction_main_ObjectFlow56.SetName("ObjectFlow56"); + RecursiveDestruction_main_ObjectFlow56.SetVisibility(VisibilityKind.public_); + + RecursiveDestruction_main_ObjectFlow56.SetSource(RecursiveDestruction_main_Extent_of_B_before_destruction_bExtent); + RecursiveDestruction_main_ObjectFlow56.SetTarget(RecursiveDestruction_main_Call_numberOfBInstances_bList); + // LiteralBoolean LiteralBoolean58 + RecursiveDestruction_main_ObjectFlow56_LiteralBoolean58.SetName("LiteralBoolean58"); + RecursiveDestruction_main_ObjectFlow56_LiteralBoolean58.SetVisibility(VisibilityKind.public_); + RecursiveDestruction_main_ObjectFlow56_LiteralBoolean58.SetValue(true); + RecursiveDestruction_main_ObjectFlow56.SetGuard(RecursiveDestruction_main_ObjectFlow56_LiteralBoolean58); + RecursiveDestruction_main.AddEdge(RecursiveDestruction_main_ObjectFlow56); + // ObjectFlow ObjectFlow34 from result to target + RecursiveDestruction_main_ObjectFlow34.SetName("ObjectFlow34"); + RecursiveDestruction_main_ObjectFlow34.SetVisibility(VisibilityKind.public_); + + RecursiveDestruction_main_ObjectFlow34.SetSource(RecursiveDestruction_main_A_Star_Pattern__result); + RecursiveDestruction_main_ObjectFlow34.SetTarget(RecursiveDestruction_main_Destroy_A_Star_Pattern_target); + // LiteralBoolean LiteralBoolean35 + RecursiveDestruction_main_ObjectFlow34_LiteralBoolean35.SetName("LiteralBoolean35"); + RecursiveDestruction_main_ObjectFlow34_LiteralBoolean35.SetVisibility(VisibilityKind.public_); + RecursiveDestruction_main_ObjectFlow34_LiteralBoolean35.SetValue(true); + RecursiveDestruction_main_ObjectFlow34.SetGuard(RecursiveDestruction_main_ObjectFlow34_LiteralBoolean35); + RecursiveDestruction_main.AddEdge(RecursiveDestruction_main_ObjectFlow34); + // ControlFlow ControlFlow37 from Call numberOfBInstances to Extent of C before destruction + RecursiveDestruction_main_ControlFlow37.SetName("ControlFlow37"); + RecursiveDestruction_main_ControlFlow37.SetVisibility(VisibilityKind.public_); + + RecursiveDestruction_main_ControlFlow37.SetSource(RecursiveDestruction_main_Call_numberOfBInstances); + RecursiveDestruction_main_ControlFlow37.SetTarget(RecursiveDestruction_main_Extent_of_C_before_destruction); + RecursiveDestruction_main.AddEdge(RecursiveDestruction_main_ControlFlow37); + // ControlFlow ControlFlow64 from Call numberOfIImplInstances to Destroy A_Star_Pattern + RecursiveDestruction_main_ControlFlow64.SetName("ControlFlow64"); + RecursiveDestruction_main_ControlFlow64.SetVisibility(VisibilityKind.public_); + + RecursiveDestruction_main_ControlFlow64.SetSource(RecursiveDestruction_main_Call_numberOfIImplInstances); + RecursiveDestruction_main_ControlFlow64.SetTarget(RecursiveDestruction_main_Destroy_A_Star_Pattern); + RecursiveDestruction_main.AddEdge(RecursiveDestruction_main_ControlFlow64); + // ControlFlow ControlFlow65 from Call numberOfCInstances to Extent of IImpl before destruction + RecursiveDestruction_main_ControlFlow65.SetName("ControlFlow65"); + RecursiveDestruction_main_ControlFlow65.SetVisibility(VisibilityKind.public_); + + RecursiveDestruction_main_ControlFlow65.SetSource(RecursiveDestruction_main_Call_numberOfCInstances); + RecursiveDestruction_main_ControlFlow65.SetTarget(RecursiveDestruction_main_Extent_of_IImpl_before_destruction); + RecursiveDestruction_main.AddEdge(RecursiveDestruction_main_ControlFlow65); + // ControlFlow ControlFlow38 from Call assertExtentOfB to Extent of C after destruction + RecursiveDestruction_main_ControlFlow38.SetName("ControlFlow38"); + RecursiveDestruction_main_ControlFlow38.SetVisibility(VisibilityKind.public_); + + RecursiveDestruction_main_ControlFlow38.SetSource(RecursiveDestruction_main_Call_assertExtentOfB); + RecursiveDestruction_main_ControlFlow38.SetTarget(RecursiveDestruction_main_Extent_of_C_after_destruction); + RecursiveDestruction_main.AddEdge(RecursiveDestruction_main_ControlFlow38); + RecursiveDestruction.AddPackagedElement(RecursiveDestruction_main); + // Class A_Star_Pattern + RecursiveDestruction_A_Star_Pattern.SetName("A_Star_Pattern"); + RecursiveDestruction_A_Star_Pattern.SetVisibility(VisibilityKind.public_); + + // Property partB + RecursiveDestruction_A_Star_Pattern_partB.SetName("partB"); + RecursiveDestruction_A_Star_Pattern_partB.SetVisibility(VisibilityKind.public_); + RecursiveDestruction_A_Star_Pattern_partB.SetUpper(-1); + RecursiveDestruction_A_Star_Pattern_partB.SetLower(2); + RecursiveDestruction_A_Star_Pattern_partB.SetType(RecursiveDestruction_B); + RecursiveDestruction_A_Star_Pattern_partB.SetAggregation(AggregationKind.composite); + RecursiveDestruction_A_Star_Pattern.AddOwnedAttribute(RecursiveDestruction_A_Star_Pattern_partB); + // Property partC + RecursiveDestruction_A_Star_Pattern_partC.SetName("partC"); + RecursiveDestruction_A_Star_Pattern_partC.SetVisibility(VisibilityKind.public_); + RecursiveDestruction_A_Star_Pattern_partC.SetUpper(-1); + RecursiveDestruction_A_Star_Pattern_partC.SetLower(5); + RecursiveDestruction_A_Star_Pattern_partC.SetType(RecursiveDestruction_C); + RecursiveDestruction_A_Star_Pattern_partC.SetAggregation(AggregationKind.composite); + RecursiveDestruction_A_Star_Pattern.AddOwnedAttribute(RecursiveDestruction_A_Star_Pattern_partC); + + RecursiveDestruction_A_Star_Pattern_r.SetName("r"); + RecursiveDestruction_A_Star_Pattern_r.SetVisibility(VisibilityKind.public_); + RecursiveDestruction_A_Star_Pattern_r_ConnectorEnd80.SetUpper(-1); + RecursiveDestruction_A_Star_Pattern_r_ConnectorEnd80.SetLower(4); + RecursiveDestruction_A_Star_Pattern_r_ConnectorEnd80.SetRole(RecursiveDestruction_B_p); + RecursiveDestruction_A_Star_Pattern_r_ConnectorEnd80.SetPartWithPort(RecursiveDestruction_A_Star_Pattern_partB); + + RecursiveDestruction_A_Star_Pattern_r.AddEnd(RecursiveDestruction_A_Star_Pattern_r_ConnectorEnd80); + RecursiveDestruction_A_Star_Pattern_r_ConnectorEnd79.SetUpper(-1); + RecursiveDestruction_A_Star_Pattern_r_ConnectorEnd79.SetLower(5); + RecursiveDestruction_A_Star_Pattern_r_ConnectorEnd79.SetRole(RecursiveDestruction_C_q); + RecursiveDestruction_A_Star_Pattern_r_ConnectorEnd79.SetPartWithPort(RecursiveDestruction_A_Star_Pattern_partC); + + RecursiveDestruction_A_Star_Pattern_r.AddEnd(RecursiveDestruction_A_Star_Pattern_r_ConnectorEnd79); + RecursiveDestruction_A_Star_Pattern_r.SetType(RecursiveDestruction_R); + RecursiveDestruction_A_Star_Pattern.AddOwnedConnector(RecursiveDestruction_A_Star_Pattern_r); + // Operation A_Star_Pattern_A_Star_Pattern + RecursiveDestruction_A_Star_Pattern_A_Star_Pattern_A_Star_Pattern.SetName("A_Star_Pattern_A_Star_Pattern"); + RecursiveDestruction_A_Star_Pattern_A_Star_Pattern_A_Star_Pattern.SetVisibility(VisibilityKind.public_); + // Parameter result + RecursiveDestruction_A_Star_Pattern_A_Star_Pattern_A_Star_Pattern_result.SetName("result"); + RecursiveDestruction_A_Star_Pattern_A_Star_Pattern_A_Star_Pattern_result.SetVisibility(VisibilityKind.public_); + + RecursiveDestruction_A_Star_Pattern_A_Star_Pattern_A_Star_Pattern_result.SetType(RecursiveDestruction_A_Star_Pattern); + RecursiveDestruction_A_Star_Pattern_A_Star_Pattern_A_Star_Pattern_result.SetDirection(ParameterDirectionKind.return_); + RecursiveDestruction_A_Star_Pattern_A_Star_Pattern_A_Star_Pattern.AddOwnedParameter(RecursiveDestruction_A_Star_Pattern_A_Star_Pattern_A_Star_Pattern_result); + RecursiveDestruction_A_Star_Pattern_A_Star_Pattern_A_Star_Pattern.ApplyStereotype(uml.standardprofile.StandardProfileModel.Instance().Stereotype_Create); + RecursiveDestruction_A_Star_Pattern.AddOwnedOperation(RecursiveDestruction_A_Star_Pattern_A_Star_Pattern_A_Star_Pattern); + RecursiveDestruction.AddPackagedElement(RecursiveDestruction_A_Star_Pattern); + // Class C + RecursiveDestruction_C.SetName("C"); + RecursiveDestruction_C.SetVisibility(VisibilityKind.public_); + + // Port q + RecursiveDestruction_C_q.SetName("q"); + RecursiveDestruction_C_q.SetVisibility(VisibilityKind.public_); + RecursiveDestruction_C_q.SetUpper(-1); + RecursiveDestruction_C_q.SetType(RecursiveDestruction_IImpl); + RecursiveDestruction_C_q.SetAggregation(AggregationKind.composite); + RecursiveDestruction_C_q.isService = true; + RecursiveDestruction_C_q.AddProvided(RecursiveDestruction_I); + RecursiveDestruction_C.AddOwnedAttribute(RecursiveDestruction_C_q); + RecursiveDestruction.AddPackagedElement(RecursiveDestruction_C); + // Interface I + RecursiveDestruction_I.SetName("I"); + RecursiveDestruction_I.SetVisibility(VisibilityKind.public_); + RecursiveDestruction.AddPackagedElement(RecursiveDestruction_I); + } + + /* Start of user code : User-defined members + * This section may be used for user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } // RecursiveDestructionModel +} diff --git a/fUML-CSharp/tests/pscs-Tests/04_Destruction/01_RecursiveDestruction/src/assertExtentOfBExecution.cs b/fUML-CSharp/tests/pscs-Tests/04_Destruction/01_RecursiveDestruction/src/assertExtentOfBExecution.cs new file mode 100644 index 0000000..99e6c9a --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/04_Destruction/01_RecursiveDestruction/src/assertExtentOfBExecution.cs @@ -0,0 +1,74 @@ +/* + * assertExtentOfBExecution.cs + * + * Auto-generated file + */ + +using fuml.semantics.commonbehavior; +using fuml; +using fuml.semantics.values; + +/* Start of user code : User-defined includes and forward declarations + * This section may be used for includes and forward declarations. + * It will not be overwritten by future generation processes. + */ + +/* + * End of user code + */ + +namespace RecursiveDestruction +{ + public class assertExtentOfBExecution : OpaqueBehaviorExecution + { + public assertExtentOfBExecution() + { + types.Add(RecursiveDestructionModel.Instance().RecursiveDestruction_main_assertExtentOfB); + /* Start of user code : Additional opaque behavior execution initializations + * This section may be used to do any additional opaque behavior execution initialization, + * for example initializing user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } + + public override void DoBody(List inputParameters, List outputParameters) + { + Console.WriteLine("Asserting B.allInstances()->size() == 0"); + + int extentSize = inputParameters.ElementAt(0).values.Count; + + Console.WriteLine("B.allInstances()->size() == " + extentSize); + Console.Write("All instances of B recursively destroyed: "); + + if(extentSize == 0) + { + Console.ForegroundColor = ConsoleColor.Green; + Console.WriteLine("Assertion successful."); + } + else + { + Console.ForegroundColor = ConsoleColor.Red; + Console.WriteLine("Assertion failed!"); + } + Console.ResetColor(); + } + + protected override Value New_() + { + return new assertExtentOfBExecution(); + } + + /* Start of user code : User-defined members + * This section may be used for user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } // assertExtentOfBExecution +} diff --git a/fUML-CSharp/tests/pscs-Tests/04_Destruction/01_RecursiveDestruction/src/assertExtentOfCExecution.cs b/fUML-CSharp/tests/pscs-Tests/04_Destruction/01_RecursiveDestruction/src/assertExtentOfCExecution.cs new file mode 100644 index 0000000..b72b3c8 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/04_Destruction/01_RecursiveDestruction/src/assertExtentOfCExecution.cs @@ -0,0 +1,74 @@ +/* + * assertExtentOfCExecution.cs + * + * Auto-generated file + */ + +using fuml.semantics.commonbehavior; +using fuml; +using fuml.semantics.values; + +/* Start of user code : User-defined includes and forward declarations + * This section may be used for includes and forward declarations. + * It will not be overwritten by future generation processes. + */ + +/* + * End of user code + */ + +namespace RecursiveDestruction +{ + public class assertExtentOfCExecution : OpaqueBehaviorExecution + { + public assertExtentOfCExecution() + { + types.Add(RecursiveDestructionModel.Instance().RecursiveDestruction_main_assertExtentOfC); + /* Start of user code : Additional opaque behavior execution initializations + * This section may be used to do any additional opaque behavior execution initialization, + * for example initializing user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } + + public override void DoBody(List inputParameters, List outputParameters) + { + Console.WriteLine("Asserting C.allInstances()->size() == 0"); + + int extentSize = inputParameters.ElementAt(0).values.Count; + + Console.WriteLine("C.allInstances()->size() == " + extentSize); + Console.Write("All instances of C recursively destroyed: "); + + if(extentSize == 0) + { + Console.ForegroundColor = ConsoleColor.Green; + Console.WriteLine("Assertion successful."); + } + else + { + Console.ForegroundColor = ConsoleColor.Red; + Console.WriteLine("Assertion failed!"); + } + Console.ResetColor(); + } + + protected override Value New_() + { + return new assertExtentOfCExecution(); + } + + /* Start of user code : User-defined members + * This section may be used for user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } // assertExtentOfCExecution +} diff --git a/fUML-CSharp/tests/pscs-Tests/04_Destruction/01_RecursiveDestruction/src/assertExtentOfIImplExecution.cs b/fUML-CSharp/tests/pscs-Tests/04_Destruction/01_RecursiveDestruction/src/assertExtentOfIImplExecution.cs new file mode 100644 index 0000000..0f8de79 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/04_Destruction/01_RecursiveDestruction/src/assertExtentOfIImplExecution.cs @@ -0,0 +1,74 @@ +/* + * assertExtentOfIImplExecution.cs + * + * Auto-generated file + */ + +using fuml.semantics.commonbehavior; +using fuml; +using fuml.semantics.values; + +/* Start of user code : User-defined includes and forward declarations + * This section may be used for includes and forward declarations. + * It will not be overwritten by future generation processes. + */ + +/* + * End of user code + */ + +namespace RecursiveDestruction +{ + public class assertExtentOfIImplExecution : OpaqueBehaviorExecution + { + public assertExtentOfIImplExecution() + { + types.Add(RecursiveDestructionModel.Instance().RecursiveDestruction_main_assertExtentOfIImpl); + /* Start of user code : Additional opaque behavior execution initializations + * This section may be used to do any additional opaque behavior execution initialization, + * for example initializing user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } + + public override void DoBody(List inputParameters, List outputParameters) + { + Console.WriteLine("Asserting IImpl.allInstances()->size() == 0"); + + int extentSize = inputParameters.ElementAt(0).values.Count; + + Console.WriteLine("IImpl.allInstances()->size() == " + extentSize); + Console.Write("All instances of IImpl recursively destroyed: "); + + if(extentSize == 0) + { + Console.ForegroundColor = ConsoleColor.Green; + Console.WriteLine("Assertion successful."); + } + else + { + Console.ForegroundColor = ConsoleColor.Red; + Console.WriteLine("Assertion failed!"); + } + Console.ResetColor(); + } + + protected override Value New_() + { + return new assertExtentOfIImplExecution(); + } + + /* Start of user code : User-defined members + * This section may be used for user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } // assertExtentOfIImplExecution +} diff --git a/fUML-CSharp/tests/pscs-Tests/04_Destruction/01_RecursiveDestruction/src/numberOfBInstancesExecution.cs b/fUML-CSharp/tests/pscs-Tests/04_Destruction/01_RecursiveDestruction/src/numberOfBInstancesExecution.cs new file mode 100644 index 0000000..6f41845 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/04_Destruction/01_RecursiveDestruction/src/numberOfBInstancesExecution.cs @@ -0,0 +1,57 @@ +/* + * numberOfBInstancesExecution.cs + * + * Auto-generated file + */ + +using fuml.semantics.commonbehavior; +using fuml; +using fuml.semantics.values; + +/* Start of user code : User-defined includes and forward declarations + * This section may be used for includes and forward declarations. + * It will not be overwritten by future generation processes. + */ + +/* + * End of user code + */ + +namespace RecursiveDestruction +{ + public class numberOfBInstancesExecution : OpaqueBehaviorExecution + { + public numberOfBInstancesExecution() + { + types.Add(RecursiveDestructionModel.Instance().RecursiveDestruction_main_numberOfBInstances); + /* Start of user code : Additional opaque behavior execution initializations + * This section may be used to do any additional opaque behavior execution initialization, + * for example initializing user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } + + public override void DoBody(List inputParameters, List outputParameters) + { + Console.WriteLine("# Instances of B: " + inputParameters.ElementAt(0).values.Count); + } + + protected override Value New_() + { + return new numberOfBInstancesExecution(); + } + + /* Start of user code : User-defined members + * This section may be used for user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } // numberOfBInstancesExecution +} diff --git a/fUML-CSharp/tests/pscs-Tests/04_Destruction/01_RecursiveDestruction/src/numberOfCInstancesExecution.cs b/fUML-CSharp/tests/pscs-Tests/04_Destruction/01_RecursiveDestruction/src/numberOfCInstancesExecution.cs new file mode 100644 index 0000000..80c3e9f --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/04_Destruction/01_RecursiveDestruction/src/numberOfCInstancesExecution.cs @@ -0,0 +1,57 @@ +/* + * numberOfCInstancesExecution.cs + * + * Auto-generated file + */ + +using fuml.semantics.commonbehavior; +using fuml; +using fuml.semantics.values; + +/* Start of user code : User-defined includes and forward declarations + * This section may be used for includes and forward declarations. + * It will not be overwritten by future generation processes. + */ + +/* + * End of user code + */ + +namespace RecursiveDestruction +{ + public class numberOfCInstancesExecution : OpaqueBehaviorExecution + { + public numberOfCInstancesExecution() + { + types.Add(RecursiveDestructionModel.Instance().RecursiveDestruction_main_numberOfCInstances); + /* Start of user code : Additional opaque behavior execution initializations + * This section may be used to do any additional opaque behavior execution initialization, + * for example initializing user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } + + public override void DoBody(List inputParameters, List outputParameters) + { + Console.WriteLine("# Instances of C: " + inputParameters.ElementAt(0).values.Count); + } + + protected override Value New_() + { + return new numberOfCInstancesExecution(); + } + + /* Start of user code : User-defined members + * This section may be used for user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } // numberOfCInstancesExecution +} diff --git a/fUML-CSharp/tests/pscs-Tests/04_Destruction/01_RecursiveDestruction/src/numberOfIImplInstancesExecution.cs b/fUML-CSharp/tests/pscs-Tests/04_Destruction/01_RecursiveDestruction/src/numberOfIImplInstancesExecution.cs new file mode 100644 index 0000000..a509ee2 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/04_Destruction/01_RecursiveDestruction/src/numberOfIImplInstancesExecution.cs @@ -0,0 +1,57 @@ +/* + * numberOfIImplInstancesExecution.cs + * + * Auto-generated file + */ + +using fuml.semantics.commonbehavior; +using fuml; +using fuml.semantics.values; + +/* Start of user code : User-defined includes and forward declarations + * This section may be used for includes and forward declarations. + * It will not be overwritten by future generation processes. + */ + +/* + * End of user code + */ + +namespace RecursiveDestruction +{ + public class numberOfIImplInstancesExecution : OpaqueBehaviorExecution + { + public numberOfIImplInstancesExecution() + { + types.Add(RecursiveDestructionModel.Instance().RecursiveDestruction_main_numberOfIImplInstances); + /* Start of user code : Additional opaque behavior execution initializations + * This section may be used to do any additional opaque behavior execution initialization, + * for example initializing user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } + + public override void DoBody(List inputParameters, List outputParameters) + { + Console.WriteLine("# Instances of IImpl: " + inputParameters.ElementAt(0).values.Count); + } + + protected override Value New_() + { + return new numberOfIImplInstancesExecution(); + } + + /* Start of user code : User-defined members + * This section may be used for user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } // numberOfIImplInstancesExecution +} diff --git a/fUML-CSharp/tests/pscs-Tests/04_Destruction/02_RemovingInstanceFromPart/.gitignore b/fUML-CSharp/tests/pscs-Tests/04_Destruction/02_RemovingInstanceFromPart/.gitignore new file mode 100644 index 0000000..1736844 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/04_Destruction/02_RemovingInstanceFromPart/.gitignore @@ -0,0 +1,3 @@ +/.vs/ +/bin/ +/obj/ diff --git a/fUML-CSharp/tests/pscs-Tests/04_Destruction/02_RemovingInstanceFromPart/Properties/launchSettings.json b/fUML-CSharp/tests/pscs-Tests/04_Destruction/02_RemovingInstanceFromPart/Properties/launchSettings.json new file mode 100644 index 0000000..a8a98a2 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/04_Destruction/02_RemovingInstanceFromPart/Properties/launchSettings.json @@ -0,0 +1,8 @@ +{ + "profiles": { + "RemovingInstanceFromPart": { + "commandName": "Project", + "commandLineArgs": "main" + } + } +} \ No newline at end of file diff --git a/fUML-CSharp/tests/pscs-Tests/04_Destruction/02_RemovingInstanceFromPart/RemovingInstanceFromPart.csproj b/fUML-CSharp/tests/pscs-Tests/04_Destruction/02_RemovingInstanceFromPart/RemovingInstanceFromPart.csproj new file mode 100644 index 0000000..ff9a92e --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/04_Destruction/02_RemovingInstanceFromPart/RemovingInstanceFromPart.csproj @@ -0,0 +1,50 @@ + + + + Exe + net6.0 + enable + enable + + + + RemovingInstanceFromPart.Debug + + + RemovingInstanceFromPart.Release + + + + + ..\..\..\..\uml\bin\Debug\net6.0\uml.Debug.dll + + + + + ..\..\..\..\uml\bin\Release\net6.0\uml.Release.dll + + + + + + ..\..\..\..\fuml\bin\Debug\net6.0\fuml.Debug.dll + + + + + ..\..\..\..\fuml\bin\Release\net6.0\fuml.Release.dll + + + + + + ..\..\..\..\pscs\bin\Debug\net6.0\pscs.Debug.dll + + + + + ..\..\..\..\pscs\bin\Release\net6.0\pscs.Release.dll + + + + diff --git a/fUML-CSharp/tests/pscs-Tests/04_Destruction/02_RemovingInstanceFromPart/RemovingInstanceFromPart.sln b/fUML-CSharp/tests/pscs-Tests/04_Destruction/02_RemovingInstanceFromPart/RemovingInstanceFromPart.sln new file mode 100644 index 0000000..9c1cdb2 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/04_Destruction/02_RemovingInstanceFromPart/RemovingInstanceFromPart.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.32112.339 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "RemovingInstanceFromPart", "RemovingInstanceFromPart.csproj", "{E6483C83-BA98-418C-97A9-C2AE3BB8092C}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {E6483C83-BA98-418C-97A9-C2AE3BB8092C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {E6483C83-BA98-418C-97A9-C2AE3BB8092C}.Debug|Any CPU.Build.0 = Debug|Any CPU + {E6483C83-BA98-418C-97A9-C2AE3BB8092C}.Release|Any CPU.ActiveCfg = Release|Any CPU + {E6483C83-BA98-418C-97A9-C2AE3BB8092C}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {A7E6534B-2867-4E4E-9C7D-C44D94708E44} + EndGlobalSection +EndGlobal diff --git a/fUML-CSharp/tests/pscs-Tests/04_Destruction/02_RemovingInstanceFromPart/model/RemovingInstanceFromPart.di b/fUML-CSharp/tests/pscs-Tests/04_Destruction/02_RemovingInstanceFromPart/model/RemovingInstanceFromPart.di new file mode 100644 index 0000000..8c549ee --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/04_Destruction/02_RemovingInstanceFromPart/model/RemovingInstanceFromPart.di @@ -0,0 +1,2 @@ + + diff --git a/fUML-CSharp/tests/pscs-Tests/04_Destruction/02_RemovingInstanceFromPart/model/RemovingInstanceFromPart.notation b/fUML-CSharp/tests/pscs-Tests/04_Destruction/02_RemovingInstanceFromPart/model/RemovingInstanceFromPart.notation new file mode 100644 index 0000000..a1e4a36 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/04_Destruction/02_RemovingInstanceFromPart/model/RemovingInstanceFromPart.notation @@ -0,0 +1,502 @@ + + + + + +
+
+ + + + + +
+ + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/fUML-CSharp/tests/pscs-Tests/04_Destruction/02_RemovingInstanceFromPart/model/RemovingInstanceFromPart.uml b/fUML-CSharp/tests/pscs-Tests/04_Destruction/02_RemovingInstanceFromPart/model/RemovingInstanceFromPart.uml new file mode 100644 index 0000000..24d5315 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/04_Destruction/02_RemovingInstanceFromPart/model/RemovingInstanceFromPart.uml @@ -0,0 +1,153 @@ + + + + + This test case validates that the removal of an instance from a part implies destruction of related links. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + C# + Console.WriteLine("Assertion currenlty not implemented! Model was validated by manual debugging."); + + + + + + + + + + + + + + + + + diff --git a/fUML-CSharp/tests/pscs-Tests/04_Destruction/02_RemovingInstanceFromPart/src/RemovingInstanceFromPart.cs b/fUML-CSharp/tests/pscs-Tests/04_Destruction/02_RemovingInstanceFromPart/src/RemovingInstanceFromPart.cs new file mode 100644 index 0000000..f954ff5 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/04_Destruction/02_RemovingInstanceFromPart/src/RemovingInstanceFromPart.cs @@ -0,0 +1,31 @@ +namespace RemovingInstanceFromPart +{ + internal class RemovingInstanceFromPart + { + static void PrintUsage() + { + Console.WriteLine( + "=============================================================================================\n" + + "USAGE: [ <...>]\n" + + "=============================================================================================\n" + ); + } + + static int Main(string[] args) + { + if(args.Length == 0) + { + Console.WriteLine("[ERROR] Must declare at least one behavior name.\n"); + PrintUsage(); + return -1; + } + + foreach (string arg in args) + { + RemovingInstanceFromPartEnvironment.Instance().Execute(arg); + } + + return 0; + } + } +} diff --git a/fUML-CSharp/tests/pscs-Tests/04_Destruction/02_RemovingInstanceFromPart/src/RemovingInstanceFromPartEnvironment.cs b/fUML-CSharp/tests/pscs-Tests/04_Destruction/02_RemovingInstanceFromPart/src/RemovingInstanceFromPartEnvironment.cs new file mode 100644 index 0000000..35824ab --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/04_Destruction/02_RemovingInstanceFromPart/src/RemovingInstanceFromPartEnvironment.cs @@ -0,0 +1,93 @@ +/* + * RemovingInstanceFromPartEnvironment.cs + * + * Auto-generated file + */ + +/* Start of user code : User-defined using directives + * This section may be used for using directives. + * It will not be overwritten by future generation processes. + */ + +/* + * End of user code + */ + +namespace RemovingInstanceFromPart +{ + public class RemovingInstanceFromPartEnvironment : pscs.environment.Environment + { + private static RemovingInstanceFromPartEnvironment? instance; + + public static RemovingInstanceFromPartEnvironment Instance() + { + if(instance is null) + { + instance = new(); + instance.inMemoryModel = RemovingInstanceFromPartModel.Instance(); + } + + return instance; + } + + public RemovingInstanceFromPartEnvironment() + { + /* + * Create custom opaque behavior execution instances and add them to the execution environment. + */ + AddPrimitiveBehaviorPrototype(new assertionNotImplementedExecution()); + + /* Start of user code : Additional environment initializations + * This section may be used to do any additional environment initialization, + * for example initializing user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } + + public override void Execute(string behaviorName) + { + /* Start of user code : Context and inputs initializations + * This section may be used to initialize the execution context + * as well as input parameter values if required. + * It will not be overwritten by future generation processes. + */ + + //context = ...; + //inputs = ...; + + /* + * End of user code + */ + + /* + * Start execution via base class call + */ + base.Execute(behaviorName); + + /* Start of user code : Outputs evaluation + * This section may be used to evaluate output parameter values if required. + * It will not be overwritten by future generation processes. + */ + + //List theOutputs = outputs; + //... + + /* + * End of user code + */ + } + + /* Start of user code : User-defined members + * This section may be used for user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } // RemovingInstanceFromPartEnvironment +} diff --git a/fUML-CSharp/tests/pscs-Tests/04_Destruction/02_RemovingInstanceFromPart/src/RemovingInstanceFromPartModel.cs b/fUML-CSharp/tests/pscs-Tests/04_Destruction/02_RemovingInstanceFromPart/src/RemovingInstanceFromPartModel.cs new file mode 100644 index 0000000..016c9e0 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/04_Destruction/02_RemovingInstanceFromPart/src/RemovingInstanceFromPartModel.cs @@ -0,0 +1,572 @@ +/* + * RemovingInstanceFromPartModel.cs + * + * Auto-generated file + */ + +using uml.actions; +using uml.packages; +using uml.structuredclassifiers; +using fuml.primitivetypes; +using uml.classification; +using fuml.library; +using uml.simpleclassifiers; +using uml.commonbehavior; +using uml.commonstructure; +using uml.values; +using uml.activities; +using uml.environment; + + +/* Start of user code : User-defined includes and forward declarations + * This section may be used for includes and forward declarations. + * It will not be overwritten by future generation processes. + */ + +/* + * End of user code + */ + +namespace RemovingInstanceFromPart +{ + public class RemovingInstanceFromPartModel : InMemoryModel + { + private static RemovingInstanceFromPartModel? instance; + + /* + * Model RemovingInstanceFromPart + */ + public Package RemovingInstanceFromPart = new(); + public Class_ RemovingInstanceFromPart_B = new(); + public Operation RemovingInstanceFromPart_B_B_B = new(); + public Parameter RemovingInstanceFromPart_B_B_B_result = new(); + public Activity RemovingInstanceFromPart_B_setPActivity = new(); + public ActivityParameterNode RemovingInstanceFromPart_B_setPActivity_vParameterNode = new(); + public LiteralInteger RemovingInstanceFromPart_B_setPActivity_vParameterNode_LiteralInteger0 = new(); + public ReadSelfAction RemovingInstanceFromPart_B_setPActivity_this = new(); + public OutputPin RemovingInstanceFromPart_B_setPActivity_this_result = new(); + public LiteralUnlimitedNatural RemovingInstanceFromPart_B_setPActivity_this_result_LiteralUnlimitedNatural1 = new(); + public LiteralInteger RemovingInstanceFromPart_B_setPActivity_this_result_LiteralInteger2 = new(); + public Parameter RemovingInstanceFromPart_B_setPActivity_v = new(); + public ObjectFlow RemovingInstanceFromPart_B_setPActivity_ObjectFlow3 = new(); + public LiteralBoolean RemovingInstanceFromPart_B_setPActivity_ObjectFlow3_LiteralBoolean4 = new(); + public LiteralInteger RemovingInstanceFromPart_B_setPActivity_ObjectFlow3_LiteralInteger5 = new(); + public ObjectFlow RemovingInstanceFromPart_B_setPActivity_ObjectFlow6 = new(); + public LiteralBoolean RemovingInstanceFromPart_B_setPActivity_ObjectFlow6_LiteralBoolean7 = new(); + public LiteralInteger RemovingInstanceFromPart_B_setPActivity_ObjectFlow6_LiteralInteger8 = new(); + public AddStructuralFeatureValueAction RemovingInstanceFromPart_B_setPActivity_Set_this_p = new(); + public OutputPin RemovingInstanceFromPart_B_setPActivity_Set_this_p_result = new(); + public LiteralUnlimitedNatural RemovingInstanceFromPart_B_setPActivity_Set_this_p_result_LiteralUnlimitedNatural9 = new(); + public LiteralInteger RemovingInstanceFromPart_B_setPActivity_Set_this_p_result_LiteralInteger10 = new(); + public InputPin RemovingInstanceFromPart_B_setPActivity_Set_this_p_value = new(); + public LiteralUnlimitedNatural RemovingInstanceFromPart_B_setPActivity_Set_this_p_value_LiteralUnlimitedNatural11 = new(); + public LiteralInteger RemovingInstanceFromPart_B_setPActivity_Set_this_p_value_LiteralInteger12 = new(); + public InputPin RemovingInstanceFromPart_B_setPActivity_Set_this_p_object = new(); + public LiteralUnlimitedNatural RemovingInstanceFromPart_B_setPActivity_Set_this_p_object_LiteralUnlimitedNatural13 = new(); + public LiteralInteger RemovingInstanceFromPart_B_setPActivity_Set_this_p_object_LiteralInteger14 = new(); + public Operation RemovingInstanceFromPart_B_setP_Integer = new(); + public Parameter RemovingInstanceFromPart_B_setP_Integer_v = new(); + public Property RemovingInstanceFromPart_B_p = new(); + public InterfaceRealization RemovingInstanceFromPart_B_IRealization = new(); + public Activity RemovingInstanceFromPart_assertA = new(); + public ActivityParameterNode RemovingInstanceFromPart_assertA_aParameterNode = new(); + public LiteralInteger RemovingInstanceFromPart_assertA_aParameterNode_LiteralInteger15 = new(); + public OpaqueBehavior RemovingInstanceFromPart_assertA_assertionNotImplemented = new(); + public Parameter RemovingInstanceFromPart_assertA_a = new(); + public CallBehaviorAction RemovingInstanceFromPart_assertA_Call_assertionNotImplemented = new(); + public Interface RemovingInstanceFromPart_I = new(); + public Operation RemovingInstanceFromPart_I_setP_Integer = new(); + public Parameter RemovingInstanceFromPart_I_setP_Integer_v = new(); + public Activity RemovingInstanceFromPart_main = new(); + public ObjectFlow RemovingInstanceFromPart_main_ObjectFlow16 = new(); + public LiteralBoolean RemovingInstanceFromPart_main_ObjectFlow16_LiteralBoolean17 = new(); + public LiteralInteger RemovingInstanceFromPart_main_ObjectFlow16_LiteralInteger18 = new(); + public ClearStructuralFeatureAction RemovingInstanceFromPart_main_Clear_a_b = new(); + public OutputPin RemovingInstanceFromPart_main_Clear_a_b_result = new(); + public InputPin RemovingInstanceFromPart_main_Clear_a_b_object = new(); + public CreateObjectAction RemovingInstanceFromPart_main_Create_A = new(); + public OutputPin RemovingInstanceFromPart_main_Create_A_result = new(); + public LiteralInteger RemovingInstanceFromPart_main_Create_A_result_LiteralInteger19 = new(); + public LiteralUnlimitedNatural RemovingInstanceFromPart_main_Create_A_result_LiteralUnlimitedNatural20 = new(); + public ObjectFlow RemovingInstanceFromPart_main_ObjectFlow21 = new(); + public LiteralBoolean RemovingInstanceFromPart_main_ObjectFlow21_LiteralBoolean22 = new(); + public LiteralInteger RemovingInstanceFromPart_main_ObjectFlow21_LiteralInteger23 = new(); + public ObjectFlow RemovingInstanceFromPart_main_ObjectFlow24 = new(); + public LiteralInteger RemovingInstanceFromPart_main_ObjectFlow24_LiteralInteger25 = new(); + public LiteralBoolean RemovingInstanceFromPart_main_ObjectFlow24_LiteralBoolean26 = new(); + public CallBehaviorAction RemovingInstanceFromPart_main_Call_assertA = new(); + public InputPin RemovingInstanceFromPart_main_Call_assertA_a = new(); + public LiteralInteger RemovingInstanceFromPart_main_Call_assertA_a_LiteralInteger27 = new(); + public LiteralInteger RemovingInstanceFromPart_main_Call_assertA_a_LiteralInteger28 = new(); + public LiteralUnlimitedNatural RemovingInstanceFromPart_main_Call_assertA_a_LiteralUnlimitedNatural29 = new(); + public CallOperationAction RemovingInstanceFromPart_main_A_ = new(); + public InputPin RemovingInstanceFromPart_main_A__target = new(); + public LiteralUnlimitedNatural RemovingInstanceFromPart_main_A__target_LiteralUnlimitedNatural30 = new(); + public LiteralInteger RemovingInstanceFromPart_main_A__target_LiteralInteger31 = new(); + public OutputPin RemovingInstanceFromPart_main_A__result = new(); + public LiteralInteger RemovingInstanceFromPart_main_A__result_LiteralInteger32 = new(); + public LiteralInteger RemovingInstanceFromPart_main_A__result_LiteralInteger33 = new(); + public LiteralUnlimitedNatural RemovingInstanceFromPart_main_A__result_LiteralUnlimitedNatural34 = new(); + public Class_ RemovingInstanceFromPart_IImpl = new(); + public Operation RemovingInstanceFromPart_IImpl_setP_Integer = new(); + public Parameter RemovingInstanceFromPart_IImpl_setP_Integer_v = new(); + public InterfaceRealization RemovingInstanceFromPart_IImpl_IRealization = new(); + public Class_ RemovingInstanceFromPart_A = new(); + public Port RemovingInstanceFromPart_A_q = new(); + public Operation RemovingInstanceFromPart_A_A_A = new(); + public Parameter RemovingInstanceFromPart_A_A_A_result = new(); + public Connector RemovingInstanceFromPart_A_r = new(); + public ConnectorEnd RemovingInstanceFromPart_A_r_ConnectorEnd35 = new(); + public ConnectorEnd RemovingInstanceFromPart_A_r_ConnectorEnd36 = new(); + public Property RemovingInstanceFromPart_A_b = new(); + public Association RemovingInstanceFromPart_R = new(); + public Property RemovingInstanceFromPart_R_y = new(); + public Property RemovingInstanceFromPart_R_x = new(); + + public static RemovingInstanceFromPartModel Instance() + { + if (instance is null) + { + instance = new(); + instance.InitializeInMemoryModel(); + } + + return instance; + } + + public RemovingInstanceFromPartModel() + { + /* Start of user code : Additional model initializations + * This section may be used to do any additional model initialization, + * for example initializing user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } + + private void InitializeInMemoryModel() + { + // Create public members + /* + * Model RemovingInstanceFromPart + */ + AddToElementRepository("RemovingInstanceFromPart", RemovingInstanceFromPart); + AddToElementRepository("B", RemovingInstanceFromPart_B); + AddToElementRepository("B_B", RemovingInstanceFromPart_B_B_B); + AddToElementRepository("result", RemovingInstanceFromPart_B_B_B_result); + AddToElementRepository("setPActivity", RemovingInstanceFromPart_B_setPActivity); + AddToElementRepository("vParameterNode", RemovingInstanceFromPart_B_setPActivity_vParameterNode); + AddToElementRepository("LiteralInteger0", RemovingInstanceFromPart_B_setPActivity_vParameterNode_LiteralInteger0); + AddToElementRepository("this", RemovingInstanceFromPart_B_setPActivity_this); + AddToElementRepository("result", RemovingInstanceFromPart_B_setPActivity_this_result); + AddToElementRepository("LiteralUnlimitedNatural1", RemovingInstanceFromPart_B_setPActivity_this_result_LiteralUnlimitedNatural1); + AddToElementRepository("LiteralInteger2", RemovingInstanceFromPart_B_setPActivity_this_result_LiteralInteger2); + AddToElementRepository("v", RemovingInstanceFromPart_B_setPActivity_v); + AddToElementRepository("ObjectFlow3", RemovingInstanceFromPart_B_setPActivity_ObjectFlow3); + AddToElementRepository("LiteralBoolean4", RemovingInstanceFromPart_B_setPActivity_ObjectFlow3_LiteralBoolean4); + AddToElementRepository("LiteralInteger5", RemovingInstanceFromPart_B_setPActivity_ObjectFlow3_LiteralInteger5); + AddToElementRepository("ObjectFlow6", RemovingInstanceFromPart_B_setPActivity_ObjectFlow6); + AddToElementRepository("LiteralBoolean7", RemovingInstanceFromPart_B_setPActivity_ObjectFlow6_LiteralBoolean7); + AddToElementRepository("LiteralInteger8", RemovingInstanceFromPart_B_setPActivity_ObjectFlow6_LiteralInteger8); + AddToElementRepository("Set this.p", RemovingInstanceFromPart_B_setPActivity_Set_this_p); + AddToElementRepository("result", RemovingInstanceFromPart_B_setPActivity_Set_this_p_result); + AddToElementRepository("LiteralUnlimitedNatural9", RemovingInstanceFromPart_B_setPActivity_Set_this_p_result_LiteralUnlimitedNatural9); + AddToElementRepository("LiteralInteger10", RemovingInstanceFromPart_B_setPActivity_Set_this_p_result_LiteralInteger10); + AddToElementRepository("value", RemovingInstanceFromPart_B_setPActivity_Set_this_p_value); + AddToElementRepository("LiteralUnlimitedNatural11", RemovingInstanceFromPart_B_setPActivity_Set_this_p_value_LiteralUnlimitedNatural11); + AddToElementRepository("LiteralInteger12", RemovingInstanceFromPart_B_setPActivity_Set_this_p_value_LiteralInteger12); + AddToElementRepository("object", RemovingInstanceFromPart_B_setPActivity_Set_this_p_object); + AddToElementRepository("LiteralUnlimitedNatural13", RemovingInstanceFromPart_B_setPActivity_Set_this_p_object_LiteralUnlimitedNatural13); + AddToElementRepository("LiteralInteger14", RemovingInstanceFromPart_B_setPActivity_Set_this_p_object_LiteralInteger14); + AddToElementRepository("setP_Integer", RemovingInstanceFromPart_B_setP_Integer); + AddToElementRepository("v", RemovingInstanceFromPart_B_setP_Integer_v); + AddToElementRepository("p", RemovingInstanceFromPart_B_p); + AddToElementRepository("IRealization", RemovingInstanceFromPart_B_IRealization); + AddToElementRepository("assertA", RemovingInstanceFromPart_assertA); + AddToElementRepository("aParameterNode", RemovingInstanceFromPart_assertA_aParameterNode); + AddToElementRepository("LiteralInteger15", RemovingInstanceFromPart_assertA_aParameterNode_LiteralInteger15); + AddToElementRepository("assertionNotImplemented", RemovingInstanceFromPart_assertA_assertionNotImplemented); + AddToElementRepository("a", RemovingInstanceFromPart_assertA_a); + AddToElementRepository("Call assertionNotImplemented", RemovingInstanceFromPart_assertA_Call_assertionNotImplemented); + AddToElementRepository("I", RemovingInstanceFromPart_I); + AddToElementRepository("setP_Integer", RemovingInstanceFromPart_I_setP_Integer); + AddToElementRepository("v", RemovingInstanceFromPart_I_setP_Integer_v); + AddToElementRepository("main", RemovingInstanceFromPart_main); + AddToElementRepository("ObjectFlow16", RemovingInstanceFromPart_main_ObjectFlow16); + AddToElementRepository("LiteralBoolean17", RemovingInstanceFromPart_main_ObjectFlow16_LiteralBoolean17); + AddToElementRepository("LiteralInteger18", RemovingInstanceFromPart_main_ObjectFlow16_LiteralInteger18); + AddToElementRepository("Clear a.b", RemovingInstanceFromPart_main_Clear_a_b); + AddToElementRepository("result", RemovingInstanceFromPart_main_Clear_a_b_result); + AddToElementRepository("object", RemovingInstanceFromPart_main_Clear_a_b_object); + AddToElementRepository("Create A", RemovingInstanceFromPart_main_Create_A); + AddToElementRepository("result", RemovingInstanceFromPart_main_Create_A_result); + AddToElementRepository("LiteralInteger19", RemovingInstanceFromPart_main_Create_A_result_LiteralInteger19); + AddToElementRepository("LiteralUnlimitedNatural20", RemovingInstanceFromPart_main_Create_A_result_LiteralUnlimitedNatural20); + AddToElementRepository("ObjectFlow21", RemovingInstanceFromPart_main_ObjectFlow21); + AddToElementRepository("LiteralBoolean22", RemovingInstanceFromPart_main_ObjectFlow21_LiteralBoolean22); + AddToElementRepository("LiteralInteger23", RemovingInstanceFromPart_main_ObjectFlow21_LiteralInteger23); + AddToElementRepository("ObjectFlow24", RemovingInstanceFromPart_main_ObjectFlow24); + AddToElementRepository("LiteralInteger25", RemovingInstanceFromPart_main_ObjectFlow24_LiteralInteger25); + AddToElementRepository("LiteralBoolean26", RemovingInstanceFromPart_main_ObjectFlow24_LiteralBoolean26); + AddToElementRepository("Call assertA", RemovingInstanceFromPart_main_Call_assertA); + AddToElementRepository("a", RemovingInstanceFromPart_main_Call_assertA_a); + AddToElementRepository("LiteralInteger27", RemovingInstanceFromPart_main_Call_assertA_a_LiteralInteger27); + AddToElementRepository("LiteralInteger28", RemovingInstanceFromPart_main_Call_assertA_a_LiteralInteger28); + AddToElementRepository("LiteralUnlimitedNatural29", RemovingInstanceFromPart_main_Call_assertA_a_LiteralUnlimitedNatural29); + AddToElementRepository("A()", RemovingInstanceFromPart_main_A_); + AddToElementRepository("target", RemovingInstanceFromPart_main_A__target); + AddToElementRepository("LiteralUnlimitedNatural30", RemovingInstanceFromPart_main_A__target_LiteralUnlimitedNatural30); + AddToElementRepository("LiteralInteger31", RemovingInstanceFromPart_main_A__target_LiteralInteger31); + AddToElementRepository("result", RemovingInstanceFromPart_main_A__result); + AddToElementRepository("LiteralInteger32", RemovingInstanceFromPart_main_A__result_LiteralInteger32); + AddToElementRepository("LiteralInteger33", RemovingInstanceFromPart_main_A__result_LiteralInteger33); + AddToElementRepository("LiteralUnlimitedNatural34", RemovingInstanceFromPart_main_A__result_LiteralUnlimitedNatural34); + AddToElementRepository("IImpl", RemovingInstanceFromPart_IImpl); + AddToElementRepository("setP_Integer", RemovingInstanceFromPart_IImpl_setP_Integer); + AddToElementRepository("v", RemovingInstanceFromPart_IImpl_setP_Integer_v); + AddToElementRepository("IRealization", RemovingInstanceFromPart_IImpl_IRealization); + AddToElementRepository("A", RemovingInstanceFromPart_A); + AddToElementRepository("q", RemovingInstanceFromPart_A_q); + AddToElementRepository("A_A", RemovingInstanceFromPart_A_A_A); + AddToElementRepository("result", RemovingInstanceFromPart_A_A_A_result); + AddToElementRepository("r", RemovingInstanceFromPart_A_r); + AddToElementRepository("ConnectorEnd35", RemovingInstanceFromPart_A_r_ConnectorEnd35); + AddToElementRepository("ConnectorEnd36", RemovingInstanceFromPart_A_r_ConnectorEnd36); + AddToElementRepository("b", RemovingInstanceFromPart_A_b); + AddToElementRepository("R", RemovingInstanceFromPart_R); + AddToElementRepository("y", RemovingInstanceFromPart_R_y); + AddToElementRepository("x", RemovingInstanceFromPart_R_x); + + // Initialize public members + /* + * Model RemovingInstanceFromPart + */ + RemovingInstanceFromPart.SetName("RemovingInstanceFromPart"); + RemovingInstanceFromPart.SetVisibility(VisibilityKind.public_); + // Class B + RemovingInstanceFromPart_B.SetName("B"); + RemovingInstanceFromPart_B.SetVisibility(VisibilityKind.public_); + + // Property p + RemovingInstanceFromPart_B_p.SetName("p"); + RemovingInstanceFromPart_B_p.SetVisibility(VisibilityKind.public_); + + RemovingInstanceFromPart_B_p.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + RemovingInstanceFromPart_B.AddOwnedAttribute(RemovingInstanceFromPart_B_p); + // Activity setPActivity + RemovingInstanceFromPart_B_setPActivity.SetName("setPActivity"); + RemovingInstanceFromPart_B_setPActivity.SetVisibility(VisibilityKind.public_); + + // Parameter v + RemovingInstanceFromPart_B_setPActivity_v.SetName("v"); + RemovingInstanceFromPart_B_setPActivity_v.SetVisibility(VisibilityKind.public_); + + RemovingInstanceFromPart_B_setPActivity_v.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + RemovingInstanceFromPart_B_setPActivity.AddOwnedParameter(RemovingInstanceFromPart_B_setPActivity_v); + // ActivityParameterNode vParameterNode + RemovingInstanceFromPart_B_setPActivity_vParameterNode.SetName("vParameterNode"); + RemovingInstanceFromPart_B_setPActivity_vParameterNode.SetVisibility(VisibilityKind.public_); + + RemovingInstanceFromPart_B_setPActivity_vParameterNode.SetParameter(RemovingInstanceFromPart_B_setPActivity_v); + RemovingInstanceFromPart_B_setPActivity.AddNode(RemovingInstanceFromPart_B_setPActivity_vParameterNode); + // ReadSelfAction this + RemovingInstanceFromPart_B_setPActivity_this.SetName("this"); + RemovingInstanceFromPart_B_setPActivity_this.SetVisibility(VisibilityKind.public_); + // OutputPin result + RemovingInstanceFromPart_B_setPActivity_this_result.SetName("result"); + RemovingInstanceFromPart_B_setPActivity_this_result.SetVisibility(VisibilityKind.public_); + RemovingInstanceFromPart_B_setPActivity_this_result.SetType(RemovingInstanceFromPart_B); + RemovingInstanceFromPart_B_setPActivity_this.SetResult(RemovingInstanceFromPart_B_setPActivity_this_result); + RemovingInstanceFromPart_B_setPActivity.AddNode(RemovingInstanceFromPart_B_setPActivity_this); + // AddStructuralFeatureValueAction Set this.p + RemovingInstanceFromPart_B_setPActivity_Set_this_p.SetName("Set this.p"); + RemovingInstanceFromPart_B_setPActivity_Set_this_p.SetVisibility(VisibilityKind.public_); + RemovingInstanceFromPart_B_setPActivity_Set_this_p.SetStructuralFeature(RemovingInstanceFromPart_B_p); + // InputPin object + RemovingInstanceFromPart_B_setPActivity_Set_this_p_object.SetName("object"); + RemovingInstanceFromPart_B_setPActivity_Set_this_p_object.SetVisibility(VisibilityKind.public_); + RemovingInstanceFromPart_B_setPActivity_Set_this_p_object.SetType(RemovingInstanceFromPart_B); + RemovingInstanceFromPart_B_setPActivity_Set_this_p.SetObject(RemovingInstanceFromPart_B_setPActivity_Set_this_p_object); + // InputPin value + RemovingInstanceFromPart_B_setPActivity_Set_this_p_value.SetName("value"); + RemovingInstanceFromPart_B_setPActivity_Set_this_p_value.SetVisibility(VisibilityKind.public_); + RemovingInstanceFromPart_B_setPActivity_Set_this_p_value.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + RemovingInstanceFromPart_B_setPActivity_Set_this_p.SetValue(RemovingInstanceFromPart_B_setPActivity_Set_this_p_value); + // OutputPin result + RemovingInstanceFromPart_B_setPActivity_Set_this_p_result.SetName("result"); + RemovingInstanceFromPart_B_setPActivity_Set_this_p_result.SetVisibility(VisibilityKind.public_); + RemovingInstanceFromPart_B_setPActivity_Set_this_p_result.SetType(RemovingInstanceFromPart_B); + RemovingInstanceFromPart_B_setPActivity_Set_this_p.SetResult(RemovingInstanceFromPart_B_setPActivity_Set_this_p_result); + RemovingInstanceFromPart_B_setPActivity.AddNode(RemovingInstanceFromPart_B_setPActivity_Set_this_p); + // ObjectFlow ObjectFlow3 from vParameterNode to value + RemovingInstanceFromPart_B_setPActivity_ObjectFlow3.SetName("ObjectFlow3"); + RemovingInstanceFromPart_B_setPActivity_ObjectFlow3.SetVisibility(VisibilityKind.public_); + + RemovingInstanceFromPart_B_setPActivity_ObjectFlow3.SetSource(RemovingInstanceFromPart_B_setPActivity_vParameterNode); + RemovingInstanceFromPart_B_setPActivity_ObjectFlow3.SetTarget(RemovingInstanceFromPart_B_setPActivity_Set_this_p_value); + // LiteralBoolean LiteralBoolean4 + RemovingInstanceFromPart_B_setPActivity_ObjectFlow3_LiteralBoolean4.SetName("LiteralBoolean4"); + RemovingInstanceFromPart_B_setPActivity_ObjectFlow3_LiteralBoolean4.SetVisibility(VisibilityKind.public_); + RemovingInstanceFromPart_B_setPActivity_ObjectFlow3_LiteralBoolean4.SetValue(true); + RemovingInstanceFromPart_B_setPActivity_ObjectFlow3.SetGuard(RemovingInstanceFromPart_B_setPActivity_ObjectFlow3_LiteralBoolean4); + RemovingInstanceFromPart_B_setPActivity.AddEdge(RemovingInstanceFromPart_B_setPActivity_ObjectFlow3); + // ObjectFlow ObjectFlow6 from result to object + RemovingInstanceFromPart_B_setPActivity_ObjectFlow6.SetName("ObjectFlow6"); + RemovingInstanceFromPart_B_setPActivity_ObjectFlow6.SetVisibility(VisibilityKind.public_); + + RemovingInstanceFromPart_B_setPActivity_ObjectFlow6.SetSource(RemovingInstanceFromPart_B_setPActivity_this_result); + RemovingInstanceFromPart_B_setPActivity_ObjectFlow6.SetTarget(RemovingInstanceFromPart_B_setPActivity_Set_this_p_object); + // LiteralBoolean LiteralBoolean7 + RemovingInstanceFromPart_B_setPActivity_ObjectFlow6_LiteralBoolean7.SetName("LiteralBoolean7"); + RemovingInstanceFromPart_B_setPActivity_ObjectFlow6_LiteralBoolean7.SetVisibility(VisibilityKind.public_); + RemovingInstanceFromPart_B_setPActivity_ObjectFlow6_LiteralBoolean7.SetValue(true); + RemovingInstanceFromPart_B_setPActivity_ObjectFlow6.SetGuard(RemovingInstanceFromPart_B_setPActivity_ObjectFlow6_LiteralBoolean7); + RemovingInstanceFromPart_B_setPActivity.AddEdge(RemovingInstanceFromPart_B_setPActivity_ObjectFlow6); + RemovingInstanceFromPart_B.AddOwnedBehavior(RemovingInstanceFromPart_B_setPActivity); + RemovingInstanceFromPart_B_IRealization.SetName("IRealization"); + RemovingInstanceFromPart_B_IRealization.SetVisibility(VisibilityKind.public_); + RemovingInstanceFromPart_B_IRealization.SetContract(RemovingInstanceFromPart_I); + + RemovingInstanceFromPart_B.AddInterfaceRealization(RemovingInstanceFromPart_B_IRealization); + + // Operation B_B + RemovingInstanceFromPart_B_B_B.SetName("B_B"); + RemovingInstanceFromPart_B_B_B.SetVisibility(VisibilityKind.public_); + // Parameter result + RemovingInstanceFromPart_B_B_B_result.SetName("result"); + RemovingInstanceFromPart_B_B_B_result.SetVisibility(VisibilityKind.public_); + + RemovingInstanceFromPart_B_B_B_result.SetType(RemovingInstanceFromPart_B); + RemovingInstanceFromPart_B_B_B_result.SetDirection(ParameterDirectionKind.return_); + RemovingInstanceFromPart_B_B_B.AddOwnedParameter(RemovingInstanceFromPart_B_B_B_result); + RemovingInstanceFromPart_B_B_B.ApplyStereotype(uml.standardprofile.StandardProfileModel.Instance().Stereotype_Create); + RemovingInstanceFromPart_B.AddOwnedOperation(RemovingInstanceFromPart_B_B_B); + // Operation setP_Integer + RemovingInstanceFromPart_B_setP_Integer.SetName("setP_Integer"); + RemovingInstanceFromPart_B_setP_Integer.SetVisibility(VisibilityKind.public_); + // Parameter v + RemovingInstanceFromPart_B_setP_Integer_v.SetName("v"); + RemovingInstanceFromPart_B_setP_Integer_v.SetVisibility(VisibilityKind.public_); + + RemovingInstanceFromPart_B_setP_Integer_v.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + RemovingInstanceFromPart_B_setP_Integer.AddOwnedParameter(RemovingInstanceFromPart_B_setP_Integer_v); + RemovingInstanceFromPart_B_setP_Integer.AddMethod(RemovingInstanceFromPart_B_setPActivity); + RemovingInstanceFromPart_B.AddOwnedOperation(RemovingInstanceFromPart_B_setP_Integer); + RemovingInstanceFromPart.AddPackagedElement(RemovingInstanceFromPart_B); + // Activity assertA + RemovingInstanceFromPart_assertA.SetName("assertA"); + RemovingInstanceFromPart_assertA.SetVisibility(VisibilityKind.public_); + // FunctionBehavior assertionNotImplemented + RemovingInstanceFromPart_assertA_assertionNotImplemented.SetName("assertionNotImplemented"); + RemovingInstanceFromPart_assertA_assertionNotImplemented.SetVisibility(VisibilityKind.public_); + RemovingInstanceFromPart_assertA_assertionNotImplemented.AddLanguage("C#"); + RemovingInstanceFromPart_assertA_assertionNotImplemented.AddBody("Console.WriteLine(\"Assertion currenlty not implemented! Model was validated by manual debugging.\");"); + RemovingInstanceFromPart_assertA.AddOwnedBehavior(RemovingInstanceFromPart_assertA_assertionNotImplemented); + // Parameter a + RemovingInstanceFromPart_assertA_a.SetName("a"); + RemovingInstanceFromPart_assertA_a.SetVisibility(VisibilityKind.public_); + + RemovingInstanceFromPart_assertA_a.SetType(RemovingInstanceFromPart_A); + RemovingInstanceFromPart_assertA.AddOwnedParameter(RemovingInstanceFromPart_assertA_a); + // ActivityParameterNode aParameterNode + RemovingInstanceFromPart_assertA_aParameterNode.SetName("aParameterNode"); + RemovingInstanceFromPart_assertA_aParameterNode.SetVisibility(VisibilityKind.public_); + RemovingInstanceFromPart_assertA.AddNode(RemovingInstanceFromPart_assertA_aParameterNode); + // CallBehaviorAction Call assertionNotImplemented + RemovingInstanceFromPart_assertA_Call_assertionNotImplemented.SetName("Call assertionNotImplemented"); + RemovingInstanceFromPart_assertA_Call_assertionNotImplemented.SetVisibility(VisibilityKind.public_); + RemovingInstanceFromPart_assertA_Call_assertionNotImplemented.SetBehavior(RemovingInstanceFromPart_assertA_assertionNotImplemented); + RemovingInstanceFromPart_assertA.AddNode(RemovingInstanceFromPart_assertA_Call_assertionNotImplemented); + RemovingInstanceFromPart.AddPackagedElement(RemovingInstanceFromPart_assertA); + // Interface I + RemovingInstanceFromPart_I.SetName("I"); + RemovingInstanceFromPart_I.SetVisibility(VisibilityKind.public_); + // Operation setP_Integer + RemovingInstanceFromPart_I_setP_Integer.SetName("setP_Integer"); + RemovingInstanceFromPart_I_setP_Integer.SetVisibility(VisibilityKind.public_); + // Parameter v + RemovingInstanceFromPart_I_setP_Integer_v.SetName("v"); + RemovingInstanceFromPart_I_setP_Integer_v.SetVisibility(VisibilityKind.public_); + + RemovingInstanceFromPart_I_setP_Integer_v.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + RemovingInstanceFromPart_I_setP_Integer.AddOwnedParameter(RemovingInstanceFromPart_I_setP_Integer_v); + RemovingInstanceFromPart_I.AddOwnedOperation(RemovingInstanceFromPart_I_setP_Integer); + RemovingInstanceFromPart.AddPackagedElement(RemovingInstanceFromPart_I); + // Activity main + RemovingInstanceFromPart_main.SetName("main"); + RemovingInstanceFromPart_main.SetVisibility(VisibilityKind.public_); + // ClearStructuralFeatureAction Clear a.b + RemovingInstanceFromPart_main_Clear_a_b.SetName("Clear a.b"); + RemovingInstanceFromPart_main_Clear_a_b.SetVisibility(VisibilityKind.public_); + RemovingInstanceFromPart_main_Clear_a_b.SetStructuralFeature(RemovingInstanceFromPart_A_b); + // InputPin object + RemovingInstanceFromPart_main_Clear_a_b_object.SetName("object"); + RemovingInstanceFromPart_main_Clear_a_b_object.SetVisibility(VisibilityKind.public_); + RemovingInstanceFromPart_main_Clear_a_b_object.SetType(RemovingInstanceFromPart_A); + RemovingInstanceFromPart_main_Clear_a_b.SetObject(RemovingInstanceFromPart_main_Clear_a_b_object); + // OutputPin result + RemovingInstanceFromPart_main_Clear_a_b_result.SetName("result"); + RemovingInstanceFromPart_main_Clear_a_b_result.SetVisibility(VisibilityKind.public_); + RemovingInstanceFromPart_main_Clear_a_b_result.SetType(RemovingInstanceFromPart_A); + RemovingInstanceFromPart_main_Clear_a_b.SetResult(RemovingInstanceFromPart_main_Clear_a_b_result); + RemovingInstanceFromPart_main.AddNode(RemovingInstanceFromPart_main_Clear_a_b); + // CreateObjectAction Create A + RemovingInstanceFromPart_main_Create_A.SetName("Create A"); + RemovingInstanceFromPart_main_Create_A.SetVisibility(VisibilityKind.public_); + RemovingInstanceFromPart_main_Create_A.SetClassifier(RemovingInstanceFromPart_A); + // OutputPin result + RemovingInstanceFromPart_main_Create_A_result.SetName("result"); + RemovingInstanceFromPart_main_Create_A_result.SetVisibility(VisibilityKind.public_); + RemovingInstanceFromPart_main_Create_A_result.SetType(RemovingInstanceFromPart_A); + RemovingInstanceFromPart_main_Create_A.SetResult(RemovingInstanceFromPart_main_Create_A_result); + RemovingInstanceFromPart_main.AddNode(RemovingInstanceFromPart_main_Create_A); + // CallBehaviorAction Call assertA + RemovingInstanceFromPart_main_Call_assertA.SetName("Call assertA"); + RemovingInstanceFromPart_main_Call_assertA.SetVisibility(VisibilityKind.public_); + RemovingInstanceFromPart_main_Call_assertA.SetBehavior(RemovingInstanceFromPart_assertA); + // InputPin a + RemovingInstanceFromPart_main_Call_assertA_a.SetName("a"); + RemovingInstanceFromPart_main_Call_assertA_a.SetVisibility(VisibilityKind.public_); + RemovingInstanceFromPart_main_Call_assertA_a.SetType(RemovingInstanceFromPart_A); + RemovingInstanceFromPart_main_Call_assertA.AddArgument(RemovingInstanceFromPart_main_Call_assertA_a); + RemovingInstanceFromPart_main.AddNode(RemovingInstanceFromPart_main_Call_assertA); + // CallOperationAction A() + RemovingInstanceFromPart_main_A_.SetName("A()"); + RemovingInstanceFromPart_main_A_.SetVisibility(VisibilityKind.public_); + + // OutputPin result + RemovingInstanceFromPart_main_A__result.SetName("result"); + RemovingInstanceFromPart_main_A__result.SetVisibility(VisibilityKind.public_); + RemovingInstanceFromPart_main_A__result.SetType(RemovingInstanceFromPart_A); + RemovingInstanceFromPart_main_A_.AddResult(RemovingInstanceFromPart_main_A__result); + RemovingInstanceFromPart_main_A_.SetOperation(RemovingInstanceFromPart_A_A_A); + // InputPin target + RemovingInstanceFromPart_main_A__target.SetName("target"); + RemovingInstanceFromPart_main_A__target.SetVisibility(VisibilityKind.public_); + RemovingInstanceFromPart_main_A__target.SetType(RemovingInstanceFromPart_A); + RemovingInstanceFromPart_main_A_.SetTarget(RemovingInstanceFromPart_main_A__target); + RemovingInstanceFromPart_main.AddNode(RemovingInstanceFromPart_main_A_); + // ObjectFlow ObjectFlow16 from result to a + RemovingInstanceFromPart_main_ObjectFlow16.SetName("ObjectFlow16"); + RemovingInstanceFromPart_main_ObjectFlow16.SetVisibility(VisibilityKind.public_); + + RemovingInstanceFromPart_main_ObjectFlow16.SetSource(RemovingInstanceFromPart_main_Clear_a_b_result); + RemovingInstanceFromPart_main_ObjectFlow16.SetTarget(RemovingInstanceFromPart_main_Call_assertA_a); + // LiteralBoolean LiteralBoolean17 + RemovingInstanceFromPart_main_ObjectFlow16_LiteralBoolean17.SetName("LiteralBoolean17"); + RemovingInstanceFromPart_main_ObjectFlow16_LiteralBoolean17.SetVisibility(VisibilityKind.public_); + RemovingInstanceFromPart_main_ObjectFlow16_LiteralBoolean17.SetValue(true); + RemovingInstanceFromPart_main_ObjectFlow16.SetGuard(RemovingInstanceFromPart_main_ObjectFlow16_LiteralBoolean17); + RemovingInstanceFromPart_main.AddEdge(RemovingInstanceFromPart_main_ObjectFlow16); + // ObjectFlow ObjectFlow21 from result to object + RemovingInstanceFromPart_main_ObjectFlow21.SetName("ObjectFlow21"); + RemovingInstanceFromPart_main_ObjectFlow21.SetVisibility(VisibilityKind.public_); + + RemovingInstanceFromPart_main_ObjectFlow21.SetSource(RemovingInstanceFromPart_main_A__result); + RemovingInstanceFromPart_main_ObjectFlow21.SetTarget(RemovingInstanceFromPart_main_Clear_a_b_object); + // LiteralBoolean LiteralBoolean22 + RemovingInstanceFromPart_main_ObjectFlow21_LiteralBoolean22.SetName("LiteralBoolean22"); + RemovingInstanceFromPart_main_ObjectFlow21_LiteralBoolean22.SetVisibility(VisibilityKind.public_); + RemovingInstanceFromPart_main_ObjectFlow21_LiteralBoolean22.SetValue(true); + RemovingInstanceFromPart_main_ObjectFlow21.SetGuard(RemovingInstanceFromPart_main_ObjectFlow21_LiteralBoolean22); + RemovingInstanceFromPart_main.AddEdge(RemovingInstanceFromPart_main_ObjectFlow21); + // ObjectFlow ObjectFlow24 from result to target + RemovingInstanceFromPart_main_ObjectFlow24.SetName("ObjectFlow24"); + RemovingInstanceFromPart_main_ObjectFlow24.SetVisibility(VisibilityKind.public_); + + RemovingInstanceFromPart_main_ObjectFlow24.SetSource(RemovingInstanceFromPart_main_Create_A_result); + RemovingInstanceFromPart_main_ObjectFlow24.SetTarget(RemovingInstanceFromPart_main_A__target); + // LiteralBoolean LiteralBoolean26 + RemovingInstanceFromPart_main_ObjectFlow24_LiteralBoolean26.SetName("LiteralBoolean26"); + RemovingInstanceFromPart_main_ObjectFlow24_LiteralBoolean26.SetVisibility(VisibilityKind.public_); + RemovingInstanceFromPart_main_ObjectFlow24_LiteralBoolean26.SetValue(true); + RemovingInstanceFromPart_main_ObjectFlow24.SetGuard(RemovingInstanceFromPart_main_ObjectFlow24_LiteralBoolean26); + RemovingInstanceFromPart_main.AddEdge(RemovingInstanceFromPart_main_ObjectFlow24); + RemovingInstanceFromPart.AddPackagedElement(RemovingInstanceFromPart_main); + // Class IImpl + RemovingInstanceFromPart_IImpl.SetName("IImpl"); + RemovingInstanceFromPart_IImpl.SetVisibility(VisibilityKind.public_); + RemovingInstanceFromPart_IImpl_IRealization.SetName("IRealization"); + RemovingInstanceFromPart_IImpl_IRealization.SetVisibility(VisibilityKind.public_); + RemovingInstanceFromPart_IImpl_IRealization.SetContract(RemovingInstanceFromPart_I); + + RemovingInstanceFromPart_IImpl.AddInterfaceRealization(RemovingInstanceFromPart_IImpl_IRealization); + + // Operation setP_Integer + RemovingInstanceFromPart_IImpl_setP_Integer.SetName("setP_Integer"); + RemovingInstanceFromPart_IImpl_setP_Integer.SetVisibility(VisibilityKind.public_); + // Parameter v + RemovingInstanceFromPart_IImpl_setP_Integer_v.SetName("v"); + RemovingInstanceFromPart_IImpl_setP_Integer_v.SetVisibility(VisibilityKind.public_); + + RemovingInstanceFromPart_IImpl_setP_Integer_v.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + RemovingInstanceFromPart_IImpl_setP_Integer.AddOwnedParameter(RemovingInstanceFromPart_IImpl_setP_Integer_v); + RemovingInstanceFromPart_IImpl.AddOwnedOperation(RemovingInstanceFromPart_IImpl_setP_Integer); + RemovingInstanceFromPart.AddPackagedElement(RemovingInstanceFromPart_IImpl); + // Class A + RemovingInstanceFromPart_A.SetName("A"); + RemovingInstanceFromPart_A.SetVisibility(VisibilityKind.public_); + + // Port q + RemovingInstanceFromPart_A_q.SetName("q"); + RemovingInstanceFromPart_A_q.SetVisibility(VisibilityKind.public_); + + RemovingInstanceFromPart_A_q.SetType(RemovingInstanceFromPart_IImpl); + RemovingInstanceFromPart_A_q.SetAggregation(AggregationKind.composite); + RemovingInstanceFromPart_A_q.isService = true; + RemovingInstanceFromPart_A_q.AddProvided(RemovingInstanceFromPart_I); + RemovingInstanceFromPart_A.AddOwnedAttribute(RemovingInstanceFromPart_A_q); + // Property b + RemovingInstanceFromPart_A_b.SetName("b"); + RemovingInstanceFromPart_A_b.SetVisibility(VisibilityKind.public_); + + RemovingInstanceFromPart_A_b.SetType(RemovingInstanceFromPart_B); + RemovingInstanceFromPart_A_b.SetAggregation(AggregationKind.composite); + RemovingInstanceFromPart_A.AddOwnedAttribute(RemovingInstanceFromPart_A_b); + + RemovingInstanceFromPart_A_r.SetName("r"); + RemovingInstanceFromPart_A_r.SetVisibility(VisibilityKind.public_); + + RemovingInstanceFromPart_A_r_ConnectorEnd35.SetRole(RemovingInstanceFromPart_A_q); + + RemovingInstanceFromPart_A_r.AddEnd(RemovingInstanceFromPart_A_r_ConnectorEnd35); + + RemovingInstanceFromPart_A_r_ConnectorEnd36.SetRole(RemovingInstanceFromPart_A_b); + + RemovingInstanceFromPart_A_r.AddEnd(RemovingInstanceFromPart_A_r_ConnectorEnd36); + RemovingInstanceFromPart_A_r.SetType(RemovingInstanceFromPart_R); + RemovingInstanceFromPart_A.AddOwnedConnector(RemovingInstanceFromPart_A_r); + // Operation A_A + RemovingInstanceFromPart_A_A_A.SetName("A_A"); + RemovingInstanceFromPart_A_A_A.SetVisibility(VisibilityKind.public_); + // Parameter result + RemovingInstanceFromPart_A_A_A_result.SetName("result"); + RemovingInstanceFromPart_A_A_A_result.SetVisibility(VisibilityKind.public_); + + RemovingInstanceFromPart_A_A_A_result.SetType(RemovingInstanceFromPart_A); + RemovingInstanceFromPart_A_A_A_result.SetDirection(ParameterDirectionKind.return_); + RemovingInstanceFromPart_A_A_A.AddOwnedParameter(RemovingInstanceFromPart_A_A_A_result); + RemovingInstanceFromPart_A_A_A.ApplyStereotype(uml.standardprofile.StandardProfileModel.Instance().Stereotype_Create); + RemovingInstanceFromPart_A.AddOwnedOperation(RemovingInstanceFromPart_A_A_A); + RemovingInstanceFromPart.AddPackagedElement(RemovingInstanceFromPart_A); + // Association R + RemovingInstanceFromPart_R.SetName("R"); + RemovingInstanceFromPart_R.SetVisibility(VisibilityKind.public_); + RemovingInstanceFromPart_R.AddOwnedEnd(RemovingInstanceFromPart_R_x); + RemovingInstanceFromPart_R.AddOwnedEnd(RemovingInstanceFromPart_R_y); + RemovingInstanceFromPart.AddPackagedElement(RemovingInstanceFromPart_R); + } + + /* Start of user code : User-defined members + * This section may be used for user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } // RemovingInstanceFromPartModel +} diff --git a/fUML-CSharp/tests/pscs-Tests/04_Destruction/02_RemovingInstanceFromPart/src/assertionNotImplementedExecution.cs b/fUML-CSharp/tests/pscs-Tests/04_Destruction/02_RemovingInstanceFromPart/src/assertionNotImplementedExecution.cs new file mode 100644 index 0000000..2b53dfa --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/04_Destruction/02_RemovingInstanceFromPart/src/assertionNotImplementedExecution.cs @@ -0,0 +1,57 @@ +/* + * assertionNotImplementedExecution.cs + * + * Auto-generated file + */ + +using fuml.semantics.commonbehavior; +using fuml; +using fuml.semantics.values; + +/* Start of user code : User-defined includes and forward declarations + * This section may be used for includes and forward declarations. + * It will not be overwritten by future generation processes. + */ + +/* + * End of user code + */ + +namespace RemovingInstanceFromPart +{ + public class assertionNotImplementedExecution : OpaqueBehaviorExecution + { + public assertionNotImplementedExecution() + { + types.Add(RemovingInstanceFromPartModel.Instance().RemovingInstanceFromPart_assertA_assertionNotImplemented); + /* Start of user code : Additional opaque behavior execution initializations + * This section may be used to do any additional opaque behavior execution initialization, + * for example initializing user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } + + public override void DoBody(List inputParameters, List outputParameters) + { + Console.WriteLine("Assertion currenlty not implemented! Model was validated by manual debugging."); + } + + protected override Value New_() + { + return new assertionNotImplementedExecution(); + } + + /* Start of user code : User-defined members + * This section may be used for user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } // assertionNotImplementedExecution +} diff --git a/fUML-CSharp/tests/pscs-Tests/04_Destruction/03_RemovingInstanceFromPort/.gitignore b/fUML-CSharp/tests/pscs-Tests/04_Destruction/03_RemovingInstanceFromPort/.gitignore new file mode 100644 index 0000000..1736844 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/04_Destruction/03_RemovingInstanceFromPort/.gitignore @@ -0,0 +1,3 @@ +/.vs/ +/bin/ +/obj/ diff --git a/fUML-CSharp/tests/pscs-Tests/04_Destruction/03_RemovingInstanceFromPort/Properties/launchSettings.json b/fUML-CSharp/tests/pscs-Tests/04_Destruction/03_RemovingInstanceFromPort/Properties/launchSettings.json new file mode 100644 index 0000000..1d18ef7 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/04_Destruction/03_RemovingInstanceFromPort/Properties/launchSettings.json @@ -0,0 +1,8 @@ +{ + "profiles": { + "RemovingInstanceFromPort": { + "commandName": "Project", + "commandLineArgs": "main" + } + } +} \ No newline at end of file diff --git a/fUML-CSharp/tests/pscs-Tests/04_Destruction/03_RemovingInstanceFromPort/RemovingInstanceFromPort.csproj b/fUML-CSharp/tests/pscs-Tests/04_Destruction/03_RemovingInstanceFromPort/RemovingInstanceFromPort.csproj new file mode 100644 index 0000000..880ff03 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/04_Destruction/03_RemovingInstanceFromPort/RemovingInstanceFromPort.csproj @@ -0,0 +1,50 @@ + + + + Exe + net6.0 + enable + enable + + + + RemovingInstanceFromPort.Debug + + + RemovingInstanceFromPort.Release + + + + + ..\..\..\..\uml\bin\Debug\net6.0\uml.Debug.dll + + + + + ..\..\..\..\uml\bin\Release\net6.0\uml.Release.dll + + + + + + ..\..\..\..\fuml\bin\Debug\net6.0\fuml.Debug.dll + + + + + ..\..\..\..\fuml\bin\Release\net6.0\fuml.Release.dll + + + + + + ..\..\..\..\pscs\bin\Debug\net6.0\pscs.Debug.dll + + + + + ..\..\..\..\pscs\bin\Release\net6.0\pscs.Release.dll + + + + diff --git a/fUML-CSharp/tests/pscs-Tests/04_Destruction/03_RemovingInstanceFromPort/RemovingInstanceFromPort.sln b/fUML-CSharp/tests/pscs-Tests/04_Destruction/03_RemovingInstanceFromPort/RemovingInstanceFromPort.sln new file mode 100644 index 0000000..4c8e281 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/04_Destruction/03_RemovingInstanceFromPort/RemovingInstanceFromPort.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.32112.339 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "RemovingInstanceFromPort", "RemovingInstanceFromPort.csproj", "{50BC1B1F-C570-44C3-845F-60FD3421574A}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {50BC1B1F-C570-44C3-845F-60FD3421574A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {50BC1B1F-C570-44C3-845F-60FD3421574A}.Debug|Any CPU.Build.0 = Debug|Any CPU + {50BC1B1F-C570-44C3-845F-60FD3421574A}.Release|Any CPU.ActiveCfg = Release|Any CPU + {50BC1B1F-C570-44C3-845F-60FD3421574A}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {C81A6F11-C25F-4E26-A2DA-BA09CE3B43ED} + EndGlobalSection +EndGlobal diff --git a/fUML-CSharp/tests/pscs-Tests/04_Destruction/03_RemovingInstanceFromPort/model/RemovingInstanceFromPort.di b/fUML-CSharp/tests/pscs-Tests/04_Destruction/03_RemovingInstanceFromPort/model/RemovingInstanceFromPort.di new file mode 100644 index 0000000..8c549ee --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/04_Destruction/03_RemovingInstanceFromPort/model/RemovingInstanceFromPort.di @@ -0,0 +1,2 @@ + + diff --git a/fUML-CSharp/tests/pscs-Tests/04_Destruction/03_RemovingInstanceFromPort/model/RemovingInstanceFromPort.notation b/fUML-CSharp/tests/pscs-Tests/04_Destruction/03_RemovingInstanceFromPort/model/RemovingInstanceFromPort.notation new file mode 100644 index 0000000..33a9d92 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/04_Destruction/03_RemovingInstanceFromPort/model/RemovingInstanceFromPort.notation @@ -0,0 +1,502 @@ + + + + + +
+
+ + + + + +
+ + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/fUML-CSharp/tests/pscs-Tests/04_Destruction/03_RemovingInstanceFromPort/model/RemovingInstanceFromPort.uml b/fUML-CSharp/tests/pscs-Tests/04_Destruction/03_RemovingInstanceFromPort/model/RemovingInstanceFromPort.uml new file mode 100644 index 0000000..c8f0cd4 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/04_Destruction/03_RemovingInstanceFromPort/model/RemovingInstanceFromPort.uml @@ -0,0 +1,153 @@ + + + + + This test case validates that the removal of an instance from a part implies destruction of related links. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + C# + Console.WriteLine("Assertion currenlty not implemented! Model was validated by manual debugging."); + + + + + + + + + + + + + + + + + diff --git a/fUML-CSharp/tests/pscs-Tests/04_Destruction/03_RemovingInstanceFromPort/src/RemovingInstanceFromPort.cs b/fUML-CSharp/tests/pscs-Tests/04_Destruction/03_RemovingInstanceFromPort/src/RemovingInstanceFromPort.cs new file mode 100644 index 0000000..584c2a5 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/04_Destruction/03_RemovingInstanceFromPort/src/RemovingInstanceFromPort.cs @@ -0,0 +1,31 @@ +namespace RemovingInstanceFromPort +{ + internal class RemovingInstanceFromPort + { + static void PrintUsage() + { + Console.WriteLine( + "=============================================================================================\n" + + "USAGE: [ <...>]\n" + + "=============================================================================================\n" + ); + } + + static int Main(string[] args) + { + if(args.Length == 0) + { + Console.WriteLine("[ERROR] Must declare at least one behavior name.\n"); + PrintUsage(); + return -1; + } + + foreach (string arg in args) + { + RemovingInstanceFromPortEnvironment.Instance().Execute(arg); + } + + return 0; + } + } +} diff --git a/fUML-CSharp/tests/pscs-Tests/04_Destruction/03_RemovingInstanceFromPort/src/RemovingInstanceFromPortEnvironment.cs b/fUML-CSharp/tests/pscs-Tests/04_Destruction/03_RemovingInstanceFromPort/src/RemovingInstanceFromPortEnvironment.cs new file mode 100644 index 0000000..2225164 --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/04_Destruction/03_RemovingInstanceFromPort/src/RemovingInstanceFromPortEnvironment.cs @@ -0,0 +1,93 @@ +/* + * RemovingInstanceFromPortEnvironment.cs + * + * Auto-generated file + */ + +/* Start of user code : User-defined using directives + * This section may be used for using directives. + * It will not be overwritten by future generation processes. + */ + +/* + * End of user code + */ + +namespace RemovingInstanceFromPort +{ + public class RemovingInstanceFromPortEnvironment : pscs.environment.Environment + { + private static RemovingInstanceFromPortEnvironment? instance; + + public static RemovingInstanceFromPortEnvironment Instance() + { + if(instance is null) + { + instance = new(); + instance.inMemoryModel = RemovingInstanceFromPortModel.Instance(); + } + + return instance; + } + + public RemovingInstanceFromPortEnvironment() + { + /* + * Create custom opaque behavior execution instances and add them to the execution environment. + */ + AddPrimitiveBehaviorPrototype(new assertionNotImplementedExecution()); + + /* Start of user code : Additional environment initializations + * This section may be used to do any additional environment initialization, + * for example initializing user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } + + public override void Execute(string behaviorName) + { + /* Start of user code : Context and inputs initializations + * This section may be used to initialize the execution context + * as well as input parameter values if required. + * It will not be overwritten by future generation processes. + */ + + //context = ...; + //inputs = ...; + + /* + * End of user code + */ + + /* + * Start execution via base class call + */ + base.Execute(behaviorName); + + /* Start of user code : Outputs evaluation + * This section may be used to evaluate output parameter values if required. + * It will not be overwritten by future generation processes. + */ + + //List theOutputs = outputs; + //... + + /* + * End of user code + */ + } + + /* Start of user code : User-defined members + * This section may be used for user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } // RemovingInstanceFromPortEnvironment +} diff --git a/fUML-CSharp/tests/pscs-Tests/04_Destruction/03_RemovingInstanceFromPort/src/RemovingInstanceFromPortModel.cs b/fUML-CSharp/tests/pscs-Tests/04_Destruction/03_RemovingInstanceFromPort/src/RemovingInstanceFromPortModel.cs new file mode 100644 index 0000000..4c1407a --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/04_Destruction/03_RemovingInstanceFromPort/src/RemovingInstanceFromPortModel.cs @@ -0,0 +1,572 @@ +/* + * RemovingInstanceFromPortModel.cs + * + * Auto-generated file + */ + +using uml.actions; +using uml.packages; +using uml.structuredclassifiers; +using fuml.primitivetypes; +using uml.classification; +using fuml.library; +using uml.simpleclassifiers; +using uml.commonbehavior; +using uml.commonstructure; +using uml.values; +using uml.activities; +using uml.environment; + + +/* Start of user code : User-defined includes and forward declarations + * This section may be used for includes and forward declarations. + * It will not be overwritten by future generation processes. + */ + +/* + * End of user code + */ + +namespace RemovingInstanceFromPort +{ + public class RemovingInstanceFromPortModel : InMemoryModel + { + private static RemovingInstanceFromPortModel? instance; + + /* + * Model RemovingInstanceFromPort + */ + public Package RemovingInstanceFromPort = new(); + public Class_ RemovingInstanceFromPort_B = new(); + public Operation RemovingInstanceFromPort_B_B_B = new(); + public Parameter RemovingInstanceFromPort_B_B_B_result = new(); + public Activity RemovingInstanceFromPort_B_setPActivity = new(); + public ActivityParameterNode RemovingInstanceFromPort_B_setPActivity_vParameterNode = new(); + public LiteralInteger RemovingInstanceFromPort_B_setPActivity_vParameterNode_LiteralInteger0 = new(); + public ReadSelfAction RemovingInstanceFromPort_B_setPActivity_this = new(); + public OutputPin RemovingInstanceFromPort_B_setPActivity_this_result = new(); + public LiteralUnlimitedNatural RemovingInstanceFromPort_B_setPActivity_this_result_LiteralUnlimitedNatural1 = new(); + public LiteralInteger RemovingInstanceFromPort_B_setPActivity_this_result_LiteralInteger2 = new(); + public Parameter RemovingInstanceFromPort_B_setPActivity_v = new(); + public ObjectFlow RemovingInstanceFromPort_B_setPActivity_ObjectFlow3 = new(); + public LiteralBoolean RemovingInstanceFromPort_B_setPActivity_ObjectFlow3_LiteralBoolean4 = new(); + public LiteralInteger RemovingInstanceFromPort_B_setPActivity_ObjectFlow3_LiteralInteger5 = new(); + public ObjectFlow RemovingInstanceFromPort_B_setPActivity_ObjectFlow6 = new(); + public LiteralBoolean RemovingInstanceFromPort_B_setPActivity_ObjectFlow6_LiteralBoolean7 = new(); + public LiteralInteger RemovingInstanceFromPort_B_setPActivity_ObjectFlow6_LiteralInteger8 = new(); + public AddStructuralFeatureValueAction RemovingInstanceFromPort_B_setPActivity_Set_this_p = new(); + public OutputPin RemovingInstanceFromPort_B_setPActivity_Set_this_p_result = new(); + public LiteralUnlimitedNatural RemovingInstanceFromPort_B_setPActivity_Set_this_p_result_LiteralUnlimitedNatural9 = new(); + public LiteralInteger RemovingInstanceFromPort_B_setPActivity_Set_this_p_result_LiteralInteger10 = new(); + public InputPin RemovingInstanceFromPort_B_setPActivity_Set_this_p_value = new(); + public LiteralUnlimitedNatural RemovingInstanceFromPort_B_setPActivity_Set_this_p_value_LiteralUnlimitedNatural11 = new(); + public LiteralInteger RemovingInstanceFromPort_B_setPActivity_Set_this_p_value_LiteralInteger12 = new(); + public InputPin RemovingInstanceFromPort_B_setPActivity_Set_this_p_object = new(); + public LiteralUnlimitedNatural RemovingInstanceFromPort_B_setPActivity_Set_this_p_object_LiteralUnlimitedNatural13 = new(); + public LiteralInteger RemovingInstanceFromPort_B_setPActivity_Set_this_p_object_LiteralInteger14 = new(); + public Operation RemovingInstanceFromPort_B_setP_Integer = new(); + public Parameter RemovingInstanceFromPort_B_setP_Integer_v = new(); + public Property RemovingInstanceFromPort_B_p = new(); + public InterfaceRealization RemovingInstanceFromPort_B_IRealization = new(); + public Activity RemovingInstanceFromPort_assertA = new(); + public ActivityParameterNode RemovingInstanceFromPort_assertA_aParameterNode = new(); + public LiteralInteger RemovingInstanceFromPort_assertA_aParameterNode_LiteralInteger15 = new(); + public OpaqueBehavior RemovingInstanceFromPort_assertA_assertionNotImplemented = new(); + public Parameter RemovingInstanceFromPort_assertA_a = new(); + public CallBehaviorAction RemovingInstanceFromPort_assertA_Call_assertionNotImplemented = new(); + public Interface RemovingInstanceFromPort_I = new(); + public Operation RemovingInstanceFromPort_I_setP_Integer = new(); + public Parameter RemovingInstanceFromPort_I_setP_Integer_v = new(); + public Activity RemovingInstanceFromPort_main = new(); + public ObjectFlow RemovingInstanceFromPort_main_ObjectFlow16 = new(); + public LiteralBoolean RemovingInstanceFromPort_main_ObjectFlow16_LiteralBoolean17 = new(); + public LiteralInteger RemovingInstanceFromPort_main_ObjectFlow16_LiteralInteger18 = new(); + public ClearStructuralFeatureAction RemovingInstanceFromPort_main_Clear_a_q = new(); + public OutputPin RemovingInstanceFromPort_main_Clear_a_q_result = new(); + public InputPin RemovingInstanceFromPort_main_Clear_a_q_object = new(); + public CreateObjectAction RemovingInstanceFromPort_main_Create_A = new(); + public OutputPin RemovingInstanceFromPort_main_Create_A_result = new(); + public LiteralInteger RemovingInstanceFromPort_main_Create_A_result_LiteralInteger19 = new(); + public LiteralUnlimitedNatural RemovingInstanceFromPort_main_Create_A_result_LiteralUnlimitedNatural20 = new(); + public ObjectFlow RemovingInstanceFromPort_main_ObjectFlow21 = new(); + public LiteralBoolean RemovingInstanceFromPort_main_ObjectFlow21_LiteralBoolean22 = new(); + public LiteralInteger RemovingInstanceFromPort_main_ObjectFlow21_LiteralInteger23 = new(); + public ObjectFlow RemovingInstanceFromPort_main_ObjectFlow24 = new(); + public LiteralInteger RemovingInstanceFromPort_main_ObjectFlow24_LiteralInteger25 = new(); + public LiteralBoolean RemovingInstanceFromPort_main_ObjectFlow24_LiteralBoolean26 = new(); + public CallBehaviorAction RemovingInstanceFromPort_main_Call_assertA = new(); + public InputPin RemovingInstanceFromPort_main_Call_assertA_a = new(); + public LiteralInteger RemovingInstanceFromPort_main_Call_assertA_a_LiteralInteger27 = new(); + public LiteralInteger RemovingInstanceFromPort_main_Call_assertA_a_LiteralInteger28 = new(); + public LiteralUnlimitedNatural RemovingInstanceFromPort_main_Call_assertA_a_LiteralUnlimitedNatural29 = new(); + public CallOperationAction RemovingInstanceFromPort_main_A_ = new(); + public InputPin RemovingInstanceFromPort_main_A__target = new(); + public LiteralUnlimitedNatural RemovingInstanceFromPort_main_A__target_LiteralUnlimitedNatural30 = new(); + public LiteralInteger RemovingInstanceFromPort_main_A__target_LiteralInteger31 = new(); + public OutputPin RemovingInstanceFromPort_main_A__result = new(); + public LiteralInteger RemovingInstanceFromPort_main_A__result_LiteralInteger32 = new(); + public LiteralInteger RemovingInstanceFromPort_main_A__result_LiteralInteger33 = new(); + public LiteralUnlimitedNatural RemovingInstanceFromPort_main_A__result_LiteralUnlimitedNatural34 = new(); + public Class_ RemovingInstanceFromPort_IImpl = new(); + public Operation RemovingInstanceFromPort_IImpl_setP_Integer = new(); + public Parameter RemovingInstanceFromPort_IImpl_setP_Integer_v = new(); + public InterfaceRealization RemovingInstanceFromPort_IImpl_IRealization = new(); + public Class_ RemovingInstanceFromPort_A = new(); + public Port RemovingInstanceFromPort_A_q = new(); + public Operation RemovingInstanceFromPort_A_A_A = new(); + public Parameter RemovingInstanceFromPort_A_A_A_result = new(); + public Connector RemovingInstanceFromPort_A_r = new(); + public ConnectorEnd RemovingInstanceFromPort_A_r_ConnectorEnd35 = new(); + public ConnectorEnd RemovingInstanceFromPort_A_r_ConnectorEnd36 = new(); + public Property RemovingInstanceFromPort_A_b = new(); + public Association RemovingInstanceFromPort_R = new(); + public Property RemovingInstanceFromPort_R_y = new(); + public Property RemovingInstanceFromPort_R_x = new(); + + public static RemovingInstanceFromPortModel Instance() + { + if (instance is null) + { + instance = new(); + instance.InitializeInMemoryModel(); + } + + return instance; + } + + public RemovingInstanceFromPortModel() + { + /* Start of user code : Additional model initializations + * This section may be used to do any additional model initialization, + * for example initializing user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } + + private void InitializeInMemoryModel() + { + // Create public members + /* + * Model RemovingInstanceFromPort + */ + AddToElementRepository("RemovingInstanceFromPort", RemovingInstanceFromPort); + AddToElementRepository("B", RemovingInstanceFromPort_B); + AddToElementRepository("B_B", RemovingInstanceFromPort_B_B_B); + AddToElementRepository("result", RemovingInstanceFromPort_B_B_B_result); + AddToElementRepository("setPActivity", RemovingInstanceFromPort_B_setPActivity); + AddToElementRepository("vParameterNode", RemovingInstanceFromPort_B_setPActivity_vParameterNode); + AddToElementRepository("LiteralInteger0", RemovingInstanceFromPort_B_setPActivity_vParameterNode_LiteralInteger0); + AddToElementRepository("this", RemovingInstanceFromPort_B_setPActivity_this); + AddToElementRepository("result", RemovingInstanceFromPort_B_setPActivity_this_result); + AddToElementRepository("LiteralUnlimitedNatural1", RemovingInstanceFromPort_B_setPActivity_this_result_LiteralUnlimitedNatural1); + AddToElementRepository("LiteralInteger2", RemovingInstanceFromPort_B_setPActivity_this_result_LiteralInteger2); + AddToElementRepository("v", RemovingInstanceFromPort_B_setPActivity_v); + AddToElementRepository("ObjectFlow3", RemovingInstanceFromPort_B_setPActivity_ObjectFlow3); + AddToElementRepository("LiteralBoolean4", RemovingInstanceFromPort_B_setPActivity_ObjectFlow3_LiteralBoolean4); + AddToElementRepository("LiteralInteger5", RemovingInstanceFromPort_B_setPActivity_ObjectFlow3_LiteralInteger5); + AddToElementRepository("ObjectFlow6", RemovingInstanceFromPort_B_setPActivity_ObjectFlow6); + AddToElementRepository("LiteralBoolean7", RemovingInstanceFromPort_B_setPActivity_ObjectFlow6_LiteralBoolean7); + AddToElementRepository("LiteralInteger8", RemovingInstanceFromPort_B_setPActivity_ObjectFlow6_LiteralInteger8); + AddToElementRepository("Set this.p", RemovingInstanceFromPort_B_setPActivity_Set_this_p); + AddToElementRepository("result", RemovingInstanceFromPort_B_setPActivity_Set_this_p_result); + AddToElementRepository("LiteralUnlimitedNatural9", RemovingInstanceFromPort_B_setPActivity_Set_this_p_result_LiteralUnlimitedNatural9); + AddToElementRepository("LiteralInteger10", RemovingInstanceFromPort_B_setPActivity_Set_this_p_result_LiteralInteger10); + AddToElementRepository("value", RemovingInstanceFromPort_B_setPActivity_Set_this_p_value); + AddToElementRepository("LiteralUnlimitedNatural11", RemovingInstanceFromPort_B_setPActivity_Set_this_p_value_LiteralUnlimitedNatural11); + AddToElementRepository("LiteralInteger12", RemovingInstanceFromPort_B_setPActivity_Set_this_p_value_LiteralInteger12); + AddToElementRepository("object", RemovingInstanceFromPort_B_setPActivity_Set_this_p_object); + AddToElementRepository("LiteralUnlimitedNatural13", RemovingInstanceFromPort_B_setPActivity_Set_this_p_object_LiteralUnlimitedNatural13); + AddToElementRepository("LiteralInteger14", RemovingInstanceFromPort_B_setPActivity_Set_this_p_object_LiteralInteger14); + AddToElementRepository("setP_Integer", RemovingInstanceFromPort_B_setP_Integer); + AddToElementRepository("v", RemovingInstanceFromPort_B_setP_Integer_v); + AddToElementRepository("p", RemovingInstanceFromPort_B_p); + AddToElementRepository("IRealization", RemovingInstanceFromPort_B_IRealization); + AddToElementRepository("assertA", RemovingInstanceFromPort_assertA); + AddToElementRepository("aParameterNode", RemovingInstanceFromPort_assertA_aParameterNode); + AddToElementRepository("LiteralInteger15", RemovingInstanceFromPort_assertA_aParameterNode_LiteralInteger15); + AddToElementRepository("assertionNotImplemented", RemovingInstanceFromPort_assertA_assertionNotImplemented); + AddToElementRepository("a", RemovingInstanceFromPort_assertA_a); + AddToElementRepository("Call assertionNotImplemented", RemovingInstanceFromPort_assertA_Call_assertionNotImplemented); + AddToElementRepository("I", RemovingInstanceFromPort_I); + AddToElementRepository("setP_Integer", RemovingInstanceFromPort_I_setP_Integer); + AddToElementRepository("v", RemovingInstanceFromPort_I_setP_Integer_v); + AddToElementRepository("main", RemovingInstanceFromPort_main); + AddToElementRepository("ObjectFlow16", RemovingInstanceFromPort_main_ObjectFlow16); + AddToElementRepository("LiteralBoolean17", RemovingInstanceFromPort_main_ObjectFlow16_LiteralBoolean17); + AddToElementRepository("LiteralInteger18", RemovingInstanceFromPort_main_ObjectFlow16_LiteralInteger18); + AddToElementRepository("Clear a.q", RemovingInstanceFromPort_main_Clear_a_q); + AddToElementRepository("result", RemovingInstanceFromPort_main_Clear_a_q_result); + AddToElementRepository("object", RemovingInstanceFromPort_main_Clear_a_q_object); + AddToElementRepository("Create A", RemovingInstanceFromPort_main_Create_A); + AddToElementRepository("result", RemovingInstanceFromPort_main_Create_A_result); + AddToElementRepository("LiteralInteger19", RemovingInstanceFromPort_main_Create_A_result_LiteralInteger19); + AddToElementRepository("LiteralUnlimitedNatural20", RemovingInstanceFromPort_main_Create_A_result_LiteralUnlimitedNatural20); + AddToElementRepository("ObjectFlow21", RemovingInstanceFromPort_main_ObjectFlow21); + AddToElementRepository("LiteralBoolean22", RemovingInstanceFromPort_main_ObjectFlow21_LiteralBoolean22); + AddToElementRepository("LiteralInteger23", RemovingInstanceFromPort_main_ObjectFlow21_LiteralInteger23); + AddToElementRepository("ObjectFlow24", RemovingInstanceFromPort_main_ObjectFlow24); + AddToElementRepository("LiteralInteger25", RemovingInstanceFromPort_main_ObjectFlow24_LiteralInteger25); + AddToElementRepository("LiteralBoolean26", RemovingInstanceFromPort_main_ObjectFlow24_LiteralBoolean26); + AddToElementRepository("Call assertA", RemovingInstanceFromPort_main_Call_assertA); + AddToElementRepository("a", RemovingInstanceFromPort_main_Call_assertA_a); + AddToElementRepository("LiteralInteger27", RemovingInstanceFromPort_main_Call_assertA_a_LiteralInteger27); + AddToElementRepository("LiteralInteger28", RemovingInstanceFromPort_main_Call_assertA_a_LiteralInteger28); + AddToElementRepository("LiteralUnlimitedNatural29", RemovingInstanceFromPort_main_Call_assertA_a_LiteralUnlimitedNatural29); + AddToElementRepository("A()", RemovingInstanceFromPort_main_A_); + AddToElementRepository("target", RemovingInstanceFromPort_main_A__target); + AddToElementRepository("LiteralUnlimitedNatural30", RemovingInstanceFromPort_main_A__target_LiteralUnlimitedNatural30); + AddToElementRepository("LiteralInteger31", RemovingInstanceFromPort_main_A__target_LiteralInteger31); + AddToElementRepository("result", RemovingInstanceFromPort_main_A__result); + AddToElementRepository("LiteralInteger32", RemovingInstanceFromPort_main_A__result_LiteralInteger32); + AddToElementRepository("LiteralInteger33", RemovingInstanceFromPort_main_A__result_LiteralInteger33); + AddToElementRepository("LiteralUnlimitedNatural34", RemovingInstanceFromPort_main_A__result_LiteralUnlimitedNatural34); + AddToElementRepository("IImpl", RemovingInstanceFromPort_IImpl); + AddToElementRepository("setP_Integer", RemovingInstanceFromPort_IImpl_setP_Integer); + AddToElementRepository("v", RemovingInstanceFromPort_IImpl_setP_Integer_v); + AddToElementRepository("IRealization", RemovingInstanceFromPort_IImpl_IRealization); + AddToElementRepository("A", RemovingInstanceFromPort_A); + AddToElementRepository("q", RemovingInstanceFromPort_A_q); + AddToElementRepository("A_A", RemovingInstanceFromPort_A_A_A); + AddToElementRepository("result", RemovingInstanceFromPort_A_A_A_result); + AddToElementRepository("r", RemovingInstanceFromPort_A_r); + AddToElementRepository("ConnectorEnd35", RemovingInstanceFromPort_A_r_ConnectorEnd35); + AddToElementRepository("ConnectorEnd36", RemovingInstanceFromPort_A_r_ConnectorEnd36); + AddToElementRepository("b", RemovingInstanceFromPort_A_b); + AddToElementRepository("R", RemovingInstanceFromPort_R); + AddToElementRepository("y", RemovingInstanceFromPort_R_y); + AddToElementRepository("x", RemovingInstanceFromPort_R_x); + + // Initialize public members + /* + * Model RemovingInstanceFromPort + */ + RemovingInstanceFromPort.SetName("RemovingInstanceFromPort"); + RemovingInstanceFromPort.SetVisibility(VisibilityKind.public_); + // Class B + RemovingInstanceFromPort_B.SetName("B"); + RemovingInstanceFromPort_B.SetVisibility(VisibilityKind.public_); + + // Property p + RemovingInstanceFromPort_B_p.SetName("p"); + RemovingInstanceFromPort_B_p.SetVisibility(VisibilityKind.public_); + + RemovingInstanceFromPort_B_p.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + RemovingInstanceFromPort_B.AddOwnedAttribute(RemovingInstanceFromPort_B_p); + // Activity setPActivity + RemovingInstanceFromPort_B_setPActivity.SetName("setPActivity"); + RemovingInstanceFromPort_B_setPActivity.SetVisibility(VisibilityKind.public_); + + // Parameter v + RemovingInstanceFromPort_B_setPActivity_v.SetName("v"); + RemovingInstanceFromPort_B_setPActivity_v.SetVisibility(VisibilityKind.public_); + + RemovingInstanceFromPort_B_setPActivity_v.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + RemovingInstanceFromPort_B_setPActivity.AddOwnedParameter(RemovingInstanceFromPort_B_setPActivity_v); + // ActivityParameterNode vParameterNode + RemovingInstanceFromPort_B_setPActivity_vParameterNode.SetName("vParameterNode"); + RemovingInstanceFromPort_B_setPActivity_vParameterNode.SetVisibility(VisibilityKind.public_); + + RemovingInstanceFromPort_B_setPActivity_vParameterNode.SetParameter(RemovingInstanceFromPort_B_setPActivity_v); + RemovingInstanceFromPort_B_setPActivity.AddNode(RemovingInstanceFromPort_B_setPActivity_vParameterNode); + // ReadSelfAction this + RemovingInstanceFromPort_B_setPActivity_this.SetName("this"); + RemovingInstanceFromPort_B_setPActivity_this.SetVisibility(VisibilityKind.public_); + // OutputPin result + RemovingInstanceFromPort_B_setPActivity_this_result.SetName("result"); + RemovingInstanceFromPort_B_setPActivity_this_result.SetVisibility(VisibilityKind.public_); + RemovingInstanceFromPort_B_setPActivity_this_result.SetType(RemovingInstanceFromPort_B); + RemovingInstanceFromPort_B_setPActivity_this.SetResult(RemovingInstanceFromPort_B_setPActivity_this_result); + RemovingInstanceFromPort_B_setPActivity.AddNode(RemovingInstanceFromPort_B_setPActivity_this); + // AddStructuralFeatureValueAction Set this.p + RemovingInstanceFromPort_B_setPActivity_Set_this_p.SetName("Set this.p"); + RemovingInstanceFromPort_B_setPActivity_Set_this_p.SetVisibility(VisibilityKind.public_); + RemovingInstanceFromPort_B_setPActivity_Set_this_p.SetStructuralFeature(RemovingInstanceFromPort_B_p); + // InputPin object + RemovingInstanceFromPort_B_setPActivity_Set_this_p_object.SetName("object"); + RemovingInstanceFromPort_B_setPActivity_Set_this_p_object.SetVisibility(VisibilityKind.public_); + RemovingInstanceFromPort_B_setPActivity_Set_this_p_object.SetType(RemovingInstanceFromPort_B); + RemovingInstanceFromPort_B_setPActivity_Set_this_p.SetObject(RemovingInstanceFromPort_B_setPActivity_Set_this_p_object); + // InputPin value + RemovingInstanceFromPort_B_setPActivity_Set_this_p_value.SetName("value"); + RemovingInstanceFromPort_B_setPActivity_Set_this_p_value.SetVisibility(VisibilityKind.public_); + RemovingInstanceFromPort_B_setPActivity_Set_this_p_value.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + RemovingInstanceFromPort_B_setPActivity_Set_this_p.SetValue(RemovingInstanceFromPort_B_setPActivity_Set_this_p_value); + // OutputPin result + RemovingInstanceFromPort_B_setPActivity_Set_this_p_result.SetName("result"); + RemovingInstanceFromPort_B_setPActivity_Set_this_p_result.SetVisibility(VisibilityKind.public_); + RemovingInstanceFromPort_B_setPActivity_Set_this_p_result.SetType(RemovingInstanceFromPort_B); + RemovingInstanceFromPort_B_setPActivity_Set_this_p.SetResult(RemovingInstanceFromPort_B_setPActivity_Set_this_p_result); + RemovingInstanceFromPort_B_setPActivity.AddNode(RemovingInstanceFromPort_B_setPActivity_Set_this_p); + // ObjectFlow ObjectFlow3 from vParameterNode to value + RemovingInstanceFromPort_B_setPActivity_ObjectFlow3.SetName("ObjectFlow3"); + RemovingInstanceFromPort_B_setPActivity_ObjectFlow3.SetVisibility(VisibilityKind.public_); + + RemovingInstanceFromPort_B_setPActivity_ObjectFlow3.SetSource(RemovingInstanceFromPort_B_setPActivity_vParameterNode); + RemovingInstanceFromPort_B_setPActivity_ObjectFlow3.SetTarget(RemovingInstanceFromPort_B_setPActivity_Set_this_p_value); + // LiteralBoolean LiteralBoolean4 + RemovingInstanceFromPort_B_setPActivity_ObjectFlow3_LiteralBoolean4.SetName("LiteralBoolean4"); + RemovingInstanceFromPort_B_setPActivity_ObjectFlow3_LiteralBoolean4.SetVisibility(VisibilityKind.public_); + RemovingInstanceFromPort_B_setPActivity_ObjectFlow3_LiteralBoolean4.SetValue(true); + RemovingInstanceFromPort_B_setPActivity_ObjectFlow3.SetGuard(RemovingInstanceFromPort_B_setPActivity_ObjectFlow3_LiteralBoolean4); + RemovingInstanceFromPort_B_setPActivity.AddEdge(RemovingInstanceFromPort_B_setPActivity_ObjectFlow3); + // ObjectFlow ObjectFlow6 from result to object + RemovingInstanceFromPort_B_setPActivity_ObjectFlow6.SetName("ObjectFlow6"); + RemovingInstanceFromPort_B_setPActivity_ObjectFlow6.SetVisibility(VisibilityKind.public_); + + RemovingInstanceFromPort_B_setPActivity_ObjectFlow6.SetSource(RemovingInstanceFromPort_B_setPActivity_this_result); + RemovingInstanceFromPort_B_setPActivity_ObjectFlow6.SetTarget(RemovingInstanceFromPort_B_setPActivity_Set_this_p_object); + // LiteralBoolean LiteralBoolean7 + RemovingInstanceFromPort_B_setPActivity_ObjectFlow6_LiteralBoolean7.SetName("LiteralBoolean7"); + RemovingInstanceFromPort_B_setPActivity_ObjectFlow6_LiteralBoolean7.SetVisibility(VisibilityKind.public_); + RemovingInstanceFromPort_B_setPActivity_ObjectFlow6_LiteralBoolean7.SetValue(true); + RemovingInstanceFromPort_B_setPActivity_ObjectFlow6.SetGuard(RemovingInstanceFromPort_B_setPActivity_ObjectFlow6_LiteralBoolean7); + RemovingInstanceFromPort_B_setPActivity.AddEdge(RemovingInstanceFromPort_B_setPActivity_ObjectFlow6); + RemovingInstanceFromPort_B.AddOwnedBehavior(RemovingInstanceFromPort_B_setPActivity); + RemovingInstanceFromPort_B_IRealization.SetName("IRealization"); + RemovingInstanceFromPort_B_IRealization.SetVisibility(VisibilityKind.public_); + RemovingInstanceFromPort_B_IRealization.SetContract(RemovingInstanceFromPort_I); + + RemovingInstanceFromPort_B.AddInterfaceRealization(RemovingInstanceFromPort_B_IRealization); + + // Operation B_B + RemovingInstanceFromPort_B_B_B.SetName("B_B"); + RemovingInstanceFromPort_B_B_B.SetVisibility(VisibilityKind.public_); + // Parameter result + RemovingInstanceFromPort_B_B_B_result.SetName("result"); + RemovingInstanceFromPort_B_B_B_result.SetVisibility(VisibilityKind.public_); + + RemovingInstanceFromPort_B_B_B_result.SetType(RemovingInstanceFromPort_B); + RemovingInstanceFromPort_B_B_B_result.SetDirection(ParameterDirectionKind.return_); + RemovingInstanceFromPort_B_B_B.AddOwnedParameter(RemovingInstanceFromPort_B_B_B_result); + RemovingInstanceFromPort_B_B_B.ApplyStereotype(uml.standardprofile.StandardProfileModel.Instance().Stereotype_Create); + RemovingInstanceFromPort_B.AddOwnedOperation(RemovingInstanceFromPort_B_B_B); + // Operation setP_Integer + RemovingInstanceFromPort_B_setP_Integer.SetName("setP_Integer"); + RemovingInstanceFromPort_B_setP_Integer.SetVisibility(VisibilityKind.public_); + // Parameter v + RemovingInstanceFromPort_B_setP_Integer_v.SetName("v"); + RemovingInstanceFromPort_B_setP_Integer_v.SetVisibility(VisibilityKind.public_); + + RemovingInstanceFromPort_B_setP_Integer_v.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + RemovingInstanceFromPort_B_setP_Integer.AddOwnedParameter(RemovingInstanceFromPort_B_setP_Integer_v); + RemovingInstanceFromPort_B_setP_Integer.AddMethod(RemovingInstanceFromPort_B_setPActivity); + RemovingInstanceFromPort_B.AddOwnedOperation(RemovingInstanceFromPort_B_setP_Integer); + RemovingInstanceFromPort.AddPackagedElement(RemovingInstanceFromPort_B); + // Activity assertA + RemovingInstanceFromPort_assertA.SetName("assertA"); + RemovingInstanceFromPort_assertA.SetVisibility(VisibilityKind.public_); + // FunctionBehavior assertionNotImplemented + RemovingInstanceFromPort_assertA_assertionNotImplemented.SetName("assertionNotImplemented"); + RemovingInstanceFromPort_assertA_assertionNotImplemented.SetVisibility(VisibilityKind.public_); + RemovingInstanceFromPort_assertA_assertionNotImplemented.AddLanguage("C#"); + RemovingInstanceFromPort_assertA_assertionNotImplemented.AddBody("Console.WriteLine(\"Assertion currenlty not implemented! Model was validated by manual debugging.\");"); + RemovingInstanceFromPort_assertA.AddOwnedBehavior(RemovingInstanceFromPort_assertA_assertionNotImplemented); + // Parameter a + RemovingInstanceFromPort_assertA_a.SetName("a"); + RemovingInstanceFromPort_assertA_a.SetVisibility(VisibilityKind.public_); + + RemovingInstanceFromPort_assertA_a.SetType(RemovingInstanceFromPort_A); + RemovingInstanceFromPort_assertA.AddOwnedParameter(RemovingInstanceFromPort_assertA_a); + // ActivityParameterNode aParameterNode + RemovingInstanceFromPort_assertA_aParameterNode.SetName("aParameterNode"); + RemovingInstanceFromPort_assertA_aParameterNode.SetVisibility(VisibilityKind.public_); + RemovingInstanceFromPort_assertA.AddNode(RemovingInstanceFromPort_assertA_aParameterNode); + // CallBehaviorAction Call assertionNotImplemented + RemovingInstanceFromPort_assertA_Call_assertionNotImplemented.SetName("Call assertionNotImplemented"); + RemovingInstanceFromPort_assertA_Call_assertionNotImplemented.SetVisibility(VisibilityKind.public_); + RemovingInstanceFromPort_assertA_Call_assertionNotImplemented.SetBehavior(RemovingInstanceFromPort_assertA_assertionNotImplemented); + RemovingInstanceFromPort_assertA.AddNode(RemovingInstanceFromPort_assertA_Call_assertionNotImplemented); + RemovingInstanceFromPort.AddPackagedElement(RemovingInstanceFromPort_assertA); + // Interface I + RemovingInstanceFromPort_I.SetName("I"); + RemovingInstanceFromPort_I.SetVisibility(VisibilityKind.public_); + // Operation setP_Integer + RemovingInstanceFromPort_I_setP_Integer.SetName("setP_Integer"); + RemovingInstanceFromPort_I_setP_Integer.SetVisibility(VisibilityKind.public_); + // Parameter v + RemovingInstanceFromPort_I_setP_Integer_v.SetName("v"); + RemovingInstanceFromPort_I_setP_Integer_v.SetVisibility(VisibilityKind.public_); + + RemovingInstanceFromPort_I_setP_Integer_v.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + RemovingInstanceFromPort_I_setP_Integer.AddOwnedParameter(RemovingInstanceFromPort_I_setP_Integer_v); + RemovingInstanceFromPort_I.AddOwnedOperation(RemovingInstanceFromPort_I_setP_Integer); + RemovingInstanceFromPort.AddPackagedElement(RemovingInstanceFromPort_I); + // Activity main + RemovingInstanceFromPort_main.SetName("main"); + RemovingInstanceFromPort_main.SetVisibility(VisibilityKind.public_); + // ClearStructuralFeatureAction Clear a.q + RemovingInstanceFromPort_main_Clear_a_q.SetName("Clear a.q"); + RemovingInstanceFromPort_main_Clear_a_q.SetVisibility(VisibilityKind.public_); + RemovingInstanceFromPort_main_Clear_a_q.SetStructuralFeature(RemovingInstanceFromPort_A_q); + // InputPin object + RemovingInstanceFromPort_main_Clear_a_q_object.SetName("object"); + RemovingInstanceFromPort_main_Clear_a_q_object.SetVisibility(VisibilityKind.public_); + RemovingInstanceFromPort_main_Clear_a_q_object.SetType(RemovingInstanceFromPort_A); + RemovingInstanceFromPort_main_Clear_a_q.SetObject(RemovingInstanceFromPort_main_Clear_a_q_object); + // OutputPin result + RemovingInstanceFromPort_main_Clear_a_q_result.SetName("result"); + RemovingInstanceFromPort_main_Clear_a_q_result.SetVisibility(VisibilityKind.public_); + RemovingInstanceFromPort_main_Clear_a_q_result.SetType(RemovingInstanceFromPort_A); + RemovingInstanceFromPort_main_Clear_a_q.SetResult(RemovingInstanceFromPort_main_Clear_a_q_result); + RemovingInstanceFromPort_main.AddNode(RemovingInstanceFromPort_main_Clear_a_q); + // CreateObjectAction Create A + RemovingInstanceFromPort_main_Create_A.SetName("Create A"); + RemovingInstanceFromPort_main_Create_A.SetVisibility(VisibilityKind.public_); + RemovingInstanceFromPort_main_Create_A.SetClassifier(RemovingInstanceFromPort_A); + // OutputPin result + RemovingInstanceFromPort_main_Create_A_result.SetName("result"); + RemovingInstanceFromPort_main_Create_A_result.SetVisibility(VisibilityKind.public_); + RemovingInstanceFromPort_main_Create_A_result.SetType(RemovingInstanceFromPort_A); + RemovingInstanceFromPort_main_Create_A.SetResult(RemovingInstanceFromPort_main_Create_A_result); + RemovingInstanceFromPort_main.AddNode(RemovingInstanceFromPort_main_Create_A); + // CallBehaviorAction Call assertA + RemovingInstanceFromPort_main_Call_assertA.SetName("Call assertA"); + RemovingInstanceFromPort_main_Call_assertA.SetVisibility(VisibilityKind.public_); + RemovingInstanceFromPort_main_Call_assertA.SetBehavior(RemovingInstanceFromPort_assertA); + // InputPin a + RemovingInstanceFromPort_main_Call_assertA_a.SetName("a"); + RemovingInstanceFromPort_main_Call_assertA_a.SetVisibility(VisibilityKind.public_); + RemovingInstanceFromPort_main_Call_assertA_a.SetType(RemovingInstanceFromPort_A); + RemovingInstanceFromPort_main_Call_assertA.AddArgument(RemovingInstanceFromPort_main_Call_assertA_a); + RemovingInstanceFromPort_main.AddNode(RemovingInstanceFromPort_main_Call_assertA); + // CallOperationAction A() + RemovingInstanceFromPort_main_A_.SetName("A()"); + RemovingInstanceFromPort_main_A_.SetVisibility(VisibilityKind.public_); + + // OutputPin result + RemovingInstanceFromPort_main_A__result.SetName("result"); + RemovingInstanceFromPort_main_A__result.SetVisibility(VisibilityKind.public_); + RemovingInstanceFromPort_main_A__result.SetType(RemovingInstanceFromPort_A); + RemovingInstanceFromPort_main_A_.AddResult(RemovingInstanceFromPort_main_A__result); + RemovingInstanceFromPort_main_A_.SetOperation(RemovingInstanceFromPort_A_A_A); + // InputPin target + RemovingInstanceFromPort_main_A__target.SetName("target"); + RemovingInstanceFromPort_main_A__target.SetVisibility(VisibilityKind.public_); + RemovingInstanceFromPort_main_A__target.SetType(RemovingInstanceFromPort_A); + RemovingInstanceFromPort_main_A_.SetTarget(RemovingInstanceFromPort_main_A__target); + RemovingInstanceFromPort_main.AddNode(RemovingInstanceFromPort_main_A_); + // ObjectFlow ObjectFlow16 from result to a + RemovingInstanceFromPort_main_ObjectFlow16.SetName("ObjectFlow16"); + RemovingInstanceFromPort_main_ObjectFlow16.SetVisibility(VisibilityKind.public_); + + RemovingInstanceFromPort_main_ObjectFlow16.SetSource(RemovingInstanceFromPort_main_Clear_a_q_result); + RemovingInstanceFromPort_main_ObjectFlow16.SetTarget(RemovingInstanceFromPort_main_Call_assertA_a); + // LiteralBoolean LiteralBoolean17 + RemovingInstanceFromPort_main_ObjectFlow16_LiteralBoolean17.SetName("LiteralBoolean17"); + RemovingInstanceFromPort_main_ObjectFlow16_LiteralBoolean17.SetVisibility(VisibilityKind.public_); + RemovingInstanceFromPort_main_ObjectFlow16_LiteralBoolean17.SetValue(true); + RemovingInstanceFromPort_main_ObjectFlow16.SetGuard(RemovingInstanceFromPort_main_ObjectFlow16_LiteralBoolean17); + RemovingInstanceFromPort_main.AddEdge(RemovingInstanceFromPort_main_ObjectFlow16); + // ObjectFlow ObjectFlow21 from result to object + RemovingInstanceFromPort_main_ObjectFlow21.SetName("ObjectFlow21"); + RemovingInstanceFromPort_main_ObjectFlow21.SetVisibility(VisibilityKind.public_); + + RemovingInstanceFromPort_main_ObjectFlow21.SetSource(RemovingInstanceFromPort_main_A__result); + RemovingInstanceFromPort_main_ObjectFlow21.SetTarget(RemovingInstanceFromPort_main_Clear_a_q_object); + // LiteralBoolean LiteralBoolean22 + RemovingInstanceFromPort_main_ObjectFlow21_LiteralBoolean22.SetName("LiteralBoolean22"); + RemovingInstanceFromPort_main_ObjectFlow21_LiteralBoolean22.SetVisibility(VisibilityKind.public_); + RemovingInstanceFromPort_main_ObjectFlow21_LiteralBoolean22.SetValue(true); + RemovingInstanceFromPort_main_ObjectFlow21.SetGuard(RemovingInstanceFromPort_main_ObjectFlow21_LiteralBoolean22); + RemovingInstanceFromPort_main.AddEdge(RemovingInstanceFromPort_main_ObjectFlow21); + // ObjectFlow ObjectFlow24 from result to target + RemovingInstanceFromPort_main_ObjectFlow24.SetName("ObjectFlow24"); + RemovingInstanceFromPort_main_ObjectFlow24.SetVisibility(VisibilityKind.public_); + + RemovingInstanceFromPort_main_ObjectFlow24.SetSource(RemovingInstanceFromPort_main_Create_A_result); + RemovingInstanceFromPort_main_ObjectFlow24.SetTarget(RemovingInstanceFromPort_main_A__target); + // LiteralBoolean LiteralBoolean26 + RemovingInstanceFromPort_main_ObjectFlow24_LiteralBoolean26.SetName("LiteralBoolean26"); + RemovingInstanceFromPort_main_ObjectFlow24_LiteralBoolean26.SetVisibility(VisibilityKind.public_); + RemovingInstanceFromPort_main_ObjectFlow24_LiteralBoolean26.SetValue(true); + RemovingInstanceFromPort_main_ObjectFlow24.SetGuard(RemovingInstanceFromPort_main_ObjectFlow24_LiteralBoolean26); + RemovingInstanceFromPort_main.AddEdge(RemovingInstanceFromPort_main_ObjectFlow24); + RemovingInstanceFromPort.AddPackagedElement(RemovingInstanceFromPort_main); + // Class IImpl + RemovingInstanceFromPort_IImpl.SetName("IImpl"); + RemovingInstanceFromPort_IImpl.SetVisibility(VisibilityKind.public_); + RemovingInstanceFromPort_IImpl_IRealization.SetName("IRealization"); + RemovingInstanceFromPort_IImpl_IRealization.SetVisibility(VisibilityKind.public_); + RemovingInstanceFromPort_IImpl_IRealization.SetContract(RemovingInstanceFromPort_I); + + RemovingInstanceFromPort_IImpl.AddInterfaceRealization(RemovingInstanceFromPort_IImpl_IRealization); + + // Operation setP_Integer + RemovingInstanceFromPort_IImpl_setP_Integer.SetName("setP_Integer"); + RemovingInstanceFromPort_IImpl_setP_Integer.SetVisibility(VisibilityKind.public_); + // Parameter v + RemovingInstanceFromPort_IImpl_setP_Integer_v.SetName("v"); + RemovingInstanceFromPort_IImpl_setP_Integer_v.SetVisibility(VisibilityKind.public_); + + RemovingInstanceFromPort_IImpl_setP_Integer_v.SetType(PrimitiveTypesModel.Instance().PrimitiveTypes_Integer); + RemovingInstanceFromPort_IImpl_setP_Integer.AddOwnedParameter(RemovingInstanceFromPort_IImpl_setP_Integer_v); + RemovingInstanceFromPort_IImpl.AddOwnedOperation(RemovingInstanceFromPort_IImpl_setP_Integer); + RemovingInstanceFromPort.AddPackagedElement(RemovingInstanceFromPort_IImpl); + // Class A + RemovingInstanceFromPort_A.SetName("A"); + RemovingInstanceFromPort_A.SetVisibility(VisibilityKind.public_); + + // Port q + RemovingInstanceFromPort_A_q.SetName("q"); + RemovingInstanceFromPort_A_q.SetVisibility(VisibilityKind.public_); + + RemovingInstanceFromPort_A_q.SetType(RemovingInstanceFromPort_IImpl); + RemovingInstanceFromPort_A_q.SetAggregation(AggregationKind.composite); + RemovingInstanceFromPort_A_q.isService = true; + RemovingInstanceFromPort_A_q.AddProvided(RemovingInstanceFromPort_I); + RemovingInstanceFromPort_A.AddOwnedAttribute(RemovingInstanceFromPort_A_q); + // Property b + RemovingInstanceFromPort_A_b.SetName("b"); + RemovingInstanceFromPort_A_b.SetVisibility(VisibilityKind.public_); + + RemovingInstanceFromPort_A_b.SetType(RemovingInstanceFromPort_B); + RemovingInstanceFromPort_A_b.SetAggregation(AggregationKind.composite); + RemovingInstanceFromPort_A.AddOwnedAttribute(RemovingInstanceFromPort_A_b); + + RemovingInstanceFromPort_A_r.SetName("r"); + RemovingInstanceFromPort_A_r.SetVisibility(VisibilityKind.public_); + + RemovingInstanceFromPort_A_r_ConnectorEnd35.SetRole(RemovingInstanceFromPort_A_q); + + RemovingInstanceFromPort_A_r.AddEnd(RemovingInstanceFromPort_A_r_ConnectorEnd35); + + RemovingInstanceFromPort_A_r_ConnectorEnd36.SetRole(RemovingInstanceFromPort_A_b); + + RemovingInstanceFromPort_A_r.AddEnd(RemovingInstanceFromPort_A_r_ConnectorEnd36); + RemovingInstanceFromPort_A_r.SetType(RemovingInstanceFromPort_R); + RemovingInstanceFromPort_A.AddOwnedConnector(RemovingInstanceFromPort_A_r); + // Operation A_A + RemovingInstanceFromPort_A_A_A.SetName("A_A"); + RemovingInstanceFromPort_A_A_A.SetVisibility(VisibilityKind.public_); + // Parameter result + RemovingInstanceFromPort_A_A_A_result.SetName("result"); + RemovingInstanceFromPort_A_A_A_result.SetVisibility(VisibilityKind.public_); + + RemovingInstanceFromPort_A_A_A_result.SetType(RemovingInstanceFromPort_A); + RemovingInstanceFromPort_A_A_A_result.SetDirection(ParameterDirectionKind.return_); + RemovingInstanceFromPort_A_A_A.AddOwnedParameter(RemovingInstanceFromPort_A_A_A_result); + RemovingInstanceFromPort_A_A_A.ApplyStereotype(uml.standardprofile.StandardProfileModel.Instance().Stereotype_Create); + RemovingInstanceFromPort_A.AddOwnedOperation(RemovingInstanceFromPort_A_A_A); + RemovingInstanceFromPort.AddPackagedElement(RemovingInstanceFromPort_A); + // Association R + RemovingInstanceFromPort_R.SetName("R"); + RemovingInstanceFromPort_R.SetVisibility(VisibilityKind.public_); + RemovingInstanceFromPort_R.AddOwnedEnd(RemovingInstanceFromPort_R_x); + RemovingInstanceFromPort_R.AddOwnedEnd(RemovingInstanceFromPort_R_y); + RemovingInstanceFromPort.AddPackagedElement(RemovingInstanceFromPort_R); + } + + /* Start of user code : User-defined members + * This section may be used for user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } // RemovingInstanceFromPortModel +} diff --git a/fUML-CSharp/tests/pscs-Tests/04_Destruction/03_RemovingInstanceFromPort/src/assertionNotImplementedExecution.cs b/fUML-CSharp/tests/pscs-Tests/04_Destruction/03_RemovingInstanceFromPort/src/assertionNotImplementedExecution.cs new file mode 100644 index 0000000..ae204ae --- /dev/null +++ b/fUML-CSharp/tests/pscs-Tests/04_Destruction/03_RemovingInstanceFromPort/src/assertionNotImplementedExecution.cs @@ -0,0 +1,57 @@ +/* + * assertionNotImplementedExecution.cs + * + * Auto-generated file + */ + +using fuml.semantics.commonbehavior; +using fuml; +using fuml.semantics.values; + +/* Start of user code : User-defined includes and forward declarations + * This section may be used for includes and forward declarations. + * It will not be overwritten by future generation processes. + */ + +/* + * End of user code + */ + +namespace RemovingInstanceFromPort +{ + public class assertionNotImplementedExecution : OpaqueBehaviorExecution + { + public assertionNotImplementedExecution() + { + types.Add(RemovingInstanceFromPortModel.Instance().RemovingInstanceFromPort_assertA_assertionNotImplemented); + /* Start of user code : Additional opaque behavior execution initializations + * This section may be used to do any additional opaque behavior execution initialization, + * for example initializing user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } + + public override void DoBody(List inputParameters, List outputParameters) + { + Console.WriteLine("Assertion currenlty not implemented! Model was validated by manual debugging."); + } + + protected override Value New_() + { + return new assertionNotImplementedExecution(); + } + + /* Start of user code : User-defined members + * This section may be used for user-defined members. + * It will not be overwritten by future generation processes. + */ + + /* + * End of user code + */ + } // assertionNotImplementedExecution +} From 8c88470c74d1627e1960af11f6c8d307938a10e2 Mon Sep 17 00:00:00 2001 From: Maximilian Hammer Date: Fri, 24 May 2024 19:32:11 +0200 Subject: [PATCH 25/25] Update README.md --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 79e64cd..625f860 100644 --- a/README.md +++ b/README.md @@ -38,7 +38,7 @@ For detailed information, please see the [User Guide](fUML-CSharp_User_Guide.pdf * NOTE: it is suggested to store user-defined source code projects in common directory `"\fUML-CSharp\usersrc"` * The *usersrc* directory may contain arbitrary nested subdirectories * Add required assemblies for uml, fuml and pscs to your project's references -* Create a `Environment` class by deriving from class `fuml.environment.Environment` +* Create a `Environment` class by deriving from class `fuml.environment.Environment` (or `pscs.environment.Environment` for PSCS-compatibility) * Create a `Model` class by deriving from class `uml.environment.InMemoryModel` (this class will contain all of your model elements) * Create a class containing a main method and call `Environment.Instance().Execute("");` for each behavior you want to execute in subsequent order * Build project and run executable @@ -55,4 +55,5 @@ For detailed information, please see the [User Guide](fUML-CSharp_User_Guide.pdf * Choose your model file * Choose a target directory for the generated source code (`"\fUML-CSharp\usersrc\"` is suggested) * Open newly generated C# project in Visual Studio and build executable(s) +* **NOTE**: Depending on the target directory path it might be necessary to adapt the project's dependencies to the *uml*, *fuml* and *pscs* assemblies since they are referenced by relative paths. This only applies if you choose a target directory structure that differes from the one suggested above. * Run executable from command line using ` [ <...>]`