From 4236f6735c91e8db3e4eb5641f5625f83024f434 Mon Sep 17 00:00:00 2001 From: OszkarSemerath Date: Sat, 24 Mar 2018 22:16:37 -0400 Subject: Removed unused projects --- .../.classpath | 10 - .../.gitignore | 4 - .../.project | 40 - .../.settings/org.eclipse.jdt.core.prefs | 7 - ...ry.patternlanguage.emf.EMFPatternLanguage.prefs | 28 - .../META-INF/MANIFEST.MF | 21 - .../build.properties | 9 - .../fam/FunctionalArchitecture/FAMTerminator.java | 52 -- .../fam/FunctionalArchitecture/Function.java | 61 -- .../fam/FunctionalArchitecture/FunctionType.java | 241 ------ .../FunctionalArchitectureFactory.java | 96 --- .../FunctionalArchitectureModel.java | 42 - .../FunctionalArchitecturePackage.java | 949 --------------------- .../fam/FunctionalArchitecture/FunctionalData.java | 83 -- .../FunctionalArchitecture/FunctionalElement.java | 109 --- .../FunctionalArchitecture/FunctionalInput.java | 42 - .../FunctionalInterface.java | 73 -- .../FunctionalArchitecture/FunctionalOutput.java | 42 - .../FunctionalArchitecture/InformationLink.java | 81 -- .../impl/FAMTerminatorImpl.java | 196 ----- .../FunctionalArchitecture/impl/FunctionImpl.java | 191 ----- .../impl/FunctionalArchitectureFactoryImpl.java | 213 ----- .../impl/FunctionalArchitectureModelImpl.java | 152 ---- .../impl/FunctionalArchitecturePackageImpl.java | 574 ------------- .../impl/FunctionalDataImpl.java | 275 ------ .../impl/FunctionalElementImpl.java | 318 ------- .../impl/FunctionalInputImpl.java | 165 ---- .../impl/FunctionalInterfaceImpl.java | 243 ------ .../impl/FunctionalOutputImpl.java | 165 ---- .../impl/InformationLinkImpl.java | 285 ------- .../util/FunctionalArchitectureAdapterFactory.java | 265 ------ .../util/FunctionalArchitectureSwitch.java | 282 ------ .../model/FAM.aird | 620 -------------- .../model/FAM.ecore | 68 -- .../model/FAM.genmodel | 49 -- .../plugin.properties | 4 - .../plugin.xml | 28 - .../domains/transima/fam/patterns/pattern.vql | 114 --- 38 files changed, 6197 deletions(-) delete mode 100644 Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/.classpath delete mode 100644 Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/.gitignore delete mode 100644 Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/.project delete mode 100644 Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/.settings/org.eclipse.jdt.core.prefs delete mode 100644 Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/.settings/org.eclipse.viatra.query.patternlanguage.emf.EMFPatternLanguage.prefs delete mode 100644 Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/META-INF/MANIFEST.MF delete mode 100644 Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/build.properties delete mode 100644 Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/ecore-gen/hu/bme/mit/inf/dslreasomer/domains/transima/fam/FunctionalArchitecture/FAMTerminator.java delete mode 100644 Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/ecore-gen/hu/bme/mit/inf/dslreasomer/domains/transima/fam/FunctionalArchitecture/Function.java delete mode 100644 Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/ecore-gen/hu/bme/mit/inf/dslreasomer/domains/transima/fam/FunctionalArchitecture/FunctionType.java delete mode 100644 Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/ecore-gen/hu/bme/mit/inf/dslreasomer/domains/transima/fam/FunctionalArchitecture/FunctionalArchitectureFactory.java delete mode 100644 Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/ecore-gen/hu/bme/mit/inf/dslreasomer/domains/transima/fam/FunctionalArchitecture/FunctionalArchitectureModel.java delete mode 100644 Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/ecore-gen/hu/bme/mit/inf/dslreasomer/domains/transima/fam/FunctionalArchitecture/FunctionalArchitecturePackage.java delete mode 100644 Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/ecore-gen/hu/bme/mit/inf/dslreasomer/domains/transima/fam/FunctionalArchitecture/FunctionalData.java delete mode 100644 Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/ecore-gen/hu/bme/mit/inf/dslreasomer/domains/transima/fam/FunctionalArchitecture/FunctionalElement.java delete mode 100644 Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/ecore-gen/hu/bme/mit/inf/dslreasomer/domains/transima/fam/FunctionalArchitecture/FunctionalInput.java delete mode 100644 Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/ecore-gen/hu/bme/mit/inf/dslreasomer/domains/transima/fam/FunctionalArchitecture/FunctionalInterface.java delete mode 100644 Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/ecore-gen/hu/bme/mit/inf/dslreasomer/domains/transima/fam/FunctionalArchitecture/FunctionalOutput.java delete mode 100644 Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/ecore-gen/hu/bme/mit/inf/dslreasomer/domains/transima/fam/FunctionalArchitecture/InformationLink.java delete mode 100644 Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/ecore-gen/hu/bme/mit/inf/dslreasomer/domains/transima/fam/FunctionalArchitecture/impl/FAMTerminatorImpl.java delete mode 100644 Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/ecore-gen/hu/bme/mit/inf/dslreasomer/domains/transima/fam/FunctionalArchitecture/impl/FunctionImpl.java delete mode 100644 Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/ecore-gen/hu/bme/mit/inf/dslreasomer/domains/transima/fam/FunctionalArchitecture/impl/FunctionalArchitectureFactoryImpl.java delete mode 100644 Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/ecore-gen/hu/bme/mit/inf/dslreasomer/domains/transima/fam/FunctionalArchitecture/impl/FunctionalArchitectureModelImpl.java delete mode 100644 Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/ecore-gen/hu/bme/mit/inf/dslreasomer/domains/transima/fam/FunctionalArchitecture/impl/FunctionalArchitecturePackageImpl.java delete mode 100644 Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/ecore-gen/hu/bme/mit/inf/dslreasomer/domains/transima/fam/FunctionalArchitecture/impl/FunctionalDataImpl.java delete mode 100644 Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/ecore-gen/hu/bme/mit/inf/dslreasomer/domains/transima/fam/FunctionalArchitecture/impl/FunctionalElementImpl.java delete mode 100644 Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/ecore-gen/hu/bme/mit/inf/dslreasomer/domains/transima/fam/FunctionalArchitecture/impl/FunctionalInputImpl.java delete mode 100644 Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/ecore-gen/hu/bme/mit/inf/dslreasomer/domains/transima/fam/FunctionalArchitecture/impl/FunctionalInterfaceImpl.java delete mode 100644 Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/ecore-gen/hu/bme/mit/inf/dslreasomer/domains/transima/fam/FunctionalArchitecture/impl/FunctionalOutputImpl.java delete mode 100644 Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/ecore-gen/hu/bme/mit/inf/dslreasomer/domains/transima/fam/FunctionalArchitecture/impl/InformationLinkImpl.java delete mode 100644 Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/ecore-gen/hu/bme/mit/inf/dslreasomer/domains/transima/fam/FunctionalArchitecture/util/FunctionalArchitectureAdapterFactory.java delete mode 100644 Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/ecore-gen/hu/bme/mit/inf/dslreasomer/domains/transima/fam/FunctionalArchitecture/util/FunctionalArchitectureSwitch.java delete mode 100644 Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/model/FAM.aird delete mode 100644 Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/model/FAM.ecore delete mode 100644 Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/model/FAM.genmodel delete mode 100644 Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/plugin.properties delete mode 100644 Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/plugin.xml delete mode 100644 Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/queries/hu/bme/mit/inf/dslreasoner/domains/transima/fam/patterns/pattern.vql (limited to 'Domains') diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/.classpath b/Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/.classpath deleted file mode 100644 index 0271bab1..00000000 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/.classpath +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/.gitignore b/Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/.gitignore deleted file mode 100644 index 8ae4e44d..00000000 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/.gitignore +++ /dev/null @@ -1,4 +0,0 @@ -/bin/ -/src-gen/ -/vql-gen/ -/xtend-gen/ diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/.project b/Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/.project deleted file mode 100644 index 112eddf3..00000000 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/.project +++ /dev/null @@ -1,40 +0,0 @@ - - - hu.bme.mit.inf.dslreasoner.domains.transima.fam - - - - - - org.eclipse.xtext.ui.shared.xtextBuilder - - - - - org.eclipse.viatra.query.tooling.ui.projectbuilder - - - - - org.eclipse.jdt.core.javabuilder - - - - - org.eclipse.pde.ManifestBuilder - - - - - org.eclipse.pde.SchemaBuilder - - - - - - org.eclipse.pde.PluginNature - org.eclipse.jdt.core.javanature - org.eclipse.viatra.query.projectnature - org.eclipse.xtext.ui.shared.xtextNature - - diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/.settings/org.eclipse.jdt.core.prefs b/Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/.settings/org.eclipse.jdt.core.prefs deleted file mode 100644 index 295926d9..00000000 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/.settings/org.eclipse.jdt.core.prefs +++ /dev/null @@ -1,7 +0,0 @@ -eclipse.preferences.version=1 -org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled -org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8 -org.eclipse.jdt.core.compiler.compliance=1.8 -org.eclipse.jdt.core.compiler.problem.assertIdentifier=error -org.eclipse.jdt.core.compiler.problem.enumIdentifier=error -org.eclipse.jdt.core.compiler.source=1.8 diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/.settings/org.eclipse.viatra.query.patternlanguage.emf.EMFPatternLanguage.prefs b/Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/.settings/org.eclipse.viatra.query.patternlanguage.emf.EMFPatternLanguage.prefs deleted file mode 100644 index 0416e0e4..00000000 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/.settings/org.eclipse.viatra.query.patternlanguage.emf.EMFPatternLanguage.prefs +++ /dev/null @@ -1,28 +0,0 @@ -BuilderConfiguration.is_project_specific=true -autobuilding=true -eclipse.preferences.version=1 -generateGeneratedAnnotation=false -generateSuppressWarnings=true -generatedAnnotationComment= -includeDateInGenerated=false -org.eclipse.viatra.query.patternlanguage.emf.EMFPatternLanguage.useProjectSettings=true -outlet.DEFAULT_OUTPUT.cleanDirectory=false -outlet.DEFAULT_OUTPUT.cleanupDerived=true -outlet.DEFAULT_OUTPUT.createDirectory=true -outlet.DEFAULT_OUTPUT.derived=true -outlet.DEFAULT_OUTPUT.directory=./src-gen -outlet.DEFAULT_OUTPUT.hideLocalSyntheticVariables=true -outlet.DEFAULT_OUTPUT.installDslAsPrimarySource=false -outlet.DEFAULT_OUTPUT.keepLocalHistory=true -outlet.DEFAULT_OUTPUT.override=true -outlet.DEFAULT_OUTPUT.sourceFolder.ecore-gen.directory= -outlet.DEFAULT_OUTPUT.sourceFolder.ecore-gen.ignore= -outlet.DEFAULT_OUTPUT.sourceFolder.queries.directory= -outlet.DEFAULT_OUTPUT.sourceFolder.queries.ignore= -outlet.DEFAULT_OUTPUT.sourceFolder.src-gen.directory= -outlet.DEFAULT_OUTPUT.sourceFolder.src-gen.ignore= -outlet.DEFAULT_OUTPUT.sourceFolder.src.directory= -outlet.DEFAULT_OUTPUT.sourceFolder.src.ignore= -outlet.DEFAULT_OUTPUT.userOutputPerSourceFolder= -targetJavaVersion=JAVA5 -useJavaCompilerCompliance=true diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/META-INF/MANIFEST.MF b/Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/META-INF/MANIFEST.MF deleted file mode 100644 index 84fd9aac..00000000 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/META-INF/MANIFEST.MF +++ /dev/null @@ -1,21 +0,0 @@ -Manifest-Version: 1.0 -Bundle-ManifestVersion: 2 -Bundle-Name: %pluginName -Bundle-SymbolicName: hu.bme.mit.inf.dslreasoner.domains.transima.fam;singleton:=true -Bundle-Version: 1.0.0.qualifier -Bundle-ClassPath: . -Bundle-Vendor: %providerName -Bundle-Localization: plugin -Export-Package: hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture, - hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.impl, - hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.util, - hu.bme.mit.inf.dslreasoner.domains.transima.fam.patterns, - hu.bme.mit.inf.dslreasoner.domains.transima.fam.patterns.util -Require-Bundle: org.eclipse.viatra.addon.querybasedfeatures.runtime, - org.eclipse.viatra.query.runtime, - org.eclipse.core.runtime, - org.eclipse.emf.ecore;visibility:=reexport, - com.google.guava;bundle-version="15.0.0" -Bundle-RequiredExecutionEnvironment: JavaSE-1.8 -Bundle-ActivationPolicy: lazy -Import-Package: org.apache.log4j diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/build.properties b/Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/build.properties deleted file mode 100644 index 447f580d..00000000 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/build.properties +++ /dev/null @@ -1,9 +0,0 @@ -bin.includes = .,\ - model/,\ - META-INF/,\ - plugin.xml,\ - plugin.properties -jars.compile.order = . -source.. = ecore-gen/,\ - src-gen/ -output.. = bin/ diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/ecore-gen/hu/bme/mit/inf/dslreasomer/domains/transima/fam/FunctionalArchitecture/FAMTerminator.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/ecore-gen/hu/bme/mit/inf/dslreasomer/domains/transima/fam/FunctionalArchitecture/FAMTerminator.java deleted file mode 100644 index c573d14e..00000000 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/ecore-gen/hu/bme/mit/inf/dslreasomer/domains/transima/fam/FunctionalArchitecture/FAMTerminator.java +++ /dev/null @@ -1,52 +0,0 @@ -/** - */ -package hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture; - -import org.eclipse.emf.ecore.EObject; - -/** - * - * A representation of the model object 'FAM Terminator'. - * - * - *

- * The following features are supported: - *

- * - * - * @see hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionalArchitecturePackage#getFAMTerminator() - * @model - * @generated - */ -public interface FAMTerminator extends EObject { - /** - * Returns the value of the 'Data' container reference. - * It is bidirectional and its opposite is '{@link hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionalData#getTerminator Terminator}'. - * - *

- * If the meaning of the 'Data' container reference isn't clear, - * there really should be more of a description here... - *

- * - * @return the value of the 'Data' container reference. - * @see #setData(FunctionalData) - * @see hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionalArchitecturePackage#getFAMTerminator_Data() - * @see hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionalData#getTerminator - * @model opposite="terminator" transient="false" - * @generated - */ - FunctionalData getData(); - - /** - * Sets the value of the '{@link hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FAMTerminator#getData Data}' container reference. - * - * - * @param value the new value of the 'Data' container reference. - * @see #getData() - * @generated - */ - void setData(FunctionalData value); - -} // FAMTerminator diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/ecore-gen/hu/bme/mit/inf/dslreasomer/domains/transima/fam/FunctionalArchitecture/Function.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/ecore-gen/hu/bme/mit/inf/dslreasomer/domains/transima/fam/FunctionalArchitecture/Function.java deleted file mode 100644 index 52c4bcd2..00000000 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/ecore-gen/hu/bme/mit/inf/dslreasomer/domains/transima/fam/FunctionalArchitecture/Function.java +++ /dev/null @@ -1,61 +0,0 @@ -/** - */ -package hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture; - -import org.eclipse.emf.common.util.EList; - -/** - * - * A representation of the model object 'Function'. - * - * - *

- * The following features are supported: - *

- * - * - * @see hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionalArchitecturePackage#getFunction() - * @model - * @generated - */ -public interface Function extends FunctionalElement { - /** - * Returns the value of the 'Sub Elements' containment reference list. - * The list contents are of type {@link hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionalElement}. - * It is bidirectional and its opposite is '{@link hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionalElement#getParent Parent}'. - * - *

- * If the meaning of the 'Sub Elements' containment reference list isn't clear, - * there really should be more of a description here... - *

- * - * @return the value of the 'Sub Elements' containment reference list. - * @see hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionalArchitecturePackage#getFunction_SubElements() - * @see hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionalElement#getParent - * @model opposite="parent" containment="true" - * @generated - */ - EList getSubElements(); - - /** - * Returns the value of the 'Type' attribute. - * The literals are from the enumeration {@link hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionType}. - * - *

- * If the meaning of the 'Type' attribute isn't clear, - * there really should be more of a description here... - *

- * - * @return the value of the 'Type' attribute. - * @see hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionType - * @see hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionalArchitecturePackage#getFunction_Type() - * @model required="true" transient="true" changeable="false" volatile="true" derived="true" - * annotation="org.eclipse.viatra.query.querybasedfeature patternFQN='hu.bme.mit.inf.dslreasoner.domains.transima.fam.patterns.type'" - * @generated - */ - FunctionType getType(); - -} // Function diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/ecore-gen/hu/bme/mit/inf/dslreasomer/domains/transima/fam/FunctionalArchitecture/FunctionType.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/ecore-gen/hu/bme/mit/inf/dslreasomer/domains/transima/fam/FunctionalArchitecture/FunctionType.java deleted file mode 100644 index e0bee9bc..00000000 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/ecore-gen/hu/bme/mit/inf/dslreasomer/domains/transima/fam/FunctionalArchitecture/FunctionType.java +++ /dev/null @@ -1,241 +0,0 @@ -/** - */ -package hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture; - -import java.util.Arrays; -import java.util.Collections; -import java.util.List; - -import org.eclipse.emf.common.util.Enumerator; - -/** - * - * A representation of the literals of the enumeration 'Function Type', - * and utility methods for working with them. - * - * @see hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionalArchitecturePackage#getFunctionType() - * @model - * @generated - */ -public enum FunctionType implements Enumerator { - /** - * The 'Root' literal object. - * - * - * @see #ROOT_VALUE - * @generated - * @ordered - */ - ROOT(0, "Root", "Root"), - - /** - * The 'Intermediate' literal object. - * - * - * @see #INTERMEDIATE_VALUE - * @generated - * @ordered - */ - INTERMEDIATE(1, "Intermediate", "Intermediate"), - - /** - * The 'Leaf' literal object. - * - * - * @see #LEAF_VALUE - * @generated - * @ordered - */ - LEAF(2, "Leaf", "Leaf"); - - /** - * The 'Root' literal value. - * - *

