Skip to content
Snippets Groups Projects
Commit 5c02a34a authored by Sören Henning's avatar Sören Henning
Browse files

generated new model code

parent e25d6469
No related branches found
No related tags found
No related merge requests found
Showing
with 728 additions and 152 deletions
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: %pluginName
Bundle-SymbolicName: kieker-teetime-stages;singleton:=true
Bundle-Version: 1.0.0.qualifier
Bundle-ClassPath: .
Bundle-Vendor: %providerName
Bundle-Localization: plugin
Bundle-RequiredExecutionEnvironment: JavaSE-1.8
Export-Package: softwareSystem,
softwareSystem.architecture,
softwareSystem.architecture.impl,
softwareSystem.architecture.util,
softwareSystem.deployment,
softwareSystem.deployment.impl,
softwareSystem.deployment.util,
softwareSystem.execution,
softwareSystem.execution.impl,
softwareSystem.execution.util,
softwareSystem.impl,
softwareSystem.statistics,
softwareSystem.statistics.impl,
softwareSystem.statistics.util,
kieker.analysis.model.analysismodel,
kieker.analysis.model.analysismodel.impl,
kieker.analysis.model.analysismodel.softwaresystem.architecture,
kieker.analysis.model.analysismodel.softwaresystem.architecture.impl,
kieker.analysis.model.analysismodel.softwaresystem.architecture.util,
kieker.analysis.model.analysismodel.softwaresystem.deployment,
kieker.analysis.model.analysismodel.softwaresystem.deployment.impl,
kieker.analysis.model.analysismodel.softwaresystem.deployment.util,
kieker.analysis.model.analysismodel.softwaresystem.execution,
kieker.analysis.model.analysismodel.softwaresystem.execution.impl,
kieker.analysis.model.analysismodel.softwaresystem.execution.util,
kieker.analysis.model.analysismodel.statistics,
kieker.analysis.model.analysismodel.statistics.impl,
kieker.analysis.model.analysismodel.statistics.util,
kieker.analysis.model.analysismodel.softwaresystem.statistics,
kieker.analysis.model.analysismodel.softwaresystem.statistics.impl,
kieker.analysis.model.analysismodel.softwaresystem.statistics.util
Require-Bundle: org.eclipse.core.runtime,
org.eclipse.emf.ecore;visibility:=reexport
Bundle-ActivationPolicy: lazy
#
bin.includes = .,\
model/,\
META-INF/,\
plugin.xml,\
plugin.properties
jars.compile.order = .
source.. = src/
output.. = bin/
#
pluginName = Analysis-model Model
providerName = www.example.org
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.0"?>
<!--
-->
<plugin>
<extension point="org.eclipse.emf.ecore.generated_package">
<!-- @generated analysis-model -->
<package
uri="http://www.example.org/softwareSystem"
class="kieker.analysis.model.analysismodel.analysismodelPackage"
genModel="model/analysis-model.genmodel"/>
</extension>
<extension point="org.eclipse.emf.ecore.generated_package">
<!-- @generated analysis-model -->
<package
uri="http://www.example.org/softwareSystem/architecture"
class="kieker.analysis.model.analysismodel.softwaresystem.architecture.ArchitecturePackage"
genModel="model/analysis-model.genmodel"/>
</extension>
<extension point="org.eclipse.emf.ecore.generated_package">
<!-- @generated analysis-model -->
<package
uri="http://www.example.org/softwareSystem/deployment"
class="kieker.analysis.model.analysismodel.softwaresystem.deployment.DeploymentPackage"
genModel="model/analysis-model.genmodel"/>
</extension>
<extension point="org.eclipse.emf.ecore.generated_package">
<!-- @generated analysis-model -->
<package
uri="http://www.example.org/softwareSystem/execution"
class="kieker.analysis.model.analysismodel.softwaresystem.execution.ExecutionPackage"
genModel="model/analysis-model.genmodel"/>
</extension>
<extension point="org.eclipse.emf.ecore.generated_package">
<!-- @generated analysis-model -->
<package
uri="http://www.example.org/softwareSystem/statistics"
class="kieker.analysis.model.analysismodel.statistics.StatisticsPackage"
genModel="model/analysis-model.genmodel"/>
</extension>
</plugin>
...@@ -19,9 +19,9 @@ import kieker.analysis.model.analysismodel.softwaresystem.execution.ExecutionPac ...@@ -19,9 +19,9 @@ import kieker.analysis.model.analysismodel.softwaresystem.execution.ExecutionPac
import kieker.analysis.model.analysismodel.softwaresystem.execution.impl.ExecutionPackageImpl; import kieker.analysis.model.analysismodel.softwaresystem.execution.impl.ExecutionPackageImpl;
import kieker.analysis.model.analysismodel.softwaresystem.statistics.StatisticsPackage; import kieker.analysis.model.analysismodel.statistics.StatisticsPackage;
import kieker.analysis.model.analysismodel.softwaresystem.statistics.impl.StatisticsPackageImpl; import kieker.analysis.model.analysismodel.statistics.impl.StatisticsPackageImpl;
import org.eclipse.emf.ecore.EDataType; import org.eclipse.emf.ecore.EDataType;
import org.eclipse.emf.ecore.EPackage; import org.eclipse.emf.ecore.EPackage;
......
...@@ -21,6 +21,15 @@ public interface ArchitectureFactory extends EFactory { ...@@ -21,6 +21,15 @@ public interface ArchitectureFactory extends EFactory {
*/ */
ArchitectureFactory eINSTANCE = kieker.analysis.model.analysismodel.softwaresystem.architecture.impl.ArchitectureFactoryImpl.init(); ArchitectureFactory eINSTANCE = kieker.analysis.model.analysismodel.softwaresystem.architecture.impl.ArchitectureFactoryImpl.init();
/**
* Returns a new object of class '<em>Root</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return a new object of class '<em>Root</em>'.
* @generated
*/
ArchitectureRoot createArchitectureRoot();
/** /**
* Returns a new object of class '<em>Component Type</em>'. * Returns a new object of class '<em>Component Type</em>'.
* <!-- begin-user-doc --> * <!-- begin-user-doc -->
......
...@@ -56,6 +56,43 @@ public interface ArchitecturePackage extends EPackage { ...@@ -56,6 +56,43 @@ public interface ArchitecturePackage extends EPackage {
*/ */
ArchitecturePackage eINSTANCE = kieker.analysis.model.analysismodel.softwaresystem.architecture.impl.ArchitecturePackageImpl.init(); ArchitecturePackage eINSTANCE = kieker.analysis.model.analysismodel.softwaresystem.architecture.impl.ArchitecturePackageImpl.init();
/**
* The meta object id for the '{@link kieker.analysis.model.analysismodel.softwaresystem.architecture.impl.ArchitectureRootImpl <em>Root</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see kieker.analysis.model.analysismodel.softwaresystem.architecture.impl.ArchitectureRootImpl
* @see kieker.analysis.model.analysismodel.softwaresystem.architecture.impl.ArchitecturePackageImpl#getArchitectureRoot()
* @generated
*/
int ARCHITECTURE_ROOT = 0;
/**
* The feature id for the '<em><b>Component Types</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
int ARCHITECTURE_ROOT__COMPONENT_TYPES = 0;
/**
* The number of structural features of the '<em>Root</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
int ARCHITECTURE_ROOT_FEATURE_COUNT = 1;
/**
* The number of operations of the '<em>Root</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
int ARCHITECTURE_ROOT_OPERATION_COUNT = 0;
/** /**
* The meta object id for the '{@link kieker.analysis.model.analysismodel.softwaresystem.architecture.impl.ComponentTypeImpl <em>Component Type</em>}' class. * The meta object id for the '{@link kieker.analysis.model.analysismodel.softwaresystem.architecture.impl.ComponentTypeImpl <em>Component Type</em>}' class.
* <!-- begin-user-doc --> * <!-- begin-user-doc -->
...@@ -64,7 +101,7 @@ public interface ArchitecturePackage extends EPackage { ...@@ -64,7 +101,7 @@ public interface ArchitecturePackage extends EPackage {
* @see kieker.analysis.model.analysismodel.softwaresystem.architecture.impl.ArchitecturePackageImpl#getComponentType() * @see kieker.analysis.model.analysismodel.softwaresystem.architecture.impl.ArchitecturePackageImpl#getComponentType()
* @generated * @generated
*/ */
int COMPONENT_TYPE = 0; int COMPONENT_TYPE = 1;
/** /**
* The feature id for the '<em><b>Package Name</b></em>' attribute. * The feature id for the '<em><b>Package Name</b></em>' attribute.
...@@ -85,13 +122,13 @@ public interface ArchitecturePackage extends EPackage { ...@@ -85,13 +122,13 @@ public interface ArchitecturePackage extends EPackage {
int COMPONENT_TYPE__NAME = 1; int COMPONENT_TYPE__NAME = 1;
/** /**
* The feature id for the '<em><b>Provided</b></em>' reference list. * The feature id for the '<em><b>Provided Operations</b></em>' reference list.
* <!-- begin-user-doc --> * <!-- begin-user-doc -->
* <!-- end-user-doc --> * <!-- end-user-doc -->
* @generated * @generated
* @ordered * @ordered
*/ */
int COMPONENT_TYPE__PROVIDED = 2; int COMPONENT_TYPE__PROVIDED_OPERATIONS = 2;
/** /**
* The number of structural features of the '<em>Component Type</em>' class. * The number of structural features of the '<em>Component Type</em>' class.
...@@ -119,7 +156,7 @@ public interface ArchitecturePackage extends EPackage { ...@@ -119,7 +156,7 @@ public interface ArchitecturePackage extends EPackage {
* @see kieker.analysis.model.analysismodel.softwaresystem.architecture.impl.ArchitecturePackageImpl#getOperationType() * @see kieker.analysis.model.analysismodel.softwaresystem.architecture.impl.ArchitecturePackageImpl#getOperationType()
* @generated * @generated
*/ */
int OPERATION_TYPE = 1; int OPERATION_TYPE = 2;
/** /**
* The feature id for the '<em><b>Name</b></em>' attribute. * The feature id for the '<em><b>Name</b></em>' attribute.
...@@ -158,6 +195,27 @@ public interface ArchitecturePackage extends EPackage { ...@@ -158,6 +195,27 @@ public interface ArchitecturePackage extends EPackage {
int OPERATION_TYPE_OPERATION_COUNT = 0; int OPERATION_TYPE_OPERATION_COUNT = 0;
/**
* Returns the meta object for class '{@link kieker.analysis.model.analysismodel.softwaresystem.architecture.ArchitectureRoot <em>Root</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the meta object for class '<em>Root</em>'.
* @see kieker.analysis.model.analysismodel.softwaresystem.architecture.ArchitectureRoot
* @generated
*/
EClass getArchitectureRoot();
/**
* Returns the meta object for the reference list '{@link kieker.analysis.model.analysismodel.softwaresystem.architecture.ArchitectureRoot#getComponentTypes <em>Component Types</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the meta object for the reference list '<em>Component Types</em>'.
* @see kieker.analysis.model.analysismodel.softwaresystem.architecture.ArchitectureRoot#getComponentTypes()
* @see #getArchitectureRoot()
* @generated
*/
EReference getArchitectureRoot_ComponentTypes();
/** /**
* Returns the meta object for class '{@link kieker.analysis.model.analysismodel.softwaresystem.architecture.ComponentType <em>Component Type</em>}'. * Returns the meta object for class '{@link kieker.analysis.model.analysismodel.softwaresystem.architecture.ComponentType <em>Component Type</em>}'.
* <!-- begin-user-doc --> * <!-- begin-user-doc -->
...@@ -191,15 +249,15 @@ public interface ArchitecturePackage extends EPackage { ...@@ -191,15 +249,15 @@ public interface ArchitecturePackage extends EPackage {
EAttribute getComponentType_Name(); EAttribute getComponentType_Name();
/** /**
* Returns the meta object for the reference list '{@link kieker.analysis.model.analysismodel.softwaresystem.architecture.ComponentType#getProvided <em>Provided</em>}'. * Returns the meta object for the reference list '{@link kieker.analysis.model.analysismodel.softwaresystem.architecture.ComponentType#getProvidedOperations <em>Provided Operations</em>}'.
* <!-- begin-user-doc --> * <!-- begin-user-doc -->
* <!-- end-user-doc --> * <!-- end-user-doc -->
* @return the meta object for the reference list '<em>Provided</em>'. * @return the meta object for the reference list '<em>Provided Operations</em>'.
* @see kieker.analysis.model.analysismodel.softwaresystem.architecture.ComponentType#getProvided() * @see kieker.analysis.model.analysismodel.softwaresystem.architecture.ComponentType#getProvidedOperations()
* @see #getComponentType() * @see #getComponentType()
* @generated * @generated
*/ */
EReference getComponentType_Provided(); EReference getComponentType_ProvidedOperations();
/** /**
* Returns the meta object for class '{@link kieker.analysis.model.analysismodel.softwaresystem.architecture.OperationType <em>Operation Type</em>}'. * Returns the meta object for class '{@link kieker.analysis.model.analysismodel.softwaresystem.architecture.OperationType <em>Operation Type</em>}'.
...@@ -256,6 +314,24 @@ public interface ArchitecturePackage extends EPackage { ...@@ -256,6 +314,24 @@ public interface ArchitecturePackage extends EPackage {
* @generated * @generated
*/ */
interface Literals { interface Literals {
/**
* The meta object literal for the '{@link kieker.analysis.model.analysismodel.softwaresystem.architecture.impl.ArchitectureRootImpl <em>Root</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see kieker.analysis.model.analysismodel.softwaresystem.architecture.impl.ArchitectureRootImpl
* @see kieker.analysis.model.analysismodel.softwaresystem.architecture.impl.ArchitecturePackageImpl#getArchitectureRoot()
* @generated
*/
EClass ARCHITECTURE_ROOT = eINSTANCE.getArchitectureRoot();
/**
* The meta object literal for the '<em><b>Component Types</b></em>' reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
EReference ARCHITECTURE_ROOT__COMPONENT_TYPES = eINSTANCE.getArchitectureRoot_ComponentTypes();
/** /**
* The meta object literal for the '{@link kieker.analysis.model.analysismodel.softwaresystem.architecture.impl.ComponentTypeImpl <em>Component Type</em>}' class. * The meta object literal for the '{@link kieker.analysis.model.analysismodel.softwaresystem.architecture.impl.ComponentTypeImpl <em>Component Type</em>}' class.
* <!-- begin-user-doc --> * <!-- begin-user-doc -->
...@@ -283,12 +359,12 @@ public interface ArchitecturePackage extends EPackage { ...@@ -283,12 +359,12 @@ public interface ArchitecturePackage extends EPackage {
EAttribute COMPONENT_TYPE__NAME = eINSTANCE.getComponentType_Name(); EAttribute COMPONENT_TYPE__NAME = eINSTANCE.getComponentType_Name();
/** /**
* The meta object literal for the '<em><b>Provided</b></em>' reference list feature. * The meta object literal for the '<em><b>Provided Operations</b></em>' reference list feature.
* <!-- begin-user-doc --> * <!-- begin-user-doc -->
* <!-- end-user-doc --> * <!-- end-user-doc -->
* @generated * @generated
*/ */
EReference COMPONENT_TYPE__PROVIDED = eINSTANCE.getComponentType_Provided(); EReference COMPONENT_TYPE__PROVIDED_OPERATIONS = eINSTANCE.getComponentType_ProvidedOperations();
/** /**
* The meta object literal for the '{@link kieker.analysis.model.analysismodel.softwaresystem.architecture.impl.OperationTypeImpl <em>Operation Type</em>}' class. * The meta object literal for the '{@link kieker.analysis.model.analysismodel.softwaresystem.architecture.impl.OperationTypeImpl <em>Operation Type</em>}' class.
......
/**
*/
package kieker.analysis.model.analysismodel.softwaresystem.architecture;
import org.eclipse.emf.common.util.EList;
import org.eclipse.emf.ecore.EObject;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Root</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* </p>
* <ul>
* <li>{@link kieker.analysis.model.analysismodel.softwaresystem.architecture.ArchitectureRoot#getComponentTypes <em>Component Types</em>}</li>
* </ul>
*
* @see kieker.analysis.model.analysismodel.softwaresystem.architecture.ArchitecturePackage#getArchitectureRoot()
* @model
* @generated
*/
public interface ArchitectureRoot extends EObject {
/**
* Returns the value of the '<em><b>Component Types</b></em>' reference list.
* The list contents are of type {@link kieker.analysis.model.analysismodel.softwaresystem.architecture.ComponentType}.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Component Types</em>' reference list isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Component Types</em>' reference list.
* @see kieker.analysis.model.analysismodel.softwaresystem.architecture.ArchitecturePackage#getArchitectureRoot_ComponentTypes()
* @model
* @generated
*/
EList<ComponentType> getComponentTypes();
} // ArchitectureRoot
...@@ -17,7 +17,7 @@ import org.eclipse.emf.ecore.EObject; ...@@ -17,7 +17,7 @@ import org.eclipse.emf.ecore.EObject;
* <ul> * <ul>
* <li>{@link kieker.analysis.model.analysismodel.softwaresystem.architecture.ComponentType#getPackageName <em>Package Name</em>}</li> * <li>{@link kieker.analysis.model.analysismodel.softwaresystem.architecture.ComponentType#getPackageName <em>Package Name</em>}</li>
* <li>{@link kieker.analysis.model.analysismodel.softwaresystem.architecture.ComponentType#getName <em>Name</em>}</li> * <li>{@link kieker.analysis.model.analysismodel.softwaresystem.architecture.ComponentType#getName <em>Name</em>}</li>
* <li>{@link kieker.analysis.model.analysismodel.softwaresystem.architecture.ComponentType#getProvided <em>Provided</em>}</li> * <li>{@link kieker.analysis.model.analysismodel.softwaresystem.architecture.ComponentType#getProvidedOperations <em>Provided Operations</em>}</li>
* </ul> * </ul>
* *
* @see kieker.analysis.model.analysismodel.softwaresystem.architecture.ArchitecturePackage#getComponentType() * @see kieker.analysis.model.analysismodel.softwaresystem.architecture.ArchitecturePackage#getComponentType()
...@@ -78,19 +78,19 @@ public interface ComponentType extends EObject { ...@@ -78,19 +78,19 @@ public interface ComponentType extends EObject {
void setName(String value); void setName(String value);
/** /**
* Returns the value of the '<em><b>Provided</b></em>' reference list. * Returns the value of the '<em><b>Provided Operations</b></em>' reference list.
* The list contents are of type {@link kieker.analysis.model.analysismodel.softwaresystem.architecture.OperationType}. * The list contents are of type {@link kieker.analysis.model.analysismodel.softwaresystem.architecture.OperationType}.
* <!-- begin-user-doc --> * <!-- begin-user-doc -->
* <p> * <p>
* If the meaning of the '<em>Provided</em>' reference list isn't clear, * If the meaning of the '<em>Provided Operations</em>' reference list isn't clear,
* there really should be more of a description here... * there really should be more of a description here...
* </p> * </p>
* <!-- end-user-doc --> * <!-- end-user-doc -->
* @return the value of the '<em>Provided</em>' reference list. * @return the value of the '<em>Provided Operations</em>' reference list.
* @see kieker.analysis.model.analysismodel.softwaresystem.architecture.ArchitecturePackage#getComponentType_Provided() * @see kieker.analysis.model.analysismodel.softwaresystem.architecture.ArchitecturePackage#getComponentType_ProvidedOperations()
* @model * @model
* @generated * @generated
*/ */
EList<OperationType> getProvided(); EList<OperationType> getProvidedOperations();
} // ComponentType } // ComponentType
...@@ -56,6 +56,7 @@ public class ArchitectureFactoryImpl extends EFactoryImpl implements Architectur ...@@ -56,6 +56,7 @@ public class ArchitectureFactoryImpl extends EFactoryImpl implements Architectur
@Override @Override
public EObject create(EClass eClass) { public EObject create(EClass eClass) {
switch (eClass.getClassifierID()) { switch (eClass.getClassifierID()) {
case ArchitecturePackage.ARCHITECTURE_ROOT: return createArchitectureRoot();
case ArchitecturePackage.COMPONENT_TYPE: return createComponentType(); case ArchitecturePackage.COMPONENT_TYPE: return createComponentType();
case ArchitecturePackage.OPERATION_TYPE: return createOperationType(); case ArchitecturePackage.OPERATION_TYPE: return createOperationType();
default: default:
...@@ -63,6 +64,16 @@ public class ArchitectureFactoryImpl extends EFactoryImpl implements Architectur ...@@ -63,6 +64,16 @@ public class ArchitectureFactoryImpl extends EFactoryImpl implements Architectur
} }
} }
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public ArchitectureRoot createArchitectureRoot() {
ArchitectureRootImpl architectureRoot = new ArchitectureRootImpl();
return architectureRoot;
}
/** /**
* <!-- begin-user-doc --> * <!-- begin-user-doc -->
* <!-- end-user-doc --> * <!-- end-user-doc -->
......
...@@ -8,6 +8,7 @@ import kieker.analysis.model.analysismodel.impl.analysismodelPackageImpl; ...@@ -8,6 +8,7 @@ import kieker.analysis.model.analysismodel.impl.analysismodelPackageImpl;
import kieker.analysis.model.analysismodel.softwaresystem.architecture.ArchitectureFactory; import kieker.analysis.model.analysismodel.softwaresystem.architecture.ArchitectureFactory;
import kieker.analysis.model.analysismodel.softwaresystem.architecture.ArchitecturePackage; import kieker.analysis.model.analysismodel.softwaresystem.architecture.ArchitecturePackage;
import kieker.analysis.model.analysismodel.softwaresystem.architecture.ArchitectureRoot;
import kieker.analysis.model.analysismodel.softwaresystem.architecture.ComponentType; import kieker.analysis.model.analysismodel.softwaresystem.architecture.ComponentType;
import kieker.analysis.model.analysismodel.softwaresystem.architecture.OperationType; import kieker.analysis.model.analysismodel.softwaresystem.architecture.OperationType;
...@@ -19,9 +20,9 @@ import kieker.analysis.model.analysismodel.softwaresystem.execution.ExecutionPac ...@@ -19,9 +20,9 @@ import kieker.analysis.model.analysismodel.softwaresystem.execution.ExecutionPac
import kieker.analysis.model.analysismodel.softwaresystem.execution.impl.ExecutionPackageImpl; import kieker.analysis.model.analysismodel.softwaresystem.execution.impl.ExecutionPackageImpl;
import kieker.analysis.model.analysismodel.softwaresystem.statistics.StatisticsPackage; import kieker.analysis.model.analysismodel.statistics.StatisticsPackage;
import kieker.analysis.model.analysismodel.softwaresystem.statistics.impl.StatisticsPackageImpl; import kieker.analysis.model.analysismodel.statistics.impl.StatisticsPackageImpl;
import org.eclipse.emf.ecore.EAttribute; import org.eclipse.emf.ecore.EAttribute;
import org.eclipse.emf.ecore.EClass; import org.eclipse.emf.ecore.EClass;
...@@ -37,6 +38,13 @@ import org.eclipse.emf.ecore.impl.EPackageImpl; ...@@ -37,6 +38,13 @@ import org.eclipse.emf.ecore.impl.EPackageImpl;
* @generated * @generated
*/ */
public class ArchitecturePackageImpl extends EPackageImpl implements ArchitecturePackage { public class ArchitecturePackageImpl extends EPackageImpl implements ArchitecturePackage {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
private EClass architectureRootEClass = null;
/** /**
* <!-- begin-user-doc --> * <!-- begin-user-doc -->
* <!-- end-user-doc --> * <!-- end-user-doc -->
...@@ -126,6 +134,24 @@ public class ArchitecturePackageImpl extends EPackageImpl implements Architectur ...@@ -126,6 +134,24 @@ public class ArchitecturePackageImpl extends EPackageImpl implements Architectur
return theArchitecturePackage; return theArchitecturePackage;
} }
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EClass getArchitectureRoot() {
return architectureRootEClass;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EReference getArchitectureRoot_ComponentTypes() {
return (EReference)architectureRootEClass.getEStructuralFeatures().get(0);
}
/** /**
* <!-- begin-user-doc --> * <!-- begin-user-doc -->
* <!-- end-user-doc --> * <!-- end-user-doc -->
...@@ -158,7 +184,7 @@ public class ArchitecturePackageImpl extends EPackageImpl implements Architectur ...@@ -158,7 +184,7 @@ public class ArchitecturePackageImpl extends EPackageImpl implements Architectur
* <!-- end-user-doc --> * <!-- end-user-doc -->
* @generated * @generated
*/ */
public EReference getComponentType_Provided() { public EReference getComponentType_ProvidedOperations() {
return (EReference)componentTypeEClass.getEStructuralFeatures().get(2); return (EReference)componentTypeEClass.getEStructuralFeatures().get(2);
} }
...@@ -217,10 +243,13 @@ public class ArchitecturePackageImpl extends EPackageImpl implements Architectur ...@@ -217,10 +243,13 @@ public class ArchitecturePackageImpl extends EPackageImpl implements Architectur
isCreated = true; isCreated = true;
// Create classes and their features // Create classes and their features
architectureRootEClass = createEClass(ARCHITECTURE_ROOT);
createEReference(architectureRootEClass, ARCHITECTURE_ROOT__COMPONENT_TYPES);
componentTypeEClass = createEClass(COMPONENT_TYPE); componentTypeEClass = createEClass(COMPONENT_TYPE);
createEAttribute(componentTypeEClass, COMPONENT_TYPE__PACKAGE_NAME); createEAttribute(componentTypeEClass, COMPONENT_TYPE__PACKAGE_NAME);
createEAttribute(componentTypeEClass, COMPONENT_TYPE__NAME); createEAttribute(componentTypeEClass, COMPONENT_TYPE__NAME);
createEReference(componentTypeEClass, COMPONENT_TYPE__PROVIDED); createEReference(componentTypeEClass, COMPONENT_TYPE__PROVIDED_OPERATIONS);
operationTypeEClass = createEClass(OPERATION_TYPE); operationTypeEClass = createEClass(OPERATION_TYPE);
createEAttribute(operationTypeEClass, OPERATION_TYPE__NAME); createEAttribute(operationTypeEClass, OPERATION_TYPE__NAME);
...@@ -257,10 +286,13 @@ public class ArchitecturePackageImpl extends EPackageImpl implements Architectur ...@@ -257,10 +286,13 @@ public class ArchitecturePackageImpl extends EPackageImpl implements Architectur
// Add supertypes to classes // Add supertypes to classes
// Initialize classes, features, and operations; add parameters // Initialize classes, features, and operations; add parameters
initEClass(architectureRootEClass, ArchitectureRoot.class, "ArchitectureRoot", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEReference(getArchitectureRoot_ComponentTypes(), this.getComponentType(), null, "componentTypes", null, 0, -1, ArchitectureRoot.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(componentTypeEClass, ComponentType.class, "ComponentType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEClass(componentTypeEClass, ComponentType.class, "ComponentType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEAttribute(getComponentType_PackageName(), ecorePackage.getEString(), "packageName", null, 0, 1, ComponentType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getComponentType_PackageName(), ecorePackage.getEString(), "packageName", null, 0, 1, ComponentType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEAttribute(getComponentType_Name(), ecorePackage.getEString(), "name", null, 0, 1, ComponentType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getComponentType_Name(), ecorePackage.getEString(), "name", null, 0, 1, ComponentType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEReference(getComponentType_Provided(), this.getOperationType(), null, "provided", null, 0, -1, ComponentType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getComponentType_ProvidedOperations(), this.getOperationType(), null, "providedOperations", null, 0, -1, ComponentType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(operationTypeEClass, OperationType.class, "OperationType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEClass(operationTypeEClass, OperationType.class, "OperationType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEAttribute(getOperationType_Name(), ecorePackage.getEString(), "name", null, 0, 1, OperationType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getOperationType_Name(), ecorePackage.getEString(), "name", null, 0, 1, OperationType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
......
/**
*/
package kieker.analysis.model.analysismodel.softwaresystem.architecture.impl;
import java.util.Collection;
import kieker.analysis.model.analysismodel.softwaresystem.architecture.ArchitecturePackage;
import kieker.analysis.model.analysismodel.softwaresystem.architecture.ArchitectureRoot;
import kieker.analysis.model.analysismodel.softwaresystem.architecture.ComponentType;
import org.eclipse.emf.common.util.EList;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
import org.eclipse.emf.ecore.util.EObjectResolvingEList;
/**
* <!-- begin-user-doc -->
* An implementation of the model object '<em><b>Root</b></em>'.
* <!-- end-user-doc -->
* <p>
* The following features are implemented:
* </p>
* <ul>
* <li>{@link kieker.analysis.model.analysismodel.softwaresystem.architecture.impl.ArchitectureRootImpl#getComponentTypes <em>Component Types</em>}</li>
* </ul>
*
* @generated
*/
public class ArchitectureRootImpl extends MinimalEObjectImpl.Container implements ArchitectureRoot {
/**
* The cached value of the '{@link #getComponentTypes() <em>Component Types</em>}' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getComponentTypes()
* @generated
* @ordered
*/
protected EList<ComponentType> componentTypes;
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
protected ArchitectureRootImpl() {
super();
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
protected EClass eStaticClass() {
return ArchitecturePackage.Literals.ARCHITECTURE_ROOT;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EList<ComponentType> getComponentTypes() {
if (componentTypes == null) {
componentTypes = new EObjectResolvingEList<ComponentType>(ComponentType.class, this, ArchitecturePackage.ARCHITECTURE_ROOT__COMPONENT_TYPES);
}
return componentTypes;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
case ArchitecturePackage.ARCHITECTURE_ROOT__COMPONENT_TYPES:
return getComponentTypes();
}
return super.eGet(featureID, resolve, coreType);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@SuppressWarnings("unchecked")
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
case ArchitecturePackage.ARCHITECTURE_ROOT__COMPONENT_TYPES:
getComponentTypes().clear();
getComponentTypes().addAll((Collection<? extends ComponentType>)newValue);
return;
}
super.eSet(featureID, newValue);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
case ArchitecturePackage.ARCHITECTURE_ROOT__COMPONENT_TYPES:
getComponentTypes().clear();
return;
}
super.eUnset(featureID);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
case ArchitecturePackage.ARCHITECTURE_ROOT__COMPONENT_TYPES:
return componentTypes != null && !componentTypes.isEmpty();
}
return super.eIsSet(featureID);
}
} //ArchitectureRootImpl
...@@ -29,7 +29,7 @@ import org.eclipse.emf.ecore.util.EObjectResolvingEList; ...@@ -29,7 +29,7 @@ import org.eclipse.emf.ecore.util.EObjectResolvingEList;
* <ul> * <ul>
* <li>{@link kieker.analysis.model.analysismodel.softwaresystem.architecture.impl.ComponentTypeImpl#getPackageName <em>Package Name</em>}</li> * <li>{@link kieker.analysis.model.analysismodel.softwaresystem.architecture.impl.ComponentTypeImpl#getPackageName <em>Package Name</em>}</li>
* <li>{@link kieker.analysis.model.analysismodel.softwaresystem.architecture.impl.ComponentTypeImpl#getName <em>Name</em>}</li> * <li>{@link kieker.analysis.model.analysismodel.softwaresystem.architecture.impl.ComponentTypeImpl#getName <em>Name</em>}</li>
* <li>{@link kieker.analysis.model.analysismodel.softwaresystem.architecture.impl.ComponentTypeImpl#getProvided <em>Provided</em>}</li> * <li>{@link kieker.analysis.model.analysismodel.softwaresystem.architecture.impl.ComponentTypeImpl#getProvidedOperations <em>Provided Operations</em>}</li>
* </ul> * </ul>
* *
* @generated * @generated
...@@ -76,14 +76,14 @@ public class ComponentTypeImpl extends MinimalEObjectImpl.Container implements C ...@@ -76,14 +76,14 @@ public class ComponentTypeImpl extends MinimalEObjectImpl.Container implements C
protected String name = NAME_EDEFAULT; protected String name = NAME_EDEFAULT;
/** /**
* The cached value of the '{@link #getProvided() <em>Provided</em>}' reference list. * The cached value of the '{@link #getProvidedOperations() <em>Provided Operations</em>}' reference list.
* <!-- begin-user-doc --> * <!-- begin-user-doc -->
* <!-- end-user-doc --> * <!-- end-user-doc -->
* @see #getProvided() * @see #getProvidedOperations()
* @generated * @generated
* @ordered * @ordered
*/ */
protected EList<OperationType> provided; protected EList<OperationType> providedOperations;
/** /**
* <!-- begin-user-doc --> * <!-- begin-user-doc -->
...@@ -151,11 +151,11 @@ public class ComponentTypeImpl extends MinimalEObjectImpl.Container implements C ...@@ -151,11 +151,11 @@ public class ComponentTypeImpl extends MinimalEObjectImpl.Container implements C
* <!-- end-user-doc --> * <!-- end-user-doc -->
* @generated * @generated
*/ */
public EList<OperationType> getProvided() { public EList<OperationType> getProvidedOperations() {
if (provided == null) { if (providedOperations == null) {
provided = new EObjectResolvingEList<OperationType>(OperationType.class, this, ArchitecturePackage.COMPONENT_TYPE__PROVIDED); providedOperations = new EObjectResolvingEList<OperationType>(OperationType.class, this, ArchitecturePackage.COMPONENT_TYPE__PROVIDED_OPERATIONS);
} }
return provided; return providedOperations;
} }
/** /**
...@@ -170,8 +170,8 @@ public class ComponentTypeImpl extends MinimalEObjectImpl.Container implements C ...@@ -170,8 +170,8 @@ public class ComponentTypeImpl extends MinimalEObjectImpl.Container implements C
return getPackageName(); return getPackageName();
case ArchitecturePackage.COMPONENT_TYPE__NAME: case ArchitecturePackage.COMPONENT_TYPE__NAME:
return getName(); return getName();
case ArchitecturePackage.COMPONENT_TYPE__PROVIDED: case ArchitecturePackage.COMPONENT_TYPE__PROVIDED_OPERATIONS:
return getProvided(); return getProvidedOperations();
} }
return super.eGet(featureID, resolve, coreType); return super.eGet(featureID, resolve, coreType);
} }
...@@ -191,9 +191,9 @@ public class ComponentTypeImpl extends MinimalEObjectImpl.Container implements C ...@@ -191,9 +191,9 @@ public class ComponentTypeImpl extends MinimalEObjectImpl.Container implements C
case ArchitecturePackage.COMPONENT_TYPE__NAME: case ArchitecturePackage.COMPONENT_TYPE__NAME:
setName((String)newValue); setName((String)newValue);
return; return;
case ArchitecturePackage.COMPONENT_TYPE__PROVIDED: case ArchitecturePackage.COMPONENT_TYPE__PROVIDED_OPERATIONS:
getProvided().clear(); getProvidedOperations().clear();
getProvided().addAll((Collection<? extends OperationType>)newValue); getProvidedOperations().addAll((Collection<? extends OperationType>)newValue);
return; return;
} }
super.eSet(featureID, newValue); super.eSet(featureID, newValue);
...@@ -213,8 +213,8 @@ public class ComponentTypeImpl extends MinimalEObjectImpl.Container implements C ...@@ -213,8 +213,8 @@ public class ComponentTypeImpl extends MinimalEObjectImpl.Container implements C
case ArchitecturePackage.COMPONENT_TYPE__NAME: case ArchitecturePackage.COMPONENT_TYPE__NAME:
setName(NAME_EDEFAULT); setName(NAME_EDEFAULT);
return; return;
case ArchitecturePackage.COMPONENT_TYPE__PROVIDED: case ArchitecturePackage.COMPONENT_TYPE__PROVIDED_OPERATIONS:
getProvided().clear(); getProvidedOperations().clear();
return; return;
} }
super.eUnset(featureID); super.eUnset(featureID);
...@@ -232,8 +232,8 @@ public class ComponentTypeImpl extends MinimalEObjectImpl.Container implements C ...@@ -232,8 +232,8 @@ public class ComponentTypeImpl extends MinimalEObjectImpl.Container implements C
return PACKAGE_NAME_EDEFAULT == null ? packageName != null : !PACKAGE_NAME_EDEFAULT.equals(packageName); return PACKAGE_NAME_EDEFAULT == null ? packageName != null : !PACKAGE_NAME_EDEFAULT.equals(packageName);
case ArchitecturePackage.COMPONENT_TYPE__NAME: case ArchitecturePackage.COMPONENT_TYPE__NAME:
return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
case ArchitecturePackage.COMPONENT_TYPE__PROVIDED: case ArchitecturePackage.COMPONENT_TYPE__PROVIDED_OPERATIONS:
return provided != null && !provided.isEmpty(); return providedOperations != null && !providedOperations.isEmpty();
} }
return super.eIsSet(featureID); return super.eIsSet(featureID);
} }
......
...@@ -67,6 +67,10 @@ public class ArchitectureAdapterFactory extends AdapterFactoryImpl { ...@@ -67,6 +67,10 @@ public class ArchitectureAdapterFactory extends AdapterFactoryImpl {
*/ */
protected ArchitectureSwitch<Adapter> modelSwitch = protected ArchitectureSwitch<Adapter> modelSwitch =
new ArchitectureSwitch<Adapter>() { new ArchitectureSwitch<Adapter>() {
@Override
public Adapter caseArchitectureRoot(ArchitectureRoot object) {
return createArchitectureRootAdapter();
}
@Override @Override
public Adapter caseComponentType(ComponentType object) { public Adapter caseComponentType(ComponentType object) {
return createComponentTypeAdapter(); return createComponentTypeAdapter();
...@@ -95,6 +99,20 @@ public class ArchitectureAdapterFactory extends AdapterFactoryImpl { ...@@ -95,6 +99,20 @@ public class ArchitectureAdapterFactory extends AdapterFactoryImpl {
} }
/**
* Creates a new adapter for an object of class '{@link kieker.analysis.model.analysismodel.softwaresystem.architecture.ArchitectureRoot <em>Root</em>}'.
* <!-- begin-user-doc -->
* 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.
* <!-- end-user-doc -->
* @return the new adapter.
* @see kieker.analysis.model.analysismodel.softwaresystem.architecture.ArchitectureRoot
* @generated
*/
public Adapter createArchitectureRootAdapter() {
return null;
}
/** /**
* Creates a new adapter for an object of class '{@link kieker.analysis.model.analysismodel.softwaresystem.architecture.ComponentType <em>Component Type</em>}'. * Creates a new adapter for an object of class '{@link kieker.analysis.model.analysismodel.softwaresystem.architecture.ComponentType <em>Component Type</em>}'.
* <!-- begin-user-doc --> * <!-- begin-user-doc -->
......
...@@ -66,6 +66,12 @@ public class ArchitectureSwitch<T> extends Switch<T> { ...@@ -66,6 +66,12 @@ public class ArchitectureSwitch<T> extends Switch<T> {
@Override @Override
protected T doSwitch(int classifierID, EObject theEObject) { protected T doSwitch(int classifierID, EObject theEObject) {
switch (classifierID) { switch (classifierID) {
case ArchitecturePackage.ARCHITECTURE_ROOT: {
ArchitectureRoot architectureRoot = (ArchitectureRoot)theEObject;
T result = caseArchitectureRoot(architectureRoot);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ArchitecturePackage.COMPONENT_TYPE: { case ArchitecturePackage.COMPONENT_TYPE: {
ComponentType componentType = (ComponentType)theEObject; ComponentType componentType = (ComponentType)theEObject;
T result = caseComponentType(componentType); T result = caseComponentType(componentType);
...@@ -82,6 +88,21 @@ public class ArchitectureSwitch<T> extends Switch<T> { ...@@ -82,6 +88,21 @@ public class ArchitectureSwitch<T> extends Switch<T> {
} }
} }
/**
* Returns the result of interpreting the object as an instance of '<em>Root</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Root</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseArchitectureRoot(ArchitectureRoot object) {
return null;
}
/** /**
* Returns the result of interpreting the object as an instance of '<em>Component Type</em>'. * Returns the result of interpreting the object as an instance of '<em>Component Type</em>'.
* <!-- begin-user-doc --> * <!-- begin-user-doc -->
......
...@@ -17,9 +17,9 @@ import org.eclipse.emf.ecore.EObject; ...@@ -17,9 +17,9 @@ import org.eclipse.emf.ecore.EObject;
* The following features are supported: * The following features are supported:
* </p> * </p>
* <ul> * <ul>
* <li>{@link kieker.analysis.model.analysismodel.softwaresystem.deployment.DeployedComponent#getContains <em>Contains</em>}</li>
* <li>{@link kieker.analysis.model.analysismodel.softwaresystem.deployment.DeployedComponent#getAccesses <em>Accesses</em>}</li>
* <li>{@link kieker.analysis.model.analysismodel.softwaresystem.deployment.DeployedComponent#getComponentType <em>Component Type</em>}</li> * <li>{@link kieker.analysis.model.analysismodel.softwaresystem.deployment.DeployedComponent#getComponentType <em>Component Type</em>}</li>
* <li>{@link kieker.analysis.model.analysismodel.softwaresystem.deployment.DeployedComponent#getContainedOperations <em>Contained Operations</em>}</li>
* <li>{@link kieker.analysis.model.analysismodel.softwaresystem.deployment.DeployedComponent#getAccessedOperations <em>Accessed Operations</em>}</li>
* </ul> * </ul>
* *
* @see kieker.analysis.model.analysismodel.softwaresystem.deployment.DeploymentPackage#getDeployedComponent() * @see kieker.analysis.model.analysismodel.softwaresystem.deployment.DeploymentPackage#getDeployedComponent()
...@@ -28,61 +28,61 @@ import org.eclipse.emf.ecore.EObject; ...@@ -28,61 +28,61 @@ import org.eclipse.emf.ecore.EObject;
*/ */
public interface DeployedComponent extends EObject { public interface DeployedComponent extends EObject {
/** /**
* Returns the value of the '<em><b>Contains</b></em>' reference list. * Returns the value of the '<em><b>Component Type</b></em>' reference.
* The list contents are of type {@link kieker.analysis.model.analysismodel.softwaresystem.deployment.DeployedOperation}.
* <!-- begin-user-doc --> * <!-- begin-user-doc -->
* <p> * <p>
* If the meaning of the '<em>Contains</em>' reference list isn't clear, * If the meaning of the '<em>Component Type</em>' reference isn't clear,
* there really should be more of a description here... * there really should be more of a description here...
* </p> * </p>
* <!-- end-user-doc --> * <!-- end-user-doc -->
* @return the value of the '<em>Contains</em>' reference list. * @return the value of the '<em>Component Type</em>' reference.
* @see kieker.analysis.model.analysismodel.softwaresystem.deployment.DeploymentPackage#getDeployedComponent_Contains() * @see #setComponentType(ComponentType)
* @see kieker.analysis.model.analysismodel.softwaresystem.deployment.DeploymentPackage#getDeployedComponent_ComponentType()
* @model * @model
* @generated * @generated
*/ */
EList<DeployedOperation> getContains(); ComponentType getComponentType();
/** /**
* Returns the value of the '<em><b>Accesses</b></em>' reference list. * Sets the value of the '{@link kieker.analysis.model.analysismodel.softwaresystem.deployment.DeployedComponent#getComponentType <em>Component Type</em>}' reference.
* The list contents are of type {@link kieker.analysis.model.analysismodel.softwaresystem.deployment.DeployedOperation}.
* <!-- begin-user-doc --> * <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Accesses</em>' reference list isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc --> * <!-- end-user-doc -->
* @return the value of the '<em>Accesses</em>' reference list. * @param value the new value of the '<em>Component Type</em>' reference.
* @see kieker.analysis.model.analysismodel.softwaresystem.deployment.DeploymentPackage#getDeployedComponent_Accesses() * @see #getComponentType()
* @model
* @generated * @generated
*/ */
EList<DeployedOperation> getAccesses(); void setComponentType(ComponentType value);
/** /**
* Returns the value of the '<em><b>Component Type</b></em>' reference. * Returns the value of the '<em><b>Contained Operations</b></em>' reference list.
* The list contents are of type {@link kieker.analysis.model.analysismodel.softwaresystem.deployment.DeployedOperation}.
* <!-- begin-user-doc --> * <!-- begin-user-doc -->
* <p> * <p>
* If the meaning of the '<em>Component Type</em>' reference isn't clear, * If the meaning of the '<em>Contained Operations</em>' reference list isn't clear,
* there really should be more of a description here... * there really should be more of a description here...
* </p> * </p>
* <!-- end-user-doc --> * <!-- end-user-doc -->
* @return the value of the '<em>Component Type</em>' reference. * @return the value of the '<em>Contained Operations</em>' reference list.
* @see #setComponentType(ComponentType) * @see kieker.analysis.model.analysismodel.softwaresystem.deployment.DeploymentPackage#getDeployedComponent_ContainedOperations()
* @see kieker.analysis.model.analysismodel.softwaresystem.deployment.DeploymentPackage#getDeployedComponent_ComponentType()
* @model * @model
* @generated * @generated
*/ */
ComponentType getComponentType(); EList<DeployedOperation> getContainedOperations();
/** /**
* Sets the value of the '{@link kieker.analysis.model.analysismodel.softwaresystem.deployment.DeployedComponent#getComponentType <em>Component Type</em>}' reference. * Returns the value of the '<em><b>Accessed Operations</b></em>' reference list.
* The list contents are of type {@link kieker.analysis.model.analysismodel.softwaresystem.deployment.DeployedOperation}.
* <!-- begin-user-doc --> * <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Accessed Operations</em>' reference list isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc --> * <!-- end-user-doc -->
* @param value the new value of the '<em>Component Type</em>' reference. * @return the value of the '<em>Accessed Operations</em>' reference list.
* @see #getComponentType() * @see kieker.analysis.model.analysismodel.softwaresystem.deployment.DeploymentPackage#getDeployedComponent_AccessedOperations()
* @model
* @generated * @generated
*/ */
void setComponentType(ComponentType value); EList<DeployedOperation> getAccessedOperations();
} // DeployedComponent } // DeployedComponent
...@@ -21,6 +21,15 @@ public interface DeploymentFactory extends EFactory { ...@@ -21,6 +21,15 @@ public interface DeploymentFactory extends EFactory {
*/ */
DeploymentFactory eINSTANCE = kieker.analysis.model.analysismodel.softwaresystem.deployment.impl.DeploymentFactoryImpl.init(); DeploymentFactory eINSTANCE = kieker.analysis.model.analysismodel.softwaresystem.deployment.impl.DeploymentFactoryImpl.init();
/**
* Returns a new object of class '<em>Root</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return a new object of class '<em>Root</em>'.
* @generated
*/
DeploymentRoot createDeploymentRoot();
/** /**
* Returns a new object of class '<em>Context</em>'. * Returns a new object of class '<em>Context</em>'.
* <!-- begin-user-doc --> * <!-- begin-user-doc -->
......
...@@ -55,6 +55,43 @@ public interface DeploymentPackage extends EPackage { ...@@ -55,6 +55,43 @@ public interface DeploymentPackage extends EPackage {
*/ */
DeploymentPackage eINSTANCE = kieker.analysis.model.analysismodel.softwaresystem.deployment.impl.DeploymentPackageImpl.init(); DeploymentPackage eINSTANCE = kieker.analysis.model.analysismodel.softwaresystem.deployment.impl.DeploymentPackageImpl.init();
/**
* The meta object id for the '{@link kieker.analysis.model.analysismodel.softwaresystem.deployment.impl.DeploymentRootImpl <em>Root</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see kieker.analysis.model.analysismodel.softwaresystem.deployment.impl.DeploymentRootImpl
* @see kieker.analysis.model.analysismodel.softwaresystem.deployment.impl.DeploymentPackageImpl#getDeploymentRoot()
* @generated
*/
int DEPLOYMENT_ROOT = 0;
/**
* The feature id for the '<em><b>Deployment Contexts</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
int DEPLOYMENT_ROOT__DEPLOYMENT_CONTEXTS = 0;
/**
* The number of structural features of the '<em>Root</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
int DEPLOYMENT_ROOT_FEATURE_COUNT = 1;
/**
* The number of operations of the '<em>Root</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
int DEPLOYMENT_ROOT_OPERATION_COUNT = 0;
/** /**
* The meta object id for the '{@link kieker.analysis.model.analysismodel.softwaresystem.deployment.impl.DeploymentContextImpl <em>Context</em>}' class. * The meta object id for the '{@link kieker.analysis.model.analysismodel.softwaresystem.deployment.impl.DeploymentContextImpl <em>Context</em>}' class.
* <!-- begin-user-doc --> * <!-- begin-user-doc -->
...@@ -63,7 +100,7 @@ public interface DeploymentPackage extends EPackage { ...@@ -63,7 +100,7 @@ public interface DeploymentPackage extends EPackage {
* @see kieker.analysis.model.analysismodel.softwaresystem.deployment.impl.DeploymentPackageImpl#getDeploymentContext() * @see kieker.analysis.model.analysismodel.softwaresystem.deployment.impl.DeploymentPackageImpl#getDeploymentContext()
* @generated * @generated
*/ */
int DEPLOYMENT_CONTEXT = 0; int DEPLOYMENT_CONTEXT = 1;
/** /**
* The feature id for the '<em><b>Components</b></em>' reference list. * The feature id for the '<em><b>Components</b></em>' reference list.
...@@ -100,34 +137,34 @@ public interface DeploymentPackage extends EPackage { ...@@ -100,34 +137,34 @@ public interface DeploymentPackage extends EPackage {
* @see kieker.analysis.model.analysismodel.softwaresystem.deployment.impl.DeploymentPackageImpl#getDeployedComponent() * @see kieker.analysis.model.analysismodel.softwaresystem.deployment.impl.DeploymentPackageImpl#getDeployedComponent()
* @generated * @generated
*/ */
int DEPLOYED_COMPONENT = 1; int DEPLOYED_COMPONENT = 2;
/** /**
* The feature id for the '<em><b>Contains</b></em>' reference list. * The feature id for the '<em><b>Component Type</b></em>' reference.
* <!-- begin-user-doc --> * <!-- begin-user-doc -->
* <!-- end-user-doc --> * <!-- end-user-doc -->
* @generated * @generated
* @ordered * @ordered
*/ */
int DEPLOYED_COMPONENT__CONTAINS = 0; int DEPLOYED_COMPONENT__COMPONENT_TYPE = 0;
/** /**
* The feature id for the '<em><b>Accesses</b></em>' reference list. * The feature id for the '<em><b>Contained Operations</b></em>' reference list.
* <!-- begin-user-doc --> * <!-- begin-user-doc -->
* <!-- end-user-doc --> * <!-- end-user-doc -->
* @generated * @generated
* @ordered * @ordered
*/ */
int DEPLOYED_COMPONENT__ACCESSES = 1; int DEPLOYED_COMPONENT__CONTAINED_OPERATIONS = 1;
/** /**
* The feature id for the '<em><b>Component Type</b></em>' reference. * The feature id for the '<em><b>Accessed Operations</b></em>' reference list.
* <!-- begin-user-doc --> * <!-- begin-user-doc -->
* <!-- end-user-doc --> * <!-- end-user-doc -->
* @generated * @generated
* @ordered * @ordered
*/ */
int DEPLOYED_COMPONENT__COMPONENT_TYPE = 2; int DEPLOYED_COMPONENT__ACCESSED_OPERATIONS = 2;
/** /**
* The number of structural features of the '<em>Deployed Component</em>' class. * The number of structural features of the '<em>Deployed Component</em>' class.
...@@ -155,7 +192,7 @@ public interface DeploymentPackage extends EPackage { ...@@ -155,7 +192,7 @@ public interface DeploymentPackage extends EPackage {
* @see kieker.analysis.model.analysismodel.softwaresystem.deployment.impl.DeploymentPackageImpl#getDeployedOperation() * @see kieker.analysis.model.analysismodel.softwaresystem.deployment.impl.DeploymentPackageImpl#getDeployedOperation()
* @generated * @generated
*/ */
int DEPLOYED_OPERATION = 2; int DEPLOYED_OPERATION = 3;
/** /**
* The feature id for the '<em><b>Operation Type</b></em>' reference. * The feature id for the '<em><b>Operation Type</b></em>' reference.
...@@ -185,6 +222,27 @@ public interface DeploymentPackage extends EPackage { ...@@ -185,6 +222,27 @@ public interface DeploymentPackage extends EPackage {
int DEPLOYED_OPERATION_OPERATION_COUNT = 0; int DEPLOYED_OPERATION_OPERATION_COUNT = 0;
/**
* Returns the meta object for class '{@link kieker.analysis.model.analysismodel.softwaresystem.deployment.DeploymentRoot <em>Root</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the meta object for class '<em>Root</em>'.
* @see kieker.analysis.model.analysismodel.softwaresystem.deployment.DeploymentRoot
* @generated
*/
EClass getDeploymentRoot();
/**
* Returns the meta object for the reference list '{@link kieker.analysis.model.analysismodel.softwaresystem.deployment.DeploymentRoot#getDeploymentContexts <em>Deployment Contexts</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the meta object for the reference list '<em>Deployment Contexts</em>'.
* @see kieker.analysis.model.analysismodel.softwaresystem.deployment.DeploymentRoot#getDeploymentContexts()
* @see #getDeploymentRoot()
* @generated
*/
EReference getDeploymentRoot_DeploymentContexts();
/** /**
* Returns the meta object for class '{@link kieker.analysis.model.analysismodel.softwaresystem.deployment.DeploymentContext <em>Context</em>}'. * Returns the meta object for class '{@link kieker.analysis.model.analysismodel.softwaresystem.deployment.DeploymentContext <em>Context</em>}'.
* <!-- begin-user-doc --> * <!-- begin-user-doc -->
...@@ -217,37 +275,37 @@ public interface DeploymentPackage extends EPackage { ...@@ -217,37 +275,37 @@ public interface DeploymentPackage extends EPackage {
EClass getDeployedComponent(); EClass getDeployedComponent();
/** /**
* Returns the meta object for the reference list '{@link kieker.analysis.model.analysismodel.softwaresystem.deployment.DeployedComponent#getContains <em>Contains</em>}'. * Returns the meta object for the reference '{@link kieker.analysis.model.analysismodel.softwaresystem.deployment.DeployedComponent#getComponentType <em>Component Type</em>}'.
* <!-- begin-user-doc --> * <!-- begin-user-doc -->
* <!-- end-user-doc --> * <!-- end-user-doc -->
* @return the meta object for the reference list '<em>Contains</em>'. * @return the meta object for the reference '<em>Component Type</em>'.
* @see kieker.analysis.model.analysismodel.softwaresystem.deployment.DeployedComponent#getContains() * @see kieker.analysis.model.analysismodel.softwaresystem.deployment.DeployedComponent#getComponentType()
* @see #getDeployedComponent() * @see #getDeployedComponent()
* @generated * @generated
*/ */
EReference getDeployedComponent_Contains(); EReference getDeployedComponent_ComponentType();
/** /**
* Returns the meta object for the reference list '{@link kieker.analysis.model.analysismodel.softwaresystem.deployment.DeployedComponent#getAccesses <em>Accesses</em>}'. * Returns the meta object for the reference list '{@link kieker.analysis.model.analysismodel.softwaresystem.deployment.DeployedComponent#getContainedOperations <em>Contained Operations</em>}'.
* <!-- begin-user-doc --> * <!-- begin-user-doc -->
* <!-- end-user-doc --> * <!-- end-user-doc -->
* @return the meta object for the reference list '<em>Accesses</em>'. * @return the meta object for the reference list '<em>Contained Operations</em>'.
* @see kieker.analysis.model.analysismodel.softwaresystem.deployment.DeployedComponent#getAccesses() * @see kieker.analysis.model.analysismodel.softwaresystem.deployment.DeployedComponent#getContainedOperations()
* @see #getDeployedComponent() * @see #getDeployedComponent()
* @generated * @generated
*/ */
EReference getDeployedComponent_Accesses(); EReference getDeployedComponent_ContainedOperations();
/** /**
* Returns the meta object for the reference '{@link kieker.analysis.model.analysismodel.softwaresystem.deployment.DeployedComponent#getComponentType <em>Component Type</em>}'. * Returns the meta object for the reference list '{@link kieker.analysis.model.analysismodel.softwaresystem.deployment.DeployedComponent#getAccessedOperations <em>Accessed Operations</em>}'.
* <!-- begin-user-doc --> * <!-- begin-user-doc -->
* <!-- end-user-doc --> * <!-- end-user-doc -->
* @return the meta object for the reference '<em>Component Type</em>'. * @return the meta object for the reference list '<em>Accessed Operations</em>'.
* @see kieker.analysis.model.analysismodel.softwaresystem.deployment.DeployedComponent#getComponentType() * @see kieker.analysis.model.analysismodel.softwaresystem.deployment.DeployedComponent#getAccessedOperations()
* @see #getDeployedComponent() * @see #getDeployedComponent()
* @generated * @generated
*/ */
EReference getDeployedComponent_ComponentType(); EReference getDeployedComponent_AccessedOperations();
/** /**
* Returns the meta object for class '{@link kieker.analysis.model.analysismodel.softwaresystem.deployment.DeployedOperation <em>Deployed Operation</em>}'. * Returns the meta object for class '{@link kieker.analysis.model.analysismodel.softwaresystem.deployment.DeployedOperation <em>Deployed Operation</em>}'.
...@@ -293,6 +351,24 @@ public interface DeploymentPackage extends EPackage { ...@@ -293,6 +351,24 @@ public interface DeploymentPackage extends EPackage {
* @generated * @generated
*/ */
interface Literals { interface Literals {
/**
* The meta object literal for the '{@link kieker.analysis.model.analysismodel.softwaresystem.deployment.impl.DeploymentRootImpl <em>Root</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see kieker.analysis.model.analysismodel.softwaresystem.deployment.impl.DeploymentRootImpl
* @see kieker.analysis.model.analysismodel.softwaresystem.deployment.impl.DeploymentPackageImpl#getDeploymentRoot()
* @generated
*/
EClass DEPLOYMENT_ROOT = eINSTANCE.getDeploymentRoot();
/**
* The meta object literal for the '<em><b>Deployment Contexts</b></em>' reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
EReference DEPLOYMENT_ROOT__DEPLOYMENT_CONTEXTS = eINSTANCE.getDeploymentRoot_DeploymentContexts();
/** /**
* The meta object literal for the '{@link kieker.analysis.model.analysismodel.softwaresystem.deployment.impl.DeploymentContextImpl <em>Context</em>}' class. * The meta object literal for the '{@link kieker.analysis.model.analysismodel.softwaresystem.deployment.impl.DeploymentContextImpl <em>Context</em>}' class.
* <!-- begin-user-doc --> * <!-- begin-user-doc -->
...@@ -322,28 +398,28 @@ public interface DeploymentPackage extends EPackage { ...@@ -322,28 +398,28 @@ public interface DeploymentPackage extends EPackage {
EClass DEPLOYED_COMPONENT = eINSTANCE.getDeployedComponent(); EClass DEPLOYED_COMPONENT = eINSTANCE.getDeployedComponent();
/** /**
* The meta object literal for the '<em><b>Contains</b></em>' reference list feature. * The meta object literal for the '<em><b>Component Type</b></em>' reference feature.
* <!-- begin-user-doc --> * <!-- begin-user-doc -->
* <!-- end-user-doc --> * <!-- end-user-doc -->
* @generated * @generated
*/ */
EReference DEPLOYED_COMPONENT__CONTAINS = eINSTANCE.getDeployedComponent_Contains(); EReference DEPLOYED_COMPONENT__COMPONENT_TYPE = eINSTANCE.getDeployedComponent_ComponentType();
/** /**
* The meta object literal for the '<em><b>Accesses</b></em>' reference list feature. * The meta object literal for the '<em><b>Contained Operations</b></em>' reference list feature.
* <!-- begin-user-doc --> * <!-- begin-user-doc -->
* <!-- end-user-doc --> * <!-- end-user-doc -->
* @generated * @generated
*/ */
EReference DEPLOYED_COMPONENT__ACCESSES = eINSTANCE.getDeployedComponent_Accesses(); EReference DEPLOYED_COMPONENT__CONTAINED_OPERATIONS = eINSTANCE.getDeployedComponent_ContainedOperations();
/** /**
* The meta object literal for the '<em><b>Component Type</b></em>' reference feature. * The meta object literal for the '<em><b>Accessed Operations</b></em>' reference list feature.
* <!-- begin-user-doc --> * <!-- begin-user-doc -->
* <!-- end-user-doc --> * <!-- end-user-doc -->
* @generated * @generated
*/ */
EReference DEPLOYED_COMPONENT__COMPONENT_TYPE = eINSTANCE.getDeployedComponent_ComponentType(); EReference DEPLOYED_COMPONENT__ACCESSED_OPERATIONS = eINSTANCE.getDeployedComponent_AccessedOperations();
/** /**
* The meta object literal for the '{@link kieker.analysis.model.analysismodel.softwaresystem.deployment.impl.DeployedOperationImpl <em>Deployed Operation</em>}' class. * The meta object literal for the '{@link kieker.analysis.model.analysismodel.softwaresystem.deployment.impl.DeployedOperationImpl <em>Deployed Operation</em>}' class.
......
/**
*/
package kieker.analysis.model.analysismodel.softwaresystem.deployment;
import org.eclipse.emf.common.util.EList;
import org.eclipse.emf.ecore.EObject;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Root</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* </p>
* <ul>
* <li>{@link kieker.analysis.model.analysismodel.softwaresystem.deployment.DeploymentRoot#getDeploymentContexts <em>Deployment Contexts</em>}</li>
* </ul>
*
* @see kieker.analysis.model.analysismodel.softwaresystem.deployment.DeploymentPackage#getDeploymentRoot()
* @model
* @generated
*/
public interface DeploymentRoot extends EObject {
/**
* Returns the value of the '<em><b>Deployment Contexts</b></em>' reference list.
* The list contents are of type {@link kieker.analysis.model.analysismodel.softwaresystem.deployment.DeploymentContext}.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Deployment Contexts</em>' reference list isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Deployment Contexts</em>' reference list.
* @see kieker.analysis.model.analysismodel.softwaresystem.deployment.DeploymentPackage#getDeploymentRoot_DeploymentContexts()
* @model
* @generated
*/
EList<DeploymentContext> getDeploymentContexts();
} // DeploymentRoot
...@@ -30,43 +30,43 @@ import org.eclipse.emf.ecore.util.EObjectResolvingEList; ...@@ -30,43 +30,43 @@ import org.eclipse.emf.ecore.util.EObjectResolvingEList;
* The following features are implemented: * The following features are implemented:
* </p> * </p>
* <ul> * <ul>
* <li>{@link kieker.analysis.model.analysismodel.softwaresystem.deployment.impl.DeployedComponentImpl#getContains <em>Contains</em>}</li>
* <li>{@link kieker.analysis.model.analysismodel.softwaresystem.deployment.impl.DeployedComponentImpl#getAccesses <em>Accesses</em>}</li>
* <li>{@link kieker.analysis.model.analysismodel.softwaresystem.deployment.impl.DeployedComponentImpl#getComponentType <em>Component Type</em>}</li> * <li>{@link kieker.analysis.model.analysismodel.softwaresystem.deployment.impl.DeployedComponentImpl#getComponentType <em>Component Type</em>}</li>
* <li>{@link kieker.analysis.model.analysismodel.softwaresystem.deployment.impl.DeployedComponentImpl#getContainedOperations <em>Contained Operations</em>}</li>
* <li>{@link kieker.analysis.model.analysismodel.softwaresystem.deployment.impl.DeployedComponentImpl#getAccessedOperations <em>Accessed Operations</em>}</li>
* </ul> * </ul>
* *
* @generated * @generated
*/ */
public class DeployedComponentImpl extends MinimalEObjectImpl.Container implements DeployedComponent { public class DeployedComponentImpl extends MinimalEObjectImpl.Container implements DeployedComponent {
/** /**
* The cached value of the '{@link #getContains() <em>Contains</em>}' reference list. * The cached value of the '{@link #getComponentType() <em>Component Type</em>}' reference.
* <!-- begin-user-doc --> * <!-- begin-user-doc -->
* <!-- end-user-doc --> * <!-- end-user-doc -->
* @see #getContains() * @see #getComponentType()
* @generated * @generated
* @ordered * @ordered
*/ */
protected EList<DeployedOperation> contains; protected ComponentType componentType;
/** /**
* The cached value of the '{@link #getAccesses() <em>Accesses</em>}' reference list. * The cached value of the '{@link #getContainedOperations() <em>Contained Operations</em>}' reference list.
* <!-- begin-user-doc --> * <!-- begin-user-doc -->
* <!-- end-user-doc --> * <!-- end-user-doc -->
* @see #getAccesses() * @see #getContainedOperations()
* @generated * @generated
* @ordered * @ordered
*/ */
protected EList<DeployedOperation> accesses; protected EList<DeployedOperation> containedOperations;
/** /**
* The cached value of the '{@link #getComponentType() <em>Component Type</em>}' reference. * The cached value of the '{@link #getAccessedOperations() <em>Accessed Operations</em>}' reference list.
* <!-- begin-user-doc --> * <!-- begin-user-doc -->
* <!-- end-user-doc --> * <!-- end-user-doc -->
* @see #getComponentType() * @see #getAccessedOperations()
* @generated * @generated
* @ordered * @ordered
*/ */
protected ComponentType componentType; protected EList<DeployedOperation> accessedOperations;
/** /**
* <!-- begin-user-doc --> * <!-- begin-user-doc -->
...@@ -87,30 +87,6 @@ public class DeployedComponentImpl extends MinimalEObjectImpl.Container implemen ...@@ -87,30 +87,6 @@ public class DeployedComponentImpl extends MinimalEObjectImpl.Container implemen
return DeploymentPackage.Literals.DEPLOYED_COMPONENT; return DeploymentPackage.Literals.DEPLOYED_COMPONENT;
} }
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EList<DeployedOperation> getContains() {
if (contains == null) {
contains = new EObjectResolvingEList<DeployedOperation>(DeployedOperation.class, this, DeploymentPackage.DEPLOYED_COMPONENT__CONTAINS);
}
return contains;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EList<DeployedOperation> getAccesses() {
if (accesses == null) {
accesses = new EObjectResolvingEList<DeployedOperation>(DeployedOperation.class, this, DeploymentPackage.DEPLOYED_COMPONENT__ACCESSES);
}
return accesses;
}
/** /**
* <!-- begin-user-doc --> * <!-- begin-user-doc -->
* <!-- end-user-doc --> * <!-- end-user-doc -->
...@@ -149,6 +125,30 @@ public class DeployedComponentImpl extends MinimalEObjectImpl.Container implemen ...@@ -149,6 +125,30 @@ public class DeployedComponentImpl extends MinimalEObjectImpl.Container implemen
eNotify(new ENotificationImpl(this, Notification.SET, DeploymentPackage.DEPLOYED_COMPONENT__COMPONENT_TYPE, oldComponentType, componentType)); eNotify(new ENotificationImpl(this, Notification.SET, DeploymentPackage.DEPLOYED_COMPONENT__COMPONENT_TYPE, oldComponentType, componentType));
} }
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EList<DeployedOperation> getContainedOperations() {
if (containedOperations == null) {
containedOperations = new EObjectResolvingEList<DeployedOperation>(DeployedOperation.class, this, DeploymentPackage.DEPLOYED_COMPONENT__CONTAINED_OPERATIONS);
}
return containedOperations;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EList<DeployedOperation> getAccessedOperations() {
if (accessedOperations == null) {
accessedOperations = new EObjectResolvingEList<DeployedOperation>(DeployedOperation.class, this, DeploymentPackage.DEPLOYED_COMPONENT__ACCESSED_OPERATIONS);
}
return accessedOperations;
}
/** /**
* <!-- begin-user-doc --> * <!-- begin-user-doc -->
* <!-- end-user-doc --> * <!-- end-user-doc -->
...@@ -157,13 +157,13 @@ public class DeployedComponentImpl extends MinimalEObjectImpl.Container implemen ...@@ -157,13 +157,13 @@ public class DeployedComponentImpl extends MinimalEObjectImpl.Container implemen
@Override @Override
public Object eGet(int featureID, boolean resolve, boolean coreType) { public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) { switch (featureID) {
case DeploymentPackage.DEPLOYED_COMPONENT__CONTAINS:
return getContains();
case DeploymentPackage.DEPLOYED_COMPONENT__ACCESSES:
return getAccesses();
case DeploymentPackage.DEPLOYED_COMPONENT__COMPONENT_TYPE: case DeploymentPackage.DEPLOYED_COMPONENT__COMPONENT_TYPE:
if (resolve) return getComponentType(); if (resolve) return getComponentType();
return basicGetComponentType(); return basicGetComponentType();
case DeploymentPackage.DEPLOYED_COMPONENT__CONTAINED_OPERATIONS:
return getContainedOperations();
case DeploymentPackage.DEPLOYED_COMPONENT__ACCESSED_OPERATIONS:
return getAccessedOperations();
} }
return super.eGet(featureID, resolve, coreType); return super.eGet(featureID, resolve, coreType);
} }
...@@ -177,17 +177,17 @@ public class DeployedComponentImpl extends MinimalEObjectImpl.Container implemen ...@@ -177,17 +177,17 @@ public class DeployedComponentImpl extends MinimalEObjectImpl.Container implemen
@Override @Override
public void eSet(int featureID, Object newValue) { public void eSet(int featureID, Object newValue) {
switch (featureID) { switch (featureID) {
case DeploymentPackage.DEPLOYED_COMPONENT__CONTAINS:
getContains().clear();
getContains().addAll((Collection<? extends DeployedOperation>)newValue);
return;
case DeploymentPackage.DEPLOYED_COMPONENT__ACCESSES:
getAccesses().clear();
getAccesses().addAll((Collection<? extends DeployedOperation>)newValue);
return;
case DeploymentPackage.DEPLOYED_COMPONENT__COMPONENT_TYPE: case DeploymentPackage.DEPLOYED_COMPONENT__COMPONENT_TYPE:
setComponentType((ComponentType)newValue); setComponentType((ComponentType)newValue);
return; return;
case DeploymentPackage.DEPLOYED_COMPONENT__CONTAINED_OPERATIONS:
getContainedOperations().clear();
getContainedOperations().addAll((Collection<? extends DeployedOperation>)newValue);
return;
case DeploymentPackage.DEPLOYED_COMPONENT__ACCESSED_OPERATIONS:
getAccessedOperations().clear();
getAccessedOperations().addAll((Collection<? extends DeployedOperation>)newValue);
return;
} }
super.eSet(featureID, newValue); super.eSet(featureID, newValue);
} }
...@@ -200,15 +200,15 @@ public class DeployedComponentImpl extends MinimalEObjectImpl.Container implemen ...@@ -200,15 +200,15 @@ public class DeployedComponentImpl extends MinimalEObjectImpl.Container implemen
@Override @Override
public void eUnset(int featureID) { public void eUnset(int featureID) {
switch (featureID) { switch (featureID) {
case DeploymentPackage.DEPLOYED_COMPONENT__CONTAINS:
getContains().clear();
return;
case DeploymentPackage.DEPLOYED_COMPONENT__ACCESSES:
getAccesses().clear();
return;
case DeploymentPackage.DEPLOYED_COMPONENT__COMPONENT_TYPE: case DeploymentPackage.DEPLOYED_COMPONENT__COMPONENT_TYPE:
setComponentType((ComponentType)null); setComponentType((ComponentType)null);
return; return;
case DeploymentPackage.DEPLOYED_COMPONENT__CONTAINED_OPERATIONS:
getContainedOperations().clear();
return;
case DeploymentPackage.DEPLOYED_COMPONENT__ACCESSED_OPERATIONS:
getAccessedOperations().clear();
return;
} }
super.eUnset(featureID); super.eUnset(featureID);
} }
...@@ -221,12 +221,12 @@ public class DeployedComponentImpl extends MinimalEObjectImpl.Container implemen ...@@ -221,12 +221,12 @@ public class DeployedComponentImpl extends MinimalEObjectImpl.Container implemen
@Override @Override
public boolean eIsSet(int featureID) { public boolean eIsSet(int featureID) {
switch (featureID) { switch (featureID) {
case DeploymentPackage.DEPLOYED_COMPONENT__CONTAINS:
return contains != null && !contains.isEmpty();
case DeploymentPackage.DEPLOYED_COMPONENT__ACCESSES:
return accesses != null && !accesses.isEmpty();
case DeploymentPackage.DEPLOYED_COMPONENT__COMPONENT_TYPE: case DeploymentPackage.DEPLOYED_COMPONENT__COMPONENT_TYPE:
return componentType != null; return componentType != null;
case DeploymentPackage.DEPLOYED_COMPONENT__CONTAINED_OPERATIONS:
return containedOperations != null && !containedOperations.isEmpty();
case DeploymentPackage.DEPLOYED_COMPONENT__ACCESSED_OPERATIONS:
return accessedOperations != null && !accessedOperations.isEmpty();
} }
return super.eIsSet(featureID); return super.eIsSet(featureID);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment