diff options
author | Kristóf Marussy <kris7topher@gmail.com> | 2019-02-07 18:24:45 +0100 |
---|---|---|
committer | Kristóf Marussy <kris7topher@gmail.com> | 2019-02-19 19:18:25 +0100 |
commit | 6f88c4bd4e91728cea62505e893b0ce300baf7fc (patch) | |
tree | fef4d5cf7d28b0e4fd59a3b7181e60a2f236d235 /Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl | |
parent | Extract component fault tree model (diff) | |
download | VIATRA-Generator-6f88c4bd4e91728cea62505e893b0ce300baf7fc.tar.gz VIATRA-Generator-6f88c4bd4e91728cea62505e893b0ce300baf7fc.tar.zst VIATRA-Generator-6f88c4bd4e91728cea62505e893b0ce300baf7fc.zip |
Ecore2Cft transformation
Diffstat (limited to 'Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl')
6 files changed, 145 insertions, 65 deletions
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/CftFactoryImpl.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/CftFactoryImpl.java index 33778461..6eac2861 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/CftFactoryImpl.java +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/CftFactoryImpl.java | |||
@@ -58,7 +58,7 @@ public class CftFactoryImpl extends EFactoryImpl implements CftFactory { | |||
58 | switch (eClass.getClassifierID()) { | 58 | switch (eClass.getClassifierID()) { |
59 | case CftPackage.COMPONENT_DEFINITION: return createComponentDefinition(); | 59 | case CftPackage.COMPONENT_DEFINITION: return createComponentDefinition(); |
60 | case CftPackage.BASIC_EVENT_DEFINITION: return createBasicEventDefinition(); | 60 | case CftPackage.BASIC_EVENT_DEFINITION: return createBasicEventDefinition(); |
61 | case CftPackage.INTPUT_EVENT: return createIntputEvent(); | 61 | case CftPackage.INPUT_EVENT: return createInputEvent(); |
62 | case CftPackage.AND_GATE_DEFINITION: return createAndGateDefinition(); | 62 | case CftPackage.AND_GATE_DEFINITION: return createAndGateDefinition(); |
63 | case CftPackage.OR_GATE_DEFINITION: return createOrGateDefinition(); | 63 | case CftPackage.OR_GATE_DEFINITION: return createOrGateDefinition(); |
64 | case CftPackage.KOF_MGATE_DEFINITION: return createKOfMGateDefinition(); | 64 | case CftPackage.KOF_MGATE_DEFINITION: return createKOfMGateDefinition(); |
@@ -100,9 +100,9 @@ public class CftFactoryImpl extends EFactoryImpl implements CftFactory { | |||
100 | * @generated | 100 | * @generated |
101 | */ | 101 | */ |
102 | @Override | 102 | @Override |
103 | public IntputEvent createIntputEvent() { | 103 | public InputEvent createInputEvent() { |
104 | IntputEventImpl intputEvent = new IntputEventImpl(); | 104 | InputEventImpl inputEvent = new InputEventImpl(); |
105 | return intputEvent; | 105 | return inputEvent; |
106 | } | 106 | } |
107 | 107 | ||
108 | /** | 108 | /** |
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/CftPackageImpl.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/CftPackageImpl.java index f03fa0ba..1d6b6a23 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/CftPackageImpl.java +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/CftPackageImpl.java | |||
@@ -14,7 +14,7 @@ import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.EventDeclaration; | |||
14 | import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.EventDefinition; | 14 | import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.EventDefinition; |
15 | import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.GateDefinition; | 15 | import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.GateDefinition; |
16 | import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Input; | 16 | import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Input; |
17 | import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.IntputEvent; | 17 | import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.InputEvent; |
18 | import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.KOfMGateDefinition; | 18 | import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.KOfMGateDefinition; |
19 | import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.OrGateDefinition; | 19 | import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.OrGateDefinition; |
20 | import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Output; | 20 | import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Output; |
@@ -68,7 +68,7 @@ public class CftPackageImpl extends EPackageImpl implements CftPackage { | |||
68 | * <!-- end-user-doc --> | 68 | * <!-- end-user-doc --> |
69 | * @generated | 69 | * @generated |
70 | */ | 70 | */ |
71 | private EClass intputEventEClass = null; | 71 | private EClass inputEventEClass = null; |
72 | 72 | ||
73 | /** | 73 | /** |
74 | * <!-- begin-user-doc --> | 74 | * <!-- begin-user-doc --> |
@@ -303,8 +303,8 @@ public class CftPackageImpl extends EPackageImpl implements CftPackage { | |||
303 | * @generated | 303 | * @generated |
304 | */ | 304 | */ |
305 | @Override | 305 | @Override |
306 | public EClass getIntputEvent() { | 306 | public EClass getInputEvent() { |
307 | return intputEventEClass; | 307 | return inputEventEClass; |
308 | } | 308 | } |
309 | 309 | ||
310 | /** | 310 | /** |
@@ -313,8 +313,8 @@ public class CftPackageImpl extends EPackageImpl implements CftPackage { | |||
313 | * @generated | 313 | * @generated |
314 | */ | 314 | */ |
315 | @Override | 315 | @Override |
316 | public EAttribute getIntputEvent_Multiple() { | 316 | public EAttribute getInputEvent_Multiple() { |
317 | return (EAttribute)intputEventEClass.getEStructuralFeatures().get(0); | 317 | return (EAttribute)inputEventEClass.getEStructuralFeatures().get(0); |
318 | } | 318 | } |
319 | 319 | ||
320 | /** | 320 | /** |
@@ -463,6 +463,16 @@ public class CftPackageImpl extends EPackageImpl implements CftPackage { | |||
463 | * @generated | 463 | * @generated |
464 | */ | 464 | */ |
465 | @Override | 465 | @Override |
466 | public EAttribute getComponent_Name() { | ||
467 | return (EAttribute)componentEClass.getEStructuralFeatures().get(3); | ||
468 | } | ||
469 | |||
470 | /** | ||
471 | * <!-- begin-user-doc --> | ||
472 | * <!-- end-user-doc --> | ||
473 | * @generated | ||
474 | */ | ||
475 | @Override | ||
466 | public EClass getInput() { | 476 | public EClass getInput() { |
467 | return inputEClass; | 477 | return inputEClass; |
468 | } | 478 | } |
@@ -473,7 +483,7 @@ public class CftPackageImpl extends EPackageImpl implements CftPackage { | |||
473 | * @generated | 483 | * @generated |
474 | */ | 484 | */ |
475 | @Override | 485 | @Override |
476 | public EReference getInput_IntputEvent() { | 486 | public EReference getInput_InputEvent() { |
477 | return (EReference)inputEClass.getEStructuralFeatures().get(0); | 487 | return (EReference)inputEClass.getEStructuralFeatures().get(0); |
478 | } | 488 | } |
479 | 489 | ||
@@ -610,8 +620,8 @@ public class CftPackageImpl extends EPackageImpl implements CftPackage { | |||
610 | basicEventDefinitionEClass = createEClass(BASIC_EVENT_DEFINITION); | 620 | basicEventDefinitionEClass = createEClass(BASIC_EVENT_DEFINITION); |
611 | createEReference(basicEventDefinitionEClass, BASIC_EVENT_DEFINITION__DISTRIBUTION); | 621 | createEReference(basicEventDefinitionEClass, BASIC_EVENT_DEFINITION__DISTRIBUTION); |
612 | 622 | ||
613 | intputEventEClass = createEClass(INTPUT_EVENT); | 623 | inputEventEClass = createEClass(INPUT_EVENT); |
614 | createEAttribute(intputEventEClass, INTPUT_EVENT__MULTIPLE); | 624 | createEAttribute(inputEventEClass, INPUT_EVENT__MULTIPLE); |
615 | 625 | ||
616 | eventDeclarationEClass = createEClass(EVENT_DECLARATION); | 626 | eventDeclarationEClass = createEClass(EVENT_DECLARATION); |
617 | createEAttribute(eventDeclarationEClass, EVENT_DECLARATION__NAME); | 627 | createEAttribute(eventDeclarationEClass, EVENT_DECLARATION__NAME); |
@@ -632,9 +642,10 @@ public class CftPackageImpl extends EPackageImpl implements CftPackage { | |||
632 | createEReference(componentEClass, COMPONENT__INPUTS); | 642 | createEReference(componentEClass, COMPONENT__INPUTS); |
633 | createEReference(componentEClass, COMPONENT__OUTPUTS); | 643 | createEReference(componentEClass, COMPONENT__OUTPUTS); |
634 | createEReference(componentEClass, COMPONENT__COMPONENT_DEFINITION); | 644 | createEReference(componentEClass, COMPONENT__COMPONENT_DEFINITION); |
645 | createEAttribute(componentEClass, COMPONENT__NAME); | ||
635 | 646 | ||
636 | inputEClass = createEClass(INPUT); | 647 | inputEClass = createEClass(INPUT); |
637 | createEReference(inputEClass, INPUT__INTPUT_EVENT); | 648 | createEReference(inputEClass, INPUT__INPUT_EVENT); |
638 | createEReference(inputEClass, INPUT__COMPONENT); | 649 | createEReference(inputEClass, INPUT__COMPONENT); |
639 | createEReference(inputEClass, INPUT__INCOMING_CONNECTIONS); | 650 | createEReference(inputEClass, INPUT__INCOMING_CONNECTIONS); |
640 | 651 | ||
@@ -682,14 +693,14 @@ public class CftPackageImpl extends EPackageImpl implements CftPackage { | |||
682 | eventDefinitionEClass.getESuperTypes().add(this.getEventDeclaration()); | 693 | eventDefinitionEClass.getESuperTypes().add(this.getEventDeclaration()); |
683 | gateDefinitionEClass.getESuperTypes().add(this.getEventDefinition()); | 694 | gateDefinitionEClass.getESuperTypes().add(this.getEventDefinition()); |
684 | basicEventDefinitionEClass.getESuperTypes().add(this.getEventDefinition()); | 695 | basicEventDefinitionEClass.getESuperTypes().add(this.getEventDefinition()); |
685 | intputEventEClass.getESuperTypes().add(this.getEventDeclaration()); | 696 | inputEventEClass.getESuperTypes().add(this.getEventDeclaration()); |
686 | andGateDefinitionEClass.getESuperTypes().add(this.getGateDefinition()); | 697 | andGateDefinitionEClass.getESuperTypes().add(this.getGateDefinition()); |
687 | orGateDefinitionEClass.getESuperTypes().add(this.getGateDefinition()); | 698 | orGateDefinitionEClass.getESuperTypes().add(this.getGateDefinition()); |
688 | kOfMGateDefinitionEClass.getESuperTypes().add(this.getGateDefinition()); | 699 | kOfMGateDefinitionEClass.getESuperTypes().add(this.getGateDefinition()); |
689 | 700 | ||
690 | // Initialize classes, features, and operations; add parameters | 701 | // Initialize classes, features, and operations; add parameters |
691 | initEClass(componentDefinitionEClass, ComponentDefinition.class, "ComponentDefinition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | 702 | initEClass(componentDefinitionEClass, ComponentDefinition.class, "ComponentDefinition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
692 | initEReference(getComponentDefinition_InputEvents(), this.getIntputEvent(), null, "inputEvents", null, 0, -1, ComponentDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | 703 | initEReference(getComponentDefinition_InputEvents(), this.getInputEvent(), null, "inputEvents", null, 0, -1, ComponentDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
693 | initEReference(getComponentDefinition_EventDefinitions(), this.getEventDefinition(), null, "eventDefinitions", null, 0, -1, ComponentDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | 704 | initEReference(getComponentDefinition_EventDefinitions(), this.getEventDefinition(), null, "eventDefinitions", null, 0, -1, ComponentDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
694 | initEReference(getComponentDefinition_OutputEvents(), this.getEventDeclaration(), null, "outputEvents", null, 0, -1, ComponentDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | 705 | initEReference(getComponentDefinition_OutputEvents(), this.getEventDeclaration(), null, "outputEvents", null, 0, -1, ComponentDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
695 | initEAttribute(getComponentDefinition_Name(), ecorePackage.getEString(), "name", null, 0, 1, ComponentDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | 706 | initEAttribute(getComponentDefinition_Name(), ecorePackage.getEString(), "name", null, 0, 1, ComponentDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
@@ -702,8 +713,8 @@ public class CftPackageImpl extends EPackageImpl implements CftPackage { | |||
702 | initEClass(basicEventDefinitionEClass, BasicEventDefinition.class, "BasicEventDefinition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | 713 | initEClass(basicEventDefinitionEClass, BasicEventDefinition.class, "BasicEventDefinition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
703 | initEReference(getBasicEventDefinition_Distribution(), theFtPackage.getDistribution(), null, "distribution", null, 1, 1, BasicEventDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | 714 | initEReference(getBasicEventDefinition_Distribution(), theFtPackage.getDistribution(), null, "distribution", null, 1, 1, BasicEventDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
704 | 715 | ||
705 | initEClass(intputEventEClass, IntputEvent.class, "IntputEvent", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | 716 | initEClass(inputEventEClass, InputEvent.class, "InputEvent", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
706 | initEAttribute(getIntputEvent_Multiple(), ecorePackage.getEBoolean(), "multiple", null, 0, 1, IntputEvent.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | 717 | initEAttribute(getInputEvent_Multiple(), ecorePackage.getEBoolean(), "multiple", null, 0, 1, InputEvent.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
707 | 718 | ||
708 | initEClass(eventDeclarationEClass, EventDeclaration.class, "EventDeclaration", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | 719 | initEClass(eventDeclarationEClass, EventDeclaration.class, "EventDeclaration", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
709 | initEAttribute(getEventDeclaration_Name(), ecorePackage.getEString(), "name", null, 0, 1, EventDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | 720 | initEAttribute(getEventDeclaration_Name(), ecorePackage.getEString(), "name", null, 0, 1, EventDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
@@ -724,9 +735,10 @@ public class CftPackageImpl extends EPackageImpl implements CftPackage { | |||
724 | initEReference(getComponent_Inputs(), this.getInput(), this.getInput_Component(), "inputs", null, 0, -1, Component.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | 735 | initEReference(getComponent_Inputs(), this.getInput(), this.getInput_Component(), "inputs", null, 0, -1, Component.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
725 | initEReference(getComponent_Outputs(), this.getOutput(), this.getOutput_Component(), "outputs", null, 0, -1, Component.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | 736 | initEReference(getComponent_Outputs(), this.getOutput(), this.getOutput_Component(), "outputs", null, 0, -1, Component.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
726 | initEReference(getComponent_ComponentDefinition(), this.getComponentDefinition(), null, "componentDefinition", null, 1, 1, Component.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | 737 | initEReference(getComponent_ComponentDefinition(), this.getComponentDefinition(), null, "componentDefinition", null, 1, 1, Component.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
738 | initEAttribute(getComponent_Name(), ecorePackage.getEString(), "name", null, 0, 1, Component.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
727 | 739 | ||
728 | initEClass(inputEClass, Input.class, "Input", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | 740 | initEClass(inputEClass, Input.class, "Input", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
729 | initEReference(getInput_IntputEvent(), this.getIntputEvent(), null, "intputEvent", null, 1, 1, Input.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | 741 | initEReference(getInput_InputEvent(), this.getInputEvent(), null, "inputEvent", null, 1, 1, Input.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
730 | initEReference(getInput_Component(), this.getComponent(), this.getComponent_Inputs(), "component", null, 1, 1, Input.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | 742 | initEReference(getInput_Component(), this.getComponent(), this.getComponent_Inputs(), "component", null, 1, 1, Input.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
731 | initEReference(getInput_IncomingConnections(), this.getConnection(), this.getConnection_Input(), "incomingConnections", null, 0, -1, Input.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | 743 | initEReference(getInput_IncomingConnections(), this.getConnection(), this.getConnection_Input(), "incomingConnections", null, 0, -1, Input.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
732 | 744 | ||
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/ComponentDefinitionImpl.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/ComponentDefinitionImpl.java index 58a476f3..3b79fb0c 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/ComponentDefinitionImpl.java +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/ComponentDefinitionImpl.java | |||
@@ -6,8 +6,7 @@ import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage; | |||
6 | import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentDefinition; | 6 | import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentDefinition; |
7 | import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.EventDeclaration; | 7 | import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.EventDeclaration; |
8 | import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.EventDefinition; | 8 | import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.EventDefinition; |
9 | import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.IntputEvent; | 9 | import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.InputEvent; |
10 | |||
11 | import java.util.Collection; | 10 | import java.util.Collection; |
12 | 11 | ||
13 | import org.eclipse.emf.common.notify.Notification; | 12 | import org.eclipse.emf.common.notify.Notification; |
@@ -50,7 +49,7 @@ public class ComponentDefinitionImpl extends MinimalEObjectImpl.Container implem | |||
50 | * @generated | 49 | * @generated |
51 | * @ordered | 50 | * @ordered |
52 | */ | 51 | */ |
53 | protected EList<IntputEvent> inputEvents; | 52 | protected EList<InputEvent> inputEvents; |
54 | 53 | ||
55 | /** | 54 | /** |
56 | * The cached value of the '{@link #getEventDefinitions() <em>Event Definitions</em>}' containment reference list. | 55 | * The cached value of the '{@link #getEventDefinitions() <em>Event Definitions</em>}' containment reference list. |
@@ -117,9 +116,9 @@ public class ComponentDefinitionImpl extends MinimalEObjectImpl.Container implem | |||
117 | * @generated | 116 | * @generated |
118 | */ | 117 | */ |
119 | @Override | 118 | @Override |
120 | public EList<IntputEvent> getInputEvents() { | 119 | public EList<InputEvent> getInputEvents() { |
121 | if (inputEvents == null) { | 120 | if (inputEvents == null) { |
122 | inputEvents = new EObjectContainmentEList<IntputEvent>(IntputEvent.class, this, CftPackage.COMPONENT_DEFINITION__INPUT_EVENTS); | 121 | inputEvents = new EObjectContainmentEList<InputEvent>(InputEvent.class, this, CftPackage.COMPONENT_DEFINITION__INPUT_EVENTS); |
123 | } | 122 | } |
124 | return inputEvents; | 123 | return inputEvents; |
125 | } | 124 | } |
@@ -220,7 +219,7 @@ public class ComponentDefinitionImpl extends MinimalEObjectImpl.Container implem | |||
220 | switch (featureID) { | 219 | switch (featureID) { |
221 | case CftPackage.COMPONENT_DEFINITION__INPUT_EVENTS: | 220 | case CftPackage.COMPONENT_DEFINITION__INPUT_EVENTS: |
222 | getInputEvents().clear(); | 221 | getInputEvents().clear(); |
223 | getInputEvents().addAll((Collection<? extends IntputEvent>)newValue); | 222 | getInputEvents().addAll((Collection<? extends InputEvent>)newValue); |
224 | return; | 223 | return; |
225 | case CftPackage.COMPONENT_DEFINITION__EVENT_DEFINITIONS: | 224 | case CftPackage.COMPONENT_DEFINITION__EVENT_DEFINITIONS: |
226 | getEventDefinitions().clear(); | 225 | getEventDefinitions().clear(); |
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/ComponentImpl.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/ComponentImpl.java index 6d23dc78..847b6ee1 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/ComponentImpl.java +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/ComponentImpl.java | |||
@@ -35,6 +35,7 @@ import org.eclipse.emf.ecore.util.InternalEList; | |||
35 | * <li>{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.ComponentImpl#getInputs <em>Inputs</em>}</li> | 35 | * <li>{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.ComponentImpl#getInputs <em>Inputs</em>}</li> |
36 | * <li>{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.ComponentImpl#getOutputs <em>Outputs</em>}</li> | 36 | * <li>{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.ComponentImpl#getOutputs <em>Outputs</em>}</li> |
37 | * <li>{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.ComponentImpl#getComponentDefinition <em>Component Definition</em>}</li> | 37 | * <li>{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.ComponentImpl#getComponentDefinition <em>Component Definition</em>}</li> |
38 | * <li>{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.ComponentImpl#getName <em>Name</em>}</li> | ||
38 | * </ul> | 39 | * </ul> |
39 | * | 40 | * |
40 | * @generated | 41 | * @generated |
@@ -71,6 +72,26 @@ public class ComponentImpl extends MinimalEObjectImpl.Container implements Compo | |||
71 | protected ComponentDefinition componentDefinition; | 72 | protected ComponentDefinition componentDefinition; |
72 | 73 | ||
73 | /** | 74 | /** |
75 | * The default value of the '{@link #getName() <em>Name</em>}' attribute. | ||
76 | * <!-- begin-user-doc --> | ||
77 | * <!-- end-user-doc --> | ||
78 | * @see #getName() | ||
79 | * @generated | ||
80 | * @ordered | ||
81 | */ | ||
82 | protected static final String NAME_EDEFAULT = null; | ||
83 | |||
84 | /** | ||
85 | * The cached value of the '{@link #getName() <em>Name</em>}' attribute. | ||
86 | * <!-- begin-user-doc --> | ||
87 | * <!-- end-user-doc --> | ||
88 | * @see #getName() | ||
89 | * @generated | ||
90 | * @ordered | ||
91 | */ | ||
92 | protected String name = NAME_EDEFAULT; | ||
93 | |||
94 | /** | ||
74 | * <!-- begin-user-doc --> | 95 | * <!-- begin-user-doc --> |
75 | * <!-- end-user-doc --> | 96 | * <!-- end-user-doc --> |
76 | * @generated | 97 | * @generated |
@@ -160,6 +181,29 @@ public class ComponentImpl extends MinimalEObjectImpl.Container implements Compo | |||
160 | * <!-- end-user-doc --> | 181 | * <!-- end-user-doc --> |
161 | * @generated | 182 | * @generated |
162 | */ | 183 | */ |
184 | @Override | ||
185 | public String getName() { | ||
186 | return name; | ||
187 | } | ||
188 | |||
189 | /** | ||
190 | * <!-- begin-user-doc --> | ||
191 | * <!-- end-user-doc --> | ||
192 | * @generated | ||
193 | */ | ||
194 | @Override | ||
195 | public void setName(String newName) { | ||
196 | String oldName = name; | ||
197 | name = newName; | ||
198 | if (eNotificationRequired()) | ||
199 | eNotify(new ENotificationImpl(this, Notification.SET, CftPackage.COMPONENT__NAME, oldName, name)); | ||
200 | } | ||
201 | |||
202 | /** | ||
203 | * <!-- begin-user-doc --> | ||
204 | * <!-- end-user-doc --> | ||
205 | * @generated | ||
206 | */ | ||
163 | @SuppressWarnings("unchecked") | 207 | @SuppressWarnings("unchecked") |
164 | @Override | 208 | @Override |
165 | public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) { | 209 | public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) { |
@@ -203,6 +247,8 @@ public class ComponentImpl extends MinimalEObjectImpl.Container implements Compo | |||
203 | case CftPackage.COMPONENT__COMPONENT_DEFINITION: | 247 | case CftPackage.COMPONENT__COMPONENT_DEFINITION: |
204 | if (resolve) return getComponentDefinition(); | 248 | if (resolve) return getComponentDefinition(); |
205 | return basicGetComponentDefinition(); | 249 | return basicGetComponentDefinition(); |
250 | case CftPackage.COMPONENT__NAME: | ||
251 | return getName(); | ||
206 | } | 252 | } |
207 | return super.eGet(featureID, resolve, coreType); | 253 | return super.eGet(featureID, resolve, coreType); |
208 | } | 254 | } |
@@ -227,6 +273,9 @@ public class ComponentImpl extends MinimalEObjectImpl.Container implements Compo | |||
227 | case CftPackage.COMPONENT__COMPONENT_DEFINITION: | 273 | case CftPackage.COMPONENT__COMPONENT_DEFINITION: |
228 | setComponentDefinition((ComponentDefinition)newValue); | 274 | setComponentDefinition((ComponentDefinition)newValue); |
229 | return; | 275 | return; |
276 | case CftPackage.COMPONENT__NAME: | ||
277 | setName((String)newValue); | ||
278 | return; | ||
230 | } | 279 | } |
231 | super.eSet(featureID, newValue); | 280 | super.eSet(featureID, newValue); |
232 | } | 281 | } |
@@ -248,6 +297,9 @@ public class ComponentImpl extends MinimalEObjectImpl.Container implements Compo | |||
248 | case CftPackage.COMPONENT__COMPONENT_DEFINITION: | 297 | case CftPackage.COMPONENT__COMPONENT_DEFINITION: |
249 | setComponentDefinition((ComponentDefinition)null); | 298 | setComponentDefinition((ComponentDefinition)null); |
250 | return; | 299 | return; |
300 | case CftPackage.COMPONENT__NAME: | ||
301 | setName(NAME_EDEFAULT); | ||
302 | return; | ||
251 | } | 303 | } |
252 | super.eUnset(featureID); | 304 | super.eUnset(featureID); |
253 | } | 305 | } |
@@ -266,8 +318,26 @@ public class ComponentImpl extends MinimalEObjectImpl.Container implements Compo | |||
266 | return outputs != null && !outputs.isEmpty(); | 318 | return outputs != null && !outputs.isEmpty(); |
267 | case CftPackage.COMPONENT__COMPONENT_DEFINITION: | 319 | case CftPackage.COMPONENT__COMPONENT_DEFINITION: |
268 | return componentDefinition != null; | 320 | return componentDefinition != null; |
321 | case CftPackage.COMPONENT__NAME: | ||
322 | return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); | ||
269 | } | 323 | } |
270 | return super.eIsSet(featureID); | 324 | return super.eIsSet(featureID); |
271 | } | 325 | } |
272 | 326 | ||
327 | /** | ||
328 | * <!-- begin-user-doc --> | ||
329 | * <!-- end-user-doc --> | ||
330 | * @generated | ||
331 | */ | ||
332 | @Override | ||
333 | public String toString() { | ||
334 | if (eIsProxy()) return super.toString(); | ||
335 | |||
336 | StringBuilder result = new StringBuilder(super.toString()); | ||
337 | result.append(" (name: "); | ||
338 | result.append(name); | ||
339 | result.append(')'); | ||
340 | return result.toString(); | ||
341 | } | ||
342 | |||
273 | } //ComponentImpl | 343 | } //ComponentImpl |
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/IntputEventImpl.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/InputEventImpl.java index ea22452f..8432e29b 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/IntputEventImpl.java +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/InputEventImpl.java | |||
@@ -3,7 +3,7 @@ | |||
3 | package hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl; | 3 | package hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl; |
4 | 4 | ||
5 | import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage; | 5 | import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage; |
6 | import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.IntputEvent; | 6 | import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.InputEvent; |
7 | 7 | ||
8 | import org.eclipse.emf.common.notify.Notification; | 8 | import org.eclipse.emf.common.notify.Notification; |
9 | 9 | ||
@@ -13,18 +13,18 @@ import org.eclipse.emf.ecore.impl.ENotificationImpl; | |||
13 | 13 | ||
14 | /** | 14 | /** |
15 | * <!-- begin-user-doc --> | 15 | * <!-- begin-user-doc --> |
16 | * An implementation of the model object '<em><b>Intput Event</b></em>'. | 16 | * An implementation of the model object '<em><b>Input Event</b></em>'. |
17 | * <!-- end-user-doc --> | 17 | * <!-- end-user-doc --> |
18 | * <p> | 18 | * <p> |
19 | * The following features are implemented: | 19 | * The following features are implemented: |
20 | * </p> | 20 | * </p> |
21 | * <ul> | 21 | * <ul> |
22 | * <li>{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.IntputEventImpl#isMultiple <em>Multiple</em>}</li> | 22 | * <li>{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.InputEventImpl#isMultiple <em>Multiple</em>}</li> |
23 | * </ul> | 23 | * </ul> |
24 | * | 24 | * |
25 | * @generated | 25 | * @generated |
26 | */ | 26 | */ |
27 | public class IntputEventImpl extends EventDeclarationImpl implements IntputEvent { | 27 | public class InputEventImpl extends EventDeclarationImpl implements InputEvent { |
28 | /** | 28 | /** |
29 | * The default value of the '{@link #isMultiple() <em>Multiple</em>}' attribute. | 29 | * The default value of the '{@link #isMultiple() <em>Multiple</em>}' attribute. |
30 | * <!-- begin-user-doc --> | 30 | * <!-- begin-user-doc --> |
@@ -50,7 +50,7 @@ public class IntputEventImpl extends EventDeclarationImpl implements IntputEvent | |||
50 | * <!-- end-user-doc --> | 50 | * <!-- end-user-doc --> |
51 | * @generated | 51 | * @generated |
52 | */ | 52 | */ |
53 | protected IntputEventImpl() { | 53 | protected InputEventImpl() { |
54 | super(); | 54 | super(); |
55 | } | 55 | } |
56 | 56 | ||
@@ -61,7 +61,7 @@ public class IntputEventImpl extends EventDeclarationImpl implements IntputEvent | |||
61 | */ | 61 | */ |
62 | @Override | 62 | @Override |
63 | protected EClass eStaticClass() { | 63 | protected EClass eStaticClass() { |
64 | return CftPackage.Literals.INTPUT_EVENT; | 64 | return CftPackage.Literals.INPUT_EVENT; |
65 | } | 65 | } |
66 | 66 | ||
67 | /** | 67 | /** |
@@ -84,7 +84,7 @@ public class IntputEventImpl extends EventDeclarationImpl implements IntputEvent | |||
84 | boolean oldMultiple = multiple; | 84 | boolean oldMultiple = multiple; |
85 | multiple = newMultiple; | 85 | multiple = newMultiple; |
86 | if (eNotificationRequired()) | 86 | if (eNotificationRequired()) |
87 | eNotify(new ENotificationImpl(this, Notification.SET, CftPackage.INTPUT_EVENT__MULTIPLE, oldMultiple, multiple)); | 87 | eNotify(new ENotificationImpl(this, Notification.SET, CftPackage.INPUT_EVENT__MULTIPLE, oldMultiple, multiple)); |
88 | } | 88 | } |
89 | 89 | ||
90 | /** | 90 | /** |
@@ -95,7 +95,7 @@ public class IntputEventImpl extends EventDeclarationImpl implements IntputEvent | |||
95 | @Override | 95 | @Override |
96 | public Object eGet(int featureID, boolean resolve, boolean coreType) { | 96 | public Object eGet(int featureID, boolean resolve, boolean coreType) { |
97 | switch (featureID) { | 97 | switch (featureID) { |
98 | case CftPackage.INTPUT_EVENT__MULTIPLE: | 98 | case CftPackage.INPUT_EVENT__MULTIPLE: |
99 | return isMultiple(); | 99 | return isMultiple(); |
100 | } | 100 | } |
101 | return super.eGet(featureID, resolve, coreType); | 101 | return super.eGet(featureID, resolve, coreType); |
@@ -109,7 +109,7 @@ public class IntputEventImpl extends EventDeclarationImpl implements IntputEvent | |||
109 | @Override | 109 | @Override |
110 | public void eSet(int featureID, Object newValue) { | 110 | public void eSet(int featureID, Object newValue) { |
111 | switch (featureID) { | 111 | switch (featureID) { |
112 | case CftPackage.INTPUT_EVENT__MULTIPLE: | 112 | case CftPackage.INPUT_EVENT__MULTIPLE: |
113 | setMultiple((Boolean)newValue); | 113 | setMultiple((Boolean)newValue); |
114 | return; | 114 | return; |
115 | } | 115 | } |
@@ -124,7 +124,7 @@ public class IntputEventImpl extends EventDeclarationImpl implements IntputEvent | |||
124 | @Override | 124 | @Override |
125 | public void eUnset(int featureID) { | 125 | public void eUnset(int featureID) { |
126 | switch (featureID) { | 126 | switch (featureID) { |
127 | case CftPackage.INTPUT_EVENT__MULTIPLE: | 127 | case CftPackage.INPUT_EVENT__MULTIPLE: |
128 | setMultiple(MULTIPLE_EDEFAULT); | 128 | setMultiple(MULTIPLE_EDEFAULT); |
129 | return; | 129 | return; |
130 | } | 130 | } |
@@ -139,7 +139,7 @@ public class IntputEventImpl extends EventDeclarationImpl implements IntputEvent | |||
139 | @Override | 139 | @Override |
140 | public boolean eIsSet(int featureID) { | 140 | public boolean eIsSet(int featureID) { |
141 | switch (featureID) { | 141 | switch (featureID) { |
142 | case CftPackage.INTPUT_EVENT__MULTIPLE: | 142 | case CftPackage.INPUT_EVENT__MULTIPLE: |
143 | return multiple != MULTIPLE_EDEFAULT; | 143 | return multiple != MULTIPLE_EDEFAULT; |
144 | } | 144 | } |
145 | return super.eIsSet(featureID); | 145 | return super.eIsSet(featureID); |
@@ -161,4 +161,4 @@ public class IntputEventImpl extends EventDeclarationImpl implements IntputEvent | |||
161 | return result.toString(); | 161 | return result.toString(); |
162 | } | 162 | } |
163 | 163 | ||
164 | } //IntputEventImpl | 164 | } //InputEventImpl |
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/InputImpl.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/InputImpl.java index eda5fea0..aa560064 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/InputImpl.java +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/InputImpl.java | |||
@@ -6,8 +6,7 @@ import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage; | |||
6 | import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Component; | 6 | import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Component; |
7 | import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Connection; | 7 | import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Connection; |
8 | import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Input; | 8 | import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Input; |
9 | import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.IntputEvent; | 9 | import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.InputEvent; |
10 | |||
11 | import java.util.Collection; | 10 | import java.util.Collection; |
12 | 11 | ||
13 | import org.eclipse.emf.common.notify.Notification; | 12 | import org.eclipse.emf.common.notify.Notification; |
@@ -33,7 +32,7 @@ import org.eclipse.emf.ecore.util.InternalEList; | |||
33 | * The following features are implemented: | 32 | * The following features are implemented: |
34 | * </p> | 33 | * </p> |
35 | * <ul> | 34 | * <ul> |
36 | * <li>{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.InputImpl#getIntputEvent <em>Intput Event</em>}</li> | 35 | * <li>{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.InputImpl#getInputEvent <em>Input Event</em>}</li> |
37 | * <li>{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.InputImpl#getComponent <em>Component</em>}</li> | 36 | * <li>{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.InputImpl#getComponent <em>Component</em>}</li> |
38 | * <li>{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.InputImpl#getIncomingConnections <em>Incoming Connections</em>}</li> | 37 | * <li>{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.InputImpl#getIncomingConnections <em>Incoming Connections</em>}</li> |
39 | * </ul> | 38 | * </ul> |
@@ -42,14 +41,14 @@ import org.eclipse.emf.ecore.util.InternalEList; | |||
42 | */ | 41 | */ |
43 | public class InputImpl extends MinimalEObjectImpl.Container implements Input { | 42 | public class InputImpl extends MinimalEObjectImpl.Container implements Input { |
44 | /** | 43 | /** |
45 | * The cached value of the '{@link #getIntputEvent() <em>Intput Event</em>}' reference. | 44 | * The cached value of the '{@link #getInputEvent() <em>Input Event</em>}' reference. |
46 | * <!-- begin-user-doc --> | 45 | * <!-- begin-user-doc --> |
47 | * <!-- end-user-doc --> | 46 | * <!-- end-user-doc --> |
48 | * @see #getIntputEvent() | 47 | * @see #getInputEvent() |
49 | * @generated | 48 | * @generated |
50 | * @ordered | 49 | * @ordered |
51 | */ | 50 | */ |
52 | protected IntputEvent intputEvent; | 51 | protected InputEvent inputEvent; |
53 | 52 | ||
54 | /** | 53 | /** |
55 | * The cached value of the '{@link #getIncomingConnections() <em>Incoming Connections</em>}' containment reference list. | 54 | * The cached value of the '{@link #getIncomingConnections() <em>Incoming Connections</em>}' containment reference list. |
@@ -86,16 +85,16 @@ public class InputImpl extends MinimalEObjectImpl.Container implements Input { | |||
86 | * @generated | 85 | * @generated |
87 | */ | 86 | */ |
88 | @Override | 87 | @Override |
89 | public IntputEvent getIntputEvent() { | 88 | public InputEvent getInputEvent() { |
90 | if (intputEvent != null && intputEvent.eIsProxy()) { | 89 | if (inputEvent != null && inputEvent.eIsProxy()) { |
91 | InternalEObject oldIntputEvent = (InternalEObject)intputEvent; | 90 | InternalEObject oldInputEvent = (InternalEObject)inputEvent; |
92 | intputEvent = (IntputEvent)eResolveProxy(oldIntputEvent); | 91 | inputEvent = (InputEvent)eResolveProxy(oldInputEvent); |
93 | if (intputEvent != oldIntputEvent) { | 92 | if (inputEvent != oldInputEvent) { |
94 | if (eNotificationRequired()) | 93 | if (eNotificationRequired()) |
95 | eNotify(new ENotificationImpl(this, Notification.RESOLVE, CftPackage.INPUT__INTPUT_EVENT, oldIntputEvent, intputEvent)); | 94 | eNotify(new ENotificationImpl(this, Notification.RESOLVE, CftPackage.INPUT__INPUT_EVENT, oldInputEvent, inputEvent)); |
96 | } | 95 | } |
97 | } | 96 | } |
98 | return intputEvent; | 97 | return inputEvent; |
99 | } | 98 | } |
100 | 99 | ||
101 | /** | 100 | /** |
@@ -103,8 +102,8 @@ public class InputImpl extends MinimalEObjectImpl.Container implements Input { | |||
103 | * <!-- end-user-doc --> | 102 | * <!-- end-user-doc --> |
104 | * @generated | 103 | * @generated |
105 | */ | 104 | */ |
106 | public IntputEvent basicGetIntputEvent() { | 105 | public InputEvent basicGetInputEvent() { |
107 | return intputEvent; | 106 | return inputEvent; |
108 | } | 107 | } |
109 | 108 | ||
110 | /** | 109 | /** |
@@ -113,11 +112,11 @@ public class InputImpl extends MinimalEObjectImpl.Container implements Input { | |||
113 | * @generated | 112 | * @generated |
114 | */ | 113 | */ |
115 | @Override | 114 | @Override |
116 | public void setIntputEvent(IntputEvent newIntputEvent) { | 115 | public void setInputEvent(InputEvent newInputEvent) { |
117 | IntputEvent oldIntputEvent = intputEvent; | 116 | InputEvent oldInputEvent = inputEvent; |
118 | intputEvent = newIntputEvent; | 117 | inputEvent = newInputEvent; |
119 | if (eNotificationRequired()) | 118 | if (eNotificationRequired()) |
120 | eNotify(new ENotificationImpl(this, Notification.SET, CftPackage.INPUT__INTPUT_EVENT, oldIntputEvent, intputEvent)); | 119 | eNotify(new ENotificationImpl(this, Notification.SET, CftPackage.INPUT__INPUT_EVENT, oldInputEvent, inputEvent)); |
121 | } | 120 | } |
122 | 121 | ||
123 | /** | 122 | /** |
@@ -233,9 +232,9 @@ public class InputImpl extends MinimalEObjectImpl.Container implements Input { | |||
233 | @Override | 232 | @Override |
234 | public Object eGet(int featureID, boolean resolve, boolean coreType) { | 233 | public Object eGet(int featureID, boolean resolve, boolean coreType) { |
235 | switch (featureID) { | 234 | switch (featureID) { |
236 | case CftPackage.INPUT__INTPUT_EVENT: | 235 | case CftPackage.INPUT__INPUT_EVENT: |
237 | if (resolve) return getIntputEvent(); | 236 | if (resolve) return getInputEvent(); |
238 | return basicGetIntputEvent(); | 237 | return basicGetInputEvent(); |
239 | case CftPackage.INPUT__COMPONENT: | 238 | case CftPackage.INPUT__COMPONENT: |
240 | return getComponent(); | 239 | return getComponent(); |
241 | case CftPackage.INPUT__INCOMING_CONNECTIONS: | 240 | case CftPackage.INPUT__INCOMING_CONNECTIONS: |
@@ -253,8 +252,8 @@ public class InputImpl extends MinimalEObjectImpl.Container implements Input { | |||
253 | @Override | 252 | @Override |
254 | public void eSet(int featureID, Object newValue) { | 253 | public void eSet(int featureID, Object newValue) { |
255 | switch (featureID) { | 254 | switch (featureID) { |
256 | case CftPackage.INPUT__INTPUT_EVENT: | 255 | case CftPackage.INPUT__INPUT_EVENT: |
257 | setIntputEvent((IntputEvent)newValue); | 256 | setInputEvent((InputEvent)newValue); |
258 | return; | 257 | return; |
259 | case CftPackage.INPUT__COMPONENT: | 258 | case CftPackage.INPUT__COMPONENT: |
260 | setComponent((Component)newValue); | 259 | setComponent((Component)newValue); |
@@ -275,8 +274,8 @@ public class InputImpl extends MinimalEObjectImpl.Container implements Input { | |||
275 | @Override | 274 | @Override |
276 | public void eUnset(int featureID) { | 275 | public void eUnset(int featureID) { |
277 | switch (featureID) { | 276 | switch (featureID) { |
278 | case CftPackage.INPUT__INTPUT_EVENT: | 277 | case CftPackage.INPUT__INPUT_EVENT: |
279 | setIntputEvent((IntputEvent)null); | 278 | setInputEvent((InputEvent)null); |
280 | return; | 279 | return; |
281 | case CftPackage.INPUT__COMPONENT: | 280 | case CftPackage.INPUT__COMPONENT: |
282 | setComponent((Component)null); | 281 | setComponent((Component)null); |
@@ -296,8 +295,8 @@ public class InputImpl extends MinimalEObjectImpl.Container implements Input { | |||
296 | @Override | 295 | @Override |
297 | public boolean eIsSet(int featureID) { | 296 | public boolean eIsSet(int featureID) { |
298 | switch (featureID) { | 297 | switch (featureID) { |
299 | case CftPackage.INPUT__INTPUT_EVENT: | 298 | case CftPackage.INPUT__INPUT_EVENT: |
300 | return intputEvent != null; | 299 | return inputEvent != null; |
301 | case CftPackage.INPUT__COMPONENT: | 300 | case CftPackage.INPUT__COMPONENT: |
302 | return getComponent() != null; | 301 | return getComponent() != null; |
303 | case CftPackage.INPUT__INCOMING_CONNECTIONS: | 302 | case CftPackage.INPUT__INCOMING_CONNECTIONS: |