- * If the meaning of 'Root' literal object isn't clear, - * there really should be more of a description here... - *

- * - * @see #ROOT - * @model name="Root" - * @generated - * @ordered - */ - public static final int ROOT_VALUE = 0; - - /** - * The 'Intermediate' literal value. - * - *

- * If the meaning of 'Intermediate' literal object isn't clear, - * there really should be more of a description here... - *

- * - * @see #INTERMEDIATE - * @model name="Intermediate" - * @generated - * @ordered - */ - public static final int INTERMEDIATE_VALUE = 1; - - /** - * The 'Leaf' literal value. - * - *

- * If the meaning of 'Leaf' literal object isn't clear, - * there really should be more of a description here... - *

- * - * @see #LEAF - * @model name="Leaf" - * @generated - * @ordered - */ - public static final int LEAF_VALUE = 2; - - /** - * An array of all the 'Function Type' enumerators. - * - * - * @generated - */ - private static final FunctionType[] VALUES_ARRAY = - new FunctionType[] { - ROOT, - INTERMEDIATE, - LEAF, - }; - - /** - * A public read-only list of all the 'Function Type' enumerators. - * - * - * @generated - */ - public static final List VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); - - /** - * Returns the 'Function Type' literal with the specified literal value. - * - * - * @param literal the literal. - * @return the matching enumerator or null. - * @generated - */ - public static FunctionType get(String literal) { - for (int i = 0; i < VALUES_ARRAY.length; ++i) { - FunctionType result = VALUES_ARRAY[i]; - if (result.toString().equals(literal)) { - return result; - } - } - return null; - } - - /** - * Returns the 'Function Type' literal with the specified name. - * - * - * @param name the name. - * @return the matching enumerator or null. - * @generated - */ - public static FunctionType getByName(String name) { - for (int i = 0; i < VALUES_ARRAY.length; ++i) { - FunctionType result = VALUES_ARRAY[i]; - if (result.getName().equals(name)) { - return result; - } - } - return null; - } - - /** - * Returns the 'Function Type' literal with the specified integer value. - * - * - * @param value the integer value. - * @return the matching enumerator or null. - * @generated - */ - public static FunctionType get(int value) { - switch (value) { - case ROOT_VALUE: return ROOT; - case INTERMEDIATE_VALUE: return INTERMEDIATE; - case LEAF_VALUE: return LEAF; - } - return null; - } - - /** - * - * - * @generated - */ - private final int value; - - /** - * - * - * @generated - */ - private final String name; - - /** - * - * - * @generated - */ - private final String literal; - - /** - * Only this class can construct instances. - * - * - * @generated - */ - private FunctionType(int value, String name, String literal) { - this.value = value; - this.name = name; - this.literal = literal; - } - - /** - * - * - * @generated - */ - public int getValue() { - return value; - } - - /** - * - * - * @generated - */ - public String getName() { - return name; - } - - /** - * - * - * @generated - */ - public String getLiteral() { - return literal; - } - - /** - * Returns the literal value of the enumerator, which is its string representation. - * - * - * @generated - */ - @Override - public String toString() { - return literal; - } - -} //FunctionType diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/ecore-gen/hu/bme/mit/inf/dslreasomer/domains/transima/fam/FunctionalArchitecture/FunctionalArchitectureFactory.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/ecore-gen/hu/bme/mit/inf/dslreasomer/domains/transima/fam/FunctionalArchitecture/FunctionalArchitectureFactory.java deleted file mode 100644 index 8eac8435..00000000 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/ecore-gen/hu/bme/mit/inf/dslreasomer/domains/transima/fam/FunctionalArchitecture/FunctionalArchitectureFactory.java +++ /dev/null @@ -1,96 +0,0 @@ -/** - */ -package hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture; - -import org.eclipse.emf.ecore.EFactory; - -/** - * - * The Factory for the model. - * It provides a create method for each non-abstract class of the model. - * - * @see hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionalArchitecturePackage - * @generated - */ -public interface FunctionalArchitectureFactory extends EFactory { - /** - * The singleton instance of the factory. - * - * - * @generated - */ - FunctionalArchitectureFactory eINSTANCE = hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.impl.FunctionalArchitectureFactoryImpl.init(); - - /** - * Returns a new object of class 'Model'. - * - * - * @return a new object of class 'Model'. - * @generated - */ - FunctionalArchitectureModel createFunctionalArchitectureModel(); - - /** - * Returns a new object of class 'Function'. - * - * - * @return a new object of class 'Function'. - * @generated - */ - Function createFunction(); - - /** - * Returns a new object of class 'FAM Terminator'. - * - * - * @return a new object of class 'FAM Terminator'. - * @generated - */ - FAMTerminator createFAMTerminator(); - - /** - * Returns a new object of class 'Information Link'. - * - * - * @return a new object of class 'Information Link'. - * @generated - */ - InformationLink createInformationLink(); - - /** - * Returns a new object of class 'Functional Interface'. - * - * - * @return a new object of class 'Functional Interface'. - * @generated - */ - FunctionalInterface createFunctionalInterface(); - - /** - * Returns a new object of class 'Functional Input'. - * - * - * @return a new object of class 'Functional Input'. - * @generated - */ - FunctionalInput createFunctionalInput(); - - /** - * Returns a new object of class 'Functional Output'. - * - * - * @return a new object of class 'Functional Output'. - * @generated - */ - FunctionalOutput createFunctionalOutput(); - - /** - * Returns the package supported by this factory. - * - * - * @return the package supported by this factory. - * @generated - */ - FunctionalArchitecturePackage getFunctionalArchitecturePackage(); - -} //FunctionalArchitectureFactory diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/ecore-gen/hu/bme/mit/inf/dslreasomer/domains/transima/fam/FunctionalArchitecture/FunctionalArchitectureModel.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/ecore-gen/hu/bme/mit/inf/dslreasomer/domains/transima/fam/FunctionalArchitecture/FunctionalArchitectureModel.java deleted file mode 100644 index d786d403..00000000 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/ecore-gen/hu/bme/mit/inf/dslreasomer/domains/transima/fam/FunctionalArchitecture/FunctionalArchitectureModel.java +++ /dev/null @@ -1,42 +0,0 @@ -/** - */ -package hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture; - -import org.eclipse.emf.common.util.EList; - -import org.eclipse.emf.ecore.EObject; - -/** - * - * A representation of the model object 'Model'. - * - * - *

- * The following features are supported: - *

- *
    - *
  • {@link hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionalArchitectureModel#getRootElements Root Elements}
  • - *
- * - * @see hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionalArchitecturePackage#getFunctionalArchitectureModel() - * @model - * @generated - */ -public interface FunctionalArchitectureModel extends EObject { - /** - * Returns the value of the 'Root Elements' containment reference list. - * The list contents are of type {@link hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionalElement}. - * - *

- * If the meaning of the 'Root Elements' containment reference list isn't clear, - * there really should be more of a description here... - *

- * - * @return the value of the 'Root Elements' containment reference list. - * @see hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionalArchitecturePackage#getFunctionalArchitectureModel_RootElements() - * @model containment="true" - * @generated - */ - EList getRootElements(); - -} // FunctionalArchitectureModel diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/ecore-gen/hu/bme/mit/inf/dslreasomer/domains/transima/fam/FunctionalArchitecture/FunctionalArchitecturePackage.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/ecore-gen/hu/bme/mit/inf/dslreasomer/domains/transima/fam/FunctionalArchitecture/FunctionalArchitecturePackage.java deleted file mode 100644 index 41e64cb4..00000000 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/ecore-gen/hu/bme/mit/inf/dslreasomer/domains/transima/fam/FunctionalArchitecture/FunctionalArchitecturePackage.java +++ /dev/null @@ -1,949 +0,0 @@ -/** - */ -package hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture; - -import org.eclipse.emf.ecore.EAttribute; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EEnum; -import org.eclipse.emf.ecore.EPackage; -import org.eclipse.emf.ecore.EReference; - -/** - * - * The Package for the model. - * It contains accessors for the meta objects to represent - *
    - *
  • each class,
  • - *
  • each feature of each class,
  • - *
  • each enum,
  • - *
  • and each data type
  • - *
- * - * @see hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionalArchitectureFactory - * @model kind="package" - * annotation="http://www.eclipse.org/emf/2002/Ecore settingDelegates='org.eclipse.viatra.query.querybasedfeature'" - * @generated - */ -public interface FunctionalArchitecturePackage extends EPackage { - /** - * The package name. - * - * - * @generated - */ - String eNAME = "FunctionalArchitecture"; - - /** - * The package namespace URI. - * - * - * @generated - */ - String eNS_URI = "FAM"; - - /** - * The package namespace name. - * - * - * @generated - */ - String eNS_PREFIX = "fam"; - - /** - * The singleton instance of the package. - * - * - * @generated - */ - FunctionalArchitecturePackage eINSTANCE = hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.impl.FunctionalArchitecturePackageImpl.init(); - - /** - * The meta object id for the '{@link hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.impl.FunctionalElementImpl Functional Element}' class. - * - * - * @see hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.impl.FunctionalElementImpl - * @see hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.impl.FunctionalArchitecturePackageImpl#getFunctionalElement() - * @generated - */ - int FUNCTIONAL_ELEMENT = 0; - - /** - * The feature id for the 'Interface' containment reference. - * - * - * @generated - * @ordered - */ - int FUNCTIONAL_ELEMENT__INTERFACE = 0; - - /** - * The feature id for the 'Model' reference. - * - * - * @generated - * @ordered - */ - int FUNCTIONAL_ELEMENT__MODEL = 1; - - /** - * The feature id for the 'Parent' container reference. - * - * - * @generated - * @ordered - */ - int FUNCTIONAL_ELEMENT__PARENT = 2; - - /** - * The number of structural features of the 'Functional Element' class. - * - * - * @generated - * @ordered - */ - int FUNCTIONAL_ELEMENT_FEATURE_COUNT = 3; - - /** - * The meta object id for the '{@link hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.impl.FunctionalArchitectureModelImpl Model}' class. - * - * - * @see hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.impl.FunctionalArchitectureModelImpl - * @see hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.impl.FunctionalArchitecturePackageImpl#getFunctionalArchitectureModel() - * @generated - */ - int FUNCTIONAL_ARCHITECTURE_MODEL = 1; - - /** - * The feature id for the 'Root Elements' containment reference list. - * - * - * @generated - * @ordered - */ - int FUNCTIONAL_ARCHITECTURE_MODEL__ROOT_ELEMENTS = 0; - - /** - * The number of structural features of the 'Model' class. - * - * - * @generated - * @ordered - */ - int FUNCTIONAL_ARCHITECTURE_MODEL_FEATURE_COUNT = 1; - - /** - * The meta object id for the '{@link hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.impl.FunctionImpl Function}' class. - * - * - * @see hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.impl.FunctionImpl - * @see hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.impl.FunctionalArchitecturePackageImpl#getFunction() - * @generated - */ - int FUNCTION = 2; - - /** - * The feature id for the 'Interface' containment reference. - * - * - * @generated - * @ordered - */ - int FUNCTION__INTERFACE = FUNCTIONAL_ELEMENT__INTERFACE; - - /** - * The feature id for the 'Model' reference. - * - * - * @generated - * @ordered - */ - int FUNCTION__MODEL = FUNCTIONAL_ELEMENT__MODEL; - - /** - * The feature id for the 'Parent' container reference. - * - * - * @generated - * @ordered - */ - int FUNCTION__PARENT = FUNCTIONAL_ELEMENT__PARENT; - - /** - * The feature id for the 'Sub Elements' containment reference list. - * - * - * @generated - * @ordered - */ - int FUNCTION__SUB_ELEMENTS = FUNCTIONAL_ELEMENT_FEATURE_COUNT + 0; - - /** - * The feature id for the 'Type' attribute. - * - * - * @generated - * @ordered - */ - int FUNCTION__TYPE = FUNCTIONAL_ELEMENT_FEATURE_COUNT + 1; - - /** - * The number of structural features of the 'Function' class. - * - * - * @generated - * @ordered - */ - int FUNCTION_FEATURE_COUNT = FUNCTIONAL_ELEMENT_FEATURE_COUNT + 2; - - /** - * The meta object id for the '{@link hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.impl.FAMTerminatorImpl FAM Terminator}' class. - * - * - * @see hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.impl.FAMTerminatorImpl - * @see hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.impl.FunctionalArchitecturePackageImpl#getFAMTerminator() - * @generated - */ - int FAM_TERMINATOR = 3; - - /** - * The feature id for the 'Data' container reference. - * - * - * @generated - * @ordered - */ - int FAM_TERMINATOR__DATA = 0; - - /** - * The number of structural features of the 'FAM Terminator' class. - * - * - * @generated - * @ordered - */ - int FAM_TERMINATOR_FEATURE_COUNT = 1; - - /** - * The meta object id for the '{@link hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.impl.InformationLinkImpl Information Link}' class. - * - * - * @see hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.impl.InformationLinkImpl - * @see hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.impl.FunctionalArchitecturePackageImpl#getInformationLink() - * @generated - */ - int INFORMATION_LINK = 4; - - /** - * The feature id for the 'From' container reference. - * - * - * @generated - * @ordered - */ - int INFORMATION_LINK__FROM = 0; - - /** - * The feature id for the 'To' reference. - * - * - * @generated - * @ordered - */ - int INFORMATION_LINK__TO = 1; - - /** - * The number of structural features of the 'Information Link' class. - * - * - * @generated - * @ordered - */ - int INFORMATION_LINK_FEATURE_COUNT = 2; - - /** - * The meta object id for the '{@link hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.impl.FunctionalInterfaceImpl Functional Interface}' class. - * - * - * @see hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.impl.FunctionalInterfaceImpl - * @see hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.impl.FunctionalArchitecturePackageImpl#getFunctionalInterface() - * @generated - */ - int FUNCTIONAL_INTERFACE = 5; - - /** - * The feature id for the 'Data' containment reference list. - * - * - * @generated - * @ordered - */ - int FUNCTIONAL_INTERFACE__DATA = 0; - - /** - * The feature id for the 'Element' container reference. - * - * - * @generated - * @ordered - */ - int FUNCTIONAL_INTERFACE__ELEMENT = 1; - - /** - * The number of structural features of the 'Functional Interface' class. - * - * - * @generated - * @ordered - */ - int FUNCTIONAL_INTERFACE_FEATURE_COUNT = 2; - - /** - * The meta object id for the '{@link hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.impl.FunctionalDataImpl Functional Data}' class. - * - * - * @see hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.impl.FunctionalDataImpl - * @see hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.impl.FunctionalArchitecturePackageImpl#getFunctionalData() - * @generated - */ - int FUNCTIONAL_DATA = 8; - - /** - * The feature id for the 'Terminator' containment reference. - * - * - * @generated - * @ordered - */ - int FUNCTIONAL_DATA__TERMINATOR = 0; - - /** - * The feature id for the 'Interface' container reference. - * - * - * @generated - * @ordered - */ - int FUNCTIONAL_DATA__INTERFACE = 1; - - /** - * The number of structural features of the 'Functional Data' class. - * - * - * @generated - * @ordered - */ - int FUNCTIONAL_DATA_FEATURE_COUNT = 2; - - /** - * The meta object id for the '{@link hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.impl.FunctionalInputImpl Functional Input}' class. - * - * - * @see hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.impl.FunctionalInputImpl - * @see hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.impl.FunctionalArchitecturePackageImpl#getFunctionalInput() - * @generated - */ - int FUNCTIONAL_INPUT = 6; - - /** - * The feature id for the 'Terminator' containment reference. - * - * - * @generated - * @ordered - */ - int FUNCTIONAL_INPUT__TERMINATOR = FUNCTIONAL_DATA__TERMINATOR; - - /** - * The feature id for the 'Interface' container reference. - * - * - * @generated - * @ordered - */ - int FUNCTIONAL_INPUT__INTERFACE = FUNCTIONAL_DATA__INTERFACE; - - /** - * The feature id for the 'Incoming Links' reference list. - * - * - * @generated - * @ordered - */ - int FUNCTIONAL_INPUT__INCOMING_LINKS = FUNCTIONAL_DATA_FEATURE_COUNT + 0; - - /** - * The number of structural features of the 'Functional Input' class. - * - * - * @generated - * @ordered - */ - int FUNCTIONAL_INPUT_FEATURE_COUNT = FUNCTIONAL_DATA_FEATURE_COUNT + 1; - - /** - * The meta object id for the '{@link hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.impl.FunctionalOutputImpl Functional Output}' class. - * - * - * @see hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.impl.FunctionalOutputImpl - * @see hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.impl.FunctionalArchitecturePackageImpl#getFunctionalOutput() - * @generated - */ - int FUNCTIONAL_OUTPUT = 7; - - /** - * The feature id for the 'Terminator' containment reference. - * - * - * @generated - * @ordered - */ - int FUNCTIONAL_OUTPUT__TERMINATOR = FUNCTIONAL_DATA__TERMINATOR; - - /** - * The feature id for the 'Interface' container reference. - * - * - * @generated - * @ordered - */ - int FUNCTIONAL_OUTPUT__INTERFACE = FUNCTIONAL_DATA__INTERFACE; - - /** - * The feature id for the 'Outgoing Links' containment reference list. - * - * - * @generated - * @ordered - */ - int FUNCTIONAL_OUTPUT__OUTGOING_LINKS = FUNCTIONAL_DATA_FEATURE_COUNT + 0; - - /** - * The number of structural features of the 'Functional Output' class. - * - * - * @generated - * @ordered - */ - int FUNCTIONAL_OUTPUT_FEATURE_COUNT = FUNCTIONAL_DATA_FEATURE_COUNT + 1; - - /** - * The meta object id for the '{@link hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionType Function Type}' enum. - * - * - * @see hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionType - * @see hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.impl.FunctionalArchitecturePackageImpl#getFunctionType() - * @generated - */ - int FUNCTION_TYPE = 9; - - - /** - * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionalElement Functional Element}'. - * - * - * @return the meta object for class 'Functional Element'. - * @see hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionalElement - * @generated - */ - EClass getFunctionalElement(); - - /** - * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionalElement#getInterface Interface}'. - * - * - * @return the meta object for the containment reference 'Interface'. - * @see hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionalElement#getInterface() - * @see #getFunctionalElement() - * @generated - */ - EReference getFunctionalElement_Interface(); - - /** - * Returns the meta object for the reference '{@link hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionalElement#getModel Model}'. - * - * - * @return the meta object for the reference 'Model'. - * @see hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionalElement#getModel() - * @see #getFunctionalElement() - * @generated - */ - EReference getFunctionalElement_Model(); - - /** - * Returns the meta object for the container reference '{@link hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionalElement#getParent Parent}'. - * - * - * @return the meta object for the container reference 'Parent'. - * @see hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionalElement#getParent() - * @see #getFunctionalElement() - * @generated - */ - EReference getFunctionalElement_Parent(); - - /** - * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionalArchitectureModel Model}'. - * - * - * @return the meta object for class 'Model'. - * @see hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionalArchitectureModel - * @generated - */ - EClass getFunctionalArchitectureModel(); - - /** - * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionalArchitectureModel#getRootElements Root Elements}'. - * - * - * @return the meta object for the containment reference list 'Root Elements'. - * @see hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionalArchitectureModel#getRootElements() - * @see #getFunctionalArchitectureModel() - * @generated - */ - EReference getFunctionalArchitectureModel_RootElements(); - - /** - * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.Function Function}'. - * - * - * @return the meta object for class 'Function'. - * @see hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.Function - * @generated - */ - EClass getFunction(); - - /** - * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.Function#getSubElements Sub Elements}'. - * - * - * @return the meta object for the containment reference list 'Sub Elements'. - * @see hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.Function#getSubElements() - * @see #getFunction() - * @generated - */ - EReference getFunction_SubElements(); - - /** - * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.Function#getType Type}'. - * - * - * @return the meta object for the attribute 'Type'. - * @see hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.Function#getType() - * @see #getFunction() - * @generated - */ - EAttribute getFunction_Type(); - - /** - * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FAMTerminator FAM Terminator}'. - * - * - * @return the meta object for class 'FAM Terminator'. - * @see hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FAMTerminator - * @generated - */ - EClass getFAMTerminator(); - - /** - * Returns the meta object for the container reference '{@link hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FAMTerminator#getData Data}'. - * - * - * @return the meta object for the container reference 'Data'. - * @see hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FAMTerminator#getData() - * @see #getFAMTerminator() - * @generated - */ - EReference getFAMTerminator_Data(); - - /** - * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.InformationLink Information Link}'. - * - * - * @return the meta object for class 'Information Link'. - * @see hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.InformationLink - * @generated - */ - EClass getInformationLink(); - - /** - * Returns the meta object for the container reference '{@link hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.InformationLink#getFrom From}'. - * - * - * @return the meta object for the container reference 'From'. - * @see hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.InformationLink#getFrom() - * @see #getInformationLink() - * @generated - */ - EReference getInformationLink_From(); - - /** - * Returns the meta object for the reference '{@link hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.InformationLink#getTo To}'. - * - * - * @return the meta object for the reference 'To'. - * @see hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.InformationLink#getTo() - * @see #getInformationLink() - * @generated - */ - EReference getInformationLink_To(); - - /** - * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionalInterface Functional Interface}'. - * - * - * @return the meta object for class 'Functional Interface'. - * @see hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionalInterface - * @generated - */ - EClass getFunctionalInterface(); - - /** - * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionalInterface#getData Data}'. - * - * - * @return the meta object for the containment reference list 'Data'. - * @see hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionalInterface#getData() - * @see #getFunctionalInterface() - * @generated - */ - EReference getFunctionalInterface_Data(); - - /** - * Returns the meta object for the container reference '{@link hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionalInterface#getElement Element}'. - * - * - * @return the meta object for the container reference 'Element'. - * @see hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionalInterface#getElement() - * @see #getFunctionalInterface() - * @generated - */ - EReference getFunctionalInterface_Element(); - - /** - * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionalInput Functional Input}'. - * - * - * @return the meta object for class 'Functional Input'. - * @see hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionalInput - * @generated - */ - EClass getFunctionalInput(); - - /** - * Returns the meta object for the reference list '{@link hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionalInput#getIncomingLinks Incoming Links}'. - * - * - * @return the meta object for the reference list 'Incoming Links'. - * @see hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionalInput#getIncomingLinks() - * @see #getFunctionalInput() - * @generated - */ - EReference getFunctionalInput_IncomingLinks(); - - /** - * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionalOutput Functional Output}'. - * - * - * @return the meta object for class 'Functional Output'. - * @see hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionalOutput - * @generated - */ - EClass getFunctionalOutput(); - - /** - * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionalOutput#getOutgoingLinks Outgoing Links}'. - * - * - * @return the meta object for the containment reference list 'Outgoing Links'. - * @see hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionalOutput#getOutgoingLinks() - * @see #getFunctionalOutput() - * @generated - */ - EReference getFunctionalOutput_OutgoingLinks(); - - /** - * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionalData Functional Data}'. - * - * - * @return the meta object for class 'Functional Data'. - * @see hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionalData - * @generated - */ - EClass getFunctionalData(); - - /** - * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionalData#getTerminator Terminator}'. - * - * - * @return the meta object for the containment reference 'Terminator'. - * @see hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionalData#getTerminator() - * @see #getFunctionalData() - * @generated - */ - EReference getFunctionalData_Terminator(); - - /** - * Returns the meta object for the container reference '{@link hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionalData#getInterface Interface}'. - * - * - * @return the meta object for the container reference 'Interface'. - * @see hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionalData#getInterface() - * @see #getFunctionalData() - * @generated - */ - EReference getFunctionalData_Interface(); - - /** - * Returns the meta object for enum '{@link hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionType Function Type}'. - * - * - * @return the meta object for enum 'Function Type'. - * @see hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionType - * @generated - */ - EEnum getFunctionType(); - - /** - * Returns the factory that creates the instances of the model. - * - * - * @return the factory that creates the instances of the model. - * @generated - */ - FunctionalArchitectureFactory getFunctionalArchitectureFactory(); - - /** - * - * Defines literals for the meta objects that represent - *
    - *
  • each class,
  • - *
  • each feature of each class,
  • - *
  • each enum,
  • - *
  • and each data type
  • - *
- * - * @generated - */ - interface Literals { - /** - * The meta object literal for the '{@link hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.impl.FunctionalElementImpl Functional Element}' class. - * - * - * @see hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.impl.FunctionalElementImpl - * @see hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.impl.FunctionalArchitecturePackageImpl#getFunctionalElement() - * @generated - */ - EClass FUNCTIONAL_ELEMENT = eINSTANCE.getFunctionalElement(); - - /** - * The meta object literal for the 'Interface' containment reference feature. - * - * - * @generated - */ - EReference FUNCTIONAL_ELEMENT__INTERFACE = eINSTANCE.getFunctionalElement_Interface(); - - /** - * The meta object literal for the 'Model' reference feature. - * - * - * @generated - */ - EReference FUNCTIONAL_ELEMENT__MODEL = eINSTANCE.getFunctionalElement_Model(); - - /** - * The meta object literal for the 'Parent' container reference feature. - * - * - * @generated - */ - EReference FUNCTIONAL_ELEMENT__PARENT = eINSTANCE.getFunctionalElement_Parent(); - - /** - * The meta object literal for the '{@link hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.impl.FunctionalArchitectureModelImpl Model}' class. - * - * - * @see hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.impl.FunctionalArchitectureModelImpl - * @see hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.impl.FunctionalArchitecturePackageImpl#getFunctionalArchitectureModel() - * @generated - */ - EClass FUNCTIONAL_ARCHITECTURE_MODEL = eINSTANCE.getFunctionalArchitectureModel(); - - /** - * The meta object literal for the 'Root Elements' containment reference list feature. - * - * - * @generated - */ - EReference FUNCTIONAL_ARCHITECTURE_MODEL__ROOT_ELEMENTS = eINSTANCE.getFunctionalArchitectureModel_RootElements(); - - /** - * The meta object literal for the '{@link hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.impl.FunctionImpl Function}' class. - * - * - * @see hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.impl.FunctionImpl - * @see hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.impl.FunctionalArchitecturePackageImpl#getFunction() - * @generated - */ - EClass FUNCTION = eINSTANCE.getFunction(); - - /** - * The meta object literal for the 'Sub Elements' containment reference list feature. - * - * - * @generated - */ - EReference FUNCTION__SUB_ELEMENTS = eINSTANCE.getFunction_SubElements(); - - /** - * The meta object literal for the 'Type' attribute feature. - * - * - * @generated - */ - EAttribute FUNCTION__TYPE = eINSTANCE.getFunction_Type(); - - /** - * The meta object literal for the '{@link hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.impl.FAMTerminatorImpl FAM Terminator}' class. - * - * - * @see hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.impl.FAMTerminatorImpl - * @see hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.impl.FunctionalArchitecturePackageImpl#getFAMTerminator() - * @generated - */ - EClass FAM_TERMINATOR = eINSTANCE.getFAMTerminator(); - - /** - * The meta object literal for the 'Data' container reference feature. - * - * - * @generated - */ - EReference FAM_TERMINATOR__DATA = eINSTANCE.getFAMTerminator_Data(); - - /** - * The meta object literal for the '{@link hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.impl.InformationLinkImpl Information Link}' class. - * - * - * @see hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.impl.InformationLinkImpl - * @see hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.impl.FunctionalArchitecturePackageImpl#getInformationLink() - * @generated - */ - EClass INFORMATION_LINK = eINSTANCE.getInformationLink(); - - /** - * The meta object literal for the 'From' container reference feature. - * - * - * @generated - */ - EReference INFORMATION_LINK__FROM = eINSTANCE.getInformationLink_From(); - - /** - * The meta object literal for the 'To' reference feature. - * - * - * @generated - */ - EReference INFORMATION_LINK__TO = eINSTANCE.getInformationLink_To(); - - /** - * The meta object literal for the '{@link hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.impl.FunctionalInterfaceImpl Functional Interface}' class. - * - * - * @see hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.impl.FunctionalInterfaceImpl - * @see hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.impl.FunctionalArchitecturePackageImpl#getFunctionalInterface() - * @generated - */ - EClass FUNCTIONAL_INTERFACE = eINSTANCE.getFunctionalInterface(); - - /** - * The meta object literal for the 'Data' containment reference list feature. - * - * - * @generated - */ - EReference FUNCTIONAL_INTERFACE__DATA = eINSTANCE.getFunctionalInterface_Data(); - - /** - * The meta object literal for the 'Element' container reference feature. - * - * - * @generated - */ - EReference FUNCTIONAL_INTERFACE__ELEMENT = eINSTANCE.getFunctionalInterface_Element(); - - /** - * The meta object literal for the '{@link hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.impl.FunctionalInputImpl Functional Input}' class. - * - * - * @see hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.impl.FunctionalInputImpl - * @see hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.impl.FunctionalArchitecturePackageImpl#getFunctionalInput() - * @generated - */ - EClass FUNCTIONAL_INPUT = eINSTANCE.getFunctionalInput(); - - /** - * The meta object literal for the 'Incoming Links' reference list feature. - * - * - * @generated - */ - EReference FUNCTIONAL_INPUT__INCOMING_LINKS = eINSTANCE.getFunctionalInput_IncomingLinks(); - - /** - * The meta object literal for the '{@link hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.impl.FunctionalOutputImpl Functional Output}' class. - * - * - * @see hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.impl.FunctionalOutputImpl - * @see hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.impl.FunctionalArchitecturePackageImpl#getFunctionalOutput() - * @generated - */ - EClass FUNCTIONAL_OUTPUT = eINSTANCE.getFunctionalOutput(); - - /** - * The meta object literal for the 'Outgoing Links' containment reference list feature. - * - * - * @generated - */ - EReference FUNCTIONAL_OUTPUT__OUTGOING_LINKS = eINSTANCE.getFunctionalOutput_OutgoingLinks(); - - /** - * The meta object literal for the '{@link hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.impl.FunctionalDataImpl Functional Data}' class. - * - * - * @see hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.impl.FunctionalDataImpl - * @see hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.impl.FunctionalArchitecturePackageImpl#getFunctionalData() - * @generated - */ - EClass FUNCTIONAL_DATA = eINSTANCE.getFunctionalData(); - - /** - * The meta object literal for the 'Terminator' containment reference feature. - * - * - * @generated - */ - EReference FUNCTIONAL_DATA__TERMINATOR = eINSTANCE.getFunctionalData_Terminator(); - - /** - * The meta object literal for the 'Interface' container reference feature. - * - * - * @generated - */ - EReference FUNCTIONAL_DATA__INTERFACE = eINSTANCE.getFunctionalData_Interface(); - - /** - * The meta object literal for the '{@link hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionType Function Type}' enum. - * - * - * @see hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionType - * @see hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.impl.FunctionalArchitecturePackageImpl#getFunctionType() - * @generated - */ - EEnum FUNCTION_TYPE = eINSTANCE.getFunctionType(); - - } - -} //FunctionalArchitecturePackage diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/ecore-gen/hu/bme/mit/inf/dslreasomer/domains/transima/fam/FunctionalArchitecture/FunctionalData.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/ecore-gen/hu/bme/mit/inf/dslreasomer/domains/transima/fam/FunctionalArchitecture/FunctionalData.java deleted file mode 100644 index 91bd82b0..00000000 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/ecore-gen/hu/bme/mit/inf/dslreasomer/domains/transima/fam/FunctionalArchitecture/FunctionalData.java +++ /dev/null @@ -1,83 +0,0 @@ -/** - */ -package hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture; - -import org.eclipse.emf.common.util.EList; - -import org.eclipse.emf.ecore.EObject; - -/** - * - * A representation of the model object 'Functional Data'. - * - * - *

- * The following features are supported: - *

- *
    - *
  • {@link hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionalData#getTerminator Terminator}
  • - *
  • {@link hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionalData#getInterface Interface}
  • - *
- * - * @see hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionalArchitecturePackage#getFunctionalData() - * @model abstract="true" - * @generated - */ -public interface FunctionalData extends EObject { - /** - * Returns the value of the 'Terminator' containment reference. - * It is bidirectional and its opposite is '{@link hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FAMTerminator#getData Data}'. - * - *

- * If the meaning of the 'Terminator' containment reference list isn't clear, - * there really should be more of a description here... - *

- * - * @return the value of the 'Terminator' containment reference. - * @see #setTerminator(FAMTerminator) - * @see hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionalArchitecturePackage#getFunctionalData_Terminator() - * @see hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FAMTerminator#getData - * @model opposite="data" containment="true" - * @generated - */ - FAMTerminator getTerminator(); - - /** - * Sets the value of the '{@link hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionalData#getTerminator Terminator}' containment reference. - * - * - * @param value the new value of the 'Terminator' containment reference. - * @see #getTerminator() - * @generated - */ - void setTerminator(FAMTerminator value); - - /** - * Returns the value of the 'Interface' container reference. - * It is bidirectional and its opposite is '{@link hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionalInterface#getData Data}'. - * - *

- * If the meaning of the 'Interface' container reference isn't clear, - * there really should be more of a description here... - *

- * - * @return the value of the 'Interface' container reference. - * @see #setInterface(FunctionalInterface) - * @see hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionalArchitecturePackage#getFunctionalData_Interface() - * @see hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionalInterface#getData - * @model opposite="data" transient="false" - * @generated - */ - FunctionalInterface getInterface(); - - /** - * Sets the value of the '{@link hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionalData#getInterface Interface}' container reference. - * - * - * @param value the new value of the 'Interface' container reference. - * @see #getInterface() - * @generated - */ - void setInterface(FunctionalInterface value); - -} // FunctionalData diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/ecore-gen/hu/bme/mit/inf/dslreasomer/domains/transima/fam/FunctionalArchitecture/FunctionalElement.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/ecore-gen/hu/bme/mit/inf/dslreasomer/domains/transima/fam/FunctionalArchitecture/FunctionalElement.java deleted file mode 100644 index 953f1d26..00000000 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/ecore-gen/hu/bme/mit/inf/dslreasomer/domains/transima/fam/FunctionalArchitecture/FunctionalElement.java +++ /dev/null @@ -1,109 +0,0 @@ -/** - */ -package hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture; - -import org.eclipse.emf.ecore.EObject; - -/** - * - * A representation of the model object 'Functional Element'. - * - * - *

- * The following features are supported: - *

- *
    - *
  • {@link hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionalElement#getInterface Interface}
  • - *
  • {@link hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionalElement#getModel Model}
  • - *
  • {@link hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionalElement#getParent Parent}
  • - *
- * - * @see hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionalArchitecturePackage#getFunctionalElement() - * @model abstract="true" - * @generated - */ -public interface FunctionalElement extends EObject { - /** - * Returns the value of the 'Interface' containment reference. - * It is bidirectional and its opposite is '{@link hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionalInterface#getElement Element}'. - * - *

- * If the meaning of the 'Interface' containment reference isn't clear, - * there really should be more of a description here... - *

- * - * @return the value of the 'Interface' containment reference. - * @see #setInterface(FunctionalInterface) - * @see hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionalArchitecturePackage#getFunctionalElement_Interface() - * @see hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionalInterface#getElement - * @model opposite="element" containment="true" - * @generated - */ - FunctionalInterface getInterface(); - - /** - * Sets the value of the '{@link hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionalElement#getInterface Interface}' containment reference. - * - * - * @param value the new value of the 'Interface' containment reference. - * @see #getInterface() - * @generated - */ - void setInterface(FunctionalInterface value); - - /** - * Returns the value of the 'Model' reference. - * - *

- * If the meaning of the 'Model' reference isn't clear, - * there really should be more of a description here... - *

- * - * @return the value of the 'Model' reference. - * @see #setModel(FunctionalArchitectureModel) - * @see hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionalArchitecturePackage#getFunctionalElement_Model() - * @model required="true" transient="true" volatile="true" derived="true" - * annotation="org.eclipse.viatra.query.querybasedfeature patternFQN='hu.bme.mit.inf.dslreasoner.domains.transima.fam.patterns.model'" - * @generated - */ - FunctionalArchitectureModel getModel(); - - /** - * Sets the value of the '{@link hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionalElement#getModel Model}' reference. - * - * - * @param value the new value of the 'Model' reference. - * @see #getModel() - * @generated - */ - void setModel(FunctionalArchitectureModel value); - - /** - * Returns the value of the 'Parent' container reference. - * It is bidirectional and its opposite is '{@link hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.Function#getSubElements Sub Elements}'. - * - *

- * If the meaning of the 'Parent' container reference isn't clear, - * there really should be more of a description here... - *

- * - * @return the value of the 'Parent' container reference. - * @see #setParent(Function) - * @see hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionalArchitecturePackage#getFunctionalElement_Parent() - * @see hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.Function#getSubElements - * @model opposite="subElements" transient="false" - * @generated - */ - Function getParent(); - - /** - * Sets the value of the '{@link hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionalElement#getParent Parent}' container reference. - * - * - * @param value the new value of the 'Parent' container reference. - * @see #getParent() - * @generated - */ - void setParent(Function value); - -} // FunctionalElement diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/ecore-gen/hu/bme/mit/inf/dslreasomer/domains/transima/fam/FunctionalArchitecture/FunctionalInput.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/ecore-gen/hu/bme/mit/inf/dslreasomer/domains/transima/fam/FunctionalArchitecture/FunctionalInput.java deleted file mode 100644 index 4a82c0d0..00000000 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/ecore-gen/hu/bme/mit/inf/dslreasomer/domains/transima/fam/FunctionalArchitecture/FunctionalInput.java +++ /dev/null @@ -1,42 +0,0 @@ -/** - */ -package hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture; - -import org.eclipse.emf.common.util.EList; - -/** - * - * A representation of the model object 'Functional Input'. - * - * - *

- * The following features are supported: - *

- *
    - *
  • {@link hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionalInput#getIncomingLinks Incoming Links}
  • - *
- * - * @see hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionalArchitecturePackage#getFunctionalInput() - * @model - * @generated - */ -public interface FunctionalInput extends FunctionalData { - /** - * Returns the value of the 'Incoming Links' reference list. - * The list contents are of type {@link hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.InformationLink}. - * It is bidirectional and its opposite is '{@link hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.InformationLink#getTo To}'. - * - *

- * If the meaning of the 'Incoming Links' reference list isn't clear, - * there really should be more of a description here... - *

- * - * @return the value of the 'Incoming Links' reference list. - * @see hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionalArchitecturePackage#getFunctionalInput_IncomingLinks() - * @see hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.InformationLink#getTo - * @model opposite="to" - * @generated - */ - EList getIncomingLinks(); - -} // FunctionalInput diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/ecore-gen/hu/bme/mit/inf/dslreasomer/domains/transima/fam/FunctionalArchitecture/FunctionalInterface.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/ecore-gen/hu/bme/mit/inf/dslreasomer/domains/transima/fam/FunctionalArchitecture/FunctionalInterface.java deleted file mode 100644 index e5b8fe48..00000000 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/ecore-gen/hu/bme/mit/inf/dslreasomer/domains/transima/fam/FunctionalArchitecture/FunctionalInterface.java +++ /dev/null @@ -1,73 +0,0 @@ -/** - */ -package hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture; - -import org.eclipse.emf.common.util.EList; - -import org.eclipse.emf.ecore.EObject; - -/** - * - * A representation of the model object 'Functional Interface'. - * - * - *

- * The following features are supported: - *

- *
    - *
  • {@link hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionalInterface#getData Data}
  • - *
  • {@link hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionalInterface#getElement Element}
  • - *
- * - * @see hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionalArchitecturePackage#getFunctionalInterface() - * @model - * @generated - */ -public interface FunctionalInterface extends EObject { - /** - * Returns the value of the 'Data' containment reference list. - * The list contents are of type {@link hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionalData}. - * It is bidirectional and its opposite is '{@link hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionalData#getInterface Interface}'. - * - *

- * If the meaning of the 'Data' containment reference list isn't clear, - * there really should be more of a description here... - *

- * - * @return the value of the 'Data' containment reference list. - * @see hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionalArchitecturePackage#getFunctionalInterface_Data() - * @see hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionalData#getInterface - * @model opposite="interface" containment="true" - * @generated - */ - EList getData(); - - /** - * Returns the value of the 'Element' container reference. - * It is bidirectional and its opposite is '{@link hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionalElement#getInterface Interface}'. - * - *

- * If the meaning of the 'Element' container reference isn't clear, - * there really should be more of a description here... - *

- * - * @return the value of the 'Element' container reference. - * @see #setElement(FunctionalElement) - * @see hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionalArchitecturePackage#getFunctionalInterface_Element() - * @see hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionalElement#getInterface - * @model opposite="interface" transient="false" - * @generated - */ - FunctionalElement getElement(); - - /** - * Sets the value of the '{@link hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionalInterface#getElement Element}' container reference. - * - * - * @param value the new value of the 'Element' container reference. - * @see #getElement() - * @generated - */ - void setElement(FunctionalElement value); - -} // FunctionalInterface diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/ecore-gen/hu/bme/mit/inf/dslreasomer/domains/transima/fam/FunctionalArchitecture/FunctionalOutput.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/ecore-gen/hu/bme/mit/inf/dslreasomer/domains/transima/fam/FunctionalArchitecture/FunctionalOutput.java deleted file mode 100644 index 3a56b1dd..00000000 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/ecore-gen/hu/bme/mit/inf/dslreasomer/domains/transima/fam/FunctionalArchitecture/FunctionalOutput.java +++ /dev/null @@ -1,42 +0,0 @@ -/** - */ -package hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture; - -import org.eclipse.emf.common.util.EList; - -/** - * - * A representation of the model object 'Functional Output'. - * - * - *

- * The following features are supported: - *

- *
    - *
  • {@link hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionalOutput#getOutgoingLinks Outgoing Links}
  • - *
- * - * @see hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionalArchitecturePackage#getFunctionalOutput() - * @model - * @generated - */ -public interface FunctionalOutput extends FunctionalData { - /** - * Returns the value of the 'Outgoing Links' containment reference list. - * The list contents are of type {@link hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.InformationLink}. - * It is bidirectional and its opposite is '{@link hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.InformationLink#getFrom From}'. - * - *

- * If the meaning of the 'Outgoing Links' containment reference list isn't clear, - * there really should be more of a description here... - *

- * - * @return the value of the 'Outgoing Links' containment reference list. - * @see hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionalArchitecturePackage#getFunctionalOutput_OutgoingLinks() - * @see hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.InformationLink#getFrom - * @model opposite="from" containment="true" - * @generated - */ - EList getOutgoingLinks(); - -} // FunctionalOutput diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/ecore-gen/hu/bme/mit/inf/dslreasomer/domains/transima/fam/FunctionalArchitecture/InformationLink.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/ecore-gen/hu/bme/mit/inf/dslreasomer/domains/transima/fam/FunctionalArchitecture/InformationLink.java deleted file mode 100644 index 29d452c3..00000000 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/ecore-gen/hu/bme/mit/inf/dslreasomer/domains/transima/fam/FunctionalArchitecture/InformationLink.java +++ /dev/null @@ -1,81 +0,0 @@ -/** - */ -package hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture; - -import org.eclipse.emf.ecore.EObject; - -/** - * - * A representation of the model object 'Information Link'. - * - * - *

- * The following features are supported: - *

- *
    - *
  • {@link hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.InformationLink#getFrom From}
  • - *
  • {@link hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.InformationLink#getTo To}
  • - *
- * - * @see hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionalArchitecturePackage#getInformationLink() - * @model - * @generated - */ -public interface InformationLink extends EObject { - /** - * Returns the value of the 'From' container reference. - * It is bidirectional and its opposite is '{@link hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionalOutput#getOutgoingLinks Outgoing Links}'. - * - *

- * If the meaning of the 'From' container reference isn't clear, - * there really should be more of a description here... - *

- * - * @return the value of the 'From' container reference. - * @see #setFrom(FunctionalOutput) - * @see hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionalArchitecturePackage#getInformationLink_From() - * @see hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionalOutput#getOutgoingLinks - * @model opposite="outgoingLinks" transient="false" - * @generated - */ - FunctionalOutput getFrom(); - - /** - * Sets the value of the '{@link hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.InformationLink#getFrom From}' container reference. - * - * - * @param value the new value of the 'From' container reference. - * @see #getFrom() - * @generated - */ - void setFrom(FunctionalOutput value); - - /** - * Returns the value of the 'To' reference. - * It is bidirectional and its opposite is '{@link hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionalInput#getIncomingLinks Incoming Links}'. - * - *

- * If the meaning of the 'To' reference isn't clear, - * there really should be more of a description here... - *

- * - * @return the value of the 'To' reference. - * @see #setTo(FunctionalInput) - * @see hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionalArchitecturePackage#getInformationLink_To() - * @see hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionalInput#getIncomingLinks - * @model opposite="IncomingLinks" required="true" - * @generated - */ - FunctionalInput getTo(); - - /** - * Sets the value of the '{@link hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.InformationLink#getTo To}' reference. - * - * - * @param value the new value of the 'To' reference. - * @see #getTo() - * @generated - */ - void setTo(FunctionalInput value); - -} // InformationLink diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/ecore-gen/hu/bme/mit/inf/dslreasomer/domains/transima/fam/FunctionalArchitecture/impl/FAMTerminatorImpl.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/ecore-gen/hu/bme/mit/inf/dslreasomer/domains/transima/fam/FunctionalArchitecture/impl/FAMTerminatorImpl.java deleted file mode 100644 index b13fbde7..00000000 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/ecore-gen/hu/bme/mit/inf/dslreasomer/domains/transima/fam/FunctionalArchitecture/impl/FAMTerminatorImpl.java +++ /dev/null @@ -1,196 +0,0 @@ -/** - */ -package hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.impl; - -import hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FAMTerminator; -import hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionalArchitecturePackage; -import hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionalData; - -import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.common.notify.NotificationChain; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; - -import org.eclipse.emf.ecore.util.EcoreUtil; - -/** - * - * An implementation of the model object 'FAM Terminator'. - * - *

- * The following features are implemented: - *

- *
    - *
  • {@link hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.impl.FAMTerminatorImpl#getData Data}
  • - *
- * - * @generated - */ -public class FAMTerminatorImpl extends MinimalEObjectImpl.Container implements FAMTerminator { - /** - * - * - * @generated - */ - protected FAMTerminatorImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return FunctionalArchitecturePackage.Literals.FAM_TERMINATOR; - } - - /** - * - * - * @generated - */ - public FunctionalData getData() { - if (eContainerFeatureID() != FunctionalArchitecturePackage.FAM_TERMINATOR__DATA) return null; - return (FunctionalData)eInternalContainer(); - } - - /** - * - * - * @generated - */ - public NotificationChain basicSetData(FunctionalData newData, NotificationChain msgs) { - msgs = eBasicSetContainer((InternalEObject)newData, FunctionalArchitecturePackage.FAM_TERMINATOR__DATA, msgs); - return msgs; - } - - /** - * - * - * @generated - */ - public void setData(FunctionalData newData) { - if (newData != eInternalContainer() || (eContainerFeatureID() != FunctionalArchitecturePackage.FAM_TERMINATOR__DATA && newData != null)) { - if (EcoreUtil.isAncestor(this, newData)) - throw new IllegalArgumentException("Recursive containment not allowed for " + toString()); - NotificationChain msgs = null; - if (eInternalContainer() != null) - msgs = eBasicRemoveFromContainer(msgs); - if (newData != null) - msgs = ((InternalEObject)newData).eInverseAdd(this, FunctionalArchitecturePackage.FUNCTIONAL_DATA__TERMINATOR, FunctionalData.class, msgs); - msgs = basicSetData(newData, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, FunctionalArchitecturePackage.FAM_TERMINATOR__DATA, newData, newData)); - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case FunctionalArchitecturePackage.FAM_TERMINATOR__DATA: - if (eInternalContainer() != null) - msgs = eBasicRemoveFromContainer(msgs); - return basicSetData((FunctionalData)otherEnd, msgs); - } - return super.eInverseAdd(otherEnd, featureID, msgs); - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case FunctionalArchitecturePackage.FAM_TERMINATOR__DATA: - return basicSetData(null, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs) { - switch (eContainerFeatureID()) { - case FunctionalArchitecturePackage.FAM_TERMINATOR__DATA: - return eInternalContainer().eInverseRemove(this, FunctionalArchitecturePackage.FUNCTIONAL_DATA__TERMINATOR, FunctionalData.class, msgs); - } - return super.eBasicRemoveFromContainerFeature(msgs); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case FunctionalArchitecturePackage.FAM_TERMINATOR__DATA: - return getData(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case FunctionalArchitecturePackage.FAM_TERMINATOR__DATA: - setData((FunctionalData)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case FunctionalArchitecturePackage.FAM_TERMINATOR__DATA: - setData((FunctionalData)null); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case FunctionalArchitecturePackage.FAM_TERMINATOR__DATA: - return getData() != null; - } - return super.eIsSet(featureID); - } - -} //FAMTerminatorImpl diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/ecore-gen/hu/bme/mit/inf/dslreasomer/domains/transima/fam/FunctionalArchitecture/impl/FunctionImpl.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/ecore-gen/hu/bme/mit/inf/dslreasomer/domains/transima/fam/FunctionalArchitecture/impl/FunctionImpl.java deleted file mode 100644 index 1b447c38..00000000 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/ecore-gen/hu/bme/mit/inf/dslreasomer/domains/transima/fam/FunctionalArchitecture/impl/FunctionImpl.java +++ /dev/null @@ -1,191 +0,0 @@ -/** - */ -package hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.impl; - -import hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.Function; -import hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionType; -import hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionalArchitecturePackage; -import hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionalElement; - -import java.util.Collection; - -import org.eclipse.emf.common.notify.NotificationChain; - -import org.eclipse.emf.common.util.EList; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EStructuralFeature; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.util.EObjectContainmentWithInverseEList; -import org.eclipse.emf.ecore.util.InternalEList; - -/** - * - * An implementation of the model object 'Function'. - * - *

- * The following features are implemented: - *

- *
    - *
  • {@link hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.impl.FunctionImpl#getSubElements Sub Elements}
  • - *
  • {@link hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.impl.FunctionImpl#getType Type}
  • - *
- * - * @generated - */ -public class FunctionImpl extends FunctionalElementImpl implements Function { - /** - * The cached value of the '{@link #getSubElements() Sub Elements}' containment reference list. - * - * - * @see #getSubElements() - * @generated - * @ordered - */ - protected EList subElements; - - /** - * The cached setting delegate for the '{@link #getType() Type}' attribute. - * - * - * @see #getType() - * @generated - * @ordered - */ - protected EStructuralFeature.Internal.SettingDelegate TYPE__ESETTING_DELEGATE = ((EStructuralFeature.Internal)FunctionalArchitecturePackage.Literals.FUNCTION__TYPE).getSettingDelegate(); - - /** - * - * - * @generated - */ - protected FunctionImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return FunctionalArchitecturePackage.Literals.FUNCTION; - } - - /** - * - * - * @generated - */ - public EList getSubElements() { - if (subElements == null) { - subElements = new EObjectContainmentWithInverseEList(FunctionalElement.class, this, FunctionalArchitecturePackage.FUNCTION__SUB_ELEMENTS, FunctionalArchitecturePackage.FUNCTIONAL_ELEMENT__PARENT); - } - return subElements; - } - - /** - * - * - * @generated - */ - public FunctionType getType() { - return (FunctionType)TYPE__ESETTING_DELEGATE.dynamicGet(this, null, 0, true, false); - } - - /** - * - * - * @generated - */ - @SuppressWarnings("unchecked") - @Override - public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case FunctionalArchitecturePackage.FUNCTION__SUB_ELEMENTS: - return ((InternalEList)(InternalEList)getSubElements()).basicAdd(otherEnd, msgs); - } - return super.eInverseAdd(otherEnd, featureID, msgs); - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case FunctionalArchitecturePackage.FUNCTION__SUB_ELEMENTS: - return ((InternalEList)getSubElements()).basicRemove(otherEnd, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case FunctionalArchitecturePackage.FUNCTION__SUB_ELEMENTS: - return getSubElements(); - case FunctionalArchitecturePackage.FUNCTION__TYPE: - return getType(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @SuppressWarnings("unchecked") - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case FunctionalArchitecturePackage.FUNCTION__SUB_ELEMENTS: - getSubElements().clear(); - getSubElements().addAll((Collection)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case FunctionalArchitecturePackage.FUNCTION__SUB_ELEMENTS: - getSubElements().clear(); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case FunctionalArchitecturePackage.FUNCTION__SUB_ELEMENTS: - return subElements != null && !subElements.isEmpty(); - case FunctionalArchitecturePackage.FUNCTION__TYPE: - return TYPE__ESETTING_DELEGATE.dynamicIsSet(this, null, 0); - } - return super.eIsSet(featureID); - } - -} //FunctionImpl diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/ecore-gen/hu/bme/mit/inf/dslreasomer/domains/transima/fam/FunctionalArchitecture/impl/FunctionalArchitectureFactoryImpl.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/ecore-gen/hu/bme/mit/inf/dslreasomer/domains/transima/fam/FunctionalArchitecture/impl/FunctionalArchitectureFactoryImpl.java deleted file mode 100644 index b47f7c58..00000000 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/ecore-gen/hu/bme/mit/inf/dslreasomer/domains/transima/fam/FunctionalArchitecture/impl/FunctionalArchitectureFactoryImpl.java +++ /dev/null @@ -1,213 +0,0 @@ -/** - */ -package hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.impl; - -import hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.*; -import hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionalInterface; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EDataType; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.ecore.EPackage; - -import org.eclipse.emf.ecore.impl.EFactoryImpl; - -import org.eclipse.emf.ecore.plugin.EcorePlugin; - -/** - * - * An implementation of the model Factory. - * - * @generated - */ -public class FunctionalArchitectureFactoryImpl extends EFactoryImpl implements FunctionalArchitectureFactory { - /** - * Creates the default factory implementation. - * - * - * @generated - */ - public static FunctionalArchitectureFactory init() { - try { - FunctionalArchitectureFactory theFunctionalArchitectureFactory = (FunctionalArchitectureFactory)EPackage.Registry.INSTANCE.getEFactory(FunctionalArchitecturePackage.eNS_URI); - if (theFunctionalArchitectureFactory != null) { - return theFunctionalArchitectureFactory; - } - } - catch (Exception exception) { - EcorePlugin.INSTANCE.log(exception); - } - return new FunctionalArchitectureFactoryImpl(); - } - - /** - * Creates an instance of the factory. - * - * - * @generated - */ - public FunctionalArchitectureFactoryImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - public EObject create(EClass eClass) { - switch (eClass.getClassifierID()) { - case FunctionalArchitecturePackage.FUNCTIONAL_ARCHITECTURE_MODEL: return createFunctionalArchitectureModel(); - case FunctionalArchitecturePackage.FUNCTION: return createFunction(); - case FunctionalArchitecturePackage.FAM_TERMINATOR: return createFAMTerminator(); - case FunctionalArchitecturePackage.INFORMATION_LINK: return createInformationLink(); - case FunctionalArchitecturePackage.FUNCTIONAL_INTERFACE: return createFunctionalInterface(); - case FunctionalArchitecturePackage.FUNCTIONAL_INPUT: return createFunctionalInput(); - case FunctionalArchitecturePackage.FUNCTIONAL_OUTPUT: return createFunctionalOutput(); - default: - throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); - } - } - - /** - * - * - * @generated - */ - @Override - public Object createFromString(EDataType eDataType, String initialValue) { - switch (eDataType.getClassifierID()) { - case FunctionalArchitecturePackage.FUNCTION_TYPE: - return createFunctionTypeFromString(eDataType, initialValue); - default: - throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); - } - } - - /** - * - * - * @generated - */ - @Override - public String convertToString(EDataType eDataType, Object instanceValue) { - switch (eDataType.getClassifierID()) { - case FunctionalArchitecturePackage.FUNCTION_TYPE: - return convertFunctionTypeToString(eDataType, instanceValue); - default: - throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); - } - } - - /** - * - * - * @generated - */ - public FunctionalArchitectureModel createFunctionalArchitectureModel() { - FunctionalArchitectureModelImpl functionalArchitectureModel = new FunctionalArchitectureModelImpl(); - return functionalArchitectureModel; - } - - /** - * - * - * @generated - */ - public Function createFunction() { - FunctionImpl function = new FunctionImpl(); - return function; - } - - /** - * - * - * @generated - */ - public FAMTerminator createFAMTerminator() { - FAMTerminatorImpl famTerminator = new FAMTerminatorImpl(); - return famTerminator; - } - - /** - * - * - * @generated - */ - public InformationLink createInformationLink() { - InformationLinkImpl informationLink = new InformationLinkImpl(); - return informationLink; - } - - /** - * - * - * @generated - */ - public FunctionalInterface createFunctionalInterface() { - FunctionalInterfaceImpl functionalInterface = new FunctionalInterfaceImpl(); - return functionalInterface; - } - - /** - * - * - * @generated - */ - public FunctionalInput createFunctionalInput() { - FunctionalInputImpl functionalInput = new FunctionalInputImpl(); - return functionalInput; - } - - /** - * - * - * @generated - */ - public FunctionalOutput createFunctionalOutput() { - FunctionalOutputImpl functionalOutput = new FunctionalOutputImpl(); - return functionalOutput; - } - - /** - * - * - * @generated - */ - public FunctionType createFunctionTypeFromString(EDataType eDataType, String initialValue) { - FunctionType result = FunctionType.get(initialValue); - if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); - return result; - } - - /** - * - * - * @generated - */ - public String convertFunctionTypeToString(EDataType eDataType, Object instanceValue) { - return instanceValue == null ? null : instanceValue.toString(); - } - - /** - * - * - * @generated - */ - public FunctionalArchitecturePackage getFunctionalArchitecturePackage() { - return (FunctionalArchitecturePackage)getEPackage(); - } - - /** - * - * - * @deprecated - * @generated - */ - @Deprecated - public static FunctionalArchitecturePackage getPackage() { - return FunctionalArchitecturePackage.eINSTANCE; - } - -} //FunctionalArchitectureFactoryImpl diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/ecore-gen/hu/bme/mit/inf/dslreasomer/domains/transima/fam/FunctionalArchitecture/impl/FunctionalArchitectureModelImpl.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/ecore-gen/hu/bme/mit/inf/dslreasomer/domains/transima/fam/FunctionalArchitecture/impl/FunctionalArchitectureModelImpl.java deleted file mode 100644 index 1f5f8232..00000000 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/ecore-gen/hu/bme/mit/inf/dslreasomer/domains/transima/fam/FunctionalArchitecture/impl/FunctionalArchitectureModelImpl.java +++ /dev/null @@ -1,152 +0,0 @@ -/** - */ -package hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.impl; - -import hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionalArchitectureModel; -import hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionalArchitecturePackage; -import hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionalElement; - -import java.util.Collection; - -import org.eclipse.emf.common.notify.NotificationChain; - -import org.eclipse.emf.common.util.EList; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; - -import org.eclipse.emf.ecore.util.EObjectContainmentEList; -import org.eclipse.emf.ecore.util.InternalEList; - -/** - * - * An implementation of the model object 'Model'. - * - *

- * The following features are implemented: - *

- *
    - *
  • {@link hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.impl.FunctionalArchitectureModelImpl#getRootElements Root Elements}
  • - *
- * - * @generated - */ -public class FunctionalArchitectureModelImpl extends MinimalEObjectImpl.Container implements FunctionalArchitectureModel { - /** - * The cached value of the '{@link #getRootElements() Root Elements}' containment reference list. - * - * - * @see #getRootElements() - * @generated - * @ordered - */ - protected EList rootElements; - - /** - * - * - * @generated - */ - protected FunctionalArchitectureModelImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return FunctionalArchitecturePackage.Literals.FUNCTIONAL_ARCHITECTURE_MODEL; - } - - /** - * - * - * @generated - */ - public EList getRootElements() { - if (rootElements == null) { - rootElements = new EObjectContainmentEList(FunctionalElement.class, this, FunctionalArchitecturePackage.FUNCTIONAL_ARCHITECTURE_MODEL__ROOT_ELEMENTS); - } - return rootElements; - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case FunctionalArchitecturePackage.FUNCTIONAL_ARCHITECTURE_MODEL__ROOT_ELEMENTS: - return ((InternalEList)getRootElements()).basicRemove(otherEnd, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case FunctionalArchitecturePackage.FUNCTIONAL_ARCHITECTURE_MODEL__ROOT_ELEMENTS: - return getRootElements(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @SuppressWarnings("unchecked") - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case FunctionalArchitecturePackage.FUNCTIONAL_ARCHITECTURE_MODEL__ROOT_ELEMENTS: - getRootElements().clear(); - getRootElements().addAll((Collection)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case FunctionalArchitecturePackage.FUNCTIONAL_ARCHITECTURE_MODEL__ROOT_ELEMENTS: - getRootElements().clear(); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case FunctionalArchitecturePackage.FUNCTIONAL_ARCHITECTURE_MODEL__ROOT_ELEMENTS: - return rootElements != null && !rootElements.isEmpty(); - } - return super.eIsSet(featureID); - } - -} //FunctionalArchitectureModelImpl diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/ecore-gen/hu/bme/mit/inf/dslreasomer/domains/transima/fam/FunctionalArchitecture/impl/FunctionalArchitecturePackageImpl.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/ecore-gen/hu/bme/mit/inf/dslreasomer/domains/transima/fam/FunctionalArchitecture/impl/FunctionalArchitecturePackageImpl.java deleted file mode 100644 index 564e54c0..00000000 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/ecore-gen/hu/bme/mit/inf/dslreasomer/domains/transima/fam/FunctionalArchitecture/impl/FunctionalArchitecturePackageImpl.java +++ /dev/null @@ -1,574 +0,0 @@ -/** - */ -package hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.impl; - -import hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FAMTerminator; -import hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.Function; -import hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionType; -import hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionalArchitectureFactory; -import hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionalArchitectureModel; -import hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionalArchitecturePackage; -import hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionalData; -import hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionalElement; -import hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionalInput; -import hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionalInterface; -import hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionalOutput; -import hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.InformationLink; - -import org.eclipse.emf.ecore.EAttribute; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EEnum; -import org.eclipse.emf.ecore.EPackage; -import org.eclipse.emf.ecore.EReference; - -import org.eclipse.emf.ecore.impl.EPackageImpl; - -/** - * - * An implementation of the model Package. - * - * @generated - */ -public class FunctionalArchitecturePackageImpl extends EPackageImpl implements FunctionalArchitecturePackage { - /** - * - * - * @generated - */ - private EClass functionalElementEClass = null; - - /** - * - * - * @generated - */ - private EClass functionalArchitectureModelEClass = null; - - /** - * - * - * @generated - */ - private EClass functionEClass = null; - - /** - * - * - * @generated - */ - private EClass famTerminatorEClass = null; - - /** - * - * - * @generated - */ - private EClass informationLinkEClass = null; - - /** - * - * - * @generated - */ - private EClass functionalInterfaceEClass = null; - - /** - * - * - * @generated - */ - private EClass functionalInputEClass = null; - - /** - * - * - * @generated - */ - private EClass functionalOutputEClass = null; - - /** - * - * - * @generated - */ - private EClass functionalDataEClass = null; - - /** - * - * - * @generated - */ - private EEnum functionTypeEEnum = null; - - /** - * Creates an instance of the model Package, registered with - * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package - * package URI value. - *

Note: the correct way to create the package is via the static - * factory method {@link #init init()}, which also performs - * initialization of the package, or returns the registered package, - * if one already exists. - * - * - * @see org.eclipse.emf.ecore.EPackage.Registry - * @see hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionalArchitecturePackage#eNS_URI - * @see #init() - * @generated - */ - private FunctionalArchitecturePackageImpl() { - super(eNS_URI, FunctionalArchitectureFactory.eINSTANCE); - } - - /** - * - * - * @generated - */ - private static boolean isInited = false; - - /** - * Creates, registers, and initializes the Package for this model, and for any others upon which it depends. - * - *

This method is used to initialize {@link FunctionalArchitecturePackage#eINSTANCE} when that field is accessed. - * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. - * - * - * @see #eNS_URI - * @see #createPackageContents() - * @see #initializePackageContents() - * @generated - */ - public static FunctionalArchitecturePackage init() { - if (isInited) return (FunctionalArchitecturePackage)EPackage.Registry.INSTANCE.getEPackage(FunctionalArchitecturePackage.eNS_URI); - - // Obtain or create and register package - FunctionalArchitecturePackageImpl theFunctionalArchitecturePackage = (FunctionalArchitecturePackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof FunctionalArchitecturePackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new FunctionalArchitecturePackageImpl()); - - isInited = true; - - // Create package meta-data objects - theFunctionalArchitecturePackage.createPackageContents(); - - // Initialize created meta-data - theFunctionalArchitecturePackage.initializePackageContents(); - - // Mark meta-data to indicate it can't be changed - theFunctionalArchitecturePackage.freeze(); - - - // Update the registry and return the package - EPackage.Registry.INSTANCE.put(FunctionalArchitecturePackage.eNS_URI, theFunctionalArchitecturePackage); - return theFunctionalArchitecturePackage; - } - - /** - * - * - * @generated - */ - public EClass getFunctionalElement() { - return functionalElementEClass; - } - - /** - * - * - * @generated - */ - public EReference getFunctionalElement_Interface() { - return (EReference)functionalElementEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - public EReference getFunctionalElement_Model() { - return (EReference)functionalElementEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - public EReference getFunctionalElement_Parent() { - return (EReference)functionalElementEClass.getEStructuralFeatures().get(2); - } - - /** - * - * - * @generated - */ - public EClass getFunctionalArchitectureModel() { - return functionalArchitectureModelEClass; - } - - /** - * - * - * @generated - */ - public EReference getFunctionalArchitectureModel_RootElements() { - return (EReference)functionalArchitectureModelEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - public EClass getFunction() { - return functionEClass; - } - - /** - * - * - * @generated - */ - public EReference getFunction_SubElements() { - return (EReference)functionEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - public EAttribute getFunction_Type() { - return (EAttribute)functionEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - public EClass getFAMTerminator() { - return famTerminatorEClass; - } - - /** - * - * - * @generated - */ - public EReference getFAMTerminator_Data() { - return (EReference)famTerminatorEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - public EClass getInformationLink() { - return informationLinkEClass; - } - - /** - * - * - * @generated - */ - public EReference getInformationLink_From() { - return (EReference)informationLinkEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - public EReference getInformationLink_To() { - return (EReference)informationLinkEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - public EClass getFunctionalInterface() { - return functionalInterfaceEClass; - } - - /** - * - * - * @generated - */ - public EReference getFunctionalInterface_Data() { - return (EReference)functionalInterfaceEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - public EReference getFunctionalInterface_Element() { - return (EReference)functionalInterfaceEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - public EClass getFunctionalInput() { - return functionalInputEClass; - } - - /** - * - * - * @generated - */ - public EReference getFunctionalInput_IncomingLinks() { - return (EReference)functionalInputEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - public EClass getFunctionalOutput() { - return functionalOutputEClass; - } - - /** - * - * - * @generated - */ - public EReference getFunctionalOutput_OutgoingLinks() { - return (EReference)functionalOutputEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - public EClass getFunctionalData() { - return functionalDataEClass; - } - - /** - * - * - * @generated - */ - public EReference getFunctionalData_Terminator() { - return (EReference)functionalDataEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - public EReference getFunctionalData_Interface() { - return (EReference)functionalDataEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - public EEnum getFunctionType() { - return functionTypeEEnum; - } - - /** - * - * - * @generated - */ - public FunctionalArchitectureFactory getFunctionalArchitectureFactory() { - return (FunctionalArchitectureFactory)getEFactoryInstance(); - } - - /** - * - * - * @generated - */ - private boolean isCreated = false; - - /** - * Creates the meta-model objects for the package. This method is - * guarded to have no affect on any invocation but its first. - * - * - * @generated - */ - public void createPackageContents() { - if (isCreated) return; - isCreated = true; - - // Create classes and their features - functionalElementEClass = createEClass(FUNCTIONAL_ELEMENT); - createEReference(functionalElementEClass, FUNCTIONAL_ELEMENT__INTERFACE); - createEReference(functionalElementEClass, FUNCTIONAL_ELEMENT__MODEL); - createEReference(functionalElementEClass, FUNCTIONAL_ELEMENT__PARENT); - - functionalArchitectureModelEClass = createEClass(FUNCTIONAL_ARCHITECTURE_MODEL); - createEReference(functionalArchitectureModelEClass, FUNCTIONAL_ARCHITECTURE_MODEL__ROOT_ELEMENTS); - - functionEClass = createEClass(FUNCTION); - createEReference(functionEClass, FUNCTION__SUB_ELEMENTS); - createEAttribute(functionEClass, FUNCTION__TYPE); - - famTerminatorEClass = createEClass(FAM_TERMINATOR); - createEReference(famTerminatorEClass, FAM_TERMINATOR__DATA); - - informationLinkEClass = createEClass(INFORMATION_LINK); - createEReference(informationLinkEClass, INFORMATION_LINK__FROM); - createEReference(informationLinkEClass, INFORMATION_LINK__TO); - - functionalInterfaceEClass = createEClass(FUNCTIONAL_INTERFACE); - createEReference(functionalInterfaceEClass, FUNCTIONAL_INTERFACE__DATA); - createEReference(functionalInterfaceEClass, FUNCTIONAL_INTERFACE__ELEMENT); - - functionalInputEClass = createEClass(FUNCTIONAL_INPUT); - createEReference(functionalInputEClass, FUNCTIONAL_INPUT__INCOMING_LINKS); - - functionalOutputEClass = createEClass(FUNCTIONAL_OUTPUT); - createEReference(functionalOutputEClass, FUNCTIONAL_OUTPUT__OUTGOING_LINKS); - - functionalDataEClass = createEClass(FUNCTIONAL_DATA); - createEReference(functionalDataEClass, FUNCTIONAL_DATA__TERMINATOR); - createEReference(functionalDataEClass, FUNCTIONAL_DATA__INTERFACE); - - // Create enums - functionTypeEEnum = createEEnum(FUNCTION_TYPE); - } - - /** - * - * - * @generated - */ - private boolean isInitialized = false; - - /** - * Complete the initialization of the package and its meta-model. This - * method is guarded to have no affect on any invocation but its first. - * - * - * @generated - */ - public void initializePackageContents() { - if (isInitialized) return; - isInitialized = true; - - // Initialize package - setName(eNAME); - setNsPrefix(eNS_PREFIX); - setNsURI(eNS_URI); - - // Create type parameters - - // Set bounds for type parameters - - // Add supertypes to classes - functionEClass.getESuperTypes().add(this.getFunctionalElement()); - functionalInputEClass.getESuperTypes().add(this.getFunctionalData()); - functionalOutputEClass.getESuperTypes().add(this.getFunctionalData()); - - // Initialize classes and features; add operations and parameters - initEClass(functionalElementEClass, FunctionalElement.class, "FunctionalElement", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getFunctionalElement_Interface(), this.getFunctionalInterface(), this.getFunctionalInterface_Element(), "interface", null, 0, 1, FunctionalElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getFunctionalElement_Model(), this.getFunctionalArchitectureModel(), null, "model", null, 1, 1, FunctionalElement.class, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED); - initEReference(getFunctionalElement_Parent(), this.getFunction(), this.getFunction_SubElements(), "parent", null, 0, 1, FunctionalElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(functionalArchitectureModelEClass, FunctionalArchitectureModel.class, "FunctionalArchitectureModel", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getFunctionalArchitectureModel_RootElements(), this.getFunctionalElement(), null, "rootElements", null, 0, -1, FunctionalArchitectureModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(functionEClass, Function.class, "Function", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getFunction_SubElements(), this.getFunctionalElement(), this.getFunctionalElement_Parent(), "subElements", null, 0, -1, Function.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getFunction_Type(), this.getFunctionType(), "type", null, 1, 1, Function.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, IS_DERIVED, IS_ORDERED); - - initEClass(famTerminatorEClass, FAMTerminator.class, "FAMTerminator", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getFAMTerminator_Data(), this.getFunctionalData(), this.getFunctionalData_Terminator(), "data", null, 0, 1, FAMTerminator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(informationLinkEClass, InformationLink.class, "InformationLink", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getInformationLink_From(), this.getFunctionalOutput(), this.getFunctionalOutput_OutgoingLinks(), "from", null, 0, 1, InformationLink.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getInformationLink_To(), this.getFunctionalInput(), this.getFunctionalInput_IncomingLinks(), "to", null, 1, 1, InformationLink.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(functionalInterfaceEClass, FunctionalInterface.class, "FunctionalInterface", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getFunctionalInterface_Data(), this.getFunctionalData(), this.getFunctionalData_Interface(), "data", null, 0, -1, FunctionalInterface.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getFunctionalInterface_Element(), this.getFunctionalElement(), this.getFunctionalElement_Interface(), "element", null, 0, 1, FunctionalInterface.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(functionalInputEClass, FunctionalInput.class, "FunctionalInput", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getFunctionalInput_IncomingLinks(), this.getInformationLink(), this.getInformationLink_To(), "IncomingLinks", null, 0, -1, FunctionalInput.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(functionalOutputEClass, FunctionalOutput.class, "FunctionalOutput", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getFunctionalOutput_OutgoingLinks(), this.getInformationLink(), this.getInformationLink_From(), "outgoingLinks", null, 0, -1, FunctionalOutput.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(functionalDataEClass, FunctionalData.class, "FunctionalData", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getFunctionalData_Terminator(), this.getFAMTerminator(), this.getFAMTerminator_Data(), "terminator", null, 0, 1, FunctionalData.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getFunctionalData_Interface(), this.getFunctionalInterface(), this.getFunctionalInterface_Data(), "interface", null, 0, 1, FunctionalData.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - // Initialize enums and add enum literals - initEEnum(functionTypeEEnum, FunctionType.class, "FunctionType"); - addEEnumLiteral(functionTypeEEnum, FunctionType.ROOT); - addEEnumLiteral(functionTypeEEnum, FunctionType.INTERMEDIATE); - addEEnumLiteral(functionTypeEEnum, FunctionType.LEAF); - - // Create resource - createResource(eNS_URI); - - // Create annotations - // http://www.eclipse.org/emf/2002/Ecore - createEcoreAnnotations(); - // org.eclipse.viatra.query.querybasedfeature - createOrgAnnotations(); - } - - /** - * Initializes the annotations for http://www.eclipse.org/emf/2002/Ecore. - * - * - * @generated - */ - protected void createEcoreAnnotations() { - String source = "http://www.eclipse.org/emf/2002/Ecore"; - addAnnotation - (this, - source, - new String[] { - "settingDelegates", "org.eclipse.viatra.query.querybasedfeature" - }); - } - - /** - * Initializes the annotations for org.eclipse.viatra.query.querybasedfeature. - * - * - * @generated - */ - protected void createOrgAnnotations() { - String source = "org.eclipse.viatra.query.querybasedfeature"; - addAnnotation - (getFunctionalElement_Model(), - source, - new String[] { - "patternFQN", "hu.bme.mit.inf.dslreasoner.domains.transima.fam.patterns.model" - }); - addAnnotation - (getFunction_Type(), - source, - new String[] { - "patternFQN", "hu.bme.mit.inf.dslreasoner.domains.transima.fam.patterns.type" - }); - } - -} //FunctionalArchitecturePackageImpl diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/ecore-gen/hu/bme/mit/inf/dslreasomer/domains/transima/fam/FunctionalArchitecture/impl/FunctionalDataImpl.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/ecore-gen/hu/bme/mit/inf/dslreasomer/domains/transima/fam/FunctionalArchitecture/impl/FunctionalDataImpl.java deleted file mode 100644 index 8c04ed53..00000000 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/ecore-gen/hu/bme/mit/inf/dslreasomer/domains/transima/fam/FunctionalArchitecture/impl/FunctionalDataImpl.java +++ /dev/null @@ -1,275 +0,0 @@ -/** - */ -package hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.impl; - -import hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FAMTerminator; -import hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionalArchitecturePackage; -import hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionalData; -import hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionalInterface; - -import java.util.Collection; - -import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.common.notify.NotificationChain; - -import org.eclipse.emf.common.util.EList; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; - -import org.eclipse.emf.ecore.util.EObjectContainmentWithInverseEList; -import org.eclipse.emf.ecore.util.EcoreUtil; -import org.eclipse.emf.ecore.util.InternalEList; - -/** - * - * An implementation of the model object 'Functional Data'. - * - *

- * The following features are implemented: - *

- *
    - *
  • {@link hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.impl.FunctionalDataImpl#getTerminator Terminator}
  • - *
  • {@link hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.impl.FunctionalDataImpl#getInterface Interface}
  • - *
- * - * @generated - */ -public abstract class FunctionalDataImpl extends MinimalEObjectImpl.Container implements FunctionalData { - /** - * The cached value of the '{@link #getTerminator() Terminator}' containment reference. - * - * - * @see #getTerminator() - * @generated - * @ordered - */ - protected FAMTerminator terminator; - - /** - * - * - * @generated - */ - protected FunctionalDataImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return FunctionalArchitecturePackage.Literals.FUNCTIONAL_DATA; - } - - /** - * - * - * @generated - */ - public FAMTerminator getTerminator() { - return terminator; - } - - /** - * - * - * @generated - */ - public NotificationChain basicSetTerminator(FAMTerminator newTerminator, NotificationChain msgs) { - FAMTerminator oldTerminator = terminator; - terminator = newTerminator; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, FunctionalArchitecturePackage.FUNCTIONAL_DATA__TERMINATOR, oldTerminator, newTerminator); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * - * - * @generated - */ - public void setTerminator(FAMTerminator newTerminator) { - if (newTerminator != terminator) { - NotificationChain msgs = null; - if (terminator != null) - msgs = ((InternalEObject)terminator).eInverseRemove(this, FunctionalArchitecturePackage.FAM_TERMINATOR__DATA, FAMTerminator.class, msgs); - if (newTerminator != null) - msgs = ((InternalEObject)newTerminator).eInverseAdd(this, FunctionalArchitecturePackage.FAM_TERMINATOR__DATA, FAMTerminator.class, msgs); - msgs = basicSetTerminator(newTerminator, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, FunctionalArchitecturePackage.FUNCTIONAL_DATA__TERMINATOR, newTerminator, newTerminator)); - } - - /** - * - * - * @generated - */ - public FunctionalInterface getInterface() { - if (eContainerFeatureID() != FunctionalArchitecturePackage.FUNCTIONAL_DATA__INTERFACE) return null; - return (FunctionalInterface)eInternalContainer(); - } - - /** - * - * - * @generated - */ - public NotificationChain basicSetInterface(FunctionalInterface newInterface, NotificationChain msgs) { - msgs = eBasicSetContainer((InternalEObject)newInterface, FunctionalArchitecturePackage.FUNCTIONAL_DATA__INTERFACE, msgs); - return msgs; - } - - /** - * - * - * @generated - */ - public void setInterface(FunctionalInterface newInterface) { - if (newInterface != eInternalContainer() || (eContainerFeatureID() != FunctionalArchitecturePackage.FUNCTIONAL_DATA__INTERFACE && newInterface != null)) { - if (EcoreUtil.isAncestor(this, newInterface)) - throw new IllegalArgumentException("Recursive containment not allowed for " + toString()); - NotificationChain msgs = null; - if (eInternalContainer() != null) - msgs = eBasicRemoveFromContainer(msgs); - if (newInterface != null) - msgs = ((InternalEObject)newInterface).eInverseAdd(this, FunctionalArchitecturePackage.FUNCTIONAL_INTERFACE__DATA, FunctionalInterface.class, msgs); - msgs = basicSetInterface(newInterface, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, FunctionalArchitecturePackage.FUNCTIONAL_DATA__INTERFACE, newInterface, newInterface)); - } - - /** - * - * - * @generated - */ - @SuppressWarnings("unchecked") - @Override - public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case FunctionalArchitecturePackage.FUNCTIONAL_DATA__TERMINATOR: - if (terminator != null) - msgs = ((InternalEObject)terminator).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - FunctionalArchitecturePackage.FUNCTIONAL_DATA__TERMINATOR, null, msgs); - return basicSetTerminator((FAMTerminator)otherEnd, msgs); - case FunctionalArchitecturePackage.FUNCTIONAL_DATA__INTERFACE: - if (eInternalContainer() != null) - msgs = eBasicRemoveFromContainer(msgs); - return basicSetInterface((FunctionalInterface)otherEnd, msgs); - } - return super.eInverseAdd(otherEnd, featureID, msgs); - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case FunctionalArchitecturePackage.FUNCTIONAL_DATA__TERMINATOR: - return basicSetTerminator(null, msgs); - case FunctionalArchitecturePackage.FUNCTIONAL_DATA__INTERFACE: - return basicSetInterface(null, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs) { - switch (eContainerFeatureID()) { - case FunctionalArchitecturePackage.FUNCTIONAL_DATA__INTERFACE: - return eInternalContainer().eInverseRemove(this, FunctionalArchitecturePackage.FUNCTIONAL_INTERFACE__DATA, FunctionalInterface.class, msgs); - } - return super.eBasicRemoveFromContainerFeature(msgs); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case FunctionalArchitecturePackage.FUNCTIONAL_DATA__TERMINATOR: - return getTerminator(); - case FunctionalArchitecturePackage.FUNCTIONAL_DATA__INTERFACE: - return getInterface(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @SuppressWarnings("unchecked") - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case FunctionalArchitecturePackage.FUNCTIONAL_DATA__TERMINATOR: - setTerminator((FAMTerminator)newValue); - return; - case FunctionalArchitecturePackage.FUNCTIONAL_DATA__INTERFACE: - setInterface((FunctionalInterface)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case FunctionalArchitecturePackage.FUNCTIONAL_DATA__TERMINATOR: - setTerminator((FAMTerminator)null); - return; - case FunctionalArchitecturePackage.FUNCTIONAL_DATA__INTERFACE: - setInterface((FunctionalInterface)null); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case FunctionalArchitecturePackage.FUNCTIONAL_DATA__TERMINATOR: - return terminator != null; - case FunctionalArchitecturePackage.FUNCTIONAL_DATA__INTERFACE: - return getInterface() != null; - } - return super.eIsSet(featureID); - } - -} //FunctionalDataImpl diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/ecore-gen/hu/bme/mit/inf/dslreasomer/domains/transima/fam/FunctionalArchitecture/impl/FunctionalElementImpl.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/ecore-gen/hu/bme/mit/inf/dslreasomer/domains/transima/fam/FunctionalArchitecture/impl/FunctionalElementImpl.java deleted file mode 100644 index 69d24ae1..00000000 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/ecore-gen/hu/bme/mit/inf/dslreasomer/domains/transima/fam/FunctionalArchitecture/impl/FunctionalElementImpl.java +++ /dev/null @@ -1,318 +0,0 @@ -/** - */ -package hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.impl; - -import hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.Function; -import hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionalArchitectureModel; -import hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionalArchitecturePackage; -import hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionalElement; -import hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionalInterface; - -import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.common.notify.NotificationChain; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EStructuralFeature; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; - -import org.eclipse.emf.ecore.util.EcoreUtil; - -/** - * - * An implementation of the model object 'Functional Element'. - * - *

- * The following features are implemented: - *

- *
    - *
  • {@link hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.impl.FunctionalElementImpl#getInterface Interface}
  • - *
  • {@link hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.impl.FunctionalElementImpl#getModel Model}
  • - *
  • {@link hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.impl.FunctionalElementImpl#getParent Parent}
  • - *
- * - * @generated - */ -public abstract class FunctionalElementImpl extends MinimalEObjectImpl.Container implements FunctionalElement { - /** - * The cached value of the '{@link #getInterface() Interface}' containment reference. - * - * - * @see #getInterface() - * @generated - * @ordered - */ - protected FunctionalInterface interface_; - - /** - * The cached setting delegate for the '{@link #getModel() Model}' reference. - * - * - * @see #getModel() - * @generated - * @ordered - */ - protected EStructuralFeature.Internal.SettingDelegate MODEL__ESETTING_DELEGATE = ((EStructuralFeature.Internal)FunctionalArchitecturePackage.Literals.FUNCTIONAL_ELEMENT__MODEL).getSettingDelegate(); - - /** - * - * - * @generated - */ - protected FunctionalElementImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return FunctionalArchitecturePackage.Literals.FUNCTIONAL_ELEMENT; - } - - /** - * - * - * @generated - */ - public FunctionalInterface getInterface() { - return interface_; - } - - /** - * - * - * @generated - */ - public NotificationChain basicSetInterface(FunctionalInterface newInterface, NotificationChain msgs) { - FunctionalInterface oldInterface = interface_; - interface_ = newInterface; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, FunctionalArchitecturePackage.FUNCTIONAL_ELEMENT__INTERFACE, oldInterface, newInterface); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * - * - * @generated - */ - public void setInterface(FunctionalInterface newInterface) { - if (newInterface != interface_) { - NotificationChain msgs = null; - if (interface_ != null) - msgs = ((InternalEObject)interface_).eInverseRemove(this, FunctionalArchitecturePackage.FUNCTIONAL_INTERFACE__ELEMENT, FunctionalInterface.class, msgs); - if (newInterface != null) - msgs = ((InternalEObject)newInterface).eInverseAdd(this, FunctionalArchitecturePackage.FUNCTIONAL_INTERFACE__ELEMENT, FunctionalInterface.class, msgs); - msgs = basicSetInterface(newInterface, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, FunctionalArchitecturePackage.FUNCTIONAL_ELEMENT__INTERFACE, newInterface, newInterface)); - } - - /** - * - * - * @generated - */ - public FunctionalArchitectureModel getModel() { - return (FunctionalArchitectureModel)MODEL__ESETTING_DELEGATE.dynamicGet(this, null, 0, true, false); - } - - /** - * - * - * @generated - */ - public FunctionalArchitectureModel basicGetModel() { - return (FunctionalArchitectureModel)MODEL__ESETTING_DELEGATE.dynamicGet(this, null, 0, false, false); - } - - /** - * - * - * @generated - */ - public void setModel(FunctionalArchitectureModel newModel) { - MODEL__ESETTING_DELEGATE.dynamicSet(this, null, 0, newModel); - } - - /** - * - * - * @generated - */ - public Function getParent() { - if (eContainerFeatureID() != FunctionalArchitecturePackage.FUNCTIONAL_ELEMENT__PARENT) return null; - return (Function)eInternalContainer(); - } - - /** - * - * - * @generated - */ - public NotificationChain basicSetParent(Function newParent, NotificationChain msgs) { - msgs = eBasicSetContainer((InternalEObject)newParent, FunctionalArchitecturePackage.FUNCTIONAL_ELEMENT__PARENT, msgs); - return msgs; - } - - /** - * - * - * @generated - */ - public void setParent(Function newParent) { - if (newParent != eInternalContainer() || (eContainerFeatureID() != FunctionalArchitecturePackage.FUNCTIONAL_ELEMENT__PARENT && newParent != null)) { - if (EcoreUtil.isAncestor(this, newParent)) - throw new IllegalArgumentException("Recursive containment not allowed for " + toString()); - NotificationChain msgs = null; - if (eInternalContainer() != null) - msgs = eBasicRemoveFromContainer(msgs); - if (newParent != null) - msgs = ((InternalEObject)newParent).eInverseAdd(this, FunctionalArchitecturePackage.FUNCTION__SUB_ELEMENTS, Function.class, msgs); - msgs = basicSetParent(newParent, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, FunctionalArchitecturePackage.FUNCTIONAL_ELEMENT__PARENT, newParent, newParent)); - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case FunctionalArchitecturePackage.FUNCTIONAL_ELEMENT__INTERFACE: - if (interface_ != null) - msgs = ((InternalEObject)interface_).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - FunctionalArchitecturePackage.FUNCTIONAL_ELEMENT__INTERFACE, null, msgs); - return basicSetInterface((FunctionalInterface)otherEnd, msgs); - case FunctionalArchitecturePackage.FUNCTIONAL_ELEMENT__PARENT: - if (eInternalContainer() != null) - msgs = eBasicRemoveFromContainer(msgs); - return basicSetParent((Function)otherEnd, msgs); - } - return super.eInverseAdd(otherEnd, featureID, msgs); - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case FunctionalArchitecturePackage.FUNCTIONAL_ELEMENT__INTERFACE: - return basicSetInterface(null, msgs); - case FunctionalArchitecturePackage.FUNCTIONAL_ELEMENT__PARENT: - return basicSetParent(null, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs) { - switch (eContainerFeatureID()) { - case FunctionalArchitecturePackage.FUNCTIONAL_ELEMENT__PARENT: - return eInternalContainer().eInverseRemove(this, FunctionalArchitecturePackage.FUNCTION__SUB_ELEMENTS, Function.class, msgs); - } - return super.eBasicRemoveFromContainerFeature(msgs); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case FunctionalArchitecturePackage.FUNCTIONAL_ELEMENT__INTERFACE: - return getInterface(); - case FunctionalArchitecturePackage.FUNCTIONAL_ELEMENT__MODEL: - if (resolve) return getModel(); - return basicGetModel(); - case FunctionalArchitecturePackage.FUNCTIONAL_ELEMENT__PARENT: - return getParent(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case FunctionalArchitecturePackage.FUNCTIONAL_ELEMENT__INTERFACE: - setInterface((FunctionalInterface)newValue); - return; - case FunctionalArchitecturePackage.FUNCTIONAL_ELEMENT__MODEL: - setModel((FunctionalArchitectureModel)newValue); - return; - case FunctionalArchitecturePackage.FUNCTIONAL_ELEMENT__PARENT: - setParent((Function)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case FunctionalArchitecturePackage.FUNCTIONAL_ELEMENT__INTERFACE: - setInterface((FunctionalInterface)null); - return; - case FunctionalArchitecturePackage.FUNCTIONAL_ELEMENT__MODEL: - setModel((FunctionalArchitectureModel)null); - return; - case FunctionalArchitecturePackage.FUNCTIONAL_ELEMENT__PARENT: - setParent((Function)null); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case FunctionalArchitecturePackage.FUNCTIONAL_ELEMENT__INTERFACE: - return interface_ != null; - case FunctionalArchitecturePackage.FUNCTIONAL_ELEMENT__MODEL: - return MODEL__ESETTING_DELEGATE.dynamicIsSet(this, null, 0); - case FunctionalArchitecturePackage.FUNCTIONAL_ELEMENT__PARENT: - return getParent() != null; - } - return super.eIsSet(featureID); - } - -} //FunctionalElementImpl diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/ecore-gen/hu/bme/mit/inf/dslreasomer/domains/transima/fam/FunctionalArchitecture/impl/FunctionalInputImpl.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/ecore-gen/hu/bme/mit/inf/dslreasomer/domains/transima/fam/FunctionalArchitecture/impl/FunctionalInputImpl.java deleted file mode 100644 index 5dbd0b31..00000000 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/ecore-gen/hu/bme/mit/inf/dslreasomer/domains/transima/fam/FunctionalArchitecture/impl/FunctionalInputImpl.java +++ /dev/null @@ -1,165 +0,0 @@ -/** - */ -package hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.impl; - -import hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionalArchitecturePackage; -import hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionalInput; -import hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.InformationLink; - -import java.util.Collection; - -import org.eclipse.emf.common.notify.NotificationChain; - -import org.eclipse.emf.common.util.EList; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.util.EObjectWithInverseResolvingEList; -import org.eclipse.emf.ecore.util.InternalEList; - -/** - * - * An implementation of the model object 'Functional Input'. - * - *

- * The following features are implemented: - *

- *
    - *
  • {@link hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.impl.FunctionalInputImpl#getIncomingLinks Incoming Links}
  • - *
- * - * @generated - */ -public class FunctionalInputImpl extends FunctionalDataImpl implements FunctionalInput { - /** - * The cached value of the '{@link #getIncomingLinks() Incoming Links}' reference list. - * - * - * @see #getIncomingLinks() - * @generated - * @ordered - */ - protected EList incomingLinks; - - /** - * - * - * @generated - */ - protected FunctionalInputImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return FunctionalArchitecturePackage.Literals.FUNCTIONAL_INPUT; - } - - /** - * - * - * @generated - */ - public EList getIncomingLinks() { - if (incomingLinks == null) { - incomingLinks = new EObjectWithInverseResolvingEList(InformationLink.class, this, FunctionalArchitecturePackage.FUNCTIONAL_INPUT__INCOMING_LINKS, FunctionalArchitecturePackage.INFORMATION_LINK__TO); - } - return incomingLinks; - } - - /** - * - * - * @generated - */ - @SuppressWarnings("unchecked") - @Override - public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case FunctionalArchitecturePackage.FUNCTIONAL_INPUT__INCOMING_LINKS: - return ((InternalEList)(InternalEList)getIncomingLinks()).basicAdd(otherEnd, msgs); - } - return super.eInverseAdd(otherEnd, featureID, msgs); - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case FunctionalArchitecturePackage.FUNCTIONAL_INPUT__INCOMING_LINKS: - return ((InternalEList)getIncomingLinks()).basicRemove(otherEnd, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case FunctionalArchitecturePackage.FUNCTIONAL_INPUT__INCOMING_LINKS: - return getIncomingLinks(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @SuppressWarnings("unchecked") - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case FunctionalArchitecturePackage.FUNCTIONAL_INPUT__INCOMING_LINKS: - getIncomingLinks().clear(); - getIncomingLinks().addAll((Collection)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case FunctionalArchitecturePackage.FUNCTIONAL_INPUT__INCOMING_LINKS: - getIncomingLinks().clear(); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case FunctionalArchitecturePackage.FUNCTIONAL_INPUT__INCOMING_LINKS: - return incomingLinks != null && !incomingLinks.isEmpty(); - } - return super.eIsSet(featureID); - } - -} //FunctionalInputImpl diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/ecore-gen/hu/bme/mit/inf/dslreasomer/domains/transima/fam/FunctionalArchitecture/impl/FunctionalInterfaceImpl.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/ecore-gen/hu/bme/mit/inf/dslreasomer/domains/transima/fam/FunctionalArchitecture/impl/FunctionalInterfaceImpl.java deleted file mode 100644 index 68c85b5b..00000000 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/ecore-gen/hu/bme/mit/inf/dslreasomer/domains/transima/fam/FunctionalArchitecture/impl/FunctionalInterfaceImpl.java +++ /dev/null @@ -1,243 +0,0 @@ -/** - */ -package hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.impl; - -import hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionalArchitecturePackage; -import hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionalData; -import hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionalElement; -import hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionalInterface; - -import java.util.Collection; - -import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.common.notify.NotificationChain; - -import org.eclipse.emf.common.util.EList; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; - -import org.eclipse.emf.ecore.util.EObjectContainmentWithInverseEList; -import org.eclipse.emf.ecore.util.EcoreUtil; -import org.eclipse.emf.ecore.util.InternalEList; - -/** - * - * An implementation of the model object 'Functional Interface'. - * - *

- * The following features are implemented: - *

- *
    - *
  • {@link hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.impl.FunctionalInterfaceImpl#getData Data}
  • - *
  • {@link hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.impl.FunctionalInterfaceImpl#getElement Element}
  • - *
- * - * @generated - */ -public class FunctionalInterfaceImpl extends MinimalEObjectImpl.Container implements FunctionalInterface { - /** - * The cached value of the '{@link #getData() Data}' containment reference list. - * - * - * @see #getData() - * @generated - * @ordered - */ - protected EList data; - - /** - * - * - * @generated - */ - protected FunctionalInterfaceImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return FunctionalArchitecturePackage.Literals.FUNCTIONAL_INTERFACE; - } - - /** - * - * - * @generated - */ - public EList getData() { - if (data == null) { - data = new EObjectContainmentWithInverseEList(FunctionalData.class, this, FunctionalArchitecturePackage.FUNCTIONAL_INTERFACE__DATA, FunctionalArchitecturePackage.FUNCTIONAL_DATA__INTERFACE); - } - return data; - } - - /** - * - * - * @generated - */ - public FunctionalElement getElement() { - if (eContainerFeatureID() != FunctionalArchitecturePackage.FUNCTIONAL_INTERFACE__ELEMENT) return null; - return (FunctionalElement)eInternalContainer(); - } - - /** - * - * - * @generated - */ - public NotificationChain basicSetElement(FunctionalElement newElement, NotificationChain msgs) { - msgs = eBasicSetContainer((InternalEObject)newElement, FunctionalArchitecturePackage.FUNCTIONAL_INTERFACE__ELEMENT, msgs); - return msgs; - } - - /** - * - * - * @generated - */ - public void setElement(FunctionalElement newElement) { - if (newElement != eInternalContainer() || (eContainerFeatureID() != FunctionalArchitecturePackage.FUNCTIONAL_INTERFACE__ELEMENT && newElement != null)) { - if (EcoreUtil.isAncestor(this, newElement)) - throw new IllegalArgumentException("Recursive containment not allowed for " + toString()); - NotificationChain msgs = null; - if (eInternalContainer() != null) - msgs = eBasicRemoveFromContainer(msgs); - if (newElement != null) - msgs = ((InternalEObject)newElement).eInverseAdd(this, FunctionalArchitecturePackage.FUNCTIONAL_ELEMENT__INTERFACE, FunctionalElement.class, msgs); - msgs = basicSetElement(newElement, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, FunctionalArchitecturePackage.FUNCTIONAL_INTERFACE__ELEMENT, newElement, newElement)); - } - - /** - * - * - * @generated - */ - @SuppressWarnings("unchecked") - @Override - public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case FunctionalArchitecturePackage.FUNCTIONAL_INTERFACE__DATA: - return ((InternalEList)(InternalEList)getData()).basicAdd(otherEnd, msgs); - case FunctionalArchitecturePackage.FUNCTIONAL_INTERFACE__ELEMENT: - if (eInternalContainer() != null) - msgs = eBasicRemoveFromContainer(msgs); - return basicSetElement((FunctionalElement)otherEnd, msgs); - } - return super.eInverseAdd(otherEnd, featureID, msgs); - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case FunctionalArchitecturePackage.FUNCTIONAL_INTERFACE__DATA: - return ((InternalEList)getData()).basicRemove(otherEnd, msgs); - case FunctionalArchitecturePackage.FUNCTIONAL_INTERFACE__ELEMENT: - return basicSetElement(null, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs) { - switch (eContainerFeatureID()) { - case FunctionalArchitecturePackage.FUNCTIONAL_INTERFACE__ELEMENT: - return eInternalContainer().eInverseRemove(this, FunctionalArchitecturePackage.FUNCTIONAL_ELEMENT__INTERFACE, FunctionalElement.class, msgs); - } - return super.eBasicRemoveFromContainerFeature(msgs); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case FunctionalArchitecturePackage.FUNCTIONAL_INTERFACE__DATA: - return getData(); - case FunctionalArchitecturePackage.FUNCTIONAL_INTERFACE__ELEMENT: - return getElement(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @SuppressWarnings("unchecked") - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case FunctionalArchitecturePackage.FUNCTIONAL_INTERFACE__DATA: - getData().clear(); - getData().addAll((Collection)newValue); - return; - case FunctionalArchitecturePackage.FUNCTIONAL_INTERFACE__ELEMENT: - setElement((FunctionalElement)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case FunctionalArchitecturePackage.FUNCTIONAL_INTERFACE__DATA: - getData().clear(); - return; - case FunctionalArchitecturePackage.FUNCTIONAL_INTERFACE__ELEMENT: - setElement((FunctionalElement)null); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case FunctionalArchitecturePackage.FUNCTIONAL_INTERFACE__DATA: - return data != null && !data.isEmpty(); - case FunctionalArchitecturePackage.FUNCTIONAL_INTERFACE__ELEMENT: - return getElement() != null; - } - return super.eIsSet(featureID); - } - -} //FunctionalInterfaceImpl diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/ecore-gen/hu/bme/mit/inf/dslreasomer/domains/transima/fam/FunctionalArchitecture/impl/FunctionalOutputImpl.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/ecore-gen/hu/bme/mit/inf/dslreasomer/domains/transima/fam/FunctionalArchitecture/impl/FunctionalOutputImpl.java deleted file mode 100644 index 6c59d003..00000000 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/ecore-gen/hu/bme/mit/inf/dslreasomer/domains/transima/fam/FunctionalArchitecture/impl/FunctionalOutputImpl.java +++ /dev/null @@ -1,165 +0,0 @@ -/** - */ -package hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.impl; - -import hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionalArchitecturePackage; -import hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionalOutput; -import hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.InformationLink; - -import java.util.Collection; - -import org.eclipse.emf.common.notify.NotificationChain; - -import org.eclipse.emf.common.util.EList; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.util.EObjectContainmentWithInverseEList; -import org.eclipse.emf.ecore.util.InternalEList; - -/** - * - * An implementation of the model object 'Functional Output'. - * - *

- * The following features are implemented: - *

- *
    - *
  • {@link hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.impl.FunctionalOutputImpl#getOutgoingLinks Outgoing Links}
  • - *
- * - * @generated - */ -public class FunctionalOutputImpl extends FunctionalDataImpl implements FunctionalOutput { - /** - * The cached value of the '{@link #getOutgoingLinks() Outgoing Links}' containment reference list. - * - * - * @see #getOutgoingLinks() - * @generated - * @ordered - */ - protected EList outgoingLinks; - - /** - * - * - * @generated - */ - protected FunctionalOutputImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return FunctionalArchitecturePackage.Literals.FUNCTIONAL_OUTPUT; - } - - /** - * - * - * @generated - */ - public EList getOutgoingLinks() { - if (outgoingLinks == null) { - outgoingLinks = new EObjectContainmentWithInverseEList(InformationLink.class, this, FunctionalArchitecturePackage.FUNCTIONAL_OUTPUT__OUTGOING_LINKS, FunctionalArchitecturePackage.INFORMATION_LINK__FROM); - } - return outgoingLinks; - } - - /** - * - * - * @generated - */ - @SuppressWarnings("unchecked") - @Override - public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case FunctionalArchitecturePackage.FUNCTIONAL_OUTPUT__OUTGOING_LINKS: - return ((InternalEList)(InternalEList)getOutgoingLinks()).basicAdd(otherEnd, msgs); - } - return super.eInverseAdd(otherEnd, featureID, msgs); - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case FunctionalArchitecturePackage.FUNCTIONAL_OUTPUT__OUTGOING_LINKS: - return ((InternalEList)getOutgoingLinks()).basicRemove(otherEnd, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case FunctionalArchitecturePackage.FUNCTIONAL_OUTPUT__OUTGOING_LINKS: - return getOutgoingLinks(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @SuppressWarnings("unchecked") - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case FunctionalArchitecturePackage.FUNCTIONAL_OUTPUT__OUTGOING_LINKS: - getOutgoingLinks().clear(); - getOutgoingLinks().addAll((Collection)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case FunctionalArchitecturePackage.FUNCTIONAL_OUTPUT__OUTGOING_LINKS: - getOutgoingLinks().clear(); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case FunctionalArchitecturePackage.FUNCTIONAL_OUTPUT__OUTGOING_LINKS: - return outgoingLinks != null && !outgoingLinks.isEmpty(); - } - return super.eIsSet(featureID); - } - -} //FunctionalOutputImpl diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/ecore-gen/hu/bme/mit/inf/dslreasomer/domains/transima/fam/FunctionalArchitecture/impl/InformationLinkImpl.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/ecore-gen/hu/bme/mit/inf/dslreasomer/domains/transima/fam/FunctionalArchitecture/impl/InformationLinkImpl.java deleted file mode 100644 index 136162f6..00000000 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/ecore-gen/hu/bme/mit/inf/dslreasomer/domains/transima/fam/FunctionalArchitecture/impl/InformationLinkImpl.java +++ /dev/null @@ -1,285 +0,0 @@ -/** - */ -package hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.impl; - -import hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionalArchitecturePackage; -import hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionalInput; -import hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionalOutput; -import hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.InformationLink; - -import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.common.notify.NotificationChain; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; - -import org.eclipse.emf.ecore.util.EcoreUtil; - -/** - * - * An implementation of the model object 'Information Link'. - * - *

- * The following features are implemented: - *

- *
    - *
  • {@link hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.impl.InformationLinkImpl#getFrom From}
  • - *
  • {@link hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.impl.InformationLinkImpl#getTo To}
  • - *
- * - * @generated - */ -public class InformationLinkImpl extends MinimalEObjectImpl.Container implements InformationLink { - /** - * The cached value of the '{@link #getTo() To}' reference. - * - * - * @see #getTo() - * @generated - * @ordered - */ - protected FunctionalInput to; - - /** - * - * - * @generated - */ - protected InformationLinkImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return FunctionalArchitecturePackage.Literals.INFORMATION_LINK; - } - - /** - * - * - * @generated - */ - public FunctionalOutput getFrom() { - if (eContainerFeatureID() != FunctionalArchitecturePackage.INFORMATION_LINK__FROM) return null; - return (FunctionalOutput)eInternalContainer(); - } - - /** - * - * - * @generated - */ - public NotificationChain basicSetFrom(FunctionalOutput newFrom, NotificationChain msgs) { - msgs = eBasicSetContainer((InternalEObject)newFrom, FunctionalArchitecturePackage.INFORMATION_LINK__FROM, msgs); - return msgs; - } - - /** - * - * - * @generated - */ - public void setFrom(FunctionalOutput newFrom) { - if (newFrom != eInternalContainer() || (eContainerFeatureID() != FunctionalArchitecturePackage.INFORMATION_LINK__FROM && newFrom != null)) { - if (EcoreUtil.isAncestor(this, newFrom)) - throw new IllegalArgumentException("Recursive containment not allowed for " + toString()); - NotificationChain msgs = null; - if (eInternalContainer() != null) - msgs = eBasicRemoveFromContainer(msgs); - if (newFrom != null) - msgs = ((InternalEObject)newFrom).eInverseAdd(this, FunctionalArchitecturePackage.FUNCTIONAL_OUTPUT__OUTGOING_LINKS, FunctionalOutput.class, msgs); - msgs = basicSetFrom(newFrom, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, FunctionalArchitecturePackage.INFORMATION_LINK__FROM, newFrom, newFrom)); - } - - /** - * - * - * @generated - */ - public FunctionalInput getTo() { - if (to != null && to.eIsProxy()) { - InternalEObject oldTo = (InternalEObject)to; - to = (FunctionalInput)eResolveProxy(oldTo); - if (to != oldTo) { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, FunctionalArchitecturePackage.INFORMATION_LINK__TO, oldTo, to)); - } - } - return to; - } - - /** - * - * - * @generated - */ - public FunctionalInput basicGetTo() { - return to; - } - - /** - * - * - * @generated - */ - public NotificationChain basicSetTo(FunctionalInput newTo, NotificationChain msgs) { - FunctionalInput oldTo = to; - to = newTo; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, FunctionalArchitecturePackage.INFORMATION_LINK__TO, oldTo, newTo); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * - * - * @generated - */ - public void setTo(FunctionalInput newTo) { - if (newTo != to) { - NotificationChain msgs = null; - if (to != null) - msgs = ((InternalEObject)to).eInverseRemove(this, FunctionalArchitecturePackage.FUNCTIONAL_INPUT__INCOMING_LINKS, FunctionalInput.class, msgs); - if (newTo != null) - msgs = ((InternalEObject)newTo).eInverseAdd(this, FunctionalArchitecturePackage.FUNCTIONAL_INPUT__INCOMING_LINKS, FunctionalInput.class, msgs); - msgs = basicSetTo(newTo, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, FunctionalArchitecturePackage.INFORMATION_LINK__TO, newTo, newTo)); - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case FunctionalArchitecturePackage.INFORMATION_LINK__FROM: - if (eInternalContainer() != null) - msgs = eBasicRemoveFromContainer(msgs); - return basicSetFrom((FunctionalOutput)otherEnd, msgs); - case FunctionalArchitecturePackage.INFORMATION_LINK__TO: - if (to != null) - msgs = ((InternalEObject)to).eInverseRemove(this, FunctionalArchitecturePackage.FUNCTIONAL_INPUT__INCOMING_LINKS, FunctionalInput.class, msgs); - return basicSetTo((FunctionalInput)otherEnd, msgs); - } - return super.eInverseAdd(otherEnd, featureID, msgs); - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case FunctionalArchitecturePackage.INFORMATION_LINK__FROM: - return basicSetFrom(null, msgs); - case FunctionalArchitecturePackage.INFORMATION_LINK__TO: - return basicSetTo(null, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs) { - switch (eContainerFeatureID()) { - case FunctionalArchitecturePackage.INFORMATION_LINK__FROM: - return eInternalContainer().eInverseRemove(this, FunctionalArchitecturePackage.FUNCTIONAL_OUTPUT__OUTGOING_LINKS, FunctionalOutput.class, msgs); - } - return super.eBasicRemoveFromContainerFeature(msgs); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case FunctionalArchitecturePackage.INFORMATION_LINK__FROM: - return getFrom(); - case FunctionalArchitecturePackage.INFORMATION_LINK__TO: - if (resolve) return getTo(); - return basicGetTo(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case FunctionalArchitecturePackage.INFORMATION_LINK__FROM: - setFrom((FunctionalOutput)newValue); - return; - case FunctionalArchitecturePackage.INFORMATION_LINK__TO: - setTo((FunctionalInput)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case FunctionalArchitecturePackage.INFORMATION_LINK__FROM: - setFrom((FunctionalOutput)null); - return; - case FunctionalArchitecturePackage.INFORMATION_LINK__TO: - setTo((FunctionalInput)null); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case FunctionalArchitecturePackage.INFORMATION_LINK__FROM: - return getFrom() != null; - case FunctionalArchitecturePackage.INFORMATION_LINK__TO: - return to != null; - } - return super.eIsSet(featureID); - } - -} //InformationLinkImpl diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/ecore-gen/hu/bme/mit/inf/dslreasomer/domains/transima/fam/FunctionalArchitecture/util/FunctionalArchitectureAdapterFactory.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/ecore-gen/hu/bme/mit/inf/dslreasomer/domains/transima/fam/FunctionalArchitecture/util/FunctionalArchitectureAdapterFactory.java deleted file mode 100644 index 83edda47..00000000 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/ecore-gen/hu/bme/mit/inf/dslreasomer/domains/transima/fam/FunctionalArchitecture/util/FunctionalArchitectureAdapterFactory.java +++ /dev/null @@ -1,265 +0,0 @@ -/** - */ -package hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.util; - -import hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.*; -import hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionalInterface; - -import org.eclipse.emf.common.notify.Adapter; -import org.eclipse.emf.common.notify.Notifier; - -import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl; - -import org.eclipse.emf.ecore.EObject; - -/** - * - * The Adapter Factory for the model. - * It provides an adapter createXXX method for each class of the model. - * - * @see hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionalArchitecturePackage - * @generated - */ -public class FunctionalArchitectureAdapterFactory extends AdapterFactoryImpl { - /** - * The cached model package. - * - * - * @generated - */ - protected static FunctionalArchitecturePackage modelPackage; - - /** - * Creates an instance of the adapter factory. - * - * - * @generated - */ - public FunctionalArchitectureAdapterFactory() { - if (modelPackage == null) { - modelPackage = FunctionalArchitecturePackage.eINSTANCE; - } - } - - /** - * Returns whether this factory is applicable for the type of the object. - * - * This implementation returns true if the object is either the model's package or is an instance object of the model. - * - * @return whether this factory is applicable for the type of the object. - * @generated - */ - @Override - public boolean isFactoryForType(Object object) { - if (object == modelPackage) { - return true; - } - if (object instanceof EObject) { - return ((EObject)object).eClass().getEPackage() == modelPackage; - } - return false; - } - - /** - * The switch that delegates to the createXXX methods. - * - * - * @generated - */ - protected FunctionalArchitectureSwitch modelSwitch = - new FunctionalArchitectureSwitch() { - @Override - public Adapter caseFunctionalElement(FunctionalElement object) { - return createFunctionalElementAdapter(); - } - @Override - public Adapter caseFunctionalArchitectureModel(FunctionalArchitectureModel object) { - return createFunctionalArchitectureModelAdapter(); - } - @Override - public Adapter caseFunction(Function object) { - return createFunctionAdapter(); - } - @Override - public Adapter caseFAMTerminator(FAMTerminator object) { - return createFAMTerminatorAdapter(); - } - @Override - public Adapter caseInformationLink(InformationLink object) { - return createInformationLinkAdapter(); - } - @Override - public Adapter caseFunctionalInterface(FunctionalInterface object) { - return createFunctionalInterfaceAdapter(); - } - @Override - public Adapter caseFunctionalInput(FunctionalInput object) { - return createFunctionalInputAdapter(); - } - @Override - public Adapter caseFunctionalOutput(FunctionalOutput object) { - return createFunctionalOutputAdapter(); - } - @Override - public Adapter caseFunctionalData(FunctionalData object) { - return createFunctionalDataAdapter(); - } - @Override - public Adapter defaultCase(EObject object) { - return createEObjectAdapter(); - } - }; - - /** - * Creates an adapter for the target. - * - * - * @param target the object to adapt. - * @return the adapter for the target. - * @generated - */ - @Override - public Adapter createAdapter(Notifier target) { - return modelSwitch.doSwitch((EObject)target); - } - - - /** - * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionalElement Functional Element}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionalElement - * @generated - */ - public Adapter createFunctionalElementAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionalArchitectureModel Model}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionalArchitectureModel - * @generated - */ - public Adapter createFunctionalArchitectureModelAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.Function Function}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.Function - * @generated - */ - public Adapter createFunctionAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FAMTerminator FAM Terminator}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FAMTerminator - * @generated - */ - public Adapter createFAMTerminatorAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.InformationLink Information Link}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.InformationLink - * @generated - */ - public Adapter createInformationLinkAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionalInterface Functional Interface}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionalInterface - * @generated - */ - public Adapter createFunctionalInterfaceAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionalInput Functional Input}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionalInput - * @generated - */ - public Adapter createFunctionalInputAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionalOutput Functional Output}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionalOutput - * @generated - */ - public Adapter createFunctionalOutputAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionalData Functional Data}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionalData - * @generated - */ - public Adapter createFunctionalDataAdapter() { - return null; - } - - /** - * Creates a new adapter for the default case. - * - * This default implementation returns null. - * - * @return the new adapter. - * @generated - */ - public Adapter createEObjectAdapter() { - return null; - } - -} //FunctionalArchitectureAdapterFactory diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/ecore-gen/hu/bme/mit/inf/dslreasomer/domains/transima/fam/FunctionalArchitecture/util/FunctionalArchitectureSwitch.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/ecore-gen/hu/bme/mit/inf/dslreasomer/domains/transima/fam/FunctionalArchitecture/util/FunctionalArchitectureSwitch.java deleted file mode 100644 index 1eeafa21..00000000 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/ecore-gen/hu/bme/mit/inf/dslreasomer/domains/transima/fam/FunctionalArchitecture/util/FunctionalArchitectureSwitch.java +++ /dev/null @@ -1,282 +0,0 @@ -/** - */ -package hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.util; - -import hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.*; -import hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionalInterface; - -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.ecore.EPackage; - -import org.eclipse.emf.ecore.util.Switch; - -/** - * - * The Switch for the model's inheritance hierarchy. - * It supports the call {@link #doSwitch(EObject) doSwitch(object)} - * to invoke the caseXXX method for each class of the model, - * starting with the actual class of the object - * and proceeding up the inheritance hierarchy - * until a non-null result is returned, - * which is the result of the switch. - * - * @see hu.bme.mit.inf.dslreasomer.domains.transima.fam.FunctionalArchitecture.FunctionalArchitecturePackage - * @generated - */ -public class FunctionalArchitectureSwitch extends Switch { - /** - * The cached model package - * - * - * @generated - */ - protected static FunctionalArchitecturePackage modelPackage; - - /** - * Creates an instance of the switch. - * - * - * @generated - */ - public FunctionalArchitectureSwitch() { - if (modelPackage == null) { - modelPackage = FunctionalArchitecturePackage.eINSTANCE; - } - } - - /** - * Checks whether this is a switch for the given package. - * - * - * @param ePackage the package in question. - * @return whether this is a switch for the given package. - * @generated - */ - @Override - protected boolean isSwitchFor(EPackage ePackage) { - return ePackage == modelPackage; - } - - /** - * Calls caseXXX for each class of the model until one returns a non null result; it yields that result. - * - * - * @return the first non-null result returned by a caseXXX call. - * @generated - */ - @Override - protected T doSwitch(int classifierID, EObject theEObject) { - switch (classifierID) { - case FunctionalArchitecturePackage.FUNCTIONAL_ELEMENT: { - FunctionalElement functionalElement = (FunctionalElement)theEObject; - T result = caseFunctionalElement(functionalElement); - if (result == null) result = defaultCase(theEObject); - return result; - } - case FunctionalArchitecturePackage.FUNCTIONAL_ARCHITECTURE_MODEL: { - FunctionalArchitectureModel functionalArchitectureModel = (FunctionalArchitectureModel)theEObject; - T result = caseFunctionalArchitectureModel(functionalArchitectureModel); - if (result == null) result = defaultCase(theEObject); - return result; - } - case FunctionalArchitecturePackage.FUNCTION: { - Function function = (Function)theEObject; - T result = caseFunction(function); - if (result == null) result = caseFunctionalElement(function); - if (result == null) result = defaultCase(theEObject); - return result; - } - case FunctionalArchitecturePackage.FAM_TERMINATOR: { - FAMTerminator famTerminator = (FAMTerminator)theEObject; - T result = caseFAMTerminator(famTerminator); - if (result == null) result = defaultCase(theEObject); - return result; - } - case FunctionalArchitecturePackage.INFORMATION_LINK: { - InformationLink informationLink = (InformationLink)theEObject; - T result = caseInformationLink(informationLink); - if (result == null) result = defaultCase(theEObject); - return result; - } - case FunctionalArchitecturePackage.FUNCTIONAL_INTERFACE: { - FunctionalInterface functionalInterface = (FunctionalInterface)theEObject; - T result = caseFunctionalInterface(functionalInterface); - if (result == null) result = defaultCase(theEObject); - return result; - } - case FunctionalArchitecturePackage.FUNCTIONAL_INPUT: { - FunctionalInput functionalInput = (FunctionalInput)theEObject; - T result = caseFunctionalInput(functionalInput); - if (result == null) result = caseFunctionalData(functionalInput); - if (result == null) result = defaultCase(theEObject); - return result; - } - case FunctionalArchitecturePackage.FUNCTIONAL_OUTPUT: { - FunctionalOutput functionalOutput = (FunctionalOutput)theEObject; - T result = caseFunctionalOutput(functionalOutput); - if (result == null) result = caseFunctionalData(functionalOutput); - if (result == null) result = defaultCase(theEObject); - return result; - } - case FunctionalArchitecturePackage.FUNCTIONAL_DATA: { - FunctionalData functionalData = (FunctionalData)theEObject; - T result = caseFunctionalData(functionalData); - if (result == null) result = defaultCase(theEObject); - return result; - } - default: return defaultCase(theEObject); - } - } - - /** - * Returns the result of interpreting the object as an instance of 'Functional Element'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Functional Element'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseFunctionalElement(FunctionalElement object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Model'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Model'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseFunctionalArchitectureModel(FunctionalArchitectureModel object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Function'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Function'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseFunction(Function object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'FAM Terminator'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'FAM Terminator'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseFAMTerminator(FAMTerminator object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Information Link'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Information Link'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseInformationLink(InformationLink object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Functional Interface'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Functional Interface'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseFunctionalInterface(FunctionalInterface object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Functional Input'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Functional Input'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseFunctionalInput(FunctionalInput object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Functional Output'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Functional Output'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseFunctionalOutput(FunctionalOutput object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Functional Data'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Functional Data'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseFunctionalData(FunctionalData object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'EObject'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch, but this is the last case anyway. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'EObject'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) - * @generated - */ - @Override - public T defaultCase(EObject object) { - return null; - } - -} //FunctionalArchitectureSwitch diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/model/FAM.aird b/Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/model/FAM.aird deleted file mode 100644 index a80d022f..00000000 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/model/FAM.aird +++ /dev/null @@ -1,620 +0,0 @@ - - - FAM.ecore - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - bold - - - - - - - bold - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - italic - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - bold - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - italic - - - - - - - - - - - italic - - - - - - - - - - - - italic - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - italic - - - - - - - - - - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - bold - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/model/FAM.ecore b/Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/model/FAM.ecore deleted file mode 100644 index 521624cb..00000000 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/model/FAM.ecore +++ /dev/null @@ -1,68 +0,0 @@ - - - -
- - - - - -
- - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/model/FAM.genmodel b/Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/model/FAM.genmodel deleted file mode 100644 index 2fc02ec8..00000000 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/model/FAM.genmodel +++ /dev/null @@ -1,49 +0,0 @@ - - - FAM.ecore - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/plugin.properties b/Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/plugin.properties deleted file mode 100644 index 58c2dbb6..00000000 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/plugin.properties +++ /dev/null @@ -1,4 +0,0 @@ -# - -pluginName = FAM Model -providerName = www.example.org diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/plugin.xml b/Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/plugin.xml deleted file mode 100644 index ba289eaa..00000000 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/plugin.xml +++ /dev/null @@ -1,28 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/queries/hu/bme/mit/inf/dslreasoner/domains/transima/fam/patterns/pattern.vql b/Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/queries/hu/bme/mit/inf/dslreasoner/domains/transima/fam/patterns/pattern.vql deleted file mode 100644 index 60df0bef..00000000 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.transima.fam/queries/hu/bme/mit/inf/dslreasoner/domains/transima/fam/patterns/pattern.vql +++ /dev/null @@ -1,114 +0,0 @@ -package hu.bme.mit.inf.dslreasoner.domains.transima.fam.patterns - -import epackage "FAM"; - -@Constraint(message="terminatorAndInformation", severity="error", key={T}) -pattern terminatorAndInformation(T : FAMTerminator, I : InformationLink) = { - FunctionalOutput.outgoingLinks(Out,I); - FunctionalOutput.terminator(Out,T); -} or { - InformationLink.to(I,In); - FunctionalInput.terminator(In,T); -} - -@QueryBasedFeature -pattern type(This : Function, Target : FunctionType) = { - find rootElements(_Model, This); - Target == FunctionType::Root; -} or { - neg find parent(_Child, This); - neg find rootElements(_Model, This); - Target == FunctionType::Leaf; -} or { - find parent(This, _Par); - find parent(_Child, This); - Target == FunctionType::Intermediate; -} - -pattern rootElements(Model: FunctionalArchitectureModel, Root : Function) = { - FunctionalArchitectureModel.rootElements(Model, Root); -} - -pattern parent(Func : Function, Par : Function) = { - Function.parent(Func, Par); -} - -@QueryBasedFeature -pattern model(This:FunctionalElement, Target: FunctionalArchitectureModel) { - FunctionalElement(This); - FunctionalArchitectureModel(Target); -} - -pattern hasRoot(F : Function) { - find rootElements(_Model, F); -} -pattern hasInt(F : Function) { - neg find parent(_Child, F); - neg find rootElements(_Model, F); -} -pattern hasLeaf(F : Function) { - find parent(F, _Par); - find parent(_Child, F); -} - -@Constraint(message="noRoot", severity="error", key={fam}) -pattern noRoot(fam: FunctionalArchitectureModel) { - FunctionalArchitectureModel(fam); - neg find hasRoot(_); -} -@Constraint(message="noIntermediate", severity="error", key={fam}) -pattern noInt(fam: FunctionalArchitectureModel) { - FunctionalArchitectureModel(fam); - neg find hasInt(_); -} -@Constraint(message="noLeaf", severity="error", key={fam}) -pattern noLeaf(fam: FunctionalArchitectureModel) { - FunctionalArchitectureModel(fam); - neg find hasLeaf(_); -} - - -/* -@QueryBasedFeature -pattern model(This : FunctionalElement, Target : FunctionalArchitectureModel) = { - find parent+(This, Parent); - find rootElements(Target, Parent); -} or { - find rootElements(Target, This); -} - -pattern interfaceData(FI : FunctionalInterface, FD : FunctionalData) = { - FunctionalInterface.data(FI, FD); -} - -@QueryBasedFeature -pattern inputs(This : FunctionalInterface, Target : FunctionalInput) = { - find interfaceData(This, Target); -} - -@QueryBasedFeature -pattern outputs(This : FunctionalInterface, Target : FunctionalOutput) = { - find interfaceData(This, Target); -} - -@QueryBasedFeature -pattern outgoingLinks(This : FunctionalElement, Target : InformationLink) = { - FunctionalElement.interface.outputs(This, Output); - InformationLink.from(Target, Output); -} - -@QueryBasedFeature -pattern incomingLinks(This : FunctionalElement, Target : InformationLink) = { - FunctionalElement.interface.inputs(This, Input); - InformationLink.to(Target, Input); -} - -@QueryBasedFeature -pattern connects(This : FunctionalElement, Target : FunctionalElement) = { - FunctionalElement.outgoingLinks(This,Link); - FunctionalElement.incomingLinks(Target,Link); -}*/ - -/*pattern frequency(a: Function, b : EInt) { - Function.minimumFrequency(a,b); -}*/ -- cgit v1.2.3-54-g00ecf