Commit 19f1ef64 authored by Marco Konersmann's avatar Marco Konersmann

Simplifies the JMeter meta model

parent 50ac6f44
......@@ -3,9 +3,6 @@
xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="jmeter" nsURI="http://www.example.org/jmeter" nsPrefix="jmeter">
<eClassifiers xsi:type="ecore:EClass" name="PreProcessor" eSuperTypes="#//ProcessComponent"/>
<eClassifiers xsi:type="ecore:EClass" name="PostProcessor" eSuperTypes="#//ProcessComponent"/>
<eClassifiers xsi:type="ecore:EClass" name="Sampler" eSuperTypes="#//TestElement"/>
<eClassifiers xsi:type="ecore:EClass" name="Controller" eSuperTypes="#//TestElement"/>
<eClassifiers xsi:type="ecore:EClass" name="Assertion" eSuperTypes="#//TestElement"/>
<eClassifiers xsi:type="ecore:EClass" name="EventListener" eSuperTypes="#//ProcessComponent"/>
<eClassifiers xsi:type="ecore:EClass" name="ThreadListener" eSuperTypes="#//ProcessComponent"/>
<eClassifiers xsi:type="ecore:EClass" name="Compiler" eSuperTypes="#//ProcessComponent"/>
......@@ -14,22 +11,15 @@
eType="#//Operation" containment="true"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="proto" eType="#//Protocol"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="TestElement" abstract="true" eSuperTypes="#//Named">
<eStructuralFeatures xsi:type="ecore:EReference" name="operation" upperBound="-1"
eType="#//Operation" containment="true"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="proto" eType="#//Protocol"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Operation" eSuperTypes="#//Named"/>
<eClassifiers xsi:type="ecore:EClass" name="Named" abstract="true">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="JMeterThread">
<eStructuralFeatures xsi:type="ecore:EReference" name="processcomponent" upperBound="-1"
eType="#//ProcessComponent" containment="true"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="testelement" upperBound="-1"
eType="#//TestElement" containment="true"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="protocols" upperBound="-1"
eType="#//Protocol" containment="true"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="processcomponent" upperBound="-1"
eType="#//ProcessComponent" containment="true"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Protocol" eSuperTypes="#//Named"/>
</ecore:EPackage>
......@@ -13,9 +13,6 @@
ecorePackage="jmeter.ecore#/">
<genClasses ecoreClass="jmeter.ecore#//PreProcessor"/>
<genClasses ecoreClass="jmeter.ecore#//PostProcessor"/>
<genClasses ecoreClass="jmeter.ecore#//Sampler"/>
<genClasses ecoreClass="jmeter.ecore#//Controller"/>
<genClasses ecoreClass="jmeter.ecore#//Assertion"/>
<genClasses ecoreClass="jmeter.ecore#//EventListener"/>
<genClasses ecoreClass="jmeter.ecore#//ThreadListener"/>
<genClasses ecoreClass="jmeter.ecore#//Compiler"/>
......@@ -23,18 +20,13 @@
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference jmeter.ecore#//ProcessComponent/operation"/>
<genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference jmeter.ecore#//ProcessComponent/proto"/>
</genClasses>
<genClasses ecoreClass="jmeter.ecore#//TestElement">
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference jmeter.ecore#//TestElement/operation"/>
<genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference jmeter.ecore#//TestElement/proto"/>
</genClasses>
<genClasses ecoreClass="jmeter.ecore#//Operation"/>
<genClasses image="false" ecoreClass="jmeter.ecore#//Named">
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute jmeter.ecore#//Named/name"/>
</genClasses>
<genClasses ecoreClass="jmeter.ecore#//JMeterThread">
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference jmeter.ecore#//JMeterThread/processcomponent"/>
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference jmeter.ecore#//JMeterThread/testelement"/>
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference jmeter.ecore#//JMeterThread/protocols"/>
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference jmeter.ecore#//JMeterThread/processcomponent"/>
</genClasses>
<genClasses ecoreClass="jmeter.ecore#//Protocol"/>
</genPackages>
......
/**
*/
package org.codeling.lang.jmeter.metamodel.jmeter;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Assertion</b></em>'.
* <!-- end-user-doc -->
*
*
* @see org.codeling.lang.jmeter.metamodel.jmeter.JmeterPackage#getAssertion()
* @model
* @generated
*/
public interface Assertion extends TestElement {
} // Assertion
/**
*/
package org.codeling.lang.jmeter.metamodel.jmeter;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Controller</b></em>'.
* <!-- end-user-doc -->
*
*
* @see org.codeling.lang.jmeter.metamodel.jmeter.JmeterPackage#getController()
* @model
* @generated
*/
public interface Controller extends TestElement {
} // Controller
......@@ -15,9 +15,8 @@ import org.eclipse.emf.ecore.EObject;
* The following features are supported:
* </p>
* <ul>
* <li>{@link org.codeling.lang.jmeter.metamodel.jmeter.JMeterThread#getProcesscomponent <em>Processcomponent</em>}</li>
* <li>{@link org.codeling.lang.jmeter.metamodel.jmeter.JMeterThread#getTestelement <em>Testelement</em>}</li>
* <li>{@link org.codeling.lang.jmeter.metamodel.jmeter.JMeterThread#getProtocols <em>Protocols</em>}</li>
* <li>{@link org.codeling.lang.jmeter.metamodel.jmeter.JMeterThread#getProcesscomponent <em>Processcomponent</em>}</li>
* </ul>
*
* @see org.codeling.lang.jmeter.metamodel.jmeter.JmeterPackage#getJMeterThread()
......@@ -26,51 +25,35 @@ import org.eclipse.emf.ecore.EObject;
*/
public interface JMeterThread extends EObject {
/**
* Returns the value of the '<em><b>Processcomponent</b></em>' containment reference list.
* The list contents are of type {@link org.codeling.lang.jmeter.metamodel.jmeter.ProcessComponent}.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Processcomponent</em>' containment reference list isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Processcomponent</em>' containment reference list.
* @see org.codeling.lang.jmeter.metamodel.jmeter.JmeterPackage#getJMeterThread_Processcomponent()
* @model containment="true"
* @generated
*/
EList<ProcessComponent> getProcesscomponent();
/**
* Returns the value of the '<em><b>Testelement</b></em>' containment reference list.
* The list contents are of type {@link org.codeling.lang.jmeter.metamodel.jmeter.TestElement}.
* Returns the value of the '<em><b>Protocols</b></em>' containment reference list.
* The list contents are of type {@link org.codeling.lang.jmeter.metamodel.jmeter.Protocol}.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Testelement</em>' containment reference list isn't clear,
* If the meaning of the '<em>Protocols</em>' containment reference list isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Testelement</em>' containment reference list.
* @see org.codeling.lang.jmeter.metamodel.jmeter.JmeterPackage#getJMeterThread_Testelement()
* @return the value of the '<em>Protocols</em>' containment reference list.
* @see org.codeling.lang.jmeter.metamodel.jmeter.JmeterPackage#getJMeterThread_Protocols()
* @model containment="true"
* @generated
*/
EList<TestElement> getTestelement();
EList<Protocol> getProtocols();
/**
* Returns the value of the '<em><b>Protocols</b></em>' containment reference list.
* The list contents are of type {@link org.codeling.lang.jmeter.metamodel.jmeter.Protocol}.
* Returns the value of the '<em><b>Processcomponent</b></em>' containment reference list.
* The list contents are of type {@link org.codeling.lang.jmeter.metamodel.jmeter.ProcessComponent}.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Protocols</em>' containment reference list isn't clear,
* If the meaning of the '<em>Processcomponent</em>' containment reference list isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Protocols</em>' containment reference list.
* @see org.codeling.lang.jmeter.metamodel.jmeter.JmeterPackage#getJMeterThread_Protocols()
* @return the value of the '<em>Processcomponent</em>' containment reference list.
* @see org.codeling.lang.jmeter.metamodel.jmeter.JmeterPackage#getJMeterThread_Processcomponent()
* @model containment="true"
* @generated
*/
EList<Protocol> getProtocols();
EList<ProcessComponent> getProcesscomponent();
} // JMeterThread
......@@ -39,33 +39,6 @@ public interface JmeterFactory extends EFactory {
*/
PostProcessor createPostProcessor();
/**
* Returns a new object of class '<em>Sampler</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return a new object of class '<em>Sampler</em>'.
* @generated
*/
Sampler createSampler();
/**
* Returns a new object of class '<em>Controller</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return a new object of class '<em>Controller</em>'.
* @generated
*/
Controller createController();
/**
* Returns a new object of class '<em>Assertion</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return a new object of class '<em>Assertion</em>'.
* @generated
*/
Assertion createAssertion();
/**
* Returns a new object of class '<em>Event Listener</em>'.
* <!-- begin-user-doc -->
......
/**
*/
package org.codeling.lang.jmeter.metamodel.jmeter;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Sampler</b></em>'.
* <!-- end-user-doc -->
*
*
* @see org.codeling.lang.jmeter.metamodel.jmeter.JmeterPackage#getSampler()
* @model
* @generated
*/
public interface Sampler extends TestElement {
} // Sampler
/**
*/
package org.codeling.lang.jmeter.metamodel.jmeter;
import org.eclipse.emf.common.util.EList;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Test Element</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* </p>
* <ul>
* <li>{@link org.codeling.lang.jmeter.metamodel.jmeter.TestElement#getOperation <em>Operation</em>}</li>
* <li>{@link org.codeling.lang.jmeter.metamodel.jmeter.TestElement#getProto <em>Proto</em>}</li>
* </ul>
*
* @see org.codeling.lang.jmeter.metamodel.jmeter.JmeterPackage#getTestElement()
* @model abstract="true"
* @generated
*/
public interface TestElement extends Named {
/**
* Returns the value of the '<em><b>Operation</b></em>' containment reference list.
* The list contents are of type {@link org.codeling.lang.jmeter.metamodel.jmeter.Operation}.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Operation</em>' containment reference list isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Operation</em>' containment reference list.
* @see org.codeling.lang.jmeter.metamodel.jmeter.JmeterPackage#getTestElement_Operation()
* @model containment="true"
* @generated
*/
EList<Operation> getOperation();
/**
* Returns the value of the '<em><b>Proto</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Proto</em>' reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Proto</em>' reference.
* @see #setProto(Protocol)
* @see org.codeling.lang.jmeter.metamodel.jmeter.JmeterPackage#getTestElement_Proto()
* @model
* @generated
*/
Protocol getProto();
/**
* Sets the value of the '{@link org.codeling.lang.jmeter.metamodel.jmeter.TestElement#getProto <em>Proto</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Proto</em>' reference.
* @see #getProto()
* @generated
*/
void setProto(Protocol value);
} // TestElement
/**
*/
package org.codeling.lang.jmeter.metamodel.jmeter.impl;
import org.codeling.lang.jmeter.metamodel.jmeter.Assertion;
import org.codeling.lang.jmeter.metamodel.jmeter.JmeterPackage;
import org.eclipse.emf.ecore.EClass;
/**
* <!-- begin-user-doc -->
* An implementation of the model object '<em><b>Assertion</b></em>'.
* <!-- end-user-doc -->
*
* @generated
*/
public class AssertionImpl extends TestElementImpl implements Assertion {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
protected AssertionImpl() {
super();
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
protected EClass eStaticClass() {
return JmeterPackage.Literals.ASSERTION;
}
} //AssertionImpl
/**
*/
package org.codeling.lang.jmeter.metamodel.jmeter.impl;
import org.codeling.lang.jmeter.metamodel.jmeter.Controller;
import org.codeling.lang.jmeter.metamodel.jmeter.JmeterPackage;
import org.eclipse.emf.ecore.EClass;
/**
* <!-- begin-user-doc -->
* An implementation of the model object '<em><b>Controller</b></em>'.
* <!-- end-user-doc -->
*
* @generated
*/
public class ControllerImpl extends TestElementImpl implements Controller {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
protected ControllerImpl() {
super();
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
protected EClass eStaticClass() {
return JmeterPackage.Literals.CONTROLLER;
}
} //ControllerImpl
......@@ -8,7 +8,6 @@ import org.codeling.lang.jmeter.metamodel.jmeter.JMeterThread;
import org.codeling.lang.jmeter.metamodel.jmeter.JmeterPackage;
import org.codeling.lang.jmeter.metamodel.jmeter.ProcessComponent;
import org.codeling.lang.jmeter.metamodel.jmeter.Protocol;
import org.codeling.lang.jmeter.metamodel.jmeter.TestElement;
import org.eclipse.emf.common.notify.NotificationChain;
......@@ -30,43 +29,32 @@ import org.eclipse.emf.ecore.util.InternalEList;
* The following features are implemented:
* </p>
* <ul>
* <li>{@link org.codeling.lang.jmeter.metamodel.jmeter.impl.JMeterThreadImpl#getProcesscomponent <em>Processcomponent</em>}</li>
* <li>{@link org.codeling.lang.jmeter.metamodel.jmeter.impl.JMeterThreadImpl#getTestelement <em>Testelement</em>}</li>
* <li>{@link org.codeling.lang.jmeter.metamodel.jmeter.impl.JMeterThreadImpl#getProtocols <em>Protocols</em>}</li>
* <li>{@link org.codeling.lang.jmeter.metamodel.jmeter.impl.JMeterThreadImpl#getProcesscomponent <em>Processcomponent</em>}</li>
* </ul>
*
* @generated
*/
public class JMeterThreadImpl extends MinimalEObjectImpl.Container implements JMeterThread {
/**
* The cached value of the '{@link #getProcesscomponent() <em>Processcomponent</em>}' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getProcesscomponent()
* @generated
* @ordered
*/
protected EList<ProcessComponent> processcomponent;
/**
* The cached value of the '{@link #getTestelement() <em>Testelement</em>}' containment reference list.
* The cached value of the '{@link #getProtocols() <em>Protocols</em>}' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getTestelement()
* @see #getProtocols()
* @generated
* @ordered
*/
protected EList<TestElement> testelement;
protected EList<Protocol> protocols;
/**
* The cached value of the '{@link #getProtocols() <em>Protocols</em>}' containment reference list.
* The cached value of the '{@link #getProcesscomponent() <em>Processcomponent</em>}' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getProtocols()
* @see #getProcesscomponent()
* @generated
* @ordered
*/
protected EList<Protocol> protocols;
protected EList<ProcessComponent> processcomponent;
/**
* <!-- begin-user-doc -->
......@@ -93,26 +81,12 @@ public class JMeterThreadImpl extends MinimalEObjectImpl.Container implements JM
* @generated
*/
@Override
public EList<ProcessComponent> getProcesscomponent() {
if (processcomponent == null) {
processcomponent = new EObjectContainmentEList<ProcessComponent>(ProcessComponent.class, this,
JmeterPackage.JMETER_THREAD__PROCESSCOMPONENT);
}
return processcomponent;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public EList<TestElement> getTestelement() {
if (testelement == null) {
testelement = new EObjectContainmentEList<TestElement>(TestElement.class, this,
JmeterPackage.JMETER_THREAD__TESTELEMENT);
public EList<Protocol> getProtocols() {
if (protocols == null) {
protocols = new EObjectContainmentEList<Protocol>(Protocol.class, this,
JmeterPackage.JMETER_THREAD__PROTOCOLS);
}
return testelement;
return protocols;
}
/**
......@@ -121,12 +95,12 @@ public class JMeterThreadImpl extends MinimalEObjectImpl.Container implements JM
* @generated
*/
@Override
public EList<Protocol> getProtocols() {
if (protocols == null) {
protocols = new EObjectContainmentEList<Protocol>(Protocol.class, this,
JmeterPackage.JMETER_THREAD__PROTOCOLS);
public EList<ProcessComponent> getProcesscomponent() {
if (processcomponent == null) {
processcomponent = new EObjectContainmentEList<ProcessComponent>(ProcessComponent.class, this,
JmeterPackage.JMETER_THREAD__PROCESSCOMPONENT);
}
return protocols;
return processcomponent;
}
/**
......@@ -137,12 +111,10 @@ public class JMeterThreadImpl extends MinimalEObjectImpl.Container implements JM
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
switch (featureID) {
case JmeterPackage.JMETER_THREAD__PROCESSCOMPONENT:
return ((InternalEList<?>) getProcesscomponent()).basicRemove(otherEnd, msgs);
case JmeterPackage.JMETER_THREAD__TESTELEMENT:
return ((InternalEList<?>) getTestelement()).basicRemove(otherEnd, msgs);
case JmeterPackage.JMETER_THREAD__PROTOCOLS:
return ((InternalEList<?>) getProtocols()).basicRemove(otherEnd, msgs);
case JmeterPackage.JMETER_THREAD__PROCESSCOMPONENT:
return ((InternalEList<?>) getProcesscomponent()).basicRemove(otherEnd, msgs);
}
return super.eInverseRemove(otherEnd, featureID, msgs);
}
......@@ -155,12 +127,10 @@ public class JMeterThreadImpl extends MinimalEObjectImpl.Container implements JM
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
case JmeterPackage.JMETER_THREAD__PROCESSCOMPONENT:
return getProcesscomponent();
case JmeterPackage.JMETER_THREAD__TESTELEMENT:
return getTestelement();
case JmeterPackage.JMETER_THREAD__PROTOCOLS:
return getProtocols();
case JmeterPackage.JMETER_THREAD__PROCESSCOMPONENT:
return getProcesscomponent();
}
return super.eGet(featureID, resolve, coreType);
}
......@@ -174,18 +144,14 @@ public class JMeterThreadImpl extends MinimalEObjectImpl.Container implements JM
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
case JmeterPackage.JMETER_THREAD__PROCESSCOMPONENT:
getProcesscomponent().clear();
getProcesscomponent().addAll((Collection<? extends ProcessComponent>) newValue);
return;
case JmeterPackage.JMETER_THREAD__TESTELEMENT:
getTestelement().clear();
getTestelement().addAll((Collection<? extends TestElement>) newValue);
return;
case JmeterPackage.JMETER_THREAD__PROTOCOLS:
getProtocols().clear();
getProtocols().addAll((Collection<? extends Protocol>) newValue);
return;
case JmeterPackage.JMETER_THREAD__PROCESSCOMPONENT:
getProcesscomponent().clear();
getProcesscomponent().addAll((Collection<? extends ProcessComponent>) newValue);
return;
}
super.eSet(featureID, newValue);
}
......@@ -198,15 +164,12 @@ public class JMeterThreadImpl extends MinimalEObjectImpl.Container implements JM
@Override
public void eUnset(int featureID) {
switch (featureID) {
case JmeterPackage.JMETER_THREAD__PROCESSCOMPONENT:
getProcesscomponent().clear();
return;
case JmeterPackage.JMETER_THREAD__TESTELEMENT:
getTestelement().clear();
return;
case JmeterPackage.JMETER_THREAD__PROTOCOLS:
getProtocols().clear();
return;
case JmeterPackage.JMETER_THREAD__PROCESSCOMPONENT:
getProcesscomponent().clear();
return;
}
super.eUnset(featureID);
}
......@@ -219,12 +182,10 @@ public class JMeterThreadImpl extends MinimalEObjectImpl.Container implements JM
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
case JmeterPackage.JMETER_THREAD__PROCESSCOMPONENT:
return processcomponent != null && !processcomponent.isEmpty();
case JmeterPackage.JMETER_THREAD__TESTELEMENT:
return testelement != null && !testelement.isEmpty();
case JmeterPackage.JMETER_THREAD__PROTOCOLS:
return protocols != null && !protocols.isEmpty();
case JmeterPackage.JMETER_THREAD__PROCESSCOMPONENT:
return processcomponent != null && !processcomponent.isEmpty();
}
return super.eIsSet(featureID);
}
......
......@@ -2,8 +2,6 @@
*/
package org.codeling.lang.jmeter.metamodel.jmeter.impl;
import org.codeling.lang.jmeter.metamodel.jmeter.Assertion;
import org.codeling.lang.jmeter.metamodel.jmeter.Controller;
import org.codeling.lang.jmeter.metamodel.jmeter.EventListener;
import org.codeling.lang.jmeter.metamodel.jmeter.JMeterThread;
import org.codeling.lang.jmeter.metamodel.jmeter.JmeterFactory;
......@@ -12,7 +10,6 @@ import org.codeling.lang.jmeter.metamodel.jmeter.Operation;
import org.codeling.lang.jmeter.metamodel.jmeter.PostProcessor;
import org.codeling.lang.jmeter.metamodel.jmeter.PreProcessor;
import org.codeling.lang.jmeter.metamodel.jmeter.Protocol;
import org.codeling.lang.jmeter.metamodel.jmeter.Sampler;
import org.codeling.lang.jmeter.metamodel.jmeter.ThreadListener;
import org.eclipse.emf.ecore.EClass;
......@@ -71,12 +68,6 @@ public class JmeterFactoryImpl extends EFactoryImpl implements JmeterFactory {
return createPreProcessor();
case JmeterPackage.POST_PROCESSOR:
return createPostProcessor();
case JmeterPackage.SAMPLER:
return createSampler();
case JmeterPackage.CONTROLLER:
return createController();
case JmeterPackage.ASSERTION:
return createAssertion();
case JmeterPackage.EVENT_LISTENER:
return createEventListener();
case JmeterPackage.THREAD_LISTENER:
......@@ -116,39 +107,6 @@ public class JmeterFactoryImpl extends EFactoryImpl implements JmeterFactory {
return postProcessor;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public Sampler createSampler() {
SamplerImpl sampler = new SamplerImpl();
return sampler;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public Controller createController() {
ControllerImpl controller = new ControllerImpl();
return controller;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public Assertion createAssertion() {
AssertionImpl assertion = new AssertionImpl();
return assertion;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
......
......@@ -2,8 +2,6 @@
*/
package org.codeling.lang.jmeter.metamodel.jmeter.impl;
import org.codeling.lang.jmeter.metamodel.jmeter.Assertion;
import org.codeling.lang.jmeter.metamodel.jmeter.Controller;
import org.codeling.lang.jmeter.metamodel.jmeter.EventListener;
import org.codeling.lang.jmeter.metamodel.jmeter.JMeterThread;
import org.codeling.lang.jmeter.metamodel.jmeter.JmeterFactory;
......@@ -14,8 +12,6 @@ import org.codeling.lang.jmeter.metamodel.jmeter.PostProcessor;