diff options
Diffstat (limited to 'plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model')
123 files changed, 42146 insertions, 0 deletions
diff --git a/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/BPSimDataType.java b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/BPSimDataType.java new file mode 100644 index 00000000..60eab4e4 --- /dev/null +++ b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/BPSimDataType.java @@ -0,0 +1,61 @@ +/** + */ +package org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim; + +import org.eclipse.emf.common.util.EList; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.ecore.util.FeatureMap; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>BP Sim Data Type</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BPSimDataType#getGroup <em>Group</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BPSimDataType#getScenario <em>Scenario</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getBPSimDataType() + * @model extendedMetaData="name='BPSimData_._type' kind='elementOnly'" + * @generated + */ +public interface BPSimDataType extends EObject { + /** + * Returns the value of the '<em><b>Group</b></em>' attribute list. + * The list contents are of type {@link org.eclipse.emf.ecore.util.FeatureMap.Entry}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Group</em>' attribute list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Group</em>' attribute list. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getBPSimDataType_Group() + * @model unique="false" dataType="org.eclipse.emf.ecore.EFeatureMapEntry" many="true" + * extendedMetaData="kind='group' name='group:0'" + * @generated + */ + FeatureMap getGroup(); + + /** + * Returns the value of the '<em><b>Scenario</b></em>' containment reference list. + * The list contents are of type {@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.Scenario}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Scenario</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>Scenario</em>' containment reference list. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getBPSimDataType_Scenario() + * @model containment="true" required="true" transient="true" volatile="true" derived="true" + * extendedMetaData="kind='element' name='Scenario' namespace='##targetNamespace' group='#group:0'" + * @generated + */ + EList<Scenario> getScenario(); + +} // BPSimDataType diff --git a/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/BetaDistributionType.java b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/BetaDistributionType.java new file mode 100644 index 00000000..051a48b2 --- /dev/null +++ b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/BetaDistributionType.java @@ -0,0 +1,132 @@ +/** + */ +package org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim; + + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Beta Distribution Type</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BetaDistributionType#getScale <em>Scale</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BetaDistributionType#getShape <em>Shape</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getBetaDistributionType() + * @model extendedMetaData="name='BetaDistribution_._type' kind='empty'" + * @generated + */ +public interface BetaDistributionType extends DistributionParameter { + /** + * Returns the value of the '<em><b>Scale</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Scale</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Scale</em>' attribute. + * @see #isSetScale() + * @see #unsetScale() + * @see #setScale(double) + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getBetaDistributionType_Scale() + * @model unsettable="true" dataType="org.eclipse.emf.ecore.xml.type.Double" + * extendedMetaData="kind='attribute' name='scale'" + * @generated + */ + double getScale(); + + /** + * Sets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BetaDistributionType#getScale <em>Scale</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Scale</em>' attribute. + * @see #isSetScale() + * @see #unsetScale() + * @see #getScale() + * @generated + */ + void setScale(double value); + + /** + * Unsets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BetaDistributionType#getScale <em>Scale</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #isSetScale() + * @see #getScale() + * @see #setScale(double) + * @generated + */ + void unsetScale(); + + /** + * Returns whether the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BetaDistributionType#getScale <em>Scale</em>}' attribute is set. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return whether the value of the '<em>Scale</em>' attribute is set. + * @see #unsetScale() + * @see #getScale() + * @see #setScale(double) + * @generated + */ + boolean isSetScale(); + + /** + * Returns the value of the '<em><b>Shape</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Shape</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Shape</em>' attribute. + * @see #isSetShape() + * @see #unsetShape() + * @see #setShape(double) + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getBetaDistributionType_Shape() + * @model unsettable="true" dataType="org.eclipse.emf.ecore.xml.type.Double" + * extendedMetaData="kind='attribute' name='shape'" + * @generated + */ + double getShape(); + + /** + * Sets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BetaDistributionType#getShape <em>Shape</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Shape</em>' attribute. + * @see #isSetShape() + * @see #unsetShape() + * @see #getShape() + * @generated + */ + void setShape(double value); + + /** + * Unsets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BetaDistributionType#getShape <em>Shape</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #isSetShape() + * @see #getShape() + * @see #setShape(double) + * @generated + */ + void unsetShape(); + + /** + * Returns whether the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BetaDistributionType#getShape <em>Shape</em>}' attribute is set. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return whether the value of the '<em>Shape</em>' attribute is set. + * @see #unsetShape() + * @see #getShape() + * @see #setShape(double) + * @generated + */ + boolean isSetShape(); + +} // BetaDistributionType diff --git a/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/BinomialDistributionType.java b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/BinomialDistributionType.java new file mode 100644 index 00000000..bfad62d6 --- /dev/null +++ b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/BinomialDistributionType.java @@ -0,0 +1,132 @@ +/** + */ +package org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim; + + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Binomial Distribution Type</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BinomialDistributionType#getProbability <em>Probability</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BinomialDistributionType#getTrials <em>Trials</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getBinomialDistributionType() + * @model extendedMetaData="name='BinomialDistribution_._type' kind='empty'" + * @generated + */ +public interface BinomialDistributionType extends DistributionParameter { + /** + * Returns the value of the '<em><b>Probability</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Probability</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Probability</em>' attribute. + * @see #isSetProbability() + * @see #unsetProbability() + * @see #setProbability(double) + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getBinomialDistributionType_Probability() + * @model unsettable="true" dataType="org.eclipse.emf.ecore.xml.type.Double" + * extendedMetaData="kind='attribute' name='probability'" + * @generated + */ + double getProbability(); + + /** + * Sets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BinomialDistributionType#getProbability <em>Probability</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Probability</em>' attribute. + * @see #isSetProbability() + * @see #unsetProbability() + * @see #getProbability() + * @generated + */ + void setProbability(double value); + + /** + * Unsets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BinomialDistributionType#getProbability <em>Probability</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #isSetProbability() + * @see #getProbability() + * @see #setProbability(double) + * @generated + */ + void unsetProbability(); + + /** + * Returns whether the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BinomialDistributionType#getProbability <em>Probability</em>}' attribute is set. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return whether the value of the '<em>Probability</em>' attribute is set. + * @see #unsetProbability() + * @see #getProbability() + * @see #setProbability(double) + * @generated + */ + boolean isSetProbability(); + + /** + * Returns the value of the '<em><b>Trials</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Trials</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Trials</em>' attribute. + * @see #isSetTrials() + * @see #unsetTrials() + * @see #setTrials(long) + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getBinomialDistributionType_Trials() + * @model unsettable="true" dataType="org.eclipse.emf.ecore.xml.type.Long" + * extendedMetaData="kind='attribute' name='trials'" + * @generated + */ + long getTrials(); + + /** + * Sets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BinomialDistributionType#getTrials <em>Trials</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Trials</em>' attribute. + * @see #isSetTrials() + * @see #unsetTrials() + * @see #getTrials() + * @generated + */ + void setTrials(long value); + + /** + * Unsets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BinomialDistributionType#getTrials <em>Trials</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #isSetTrials() + * @see #getTrials() + * @see #setTrials(long) + * @generated + */ + void unsetTrials(); + + /** + * Returns whether the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BinomialDistributionType#getTrials <em>Trials</em>}' attribute is set. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return whether the value of the '<em>Trials</em>' attribute is set. + * @see #unsetTrials() + * @see #getTrials() + * @see #setTrials(long) + * @generated + */ + boolean isSetTrials(); + +} // BinomialDistributionType diff --git a/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/BooleanParameterType.java b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/BooleanParameterType.java new file mode 100644 index 00000000..d8a85d8f --- /dev/null +++ b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/BooleanParameterType.java @@ -0,0 +1,77 @@ +/** + */ +package org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim; + + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Boolean Parameter Type</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BooleanParameterType#isValue <em>Value</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getBooleanParameterType() + * @model extendedMetaData="name='BooleanParameter_._type' kind='empty'" + * @generated + */ +public interface BooleanParameterType extends ConstantParameter { + /** + * Returns the value of the '<em><b>Value</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Value</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Value</em>' attribute. + * @see #isSetValue() + * @see #unsetValue() + * @see #setValue(boolean) + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getBooleanParameterType_Value() + * @model unsettable="true" dataType="org.eclipse.emf.ecore.xml.type.Boolean" + * extendedMetaData="kind='attribute' name='value'" + * @generated + */ + boolean isValue(); + + /** + * Sets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BooleanParameterType#isValue <em>Value</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Value</em>' attribute. + * @see #isSetValue() + * @see #unsetValue() + * @see #isValue() + * @generated + */ + void setValue(boolean value); + + /** + * Unsets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BooleanParameterType#isValue <em>Value</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #isSetValue() + * @see #isValue() + * @see #setValue(boolean) + * @generated + */ + void unsetValue(); + + /** + * Returns whether the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BooleanParameterType#isValue <em>Value</em>}' attribute is set. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return whether the value of the '<em>Value</em>' attribute is set. + * @see #unsetValue() + * @see #isValue() + * @see #setValue(boolean) + * @generated + */ + boolean isSetValue(); + +} // BooleanParameterType diff --git a/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/BpsimFactory.java b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/BpsimFactory.java new file mode 100644 index 00000000..7454d41b --- /dev/null +++ b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/BpsimFactory.java @@ -0,0 +1,411 @@ +/** + */ +package org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim; + +import org.eclipse.emf.ecore.EFactory; + +/** + * <!-- begin-user-doc --> + * The <b>Factory</b> for the model. + * It provides a create method for each non-abstract class of the model. + * <!-- end-user-doc --> + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage + * @generated + */ +public interface BpsimFactory extends EFactory { + /** + * The singleton instance of the factory. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + BpsimFactory eINSTANCE = org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.BpsimFactoryImpl.init(); + + /** + * Returns a new object of class '<em>Beta Distribution Type</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Beta Distribution Type</em>'. + * @generated + */ + BetaDistributionType createBetaDistributionType(); + + /** + * Returns a new object of class '<em>Binomial Distribution Type</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Binomial Distribution Type</em>'. + * @generated + */ + BinomialDistributionType createBinomialDistributionType(); + + /** + * Returns a new object of class '<em>Boolean Parameter Type</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Boolean Parameter Type</em>'. + * @generated + */ + BooleanParameterType createBooleanParameterType(); + + /** + * Returns a new object of class '<em>BP Sim Data Type</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>BP Sim Data Type</em>'. + * @generated + */ + BPSimDataType createBPSimDataType(); + + /** + * Returns a new object of class '<em>Calendar</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Calendar</em>'. + * @generated + */ + Calendar createCalendar(); + + /** + * Returns a new object of class '<em>Constant Parameter</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Constant Parameter</em>'. + * @generated + */ + ConstantParameter createConstantParameter(); + + /** + * Returns a new object of class '<em>Control Parameters</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Control Parameters</em>'. + * @generated + */ + ControlParameters createControlParameters(); + + /** + * Returns a new object of class '<em>Cost Parameters</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Cost Parameters</em>'. + * @generated + */ + CostParameters createCostParameters(); + + /** + * Returns a new object of class '<em>Date Time Parameter Type</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Date Time Parameter Type</em>'. + * @generated + */ + DateTimeParameterType createDateTimeParameterType(); + + /** + * Returns a new object of class '<em>Distribution Parameter</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Distribution Parameter</em>'. + * @generated + */ + DistributionParameter createDistributionParameter(); + + /** + * Returns a new object of class '<em>Document Root</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Document Root</em>'. + * @generated + */ + DocumentRoot createDocumentRoot(); + + /** + * Returns a new object of class '<em>Duration Parameter Type</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Duration Parameter Type</em>'. + * @generated + */ + DurationParameterType createDurationParameterType(); + + /** + * Returns a new object of class '<em>Element Parameters</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Element Parameters</em>'. + * @generated + */ + ElementParameters createElementParameters(); + + /** + * Returns a new object of class '<em>Element Parameters Type</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Element Parameters Type</em>'. + * @generated + */ + ElementParametersType createElementParametersType(); + + /** + * Returns a new object of class '<em>Enum Parameter Type</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Enum Parameter Type</em>'. + * @generated + */ + EnumParameterType createEnumParameterType(); + + /** + * Returns a new object of class '<em>Erlang Distribution Type</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Erlang Distribution Type</em>'. + * @generated + */ + ErlangDistributionType createErlangDistributionType(); + + /** + * Returns a new object of class '<em>SingleAssignment Parameter Type</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>SingleAssignment Parameter Type</em>'. + * @generated + */ + ExpressionParameterType createExpressionParameterType(); + + /** + * Returns a new object of class '<em>Floating Parameter Type</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Floating Parameter Type</em>'. + * @generated + */ + FloatingParameterType createFloatingParameterType(); + + /** + * Returns a new object of class '<em>Gamma Distribution Type</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Gamma Distribution Type</em>'. + * @generated + */ + GammaDistributionType createGammaDistributionType(); + + /** + * Returns a new object of class '<em>Log Normal Distribution Type</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Log Normal Distribution Type</em>'. + * @generated + */ + LogNormalDistributionType createLogNormalDistributionType(); + + /** + * Returns a new object of class '<em>Negative Exponential Distribution Type</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Negative Exponential Distribution Type</em>'. + * @generated + */ + NegativeExponentialDistributionType createNegativeExponentialDistributionType(); + + /** + * Returns a new object of class '<em>Normal Distribution Type</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Normal Distribution Type</em>'. + * @generated + */ + NormalDistributionType createNormalDistributionType(); + + /** + * Returns a new object of class '<em>Numeric Parameter Type</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Numeric Parameter Type</em>'. + * @generated + */ + NumericParameterType createNumericParameterType(); + + /** + * Returns a new object of class '<em>Parameter</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Parameter</em>'. + * @generated + */ + Parameter createParameter(); + + /** + * Returns a new object of class '<em>Parameter Value</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Parameter Value</em>'. + * @generated + */ + ParameterValue createParameterValue(); + + /** + * Returns a new object of class '<em>Poisson Distribution Type</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Poisson Distribution Type</em>'. + * @generated + */ + PoissonDistributionType createPoissonDistributionType(); + + /** + * Returns a new object of class '<em>Priority Parameters</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Priority Parameters</em>'. + * @generated + */ + PriorityParameters createPriorityParameters(); + + /** + * Returns a new object of class '<em>Property Parameters</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Property Parameters</em>'. + * @generated + */ + PropertyParameters createPropertyParameters(); + + /** + * Returns a new object of class '<em>Property Type</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Property Type</em>'. + * @generated + */ + PropertyType createPropertyType(); + + /** + * Returns a new object of class '<em>Resource Parameters</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Resource Parameters</em>'. + * @generated + */ + ResourceParameters createResourceParameters(); + + /** + * Returns a new object of class '<em>Scenario</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Scenario</em>'. + * @generated + */ + Scenario createScenario(); + + /** + * Returns a new object of class '<em>Scenario Parameters</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Scenario Parameters</em>'. + * @generated + */ + ScenarioParameters createScenarioParameters(); + + /** + * Returns a new object of class '<em>Scenario Parameters Type</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Scenario Parameters Type</em>'. + * @generated + */ + ScenarioParametersType createScenarioParametersType(); + + /** + * Returns a new object of class '<em>String Parameter Type</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>String Parameter Type</em>'. + * @generated + */ + StringParameterType createStringParameterType(); + + /** + * Returns a new object of class '<em>Time Parameters</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Time Parameters</em>'. + * @generated + */ + TimeParameters createTimeParameters(); + + /** + * Returns a new object of class '<em>Triangular Distribution Type</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Triangular Distribution Type</em>'. + * @generated + */ + TriangularDistributionType createTriangularDistributionType(); + + /** + * Returns a new object of class '<em>Truncated Normal Distribution Type</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Truncated Normal Distribution Type</em>'. + * @generated + */ + TruncatedNormalDistributionType createTruncatedNormalDistributionType(); + + /** + * Returns a new object of class '<em>Uniform Distribution Type</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Uniform Distribution Type</em>'. + * @generated + */ + UniformDistributionType createUniformDistributionType(); + + /** + * Returns a new object of class '<em>User Distribution Data Point Type</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>User Distribution Data Point Type</em>'. + * @generated + */ + UserDistributionDataPointType createUserDistributionDataPointType(); + + /** + * Returns a new object of class '<em>User Distribution Type</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>User Distribution Type</em>'. + * @generated + */ + UserDistributionType createUserDistributionType(); + + /** + * Returns a new object of class '<em>Vendor Extension</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Vendor Extension</em>'. + * @generated + */ + VendorExtension createVendorExtension(); + + /** + * Returns a new object of class '<em>Weibull Distribution Type</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Weibull Distribution Type</em>'. + * @generated + */ + WeibullDistributionType createWeibullDistributionType(); + + /** + * Returns the package supported by this factory. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the package supported by this factory. + * @generated + */ + BpsimPackage getBpsimPackage(); + +} //BpsimFactory diff --git a/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/BpsimPackage.java b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/BpsimPackage.java new file mode 100644 index 00000000..e176bbf8 --- /dev/null +++ b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/BpsimPackage.java @@ -0,0 +1,6839 @@ +/** + */ +package org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim; + +import org.eclipse.emf.ecore.EAttribute; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EDataType; +import org.eclipse.emf.ecore.EEnum; +import org.eclipse.emf.ecore.EPackage; +import org.eclipse.emf.ecore.EReference; + +/** + * <!-- begin-user-doc --> + * The <b>Package</b> for the model. + * It contains accessors for the meta objects to represent + * <ul> + * <li>each class,</li> + * <li>each feature of each class,</li> + * <li>each enum,</li> + * <li>and each data type</li> + * </ul> + * <!-- end-user-doc --> + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimFactory + * @model kind="package" + * @generated + */ +public interface BpsimPackage extends EPackage { + /** + * The package name. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + String eNAME = "bpsim"; + + /** + * The package namespace URI. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + String eNS_URI = "http://www.bpsim.org/schemas/1.0"; + + /** + * The package namespace name. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + String eNS_PREFIX = "bpsim"; + + /** + * The singleton instance of the package. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + BpsimPackage eINSTANCE = org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.BpsimPackageImpl.init(); + + /** + * The meta object id for the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.ParameterValueImpl <em>Parameter Value</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.ParameterValueImpl + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.BpsimPackageImpl#getParameterValue() + * @generated + */ + int PARAMETER_VALUE = 24; + + /** + * The feature id for the '<em><b>Instance</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int PARAMETER_VALUE__INSTANCE = 0; + + /** + * The feature id for the '<em><b>Result</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int PARAMETER_VALUE__RESULT = 1; + + /** + * The feature id for the '<em><b>Valid For</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int PARAMETER_VALUE__VALID_FOR = 2; + + /** + * The number of structural features of the '<em>Parameter Value</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int PARAMETER_VALUE_FEATURE_COUNT = 3; + + /** + * The meta object id for the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.DistributionParameterImpl <em>Distribution Parameter</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.DistributionParameterImpl + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.BpsimPackageImpl#getDistributionParameter() + * @generated + */ + int DISTRIBUTION_PARAMETER = 9; + + /** + * The feature id for the '<em><b>Instance</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DISTRIBUTION_PARAMETER__INSTANCE = PARAMETER_VALUE__INSTANCE; + + /** + * The feature id for the '<em><b>Result</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DISTRIBUTION_PARAMETER__RESULT = PARAMETER_VALUE__RESULT; + + /** + * The feature id for the '<em><b>Valid For</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DISTRIBUTION_PARAMETER__VALID_FOR = PARAMETER_VALUE__VALID_FOR; + + /** + * The feature id for the '<em><b>Currency Unit</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DISTRIBUTION_PARAMETER__CURRENCY_UNIT = PARAMETER_VALUE_FEATURE_COUNT + 0; + + /** + * The feature id for the '<em><b>Time Unit</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DISTRIBUTION_PARAMETER__TIME_UNIT = PARAMETER_VALUE_FEATURE_COUNT + 1; + + /** + * The number of structural features of the '<em>Distribution Parameter</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DISTRIBUTION_PARAMETER_FEATURE_COUNT = PARAMETER_VALUE_FEATURE_COUNT + 2; + + /** + * The meta object id for the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.BetaDistributionTypeImpl <em>Beta Distribution Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.BetaDistributionTypeImpl + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.BpsimPackageImpl#getBetaDistributionType() + * @generated + */ + int BETA_DISTRIBUTION_TYPE = 0; + + /** + * The feature id for the '<em><b>Instance</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int BETA_DISTRIBUTION_TYPE__INSTANCE = DISTRIBUTION_PARAMETER__INSTANCE; + + /** + * The feature id for the '<em><b>Result</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int BETA_DISTRIBUTION_TYPE__RESULT = DISTRIBUTION_PARAMETER__RESULT; + + /** + * The feature id for the '<em><b>Valid For</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int BETA_DISTRIBUTION_TYPE__VALID_FOR = DISTRIBUTION_PARAMETER__VALID_FOR; + + /** + * The feature id for the '<em><b>Currency Unit</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int BETA_DISTRIBUTION_TYPE__CURRENCY_UNIT = DISTRIBUTION_PARAMETER__CURRENCY_UNIT; + + /** + * The feature id for the '<em><b>Time Unit</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int BETA_DISTRIBUTION_TYPE__TIME_UNIT = DISTRIBUTION_PARAMETER__TIME_UNIT; + + /** + * The feature id for the '<em><b>Scale</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int BETA_DISTRIBUTION_TYPE__SCALE = DISTRIBUTION_PARAMETER_FEATURE_COUNT + 0; + + /** + * The feature id for the '<em><b>Shape</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int BETA_DISTRIBUTION_TYPE__SHAPE = DISTRIBUTION_PARAMETER_FEATURE_COUNT + 1; + + /** + * The number of structural features of the '<em>Beta Distribution Type</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int BETA_DISTRIBUTION_TYPE_FEATURE_COUNT = DISTRIBUTION_PARAMETER_FEATURE_COUNT + 2; + + /** + * The meta object id for the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.BinomialDistributionTypeImpl <em>Binomial Distribution Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.BinomialDistributionTypeImpl + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.BpsimPackageImpl#getBinomialDistributionType() + * @generated + */ + int BINOMIAL_DISTRIBUTION_TYPE = 1; + + /** + * The feature id for the '<em><b>Instance</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int BINOMIAL_DISTRIBUTION_TYPE__INSTANCE = DISTRIBUTION_PARAMETER__INSTANCE; + + /** + * The feature id for the '<em><b>Result</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int BINOMIAL_DISTRIBUTION_TYPE__RESULT = DISTRIBUTION_PARAMETER__RESULT; + + /** + * The feature id for the '<em><b>Valid For</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int BINOMIAL_DISTRIBUTION_TYPE__VALID_FOR = DISTRIBUTION_PARAMETER__VALID_FOR; + + /** + * The feature id for the '<em><b>Currency Unit</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int BINOMIAL_DISTRIBUTION_TYPE__CURRENCY_UNIT = DISTRIBUTION_PARAMETER__CURRENCY_UNIT; + + /** + * The feature id for the '<em><b>Time Unit</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int BINOMIAL_DISTRIBUTION_TYPE__TIME_UNIT = DISTRIBUTION_PARAMETER__TIME_UNIT; + + /** + * The feature id for the '<em><b>Probability</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int BINOMIAL_DISTRIBUTION_TYPE__PROBABILITY = DISTRIBUTION_PARAMETER_FEATURE_COUNT + 0; + + /** + * The feature id for the '<em><b>Trials</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int BINOMIAL_DISTRIBUTION_TYPE__TRIALS = DISTRIBUTION_PARAMETER_FEATURE_COUNT + 1; + + /** + * The number of structural features of the '<em>Binomial Distribution Type</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int BINOMIAL_DISTRIBUTION_TYPE_FEATURE_COUNT = DISTRIBUTION_PARAMETER_FEATURE_COUNT + 2; + + /** + * The meta object id for the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.ConstantParameterImpl <em>Constant Parameter</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.ConstantParameterImpl + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.BpsimPackageImpl#getConstantParameter() + * @generated + */ + int CONSTANT_PARAMETER = 5; + + /** + * The feature id for the '<em><b>Instance</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int CONSTANT_PARAMETER__INSTANCE = PARAMETER_VALUE__INSTANCE; + + /** + * The feature id for the '<em><b>Result</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int CONSTANT_PARAMETER__RESULT = PARAMETER_VALUE__RESULT; + + /** + * The feature id for the '<em><b>Valid For</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int CONSTANT_PARAMETER__VALID_FOR = PARAMETER_VALUE__VALID_FOR; + + /** + * The number of structural features of the '<em>Constant Parameter</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int CONSTANT_PARAMETER_FEATURE_COUNT = PARAMETER_VALUE_FEATURE_COUNT + 0; + + /** + * The meta object id for the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.BooleanParameterTypeImpl <em>Boolean Parameter Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.BooleanParameterTypeImpl + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.BpsimPackageImpl#getBooleanParameterType() + * @generated + */ + int BOOLEAN_PARAMETER_TYPE = 2; + + /** + * The feature id for the '<em><b>Instance</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int BOOLEAN_PARAMETER_TYPE__INSTANCE = CONSTANT_PARAMETER__INSTANCE; + + /** + * The feature id for the '<em><b>Result</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int BOOLEAN_PARAMETER_TYPE__RESULT = CONSTANT_PARAMETER__RESULT; + + /** + * The feature id for the '<em><b>Valid For</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int BOOLEAN_PARAMETER_TYPE__VALID_FOR = CONSTANT_PARAMETER__VALID_FOR; + + /** + * The feature id for the '<em><b>Value</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int BOOLEAN_PARAMETER_TYPE__VALUE = CONSTANT_PARAMETER_FEATURE_COUNT + 0; + + /** + * The number of structural features of the '<em>Boolean Parameter Type</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int BOOLEAN_PARAMETER_TYPE_FEATURE_COUNT = CONSTANT_PARAMETER_FEATURE_COUNT + 1; + + /** + * The meta object id for the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.BPSimDataTypeImpl <em>BP Sim Data Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.BPSimDataTypeImpl + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.BpsimPackageImpl#getBPSimDataType() + * @generated + */ + int BP_SIM_DATA_TYPE = 3; + + /** + * The feature id for the '<em><b>Group</b></em>' attribute list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int BP_SIM_DATA_TYPE__GROUP = 0; + + /** + * The feature id for the '<em><b>Scenario</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int BP_SIM_DATA_TYPE__SCENARIO = 1; + + /** + * The number of structural features of the '<em>BP Sim Data Type</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int BP_SIM_DATA_TYPE_FEATURE_COUNT = 2; + + /** + * The meta object id for the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.CalendarImpl <em>Calendar</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.CalendarImpl + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.BpsimPackageImpl#getCalendar() + * @generated + */ + int CALENDAR = 4; + + /** + * The feature id for the '<em><b>Value</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int CALENDAR__VALUE = 0; + + /** + * The feature id for the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int CALENDAR__ID = 1; + + /** + * The feature id for the '<em><b>Name</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int CALENDAR__NAME = 2; + + /** + * The number of structural features of the '<em>Calendar</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int CALENDAR_FEATURE_COUNT = 3; + + /** + * The meta object id for the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.ControlParametersImpl <em>Control Parameters</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.ControlParametersImpl + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.BpsimPackageImpl#getControlParameters() + * @generated + */ + int CONTROL_PARAMETERS = 6; + + /** + * The feature id for the '<em><b>Probability</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int CONTROL_PARAMETERS__PROBABILITY = 0; + + /** + * The feature id for the '<em><b>Condition</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int CONTROL_PARAMETERS__CONDITION = 1; + + /** + * The feature id for the '<em><b>Inter Trigger Timer</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int CONTROL_PARAMETERS__INTER_TRIGGER_TIMER = 2; + + /** + * The feature id for the '<em><b>Trigger Count</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int CONTROL_PARAMETERS__TRIGGER_COUNT = 3; + + /** + * The number of structural features of the '<em>Control Parameters</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int CONTROL_PARAMETERS_FEATURE_COUNT = 4; + + /** + * The meta object id for the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.CostParametersImpl <em>Cost Parameters</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.CostParametersImpl + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.BpsimPackageImpl#getCostParameters() + * @generated + */ + int COST_PARAMETERS = 7; + + /** + * The feature id for the '<em><b>Fixed Cost</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int COST_PARAMETERS__FIXED_COST = 0; + + /** + * The feature id for the '<em><b>Unit Cost</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int COST_PARAMETERS__UNIT_COST = 1; + + /** + * The number of structural features of the '<em>Cost Parameters</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int COST_PARAMETERS_FEATURE_COUNT = 2; + + /** + * The meta object id for the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.DateTimeParameterTypeImpl <em>Date Time Parameter Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.DateTimeParameterTypeImpl + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.BpsimPackageImpl#getDateTimeParameterType() + * @generated + */ + int DATE_TIME_PARAMETER_TYPE = 8; + + /** + * The feature id for the '<em><b>Instance</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DATE_TIME_PARAMETER_TYPE__INSTANCE = CONSTANT_PARAMETER__INSTANCE; + + /** + * The feature id for the '<em><b>Result</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DATE_TIME_PARAMETER_TYPE__RESULT = CONSTANT_PARAMETER__RESULT; + + /** + * The feature id for the '<em><b>Valid For</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DATE_TIME_PARAMETER_TYPE__VALID_FOR = CONSTANT_PARAMETER__VALID_FOR; + + /** + * The feature id for the '<em><b>Value</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DATE_TIME_PARAMETER_TYPE__VALUE = CONSTANT_PARAMETER_FEATURE_COUNT + 0; + + /** + * The number of structural features of the '<em>Date Time Parameter Type</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DATE_TIME_PARAMETER_TYPE_FEATURE_COUNT = CONSTANT_PARAMETER_FEATURE_COUNT + 1; + + /** + * The meta object id for the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.DocumentRootImpl <em>Document Root</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.DocumentRootImpl + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.BpsimPackageImpl#getDocumentRoot() + * @generated + */ + int DOCUMENT_ROOT = 10; + + /** + * The feature id for the '<em><b>Mixed</b></em>' attribute list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__MIXED = 0; + + /** + * The feature id for the '<em><b>XMLNS Prefix Map</b></em>' map. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__XMLNS_PREFIX_MAP = 1; + + /** + * The feature id for the '<em><b>XSI Schema Location</b></em>' map. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__XSI_SCHEMA_LOCATION = 2; + + /** + * The feature id for the '<em><b>Beta Distribution</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__BETA_DISTRIBUTION = 3; + + /** + * The feature id for the '<em><b>Parameter Value</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__PARAMETER_VALUE = 4; + + /** + * The feature id for the '<em><b>Binomial Distribution</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__BINOMIAL_DISTRIBUTION = 5; + + /** + * The feature id for the '<em><b>Boolean Parameter</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__BOOLEAN_PARAMETER = 6; + + /** + * The feature id for the '<em><b>BP Sim Data</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__BP_SIM_DATA = 7; + + /** + * The feature id for the '<em><b>Date Time Parameter</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__DATE_TIME_PARAMETER = 8; + + /** + * The feature id for the '<em><b>Duration Parameter</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__DURATION_PARAMETER = 9; + + /** + * The feature id for the '<em><b>Enum Parameter</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__ENUM_PARAMETER = 10; + + /** + * The feature id for the '<em><b>Erlang Distribution</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__ERLANG_DISTRIBUTION = 11; + + /** + * The feature id for the '<em><b>SingleAssignment Parameter</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__EXPRESSION_PARAMETER = 12; + + /** + * The feature id for the '<em><b>Floating Parameter</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__FLOATING_PARAMETER = 13; + + /** + * The feature id for the '<em><b>Gamma Distribution</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__GAMMA_DISTRIBUTION = 14; + + /** + * The feature id for the '<em><b>Log Normal Distribution</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__LOG_NORMAL_DISTRIBUTION = 15; + + /** + * The feature id for the '<em><b>Negative Exponential Distribution</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__NEGATIVE_EXPONENTIAL_DISTRIBUTION = 16; + + /** + * The feature id for the '<em><b>Normal Distribution</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__NORMAL_DISTRIBUTION = 17; + + /** + * The feature id for the '<em><b>Numeric Parameter</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__NUMERIC_PARAMETER = 18; + + /** + * The feature id for the '<em><b>Poisson Distribution</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__POISSON_DISTRIBUTION = 19; + + /** + * The feature id for the '<em><b>String Parameter</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__STRING_PARAMETER = 20; + + /** + * The feature id for the '<em><b>Triangular Distribution</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__TRIANGULAR_DISTRIBUTION = 21; + + /** + * The feature id for the '<em><b>Truncated Normal Distribution</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__TRUNCATED_NORMAL_DISTRIBUTION = 22; + + /** + * The feature id for the '<em><b>Uniform Distribution</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__UNIFORM_DISTRIBUTION = 23; + + /** + * The feature id for the '<em><b>User Distribution</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__USER_DISTRIBUTION = 24; + + /** + * The feature id for the '<em><b>User Distribution Data Point</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__USER_DISTRIBUTION_DATA_POINT = 25; + + /** + * The feature id for the '<em><b>Weibull Distribution</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__WEIBULL_DISTRIBUTION = 26; + + /** + * The number of structural features of the '<em>Document Root</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT_FEATURE_COUNT = 27; + + /** + * The meta object id for the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.DurationParameterTypeImpl <em>Duration Parameter Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.DurationParameterTypeImpl + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.BpsimPackageImpl#getDurationParameterType() + * @generated + */ + int DURATION_PARAMETER_TYPE = 11; + + /** + * The feature id for the '<em><b>Instance</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DURATION_PARAMETER_TYPE__INSTANCE = CONSTANT_PARAMETER__INSTANCE; + + /** + * The feature id for the '<em><b>Result</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DURATION_PARAMETER_TYPE__RESULT = CONSTANT_PARAMETER__RESULT; + + /** + * The feature id for the '<em><b>Valid For</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DURATION_PARAMETER_TYPE__VALID_FOR = CONSTANT_PARAMETER__VALID_FOR; + + /** + * The feature id for the '<em><b>Value</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DURATION_PARAMETER_TYPE__VALUE = CONSTANT_PARAMETER_FEATURE_COUNT + 0; + + /** + * The number of structural features of the '<em>Duration Parameter Type</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DURATION_PARAMETER_TYPE_FEATURE_COUNT = CONSTANT_PARAMETER_FEATURE_COUNT + 1; + + /** + * The meta object id for the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.ElementParametersImpl <em>Element Parameters</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.ElementParametersImpl + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.BpsimPackageImpl#getElementParameters() + * @generated + */ + int ELEMENT_PARAMETERS = 12; + + /** + * The feature id for the '<em><b>Time Parameters</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ELEMENT_PARAMETERS__TIME_PARAMETERS = 0; + + /** + * The feature id for the '<em><b>Control Parameters</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ELEMENT_PARAMETERS__CONTROL_PARAMETERS = 1; + + /** + * The feature id for the '<em><b>Resource Parameters</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ELEMENT_PARAMETERS__RESOURCE_PARAMETERS = 2; + + /** + * The feature id for the '<em><b>Priority Parameters</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ELEMENT_PARAMETERS__PRIORITY_PARAMETERS = 3; + + /** + * The feature id for the '<em><b>Cost Parameters</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ELEMENT_PARAMETERS__COST_PARAMETERS = 4; + + /** + * The feature id for the '<em><b>Property Parameters</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ELEMENT_PARAMETERS__PROPERTY_PARAMETERS = 5; + + /** + * The feature id for the '<em><b>Vendor Extension</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ELEMENT_PARAMETERS__VENDOR_EXTENSION = 6; + + /** + * The feature id for the '<em><b>Element Ref</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ELEMENT_PARAMETERS__ELEMENT_REF = 7; + + /** + * The feature id for the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ELEMENT_PARAMETERS__ID = 8; + + /** + * The number of structural features of the '<em>Element Parameters</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ELEMENT_PARAMETERS_FEATURE_COUNT = 9; + + /** + * The meta object id for the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.ElementParametersTypeImpl <em>Element Parameters Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.ElementParametersTypeImpl + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.BpsimPackageImpl#getElementParametersType() + * @generated + */ + int ELEMENT_PARAMETERS_TYPE = 13; + + /** + * The feature id for the '<em><b>Time Parameters</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ELEMENT_PARAMETERS_TYPE__TIME_PARAMETERS = ELEMENT_PARAMETERS__TIME_PARAMETERS; + + /** + * The feature id for the '<em><b>Control Parameters</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ELEMENT_PARAMETERS_TYPE__CONTROL_PARAMETERS = ELEMENT_PARAMETERS__CONTROL_PARAMETERS; + + /** + * The feature id for the '<em><b>Resource Parameters</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ELEMENT_PARAMETERS_TYPE__RESOURCE_PARAMETERS = ELEMENT_PARAMETERS__RESOURCE_PARAMETERS; + + /** + * The feature id for the '<em><b>Priority Parameters</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ELEMENT_PARAMETERS_TYPE__PRIORITY_PARAMETERS = ELEMENT_PARAMETERS__PRIORITY_PARAMETERS; + + /** + * The feature id for the '<em><b>Cost Parameters</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ELEMENT_PARAMETERS_TYPE__COST_PARAMETERS = ELEMENT_PARAMETERS__COST_PARAMETERS; + + /** + * The feature id for the '<em><b>Property Parameters</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ELEMENT_PARAMETERS_TYPE__PROPERTY_PARAMETERS = ELEMENT_PARAMETERS__PROPERTY_PARAMETERS; + + /** + * The feature id for the '<em><b>Vendor Extension</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ELEMENT_PARAMETERS_TYPE__VENDOR_EXTENSION = ELEMENT_PARAMETERS__VENDOR_EXTENSION; + + /** + * The feature id for the '<em><b>Element Ref</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ELEMENT_PARAMETERS_TYPE__ELEMENT_REF = ELEMENT_PARAMETERS__ELEMENT_REF; + + /** + * The feature id for the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ELEMENT_PARAMETERS_TYPE__ID = ELEMENT_PARAMETERS__ID; + + /** + * The number of structural features of the '<em>Element Parameters Type</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ELEMENT_PARAMETERS_TYPE_FEATURE_COUNT = ELEMENT_PARAMETERS_FEATURE_COUNT + 0; + + /** + * The meta object id for the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.EnumParameterTypeImpl <em>Enum Parameter Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.EnumParameterTypeImpl + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.BpsimPackageImpl#getEnumParameterType() + * @generated + */ + int ENUM_PARAMETER_TYPE = 14; + + /** + * The feature id for the '<em><b>Instance</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ENUM_PARAMETER_TYPE__INSTANCE = PARAMETER_VALUE__INSTANCE; + + /** + * The feature id for the '<em><b>Result</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ENUM_PARAMETER_TYPE__RESULT = PARAMETER_VALUE__RESULT; + + /** + * The feature id for the '<em><b>Valid For</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ENUM_PARAMETER_TYPE__VALID_FOR = PARAMETER_VALUE__VALID_FOR; + + /** + * The feature id for the '<em><b>Group</b></em>' attribute list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ENUM_PARAMETER_TYPE__GROUP = PARAMETER_VALUE_FEATURE_COUNT + 0; + + /** + * The feature id for the '<em><b>Parameter Value Group</b></em>' attribute list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ENUM_PARAMETER_TYPE__PARAMETER_VALUE_GROUP = PARAMETER_VALUE_FEATURE_COUNT + 1; + + /** + * The feature id for the '<em><b>Parameter Value</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ENUM_PARAMETER_TYPE__PARAMETER_VALUE = PARAMETER_VALUE_FEATURE_COUNT + 2; + + /** + * The number of structural features of the '<em>Enum Parameter Type</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ENUM_PARAMETER_TYPE_FEATURE_COUNT = PARAMETER_VALUE_FEATURE_COUNT + 3; + + /** + * The meta object id for the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.ErlangDistributionTypeImpl <em>Erlang Distribution Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.ErlangDistributionTypeImpl + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.BpsimPackageImpl#getErlangDistributionType() + * @generated + */ + int ERLANG_DISTRIBUTION_TYPE = 15; + + /** + * The feature id for the '<em><b>Instance</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ERLANG_DISTRIBUTION_TYPE__INSTANCE = DISTRIBUTION_PARAMETER__INSTANCE; + + /** + * The feature id for the '<em><b>Result</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ERLANG_DISTRIBUTION_TYPE__RESULT = DISTRIBUTION_PARAMETER__RESULT; + + /** + * The feature id for the '<em><b>Valid For</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ERLANG_DISTRIBUTION_TYPE__VALID_FOR = DISTRIBUTION_PARAMETER__VALID_FOR; + + /** + * The feature id for the '<em><b>Currency Unit</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ERLANG_DISTRIBUTION_TYPE__CURRENCY_UNIT = DISTRIBUTION_PARAMETER__CURRENCY_UNIT; + + /** + * The feature id for the '<em><b>Time Unit</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ERLANG_DISTRIBUTION_TYPE__TIME_UNIT = DISTRIBUTION_PARAMETER__TIME_UNIT; + + /** + * The feature id for the '<em><b>K</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ERLANG_DISTRIBUTION_TYPE__K = DISTRIBUTION_PARAMETER_FEATURE_COUNT + 0; + + /** + * The feature id for the '<em><b>Mean</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ERLANG_DISTRIBUTION_TYPE__MEAN = DISTRIBUTION_PARAMETER_FEATURE_COUNT + 1; + + /** + * The number of structural features of the '<em>Erlang Distribution Type</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ERLANG_DISTRIBUTION_TYPE_FEATURE_COUNT = DISTRIBUTION_PARAMETER_FEATURE_COUNT + 2; + + /** + * The meta object id for the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.ExpressionParameterTypeImpl <em>SingleAssignment Parameter Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.ExpressionParameterTypeImpl + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.BpsimPackageImpl#getExpressionParameterType() + * @generated + */ + int EXPRESSION_PARAMETER_TYPE = 16; + + /** + * The feature id for the '<em><b>Instance</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int EXPRESSION_PARAMETER_TYPE__INSTANCE = PARAMETER_VALUE__INSTANCE; + + /** + * The feature id for the '<em><b>Result</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int EXPRESSION_PARAMETER_TYPE__RESULT = PARAMETER_VALUE__RESULT; + + /** + * The feature id for the '<em><b>Valid For</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int EXPRESSION_PARAMETER_TYPE__VALID_FOR = PARAMETER_VALUE__VALID_FOR; + + /** + * The feature id for the '<em><b>Value</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int EXPRESSION_PARAMETER_TYPE__VALUE = PARAMETER_VALUE_FEATURE_COUNT + 0; + + /** + * The number of structural features of the '<em>SingleAssignment Parameter Type</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int EXPRESSION_PARAMETER_TYPE_FEATURE_COUNT = PARAMETER_VALUE_FEATURE_COUNT + 1; + + /** + * The meta object id for the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.FloatingParameterTypeImpl <em>Floating Parameter Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.FloatingParameterTypeImpl + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.BpsimPackageImpl#getFloatingParameterType() + * @generated + */ + int FLOATING_PARAMETER_TYPE = 17; + + /** + * The feature id for the '<em><b>Instance</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int FLOATING_PARAMETER_TYPE__INSTANCE = CONSTANT_PARAMETER__INSTANCE; + + /** + * The feature id for the '<em><b>Result</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int FLOATING_PARAMETER_TYPE__RESULT = CONSTANT_PARAMETER__RESULT; + + /** + * The feature id for the '<em><b>Valid For</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int FLOATING_PARAMETER_TYPE__VALID_FOR = CONSTANT_PARAMETER__VALID_FOR; + + /** + * The feature id for the '<em><b>Currency Unit</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int FLOATING_PARAMETER_TYPE__CURRENCY_UNIT = CONSTANT_PARAMETER_FEATURE_COUNT + 0; + + /** + * The feature id for the '<em><b>Time Unit</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int FLOATING_PARAMETER_TYPE__TIME_UNIT = CONSTANT_PARAMETER_FEATURE_COUNT + 1; + + /** + * The feature id for the '<em><b>Value</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int FLOATING_PARAMETER_TYPE__VALUE = CONSTANT_PARAMETER_FEATURE_COUNT + 2; + + /** + * The number of structural features of the '<em>Floating Parameter Type</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int FLOATING_PARAMETER_TYPE_FEATURE_COUNT = CONSTANT_PARAMETER_FEATURE_COUNT + 3; + + /** + * The meta object id for the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.GammaDistributionTypeImpl <em>Gamma Distribution Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.GammaDistributionTypeImpl + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.BpsimPackageImpl#getGammaDistributionType() + * @generated + */ + int GAMMA_DISTRIBUTION_TYPE = 18; + + /** + * The feature id for the '<em><b>Instance</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int GAMMA_DISTRIBUTION_TYPE__INSTANCE = DISTRIBUTION_PARAMETER__INSTANCE; + + /** + * The feature id for the '<em><b>Result</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int GAMMA_DISTRIBUTION_TYPE__RESULT = DISTRIBUTION_PARAMETER__RESULT; + + /** + * The feature id for the '<em><b>Valid For</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int GAMMA_DISTRIBUTION_TYPE__VALID_FOR = DISTRIBUTION_PARAMETER__VALID_FOR; + + /** + * The feature id for the '<em><b>Currency Unit</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int GAMMA_DISTRIBUTION_TYPE__CURRENCY_UNIT = DISTRIBUTION_PARAMETER__CURRENCY_UNIT; + + /** + * The feature id for the '<em><b>Time Unit</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int GAMMA_DISTRIBUTION_TYPE__TIME_UNIT = DISTRIBUTION_PARAMETER__TIME_UNIT; + + /** + * The feature id for the '<em><b>Scale</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int GAMMA_DISTRIBUTION_TYPE__SCALE = DISTRIBUTION_PARAMETER_FEATURE_COUNT + 0; + + /** + * The feature id for the '<em><b>Shape</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int GAMMA_DISTRIBUTION_TYPE__SHAPE = DISTRIBUTION_PARAMETER_FEATURE_COUNT + 1; + + /** + * The number of structural features of the '<em>Gamma Distribution Type</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int GAMMA_DISTRIBUTION_TYPE_FEATURE_COUNT = DISTRIBUTION_PARAMETER_FEATURE_COUNT + 2; + + /** + * The meta object id for the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.LogNormalDistributionTypeImpl <em>Log Normal Distribution Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.LogNormalDistributionTypeImpl + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.BpsimPackageImpl#getLogNormalDistributionType() + * @generated + */ + int LOG_NORMAL_DISTRIBUTION_TYPE = 19; + + /** + * The feature id for the '<em><b>Instance</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int LOG_NORMAL_DISTRIBUTION_TYPE__INSTANCE = DISTRIBUTION_PARAMETER__INSTANCE; + + /** + * The feature id for the '<em><b>Result</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int LOG_NORMAL_DISTRIBUTION_TYPE__RESULT = DISTRIBUTION_PARAMETER__RESULT; + + /** + * The feature id for the '<em><b>Valid For</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int LOG_NORMAL_DISTRIBUTION_TYPE__VALID_FOR = DISTRIBUTION_PARAMETER__VALID_FOR; + + /** + * The feature id for the '<em><b>Currency Unit</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int LOG_NORMAL_DISTRIBUTION_TYPE__CURRENCY_UNIT = DISTRIBUTION_PARAMETER__CURRENCY_UNIT; + + /** + * The feature id for the '<em><b>Time Unit</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int LOG_NORMAL_DISTRIBUTION_TYPE__TIME_UNIT = DISTRIBUTION_PARAMETER__TIME_UNIT; + + /** + * The feature id for the '<em><b>Mean</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int LOG_NORMAL_DISTRIBUTION_TYPE__MEAN = DISTRIBUTION_PARAMETER_FEATURE_COUNT + 0; + + /** + * The feature id for the '<em><b>Standard Deviation</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int LOG_NORMAL_DISTRIBUTION_TYPE__STANDARD_DEVIATION = DISTRIBUTION_PARAMETER_FEATURE_COUNT + 1; + + /** + * The number of structural features of the '<em>Log Normal Distribution Type</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int LOG_NORMAL_DISTRIBUTION_TYPE_FEATURE_COUNT = DISTRIBUTION_PARAMETER_FEATURE_COUNT + 2; + + /** + * The meta object id for the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.NegativeExponentialDistributionTypeImpl <em>Negative Exponential Distribution Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.NegativeExponentialDistributionTypeImpl + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.BpsimPackageImpl#getNegativeExponentialDistributionType() + * @generated + */ + int NEGATIVE_EXPONENTIAL_DISTRIBUTION_TYPE = 20; + + /** + * The feature id for the '<em><b>Instance</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int NEGATIVE_EXPONENTIAL_DISTRIBUTION_TYPE__INSTANCE = DISTRIBUTION_PARAMETER__INSTANCE; + + /** + * The feature id for the '<em><b>Result</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int NEGATIVE_EXPONENTIAL_DISTRIBUTION_TYPE__RESULT = DISTRIBUTION_PARAMETER__RESULT; + + /** + * The feature id for the '<em><b>Valid For</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int NEGATIVE_EXPONENTIAL_DISTRIBUTION_TYPE__VALID_FOR = DISTRIBUTION_PARAMETER__VALID_FOR; + + /** + * The feature id for the '<em><b>Currency Unit</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int NEGATIVE_EXPONENTIAL_DISTRIBUTION_TYPE__CURRENCY_UNIT = DISTRIBUTION_PARAMETER__CURRENCY_UNIT; + + /** + * The feature id for the '<em><b>Time Unit</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int NEGATIVE_EXPONENTIAL_DISTRIBUTION_TYPE__TIME_UNIT = DISTRIBUTION_PARAMETER__TIME_UNIT; + + /** + * The feature id for the '<em><b>Mean</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int NEGATIVE_EXPONENTIAL_DISTRIBUTION_TYPE__MEAN = DISTRIBUTION_PARAMETER_FEATURE_COUNT + 0; + + /** + * The number of structural features of the '<em>Negative Exponential Distribution Type</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int NEGATIVE_EXPONENTIAL_DISTRIBUTION_TYPE_FEATURE_COUNT = DISTRIBUTION_PARAMETER_FEATURE_COUNT + 1; + + /** + * The meta object id for the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.NormalDistributionTypeImpl <em>Normal Distribution Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.NormalDistributionTypeImpl + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.BpsimPackageImpl#getNormalDistributionType() + * @generated + */ + int NORMAL_DISTRIBUTION_TYPE = 21; + + /** + * The feature id for the '<em><b>Instance</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int NORMAL_DISTRIBUTION_TYPE__INSTANCE = DISTRIBUTION_PARAMETER__INSTANCE; + + /** + * The feature id for the '<em><b>Result</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int NORMAL_DISTRIBUTION_TYPE__RESULT = DISTRIBUTION_PARAMETER__RESULT; + + /** + * The feature id for the '<em><b>Valid For</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int NORMAL_DISTRIBUTION_TYPE__VALID_FOR = DISTRIBUTION_PARAMETER__VALID_FOR; + + /** + * The feature id for the '<em><b>Currency Unit</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int NORMAL_DISTRIBUTION_TYPE__CURRENCY_UNIT = DISTRIBUTION_PARAMETER__CURRENCY_UNIT; + + /** + * The feature id for the '<em><b>Time Unit</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int NORMAL_DISTRIBUTION_TYPE__TIME_UNIT = DISTRIBUTION_PARAMETER__TIME_UNIT; + + /** + * The feature id for the '<em><b>Mean</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int NORMAL_DISTRIBUTION_TYPE__MEAN = DISTRIBUTION_PARAMETER_FEATURE_COUNT + 0; + + /** + * The feature id for the '<em><b>Standard Deviation</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int NORMAL_DISTRIBUTION_TYPE__STANDARD_DEVIATION = DISTRIBUTION_PARAMETER_FEATURE_COUNT + 1; + + /** + * The number of structural features of the '<em>Normal Distribution Type</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int NORMAL_DISTRIBUTION_TYPE_FEATURE_COUNT = DISTRIBUTION_PARAMETER_FEATURE_COUNT + 2; + + /** + * The meta object id for the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.NumericParameterTypeImpl <em>Numeric Parameter Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.NumericParameterTypeImpl + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.BpsimPackageImpl#getNumericParameterType() + * @generated + */ + int NUMERIC_PARAMETER_TYPE = 22; + + /** + * The feature id for the '<em><b>Instance</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int NUMERIC_PARAMETER_TYPE__INSTANCE = CONSTANT_PARAMETER__INSTANCE; + + /** + * The feature id for the '<em><b>Result</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int NUMERIC_PARAMETER_TYPE__RESULT = CONSTANT_PARAMETER__RESULT; + + /** + * The feature id for the '<em><b>Valid For</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int NUMERIC_PARAMETER_TYPE__VALID_FOR = CONSTANT_PARAMETER__VALID_FOR; + + /** + * The feature id for the '<em><b>Currency Unit</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int NUMERIC_PARAMETER_TYPE__CURRENCY_UNIT = CONSTANT_PARAMETER_FEATURE_COUNT + 0; + + /** + * The feature id for the '<em><b>Time Unit</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int NUMERIC_PARAMETER_TYPE__TIME_UNIT = CONSTANT_PARAMETER_FEATURE_COUNT + 1; + + /** + * The feature id for the '<em><b>Value</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int NUMERIC_PARAMETER_TYPE__VALUE = CONSTANT_PARAMETER_FEATURE_COUNT + 2; + + /** + * The number of structural features of the '<em>Numeric Parameter Type</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int NUMERIC_PARAMETER_TYPE_FEATURE_COUNT = CONSTANT_PARAMETER_FEATURE_COUNT + 3; + + /** + * The meta object id for the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.ParameterImpl <em>Parameter</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.ParameterImpl + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.BpsimPackageImpl#getParameter() + * @generated + */ + int PARAMETER = 23; + + /** + * The feature id for the '<em><b>Result Request</b></em>' attribute list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int PARAMETER__RESULT_REQUEST = 0; + + /** + * The feature id for the '<em><b>Parameter Value Group</b></em>' attribute list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int PARAMETER__PARAMETER_VALUE_GROUP = 1; + + /** + * The feature id for the '<em><b>Parameter Value</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int PARAMETER__PARAMETER_VALUE = 2; + + /** + * The feature id for the '<em><b>Kpi</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int PARAMETER__KPI = 3; + + /** + * The feature id for the '<em><b>Sla</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int PARAMETER__SLA = 4; + + /** + * The number of structural features of the '<em>Parameter</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int PARAMETER_FEATURE_COUNT = 5; + + /** + * The meta object id for the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.PoissonDistributionTypeImpl <em>Poisson Distribution Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.PoissonDistributionTypeImpl + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.BpsimPackageImpl#getPoissonDistributionType() + * @generated + */ + int POISSON_DISTRIBUTION_TYPE = 25; + + /** + * The feature id for the '<em><b>Instance</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int POISSON_DISTRIBUTION_TYPE__INSTANCE = DISTRIBUTION_PARAMETER__INSTANCE; + + /** + * The feature id for the '<em><b>Result</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int POISSON_DISTRIBUTION_TYPE__RESULT = DISTRIBUTION_PARAMETER__RESULT; + + /** + * The feature id for the '<em><b>Valid For</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int POISSON_DISTRIBUTION_TYPE__VALID_FOR = DISTRIBUTION_PARAMETER__VALID_FOR; + + /** + * The feature id for the '<em><b>Currency Unit</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int POISSON_DISTRIBUTION_TYPE__CURRENCY_UNIT = DISTRIBUTION_PARAMETER__CURRENCY_UNIT; + + /** + * The feature id for the '<em><b>Time Unit</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int POISSON_DISTRIBUTION_TYPE__TIME_UNIT = DISTRIBUTION_PARAMETER__TIME_UNIT; + + /** + * The feature id for the '<em><b>Mean</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int POISSON_DISTRIBUTION_TYPE__MEAN = DISTRIBUTION_PARAMETER_FEATURE_COUNT + 0; + + /** + * The number of structural features of the '<em>Poisson Distribution Type</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int POISSON_DISTRIBUTION_TYPE_FEATURE_COUNT = DISTRIBUTION_PARAMETER_FEATURE_COUNT + 1; + + /** + * The meta object id for the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.PriorityParametersImpl <em>Priority Parameters</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.PriorityParametersImpl + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.BpsimPackageImpl#getPriorityParameters() + * @generated + */ + int PRIORITY_PARAMETERS = 26; + + /** + * The feature id for the '<em><b>Interruptible</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int PRIORITY_PARAMETERS__INTERRUPTIBLE = 0; + + /** + * The feature id for the '<em><b>Priority</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int PRIORITY_PARAMETERS__PRIORITY = 1; + + /** + * The number of structural features of the '<em>Priority Parameters</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int PRIORITY_PARAMETERS_FEATURE_COUNT = 2; + + /** + * The meta object id for the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.PropertyParametersImpl <em>Property Parameters</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.PropertyParametersImpl + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.BpsimPackageImpl#getPropertyParameters() + * @generated + */ + int PROPERTY_PARAMETERS = 27; + + /** + * The feature id for the '<em><b>Property</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int PROPERTY_PARAMETERS__PROPERTY = 0; + + /** + * The number of structural features of the '<em>Property Parameters</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int PROPERTY_PARAMETERS_FEATURE_COUNT = 1; + + /** + * The meta object id for the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.PropertyTypeImpl <em>Property Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.PropertyTypeImpl + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.BpsimPackageImpl#getPropertyType() + * @generated + */ + int PROPERTY_TYPE = 28; + + /** + * The feature id for the '<em><b>Result Request</b></em>' attribute list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int PROPERTY_TYPE__RESULT_REQUEST = PARAMETER__RESULT_REQUEST; + + /** + * The feature id for the '<em><b>Parameter Value Group</b></em>' attribute list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int PROPERTY_TYPE__PARAMETER_VALUE_GROUP = PARAMETER__PARAMETER_VALUE_GROUP; + + /** + * The feature id for the '<em><b>Parameter Value</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int PROPERTY_TYPE__PARAMETER_VALUE = PARAMETER__PARAMETER_VALUE; + + /** + * The feature id for the '<em><b>Kpi</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int PROPERTY_TYPE__KPI = PARAMETER__KPI; + + /** + * The feature id for the '<em><b>Sla</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int PROPERTY_TYPE__SLA = PARAMETER__SLA; + + /** + * The feature id for the '<em><b>Name</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int PROPERTY_TYPE__NAME = PARAMETER_FEATURE_COUNT + 0; + + /** + * The number of structural features of the '<em>Property Type</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int PROPERTY_TYPE_FEATURE_COUNT = PARAMETER_FEATURE_COUNT + 1; + + /** + * The meta object id for the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.ResourceParametersImpl <em>Resource Parameters</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.ResourceParametersImpl + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.BpsimPackageImpl#getResourceParameters() + * @generated + */ + int RESOURCE_PARAMETERS = 29; + + /** + * The feature id for the '<em><b>Selection</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int RESOURCE_PARAMETERS__SELECTION = 0; + + /** + * The feature id for the '<em><b>Availability</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int RESOURCE_PARAMETERS__AVAILABILITY = 1; + + /** + * The feature id for the '<em><b>Quantity</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int RESOURCE_PARAMETERS__QUANTITY = 2; + + /** + * The feature id for the '<em><b>Role</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int RESOURCE_PARAMETERS__ROLE = 3; + + /** + * The number of structural features of the '<em>Resource Parameters</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int RESOURCE_PARAMETERS_FEATURE_COUNT = 4; + + /** + * The meta object id for the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.ScenarioImpl <em>Scenario</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.ScenarioImpl + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.BpsimPackageImpl#getScenario() + * @generated + */ + int SCENARIO = 30; + + /** + * The feature id for the '<em><b>Scenario Parameters</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int SCENARIO__SCENARIO_PARAMETERS = 0; + + /** + * The feature id for the '<em><b>Element Parameters</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int SCENARIO__ELEMENT_PARAMETERS = 1; + + /** + * The feature id for the '<em><b>Calendar</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int SCENARIO__CALENDAR = 2; + + /** + * The feature id for the '<em><b>Vendor Extension</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int SCENARIO__VENDOR_EXTENSION = 3; + + /** + * The feature id for the '<em><b>Author</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int SCENARIO__AUTHOR = 4; + + /** + * The feature id for the '<em><b>Created</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int SCENARIO__CREATED = 5; + + /** + * The feature id for the '<em><b>Description</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int SCENARIO__DESCRIPTION = 6; + + /** + * The feature id for the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int SCENARIO__ID = 7; + + /** + * The feature id for the '<em><b>Inherits</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int SCENARIO__INHERITS = 8; + + /** + * The feature id for the '<em><b>Modified</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int SCENARIO__MODIFIED = 9; + + /** + * The feature id for the '<em><b>Name</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int SCENARIO__NAME = 10; + + /** + * The feature id for the '<em><b>Result</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int SCENARIO__RESULT = 11; + + /** + * The feature id for the '<em><b>Vendor</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int SCENARIO__VENDOR = 12; + + /** + * The feature id for the '<em><b>Version</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int SCENARIO__VERSION = 13; + + /** + * The number of structural features of the '<em>Scenario</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int SCENARIO_FEATURE_COUNT = 14; + + /** + * The meta object id for the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.ScenarioParametersImpl <em>Scenario Parameters</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.ScenarioParametersImpl + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.BpsimPackageImpl#getScenarioParameters() + * @generated + */ + int SCENARIO_PARAMETERS = 31; + + /** + * The feature id for the '<em><b>Start</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int SCENARIO_PARAMETERS__START = 0; + + /** + * The feature id for the '<em><b>Duration</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int SCENARIO_PARAMETERS__DURATION = 1; + + /** + * The feature id for the '<em><b>Property Parameters</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int SCENARIO_PARAMETERS__PROPERTY_PARAMETERS = 2; + + /** + * The feature id for the '<em><b>Base Currency Unit</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int SCENARIO_PARAMETERS__BASE_CURRENCY_UNIT = 3; + + /** + * The feature id for the '<em><b>Base Time Unit</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int SCENARIO_PARAMETERS__BASE_TIME_UNIT = 4; + + /** + * The feature id for the '<em><b>Replication</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int SCENARIO_PARAMETERS__REPLICATION = 5; + + /** + * The feature id for the '<em><b>Seed</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int SCENARIO_PARAMETERS__SEED = 6; + + /** + * The number of structural features of the '<em>Scenario Parameters</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int SCENARIO_PARAMETERS_FEATURE_COUNT = 7; + + /** + * The meta object id for the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.ScenarioParametersTypeImpl <em>Scenario Parameters Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.ScenarioParametersTypeImpl + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.BpsimPackageImpl#getScenarioParametersType() + * @generated + */ + int SCENARIO_PARAMETERS_TYPE = 32; + + /** + * The feature id for the '<em><b>Start</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int SCENARIO_PARAMETERS_TYPE__START = SCENARIO_PARAMETERS__START; + + /** + * The feature id for the '<em><b>Duration</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int SCENARIO_PARAMETERS_TYPE__DURATION = SCENARIO_PARAMETERS__DURATION; + + /** + * The feature id for the '<em><b>Property Parameters</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int SCENARIO_PARAMETERS_TYPE__PROPERTY_PARAMETERS = SCENARIO_PARAMETERS__PROPERTY_PARAMETERS; + + /** + * The feature id for the '<em><b>Base Currency Unit</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int SCENARIO_PARAMETERS_TYPE__BASE_CURRENCY_UNIT = SCENARIO_PARAMETERS__BASE_CURRENCY_UNIT; + + /** + * The feature id for the '<em><b>Base Time Unit</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int SCENARIO_PARAMETERS_TYPE__BASE_TIME_UNIT = SCENARIO_PARAMETERS__BASE_TIME_UNIT; + + /** + * The feature id for the '<em><b>Replication</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int SCENARIO_PARAMETERS_TYPE__REPLICATION = SCENARIO_PARAMETERS__REPLICATION; + + /** + * The feature id for the '<em><b>Seed</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int SCENARIO_PARAMETERS_TYPE__SEED = SCENARIO_PARAMETERS__SEED; + + /** + * The number of structural features of the '<em>Scenario Parameters Type</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int SCENARIO_PARAMETERS_TYPE_FEATURE_COUNT = SCENARIO_PARAMETERS_FEATURE_COUNT + 0; + + /** + * The meta object id for the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.StringParameterTypeImpl <em>String Parameter Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.StringParameterTypeImpl + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.BpsimPackageImpl#getStringParameterType() + * @generated + */ + int STRING_PARAMETER_TYPE = 33; + + /** + * The feature id for the '<em><b>Instance</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int STRING_PARAMETER_TYPE__INSTANCE = CONSTANT_PARAMETER__INSTANCE; + + /** + * The feature id for the '<em><b>Result</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int STRING_PARAMETER_TYPE__RESULT = CONSTANT_PARAMETER__RESULT; + + /** + * The feature id for the '<em><b>Valid For</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int STRING_PARAMETER_TYPE__VALID_FOR = CONSTANT_PARAMETER__VALID_FOR; + + /** + * The feature id for the '<em><b>Value</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int STRING_PARAMETER_TYPE__VALUE = CONSTANT_PARAMETER_FEATURE_COUNT + 0; + + /** + * The number of structural features of the '<em>String Parameter Type</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int STRING_PARAMETER_TYPE_FEATURE_COUNT = CONSTANT_PARAMETER_FEATURE_COUNT + 1; + + /** + * The meta object id for the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.TimeParametersImpl <em>Time Parameters</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.TimeParametersImpl + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.BpsimPackageImpl#getTimeParameters() + * @generated + */ + int TIME_PARAMETERS = 34; + + /** + * The feature id for the '<em><b>Transfer Time</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int TIME_PARAMETERS__TRANSFER_TIME = 0; + + /** + * The feature id for the '<em><b>Queue Time</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int TIME_PARAMETERS__QUEUE_TIME = 1; + + /** + * The feature id for the '<em><b>Wait Time</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int TIME_PARAMETERS__WAIT_TIME = 2; + + /** + * The feature id for the '<em><b>Set Up Time</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int TIME_PARAMETERS__SET_UP_TIME = 3; + + /** + * The feature id for the '<em><b>Processing Time</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int TIME_PARAMETERS__PROCESSING_TIME = 4; + + /** + * The feature id for the '<em><b>Validation Time</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int TIME_PARAMETERS__VALIDATION_TIME = 5; + + /** + * The feature id for the '<em><b>Rework Time</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int TIME_PARAMETERS__REWORK_TIME = 6; + + /** + * The number of structural features of the '<em>Time Parameters</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int TIME_PARAMETERS_FEATURE_COUNT = 7; + + /** + * The meta object id for the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.TriangularDistributionTypeImpl <em>Triangular Distribution Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.TriangularDistributionTypeImpl + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.BpsimPackageImpl#getTriangularDistributionType() + * @generated + */ + int TRIANGULAR_DISTRIBUTION_TYPE = 35; + + /** + * The feature id for the '<em><b>Instance</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int TRIANGULAR_DISTRIBUTION_TYPE__INSTANCE = DISTRIBUTION_PARAMETER__INSTANCE; + + /** + * The feature id for the '<em><b>Result</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int TRIANGULAR_DISTRIBUTION_TYPE__RESULT = DISTRIBUTION_PARAMETER__RESULT; + + /** + * The feature id for the '<em><b>Valid For</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int TRIANGULAR_DISTRIBUTION_TYPE__VALID_FOR = DISTRIBUTION_PARAMETER__VALID_FOR; + + /** + * The feature id for the '<em><b>Currency Unit</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int TRIANGULAR_DISTRIBUTION_TYPE__CURRENCY_UNIT = DISTRIBUTION_PARAMETER__CURRENCY_UNIT; + + /** + * The feature id for the '<em><b>Time Unit</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int TRIANGULAR_DISTRIBUTION_TYPE__TIME_UNIT = DISTRIBUTION_PARAMETER__TIME_UNIT; + + /** + * The feature id for the '<em><b>Max</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int TRIANGULAR_DISTRIBUTION_TYPE__MAX = DISTRIBUTION_PARAMETER_FEATURE_COUNT + 0; + + /** + * The feature id for the '<em><b>Min</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int TRIANGULAR_DISTRIBUTION_TYPE__MIN = DISTRIBUTION_PARAMETER_FEATURE_COUNT + 1; + + /** + * The feature id for the '<em><b>Mode</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int TRIANGULAR_DISTRIBUTION_TYPE__MODE = DISTRIBUTION_PARAMETER_FEATURE_COUNT + 2; + + /** + * The number of structural features of the '<em>Triangular Distribution Type</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int TRIANGULAR_DISTRIBUTION_TYPE_FEATURE_COUNT = DISTRIBUTION_PARAMETER_FEATURE_COUNT + 3; + + /** + * The meta object id for the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.TruncatedNormalDistributionTypeImpl <em>Truncated Normal Distribution Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.TruncatedNormalDistributionTypeImpl + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.BpsimPackageImpl#getTruncatedNormalDistributionType() + * @generated + */ + int TRUNCATED_NORMAL_DISTRIBUTION_TYPE = 36; + + /** + * The feature id for the '<em><b>Instance</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int TRUNCATED_NORMAL_DISTRIBUTION_TYPE__INSTANCE = DISTRIBUTION_PARAMETER__INSTANCE; + + /** + * The feature id for the '<em><b>Result</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int TRUNCATED_NORMAL_DISTRIBUTION_TYPE__RESULT = DISTRIBUTION_PARAMETER__RESULT; + + /** + * The feature id for the '<em><b>Valid For</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int TRUNCATED_NORMAL_DISTRIBUTION_TYPE__VALID_FOR = DISTRIBUTION_PARAMETER__VALID_FOR; + + /** + * The feature id for the '<em><b>Currency Unit</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int TRUNCATED_NORMAL_DISTRIBUTION_TYPE__CURRENCY_UNIT = DISTRIBUTION_PARAMETER__CURRENCY_UNIT; + + /** + * The feature id for the '<em><b>Time Unit</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int TRUNCATED_NORMAL_DISTRIBUTION_TYPE__TIME_UNIT = DISTRIBUTION_PARAMETER__TIME_UNIT; + + /** + * The feature id for the '<em><b>Max</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int TRUNCATED_NORMAL_DISTRIBUTION_TYPE__MAX = DISTRIBUTION_PARAMETER_FEATURE_COUNT + 0; + + /** + * The feature id for the '<em><b>Mean</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int TRUNCATED_NORMAL_DISTRIBUTION_TYPE__MEAN = DISTRIBUTION_PARAMETER_FEATURE_COUNT + 1; + + /** + * The feature id for the '<em><b>Min</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int TRUNCATED_NORMAL_DISTRIBUTION_TYPE__MIN = DISTRIBUTION_PARAMETER_FEATURE_COUNT + 2; + + /** + * The feature id for the '<em><b>Standard Deviation</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int TRUNCATED_NORMAL_DISTRIBUTION_TYPE__STANDARD_DEVIATION = DISTRIBUTION_PARAMETER_FEATURE_COUNT + 3; + + /** + * The number of structural features of the '<em>Truncated Normal Distribution Type</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int TRUNCATED_NORMAL_DISTRIBUTION_TYPE_FEATURE_COUNT = DISTRIBUTION_PARAMETER_FEATURE_COUNT + 4; + + /** + * The meta object id for the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.UniformDistributionTypeImpl <em>Uniform Distribution Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.UniformDistributionTypeImpl + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.BpsimPackageImpl#getUniformDistributionType() + * @generated + */ + int UNIFORM_DISTRIBUTION_TYPE = 37; + + /** + * The feature id for the '<em><b>Instance</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int UNIFORM_DISTRIBUTION_TYPE__INSTANCE = DISTRIBUTION_PARAMETER__INSTANCE; + + /** + * The feature id for the '<em><b>Result</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int UNIFORM_DISTRIBUTION_TYPE__RESULT = DISTRIBUTION_PARAMETER__RESULT; + + /** + * The feature id for the '<em><b>Valid For</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int UNIFORM_DISTRIBUTION_TYPE__VALID_FOR = DISTRIBUTION_PARAMETER__VALID_FOR; + + /** + * The feature id for the '<em><b>Currency Unit</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int UNIFORM_DISTRIBUTION_TYPE__CURRENCY_UNIT = DISTRIBUTION_PARAMETER__CURRENCY_UNIT; + + /** + * The feature id for the '<em><b>Time Unit</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int UNIFORM_DISTRIBUTION_TYPE__TIME_UNIT = DISTRIBUTION_PARAMETER__TIME_UNIT; + + /** + * The feature id for the '<em><b>Max</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int UNIFORM_DISTRIBUTION_TYPE__MAX = DISTRIBUTION_PARAMETER_FEATURE_COUNT + 0; + + /** + * The feature id for the '<em><b>Min</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int UNIFORM_DISTRIBUTION_TYPE__MIN = DISTRIBUTION_PARAMETER_FEATURE_COUNT + 1; + + /** + * The number of structural features of the '<em>Uniform Distribution Type</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int UNIFORM_DISTRIBUTION_TYPE_FEATURE_COUNT = DISTRIBUTION_PARAMETER_FEATURE_COUNT + 2; + + /** + * The meta object id for the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.UserDistributionDataPointTypeImpl <em>User Distribution Data Point Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.UserDistributionDataPointTypeImpl + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.BpsimPackageImpl#getUserDistributionDataPointType() + * @generated + */ + int USER_DISTRIBUTION_DATA_POINT_TYPE = 38; + + /** + * The feature id for the '<em><b>Parameter Value Group</b></em>' attribute list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int USER_DISTRIBUTION_DATA_POINT_TYPE__PARAMETER_VALUE_GROUP = 0; + + /** + * The feature id for the '<em><b>Parameter Value</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int USER_DISTRIBUTION_DATA_POINT_TYPE__PARAMETER_VALUE = 1; + + /** + * The feature id for the '<em><b>Probability</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int USER_DISTRIBUTION_DATA_POINT_TYPE__PROBABILITY = 2; + + /** + * The number of structural features of the '<em>User Distribution Data Point Type</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int USER_DISTRIBUTION_DATA_POINT_TYPE_FEATURE_COUNT = 3; + + /** + * The meta object id for the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.UserDistributionTypeImpl <em>User Distribution Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.UserDistributionTypeImpl + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.BpsimPackageImpl#getUserDistributionType() + * @generated + */ + int USER_DISTRIBUTION_TYPE = 39; + + /** + * The feature id for the '<em><b>Instance</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int USER_DISTRIBUTION_TYPE__INSTANCE = DISTRIBUTION_PARAMETER__INSTANCE; + + /** + * The feature id for the '<em><b>Result</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int USER_DISTRIBUTION_TYPE__RESULT = DISTRIBUTION_PARAMETER__RESULT; + + /** + * The feature id for the '<em><b>Valid For</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int USER_DISTRIBUTION_TYPE__VALID_FOR = DISTRIBUTION_PARAMETER__VALID_FOR; + + /** + * The feature id for the '<em><b>Currency Unit</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int USER_DISTRIBUTION_TYPE__CURRENCY_UNIT = DISTRIBUTION_PARAMETER__CURRENCY_UNIT; + + /** + * The feature id for the '<em><b>Time Unit</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int USER_DISTRIBUTION_TYPE__TIME_UNIT = DISTRIBUTION_PARAMETER__TIME_UNIT; + + /** + * The feature id for the '<em><b>Group</b></em>' attribute list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int USER_DISTRIBUTION_TYPE__GROUP = DISTRIBUTION_PARAMETER_FEATURE_COUNT + 0; + + /** + * The feature id for the '<em><b>User Distribution Data Point</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int USER_DISTRIBUTION_TYPE__USER_DISTRIBUTION_DATA_POINT = DISTRIBUTION_PARAMETER_FEATURE_COUNT + 1; + + /** + * The feature id for the '<em><b>Discrete</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int USER_DISTRIBUTION_TYPE__DISCRETE = DISTRIBUTION_PARAMETER_FEATURE_COUNT + 2; + + /** + * The number of structural features of the '<em>User Distribution Type</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int USER_DISTRIBUTION_TYPE_FEATURE_COUNT = DISTRIBUTION_PARAMETER_FEATURE_COUNT + 3; + + /** + * The meta object id for the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.VendorExtensionImpl <em>Vendor Extension</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.VendorExtensionImpl + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.BpsimPackageImpl#getVendorExtension() + * @generated + */ + int VENDOR_EXTENSION = 40; + + /** + * The feature id for the '<em><b>Any</b></em>' attribute list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int VENDOR_EXTENSION__ANY = 0; + + /** + * The feature id for the '<em><b>Name</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int VENDOR_EXTENSION__NAME = 1; + + /** + * The feature id for the '<em><b>Any Attribute</b></em>' attribute list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int VENDOR_EXTENSION__ANY_ATTRIBUTE = 2; + + /** + * The number of structural features of the '<em>Vendor Extension</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int VENDOR_EXTENSION_FEATURE_COUNT = 3; + + /** + * The meta object id for the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.WeibullDistributionTypeImpl <em>Weibull Distribution Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.WeibullDistributionTypeImpl + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.BpsimPackageImpl#getWeibullDistributionType() + * @generated + */ + int WEIBULL_DISTRIBUTION_TYPE = 41; + + /** + * The feature id for the '<em><b>Instance</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int WEIBULL_DISTRIBUTION_TYPE__INSTANCE = DISTRIBUTION_PARAMETER__INSTANCE; + + /** + * The feature id for the '<em><b>Result</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int WEIBULL_DISTRIBUTION_TYPE__RESULT = DISTRIBUTION_PARAMETER__RESULT; + + /** + * The feature id for the '<em><b>Valid For</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int WEIBULL_DISTRIBUTION_TYPE__VALID_FOR = DISTRIBUTION_PARAMETER__VALID_FOR; + + /** + * The feature id for the '<em><b>Currency Unit</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int WEIBULL_DISTRIBUTION_TYPE__CURRENCY_UNIT = DISTRIBUTION_PARAMETER__CURRENCY_UNIT; + + /** + * The feature id for the '<em><b>Time Unit</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int WEIBULL_DISTRIBUTION_TYPE__TIME_UNIT = DISTRIBUTION_PARAMETER__TIME_UNIT; + + /** + * The feature id for the '<em><b>Scale</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int WEIBULL_DISTRIBUTION_TYPE__SCALE = DISTRIBUTION_PARAMETER_FEATURE_COUNT + 0; + + /** + * The feature id for the '<em><b>Shape</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int WEIBULL_DISTRIBUTION_TYPE__SHAPE = DISTRIBUTION_PARAMETER_FEATURE_COUNT + 1; + + /** + * The number of structural features of the '<em>Weibull Distribution Type</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int WEIBULL_DISTRIBUTION_TYPE_FEATURE_COUNT = DISTRIBUTION_PARAMETER_FEATURE_COUNT + 2; + + /** + * The meta object id for the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ResultType <em>Result Type</em>}' enum. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ResultType + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.BpsimPackageImpl#getResultType() + * @generated + */ + int RESULT_TYPE = 42; + + /** + * The meta object id for the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.TimeUnit <em>Time Unit</em>}' enum. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.TimeUnit + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.BpsimPackageImpl#getTimeUnit() + * @generated + */ + int TIME_UNIT = 43; + + /** + * The meta object id for the '<em>Result Type Object</em>' data type. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ResultType + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.BpsimPackageImpl#getResultTypeObject() + * @generated + */ + int RESULT_TYPE_OBJECT = 44; + + /** + * The meta object id for the '<em>Time Unit Object</em>' data type. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.TimeUnit + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.BpsimPackageImpl#getTimeUnitObject() + * @generated + */ + int TIME_UNIT_OBJECT = 45; + + + /** + * Returns the meta object for class '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BetaDistributionType <em>Beta Distribution Type</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Beta Distribution Type</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BetaDistributionType + * @generated + */ + EClass getBetaDistributionType(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BetaDistributionType#getScale <em>Scale</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Scale</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BetaDistributionType#getScale() + * @see #getBetaDistributionType() + * @generated + */ + EAttribute getBetaDistributionType_Scale(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BetaDistributionType#getShape <em>Shape</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Shape</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BetaDistributionType#getShape() + * @see #getBetaDistributionType() + * @generated + */ + EAttribute getBetaDistributionType_Shape(); + + /** + * Returns the meta object for class '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BinomialDistributionType <em>Binomial Distribution Type</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Binomial Distribution Type</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BinomialDistributionType + * @generated + */ + EClass getBinomialDistributionType(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BinomialDistributionType#getProbability <em>Probability</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Probability</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BinomialDistributionType#getProbability() + * @see #getBinomialDistributionType() + * @generated + */ + EAttribute getBinomialDistributionType_Probability(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BinomialDistributionType#getTrials <em>Trials</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Trials</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BinomialDistributionType#getTrials() + * @see #getBinomialDistributionType() + * @generated + */ + EAttribute getBinomialDistributionType_Trials(); + + /** + * Returns the meta object for class '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BooleanParameterType <em>Boolean Parameter Type</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Boolean Parameter Type</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BooleanParameterType + * @generated + */ + EClass getBooleanParameterType(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BooleanParameterType#isValue <em>Value</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Value</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BooleanParameterType#isValue() + * @see #getBooleanParameterType() + * @generated + */ + EAttribute getBooleanParameterType_Value(); + + /** + * Returns the meta object for class '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BPSimDataType <em>BP Sim Data Type</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>BP Sim Data Type</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BPSimDataType + * @generated + */ + EClass getBPSimDataType(); + + /** + * Returns the meta object for the attribute list '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BPSimDataType#getGroup <em>Group</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute list '<em>Group</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BPSimDataType#getGroup() + * @see #getBPSimDataType() + * @generated + */ + EAttribute getBPSimDataType_Group(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BPSimDataType#getScenario <em>Scenario</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference list '<em>Scenario</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BPSimDataType#getScenario() + * @see #getBPSimDataType() + * @generated + */ + EReference getBPSimDataType_Scenario(); + + /** + * Returns the meta object for class '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.Calendar <em>Calendar</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Calendar</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.Calendar + * @generated + */ + EClass getCalendar(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.Calendar#getValue <em>Value</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Value</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.Calendar#getValue() + * @see #getCalendar() + * @generated + */ + EAttribute getCalendar_Value(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.Calendar#getId <em>Id</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Id</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.Calendar#getId() + * @see #getCalendar() + * @generated + */ + EAttribute getCalendar_Id(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.Calendar#getName <em>Name</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Name</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.Calendar#getName() + * @see #getCalendar() + * @generated + */ + EAttribute getCalendar_Name(); + + /** + * Returns the meta object for class '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ConstantParameter <em>Constant Parameter</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Constant Parameter</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ConstantParameter + * @generated + */ + EClass getConstantParameter(); + + /** + * Returns the meta object for class '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ControlParameters <em>Control Parameters</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Control Parameters</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ControlParameters + * @generated + */ + EClass getControlParameters(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ControlParameters#getProbability <em>Probability</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Probability</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ControlParameters#getProbability() + * @see #getControlParameters() + * @generated + */ + EReference getControlParameters_Probability(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ControlParameters#getCondition <em>Condition</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Condition</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ControlParameters#getCondition() + * @see #getControlParameters() + * @generated + */ + EReference getControlParameters_Condition(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ControlParameters#getInterTriggerTimer <em>Inter Trigger Timer</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Inter Trigger Timer</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ControlParameters#getInterTriggerTimer() + * @see #getControlParameters() + * @generated + */ + EReference getControlParameters_InterTriggerTimer(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ControlParameters#getTriggerCount <em>Trigger Count</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Trigger Count</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ControlParameters#getTriggerCount() + * @see #getControlParameters() + * @generated + */ + EReference getControlParameters_TriggerCount(); + + /** + * Returns the meta object for class '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.CostParameters <em>Cost Parameters</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Cost Parameters</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.CostParameters + * @generated + */ + EClass getCostParameters(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.CostParameters#getFixedCost <em>Fixed Cost</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Fixed Cost</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.CostParameters#getFixedCost() + * @see #getCostParameters() + * @generated + */ + EReference getCostParameters_FixedCost(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.CostParameters#getUnitCost <em>Unit Cost</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Unit Cost</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.CostParameters#getUnitCost() + * @see #getCostParameters() + * @generated + */ + EReference getCostParameters_UnitCost(); + + /** + * Returns the meta object for class '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DateTimeParameterType <em>Date Time Parameter Type</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Date Time Parameter Type</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DateTimeParameterType + * @generated + */ + EClass getDateTimeParameterType(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DateTimeParameterType#getValue <em>Value</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Value</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DateTimeParameterType#getValue() + * @see #getDateTimeParameterType() + * @generated + */ + EAttribute getDateTimeParameterType_Value(); + + /** + * Returns the meta object for class '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DistributionParameter <em>Distribution Parameter</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Distribution Parameter</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DistributionParameter + * @generated + */ + EClass getDistributionParameter(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DistributionParameter#getCurrencyUnit <em>Currency Unit</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Currency Unit</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DistributionParameter#getCurrencyUnit() + * @see #getDistributionParameter() + * @generated + */ + EAttribute getDistributionParameter_CurrencyUnit(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DistributionParameter#getTimeUnit <em>Time Unit</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Time Unit</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DistributionParameter#getTimeUnit() + * @see #getDistributionParameter() + * @generated + */ + EAttribute getDistributionParameter_TimeUnit(); + + /** + * Returns the meta object for class '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DocumentRoot <em>Document Root</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Document Root</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DocumentRoot + * @generated + */ + EClass getDocumentRoot(); + + /** + * Returns the meta object for the attribute list '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DocumentRoot#getMixed <em>Mixed</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute list '<em>Mixed</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DocumentRoot#getMixed() + * @see #getDocumentRoot() + * @generated + */ + EAttribute getDocumentRoot_Mixed(); + + /** + * Returns the meta object for the map '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DocumentRoot#getXMLNSPrefixMap <em>XMLNS Prefix Map</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the map '<em>XMLNS Prefix Map</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DocumentRoot#getXMLNSPrefixMap() + * @see #getDocumentRoot() + * @generated + */ + EReference getDocumentRoot_XMLNSPrefixMap(); + + /** + * Returns the meta object for the map '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DocumentRoot#getXSISchemaLocation <em>XSI Schema Location</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the map '<em>XSI Schema Location</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DocumentRoot#getXSISchemaLocation() + * @see #getDocumentRoot() + * @generated + */ + EReference getDocumentRoot_XSISchemaLocation(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DocumentRoot#getBetaDistribution <em>Beta Distribution</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Beta Distribution</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DocumentRoot#getBetaDistribution() + * @see #getDocumentRoot() + * @generated + */ + EReference getDocumentRoot_BetaDistribution(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DocumentRoot#getParameterValue <em>Parameter Value</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Parameter Value</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DocumentRoot#getParameterValue() + * @see #getDocumentRoot() + * @generated + */ + EReference getDocumentRoot_ParameterValue(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DocumentRoot#getBinomialDistribution <em>Binomial Distribution</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Binomial Distribution</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DocumentRoot#getBinomialDistribution() + * @see #getDocumentRoot() + * @generated + */ + EReference getDocumentRoot_BinomialDistribution(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DocumentRoot#getBooleanParameter <em>Boolean Parameter</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Boolean Parameter</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DocumentRoot#getBooleanParameter() + * @see #getDocumentRoot() + * @generated + */ + EReference getDocumentRoot_BooleanParameter(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DocumentRoot#getBPSimData <em>BP Sim Data</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>BP Sim Data</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DocumentRoot#getBPSimData() + * @see #getDocumentRoot() + * @generated + */ + EReference getDocumentRoot_BPSimData(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DocumentRoot#getDateTimeParameter <em>Date Time Parameter</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Date Time Parameter</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DocumentRoot#getDateTimeParameter() + * @see #getDocumentRoot() + * @generated + */ + EReference getDocumentRoot_DateTimeParameter(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DocumentRoot#getDurationParameter <em>Duration Parameter</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Duration Parameter</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DocumentRoot#getDurationParameter() + * @see #getDocumentRoot() + * @generated + */ + EReference getDocumentRoot_DurationParameter(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DocumentRoot#getEnumParameter <em>Enum Parameter</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Enum Parameter</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DocumentRoot#getEnumParameter() + * @see #getDocumentRoot() + * @generated + */ + EReference getDocumentRoot_EnumParameter(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DocumentRoot#getErlangDistribution <em>Erlang Distribution</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Erlang Distribution</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DocumentRoot#getErlangDistribution() + * @see #getDocumentRoot() + * @generated + */ + EReference getDocumentRoot_ErlangDistribution(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DocumentRoot#getExpressionParameter <em>SingleAssignment Parameter</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>SingleAssignment Parameter</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DocumentRoot#getExpressionParameter() + * @see #getDocumentRoot() + * @generated + */ + EReference getDocumentRoot_ExpressionParameter(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DocumentRoot#getFloatingParameter <em>Floating Parameter</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Floating Parameter</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DocumentRoot#getFloatingParameter() + * @see #getDocumentRoot() + * @generated + */ + EReference getDocumentRoot_FloatingParameter(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DocumentRoot#getGammaDistribution <em>Gamma Distribution</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Gamma Distribution</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DocumentRoot#getGammaDistribution() + * @see #getDocumentRoot() + * @generated + */ + EReference getDocumentRoot_GammaDistribution(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DocumentRoot#getLogNormalDistribution <em>Log Normal Distribution</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Log Normal Distribution</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DocumentRoot#getLogNormalDistribution() + * @see #getDocumentRoot() + * @generated + */ + EReference getDocumentRoot_LogNormalDistribution(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DocumentRoot#getNegativeExponentialDistribution <em>Negative Exponential Distribution</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Negative Exponential Distribution</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DocumentRoot#getNegativeExponentialDistribution() + * @see #getDocumentRoot() + * @generated + */ + EReference getDocumentRoot_NegativeExponentialDistribution(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DocumentRoot#getNormalDistribution <em>Normal Distribution</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Normal Distribution</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DocumentRoot#getNormalDistribution() + * @see #getDocumentRoot() + * @generated + */ + EReference getDocumentRoot_NormalDistribution(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DocumentRoot#getNumericParameter <em>Numeric Parameter</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Numeric Parameter</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DocumentRoot#getNumericParameter() + * @see #getDocumentRoot() + * @generated + */ + EReference getDocumentRoot_NumericParameter(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DocumentRoot#getPoissonDistribution <em>Poisson Distribution</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Poisson Distribution</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DocumentRoot#getPoissonDistribution() + * @see #getDocumentRoot() + * @generated + */ + EReference getDocumentRoot_PoissonDistribution(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DocumentRoot#getStringParameter <em>String Parameter</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>String Parameter</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DocumentRoot#getStringParameter() + * @see #getDocumentRoot() + * @generated + */ + EReference getDocumentRoot_StringParameter(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DocumentRoot#getTriangularDistribution <em>Triangular Distribution</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Triangular Distribution</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DocumentRoot#getTriangularDistribution() + * @see #getDocumentRoot() + * @generated + */ + EReference getDocumentRoot_TriangularDistribution(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DocumentRoot#getTruncatedNormalDistribution <em>Truncated Normal Distribution</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Truncated Normal Distribution</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DocumentRoot#getTruncatedNormalDistribution() + * @see #getDocumentRoot() + * @generated + */ + EReference getDocumentRoot_TruncatedNormalDistribution(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DocumentRoot#getUniformDistribution <em>Uniform Distribution</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Uniform Distribution</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DocumentRoot#getUniformDistribution() + * @see #getDocumentRoot() + * @generated + */ + EReference getDocumentRoot_UniformDistribution(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DocumentRoot#getUserDistribution <em>User Distribution</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>User Distribution</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DocumentRoot#getUserDistribution() + * @see #getDocumentRoot() + * @generated + */ + EReference getDocumentRoot_UserDistribution(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DocumentRoot#getUserDistributionDataPoint <em>User Distribution Data Point</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>User Distribution Data Point</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DocumentRoot#getUserDistributionDataPoint() + * @see #getDocumentRoot() + * @generated + */ + EReference getDocumentRoot_UserDistributionDataPoint(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DocumentRoot#getWeibullDistribution <em>Weibull Distribution</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Weibull Distribution</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DocumentRoot#getWeibullDistribution() + * @see #getDocumentRoot() + * @generated + */ + EReference getDocumentRoot_WeibullDistribution(); + + /** + * Returns the meta object for class '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DurationParameterType <em>Duration Parameter Type</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Duration Parameter Type</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DurationParameterType + * @generated + */ + EClass getDurationParameterType(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DurationParameterType#getValue <em>Value</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Value</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DurationParameterType#getValue() + * @see #getDurationParameterType() + * @generated + */ + EAttribute getDurationParameterType_Value(); + + /** + * Returns the meta object for class '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ElementParameters <em>Element Parameters</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Element Parameters</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ElementParameters + * @generated + */ + EClass getElementParameters(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ElementParameters#getTimeParameters <em>Time Parameters</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Time Parameters</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ElementParameters#getTimeParameters() + * @see #getElementParameters() + * @generated + */ + EReference getElementParameters_TimeParameters(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ElementParameters#getControlParameters <em>Control Parameters</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Control Parameters</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ElementParameters#getControlParameters() + * @see #getElementParameters() + * @generated + */ + EReference getElementParameters_ControlParameters(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ElementParameters#getResourceParameters <em>Resource Parameters</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Resource Parameters</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ElementParameters#getResourceParameters() + * @see #getElementParameters() + * @generated + */ + EReference getElementParameters_ResourceParameters(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ElementParameters#getPriorityParameters <em>Priority Parameters</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Priority Parameters</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ElementParameters#getPriorityParameters() + * @see #getElementParameters() + * @generated + */ + EReference getElementParameters_PriorityParameters(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ElementParameters#getCostParameters <em>Cost Parameters</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Cost Parameters</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ElementParameters#getCostParameters() + * @see #getElementParameters() + * @generated + */ + EReference getElementParameters_CostParameters(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ElementParameters#getPropertyParameters <em>Property Parameters</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Property Parameters</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ElementParameters#getPropertyParameters() + * @see #getElementParameters() + * @generated + */ + EReference getElementParameters_PropertyParameters(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ElementParameters#getVendorExtension <em>Vendor Extension</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference list '<em>Vendor Extension</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ElementParameters#getVendorExtension() + * @see #getElementParameters() + * @generated + */ + EReference getElementParameters_VendorExtension(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ElementParameters#getElementRef <em>Element Ref</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Element Ref</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ElementParameters#getElementRef() + * @see #getElementParameters() + * @generated + */ + EAttribute getElementParameters_ElementRef(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ElementParameters#getId <em>Id</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Id</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ElementParameters#getId() + * @see #getElementParameters() + * @generated + */ + EAttribute getElementParameters_Id(); + + /** + * Returns the meta object for class '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ElementParametersType <em>Element Parameters Type</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Element Parameters Type</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ElementParametersType + * @generated + */ + EClass getElementParametersType(); + + /** + * Returns the meta object for class '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.EnumParameterType <em>Enum Parameter Type</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Enum Parameter Type</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.EnumParameterType + * @generated + */ + EClass getEnumParameterType(); + + /** + * Returns the meta object for the attribute list '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.EnumParameterType#getGroup <em>Group</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute list '<em>Group</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.EnumParameterType#getGroup() + * @see #getEnumParameterType() + * @generated + */ + EAttribute getEnumParameterType_Group(); + + /** + * Returns the meta object for the attribute list '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.EnumParameterType#getParameterValueGroup <em>Parameter Value Group</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute list '<em>Parameter Value Group</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.EnumParameterType#getParameterValueGroup() + * @see #getEnumParameterType() + * @generated + */ + EAttribute getEnumParameterType_ParameterValueGroup(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.EnumParameterType#getParameterValue <em>Parameter Value</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference list '<em>Parameter Value</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.EnumParameterType#getParameterValue() + * @see #getEnumParameterType() + * @generated + */ + EReference getEnumParameterType_ParameterValue(); + + /** + * Returns the meta object for class '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ErlangDistributionType <em>Erlang Distribution Type</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Erlang Distribution Type</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ErlangDistributionType + * @generated + */ + EClass getErlangDistributionType(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ErlangDistributionType#getK <em>K</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>K</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ErlangDistributionType#getK() + * @see #getErlangDistributionType() + * @generated + */ + EAttribute getErlangDistributionType_K(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ErlangDistributionType#getMean <em>Mean</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Mean</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ErlangDistributionType#getMean() + * @see #getErlangDistributionType() + * @generated + */ + EAttribute getErlangDistributionType_Mean(); + + /** + * Returns the meta object for class '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ExpressionParameterType <em>SingleAssignment Parameter Type</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>SingleAssignment Parameter Type</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ExpressionParameterType + * @generated + */ + EClass getExpressionParameterType(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ExpressionParameterType#getValue <em>Value</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Value</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ExpressionParameterType#getValue() + * @see #getExpressionParameterType() + * @generated + */ + EAttribute getExpressionParameterType_Value(); + + /** + * Returns the meta object for class '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.FloatingParameterType <em>Floating Parameter Type</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Floating Parameter Type</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.FloatingParameterType + * @generated + */ + EClass getFloatingParameterType(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.FloatingParameterType#getCurrencyUnit <em>Currency Unit</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Currency Unit</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.FloatingParameterType#getCurrencyUnit() + * @see #getFloatingParameterType() + * @generated + */ + EAttribute getFloatingParameterType_CurrencyUnit(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.FloatingParameterType#getTimeUnit <em>Time Unit</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Time Unit</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.FloatingParameterType#getTimeUnit() + * @see #getFloatingParameterType() + * @generated + */ + EAttribute getFloatingParameterType_TimeUnit(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.FloatingParameterType#getValue <em>Value</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Value</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.FloatingParameterType#getValue() + * @see #getFloatingParameterType() + * @generated + */ + EAttribute getFloatingParameterType_Value(); + + /** + * Returns the meta object for class '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.GammaDistributionType <em>Gamma Distribution Type</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Gamma Distribution Type</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.GammaDistributionType + * @generated + */ + EClass getGammaDistributionType(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.GammaDistributionType#getScale <em>Scale</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Scale</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.GammaDistributionType#getScale() + * @see #getGammaDistributionType() + * @generated + */ + EAttribute getGammaDistributionType_Scale(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.GammaDistributionType#getShape <em>Shape</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Shape</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.GammaDistributionType#getShape() + * @see #getGammaDistributionType() + * @generated + */ + EAttribute getGammaDistributionType_Shape(); + + /** + * Returns the meta object for class '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.LogNormalDistributionType <em>Log Normal Distribution Type</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Log Normal Distribution Type</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.LogNormalDistributionType + * @generated + */ + EClass getLogNormalDistributionType(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.LogNormalDistributionType#getMean <em>Mean</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Mean</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.LogNormalDistributionType#getMean() + * @see #getLogNormalDistributionType() + * @generated + */ + EAttribute getLogNormalDistributionType_Mean(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.LogNormalDistributionType#getStandardDeviation <em>Standard Deviation</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Standard Deviation</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.LogNormalDistributionType#getStandardDeviation() + * @see #getLogNormalDistributionType() + * @generated + */ + EAttribute getLogNormalDistributionType_StandardDeviation(); + + /** + * Returns the meta object for class '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.NegativeExponentialDistributionType <em>Negative Exponential Distribution Type</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Negative Exponential Distribution Type</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.NegativeExponentialDistributionType + * @generated + */ + EClass getNegativeExponentialDistributionType(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.NegativeExponentialDistributionType#getMean <em>Mean</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Mean</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.NegativeExponentialDistributionType#getMean() + * @see #getNegativeExponentialDistributionType() + * @generated + */ + EAttribute getNegativeExponentialDistributionType_Mean(); + + /** + * Returns the meta object for class '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.NormalDistributionType <em>Normal Distribution Type</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Normal Distribution Type</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.NormalDistributionType + * @generated + */ + EClass getNormalDistributionType(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.NormalDistributionType#getMean <em>Mean</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Mean</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.NormalDistributionType#getMean() + * @see #getNormalDistributionType() + * @generated + */ + EAttribute getNormalDistributionType_Mean(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.NormalDistributionType#getStandardDeviation <em>Standard Deviation</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Standard Deviation</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.NormalDistributionType#getStandardDeviation() + * @see #getNormalDistributionType() + * @generated + */ + EAttribute getNormalDistributionType_StandardDeviation(); + + /** + * Returns the meta object for class '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.NumericParameterType <em>Numeric Parameter Type</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Numeric Parameter Type</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.NumericParameterType + * @generated + */ + EClass getNumericParameterType(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.NumericParameterType#getCurrencyUnit <em>Currency Unit</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Currency Unit</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.NumericParameterType#getCurrencyUnit() + * @see #getNumericParameterType() + * @generated + */ + EAttribute getNumericParameterType_CurrencyUnit(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.NumericParameterType#getTimeUnit <em>Time Unit</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Time Unit</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.NumericParameterType#getTimeUnit() + * @see #getNumericParameterType() + * @generated + */ + EAttribute getNumericParameterType_TimeUnit(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.NumericParameterType#getValue <em>Value</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Value</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.NumericParameterType#getValue() + * @see #getNumericParameterType() + * @generated + */ + EAttribute getNumericParameterType_Value(); + + /** + * Returns the meta object for class '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.Parameter <em>Parameter</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Parameter</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.Parameter + * @generated + */ + EClass getParameter(); + + /** + * Returns the meta object for the attribute list '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.Parameter#getResultRequest <em>Result Request</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute list '<em>Result Request</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.Parameter#getResultRequest() + * @see #getParameter() + * @generated + */ + EAttribute getParameter_ResultRequest(); + + /** + * Returns the meta object for the attribute list '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.Parameter#getParameterValueGroup <em>Parameter Value Group</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute list '<em>Parameter Value Group</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.Parameter#getParameterValueGroup() + * @see #getParameter() + * @generated + */ + EAttribute getParameter_ParameterValueGroup(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.Parameter#getParameterValue <em>Parameter Value</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference list '<em>Parameter Value</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.Parameter#getParameterValue() + * @see #getParameter() + * @generated + */ + EReference getParameter_ParameterValue(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.Parameter#isKpi <em>Kpi</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Kpi</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.Parameter#isKpi() + * @see #getParameter() + * @generated + */ + EAttribute getParameter_Kpi(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.Parameter#isSla <em>Sla</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Sla</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.Parameter#isSla() + * @see #getParameter() + * @generated + */ + EAttribute getParameter_Sla(); + + /** + * Returns the meta object for class '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ParameterValue <em>Parameter Value</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Parameter Value</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ParameterValue + * @generated + */ + EClass getParameterValue(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ParameterValue#getInstance <em>Instance</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Instance</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ParameterValue#getInstance() + * @see #getParameterValue() + * @generated + */ + EAttribute getParameterValue_Instance(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ParameterValue#getResult <em>Result</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Result</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ParameterValue#getResult() + * @see #getParameterValue() + * @generated + */ + EAttribute getParameterValue_Result(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ParameterValue#getValidFor <em>Valid For</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Valid For</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ParameterValue#getValidFor() + * @see #getParameterValue() + * @generated + */ + EAttribute getParameterValue_ValidFor(); + + /** + * Returns the meta object for class '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.PoissonDistributionType <em>Poisson Distribution Type</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Poisson Distribution Type</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.PoissonDistributionType + * @generated + */ + EClass getPoissonDistributionType(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.PoissonDistributionType#getMean <em>Mean</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Mean</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.PoissonDistributionType#getMean() + * @see #getPoissonDistributionType() + * @generated + */ + EAttribute getPoissonDistributionType_Mean(); + + /** + * Returns the meta object for class '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.PriorityParameters <em>Priority Parameters</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Priority Parameters</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.PriorityParameters + * @generated + */ + EClass getPriorityParameters(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.PriorityParameters#getInterruptible <em>Interruptible</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Interruptible</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.PriorityParameters#getInterruptible() + * @see #getPriorityParameters() + * @generated + */ + EReference getPriorityParameters_Interruptible(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.PriorityParameters#getPriority <em>Priority</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Priority</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.PriorityParameters#getPriority() + * @see #getPriorityParameters() + * @generated + */ + EReference getPriorityParameters_Priority(); + + /** + * Returns the meta object for class '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.PropertyParameters <em>Property Parameters</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Property Parameters</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.PropertyParameters + * @generated + */ + EClass getPropertyParameters(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.PropertyParameters#getProperty <em>Property</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference list '<em>Property</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.PropertyParameters#getProperty() + * @see #getPropertyParameters() + * @generated + */ + EReference getPropertyParameters_Property(); + + /** + * Returns the meta object for class '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.PropertyType <em>Property Type</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Property Type</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.PropertyType + * @generated + */ + EClass getPropertyType(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.PropertyType#getName <em>Name</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Name</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.PropertyType#getName() + * @see #getPropertyType() + * @generated + */ + EAttribute getPropertyType_Name(); + + /** + * Returns the meta object for class '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ResourceParameters <em>Resource Parameters</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Resource Parameters</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ResourceParameters + * @generated + */ + EClass getResourceParameters(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ResourceParameters#getSelection <em>Selection</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Selection</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ResourceParameters#getSelection() + * @see #getResourceParameters() + * @generated + */ + EReference getResourceParameters_Selection(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ResourceParameters#getAvailability <em>Availability</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Availability</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ResourceParameters#getAvailability() + * @see #getResourceParameters() + * @generated + */ + EReference getResourceParameters_Availability(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ResourceParameters#getQuantity <em>Quantity</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Quantity</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ResourceParameters#getQuantity() + * @see #getResourceParameters() + * @generated + */ + EReference getResourceParameters_Quantity(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ResourceParameters#getRole <em>Role</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference list '<em>Role</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ResourceParameters#getRole() + * @see #getResourceParameters() + * @generated + */ + EReference getResourceParameters_Role(); + + /** + * Returns the meta object for class '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.Scenario <em>Scenario</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Scenario</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.Scenario + * @generated + */ + EClass getScenario(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.Scenario#getScenarioParameters <em>Scenario Parameters</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Scenario Parameters</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.Scenario#getScenarioParameters() + * @see #getScenario() + * @generated + */ + EReference getScenario_ScenarioParameters(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.Scenario#getElementParameters <em>Element Parameters</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference list '<em>Element Parameters</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.Scenario#getElementParameters() + * @see #getScenario() + * @generated + */ + EReference getScenario_ElementParameters(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.Scenario#getCalendar <em>Calendar</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference list '<em>Calendar</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.Scenario#getCalendar() + * @see #getScenario() + * @generated + */ + EReference getScenario_Calendar(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.Scenario#getVendorExtension <em>Vendor Extension</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference list '<em>Vendor Extension</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.Scenario#getVendorExtension() + * @see #getScenario() + * @generated + */ + EReference getScenario_VendorExtension(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.Scenario#getAuthor <em>Author</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Author</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.Scenario#getAuthor() + * @see #getScenario() + * @generated + */ + EAttribute getScenario_Author(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.Scenario#getCreated <em>Created</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Created</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.Scenario#getCreated() + * @see #getScenario() + * @generated + */ + EAttribute getScenario_Created(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.Scenario#getDescription <em>Description</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Description</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.Scenario#getDescription() + * @see #getScenario() + * @generated + */ + EAttribute getScenario_Description(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.Scenario#getId <em>Id</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Id</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.Scenario#getId() + * @see #getScenario() + * @generated + */ + EAttribute getScenario_Id(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.Scenario#getInherits <em>Inherits</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Inherits</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.Scenario#getInherits() + * @see #getScenario() + * @generated + */ + EAttribute getScenario_Inherits(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.Scenario#getModified <em>Modified</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Modified</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.Scenario#getModified() + * @see #getScenario() + * @generated + */ + EAttribute getScenario_Modified(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.Scenario#getName <em>Name</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Name</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.Scenario#getName() + * @see #getScenario() + * @generated + */ + EAttribute getScenario_Name(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.Scenario#getResult <em>Result</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Result</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.Scenario#getResult() + * @see #getScenario() + * @generated + */ + EAttribute getScenario_Result(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.Scenario#getVendor <em>Vendor</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Vendor</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.Scenario#getVendor() + * @see #getScenario() + * @generated + */ + EAttribute getScenario_Vendor(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.Scenario#getVersion <em>Version</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Version</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.Scenario#getVersion() + * @see #getScenario() + * @generated + */ + EAttribute getScenario_Version(); + + /** + * Returns the meta object for class '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ScenarioParameters <em>Scenario Parameters</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Scenario Parameters</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ScenarioParameters + * @generated + */ + EClass getScenarioParameters(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ScenarioParameters#getStart <em>Start</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Start</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ScenarioParameters#getStart() + * @see #getScenarioParameters() + * @generated + */ + EReference getScenarioParameters_Start(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ScenarioParameters#getDuration <em>Duration</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Duration</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ScenarioParameters#getDuration() + * @see #getScenarioParameters() + * @generated + */ + EReference getScenarioParameters_Duration(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ScenarioParameters#getPropertyParameters <em>Property Parameters</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Property Parameters</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ScenarioParameters#getPropertyParameters() + * @see #getScenarioParameters() + * @generated + */ + EReference getScenarioParameters_PropertyParameters(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ScenarioParameters#getBaseCurrencyUnit <em>Base Currency Unit</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Base Currency Unit</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ScenarioParameters#getBaseCurrencyUnit() + * @see #getScenarioParameters() + * @generated + */ + EAttribute getScenarioParameters_BaseCurrencyUnit(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ScenarioParameters#getBaseTimeUnit <em>Base Time Unit</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Base Time Unit</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ScenarioParameters#getBaseTimeUnit() + * @see #getScenarioParameters() + * @generated + */ + EAttribute getScenarioParameters_BaseTimeUnit(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ScenarioParameters#getReplication <em>Replication</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Replication</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ScenarioParameters#getReplication() + * @see #getScenarioParameters() + * @generated + */ + EAttribute getScenarioParameters_Replication(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ScenarioParameters#getSeed <em>Seed</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Seed</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ScenarioParameters#getSeed() + * @see #getScenarioParameters() + * @generated + */ + EAttribute getScenarioParameters_Seed(); + + /** + * Returns the meta object for class '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ScenarioParametersType <em>Scenario Parameters Type</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Scenario Parameters Type</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ScenarioParametersType + * @generated + */ + EClass getScenarioParametersType(); + + /** + * Returns the meta object for class '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.StringParameterType <em>String Parameter Type</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>String Parameter Type</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.StringParameterType + * @generated + */ + EClass getStringParameterType(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.StringParameterType#getValue <em>Value</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Value</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.StringParameterType#getValue() + * @see #getStringParameterType() + * @generated + */ + EAttribute getStringParameterType_Value(); + + /** + * Returns the meta object for class '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.TimeParameters <em>Time Parameters</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Time Parameters</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.TimeParameters + * @generated + */ + EClass getTimeParameters(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.TimeParameters#getTransferTime <em>Transfer Time</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Transfer Time</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.TimeParameters#getTransferTime() + * @see #getTimeParameters() + * @generated + */ + EReference getTimeParameters_TransferTime(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.TimeParameters#getQueueTime <em>Queue Time</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Queue Time</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.TimeParameters#getQueueTime() + * @see #getTimeParameters() + * @generated + */ + EReference getTimeParameters_QueueTime(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.TimeParameters#getWaitTime <em>Wait Time</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Wait Time</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.TimeParameters#getWaitTime() + * @see #getTimeParameters() + * @generated + */ + EReference getTimeParameters_WaitTime(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.TimeParameters#getSetUpTime <em>Set Up Time</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Set Up Time</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.TimeParameters#getSetUpTime() + * @see #getTimeParameters() + * @generated + */ + EReference getTimeParameters_SetUpTime(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.TimeParameters#getProcessingTime <em>Processing Time</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Processing Time</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.TimeParameters#getProcessingTime() + * @see #getTimeParameters() + * @generated + */ + EReference getTimeParameters_ProcessingTime(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.TimeParameters#getValidationTime <em>Validation Time</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Validation Time</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.TimeParameters#getValidationTime() + * @see #getTimeParameters() + * @generated + */ + EReference getTimeParameters_ValidationTime(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.TimeParameters#getReworkTime <em>Rework Time</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Rework Time</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.TimeParameters#getReworkTime() + * @see #getTimeParameters() + * @generated + */ + EReference getTimeParameters_ReworkTime(); + + /** + * Returns the meta object for class '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.TriangularDistributionType <em>Triangular Distribution Type</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Triangular Distribution Type</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.TriangularDistributionType + * @generated + */ + EClass getTriangularDistributionType(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.TriangularDistributionType#getMax <em>Max</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Max</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.TriangularDistributionType#getMax() + * @see #getTriangularDistributionType() + * @generated + */ + EAttribute getTriangularDistributionType_Max(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.TriangularDistributionType#getMin <em>Min</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Min</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.TriangularDistributionType#getMin() + * @see #getTriangularDistributionType() + * @generated + */ + EAttribute getTriangularDistributionType_Min(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.TriangularDistributionType#getMode <em>Mode</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Mode</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.TriangularDistributionType#getMode() + * @see #getTriangularDistributionType() + * @generated + */ + EAttribute getTriangularDistributionType_Mode(); + + /** + * Returns the meta object for class '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.TruncatedNormalDistributionType <em>Truncated Normal Distribution Type</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Truncated Normal Distribution Type</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.TruncatedNormalDistributionType + * @generated + */ + EClass getTruncatedNormalDistributionType(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.TruncatedNormalDistributionType#getMax <em>Max</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Max</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.TruncatedNormalDistributionType#getMax() + * @see #getTruncatedNormalDistributionType() + * @generated + */ + EAttribute getTruncatedNormalDistributionType_Max(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.TruncatedNormalDistributionType#getMean <em>Mean</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Mean</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.TruncatedNormalDistributionType#getMean() + * @see #getTruncatedNormalDistributionType() + * @generated + */ + EAttribute getTruncatedNormalDistributionType_Mean(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.TruncatedNormalDistributionType#getMin <em>Min</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Min</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.TruncatedNormalDistributionType#getMin() + * @see #getTruncatedNormalDistributionType() + * @generated + */ + EAttribute getTruncatedNormalDistributionType_Min(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.TruncatedNormalDistributionType#getStandardDeviation <em>Standard Deviation</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Standard Deviation</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.TruncatedNormalDistributionType#getStandardDeviation() + * @see #getTruncatedNormalDistributionType() + * @generated + */ + EAttribute getTruncatedNormalDistributionType_StandardDeviation(); + + /** + * Returns the meta object for class '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.UniformDistributionType <em>Uniform Distribution Type</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Uniform Distribution Type</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.UniformDistributionType + * @generated + */ + EClass getUniformDistributionType(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.UniformDistributionType#getMax <em>Max</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Max</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.UniformDistributionType#getMax() + * @see #getUniformDistributionType() + * @generated + */ + EAttribute getUniformDistributionType_Max(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.UniformDistributionType#getMin <em>Min</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Min</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.UniformDistributionType#getMin() + * @see #getUniformDistributionType() + * @generated + */ + EAttribute getUniformDistributionType_Min(); + + /** + * Returns the meta object for class '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.UserDistributionDataPointType <em>User Distribution Data Point Type</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>User Distribution Data Point Type</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.UserDistributionDataPointType + * @generated + */ + EClass getUserDistributionDataPointType(); + + /** + * Returns the meta object for the attribute list '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.UserDistributionDataPointType#getParameterValueGroup <em>Parameter Value Group</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute list '<em>Parameter Value Group</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.UserDistributionDataPointType#getParameterValueGroup() + * @see #getUserDistributionDataPointType() + * @generated + */ + EAttribute getUserDistributionDataPointType_ParameterValueGroup(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.UserDistributionDataPointType#getParameterValue <em>Parameter Value</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Parameter Value</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.UserDistributionDataPointType#getParameterValue() + * @see #getUserDistributionDataPointType() + * @generated + */ + EReference getUserDistributionDataPointType_ParameterValue(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.UserDistributionDataPointType#getProbability <em>Probability</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Probability</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.UserDistributionDataPointType#getProbability() + * @see #getUserDistributionDataPointType() + * @generated + */ + EAttribute getUserDistributionDataPointType_Probability(); + + /** + * Returns the meta object for class '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.UserDistributionType <em>User Distribution Type</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>User Distribution Type</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.UserDistributionType + * @generated + */ + EClass getUserDistributionType(); + + /** + * Returns the meta object for the attribute list '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.UserDistributionType#getGroup <em>Group</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute list '<em>Group</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.UserDistributionType#getGroup() + * @see #getUserDistributionType() + * @generated + */ + EAttribute getUserDistributionType_Group(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.UserDistributionType#getUserDistributionDataPoint <em>User Distribution Data Point</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference list '<em>User Distribution Data Point</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.UserDistributionType#getUserDistributionDataPoint() + * @see #getUserDistributionType() + * @generated + */ + EReference getUserDistributionType_UserDistributionDataPoint(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.UserDistributionType#isDiscrete <em>Discrete</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Discrete</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.UserDistributionType#isDiscrete() + * @see #getUserDistributionType() + * @generated + */ + EAttribute getUserDistributionType_Discrete(); + + /** + * Returns the meta object for class '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.VendorExtension <em>Vendor Extension</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Vendor Extension</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.VendorExtension + * @generated + */ + EClass getVendorExtension(); + + /** + * Returns the meta object for the attribute list '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.VendorExtension#getAny <em>Any</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute list '<em>Any</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.VendorExtension#getAny() + * @see #getVendorExtension() + * @generated + */ + EAttribute getVendorExtension_Any(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.VendorExtension#getName <em>Name</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Name</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.VendorExtension#getName() + * @see #getVendorExtension() + * @generated + */ + EAttribute getVendorExtension_Name(); + + /** + * Returns the meta object for the attribute list '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.VendorExtension#getAnyAttribute <em>Any Attribute</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute list '<em>Any Attribute</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.VendorExtension#getAnyAttribute() + * @see #getVendorExtension() + * @generated + */ + EAttribute getVendorExtension_AnyAttribute(); + + /** + * Returns the meta object for class '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.WeibullDistributionType <em>Weibull Distribution Type</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Weibull Distribution Type</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.WeibullDistributionType + * @generated + */ + EClass getWeibullDistributionType(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.WeibullDistributionType#getScale <em>Scale</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Scale</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.WeibullDistributionType#getScale() + * @see #getWeibullDistributionType() + * @generated + */ + EAttribute getWeibullDistributionType_Scale(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.WeibullDistributionType#getShape <em>Shape</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Shape</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.WeibullDistributionType#getShape() + * @see #getWeibullDistributionType() + * @generated + */ + EAttribute getWeibullDistributionType_Shape(); + + /** + * Returns the meta object for enum '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ResultType <em>Result Type</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for enum '<em>Result Type</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ResultType + * @generated + */ + EEnum getResultType(); + + /** + * Returns the meta object for enum '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.TimeUnit <em>Time Unit</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for enum '<em>Time Unit</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.TimeUnit + * @generated + */ + EEnum getTimeUnit(); + + /** + * Returns the meta object for data type '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ResultType <em>Result Type Object</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for data type '<em>Result Type Object</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ResultType + * @model instanceClass="org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ResultType" + * extendedMetaData="name='ResultType:Object' baseType='ResultType'" + * @generated + */ + EDataType getResultTypeObject(); + + /** + * Returns the meta object for data type '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.TimeUnit <em>Time Unit Object</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for data type '<em>Time Unit Object</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.TimeUnit + * @model instanceClass="org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.TimeUnit" + * extendedMetaData="name='TimeUnit:Object' baseType='TimeUnit'" + * @generated + */ + EDataType getTimeUnitObject(); + + /** + * Returns the factory that creates the instances of the model. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the factory that creates the instances of the model. + * @generated + */ + BpsimFactory getBpsimFactory(); + + /** + * <!-- begin-user-doc --> + * Defines literals for the meta objects that represent + * <ul> + * <li>each class,</li> + * <li>each feature of each class,</li> + * <li>each enum,</li> + * <li>and each data type</li> + * </ul> + * <!-- end-user-doc --> + * @generated + */ + interface Literals { + /** + * The meta object literal for the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.BetaDistributionTypeImpl <em>Beta Distribution Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.BetaDistributionTypeImpl + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.BpsimPackageImpl#getBetaDistributionType() + * @generated + */ + EClass BETA_DISTRIBUTION_TYPE = eINSTANCE.getBetaDistributionType(); + + /** + * The meta object literal for the '<em><b>Scale</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute BETA_DISTRIBUTION_TYPE__SCALE = eINSTANCE.getBetaDistributionType_Scale(); + + /** + * The meta object literal for the '<em><b>Shape</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute BETA_DISTRIBUTION_TYPE__SHAPE = eINSTANCE.getBetaDistributionType_Shape(); + + /** + * The meta object literal for the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.BinomialDistributionTypeImpl <em>Binomial Distribution Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.BinomialDistributionTypeImpl + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.BpsimPackageImpl#getBinomialDistributionType() + * @generated + */ + EClass BINOMIAL_DISTRIBUTION_TYPE = eINSTANCE.getBinomialDistributionType(); + + /** + * The meta object literal for the '<em><b>Probability</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute BINOMIAL_DISTRIBUTION_TYPE__PROBABILITY = eINSTANCE.getBinomialDistributionType_Probability(); + + /** + * The meta object literal for the '<em><b>Trials</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute BINOMIAL_DISTRIBUTION_TYPE__TRIALS = eINSTANCE.getBinomialDistributionType_Trials(); + + /** + * The meta object literal for the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.BooleanParameterTypeImpl <em>Boolean Parameter Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.BooleanParameterTypeImpl + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.BpsimPackageImpl#getBooleanParameterType() + * @generated + */ + EClass BOOLEAN_PARAMETER_TYPE = eINSTANCE.getBooleanParameterType(); + + /** + * The meta object literal for the '<em><b>Value</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute BOOLEAN_PARAMETER_TYPE__VALUE = eINSTANCE.getBooleanParameterType_Value(); + + /** + * The meta object literal for the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.BPSimDataTypeImpl <em>BP Sim Data Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.BPSimDataTypeImpl + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.BpsimPackageImpl#getBPSimDataType() + * @generated + */ + EClass BP_SIM_DATA_TYPE = eINSTANCE.getBPSimDataType(); + + /** + * The meta object literal for the '<em><b>Group</b></em>' attribute list feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute BP_SIM_DATA_TYPE__GROUP = eINSTANCE.getBPSimDataType_Group(); + + /** + * The meta object literal for the '<em><b>Scenario</b></em>' containment reference list feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference BP_SIM_DATA_TYPE__SCENARIO = eINSTANCE.getBPSimDataType_Scenario(); + + /** + * The meta object literal for the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.CalendarImpl <em>Calendar</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.CalendarImpl + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.BpsimPackageImpl#getCalendar() + * @generated + */ + EClass CALENDAR = eINSTANCE.getCalendar(); + + /** + * The meta object literal for the '<em><b>Value</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute CALENDAR__VALUE = eINSTANCE.getCalendar_Value(); + + /** + * The meta object literal for the '<em><b>Id</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute CALENDAR__ID = eINSTANCE.getCalendar_Id(); + + /** + * The meta object literal for the '<em><b>Name</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute CALENDAR__NAME = eINSTANCE.getCalendar_Name(); + + /** + * The meta object literal for the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.ConstantParameterImpl <em>Constant Parameter</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.ConstantParameterImpl + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.BpsimPackageImpl#getConstantParameter() + * @generated + */ + EClass CONSTANT_PARAMETER = eINSTANCE.getConstantParameter(); + + /** + * The meta object literal for the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.ControlParametersImpl <em>Control Parameters</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.ControlParametersImpl + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.BpsimPackageImpl#getControlParameters() + * @generated + */ + EClass CONTROL_PARAMETERS = eINSTANCE.getControlParameters(); + + /** + * The meta object literal for the '<em><b>Probability</b></em>' containment reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference CONTROL_PARAMETERS__PROBABILITY = eINSTANCE.getControlParameters_Probability(); + + /** + * The meta object literal for the '<em><b>Condition</b></em>' containment reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference CONTROL_PARAMETERS__CONDITION = eINSTANCE.getControlParameters_Condition(); + + /** + * The meta object literal for the '<em><b>Inter Trigger Timer</b></em>' containment reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference CONTROL_PARAMETERS__INTER_TRIGGER_TIMER = eINSTANCE.getControlParameters_InterTriggerTimer(); + + /** + * The meta object literal for the '<em><b>Trigger Count</b></em>' containment reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference CONTROL_PARAMETERS__TRIGGER_COUNT = eINSTANCE.getControlParameters_TriggerCount(); + + /** + * The meta object literal for the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.CostParametersImpl <em>Cost Parameters</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.CostParametersImpl + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.BpsimPackageImpl#getCostParameters() + * @generated + */ + EClass COST_PARAMETERS = eINSTANCE.getCostParameters(); + + /** + * The meta object literal for the '<em><b>Fixed Cost</b></em>' containment reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference COST_PARAMETERS__FIXED_COST = eINSTANCE.getCostParameters_FixedCost(); + + /** + * The meta object literal for the '<em><b>Unit Cost</b></em>' containment reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference COST_PARAMETERS__UNIT_COST = eINSTANCE.getCostParameters_UnitCost(); + + /** + * The meta object literal for the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.DateTimeParameterTypeImpl <em>Date Time Parameter Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.DateTimeParameterTypeImpl + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.BpsimPackageImpl#getDateTimeParameterType() + * @generated + */ + EClass DATE_TIME_PARAMETER_TYPE = eINSTANCE.getDateTimeParameterType(); + + /** + * The meta object literal for the '<em><b>Value</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute DATE_TIME_PARAMETER_TYPE__VALUE = eINSTANCE.getDateTimeParameterType_Value(); + + /** + * The meta object literal for the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.DistributionParameterImpl <em>Distribution Parameter</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.DistributionParameterImpl + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.BpsimPackageImpl#getDistributionParameter() + * @generated + */ + EClass DISTRIBUTION_PARAMETER = eINSTANCE.getDistributionParameter(); + + /** + * The meta object literal for the '<em><b>Currency Unit</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute DISTRIBUTION_PARAMETER__CURRENCY_UNIT = eINSTANCE.getDistributionParameter_CurrencyUnit(); + + /** + * The meta object literal for the '<em><b>Time Unit</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute DISTRIBUTION_PARAMETER__TIME_UNIT = eINSTANCE.getDistributionParameter_TimeUnit(); + + /** + * The meta object literal for the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.DocumentRootImpl <em>Document Root</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.DocumentRootImpl + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.BpsimPackageImpl#getDocumentRoot() + * @generated + */ + EClass DOCUMENT_ROOT = eINSTANCE.getDocumentRoot(); + + /** + * The meta object literal for the '<em><b>Mixed</b></em>' attribute list feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute DOCUMENT_ROOT__MIXED = eINSTANCE.getDocumentRoot_Mixed(); + + /** + * The meta object literal for the '<em><b>XMLNS Prefix Map</b></em>' map feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference DOCUMENT_ROOT__XMLNS_PREFIX_MAP = eINSTANCE.getDocumentRoot_XMLNSPrefixMap(); + + /** + * The meta object literal for the '<em><b>XSI Schema Location</b></em>' map feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference DOCUMENT_ROOT__XSI_SCHEMA_LOCATION = eINSTANCE.getDocumentRoot_XSISchemaLocation(); + + /** + * The meta object literal for the '<em><b>Beta Distribution</b></em>' containment reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference DOCUMENT_ROOT__BETA_DISTRIBUTION = eINSTANCE.getDocumentRoot_BetaDistribution(); + + /** + * The meta object literal for the '<em><b>Parameter Value</b></em>' containment reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference DOCUMENT_ROOT__PARAMETER_VALUE = eINSTANCE.getDocumentRoot_ParameterValue(); + + /** + * The meta object literal for the '<em><b>Binomial Distribution</b></em>' containment reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference DOCUMENT_ROOT__BINOMIAL_DISTRIBUTION = eINSTANCE.getDocumentRoot_BinomialDistribution(); + + /** + * The meta object literal for the '<em><b>Boolean Parameter</b></em>' containment reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference DOCUMENT_ROOT__BOOLEAN_PARAMETER = eINSTANCE.getDocumentRoot_BooleanParameter(); + + /** + * The meta object literal for the '<em><b>BP Sim Data</b></em>' containment reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference DOCUMENT_ROOT__BP_SIM_DATA = eINSTANCE.getDocumentRoot_BPSimData(); + + /** + * The meta object literal for the '<em><b>Date Time Parameter</b></em>' containment reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference DOCUMENT_ROOT__DATE_TIME_PARAMETER = eINSTANCE.getDocumentRoot_DateTimeParameter(); + + /** + * The meta object literal for the '<em><b>Duration Parameter</b></em>' containment reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference DOCUMENT_ROOT__DURATION_PARAMETER = eINSTANCE.getDocumentRoot_DurationParameter(); + + /** + * The meta object literal for the '<em><b>Enum Parameter</b></em>' containment reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference DOCUMENT_ROOT__ENUM_PARAMETER = eINSTANCE.getDocumentRoot_EnumParameter(); + + /** + * The meta object literal for the '<em><b>Erlang Distribution</b></em>' containment reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference DOCUMENT_ROOT__ERLANG_DISTRIBUTION = eINSTANCE.getDocumentRoot_ErlangDistribution(); + + /** + * The meta object literal for the '<em><b>SingleAssignment Parameter</b></em>' containment reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference DOCUMENT_ROOT__EXPRESSION_PARAMETER = eINSTANCE.getDocumentRoot_ExpressionParameter(); + + /** + * The meta object literal for the '<em><b>Floating Parameter</b></em>' containment reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference DOCUMENT_ROOT__FLOATING_PARAMETER = eINSTANCE.getDocumentRoot_FloatingParameter(); + + /** + * The meta object literal for the '<em><b>Gamma Distribution</b></em>' containment reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference DOCUMENT_ROOT__GAMMA_DISTRIBUTION = eINSTANCE.getDocumentRoot_GammaDistribution(); + + /** + * The meta object literal for the '<em><b>Log Normal Distribution</b></em>' containment reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference DOCUMENT_ROOT__LOG_NORMAL_DISTRIBUTION = eINSTANCE.getDocumentRoot_LogNormalDistribution(); + + /** + * The meta object literal for the '<em><b>Negative Exponential Distribution</b></em>' containment reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference DOCUMENT_ROOT__NEGATIVE_EXPONENTIAL_DISTRIBUTION = eINSTANCE.getDocumentRoot_NegativeExponentialDistribution(); + + /** + * The meta object literal for the '<em><b>Normal Distribution</b></em>' containment reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference DOCUMENT_ROOT__NORMAL_DISTRIBUTION = eINSTANCE.getDocumentRoot_NormalDistribution(); + + /** + * The meta object literal for the '<em><b>Numeric Parameter</b></em>' containment reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference DOCUMENT_ROOT__NUMERIC_PARAMETER = eINSTANCE.getDocumentRoot_NumericParameter(); + + /** + * The meta object literal for the '<em><b>Poisson Distribution</b></em>' containment reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference DOCUMENT_ROOT__POISSON_DISTRIBUTION = eINSTANCE.getDocumentRoot_PoissonDistribution(); + + /** + * The meta object literal for the '<em><b>String Parameter</b></em>' containment reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference DOCUMENT_ROOT__STRING_PARAMETER = eINSTANCE.getDocumentRoot_StringParameter(); + + /** + * The meta object literal for the '<em><b>Triangular Distribution</b></em>' containment reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference DOCUMENT_ROOT__TRIANGULAR_DISTRIBUTION = eINSTANCE.getDocumentRoot_TriangularDistribution(); + + /** + * The meta object literal for the '<em><b>Truncated Normal Distribution</b></em>' containment reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference DOCUMENT_ROOT__TRUNCATED_NORMAL_DISTRIBUTION = eINSTANCE.getDocumentRoot_TruncatedNormalDistribution(); + + /** + * The meta object literal for the '<em><b>Uniform Distribution</b></em>' containment reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference DOCUMENT_ROOT__UNIFORM_DISTRIBUTION = eINSTANCE.getDocumentRoot_UniformDistribution(); + + /** + * The meta object literal for the '<em><b>User Distribution</b></em>' containment reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference DOCUMENT_ROOT__USER_DISTRIBUTION = eINSTANCE.getDocumentRoot_UserDistribution(); + + /** + * The meta object literal for the '<em><b>User Distribution Data Point</b></em>' containment reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference DOCUMENT_ROOT__USER_DISTRIBUTION_DATA_POINT = eINSTANCE.getDocumentRoot_UserDistributionDataPoint(); + + /** + * The meta object literal for the '<em><b>Weibull Distribution</b></em>' containment reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference DOCUMENT_ROOT__WEIBULL_DISTRIBUTION = eINSTANCE.getDocumentRoot_WeibullDistribution(); + + /** + * The meta object literal for the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.DurationParameterTypeImpl <em>Duration Parameter Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.DurationParameterTypeImpl + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.BpsimPackageImpl#getDurationParameterType() + * @generated + */ + EClass DURATION_PARAMETER_TYPE = eINSTANCE.getDurationParameterType(); + + /** + * The meta object literal for the '<em><b>Value</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute DURATION_PARAMETER_TYPE__VALUE = eINSTANCE.getDurationParameterType_Value(); + + /** + * The meta object literal for the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.ElementParametersImpl <em>Element Parameters</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.ElementParametersImpl + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.BpsimPackageImpl#getElementParameters() + * @generated + */ + EClass ELEMENT_PARAMETERS = eINSTANCE.getElementParameters(); + + /** + * The meta object literal for the '<em><b>Time Parameters</b></em>' containment reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference ELEMENT_PARAMETERS__TIME_PARAMETERS = eINSTANCE.getElementParameters_TimeParameters(); + + /** + * The meta object literal for the '<em><b>Control Parameters</b></em>' containment reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference ELEMENT_PARAMETERS__CONTROL_PARAMETERS = eINSTANCE.getElementParameters_ControlParameters(); + + /** + * The meta object literal for the '<em><b>Resource Parameters</b></em>' containment reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference ELEMENT_PARAMETERS__RESOURCE_PARAMETERS = eINSTANCE.getElementParameters_ResourceParameters(); + + /** + * The meta object literal for the '<em><b>Priority Parameters</b></em>' containment reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference ELEMENT_PARAMETERS__PRIORITY_PARAMETERS = eINSTANCE.getElementParameters_PriorityParameters(); + + /** + * The meta object literal for the '<em><b>Cost Parameters</b></em>' containment reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference ELEMENT_PARAMETERS__COST_PARAMETERS = eINSTANCE.getElementParameters_CostParameters(); + + /** + * The meta object literal for the '<em><b>Property Parameters</b></em>' containment reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference ELEMENT_PARAMETERS__PROPERTY_PARAMETERS = eINSTANCE.getElementParameters_PropertyParameters(); + + /** + * The meta object literal for the '<em><b>Vendor Extension</b></em>' containment reference list feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference ELEMENT_PARAMETERS__VENDOR_EXTENSION = eINSTANCE.getElementParameters_VendorExtension(); + + /** + * The meta object literal for the '<em><b>Element Ref</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute ELEMENT_PARAMETERS__ELEMENT_REF = eINSTANCE.getElementParameters_ElementRef(); + + /** + * The meta object literal for the '<em><b>Id</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute ELEMENT_PARAMETERS__ID = eINSTANCE.getElementParameters_Id(); + + /** + * The meta object literal for the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.ElementParametersTypeImpl <em>Element Parameters Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.ElementParametersTypeImpl + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.BpsimPackageImpl#getElementParametersType() + * @generated + */ + EClass ELEMENT_PARAMETERS_TYPE = eINSTANCE.getElementParametersType(); + + /** + * The meta object literal for the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.EnumParameterTypeImpl <em>Enum Parameter Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.EnumParameterTypeImpl + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.BpsimPackageImpl#getEnumParameterType() + * @generated + */ + EClass ENUM_PARAMETER_TYPE = eINSTANCE.getEnumParameterType(); + + /** + * The meta object literal for the '<em><b>Group</b></em>' attribute list feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute ENUM_PARAMETER_TYPE__GROUP = eINSTANCE.getEnumParameterType_Group(); + + /** + * The meta object literal for the '<em><b>Parameter Value Group</b></em>' attribute list feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute ENUM_PARAMETER_TYPE__PARAMETER_VALUE_GROUP = eINSTANCE.getEnumParameterType_ParameterValueGroup(); + + /** + * The meta object literal for the '<em><b>Parameter Value</b></em>' containment reference list feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference ENUM_PARAMETER_TYPE__PARAMETER_VALUE = eINSTANCE.getEnumParameterType_ParameterValue(); + + /** + * The meta object literal for the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.ErlangDistributionTypeImpl <em>Erlang Distribution Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.ErlangDistributionTypeImpl + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.BpsimPackageImpl#getErlangDistributionType() + * @generated + */ + EClass ERLANG_DISTRIBUTION_TYPE = eINSTANCE.getErlangDistributionType(); + + /** + * The meta object literal for the '<em><b>K</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute ERLANG_DISTRIBUTION_TYPE__K = eINSTANCE.getErlangDistributionType_K(); + + /** + * The meta object literal for the '<em><b>Mean</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute ERLANG_DISTRIBUTION_TYPE__MEAN = eINSTANCE.getErlangDistributionType_Mean(); + + /** + * The meta object literal for the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.ExpressionParameterTypeImpl <em>SingleAssignment Parameter Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.ExpressionParameterTypeImpl + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.BpsimPackageImpl#getExpressionParameterType() + * @generated + */ + EClass EXPRESSION_PARAMETER_TYPE = eINSTANCE.getExpressionParameterType(); + + /** + * The meta object literal for the '<em><b>Value</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute EXPRESSION_PARAMETER_TYPE__VALUE = eINSTANCE.getExpressionParameterType_Value(); + + /** + * The meta object literal for the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.FloatingParameterTypeImpl <em>Floating Parameter Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.FloatingParameterTypeImpl + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.BpsimPackageImpl#getFloatingParameterType() + * @generated + */ + EClass FLOATING_PARAMETER_TYPE = eINSTANCE.getFloatingParameterType(); + + /** + * The meta object literal for the '<em><b>Currency Unit</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute FLOATING_PARAMETER_TYPE__CURRENCY_UNIT = eINSTANCE.getFloatingParameterType_CurrencyUnit(); + + /** + * The meta object literal for the '<em><b>Time Unit</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute FLOATING_PARAMETER_TYPE__TIME_UNIT = eINSTANCE.getFloatingParameterType_TimeUnit(); + + /** + * The meta object literal for the '<em><b>Value</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute FLOATING_PARAMETER_TYPE__VALUE = eINSTANCE.getFloatingParameterType_Value(); + + /** + * The meta object literal for the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.GammaDistributionTypeImpl <em>Gamma Distribution Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.GammaDistributionTypeImpl + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.BpsimPackageImpl#getGammaDistributionType() + * @generated + */ + EClass GAMMA_DISTRIBUTION_TYPE = eINSTANCE.getGammaDistributionType(); + + /** + * The meta object literal for the '<em><b>Scale</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute GAMMA_DISTRIBUTION_TYPE__SCALE = eINSTANCE.getGammaDistributionType_Scale(); + + /** + * The meta object literal for the '<em><b>Shape</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute GAMMA_DISTRIBUTION_TYPE__SHAPE = eINSTANCE.getGammaDistributionType_Shape(); + + /** + * The meta object literal for the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.LogNormalDistributionTypeImpl <em>Log Normal Distribution Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.LogNormalDistributionTypeImpl + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.BpsimPackageImpl#getLogNormalDistributionType() + * @generated + */ + EClass LOG_NORMAL_DISTRIBUTION_TYPE = eINSTANCE.getLogNormalDistributionType(); + + /** + * The meta object literal for the '<em><b>Mean</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute LOG_NORMAL_DISTRIBUTION_TYPE__MEAN = eINSTANCE.getLogNormalDistributionType_Mean(); + + /** + * The meta object literal for the '<em><b>Standard Deviation</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute LOG_NORMAL_DISTRIBUTION_TYPE__STANDARD_DEVIATION = eINSTANCE.getLogNormalDistributionType_StandardDeviation(); + + /** + * The meta object literal for the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.NegativeExponentialDistributionTypeImpl <em>Negative Exponential Distribution Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.NegativeExponentialDistributionTypeImpl + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.BpsimPackageImpl#getNegativeExponentialDistributionType() + * @generated + */ + EClass NEGATIVE_EXPONENTIAL_DISTRIBUTION_TYPE = eINSTANCE.getNegativeExponentialDistributionType(); + + /** + * The meta object literal for the '<em><b>Mean</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute NEGATIVE_EXPONENTIAL_DISTRIBUTION_TYPE__MEAN = eINSTANCE.getNegativeExponentialDistributionType_Mean(); + + /** + * The meta object literal for the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.NormalDistributionTypeImpl <em>Normal Distribution Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.NormalDistributionTypeImpl + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.BpsimPackageImpl#getNormalDistributionType() + * @generated + */ + EClass NORMAL_DISTRIBUTION_TYPE = eINSTANCE.getNormalDistributionType(); + + /** + * The meta object literal for the '<em><b>Mean</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute NORMAL_DISTRIBUTION_TYPE__MEAN = eINSTANCE.getNormalDistributionType_Mean(); + + /** + * The meta object literal for the '<em><b>Standard Deviation</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute NORMAL_DISTRIBUTION_TYPE__STANDARD_DEVIATION = eINSTANCE.getNormalDistributionType_StandardDeviation(); + + /** + * The meta object literal for the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.NumericParameterTypeImpl <em>Numeric Parameter Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.NumericParameterTypeImpl + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.BpsimPackageImpl#getNumericParameterType() + * @generated + */ + EClass NUMERIC_PARAMETER_TYPE = eINSTANCE.getNumericParameterType(); + + /** + * The meta object literal for the '<em><b>Currency Unit</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute NUMERIC_PARAMETER_TYPE__CURRENCY_UNIT = eINSTANCE.getNumericParameterType_CurrencyUnit(); + + /** + * The meta object literal for the '<em><b>Time Unit</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute NUMERIC_PARAMETER_TYPE__TIME_UNIT = eINSTANCE.getNumericParameterType_TimeUnit(); + + /** + * The meta object literal for the '<em><b>Value</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute NUMERIC_PARAMETER_TYPE__VALUE = eINSTANCE.getNumericParameterType_Value(); + + /** + * The meta object literal for the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.ParameterImpl <em>Parameter</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.ParameterImpl + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.BpsimPackageImpl#getParameter() + * @generated + */ + EClass PARAMETER = eINSTANCE.getParameter(); + + /** + * The meta object literal for the '<em><b>Result Request</b></em>' attribute list feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute PARAMETER__RESULT_REQUEST = eINSTANCE.getParameter_ResultRequest(); + + /** + * The meta object literal for the '<em><b>Parameter Value Group</b></em>' attribute list feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute PARAMETER__PARAMETER_VALUE_GROUP = eINSTANCE.getParameter_ParameterValueGroup(); + + /** + * The meta object literal for the '<em><b>Parameter Value</b></em>' containment reference list feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference PARAMETER__PARAMETER_VALUE = eINSTANCE.getParameter_ParameterValue(); + + /** + * The meta object literal for the '<em><b>Kpi</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute PARAMETER__KPI = eINSTANCE.getParameter_Kpi(); + + /** + * The meta object literal for the '<em><b>Sla</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute PARAMETER__SLA = eINSTANCE.getParameter_Sla(); + + /** + * The meta object literal for the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.ParameterValueImpl <em>Parameter Value</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.ParameterValueImpl + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.BpsimPackageImpl#getParameterValue() + * @generated + */ + EClass PARAMETER_VALUE = eINSTANCE.getParameterValue(); + + /** + * The meta object literal for the '<em><b>Instance</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute PARAMETER_VALUE__INSTANCE = eINSTANCE.getParameterValue_Instance(); + + /** + * The meta object literal for the '<em><b>Result</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute PARAMETER_VALUE__RESULT = eINSTANCE.getParameterValue_Result(); + + /** + * The meta object literal for the '<em><b>Valid For</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute PARAMETER_VALUE__VALID_FOR = eINSTANCE.getParameterValue_ValidFor(); + + /** + * The meta object literal for the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.PoissonDistributionTypeImpl <em>Poisson Distribution Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.PoissonDistributionTypeImpl + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.BpsimPackageImpl#getPoissonDistributionType() + * @generated + */ + EClass POISSON_DISTRIBUTION_TYPE = eINSTANCE.getPoissonDistributionType(); + + /** + * The meta object literal for the '<em><b>Mean</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute POISSON_DISTRIBUTION_TYPE__MEAN = eINSTANCE.getPoissonDistributionType_Mean(); + + /** + * The meta object literal for the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.PriorityParametersImpl <em>Priority Parameters</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.PriorityParametersImpl + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.BpsimPackageImpl#getPriorityParameters() + * @generated + */ + EClass PRIORITY_PARAMETERS = eINSTANCE.getPriorityParameters(); + + /** + * The meta object literal for the '<em><b>Interruptible</b></em>' containment reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference PRIORITY_PARAMETERS__INTERRUPTIBLE = eINSTANCE.getPriorityParameters_Interruptible(); + + /** + * The meta object literal for the '<em><b>Priority</b></em>' containment reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference PRIORITY_PARAMETERS__PRIORITY = eINSTANCE.getPriorityParameters_Priority(); + + /** + * The meta object literal for the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.PropertyParametersImpl <em>Property Parameters</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.PropertyParametersImpl + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.BpsimPackageImpl#getPropertyParameters() + * @generated + */ + EClass PROPERTY_PARAMETERS = eINSTANCE.getPropertyParameters(); + + /** + * The meta object literal for the '<em><b>Property</b></em>' containment reference list feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference PROPERTY_PARAMETERS__PROPERTY = eINSTANCE.getPropertyParameters_Property(); + + /** + * The meta object literal for the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.PropertyTypeImpl <em>Property Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.PropertyTypeImpl + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.BpsimPackageImpl#getPropertyType() + * @generated + */ + EClass PROPERTY_TYPE = eINSTANCE.getPropertyType(); + + /** + * The meta object literal for the '<em><b>Name</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute PROPERTY_TYPE__NAME = eINSTANCE.getPropertyType_Name(); + + /** + * The meta object literal for the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.ResourceParametersImpl <em>Resource Parameters</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.ResourceParametersImpl + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.BpsimPackageImpl#getResourceParameters() + * @generated + */ + EClass RESOURCE_PARAMETERS = eINSTANCE.getResourceParameters(); + + /** + * The meta object literal for the '<em><b>Selection</b></em>' containment reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference RESOURCE_PARAMETERS__SELECTION = eINSTANCE.getResourceParameters_Selection(); + + /** + * The meta object literal for the '<em><b>Availability</b></em>' containment reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference RESOURCE_PARAMETERS__AVAILABILITY = eINSTANCE.getResourceParameters_Availability(); + + /** + * The meta object literal for the '<em><b>Quantity</b></em>' containment reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference RESOURCE_PARAMETERS__QUANTITY = eINSTANCE.getResourceParameters_Quantity(); + + /** + * The meta object literal for the '<em><b>Role</b></em>' containment reference list feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference RESOURCE_PARAMETERS__ROLE = eINSTANCE.getResourceParameters_Role(); + + /** + * The meta object literal for the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.ScenarioImpl <em>Scenario</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.ScenarioImpl + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.BpsimPackageImpl#getScenario() + * @generated + */ + EClass SCENARIO = eINSTANCE.getScenario(); + + /** + * The meta object literal for the '<em><b>Scenario Parameters</b></em>' containment reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference SCENARIO__SCENARIO_PARAMETERS = eINSTANCE.getScenario_ScenarioParameters(); + + /** + * The meta object literal for the '<em><b>Element Parameters</b></em>' containment reference list feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference SCENARIO__ELEMENT_PARAMETERS = eINSTANCE.getScenario_ElementParameters(); + + /** + * The meta object literal for the '<em><b>Calendar</b></em>' containment reference list feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference SCENARIO__CALENDAR = eINSTANCE.getScenario_Calendar(); + + /** + * The meta object literal for the '<em><b>Vendor Extension</b></em>' containment reference list feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference SCENARIO__VENDOR_EXTENSION = eINSTANCE.getScenario_VendorExtension(); + + /** + * The meta object literal for the '<em><b>Author</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute SCENARIO__AUTHOR = eINSTANCE.getScenario_Author(); + + /** + * The meta object literal for the '<em><b>Created</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute SCENARIO__CREATED = eINSTANCE.getScenario_Created(); + + /** + * The meta object literal for the '<em><b>Description</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute SCENARIO__DESCRIPTION = eINSTANCE.getScenario_Description(); + + /** + * The meta object literal for the '<em><b>Id</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute SCENARIO__ID = eINSTANCE.getScenario_Id(); + + /** + * The meta object literal for the '<em><b>Inherits</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute SCENARIO__INHERITS = eINSTANCE.getScenario_Inherits(); + + /** + * The meta object literal for the '<em><b>Modified</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute SCENARIO__MODIFIED = eINSTANCE.getScenario_Modified(); + + /** + * The meta object literal for the '<em><b>Name</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute SCENARIO__NAME = eINSTANCE.getScenario_Name(); + + /** + * The meta object literal for the '<em><b>Result</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute SCENARIO__RESULT = eINSTANCE.getScenario_Result(); + + /** + * The meta object literal for the '<em><b>Vendor</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute SCENARIO__VENDOR = eINSTANCE.getScenario_Vendor(); + + /** + * The meta object literal for the '<em><b>Version</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute SCENARIO__VERSION = eINSTANCE.getScenario_Version(); + + /** + * The meta object literal for the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.ScenarioParametersImpl <em>Scenario Parameters</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.ScenarioParametersImpl + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.BpsimPackageImpl#getScenarioParameters() + * @generated + */ + EClass SCENARIO_PARAMETERS = eINSTANCE.getScenarioParameters(); + + /** + * The meta object literal for the '<em><b>Start</b></em>' containment reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference SCENARIO_PARAMETERS__START = eINSTANCE.getScenarioParameters_Start(); + + /** + * The meta object literal for the '<em><b>Duration</b></em>' containment reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference SCENARIO_PARAMETERS__DURATION = eINSTANCE.getScenarioParameters_Duration(); + + /** + * The meta object literal for the '<em><b>Property Parameters</b></em>' containment reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference SCENARIO_PARAMETERS__PROPERTY_PARAMETERS = eINSTANCE.getScenarioParameters_PropertyParameters(); + + /** + * The meta object literal for the '<em><b>Base Currency Unit</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute SCENARIO_PARAMETERS__BASE_CURRENCY_UNIT = eINSTANCE.getScenarioParameters_BaseCurrencyUnit(); + + /** + * The meta object literal for the '<em><b>Base Time Unit</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute SCENARIO_PARAMETERS__BASE_TIME_UNIT = eINSTANCE.getScenarioParameters_BaseTimeUnit(); + + /** + * The meta object literal for the '<em><b>Replication</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute SCENARIO_PARAMETERS__REPLICATION = eINSTANCE.getScenarioParameters_Replication(); + + /** + * The meta object literal for the '<em><b>Seed</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute SCENARIO_PARAMETERS__SEED = eINSTANCE.getScenarioParameters_Seed(); + + /** + * The meta object literal for the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.ScenarioParametersTypeImpl <em>Scenario Parameters Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.ScenarioParametersTypeImpl + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.BpsimPackageImpl#getScenarioParametersType() + * @generated + */ + EClass SCENARIO_PARAMETERS_TYPE = eINSTANCE.getScenarioParametersType(); + + /** + * The meta object literal for the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.StringParameterTypeImpl <em>String Parameter Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.StringParameterTypeImpl + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.BpsimPackageImpl#getStringParameterType() + * @generated + */ + EClass STRING_PARAMETER_TYPE = eINSTANCE.getStringParameterType(); + + /** + * The meta object literal for the '<em><b>Value</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute STRING_PARAMETER_TYPE__VALUE = eINSTANCE.getStringParameterType_Value(); + + /** + * The meta object literal for the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.TimeParametersImpl <em>Time Parameters</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.TimeParametersImpl + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.BpsimPackageImpl#getTimeParameters() + * @generated + */ + EClass TIME_PARAMETERS = eINSTANCE.getTimeParameters(); + + /** + * The meta object literal for the '<em><b>Transfer Time</b></em>' containment reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference TIME_PARAMETERS__TRANSFER_TIME = eINSTANCE.getTimeParameters_TransferTime(); + + /** + * The meta object literal for the '<em><b>Queue Time</b></em>' containment reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference TIME_PARAMETERS__QUEUE_TIME = eINSTANCE.getTimeParameters_QueueTime(); + + /** + * The meta object literal for the '<em><b>Wait Time</b></em>' containment reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference TIME_PARAMETERS__WAIT_TIME = eINSTANCE.getTimeParameters_WaitTime(); + + /** + * The meta object literal for the '<em><b>Set Up Time</b></em>' containment reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference TIME_PARAMETERS__SET_UP_TIME = eINSTANCE.getTimeParameters_SetUpTime(); + + /** + * The meta object literal for the '<em><b>Processing Time</b></em>' containment reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference TIME_PARAMETERS__PROCESSING_TIME = eINSTANCE.getTimeParameters_ProcessingTime(); + + /** + * The meta object literal for the '<em><b>Validation Time</b></em>' containment reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference TIME_PARAMETERS__VALIDATION_TIME = eINSTANCE.getTimeParameters_ValidationTime(); + + /** + * The meta object literal for the '<em><b>Rework Time</b></em>' containment reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference TIME_PARAMETERS__REWORK_TIME = eINSTANCE.getTimeParameters_ReworkTime(); + + /** + * The meta object literal for the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.TriangularDistributionTypeImpl <em>Triangular Distribution Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.TriangularDistributionTypeImpl + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.BpsimPackageImpl#getTriangularDistributionType() + * @generated + */ + EClass TRIANGULAR_DISTRIBUTION_TYPE = eINSTANCE.getTriangularDistributionType(); + + /** + * The meta object literal for the '<em><b>Max</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute TRIANGULAR_DISTRIBUTION_TYPE__MAX = eINSTANCE.getTriangularDistributionType_Max(); + + /** + * The meta object literal for the '<em><b>Min</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute TRIANGULAR_DISTRIBUTION_TYPE__MIN = eINSTANCE.getTriangularDistributionType_Min(); + + /** + * The meta object literal for the '<em><b>Mode</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute TRIANGULAR_DISTRIBUTION_TYPE__MODE = eINSTANCE.getTriangularDistributionType_Mode(); + + /** + * The meta object literal for the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.TruncatedNormalDistributionTypeImpl <em>Truncated Normal Distribution Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.TruncatedNormalDistributionTypeImpl + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.BpsimPackageImpl#getTruncatedNormalDistributionType() + * @generated + */ + EClass TRUNCATED_NORMAL_DISTRIBUTION_TYPE = eINSTANCE.getTruncatedNormalDistributionType(); + + /** + * The meta object literal for the '<em><b>Max</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute TRUNCATED_NORMAL_DISTRIBUTION_TYPE__MAX = eINSTANCE.getTruncatedNormalDistributionType_Max(); + + /** + * The meta object literal for the '<em><b>Mean</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute TRUNCATED_NORMAL_DISTRIBUTION_TYPE__MEAN = eINSTANCE.getTruncatedNormalDistributionType_Mean(); + + /** + * The meta object literal for the '<em><b>Min</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute TRUNCATED_NORMAL_DISTRIBUTION_TYPE__MIN = eINSTANCE.getTruncatedNormalDistributionType_Min(); + + /** + * The meta object literal for the '<em><b>Standard Deviation</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute TRUNCATED_NORMAL_DISTRIBUTION_TYPE__STANDARD_DEVIATION = eINSTANCE.getTruncatedNormalDistributionType_StandardDeviation(); + + /** + * The meta object literal for the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.UniformDistributionTypeImpl <em>Uniform Distribution Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.UniformDistributionTypeImpl + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.BpsimPackageImpl#getUniformDistributionType() + * @generated + */ + EClass UNIFORM_DISTRIBUTION_TYPE = eINSTANCE.getUniformDistributionType(); + + /** + * The meta object literal for the '<em><b>Max</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute UNIFORM_DISTRIBUTION_TYPE__MAX = eINSTANCE.getUniformDistributionType_Max(); + + /** + * The meta object literal for the '<em><b>Min</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute UNIFORM_DISTRIBUTION_TYPE__MIN = eINSTANCE.getUniformDistributionType_Min(); + + /** + * The meta object literal for the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.UserDistributionDataPointTypeImpl <em>User Distribution Data Point Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.UserDistributionDataPointTypeImpl + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.BpsimPackageImpl#getUserDistributionDataPointType() + * @generated + */ + EClass USER_DISTRIBUTION_DATA_POINT_TYPE = eINSTANCE.getUserDistributionDataPointType(); + + /** + * The meta object literal for the '<em><b>Parameter Value Group</b></em>' attribute list feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute USER_DISTRIBUTION_DATA_POINT_TYPE__PARAMETER_VALUE_GROUP = eINSTANCE.getUserDistributionDataPointType_ParameterValueGroup(); + + /** + * The meta object literal for the '<em><b>Parameter Value</b></em>' containment reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference USER_DISTRIBUTION_DATA_POINT_TYPE__PARAMETER_VALUE = eINSTANCE.getUserDistributionDataPointType_ParameterValue(); + + /** + * The meta object literal for the '<em><b>Probability</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute USER_DISTRIBUTION_DATA_POINT_TYPE__PROBABILITY = eINSTANCE.getUserDistributionDataPointType_Probability(); + + /** + * The meta object literal for the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.UserDistributionTypeImpl <em>User Distribution Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.UserDistributionTypeImpl + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.BpsimPackageImpl#getUserDistributionType() + * @generated + */ + EClass USER_DISTRIBUTION_TYPE = eINSTANCE.getUserDistributionType(); + + /** + * The meta object literal for the '<em><b>Group</b></em>' attribute list feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute USER_DISTRIBUTION_TYPE__GROUP = eINSTANCE.getUserDistributionType_Group(); + + /** + * The meta object literal for the '<em><b>User Distribution Data Point</b></em>' containment reference list feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference USER_DISTRIBUTION_TYPE__USER_DISTRIBUTION_DATA_POINT = eINSTANCE.getUserDistributionType_UserDistributionDataPoint(); + + /** + * The meta object literal for the '<em><b>Discrete</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute USER_DISTRIBUTION_TYPE__DISCRETE = eINSTANCE.getUserDistributionType_Discrete(); + + /** + * The meta object literal for the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.VendorExtensionImpl <em>Vendor Extension</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.VendorExtensionImpl + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.BpsimPackageImpl#getVendorExtension() + * @generated + */ + EClass VENDOR_EXTENSION = eINSTANCE.getVendorExtension(); + + /** + * The meta object literal for the '<em><b>Any</b></em>' attribute list feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute VENDOR_EXTENSION__ANY = eINSTANCE.getVendorExtension_Any(); + + /** + * The meta object literal for the '<em><b>Name</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute VENDOR_EXTENSION__NAME = eINSTANCE.getVendorExtension_Name(); + + /** + * The meta object literal for the '<em><b>Any Attribute</b></em>' attribute list feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute VENDOR_EXTENSION__ANY_ATTRIBUTE = eINSTANCE.getVendorExtension_AnyAttribute(); + + /** + * The meta object literal for the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.WeibullDistributionTypeImpl <em>Weibull Distribution Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.WeibullDistributionTypeImpl + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.BpsimPackageImpl#getWeibullDistributionType() + * @generated + */ + EClass WEIBULL_DISTRIBUTION_TYPE = eINSTANCE.getWeibullDistributionType(); + + /** + * The meta object literal for the '<em><b>Scale</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute WEIBULL_DISTRIBUTION_TYPE__SCALE = eINSTANCE.getWeibullDistributionType_Scale(); + + /** + * The meta object literal for the '<em><b>Shape</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute WEIBULL_DISTRIBUTION_TYPE__SHAPE = eINSTANCE.getWeibullDistributionType_Shape(); + + /** + * The meta object literal for the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ResultType <em>Result Type</em>}' enum. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ResultType + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.BpsimPackageImpl#getResultType() + * @generated + */ + EEnum RESULT_TYPE = eINSTANCE.getResultType(); + + /** + * The meta object literal for the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.TimeUnit <em>Time Unit</em>}' enum. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.TimeUnit + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.BpsimPackageImpl#getTimeUnit() + * @generated + */ + EEnum TIME_UNIT = eINSTANCE.getTimeUnit(); + + /** + * The meta object literal for the '<em>Result Type Object</em>' data type. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ResultType + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.BpsimPackageImpl#getResultTypeObject() + * @generated + */ + EDataType RESULT_TYPE_OBJECT = eINSTANCE.getResultTypeObject(); + + /** + * The meta object literal for the '<em>Time Unit Object</em>' data type. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.TimeUnit + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.BpsimPackageImpl#getTimeUnitObject() + * @generated + */ + EDataType TIME_UNIT_OBJECT = eINSTANCE.getTimeUnitObject(); + + } + +} //BpsimPackage diff --git a/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/Calendar.java b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/Calendar.java new file mode 100644 index 00000000..29dcccfb --- /dev/null +++ b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/Calendar.java @@ -0,0 +1,107 @@ +/** + */ +package org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim; + +import org.eclipse.emf.ecore.EObject; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Calendar</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.Calendar#getValue <em>Value</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.Calendar#getId <em>Id</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.Calendar#getName <em>Name</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getCalendar() + * @model extendedMetaData="name='Calendar' kind='simple'" + * @generated + */ +public interface Calendar extends EObject { + /** + * Returns the value of the '<em><b>Value</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Value</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Value</em>' attribute. + * @see #setValue(String) + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getCalendar_Value() + * @model dataType="org.eclipse.emf.ecore.xml.type.String" + * extendedMetaData="name=':0' kind='simple'" + * @generated + */ + String getValue(); + + /** + * Sets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.Calendar#getValue <em>Value</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Value</em>' attribute. + * @see #getValue() + * @generated + */ + void setValue(String value); + + /** + * Returns the value of the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Id</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Id</em>' attribute. + * @see #setId(String) + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getCalendar_Id() + * @model id="true" dataType="org.eclipse.emf.ecore.xml.type.ID" + * extendedMetaData="kind='attribute' name='id'" + * @generated + */ + String getId(); + + /** + * Sets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.Calendar#getId <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Id</em>' attribute. + * @see #getId() + * @generated + */ + void setId(String value); + + /** + * Returns the value of the '<em><b>Name</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Name</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Name</em>' attribute. + * @see #setName(String) + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getCalendar_Name() + * @model dataType="org.eclipse.emf.ecore.xml.type.String" + * extendedMetaData="kind='attribute' name='name'" + * @generated + */ + String getName(); + + /** + * Sets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.Calendar#getName <em>Name</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Name</em>' attribute. + * @see #getName() + * @generated + */ + void setName(String value); + +} // Calendar diff --git a/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/ConstantParameter.java b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/ConstantParameter.java new file mode 100644 index 00000000..b2426c01 --- /dev/null +++ b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/ConstantParameter.java @@ -0,0 +1,17 @@ +/** + */ +package org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim; + + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Constant Parameter</b></em>'. + * <!-- end-user-doc --> + * + * + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getConstantParameter() + * @model extendedMetaData="name='ConstantParameter' kind='empty'" + * @generated + */ +public interface ConstantParameter extends ParameterValue { +} // ConstantParameter diff --git a/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/ControlParameters.java b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/ControlParameters.java new file mode 100644 index 00000000..ce3b0e99 --- /dev/null +++ b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/ControlParameters.java @@ -0,0 +1,135 @@ +/** + */ +package org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim; + +import org.eclipse.emf.ecore.EObject; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Control Parameters</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ControlParameters#getProbability <em>Probability</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ControlParameters#getCondition <em>Condition</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ControlParameters#getInterTriggerTimer <em>Inter Trigger Timer</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ControlParameters#getTriggerCount <em>Trigger Count</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getControlParameters() + * @model extendedMetaData="name='ControlParameters' kind='elementOnly'" + * @generated + */ +public interface ControlParameters extends EObject { + /** + * Returns the value of the '<em><b>Probability</b></em>' containment reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Probability</em>' containment reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Probability</em>' containment reference. + * @see #setProbability(Parameter) + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getControlParameters_Probability() + * @model containment="true" + * extendedMetaData="kind='element' name='Probability' namespace='##targetNamespace'" + * @generated + */ + Parameter getProbability(); + + /** + * Sets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ControlParameters#getProbability <em>Probability</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Probability</em>' containment reference. + * @see #getProbability() + * @generated + */ + void setProbability(Parameter value); + + /** + * Returns the value of the '<em><b>Condition</b></em>' containment reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Condition</em>' containment reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Condition</em>' containment reference. + * @see #setCondition(Parameter) + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getControlParameters_Condition() + * @model containment="true" + * extendedMetaData="kind='element' name='Condition' namespace='##targetNamespace'" + * @generated + */ + Parameter getCondition(); + + /** + * Sets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ControlParameters#getCondition <em>Condition</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Condition</em>' containment reference. + * @see #getCondition() + * @generated + */ + void setCondition(Parameter value); + + /** + * Returns the value of the '<em><b>Inter Trigger Timer</b></em>' containment reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Inter Trigger Timer</em>' containment reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Inter Trigger Timer</em>' containment reference. + * @see #setInterTriggerTimer(Parameter) + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getControlParameters_InterTriggerTimer() + * @model containment="true" + * extendedMetaData="kind='element' name='InterTriggerTimer' namespace='##targetNamespace'" + * @generated + */ + Parameter getInterTriggerTimer(); + + /** + * Sets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ControlParameters#getInterTriggerTimer <em>Inter Trigger Timer</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Inter Trigger Timer</em>' containment reference. + * @see #getInterTriggerTimer() + * @generated + */ + void setInterTriggerTimer(Parameter value); + + /** + * Returns the value of the '<em><b>Trigger Count</b></em>' containment reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Trigger Count</em>' containment reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Trigger Count</em>' containment reference. + * @see #setTriggerCount(Parameter) + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getControlParameters_TriggerCount() + * @model containment="true" + * extendedMetaData="kind='element' name='TriggerCount' namespace='##targetNamespace'" + * @generated + */ + Parameter getTriggerCount(); + + /** + * Sets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ControlParameters#getTriggerCount <em>Trigger Count</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Trigger Count</em>' containment reference. + * @see #getTriggerCount() + * @generated + */ + void setTriggerCount(Parameter value); + +} // ControlParameters diff --git a/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/CostParameters.java b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/CostParameters.java new file mode 100644 index 00000000..ee431855 --- /dev/null +++ b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/CostParameters.java @@ -0,0 +1,79 @@ +/** + */ +package org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim; + +import org.eclipse.emf.ecore.EObject; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Cost Parameters</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.CostParameters#getFixedCost <em>Fixed Cost</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.CostParameters#getUnitCost <em>Unit Cost</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getCostParameters() + * @model extendedMetaData="name='CostParameters' kind='elementOnly'" + * @generated + */ +public interface CostParameters extends EObject { + /** + * Returns the value of the '<em><b>Fixed Cost</b></em>' containment reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Fixed Cost</em>' containment reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Fixed Cost</em>' containment reference. + * @see #setFixedCost(Parameter) + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getCostParameters_FixedCost() + * @model containment="true" + * extendedMetaData="kind='element' name='FixedCost' namespace='##targetNamespace'" + * @generated + */ + Parameter getFixedCost(); + + /** + * Sets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.CostParameters#getFixedCost <em>Fixed Cost</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Fixed Cost</em>' containment reference. + * @see #getFixedCost() + * @generated + */ + void setFixedCost(Parameter value); + + /** + * Returns the value of the '<em><b>Unit Cost</b></em>' containment reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Unit Cost</em>' containment reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Unit Cost</em>' containment reference. + * @see #setUnitCost(Parameter) + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getCostParameters_UnitCost() + * @model containment="true" + * extendedMetaData="kind='element' name='UnitCost' namespace='##targetNamespace'" + * @generated + */ + Parameter getUnitCost(); + + /** + * Sets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.CostParameters#getUnitCost <em>Unit Cost</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Unit Cost</em>' containment reference. + * @see #getUnitCost() + * @generated + */ + void setUnitCost(Parameter value); + +} // CostParameters diff --git a/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/DateTimeParameterType.java b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/DateTimeParameterType.java new file mode 100644 index 00000000..55dca4da --- /dev/null +++ b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/DateTimeParameterType.java @@ -0,0 +1,51 @@ +/** + */ +package org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim; + +import javax.xml.datatype.XMLGregorianCalendar; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Date Time Parameter Type</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DateTimeParameterType#getValue <em>Value</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getDateTimeParameterType() + * @model extendedMetaData="name='DateTimeParameter_._type' kind='empty'" + * @generated + */ +public interface DateTimeParameterType extends ConstantParameter { + /** + * Returns the value of the '<em><b>Value</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Value</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Value</em>' attribute. + * @see #setValue(XMLGregorianCalendar) + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getDateTimeParameterType_Value() + * @model dataType="org.eclipse.emf.ecore.xml.type.DateTime" + * extendedMetaData="kind='attribute' name='value'" + * @generated + */ + XMLGregorianCalendar getValue(); + + /** + * Sets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DateTimeParameterType#getValue <em>Value</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Value</em>' attribute. + * @see #getValue() + * @generated + */ + void setValue(XMLGregorianCalendar value); + +} // DateTimeParameterType diff --git a/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/DistributionParameter.java b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/DistributionParameter.java new file mode 100644 index 00000000..ec4ccfbf --- /dev/null +++ b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/DistributionParameter.java @@ -0,0 +1,108 @@ +/** + */ +package org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim; + + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Distribution Parameter</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DistributionParameter#getCurrencyUnit <em>Currency Unit</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DistributionParameter#getTimeUnit <em>Time Unit</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getDistributionParameter() + * @model extendedMetaData="name='DistributionParameter' kind='empty'" + * @generated + */ +public interface DistributionParameter extends ParameterValue { + /** + * Returns the value of the '<em><b>Currency Unit</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Currency Unit</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Currency Unit</em>' attribute. + * @see #setCurrencyUnit(String) + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getDistributionParameter_CurrencyUnit() + * @model dataType="org.eclipse.emf.ecore.xml.type.String" + * extendedMetaData="kind='attribute' name='currencyUnit'" + * @generated + */ + String getCurrencyUnit(); + + /** + * Sets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DistributionParameter#getCurrencyUnit <em>Currency Unit</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Currency Unit</em>' attribute. + * @see #getCurrencyUnit() + * @generated + */ + void setCurrencyUnit(String value); + + /** + * Returns the value of the '<em><b>Time Unit</b></em>' attribute. + * The literals are from the enumeration {@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.TimeUnit}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Time Unit</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Time Unit</em>' attribute. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.TimeUnit + * @see #isSetTimeUnit() + * @see #unsetTimeUnit() + * @see #setTimeUnit(TimeUnit) + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getDistributionParameter_TimeUnit() + * @model unsettable="true" + * extendedMetaData="kind='attribute' name='timeUnit'" + * @generated + */ + TimeUnit getTimeUnit(); + + /** + * Sets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DistributionParameter#getTimeUnit <em>Time Unit</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Time Unit</em>' attribute. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.TimeUnit + * @see #isSetTimeUnit() + * @see #unsetTimeUnit() + * @see #getTimeUnit() + * @generated + */ + void setTimeUnit(TimeUnit value); + + /** + * Unsets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DistributionParameter#getTimeUnit <em>Time Unit</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #isSetTimeUnit() + * @see #getTimeUnit() + * @see #setTimeUnit(TimeUnit) + * @generated + */ + void unsetTimeUnit(); + + /** + * Returns whether the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DistributionParameter#getTimeUnit <em>Time Unit</em>}' attribute is set. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return whether the value of the '<em>Time Unit</em>' attribute is set. + * @see #unsetTimeUnit() + * @see #getTimeUnit() + * @see #setTimeUnit(TimeUnit) + * @generated + */ + boolean isSetTimeUnit(); + +} // DistributionParameter diff --git a/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/DocumentRoot.java b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/DocumentRoot.java new file mode 100644 index 00000000..eadcc584 --- /dev/null +++ b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/DocumentRoot.java @@ -0,0 +1,753 @@ +/** + */ +package org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim; + +import org.eclipse.emf.common.util.EMap; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.ecore.util.FeatureMap; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Document Root</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DocumentRoot#getMixed <em>Mixed</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DocumentRoot#getXMLNSPrefixMap <em>XMLNS Prefix Map</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DocumentRoot#getXSISchemaLocation <em>XSI Schema Location</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DocumentRoot#getBetaDistribution <em>Beta Distribution</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DocumentRoot#getParameterValue <em>Parameter Value</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DocumentRoot#getBinomialDistribution <em>Binomial Distribution</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DocumentRoot#getBooleanParameter <em>Boolean Parameter</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DocumentRoot#getBPSimData <em>BP Sim Data</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DocumentRoot#getDateTimeParameter <em>Date Time Parameter</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DocumentRoot#getDurationParameter <em>Duration Parameter</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DocumentRoot#getEnumParameter <em>Enum Parameter</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DocumentRoot#getErlangDistribution <em>Erlang Distribution</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DocumentRoot#getExpressionParameter <em>SingleAssignment Parameter</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DocumentRoot#getFloatingParameter <em>Floating Parameter</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DocumentRoot#getGammaDistribution <em>Gamma Distribution</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DocumentRoot#getLogNormalDistribution <em>Log Normal Distribution</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DocumentRoot#getNegativeExponentialDistribution <em>Negative Exponential Distribution</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DocumentRoot#getNormalDistribution <em>Normal Distribution</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DocumentRoot#getNumericParameter <em>Numeric Parameter</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DocumentRoot#getPoissonDistribution <em>Poisson Distribution</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DocumentRoot#getStringParameter <em>String Parameter</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DocumentRoot#getTriangularDistribution <em>Triangular Distribution</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DocumentRoot#getTruncatedNormalDistribution <em>Truncated Normal Distribution</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DocumentRoot#getUniformDistribution <em>Uniform Distribution</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DocumentRoot#getUserDistribution <em>User Distribution</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DocumentRoot#getUserDistributionDataPoint <em>User Distribution Data Point</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DocumentRoot#getWeibullDistribution <em>Weibull Distribution</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getDocumentRoot() + * @model extendedMetaData="name='' kind='mixed'" + * @generated + */ +public interface DocumentRoot extends EObject { + /** + * Returns the value of the '<em><b>Mixed</b></em>' attribute list. + * The list contents are of type {@link org.eclipse.emf.ecore.util.FeatureMap.Entry}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Mixed</em>' attribute list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Mixed</em>' attribute list. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getDocumentRoot_Mixed() + * @model unique="false" dataType="org.eclipse.emf.ecore.EFeatureMapEntry" many="true" + * extendedMetaData="kind='elementWildcard' name=':mixed'" + * @generated + */ + FeatureMap getMixed(); + + /** + * Returns the value of the '<em><b>XMLNS Prefix Map</b></em>' map. + * The key is of type {@link java.lang.String}, + * and the value is of type {@link java.lang.String}, + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>XMLNS Prefix Map</em>' map isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>XMLNS Prefix Map</em>' map. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getDocumentRoot_XMLNSPrefixMap() + * @model mapType="org.eclipse.emf.ecore.EStringToStringMapEntry<org.eclipse.emf.ecore.EString, org.eclipse.emf.ecore.EString>" transient="true" + * extendedMetaData="kind='attribute' name='xmlns:prefix'" + * @generated + */ + EMap<String, String> getXMLNSPrefixMap(); + + /** + * Returns the value of the '<em><b>XSI Schema Location</b></em>' map. + * The key is of type {@link java.lang.String}, + * and the value is of type {@link java.lang.String}, + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>XSI Schema Location</em>' map isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>XSI Schema Location</em>' map. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getDocumentRoot_XSISchemaLocation() + * @model mapType="org.eclipse.emf.ecore.EStringToStringMapEntry<org.eclipse.emf.ecore.EString, org.eclipse.emf.ecore.EString>" transient="true" + * extendedMetaData="kind='attribute' name='xsi:schemaLocation'" + * @generated + */ + EMap<String, String> getXSISchemaLocation(); + + /** + * Returns the value of the '<em><b>Beta Distribution</b></em>' containment reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Beta Distribution</em>' containment reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Beta Distribution</em>' containment reference. + * @see #setBetaDistribution(BetaDistributionType) + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getDocumentRoot_BetaDistribution() + * @model containment="true" upper="-2" transient="true" volatile="true" derived="true" + * extendedMetaData="kind='element' name='BetaDistribution' namespace='##targetNamespace' affiliation='ParameterValue'" + * @generated + */ + BetaDistributionType getBetaDistribution(); + + /** + * Sets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DocumentRoot#getBetaDistribution <em>Beta Distribution</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Beta Distribution</em>' containment reference. + * @see #getBetaDistribution() + * @generated + */ + void setBetaDistribution(BetaDistributionType value); + + /** + * Returns the value of the '<em><b>Parameter Value</b></em>' containment reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Parameter Value</em>' containment reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Parameter Value</em>' containment reference. + * @see #setParameterValue(ParameterValue) + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getDocumentRoot_ParameterValue() + * @model containment="true" upper="-2" transient="true" volatile="true" derived="true" + * extendedMetaData="kind='element' name='ParameterValue' namespace='##targetNamespace'" + * @generated + */ + ParameterValue getParameterValue(); + + /** + * Sets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DocumentRoot#getParameterValue <em>Parameter Value</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Parameter Value</em>' containment reference. + * @see #getParameterValue() + * @generated + */ + void setParameterValue(ParameterValue value); + + /** + * Returns the value of the '<em><b>Binomial Distribution</b></em>' containment reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Binomial Distribution</em>' containment reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Binomial Distribution</em>' containment reference. + * @see #setBinomialDistribution(BinomialDistributionType) + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getDocumentRoot_BinomialDistribution() + * @model containment="true" upper="-2" transient="true" volatile="true" derived="true" + * extendedMetaData="kind='element' name='BinomialDistribution' namespace='##targetNamespace' affiliation='ParameterValue'" + * @generated + */ + BinomialDistributionType getBinomialDistribution(); + + /** + * Sets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DocumentRoot#getBinomialDistribution <em>Binomial Distribution</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Binomial Distribution</em>' containment reference. + * @see #getBinomialDistribution() + * @generated + */ + void setBinomialDistribution(BinomialDistributionType value); + + /** + * Returns the value of the '<em><b>Boolean Parameter</b></em>' containment reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Boolean Parameter</em>' containment reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Boolean Parameter</em>' containment reference. + * @see #setBooleanParameter(BooleanParameterType) + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getDocumentRoot_BooleanParameter() + * @model containment="true" upper="-2" transient="true" volatile="true" derived="true" + * extendedMetaData="kind='element' name='BooleanParameter' namespace='##targetNamespace' affiliation='ParameterValue'" + * @generated + */ + BooleanParameterType getBooleanParameter(); + + /** + * Sets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DocumentRoot#getBooleanParameter <em>Boolean Parameter</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Boolean Parameter</em>' containment reference. + * @see #getBooleanParameter() + * @generated + */ + void setBooleanParameter(BooleanParameterType value); + + /** + * Returns the value of the '<em><b>BP Sim Data</b></em>' containment reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>BP Sim Data</em>' containment reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>BP Sim Data</em>' containment reference. + * @see #setBPSimData(BPSimDataType) + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getDocumentRoot_BPSimData() + * @model containment="true" upper="-2" transient="true" volatile="true" derived="true" + * extendedMetaData="kind='element' name='BPSimData' namespace='##targetNamespace'" + * @generated + */ + BPSimDataType getBPSimData(); + + /** + * Sets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DocumentRoot#getBPSimData <em>BP Sim Data</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>BP Sim Data</em>' containment reference. + * @see #getBPSimData() + * @generated + */ + void setBPSimData(BPSimDataType value); + + /** + * Returns the value of the '<em><b>Date Time Parameter</b></em>' containment reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Date Time Parameter</em>' containment reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Date Time Parameter</em>' containment reference. + * @see #setDateTimeParameter(DateTimeParameterType) + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getDocumentRoot_DateTimeParameter() + * @model containment="true" upper="-2" transient="true" volatile="true" derived="true" + * extendedMetaData="kind='element' name='DateTimeParameter' namespace='##targetNamespace' affiliation='ParameterValue'" + * @generated + */ + DateTimeParameterType getDateTimeParameter(); + + /** + * Sets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DocumentRoot#getDateTimeParameter <em>Date Time Parameter</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Date Time Parameter</em>' containment reference. + * @see #getDateTimeParameter() + * @generated + */ + void setDateTimeParameter(DateTimeParameterType value); + + /** + * Returns the value of the '<em><b>Duration Parameter</b></em>' containment reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Duration Parameter</em>' containment reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Duration Parameter</em>' containment reference. + * @see #setDurationParameter(DurationParameterType) + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getDocumentRoot_DurationParameter() + * @model containment="true" upper="-2" transient="true" volatile="true" derived="true" + * extendedMetaData="kind='element' name='DurationParameter' namespace='##targetNamespace' affiliation='ParameterValue'" + * @generated + */ + DurationParameterType getDurationParameter(); + + /** + * Sets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DocumentRoot#getDurationParameter <em>Duration Parameter</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Duration Parameter</em>' containment reference. + * @see #getDurationParameter() + * @generated + */ + void setDurationParameter(DurationParameterType value); + + /** + * Returns the value of the '<em><b>Enum Parameter</b></em>' containment reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Enum Parameter</em>' containment reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Enum Parameter</em>' containment reference. + * @see #setEnumParameter(EnumParameterType) + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getDocumentRoot_EnumParameter() + * @model containment="true" upper="-2" transient="true" volatile="true" derived="true" + * extendedMetaData="kind='element' name='EnumParameter' namespace='##targetNamespace' affiliation='ParameterValue'" + * @generated + */ + EnumParameterType getEnumParameter(); + + /** + * Sets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DocumentRoot#getEnumParameter <em>Enum Parameter</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Enum Parameter</em>' containment reference. + * @see #getEnumParameter() + * @generated + */ + void setEnumParameter(EnumParameterType value); + + /** + * Returns the value of the '<em><b>Erlang Distribution</b></em>' containment reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Erlang Distribution</em>' containment reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Erlang Distribution</em>' containment reference. + * @see #setErlangDistribution(ErlangDistributionType) + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getDocumentRoot_ErlangDistribution() + * @model containment="true" upper="-2" transient="true" volatile="true" derived="true" + * extendedMetaData="kind='element' name='ErlangDistribution' namespace='##targetNamespace' affiliation='ParameterValue'" + * @generated + */ + ErlangDistributionType getErlangDistribution(); + + /** + * Sets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DocumentRoot#getErlangDistribution <em>Erlang Distribution</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Erlang Distribution</em>' containment reference. + * @see #getErlangDistribution() + * @generated + */ + void setErlangDistribution(ErlangDistributionType value); + + /** + * Returns the value of the '<em><b>SingleAssignment Parameter</b></em>' containment reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>SingleAssignment Parameter</em>' containment reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>SingleAssignment Parameter</em>' containment reference. + * @see #setExpressionParameter(ExpressionParameterType) + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getDocumentRoot_ExpressionParameter() + * @model containment="true" upper="-2" transient="true" volatile="true" derived="true" + * extendedMetaData="kind='element' name='ExpressionParameter' namespace='##targetNamespace' affiliation='ParameterValue'" + * @generated + */ + ExpressionParameterType getExpressionParameter(); + + /** + * Sets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DocumentRoot#getExpressionParameter <em>SingleAssignment Parameter</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>SingleAssignment Parameter</em>' containment reference. + * @see #getExpressionParameter() + * @generated + */ + void setExpressionParameter(ExpressionParameterType value); + + /** + * Returns the value of the '<em><b>Floating Parameter</b></em>' containment reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Floating Parameter</em>' containment reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Floating Parameter</em>' containment reference. + * @see #setFloatingParameter(FloatingParameterType) + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getDocumentRoot_FloatingParameter() + * @model containment="true" upper="-2" transient="true" volatile="true" derived="true" + * extendedMetaData="kind='element' name='FloatingParameter' namespace='##targetNamespace' affiliation='ParameterValue'" + * @generated + */ + FloatingParameterType getFloatingParameter(); + + /** + * Sets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DocumentRoot#getFloatingParameter <em>Floating Parameter</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Floating Parameter</em>' containment reference. + * @see #getFloatingParameter() + * @generated + */ + void setFloatingParameter(FloatingParameterType value); + + /** + * Returns the value of the '<em><b>Gamma Distribution</b></em>' containment reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Gamma Distribution</em>' containment reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Gamma Distribution</em>' containment reference. + * @see #setGammaDistribution(GammaDistributionType) + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getDocumentRoot_GammaDistribution() + * @model containment="true" upper="-2" transient="true" volatile="true" derived="true" + * extendedMetaData="kind='element' name='GammaDistribution' namespace='##targetNamespace' affiliation='ParameterValue'" + * @generated + */ + GammaDistributionType getGammaDistribution(); + + /** + * Sets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DocumentRoot#getGammaDistribution <em>Gamma Distribution</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Gamma Distribution</em>' containment reference. + * @see #getGammaDistribution() + * @generated + */ + void setGammaDistribution(GammaDistributionType value); + + /** + * Returns the value of the '<em><b>Log Normal Distribution</b></em>' containment reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Log Normal Distribution</em>' containment reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Log Normal Distribution</em>' containment reference. + * @see #setLogNormalDistribution(LogNormalDistributionType) + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getDocumentRoot_LogNormalDistribution() + * @model containment="true" upper="-2" transient="true" volatile="true" derived="true" + * extendedMetaData="kind='element' name='LogNormalDistribution' namespace='##targetNamespace' affiliation='ParameterValue'" + * @generated + */ + LogNormalDistributionType getLogNormalDistribution(); + + /** + * Sets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DocumentRoot#getLogNormalDistribution <em>Log Normal Distribution</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Log Normal Distribution</em>' containment reference. + * @see #getLogNormalDistribution() + * @generated + */ + void setLogNormalDistribution(LogNormalDistributionType value); + + /** + * Returns the value of the '<em><b>Negative Exponential Distribution</b></em>' containment reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Negative Exponential Distribution</em>' containment reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Negative Exponential Distribution</em>' containment reference. + * @see #setNegativeExponentialDistribution(NegativeExponentialDistributionType) + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getDocumentRoot_NegativeExponentialDistribution() + * @model containment="true" upper="-2" transient="true" volatile="true" derived="true" + * extendedMetaData="kind='element' name='NegativeExponentialDistribution' namespace='##targetNamespace' affiliation='ParameterValue'" + * @generated + */ + NegativeExponentialDistributionType getNegativeExponentialDistribution(); + + /** + * Sets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DocumentRoot#getNegativeExponentialDistribution <em>Negative Exponential Distribution</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Negative Exponential Distribution</em>' containment reference. + * @see #getNegativeExponentialDistribution() + * @generated + */ + void setNegativeExponentialDistribution(NegativeExponentialDistributionType value); + + /** + * Returns the value of the '<em><b>Normal Distribution</b></em>' containment reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Normal Distribution</em>' containment reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Normal Distribution</em>' containment reference. + * @see #setNormalDistribution(NormalDistributionType) + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getDocumentRoot_NormalDistribution() + * @model containment="true" upper="-2" transient="true" volatile="true" derived="true" + * extendedMetaData="kind='element' name='NormalDistribution' namespace='##targetNamespace' affiliation='ParameterValue'" + * @generated + */ + NormalDistributionType getNormalDistribution(); + + /** + * Sets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DocumentRoot#getNormalDistribution <em>Normal Distribution</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Normal Distribution</em>' containment reference. + * @see #getNormalDistribution() + * @generated + */ + void setNormalDistribution(NormalDistributionType value); + + /** + * Returns the value of the '<em><b>Numeric Parameter</b></em>' containment reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Numeric Parameter</em>' containment reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Numeric Parameter</em>' containment reference. + * @see #setNumericParameter(NumericParameterType) + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getDocumentRoot_NumericParameter() + * @model containment="true" upper="-2" transient="true" volatile="true" derived="true" + * extendedMetaData="kind='element' name='NumericParameter' namespace='##targetNamespace' affiliation='ParameterValue'" + * @generated + */ + NumericParameterType getNumericParameter(); + + /** + * Sets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DocumentRoot#getNumericParameter <em>Numeric Parameter</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Numeric Parameter</em>' containment reference. + * @see #getNumericParameter() + * @generated + */ + void setNumericParameter(NumericParameterType value); + + /** + * Returns the value of the '<em><b>Poisson Distribution</b></em>' containment reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Poisson Distribution</em>' containment reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Poisson Distribution</em>' containment reference. + * @see #setPoissonDistribution(PoissonDistributionType) + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getDocumentRoot_PoissonDistribution() + * @model containment="true" upper="-2" transient="true" volatile="true" derived="true" + * extendedMetaData="kind='element' name='PoissonDistribution' namespace='##targetNamespace' affiliation='ParameterValue'" + * @generated + */ + PoissonDistributionType getPoissonDistribution(); + + /** + * Sets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DocumentRoot#getPoissonDistribution <em>Poisson Distribution</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Poisson Distribution</em>' containment reference. + * @see #getPoissonDistribution() + * @generated + */ + void setPoissonDistribution(PoissonDistributionType value); + + /** + * Returns the value of the '<em><b>String Parameter</b></em>' containment reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>String Parameter</em>' containment reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>String Parameter</em>' containment reference. + * @see #setStringParameter(StringParameterType) + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getDocumentRoot_StringParameter() + * @model containment="true" upper="-2" transient="true" volatile="true" derived="true" + * extendedMetaData="kind='element' name='StringParameter' namespace='##targetNamespace' affiliation='ParameterValue'" + * @generated + */ + StringParameterType getStringParameter(); + + /** + * Sets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DocumentRoot#getStringParameter <em>String Parameter</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>String Parameter</em>' containment reference. + * @see #getStringParameter() + * @generated + */ + void setStringParameter(StringParameterType value); + + /** + * Returns the value of the '<em><b>Triangular Distribution</b></em>' containment reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Triangular Distribution</em>' containment reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Triangular Distribution</em>' containment reference. + * @see #setTriangularDistribution(TriangularDistributionType) + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getDocumentRoot_TriangularDistribution() + * @model containment="true" upper="-2" transient="true" volatile="true" derived="true" + * extendedMetaData="kind='element' name='TriangularDistribution' namespace='##targetNamespace' affiliation='ParameterValue'" + * @generated + */ + TriangularDistributionType getTriangularDistribution(); + + /** + * Sets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DocumentRoot#getTriangularDistribution <em>Triangular Distribution</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Triangular Distribution</em>' containment reference. + * @see #getTriangularDistribution() + * @generated + */ + void setTriangularDistribution(TriangularDistributionType value); + + /** + * Returns the value of the '<em><b>Truncated Normal Distribution</b></em>' containment reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Truncated Normal Distribution</em>' containment reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Truncated Normal Distribution</em>' containment reference. + * @see #setTruncatedNormalDistribution(TruncatedNormalDistributionType) + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getDocumentRoot_TruncatedNormalDistribution() + * @model containment="true" upper="-2" transient="true" volatile="true" derived="true" + * extendedMetaData="kind='element' name='TruncatedNormalDistribution' namespace='##targetNamespace' affiliation='ParameterValue'" + * @generated + */ + TruncatedNormalDistributionType getTruncatedNormalDistribution(); + + /** + * Sets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DocumentRoot#getTruncatedNormalDistribution <em>Truncated Normal Distribution</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Truncated Normal Distribution</em>' containment reference. + * @see #getTruncatedNormalDistribution() + * @generated + */ + void setTruncatedNormalDistribution(TruncatedNormalDistributionType value); + + /** + * Returns the value of the '<em><b>Uniform Distribution</b></em>' containment reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Uniform Distribution</em>' containment reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Uniform Distribution</em>' containment reference. + * @see #setUniformDistribution(UniformDistributionType) + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getDocumentRoot_UniformDistribution() + * @model containment="true" upper="-2" transient="true" volatile="true" derived="true" + * extendedMetaData="kind='element' name='UniformDistribution' namespace='##targetNamespace' affiliation='ParameterValue'" + * @generated + */ + UniformDistributionType getUniformDistribution(); + + /** + * Sets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DocumentRoot#getUniformDistribution <em>Uniform Distribution</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Uniform Distribution</em>' containment reference. + * @see #getUniformDistribution() + * @generated + */ + void setUniformDistribution(UniformDistributionType value); + + /** + * Returns the value of the '<em><b>User Distribution</b></em>' containment reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>User Distribution</em>' containment reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>User Distribution</em>' containment reference. + * @see #setUserDistribution(UserDistributionType) + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getDocumentRoot_UserDistribution() + * @model containment="true" upper="-2" transient="true" volatile="true" derived="true" + * extendedMetaData="kind='element' name='UserDistribution' namespace='##targetNamespace' affiliation='ParameterValue'" + * @generated + */ + UserDistributionType getUserDistribution(); + + /** + * Sets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DocumentRoot#getUserDistribution <em>User Distribution</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>User Distribution</em>' containment reference. + * @see #getUserDistribution() + * @generated + */ + void setUserDistribution(UserDistributionType value); + + /** + * Returns the value of the '<em><b>User Distribution Data Point</b></em>' containment reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>User Distribution Data Point</em>' containment reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>User Distribution Data Point</em>' containment reference. + * @see #setUserDistributionDataPoint(UserDistributionDataPointType) + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getDocumentRoot_UserDistributionDataPoint() + * @model containment="true" upper="-2" transient="true" volatile="true" derived="true" + * extendedMetaData="kind='element' name='UserDistributionDataPoint' namespace='##targetNamespace'" + * @generated + */ + UserDistributionDataPointType getUserDistributionDataPoint(); + + /** + * Sets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DocumentRoot#getUserDistributionDataPoint <em>User Distribution Data Point</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>User Distribution Data Point</em>' containment reference. + * @see #getUserDistributionDataPoint() + * @generated + */ + void setUserDistributionDataPoint(UserDistributionDataPointType value); + + /** + * Returns the value of the '<em><b>Weibull Distribution</b></em>' containment reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Weibull Distribution</em>' containment reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Weibull Distribution</em>' containment reference. + * @see #setWeibullDistribution(WeibullDistributionType) + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getDocumentRoot_WeibullDistribution() + * @model containment="true" upper="-2" transient="true" volatile="true" derived="true" + * extendedMetaData="kind='element' name='WeibullDistribution' namespace='##targetNamespace' affiliation='ParameterValue'" + * @generated + */ + WeibullDistributionType getWeibullDistribution(); + + /** + * Sets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DocumentRoot#getWeibullDistribution <em>Weibull Distribution</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Weibull Distribution</em>' containment reference. + * @see #getWeibullDistribution() + * @generated + */ + void setWeibullDistribution(WeibullDistributionType value); + +} // DocumentRoot diff --git a/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/DurationParameterType.java b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/DurationParameterType.java new file mode 100644 index 00000000..2ce90d8f --- /dev/null +++ b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/DurationParameterType.java @@ -0,0 +1,51 @@ +/** + */ +package org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim; + +import javax.xml.datatype.Duration; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Duration Parameter Type</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DurationParameterType#getValue <em>Value</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getDurationParameterType() + * @model extendedMetaData="name='DurationParameter_._type' kind='empty'" + * @generated + */ +public interface DurationParameterType extends ConstantParameter { + /** + * Returns the value of the '<em><b>Value</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Value</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Value</em>' attribute. + * @see #setValue(Duration) + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getDurationParameterType_Value() + * @model dataType="org.eclipse.emf.ecore.xml.type.Duration" + * extendedMetaData="kind='attribute' name='value'" + * @generated + */ + Duration getValue(); + + /** + * Sets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DurationParameterType#getValue <em>Value</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Value</em>' attribute. + * @see #getValue() + * @generated + */ + void setValue(Duration value); + +} // DurationParameterType diff --git a/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/ElementParameters.java b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/ElementParameters.java new file mode 100644 index 00000000..87a92220 --- /dev/null +++ b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/ElementParameters.java @@ -0,0 +1,266 @@ +/** + */ +package org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim; + +import org.eclipse.emf.common.util.EList; +import org.eclipse.emf.ecore.EObject; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Element Parameters</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ElementParameters#getTimeParameters <em>Time Parameters</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ElementParameters#getControlParameters <em>Control Parameters</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ElementParameters#getResourceParameters <em>Resource Parameters</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ElementParameters#getPriorityParameters <em>Priority Parameters</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ElementParameters#getCostParameters <em>Cost Parameters</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ElementParameters#getPropertyParameters <em>Property Parameters</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ElementParameters#getVendorExtension <em>Vendor Extension</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ElementParameters#getElementRef <em>Element Ref</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ElementParameters#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getElementParameters() + * @model extendedMetaData="name='ElementParameters' kind='elementOnly'" + * @generated + */ +public interface ElementParameters extends EObject { + /** + * Returns the value of the '<em><b>Time Parameters</b></em>' containment reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Time Parameters</em>' containment reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Time Parameters</em>' containment reference. + * @see #setTimeParameters(TimeParameters) + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getElementParameters_TimeParameters() + * @model containment="true" + * extendedMetaData="kind='element' name='TimeParameters' namespace='##targetNamespace'" + * @generated + */ + TimeParameters getTimeParameters(); + + /** + * Sets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ElementParameters#getTimeParameters <em>Time Parameters</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Time Parameters</em>' containment reference. + * @see #getTimeParameters() + * @generated + */ + void setTimeParameters(TimeParameters value); + + /** + * Returns the value of the '<em><b>Control Parameters</b></em>' containment reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Control Parameters</em>' containment reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Control Parameters</em>' containment reference. + * @see #setControlParameters(ControlParameters) + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getElementParameters_ControlParameters() + * @model containment="true" + * extendedMetaData="kind='element' name='ControlParameters' namespace='##targetNamespace'" + * @generated + */ + ControlParameters getControlParameters(); + + /** + * Sets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ElementParameters#getControlParameters <em>Control Parameters</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Control Parameters</em>' containment reference. + * @see #getControlParameters() + * @generated + */ + void setControlParameters(ControlParameters value); + + /** + * Returns the value of the '<em><b>Resource Parameters</b></em>' containment reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Resource Parameters</em>' containment reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Resource Parameters</em>' containment reference. + * @see #setResourceParameters(ResourceParameters) + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getElementParameters_ResourceParameters() + * @model containment="true" + * extendedMetaData="kind='element' name='ResourceParameters' namespace='##targetNamespace'" + * @generated + */ + ResourceParameters getResourceParameters(); + + /** + * Sets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ElementParameters#getResourceParameters <em>Resource Parameters</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Resource Parameters</em>' containment reference. + * @see #getResourceParameters() + * @generated + */ + void setResourceParameters(ResourceParameters value); + + /** + * Returns the value of the '<em><b>Priority Parameters</b></em>' containment reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Priority Parameters</em>' containment reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Priority Parameters</em>' containment reference. + * @see #setPriorityParameters(PriorityParameters) + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getElementParameters_PriorityParameters() + * @model containment="true" + * extendedMetaData="kind='element' name='PriorityParameters' namespace='##targetNamespace'" + * @generated + */ + PriorityParameters getPriorityParameters(); + + /** + * Sets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ElementParameters#getPriorityParameters <em>Priority Parameters</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Priority Parameters</em>' containment reference. + * @see #getPriorityParameters() + * @generated + */ + void setPriorityParameters(PriorityParameters value); + + /** + * Returns the value of the '<em><b>Cost Parameters</b></em>' containment reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Cost Parameters</em>' containment reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Cost Parameters</em>' containment reference. + * @see #setCostParameters(CostParameters) + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getElementParameters_CostParameters() + * @model containment="true" + * extendedMetaData="kind='element' name='CostParameters' namespace='##targetNamespace'" + * @generated + */ + CostParameters getCostParameters(); + + /** + * Sets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ElementParameters#getCostParameters <em>Cost Parameters</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Cost Parameters</em>' containment reference. + * @see #getCostParameters() + * @generated + */ + void setCostParameters(CostParameters value); + + /** + * Returns the value of the '<em><b>Property Parameters</b></em>' containment reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Property Parameters</em>' containment reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Property Parameters</em>' containment reference. + * @see #setPropertyParameters(PropertyParameters) + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getElementParameters_PropertyParameters() + * @model containment="true" + * extendedMetaData="kind='element' name='PropertyParameters' namespace='##targetNamespace'" + * @generated + */ + PropertyParameters getPropertyParameters(); + + /** + * Sets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ElementParameters#getPropertyParameters <em>Property Parameters</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Property Parameters</em>' containment reference. + * @see #getPropertyParameters() + * @generated + */ + void setPropertyParameters(PropertyParameters value); + + /** + * Returns the value of the '<em><b>Vendor Extension</b></em>' containment reference list. + * The list contents are of type {@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.VendorExtension}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Vendor Extension</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>Vendor Extension</em>' containment reference list. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getElementParameters_VendorExtension() + * @model containment="true" + * extendedMetaData="kind='element' name='VendorExtension' namespace='##targetNamespace'" + * @generated + */ + EList<VendorExtension> getVendorExtension(); + + /** + * Returns the value of the '<em><b>Element Ref</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Element Ref</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Element Ref</em>' attribute. + * @see #setElementRef(String) + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getElementParameters_ElementRef() + * @model dataType="org.eclipse.emf.ecore.xml.type.ID" + * extendedMetaData="kind='attribute' name='elementRef'" + * @generated + */ + String getElementRef(); + + /** + * Sets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ElementParameters#getElementRef <em>Element Ref</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Element Ref</em>' attribute. + * @see #getElementRef() + * @generated + */ + void setElementRef(String value); + + /** + * Returns the value of the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Id</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Id</em>' attribute. + * @see #setId(String) + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getElementParameters_Id() + * @model id="true" dataType="org.eclipse.emf.ecore.xml.type.ID" + * extendedMetaData="kind='attribute' name='id'" + * @generated + */ + String getId(); + + /** + * Sets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ElementParameters#getId <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Id</em>' attribute. + * @see #getId() + * @generated + */ + void setId(String value); + +} // ElementParameters diff --git a/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/ElementParametersType.java b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/ElementParametersType.java new file mode 100644 index 00000000..b1cb99b0 --- /dev/null +++ b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/ElementParametersType.java @@ -0,0 +1,17 @@ +/** + */ +package org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim; + + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Element Parameters Type</b></em>'. + * <!-- end-user-doc --> + * + * + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getElementParametersType() + * @model extendedMetaData="name='ElementParametersType' kind='elementOnly'" + * @generated + */ +public interface ElementParametersType extends ElementParameters { +} // ElementParametersType diff --git a/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/EnumParameterType.java b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/EnumParameterType.java new file mode 100644 index 00000000..512d8b6a --- /dev/null +++ b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/EnumParameterType.java @@ -0,0 +1,77 @@ +/** + */ +package org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim; + +import org.eclipse.emf.common.util.EList; +import org.eclipse.emf.ecore.util.FeatureMap; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Enum Parameter Type</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.EnumParameterType#getGroup <em>Group</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.EnumParameterType#getParameterValueGroup <em>Parameter Value Group</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.EnumParameterType#getParameterValue <em>Parameter Value</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getEnumParameterType() + * @model extendedMetaData="name='EnumParameter_._type' kind='elementOnly'" + * @generated + */ +public interface EnumParameterType extends ParameterValue { + /** + * Returns the value of the '<em><b>Group</b></em>' attribute list. + * The list contents are of type {@link org.eclipse.emf.ecore.util.FeatureMap.Entry}. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * Even if here we reference a list of Parameter Values, only Constant Parameters are valid here. There is just no real way of expressing it in xsd. + * <!-- end-model-doc --> + * @return the value of the '<em>Group</em>' attribute list. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getEnumParameterType_Group() + * @model unique="false" dataType="org.eclipse.emf.ecore.EFeatureMapEntry" many="true" + * extendedMetaData="kind='group' name='group:3'" + * @generated + */ + FeatureMap getGroup(); + + /** + * Returns the value of the '<em><b>Parameter Value Group</b></em>' attribute list. + * The list contents are of type {@link org.eclipse.emf.ecore.util.FeatureMap.Entry}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Parameter Value Group</em>' attribute list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Parameter Value Group</em>' attribute list. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getEnumParameterType_ParameterValueGroup() + * @model unique="false" dataType="org.eclipse.emf.ecore.EFeatureMapEntry" required="true" many="true" transient="true" volatile="true" derived="true" + * extendedMetaData="kind='group' name='ParameterValue:group' namespace='##targetNamespace' group='#group:3'" + * @generated + */ + FeatureMap getParameterValueGroup(); + + /** + * Returns the value of the '<em><b>Parameter Value</b></em>' containment reference list. + * The list contents are of type {@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ParameterValue}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Parameter Value</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>Parameter Value</em>' containment reference list. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getEnumParameterType_ParameterValue() + * @model containment="true" required="true" transient="true" volatile="true" derived="true" + * extendedMetaData="kind='element' name='ParameterValue' namespace='##targetNamespace' group='ParameterValue:group'" + * @generated + */ + EList<ParameterValue> getParameterValue(); + +} // EnumParameterType diff --git a/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/ErlangDistributionType.java b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/ErlangDistributionType.java new file mode 100644 index 00000000..1af8d181 --- /dev/null +++ b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/ErlangDistributionType.java @@ -0,0 +1,132 @@ +/** + */ +package org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim; + + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Erlang Distribution Type</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ErlangDistributionType#getK <em>K</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ErlangDistributionType#getMean <em>Mean</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getErlangDistributionType() + * @model extendedMetaData="name='ErlangDistribution_._type' kind='empty'" + * @generated + */ +public interface ErlangDistributionType extends DistributionParameter { + /** + * Returns the value of the '<em><b>K</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>K</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>K</em>' attribute. + * @see #isSetK() + * @see #unsetK() + * @see #setK(double) + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getErlangDistributionType_K() + * @model unsettable="true" dataType="org.eclipse.emf.ecore.xml.type.Double" + * extendedMetaData="kind='attribute' name='k'" + * @generated + */ + double getK(); + + /** + * Sets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ErlangDistributionType#getK <em>K</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>K</em>' attribute. + * @see #isSetK() + * @see #unsetK() + * @see #getK() + * @generated + */ + void setK(double value); + + /** + * Unsets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ErlangDistributionType#getK <em>K</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #isSetK() + * @see #getK() + * @see #setK(double) + * @generated + */ + void unsetK(); + + /** + * Returns whether the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ErlangDistributionType#getK <em>K</em>}' attribute is set. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return whether the value of the '<em>K</em>' attribute is set. + * @see #unsetK() + * @see #getK() + * @see #setK(double) + * @generated + */ + boolean isSetK(); + + /** + * Returns the value of the '<em><b>Mean</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Mean</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Mean</em>' attribute. + * @see #isSetMean() + * @see #unsetMean() + * @see #setMean(double) + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getErlangDistributionType_Mean() + * @model unsettable="true" dataType="org.eclipse.emf.ecore.xml.type.Double" + * extendedMetaData="kind='attribute' name='mean'" + * @generated + */ + double getMean(); + + /** + * Sets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ErlangDistributionType#getMean <em>Mean</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Mean</em>' attribute. + * @see #isSetMean() + * @see #unsetMean() + * @see #getMean() + * @generated + */ + void setMean(double value); + + /** + * Unsets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ErlangDistributionType#getMean <em>Mean</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #isSetMean() + * @see #getMean() + * @see #setMean(double) + * @generated + */ + void unsetMean(); + + /** + * Returns whether the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ErlangDistributionType#getMean <em>Mean</em>}' attribute is set. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return whether the value of the '<em>Mean</em>' attribute is set. + * @see #unsetMean() + * @see #getMean() + * @see #setMean(double) + * @generated + */ + boolean isSetMean(); + +} // ErlangDistributionType diff --git a/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/ExpressionParameterType.java b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/ExpressionParameterType.java new file mode 100644 index 00000000..b6f8fc23 --- /dev/null +++ b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/ExpressionParameterType.java @@ -0,0 +1,50 @@ +/** + */ +package org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim; + + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>SingleAssignment Parameter Type</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ExpressionParameterType#getValue <em>Value</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getExpressionParameterType() + * @model extendedMetaData="name='ExpressionParameter_._type' kind='empty'" + * @generated + */ +public interface ExpressionParameterType extends ParameterValue { + /** + * Returns the value of the '<em><b>Value</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Value</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Value</em>' attribute. + * @see #setValue(String) + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getExpressionParameterType_Value() + * @model dataType="org.eclipse.emf.ecore.xml.type.String" + * extendedMetaData="kind='attribute' name='value'" + * @generated + */ + String getValue(); + + /** + * Sets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ExpressionParameterType#getValue <em>Value</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Value</em>' attribute. + * @see #getValue() + * @generated + */ + void setValue(String value); + +} // ExpressionParameterType diff --git a/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/FloatingParameterType.java b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/FloatingParameterType.java new file mode 100644 index 00000000..33f90569 --- /dev/null +++ b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/FloatingParameterType.java @@ -0,0 +1,163 @@ +/** + */ +package org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim; + + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Floating Parameter Type</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.FloatingParameterType#getCurrencyUnit <em>Currency Unit</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.FloatingParameterType#getTimeUnit <em>Time Unit</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.FloatingParameterType#getValue <em>Value</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getFloatingParameterType() + * @model extendedMetaData="name='FloatingParameter_._type' kind='empty'" + * @generated + */ +public interface FloatingParameterType extends ConstantParameter { + /** + * Returns the value of the '<em><b>Currency Unit</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Currency Unit</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Currency Unit</em>' attribute. + * @see #setCurrencyUnit(String) + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getFloatingParameterType_CurrencyUnit() + * @model dataType="org.eclipse.emf.ecore.xml.type.String" + * extendedMetaData="kind='attribute' name='currencyUnit'" + * @generated + */ + String getCurrencyUnit(); + + /** + * Sets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.FloatingParameterType#getCurrencyUnit <em>Currency Unit</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Currency Unit</em>' attribute. + * @see #getCurrencyUnit() + * @generated + */ + void setCurrencyUnit(String value); + + /** + * Returns the value of the '<em><b>Time Unit</b></em>' attribute. + * The literals are from the enumeration {@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.TimeUnit}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Time Unit</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Time Unit</em>' attribute. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.TimeUnit + * @see #isSetTimeUnit() + * @see #unsetTimeUnit() + * @see #setTimeUnit(TimeUnit) + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getFloatingParameterType_TimeUnit() + * @model unsettable="true" + * extendedMetaData="kind='attribute' name='timeUnit'" + * @generated + */ + TimeUnit getTimeUnit(); + + /** + * Sets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.FloatingParameterType#getTimeUnit <em>Time Unit</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Time Unit</em>' attribute. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.TimeUnit + * @see #isSetTimeUnit() + * @see #unsetTimeUnit() + * @see #getTimeUnit() + * @generated + */ + void setTimeUnit(TimeUnit value); + + /** + * Unsets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.FloatingParameterType#getTimeUnit <em>Time Unit</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #isSetTimeUnit() + * @see #getTimeUnit() + * @see #setTimeUnit(TimeUnit) + * @generated + */ + void unsetTimeUnit(); + + /** + * Returns whether the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.FloatingParameterType#getTimeUnit <em>Time Unit</em>}' attribute is set. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return whether the value of the '<em>Time Unit</em>' attribute is set. + * @see #unsetTimeUnit() + * @see #getTimeUnit() + * @see #setTimeUnit(TimeUnit) + * @generated + */ + boolean isSetTimeUnit(); + + /** + * Returns the value of the '<em><b>Value</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Value</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Value</em>' attribute. + * @see #isSetValue() + * @see #unsetValue() + * @see #setValue(double) + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getFloatingParameterType_Value() + * @model unsettable="true" dataType="org.eclipse.emf.ecore.xml.type.Double" + * extendedMetaData="kind='attribute' name='value'" + * @generated + */ + double getValue(); + + /** + * Sets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.FloatingParameterType#getValue <em>Value</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Value</em>' attribute. + * @see #isSetValue() + * @see #unsetValue() + * @see #getValue() + * @generated + */ + void setValue(double value); + + /** + * Unsets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.FloatingParameterType#getValue <em>Value</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #isSetValue() + * @see #getValue() + * @see #setValue(double) + * @generated + */ + void unsetValue(); + + /** + * Returns whether the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.FloatingParameterType#getValue <em>Value</em>}' attribute is set. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return whether the value of the '<em>Value</em>' attribute is set. + * @see #unsetValue() + * @see #getValue() + * @see #setValue(double) + * @generated + */ + boolean isSetValue(); + +} // FloatingParameterType diff --git a/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/GammaDistributionType.java b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/GammaDistributionType.java new file mode 100644 index 00000000..132382ba --- /dev/null +++ b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/GammaDistributionType.java @@ -0,0 +1,132 @@ +/** + */ +package org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim; + + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Gamma Distribution Type</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.GammaDistributionType#getScale <em>Scale</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.GammaDistributionType#getShape <em>Shape</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getGammaDistributionType() + * @model extendedMetaData="name='GammaDistribution_._type' kind='empty'" + * @generated + */ +public interface GammaDistributionType extends DistributionParameter { + /** + * Returns the value of the '<em><b>Scale</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Scale</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Scale</em>' attribute. + * @see #isSetScale() + * @see #unsetScale() + * @see #setScale(double) + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getGammaDistributionType_Scale() + * @model unsettable="true" dataType="org.eclipse.emf.ecore.xml.type.Double" + * extendedMetaData="kind='attribute' name='scale'" + * @generated + */ + double getScale(); + + /** + * Sets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.GammaDistributionType#getScale <em>Scale</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Scale</em>' attribute. + * @see #isSetScale() + * @see #unsetScale() + * @see #getScale() + * @generated + */ + void setScale(double value); + + /** + * Unsets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.GammaDistributionType#getScale <em>Scale</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #isSetScale() + * @see #getScale() + * @see #setScale(double) + * @generated + */ + void unsetScale(); + + /** + * Returns whether the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.GammaDistributionType#getScale <em>Scale</em>}' attribute is set. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return whether the value of the '<em>Scale</em>' attribute is set. + * @see #unsetScale() + * @see #getScale() + * @see #setScale(double) + * @generated + */ + boolean isSetScale(); + + /** + * Returns the value of the '<em><b>Shape</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Shape</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Shape</em>' attribute. + * @see #isSetShape() + * @see #unsetShape() + * @see #setShape(double) + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getGammaDistributionType_Shape() + * @model unsettable="true" dataType="org.eclipse.emf.ecore.xml.type.Double" + * extendedMetaData="kind='attribute' name='shape'" + * @generated + */ + double getShape(); + + /** + * Sets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.GammaDistributionType#getShape <em>Shape</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Shape</em>' attribute. + * @see #isSetShape() + * @see #unsetShape() + * @see #getShape() + * @generated + */ + void setShape(double value); + + /** + * Unsets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.GammaDistributionType#getShape <em>Shape</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #isSetShape() + * @see #getShape() + * @see #setShape(double) + * @generated + */ + void unsetShape(); + + /** + * Returns whether the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.GammaDistributionType#getShape <em>Shape</em>}' attribute is set. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return whether the value of the '<em>Shape</em>' attribute is set. + * @see #unsetShape() + * @see #getShape() + * @see #setShape(double) + * @generated + */ + boolean isSetShape(); + +} // GammaDistributionType diff --git a/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/LogNormalDistributionType.java b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/LogNormalDistributionType.java new file mode 100644 index 00000000..ef0c600f --- /dev/null +++ b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/LogNormalDistributionType.java @@ -0,0 +1,132 @@ +/** + */ +package org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim; + + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Log Normal Distribution Type</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.LogNormalDistributionType#getMean <em>Mean</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.LogNormalDistributionType#getStandardDeviation <em>Standard Deviation</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getLogNormalDistributionType() + * @model extendedMetaData="name='LogNormalDistribution_._type' kind='empty'" + * @generated + */ +public interface LogNormalDistributionType extends DistributionParameter { + /** + * Returns the value of the '<em><b>Mean</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Mean</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Mean</em>' attribute. + * @see #isSetMean() + * @see #unsetMean() + * @see #setMean(double) + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getLogNormalDistributionType_Mean() + * @model unsettable="true" dataType="org.eclipse.emf.ecore.xml.type.Double" + * extendedMetaData="kind='attribute' name='mean'" + * @generated + */ + double getMean(); + + /** + * Sets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.LogNormalDistributionType#getMean <em>Mean</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Mean</em>' attribute. + * @see #isSetMean() + * @see #unsetMean() + * @see #getMean() + * @generated + */ + void setMean(double value); + + /** + * Unsets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.LogNormalDistributionType#getMean <em>Mean</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #isSetMean() + * @see #getMean() + * @see #setMean(double) + * @generated + */ + void unsetMean(); + + /** + * Returns whether the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.LogNormalDistributionType#getMean <em>Mean</em>}' attribute is set. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return whether the value of the '<em>Mean</em>' attribute is set. + * @see #unsetMean() + * @see #getMean() + * @see #setMean(double) + * @generated + */ + boolean isSetMean(); + + /** + * Returns the value of the '<em><b>Standard Deviation</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Standard Deviation</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Standard Deviation</em>' attribute. + * @see #isSetStandardDeviation() + * @see #unsetStandardDeviation() + * @see #setStandardDeviation(double) + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getLogNormalDistributionType_StandardDeviation() + * @model unsettable="true" dataType="org.eclipse.emf.ecore.xml.type.Double" + * extendedMetaData="kind='attribute' name='standardDeviation'" + * @generated + */ + double getStandardDeviation(); + + /** + * Sets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.LogNormalDistributionType#getStandardDeviation <em>Standard Deviation</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Standard Deviation</em>' attribute. + * @see #isSetStandardDeviation() + * @see #unsetStandardDeviation() + * @see #getStandardDeviation() + * @generated + */ + void setStandardDeviation(double value); + + /** + * Unsets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.LogNormalDistributionType#getStandardDeviation <em>Standard Deviation</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #isSetStandardDeviation() + * @see #getStandardDeviation() + * @see #setStandardDeviation(double) + * @generated + */ + void unsetStandardDeviation(); + + /** + * Returns whether the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.LogNormalDistributionType#getStandardDeviation <em>Standard Deviation</em>}' attribute is set. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return whether the value of the '<em>Standard Deviation</em>' attribute is set. + * @see #unsetStandardDeviation() + * @see #getStandardDeviation() + * @see #setStandardDeviation(double) + * @generated + */ + boolean isSetStandardDeviation(); + +} // LogNormalDistributionType diff --git a/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/NegativeExponentialDistributionType.java b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/NegativeExponentialDistributionType.java new file mode 100644 index 00000000..b65bd95b --- /dev/null +++ b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/NegativeExponentialDistributionType.java @@ -0,0 +1,77 @@ +/** + */ +package org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim; + + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Negative Exponential Distribution Type</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.NegativeExponentialDistributionType#getMean <em>Mean</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getNegativeExponentialDistributionType() + * @model extendedMetaData="name='NegativeExponentialDistribution_._type' kind='empty'" + * @generated + */ +public interface NegativeExponentialDistributionType extends DistributionParameter { + /** + * Returns the value of the '<em><b>Mean</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Mean</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Mean</em>' attribute. + * @see #isSetMean() + * @see #unsetMean() + * @see #setMean(double) + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getNegativeExponentialDistributionType_Mean() + * @model unsettable="true" dataType="org.eclipse.emf.ecore.xml.type.Double" + * extendedMetaData="kind='attribute' name='mean'" + * @generated + */ + double getMean(); + + /** + * Sets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.NegativeExponentialDistributionType#getMean <em>Mean</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Mean</em>' attribute. + * @see #isSetMean() + * @see #unsetMean() + * @see #getMean() + * @generated + */ + void setMean(double value); + + /** + * Unsets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.NegativeExponentialDistributionType#getMean <em>Mean</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #isSetMean() + * @see #getMean() + * @see #setMean(double) + * @generated + */ + void unsetMean(); + + /** + * Returns whether the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.NegativeExponentialDistributionType#getMean <em>Mean</em>}' attribute is set. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return whether the value of the '<em>Mean</em>' attribute is set. + * @see #unsetMean() + * @see #getMean() + * @see #setMean(double) + * @generated + */ + boolean isSetMean(); + +} // NegativeExponentialDistributionType diff --git a/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/NormalDistributionType.java b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/NormalDistributionType.java new file mode 100644 index 00000000..473fb224 --- /dev/null +++ b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/NormalDistributionType.java @@ -0,0 +1,132 @@ +/** + */ +package org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim; + + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Normal Distribution Type</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.NormalDistributionType#getMean <em>Mean</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.NormalDistributionType#getStandardDeviation <em>Standard Deviation</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getNormalDistributionType() + * @model extendedMetaData="name='NormalDistribution_._type' kind='empty'" + * @generated + */ +public interface NormalDistributionType extends DistributionParameter { + /** + * Returns the value of the '<em><b>Mean</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Mean</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Mean</em>' attribute. + * @see #isSetMean() + * @see #unsetMean() + * @see #setMean(double) + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getNormalDistributionType_Mean() + * @model unsettable="true" dataType="org.eclipse.emf.ecore.xml.type.Double" + * extendedMetaData="kind='attribute' name='mean'" + * @generated + */ + double getMean(); + + /** + * Sets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.NormalDistributionType#getMean <em>Mean</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Mean</em>' attribute. + * @see #isSetMean() + * @see #unsetMean() + * @see #getMean() + * @generated + */ + void setMean(double value); + + /** + * Unsets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.NormalDistributionType#getMean <em>Mean</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #isSetMean() + * @see #getMean() + * @see #setMean(double) + * @generated + */ + void unsetMean(); + + /** + * Returns whether the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.NormalDistributionType#getMean <em>Mean</em>}' attribute is set. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return whether the value of the '<em>Mean</em>' attribute is set. + * @see #unsetMean() + * @see #getMean() + * @see #setMean(double) + * @generated + */ + boolean isSetMean(); + + /** + * Returns the value of the '<em><b>Standard Deviation</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Standard Deviation</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Standard Deviation</em>' attribute. + * @see #isSetStandardDeviation() + * @see #unsetStandardDeviation() + * @see #setStandardDeviation(double) + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getNormalDistributionType_StandardDeviation() + * @model unsettable="true" dataType="org.eclipse.emf.ecore.xml.type.Double" + * extendedMetaData="kind='attribute' name='standardDeviation'" + * @generated + */ + double getStandardDeviation(); + + /** + * Sets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.NormalDistributionType#getStandardDeviation <em>Standard Deviation</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Standard Deviation</em>' attribute. + * @see #isSetStandardDeviation() + * @see #unsetStandardDeviation() + * @see #getStandardDeviation() + * @generated + */ + void setStandardDeviation(double value); + + /** + * Unsets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.NormalDistributionType#getStandardDeviation <em>Standard Deviation</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #isSetStandardDeviation() + * @see #getStandardDeviation() + * @see #setStandardDeviation(double) + * @generated + */ + void unsetStandardDeviation(); + + /** + * Returns whether the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.NormalDistributionType#getStandardDeviation <em>Standard Deviation</em>}' attribute is set. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return whether the value of the '<em>Standard Deviation</em>' attribute is set. + * @see #unsetStandardDeviation() + * @see #getStandardDeviation() + * @see #setStandardDeviation(double) + * @generated + */ + boolean isSetStandardDeviation(); + +} // NormalDistributionType diff --git a/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/NumericParameterType.java b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/NumericParameterType.java new file mode 100644 index 00000000..781804cf --- /dev/null +++ b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/NumericParameterType.java @@ -0,0 +1,163 @@ +/** + */ +package org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim; + + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Numeric Parameter Type</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.NumericParameterType#getCurrencyUnit <em>Currency Unit</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.NumericParameterType#getTimeUnit <em>Time Unit</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.NumericParameterType#getValue <em>Value</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getNumericParameterType() + * @model extendedMetaData="name='NumericParameter_._type' kind='empty'" + * @generated + */ +public interface NumericParameterType extends ConstantParameter { + /** + * Returns the value of the '<em><b>Currency Unit</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Currency Unit</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Currency Unit</em>' attribute. + * @see #setCurrencyUnit(String) + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getNumericParameterType_CurrencyUnit() + * @model dataType="org.eclipse.emf.ecore.xml.type.String" + * extendedMetaData="kind='attribute' name='currencyUnit'" + * @generated + */ + String getCurrencyUnit(); + + /** + * Sets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.NumericParameterType#getCurrencyUnit <em>Currency Unit</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Currency Unit</em>' attribute. + * @see #getCurrencyUnit() + * @generated + */ + void setCurrencyUnit(String value); + + /** + * Returns the value of the '<em><b>Time Unit</b></em>' attribute. + * The literals are from the enumeration {@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.TimeUnit}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Time Unit</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Time Unit</em>' attribute. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.TimeUnit + * @see #isSetTimeUnit() + * @see #unsetTimeUnit() + * @see #setTimeUnit(TimeUnit) + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getNumericParameterType_TimeUnit() + * @model unsettable="true" + * extendedMetaData="kind='attribute' name='timeUnit'" + * @generated + */ + TimeUnit getTimeUnit(); + + /** + * Sets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.NumericParameterType#getTimeUnit <em>Time Unit</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Time Unit</em>' attribute. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.TimeUnit + * @see #isSetTimeUnit() + * @see #unsetTimeUnit() + * @see #getTimeUnit() + * @generated + */ + void setTimeUnit(TimeUnit value); + + /** + * Unsets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.NumericParameterType#getTimeUnit <em>Time Unit</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #isSetTimeUnit() + * @see #getTimeUnit() + * @see #setTimeUnit(TimeUnit) + * @generated + */ + void unsetTimeUnit(); + + /** + * Returns whether the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.NumericParameterType#getTimeUnit <em>Time Unit</em>}' attribute is set. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return whether the value of the '<em>Time Unit</em>' attribute is set. + * @see #unsetTimeUnit() + * @see #getTimeUnit() + * @see #setTimeUnit(TimeUnit) + * @generated + */ + boolean isSetTimeUnit(); + + /** + * Returns the value of the '<em><b>Value</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Value</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Value</em>' attribute. + * @see #isSetValue() + * @see #unsetValue() + * @see #setValue(long) + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getNumericParameterType_Value() + * @model unsettable="true" dataType="org.eclipse.emf.ecore.xml.type.Long" + * extendedMetaData="kind='attribute' name='value'" + * @generated + */ + long getValue(); + + /** + * Sets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.NumericParameterType#getValue <em>Value</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Value</em>' attribute. + * @see #isSetValue() + * @see #unsetValue() + * @see #getValue() + * @generated + */ + void setValue(long value); + + /** + * Unsets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.NumericParameterType#getValue <em>Value</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #isSetValue() + * @see #getValue() + * @see #setValue(long) + * @generated + */ + void unsetValue(); + + /** + * Returns whether the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.NumericParameterType#getValue <em>Value</em>}' attribute is set. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return whether the value of the '<em>Value</em>' attribute is set. + * @see #unsetValue() + * @see #getValue() + * @see #setValue(long) + * @generated + */ + boolean isSetValue(); + +} // NumericParameterType diff --git a/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/Parameter.java b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/Parameter.java new file mode 100644 index 00000000..e145c9a6 --- /dev/null +++ b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/Parameter.java @@ -0,0 +1,193 @@ +/** + */ +package org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim; + +import org.eclipse.emf.common.util.EList; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.ecore.util.FeatureMap; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Parameter</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.Parameter#getResultRequest <em>Result Request</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.Parameter#getParameterValueGroup <em>Parameter Value Group</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.Parameter#getParameterValue <em>Parameter Value</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.Parameter#isKpi <em>Kpi</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.Parameter#isSla <em>Sla</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getParameter() + * @model extendedMetaData="name='Parameter' kind='elementOnly'" + * @generated + */ +public interface Parameter extends EObject { + /** + * Returns the value of the '<em><b>Result Request</b></em>' attribute list. + * The list contents are of type {@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ResultType}. + * The literals are from the enumeration {@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ResultType}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Result Request</em>' attribute list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Result Request</em>' attribute list. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ResultType + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getParameter_ResultRequest() + * @model unique="false" + * extendedMetaData="kind='element' name='ResultRequest' namespace='##targetNamespace'" + * @generated + */ + EList<ResultType> getResultRequest(); + + /** + * Returns the value of the '<em><b>Parameter Value Group</b></em>' attribute list. + * The list contents are of type {@link org.eclipse.emf.ecore.util.FeatureMap.Entry}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Parameter Value Group</em>' attribute list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Parameter Value Group</em>' attribute list. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getParameter_ParameterValueGroup() + * @model unique="false" dataType="org.eclipse.emf.ecore.EFeatureMapEntry" many="true" + * extendedMetaData="kind='group' name='ParameterValue:group' namespace='##targetNamespace'" + * @generated + */ + FeatureMap getParameterValueGroup(); + + /** + * Returns the value of the '<em><b>Parameter Value</b></em>' containment reference list. + * The list contents are of type {@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ParameterValue}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Parameter Value</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>Parameter Value</em>' containment reference list. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getParameter_ParameterValue() + * @model containment="true" transient="true" volatile="true" derived="true" + * extendedMetaData="kind='element' name='ParameterValue' namespace='##targetNamespace' group='ParameterValue:group'" + * @generated + */ + EList<ParameterValue> getParameterValue(); + + /** + * Returns the value of the '<em><b>Kpi</b></em>' attribute. + * The default value is <code>"false"</code>. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Kpi</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Kpi</em>' attribute. + * @see #isSetKpi() + * @see #unsetKpi() + * @see #setKpi(boolean) + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getParameter_Kpi() + * @model default="false" unsettable="true" dataType="org.eclipse.emf.ecore.xml.type.Boolean" + * extendedMetaData="kind='attribute' name='kpi'" + * @generated + */ + boolean isKpi(); + + /** + * Sets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.Parameter#isKpi <em>Kpi</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Kpi</em>' attribute. + * @see #isSetKpi() + * @see #unsetKpi() + * @see #isKpi() + * @generated + */ + void setKpi(boolean value); + + /** + * Unsets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.Parameter#isKpi <em>Kpi</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #isSetKpi() + * @see #isKpi() + * @see #setKpi(boolean) + * @generated + */ + void unsetKpi(); + + /** + * Returns whether the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.Parameter#isKpi <em>Kpi</em>}' attribute is set. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return whether the value of the '<em>Kpi</em>' attribute is set. + * @see #unsetKpi() + * @see #isKpi() + * @see #setKpi(boolean) + * @generated + */ + boolean isSetKpi(); + + /** + * Returns the value of the '<em><b>Sla</b></em>' attribute. + * The default value is <code>"false"</code>. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Sla</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Sla</em>' attribute. + * @see #isSetSla() + * @see #unsetSla() + * @see #setSla(boolean) + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getParameter_Sla() + * @model default="false" unsettable="true" dataType="org.eclipse.emf.ecore.xml.type.Boolean" + * extendedMetaData="kind='attribute' name='sla'" + * @generated + */ + boolean isSla(); + + /** + * Sets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.Parameter#isSla <em>Sla</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Sla</em>' attribute. + * @see #isSetSla() + * @see #unsetSla() + * @see #isSla() + * @generated + */ + void setSla(boolean value); + + /** + * Unsets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.Parameter#isSla <em>Sla</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #isSetSla() + * @see #isSla() + * @see #setSla(boolean) + * @generated + */ + void unsetSla(); + + /** + * Returns whether the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.Parameter#isSla <em>Sla</em>}' attribute is set. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return whether the value of the '<em>Sla</em>' attribute is set. + * @see #unsetSla() + * @see #isSla() + * @see #setSla(boolean) + * @generated + */ + boolean isSetSla(); + +} // Parameter diff --git a/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/ParameterValue.java b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/ParameterValue.java new file mode 100644 index 00000000..6e65ae71 --- /dev/null +++ b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/ParameterValue.java @@ -0,0 +1,137 @@ +/** + */ +package org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim; + +import org.eclipse.emf.ecore.EObject; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Parameter Value</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ParameterValue#getInstance <em>Instance</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ParameterValue#getResult <em>Result</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ParameterValue#getValidFor <em>Valid For</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getParameterValue() + * @model extendedMetaData="name='ParameterValue' kind='empty'" + * @generated + */ +public interface ParameterValue extends EObject { + /** + * Returns the value of the '<em><b>Instance</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Instance</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Instance</em>' attribute. + * @see #setInstance(String) + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getParameterValue_Instance() + * @model dataType="org.eclipse.emf.ecore.xml.type.String" + * extendedMetaData="kind='attribute' name='instance'" + * @generated + */ + String getInstance(); + + /** + * Sets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ParameterValue#getInstance <em>Instance</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Instance</em>' attribute. + * @see #getInstance() + * @generated + */ + void setInstance(String value); + + /** + * Returns the value of the '<em><b>Result</b></em>' attribute. + * The literals are from the enumeration {@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ResultType}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Result</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Result</em>' attribute. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ResultType + * @see #isSetResult() + * @see #unsetResult() + * @see #setResult(ResultType) + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getParameterValue_Result() + * @model unsettable="true" + * extendedMetaData="kind='attribute' name='result'" + * @generated + */ + ResultType getResult(); + + /** + * Sets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ParameterValue#getResult <em>Result</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Result</em>' attribute. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ResultType + * @see #isSetResult() + * @see #unsetResult() + * @see #getResult() + * @generated + */ + void setResult(ResultType value); + + /** + * Unsets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ParameterValue#getResult <em>Result</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #isSetResult() + * @see #getResult() + * @see #setResult(ResultType) + * @generated + */ + void unsetResult(); + + /** + * Returns whether the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ParameterValue#getResult <em>Result</em>}' attribute is set. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return whether the value of the '<em>Result</em>' attribute is set. + * @see #unsetResult() + * @see #getResult() + * @see #setResult(ResultType) + * @generated + */ + boolean isSetResult(); + + /** + * Returns the value of the '<em><b>Valid For</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Valid For</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Valid For</em>' attribute. + * @see #setValidFor(String) + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getParameterValue_ValidFor() + * @model dataType="org.eclipse.emf.ecore.xml.type.IDREF" + * extendedMetaData="kind='attribute' name='validFor'" + * @generated + */ + String getValidFor(); + + /** + * Sets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ParameterValue#getValidFor <em>Valid For</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Valid For</em>' attribute. + * @see #getValidFor() + * @generated + */ + void setValidFor(String value); + +} // ParameterValue diff --git a/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/PoissonDistributionType.java b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/PoissonDistributionType.java new file mode 100644 index 00000000..5d26f453 --- /dev/null +++ b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/PoissonDistributionType.java @@ -0,0 +1,77 @@ +/** + */ +package org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim; + + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Poisson Distribution Type</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.PoissonDistributionType#getMean <em>Mean</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getPoissonDistributionType() + * @model extendedMetaData="name='PoissonDistribution_._type' kind='empty'" + * @generated + */ +public interface PoissonDistributionType extends DistributionParameter { + /** + * Returns the value of the '<em><b>Mean</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Mean</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Mean</em>' attribute. + * @see #isSetMean() + * @see #unsetMean() + * @see #setMean(double) + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getPoissonDistributionType_Mean() + * @model unsettable="true" dataType="org.eclipse.emf.ecore.xml.type.Double" + * extendedMetaData="kind='attribute' name='mean'" + * @generated + */ + double getMean(); + + /** + * Sets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.PoissonDistributionType#getMean <em>Mean</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Mean</em>' attribute. + * @see #isSetMean() + * @see #unsetMean() + * @see #getMean() + * @generated + */ + void setMean(double value); + + /** + * Unsets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.PoissonDistributionType#getMean <em>Mean</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #isSetMean() + * @see #getMean() + * @see #setMean(double) + * @generated + */ + void unsetMean(); + + /** + * Returns whether the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.PoissonDistributionType#getMean <em>Mean</em>}' attribute is set. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return whether the value of the '<em>Mean</em>' attribute is set. + * @see #unsetMean() + * @see #getMean() + * @see #setMean(double) + * @generated + */ + boolean isSetMean(); + +} // PoissonDistributionType diff --git a/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/PriorityParameters.java b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/PriorityParameters.java new file mode 100644 index 00000000..594b4399 --- /dev/null +++ b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/PriorityParameters.java @@ -0,0 +1,79 @@ +/** + */ +package org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim; + +import org.eclipse.emf.ecore.EObject; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Priority Parameters</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.PriorityParameters#getInterruptible <em>Interruptible</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.PriorityParameters#getPriority <em>Priority</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getPriorityParameters() + * @model extendedMetaData="name='PriorityParameters' kind='elementOnly'" + * @generated + */ +public interface PriorityParameters extends EObject { + /** + * Returns the value of the '<em><b>Interruptible</b></em>' containment reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Interruptible</em>' containment reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Interruptible</em>' containment reference. + * @see #setInterruptible(Parameter) + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getPriorityParameters_Interruptible() + * @model containment="true" + * extendedMetaData="kind='element' name='Interruptible' namespace='##targetNamespace'" + * @generated + */ + Parameter getInterruptible(); + + /** + * Sets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.PriorityParameters#getInterruptible <em>Interruptible</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Interruptible</em>' containment reference. + * @see #getInterruptible() + * @generated + */ + void setInterruptible(Parameter value); + + /** + * Returns the value of the '<em><b>Priority</b></em>' containment reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Priority</em>' containment reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Priority</em>' containment reference. + * @see #setPriority(Parameter) + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getPriorityParameters_Priority() + * @model containment="true" + * extendedMetaData="kind='element' name='Priority' namespace='##targetNamespace'" + * @generated + */ + Parameter getPriority(); + + /** + * Sets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.PriorityParameters#getPriority <em>Priority</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Priority</em>' containment reference. + * @see #getPriority() + * @generated + */ + void setPriority(Parameter value); + +} // PriorityParameters diff --git a/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/PropertyParameters.java b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/PropertyParameters.java new file mode 100644 index 00000000..c13a3678 --- /dev/null +++ b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/PropertyParameters.java @@ -0,0 +1,42 @@ +/** + */ +package org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim; + +import org.eclipse.emf.common.util.EList; +import org.eclipse.emf.ecore.EObject; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Property Parameters</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.PropertyParameters#getProperty <em>Property</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getPropertyParameters() + * @model extendedMetaData="name='PropertyParameters' kind='elementOnly'" + * @generated + */ +public interface PropertyParameters extends EObject { + /** + * Returns the value of the '<em><b>Property</b></em>' containment reference list. + * The list contents are of type {@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.PropertyType}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Property</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>Property</em>' containment reference list. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getPropertyParameters_Property() + * @model containment="true" + * extendedMetaData="kind='element' name='Property' namespace='##targetNamespace'" + * @generated + */ + EList<PropertyType> getProperty(); + +} // PropertyParameters diff --git a/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/PropertyType.java b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/PropertyType.java new file mode 100644 index 00000000..e09f9b26 --- /dev/null +++ b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/PropertyType.java @@ -0,0 +1,50 @@ +/** + */ +package org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim; + + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Property Type</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.PropertyType#getName <em>Name</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getPropertyType() + * @model extendedMetaData="name='Property_._type' kind='elementOnly'" + * @generated + */ +public interface PropertyType extends Parameter { + /** + * Returns the value of the '<em><b>Name</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Name</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Name</em>' attribute. + * @see #setName(String) + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getPropertyType_Name() + * @model dataType="org.eclipse.emf.ecore.xml.type.String" required="true" + * extendedMetaData="kind='attribute' name='name'" + * @generated + */ + String getName(); + + /** + * Sets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.PropertyType#getName <em>Name</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Name</em>' attribute. + * @see #getName() + * @generated + */ + void setName(String value); + +} // PropertyType diff --git a/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/ResourceParameters.java b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/ResourceParameters.java new file mode 100644 index 00000000..2d0b47a7 --- /dev/null +++ b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/ResourceParameters.java @@ -0,0 +1,126 @@ +/** + */ +package org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim; + +import org.eclipse.emf.common.util.EList; +import org.eclipse.emf.ecore.EObject; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Resource Parameters</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ResourceParameters#getSelection <em>Selection</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ResourceParameters#getAvailability <em>Availability</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ResourceParameters#getQuantity <em>Quantity</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ResourceParameters#getRole <em>Role</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getResourceParameters() + * @model extendedMetaData="name='ResourceParameters' kind='elementOnly'" + * @generated + */ +public interface ResourceParameters extends EObject { + /** + * Returns the value of the '<em><b>Selection</b></em>' containment reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Selection</em>' containment reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Selection</em>' containment reference. + * @see #setSelection(Parameter) + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getResourceParameters_Selection() + * @model containment="true" + * extendedMetaData="kind='element' name='Selection' namespace='##targetNamespace'" + * @generated + */ + Parameter getSelection(); + + /** + * Sets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ResourceParameters#getSelection <em>Selection</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Selection</em>' containment reference. + * @see #getSelection() + * @generated + */ + void setSelection(Parameter value); + + /** + * Returns the value of the '<em><b>Availability</b></em>' containment reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Availability</em>' containment reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Availability</em>' containment reference. + * @see #setAvailability(Parameter) + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getResourceParameters_Availability() + * @model containment="true" + * extendedMetaData="kind='element' name='Availability' namespace='##targetNamespace'" + * @generated + */ + Parameter getAvailability(); + + /** + * Sets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ResourceParameters#getAvailability <em>Availability</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Availability</em>' containment reference. + * @see #getAvailability() + * @generated + */ + void setAvailability(Parameter value); + + /** + * Returns the value of the '<em><b>Quantity</b></em>' containment reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Quantity</em>' containment reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Quantity</em>' containment reference. + * @see #setQuantity(Parameter) + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getResourceParameters_Quantity() + * @model containment="true" + * extendedMetaData="kind='element' name='Quantity' namespace='##targetNamespace'" + * @generated + */ + Parameter getQuantity(); + + /** + * Sets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ResourceParameters#getQuantity <em>Quantity</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Quantity</em>' containment reference. + * @see #getQuantity() + * @generated + */ + void setQuantity(Parameter value); + + /** + * Returns the value of the '<em><b>Role</b></em>' containment reference list. + * The list contents are of type {@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.Parameter}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Role</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>Role</em>' containment reference list. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getResourceParameters_Role() + * @model containment="true" + * extendedMetaData="kind='element' name='Role' namespace='##targetNamespace'" + * @generated + */ + EList<Parameter> getRole(); + +} // ResourceParameters diff --git a/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/ResultType.java b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/ResultType.java new file mode 100644 index 00000000..ae2a8221 --- /dev/null +++ b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/ResultType.java @@ -0,0 +1,289 @@ +/** + */ +package org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim; + +import java.util.Arrays; +import java.util.Collections; +import java.util.List; + +import org.eclipse.emf.common.util.Enumerator; + +/** + * <!-- begin-user-doc --> + * A representation of the literals of the enumeration '<em><b>Result Type</b></em>', + * and utility methods for working with them. + * <!-- end-user-doc --> + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getResultType() + * @model extendedMetaData="name='ResultType'" + * @generated + */ +public enum ResultType implements Enumerator { + /** + * The '<em><b>Min</b></em>' literal object. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #MIN_VALUE + * @generated + * @ordered + */ + MIN(0, "min", "min"), + + /** + * The '<em><b>Max</b></em>' literal object. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #MAX_VALUE + * @generated + * @ordered + */ + MAX(1, "max", "max"), + + /** + * The '<em><b>Mean</b></em>' literal object. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #MEAN_VALUE + * @generated + * @ordered + */ + MEAN(2, "mean", "mean"), + + /** + * The '<em><b>Count</b></em>' literal object. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #COUNT_VALUE + * @generated + * @ordered + */ + COUNT(3, "count", "count"), + + /** + * The '<em><b>Sum</b></em>' literal object. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #SUM_VALUE + * @generated + * @ordered + */ + SUM(4, "sum", "sum"); + + /** + * The '<em><b>Min</b></em>' literal value. + * <!-- begin-user-doc --> + * <p> + * If the meaning of '<em><b>Min</b></em>' literal object isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @see #MIN + * @model name="min" + * @generated + * @ordered + */ + public static final int MIN_VALUE = 0; + + /** + * The '<em><b>Max</b></em>' literal value. + * <!-- begin-user-doc --> + * <p> + * If the meaning of '<em><b>Max</b></em>' literal object isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @see #MAX + * @model name="max" + * @generated + * @ordered + */ + public static final int MAX_VALUE = 1; + + /** + * The '<em><b>Mean</b></em>' literal value. + * <!-- begin-user-doc --> + * <p> + * If the meaning of '<em><b>Mean</b></em>' literal object isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @see #MEAN + * @model name="mean" + * @generated + * @ordered + */ + public static final int MEAN_VALUE = 2; + + /** + * The '<em><b>Count</b></em>' literal value. + * <!-- begin-user-doc --> + * <p> + * If the meaning of '<em><b>Count</b></em>' literal object isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @see #COUNT + * @model name="count" + * @generated + * @ordered + */ + public static final int COUNT_VALUE = 3; + + /** + * The '<em><b>Sum</b></em>' literal value. + * <!-- begin-user-doc --> + * <p> + * If the meaning of '<em><b>Sum</b></em>' literal object isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @see #SUM + * @model name="sum" + * @generated + * @ordered + */ + public static final int SUM_VALUE = 4; + + /** + * An array of all the '<em><b>Result Type</b></em>' enumerators. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private static final ResultType[] VALUES_ARRAY = + new ResultType[] { + MIN, + MAX, + MEAN, + COUNT, + SUM, + }; + + /** + * A public read-only list of all the '<em><b>Result Type</b></em>' enumerators. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public static final List<ResultType> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); + + /** + * Returns the '<em><b>Result Type</b></em>' literal with the specified literal value. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public static ResultType get(String literal) { + for (int i = 0; i < VALUES_ARRAY.length; ++i) { + ResultType result = VALUES_ARRAY[i]; + if (result.toString().equals(literal)) { + return result; + } + } + return null; + } + + /** + * Returns the '<em><b>Result Type</b></em>' literal with the specified name. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public static ResultType getByName(String name) { + for (int i = 0; i < VALUES_ARRAY.length; ++i) { + ResultType result = VALUES_ARRAY[i]; + if (result.getName().equals(name)) { + return result; + } + } + return null; + } + + /** + * Returns the '<em><b>Result Type</b></em>' literal with the specified integer value. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public static ResultType get(int value) { + switch (value) { + case MIN_VALUE: return MIN; + case MAX_VALUE: return MAX; + case MEAN_VALUE: return MEAN; + case COUNT_VALUE: return COUNT; + case SUM_VALUE: return SUM; + } + return null; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private final int value; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private final String name; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private final String literal; + + /** + * Only this class can construct instances. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private ResultType(int value, String name, String literal) { + this.value = value; + this.name = name; + this.literal = literal; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public int getValue() { + return value; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getName() { + return name; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getLiteral() { + return literal; + } + + /** + * Returns the literal value of the enumerator, which is its string representation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public String toString() { + return literal; + } + +} //ResultType diff --git a/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/Scenario.java b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/Scenario.java new file mode 100644 index 00000000..122550ff --- /dev/null +++ b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/Scenario.java @@ -0,0 +1,388 @@ +/** + */ +package org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim; + +import javax.xml.datatype.XMLGregorianCalendar; + +import org.eclipse.emf.common.util.EList; +import org.eclipse.emf.ecore.EObject; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Scenario</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.Scenario#getScenarioParameters <em>Scenario Parameters</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.Scenario#getElementParameters <em>Element Parameters</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.Scenario#getCalendar <em>Calendar</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.Scenario#getVendorExtension <em>Vendor Extension</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.Scenario#getAuthor <em>Author</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.Scenario#getCreated <em>Created</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.Scenario#getDescription <em>Description</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.Scenario#getId <em>Id</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.Scenario#getInherits <em>Inherits</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.Scenario#getModified <em>Modified</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.Scenario#getName <em>Name</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.Scenario#getResult <em>Result</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.Scenario#getVendor <em>Vendor</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.Scenario#getVersion <em>Version</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getScenario() + * @model extendedMetaData="name='Scenario' kind='elementOnly'" + * @generated + */ +public interface Scenario extends EObject { + /** + * Returns the value of the '<em><b>Scenario Parameters</b></em>' containment reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Scenario Parameters</em>' containment reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Scenario Parameters</em>' containment reference. + * @see #setScenarioParameters(ScenarioParameters) + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getScenario_ScenarioParameters() + * @model containment="true" + * extendedMetaData="kind='element' name='ScenarioParameters' namespace='##targetNamespace'" + * @generated + */ + ScenarioParameters getScenarioParameters(); + + /** + * Sets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.Scenario#getScenarioParameters <em>Scenario Parameters</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Scenario Parameters</em>' containment reference. + * @see #getScenarioParameters() + * @generated + */ + void setScenarioParameters(ScenarioParameters value); + + /** + * Returns the value of the '<em><b>Element Parameters</b></em>' containment reference list. + * The list contents are of type {@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ElementParameters}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Element Parameters</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>Element Parameters</em>' containment reference list. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getScenario_ElementParameters() + * @model containment="true" + * extendedMetaData="kind='element' name='ElementParameters' namespace='##targetNamespace'" + * @generated + */ + EList<ElementParameters> getElementParameters(); + + /** + * Returns the value of the '<em><b>Calendar</b></em>' containment reference list. + * The list contents are of type {@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.Calendar}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Calendar</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>Calendar</em>' containment reference list. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getScenario_Calendar() + * @model containment="true" + * extendedMetaData="kind='element' name='Calendar' namespace='##targetNamespace'" + * @generated + */ + EList<Calendar> getCalendar(); + + /** + * Returns the value of the '<em><b>Vendor Extension</b></em>' containment reference list. + * The list contents are of type {@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.VendorExtension}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Vendor Extension</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>Vendor Extension</em>' containment reference list. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getScenario_VendorExtension() + * @model containment="true" + * extendedMetaData="kind='element' name='VendorExtension' namespace='##targetNamespace'" + * @generated + */ + EList<VendorExtension> getVendorExtension(); + + /** + * Returns the value of the '<em><b>Author</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Author</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Author</em>' attribute. + * @see #setAuthor(String) + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getScenario_Author() + * @model dataType="org.eclipse.emf.ecore.xml.type.String" + * extendedMetaData="kind='attribute' name='author'" + * @generated + */ + String getAuthor(); + + /** + * Sets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.Scenario#getAuthor <em>Author</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Author</em>' attribute. + * @see #getAuthor() + * @generated + */ + void setAuthor(String value); + + /** + * Returns the value of the '<em><b>Created</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Created</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Created</em>' attribute. + * @see #setCreated(XMLGregorianCalendar) + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getScenario_Created() + * @model dataType="org.eclipse.emf.ecore.xml.type.DateTime" + * extendedMetaData="kind='attribute' name='created'" + * @generated + */ + XMLGregorianCalendar getCreated(); + + /** + * Sets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.Scenario#getCreated <em>Created</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Created</em>' attribute. + * @see #getCreated() + * @generated + */ + void setCreated(XMLGregorianCalendar value); + + /** + * Returns the value of the '<em><b>Description</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Description</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Description</em>' attribute. + * @see #setDescription(String) + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getScenario_Description() + * @model dataType="org.eclipse.emf.ecore.xml.type.String" + * extendedMetaData="kind='attribute' name='description'" + * @generated + */ + String getDescription(); + + /** + * Sets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.Scenario#getDescription <em>Description</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Description</em>' attribute. + * @see #getDescription() + * @generated + */ + void setDescription(String value); + + /** + * Returns the value of the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Id</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Id</em>' attribute. + * @see #setId(String) + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getScenario_Id() + * @model id="true" dataType="org.eclipse.emf.ecore.xml.type.ID" required="true" + * extendedMetaData="kind='attribute' name='id'" + * @generated + */ + String getId(); + + /** + * Sets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.Scenario#getId <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Id</em>' attribute. + * @see #getId() + * @generated + */ + void setId(String value); + + /** + * Returns the value of the '<em><b>Inherits</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Inherits</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Inherits</em>' attribute. + * @see #setInherits(String) + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getScenario_Inherits() + * @model dataType="org.eclipse.emf.ecore.xml.type.IDREF" + * extendedMetaData="kind='attribute' name='inherits'" + * @generated + */ + String getInherits(); + + /** + * Sets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.Scenario#getInherits <em>Inherits</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Inherits</em>' attribute. + * @see #getInherits() + * @generated + */ + void setInherits(String value); + + /** + * Returns the value of the '<em><b>Modified</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Modified</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Modified</em>' attribute. + * @see #setModified(XMLGregorianCalendar) + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getScenario_Modified() + * @model dataType="org.eclipse.emf.ecore.xml.type.DateTime" + * extendedMetaData="kind='attribute' name='modified'" + * @generated + */ + XMLGregorianCalendar getModified(); + + /** + * Sets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.Scenario#getModified <em>Modified</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Modified</em>' attribute. + * @see #getModified() + * @generated + */ + void setModified(XMLGregorianCalendar value); + + /** + * Returns the value of the '<em><b>Name</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Name</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Name</em>' attribute. + * @see #setName(String) + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getScenario_Name() + * @model dataType="org.eclipse.emf.ecore.xml.type.String" + * extendedMetaData="kind='attribute' name='name'" + * @generated + */ + String getName(); + + /** + * Sets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.Scenario#getName <em>Name</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Name</em>' attribute. + * @see #getName() + * @generated + */ + void setName(String value); + + /** + * Returns the value of the '<em><b>Result</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Result</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Result</em>' attribute. + * @see #setResult(String) + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getScenario_Result() + * @model dataType="org.eclipse.emf.ecore.xml.type.IDREF" + * extendedMetaData="kind='attribute' name='result'" + * @generated + */ + String getResult(); + + /** + * Sets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.Scenario#getResult <em>Result</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Result</em>' attribute. + * @see #getResult() + * @generated + */ + void setResult(String value); + + /** + * Returns the value of the '<em><b>Vendor</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Vendor</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Vendor</em>' attribute. + * @see #setVendor(String) + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getScenario_Vendor() + * @model dataType="org.eclipse.emf.ecore.xml.type.String" + * extendedMetaData="kind='attribute' name='vendor'" + * @generated + */ + String getVendor(); + + /** + * Sets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.Scenario#getVendor <em>Vendor</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Vendor</em>' attribute. + * @see #getVendor() + * @generated + */ + void setVendor(String value); + + /** + * Returns the value of the '<em><b>Version</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Version</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Version</em>' attribute. + * @see #setVersion(String) + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getScenario_Version() + * @model dataType="org.eclipse.emf.ecore.xml.type.String" + * extendedMetaData="kind='attribute' name='version'" + * @generated + */ + String getVersion(); + + /** + * Sets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.Scenario#getVersion <em>Version</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Version</em>' attribute. + * @see #getVersion() + * @generated + */ + void setVersion(String value); + +} // Scenario diff --git a/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/ScenarioParameters.java b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/ScenarioParameters.java new file mode 100644 index 00000000..9e2c4c85 --- /dev/null +++ b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/ScenarioParameters.java @@ -0,0 +1,303 @@ +/** + */ +package org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim; + +import org.eclipse.emf.ecore.EObject; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Scenario Parameters</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ScenarioParameters#getStart <em>Start</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ScenarioParameters#getDuration <em>Duration</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ScenarioParameters#getPropertyParameters <em>Property Parameters</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ScenarioParameters#getBaseCurrencyUnit <em>Base Currency Unit</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ScenarioParameters#getBaseTimeUnit <em>Base Time Unit</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ScenarioParameters#getReplication <em>Replication</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ScenarioParameters#getSeed <em>Seed</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getScenarioParameters() + * @model extendedMetaData="name='ScenarioParameters' kind='elementOnly'" + * @generated + */ +public interface ScenarioParameters extends EObject { + /** + * Returns the value of the '<em><b>Start</b></em>' containment reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Start</em>' containment reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Start</em>' containment reference. + * @see #setStart(Parameter) + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getScenarioParameters_Start() + * @model containment="true" + * extendedMetaData="kind='element' name='Start' namespace='##targetNamespace'" + * @generated + */ + Parameter getStart(); + + /** + * Sets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ScenarioParameters#getStart <em>Start</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Start</em>' containment reference. + * @see #getStart() + * @generated + */ + void setStart(Parameter value); + + /** + * Returns the value of the '<em><b>Duration</b></em>' containment reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Duration</em>' containment reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Duration</em>' containment reference. + * @see #setDuration(Parameter) + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getScenarioParameters_Duration() + * @model containment="true" + * extendedMetaData="kind='element' name='Duration' namespace='##targetNamespace'" + * @generated + */ + Parameter getDuration(); + + /** + * Sets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ScenarioParameters#getDuration <em>Duration</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Duration</em>' containment reference. + * @see #getDuration() + * @generated + */ + void setDuration(Parameter value); + + /** + * Returns the value of the '<em><b>Property Parameters</b></em>' containment reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Property Parameters</em>' containment reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Property Parameters</em>' containment reference. + * @see #setPropertyParameters(PropertyParameters) + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getScenarioParameters_PropertyParameters() + * @model containment="true" + * extendedMetaData="kind='element' name='PropertyParameters' namespace='##targetNamespace'" + * @generated + */ + PropertyParameters getPropertyParameters(); + + /** + * Sets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ScenarioParameters#getPropertyParameters <em>Property Parameters</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Property Parameters</em>' containment reference. + * @see #getPropertyParameters() + * @generated + */ + void setPropertyParameters(PropertyParameters value); + + /** + * Returns the value of the '<em><b>Base Currency Unit</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Base Currency Unit</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Base Currency Unit</em>' attribute. + * @see #setBaseCurrencyUnit(String) + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getScenarioParameters_BaseCurrencyUnit() + * @model dataType="org.eclipse.emf.ecore.xml.type.String" + * extendedMetaData="kind='attribute' name='baseCurrencyUnit'" + * @generated + */ + String getBaseCurrencyUnit(); + + /** + * Sets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ScenarioParameters#getBaseCurrencyUnit <em>Base Currency Unit</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Base Currency Unit</em>' attribute. + * @see #getBaseCurrencyUnit() + * @generated + */ + void setBaseCurrencyUnit(String value); + + /** + * Returns the value of the '<em><b>Base Time Unit</b></em>' attribute. + * The literals are from the enumeration {@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.TimeUnit}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Base Time Unit</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Base Time Unit</em>' attribute. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.TimeUnit + * @see #isSetBaseTimeUnit() + * @see #unsetBaseTimeUnit() + * @see #setBaseTimeUnit(TimeUnit) + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getScenarioParameters_BaseTimeUnit() + * @model unsettable="true" + * extendedMetaData="kind='attribute' name='baseTimeUnit'" + * @generated + */ + TimeUnit getBaseTimeUnit(); + + /** + * Sets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ScenarioParameters#getBaseTimeUnit <em>Base Time Unit</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Base Time Unit</em>' attribute. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.TimeUnit + * @see #isSetBaseTimeUnit() + * @see #unsetBaseTimeUnit() + * @see #getBaseTimeUnit() + * @generated + */ + void setBaseTimeUnit(TimeUnit value); + + /** + * Unsets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ScenarioParameters#getBaseTimeUnit <em>Base Time Unit</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #isSetBaseTimeUnit() + * @see #getBaseTimeUnit() + * @see #setBaseTimeUnit(TimeUnit) + * @generated + */ + void unsetBaseTimeUnit(); + + /** + * Returns whether the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ScenarioParameters#getBaseTimeUnit <em>Base Time Unit</em>}' attribute is set. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return whether the value of the '<em>Base Time Unit</em>' attribute is set. + * @see #unsetBaseTimeUnit() + * @see #getBaseTimeUnit() + * @see #setBaseTimeUnit(TimeUnit) + * @generated + */ + boolean isSetBaseTimeUnit(); + + /** + * Returns the value of the '<em><b>Replication</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Replication</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Replication</em>' attribute. + * @see #isSetReplication() + * @see #unsetReplication() + * @see #setReplication(int) + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getScenarioParameters_Replication() + * @model unsettable="true" dataType="org.eclipse.emf.ecore.xml.type.Int" + * extendedMetaData="kind='attribute' name='replication'" + * @generated + */ + int getReplication(); + + /** + * Sets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ScenarioParameters#getReplication <em>Replication</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Replication</em>' attribute. + * @see #isSetReplication() + * @see #unsetReplication() + * @see #getReplication() + * @generated + */ + void setReplication(int value); + + /** + * Unsets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ScenarioParameters#getReplication <em>Replication</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #isSetReplication() + * @see #getReplication() + * @see #setReplication(int) + * @generated + */ + void unsetReplication(); + + /** + * Returns whether the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ScenarioParameters#getReplication <em>Replication</em>}' attribute is set. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return whether the value of the '<em>Replication</em>' attribute is set. + * @see #unsetReplication() + * @see #getReplication() + * @see #setReplication(int) + * @generated + */ + boolean isSetReplication(); + + /** + * Returns the value of the '<em><b>Seed</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Seed</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Seed</em>' attribute. + * @see #isSetSeed() + * @see #unsetSeed() + * @see #setSeed(long) + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getScenarioParameters_Seed() + * @model unsettable="true" dataType="org.eclipse.emf.ecore.xml.type.Long" + * extendedMetaData="kind='attribute' name='seed'" + * @generated + */ + long getSeed(); + + /** + * Sets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ScenarioParameters#getSeed <em>Seed</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Seed</em>' attribute. + * @see #isSetSeed() + * @see #unsetSeed() + * @see #getSeed() + * @generated + */ + void setSeed(long value); + + /** + * Unsets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ScenarioParameters#getSeed <em>Seed</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #isSetSeed() + * @see #getSeed() + * @see #setSeed(long) + * @generated + */ + void unsetSeed(); + + /** + * Returns whether the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ScenarioParameters#getSeed <em>Seed</em>}' attribute is set. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return whether the value of the '<em>Seed</em>' attribute is set. + * @see #unsetSeed() + * @see #getSeed() + * @see #setSeed(long) + * @generated + */ + boolean isSetSeed(); + +} // ScenarioParameters diff --git a/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/ScenarioParametersType.java b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/ScenarioParametersType.java new file mode 100644 index 00000000..5231a2a2 --- /dev/null +++ b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/ScenarioParametersType.java @@ -0,0 +1,17 @@ +/** + */ +package org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim; + + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Scenario Parameters Type</b></em>'. + * <!-- end-user-doc --> + * + * + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getScenarioParametersType() + * @model extendedMetaData="name='ScenarioParameters_._type' kind='elementOnly'" + * @generated + */ +public interface ScenarioParametersType extends ScenarioParameters { +} // ScenarioParametersType diff --git a/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/StringParameterType.java b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/StringParameterType.java new file mode 100644 index 00000000..da49f36c --- /dev/null +++ b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/StringParameterType.java @@ -0,0 +1,50 @@ +/** + */ +package org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim; + + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>String Parameter Type</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.StringParameterType#getValue <em>Value</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getStringParameterType() + * @model extendedMetaData="name='StringParameter_._type' kind='empty'" + * @generated + */ +public interface StringParameterType extends ConstantParameter { + /** + * Returns the value of the '<em><b>Value</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Value</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Value</em>' attribute. + * @see #setValue(String) + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getStringParameterType_Value() + * @model dataType="org.eclipse.emf.ecore.xml.type.String" + * extendedMetaData="kind='attribute' name='value'" + * @generated + */ + String getValue(); + + /** + * Sets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.StringParameterType#getValue <em>Value</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Value</em>' attribute. + * @see #getValue() + * @generated + */ + void setValue(String value); + +} // StringParameterType diff --git a/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/TimeParameters.java b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/TimeParameters.java new file mode 100644 index 00000000..59594cef --- /dev/null +++ b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/TimeParameters.java @@ -0,0 +1,219 @@ +/** + */ +package org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim; + +import org.eclipse.emf.ecore.EObject; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Time Parameters</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.TimeParameters#getTransferTime <em>Transfer Time</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.TimeParameters#getQueueTime <em>Queue Time</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.TimeParameters#getWaitTime <em>Wait Time</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.TimeParameters#getSetUpTime <em>Set Up Time</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.TimeParameters#getProcessingTime <em>Processing Time</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.TimeParameters#getValidationTime <em>Validation Time</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.TimeParameters#getReworkTime <em>Rework Time</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getTimeParameters() + * @model extendedMetaData="name='TimeParameters' kind='elementOnly'" + * @generated + */ +public interface TimeParameters extends EObject { + /** + * Returns the value of the '<em><b>Transfer Time</b></em>' containment reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Transfer Time</em>' containment reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Transfer Time</em>' containment reference. + * @see #setTransferTime(Parameter) + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getTimeParameters_TransferTime() + * @model containment="true" + * extendedMetaData="kind='element' name='TransferTime' namespace='##targetNamespace'" + * @generated + */ + Parameter getTransferTime(); + + /** + * Sets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.TimeParameters#getTransferTime <em>Transfer Time</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Transfer Time</em>' containment reference. + * @see #getTransferTime() + * @generated + */ + void setTransferTime(Parameter value); + + /** + * Returns the value of the '<em><b>Queue Time</b></em>' containment reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Queue Time</em>' containment reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Queue Time</em>' containment reference. + * @see #setQueueTime(Parameter) + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getTimeParameters_QueueTime() + * @model containment="true" + * extendedMetaData="kind='element' name='QueueTime' namespace='##targetNamespace'" + * @generated + */ + Parameter getQueueTime(); + + /** + * Sets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.TimeParameters#getQueueTime <em>Queue Time</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Queue Time</em>' containment reference. + * @see #getQueueTime() + * @generated + */ + void setQueueTime(Parameter value); + + /** + * Returns the value of the '<em><b>Wait Time</b></em>' containment reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Wait Time</em>' containment reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Wait Time</em>' containment reference. + * @see #setWaitTime(Parameter) + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getTimeParameters_WaitTime() + * @model containment="true" + * extendedMetaData="kind='element' name='WaitTime' namespace='##targetNamespace'" + * @generated + */ + Parameter getWaitTime(); + + /** + * Sets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.TimeParameters#getWaitTime <em>Wait Time</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Wait Time</em>' containment reference. + * @see #getWaitTime() + * @generated + */ + void setWaitTime(Parameter value); + + /** + * Returns the value of the '<em><b>Set Up Time</b></em>' containment reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Set Up Time</em>' containment reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Set Up Time</em>' containment reference. + * @see #setSetUpTime(Parameter) + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getTimeParameters_SetUpTime() + * @model containment="true" + * extendedMetaData="kind='element' name='SetUpTime' namespace='##targetNamespace'" + * @generated + */ + Parameter getSetUpTime(); + + /** + * Sets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.TimeParameters#getSetUpTime <em>Set Up Time</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Set Up Time</em>' containment reference. + * @see #getSetUpTime() + * @generated + */ + void setSetUpTime(Parameter value); + + /** + * Returns the value of the '<em><b>Processing Time</b></em>' containment reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Processing Time</em>' containment reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Processing Time</em>' containment reference. + * @see #setProcessingTime(Parameter) + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getTimeParameters_ProcessingTime() + * @model containment="true" + * extendedMetaData="kind='element' name='ProcessingTime' namespace='##targetNamespace'" + * @generated + */ + Parameter getProcessingTime(); + + /** + * Sets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.TimeParameters#getProcessingTime <em>Processing Time</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Processing Time</em>' containment reference. + * @see #getProcessingTime() + * @generated + */ + void setProcessingTime(Parameter value); + + /** + * Returns the value of the '<em><b>Validation Time</b></em>' containment reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Validation Time</em>' containment reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Validation Time</em>' containment reference. + * @see #setValidationTime(Parameter) + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getTimeParameters_ValidationTime() + * @model containment="true" + * extendedMetaData="kind='element' name='ValidationTime' namespace='##targetNamespace'" + * @generated + */ + Parameter getValidationTime(); + + /** + * Sets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.TimeParameters#getValidationTime <em>Validation Time</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Validation Time</em>' containment reference. + * @see #getValidationTime() + * @generated + */ + void setValidationTime(Parameter value); + + /** + * Returns the value of the '<em><b>Rework Time</b></em>' containment reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Rework Time</em>' containment reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Rework Time</em>' containment reference. + * @see #setReworkTime(Parameter) + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getTimeParameters_ReworkTime() + * @model containment="true" + * extendedMetaData="kind='element' name='ReworkTime' namespace='##targetNamespace'" + * @generated + */ + Parameter getReworkTime(); + + /** + * Sets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.TimeParameters#getReworkTime <em>Rework Time</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Rework Time</em>' containment reference. + * @see #getReworkTime() + * @generated + */ + void setReworkTime(Parameter value); + +} // TimeParameters diff --git a/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/TimeUnit.java b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/TimeUnit.java new file mode 100644 index 00000000..b4d30571 --- /dev/null +++ b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/TimeUnit.java @@ -0,0 +1,316 @@ +/** + */ +package org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim; + +import java.util.Arrays; +import java.util.Collections; +import java.util.List; + +import org.eclipse.emf.common.util.Enumerator; + +/** + * <!-- begin-user-doc --> + * A representation of the literals of the enumeration '<em><b>Time Unit</b></em>', + * and utility methods for working with them. + * <!-- end-user-doc --> + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getTimeUnit() + * @model extendedMetaData="name='TimeUnit'" + * @generated + */ +public enum TimeUnit implements Enumerator { + /** + * The '<em><b>Ms</b></em>' literal object. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #MS_VALUE + * @generated + * @ordered + */ + MS(0, "ms", "ms"), + + /** + * The '<em><b>S</b></em>' literal object. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #S_VALUE + * @generated + * @ordered + */ + S(1, "s", "s"), + + /** + * The '<em><b>Min</b></em>' literal object. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #MIN_VALUE + * @generated + * @ordered + */ + MIN(2, "min", "min"), + + /** + * The '<em><b>Hour</b></em>' literal object. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #HOUR_VALUE + * @generated + * @ordered + */ + HOUR(3, "hour", "hour"), + + /** + * The '<em><b>Day</b></em>' literal object. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #DAY_VALUE + * @generated + * @ordered + */ + DAY(4, "day", "day"), + + /** + * The '<em><b>Year</b></em>' literal object. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #YEAR_VALUE + * @generated + * @ordered + */ + YEAR(5, "year", "year"); + + /** + * The '<em><b>Ms</b></em>' literal value. + * <!-- begin-user-doc --> + * <p> + * If the meaning of '<em><b>Ms</b></em>' literal object isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @see #MS + * @model name="ms" + * @generated + * @ordered + */ + public static final int MS_VALUE = 0; + + /** + * The '<em><b>S</b></em>' literal value. + * <!-- begin-user-doc --> + * <p> + * If the meaning of '<em><b>S</b></em>' literal object isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @see #S + * @model name="s" + * @generated + * @ordered + */ + public static final int S_VALUE = 1; + + /** + * The '<em><b>Min</b></em>' literal value. + * <!-- begin-user-doc --> + * <p> + * If the meaning of '<em><b>Min</b></em>' literal object isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @see #MIN + * @model name="min" + * @generated + * @ordered + */ + public static final int MIN_VALUE = 2; + + /** + * The '<em><b>Hour</b></em>' literal value. + * <!-- begin-user-doc --> + * <p> + * If the meaning of '<em><b>Hour</b></em>' literal object isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @see #HOUR + * @model name="hour" + * @generated + * @ordered + */ + public static final int HOUR_VALUE = 3; + + /** + * The '<em><b>Day</b></em>' literal value. + * <!-- begin-user-doc --> + * <p> + * If the meaning of '<em><b>Day</b></em>' literal object isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @see #DAY + * @model name="day" + * @generated + * @ordered + */ + public static final int DAY_VALUE = 4; + + /** + * The '<em><b>Year</b></em>' literal value. + * <!-- begin-user-doc --> + * <p> + * If the meaning of '<em><b>Year</b></em>' literal object isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @see #YEAR + * @model name="year" + * @generated + * @ordered + */ + public static final int YEAR_VALUE = 5; + + /** + * An array of all the '<em><b>Time Unit</b></em>' enumerators. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private static final TimeUnit[] VALUES_ARRAY = + new TimeUnit[] { + MS, + S, + MIN, + HOUR, + DAY, + YEAR, + }; + + /** + * A public read-only list of all the '<em><b>Time Unit</b></em>' enumerators. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public static final List<TimeUnit> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); + + /** + * Returns the '<em><b>Time Unit</b></em>' literal with the specified literal value. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public static TimeUnit get(String literal) { + for (int i = 0; i < VALUES_ARRAY.length; ++i) { + TimeUnit result = VALUES_ARRAY[i]; + if (result.toString().equals(literal)) { + return result; + } + } + return null; + } + + /** + * Returns the '<em><b>Time Unit</b></em>' literal with the specified name. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public static TimeUnit getByName(String name) { + for (int i = 0; i < VALUES_ARRAY.length; ++i) { + TimeUnit result = VALUES_ARRAY[i]; + if (result.getName().equals(name)) { + return result; + } + } + return null; + } + + /** + * Returns the '<em><b>Time Unit</b></em>' literal with the specified integer value. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public static TimeUnit get(int value) { + switch (value) { + case MS_VALUE: return MS; + case S_VALUE: return S; + case MIN_VALUE: return MIN; + case HOUR_VALUE: return HOUR; + case DAY_VALUE: return DAY; + case YEAR_VALUE: return YEAR; + } + return null; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private final int value; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private final String name; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private final String literal; + + /** + * Only this class can construct instances. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private TimeUnit(int value, String name, String literal) { + this.value = value; + this.name = name; + this.literal = literal; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public int getValue() { + return value; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getName() { + return name; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getLiteral() { + return literal; + } + + /** + * Returns the literal value of the enumerator, which is its string representation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public String toString() { + return literal; + } + +} //TimeUnit diff --git a/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/TriangularDistributionType.java b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/TriangularDistributionType.java new file mode 100644 index 00000000..5114a142 --- /dev/null +++ b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/TriangularDistributionType.java @@ -0,0 +1,187 @@ +/** + */ +package org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim; + + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Triangular Distribution Type</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.TriangularDistributionType#getMax <em>Max</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.TriangularDistributionType#getMin <em>Min</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.TriangularDistributionType#getMode <em>Mode</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getTriangularDistributionType() + * @model extendedMetaData="name='TriangularDistribution_._type' kind='empty'" + * @generated + */ +public interface TriangularDistributionType extends DistributionParameter { + /** + * Returns the value of the '<em><b>Max</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Max</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Max</em>' attribute. + * @see #isSetMax() + * @see #unsetMax() + * @see #setMax(double) + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getTriangularDistributionType_Max() + * @model unsettable="true" dataType="org.eclipse.emf.ecore.xml.type.Double" + * extendedMetaData="kind='attribute' name='max'" + * @generated + */ + double getMax(); + + /** + * Sets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.TriangularDistributionType#getMax <em>Max</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Max</em>' attribute. + * @see #isSetMax() + * @see #unsetMax() + * @see #getMax() + * @generated + */ + void setMax(double value); + + /** + * Unsets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.TriangularDistributionType#getMax <em>Max</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #isSetMax() + * @see #getMax() + * @see #setMax(double) + * @generated + */ + void unsetMax(); + + /** + * Returns whether the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.TriangularDistributionType#getMax <em>Max</em>}' attribute is set. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return whether the value of the '<em>Max</em>' attribute is set. + * @see #unsetMax() + * @see #getMax() + * @see #setMax(double) + * @generated + */ + boolean isSetMax(); + + /** + * Returns the value of the '<em><b>Min</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Min</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Min</em>' attribute. + * @see #isSetMin() + * @see #unsetMin() + * @see #setMin(double) + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getTriangularDistributionType_Min() + * @model unsettable="true" dataType="org.eclipse.emf.ecore.xml.type.Double" + * extendedMetaData="kind='attribute' name='min'" + * @generated + */ + double getMin(); + + /** + * Sets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.TriangularDistributionType#getMin <em>Min</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Min</em>' attribute. + * @see #isSetMin() + * @see #unsetMin() + * @see #getMin() + * @generated + */ + void setMin(double value); + + /** + * Unsets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.TriangularDistributionType#getMin <em>Min</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #isSetMin() + * @see #getMin() + * @see #setMin(double) + * @generated + */ + void unsetMin(); + + /** + * Returns whether the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.TriangularDistributionType#getMin <em>Min</em>}' attribute is set. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return whether the value of the '<em>Min</em>' attribute is set. + * @see #unsetMin() + * @see #getMin() + * @see #setMin(double) + * @generated + */ + boolean isSetMin(); + + /** + * Returns the value of the '<em><b>Mode</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Mode</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Mode</em>' attribute. + * @see #isSetMode() + * @see #unsetMode() + * @see #setMode(double) + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getTriangularDistributionType_Mode() + * @model unsettable="true" dataType="org.eclipse.emf.ecore.xml.type.Double" + * extendedMetaData="kind='attribute' name='mode'" + * @generated + */ + double getMode(); + + /** + * Sets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.TriangularDistributionType#getMode <em>Mode</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Mode</em>' attribute. + * @see #isSetMode() + * @see #unsetMode() + * @see #getMode() + * @generated + */ + void setMode(double value); + + /** + * Unsets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.TriangularDistributionType#getMode <em>Mode</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #isSetMode() + * @see #getMode() + * @see #setMode(double) + * @generated + */ + void unsetMode(); + + /** + * Returns whether the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.TriangularDistributionType#getMode <em>Mode</em>}' attribute is set. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return whether the value of the '<em>Mode</em>' attribute is set. + * @see #unsetMode() + * @see #getMode() + * @see #setMode(double) + * @generated + */ + boolean isSetMode(); + +} // TriangularDistributionType diff --git a/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/TruncatedNormalDistributionType.java b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/TruncatedNormalDistributionType.java new file mode 100644 index 00000000..bd854f33 --- /dev/null +++ b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/TruncatedNormalDistributionType.java @@ -0,0 +1,242 @@ +/** + */ +package org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim; + + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Truncated Normal Distribution Type</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.TruncatedNormalDistributionType#getMax <em>Max</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.TruncatedNormalDistributionType#getMean <em>Mean</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.TruncatedNormalDistributionType#getMin <em>Min</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.TruncatedNormalDistributionType#getStandardDeviation <em>Standard Deviation</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getTruncatedNormalDistributionType() + * @model extendedMetaData="name='TruncatedNormalDistribution_._type' kind='empty'" + * @generated + */ +public interface TruncatedNormalDistributionType extends DistributionParameter { + /** + * Returns the value of the '<em><b>Max</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Max</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Max</em>' attribute. + * @see #isSetMax() + * @see #unsetMax() + * @see #setMax(double) + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getTruncatedNormalDistributionType_Max() + * @model unsettable="true" dataType="org.eclipse.emf.ecore.xml.type.Double" + * extendedMetaData="kind='attribute' name='max'" + * @generated + */ + double getMax(); + + /** + * Sets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.TruncatedNormalDistributionType#getMax <em>Max</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Max</em>' attribute. + * @see #isSetMax() + * @see #unsetMax() + * @see #getMax() + * @generated + */ + void setMax(double value); + + /** + * Unsets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.TruncatedNormalDistributionType#getMax <em>Max</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #isSetMax() + * @see #getMax() + * @see #setMax(double) + * @generated + */ + void unsetMax(); + + /** + * Returns whether the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.TruncatedNormalDistributionType#getMax <em>Max</em>}' attribute is set. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return whether the value of the '<em>Max</em>' attribute is set. + * @see #unsetMax() + * @see #getMax() + * @see #setMax(double) + * @generated + */ + boolean isSetMax(); + + /** + * Returns the value of the '<em><b>Mean</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Mean</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Mean</em>' attribute. + * @see #isSetMean() + * @see #unsetMean() + * @see #setMean(double) + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getTruncatedNormalDistributionType_Mean() + * @model unsettable="true" dataType="org.eclipse.emf.ecore.xml.type.Double" + * extendedMetaData="kind='attribute' name='mean'" + * @generated + */ + double getMean(); + + /** + * Sets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.TruncatedNormalDistributionType#getMean <em>Mean</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Mean</em>' attribute. + * @see #isSetMean() + * @see #unsetMean() + * @see #getMean() + * @generated + */ + void setMean(double value); + + /** + * Unsets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.TruncatedNormalDistributionType#getMean <em>Mean</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #isSetMean() + * @see #getMean() + * @see #setMean(double) + * @generated + */ + void unsetMean(); + + /** + * Returns whether the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.TruncatedNormalDistributionType#getMean <em>Mean</em>}' attribute is set. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return whether the value of the '<em>Mean</em>' attribute is set. + * @see #unsetMean() + * @see #getMean() + * @see #setMean(double) + * @generated + */ + boolean isSetMean(); + + /** + * Returns the value of the '<em><b>Min</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Min</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Min</em>' attribute. + * @see #isSetMin() + * @see #unsetMin() + * @see #setMin(double) + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getTruncatedNormalDistributionType_Min() + * @model unsettable="true" dataType="org.eclipse.emf.ecore.xml.type.Double" + * extendedMetaData="kind='attribute' name='min'" + * @generated + */ + double getMin(); + + /** + * Sets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.TruncatedNormalDistributionType#getMin <em>Min</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Min</em>' attribute. + * @see #isSetMin() + * @see #unsetMin() + * @see #getMin() + * @generated + */ + void setMin(double value); + + /** + * Unsets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.TruncatedNormalDistributionType#getMin <em>Min</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #isSetMin() + * @see #getMin() + * @see #setMin(double) + * @generated + */ + void unsetMin(); + + /** + * Returns whether the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.TruncatedNormalDistributionType#getMin <em>Min</em>}' attribute is set. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return whether the value of the '<em>Min</em>' attribute is set. + * @see #unsetMin() + * @see #getMin() + * @see #setMin(double) + * @generated + */ + boolean isSetMin(); + + /** + * Returns the value of the '<em><b>Standard Deviation</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Standard Deviation</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Standard Deviation</em>' attribute. + * @see #isSetStandardDeviation() + * @see #unsetStandardDeviation() + * @see #setStandardDeviation(double) + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getTruncatedNormalDistributionType_StandardDeviation() + * @model unsettable="true" dataType="org.eclipse.emf.ecore.xml.type.Double" + * extendedMetaData="kind='attribute' name='standardDeviation'" + * @generated + */ + double getStandardDeviation(); + + /** + * Sets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.TruncatedNormalDistributionType#getStandardDeviation <em>Standard Deviation</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Standard Deviation</em>' attribute. + * @see #isSetStandardDeviation() + * @see #unsetStandardDeviation() + * @see #getStandardDeviation() + * @generated + */ + void setStandardDeviation(double value); + + /** + * Unsets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.TruncatedNormalDistributionType#getStandardDeviation <em>Standard Deviation</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #isSetStandardDeviation() + * @see #getStandardDeviation() + * @see #setStandardDeviation(double) + * @generated + */ + void unsetStandardDeviation(); + + /** + * Returns whether the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.TruncatedNormalDistributionType#getStandardDeviation <em>Standard Deviation</em>}' attribute is set. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return whether the value of the '<em>Standard Deviation</em>' attribute is set. + * @see #unsetStandardDeviation() + * @see #getStandardDeviation() + * @see #setStandardDeviation(double) + * @generated + */ + boolean isSetStandardDeviation(); + +} // TruncatedNormalDistributionType diff --git a/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/UniformDistributionType.java b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/UniformDistributionType.java new file mode 100644 index 00000000..2b1fa209 --- /dev/null +++ b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/UniformDistributionType.java @@ -0,0 +1,132 @@ +/** + */ +package org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim; + + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Uniform Distribution Type</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.UniformDistributionType#getMax <em>Max</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.UniformDistributionType#getMin <em>Min</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getUniformDistributionType() + * @model extendedMetaData="name='UniformDistribution_._type' kind='empty'" + * @generated + */ +public interface UniformDistributionType extends DistributionParameter { + /** + * Returns the value of the '<em><b>Max</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Max</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Max</em>' attribute. + * @see #isSetMax() + * @see #unsetMax() + * @see #setMax(double) + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getUniformDistributionType_Max() + * @model unsettable="true" dataType="org.eclipse.emf.ecore.xml.type.Double" + * extendedMetaData="kind='attribute' name='max'" + * @generated + */ + double getMax(); + + /** + * Sets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.UniformDistributionType#getMax <em>Max</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Max</em>' attribute. + * @see #isSetMax() + * @see #unsetMax() + * @see #getMax() + * @generated + */ + void setMax(double value); + + /** + * Unsets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.UniformDistributionType#getMax <em>Max</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #isSetMax() + * @see #getMax() + * @see #setMax(double) + * @generated + */ + void unsetMax(); + + /** + * Returns whether the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.UniformDistributionType#getMax <em>Max</em>}' attribute is set. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return whether the value of the '<em>Max</em>' attribute is set. + * @see #unsetMax() + * @see #getMax() + * @see #setMax(double) + * @generated + */ + boolean isSetMax(); + + /** + * Returns the value of the '<em><b>Min</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Min</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Min</em>' attribute. + * @see #isSetMin() + * @see #unsetMin() + * @see #setMin(double) + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getUniformDistributionType_Min() + * @model unsettable="true" dataType="org.eclipse.emf.ecore.xml.type.Double" + * extendedMetaData="kind='attribute' name='min'" + * @generated + */ + double getMin(); + + /** + * Sets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.UniformDistributionType#getMin <em>Min</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Min</em>' attribute. + * @see #isSetMin() + * @see #unsetMin() + * @see #getMin() + * @generated + */ + void setMin(double value); + + /** + * Unsets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.UniformDistributionType#getMin <em>Min</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #isSetMin() + * @see #getMin() + * @see #setMin(double) + * @generated + */ + void unsetMin(); + + /** + * Returns whether the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.UniformDistributionType#getMin <em>Min</em>}' attribute is set. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return whether the value of the '<em>Min</em>' attribute is set. + * @see #unsetMin() + * @see #getMin() + * @see #setMin(double) + * @generated + */ + boolean isSetMin(); + +} // UniformDistributionType diff --git a/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/UserDistributionDataPointType.java b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/UserDistributionDataPointType.java new file mode 100644 index 00000000..6819b30d --- /dev/null +++ b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/UserDistributionDataPointType.java @@ -0,0 +1,125 @@ +/** + */ +package org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim; + +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.ecore.util.FeatureMap; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>User Distribution Data Point Type</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.UserDistributionDataPointType#getParameterValueGroup <em>Parameter Value Group</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.UserDistributionDataPointType#getParameterValue <em>Parameter Value</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.UserDistributionDataPointType#getProbability <em>Probability</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getUserDistributionDataPointType() + * @model extendedMetaData="name='UserDistributionDataPoint_._type' kind='elementOnly'" + * @generated + */ +public interface UserDistributionDataPointType extends EObject { + /** + * Returns the value of the '<em><b>Parameter Value Group</b></em>' attribute list. + * The list contents are of type {@link org.eclipse.emf.ecore.util.FeatureMap.Entry}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Parameter Value Group</em>' attribute list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Parameter Value Group</em>' attribute list. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getUserDistributionDataPointType_ParameterValueGroup() + * @model dataType="org.eclipse.emf.ecore.EFeatureMapEntry" required="true" many="false" + * extendedMetaData="kind='group' name='ParameterValue:group' namespace='##targetNamespace'" + * @generated + */ + FeatureMap getParameterValueGroup(); + + /** + * Returns the value of the '<em><b>Parameter Value</b></em>' containment reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Parameter Value</em>' containment reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Parameter Value</em>' containment reference. + * @see #setParameterValue(ParameterValue) + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getUserDistributionDataPointType_ParameterValue() + * @model containment="true" required="true" transient="true" volatile="true" derived="true" + * extendedMetaData="kind='element' name='ParameterValue' namespace='##targetNamespace' group='ParameterValue:group'" + * @generated + */ + ParameterValue getParameterValue(); + + /** + * Sets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.UserDistributionDataPointType#getParameterValue <em>Parameter Value</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Parameter Value</em>' containment reference. + * @see #getParameterValue() + * @generated + */ + void setParameterValue(ParameterValue value); + + /** + * Returns the value of the '<em><b>Probability</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Probability</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Probability</em>' attribute. + * @see #isSetProbability() + * @see #unsetProbability() + * @see #setProbability(float) + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getUserDistributionDataPointType_Probability() + * @model unsettable="true" dataType="org.eclipse.emf.ecore.xml.type.Float" + * extendedMetaData="kind='attribute' name='probability'" + * @generated + */ + float getProbability(); + + /** + * Sets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.UserDistributionDataPointType#getProbability <em>Probability</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Probability</em>' attribute. + * @see #isSetProbability() + * @see #unsetProbability() + * @see #getProbability() + * @generated + */ + void setProbability(float value); + + /** + * Unsets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.UserDistributionDataPointType#getProbability <em>Probability</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #isSetProbability() + * @see #getProbability() + * @see #setProbability(float) + * @generated + */ + void unsetProbability(); + + /** + * Returns whether the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.UserDistributionDataPointType#getProbability <em>Probability</em>}' attribute is set. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return whether the value of the '<em>Probability</em>' attribute is set. + * @see #unsetProbability() + * @see #getProbability() + * @see #setProbability(float) + * @generated + */ + boolean isSetProbability(); + +} // UserDistributionDataPointType diff --git a/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/UserDistributionType.java b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/UserDistributionType.java new file mode 100644 index 00000000..40527e24 --- /dev/null +++ b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/UserDistributionType.java @@ -0,0 +1,116 @@ +/** + */ +package org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim; + +import org.eclipse.emf.common.util.EList; +import org.eclipse.emf.ecore.util.FeatureMap; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>User Distribution Type</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.UserDistributionType#getGroup <em>Group</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.UserDistributionType#getUserDistributionDataPoint <em>User Distribution Data Point</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.UserDistributionType#isDiscrete <em>Discrete</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getUserDistributionType() + * @model extendedMetaData="name='UserDistribution_._type' kind='elementOnly'" + * @generated + */ +public interface UserDistributionType extends DistributionParameter { + /** + * Returns the value of the '<em><b>Group</b></em>' attribute list. + * The list contents are of type {@link org.eclipse.emf.ecore.util.FeatureMap.Entry}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Group</em>' attribute list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Group</em>' attribute list. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getUserDistributionType_Group() + * @model unique="false" dataType="org.eclipse.emf.ecore.EFeatureMapEntry" many="true" + * extendedMetaData="kind='group' name='group:5'" + * @generated + */ + FeatureMap getGroup(); + + /** + * Returns the value of the '<em><b>User Distribution Data Point</b></em>' containment reference list. + * The list contents are of type {@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.UserDistributionDataPointType}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>User Distribution Data Point</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>User Distribution Data Point</em>' containment reference list. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getUserDistributionType_UserDistributionDataPoint() + * @model containment="true" required="true" transient="true" volatile="true" derived="true" + * extendedMetaData="kind='element' name='UserDistributionDataPoint' namespace='##targetNamespace' group='#group:5'" + * @generated + */ + EList<UserDistributionDataPointType> getUserDistributionDataPoint(); + + /** + * Returns the value of the '<em><b>Discrete</b></em>' attribute. + * The default value is <code>"false"</code>. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Discrete</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Discrete</em>' attribute. + * @see #isSetDiscrete() + * @see #unsetDiscrete() + * @see #setDiscrete(boolean) + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getUserDistributionType_Discrete() + * @model default="false" unsettable="true" dataType="org.eclipse.emf.ecore.xml.type.Boolean" + * extendedMetaData="kind='attribute' name='discrete'" + * @generated + */ + boolean isDiscrete(); + + /** + * Sets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.UserDistributionType#isDiscrete <em>Discrete</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Discrete</em>' attribute. + * @see #isSetDiscrete() + * @see #unsetDiscrete() + * @see #isDiscrete() + * @generated + */ + void setDiscrete(boolean value); + + /** + * Unsets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.UserDistributionType#isDiscrete <em>Discrete</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #isSetDiscrete() + * @see #isDiscrete() + * @see #setDiscrete(boolean) + * @generated + */ + void unsetDiscrete(); + + /** + * Returns whether the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.UserDistributionType#isDiscrete <em>Discrete</em>}' attribute is set. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return whether the value of the '<em>Discrete</em>' attribute is set. + * @see #unsetDiscrete() + * @see #isDiscrete() + * @see #setDiscrete(boolean) + * @generated + */ + boolean isSetDiscrete(); + +} // UserDistributionType diff --git a/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/VendorExtension.java b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/VendorExtension.java new file mode 100644 index 00000000..a01e7d2c --- /dev/null +++ b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/VendorExtension.java @@ -0,0 +1,88 @@ +/** + */ +package org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim; + +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.ecore.util.FeatureMap; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Vendor Extension</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.VendorExtension#getAny <em>Any</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.VendorExtension#getName <em>Name</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.VendorExtension#getAnyAttribute <em>Any Attribute</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getVendorExtension() + * @model extendedMetaData="name='VendorExtension' kind='elementOnly'" + * @generated + */ +public interface VendorExtension extends EObject { + /** + * Returns the value of the '<em><b>Any</b></em>' attribute list. + * The list contents are of type {@link org.eclipse.emf.ecore.util.FeatureMap.Entry}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Any</em>' attribute list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Any</em>' attribute list. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getVendorExtension_Any() + * @model dataType="org.eclipse.emf.ecore.EFeatureMapEntry" many="false" + * extendedMetaData="kind='elementWildcard' wildcards='##other' name=':0' processing='strict'" + * @generated + */ + FeatureMap getAny(); + + /** + * Returns the value of the '<em><b>Name</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Name</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Name</em>' attribute. + * @see #setName(String) + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getVendorExtension_Name() + * @model dataType="org.eclipse.emf.ecore.xml.type.String" required="true" + * extendedMetaData="kind='attribute' name='name'" + * @generated + */ + String getName(); + + /** + * Sets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.VendorExtension#getName <em>Name</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Name</em>' attribute. + * @see #getName() + * @generated + */ + void setName(String value); + + /** + * Returns the value of the '<em><b>Any Attribute</b></em>' attribute list. + * The list contents are of type {@link org.eclipse.emf.ecore.util.FeatureMap.Entry}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Any Attribute</em>' attribute list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Any Attribute</em>' attribute list. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getVendorExtension_AnyAttribute() + * @model unique="false" dataType="org.eclipse.emf.ecore.EFeatureMapEntry" many="true" + * extendedMetaData="kind='attributeWildcard' wildcards='##other' name=':2' processing='strict'" + * @generated + */ + FeatureMap getAnyAttribute(); + +} // VendorExtension diff --git a/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/WeibullDistributionType.java b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/WeibullDistributionType.java new file mode 100644 index 00000000..8f260758 --- /dev/null +++ b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/WeibullDistributionType.java @@ -0,0 +1,132 @@ +/** + */ +package org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim; + + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Weibull Distribution Type</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.WeibullDistributionType#getScale <em>Scale</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.WeibullDistributionType#getShape <em>Shape</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getWeibullDistributionType() + * @model extendedMetaData="name='WeibullDistribution_._type' kind='empty'" + * @generated + */ +public interface WeibullDistributionType extends DistributionParameter { + /** + * Returns the value of the '<em><b>Scale</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Scale</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Scale</em>' attribute. + * @see #isSetScale() + * @see #unsetScale() + * @see #setScale(double) + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getWeibullDistributionType_Scale() + * @model unsettable="true" dataType="org.eclipse.emf.ecore.xml.type.Double" + * extendedMetaData="kind='attribute' name='scale'" + * @generated + */ + double getScale(); + + /** + * Sets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.WeibullDistributionType#getScale <em>Scale</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Scale</em>' attribute. + * @see #isSetScale() + * @see #unsetScale() + * @see #getScale() + * @generated + */ + void setScale(double value); + + /** + * Unsets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.WeibullDistributionType#getScale <em>Scale</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #isSetScale() + * @see #getScale() + * @see #setScale(double) + * @generated + */ + void unsetScale(); + + /** + * Returns whether the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.WeibullDistributionType#getScale <em>Scale</em>}' attribute is set. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return whether the value of the '<em>Scale</em>' attribute is set. + * @see #unsetScale() + * @see #getScale() + * @see #setScale(double) + * @generated + */ + boolean isSetScale(); + + /** + * Returns the value of the '<em><b>Shape</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Shape</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Shape</em>' attribute. + * @see #isSetShape() + * @see #unsetShape() + * @see #setShape(double) + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#getWeibullDistributionType_Shape() + * @model unsettable="true" dataType="org.eclipse.emf.ecore.xml.type.Double" + * extendedMetaData="kind='attribute' name='shape'" + * @generated + */ + double getShape(); + + /** + * Sets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.WeibullDistributionType#getShape <em>Shape</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Shape</em>' attribute. + * @see #isSetShape() + * @see #unsetShape() + * @see #getShape() + * @generated + */ + void setShape(double value); + + /** + * Unsets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.WeibullDistributionType#getShape <em>Shape</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #isSetShape() + * @see #getShape() + * @see #setShape(double) + * @generated + */ + void unsetShape(); + + /** + * Returns whether the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.WeibullDistributionType#getShape <em>Shape</em>}' attribute is set. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return whether the value of the '<em>Shape</em>' attribute is set. + * @see #unsetShape() + * @see #getShape() + * @see #setShape(double) + * @generated + */ + boolean isSetShape(); + +} // WeibullDistributionType diff --git a/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/impl/BPSimDataTypeImpl.java b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/impl/BPSimDataTypeImpl.java new file mode 100644 index 00000000..51a48138 --- /dev/null +++ b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/impl/BPSimDataTypeImpl.java @@ -0,0 +1,187 @@ +/** + */ +package org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl; + +import java.util.Collection; + +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BPSimDataType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.Scenario; +import org.eclipse.emf.common.notify.NotificationChain; +import org.eclipse.emf.common.util.EList; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; +import org.eclipse.emf.ecore.impl.EObjectImpl; +import org.eclipse.emf.ecore.util.BasicFeatureMap; +import org.eclipse.emf.ecore.util.FeatureMap; +import org.eclipse.emf.ecore.util.InternalEList; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>BP Sim Data Type</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.BPSimDataTypeImpl#getGroup <em>Group</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.BPSimDataTypeImpl#getScenario <em>Scenario</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class BPSimDataTypeImpl extends EObjectImpl implements BPSimDataType { + /** + * The cached value of the '{@link #getGroup() <em>Group</em>}' attribute list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getGroup() + * @generated + * @ordered + */ + protected FeatureMap group; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected BPSimDataTypeImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return BpsimPackage.Literals.BP_SIM_DATA_TYPE; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public FeatureMap getGroup() { + if (group == null) { + group = new BasicFeatureMap(this, BpsimPackage.BP_SIM_DATA_TYPE__GROUP); + } + return group; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList<Scenario> getScenario() { + return getGroup().list(BpsimPackage.Literals.BP_SIM_DATA_TYPE__SCENARIO); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case BpsimPackage.BP_SIM_DATA_TYPE__GROUP: + return ((InternalEList<?>)getGroup()).basicRemove(otherEnd, msgs); + case BpsimPackage.BP_SIM_DATA_TYPE__SCENARIO: + return ((InternalEList<?>)getScenario()).basicRemove(otherEnd, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case BpsimPackage.BP_SIM_DATA_TYPE__GROUP: + if (coreType) return getGroup(); + return ((FeatureMap.Internal)getGroup()).getWrapper(); + case BpsimPackage.BP_SIM_DATA_TYPE__SCENARIO: + return getScenario(); + } + 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 BpsimPackage.BP_SIM_DATA_TYPE__GROUP: + ((FeatureMap.Internal)getGroup()).set(newValue); + return; + case BpsimPackage.BP_SIM_DATA_TYPE__SCENARIO: + getScenario().clear(); + getScenario().addAll((Collection<? extends Scenario>)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case BpsimPackage.BP_SIM_DATA_TYPE__GROUP: + getGroup().clear(); + return; + case BpsimPackage.BP_SIM_DATA_TYPE__SCENARIO: + getScenario().clear(); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case BpsimPackage.BP_SIM_DATA_TYPE__GROUP: + return group != null && !group.isEmpty(); + case BpsimPackage.BP_SIM_DATA_TYPE__SCENARIO: + return !getScenario().isEmpty(); + } + return super.eIsSet(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (group: "); + result.append(group); + result.append(')'); + return result.toString(); + } + +} //BPSimDataTypeImpl diff --git a/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/impl/BetaDistributionTypeImpl.java b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/impl/BetaDistributionTypeImpl.java new file mode 100644 index 00000000..678d6ca1 --- /dev/null +++ b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/impl/BetaDistributionTypeImpl.java @@ -0,0 +1,281 @@ +/** + */ +package org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl; + +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BetaDistributionType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage; +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Beta Distribution Type</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.BetaDistributionTypeImpl#getScale <em>Scale</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.BetaDistributionTypeImpl#getShape <em>Shape</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class BetaDistributionTypeImpl extends DistributionParameterImpl implements BetaDistributionType { + /** + * The default value of the '{@link #getScale() <em>Scale</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getScale() + * @generated + * @ordered + */ + protected static final double SCALE_EDEFAULT = 0.0; + + /** + * The cached value of the '{@link #getScale() <em>Scale</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getScale() + * @generated + * @ordered + */ + protected double scale = SCALE_EDEFAULT; + + /** + * This is true if the Scale attribute has been set. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + protected boolean scaleESet; + + /** + * The default value of the '{@link #getShape() <em>Shape</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getShape() + * @generated + * @ordered + */ + protected static final double SHAPE_EDEFAULT = 0.0; + + /** + * The cached value of the '{@link #getShape() <em>Shape</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getShape() + * @generated + * @ordered + */ + protected double shape = SHAPE_EDEFAULT; + + /** + * This is true if the Shape attribute has been set. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + protected boolean shapeESet; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected BetaDistributionTypeImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return BpsimPackage.Literals.BETA_DISTRIBUTION_TYPE; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public double getScale() { + return scale; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setScale(double newScale) { + double oldScale = scale; + scale = newScale; + boolean oldScaleESet = scaleESet; + scaleESet = true; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, BpsimPackage.BETA_DISTRIBUTION_TYPE__SCALE, oldScale, scale, !oldScaleESet)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void unsetScale() { + double oldScale = scale; + boolean oldScaleESet = scaleESet; + scale = SCALE_EDEFAULT; + scaleESet = false; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.UNSET, BpsimPackage.BETA_DISTRIBUTION_TYPE__SCALE, oldScale, SCALE_EDEFAULT, oldScaleESet)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean isSetScale() { + return scaleESet; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public double getShape() { + return shape; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setShape(double newShape) { + double oldShape = shape; + shape = newShape; + boolean oldShapeESet = shapeESet; + shapeESet = true; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, BpsimPackage.BETA_DISTRIBUTION_TYPE__SHAPE, oldShape, shape, !oldShapeESet)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void unsetShape() { + double oldShape = shape; + boolean oldShapeESet = shapeESet; + shape = SHAPE_EDEFAULT; + shapeESet = false; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.UNSET, BpsimPackage.BETA_DISTRIBUTION_TYPE__SHAPE, oldShape, SHAPE_EDEFAULT, oldShapeESet)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean isSetShape() { + return shapeESet; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case BpsimPackage.BETA_DISTRIBUTION_TYPE__SCALE: + return getScale(); + case BpsimPackage.BETA_DISTRIBUTION_TYPE__SHAPE: + return getShape(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case BpsimPackage.BETA_DISTRIBUTION_TYPE__SCALE: + setScale((Double)newValue); + return; + case BpsimPackage.BETA_DISTRIBUTION_TYPE__SHAPE: + setShape((Double)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case BpsimPackage.BETA_DISTRIBUTION_TYPE__SCALE: + unsetScale(); + return; + case BpsimPackage.BETA_DISTRIBUTION_TYPE__SHAPE: + unsetShape(); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case BpsimPackage.BETA_DISTRIBUTION_TYPE__SCALE: + return isSetScale(); + case BpsimPackage.BETA_DISTRIBUTION_TYPE__SHAPE: + return isSetShape(); + } + return super.eIsSet(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (scale: "); + if (scaleESet) result.append(scale); else result.append("<unset>"); + result.append(", shape: "); + if (shapeESet) result.append(shape); else result.append("<unset>"); + result.append(')'); + return result.toString(); + } + +} //BetaDistributionTypeImpl diff --git a/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/impl/BinomialDistributionTypeImpl.java b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/impl/BinomialDistributionTypeImpl.java new file mode 100644 index 00000000..5c668d15 --- /dev/null +++ b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/impl/BinomialDistributionTypeImpl.java @@ -0,0 +1,281 @@ +/** + */ +package org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl; + +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BinomialDistributionType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage; +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Binomial Distribution Type</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.BinomialDistributionTypeImpl#getProbability <em>Probability</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.BinomialDistributionTypeImpl#getTrials <em>Trials</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class BinomialDistributionTypeImpl extends DistributionParameterImpl implements BinomialDistributionType { + /** + * The default value of the '{@link #getProbability() <em>Probability</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getProbability() + * @generated + * @ordered + */ + protected static final double PROBABILITY_EDEFAULT = 0.0; + + /** + * The cached value of the '{@link #getProbability() <em>Probability</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getProbability() + * @generated + * @ordered + */ + protected double probability = PROBABILITY_EDEFAULT; + + /** + * This is true if the Probability attribute has been set. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + protected boolean probabilityESet; + + /** + * The default value of the '{@link #getTrials() <em>Trials</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getTrials() + * @generated + * @ordered + */ + protected static final long TRIALS_EDEFAULT = 0L; + + /** + * The cached value of the '{@link #getTrials() <em>Trials</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getTrials() + * @generated + * @ordered + */ + protected long trials = TRIALS_EDEFAULT; + + /** + * This is true if the Trials attribute has been set. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + protected boolean trialsESet; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected BinomialDistributionTypeImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return BpsimPackage.Literals.BINOMIAL_DISTRIBUTION_TYPE; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public double getProbability() { + return probability; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setProbability(double newProbability) { + double oldProbability = probability; + probability = newProbability; + boolean oldProbabilityESet = probabilityESet; + probabilityESet = true; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, BpsimPackage.BINOMIAL_DISTRIBUTION_TYPE__PROBABILITY, oldProbability, probability, !oldProbabilityESet)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void unsetProbability() { + double oldProbability = probability; + boolean oldProbabilityESet = probabilityESet; + probability = PROBABILITY_EDEFAULT; + probabilityESet = false; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.UNSET, BpsimPackage.BINOMIAL_DISTRIBUTION_TYPE__PROBABILITY, oldProbability, PROBABILITY_EDEFAULT, oldProbabilityESet)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean isSetProbability() { + return probabilityESet; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public long getTrials() { + return trials; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setTrials(long newTrials) { + long oldTrials = trials; + trials = newTrials; + boolean oldTrialsESet = trialsESet; + trialsESet = true; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, BpsimPackage.BINOMIAL_DISTRIBUTION_TYPE__TRIALS, oldTrials, trials, !oldTrialsESet)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void unsetTrials() { + long oldTrials = trials; + boolean oldTrialsESet = trialsESet; + trials = TRIALS_EDEFAULT; + trialsESet = false; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.UNSET, BpsimPackage.BINOMIAL_DISTRIBUTION_TYPE__TRIALS, oldTrials, TRIALS_EDEFAULT, oldTrialsESet)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean isSetTrials() { + return trialsESet; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case BpsimPackage.BINOMIAL_DISTRIBUTION_TYPE__PROBABILITY: + return getProbability(); + case BpsimPackage.BINOMIAL_DISTRIBUTION_TYPE__TRIALS: + return getTrials(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case BpsimPackage.BINOMIAL_DISTRIBUTION_TYPE__PROBABILITY: + setProbability((Double)newValue); + return; + case BpsimPackage.BINOMIAL_DISTRIBUTION_TYPE__TRIALS: + setTrials((Long)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case BpsimPackage.BINOMIAL_DISTRIBUTION_TYPE__PROBABILITY: + unsetProbability(); + return; + case BpsimPackage.BINOMIAL_DISTRIBUTION_TYPE__TRIALS: + unsetTrials(); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case BpsimPackage.BINOMIAL_DISTRIBUTION_TYPE__PROBABILITY: + return isSetProbability(); + case BpsimPackage.BINOMIAL_DISTRIBUTION_TYPE__TRIALS: + return isSetTrials(); + } + return super.eIsSet(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (probability: "); + if (probabilityESet) result.append(probability); else result.append("<unset>"); + result.append(", trials: "); + if (trialsESet) result.append(trials); else result.append("<unset>"); + result.append(')'); + return result.toString(); + } + +} //BinomialDistributionTypeImpl diff --git a/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/impl/BooleanParameterTypeImpl.java b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/impl/BooleanParameterTypeImpl.java new file mode 100644 index 00000000..8926eb85 --- /dev/null +++ b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/impl/BooleanParameterTypeImpl.java @@ -0,0 +1,193 @@ +/** + */ +package org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl; + +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BooleanParameterType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage; +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Boolean Parameter Type</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.BooleanParameterTypeImpl#isValue <em>Value</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class BooleanParameterTypeImpl extends ConstantParameterImpl implements BooleanParameterType { + /** + * The default value of the '{@link #isValue() <em>Value</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #isValue() + * @generated + * @ordered + */ + protected static final boolean VALUE_EDEFAULT = false; + + /** + * The cached value of the '{@link #isValue() <em>Value</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #isValue() + * @generated + * @ordered + */ + protected boolean value = VALUE_EDEFAULT; + + /** + * This is true if the Value attribute has been set. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + protected boolean valueESet; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected BooleanParameterTypeImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return BpsimPackage.Literals.BOOLEAN_PARAMETER_TYPE; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean isValue() { + return value; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setValue(boolean newValue) { + boolean oldValue = value; + value = newValue; + boolean oldValueESet = valueESet; + valueESet = true; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, BpsimPackage.BOOLEAN_PARAMETER_TYPE__VALUE, oldValue, value, !oldValueESet)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void unsetValue() { + boolean oldValue = value; + boolean oldValueESet = valueESet; + value = VALUE_EDEFAULT; + valueESet = false; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.UNSET, BpsimPackage.BOOLEAN_PARAMETER_TYPE__VALUE, oldValue, VALUE_EDEFAULT, oldValueESet)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean isSetValue() { + return valueESet; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case BpsimPackage.BOOLEAN_PARAMETER_TYPE__VALUE: + return isValue(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case BpsimPackage.BOOLEAN_PARAMETER_TYPE__VALUE: + setValue((Boolean)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case BpsimPackage.BOOLEAN_PARAMETER_TYPE__VALUE: + unsetValue(); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case BpsimPackage.BOOLEAN_PARAMETER_TYPE__VALUE: + return isSetValue(); + } + return super.eIsSet(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (value: "); + if (valueESet) result.append(value); else result.append("<unset>"); + result.append(')'); + return result.toString(); + } + +} //BooleanParameterTypeImpl diff --git a/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/impl/BpsimFactoryImpl.java b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/impl/BpsimFactoryImpl.java new file mode 100644 index 00000000..53dfa682 --- /dev/null +++ b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/impl/BpsimFactoryImpl.java @@ -0,0 +1,708 @@ +/** + */ +package org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl; + +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.*; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BPSimDataType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BetaDistributionType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BinomialDistributionType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BooleanParameterType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimFactory; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.Calendar; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ConstantParameter; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ControlParameters; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.CostParameters; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DateTimeParameterType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DistributionParameter; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DocumentRoot; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DurationParameterType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ElementParameters; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ElementParametersType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.EnumParameterType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ErlangDistributionType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ExpressionParameterType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.FloatingParameterType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.GammaDistributionType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.LogNormalDistributionType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.NegativeExponentialDistributionType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.NormalDistributionType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.NumericParameterType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.Parameter; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ParameterValue; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.PoissonDistributionType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.PriorityParameters; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.PropertyParameters; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.PropertyType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ResourceParameters; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ResultType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.Scenario; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ScenarioParameters; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ScenarioParametersType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.StringParameterType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.TimeParameters; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.TimeUnit; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.TriangularDistributionType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.TruncatedNormalDistributionType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.UniformDistributionType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.UserDistributionDataPointType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.UserDistributionType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.VendorExtension; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.WeibullDistributionType; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EDataType; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.ecore.EPackage; +import org.eclipse.emf.ecore.impl.EFactoryImpl; +import org.eclipse.emf.ecore.plugin.EcorePlugin; + +/** + * <!-- begin-user-doc --> + * An implementation of the model <b>Factory</b>. + * <!-- end-user-doc --> + * @generated + */ +public class BpsimFactoryImpl extends EFactoryImpl implements BpsimFactory { + /** + * Creates the default factory implementation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public static BpsimFactory init() { + try { + BpsimFactory theBpsimFactory = (BpsimFactory)EPackage.Registry.INSTANCE.getEFactory("http://www.bpsim.org/schemas/1.0"); + if (theBpsimFactory != null) { + return theBpsimFactory; + } + } + catch (Exception exception) { + EcorePlugin.INSTANCE.log(exception); + } + return new BpsimFactoryImpl(); + } + + /** + * Creates an instance of the factory. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public BpsimFactoryImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public EObject create(EClass eClass) { + switch (eClass.getClassifierID()) { + case BpsimPackage.BETA_DISTRIBUTION_TYPE: return createBetaDistributionType(); + case BpsimPackage.BINOMIAL_DISTRIBUTION_TYPE: return createBinomialDistributionType(); + case BpsimPackage.BOOLEAN_PARAMETER_TYPE: return createBooleanParameterType(); + case BpsimPackage.BP_SIM_DATA_TYPE: return createBPSimDataType(); + case BpsimPackage.CALENDAR: return createCalendar(); + case BpsimPackage.CONSTANT_PARAMETER: return createConstantParameter(); + case BpsimPackage.CONTROL_PARAMETERS: return createControlParameters(); + case BpsimPackage.COST_PARAMETERS: return createCostParameters(); + case BpsimPackage.DATE_TIME_PARAMETER_TYPE: return createDateTimeParameterType(); + case BpsimPackage.DISTRIBUTION_PARAMETER: return createDistributionParameter(); + case BpsimPackage.DOCUMENT_ROOT: return createDocumentRoot(); + case BpsimPackage.DURATION_PARAMETER_TYPE: return createDurationParameterType(); + case BpsimPackage.ELEMENT_PARAMETERS: return createElementParameters(); + case BpsimPackage.ELEMENT_PARAMETERS_TYPE: return createElementParametersType(); + case BpsimPackage.ENUM_PARAMETER_TYPE: return createEnumParameterType(); + case BpsimPackage.ERLANG_DISTRIBUTION_TYPE: return createErlangDistributionType(); + case BpsimPackage.EXPRESSION_PARAMETER_TYPE: return createExpressionParameterType(); + case BpsimPackage.FLOATING_PARAMETER_TYPE: return createFloatingParameterType(); + case BpsimPackage.GAMMA_DISTRIBUTION_TYPE: return createGammaDistributionType(); + case BpsimPackage.LOG_NORMAL_DISTRIBUTION_TYPE: return createLogNormalDistributionType(); + case BpsimPackage.NEGATIVE_EXPONENTIAL_DISTRIBUTION_TYPE: return createNegativeExponentialDistributionType(); + case BpsimPackage.NORMAL_DISTRIBUTION_TYPE: return createNormalDistributionType(); + case BpsimPackage.NUMERIC_PARAMETER_TYPE: return createNumericParameterType(); + case BpsimPackage.PARAMETER: return createParameter(); + case BpsimPackage.PARAMETER_VALUE: return createParameterValue(); + case BpsimPackage.POISSON_DISTRIBUTION_TYPE: return createPoissonDistributionType(); + case BpsimPackage.PRIORITY_PARAMETERS: return createPriorityParameters(); + case BpsimPackage.PROPERTY_PARAMETERS: return createPropertyParameters(); + case BpsimPackage.PROPERTY_TYPE: return createPropertyType(); + case BpsimPackage.RESOURCE_PARAMETERS: return createResourceParameters(); + case BpsimPackage.SCENARIO: return createScenario(); + case BpsimPackage.SCENARIO_PARAMETERS: return createScenarioParameters(); + case BpsimPackage.SCENARIO_PARAMETERS_TYPE: return createScenarioParametersType(); + case BpsimPackage.STRING_PARAMETER_TYPE: return createStringParameterType(); + case BpsimPackage.TIME_PARAMETERS: return createTimeParameters(); + case BpsimPackage.TRIANGULAR_DISTRIBUTION_TYPE: return createTriangularDistributionType(); + case BpsimPackage.TRUNCATED_NORMAL_DISTRIBUTION_TYPE: return createTruncatedNormalDistributionType(); + case BpsimPackage.UNIFORM_DISTRIBUTION_TYPE: return createUniformDistributionType(); + case BpsimPackage.USER_DISTRIBUTION_DATA_POINT_TYPE: return createUserDistributionDataPointType(); + case BpsimPackage.USER_DISTRIBUTION_TYPE: return createUserDistributionType(); + case BpsimPackage.VENDOR_EXTENSION: return createVendorExtension(); + case BpsimPackage.WEIBULL_DISTRIBUTION_TYPE: return createWeibullDistributionType(); + default: + throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); + } + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object createFromString(EDataType eDataType, String initialValue) { + switch (eDataType.getClassifierID()) { + case BpsimPackage.RESULT_TYPE: + return createResultTypeFromString(eDataType, initialValue); + case BpsimPackage.TIME_UNIT: + return createTimeUnitFromString(eDataType, initialValue); + case BpsimPackage.RESULT_TYPE_OBJECT: + return createResultTypeObjectFromString(eDataType, initialValue); + case BpsimPackage.TIME_UNIT_OBJECT: + return createTimeUnitObjectFromString(eDataType, initialValue); + default: + throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); + } + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public String convertToString(EDataType eDataType, Object instanceValue) { + switch (eDataType.getClassifierID()) { + case BpsimPackage.RESULT_TYPE: + return convertResultTypeToString(eDataType, instanceValue); + case BpsimPackage.TIME_UNIT: + return convertTimeUnitToString(eDataType, instanceValue); + case BpsimPackage.RESULT_TYPE_OBJECT: + return convertResultTypeObjectToString(eDataType, instanceValue); + case BpsimPackage.TIME_UNIT_OBJECT: + return convertTimeUnitObjectToString(eDataType, instanceValue); + default: + throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); + } + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public BetaDistributionType createBetaDistributionType() { + BetaDistributionTypeImpl betaDistributionType = new BetaDistributionTypeImpl(); + return betaDistributionType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public BinomialDistributionType createBinomialDistributionType() { + BinomialDistributionTypeImpl binomialDistributionType = new BinomialDistributionTypeImpl(); + return binomialDistributionType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public BooleanParameterType createBooleanParameterType() { + BooleanParameterTypeImpl booleanParameterType = new BooleanParameterTypeImpl(); + return booleanParameterType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public BPSimDataType createBPSimDataType() { + BPSimDataTypeImpl bpSimDataType = new BPSimDataTypeImpl(); + return bpSimDataType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Calendar createCalendar() { + CalendarImpl calendar = new CalendarImpl(); + return calendar; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ConstantParameter createConstantParameter() { + ConstantParameterImpl constantParameter = new ConstantParameterImpl(); + return constantParameter; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ControlParameters createControlParameters() { + ControlParametersImpl controlParameters = new ControlParametersImpl(); + return controlParameters; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public CostParameters createCostParameters() { + CostParametersImpl costParameters = new CostParametersImpl(); + return costParameters; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public DateTimeParameterType createDateTimeParameterType() { + DateTimeParameterTypeImpl dateTimeParameterType = new DateTimeParameterTypeImpl(); + return dateTimeParameterType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public DistributionParameter createDistributionParameter() { + DistributionParameterImpl distributionParameter = new DistributionParameterImpl(); + return distributionParameter; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public DocumentRoot createDocumentRoot() { + DocumentRootImpl documentRoot = new DocumentRootImpl(); + return documentRoot; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public DurationParameterType createDurationParameterType() { + DurationParameterTypeImpl durationParameterType = new DurationParameterTypeImpl(); + return durationParameterType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ElementParameters createElementParameters() { + ElementParametersImpl elementParameters = new ElementParametersImpl(); + return elementParameters; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ElementParametersType createElementParametersType() { + ElementParametersTypeImpl elementParametersType = new ElementParametersTypeImpl(); + return elementParametersType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EnumParameterType createEnumParameterType() { + EnumParameterTypeImpl enumParameterType = new EnumParameterTypeImpl(); + return enumParameterType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ErlangDistributionType createErlangDistributionType() { + ErlangDistributionTypeImpl erlangDistributionType = new ErlangDistributionTypeImpl(); + return erlangDistributionType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ExpressionParameterType createExpressionParameterType() { + ExpressionParameterTypeImpl expressionParameterType = new ExpressionParameterTypeImpl(); + return expressionParameterType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public FloatingParameterType createFloatingParameterType() { + FloatingParameterTypeImpl floatingParameterType = new FloatingParameterTypeImpl(); + return floatingParameterType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public GammaDistributionType createGammaDistributionType() { + GammaDistributionTypeImpl gammaDistributionType = new GammaDistributionTypeImpl(); + return gammaDistributionType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public LogNormalDistributionType createLogNormalDistributionType() { + LogNormalDistributionTypeImpl logNormalDistributionType = new LogNormalDistributionTypeImpl(); + return logNormalDistributionType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NegativeExponentialDistributionType createNegativeExponentialDistributionType() { + NegativeExponentialDistributionTypeImpl negativeExponentialDistributionType = new NegativeExponentialDistributionTypeImpl(); + return negativeExponentialDistributionType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NormalDistributionType createNormalDistributionType() { + NormalDistributionTypeImpl normalDistributionType = new NormalDistributionTypeImpl(); + return normalDistributionType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NumericParameterType createNumericParameterType() { + NumericParameterTypeImpl numericParameterType = new NumericParameterTypeImpl(); + return numericParameterType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Parameter createParameter() { + ParameterImpl parameter = new ParameterImpl(); + return parameter; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ParameterValue createParameterValue() { + ParameterValueImpl parameterValue = new ParameterValueImpl(); + return parameterValue; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public PoissonDistributionType createPoissonDistributionType() { + PoissonDistributionTypeImpl poissonDistributionType = new PoissonDistributionTypeImpl(); + return poissonDistributionType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public PriorityParameters createPriorityParameters() { + PriorityParametersImpl priorityParameters = new PriorityParametersImpl(); + return priorityParameters; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public PropertyParameters createPropertyParameters() { + PropertyParametersImpl propertyParameters = new PropertyParametersImpl(); + return propertyParameters; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public PropertyType createPropertyType() { + PropertyTypeImpl propertyType = new PropertyTypeImpl(); + return propertyType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ResourceParameters createResourceParameters() { + ResourceParametersImpl resourceParameters = new ResourceParametersImpl(); + return resourceParameters; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Scenario createScenario() { + ScenarioImpl scenario = new ScenarioImpl(); + return scenario; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ScenarioParameters createScenarioParameters() { + ScenarioParametersImpl scenarioParameters = new ScenarioParametersImpl(); + return scenarioParameters; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ScenarioParametersType createScenarioParametersType() { + ScenarioParametersTypeImpl scenarioParametersType = new ScenarioParametersTypeImpl(); + return scenarioParametersType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public StringParameterType createStringParameterType() { + StringParameterTypeImpl stringParameterType = new StringParameterTypeImpl(); + return stringParameterType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public TimeParameters createTimeParameters() { + TimeParametersImpl timeParameters = new TimeParametersImpl(); + return timeParameters; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public TriangularDistributionType createTriangularDistributionType() { + TriangularDistributionTypeImpl triangularDistributionType = new TriangularDistributionTypeImpl(); + return triangularDistributionType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public TruncatedNormalDistributionType createTruncatedNormalDistributionType() { + TruncatedNormalDistributionTypeImpl truncatedNormalDistributionType = new TruncatedNormalDistributionTypeImpl(); + return truncatedNormalDistributionType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public UniformDistributionType createUniformDistributionType() { + UniformDistributionTypeImpl uniformDistributionType = new UniformDistributionTypeImpl(); + return uniformDistributionType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public UserDistributionDataPointType createUserDistributionDataPointType() { + UserDistributionDataPointTypeImpl userDistributionDataPointType = new UserDistributionDataPointTypeImpl(); + return userDistributionDataPointType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public UserDistributionType createUserDistributionType() { + UserDistributionTypeImpl userDistributionType = new UserDistributionTypeImpl(); + return userDistributionType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public VendorExtension createVendorExtension() { + VendorExtensionImpl vendorExtension = new VendorExtensionImpl(); + return vendorExtension; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public WeibullDistributionType createWeibullDistributionType() { + WeibullDistributionTypeImpl weibullDistributionType = new WeibullDistributionTypeImpl(); + return weibullDistributionType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ResultType createResultTypeFromString(EDataType eDataType, String initialValue) { + ResultType result = ResultType.get(initialValue); + if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); + return result; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String convertResultTypeToString(EDataType eDataType, Object instanceValue) { + return instanceValue == null ? null : instanceValue.toString(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public TimeUnit createTimeUnitFromString(EDataType eDataType, String initialValue) { + TimeUnit result = TimeUnit.get(initialValue); + if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); + return result; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String convertTimeUnitToString(EDataType eDataType, Object instanceValue) { + return instanceValue == null ? null : instanceValue.toString(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ResultType createResultTypeObjectFromString(EDataType eDataType, String initialValue) { + return createResultTypeFromString(BpsimPackage.Literals.RESULT_TYPE, initialValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String convertResultTypeObjectToString(EDataType eDataType, Object instanceValue) { + return convertResultTypeToString(BpsimPackage.Literals.RESULT_TYPE, instanceValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public TimeUnit createTimeUnitObjectFromString(EDataType eDataType, String initialValue) { + return createTimeUnitFromString(BpsimPackage.Literals.TIME_UNIT, initialValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String convertTimeUnitObjectToString(EDataType eDataType, Object instanceValue) { + return convertTimeUnitToString(BpsimPackage.Literals.TIME_UNIT, instanceValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public BpsimPackage getBpsimPackage() { + return (BpsimPackage)getEPackage(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @deprecated + * @generated + */ + @Deprecated + public static BpsimPackage getPackage() { + return BpsimPackage.eINSTANCE; + } + +} //BpsimFactoryImpl diff --git a/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/impl/BpsimPackageImpl.java b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/impl/BpsimPackageImpl.java new file mode 100644 index 00000000..6cb94f5b --- /dev/null +++ b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/impl/BpsimPackageImpl.java @@ -0,0 +1,4140 @@ +/** + */ +package org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl; + +import org.eclipse.bpmn2.Bpmn2Package; +import org.eclipse.bpmn2.di.BpmnDiPackage; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BPSimDataType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BetaDistributionType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BinomialDistributionType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BooleanParameterType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimFactory; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.Calendar; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ConstantParameter; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ControlParameters; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.CostParameters; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DateTimeParameterType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DistributionParameter; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DocumentRoot; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DurationParameterType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ElementParameters; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ElementParametersType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.EnumParameterType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ErlangDistributionType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ExpressionParameterType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.FloatingParameterType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.GammaDistributionType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.LogNormalDistributionType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.NegativeExponentialDistributionType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.NormalDistributionType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.NumericParameterType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.Parameter; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ParameterValue; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.PoissonDistributionType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.PriorityParameters; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.PropertyParameters; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.PropertyType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ResourceParameters; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ResultType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.Scenario; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ScenarioParameters; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ScenarioParametersType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.StringParameterType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.TimeParameters; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.TimeUnit; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.TriangularDistributionType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.TruncatedNormalDistributionType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.UniformDistributionType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.UserDistributionDataPointType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.UserDistributionType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.VendorExtension; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.WeibullDistributionType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.DroolsPackage; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.impl.DroolsPackageImpl; +import org.eclipse.dd.dc.DcPackage; +import org.eclipse.dd.di.DiPackage; +import org.eclipse.emf.ecore.EAttribute; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EDataType; +import org.eclipse.emf.ecore.EEnum; +import org.eclipse.emf.ecore.EPackage; +import org.eclipse.emf.ecore.EReference; +import org.eclipse.emf.ecore.impl.EPackageImpl; +import org.eclipse.emf.ecore.xml.type.XMLTypePackage; + +/** + * <!-- begin-user-doc --> + * An implementation of the model <b>Package</b>. + * <!-- end-user-doc --> + * @generated + */ +public class BpsimPackageImpl extends EPackageImpl implements BpsimPackage { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass betaDistributionTypeEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass binomialDistributionTypeEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass booleanParameterTypeEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass bpSimDataTypeEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass calendarEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass constantParameterEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass controlParametersEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass costParametersEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass dateTimeParameterTypeEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass distributionParameterEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass documentRootEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass durationParameterTypeEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass elementParametersEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass elementParametersTypeEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass enumParameterTypeEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass erlangDistributionTypeEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass expressionParameterTypeEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass floatingParameterTypeEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass gammaDistributionTypeEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass logNormalDistributionTypeEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass negativeExponentialDistributionTypeEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass normalDistributionTypeEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass numericParameterTypeEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass parameterEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass parameterValueEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass poissonDistributionTypeEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass priorityParametersEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass propertyParametersEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass propertyTypeEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass resourceParametersEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass scenarioEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass scenarioParametersEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass scenarioParametersTypeEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass stringParameterTypeEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass timeParametersEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass triangularDistributionTypeEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass truncatedNormalDistributionTypeEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass uniformDistributionTypeEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass userDistributionDataPointTypeEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass userDistributionTypeEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass vendorExtensionEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass weibullDistributionTypeEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EEnum resultTypeEEnum = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EEnum timeUnitEEnum = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EDataType resultTypeObjectEDataType = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EDataType timeUnitObjectEDataType = null; + + /** + * Creates an instance of the model <b>Package</b>, registered with + * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package + * package URI value. + * <p>Note: the correct way to create the package is via the static + * factory method {@link #init init()}, which also performs + * initialization of the package, or returns the registered package, + * if one already exists. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.emf.ecore.EPackage.Registry + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage#eNS_URI + * @see #init() + * @generated + */ + private BpsimPackageImpl() { + super(eNS_URI, BpsimFactory.eINSTANCE); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private static boolean isInited = false; + + /** + * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends. + * + * <p>This method is used to initialize {@link BpsimPackage#eINSTANCE} when that field is accessed. + * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #eNS_URI + * @see #createPackageContents() + * @see #initializePackageContents() + * @generated + */ + public static BpsimPackage init() { + if (isInited) return (BpsimPackage)EPackage.Registry.INSTANCE.getEPackage(BpsimPackage.eNS_URI); + + // Obtain or create and register package + BpsimPackageImpl theBpsimPackage = (BpsimPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof BpsimPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new BpsimPackageImpl()); + + isInited = true; + + // Initialize simple dependencies + Bpmn2Package.eINSTANCE.eClass(); + BpmnDiPackage.eINSTANCE.eClass(); + DiPackage.eINSTANCE.eClass(); + DcPackage.eINSTANCE.eClass(); + XMLTypePackage.eINSTANCE.eClass(); + + // Obtain or create and register interdependencies + DroolsPackageImpl theDroolsPackage = (DroolsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(DroolsPackage.eNS_URI) instanceof DroolsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(DroolsPackage.eNS_URI) : DroolsPackage.eINSTANCE); + + // Create package meta-data objects + theBpsimPackage.createPackageContents(); + theDroolsPackage.createPackageContents(); + + // Initialize created meta-data + theBpsimPackage.initializePackageContents(); + theDroolsPackage.initializePackageContents(); + + // Mark meta-data to indicate it can't be changed + theBpsimPackage.freeze(); + + + // Update the registry and return the package + EPackage.Registry.INSTANCE.put(BpsimPackage.eNS_URI, theBpsimPackage); + return theBpsimPackage; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getBetaDistributionType() { + return betaDistributionTypeEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getBetaDistributionType_Scale() { + return (EAttribute)betaDistributionTypeEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getBetaDistributionType_Shape() { + return (EAttribute)betaDistributionTypeEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getBinomialDistributionType() { + return binomialDistributionTypeEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getBinomialDistributionType_Probability() { + return (EAttribute)binomialDistributionTypeEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getBinomialDistributionType_Trials() { + return (EAttribute)binomialDistributionTypeEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getBooleanParameterType() { + return booleanParameterTypeEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getBooleanParameterType_Value() { + return (EAttribute)booleanParameterTypeEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getBPSimDataType() { + return bpSimDataTypeEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getBPSimDataType_Group() { + return (EAttribute)bpSimDataTypeEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getBPSimDataType_Scenario() { + return (EReference)bpSimDataTypeEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getCalendar() { + return calendarEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getCalendar_Value() { + return (EAttribute)calendarEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getCalendar_Id() { + return (EAttribute)calendarEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getCalendar_Name() { + return (EAttribute)calendarEClass.getEStructuralFeatures().get(2); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getConstantParameter() { + return constantParameterEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getControlParameters() { + return controlParametersEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getControlParameters_Probability() { + return (EReference)controlParametersEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getControlParameters_Condition() { + return (EReference)controlParametersEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getControlParameters_InterTriggerTimer() { + return (EReference)controlParametersEClass.getEStructuralFeatures().get(2); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getControlParameters_TriggerCount() { + return (EReference)controlParametersEClass.getEStructuralFeatures().get(3); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getCostParameters() { + return costParametersEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getCostParameters_FixedCost() { + return (EReference)costParametersEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getCostParameters_UnitCost() { + return (EReference)costParametersEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getDateTimeParameterType() { + return dateTimeParameterTypeEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getDateTimeParameterType_Value() { + return (EAttribute)dateTimeParameterTypeEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getDistributionParameter() { + return distributionParameterEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getDistributionParameter_CurrencyUnit() { + return (EAttribute)distributionParameterEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getDistributionParameter_TimeUnit() { + return (EAttribute)distributionParameterEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getDocumentRoot() { + return documentRootEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getDocumentRoot_Mixed() { + return (EAttribute)documentRootEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getDocumentRoot_XMLNSPrefixMap() { + return (EReference)documentRootEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getDocumentRoot_XSISchemaLocation() { + return (EReference)documentRootEClass.getEStructuralFeatures().get(2); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getDocumentRoot_BetaDistribution() { + return (EReference)documentRootEClass.getEStructuralFeatures().get(3); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getDocumentRoot_ParameterValue() { + return (EReference)documentRootEClass.getEStructuralFeatures().get(4); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getDocumentRoot_BinomialDistribution() { + return (EReference)documentRootEClass.getEStructuralFeatures().get(5); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getDocumentRoot_BooleanParameter() { + return (EReference)documentRootEClass.getEStructuralFeatures().get(6); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getDocumentRoot_BPSimData() { + return (EReference)documentRootEClass.getEStructuralFeatures().get(7); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getDocumentRoot_DateTimeParameter() { + return (EReference)documentRootEClass.getEStructuralFeatures().get(8); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getDocumentRoot_DurationParameter() { + return (EReference)documentRootEClass.getEStructuralFeatures().get(9); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getDocumentRoot_EnumParameter() { + return (EReference)documentRootEClass.getEStructuralFeatures().get(10); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getDocumentRoot_ErlangDistribution() { + return (EReference)documentRootEClass.getEStructuralFeatures().get(11); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getDocumentRoot_ExpressionParameter() { + return (EReference)documentRootEClass.getEStructuralFeatures().get(12); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getDocumentRoot_FloatingParameter() { + return (EReference)documentRootEClass.getEStructuralFeatures().get(13); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getDocumentRoot_GammaDistribution() { + return (EReference)documentRootEClass.getEStructuralFeatures().get(14); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getDocumentRoot_LogNormalDistribution() { + return (EReference)documentRootEClass.getEStructuralFeatures().get(15); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getDocumentRoot_NegativeExponentialDistribution() { + return (EReference)documentRootEClass.getEStructuralFeatures().get(16); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getDocumentRoot_NormalDistribution() { + return (EReference)documentRootEClass.getEStructuralFeatures().get(17); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getDocumentRoot_NumericParameter() { + return (EReference)documentRootEClass.getEStructuralFeatures().get(18); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getDocumentRoot_PoissonDistribution() { + return (EReference)documentRootEClass.getEStructuralFeatures().get(19); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getDocumentRoot_StringParameter() { + return (EReference)documentRootEClass.getEStructuralFeatures().get(20); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getDocumentRoot_TriangularDistribution() { + return (EReference)documentRootEClass.getEStructuralFeatures().get(21); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getDocumentRoot_TruncatedNormalDistribution() { + return (EReference)documentRootEClass.getEStructuralFeatures().get(22); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getDocumentRoot_UniformDistribution() { + return (EReference)documentRootEClass.getEStructuralFeatures().get(23); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getDocumentRoot_UserDistribution() { + return (EReference)documentRootEClass.getEStructuralFeatures().get(24); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getDocumentRoot_UserDistributionDataPoint() { + return (EReference)documentRootEClass.getEStructuralFeatures().get(25); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getDocumentRoot_WeibullDistribution() { + return (EReference)documentRootEClass.getEStructuralFeatures().get(26); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getDurationParameterType() { + return durationParameterTypeEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getDurationParameterType_Value() { + return (EAttribute)durationParameterTypeEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getElementParameters() { + return elementParametersEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getElementParameters_TimeParameters() { + return (EReference)elementParametersEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getElementParameters_ControlParameters() { + return (EReference)elementParametersEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getElementParameters_ResourceParameters() { + return (EReference)elementParametersEClass.getEStructuralFeatures().get(2); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getElementParameters_PriorityParameters() { + return (EReference)elementParametersEClass.getEStructuralFeatures().get(3); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getElementParameters_CostParameters() { + return (EReference)elementParametersEClass.getEStructuralFeatures().get(4); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getElementParameters_PropertyParameters() { + return (EReference)elementParametersEClass.getEStructuralFeatures().get(5); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getElementParameters_VendorExtension() { + return (EReference)elementParametersEClass.getEStructuralFeatures().get(6); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getElementParameters_ElementRef() { + return (EAttribute)elementParametersEClass.getEStructuralFeatures().get(7); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getElementParameters_Id() { + return (EAttribute)elementParametersEClass.getEStructuralFeatures().get(8); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getElementParametersType() { + return elementParametersTypeEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getEnumParameterType() { + return enumParameterTypeEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getEnumParameterType_Group() { + return (EAttribute)enumParameterTypeEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getEnumParameterType_ParameterValueGroup() { + return (EAttribute)enumParameterTypeEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getEnumParameterType_ParameterValue() { + return (EReference)enumParameterTypeEClass.getEStructuralFeatures().get(2); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getErlangDistributionType() { + return erlangDistributionTypeEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getErlangDistributionType_K() { + return (EAttribute)erlangDistributionTypeEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getErlangDistributionType_Mean() { + return (EAttribute)erlangDistributionTypeEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getExpressionParameterType() { + return expressionParameterTypeEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getExpressionParameterType_Value() { + return (EAttribute)expressionParameterTypeEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getFloatingParameterType() { + return floatingParameterTypeEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getFloatingParameterType_CurrencyUnit() { + return (EAttribute)floatingParameterTypeEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getFloatingParameterType_TimeUnit() { + return (EAttribute)floatingParameterTypeEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getFloatingParameterType_Value() { + return (EAttribute)floatingParameterTypeEClass.getEStructuralFeatures().get(2); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getGammaDistributionType() { + return gammaDistributionTypeEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getGammaDistributionType_Scale() { + return (EAttribute)gammaDistributionTypeEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getGammaDistributionType_Shape() { + return (EAttribute)gammaDistributionTypeEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getLogNormalDistributionType() { + return logNormalDistributionTypeEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getLogNormalDistributionType_Mean() { + return (EAttribute)logNormalDistributionTypeEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getLogNormalDistributionType_StandardDeviation() { + return (EAttribute)logNormalDistributionTypeEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getNegativeExponentialDistributionType() { + return negativeExponentialDistributionTypeEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getNegativeExponentialDistributionType_Mean() { + return (EAttribute)negativeExponentialDistributionTypeEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getNormalDistributionType() { + return normalDistributionTypeEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getNormalDistributionType_Mean() { + return (EAttribute)normalDistributionTypeEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getNormalDistributionType_StandardDeviation() { + return (EAttribute)normalDistributionTypeEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getNumericParameterType() { + return numericParameterTypeEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getNumericParameterType_CurrencyUnit() { + return (EAttribute)numericParameterTypeEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getNumericParameterType_TimeUnit() { + return (EAttribute)numericParameterTypeEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getNumericParameterType_Value() { + return (EAttribute)numericParameterTypeEClass.getEStructuralFeatures().get(2); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getParameter() { + return parameterEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getParameter_ResultRequest() { + return (EAttribute)parameterEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getParameter_ParameterValueGroup() { + return (EAttribute)parameterEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getParameter_ParameterValue() { + return (EReference)parameterEClass.getEStructuralFeatures().get(2); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getParameter_Kpi() { + return (EAttribute)parameterEClass.getEStructuralFeatures().get(3); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getParameter_Sla() { + return (EAttribute)parameterEClass.getEStructuralFeatures().get(4); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getParameterValue() { + return parameterValueEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getParameterValue_Instance() { + return (EAttribute)parameterValueEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getParameterValue_Result() { + return (EAttribute)parameterValueEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getParameterValue_ValidFor() { + return (EAttribute)parameterValueEClass.getEStructuralFeatures().get(2); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getPoissonDistributionType() { + return poissonDistributionTypeEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getPoissonDistributionType_Mean() { + return (EAttribute)poissonDistributionTypeEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getPriorityParameters() { + return priorityParametersEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getPriorityParameters_Interruptible() { + return (EReference)priorityParametersEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getPriorityParameters_Priority() { + return (EReference)priorityParametersEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getPropertyParameters() { + return propertyParametersEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getPropertyParameters_Property() { + return (EReference)propertyParametersEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getPropertyType() { + return propertyTypeEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getPropertyType_Name() { + return (EAttribute)propertyTypeEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getResourceParameters() { + return resourceParametersEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getResourceParameters_Selection() { + return (EReference)resourceParametersEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getResourceParameters_Availability() { + return (EReference)resourceParametersEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getResourceParameters_Quantity() { + return (EReference)resourceParametersEClass.getEStructuralFeatures().get(2); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getResourceParameters_Role() { + return (EReference)resourceParametersEClass.getEStructuralFeatures().get(3); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getScenario() { + return scenarioEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getScenario_ScenarioParameters() { + return (EReference)scenarioEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getScenario_ElementParameters() { + return (EReference)scenarioEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getScenario_Calendar() { + return (EReference)scenarioEClass.getEStructuralFeatures().get(2); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getScenario_VendorExtension() { + return (EReference)scenarioEClass.getEStructuralFeatures().get(3); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getScenario_Author() { + return (EAttribute)scenarioEClass.getEStructuralFeatures().get(4); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getScenario_Created() { + return (EAttribute)scenarioEClass.getEStructuralFeatures().get(5); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getScenario_Description() { + return (EAttribute)scenarioEClass.getEStructuralFeatures().get(6); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getScenario_Id() { + return (EAttribute)scenarioEClass.getEStructuralFeatures().get(7); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getScenario_Inherits() { + return (EAttribute)scenarioEClass.getEStructuralFeatures().get(8); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getScenario_Modified() { + return (EAttribute)scenarioEClass.getEStructuralFeatures().get(9); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getScenario_Name() { + return (EAttribute)scenarioEClass.getEStructuralFeatures().get(10); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getScenario_Result() { + return (EAttribute)scenarioEClass.getEStructuralFeatures().get(11); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getScenario_Vendor() { + return (EAttribute)scenarioEClass.getEStructuralFeatures().get(12); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getScenario_Version() { + return (EAttribute)scenarioEClass.getEStructuralFeatures().get(13); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getScenarioParameters() { + return scenarioParametersEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getScenarioParameters_Start() { + return (EReference)scenarioParametersEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getScenarioParameters_Duration() { + return (EReference)scenarioParametersEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getScenarioParameters_PropertyParameters() { + return (EReference)scenarioParametersEClass.getEStructuralFeatures().get(2); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getScenarioParameters_BaseCurrencyUnit() { + return (EAttribute)scenarioParametersEClass.getEStructuralFeatures().get(3); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getScenarioParameters_BaseTimeUnit() { + return (EAttribute)scenarioParametersEClass.getEStructuralFeatures().get(4); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getScenarioParameters_Replication() { + return (EAttribute)scenarioParametersEClass.getEStructuralFeatures().get(5); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getScenarioParameters_Seed() { + return (EAttribute)scenarioParametersEClass.getEStructuralFeatures().get(6); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getScenarioParametersType() { + return scenarioParametersTypeEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getStringParameterType() { + return stringParameterTypeEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getStringParameterType_Value() { + return (EAttribute)stringParameterTypeEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getTimeParameters() { + return timeParametersEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getTimeParameters_TransferTime() { + return (EReference)timeParametersEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getTimeParameters_QueueTime() { + return (EReference)timeParametersEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getTimeParameters_WaitTime() { + return (EReference)timeParametersEClass.getEStructuralFeatures().get(2); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getTimeParameters_SetUpTime() { + return (EReference)timeParametersEClass.getEStructuralFeatures().get(3); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getTimeParameters_ProcessingTime() { + return (EReference)timeParametersEClass.getEStructuralFeatures().get(4); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getTimeParameters_ValidationTime() { + return (EReference)timeParametersEClass.getEStructuralFeatures().get(5); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getTimeParameters_ReworkTime() { + return (EReference)timeParametersEClass.getEStructuralFeatures().get(6); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getTriangularDistributionType() { + return triangularDistributionTypeEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getTriangularDistributionType_Max() { + return (EAttribute)triangularDistributionTypeEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getTriangularDistributionType_Min() { + return (EAttribute)triangularDistributionTypeEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getTriangularDistributionType_Mode() { + return (EAttribute)triangularDistributionTypeEClass.getEStructuralFeatures().get(2); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getTruncatedNormalDistributionType() { + return truncatedNormalDistributionTypeEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getTruncatedNormalDistributionType_Max() { + return (EAttribute)truncatedNormalDistributionTypeEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getTruncatedNormalDistributionType_Mean() { + return (EAttribute)truncatedNormalDistributionTypeEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getTruncatedNormalDistributionType_Min() { + return (EAttribute)truncatedNormalDistributionTypeEClass.getEStructuralFeatures().get(2); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getTruncatedNormalDistributionType_StandardDeviation() { + return (EAttribute)truncatedNormalDistributionTypeEClass.getEStructuralFeatures().get(3); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getUniformDistributionType() { + return uniformDistributionTypeEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getUniformDistributionType_Max() { + return (EAttribute)uniformDistributionTypeEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getUniformDistributionType_Min() { + return (EAttribute)uniformDistributionTypeEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getUserDistributionDataPointType() { + return userDistributionDataPointTypeEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getUserDistributionDataPointType_ParameterValueGroup() { + return (EAttribute)userDistributionDataPointTypeEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getUserDistributionDataPointType_ParameterValue() { + return (EReference)userDistributionDataPointTypeEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getUserDistributionDataPointType_Probability() { + return (EAttribute)userDistributionDataPointTypeEClass.getEStructuralFeatures().get(2); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getUserDistributionType() { + return userDistributionTypeEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getUserDistributionType_Group() { + return (EAttribute)userDistributionTypeEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getUserDistributionType_UserDistributionDataPoint() { + return (EReference)userDistributionTypeEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getUserDistributionType_Discrete() { + return (EAttribute)userDistributionTypeEClass.getEStructuralFeatures().get(2); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getVendorExtension() { + return vendorExtensionEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getVendorExtension_Any() { + return (EAttribute)vendorExtensionEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getVendorExtension_Name() { + return (EAttribute)vendorExtensionEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getVendorExtension_AnyAttribute() { + return (EAttribute)vendorExtensionEClass.getEStructuralFeatures().get(2); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getWeibullDistributionType() { + return weibullDistributionTypeEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getWeibullDistributionType_Scale() { + return (EAttribute)weibullDistributionTypeEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getWeibullDistributionType_Shape() { + return (EAttribute)weibullDistributionTypeEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EEnum getResultType() { + return resultTypeEEnum; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EEnum getTimeUnit() { + return timeUnitEEnum; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EDataType getResultTypeObject() { + return resultTypeObjectEDataType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EDataType getTimeUnitObject() { + return timeUnitObjectEDataType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public BpsimFactory getBpsimFactory() { + return (BpsimFactory)getEFactoryInstance(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private boolean isCreated = false; + + /** + * Creates the meta-model objects for the package. This method is + * guarded to have no affect on any invocation but its first. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void createPackageContents() { + if (isCreated) return; + isCreated = true; + + // Create classes and their features + betaDistributionTypeEClass = createEClass(BETA_DISTRIBUTION_TYPE); + createEAttribute(betaDistributionTypeEClass, BETA_DISTRIBUTION_TYPE__SCALE); + createEAttribute(betaDistributionTypeEClass, BETA_DISTRIBUTION_TYPE__SHAPE); + + binomialDistributionTypeEClass = createEClass(BINOMIAL_DISTRIBUTION_TYPE); + createEAttribute(binomialDistributionTypeEClass, BINOMIAL_DISTRIBUTION_TYPE__PROBABILITY); + createEAttribute(binomialDistributionTypeEClass, BINOMIAL_DISTRIBUTION_TYPE__TRIALS); + + booleanParameterTypeEClass = createEClass(BOOLEAN_PARAMETER_TYPE); + createEAttribute(booleanParameterTypeEClass, BOOLEAN_PARAMETER_TYPE__VALUE); + + bpSimDataTypeEClass = createEClass(BP_SIM_DATA_TYPE); + createEAttribute(bpSimDataTypeEClass, BP_SIM_DATA_TYPE__GROUP); + createEReference(bpSimDataTypeEClass, BP_SIM_DATA_TYPE__SCENARIO); + + calendarEClass = createEClass(CALENDAR); + createEAttribute(calendarEClass, CALENDAR__VALUE); + createEAttribute(calendarEClass, CALENDAR__ID); + createEAttribute(calendarEClass, CALENDAR__NAME); + + constantParameterEClass = createEClass(CONSTANT_PARAMETER); + + controlParametersEClass = createEClass(CONTROL_PARAMETERS); + createEReference(controlParametersEClass, CONTROL_PARAMETERS__PROBABILITY); + createEReference(controlParametersEClass, CONTROL_PARAMETERS__CONDITION); + createEReference(controlParametersEClass, CONTROL_PARAMETERS__INTER_TRIGGER_TIMER); + createEReference(controlParametersEClass, CONTROL_PARAMETERS__TRIGGER_COUNT); + + costParametersEClass = createEClass(COST_PARAMETERS); + createEReference(costParametersEClass, COST_PARAMETERS__FIXED_COST); + createEReference(costParametersEClass, COST_PARAMETERS__UNIT_COST); + + dateTimeParameterTypeEClass = createEClass(DATE_TIME_PARAMETER_TYPE); + createEAttribute(dateTimeParameterTypeEClass, DATE_TIME_PARAMETER_TYPE__VALUE); + + distributionParameterEClass = createEClass(DISTRIBUTION_PARAMETER); + createEAttribute(distributionParameterEClass, DISTRIBUTION_PARAMETER__CURRENCY_UNIT); + createEAttribute(distributionParameterEClass, DISTRIBUTION_PARAMETER__TIME_UNIT); + + documentRootEClass = createEClass(DOCUMENT_ROOT); + createEAttribute(documentRootEClass, DOCUMENT_ROOT__MIXED); + createEReference(documentRootEClass, DOCUMENT_ROOT__XMLNS_PREFIX_MAP); + createEReference(documentRootEClass, DOCUMENT_ROOT__XSI_SCHEMA_LOCATION); + createEReference(documentRootEClass, DOCUMENT_ROOT__BETA_DISTRIBUTION); + createEReference(documentRootEClass, DOCUMENT_ROOT__PARAMETER_VALUE); + createEReference(documentRootEClass, DOCUMENT_ROOT__BINOMIAL_DISTRIBUTION); + createEReference(documentRootEClass, DOCUMENT_ROOT__BOOLEAN_PARAMETER); + createEReference(documentRootEClass, DOCUMENT_ROOT__BP_SIM_DATA); + createEReference(documentRootEClass, DOCUMENT_ROOT__DATE_TIME_PARAMETER); + createEReference(documentRootEClass, DOCUMENT_ROOT__DURATION_PARAMETER); + createEReference(documentRootEClass, DOCUMENT_ROOT__ENUM_PARAMETER); + createEReference(documentRootEClass, DOCUMENT_ROOT__ERLANG_DISTRIBUTION); + createEReference(documentRootEClass, DOCUMENT_ROOT__EXPRESSION_PARAMETER); + createEReference(documentRootEClass, DOCUMENT_ROOT__FLOATING_PARAMETER); + createEReference(documentRootEClass, DOCUMENT_ROOT__GAMMA_DISTRIBUTION); + createEReference(documentRootEClass, DOCUMENT_ROOT__LOG_NORMAL_DISTRIBUTION); + createEReference(documentRootEClass, DOCUMENT_ROOT__NEGATIVE_EXPONENTIAL_DISTRIBUTION); + createEReference(documentRootEClass, DOCUMENT_ROOT__NORMAL_DISTRIBUTION); + createEReference(documentRootEClass, DOCUMENT_ROOT__NUMERIC_PARAMETER); + createEReference(documentRootEClass, DOCUMENT_ROOT__POISSON_DISTRIBUTION); + createEReference(documentRootEClass, DOCUMENT_ROOT__STRING_PARAMETER); + createEReference(documentRootEClass, DOCUMENT_ROOT__TRIANGULAR_DISTRIBUTION); + createEReference(documentRootEClass, DOCUMENT_ROOT__TRUNCATED_NORMAL_DISTRIBUTION); + createEReference(documentRootEClass, DOCUMENT_ROOT__UNIFORM_DISTRIBUTION); + createEReference(documentRootEClass, DOCUMENT_ROOT__USER_DISTRIBUTION); + createEReference(documentRootEClass, DOCUMENT_ROOT__USER_DISTRIBUTION_DATA_POINT); + createEReference(documentRootEClass, DOCUMENT_ROOT__WEIBULL_DISTRIBUTION); + + durationParameterTypeEClass = createEClass(DURATION_PARAMETER_TYPE); + createEAttribute(durationParameterTypeEClass, DURATION_PARAMETER_TYPE__VALUE); + + elementParametersEClass = createEClass(ELEMENT_PARAMETERS); + createEReference(elementParametersEClass, ELEMENT_PARAMETERS__TIME_PARAMETERS); + createEReference(elementParametersEClass, ELEMENT_PARAMETERS__CONTROL_PARAMETERS); + createEReference(elementParametersEClass, ELEMENT_PARAMETERS__RESOURCE_PARAMETERS); + createEReference(elementParametersEClass, ELEMENT_PARAMETERS__PRIORITY_PARAMETERS); + createEReference(elementParametersEClass, ELEMENT_PARAMETERS__COST_PARAMETERS); + createEReference(elementParametersEClass, ELEMENT_PARAMETERS__PROPERTY_PARAMETERS); + createEReference(elementParametersEClass, ELEMENT_PARAMETERS__VENDOR_EXTENSION); + createEAttribute(elementParametersEClass, ELEMENT_PARAMETERS__ELEMENT_REF); + createEAttribute(elementParametersEClass, ELEMENT_PARAMETERS__ID); + + elementParametersTypeEClass = createEClass(ELEMENT_PARAMETERS_TYPE); + + enumParameterTypeEClass = createEClass(ENUM_PARAMETER_TYPE); + createEAttribute(enumParameterTypeEClass, ENUM_PARAMETER_TYPE__GROUP); + createEAttribute(enumParameterTypeEClass, ENUM_PARAMETER_TYPE__PARAMETER_VALUE_GROUP); + createEReference(enumParameterTypeEClass, ENUM_PARAMETER_TYPE__PARAMETER_VALUE); + + erlangDistributionTypeEClass = createEClass(ERLANG_DISTRIBUTION_TYPE); + createEAttribute(erlangDistributionTypeEClass, ERLANG_DISTRIBUTION_TYPE__K); + createEAttribute(erlangDistributionTypeEClass, ERLANG_DISTRIBUTION_TYPE__MEAN); + + expressionParameterTypeEClass = createEClass(EXPRESSION_PARAMETER_TYPE); + createEAttribute(expressionParameterTypeEClass, EXPRESSION_PARAMETER_TYPE__VALUE); + + floatingParameterTypeEClass = createEClass(FLOATING_PARAMETER_TYPE); + createEAttribute(floatingParameterTypeEClass, FLOATING_PARAMETER_TYPE__CURRENCY_UNIT); + createEAttribute(floatingParameterTypeEClass, FLOATING_PARAMETER_TYPE__TIME_UNIT); + createEAttribute(floatingParameterTypeEClass, FLOATING_PARAMETER_TYPE__VALUE); + + gammaDistributionTypeEClass = createEClass(GAMMA_DISTRIBUTION_TYPE); + createEAttribute(gammaDistributionTypeEClass, GAMMA_DISTRIBUTION_TYPE__SCALE); + createEAttribute(gammaDistributionTypeEClass, GAMMA_DISTRIBUTION_TYPE__SHAPE); + + logNormalDistributionTypeEClass = createEClass(LOG_NORMAL_DISTRIBUTION_TYPE); + createEAttribute(logNormalDistributionTypeEClass, LOG_NORMAL_DISTRIBUTION_TYPE__MEAN); + createEAttribute(logNormalDistributionTypeEClass, LOG_NORMAL_DISTRIBUTION_TYPE__STANDARD_DEVIATION); + + negativeExponentialDistributionTypeEClass = createEClass(NEGATIVE_EXPONENTIAL_DISTRIBUTION_TYPE); + createEAttribute(negativeExponentialDistributionTypeEClass, NEGATIVE_EXPONENTIAL_DISTRIBUTION_TYPE__MEAN); + + normalDistributionTypeEClass = createEClass(NORMAL_DISTRIBUTION_TYPE); + createEAttribute(normalDistributionTypeEClass, NORMAL_DISTRIBUTION_TYPE__MEAN); + createEAttribute(normalDistributionTypeEClass, NORMAL_DISTRIBUTION_TYPE__STANDARD_DEVIATION); + + numericParameterTypeEClass = createEClass(NUMERIC_PARAMETER_TYPE); + createEAttribute(numericParameterTypeEClass, NUMERIC_PARAMETER_TYPE__CURRENCY_UNIT); + createEAttribute(numericParameterTypeEClass, NUMERIC_PARAMETER_TYPE__TIME_UNIT); + createEAttribute(numericParameterTypeEClass, NUMERIC_PARAMETER_TYPE__VALUE); + + parameterEClass = createEClass(PARAMETER); + createEAttribute(parameterEClass, PARAMETER__RESULT_REQUEST); + createEAttribute(parameterEClass, PARAMETER__PARAMETER_VALUE_GROUP); + createEReference(parameterEClass, PARAMETER__PARAMETER_VALUE); + createEAttribute(parameterEClass, PARAMETER__KPI); + createEAttribute(parameterEClass, PARAMETER__SLA); + + parameterValueEClass = createEClass(PARAMETER_VALUE); + createEAttribute(parameterValueEClass, PARAMETER_VALUE__INSTANCE); + createEAttribute(parameterValueEClass, PARAMETER_VALUE__RESULT); + createEAttribute(parameterValueEClass, PARAMETER_VALUE__VALID_FOR); + + poissonDistributionTypeEClass = createEClass(POISSON_DISTRIBUTION_TYPE); + createEAttribute(poissonDistributionTypeEClass, POISSON_DISTRIBUTION_TYPE__MEAN); + + priorityParametersEClass = createEClass(PRIORITY_PARAMETERS); + createEReference(priorityParametersEClass, PRIORITY_PARAMETERS__INTERRUPTIBLE); + createEReference(priorityParametersEClass, PRIORITY_PARAMETERS__PRIORITY); + + propertyParametersEClass = createEClass(PROPERTY_PARAMETERS); + createEReference(propertyParametersEClass, PROPERTY_PARAMETERS__PROPERTY); + + propertyTypeEClass = createEClass(PROPERTY_TYPE); + createEAttribute(propertyTypeEClass, PROPERTY_TYPE__NAME); + + resourceParametersEClass = createEClass(RESOURCE_PARAMETERS); + createEReference(resourceParametersEClass, RESOURCE_PARAMETERS__SELECTION); + createEReference(resourceParametersEClass, RESOURCE_PARAMETERS__AVAILABILITY); + createEReference(resourceParametersEClass, RESOURCE_PARAMETERS__QUANTITY); + createEReference(resourceParametersEClass, RESOURCE_PARAMETERS__ROLE); + + scenarioEClass = createEClass(SCENARIO); + createEReference(scenarioEClass, SCENARIO__SCENARIO_PARAMETERS); + createEReference(scenarioEClass, SCENARIO__ELEMENT_PARAMETERS); + createEReference(scenarioEClass, SCENARIO__CALENDAR); + createEReference(scenarioEClass, SCENARIO__VENDOR_EXTENSION); + createEAttribute(scenarioEClass, SCENARIO__AUTHOR); + createEAttribute(scenarioEClass, SCENARIO__CREATED); + createEAttribute(scenarioEClass, SCENARIO__DESCRIPTION); + createEAttribute(scenarioEClass, SCENARIO__ID); + createEAttribute(scenarioEClass, SCENARIO__INHERITS); + createEAttribute(scenarioEClass, SCENARIO__MODIFIED); + createEAttribute(scenarioEClass, SCENARIO__NAME); + createEAttribute(scenarioEClass, SCENARIO__RESULT); + createEAttribute(scenarioEClass, SCENARIO__VENDOR); + createEAttribute(scenarioEClass, SCENARIO__VERSION); + + scenarioParametersEClass = createEClass(SCENARIO_PARAMETERS); + createEReference(scenarioParametersEClass, SCENARIO_PARAMETERS__START); + createEReference(scenarioParametersEClass, SCENARIO_PARAMETERS__DURATION); + createEReference(scenarioParametersEClass, SCENARIO_PARAMETERS__PROPERTY_PARAMETERS); + createEAttribute(scenarioParametersEClass, SCENARIO_PARAMETERS__BASE_CURRENCY_UNIT); + createEAttribute(scenarioParametersEClass, SCENARIO_PARAMETERS__BASE_TIME_UNIT); + createEAttribute(scenarioParametersEClass, SCENARIO_PARAMETERS__REPLICATION); + createEAttribute(scenarioParametersEClass, SCENARIO_PARAMETERS__SEED); + + scenarioParametersTypeEClass = createEClass(SCENARIO_PARAMETERS_TYPE); + + stringParameterTypeEClass = createEClass(STRING_PARAMETER_TYPE); + createEAttribute(stringParameterTypeEClass, STRING_PARAMETER_TYPE__VALUE); + + timeParametersEClass = createEClass(TIME_PARAMETERS); + createEReference(timeParametersEClass, TIME_PARAMETERS__TRANSFER_TIME); + createEReference(timeParametersEClass, TIME_PARAMETERS__QUEUE_TIME); + createEReference(timeParametersEClass, TIME_PARAMETERS__WAIT_TIME); + createEReference(timeParametersEClass, TIME_PARAMETERS__SET_UP_TIME); + createEReference(timeParametersEClass, TIME_PARAMETERS__PROCESSING_TIME); + createEReference(timeParametersEClass, TIME_PARAMETERS__VALIDATION_TIME); + createEReference(timeParametersEClass, TIME_PARAMETERS__REWORK_TIME); + + triangularDistributionTypeEClass = createEClass(TRIANGULAR_DISTRIBUTION_TYPE); + createEAttribute(triangularDistributionTypeEClass, TRIANGULAR_DISTRIBUTION_TYPE__MAX); + createEAttribute(triangularDistributionTypeEClass, TRIANGULAR_DISTRIBUTION_TYPE__MIN); + createEAttribute(triangularDistributionTypeEClass, TRIANGULAR_DISTRIBUTION_TYPE__MODE); + + truncatedNormalDistributionTypeEClass = createEClass(TRUNCATED_NORMAL_DISTRIBUTION_TYPE); + createEAttribute(truncatedNormalDistributionTypeEClass, TRUNCATED_NORMAL_DISTRIBUTION_TYPE__MAX); + createEAttribute(truncatedNormalDistributionTypeEClass, TRUNCATED_NORMAL_DISTRIBUTION_TYPE__MEAN); + createEAttribute(truncatedNormalDistributionTypeEClass, TRUNCATED_NORMAL_DISTRIBUTION_TYPE__MIN); + createEAttribute(truncatedNormalDistributionTypeEClass, TRUNCATED_NORMAL_DISTRIBUTION_TYPE__STANDARD_DEVIATION); + + uniformDistributionTypeEClass = createEClass(UNIFORM_DISTRIBUTION_TYPE); + createEAttribute(uniformDistributionTypeEClass, UNIFORM_DISTRIBUTION_TYPE__MAX); + createEAttribute(uniformDistributionTypeEClass, UNIFORM_DISTRIBUTION_TYPE__MIN); + + userDistributionDataPointTypeEClass = createEClass(USER_DISTRIBUTION_DATA_POINT_TYPE); + createEAttribute(userDistributionDataPointTypeEClass, USER_DISTRIBUTION_DATA_POINT_TYPE__PARAMETER_VALUE_GROUP); + createEReference(userDistributionDataPointTypeEClass, USER_DISTRIBUTION_DATA_POINT_TYPE__PARAMETER_VALUE); + createEAttribute(userDistributionDataPointTypeEClass, USER_DISTRIBUTION_DATA_POINT_TYPE__PROBABILITY); + + userDistributionTypeEClass = createEClass(USER_DISTRIBUTION_TYPE); + createEAttribute(userDistributionTypeEClass, USER_DISTRIBUTION_TYPE__GROUP); + createEReference(userDistributionTypeEClass, USER_DISTRIBUTION_TYPE__USER_DISTRIBUTION_DATA_POINT); + createEAttribute(userDistributionTypeEClass, USER_DISTRIBUTION_TYPE__DISCRETE); + + vendorExtensionEClass = createEClass(VENDOR_EXTENSION); + createEAttribute(vendorExtensionEClass, VENDOR_EXTENSION__ANY); + createEAttribute(vendorExtensionEClass, VENDOR_EXTENSION__NAME); + createEAttribute(vendorExtensionEClass, VENDOR_EXTENSION__ANY_ATTRIBUTE); + + weibullDistributionTypeEClass = createEClass(WEIBULL_DISTRIBUTION_TYPE); + createEAttribute(weibullDistributionTypeEClass, WEIBULL_DISTRIBUTION_TYPE__SCALE); + createEAttribute(weibullDistributionTypeEClass, WEIBULL_DISTRIBUTION_TYPE__SHAPE); + + // Create enums + resultTypeEEnum = createEEnum(RESULT_TYPE); + timeUnitEEnum = createEEnum(TIME_UNIT); + + // Create data types + resultTypeObjectEDataType = createEDataType(RESULT_TYPE_OBJECT); + timeUnitObjectEDataType = createEDataType(TIME_UNIT_OBJECT); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private boolean isInitialized = false; + + /** + * Complete the initialization of the package and its meta-model. This + * method is guarded to have no affect on any invocation but its first. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void initializePackageContents() { + if (isInitialized) return; + isInitialized = true; + + // Initialize package + setName(eNAME); + setNsPrefix(eNS_PREFIX); + setNsURI(eNS_URI); + + // Obtain other dependent packages + XMLTypePackage theXMLTypePackage = (XMLTypePackage)EPackage.Registry.INSTANCE.getEPackage(XMLTypePackage.eNS_URI); + + // Create type parameters + + // Set bounds for type parameters + + // Add supertypes to classes + betaDistributionTypeEClass.getESuperTypes().add(this.getDistributionParameter()); + binomialDistributionTypeEClass.getESuperTypes().add(this.getDistributionParameter()); + booleanParameterTypeEClass.getESuperTypes().add(this.getConstantParameter()); + constantParameterEClass.getESuperTypes().add(this.getParameterValue()); + dateTimeParameterTypeEClass.getESuperTypes().add(this.getConstantParameter()); + distributionParameterEClass.getESuperTypes().add(this.getParameterValue()); + durationParameterTypeEClass.getESuperTypes().add(this.getConstantParameter()); + elementParametersTypeEClass.getESuperTypes().add(this.getElementParameters()); + enumParameterTypeEClass.getESuperTypes().add(this.getParameterValue()); + erlangDistributionTypeEClass.getESuperTypes().add(this.getDistributionParameter()); + expressionParameterTypeEClass.getESuperTypes().add(this.getParameterValue()); + floatingParameterTypeEClass.getESuperTypes().add(this.getConstantParameter()); + gammaDistributionTypeEClass.getESuperTypes().add(this.getDistributionParameter()); + logNormalDistributionTypeEClass.getESuperTypes().add(this.getDistributionParameter()); + negativeExponentialDistributionTypeEClass.getESuperTypes().add(this.getDistributionParameter()); + normalDistributionTypeEClass.getESuperTypes().add(this.getDistributionParameter()); + numericParameterTypeEClass.getESuperTypes().add(this.getConstantParameter()); + poissonDistributionTypeEClass.getESuperTypes().add(this.getDistributionParameter()); + propertyTypeEClass.getESuperTypes().add(this.getParameter()); + scenarioParametersTypeEClass.getESuperTypes().add(this.getScenarioParameters()); + stringParameterTypeEClass.getESuperTypes().add(this.getConstantParameter()); + triangularDistributionTypeEClass.getESuperTypes().add(this.getDistributionParameter()); + truncatedNormalDistributionTypeEClass.getESuperTypes().add(this.getDistributionParameter()); + uniformDistributionTypeEClass.getESuperTypes().add(this.getDistributionParameter()); + userDistributionTypeEClass.getESuperTypes().add(this.getDistributionParameter()); + weibullDistributionTypeEClass.getESuperTypes().add(this.getDistributionParameter()); + + // Initialize classes and features; add operations and parameters + initEClass(betaDistributionTypeEClass, BetaDistributionType.class, "BetaDistributionType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getBetaDistributionType_Scale(), theXMLTypePackage.getDouble(), "scale", null, 0, 1, BetaDistributionType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getBetaDistributionType_Shape(), theXMLTypePackage.getDouble(), "shape", null, 0, 1, BetaDistributionType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(binomialDistributionTypeEClass, BinomialDistributionType.class, "BinomialDistributionType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getBinomialDistributionType_Probability(), theXMLTypePackage.getDouble(), "probability", null, 0, 1, BinomialDistributionType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getBinomialDistributionType_Trials(), theXMLTypePackage.getLong(), "trials", null, 0, 1, BinomialDistributionType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(booleanParameterTypeEClass, BooleanParameterType.class, "BooleanParameterType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getBooleanParameterType_Value(), theXMLTypePackage.getBoolean(), "value", null, 0, 1, BooleanParameterType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(bpSimDataTypeEClass, BPSimDataType.class, "BPSimDataType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getBPSimDataType_Group(), ecorePackage.getEFeatureMapEntry(), "group", null, 0, -1, BPSimDataType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getBPSimDataType_Scenario(), this.getScenario(), null, "scenario", null, 1, -1, BPSimDataType.class, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED); + + initEClass(calendarEClass, Calendar.class, "Calendar", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getCalendar_Value(), theXMLTypePackage.getString(), "value", null, 0, 1, Calendar.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getCalendar_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, Calendar.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getCalendar_Name(), theXMLTypePackage.getString(), "name", null, 0, 1, Calendar.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(constantParameterEClass, ConstantParameter.class, "ConstantParameter", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + initEClass(controlParametersEClass, ControlParameters.class, "ControlParameters", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getControlParameters_Probability(), this.getParameter(), null, "probability", null, 0, 1, ControlParameters.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getControlParameters_Condition(), this.getParameter(), null, "condition", null, 0, 1, ControlParameters.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getControlParameters_InterTriggerTimer(), this.getParameter(), null, "interTriggerTimer", null, 0, 1, ControlParameters.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getControlParameters_TriggerCount(), this.getParameter(), null, "triggerCount", null, 0, 1, ControlParameters.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(costParametersEClass, CostParameters.class, "CostParameters", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getCostParameters_FixedCost(), this.getParameter(), null, "fixedCost", null, 0, 1, CostParameters.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getCostParameters_UnitCost(), this.getParameter(), null, "unitCost", null, 0, 1, CostParameters.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(dateTimeParameterTypeEClass, DateTimeParameterType.class, "DateTimeParameterType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getDateTimeParameterType_Value(), theXMLTypePackage.getDateTime(), "value", null, 0, 1, DateTimeParameterType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(distributionParameterEClass, DistributionParameter.class, "DistributionParameter", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getDistributionParameter_CurrencyUnit(), theXMLTypePackage.getString(), "currencyUnit", null, 0, 1, DistributionParameter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getDistributionParameter_TimeUnit(), this.getTimeUnit(), "timeUnit", null, 0, 1, DistributionParameter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(documentRootEClass, DocumentRoot.class, "DocumentRoot", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getDocumentRoot_Mixed(), ecorePackage.getEFeatureMapEntry(), "mixed", null, 0, -1, null, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getDocumentRoot_XMLNSPrefixMap(), ecorePackage.getEStringToStringMapEntry(), null, "xMLNSPrefixMap", null, 0, -1, null, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getDocumentRoot_XSISchemaLocation(), ecorePackage.getEStringToStringMapEntry(), null, "xSISchemaLocation", null, 0, -1, null, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getDocumentRoot_BetaDistribution(), this.getBetaDistributionType(), null, "betaDistribution", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED); + initEReference(getDocumentRoot_ParameterValue(), this.getParameterValue(), null, "parameterValue", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED); + initEReference(getDocumentRoot_BinomialDistribution(), this.getBinomialDistributionType(), null, "binomialDistribution", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED); + initEReference(getDocumentRoot_BooleanParameter(), this.getBooleanParameterType(), null, "booleanParameter", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED); + initEReference(getDocumentRoot_BPSimData(), this.getBPSimDataType(), null, "bPSimData", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED); + initEReference(getDocumentRoot_DateTimeParameter(), this.getDateTimeParameterType(), null, "dateTimeParameter", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED); + initEReference(getDocumentRoot_DurationParameter(), this.getDurationParameterType(), null, "durationParameter", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED); + initEReference(getDocumentRoot_EnumParameter(), this.getEnumParameterType(), null, "enumParameter", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED); + initEReference(getDocumentRoot_ErlangDistribution(), this.getErlangDistributionType(), null, "erlangDistribution", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED); + initEReference(getDocumentRoot_ExpressionParameter(), this.getExpressionParameterType(), null, "expressionParameter", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED); + initEReference(getDocumentRoot_FloatingParameter(), this.getFloatingParameterType(), null, "floatingParameter", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED); + initEReference(getDocumentRoot_GammaDistribution(), this.getGammaDistributionType(), null, "gammaDistribution", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED); + initEReference(getDocumentRoot_LogNormalDistribution(), this.getLogNormalDistributionType(), null, "logNormalDistribution", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED); + initEReference(getDocumentRoot_NegativeExponentialDistribution(), this.getNegativeExponentialDistributionType(), null, "negativeExponentialDistribution", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED); + initEReference(getDocumentRoot_NormalDistribution(), this.getNormalDistributionType(), null, "normalDistribution", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED); + initEReference(getDocumentRoot_NumericParameter(), this.getNumericParameterType(), null, "numericParameter", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED); + initEReference(getDocumentRoot_PoissonDistribution(), this.getPoissonDistributionType(), null, "poissonDistribution", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED); + initEReference(getDocumentRoot_StringParameter(), this.getStringParameterType(), null, "stringParameter", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED); + initEReference(getDocumentRoot_TriangularDistribution(), this.getTriangularDistributionType(), null, "triangularDistribution", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED); + initEReference(getDocumentRoot_TruncatedNormalDistribution(), this.getTruncatedNormalDistributionType(), null, "truncatedNormalDistribution", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED); + initEReference(getDocumentRoot_UniformDistribution(), this.getUniformDistributionType(), null, "uniformDistribution", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED); + initEReference(getDocumentRoot_UserDistribution(), this.getUserDistributionType(), null, "userDistribution", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED); + initEReference(getDocumentRoot_UserDistributionDataPoint(), this.getUserDistributionDataPointType(), null, "userDistributionDataPoint", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED); + initEReference(getDocumentRoot_WeibullDistribution(), this.getWeibullDistributionType(), null, "weibullDistribution", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED); + + initEClass(durationParameterTypeEClass, DurationParameterType.class, "DurationParameterType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getDurationParameterType_Value(), theXMLTypePackage.getDuration(), "value", null, 0, 1, DurationParameterType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(elementParametersEClass, ElementParameters.class, "ElementParameters", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getElementParameters_TimeParameters(), this.getTimeParameters(), null, "timeParameters", null, 0, 1, ElementParameters.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getElementParameters_ControlParameters(), this.getControlParameters(), null, "controlParameters", null, 0, 1, ElementParameters.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getElementParameters_ResourceParameters(), this.getResourceParameters(), null, "resourceParameters", null, 0, 1, ElementParameters.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getElementParameters_PriorityParameters(), this.getPriorityParameters(), null, "priorityParameters", null, 0, 1, ElementParameters.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getElementParameters_CostParameters(), this.getCostParameters(), null, "costParameters", null, 0, 1, ElementParameters.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getElementParameters_PropertyParameters(), this.getPropertyParameters(), null, "propertyParameters", null, 0, 1, ElementParameters.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getElementParameters_VendorExtension(), this.getVendorExtension(), null, "vendorExtension", null, 0, -1, ElementParameters.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getElementParameters_ElementRef(), theXMLTypePackage.getID(), "elementRef", null, 0, 1, ElementParameters.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getElementParameters_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, ElementParameters.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(elementParametersTypeEClass, ElementParametersType.class, "ElementParametersType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + initEClass(enumParameterTypeEClass, EnumParameterType.class, "EnumParameterType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getEnumParameterType_Group(), ecorePackage.getEFeatureMapEntry(), "group", null, 0, -1, EnumParameterType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getEnumParameterType_ParameterValueGroup(), ecorePackage.getEFeatureMapEntry(), "parameterValueGroup", null, 1, -1, EnumParameterType.class, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, IS_DERIVED, IS_ORDERED); + initEReference(getEnumParameterType_ParameterValue(), this.getParameterValue(), null, "parameterValue", null, 1, -1, EnumParameterType.class, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED); + + initEClass(erlangDistributionTypeEClass, ErlangDistributionType.class, "ErlangDistributionType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getErlangDistributionType_K(), theXMLTypePackage.getDouble(), "k", null, 0, 1, ErlangDistributionType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getErlangDistributionType_Mean(), theXMLTypePackage.getDouble(), "mean", null, 0, 1, ErlangDistributionType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(expressionParameterTypeEClass, ExpressionParameterType.class, "ExpressionParameterType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getExpressionParameterType_Value(), theXMLTypePackage.getString(), "value", null, 0, 1, ExpressionParameterType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(floatingParameterTypeEClass, FloatingParameterType.class, "FloatingParameterType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getFloatingParameterType_CurrencyUnit(), theXMLTypePackage.getString(), "currencyUnit", null, 0, 1, FloatingParameterType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getFloatingParameterType_TimeUnit(), this.getTimeUnit(), "timeUnit", null, 0, 1, FloatingParameterType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getFloatingParameterType_Value(), theXMLTypePackage.getDouble(), "value", null, 0, 1, FloatingParameterType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(gammaDistributionTypeEClass, GammaDistributionType.class, "GammaDistributionType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getGammaDistributionType_Scale(), theXMLTypePackage.getDouble(), "scale", null, 0, 1, GammaDistributionType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getGammaDistributionType_Shape(), theXMLTypePackage.getDouble(), "shape", null, 0, 1, GammaDistributionType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(logNormalDistributionTypeEClass, LogNormalDistributionType.class, "LogNormalDistributionType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getLogNormalDistributionType_Mean(), theXMLTypePackage.getDouble(), "mean", null, 0, 1, LogNormalDistributionType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getLogNormalDistributionType_StandardDeviation(), theXMLTypePackage.getDouble(), "standardDeviation", null, 0, 1, LogNormalDistributionType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(negativeExponentialDistributionTypeEClass, NegativeExponentialDistributionType.class, "NegativeExponentialDistributionType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getNegativeExponentialDistributionType_Mean(), theXMLTypePackage.getDouble(), "mean", null, 0, 1, NegativeExponentialDistributionType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(normalDistributionTypeEClass, NormalDistributionType.class, "NormalDistributionType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getNormalDistributionType_Mean(), theXMLTypePackage.getDouble(), "mean", null, 0, 1, NormalDistributionType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getNormalDistributionType_StandardDeviation(), theXMLTypePackage.getDouble(), "standardDeviation", null, 0, 1, NormalDistributionType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(numericParameterTypeEClass, NumericParameterType.class, "NumericParameterType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getNumericParameterType_CurrencyUnit(), theXMLTypePackage.getString(), "currencyUnit", null, 0, 1, NumericParameterType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getNumericParameterType_TimeUnit(), this.getTimeUnit(), "timeUnit", null, 0, 1, NumericParameterType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getNumericParameterType_Value(), theXMLTypePackage.getLong(), "value", null, 0, 1, NumericParameterType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(parameterEClass, Parameter.class, "Parameter", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getParameter_ResultRequest(), this.getResultType(), "resultRequest", null, 0, -1, Parameter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getParameter_ParameterValueGroup(), ecorePackage.getEFeatureMapEntry(), "parameterValueGroup", null, 0, -1, Parameter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getParameter_ParameterValue(), this.getParameterValue(), null, "parameterValue", null, 0, -1, Parameter.class, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED); + initEAttribute(getParameter_Kpi(), theXMLTypePackage.getBoolean(), "kpi", "false", 0, 1, Parameter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getParameter_Sla(), theXMLTypePackage.getBoolean(), "sla", "false", 0, 1, Parameter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(parameterValueEClass, ParameterValue.class, "ParameterValue", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getParameterValue_Instance(), theXMLTypePackage.getString(), "instance", null, 0, 1, ParameterValue.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getParameterValue_Result(), this.getResultType(), "result", null, 0, 1, ParameterValue.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getParameterValue_ValidFor(), theXMLTypePackage.getIDREF(), "validFor", null, 0, 1, ParameterValue.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(poissonDistributionTypeEClass, PoissonDistributionType.class, "PoissonDistributionType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getPoissonDistributionType_Mean(), theXMLTypePackage.getDouble(), "mean", null, 0, 1, PoissonDistributionType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(priorityParametersEClass, PriorityParameters.class, "PriorityParameters", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getPriorityParameters_Interruptible(), this.getParameter(), null, "interruptible", null, 0, 1, PriorityParameters.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getPriorityParameters_Priority(), this.getParameter(), null, "priority", null, 0, 1, PriorityParameters.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(propertyParametersEClass, PropertyParameters.class, "PropertyParameters", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getPropertyParameters_Property(), this.getPropertyType(), null, "property", null, 0, -1, PropertyParameters.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(propertyTypeEClass, PropertyType.class, "PropertyType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getPropertyType_Name(), theXMLTypePackage.getString(), "name", null, 1, 1, PropertyType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(resourceParametersEClass, ResourceParameters.class, "ResourceParameters", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getResourceParameters_Selection(), this.getParameter(), null, "selection", null, 0, 1, ResourceParameters.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getResourceParameters_Availability(), this.getParameter(), null, "availability", null, 0, 1, ResourceParameters.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getResourceParameters_Quantity(), this.getParameter(), null, "quantity", null, 0, 1, ResourceParameters.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getResourceParameters_Role(), this.getParameter(), null, "role", null, 0, -1, ResourceParameters.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(scenarioEClass, Scenario.class, "Scenario", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getScenario_ScenarioParameters(), this.getScenarioParameters(), null, "scenarioParameters", null, 0, 1, Scenario.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getScenario_ElementParameters(), this.getElementParameters(), null, "elementParameters", null, 0, -1, Scenario.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getScenario_Calendar(), this.getCalendar(), null, "calendar", null, 0, -1, Scenario.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getScenario_VendorExtension(), this.getVendorExtension(), null, "vendorExtension", null, 0, -1, Scenario.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getScenario_Author(), theXMLTypePackage.getString(), "author", null, 0, 1, Scenario.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getScenario_Created(), theXMLTypePackage.getDateTime(), "created", null, 0, 1, Scenario.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getScenario_Description(), theXMLTypePackage.getString(), "description", null, 0, 1, Scenario.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getScenario_Id(), theXMLTypePackage.getID(), "id", null, 1, 1, Scenario.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getScenario_Inherits(), theXMLTypePackage.getIDREF(), "inherits", null, 0, 1, Scenario.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getScenario_Modified(), theXMLTypePackage.getDateTime(), "modified", null, 0, 1, Scenario.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getScenario_Name(), theXMLTypePackage.getString(), "name", null, 0, 1, Scenario.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getScenario_Result(), theXMLTypePackage.getIDREF(), "result", null, 0, 1, Scenario.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getScenario_Vendor(), theXMLTypePackage.getString(), "vendor", null, 0, 1, Scenario.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getScenario_Version(), theXMLTypePackage.getString(), "version", null, 0, 1, Scenario.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(scenarioParametersEClass, ScenarioParameters.class, "ScenarioParameters", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getScenarioParameters_Start(), this.getParameter(), null, "start", null, 0, 1, ScenarioParameters.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getScenarioParameters_Duration(), this.getParameter(), null, "duration", null, 0, 1, ScenarioParameters.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getScenarioParameters_PropertyParameters(), this.getPropertyParameters(), null, "propertyParameters", null, 0, 1, ScenarioParameters.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getScenarioParameters_BaseCurrencyUnit(), theXMLTypePackage.getString(), "baseCurrencyUnit", null, 0, 1, ScenarioParameters.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getScenarioParameters_BaseTimeUnit(), this.getTimeUnit(), "baseTimeUnit", null, 0, 1, ScenarioParameters.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getScenarioParameters_Replication(), theXMLTypePackage.getInt(), "replication", null, 0, 1, ScenarioParameters.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getScenarioParameters_Seed(), theXMLTypePackage.getLong(), "seed", null, 0, 1, ScenarioParameters.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(scenarioParametersTypeEClass, ScenarioParametersType.class, "ScenarioParametersType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + initEClass(stringParameterTypeEClass, StringParameterType.class, "StringParameterType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getStringParameterType_Value(), theXMLTypePackage.getString(), "value", null, 0, 1, StringParameterType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(timeParametersEClass, TimeParameters.class, "TimeParameters", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getTimeParameters_TransferTime(), this.getParameter(), null, "transferTime", null, 0, 1, TimeParameters.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getTimeParameters_QueueTime(), this.getParameter(), null, "queueTime", null, 0, 1, TimeParameters.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getTimeParameters_WaitTime(), this.getParameter(), null, "waitTime", null, 0, 1, TimeParameters.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getTimeParameters_SetUpTime(), this.getParameter(), null, "setUpTime", null, 0, 1, TimeParameters.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getTimeParameters_ProcessingTime(), this.getParameter(), null, "processingTime", null, 0, 1, TimeParameters.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getTimeParameters_ValidationTime(), this.getParameter(), null, "validationTime", null, 0, 1, TimeParameters.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getTimeParameters_ReworkTime(), this.getParameter(), null, "reworkTime", null, 0, 1, TimeParameters.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(triangularDistributionTypeEClass, TriangularDistributionType.class, "TriangularDistributionType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getTriangularDistributionType_Max(), theXMLTypePackage.getDouble(), "max", null, 0, 1, TriangularDistributionType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getTriangularDistributionType_Min(), theXMLTypePackage.getDouble(), "min", null, 0, 1, TriangularDistributionType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getTriangularDistributionType_Mode(), theXMLTypePackage.getDouble(), "mode", null, 0, 1, TriangularDistributionType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(truncatedNormalDistributionTypeEClass, TruncatedNormalDistributionType.class, "TruncatedNormalDistributionType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getTruncatedNormalDistributionType_Max(), theXMLTypePackage.getDouble(), "max", null, 0, 1, TruncatedNormalDistributionType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getTruncatedNormalDistributionType_Mean(), theXMLTypePackage.getDouble(), "mean", null, 0, 1, TruncatedNormalDistributionType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getTruncatedNormalDistributionType_Min(), theXMLTypePackage.getDouble(), "min", null, 0, 1, TruncatedNormalDistributionType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getTruncatedNormalDistributionType_StandardDeviation(), theXMLTypePackage.getDouble(), "standardDeviation", null, 0, 1, TruncatedNormalDistributionType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(uniformDistributionTypeEClass, UniformDistributionType.class, "UniformDistributionType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getUniformDistributionType_Max(), theXMLTypePackage.getDouble(), "max", null, 0, 1, UniformDistributionType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getUniformDistributionType_Min(), theXMLTypePackage.getDouble(), "min", null, 0, 1, UniformDistributionType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(userDistributionDataPointTypeEClass, UserDistributionDataPointType.class, "UserDistributionDataPointType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getUserDistributionDataPointType_ParameterValueGroup(), ecorePackage.getEFeatureMapEntry(), "parameterValueGroup", null, 1, 1, UserDistributionDataPointType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getUserDistributionDataPointType_ParameterValue(), this.getParameterValue(), null, "parameterValue", null, 1, 1, UserDistributionDataPointType.class, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED); + initEAttribute(getUserDistributionDataPointType_Probability(), theXMLTypePackage.getFloat(), "probability", null, 0, 1, UserDistributionDataPointType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(userDistributionTypeEClass, UserDistributionType.class, "UserDistributionType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getUserDistributionType_Group(), ecorePackage.getEFeatureMapEntry(), "group", null, 0, -1, UserDistributionType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getUserDistributionType_UserDistributionDataPoint(), this.getUserDistributionDataPointType(), null, "userDistributionDataPoint", null, 1, -1, UserDistributionType.class, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED); + initEAttribute(getUserDistributionType_Discrete(), theXMLTypePackage.getBoolean(), "discrete", "false", 0, 1, UserDistributionType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(vendorExtensionEClass, VendorExtension.class, "VendorExtension", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getVendorExtension_Any(), ecorePackage.getEFeatureMapEntry(), "any", null, 0, 1, VendorExtension.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getVendorExtension_Name(), theXMLTypePackage.getString(), "name", null, 1, 1, VendorExtension.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getVendorExtension_AnyAttribute(), ecorePackage.getEFeatureMapEntry(), "anyAttribute", null, 0, -1, VendorExtension.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(weibullDistributionTypeEClass, WeibullDistributionType.class, "WeibullDistributionType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getWeibullDistributionType_Scale(), theXMLTypePackage.getDouble(), "scale", null, 0, 1, WeibullDistributionType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getWeibullDistributionType_Shape(), theXMLTypePackage.getDouble(), "shape", null, 0, 1, WeibullDistributionType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + // Initialize enums and add enum literals + initEEnum(resultTypeEEnum, ResultType.class, "ResultType"); + addEEnumLiteral(resultTypeEEnum, ResultType.MIN); + addEEnumLiteral(resultTypeEEnum, ResultType.MAX); + addEEnumLiteral(resultTypeEEnum, ResultType.MEAN); + addEEnumLiteral(resultTypeEEnum, ResultType.COUNT); + addEEnumLiteral(resultTypeEEnum, ResultType.SUM); + + initEEnum(timeUnitEEnum, TimeUnit.class, "TimeUnit"); + addEEnumLiteral(timeUnitEEnum, TimeUnit.MS); + addEEnumLiteral(timeUnitEEnum, TimeUnit.S); + addEEnumLiteral(timeUnitEEnum, TimeUnit.MIN); + addEEnumLiteral(timeUnitEEnum, TimeUnit.HOUR); + addEEnumLiteral(timeUnitEEnum, TimeUnit.DAY); + addEEnumLiteral(timeUnitEEnum, TimeUnit.YEAR); + + // Initialize data types + initEDataType(resultTypeObjectEDataType, ResultType.class, "ResultTypeObject", IS_SERIALIZABLE, IS_GENERATED_INSTANCE_CLASS); + initEDataType(timeUnitObjectEDataType, TimeUnit.class, "TimeUnitObject", IS_SERIALIZABLE, IS_GENERATED_INSTANCE_CLASS); + + // Create resource + createResource(eNS_URI); + + // Create annotations + // http:///org/eclipse/emf/ecore/util/ExtendedMetaData + createExtendedMetaDataAnnotations(); + } + + /** + * Initializes the annotations for <b>http:///org/eclipse/emf/ecore/util/ExtendedMetaData</b>. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected void createExtendedMetaDataAnnotations() { + String source = "http:///org/eclipse/emf/ecore/util/ExtendedMetaData"; + addAnnotation + (betaDistributionTypeEClass, + source, + new String[] { + "name", "BetaDistribution_._type", + "kind", "empty" + }); + addAnnotation + (getBetaDistributionType_Scale(), + source, + new String[] { + "kind", "attribute", + "name", "scale" + }); + addAnnotation + (getBetaDistributionType_Shape(), + source, + new String[] { + "kind", "attribute", + "name", "shape" + }); + addAnnotation + (binomialDistributionTypeEClass, + source, + new String[] { + "name", "BinomialDistribution_._type", + "kind", "empty" + }); + addAnnotation + (getBinomialDistributionType_Probability(), + source, + new String[] { + "kind", "attribute", + "name", "probability" + }); + addAnnotation + (getBinomialDistributionType_Trials(), + source, + new String[] { + "kind", "attribute", + "name", "trials" + }); + addAnnotation + (booleanParameterTypeEClass, + source, + new String[] { + "name", "BooleanParameter_._type", + "kind", "empty" + }); + addAnnotation + (getBooleanParameterType_Value(), + source, + new String[] { + "kind", "attribute", + "name", "value" + }); + addAnnotation + (bpSimDataTypeEClass, + source, + new String[] { + "name", "BPSimData_._type", + "kind", "elementOnly" + }); + addAnnotation + (getBPSimDataType_Group(), + source, + new String[] { + "kind", "group", + "name", "group:0" + }); + addAnnotation + (getBPSimDataType_Scenario(), + source, + new String[] { + "kind", "element", + "name", "Scenario", + "namespace", "##targetNamespace", + "group", "#group:0" + }); + addAnnotation + (calendarEClass, + source, + new String[] { + "name", "Calendar", + "kind", "simple" + }); + addAnnotation + (getCalendar_Value(), + source, + new String[] { + "name", ":0", + "kind", "simple" + }); + addAnnotation + (getCalendar_Id(), + source, + new String[] { + "kind", "attribute", + "name", "id" + }); + addAnnotation + (getCalendar_Name(), + source, + new String[] { + "kind", "attribute", + "name", "name" + }); + addAnnotation + (constantParameterEClass, + source, + new String[] { + "name", "ConstantParameter", + "kind", "empty" + }); + addAnnotation + (controlParametersEClass, + source, + new String[] { + "name", "ControlParameters", + "kind", "elementOnly" + }); + addAnnotation + (getControlParameters_Probability(), + source, + new String[] { + "kind", "element", + "name", "Probability", + "namespace", "##targetNamespace" + }); + addAnnotation + (getControlParameters_Condition(), + source, + new String[] { + "kind", "element", + "name", "Condition", + "namespace", "##targetNamespace" + }); + addAnnotation + (getControlParameters_InterTriggerTimer(), + source, + new String[] { + "kind", "element", + "name", "InterTriggerTimer", + "namespace", "##targetNamespace" + }); + addAnnotation + (getControlParameters_TriggerCount(), + source, + new String[] { + "kind", "element", + "name", "TriggerCount", + "namespace", "##targetNamespace" + }); + addAnnotation + (costParametersEClass, + source, + new String[] { + "name", "CostParameters", + "kind", "elementOnly" + }); + addAnnotation + (getCostParameters_FixedCost(), + source, + new String[] { + "kind", "element", + "name", "FixedCost", + "namespace", "##targetNamespace" + }); + addAnnotation + (getCostParameters_UnitCost(), + source, + new String[] { + "kind", "element", + "name", "UnitCost", + "namespace", "##targetNamespace" + }); + addAnnotation + (dateTimeParameterTypeEClass, + source, + new String[] { + "name", "DateTimeParameter_._type", + "kind", "empty" + }); + addAnnotation + (getDateTimeParameterType_Value(), + source, + new String[] { + "kind", "attribute", + "name", "value" + }); + addAnnotation + (distributionParameterEClass, + source, + new String[] { + "name", "DistributionParameter", + "kind", "empty" + }); + addAnnotation + (getDistributionParameter_CurrencyUnit(), + source, + new String[] { + "kind", "attribute", + "name", "currencyUnit" + }); + addAnnotation + (getDistributionParameter_TimeUnit(), + source, + new String[] { + "kind", "attribute", + "name", "timeUnit" + }); + addAnnotation + (documentRootEClass, + source, + new String[] { + "name", "", + "kind", "mixed" + }); + addAnnotation + (getDocumentRoot_Mixed(), + source, + new String[] { + "kind", "elementWildcard", + "name", ":mixed" + }); + addAnnotation + (getDocumentRoot_XMLNSPrefixMap(), + source, + new String[] { + "kind", "attribute", + "name", "xmlns:prefix" + }); + addAnnotation + (getDocumentRoot_XSISchemaLocation(), + source, + new String[] { + "kind", "attribute", + "name", "xsi:schemaLocation" + }); + addAnnotation + (getDocumentRoot_BetaDistribution(), + source, + new String[] { + "kind", "element", + "name", "BetaDistribution", + "namespace", "##targetNamespace", + "affiliation", "ParameterValue" + }); + addAnnotation + (getDocumentRoot_ParameterValue(), + source, + new String[] { + "kind", "element", + "name", "ParameterValue", + "namespace", "##targetNamespace" + }); + addAnnotation + (getDocumentRoot_BinomialDistribution(), + source, + new String[] { + "kind", "element", + "name", "BinomialDistribution", + "namespace", "##targetNamespace", + "affiliation", "ParameterValue" + }); + addAnnotation + (getDocumentRoot_BooleanParameter(), + source, + new String[] { + "kind", "element", + "name", "BooleanParameter", + "namespace", "##targetNamespace", + "affiliation", "ParameterValue" + }); + addAnnotation + (getDocumentRoot_BPSimData(), + source, + new String[] { + "kind", "element", + "name", "BPSimData", + "namespace", "##targetNamespace" + }); + addAnnotation + (getDocumentRoot_DateTimeParameter(), + source, + new String[] { + "kind", "element", + "name", "DateTimeParameter", + "namespace", "##targetNamespace", + "affiliation", "ParameterValue" + }); + addAnnotation + (getDocumentRoot_DurationParameter(), + source, + new String[] { + "kind", "element", + "name", "DurationParameter", + "namespace", "##targetNamespace", + "affiliation", "ParameterValue" + }); + addAnnotation + (getDocumentRoot_EnumParameter(), + source, + new String[] { + "kind", "element", + "name", "EnumParameter", + "namespace", "##targetNamespace", + "affiliation", "ParameterValue" + }); + addAnnotation + (getDocumentRoot_ErlangDistribution(), + source, + new String[] { + "kind", "element", + "name", "ErlangDistribution", + "namespace", "##targetNamespace", + "affiliation", "ParameterValue" + }); + addAnnotation + (getDocumentRoot_ExpressionParameter(), + source, + new String[] { + "kind", "element", + "name", "ExpressionParameter", + "namespace", "##targetNamespace", + "affiliation", "ParameterValue" + }); + addAnnotation + (getDocumentRoot_FloatingParameter(), + source, + new String[] { + "kind", "element", + "name", "FloatingParameter", + "namespace", "##targetNamespace", + "affiliation", "ParameterValue" + }); + addAnnotation + (getDocumentRoot_GammaDistribution(), + source, + new String[] { + "kind", "element", + "name", "GammaDistribution", + "namespace", "##targetNamespace", + "affiliation", "ParameterValue" + }); + addAnnotation + (getDocumentRoot_LogNormalDistribution(), + source, + new String[] { + "kind", "element", + "name", "LogNormalDistribution", + "namespace", "##targetNamespace", + "affiliation", "ParameterValue" + }); + addAnnotation + (getDocumentRoot_NegativeExponentialDistribution(), + source, + new String[] { + "kind", "element", + "name", "NegativeExponentialDistribution", + "namespace", "##targetNamespace", + "affiliation", "ParameterValue" + }); + addAnnotation + (getDocumentRoot_NormalDistribution(), + source, + new String[] { + "kind", "element", + "name", "NormalDistribution", + "namespace", "##targetNamespace", + "affiliation", "ParameterValue" + }); + addAnnotation + (getDocumentRoot_NumericParameter(), + source, + new String[] { + "kind", "element", + "name", "NumericParameter", + "namespace", "##targetNamespace", + "affiliation", "ParameterValue" + }); + addAnnotation + (getDocumentRoot_PoissonDistribution(), + source, + new String[] { + "kind", "element", + "name", "PoissonDistribution", + "namespace", "##targetNamespace", + "affiliation", "ParameterValue" + }); + addAnnotation + (getDocumentRoot_StringParameter(), + source, + new String[] { + "kind", "element", + "name", "StringParameter", + "namespace", "##targetNamespace", + "affiliation", "ParameterValue" + }); + addAnnotation + (getDocumentRoot_TriangularDistribution(), + source, + new String[] { + "kind", "element", + "name", "TriangularDistribution", + "namespace", "##targetNamespace", + "affiliation", "ParameterValue" + }); + addAnnotation + (getDocumentRoot_TruncatedNormalDistribution(), + source, + new String[] { + "kind", "element", + "name", "TruncatedNormalDistribution", + "namespace", "##targetNamespace", + "affiliation", "ParameterValue" + }); + addAnnotation + (getDocumentRoot_UniformDistribution(), + source, + new String[] { + "kind", "element", + "name", "UniformDistribution", + "namespace", "##targetNamespace", + "affiliation", "ParameterValue" + }); + addAnnotation + (getDocumentRoot_UserDistribution(), + source, + new String[] { + "kind", "element", + "name", "UserDistribution", + "namespace", "##targetNamespace", + "affiliation", "ParameterValue" + }); + addAnnotation + (getDocumentRoot_UserDistributionDataPoint(), + source, + new String[] { + "kind", "element", + "name", "UserDistributionDataPoint", + "namespace", "##targetNamespace" + }); + addAnnotation + (getDocumentRoot_WeibullDistribution(), + source, + new String[] { + "kind", "element", + "name", "WeibullDistribution", + "namespace", "##targetNamespace", + "affiliation", "ParameterValue" + }); + addAnnotation + (durationParameterTypeEClass, + source, + new String[] { + "name", "DurationParameter_._type", + "kind", "empty" + }); + addAnnotation + (getDurationParameterType_Value(), + source, + new String[] { + "kind", "attribute", + "name", "value" + }); + addAnnotation + (elementParametersEClass, + source, + new String[] { + "name", "ElementParameters", + "kind", "elementOnly" + }); + addAnnotation + (getElementParameters_TimeParameters(), + source, + new String[] { + "kind", "element", + "name", "TimeParameters", + "namespace", "##targetNamespace" + }); + addAnnotation + (getElementParameters_ControlParameters(), + source, + new String[] { + "kind", "element", + "name", "ControlParameters", + "namespace", "##targetNamespace" + }); + addAnnotation + (getElementParameters_ResourceParameters(), + source, + new String[] { + "kind", "element", + "name", "ResourceParameters", + "namespace", "##targetNamespace" + }); + addAnnotation + (getElementParameters_PriorityParameters(), + source, + new String[] { + "kind", "element", + "name", "PriorityParameters", + "namespace", "##targetNamespace" + }); + addAnnotation + (getElementParameters_CostParameters(), + source, + new String[] { + "kind", "element", + "name", "CostParameters", + "namespace", "##targetNamespace" + }); + addAnnotation + (getElementParameters_PropertyParameters(), + source, + new String[] { + "kind", "element", + "name", "PropertyParameters", + "namespace", "##targetNamespace" + }); + addAnnotation + (getElementParameters_VendorExtension(), + source, + new String[] { + "kind", "element", + "name", "VendorExtension", + "namespace", "##targetNamespace" + }); + addAnnotation + (getElementParameters_ElementRef(), + source, + new String[] { + "kind", "attribute", + "name", "elementRef" + }); + addAnnotation + (getElementParameters_Id(), + source, + new String[] { + "kind", "attribute", + "name", "id" + }); + addAnnotation + (elementParametersTypeEClass, + source, + new String[] { + "name", "ElementParametersType", + "kind", "elementOnly" + }); + addAnnotation + (enumParameterTypeEClass, + source, + new String[] { + "name", "EnumParameter_._type", + "kind", "elementOnly" + }); + addAnnotation + (getEnumParameterType_Group(), + source, + new String[] { + "kind", "group", + "name", "group:3" + }); + addAnnotation + (getEnumParameterType_ParameterValueGroup(), + source, + new String[] { + "kind", "group", + "name", "ParameterValue:group", + "namespace", "##targetNamespace", + "group", "#group:3" + }); + addAnnotation + (getEnumParameterType_ParameterValue(), + source, + new String[] { + "kind", "element", + "name", "ParameterValue", + "namespace", "##targetNamespace", + "group", "ParameterValue:group" + }); + addAnnotation + (erlangDistributionTypeEClass, + source, + new String[] { + "name", "ErlangDistribution_._type", + "kind", "empty" + }); + addAnnotation + (getErlangDistributionType_K(), + source, + new String[] { + "kind", "attribute", + "name", "k" + }); + addAnnotation + (getErlangDistributionType_Mean(), + source, + new String[] { + "kind", "attribute", + "name", "mean" + }); + addAnnotation + (expressionParameterTypeEClass, + source, + new String[] { + "name", "ExpressionParameter_._type", + "kind", "empty" + }); + addAnnotation + (getExpressionParameterType_Value(), + source, + new String[] { + "kind", "attribute", + "name", "value" + }); + addAnnotation + (floatingParameterTypeEClass, + source, + new String[] { + "name", "FloatingParameter_._type", + "kind", "empty" + }); + addAnnotation + (getFloatingParameterType_CurrencyUnit(), + source, + new String[] { + "kind", "attribute", + "name", "currencyUnit" + }); + addAnnotation + (getFloatingParameterType_TimeUnit(), + source, + new String[] { + "kind", "attribute", + "name", "timeUnit" + }); + addAnnotation + (getFloatingParameterType_Value(), + source, + new String[] { + "kind", "attribute", + "name", "value" + }); + addAnnotation + (gammaDistributionTypeEClass, + source, + new String[] { + "name", "GammaDistribution_._type", + "kind", "empty" + }); + addAnnotation + (getGammaDistributionType_Scale(), + source, + new String[] { + "kind", "attribute", + "name", "scale" + }); + addAnnotation + (getGammaDistributionType_Shape(), + source, + new String[] { + "kind", "attribute", + "name", "shape" + }); + addAnnotation + (logNormalDistributionTypeEClass, + source, + new String[] { + "name", "LogNormalDistribution_._type", + "kind", "empty" + }); + addAnnotation + (getLogNormalDistributionType_Mean(), + source, + new String[] { + "kind", "attribute", + "name", "mean" + }); + addAnnotation + (getLogNormalDistributionType_StandardDeviation(), + source, + new String[] { + "kind", "attribute", + "name", "standardDeviation" + }); + addAnnotation + (negativeExponentialDistributionTypeEClass, + source, + new String[] { + "name", "NegativeExponentialDistribution_._type", + "kind", "empty" + }); + addAnnotation + (getNegativeExponentialDistributionType_Mean(), + source, + new String[] { + "kind", "attribute", + "name", "mean" + }); + addAnnotation + (normalDistributionTypeEClass, + source, + new String[] { + "name", "NormalDistribution_._type", + "kind", "empty" + }); + addAnnotation + (getNormalDistributionType_Mean(), + source, + new String[] { + "kind", "attribute", + "name", "mean" + }); + addAnnotation + (getNormalDistributionType_StandardDeviation(), + source, + new String[] { + "kind", "attribute", + "name", "standardDeviation" + }); + addAnnotation + (numericParameterTypeEClass, + source, + new String[] { + "name", "NumericParameter_._type", + "kind", "empty" + }); + addAnnotation + (getNumericParameterType_CurrencyUnit(), + source, + new String[] { + "kind", "attribute", + "name", "currencyUnit" + }); + addAnnotation + (getNumericParameterType_TimeUnit(), + source, + new String[] { + "kind", "attribute", + "name", "timeUnit" + }); + addAnnotation + (getNumericParameterType_Value(), + source, + new String[] { + "kind", "attribute", + "name", "value" + }); + addAnnotation + (parameterEClass, + source, + new String[] { + "name", "Parameter", + "kind", "elementOnly" + }); + addAnnotation + (getParameter_ResultRequest(), + source, + new String[] { + "kind", "element", + "name", "ResultRequest", + "namespace", "##targetNamespace" + }); + addAnnotation + (getParameter_ParameterValueGroup(), + source, + new String[] { + "kind", "group", + "name", "ParameterValue:group", + "namespace", "##targetNamespace" + }); + addAnnotation + (getParameter_ParameterValue(), + source, + new String[] { + "kind", "element", + "name", "ParameterValue", + "namespace", "##targetNamespace", + "group", "ParameterValue:group" + }); + addAnnotation + (getParameter_Kpi(), + source, + new String[] { + "kind", "attribute", + "name", "kpi" + }); + addAnnotation + (getParameter_Sla(), + source, + new String[] { + "kind", "attribute", + "name", "sla" + }); + addAnnotation + (parameterValueEClass, + source, + new String[] { + "name", "ParameterValue", + "kind", "empty" + }); + addAnnotation + (getParameterValue_Instance(), + source, + new String[] { + "kind", "attribute", + "name", "instance" + }); + addAnnotation + (getParameterValue_Result(), + source, + new String[] { + "kind", "attribute", + "name", "result" + }); + addAnnotation + (getParameterValue_ValidFor(), + source, + new String[] { + "kind", "attribute", + "name", "validFor" + }); + addAnnotation + (poissonDistributionTypeEClass, + source, + new String[] { + "name", "PoissonDistribution_._type", + "kind", "empty" + }); + addAnnotation + (getPoissonDistributionType_Mean(), + source, + new String[] { + "kind", "attribute", + "name", "mean" + }); + addAnnotation + (priorityParametersEClass, + source, + new String[] { + "name", "PriorityParameters", + "kind", "elementOnly" + }); + addAnnotation + (getPriorityParameters_Interruptible(), + source, + new String[] { + "kind", "element", + "name", "Interruptible", + "namespace", "##targetNamespace" + }); + addAnnotation + (getPriorityParameters_Priority(), + source, + new String[] { + "kind", "element", + "name", "Priority", + "namespace", "##targetNamespace" + }); + addAnnotation + (propertyParametersEClass, + source, + new String[] { + "name", "PropertyParameters", + "kind", "elementOnly" + }); + addAnnotation + (getPropertyParameters_Property(), + source, + new String[] { + "kind", "element", + "name", "Property", + "namespace", "##targetNamespace" + }); + addAnnotation + (propertyTypeEClass, + source, + new String[] { + "name", "Property_._type", + "kind", "elementOnly" + }); + addAnnotation + (getPropertyType_Name(), + source, + new String[] { + "kind", "attribute", + "name", "name" + }); + addAnnotation + (resourceParametersEClass, + source, + new String[] { + "name", "ResourceParameters", + "kind", "elementOnly" + }); + addAnnotation + (getResourceParameters_Selection(), + source, + new String[] { + "kind", "element", + "name", "Selection", + "namespace", "##targetNamespace" + }); + addAnnotation + (getResourceParameters_Availability(), + source, + new String[] { + "kind", "element", + "name", "Availability", + "namespace", "##targetNamespace" + }); + addAnnotation + (getResourceParameters_Quantity(), + source, + new String[] { + "kind", "element", + "name", "Quantity", + "namespace", "##targetNamespace" + }); + addAnnotation + (getResourceParameters_Role(), + source, + new String[] { + "kind", "element", + "name", "Role", + "namespace", "##targetNamespace" + }); + addAnnotation + (resultTypeEEnum, + source, + new String[] { + "name", "ResultType" + }); + addAnnotation + (resultTypeObjectEDataType, + source, + new String[] { + "name", "ResultType:Object", + "baseType", "ResultType" + }); + addAnnotation + (scenarioEClass, + source, + new String[] { + "name", "Scenario", + "kind", "elementOnly" + }); + addAnnotation + (getScenario_ScenarioParameters(), + source, + new String[] { + "kind", "element", + "name", "ScenarioParameters", + "namespace", "##targetNamespace" + }); + addAnnotation + (getScenario_ElementParameters(), + source, + new String[] { + "kind", "element", + "name", "ElementParameters", + "namespace", "##targetNamespace" + }); + addAnnotation + (getScenario_Calendar(), + source, + new String[] { + "kind", "element", + "name", "Calendar", + "namespace", "##targetNamespace" + }); + addAnnotation + (getScenario_VendorExtension(), + source, + new String[] { + "kind", "element", + "name", "VendorExtension", + "namespace", "##targetNamespace" + }); + addAnnotation + (getScenario_Author(), + source, + new String[] { + "kind", "attribute", + "name", "author" + }); + addAnnotation + (getScenario_Created(), + source, + new String[] { + "kind", "attribute", + "name", "created" + }); + addAnnotation + (getScenario_Description(), + source, + new String[] { + "kind", "attribute", + "name", "description" + }); + addAnnotation + (getScenario_Id(), + source, + new String[] { + "kind", "attribute", + "name", "id" + }); + addAnnotation + (getScenario_Inherits(), + source, + new String[] { + "kind", "attribute", + "name", "inherits" + }); + addAnnotation + (getScenario_Modified(), + source, + new String[] { + "kind", "attribute", + "name", "modified" + }); + addAnnotation + (getScenario_Name(), + source, + new String[] { + "kind", "attribute", + "name", "name" + }); + addAnnotation + (getScenario_Result(), + source, + new String[] { + "kind", "attribute", + "name", "result" + }); + addAnnotation + (getScenario_Vendor(), + source, + new String[] { + "kind", "attribute", + "name", "vendor" + }); + addAnnotation + (getScenario_Version(), + source, + new String[] { + "kind", "attribute", + "name", "version" + }); + addAnnotation + (scenarioParametersEClass, + source, + new String[] { + "name", "ScenarioParameters", + "kind", "elementOnly" + }); + addAnnotation + (getScenarioParameters_Start(), + source, + new String[] { + "kind", "element", + "name", "Start", + "namespace", "##targetNamespace" + }); + addAnnotation + (getScenarioParameters_Duration(), + source, + new String[] { + "kind", "element", + "name", "Duration", + "namespace", "##targetNamespace" + }); + addAnnotation + (getScenarioParameters_PropertyParameters(), + source, + new String[] { + "kind", "element", + "name", "PropertyParameters", + "namespace", "##targetNamespace" + }); + addAnnotation + (getScenarioParameters_BaseCurrencyUnit(), + source, + new String[] { + "kind", "attribute", + "name", "baseCurrencyUnit" + }); + addAnnotation + (getScenarioParameters_BaseTimeUnit(), + source, + new String[] { + "kind", "attribute", + "name", "baseTimeUnit" + }); + addAnnotation + (getScenarioParameters_Replication(), + source, + new String[] { + "kind", "attribute", + "name", "replication" + }); + addAnnotation + (getScenarioParameters_Seed(), + source, + new String[] { + "kind", "attribute", + "name", "seed" + }); + addAnnotation + (scenarioParametersTypeEClass, + source, + new String[] { + "name", "ScenarioParameters_._type", + "kind", "elementOnly" + }); + addAnnotation + (stringParameterTypeEClass, + source, + new String[] { + "name", "StringParameter_._type", + "kind", "empty" + }); + addAnnotation + (getStringParameterType_Value(), + source, + new String[] { + "kind", "attribute", + "name", "value" + }); + addAnnotation + (timeParametersEClass, + source, + new String[] { + "name", "TimeParameters", + "kind", "elementOnly" + }); + addAnnotation + (getTimeParameters_TransferTime(), + source, + new String[] { + "kind", "element", + "name", "TransferTime", + "namespace", "##targetNamespace" + }); + addAnnotation + (getTimeParameters_QueueTime(), + source, + new String[] { + "kind", "element", + "name", "QueueTime", + "namespace", "##targetNamespace" + }); + addAnnotation + (getTimeParameters_WaitTime(), + source, + new String[] { + "kind", "element", + "name", "WaitTime", + "namespace", "##targetNamespace" + }); + addAnnotation + (getTimeParameters_SetUpTime(), + source, + new String[] { + "kind", "element", + "name", "SetUpTime", + "namespace", "##targetNamespace" + }); + addAnnotation + (getTimeParameters_ProcessingTime(), + source, + new String[] { + "kind", "element", + "name", "ProcessingTime", + "namespace", "##targetNamespace" + }); + addAnnotation + (getTimeParameters_ValidationTime(), + source, + new String[] { + "kind", "element", + "name", "ValidationTime", + "namespace", "##targetNamespace" + }); + addAnnotation + (getTimeParameters_ReworkTime(), + source, + new String[] { + "kind", "element", + "name", "ReworkTime", + "namespace", "##targetNamespace" + }); + addAnnotation + (timeUnitEEnum, + source, + new String[] { + "name", "TimeUnit" + }); + addAnnotation + (timeUnitObjectEDataType, + source, + new String[] { + "name", "TimeUnit:Object", + "baseType", "TimeUnit" + }); + addAnnotation + (triangularDistributionTypeEClass, + source, + new String[] { + "name", "TriangularDistribution_._type", + "kind", "empty" + }); + addAnnotation + (getTriangularDistributionType_Max(), + source, + new String[] { + "kind", "attribute", + "name", "max" + }); + addAnnotation + (getTriangularDistributionType_Min(), + source, + new String[] { + "kind", "attribute", + "name", "min" + }); + addAnnotation + (getTriangularDistributionType_Mode(), + source, + new String[] { + "kind", "attribute", + "name", "mode" + }); + addAnnotation + (truncatedNormalDistributionTypeEClass, + source, + new String[] { + "name", "TruncatedNormalDistribution_._type", + "kind", "empty" + }); + addAnnotation + (getTruncatedNormalDistributionType_Max(), + source, + new String[] { + "kind", "attribute", + "name", "max" + }); + addAnnotation + (getTruncatedNormalDistributionType_Mean(), + source, + new String[] { + "kind", "attribute", + "name", "mean" + }); + addAnnotation + (getTruncatedNormalDistributionType_Min(), + source, + new String[] { + "kind", "attribute", + "name", "min" + }); + addAnnotation + (getTruncatedNormalDistributionType_StandardDeviation(), + source, + new String[] { + "kind", "attribute", + "name", "standardDeviation" + }); + addAnnotation + (uniformDistributionTypeEClass, + source, + new String[] { + "name", "UniformDistribution_._type", + "kind", "empty" + }); + addAnnotation + (getUniformDistributionType_Max(), + source, + new String[] { + "kind", "attribute", + "name", "max" + }); + addAnnotation + (getUniformDistributionType_Min(), + source, + new String[] { + "kind", "attribute", + "name", "min" + }); + addAnnotation + (userDistributionDataPointTypeEClass, + source, + new String[] { + "name", "UserDistributionDataPoint_._type", + "kind", "elementOnly" + }); + addAnnotation + (getUserDistributionDataPointType_ParameterValueGroup(), + source, + new String[] { + "kind", "group", + "name", "ParameterValue:group", + "namespace", "##targetNamespace" + }); + addAnnotation + (getUserDistributionDataPointType_ParameterValue(), + source, + new String[] { + "kind", "element", + "name", "ParameterValue", + "namespace", "##targetNamespace", + "group", "ParameterValue:group" + }); + addAnnotation + (getUserDistributionDataPointType_Probability(), + source, + new String[] { + "kind", "attribute", + "name", "probability" + }); + addAnnotation + (userDistributionTypeEClass, + source, + new String[] { + "name", "UserDistribution_._type", + "kind", "elementOnly" + }); + addAnnotation + (getUserDistributionType_Group(), + source, + new String[] { + "kind", "group", + "name", "group:5" + }); + addAnnotation + (getUserDistributionType_UserDistributionDataPoint(), + source, + new String[] { + "kind", "element", + "name", "UserDistributionDataPoint", + "namespace", "##targetNamespace", + "group", "#group:5" + }); + addAnnotation + (getUserDistributionType_Discrete(), + source, + new String[] { + "kind", "attribute", + "name", "discrete" + }); + addAnnotation + (vendorExtensionEClass, + source, + new String[] { + "name", "VendorExtension", + "kind", "elementOnly" + }); + addAnnotation + (getVendorExtension_Any(), + source, + new String[] { + "kind", "elementWildcard", + "wildcards", "##other", + "name", ":0", + "processing", "strict" + }); + addAnnotation + (getVendorExtension_Name(), + source, + new String[] { + "kind", "attribute", + "name", "name" + }); + addAnnotation + (getVendorExtension_AnyAttribute(), + source, + new String[] { + "kind", "attributeWildcard", + "wildcards", "##other", + "name", ":2", + "processing", "strict" + }); + addAnnotation + (weibullDistributionTypeEClass, + source, + new String[] { + "name", "WeibullDistribution_._type", + "kind", "empty" + }); + addAnnotation + (getWeibullDistributionType_Scale(), + source, + new String[] { + "kind", "attribute", + "name", "scale" + }); + addAnnotation + (getWeibullDistributionType_Shape(), + source, + new String[] { + "kind", "attribute", + "name", "shape" + }); + } + +} //BpsimPackageImpl diff --git a/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/impl/CalendarImpl.java b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/impl/CalendarImpl.java new file mode 100644 index 00000000..8a484bdc --- /dev/null +++ b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/impl/CalendarImpl.java @@ -0,0 +1,268 @@ +/** + */ +package org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl; + +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.Calendar; +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.EObjectImpl; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Calendar</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.CalendarImpl#getValue <em>Value</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.CalendarImpl#getId <em>Id</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.CalendarImpl#getName <em>Name</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class CalendarImpl extends EObjectImpl implements Calendar { + /** + * The default value of the '{@link #getValue() <em>Value</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getValue() + * @generated + * @ordered + */ + protected static final String VALUE_EDEFAULT = null; + + /** + * The cached value of the '{@link #getValue() <em>Value</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getValue() + * @generated + * @ordered + */ + protected String value = VALUE_EDEFAULT; + + /** + * The default value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected static final String ID_EDEFAULT = null; + + /** + * The cached value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected String id = ID_EDEFAULT; + + /** + * The default value of the '{@link #getName() <em>Name</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getName() + * @generated + * @ordered + */ + protected static final String NAME_EDEFAULT = null; + + /** + * The cached value of the '{@link #getName() <em>Name</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getName() + * @generated + * @ordered + */ + protected String name = NAME_EDEFAULT; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected CalendarImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return BpsimPackage.Literals.CALENDAR; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getValue() { + return value; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setValue(String newValue) { + String oldValue = value; + value = newValue; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, BpsimPackage.CALENDAR__VALUE, oldValue, value)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getId() { + return id; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setId(String newId) { + String oldId = id; + id = newId; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, BpsimPackage.CALENDAR__ID, oldId, id)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getName() { + return name; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setName(String newName) { + String oldName = name; + name = newName; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, BpsimPackage.CALENDAR__NAME, oldName, name)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case BpsimPackage.CALENDAR__VALUE: + return getValue(); + case BpsimPackage.CALENDAR__ID: + return getId(); + case BpsimPackage.CALENDAR__NAME: + return getName(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case BpsimPackage.CALENDAR__VALUE: + setValue((String)newValue); + return; + case BpsimPackage.CALENDAR__ID: + setId((String)newValue); + return; + case BpsimPackage.CALENDAR__NAME: + setName((String)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case BpsimPackage.CALENDAR__VALUE: + setValue(VALUE_EDEFAULT); + return; + case BpsimPackage.CALENDAR__ID: + setId(ID_EDEFAULT); + return; + case BpsimPackage.CALENDAR__NAME: + setName(NAME_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case BpsimPackage.CALENDAR__VALUE: + return VALUE_EDEFAULT == null ? value != null : !VALUE_EDEFAULT.equals(value); + case BpsimPackage.CALENDAR__ID: + return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); + case BpsimPackage.CALENDAR__NAME: + return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); + } + return super.eIsSet(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (value: "); + result.append(value); + result.append(", id: "); + result.append(id); + result.append(", name: "); + result.append(name); + result.append(')'); + return result.toString(); + } + +} //CalendarImpl diff --git a/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/impl/ConstantParameterImpl.java b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/impl/ConstantParameterImpl.java new file mode 100644 index 00000000..f3d0fa81 --- /dev/null +++ b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/impl/ConstantParameterImpl.java @@ -0,0 +1,38 @@ +/** + */ +package org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl; + +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ConstantParameter; +import org.eclipse.emf.ecore.EClass; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Constant Parameter</b></em>'. + * <!-- end-user-doc --> + * <p> + * </p> + * + * @generated + */ +public class ConstantParameterImpl extends ParameterValueImpl implements ConstantParameter { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected ConstantParameterImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return BpsimPackage.Literals.CONSTANT_PARAMETER; + } + +} //ConstantParameterImpl diff --git a/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/impl/ControlParametersImpl.java b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/impl/ControlParametersImpl.java new file mode 100644 index 00000000..947b3288 --- /dev/null +++ b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/impl/ControlParametersImpl.java @@ -0,0 +1,371 @@ +/** + */ +package org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl; + +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ControlParameters; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.Parameter; +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.NotificationChain; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.EObjectImpl; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Control Parameters</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.ControlParametersImpl#getProbability <em>Probability</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.ControlParametersImpl#getCondition <em>Condition</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.ControlParametersImpl#getInterTriggerTimer <em>Inter Trigger Timer</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.ControlParametersImpl#getTriggerCount <em>Trigger Count</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class ControlParametersImpl extends EObjectImpl implements ControlParameters { + /** + * The cached value of the '{@link #getProbability() <em>Probability</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getProbability() + * @generated + * @ordered + */ + protected Parameter probability; + + /** + * The cached value of the '{@link #getCondition() <em>Condition</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getCondition() + * @generated + * @ordered + */ + protected Parameter condition; + + /** + * The cached value of the '{@link #getInterTriggerTimer() <em>Inter Trigger Timer</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getInterTriggerTimer() + * @generated + * @ordered + */ + protected Parameter interTriggerTimer; + + /** + * The cached value of the '{@link #getTriggerCount() <em>Trigger Count</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getTriggerCount() + * @generated + * @ordered + */ + protected Parameter triggerCount; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected ControlParametersImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return BpsimPackage.Literals.CONTROL_PARAMETERS; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Parameter getProbability() { + return probability; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetProbability(Parameter newProbability, NotificationChain msgs) { + Parameter oldProbability = probability; + probability = newProbability; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, BpsimPackage.CONTROL_PARAMETERS__PROBABILITY, oldProbability, newProbability); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setProbability(Parameter newProbability) { + if (newProbability != probability) { + NotificationChain msgs = null; + if (probability != null) + msgs = ((InternalEObject)probability).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - BpsimPackage.CONTROL_PARAMETERS__PROBABILITY, null, msgs); + if (newProbability != null) + msgs = ((InternalEObject)newProbability).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - BpsimPackage.CONTROL_PARAMETERS__PROBABILITY, null, msgs); + msgs = basicSetProbability(newProbability, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, BpsimPackage.CONTROL_PARAMETERS__PROBABILITY, newProbability, newProbability)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Parameter getCondition() { + return condition; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetCondition(Parameter newCondition, NotificationChain msgs) { + Parameter oldCondition = condition; + condition = newCondition; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, BpsimPackage.CONTROL_PARAMETERS__CONDITION, oldCondition, newCondition); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setCondition(Parameter newCondition) { + if (newCondition != condition) { + NotificationChain msgs = null; + if (condition != null) + msgs = ((InternalEObject)condition).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - BpsimPackage.CONTROL_PARAMETERS__CONDITION, null, msgs); + if (newCondition != null) + msgs = ((InternalEObject)newCondition).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - BpsimPackage.CONTROL_PARAMETERS__CONDITION, null, msgs); + msgs = basicSetCondition(newCondition, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, BpsimPackage.CONTROL_PARAMETERS__CONDITION, newCondition, newCondition)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Parameter getInterTriggerTimer() { + return interTriggerTimer; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetInterTriggerTimer(Parameter newInterTriggerTimer, NotificationChain msgs) { + Parameter oldInterTriggerTimer = interTriggerTimer; + interTriggerTimer = newInterTriggerTimer; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, BpsimPackage.CONTROL_PARAMETERS__INTER_TRIGGER_TIMER, oldInterTriggerTimer, newInterTriggerTimer); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setInterTriggerTimer(Parameter newInterTriggerTimer) { + if (newInterTriggerTimer != interTriggerTimer) { + NotificationChain msgs = null; + if (interTriggerTimer != null) + msgs = ((InternalEObject)interTriggerTimer).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - BpsimPackage.CONTROL_PARAMETERS__INTER_TRIGGER_TIMER, null, msgs); + if (newInterTriggerTimer != null) + msgs = ((InternalEObject)newInterTriggerTimer).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - BpsimPackage.CONTROL_PARAMETERS__INTER_TRIGGER_TIMER, null, msgs); + msgs = basicSetInterTriggerTimer(newInterTriggerTimer, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, BpsimPackage.CONTROL_PARAMETERS__INTER_TRIGGER_TIMER, newInterTriggerTimer, newInterTriggerTimer)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Parameter getTriggerCount() { + return triggerCount; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetTriggerCount(Parameter newTriggerCount, NotificationChain msgs) { + Parameter oldTriggerCount = triggerCount; + triggerCount = newTriggerCount; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, BpsimPackage.CONTROL_PARAMETERS__TRIGGER_COUNT, oldTriggerCount, newTriggerCount); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setTriggerCount(Parameter newTriggerCount) { + if (newTriggerCount != triggerCount) { + NotificationChain msgs = null; + if (triggerCount != null) + msgs = ((InternalEObject)triggerCount).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - BpsimPackage.CONTROL_PARAMETERS__TRIGGER_COUNT, null, msgs); + if (newTriggerCount != null) + msgs = ((InternalEObject)newTriggerCount).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - BpsimPackage.CONTROL_PARAMETERS__TRIGGER_COUNT, null, msgs); + msgs = basicSetTriggerCount(newTriggerCount, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, BpsimPackage.CONTROL_PARAMETERS__TRIGGER_COUNT, newTriggerCount, newTriggerCount)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case BpsimPackage.CONTROL_PARAMETERS__PROBABILITY: + return basicSetProbability(null, msgs); + case BpsimPackage.CONTROL_PARAMETERS__CONDITION: + return basicSetCondition(null, msgs); + case BpsimPackage.CONTROL_PARAMETERS__INTER_TRIGGER_TIMER: + return basicSetInterTriggerTimer(null, msgs); + case BpsimPackage.CONTROL_PARAMETERS__TRIGGER_COUNT: + return basicSetTriggerCount(null, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case BpsimPackage.CONTROL_PARAMETERS__PROBABILITY: + return getProbability(); + case BpsimPackage.CONTROL_PARAMETERS__CONDITION: + return getCondition(); + case BpsimPackage.CONTROL_PARAMETERS__INTER_TRIGGER_TIMER: + return getInterTriggerTimer(); + case BpsimPackage.CONTROL_PARAMETERS__TRIGGER_COUNT: + return getTriggerCount(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case BpsimPackage.CONTROL_PARAMETERS__PROBABILITY: + setProbability((Parameter)newValue); + return; + case BpsimPackage.CONTROL_PARAMETERS__CONDITION: + setCondition((Parameter)newValue); + return; + case BpsimPackage.CONTROL_PARAMETERS__INTER_TRIGGER_TIMER: + setInterTriggerTimer((Parameter)newValue); + return; + case BpsimPackage.CONTROL_PARAMETERS__TRIGGER_COUNT: + setTriggerCount((Parameter)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case BpsimPackage.CONTROL_PARAMETERS__PROBABILITY: + setProbability((Parameter)null); + return; + case BpsimPackage.CONTROL_PARAMETERS__CONDITION: + setCondition((Parameter)null); + return; + case BpsimPackage.CONTROL_PARAMETERS__INTER_TRIGGER_TIMER: + setInterTriggerTimer((Parameter)null); + return; + case BpsimPackage.CONTROL_PARAMETERS__TRIGGER_COUNT: + setTriggerCount((Parameter)null); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case BpsimPackage.CONTROL_PARAMETERS__PROBABILITY: + return probability != null; + case BpsimPackage.CONTROL_PARAMETERS__CONDITION: + return condition != null; + case BpsimPackage.CONTROL_PARAMETERS__INTER_TRIGGER_TIMER: + return interTriggerTimer != null; + case BpsimPackage.CONTROL_PARAMETERS__TRIGGER_COUNT: + return triggerCount != null; + } + return super.eIsSet(featureID); + } + +} //ControlParametersImpl diff --git a/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/impl/CostParametersImpl.java b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/impl/CostParametersImpl.java new file mode 100644 index 00000000..c0ce0be7 --- /dev/null +++ b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/impl/CostParametersImpl.java @@ -0,0 +1,239 @@ +/** + */ +package org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl; + +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.CostParameters; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.Parameter; +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.NotificationChain; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.EObjectImpl; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Cost Parameters</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.CostParametersImpl#getFixedCost <em>Fixed Cost</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.CostParametersImpl#getUnitCost <em>Unit Cost</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class CostParametersImpl extends EObjectImpl implements CostParameters { + /** + * The cached value of the '{@link #getFixedCost() <em>Fixed Cost</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getFixedCost() + * @generated + * @ordered + */ + protected Parameter fixedCost; + + /** + * The cached value of the '{@link #getUnitCost() <em>Unit Cost</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getUnitCost() + * @generated + * @ordered + */ + protected Parameter unitCost; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected CostParametersImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return BpsimPackage.Literals.COST_PARAMETERS; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Parameter getFixedCost() { + return fixedCost; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetFixedCost(Parameter newFixedCost, NotificationChain msgs) { + Parameter oldFixedCost = fixedCost; + fixedCost = newFixedCost; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, BpsimPackage.COST_PARAMETERS__FIXED_COST, oldFixedCost, newFixedCost); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setFixedCost(Parameter newFixedCost) { + if (newFixedCost != fixedCost) { + NotificationChain msgs = null; + if (fixedCost != null) + msgs = ((InternalEObject)fixedCost).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - BpsimPackage.COST_PARAMETERS__FIXED_COST, null, msgs); + if (newFixedCost != null) + msgs = ((InternalEObject)newFixedCost).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - BpsimPackage.COST_PARAMETERS__FIXED_COST, null, msgs); + msgs = basicSetFixedCost(newFixedCost, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, BpsimPackage.COST_PARAMETERS__FIXED_COST, newFixedCost, newFixedCost)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Parameter getUnitCost() { + return unitCost; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetUnitCost(Parameter newUnitCost, NotificationChain msgs) { + Parameter oldUnitCost = unitCost; + unitCost = newUnitCost; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, BpsimPackage.COST_PARAMETERS__UNIT_COST, oldUnitCost, newUnitCost); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setUnitCost(Parameter newUnitCost) { + if (newUnitCost != unitCost) { + NotificationChain msgs = null; + if (unitCost != null) + msgs = ((InternalEObject)unitCost).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - BpsimPackage.COST_PARAMETERS__UNIT_COST, null, msgs); + if (newUnitCost != null) + msgs = ((InternalEObject)newUnitCost).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - BpsimPackage.COST_PARAMETERS__UNIT_COST, null, msgs); + msgs = basicSetUnitCost(newUnitCost, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, BpsimPackage.COST_PARAMETERS__UNIT_COST, newUnitCost, newUnitCost)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case BpsimPackage.COST_PARAMETERS__FIXED_COST: + return basicSetFixedCost(null, msgs); + case BpsimPackage.COST_PARAMETERS__UNIT_COST: + return basicSetUnitCost(null, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case BpsimPackage.COST_PARAMETERS__FIXED_COST: + return getFixedCost(); + case BpsimPackage.COST_PARAMETERS__UNIT_COST: + return getUnitCost(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case BpsimPackage.COST_PARAMETERS__FIXED_COST: + setFixedCost((Parameter)newValue); + return; + case BpsimPackage.COST_PARAMETERS__UNIT_COST: + setUnitCost((Parameter)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case BpsimPackage.COST_PARAMETERS__FIXED_COST: + setFixedCost((Parameter)null); + return; + case BpsimPackage.COST_PARAMETERS__UNIT_COST: + setUnitCost((Parameter)null); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case BpsimPackage.COST_PARAMETERS__FIXED_COST: + return fixedCost != null; + case BpsimPackage.COST_PARAMETERS__UNIT_COST: + return unitCost != null; + } + return super.eIsSet(featureID); + } + +} //CostParametersImpl diff --git a/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/impl/DateTimeParameterTypeImpl.java b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/impl/DateTimeParameterTypeImpl.java new file mode 100644 index 00000000..5c3b3e10 --- /dev/null +++ b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/impl/DateTimeParameterTypeImpl.java @@ -0,0 +1,161 @@ +/** + */ +package org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl; + +import javax.xml.datatype.XMLGregorianCalendar; + +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DateTimeParameterType; +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Date Time Parameter Type</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.DateTimeParameterTypeImpl#getValue <em>Value</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class DateTimeParameterTypeImpl extends ConstantParameterImpl implements DateTimeParameterType { + /** + * The default value of the '{@link #getValue() <em>Value</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getValue() + * @generated + * @ordered + */ + protected static final XMLGregorianCalendar VALUE_EDEFAULT = null; + + /** + * The cached value of the '{@link #getValue() <em>Value</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getValue() + * @generated + * @ordered + */ + protected XMLGregorianCalendar value = VALUE_EDEFAULT; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected DateTimeParameterTypeImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return BpsimPackage.Literals.DATE_TIME_PARAMETER_TYPE; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public XMLGregorianCalendar getValue() { + return value; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setValue(XMLGregorianCalendar newValue) { + XMLGregorianCalendar oldValue = value; + value = newValue; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, BpsimPackage.DATE_TIME_PARAMETER_TYPE__VALUE, oldValue, value)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case BpsimPackage.DATE_TIME_PARAMETER_TYPE__VALUE: + return getValue(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case BpsimPackage.DATE_TIME_PARAMETER_TYPE__VALUE: + setValue((XMLGregorianCalendar)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case BpsimPackage.DATE_TIME_PARAMETER_TYPE__VALUE: + setValue(VALUE_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case BpsimPackage.DATE_TIME_PARAMETER_TYPE__VALUE: + return VALUE_EDEFAULT == null ? value != null : !VALUE_EDEFAULT.equals(value); + } + return super.eIsSet(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (value: "); + result.append(value); + result.append(')'); + return result.toString(); + } + +} //DateTimeParameterTypeImpl diff --git a/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/impl/DistributionParameterImpl.java b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/impl/DistributionParameterImpl.java new file mode 100644 index 00000000..db7543dd --- /dev/null +++ b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/impl/DistributionParameterImpl.java @@ -0,0 +1,248 @@ +/** + */ +package org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl; + +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DistributionParameter; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.TimeUnit; +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Distribution Parameter</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.DistributionParameterImpl#getCurrencyUnit <em>Currency Unit</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.DistributionParameterImpl#getTimeUnit <em>Time Unit</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class DistributionParameterImpl extends ParameterValueImpl implements DistributionParameter { + /** + * The default value of the '{@link #getCurrencyUnit() <em>Currency Unit</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getCurrencyUnit() + * @generated + * @ordered + */ + protected static final String CURRENCY_UNIT_EDEFAULT = null; + + /** + * The cached value of the '{@link #getCurrencyUnit() <em>Currency Unit</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getCurrencyUnit() + * @generated + * @ordered + */ + protected String currencyUnit = CURRENCY_UNIT_EDEFAULT; + + /** + * The default value of the '{@link #getTimeUnit() <em>Time Unit</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getTimeUnit() + * @generated + * @ordered + */ + protected static final TimeUnit TIME_UNIT_EDEFAULT = TimeUnit.MS; + + /** + * The cached value of the '{@link #getTimeUnit() <em>Time Unit</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getTimeUnit() + * @generated + * @ordered + */ + protected TimeUnit timeUnit = TIME_UNIT_EDEFAULT; + + /** + * This is true if the Time Unit attribute has been set. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + protected boolean timeUnitESet; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected DistributionParameterImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return BpsimPackage.Literals.DISTRIBUTION_PARAMETER; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getCurrencyUnit() { + return currencyUnit; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setCurrencyUnit(String newCurrencyUnit) { + String oldCurrencyUnit = currencyUnit; + currencyUnit = newCurrencyUnit; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, BpsimPackage.DISTRIBUTION_PARAMETER__CURRENCY_UNIT, oldCurrencyUnit, currencyUnit)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public TimeUnit getTimeUnit() { + return timeUnit; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setTimeUnit(TimeUnit newTimeUnit) { + TimeUnit oldTimeUnit = timeUnit; + timeUnit = newTimeUnit == null ? TIME_UNIT_EDEFAULT : newTimeUnit; + boolean oldTimeUnitESet = timeUnitESet; + timeUnitESet = true; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, BpsimPackage.DISTRIBUTION_PARAMETER__TIME_UNIT, oldTimeUnit, timeUnit, !oldTimeUnitESet)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void unsetTimeUnit() { + TimeUnit oldTimeUnit = timeUnit; + boolean oldTimeUnitESet = timeUnitESet; + timeUnit = TIME_UNIT_EDEFAULT; + timeUnitESet = false; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.UNSET, BpsimPackage.DISTRIBUTION_PARAMETER__TIME_UNIT, oldTimeUnit, TIME_UNIT_EDEFAULT, oldTimeUnitESet)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean isSetTimeUnit() { + return timeUnitESet; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case BpsimPackage.DISTRIBUTION_PARAMETER__CURRENCY_UNIT: + return getCurrencyUnit(); + case BpsimPackage.DISTRIBUTION_PARAMETER__TIME_UNIT: + return getTimeUnit(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case BpsimPackage.DISTRIBUTION_PARAMETER__CURRENCY_UNIT: + setCurrencyUnit((String)newValue); + return; + case BpsimPackage.DISTRIBUTION_PARAMETER__TIME_UNIT: + setTimeUnit((TimeUnit)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case BpsimPackage.DISTRIBUTION_PARAMETER__CURRENCY_UNIT: + setCurrencyUnit(CURRENCY_UNIT_EDEFAULT); + return; + case BpsimPackage.DISTRIBUTION_PARAMETER__TIME_UNIT: + unsetTimeUnit(); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case BpsimPackage.DISTRIBUTION_PARAMETER__CURRENCY_UNIT: + return CURRENCY_UNIT_EDEFAULT == null ? currencyUnit != null : !CURRENCY_UNIT_EDEFAULT.equals(currencyUnit); + case BpsimPackage.DISTRIBUTION_PARAMETER__TIME_UNIT: + return isSetTimeUnit(); + } + return super.eIsSet(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (currencyUnit: "); + result.append(currencyUnit); + result.append(", timeUnit: "); + if (timeUnitESet) result.append(timeUnit); else result.append("<unset>"); + result.append(')'); + return result.toString(); + } + +} //DistributionParameterImpl diff --git a/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/impl/DocumentRootImpl.java b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/impl/DocumentRootImpl.java new file mode 100644 index 00000000..d583c870 --- /dev/null +++ b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/impl/DocumentRootImpl.java @@ -0,0 +1,1220 @@ +/** + */ +package org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl; + +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BPSimDataType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BetaDistributionType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BinomialDistributionType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BooleanParameterType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DateTimeParameterType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DocumentRoot; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DurationParameterType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.EnumParameterType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ErlangDistributionType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ExpressionParameterType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.FloatingParameterType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.GammaDistributionType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.LogNormalDistributionType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.NegativeExponentialDistributionType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.NormalDistributionType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.NumericParameterType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ParameterValue; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.PoissonDistributionType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.StringParameterType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.TriangularDistributionType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.TruncatedNormalDistributionType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.UniformDistributionType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.UserDistributionDataPointType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.UserDistributionType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.WeibullDistributionType; +import org.eclipse.emf.common.notify.NotificationChain; +import org.eclipse.emf.common.util.EMap; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EStructuralFeature; +import org.eclipse.emf.ecore.EcorePackage; +import org.eclipse.emf.ecore.InternalEObject; +import org.eclipse.emf.ecore.impl.EObjectImpl; +import org.eclipse.emf.ecore.impl.EStringToStringMapEntryImpl; +import org.eclipse.emf.ecore.util.BasicFeatureMap; +import org.eclipse.emf.ecore.util.EcoreEMap; +import org.eclipse.emf.ecore.util.FeatureMap; +import org.eclipse.emf.ecore.util.InternalEList; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Document Root</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.DocumentRootImpl#getMixed <em>Mixed</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.DocumentRootImpl#getXMLNSPrefixMap <em>XMLNS Prefix Map</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.DocumentRootImpl#getXSISchemaLocation <em>XSI Schema Location</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.DocumentRootImpl#getBetaDistribution <em>Beta Distribution</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.DocumentRootImpl#getParameterValue <em>Parameter Value</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.DocumentRootImpl#getBinomialDistribution <em>Binomial Distribution</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.DocumentRootImpl#getBooleanParameter <em>Boolean Parameter</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.DocumentRootImpl#getBPSimData <em>BP Sim Data</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.DocumentRootImpl#getDateTimeParameter <em>Date Time Parameter</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.DocumentRootImpl#getDurationParameter <em>Duration Parameter</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.DocumentRootImpl#getEnumParameter <em>Enum Parameter</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.DocumentRootImpl#getErlangDistribution <em>Erlang Distribution</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.DocumentRootImpl#getExpressionParameter <em>SingleAssignment Parameter</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.DocumentRootImpl#getFloatingParameter <em>Floating Parameter</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.DocumentRootImpl#getGammaDistribution <em>Gamma Distribution</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.DocumentRootImpl#getLogNormalDistribution <em>Log Normal Distribution</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.DocumentRootImpl#getNegativeExponentialDistribution <em>Negative Exponential Distribution</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.DocumentRootImpl#getNormalDistribution <em>Normal Distribution</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.DocumentRootImpl#getNumericParameter <em>Numeric Parameter</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.DocumentRootImpl#getPoissonDistribution <em>Poisson Distribution</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.DocumentRootImpl#getStringParameter <em>String Parameter</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.DocumentRootImpl#getTriangularDistribution <em>Triangular Distribution</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.DocumentRootImpl#getTruncatedNormalDistribution <em>Truncated Normal Distribution</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.DocumentRootImpl#getUniformDistribution <em>Uniform Distribution</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.DocumentRootImpl#getUserDistribution <em>User Distribution</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.DocumentRootImpl#getUserDistributionDataPoint <em>User Distribution Data Point</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.DocumentRootImpl#getWeibullDistribution <em>Weibull Distribution</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class DocumentRootImpl extends EObjectImpl implements DocumentRoot { + /** + * The cached value of the '{@link #getMixed() <em>Mixed</em>}' attribute list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getMixed() + * @generated + * @ordered + */ + protected FeatureMap mixed; + + /** + * The cached value of the '{@link #getXMLNSPrefixMap() <em>XMLNS Prefix Map</em>}' map. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getXMLNSPrefixMap() + * @generated + * @ordered + */ + protected EMap<String, String> xMLNSPrefixMap; + + /** + * The cached value of the '{@link #getXSISchemaLocation() <em>XSI Schema Location</em>}' map. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getXSISchemaLocation() + * @generated + * @ordered + */ + protected EMap<String, String> xSISchemaLocation; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected DocumentRootImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return BpsimPackage.Literals.DOCUMENT_ROOT; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public FeatureMap getMixed() { + if (mixed == null) { + mixed = new BasicFeatureMap(this, BpsimPackage.DOCUMENT_ROOT__MIXED); + } + return mixed; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EMap<String, String> getXMLNSPrefixMap() { + if (xMLNSPrefixMap == null) { + xMLNSPrefixMap = new EcoreEMap<String,String>(EcorePackage.Literals.ESTRING_TO_STRING_MAP_ENTRY, EStringToStringMapEntryImpl.class, this, BpsimPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP); + } + return xMLNSPrefixMap; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EMap<String, String> getXSISchemaLocation() { + if (xSISchemaLocation == null) { + xSISchemaLocation = new EcoreEMap<String,String>(EcorePackage.Literals.ESTRING_TO_STRING_MAP_ENTRY, EStringToStringMapEntryImpl.class, this, BpsimPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION); + } + return xSISchemaLocation; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public BetaDistributionType getBetaDistribution() { + return (BetaDistributionType)getMixed().get(BpsimPackage.Literals.DOCUMENT_ROOT__BETA_DISTRIBUTION, true); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetBetaDistribution(BetaDistributionType newBetaDistribution, NotificationChain msgs) { + return ((FeatureMap.Internal)getMixed()).basicAdd(BpsimPackage.Literals.DOCUMENT_ROOT__BETA_DISTRIBUTION, newBetaDistribution, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setBetaDistribution(BetaDistributionType newBetaDistribution) { + ((FeatureMap.Internal)getMixed()).set(BpsimPackage.Literals.DOCUMENT_ROOT__BETA_DISTRIBUTION, newBetaDistribution); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ParameterValue getParameterValue() { + return (ParameterValue)getMixed().get(BpsimPackage.Literals.DOCUMENT_ROOT__PARAMETER_VALUE, true); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetParameterValue(ParameterValue newParameterValue, NotificationChain msgs) { + return ((FeatureMap.Internal)getMixed()).basicAdd(BpsimPackage.Literals.DOCUMENT_ROOT__PARAMETER_VALUE, newParameterValue, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setParameterValue(ParameterValue newParameterValue) { + ((FeatureMap.Internal)getMixed()).set(BpsimPackage.Literals.DOCUMENT_ROOT__PARAMETER_VALUE, newParameterValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public BinomialDistributionType getBinomialDistribution() { + return (BinomialDistributionType)getMixed().get(BpsimPackage.Literals.DOCUMENT_ROOT__BINOMIAL_DISTRIBUTION, true); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetBinomialDistribution(BinomialDistributionType newBinomialDistribution, NotificationChain msgs) { + return ((FeatureMap.Internal)getMixed()).basicAdd(BpsimPackage.Literals.DOCUMENT_ROOT__BINOMIAL_DISTRIBUTION, newBinomialDistribution, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setBinomialDistribution(BinomialDistributionType newBinomialDistribution) { + ((FeatureMap.Internal)getMixed()).set(BpsimPackage.Literals.DOCUMENT_ROOT__BINOMIAL_DISTRIBUTION, newBinomialDistribution); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public BooleanParameterType getBooleanParameter() { + return (BooleanParameterType)getMixed().get(BpsimPackage.Literals.DOCUMENT_ROOT__BOOLEAN_PARAMETER, true); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetBooleanParameter(BooleanParameterType newBooleanParameter, NotificationChain msgs) { + return ((FeatureMap.Internal)getMixed()).basicAdd(BpsimPackage.Literals.DOCUMENT_ROOT__BOOLEAN_PARAMETER, newBooleanParameter, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setBooleanParameter(BooleanParameterType newBooleanParameter) { + ((FeatureMap.Internal)getMixed()).set(BpsimPackage.Literals.DOCUMENT_ROOT__BOOLEAN_PARAMETER, newBooleanParameter); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public BPSimDataType getBPSimData() { + return (BPSimDataType)getMixed().get(BpsimPackage.Literals.DOCUMENT_ROOT__BP_SIM_DATA, true); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetBPSimData(BPSimDataType newBPSimData, NotificationChain msgs) { + return ((FeatureMap.Internal)getMixed()).basicAdd(BpsimPackage.Literals.DOCUMENT_ROOT__BP_SIM_DATA, newBPSimData, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setBPSimData(BPSimDataType newBPSimData) { + ((FeatureMap.Internal)getMixed()).set(BpsimPackage.Literals.DOCUMENT_ROOT__BP_SIM_DATA, newBPSimData); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public DateTimeParameterType getDateTimeParameter() { + return (DateTimeParameterType)getMixed().get(BpsimPackage.Literals.DOCUMENT_ROOT__DATE_TIME_PARAMETER, true); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetDateTimeParameter(DateTimeParameterType newDateTimeParameter, NotificationChain msgs) { + return ((FeatureMap.Internal)getMixed()).basicAdd(BpsimPackage.Literals.DOCUMENT_ROOT__DATE_TIME_PARAMETER, newDateTimeParameter, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setDateTimeParameter(DateTimeParameterType newDateTimeParameter) { + ((FeatureMap.Internal)getMixed()).set(BpsimPackage.Literals.DOCUMENT_ROOT__DATE_TIME_PARAMETER, newDateTimeParameter); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public DurationParameterType getDurationParameter() { + return (DurationParameterType)getMixed().get(BpsimPackage.Literals.DOCUMENT_ROOT__DURATION_PARAMETER, true); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetDurationParameter(DurationParameterType newDurationParameter, NotificationChain msgs) { + return ((FeatureMap.Internal)getMixed()).basicAdd(BpsimPackage.Literals.DOCUMENT_ROOT__DURATION_PARAMETER, newDurationParameter, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setDurationParameter(DurationParameterType newDurationParameter) { + ((FeatureMap.Internal)getMixed()).set(BpsimPackage.Literals.DOCUMENT_ROOT__DURATION_PARAMETER, newDurationParameter); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EnumParameterType getEnumParameter() { + return (EnumParameterType)getMixed().get(BpsimPackage.Literals.DOCUMENT_ROOT__ENUM_PARAMETER, true); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetEnumParameter(EnumParameterType newEnumParameter, NotificationChain msgs) { + return ((FeatureMap.Internal)getMixed()).basicAdd(BpsimPackage.Literals.DOCUMENT_ROOT__ENUM_PARAMETER, newEnumParameter, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setEnumParameter(EnumParameterType newEnumParameter) { + ((FeatureMap.Internal)getMixed()).set(BpsimPackage.Literals.DOCUMENT_ROOT__ENUM_PARAMETER, newEnumParameter); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ErlangDistributionType getErlangDistribution() { + return (ErlangDistributionType)getMixed().get(BpsimPackage.Literals.DOCUMENT_ROOT__ERLANG_DISTRIBUTION, true); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetErlangDistribution(ErlangDistributionType newErlangDistribution, NotificationChain msgs) { + return ((FeatureMap.Internal)getMixed()).basicAdd(BpsimPackage.Literals.DOCUMENT_ROOT__ERLANG_DISTRIBUTION, newErlangDistribution, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setErlangDistribution(ErlangDistributionType newErlangDistribution) { + ((FeatureMap.Internal)getMixed()).set(BpsimPackage.Literals.DOCUMENT_ROOT__ERLANG_DISTRIBUTION, newErlangDistribution); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ExpressionParameterType getExpressionParameter() { + return (ExpressionParameterType)getMixed().get(BpsimPackage.Literals.DOCUMENT_ROOT__EXPRESSION_PARAMETER, true); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetExpressionParameter(ExpressionParameterType newExpressionParameter, NotificationChain msgs) { + return ((FeatureMap.Internal)getMixed()).basicAdd(BpsimPackage.Literals.DOCUMENT_ROOT__EXPRESSION_PARAMETER, newExpressionParameter, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setExpressionParameter(ExpressionParameterType newExpressionParameter) { + ((FeatureMap.Internal)getMixed()).set(BpsimPackage.Literals.DOCUMENT_ROOT__EXPRESSION_PARAMETER, newExpressionParameter); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public FloatingParameterType getFloatingParameter() { + return (FloatingParameterType)getMixed().get(BpsimPackage.Literals.DOCUMENT_ROOT__FLOATING_PARAMETER, true); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetFloatingParameter(FloatingParameterType newFloatingParameter, NotificationChain msgs) { + return ((FeatureMap.Internal)getMixed()).basicAdd(BpsimPackage.Literals.DOCUMENT_ROOT__FLOATING_PARAMETER, newFloatingParameter, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setFloatingParameter(FloatingParameterType newFloatingParameter) { + ((FeatureMap.Internal)getMixed()).set(BpsimPackage.Literals.DOCUMENT_ROOT__FLOATING_PARAMETER, newFloatingParameter); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public GammaDistributionType getGammaDistribution() { + return (GammaDistributionType)getMixed().get(BpsimPackage.Literals.DOCUMENT_ROOT__GAMMA_DISTRIBUTION, true); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetGammaDistribution(GammaDistributionType newGammaDistribution, NotificationChain msgs) { + return ((FeatureMap.Internal)getMixed()).basicAdd(BpsimPackage.Literals.DOCUMENT_ROOT__GAMMA_DISTRIBUTION, newGammaDistribution, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setGammaDistribution(GammaDistributionType newGammaDistribution) { + ((FeatureMap.Internal)getMixed()).set(BpsimPackage.Literals.DOCUMENT_ROOT__GAMMA_DISTRIBUTION, newGammaDistribution); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public LogNormalDistributionType getLogNormalDistribution() { + return (LogNormalDistributionType)getMixed().get(BpsimPackage.Literals.DOCUMENT_ROOT__LOG_NORMAL_DISTRIBUTION, true); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetLogNormalDistribution(LogNormalDistributionType newLogNormalDistribution, NotificationChain msgs) { + return ((FeatureMap.Internal)getMixed()).basicAdd(BpsimPackage.Literals.DOCUMENT_ROOT__LOG_NORMAL_DISTRIBUTION, newLogNormalDistribution, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setLogNormalDistribution(LogNormalDistributionType newLogNormalDistribution) { + ((FeatureMap.Internal)getMixed()).set(BpsimPackage.Literals.DOCUMENT_ROOT__LOG_NORMAL_DISTRIBUTION, newLogNormalDistribution); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NegativeExponentialDistributionType getNegativeExponentialDistribution() { + return (NegativeExponentialDistributionType)getMixed().get(BpsimPackage.Literals.DOCUMENT_ROOT__NEGATIVE_EXPONENTIAL_DISTRIBUTION, true); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetNegativeExponentialDistribution(NegativeExponentialDistributionType newNegativeExponentialDistribution, NotificationChain msgs) { + return ((FeatureMap.Internal)getMixed()).basicAdd(BpsimPackage.Literals.DOCUMENT_ROOT__NEGATIVE_EXPONENTIAL_DISTRIBUTION, newNegativeExponentialDistribution, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setNegativeExponentialDistribution(NegativeExponentialDistributionType newNegativeExponentialDistribution) { + ((FeatureMap.Internal)getMixed()).set(BpsimPackage.Literals.DOCUMENT_ROOT__NEGATIVE_EXPONENTIAL_DISTRIBUTION, newNegativeExponentialDistribution); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NormalDistributionType getNormalDistribution() { + return (NormalDistributionType)getMixed().get(BpsimPackage.Literals.DOCUMENT_ROOT__NORMAL_DISTRIBUTION, true); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetNormalDistribution(NormalDistributionType newNormalDistribution, NotificationChain msgs) { + return ((FeatureMap.Internal)getMixed()).basicAdd(BpsimPackage.Literals.DOCUMENT_ROOT__NORMAL_DISTRIBUTION, newNormalDistribution, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setNormalDistribution(NormalDistributionType newNormalDistribution) { + ((FeatureMap.Internal)getMixed()).set(BpsimPackage.Literals.DOCUMENT_ROOT__NORMAL_DISTRIBUTION, newNormalDistribution); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NumericParameterType getNumericParameter() { + return (NumericParameterType)getMixed().get(BpsimPackage.Literals.DOCUMENT_ROOT__NUMERIC_PARAMETER, true); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetNumericParameter(NumericParameterType newNumericParameter, NotificationChain msgs) { + return ((FeatureMap.Internal)getMixed()).basicAdd(BpsimPackage.Literals.DOCUMENT_ROOT__NUMERIC_PARAMETER, newNumericParameter, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setNumericParameter(NumericParameterType newNumericParameter) { + ((FeatureMap.Internal)getMixed()).set(BpsimPackage.Literals.DOCUMENT_ROOT__NUMERIC_PARAMETER, newNumericParameter); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public PoissonDistributionType getPoissonDistribution() { + return (PoissonDistributionType)getMixed().get(BpsimPackage.Literals.DOCUMENT_ROOT__POISSON_DISTRIBUTION, true); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetPoissonDistribution(PoissonDistributionType newPoissonDistribution, NotificationChain msgs) { + return ((FeatureMap.Internal)getMixed()).basicAdd(BpsimPackage.Literals.DOCUMENT_ROOT__POISSON_DISTRIBUTION, newPoissonDistribution, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setPoissonDistribution(PoissonDistributionType newPoissonDistribution) { + ((FeatureMap.Internal)getMixed()).set(BpsimPackage.Literals.DOCUMENT_ROOT__POISSON_DISTRIBUTION, newPoissonDistribution); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public StringParameterType getStringParameter() { + return (StringParameterType)getMixed().get(BpsimPackage.Literals.DOCUMENT_ROOT__STRING_PARAMETER, true); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetStringParameter(StringParameterType newStringParameter, NotificationChain msgs) { + return ((FeatureMap.Internal)getMixed()).basicAdd(BpsimPackage.Literals.DOCUMENT_ROOT__STRING_PARAMETER, newStringParameter, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setStringParameter(StringParameterType newStringParameter) { + ((FeatureMap.Internal)getMixed()).set(BpsimPackage.Literals.DOCUMENT_ROOT__STRING_PARAMETER, newStringParameter); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public TriangularDistributionType getTriangularDistribution() { + return (TriangularDistributionType)getMixed().get(BpsimPackage.Literals.DOCUMENT_ROOT__TRIANGULAR_DISTRIBUTION, true); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetTriangularDistribution(TriangularDistributionType newTriangularDistribution, NotificationChain msgs) { + return ((FeatureMap.Internal)getMixed()).basicAdd(BpsimPackage.Literals.DOCUMENT_ROOT__TRIANGULAR_DISTRIBUTION, newTriangularDistribution, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setTriangularDistribution(TriangularDistributionType newTriangularDistribution) { + ((FeatureMap.Internal)getMixed()).set(BpsimPackage.Literals.DOCUMENT_ROOT__TRIANGULAR_DISTRIBUTION, newTriangularDistribution); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public TruncatedNormalDistributionType getTruncatedNormalDistribution() { + return (TruncatedNormalDistributionType)getMixed().get(BpsimPackage.Literals.DOCUMENT_ROOT__TRUNCATED_NORMAL_DISTRIBUTION, true); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetTruncatedNormalDistribution(TruncatedNormalDistributionType newTruncatedNormalDistribution, NotificationChain msgs) { + return ((FeatureMap.Internal)getMixed()).basicAdd(BpsimPackage.Literals.DOCUMENT_ROOT__TRUNCATED_NORMAL_DISTRIBUTION, newTruncatedNormalDistribution, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setTruncatedNormalDistribution(TruncatedNormalDistributionType newTruncatedNormalDistribution) { + ((FeatureMap.Internal)getMixed()).set(BpsimPackage.Literals.DOCUMENT_ROOT__TRUNCATED_NORMAL_DISTRIBUTION, newTruncatedNormalDistribution); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public UniformDistributionType getUniformDistribution() { + return (UniformDistributionType)getMixed().get(BpsimPackage.Literals.DOCUMENT_ROOT__UNIFORM_DISTRIBUTION, true); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetUniformDistribution(UniformDistributionType newUniformDistribution, NotificationChain msgs) { + return ((FeatureMap.Internal)getMixed()).basicAdd(BpsimPackage.Literals.DOCUMENT_ROOT__UNIFORM_DISTRIBUTION, newUniformDistribution, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setUniformDistribution(UniformDistributionType newUniformDistribution) { + ((FeatureMap.Internal)getMixed()).set(BpsimPackage.Literals.DOCUMENT_ROOT__UNIFORM_DISTRIBUTION, newUniformDistribution); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public UserDistributionType getUserDistribution() { + return (UserDistributionType)getMixed().get(BpsimPackage.Literals.DOCUMENT_ROOT__USER_DISTRIBUTION, true); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetUserDistribution(UserDistributionType newUserDistribution, NotificationChain msgs) { + return ((FeatureMap.Internal)getMixed()).basicAdd(BpsimPackage.Literals.DOCUMENT_ROOT__USER_DISTRIBUTION, newUserDistribution, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setUserDistribution(UserDistributionType newUserDistribution) { + ((FeatureMap.Internal)getMixed()).set(BpsimPackage.Literals.DOCUMENT_ROOT__USER_DISTRIBUTION, newUserDistribution); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public UserDistributionDataPointType getUserDistributionDataPoint() { + return (UserDistributionDataPointType)getMixed().get(BpsimPackage.Literals.DOCUMENT_ROOT__USER_DISTRIBUTION_DATA_POINT, true); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetUserDistributionDataPoint(UserDistributionDataPointType newUserDistributionDataPoint, NotificationChain msgs) { + return ((FeatureMap.Internal)getMixed()).basicAdd(BpsimPackage.Literals.DOCUMENT_ROOT__USER_DISTRIBUTION_DATA_POINT, newUserDistributionDataPoint, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setUserDistributionDataPoint(UserDistributionDataPointType newUserDistributionDataPoint) { + ((FeatureMap.Internal)getMixed()).set(BpsimPackage.Literals.DOCUMENT_ROOT__USER_DISTRIBUTION_DATA_POINT, newUserDistributionDataPoint); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public WeibullDistributionType getWeibullDistribution() { + return (WeibullDistributionType)getMixed().get(BpsimPackage.Literals.DOCUMENT_ROOT__WEIBULL_DISTRIBUTION, true); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetWeibullDistribution(WeibullDistributionType newWeibullDistribution, NotificationChain msgs) { + return ((FeatureMap.Internal)getMixed()).basicAdd(BpsimPackage.Literals.DOCUMENT_ROOT__WEIBULL_DISTRIBUTION, newWeibullDistribution, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setWeibullDistribution(WeibullDistributionType newWeibullDistribution) { + ((FeatureMap.Internal)getMixed()).set(BpsimPackage.Literals.DOCUMENT_ROOT__WEIBULL_DISTRIBUTION, newWeibullDistribution); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case BpsimPackage.DOCUMENT_ROOT__MIXED: + return ((InternalEList<?>)getMixed()).basicRemove(otherEnd, msgs); + case BpsimPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP: + return ((InternalEList<?>)getXMLNSPrefixMap()).basicRemove(otherEnd, msgs); + case BpsimPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION: + return ((InternalEList<?>)getXSISchemaLocation()).basicRemove(otherEnd, msgs); + case BpsimPackage.DOCUMENT_ROOT__BETA_DISTRIBUTION: + return basicSetBetaDistribution(null, msgs); + case BpsimPackage.DOCUMENT_ROOT__PARAMETER_VALUE: + return basicSetParameterValue(null, msgs); + case BpsimPackage.DOCUMENT_ROOT__BINOMIAL_DISTRIBUTION: + return basicSetBinomialDistribution(null, msgs); + case BpsimPackage.DOCUMENT_ROOT__BOOLEAN_PARAMETER: + return basicSetBooleanParameter(null, msgs); + case BpsimPackage.DOCUMENT_ROOT__BP_SIM_DATA: + return basicSetBPSimData(null, msgs); + case BpsimPackage.DOCUMENT_ROOT__DATE_TIME_PARAMETER: + return basicSetDateTimeParameter(null, msgs); + case BpsimPackage.DOCUMENT_ROOT__DURATION_PARAMETER: + return basicSetDurationParameter(null, msgs); + case BpsimPackage.DOCUMENT_ROOT__ENUM_PARAMETER: + return basicSetEnumParameter(null, msgs); + case BpsimPackage.DOCUMENT_ROOT__ERLANG_DISTRIBUTION: + return basicSetErlangDistribution(null, msgs); + case BpsimPackage.DOCUMENT_ROOT__EXPRESSION_PARAMETER: + return basicSetExpressionParameter(null, msgs); + case BpsimPackage.DOCUMENT_ROOT__FLOATING_PARAMETER: + return basicSetFloatingParameter(null, msgs); + case BpsimPackage.DOCUMENT_ROOT__GAMMA_DISTRIBUTION: + return basicSetGammaDistribution(null, msgs); + case BpsimPackage.DOCUMENT_ROOT__LOG_NORMAL_DISTRIBUTION: + return basicSetLogNormalDistribution(null, msgs); + case BpsimPackage.DOCUMENT_ROOT__NEGATIVE_EXPONENTIAL_DISTRIBUTION: + return basicSetNegativeExponentialDistribution(null, msgs); + case BpsimPackage.DOCUMENT_ROOT__NORMAL_DISTRIBUTION: + return basicSetNormalDistribution(null, msgs); + case BpsimPackage.DOCUMENT_ROOT__NUMERIC_PARAMETER: + return basicSetNumericParameter(null, msgs); + case BpsimPackage.DOCUMENT_ROOT__POISSON_DISTRIBUTION: + return basicSetPoissonDistribution(null, msgs); + case BpsimPackage.DOCUMENT_ROOT__STRING_PARAMETER: + return basicSetStringParameter(null, msgs); + case BpsimPackage.DOCUMENT_ROOT__TRIANGULAR_DISTRIBUTION: + return basicSetTriangularDistribution(null, msgs); + case BpsimPackage.DOCUMENT_ROOT__TRUNCATED_NORMAL_DISTRIBUTION: + return basicSetTruncatedNormalDistribution(null, msgs); + case BpsimPackage.DOCUMENT_ROOT__UNIFORM_DISTRIBUTION: + return basicSetUniformDistribution(null, msgs); + case BpsimPackage.DOCUMENT_ROOT__USER_DISTRIBUTION: + return basicSetUserDistribution(null, msgs); + case BpsimPackage.DOCUMENT_ROOT__USER_DISTRIBUTION_DATA_POINT: + return basicSetUserDistributionDataPoint(null, msgs); + case BpsimPackage.DOCUMENT_ROOT__WEIBULL_DISTRIBUTION: + return basicSetWeibullDistribution(null, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case BpsimPackage.DOCUMENT_ROOT__MIXED: + if (coreType) return getMixed(); + return ((FeatureMap.Internal)getMixed()).getWrapper(); + case BpsimPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP: + if (coreType) return getXMLNSPrefixMap(); + else return getXMLNSPrefixMap().map(); + case BpsimPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION: + if (coreType) return getXSISchemaLocation(); + else return getXSISchemaLocation().map(); + case BpsimPackage.DOCUMENT_ROOT__BETA_DISTRIBUTION: + return getBetaDistribution(); + case BpsimPackage.DOCUMENT_ROOT__PARAMETER_VALUE: + return getParameterValue(); + case BpsimPackage.DOCUMENT_ROOT__BINOMIAL_DISTRIBUTION: + return getBinomialDistribution(); + case BpsimPackage.DOCUMENT_ROOT__BOOLEAN_PARAMETER: + return getBooleanParameter(); + case BpsimPackage.DOCUMENT_ROOT__BP_SIM_DATA: + return getBPSimData(); + case BpsimPackage.DOCUMENT_ROOT__DATE_TIME_PARAMETER: + return getDateTimeParameter(); + case BpsimPackage.DOCUMENT_ROOT__DURATION_PARAMETER: + return getDurationParameter(); + case BpsimPackage.DOCUMENT_ROOT__ENUM_PARAMETER: + return getEnumParameter(); + case BpsimPackage.DOCUMENT_ROOT__ERLANG_DISTRIBUTION: + return getErlangDistribution(); + case BpsimPackage.DOCUMENT_ROOT__EXPRESSION_PARAMETER: + return getExpressionParameter(); + case BpsimPackage.DOCUMENT_ROOT__FLOATING_PARAMETER: + return getFloatingParameter(); + case BpsimPackage.DOCUMENT_ROOT__GAMMA_DISTRIBUTION: + return getGammaDistribution(); + case BpsimPackage.DOCUMENT_ROOT__LOG_NORMAL_DISTRIBUTION: + return getLogNormalDistribution(); + case BpsimPackage.DOCUMENT_ROOT__NEGATIVE_EXPONENTIAL_DISTRIBUTION: + return getNegativeExponentialDistribution(); + case BpsimPackage.DOCUMENT_ROOT__NORMAL_DISTRIBUTION: + return getNormalDistribution(); + case BpsimPackage.DOCUMENT_ROOT__NUMERIC_PARAMETER: + return getNumericParameter(); + case BpsimPackage.DOCUMENT_ROOT__POISSON_DISTRIBUTION: + return getPoissonDistribution(); + case BpsimPackage.DOCUMENT_ROOT__STRING_PARAMETER: + return getStringParameter(); + case BpsimPackage.DOCUMENT_ROOT__TRIANGULAR_DISTRIBUTION: + return getTriangularDistribution(); + case BpsimPackage.DOCUMENT_ROOT__TRUNCATED_NORMAL_DISTRIBUTION: + return getTruncatedNormalDistribution(); + case BpsimPackage.DOCUMENT_ROOT__UNIFORM_DISTRIBUTION: + return getUniformDistribution(); + case BpsimPackage.DOCUMENT_ROOT__USER_DISTRIBUTION: + return getUserDistribution(); + case BpsimPackage.DOCUMENT_ROOT__USER_DISTRIBUTION_DATA_POINT: + return getUserDistributionDataPoint(); + case BpsimPackage.DOCUMENT_ROOT__WEIBULL_DISTRIBUTION: + return getWeibullDistribution(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case BpsimPackage.DOCUMENT_ROOT__MIXED: + ((FeatureMap.Internal)getMixed()).set(newValue); + return; + case BpsimPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP: + ((EStructuralFeature.Setting)getXMLNSPrefixMap()).set(newValue); + return; + case BpsimPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION: + ((EStructuralFeature.Setting)getXSISchemaLocation()).set(newValue); + return; + case BpsimPackage.DOCUMENT_ROOT__BETA_DISTRIBUTION: + setBetaDistribution((BetaDistributionType)newValue); + return; + case BpsimPackage.DOCUMENT_ROOT__PARAMETER_VALUE: + setParameterValue((ParameterValue)newValue); + return; + case BpsimPackage.DOCUMENT_ROOT__BINOMIAL_DISTRIBUTION: + setBinomialDistribution((BinomialDistributionType)newValue); + return; + case BpsimPackage.DOCUMENT_ROOT__BOOLEAN_PARAMETER: + setBooleanParameter((BooleanParameterType)newValue); + return; + case BpsimPackage.DOCUMENT_ROOT__BP_SIM_DATA: + setBPSimData((BPSimDataType)newValue); + return; + case BpsimPackage.DOCUMENT_ROOT__DATE_TIME_PARAMETER: + setDateTimeParameter((DateTimeParameterType)newValue); + return; + case BpsimPackage.DOCUMENT_ROOT__DURATION_PARAMETER: + setDurationParameter((DurationParameterType)newValue); + return; + case BpsimPackage.DOCUMENT_ROOT__ENUM_PARAMETER: + setEnumParameter((EnumParameterType)newValue); + return; + case BpsimPackage.DOCUMENT_ROOT__ERLANG_DISTRIBUTION: + setErlangDistribution((ErlangDistributionType)newValue); + return; + case BpsimPackage.DOCUMENT_ROOT__EXPRESSION_PARAMETER: + setExpressionParameter((ExpressionParameterType)newValue); + return; + case BpsimPackage.DOCUMENT_ROOT__FLOATING_PARAMETER: + setFloatingParameter((FloatingParameterType)newValue); + return; + case BpsimPackage.DOCUMENT_ROOT__GAMMA_DISTRIBUTION: + setGammaDistribution((GammaDistributionType)newValue); + return; + case BpsimPackage.DOCUMENT_ROOT__LOG_NORMAL_DISTRIBUTION: + setLogNormalDistribution((LogNormalDistributionType)newValue); + return; + case BpsimPackage.DOCUMENT_ROOT__NEGATIVE_EXPONENTIAL_DISTRIBUTION: + setNegativeExponentialDistribution((NegativeExponentialDistributionType)newValue); + return; + case BpsimPackage.DOCUMENT_ROOT__NORMAL_DISTRIBUTION: + setNormalDistribution((NormalDistributionType)newValue); + return; + case BpsimPackage.DOCUMENT_ROOT__NUMERIC_PARAMETER: + setNumericParameter((NumericParameterType)newValue); + return; + case BpsimPackage.DOCUMENT_ROOT__POISSON_DISTRIBUTION: + setPoissonDistribution((PoissonDistributionType)newValue); + return; + case BpsimPackage.DOCUMENT_ROOT__STRING_PARAMETER: + setStringParameter((StringParameterType)newValue); + return; + case BpsimPackage.DOCUMENT_ROOT__TRIANGULAR_DISTRIBUTION: + setTriangularDistribution((TriangularDistributionType)newValue); + return; + case BpsimPackage.DOCUMENT_ROOT__TRUNCATED_NORMAL_DISTRIBUTION: + setTruncatedNormalDistribution((TruncatedNormalDistributionType)newValue); + return; + case BpsimPackage.DOCUMENT_ROOT__UNIFORM_DISTRIBUTION: + setUniformDistribution((UniformDistributionType)newValue); + return; + case BpsimPackage.DOCUMENT_ROOT__USER_DISTRIBUTION: + setUserDistribution((UserDistributionType)newValue); + return; + case BpsimPackage.DOCUMENT_ROOT__USER_DISTRIBUTION_DATA_POINT: + setUserDistributionDataPoint((UserDistributionDataPointType)newValue); + return; + case BpsimPackage.DOCUMENT_ROOT__WEIBULL_DISTRIBUTION: + setWeibullDistribution((WeibullDistributionType)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case BpsimPackage.DOCUMENT_ROOT__MIXED: + getMixed().clear(); + return; + case BpsimPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP: + getXMLNSPrefixMap().clear(); + return; + case BpsimPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION: + getXSISchemaLocation().clear(); + return; + case BpsimPackage.DOCUMENT_ROOT__BETA_DISTRIBUTION: + setBetaDistribution((BetaDistributionType)null); + return; + case BpsimPackage.DOCUMENT_ROOT__PARAMETER_VALUE: + setParameterValue((ParameterValue)null); + return; + case BpsimPackage.DOCUMENT_ROOT__BINOMIAL_DISTRIBUTION: + setBinomialDistribution((BinomialDistributionType)null); + return; + case BpsimPackage.DOCUMENT_ROOT__BOOLEAN_PARAMETER: + setBooleanParameter((BooleanParameterType)null); + return; + case BpsimPackage.DOCUMENT_ROOT__BP_SIM_DATA: + setBPSimData((BPSimDataType)null); + return; + case BpsimPackage.DOCUMENT_ROOT__DATE_TIME_PARAMETER: + setDateTimeParameter((DateTimeParameterType)null); + return; + case BpsimPackage.DOCUMENT_ROOT__DURATION_PARAMETER: + setDurationParameter((DurationParameterType)null); + return; + case BpsimPackage.DOCUMENT_ROOT__ENUM_PARAMETER: + setEnumParameter((EnumParameterType)null); + return; + case BpsimPackage.DOCUMENT_ROOT__ERLANG_DISTRIBUTION: + setErlangDistribution((ErlangDistributionType)null); + return; + case BpsimPackage.DOCUMENT_ROOT__EXPRESSION_PARAMETER: + setExpressionParameter((ExpressionParameterType)null); + return; + case BpsimPackage.DOCUMENT_ROOT__FLOATING_PARAMETER: + setFloatingParameter((FloatingParameterType)null); + return; + case BpsimPackage.DOCUMENT_ROOT__GAMMA_DISTRIBUTION: + setGammaDistribution((GammaDistributionType)null); + return; + case BpsimPackage.DOCUMENT_ROOT__LOG_NORMAL_DISTRIBUTION: + setLogNormalDistribution((LogNormalDistributionType)null); + return; + case BpsimPackage.DOCUMENT_ROOT__NEGATIVE_EXPONENTIAL_DISTRIBUTION: + setNegativeExponentialDistribution((NegativeExponentialDistributionType)null); + return; + case BpsimPackage.DOCUMENT_ROOT__NORMAL_DISTRIBUTION: + setNormalDistribution((NormalDistributionType)null); + return; + case BpsimPackage.DOCUMENT_ROOT__NUMERIC_PARAMETER: + setNumericParameter((NumericParameterType)null); + return; + case BpsimPackage.DOCUMENT_ROOT__POISSON_DISTRIBUTION: + setPoissonDistribution((PoissonDistributionType)null); + return; + case BpsimPackage.DOCUMENT_ROOT__STRING_PARAMETER: + setStringParameter((StringParameterType)null); + return; + case BpsimPackage.DOCUMENT_ROOT__TRIANGULAR_DISTRIBUTION: + setTriangularDistribution((TriangularDistributionType)null); + return; + case BpsimPackage.DOCUMENT_ROOT__TRUNCATED_NORMAL_DISTRIBUTION: + setTruncatedNormalDistribution((TruncatedNormalDistributionType)null); + return; + case BpsimPackage.DOCUMENT_ROOT__UNIFORM_DISTRIBUTION: + setUniformDistribution((UniformDistributionType)null); + return; + case BpsimPackage.DOCUMENT_ROOT__USER_DISTRIBUTION: + setUserDistribution((UserDistributionType)null); + return; + case BpsimPackage.DOCUMENT_ROOT__USER_DISTRIBUTION_DATA_POINT: + setUserDistributionDataPoint((UserDistributionDataPointType)null); + return; + case BpsimPackage.DOCUMENT_ROOT__WEIBULL_DISTRIBUTION: + setWeibullDistribution((WeibullDistributionType)null); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case BpsimPackage.DOCUMENT_ROOT__MIXED: + return mixed != null && !mixed.isEmpty(); + case BpsimPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP: + return xMLNSPrefixMap != null && !xMLNSPrefixMap.isEmpty(); + case BpsimPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION: + return xSISchemaLocation != null && !xSISchemaLocation.isEmpty(); + case BpsimPackage.DOCUMENT_ROOT__BETA_DISTRIBUTION: + return getBetaDistribution() != null; + case BpsimPackage.DOCUMENT_ROOT__PARAMETER_VALUE: + return getParameterValue() != null; + case BpsimPackage.DOCUMENT_ROOT__BINOMIAL_DISTRIBUTION: + return getBinomialDistribution() != null; + case BpsimPackage.DOCUMENT_ROOT__BOOLEAN_PARAMETER: + return getBooleanParameter() != null; + case BpsimPackage.DOCUMENT_ROOT__BP_SIM_DATA: + return getBPSimData() != null; + case BpsimPackage.DOCUMENT_ROOT__DATE_TIME_PARAMETER: + return getDateTimeParameter() != null; + case BpsimPackage.DOCUMENT_ROOT__DURATION_PARAMETER: + return getDurationParameter() != null; + case BpsimPackage.DOCUMENT_ROOT__ENUM_PARAMETER: + return getEnumParameter() != null; + case BpsimPackage.DOCUMENT_ROOT__ERLANG_DISTRIBUTION: + return getErlangDistribution() != null; + case BpsimPackage.DOCUMENT_ROOT__EXPRESSION_PARAMETER: + return getExpressionParameter() != null; + case BpsimPackage.DOCUMENT_ROOT__FLOATING_PARAMETER: + return getFloatingParameter() != null; + case BpsimPackage.DOCUMENT_ROOT__GAMMA_DISTRIBUTION: + return getGammaDistribution() != null; + case BpsimPackage.DOCUMENT_ROOT__LOG_NORMAL_DISTRIBUTION: + return getLogNormalDistribution() != null; + case BpsimPackage.DOCUMENT_ROOT__NEGATIVE_EXPONENTIAL_DISTRIBUTION: + return getNegativeExponentialDistribution() != null; + case BpsimPackage.DOCUMENT_ROOT__NORMAL_DISTRIBUTION: + return getNormalDistribution() != null; + case BpsimPackage.DOCUMENT_ROOT__NUMERIC_PARAMETER: + return getNumericParameter() != null; + case BpsimPackage.DOCUMENT_ROOT__POISSON_DISTRIBUTION: + return getPoissonDistribution() != null; + case BpsimPackage.DOCUMENT_ROOT__STRING_PARAMETER: + return getStringParameter() != null; + case BpsimPackage.DOCUMENT_ROOT__TRIANGULAR_DISTRIBUTION: + return getTriangularDistribution() != null; + case BpsimPackage.DOCUMENT_ROOT__TRUNCATED_NORMAL_DISTRIBUTION: + return getTruncatedNormalDistribution() != null; + case BpsimPackage.DOCUMENT_ROOT__UNIFORM_DISTRIBUTION: + return getUniformDistribution() != null; + case BpsimPackage.DOCUMENT_ROOT__USER_DISTRIBUTION: + return getUserDistribution() != null; + case BpsimPackage.DOCUMENT_ROOT__USER_DISTRIBUTION_DATA_POINT: + return getUserDistributionDataPoint() != null; + case BpsimPackage.DOCUMENT_ROOT__WEIBULL_DISTRIBUTION: + return getWeibullDistribution() != null; + } + return super.eIsSet(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (mixed: "); + result.append(mixed); + result.append(')'); + return result.toString(); + } + +} //DocumentRootImpl diff --git a/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/impl/DurationParameterTypeImpl.java b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/impl/DurationParameterTypeImpl.java new file mode 100644 index 00000000..78b3e2cf --- /dev/null +++ b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/impl/DurationParameterTypeImpl.java @@ -0,0 +1,161 @@ +/** + */ +package org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl; + +import javax.xml.datatype.Duration; + +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DurationParameterType; +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Duration Parameter Type</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.DurationParameterTypeImpl#getValue <em>Value</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class DurationParameterTypeImpl extends ConstantParameterImpl implements DurationParameterType { + /** + * The default value of the '{@link #getValue() <em>Value</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getValue() + * @generated + * @ordered + */ + protected static final Duration VALUE_EDEFAULT = null; + + /** + * The cached value of the '{@link #getValue() <em>Value</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getValue() + * @generated + * @ordered + */ + protected Duration value = VALUE_EDEFAULT; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected DurationParameterTypeImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return BpsimPackage.Literals.DURATION_PARAMETER_TYPE; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Duration getValue() { + return value; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setValue(Duration newValue) { + Duration oldValue = value; + value = newValue; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, BpsimPackage.DURATION_PARAMETER_TYPE__VALUE, oldValue, value)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case BpsimPackage.DURATION_PARAMETER_TYPE__VALUE: + return getValue(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case BpsimPackage.DURATION_PARAMETER_TYPE__VALUE: + setValue((Duration)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case BpsimPackage.DURATION_PARAMETER_TYPE__VALUE: + setValue(VALUE_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case BpsimPackage.DURATION_PARAMETER_TYPE__VALUE: + return VALUE_EDEFAULT == null ? value != null : !VALUE_EDEFAULT.equals(value); + } + return super.eIsSet(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (value: "); + result.append(value); + result.append(')'); + return result.toString(); + } + +} //DurationParameterTypeImpl diff --git a/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/impl/ElementParametersImpl.java b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/impl/ElementParametersImpl.java new file mode 100644 index 00000000..15bb218c --- /dev/null +++ b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/impl/ElementParametersImpl.java @@ -0,0 +1,673 @@ +/** + */ +package org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl; + +import java.util.Collection; + +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ControlParameters; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.CostParameters; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ElementParameters; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.PriorityParameters; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.PropertyParameters; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ResourceParameters; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.TimeParameters; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.VendorExtension; +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.NotificationChain; +import org.eclipse.emf.common.util.EList; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.EObjectImpl; +import org.eclipse.emf.ecore.util.EObjectContainmentEList; +import org.eclipse.emf.ecore.util.InternalEList; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Element Parameters</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.ElementParametersImpl#getTimeParameters <em>Time Parameters</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.ElementParametersImpl#getControlParameters <em>Control Parameters</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.ElementParametersImpl#getResourceParameters <em>Resource Parameters</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.ElementParametersImpl#getPriorityParameters <em>Priority Parameters</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.ElementParametersImpl#getCostParameters <em>Cost Parameters</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.ElementParametersImpl#getPropertyParameters <em>Property Parameters</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.ElementParametersImpl#getVendorExtension <em>Vendor Extension</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.ElementParametersImpl#getElementRef <em>Element Ref</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.ElementParametersImpl#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class ElementParametersImpl extends EObjectImpl implements ElementParameters { + /** + * The cached value of the '{@link #getTimeParameters() <em>Time Parameters</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getTimeParameters() + * @generated + * @ordered + */ + protected TimeParameters timeParameters; + + /** + * The cached value of the '{@link #getControlParameters() <em>Control Parameters</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getControlParameters() + * @generated + * @ordered + */ + protected ControlParameters controlParameters; + + /** + * The cached value of the '{@link #getResourceParameters() <em>Resource Parameters</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getResourceParameters() + * @generated + * @ordered + */ + protected ResourceParameters resourceParameters; + + /** + * The cached value of the '{@link #getPriorityParameters() <em>Priority Parameters</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getPriorityParameters() + * @generated + * @ordered + */ + protected PriorityParameters priorityParameters; + + /** + * The cached value of the '{@link #getCostParameters() <em>Cost Parameters</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getCostParameters() + * @generated + * @ordered + */ + protected CostParameters costParameters; + + /** + * The cached value of the '{@link #getPropertyParameters() <em>Property Parameters</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getPropertyParameters() + * @generated + * @ordered + */ + protected PropertyParameters propertyParameters; + + /** + * The cached value of the '{@link #getVendorExtension() <em>Vendor Extension</em>}' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getVendorExtension() + * @generated + * @ordered + */ + protected EList<VendorExtension> vendorExtension; + + /** + * The default value of the '{@link #getElementRef() <em>Element Ref</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getElementRef() + * @generated + * @ordered + */ + protected static final String ELEMENT_REF_EDEFAULT = null; + + /** + * The cached value of the '{@link #getElementRef() <em>Element Ref</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getElementRef() + * @generated + * @ordered + */ + protected String elementRef = ELEMENT_REF_EDEFAULT; + + /** + * The default value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected static final String ID_EDEFAULT = null; + + /** + * The cached value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected String id = ID_EDEFAULT; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected ElementParametersImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return BpsimPackage.Literals.ELEMENT_PARAMETERS; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public TimeParameters getTimeParameters() { + return timeParameters; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetTimeParameters(TimeParameters newTimeParameters, NotificationChain msgs) { + TimeParameters oldTimeParameters = timeParameters; + timeParameters = newTimeParameters; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, BpsimPackage.ELEMENT_PARAMETERS__TIME_PARAMETERS, oldTimeParameters, newTimeParameters); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setTimeParameters(TimeParameters newTimeParameters) { + if (newTimeParameters != timeParameters) { + NotificationChain msgs = null; + if (timeParameters != null) + msgs = ((InternalEObject)timeParameters).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - BpsimPackage.ELEMENT_PARAMETERS__TIME_PARAMETERS, null, msgs); + if (newTimeParameters != null) + msgs = ((InternalEObject)newTimeParameters).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - BpsimPackage.ELEMENT_PARAMETERS__TIME_PARAMETERS, null, msgs); + msgs = basicSetTimeParameters(newTimeParameters, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, BpsimPackage.ELEMENT_PARAMETERS__TIME_PARAMETERS, newTimeParameters, newTimeParameters)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ControlParameters getControlParameters() { + return controlParameters; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetControlParameters(ControlParameters newControlParameters, NotificationChain msgs) { + ControlParameters oldControlParameters = controlParameters; + controlParameters = newControlParameters; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, BpsimPackage.ELEMENT_PARAMETERS__CONTROL_PARAMETERS, oldControlParameters, newControlParameters); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setControlParameters(ControlParameters newControlParameters) { + if (newControlParameters != controlParameters) { + NotificationChain msgs = null; + if (controlParameters != null) + msgs = ((InternalEObject)controlParameters).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - BpsimPackage.ELEMENT_PARAMETERS__CONTROL_PARAMETERS, null, msgs); + if (newControlParameters != null) + msgs = ((InternalEObject)newControlParameters).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - BpsimPackage.ELEMENT_PARAMETERS__CONTROL_PARAMETERS, null, msgs); + msgs = basicSetControlParameters(newControlParameters, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, BpsimPackage.ELEMENT_PARAMETERS__CONTROL_PARAMETERS, newControlParameters, newControlParameters)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ResourceParameters getResourceParameters() { + return resourceParameters; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetResourceParameters(ResourceParameters newResourceParameters, NotificationChain msgs) { + ResourceParameters oldResourceParameters = resourceParameters; + resourceParameters = newResourceParameters; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, BpsimPackage.ELEMENT_PARAMETERS__RESOURCE_PARAMETERS, oldResourceParameters, newResourceParameters); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setResourceParameters(ResourceParameters newResourceParameters) { + if (newResourceParameters != resourceParameters) { + NotificationChain msgs = null; + if (resourceParameters != null) + msgs = ((InternalEObject)resourceParameters).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - BpsimPackage.ELEMENT_PARAMETERS__RESOURCE_PARAMETERS, null, msgs); + if (newResourceParameters != null) + msgs = ((InternalEObject)newResourceParameters).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - BpsimPackage.ELEMENT_PARAMETERS__RESOURCE_PARAMETERS, null, msgs); + msgs = basicSetResourceParameters(newResourceParameters, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, BpsimPackage.ELEMENT_PARAMETERS__RESOURCE_PARAMETERS, newResourceParameters, newResourceParameters)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public PriorityParameters getPriorityParameters() { + return priorityParameters; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetPriorityParameters(PriorityParameters newPriorityParameters, NotificationChain msgs) { + PriorityParameters oldPriorityParameters = priorityParameters; + priorityParameters = newPriorityParameters; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, BpsimPackage.ELEMENT_PARAMETERS__PRIORITY_PARAMETERS, oldPriorityParameters, newPriorityParameters); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setPriorityParameters(PriorityParameters newPriorityParameters) { + if (newPriorityParameters != priorityParameters) { + NotificationChain msgs = null; + if (priorityParameters != null) + msgs = ((InternalEObject)priorityParameters).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - BpsimPackage.ELEMENT_PARAMETERS__PRIORITY_PARAMETERS, null, msgs); + if (newPriorityParameters != null) + msgs = ((InternalEObject)newPriorityParameters).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - BpsimPackage.ELEMENT_PARAMETERS__PRIORITY_PARAMETERS, null, msgs); + msgs = basicSetPriorityParameters(newPriorityParameters, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, BpsimPackage.ELEMENT_PARAMETERS__PRIORITY_PARAMETERS, newPriorityParameters, newPriorityParameters)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public CostParameters getCostParameters() { + return costParameters; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetCostParameters(CostParameters newCostParameters, NotificationChain msgs) { + CostParameters oldCostParameters = costParameters; + costParameters = newCostParameters; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, BpsimPackage.ELEMENT_PARAMETERS__COST_PARAMETERS, oldCostParameters, newCostParameters); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setCostParameters(CostParameters newCostParameters) { + if (newCostParameters != costParameters) { + NotificationChain msgs = null; + if (costParameters != null) + msgs = ((InternalEObject)costParameters).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - BpsimPackage.ELEMENT_PARAMETERS__COST_PARAMETERS, null, msgs); + if (newCostParameters != null) + msgs = ((InternalEObject)newCostParameters).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - BpsimPackage.ELEMENT_PARAMETERS__COST_PARAMETERS, null, msgs); + msgs = basicSetCostParameters(newCostParameters, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, BpsimPackage.ELEMENT_PARAMETERS__COST_PARAMETERS, newCostParameters, newCostParameters)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public PropertyParameters getPropertyParameters() { + return propertyParameters; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetPropertyParameters(PropertyParameters newPropertyParameters, NotificationChain msgs) { + PropertyParameters oldPropertyParameters = propertyParameters; + propertyParameters = newPropertyParameters; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, BpsimPackage.ELEMENT_PARAMETERS__PROPERTY_PARAMETERS, oldPropertyParameters, newPropertyParameters); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setPropertyParameters(PropertyParameters newPropertyParameters) { + if (newPropertyParameters != propertyParameters) { + NotificationChain msgs = null; + if (propertyParameters != null) + msgs = ((InternalEObject)propertyParameters).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - BpsimPackage.ELEMENT_PARAMETERS__PROPERTY_PARAMETERS, null, msgs); + if (newPropertyParameters != null) + msgs = ((InternalEObject)newPropertyParameters).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - BpsimPackage.ELEMENT_PARAMETERS__PROPERTY_PARAMETERS, null, msgs); + msgs = basicSetPropertyParameters(newPropertyParameters, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, BpsimPackage.ELEMENT_PARAMETERS__PROPERTY_PARAMETERS, newPropertyParameters, newPropertyParameters)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList<VendorExtension> getVendorExtension() { + if (vendorExtension == null) { + vendorExtension = new EObjectContainmentEList<VendorExtension>(VendorExtension.class, this, BpsimPackage.ELEMENT_PARAMETERS__VENDOR_EXTENSION); + } + return vendorExtension; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getElementRef() { + return elementRef; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setElementRef(String newElementRef) { + String oldElementRef = elementRef; + elementRef = newElementRef; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, BpsimPackage.ELEMENT_PARAMETERS__ELEMENT_REF, oldElementRef, elementRef)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getId() { + return id; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setId(String newId) { + String oldId = id; + id = newId; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, BpsimPackage.ELEMENT_PARAMETERS__ID, oldId, id)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case BpsimPackage.ELEMENT_PARAMETERS__TIME_PARAMETERS: + return basicSetTimeParameters(null, msgs); + case BpsimPackage.ELEMENT_PARAMETERS__CONTROL_PARAMETERS: + return basicSetControlParameters(null, msgs); + case BpsimPackage.ELEMENT_PARAMETERS__RESOURCE_PARAMETERS: + return basicSetResourceParameters(null, msgs); + case BpsimPackage.ELEMENT_PARAMETERS__PRIORITY_PARAMETERS: + return basicSetPriorityParameters(null, msgs); + case BpsimPackage.ELEMENT_PARAMETERS__COST_PARAMETERS: + return basicSetCostParameters(null, msgs); + case BpsimPackage.ELEMENT_PARAMETERS__PROPERTY_PARAMETERS: + return basicSetPropertyParameters(null, msgs); + case BpsimPackage.ELEMENT_PARAMETERS__VENDOR_EXTENSION: + return ((InternalEList<?>)getVendorExtension()).basicRemove(otherEnd, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case BpsimPackage.ELEMENT_PARAMETERS__TIME_PARAMETERS: + return getTimeParameters(); + case BpsimPackage.ELEMENT_PARAMETERS__CONTROL_PARAMETERS: + return getControlParameters(); + case BpsimPackage.ELEMENT_PARAMETERS__RESOURCE_PARAMETERS: + return getResourceParameters(); + case BpsimPackage.ELEMENT_PARAMETERS__PRIORITY_PARAMETERS: + return getPriorityParameters(); + case BpsimPackage.ELEMENT_PARAMETERS__COST_PARAMETERS: + return getCostParameters(); + case BpsimPackage.ELEMENT_PARAMETERS__PROPERTY_PARAMETERS: + return getPropertyParameters(); + case BpsimPackage.ELEMENT_PARAMETERS__VENDOR_EXTENSION: + return getVendorExtension(); + case BpsimPackage.ELEMENT_PARAMETERS__ELEMENT_REF: + return getElementRef(); + case BpsimPackage.ELEMENT_PARAMETERS__ID: + return getId(); + } + 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 BpsimPackage.ELEMENT_PARAMETERS__TIME_PARAMETERS: + setTimeParameters((TimeParameters)newValue); + return; + case BpsimPackage.ELEMENT_PARAMETERS__CONTROL_PARAMETERS: + setControlParameters((ControlParameters)newValue); + return; + case BpsimPackage.ELEMENT_PARAMETERS__RESOURCE_PARAMETERS: + setResourceParameters((ResourceParameters)newValue); + return; + case BpsimPackage.ELEMENT_PARAMETERS__PRIORITY_PARAMETERS: + setPriorityParameters((PriorityParameters)newValue); + return; + case BpsimPackage.ELEMENT_PARAMETERS__COST_PARAMETERS: + setCostParameters((CostParameters)newValue); + return; + case BpsimPackage.ELEMENT_PARAMETERS__PROPERTY_PARAMETERS: + setPropertyParameters((PropertyParameters)newValue); + return; + case BpsimPackage.ELEMENT_PARAMETERS__VENDOR_EXTENSION: + getVendorExtension().clear(); + getVendorExtension().addAll((Collection<? extends VendorExtension>)newValue); + return; + case BpsimPackage.ELEMENT_PARAMETERS__ELEMENT_REF: + setElementRef((String)newValue); + return; + case BpsimPackage.ELEMENT_PARAMETERS__ID: + setId((String)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case BpsimPackage.ELEMENT_PARAMETERS__TIME_PARAMETERS: + setTimeParameters((TimeParameters)null); + return; + case BpsimPackage.ELEMENT_PARAMETERS__CONTROL_PARAMETERS: + setControlParameters((ControlParameters)null); + return; + case BpsimPackage.ELEMENT_PARAMETERS__RESOURCE_PARAMETERS: + setResourceParameters((ResourceParameters)null); + return; + case BpsimPackage.ELEMENT_PARAMETERS__PRIORITY_PARAMETERS: + setPriorityParameters((PriorityParameters)null); + return; + case BpsimPackage.ELEMENT_PARAMETERS__COST_PARAMETERS: + setCostParameters((CostParameters)null); + return; + case BpsimPackage.ELEMENT_PARAMETERS__PROPERTY_PARAMETERS: + setPropertyParameters((PropertyParameters)null); + return; + case BpsimPackage.ELEMENT_PARAMETERS__VENDOR_EXTENSION: + getVendorExtension().clear(); + return; + case BpsimPackage.ELEMENT_PARAMETERS__ELEMENT_REF: + setElementRef(ELEMENT_REF_EDEFAULT); + return; + case BpsimPackage.ELEMENT_PARAMETERS__ID: + setId(ID_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case BpsimPackage.ELEMENT_PARAMETERS__TIME_PARAMETERS: + return timeParameters != null; + case BpsimPackage.ELEMENT_PARAMETERS__CONTROL_PARAMETERS: + return controlParameters != null; + case BpsimPackage.ELEMENT_PARAMETERS__RESOURCE_PARAMETERS: + return resourceParameters != null; + case BpsimPackage.ELEMENT_PARAMETERS__PRIORITY_PARAMETERS: + return priorityParameters != null; + case BpsimPackage.ELEMENT_PARAMETERS__COST_PARAMETERS: + return costParameters != null; + case BpsimPackage.ELEMENT_PARAMETERS__PROPERTY_PARAMETERS: + return propertyParameters != null; + case BpsimPackage.ELEMENT_PARAMETERS__VENDOR_EXTENSION: + return vendorExtension != null && !vendorExtension.isEmpty(); + case BpsimPackage.ELEMENT_PARAMETERS__ELEMENT_REF: + return ELEMENT_REF_EDEFAULT == null ? elementRef != null : !ELEMENT_REF_EDEFAULT.equals(elementRef); + case BpsimPackage.ELEMENT_PARAMETERS__ID: + return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); + } + return super.eIsSet(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (elementRef: "); + result.append(elementRef); + result.append(", id: "); + result.append(id); + result.append(')'); + return result.toString(); + } + +} //ElementParametersImpl diff --git a/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/impl/ElementParametersTypeImpl.java b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/impl/ElementParametersTypeImpl.java new file mode 100644 index 00000000..f3b0e4ea --- /dev/null +++ b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/impl/ElementParametersTypeImpl.java @@ -0,0 +1,38 @@ +/** + */ +package org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl; + +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ElementParametersType; +import org.eclipse.emf.ecore.EClass; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Element Parameters Type</b></em>'. + * <!-- end-user-doc --> + * <p> + * </p> + * + * @generated + */ +public class ElementParametersTypeImpl extends ElementParametersImpl implements ElementParametersType { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected ElementParametersTypeImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return BpsimPackage.Literals.ELEMENT_PARAMETERS_TYPE; + } + +} //ElementParametersTypeImpl diff --git a/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/impl/EnumParameterTypeImpl.java b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/impl/EnumParameterTypeImpl.java new file mode 100644 index 00000000..8b7eee3e --- /dev/null +++ b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/impl/EnumParameterTypeImpl.java @@ -0,0 +1,209 @@ +/** + */ +package org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl; + +import java.util.Collection; + +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.EnumParameterType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ParameterValue; +import org.eclipse.emf.common.notify.NotificationChain; +import org.eclipse.emf.common.util.EList; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; +import org.eclipse.emf.ecore.util.BasicFeatureMap; +import org.eclipse.emf.ecore.util.FeatureMap; +import org.eclipse.emf.ecore.util.InternalEList; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Enum Parameter Type</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.EnumParameterTypeImpl#getGroup <em>Group</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.EnumParameterTypeImpl#getParameterValueGroup <em>Parameter Value Group</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.EnumParameterTypeImpl#getParameterValue <em>Parameter Value</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class EnumParameterTypeImpl extends ParameterValueImpl implements EnumParameterType { + /** + * The cached value of the '{@link #getGroup() <em>Group</em>}' attribute list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getGroup() + * @generated + * @ordered + */ + protected FeatureMap group; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected EnumParameterTypeImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return BpsimPackage.Literals.ENUM_PARAMETER_TYPE; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public FeatureMap getGroup() { + if (group == null) { + group = new BasicFeatureMap(this, BpsimPackage.ENUM_PARAMETER_TYPE__GROUP); + } + return group; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public FeatureMap getParameterValueGroup() { + return (FeatureMap)getGroup().<FeatureMap.Entry>list(BpsimPackage.Literals.ENUM_PARAMETER_TYPE__PARAMETER_VALUE_GROUP); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList<ParameterValue> getParameterValue() { + return getParameterValueGroup().list(BpsimPackage.Literals.ENUM_PARAMETER_TYPE__PARAMETER_VALUE); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case BpsimPackage.ENUM_PARAMETER_TYPE__GROUP: + return ((InternalEList<?>)getGroup()).basicRemove(otherEnd, msgs); + case BpsimPackage.ENUM_PARAMETER_TYPE__PARAMETER_VALUE_GROUP: + return ((InternalEList<?>)getParameterValueGroup()).basicRemove(otherEnd, msgs); + case BpsimPackage.ENUM_PARAMETER_TYPE__PARAMETER_VALUE: + return ((InternalEList<?>)getParameterValue()).basicRemove(otherEnd, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case BpsimPackage.ENUM_PARAMETER_TYPE__GROUP: + if (coreType) return getGroup(); + return ((FeatureMap.Internal)getGroup()).getWrapper(); + case BpsimPackage.ENUM_PARAMETER_TYPE__PARAMETER_VALUE_GROUP: + if (coreType) return getParameterValueGroup(); + return ((FeatureMap.Internal)getParameterValueGroup()).getWrapper(); + case BpsimPackage.ENUM_PARAMETER_TYPE__PARAMETER_VALUE: + return getParameterValue(); + } + 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 BpsimPackage.ENUM_PARAMETER_TYPE__GROUP: + ((FeatureMap.Internal)getGroup()).set(newValue); + return; + case BpsimPackage.ENUM_PARAMETER_TYPE__PARAMETER_VALUE_GROUP: + ((FeatureMap.Internal)getParameterValueGroup()).set(newValue); + return; + case BpsimPackage.ENUM_PARAMETER_TYPE__PARAMETER_VALUE: + getParameterValue().clear(); + getParameterValue().addAll((Collection<? extends ParameterValue>)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case BpsimPackage.ENUM_PARAMETER_TYPE__GROUP: + getGroup().clear(); + return; + case BpsimPackage.ENUM_PARAMETER_TYPE__PARAMETER_VALUE_GROUP: + getParameterValueGroup().clear(); + return; + case BpsimPackage.ENUM_PARAMETER_TYPE__PARAMETER_VALUE: + getParameterValue().clear(); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case BpsimPackage.ENUM_PARAMETER_TYPE__GROUP: + return group != null && !group.isEmpty(); + case BpsimPackage.ENUM_PARAMETER_TYPE__PARAMETER_VALUE_GROUP: + return !getParameterValueGroup().isEmpty(); + case BpsimPackage.ENUM_PARAMETER_TYPE__PARAMETER_VALUE: + return !getParameterValue().isEmpty(); + } + return super.eIsSet(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (group: "); + result.append(group); + result.append(')'); + return result.toString(); + } + +} //EnumParameterTypeImpl diff --git a/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/impl/ErlangDistributionTypeImpl.java b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/impl/ErlangDistributionTypeImpl.java new file mode 100644 index 00000000..412ffc99 --- /dev/null +++ b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/impl/ErlangDistributionTypeImpl.java @@ -0,0 +1,281 @@ +/** + */ +package org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl; + +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ErlangDistributionType; +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Erlang Distribution Type</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.ErlangDistributionTypeImpl#getK <em>K</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.ErlangDistributionTypeImpl#getMean <em>Mean</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class ErlangDistributionTypeImpl extends DistributionParameterImpl implements ErlangDistributionType { + /** + * The default value of the '{@link #getK() <em>K</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getK() + * @generated + * @ordered + */ + protected static final double K_EDEFAULT = 0.0; + + /** + * The cached value of the '{@link #getK() <em>K</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getK() + * @generated + * @ordered + */ + protected double k = K_EDEFAULT; + + /** + * This is true if the K attribute has been set. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + protected boolean kESet; + + /** + * The default value of the '{@link #getMean() <em>Mean</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getMean() + * @generated + * @ordered + */ + protected static final double MEAN_EDEFAULT = 0.0; + + /** + * The cached value of the '{@link #getMean() <em>Mean</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getMean() + * @generated + * @ordered + */ + protected double mean = MEAN_EDEFAULT; + + /** + * This is true if the Mean attribute has been set. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + protected boolean meanESet; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected ErlangDistributionTypeImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return BpsimPackage.Literals.ERLANG_DISTRIBUTION_TYPE; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public double getK() { + return k; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setK(double newK) { + double oldK = k; + k = newK; + boolean oldKESet = kESet; + kESet = true; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, BpsimPackage.ERLANG_DISTRIBUTION_TYPE__K, oldK, k, !oldKESet)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void unsetK() { + double oldK = k; + boolean oldKESet = kESet; + k = K_EDEFAULT; + kESet = false; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.UNSET, BpsimPackage.ERLANG_DISTRIBUTION_TYPE__K, oldK, K_EDEFAULT, oldKESet)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean isSetK() { + return kESet; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public double getMean() { + return mean; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setMean(double newMean) { + double oldMean = mean; + mean = newMean; + boolean oldMeanESet = meanESet; + meanESet = true; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, BpsimPackage.ERLANG_DISTRIBUTION_TYPE__MEAN, oldMean, mean, !oldMeanESet)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void unsetMean() { + double oldMean = mean; + boolean oldMeanESet = meanESet; + mean = MEAN_EDEFAULT; + meanESet = false; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.UNSET, BpsimPackage.ERLANG_DISTRIBUTION_TYPE__MEAN, oldMean, MEAN_EDEFAULT, oldMeanESet)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean isSetMean() { + return meanESet; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case BpsimPackage.ERLANG_DISTRIBUTION_TYPE__K: + return getK(); + case BpsimPackage.ERLANG_DISTRIBUTION_TYPE__MEAN: + return getMean(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case BpsimPackage.ERLANG_DISTRIBUTION_TYPE__K: + setK((Double)newValue); + return; + case BpsimPackage.ERLANG_DISTRIBUTION_TYPE__MEAN: + setMean((Double)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case BpsimPackage.ERLANG_DISTRIBUTION_TYPE__K: + unsetK(); + return; + case BpsimPackage.ERLANG_DISTRIBUTION_TYPE__MEAN: + unsetMean(); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case BpsimPackage.ERLANG_DISTRIBUTION_TYPE__K: + return isSetK(); + case BpsimPackage.ERLANG_DISTRIBUTION_TYPE__MEAN: + return isSetMean(); + } + return super.eIsSet(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (k: "); + if (kESet) result.append(k); else result.append("<unset>"); + result.append(", mean: "); + if (meanESet) result.append(mean); else result.append("<unset>"); + result.append(')'); + return result.toString(); + } + +} //ErlangDistributionTypeImpl diff --git a/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/impl/ExpressionParameterTypeImpl.java b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/impl/ExpressionParameterTypeImpl.java new file mode 100644 index 00000000..e17a070e --- /dev/null +++ b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/impl/ExpressionParameterTypeImpl.java @@ -0,0 +1,159 @@ +/** + */ +package org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl; + +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ExpressionParameterType; +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>SingleAssignment Parameter Type</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.ExpressionParameterTypeImpl#getValue <em>Value</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class ExpressionParameterTypeImpl extends ParameterValueImpl implements ExpressionParameterType { + /** + * The default value of the '{@link #getValue() <em>Value</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getValue() + * @generated + * @ordered + */ + protected static final String VALUE_EDEFAULT = null; + + /** + * The cached value of the '{@link #getValue() <em>Value</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getValue() + * @generated + * @ordered + */ + protected String value = VALUE_EDEFAULT; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected ExpressionParameterTypeImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return BpsimPackage.Literals.EXPRESSION_PARAMETER_TYPE; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getValue() { + return value; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setValue(String newValue) { + String oldValue = value; + value = newValue; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, BpsimPackage.EXPRESSION_PARAMETER_TYPE__VALUE, oldValue, value)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case BpsimPackage.EXPRESSION_PARAMETER_TYPE__VALUE: + return getValue(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case BpsimPackage.EXPRESSION_PARAMETER_TYPE__VALUE: + setValue((String)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case BpsimPackage.EXPRESSION_PARAMETER_TYPE__VALUE: + setValue(VALUE_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case BpsimPackage.EXPRESSION_PARAMETER_TYPE__VALUE: + return VALUE_EDEFAULT == null ? value != null : !VALUE_EDEFAULT.equals(value); + } + return super.eIsSet(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (value: "); + result.append(value); + result.append(')'); + return result.toString(); + } + +} //ExpressionParameterTypeImpl diff --git a/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/impl/FloatingParameterTypeImpl.java b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/impl/FloatingParameterTypeImpl.java new file mode 100644 index 00000000..a8b6cfe9 --- /dev/null +++ b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/impl/FloatingParameterTypeImpl.java @@ -0,0 +1,336 @@ +/** + */ +package org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl; + +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.FloatingParameterType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.TimeUnit; +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Floating Parameter Type</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.FloatingParameterTypeImpl#getCurrencyUnit <em>Currency Unit</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.FloatingParameterTypeImpl#getTimeUnit <em>Time Unit</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.FloatingParameterTypeImpl#getValue <em>Value</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class FloatingParameterTypeImpl extends ConstantParameterImpl implements FloatingParameterType { + /** + * The default value of the '{@link #getCurrencyUnit() <em>Currency Unit</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getCurrencyUnit() + * @generated + * @ordered + */ + protected static final String CURRENCY_UNIT_EDEFAULT = null; + + /** + * The cached value of the '{@link #getCurrencyUnit() <em>Currency Unit</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getCurrencyUnit() + * @generated + * @ordered + */ + protected String currencyUnit = CURRENCY_UNIT_EDEFAULT; + + /** + * The default value of the '{@link #getTimeUnit() <em>Time Unit</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getTimeUnit() + * @generated + * @ordered + */ + protected static final TimeUnit TIME_UNIT_EDEFAULT = TimeUnit.MS; + + /** + * The cached value of the '{@link #getTimeUnit() <em>Time Unit</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getTimeUnit() + * @generated + * @ordered + */ + protected TimeUnit timeUnit = TIME_UNIT_EDEFAULT; + + /** + * This is true if the Time Unit attribute has been set. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + protected boolean timeUnitESet; + + /** + * The default value of the '{@link #getValue() <em>Value</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getValue() + * @generated + * @ordered + */ + protected static final double VALUE_EDEFAULT = 0.0; + + /** + * The cached value of the '{@link #getValue() <em>Value</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getValue() + * @generated + * @ordered + */ + protected double value = VALUE_EDEFAULT; + + /** + * This is true if the Value attribute has been set. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + protected boolean valueESet; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected FloatingParameterTypeImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return BpsimPackage.Literals.FLOATING_PARAMETER_TYPE; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getCurrencyUnit() { + return currencyUnit; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setCurrencyUnit(String newCurrencyUnit) { + String oldCurrencyUnit = currencyUnit; + currencyUnit = newCurrencyUnit; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, BpsimPackage.FLOATING_PARAMETER_TYPE__CURRENCY_UNIT, oldCurrencyUnit, currencyUnit)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public TimeUnit getTimeUnit() { + return timeUnit; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setTimeUnit(TimeUnit newTimeUnit) { + TimeUnit oldTimeUnit = timeUnit; + timeUnit = newTimeUnit == null ? TIME_UNIT_EDEFAULT : newTimeUnit; + boolean oldTimeUnitESet = timeUnitESet; + timeUnitESet = true; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, BpsimPackage.FLOATING_PARAMETER_TYPE__TIME_UNIT, oldTimeUnit, timeUnit, !oldTimeUnitESet)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void unsetTimeUnit() { + TimeUnit oldTimeUnit = timeUnit; + boolean oldTimeUnitESet = timeUnitESet; + timeUnit = TIME_UNIT_EDEFAULT; + timeUnitESet = false; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.UNSET, BpsimPackage.FLOATING_PARAMETER_TYPE__TIME_UNIT, oldTimeUnit, TIME_UNIT_EDEFAULT, oldTimeUnitESet)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean isSetTimeUnit() { + return timeUnitESet; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public double getValue() { + return value; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setValue(double newValue) { + double oldValue = value; + value = newValue; + boolean oldValueESet = valueESet; + valueESet = true; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, BpsimPackage.FLOATING_PARAMETER_TYPE__VALUE, oldValue, value, !oldValueESet)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void unsetValue() { + double oldValue = value; + boolean oldValueESet = valueESet; + value = VALUE_EDEFAULT; + valueESet = false; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.UNSET, BpsimPackage.FLOATING_PARAMETER_TYPE__VALUE, oldValue, VALUE_EDEFAULT, oldValueESet)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean isSetValue() { + return valueESet; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case BpsimPackage.FLOATING_PARAMETER_TYPE__CURRENCY_UNIT: + return getCurrencyUnit(); + case BpsimPackage.FLOATING_PARAMETER_TYPE__TIME_UNIT: + return getTimeUnit(); + case BpsimPackage.FLOATING_PARAMETER_TYPE__VALUE: + return getValue(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case BpsimPackage.FLOATING_PARAMETER_TYPE__CURRENCY_UNIT: + setCurrencyUnit((String)newValue); + return; + case BpsimPackage.FLOATING_PARAMETER_TYPE__TIME_UNIT: + setTimeUnit((TimeUnit)newValue); + return; + case BpsimPackage.FLOATING_PARAMETER_TYPE__VALUE: + setValue((Double)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case BpsimPackage.FLOATING_PARAMETER_TYPE__CURRENCY_UNIT: + setCurrencyUnit(CURRENCY_UNIT_EDEFAULT); + return; + case BpsimPackage.FLOATING_PARAMETER_TYPE__TIME_UNIT: + unsetTimeUnit(); + return; + case BpsimPackage.FLOATING_PARAMETER_TYPE__VALUE: + unsetValue(); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case BpsimPackage.FLOATING_PARAMETER_TYPE__CURRENCY_UNIT: + return CURRENCY_UNIT_EDEFAULT == null ? currencyUnit != null : !CURRENCY_UNIT_EDEFAULT.equals(currencyUnit); + case BpsimPackage.FLOATING_PARAMETER_TYPE__TIME_UNIT: + return isSetTimeUnit(); + case BpsimPackage.FLOATING_PARAMETER_TYPE__VALUE: + return isSetValue(); + } + return super.eIsSet(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (currencyUnit: "); + result.append(currencyUnit); + result.append(", timeUnit: "); + if (timeUnitESet) result.append(timeUnit); else result.append("<unset>"); + result.append(", value: "); + if (valueESet) result.append(value); else result.append("<unset>"); + result.append(')'); + return result.toString(); + } + +} //FloatingParameterTypeImpl diff --git a/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/impl/GammaDistributionTypeImpl.java b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/impl/GammaDistributionTypeImpl.java new file mode 100644 index 00000000..ad3cb044 --- /dev/null +++ b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/impl/GammaDistributionTypeImpl.java @@ -0,0 +1,281 @@ +/** + */ +package org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl; + +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.GammaDistributionType; +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Gamma Distribution Type</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.GammaDistributionTypeImpl#getScale <em>Scale</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.GammaDistributionTypeImpl#getShape <em>Shape</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class GammaDistributionTypeImpl extends DistributionParameterImpl implements GammaDistributionType { + /** + * The default value of the '{@link #getScale() <em>Scale</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getScale() + * @generated + * @ordered + */ + protected static final double SCALE_EDEFAULT = 0.0; + + /** + * The cached value of the '{@link #getScale() <em>Scale</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getScale() + * @generated + * @ordered + */ + protected double scale = SCALE_EDEFAULT; + + /** + * This is true if the Scale attribute has been set. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + protected boolean scaleESet; + + /** + * The default value of the '{@link #getShape() <em>Shape</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getShape() + * @generated + * @ordered + */ + protected static final double SHAPE_EDEFAULT = 0.0; + + /** + * The cached value of the '{@link #getShape() <em>Shape</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getShape() + * @generated + * @ordered + */ + protected double shape = SHAPE_EDEFAULT; + + /** + * This is true if the Shape attribute has been set. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + protected boolean shapeESet; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected GammaDistributionTypeImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return BpsimPackage.Literals.GAMMA_DISTRIBUTION_TYPE; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public double getScale() { + return scale; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setScale(double newScale) { + double oldScale = scale; + scale = newScale; + boolean oldScaleESet = scaleESet; + scaleESet = true; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, BpsimPackage.GAMMA_DISTRIBUTION_TYPE__SCALE, oldScale, scale, !oldScaleESet)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void unsetScale() { + double oldScale = scale; + boolean oldScaleESet = scaleESet; + scale = SCALE_EDEFAULT; + scaleESet = false; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.UNSET, BpsimPackage.GAMMA_DISTRIBUTION_TYPE__SCALE, oldScale, SCALE_EDEFAULT, oldScaleESet)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean isSetScale() { + return scaleESet; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public double getShape() { + return shape; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setShape(double newShape) { + double oldShape = shape; + shape = newShape; + boolean oldShapeESet = shapeESet; + shapeESet = true; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, BpsimPackage.GAMMA_DISTRIBUTION_TYPE__SHAPE, oldShape, shape, !oldShapeESet)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void unsetShape() { + double oldShape = shape; + boolean oldShapeESet = shapeESet; + shape = SHAPE_EDEFAULT; + shapeESet = false; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.UNSET, BpsimPackage.GAMMA_DISTRIBUTION_TYPE__SHAPE, oldShape, SHAPE_EDEFAULT, oldShapeESet)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean isSetShape() { + return shapeESet; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case BpsimPackage.GAMMA_DISTRIBUTION_TYPE__SCALE: + return getScale(); + case BpsimPackage.GAMMA_DISTRIBUTION_TYPE__SHAPE: + return getShape(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case BpsimPackage.GAMMA_DISTRIBUTION_TYPE__SCALE: + setScale((Double)newValue); + return; + case BpsimPackage.GAMMA_DISTRIBUTION_TYPE__SHAPE: + setShape((Double)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case BpsimPackage.GAMMA_DISTRIBUTION_TYPE__SCALE: + unsetScale(); + return; + case BpsimPackage.GAMMA_DISTRIBUTION_TYPE__SHAPE: + unsetShape(); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case BpsimPackage.GAMMA_DISTRIBUTION_TYPE__SCALE: + return isSetScale(); + case BpsimPackage.GAMMA_DISTRIBUTION_TYPE__SHAPE: + return isSetShape(); + } + return super.eIsSet(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (scale: "); + if (scaleESet) result.append(scale); else result.append("<unset>"); + result.append(", shape: "); + if (shapeESet) result.append(shape); else result.append("<unset>"); + result.append(')'); + return result.toString(); + } + +} //GammaDistributionTypeImpl diff --git a/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/impl/LogNormalDistributionTypeImpl.java b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/impl/LogNormalDistributionTypeImpl.java new file mode 100644 index 00000000..45f45c1e --- /dev/null +++ b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/impl/LogNormalDistributionTypeImpl.java @@ -0,0 +1,281 @@ +/** + */ +package org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl; + +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.LogNormalDistributionType; +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Log Normal Distribution Type</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.LogNormalDistributionTypeImpl#getMean <em>Mean</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.LogNormalDistributionTypeImpl#getStandardDeviation <em>Standard Deviation</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class LogNormalDistributionTypeImpl extends DistributionParameterImpl implements LogNormalDistributionType { + /** + * The default value of the '{@link #getMean() <em>Mean</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getMean() + * @generated + * @ordered + */ + protected static final double MEAN_EDEFAULT = 0.0; + + /** + * The cached value of the '{@link #getMean() <em>Mean</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getMean() + * @generated + * @ordered + */ + protected double mean = MEAN_EDEFAULT; + + /** + * This is true if the Mean attribute has been set. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + protected boolean meanESet; + + /** + * The default value of the '{@link #getStandardDeviation() <em>Standard Deviation</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getStandardDeviation() + * @generated + * @ordered + */ + protected static final double STANDARD_DEVIATION_EDEFAULT = 0.0; + + /** + * The cached value of the '{@link #getStandardDeviation() <em>Standard Deviation</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getStandardDeviation() + * @generated + * @ordered + */ + protected double standardDeviation = STANDARD_DEVIATION_EDEFAULT; + + /** + * This is true if the Standard Deviation attribute has been set. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + protected boolean standardDeviationESet; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected LogNormalDistributionTypeImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return BpsimPackage.Literals.LOG_NORMAL_DISTRIBUTION_TYPE; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public double getMean() { + return mean; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setMean(double newMean) { + double oldMean = mean; + mean = newMean; + boolean oldMeanESet = meanESet; + meanESet = true; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, BpsimPackage.LOG_NORMAL_DISTRIBUTION_TYPE__MEAN, oldMean, mean, !oldMeanESet)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void unsetMean() { + double oldMean = mean; + boolean oldMeanESet = meanESet; + mean = MEAN_EDEFAULT; + meanESet = false; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.UNSET, BpsimPackage.LOG_NORMAL_DISTRIBUTION_TYPE__MEAN, oldMean, MEAN_EDEFAULT, oldMeanESet)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean isSetMean() { + return meanESet; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public double getStandardDeviation() { + return standardDeviation; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setStandardDeviation(double newStandardDeviation) { + double oldStandardDeviation = standardDeviation; + standardDeviation = newStandardDeviation; + boolean oldStandardDeviationESet = standardDeviationESet; + standardDeviationESet = true; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, BpsimPackage.LOG_NORMAL_DISTRIBUTION_TYPE__STANDARD_DEVIATION, oldStandardDeviation, standardDeviation, !oldStandardDeviationESet)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void unsetStandardDeviation() { + double oldStandardDeviation = standardDeviation; + boolean oldStandardDeviationESet = standardDeviationESet; + standardDeviation = STANDARD_DEVIATION_EDEFAULT; + standardDeviationESet = false; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.UNSET, BpsimPackage.LOG_NORMAL_DISTRIBUTION_TYPE__STANDARD_DEVIATION, oldStandardDeviation, STANDARD_DEVIATION_EDEFAULT, oldStandardDeviationESet)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean isSetStandardDeviation() { + return standardDeviationESet; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case BpsimPackage.LOG_NORMAL_DISTRIBUTION_TYPE__MEAN: + return getMean(); + case BpsimPackage.LOG_NORMAL_DISTRIBUTION_TYPE__STANDARD_DEVIATION: + return getStandardDeviation(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case BpsimPackage.LOG_NORMAL_DISTRIBUTION_TYPE__MEAN: + setMean((Double)newValue); + return; + case BpsimPackage.LOG_NORMAL_DISTRIBUTION_TYPE__STANDARD_DEVIATION: + setStandardDeviation((Double)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case BpsimPackage.LOG_NORMAL_DISTRIBUTION_TYPE__MEAN: + unsetMean(); + return; + case BpsimPackage.LOG_NORMAL_DISTRIBUTION_TYPE__STANDARD_DEVIATION: + unsetStandardDeviation(); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case BpsimPackage.LOG_NORMAL_DISTRIBUTION_TYPE__MEAN: + return isSetMean(); + case BpsimPackage.LOG_NORMAL_DISTRIBUTION_TYPE__STANDARD_DEVIATION: + return isSetStandardDeviation(); + } + return super.eIsSet(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (mean: "); + if (meanESet) result.append(mean); else result.append("<unset>"); + result.append(", standardDeviation: "); + if (standardDeviationESet) result.append(standardDeviation); else result.append("<unset>"); + result.append(')'); + return result.toString(); + } + +} //LogNormalDistributionTypeImpl diff --git a/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/impl/NegativeExponentialDistributionTypeImpl.java b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/impl/NegativeExponentialDistributionTypeImpl.java new file mode 100644 index 00000000..8d1ff713 --- /dev/null +++ b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/impl/NegativeExponentialDistributionTypeImpl.java @@ -0,0 +1,193 @@ +/** + */ +package org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl; + +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.NegativeExponentialDistributionType; +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Negative Exponential Distribution Type</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.NegativeExponentialDistributionTypeImpl#getMean <em>Mean</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class NegativeExponentialDistributionTypeImpl extends DistributionParameterImpl implements NegativeExponentialDistributionType { + /** + * The default value of the '{@link #getMean() <em>Mean</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getMean() + * @generated + * @ordered + */ + protected static final double MEAN_EDEFAULT = 0.0; + + /** + * The cached value of the '{@link #getMean() <em>Mean</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getMean() + * @generated + * @ordered + */ + protected double mean = MEAN_EDEFAULT; + + /** + * This is true if the Mean attribute has been set. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + protected boolean meanESet; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected NegativeExponentialDistributionTypeImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return BpsimPackage.Literals.NEGATIVE_EXPONENTIAL_DISTRIBUTION_TYPE; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public double getMean() { + return mean; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setMean(double newMean) { + double oldMean = mean; + mean = newMean; + boolean oldMeanESet = meanESet; + meanESet = true; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, BpsimPackage.NEGATIVE_EXPONENTIAL_DISTRIBUTION_TYPE__MEAN, oldMean, mean, !oldMeanESet)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void unsetMean() { + double oldMean = mean; + boolean oldMeanESet = meanESet; + mean = MEAN_EDEFAULT; + meanESet = false; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.UNSET, BpsimPackage.NEGATIVE_EXPONENTIAL_DISTRIBUTION_TYPE__MEAN, oldMean, MEAN_EDEFAULT, oldMeanESet)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean isSetMean() { + return meanESet; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case BpsimPackage.NEGATIVE_EXPONENTIAL_DISTRIBUTION_TYPE__MEAN: + return getMean(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case BpsimPackage.NEGATIVE_EXPONENTIAL_DISTRIBUTION_TYPE__MEAN: + setMean((Double)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case BpsimPackage.NEGATIVE_EXPONENTIAL_DISTRIBUTION_TYPE__MEAN: + unsetMean(); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case BpsimPackage.NEGATIVE_EXPONENTIAL_DISTRIBUTION_TYPE__MEAN: + return isSetMean(); + } + return super.eIsSet(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (mean: "); + if (meanESet) result.append(mean); else result.append("<unset>"); + result.append(')'); + return result.toString(); + } + +} //NegativeExponentialDistributionTypeImpl diff --git a/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/impl/NormalDistributionTypeImpl.java b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/impl/NormalDistributionTypeImpl.java new file mode 100644 index 00000000..f86438c6 --- /dev/null +++ b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/impl/NormalDistributionTypeImpl.java @@ -0,0 +1,281 @@ +/** + */ +package org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl; + +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.NormalDistributionType; +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Normal Distribution Type</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.NormalDistributionTypeImpl#getMean <em>Mean</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.NormalDistributionTypeImpl#getStandardDeviation <em>Standard Deviation</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class NormalDistributionTypeImpl extends DistributionParameterImpl implements NormalDistributionType { + /** + * The default value of the '{@link #getMean() <em>Mean</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getMean() + * @generated + * @ordered + */ + protected static final double MEAN_EDEFAULT = 0.0; + + /** + * The cached value of the '{@link #getMean() <em>Mean</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getMean() + * @generated + * @ordered + */ + protected double mean = MEAN_EDEFAULT; + + /** + * This is true if the Mean attribute has been set. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + protected boolean meanESet; + + /** + * The default value of the '{@link #getStandardDeviation() <em>Standard Deviation</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getStandardDeviation() + * @generated + * @ordered + */ + protected static final double STANDARD_DEVIATION_EDEFAULT = 0.0; + + /** + * The cached value of the '{@link #getStandardDeviation() <em>Standard Deviation</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getStandardDeviation() + * @generated + * @ordered + */ + protected double standardDeviation = STANDARD_DEVIATION_EDEFAULT; + + /** + * This is true if the Standard Deviation attribute has been set. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + protected boolean standardDeviationESet; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected NormalDistributionTypeImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return BpsimPackage.Literals.NORMAL_DISTRIBUTION_TYPE; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public double getMean() { + return mean; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setMean(double newMean) { + double oldMean = mean; + mean = newMean; + boolean oldMeanESet = meanESet; + meanESet = true; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, BpsimPackage.NORMAL_DISTRIBUTION_TYPE__MEAN, oldMean, mean, !oldMeanESet)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void unsetMean() { + double oldMean = mean; + boolean oldMeanESet = meanESet; + mean = MEAN_EDEFAULT; + meanESet = false; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.UNSET, BpsimPackage.NORMAL_DISTRIBUTION_TYPE__MEAN, oldMean, MEAN_EDEFAULT, oldMeanESet)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean isSetMean() { + return meanESet; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public double getStandardDeviation() { + return standardDeviation; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setStandardDeviation(double newStandardDeviation) { + double oldStandardDeviation = standardDeviation; + standardDeviation = newStandardDeviation; + boolean oldStandardDeviationESet = standardDeviationESet; + standardDeviationESet = true; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, BpsimPackage.NORMAL_DISTRIBUTION_TYPE__STANDARD_DEVIATION, oldStandardDeviation, standardDeviation, !oldStandardDeviationESet)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void unsetStandardDeviation() { + double oldStandardDeviation = standardDeviation; + boolean oldStandardDeviationESet = standardDeviationESet; + standardDeviation = STANDARD_DEVIATION_EDEFAULT; + standardDeviationESet = false; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.UNSET, BpsimPackage.NORMAL_DISTRIBUTION_TYPE__STANDARD_DEVIATION, oldStandardDeviation, STANDARD_DEVIATION_EDEFAULT, oldStandardDeviationESet)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean isSetStandardDeviation() { + return standardDeviationESet; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case BpsimPackage.NORMAL_DISTRIBUTION_TYPE__MEAN: + return getMean(); + case BpsimPackage.NORMAL_DISTRIBUTION_TYPE__STANDARD_DEVIATION: + return getStandardDeviation(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case BpsimPackage.NORMAL_DISTRIBUTION_TYPE__MEAN: + setMean((Double)newValue); + return; + case BpsimPackage.NORMAL_DISTRIBUTION_TYPE__STANDARD_DEVIATION: + setStandardDeviation((Double)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case BpsimPackage.NORMAL_DISTRIBUTION_TYPE__MEAN: + unsetMean(); + return; + case BpsimPackage.NORMAL_DISTRIBUTION_TYPE__STANDARD_DEVIATION: + unsetStandardDeviation(); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case BpsimPackage.NORMAL_DISTRIBUTION_TYPE__MEAN: + return isSetMean(); + case BpsimPackage.NORMAL_DISTRIBUTION_TYPE__STANDARD_DEVIATION: + return isSetStandardDeviation(); + } + return super.eIsSet(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (mean: "); + if (meanESet) result.append(mean); else result.append("<unset>"); + result.append(", standardDeviation: "); + if (standardDeviationESet) result.append(standardDeviation); else result.append("<unset>"); + result.append(')'); + return result.toString(); + } + +} //NormalDistributionTypeImpl diff --git a/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/impl/NumericParameterTypeImpl.java b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/impl/NumericParameterTypeImpl.java new file mode 100644 index 00000000..25377e88 --- /dev/null +++ b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/impl/NumericParameterTypeImpl.java @@ -0,0 +1,336 @@ +/** + */ +package org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl; + +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.NumericParameterType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.TimeUnit; +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Numeric Parameter Type</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.NumericParameterTypeImpl#getCurrencyUnit <em>Currency Unit</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.NumericParameterTypeImpl#getTimeUnit <em>Time Unit</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.NumericParameterTypeImpl#getValue <em>Value</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class NumericParameterTypeImpl extends ConstantParameterImpl implements NumericParameterType { + /** + * The default value of the '{@link #getCurrencyUnit() <em>Currency Unit</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getCurrencyUnit() + * @generated + * @ordered + */ + protected static final String CURRENCY_UNIT_EDEFAULT = null; + + /** + * The cached value of the '{@link #getCurrencyUnit() <em>Currency Unit</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getCurrencyUnit() + * @generated + * @ordered + */ + protected String currencyUnit = CURRENCY_UNIT_EDEFAULT; + + /** + * The default value of the '{@link #getTimeUnit() <em>Time Unit</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getTimeUnit() + * @generated + * @ordered + */ + protected static final TimeUnit TIME_UNIT_EDEFAULT = TimeUnit.MS; + + /** + * The cached value of the '{@link #getTimeUnit() <em>Time Unit</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getTimeUnit() + * @generated + * @ordered + */ + protected TimeUnit timeUnit = TIME_UNIT_EDEFAULT; + + /** + * This is true if the Time Unit attribute has been set. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + protected boolean timeUnitESet; + + /** + * The default value of the '{@link #getValue() <em>Value</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getValue() + * @generated + * @ordered + */ + protected static final long VALUE_EDEFAULT = 0L; + + /** + * The cached value of the '{@link #getValue() <em>Value</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getValue() + * @generated + * @ordered + */ + protected long value = VALUE_EDEFAULT; + + /** + * This is true if the Value attribute has been set. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + protected boolean valueESet; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected NumericParameterTypeImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return BpsimPackage.Literals.NUMERIC_PARAMETER_TYPE; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getCurrencyUnit() { + return currencyUnit; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setCurrencyUnit(String newCurrencyUnit) { + String oldCurrencyUnit = currencyUnit; + currencyUnit = newCurrencyUnit; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, BpsimPackage.NUMERIC_PARAMETER_TYPE__CURRENCY_UNIT, oldCurrencyUnit, currencyUnit)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public TimeUnit getTimeUnit() { + return timeUnit; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setTimeUnit(TimeUnit newTimeUnit) { + TimeUnit oldTimeUnit = timeUnit; + timeUnit = newTimeUnit == null ? TIME_UNIT_EDEFAULT : newTimeUnit; + boolean oldTimeUnitESet = timeUnitESet; + timeUnitESet = true; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, BpsimPackage.NUMERIC_PARAMETER_TYPE__TIME_UNIT, oldTimeUnit, timeUnit, !oldTimeUnitESet)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void unsetTimeUnit() { + TimeUnit oldTimeUnit = timeUnit; + boolean oldTimeUnitESet = timeUnitESet; + timeUnit = TIME_UNIT_EDEFAULT; + timeUnitESet = false; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.UNSET, BpsimPackage.NUMERIC_PARAMETER_TYPE__TIME_UNIT, oldTimeUnit, TIME_UNIT_EDEFAULT, oldTimeUnitESet)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean isSetTimeUnit() { + return timeUnitESet; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public long getValue() { + return value; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setValue(long newValue) { + long oldValue = value; + value = newValue; + boolean oldValueESet = valueESet; + valueESet = true; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, BpsimPackage.NUMERIC_PARAMETER_TYPE__VALUE, oldValue, value, !oldValueESet)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void unsetValue() { + long oldValue = value; + boolean oldValueESet = valueESet; + value = VALUE_EDEFAULT; + valueESet = false; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.UNSET, BpsimPackage.NUMERIC_PARAMETER_TYPE__VALUE, oldValue, VALUE_EDEFAULT, oldValueESet)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean isSetValue() { + return valueESet; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case BpsimPackage.NUMERIC_PARAMETER_TYPE__CURRENCY_UNIT: + return getCurrencyUnit(); + case BpsimPackage.NUMERIC_PARAMETER_TYPE__TIME_UNIT: + return getTimeUnit(); + case BpsimPackage.NUMERIC_PARAMETER_TYPE__VALUE: + return getValue(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case BpsimPackage.NUMERIC_PARAMETER_TYPE__CURRENCY_UNIT: + setCurrencyUnit((String)newValue); + return; + case BpsimPackage.NUMERIC_PARAMETER_TYPE__TIME_UNIT: + setTimeUnit((TimeUnit)newValue); + return; + case BpsimPackage.NUMERIC_PARAMETER_TYPE__VALUE: + setValue((Long)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case BpsimPackage.NUMERIC_PARAMETER_TYPE__CURRENCY_UNIT: + setCurrencyUnit(CURRENCY_UNIT_EDEFAULT); + return; + case BpsimPackage.NUMERIC_PARAMETER_TYPE__TIME_UNIT: + unsetTimeUnit(); + return; + case BpsimPackage.NUMERIC_PARAMETER_TYPE__VALUE: + unsetValue(); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case BpsimPackage.NUMERIC_PARAMETER_TYPE__CURRENCY_UNIT: + return CURRENCY_UNIT_EDEFAULT == null ? currencyUnit != null : !CURRENCY_UNIT_EDEFAULT.equals(currencyUnit); + case BpsimPackage.NUMERIC_PARAMETER_TYPE__TIME_UNIT: + return isSetTimeUnit(); + case BpsimPackage.NUMERIC_PARAMETER_TYPE__VALUE: + return isSetValue(); + } + return super.eIsSet(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (currencyUnit: "); + result.append(currencyUnit); + result.append(", timeUnit: "); + if (timeUnitESet) result.append(timeUnit); else result.append("<unset>"); + result.append(", value: "); + if (valueESet) result.append(value); else result.append("<unset>"); + result.append(')'); + return result.toString(); + } + +} //NumericParameterTypeImpl diff --git a/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/impl/ParameterImpl.java b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/impl/ParameterImpl.java new file mode 100644 index 00000000..3d90e642 --- /dev/null +++ b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/impl/ParameterImpl.java @@ -0,0 +1,403 @@ +/** + */ +package org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl; + +import java.util.Collection; + +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.Parameter; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ParameterValue; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ResultType; +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.NotificationChain; +import org.eclipse.emf.common.util.EList; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.EObjectImpl; +import org.eclipse.emf.ecore.util.BasicFeatureMap; +import org.eclipse.emf.ecore.util.EDataTypeEList; +import org.eclipse.emf.ecore.util.FeatureMap; +import org.eclipse.emf.ecore.util.InternalEList; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Parameter</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.ParameterImpl#getResultRequest <em>Result Request</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.ParameterImpl#getParameterValueGroup <em>Parameter Value Group</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.ParameterImpl#getParameterValue <em>Parameter Value</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.ParameterImpl#isKpi <em>Kpi</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.ParameterImpl#isSla <em>Sla</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class ParameterImpl extends EObjectImpl implements Parameter { + /** + * The cached value of the '{@link #getResultRequest() <em>Result Request</em>}' attribute list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getResultRequest() + * @generated + * @ordered + */ + protected EList<ResultType> resultRequest; + + /** + * The cached value of the '{@link #getParameterValueGroup() <em>Parameter Value Group</em>}' attribute list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getParameterValueGroup() + * @generated + * @ordered + */ + protected FeatureMap parameterValueGroup; + + /** + * The default value of the '{@link #isKpi() <em>Kpi</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #isKpi() + * @generated + * @ordered + */ + protected static final boolean KPI_EDEFAULT = false; + + /** + * The cached value of the '{@link #isKpi() <em>Kpi</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #isKpi() + * @generated + * @ordered + */ + protected boolean kpi = KPI_EDEFAULT; + + /** + * This is true if the Kpi attribute has been set. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + protected boolean kpiESet; + + /** + * The default value of the '{@link #isSla() <em>Sla</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #isSla() + * @generated + * @ordered + */ + protected static final boolean SLA_EDEFAULT = false; + + /** + * The cached value of the '{@link #isSla() <em>Sla</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #isSla() + * @generated + * @ordered + */ + protected boolean sla = SLA_EDEFAULT; + + /** + * This is true if the Sla attribute has been set. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + protected boolean slaESet; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected ParameterImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return BpsimPackage.Literals.PARAMETER; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList<ResultType> getResultRequest() { + if (resultRequest == null) { + resultRequest = new EDataTypeEList<ResultType>(ResultType.class, this, BpsimPackage.PARAMETER__RESULT_REQUEST); + } + return resultRequest; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public FeatureMap getParameterValueGroup() { + if (parameterValueGroup == null) { + parameterValueGroup = new BasicFeatureMap(this, BpsimPackage.PARAMETER__PARAMETER_VALUE_GROUP); + } + return parameterValueGroup; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList<ParameterValue> getParameterValue() { + return getParameterValueGroup().list(BpsimPackage.Literals.PARAMETER__PARAMETER_VALUE); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean isKpi() { + return kpi; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setKpi(boolean newKpi) { + boolean oldKpi = kpi; + kpi = newKpi; + boolean oldKpiESet = kpiESet; + kpiESet = true; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, BpsimPackage.PARAMETER__KPI, oldKpi, kpi, !oldKpiESet)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void unsetKpi() { + boolean oldKpi = kpi; + boolean oldKpiESet = kpiESet; + kpi = KPI_EDEFAULT; + kpiESet = false; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.UNSET, BpsimPackage.PARAMETER__KPI, oldKpi, KPI_EDEFAULT, oldKpiESet)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean isSetKpi() { + return kpiESet; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean isSla() { + return sla; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setSla(boolean newSla) { + boolean oldSla = sla; + sla = newSla; + boolean oldSlaESet = slaESet; + slaESet = true; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, BpsimPackage.PARAMETER__SLA, oldSla, sla, !oldSlaESet)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void unsetSla() { + boolean oldSla = sla; + boolean oldSlaESet = slaESet; + sla = SLA_EDEFAULT; + slaESet = false; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.UNSET, BpsimPackage.PARAMETER__SLA, oldSla, SLA_EDEFAULT, oldSlaESet)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean isSetSla() { + return slaESet; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case BpsimPackage.PARAMETER__PARAMETER_VALUE_GROUP: + return ((InternalEList<?>)getParameterValueGroup()).basicRemove(otherEnd, msgs); + case BpsimPackage.PARAMETER__PARAMETER_VALUE: + return ((InternalEList<?>)getParameterValue()).basicRemove(otherEnd, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case BpsimPackage.PARAMETER__RESULT_REQUEST: + return getResultRequest(); + case BpsimPackage.PARAMETER__PARAMETER_VALUE_GROUP: + if (coreType) return getParameterValueGroup(); + return ((FeatureMap.Internal)getParameterValueGroup()).getWrapper(); + case BpsimPackage.PARAMETER__PARAMETER_VALUE: + return getParameterValue(); + case BpsimPackage.PARAMETER__KPI: + return isKpi(); + case BpsimPackage.PARAMETER__SLA: + return isSla(); + } + 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 BpsimPackage.PARAMETER__RESULT_REQUEST: + getResultRequest().clear(); + getResultRequest().addAll((Collection<? extends ResultType>)newValue); + return; + case BpsimPackage.PARAMETER__PARAMETER_VALUE_GROUP: + ((FeatureMap.Internal)getParameterValueGroup()).set(newValue); + return; + case BpsimPackage.PARAMETER__PARAMETER_VALUE: + getParameterValue().clear(); + getParameterValue().addAll((Collection<? extends ParameterValue>)newValue); + return; + case BpsimPackage.PARAMETER__KPI: + setKpi((Boolean)newValue); + return; + case BpsimPackage.PARAMETER__SLA: + setSla((Boolean)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case BpsimPackage.PARAMETER__RESULT_REQUEST: + getResultRequest().clear(); + return; + case BpsimPackage.PARAMETER__PARAMETER_VALUE_GROUP: + getParameterValueGroup().clear(); + return; + case BpsimPackage.PARAMETER__PARAMETER_VALUE: + getParameterValue().clear(); + return; + case BpsimPackage.PARAMETER__KPI: + unsetKpi(); + return; + case BpsimPackage.PARAMETER__SLA: + unsetSla(); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case BpsimPackage.PARAMETER__RESULT_REQUEST: + return resultRequest != null && !resultRequest.isEmpty(); + case BpsimPackage.PARAMETER__PARAMETER_VALUE_GROUP: + return parameterValueGroup != null && !parameterValueGroup.isEmpty(); + case BpsimPackage.PARAMETER__PARAMETER_VALUE: + return !getParameterValue().isEmpty(); + case BpsimPackage.PARAMETER__KPI: + return isSetKpi(); + case BpsimPackage.PARAMETER__SLA: + return isSetSla(); + } + return super.eIsSet(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (resultRequest: "); + result.append(resultRequest); + result.append(", parameterValueGroup: "); + result.append(parameterValueGroup); + result.append(", kpi: "); + if (kpiESet) result.append(kpi); else result.append("<unset>"); + result.append(", sla: "); + if (slaESet) result.append(sla); else result.append("<unset>"); + result.append(')'); + return result.toString(); + } + +} //ParameterImpl diff --git a/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/impl/ParameterValueImpl.java b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/impl/ParameterValueImpl.java new file mode 100644 index 00000000..b1f123a5 --- /dev/null +++ b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/impl/ParameterValueImpl.java @@ -0,0 +1,303 @@ +/** + */ +package org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl; + +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ParameterValue; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ResultType; +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.EObjectImpl; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Parameter Value</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.ParameterValueImpl#getInstance <em>Instance</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.ParameterValueImpl#getResult <em>Result</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.ParameterValueImpl#getValidFor <em>Valid For</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class ParameterValueImpl extends EObjectImpl implements ParameterValue { + /** + * The default value of the '{@link #getInstance() <em>Instance</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getInstance() + * @generated + * @ordered + */ + protected static final String INSTANCE_EDEFAULT = null; + + /** + * The cached value of the '{@link #getInstance() <em>Instance</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getInstance() + * @generated + * @ordered + */ + protected String instance = INSTANCE_EDEFAULT; + + /** + * The default value of the '{@link #getResult() <em>Result</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getResult() + * @generated + * @ordered + */ + protected static final ResultType RESULT_EDEFAULT = ResultType.MIN; + + /** + * The cached value of the '{@link #getResult() <em>Result</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getResult() + * @generated + * @ordered + */ + protected ResultType result = RESULT_EDEFAULT; + + /** + * This is true if the Result attribute has been set. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + protected boolean resultESet; + + /** + * The default value of the '{@link #getValidFor() <em>Valid For</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getValidFor() + * @generated + * @ordered + */ + protected static final String VALID_FOR_EDEFAULT = null; + + /** + * The cached value of the '{@link #getValidFor() <em>Valid For</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getValidFor() + * @generated + * @ordered + */ + protected String validFor = VALID_FOR_EDEFAULT; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected ParameterValueImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return BpsimPackage.Literals.PARAMETER_VALUE; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getInstance() { + return instance; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setInstance(String newInstance) { + String oldInstance = instance; + instance = newInstance; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, BpsimPackage.PARAMETER_VALUE__INSTANCE, oldInstance, instance)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ResultType getResult() { + return result; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setResult(ResultType newResult) { + ResultType oldResult = result; + result = newResult == null ? RESULT_EDEFAULT : newResult; + boolean oldResultESet = resultESet; + resultESet = true; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, BpsimPackage.PARAMETER_VALUE__RESULT, oldResult, result, !oldResultESet)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void unsetResult() { + ResultType oldResult = result; + boolean oldResultESet = resultESet; + result = RESULT_EDEFAULT; + resultESet = false; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.UNSET, BpsimPackage.PARAMETER_VALUE__RESULT, oldResult, RESULT_EDEFAULT, oldResultESet)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean isSetResult() { + return resultESet; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getValidFor() { + return validFor; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setValidFor(String newValidFor) { + String oldValidFor = validFor; + validFor = newValidFor; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, BpsimPackage.PARAMETER_VALUE__VALID_FOR, oldValidFor, validFor)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case BpsimPackage.PARAMETER_VALUE__INSTANCE: + return getInstance(); + case BpsimPackage.PARAMETER_VALUE__RESULT: + return getResult(); + case BpsimPackage.PARAMETER_VALUE__VALID_FOR: + return getValidFor(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case BpsimPackage.PARAMETER_VALUE__INSTANCE: + setInstance((String)newValue); + return; + case BpsimPackage.PARAMETER_VALUE__RESULT: + setResult((ResultType)newValue); + return; + case BpsimPackage.PARAMETER_VALUE__VALID_FOR: + setValidFor((String)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case BpsimPackage.PARAMETER_VALUE__INSTANCE: + setInstance(INSTANCE_EDEFAULT); + return; + case BpsimPackage.PARAMETER_VALUE__RESULT: + unsetResult(); + return; + case BpsimPackage.PARAMETER_VALUE__VALID_FOR: + setValidFor(VALID_FOR_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case BpsimPackage.PARAMETER_VALUE__INSTANCE: + return INSTANCE_EDEFAULT == null ? instance != null : !INSTANCE_EDEFAULT.equals(instance); + case BpsimPackage.PARAMETER_VALUE__RESULT: + return isSetResult(); + case BpsimPackage.PARAMETER_VALUE__VALID_FOR: + return VALID_FOR_EDEFAULT == null ? validFor != null : !VALID_FOR_EDEFAULT.equals(validFor); + } + return super.eIsSet(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (instance: "); + result.append(instance); + result.append(", result: "); + if (resultESet) result.append(result); else result.append("<unset>"); + result.append(", validFor: "); + result.append(validFor); + result.append(')'); + return result.toString(); + } + +} //ParameterValueImpl diff --git a/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/impl/PoissonDistributionTypeImpl.java b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/impl/PoissonDistributionTypeImpl.java new file mode 100644 index 00000000..abb820d9 --- /dev/null +++ b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/impl/PoissonDistributionTypeImpl.java @@ -0,0 +1,193 @@ +/** + */ +package org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl; + +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.PoissonDistributionType; +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Poisson Distribution Type</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.PoissonDistributionTypeImpl#getMean <em>Mean</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class PoissonDistributionTypeImpl extends DistributionParameterImpl implements PoissonDistributionType { + /** + * The default value of the '{@link #getMean() <em>Mean</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getMean() + * @generated + * @ordered + */ + protected static final double MEAN_EDEFAULT = 0.0; + + /** + * The cached value of the '{@link #getMean() <em>Mean</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getMean() + * @generated + * @ordered + */ + protected double mean = MEAN_EDEFAULT; + + /** + * This is true if the Mean attribute has been set. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + protected boolean meanESet; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected PoissonDistributionTypeImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return BpsimPackage.Literals.POISSON_DISTRIBUTION_TYPE; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public double getMean() { + return mean; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setMean(double newMean) { + double oldMean = mean; + mean = newMean; + boolean oldMeanESet = meanESet; + meanESet = true; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, BpsimPackage.POISSON_DISTRIBUTION_TYPE__MEAN, oldMean, mean, !oldMeanESet)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void unsetMean() { + double oldMean = mean; + boolean oldMeanESet = meanESet; + mean = MEAN_EDEFAULT; + meanESet = false; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.UNSET, BpsimPackage.POISSON_DISTRIBUTION_TYPE__MEAN, oldMean, MEAN_EDEFAULT, oldMeanESet)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean isSetMean() { + return meanESet; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case BpsimPackage.POISSON_DISTRIBUTION_TYPE__MEAN: + return getMean(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case BpsimPackage.POISSON_DISTRIBUTION_TYPE__MEAN: + setMean((Double)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case BpsimPackage.POISSON_DISTRIBUTION_TYPE__MEAN: + unsetMean(); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case BpsimPackage.POISSON_DISTRIBUTION_TYPE__MEAN: + return isSetMean(); + } + return super.eIsSet(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (mean: "); + if (meanESet) result.append(mean); else result.append("<unset>"); + result.append(')'); + return result.toString(); + } + +} //PoissonDistributionTypeImpl diff --git a/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/impl/PriorityParametersImpl.java b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/impl/PriorityParametersImpl.java new file mode 100644 index 00000000..c08e4356 --- /dev/null +++ b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/impl/PriorityParametersImpl.java @@ -0,0 +1,239 @@ +/** + */ +package org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl; + +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.Parameter; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.PriorityParameters; +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.NotificationChain; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.EObjectImpl; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Priority Parameters</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.PriorityParametersImpl#getInterruptible <em>Interruptible</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.PriorityParametersImpl#getPriority <em>Priority</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class PriorityParametersImpl extends EObjectImpl implements PriorityParameters { + /** + * The cached value of the '{@link #getInterruptible() <em>Interruptible</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getInterruptible() + * @generated + * @ordered + */ + protected Parameter interruptible; + + /** + * The cached value of the '{@link #getPriority() <em>Priority</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getPriority() + * @generated + * @ordered + */ + protected Parameter priority; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected PriorityParametersImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return BpsimPackage.Literals.PRIORITY_PARAMETERS; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Parameter getInterruptible() { + return interruptible; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetInterruptible(Parameter newInterruptible, NotificationChain msgs) { + Parameter oldInterruptible = interruptible; + interruptible = newInterruptible; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, BpsimPackage.PRIORITY_PARAMETERS__INTERRUPTIBLE, oldInterruptible, newInterruptible); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setInterruptible(Parameter newInterruptible) { + if (newInterruptible != interruptible) { + NotificationChain msgs = null; + if (interruptible != null) + msgs = ((InternalEObject)interruptible).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - BpsimPackage.PRIORITY_PARAMETERS__INTERRUPTIBLE, null, msgs); + if (newInterruptible != null) + msgs = ((InternalEObject)newInterruptible).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - BpsimPackage.PRIORITY_PARAMETERS__INTERRUPTIBLE, null, msgs); + msgs = basicSetInterruptible(newInterruptible, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, BpsimPackage.PRIORITY_PARAMETERS__INTERRUPTIBLE, newInterruptible, newInterruptible)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Parameter getPriority() { + return priority; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetPriority(Parameter newPriority, NotificationChain msgs) { + Parameter oldPriority = priority; + priority = newPriority; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, BpsimPackage.PRIORITY_PARAMETERS__PRIORITY, oldPriority, newPriority); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setPriority(Parameter newPriority) { + if (newPriority != priority) { + NotificationChain msgs = null; + if (priority != null) + msgs = ((InternalEObject)priority).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - BpsimPackage.PRIORITY_PARAMETERS__PRIORITY, null, msgs); + if (newPriority != null) + msgs = ((InternalEObject)newPriority).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - BpsimPackage.PRIORITY_PARAMETERS__PRIORITY, null, msgs); + msgs = basicSetPriority(newPriority, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, BpsimPackage.PRIORITY_PARAMETERS__PRIORITY, newPriority, newPriority)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case BpsimPackage.PRIORITY_PARAMETERS__INTERRUPTIBLE: + return basicSetInterruptible(null, msgs); + case BpsimPackage.PRIORITY_PARAMETERS__PRIORITY: + return basicSetPriority(null, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case BpsimPackage.PRIORITY_PARAMETERS__INTERRUPTIBLE: + return getInterruptible(); + case BpsimPackage.PRIORITY_PARAMETERS__PRIORITY: + return getPriority(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case BpsimPackage.PRIORITY_PARAMETERS__INTERRUPTIBLE: + setInterruptible((Parameter)newValue); + return; + case BpsimPackage.PRIORITY_PARAMETERS__PRIORITY: + setPriority((Parameter)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case BpsimPackage.PRIORITY_PARAMETERS__INTERRUPTIBLE: + setInterruptible((Parameter)null); + return; + case BpsimPackage.PRIORITY_PARAMETERS__PRIORITY: + setPriority((Parameter)null); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case BpsimPackage.PRIORITY_PARAMETERS__INTERRUPTIBLE: + return interruptible != null; + case BpsimPackage.PRIORITY_PARAMETERS__PRIORITY: + return priority != null; + } + return super.eIsSet(featureID); + } + +} //PriorityParametersImpl diff --git a/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/impl/PropertyParametersImpl.java b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/impl/PropertyParametersImpl.java new file mode 100644 index 00000000..f0c9d883 --- /dev/null +++ b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/impl/PropertyParametersImpl.java @@ -0,0 +1,147 @@ +/** + */ +package org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl; + +import java.util.Collection; + +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.PropertyParameters; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.PropertyType; +import org.eclipse.emf.common.notify.NotificationChain; +import org.eclipse.emf.common.util.EList; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; +import org.eclipse.emf.ecore.impl.EObjectImpl; +import org.eclipse.emf.ecore.util.EObjectContainmentEList; +import org.eclipse.emf.ecore.util.InternalEList; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Property Parameters</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.PropertyParametersImpl#getProperty <em>Property</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class PropertyParametersImpl extends EObjectImpl implements PropertyParameters { + /** + * The cached value of the '{@link #getProperty() <em>Property</em>}' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getProperty() + * @generated + * @ordered + */ + protected EList<PropertyType> property; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected PropertyParametersImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return BpsimPackage.Literals.PROPERTY_PARAMETERS; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList<PropertyType> getProperty() { + if (property == null) { + property = new EObjectContainmentEList<PropertyType>(PropertyType.class, this, BpsimPackage.PROPERTY_PARAMETERS__PROPERTY); + } + return property; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case BpsimPackage.PROPERTY_PARAMETERS__PROPERTY: + return ((InternalEList<?>)getProperty()).basicRemove(otherEnd, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case BpsimPackage.PROPERTY_PARAMETERS__PROPERTY: + return getProperty(); + } + 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 BpsimPackage.PROPERTY_PARAMETERS__PROPERTY: + getProperty().clear(); + getProperty().addAll((Collection<? extends PropertyType>)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case BpsimPackage.PROPERTY_PARAMETERS__PROPERTY: + getProperty().clear(); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case BpsimPackage.PROPERTY_PARAMETERS__PROPERTY: + return property != null && !property.isEmpty(); + } + return super.eIsSet(featureID); + } + +} //PropertyParametersImpl diff --git a/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/impl/PropertyTypeImpl.java b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/impl/PropertyTypeImpl.java new file mode 100644 index 00000000..93218fef --- /dev/null +++ b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/impl/PropertyTypeImpl.java @@ -0,0 +1,159 @@ +/** + */ +package org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl; + +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.PropertyType; +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Property Type</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.PropertyTypeImpl#getName <em>Name</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class PropertyTypeImpl extends ParameterImpl implements PropertyType { + /** + * The default value of the '{@link #getName() <em>Name</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getName() + * @generated + * @ordered + */ + protected static final String NAME_EDEFAULT = null; + + /** + * The cached value of the '{@link #getName() <em>Name</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getName() + * @generated + * @ordered + */ + protected String name = NAME_EDEFAULT; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected PropertyTypeImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return BpsimPackage.Literals.PROPERTY_TYPE; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getName() { + return name; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setName(String newName) { + String oldName = name; + name = newName; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, BpsimPackage.PROPERTY_TYPE__NAME, oldName, name)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case BpsimPackage.PROPERTY_TYPE__NAME: + return getName(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case BpsimPackage.PROPERTY_TYPE__NAME: + setName((String)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case BpsimPackage.PROPERTY_TYPE__NAME: + setName(NAME_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case BpsimPackage.PROPERTY_TYPE__NAME: + return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); + } + return super.eIsSet(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (name: "); + result.append(name); + result.append(')'); + return result.toString(); + } + +} //PropertyTypeImpl diff --git a/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/impl/ResourceParametersImpl.java b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/impl/ResourceParametersImpl.java new file mode 100644 index 00000000..b2aa0580 --- /dev/null +++ b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/impl/ResourceParametersImpl.java @@ -0,0 +1,347 @@ +/** + */ +package org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl; + +import java.util.Collection; + +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.Parameter; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ResourceParameters; +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.NotificationChain; +import org.eclipse.emf.common.util.EList; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.EObjectImpl; +import org.eclipse.emf.ecore.util.EObjectContainmentEList; +import org.eclipse.emf.ecore.util.InternalEList; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Resource Parameters</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.ResourceParametersImpl#getSelection <em>Selection</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.ResourceParametersImpl#getAvailability <em>Availability</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.ResourceParametersImpl#getQuantity <em>Quantity</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.ResourceParametersImpl#getRole <em>Role</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class ResourceParametersImpl extends EObjectImpl implements ResourceParameters { + /** + * The cached value of the '{@link #getSelection() <em>Selection</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getSelection() + * @generated + * @ordered + */ + protected Parameter selection; + + /** + * The cached value of the '{@link #getAvailability() <em>Availability</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getAvailability() + * @generated + * @ordered + */ + protected Parameter availability; + + /** + * The cached value of the '{@link #getQuantity() <em>Quantity</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getQuantity() + * @generated + * @ordered + */ + protected Parameter quantity; + + /** + * The cached value of the '{@link #getRole() <em>Role</em>}' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getRole() + * @generated + * @ordered + */ + protected EList<Parameter> role; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected ResourceParametersImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return BpsimPackage.Literals.RESOURCE_PARAMETERS; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Parameter getSelection() { + return selection; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetSelection(Parameter newSelection, NotificationChain msgs) { + Parameter oldSelection = selection; + selection = newSelection; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, BpsimPackage.RESOURCE_PARAMETERS__SELECTION, oldSelection, newSelection); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setSelection(Parameter newSelection) { + if (newSelection != selection) { + NotificationChain msgs = null; + if (selection != null) + msgs = ((InternalEObject)selection).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - BpsimPackage.RESOURCE_PARAMETERS__SELECTION, null, msgs); + if (newSelection != null) + msgs = ((InternalEObject)newSelection).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - BpsimPackage.RESOURCE_PARAMETERS__SELECTION, null, msgs); + msgs = basicSetSelection(newSelection, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, BpsimPackage.RESOURCE_PARAMETERS__SELECTION, newSelection, newSelection)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Parameter getAvailability() { + return availability; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetAvailability(Parameter newAvailability, NotificationChain msgs) { + Parameter oldAvailability = availability; + availability = newAvailability; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, BpsimPackage.RESOURCE_PARAMETERS__AVAILABILITY, oldAvailability, newAvailability); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setAvailability(Parameter newAvailability) { + if (newAvailability != availability) { + NotificationChain msgs = null; + if (availability != null) + msgs = ((InternalEObject)availability).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - BpsimPackage.RESOURCE_PARAMETERS__AVAILABILITY, null, msgs); + if (newAvailability != null) + msgs = ((InternalEObject)newAvailability).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - BpsimPackage.RESOURCE_PARAMETERS__AVAILABILITY, null, msgs); + msgs = basicSetAvailability(newAvailability, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, BpsimPackage.RESOURCE_PARAMETERS__AVAILABILITY, newAvailability, newAvailability)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Parameter getQuantity() { + return quantity; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetQuantity(Parameter newQuantity, NotificationChain msgs) { + Parameter oldQuantity = quantity; + quantity = newQuantity; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, BpsimPackage.RESOURCE_PARAMETERS__QUANTITY, oldQuantity, newQuantity); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setQuantity(Parameter newQuantity) { + if (newQuantity != quantity) { + NotificationChain msgs = null; + if (quantity != null) + msgs = ((InternalEObject)quantity).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - BpsimPackage.RESOURCE_PARAMETERS__QUANTITY, null, msgs); + if (newQuantity != null) + msgs = ((InternalEObject)newQuantity).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - BpsimPackage.RESOURCE_PARAMETERS__QUANTITY, null, msgs); + msgs = basicSetQuantity(newQuantity, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, BpsimPackage.RESOURCE_PARAMETERS__QUANTITY, newQuantity, newQuantity)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList<Parameter> getRole() { + if (role == null) { + role = new EObjectContainmentEList<Parameter>(Parameter.class, this, BpsimPackage.RESOURCE_PARAMETERS__ROLE); + } + return role; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case BpsimPackage.RESOURCE_PARAMETERS__SELECTION: + return basicSetSelection(null, msgs); + case BpsimPackage.RESOURCE_PARAMETERS__AVAILABILITY: + return basicSetAvailability(null, msgs); + case BpsimPackage.RESOURCE_PARAMETERS__QUANTITY: + return basicSetQuantity(null, msgs); + case BpsimPackage.RESOURCE_PARAMETERS__ROLE: + return ((InternalEList<?>)getRole()).basicRemove(otherEnd, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case BpsimPackage.RESOURCE_PARAMETERS__SELECTION: + return getSelection(); + case BpsimPackage.RESOURCE_PARAMETERS__AVAILABILITY: + return getAvailability(); + case BpsimPackage.RESOURCE_PARAMETERS__QUANTITY: + return getQuantity(); + case BpsimPackage.RESOURCE_PARAMETERS__ROLE: + return getRole(); + } + 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 BpsimPackage.RESOURCE_PARAMETERS__SELECTION: + setSelection((Parameter)newValue); + return; + case BpsimPackage.RESOURCE_PARAMETERS__AVAILABILITY: + setAvailability((Parameter)newValue); + return; + case BpsimPackage.RESOURCE_PARAMETERS__QUANTITY: + setQuantity((Parameter)newValue); + return; + case BpsimPackage.RESOURCE_PARAMETERS__ROLE: + getRole().clear(); + getRole().addAll((Collection<? extends Parameter>)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case BpsimPackage.RESOURCE_PARAMETERS__SELECTION: + setSelection((Parameter)null); + return; + case BpsimPackage.RESOURCE_PARAMETERS__AVAILABILITY: + setAvailability((Parameter)null); + return; + case BpsimPackage.RESOURCE_PARAMETERS__QUANTITY: + setQuantity((Parameter)null); + return; + case BpsimPackage.RESOURCE_PARAMETERS__ROLE: + getRole().clear(); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case BpsimPackage.RESOURCE_PARAMETERS__SELECTION: + return selection != null; + case BpsimPackage.RESOURCE_PARAMETERS__AVAILABILITY: + return availability != null; + case BpsimPackage.RESOURCE_PARAMETERS__QUANTITY: + return quantity != null; + case BpsimPackage.RESOURCE_PARAMETERS__ROLE: + return role != null && !role.isEmpty(); + } + return super.eIsSet(featureID); + } + +} //ResourceParametersImpl diff --git a/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/impl/ScenarioImpl.java b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/impl/ScenarioImpl.java new file mode 100644 index 00000000..b7baa411 --- /dev/null +++ b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/impl/ScenarioImpl.java @@ -0,0 +1,846 @@ +/** + */ +package org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl; + +import java.util.Collection; + +import javax.xml.datatype.XMLGregorianCalendar; + +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.Calendar; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ElementParameters; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.Scenario; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ScenarioParameters; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.VendorExtension; +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.NotificationChain; +import org.eclipse.emf.common.util.EList; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.EObjectImpl; +import org.eclipse.emf.ecore.util.EObjectContainmentEList; +import org.eclipse.emf.ecore.util.InternalEList; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Scenario</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.ScenarioImpl#getScenarioParameters <em>Scenario Parameters</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.ScenarioImpl#getElementParameters <em>Element Parameters</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.ScenarioImpl#getCalendar <em>Calendar</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.ScenarioImpl#getVendorExtension <em>Vendor Extension</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.ScenarioImpl#getAuthor <em>Author</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.ScenarioImpl#getCreated <em>Created</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.ScenarioImpl#getDescription <em>Description</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.ScenarioImpl#getId <em>Id</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.ScenarioImpl#getInherits <em>Inherits</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.ScenarioImpl#getModified <em>Modified</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.ScenarioImpl#getName <em>Name</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.ScenarioImpl#getResult <em>Result</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.ScenarioImpl#getVendor <em>Vendor</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.ScenarioImpl#getVersion <em>Version</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class ScenarioImpl extends EObjectImpl implements Scenario { + /** + * The cached value of the '{@link #getScenarioParameters() <em>Scenario Parameters</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getScenarioParameters() + * @generated + * @ordered + */ + protected ScenarioParameters scenarioParameters; + + /** + * The cached value of the '{@link #getElementParameters() <em>Element Parameters</em>}' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getElementParameters() + * @generated + * @ordered + */ + protected EList<ElementParameters> elementParameters; + + /** + * The cached value of the '{@link #getCalendar() <em>Calendar</em>}' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getCalendar() + * @generated + * @ordered + */ + protected EList<Calendar> calendar; + + /** + * The cached value of the '{@link #getVendorExtension() <em>Vendor Extension</em>}' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getVendorExtension() + * @generated + * @ordered + */ + protected EList<VendorExtension> vendorExtension; + + /** + * The default value of the '{@link #getAuthor() <em>Author</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getAuthor() + * @generated + * @ordered + */ + protected static final String AUTHOR_EDEFAULT = null; + + /** + * The cached value of the '{@link #getAuthor() <em>Author</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getAuthor() + * @generated + * @ordered + */ + protected String author = AUTHOR_EDEFAULT; + + /** + * The default value of the '{@link #getCreated() <em>Created</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getCreated() + * @generated + * @ordered + */ + protected static final XMLGregorianCalendar CREATED_EDEFAULT = null; + + /** + * The cached value of the '{@link #getCreated() <em>Created</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getCreated() + * @generated + * @ordered + */ + protected XMLGregorianCalendar created = CREATED_EDEFAULT; + + /** + * The default value of the '{@link #getDescription() <em>Description</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getDescription() + * @generated + * @ordered + */ + protected static final String DESCRIPTION_EDEFAULT = null; + + /** + * The cached value of the '{@link #getDescription() <em>Description</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getDescription() + * @generated + * @ordered + */ + protected String description = DESCRIPTION_EDEFAULT; + + /** + * The default value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected static final String ID_EDEFAULT = null; + + /** + * The cached value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected String id = ID_EDEFAULT; + + /** + * The default value of the '{@link #getInherits() <em>Inherits</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getInherits() + * @generated + * @ordered + */ + protected static final String INHERITS_EDEFAULT = null; + + /** + * The cached value of the '{@link #getInherits() <em>Inherits</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getInherits() + * @generated + * @ordered + */ + protected String inherits = INHERITS_EDEFAULT; + + /** + * The default value of the '{@link #getModified() <em>Modified</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getModified() + * @generated + * @ordered + */ + protected static final XMLGregorianCalendar MODIFIED_EDEFAULT = null; + + /** + * The cached value of the '{@link #getModified() <em>Modified</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getModified() + * @generated + * @ordered + */ + protected XMLGregorianCalendar modified = MODIFIED_EDEFAULT; + + /** + * The default value of the '{@link #getName() <em>Name</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getName() + * @generated + * @ordered + */ + protected static final String NAME_EDEFAULT = null; + + /** + * The cached value of the '{@link #getName() <em>Name</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getName() + * @generated + * @ordered + */ + protected String name = NAME_EDEFAULT; + + /** + * The default value of the '{@link #getResult() <em>Result</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getResult() + * @generated + * @ordered + */ + protected static final String RESULT_EDEFAULT = null; + + /** + * The cached value of the '{@link #getResult() <em>Result</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getResult() + * @generated + * @ordered + */ + protected String result = RESULT_EDEFAULT; + + /** + * The default value of the '{@link #getVendor() <em>Vendor</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getVendor() + * @generated + * @ordered + */ + protected static final String VENDOR_EDEFAULT = null; + + /** + * The cached value of the '{@link #getVendor() <em>Vendor</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getVendor() + * @generated + * @ordered + */ + protected String vendor = VENDOR_EDEFAULT; + + /** + * The default value of the '{@link #getVersion() <em>Version</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getVersion() + * @generated + * @ordered + */ + protected static final String VERSION_EDEFAULT = null; + + /** + * The cached value of the '{@link #getVersion() <em>Version</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getVersion() + * @generated + * @ordered + */ + protected String version = VERSION_EDEFAULT; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected ScenarioImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return BpsimPackage.Literals.SCENARIO; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ScenarioParameters getScenarioParameters() { + return scenarioParameters; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetScenarioParameters(ScenarioParameters newScenarioParameters, NotificationChain msgs) { + ScenarioParameters oldScenarioParameters = scenarioParameters; + scenarioParameters = newScenarioParameters; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, BpsimPackage.SCENARIO__SCENARIO_PARAMETERS, oldScenarioParameters, newScenarioParameters); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setScenarioParameters(ScenarioParameters newScenarioParameters) { + if (newScenarioParameters != scenarioParameters) { + NotificationChain msgs = null; + if (scenarioParameters != null) + msgs = ((InternalEObject)scenarioParameters).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - BpsimPackage.SCENARIO__SCENARIO_PARAMETERS, null, msgs); + if (newScenarioParameters != null) + msgs = ((InternalEObject)newScenarioParameters).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - BpsimPackage.SCENARIO__SCENARIO_PARAMETERS, null, msgs); + msgs = basicSetScenarioParameters(newScenarioParameters, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, BpsimPackage.SCENARIO__SCENARIO_PARAMETERS, newScenarioParameters, newScenarioParameters)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList<ElementParameters> getElementParameters() { + if (elementParameters == null) { + elementParameters = new EObjectContainmentEList<ElementParameters>(ElementParameters.class, this, BpsimPackage.SCENARIO__ELEMENT_PARAMETERS); + } + return elementParameters; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList<Calendar> getCalendar() { + if (calendar == null) { + calendar = new EObjectContainmentEList<Calendar>(Calendar.class, this, BpsimPackage.SCENARIO__CALENDAR); + } + return calendar; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList<VendorExtension> getVendorExtension() { + if (vendorExtension == null) { + vendorExtension = new EObjectContainmentEList<VendorExtension>(VendorExtension.class, this, BpsimPackage.SCENARIO__VENDOR_EXTENSION); + } + return vendorExtension; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getAuthor() { + return author; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setAuthor(String newAuthor) { + String oldAuthor = author; + author = newAuthor; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, BpsimPackage.SCENARIO__AUTHOR, oldAuthor, author)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public XMLGregorianCalendar getCreated() { + return created; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setCreated(XMLGregorianCalendar newCreated) { + XMLGregorianCalendar oldCreated = created; + created = newCreated; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, BpsimPackage.SCENARIO__CREATED, oldCreated, created)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getDescription() { + return description; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setDescription(String newDescription) { + String oldDescription = description; + description = newDescription; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, BpsimPackage.SCENARIO__DESCRIPTION, oldDescription, description)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getId() { + return id; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setId(String newId) { + String oldId = id; + id = newId; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, BpsimPackage.SCENARIO__ID, oldId, id)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getInherits() { + return inherits; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setInherits(String newInherits) { + String oldInherits = inherits; + inherits = newInherits; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, BpsimPackage.SCENARIO__INHERITS, oldInherits, inherits)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public XMLGregorianCalendar getModified() { + return modified; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setModified(XMLGregorianCalendar newModified) { + XMLGregorianCalendar oldModified = modified; + modified = newModified; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, BpsimPackage.SCENARIO__MODIFIED, oldModified, modified)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getName() { + return name; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setName(String newName) { + String oldName = name; + name = newName; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, BpsimPackage.SCENARIO__NAME, oldName, name)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getResult() { + return result; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setResult(String newResult) { + String oldResult = result; + result = newResult; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, BpsimPackage.SCENARIO__RESULT, oldResult, result)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getVendor() { + return vendor; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setVendor(String newVendor) { + String oldVendor = vendor; + vendor = newVendor; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, BpsimPackage.SCENARIO__VENDOR, oldVendor, vendor)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getVersion() { + return version; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setVersion(String newVersion) { + String oldVersion = version; + version = newVersion; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, BpsimPackage.SCENARIO__VERSION, oldVersion, version)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case BpsimPackage.SCENARIO__SCENARIO_PARAMETERS: + return basicSetScenarioParameters(null, msgs); + case BpsimPackage.SCENARIO__ELEMENT_PARAMETERS: + return ((InternalEList<?>)getElementParameters()).basicRemove(otherEnd, msgs); + case BpsimPackage.SCENARIO__CALENDAR: + return ((InternalEList<?>)getCalendar()).basicRemove(otherEnd, msgs); + case BpsimPackage.SCENARIO__VENDOR_EXTENSION: + return ((InternalEList<?>)getVendorExtension()).basicRemove(otherEnd, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case BpsimPackage.SCENARIO__SCENARIO_PARAMETERS: + return getScenarioParameters(); + case BpsimPackage.SCENARIO__ELEMENT_PARAMETERS: + return getElementParameters(); + case BpsimPackage.SCENARIO__CALENDAR: + return getCalendar(); + case BpsimPackage.SCENARIO__VENDOR_EXTENSION: + return getVendorExtension(); + case BpsimPackage.SCENARIO__AUTHOR: + return getAuthor(); + case BpsimPackage.SCENARIO__CREATED: + return getCreated(); + case BpsimPackage.SCENARIO__DESCRIPTION: + return getDescription(); + case BpsimPackage.SCENARIO__ID: + return getId(); + case BpsimPackage.SCENARIO__INHERITS: + return getInherits(); + case BpsimPackage.SCENARIO__MODIFIED: + return getModified(); + case BpsimPackage.SCENARIO__NAME: + return getName(); + case BpsimPackage.SCENARIO__RESULT: + return getResult(); + case BpsimPackage.SCENARIO__VENDOR: + return getVendor(); + case BpsimPackage.SCENARIO__VERSION: + return getVersion(); + } + 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 BpsimPackage.SCENARIO__SCENARIO_PARAMETERS: + setScenarioParameters((ScenarioParameters)newValue); + return; + case BpsimPackage.SCENARIO__ELEMENT_PARAMETERS: + getElementParameters().clear(); + getElementParameters().addAll((Collection<? extends ElementParameters>)newValue); + return; + case BpsimPackage.SCENARIO__CALENDAR: + getCalendar().clear(); + getCalendar().addAll((Collection<? extends Calendar>)newValue); + return; + case BpsimPackage.SCENARIO__VENDOR_EXTENSION: + getVendorExtension().clear(); + getVendorExtension().addAll((Collection<? extends VendorExtension>)newValue); + return; + case BpsimPackage.SCENARIO__AUTHOR: + setAuthor((String)newValue); + return; + case BpsimPackage.SCENARIO__CREATED: + setCreated((XMLGregorianCalendar)newValue); + return; + case BpsimPackage.SCENARIO__DESCRIPTION: + setDescription((String)newValue); + return; + case BpsimPackage.SCENARIO__ID: + setId((String)newValue); + return; + case BpsimPackage.SCENARIO__INHERITS: + setInherits((String)newValue); + return; + case BpsimPackage.SCENARIO__MODIFIED: + setModified((XMLGregorianCalendar)newValue); + return; + case BpsimPackage.SCENARIO__NAME: + setName((String)newValue); + return; + case BpsimPackage.SCENARIO__RESULT: + setResult((String)newValue); + return; + case BpsimPackage.SCENARIO__VENDOR: + setVendor((String)newValue); + return; + case BpsimPackage.SCENARIO__VERSION: + setVersion((String)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case BpsimPackage.SCENARIO__SCENARIO_PARAMETERS: + setScenarioParameters((ScenarioParameters)null); + return; + case BpsimPackage.SCENARIO__ELEMENT_PARAMETERS: + getElementParameters().clear(); + return; + case BpsimPackage.SCENARIO__CALENDAR: + getCalendar().clear(); + return; + case BpsimPackage.SCENARIO__VENDOR_EXTENSION: + getVendorExtension().clear(); + return; + case BpsimPackage.SCENARIO__AUTHOR: + setAuthor(AUTHOR_EDEFAULT); + return; + case BpsimPackage.SCENARIO__CREATED: + setCreated(CREATED_EDEFAULT); + return; + case BpsimPackage.SCENARIO__DESCRIPTION: + setDescription(DESCRIPTION_EDEFAULT); + return; + case BpsimPackage.SCENARIO__ID: + setId(ID_EDEFAULT); + return; + case BpsimPackage.SCENARIO__INHERITS: + setInherits(INHERITS_EDEFAULT); + return; + case BpsimPackage.SCENARIO__MODIFIED: + setModified(MODIFIED_EDEFAULT); + return; + case BpsimPackage.SCENARIO__NAME: + setName(NAME_EDEFAULT); + return; + case BpsimPackage.SCENARIO__RESULT: + setResult(RESULT_EDEFAULT); + return; + case BpsimPackage.SCENARIO__VENDOR: + setVendor(VENDOR_EDEFAULT); + return; + case BpsimPackage.SCENARIO__VERSION: + setVersion(VERSION_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case BpsimPackage.SCENARIO__SCENARIO_PARAMETERS: + return scenarioParameters != null; + case BpsimPackage.SCENARIO__ELEMENT_PARAMETERS: + return elementParameters != null && !elementParameters.isEmpty(); + case BpsimPackage.SCENARIO__CALENDAR: + return calendar != null && !calendar.isEmpty(); + case BpsimPackage.SCENARIO__VENDOR_EXTENSION: + return vendorExtension != null && !vendorExtension.isEmpty(); + case BpsimPackage.SCENARIO__AUTHOR: + return AUTHOR_EDEFAULT == null ? author != null : !AUTHOR_EDEFAULT.equals(author); + case BpsimPackage.SCENARIO__CREATED: + return CREATED_EDEFAULT == null ? created != null : !CREATED_EDEFAULT.equals(created); + case BpsimPackage.SCENARIO__DESCRIPTION: + return DESCRIPTION_EDEFAULT == null ? description != null : !DESCRIPTION_EDEFAULT.equals(description); + case BpsimPackage.SCENARIO__ID: + return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); + case BpsimPackage.SCENARIO__INHERITS: + return INHERITS_EDEFAULT == null ? inherits != null : !INHERITS_EDEFAULT.equals(inherits); + case BpsimPackage.SCENARIO__MODIFIED: + return MODIFIED_EDEFAULT == null ? modified != null : !MODIFIED_EDEFAULT.equals(modified); + case BpsimPackage.SCENARIO__NAME: + return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); + case BpsimPackage.SCENARIO__RESULT: + return RESULT_EDEFAULT == null ? result != null : !RESULT_EDEFAULT.equals(result); + case BpsimPackage.SCENARIO__VENDOR: + return VENDOR_EDEFAULT == null ? vendor != null : !VENDOR_EDEFAULT.equals(vendor); + case BpsimPackage.SCENARIO__VERSION: + return VERSION_EDEFAULT == null ? version != null : !VERSION_EDEFAULT.equals(version); + } + return super.eIsSet(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (author: "); + result.append(author); + result.append(", created: "); + result.append(created); + result.append(", description: "); + result.append(description); + result.append(", id: "); + result.append(id); + result.append(", inherits: "); + result.append(inherits); + result.append(", modified: "); + result.append(modified); + result.append(", name: "); + result.append(name); + result.append(", result: "); + result.append(result); + result.append(", vendor: "); + result.append(vendor); + result.append(", version: "); + result.append(version); + result.append(')'); + return result.toString(); + } + +} //ScenarioImpl diff --git a/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/impl/ScenarioParametersImpl.java b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/impl/ScenarioParametersImpl.java new file mode 100644 index 00000000..29c9329f --- /dev/null +++ b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/impl/ScenarioParametersImpl.java @@ -0,0 +1,639 @@ +/** + */ +package org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl; + +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.Parameter; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.PropertyParameters; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ScenarioParameters; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.TimeUnit; +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.NotificationChain; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.EObjectImpl; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Scenario Parameters</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.ScenarioParametersImpl#getStart <em>Start</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.ScenarioParametersImpl#getDuration <em>Duration</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.ScenarioParametersImpl#getPropertyParameters <em>Property Parameters</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.ScenarioParametersImpl#getBaseCurrencyUnit <em>Base Currency Unit</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.ScenarioParametersImpl#getBaseTimeUnit <em>Base Time Unit</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.ScenarioParametersImpl#getReplication <em>Replication</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.ScenarioParametersImpl#getSeed <em>Seed</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class ScenarioParametersImpl extends EObjectImpl implements ScenarioParameters { + /** + * The cached value of the '{@link #getStart() <em>Start</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getStart() + * @generated + * @ordered + */ + protected Parameter start; + + /** + * The cached value of the '{@link #getDuration() <em>Duration</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getDuration() + * @generated + * @ordered + */ + protected Parameter duration; + + /** + * The cached value of the '{@link #getPropertyParameters() <em>Property Parameters</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getPropertyParameters() + * @generated + * @ordered + */ + protected PropertyParameters propertyParameters; + + /** + * The default value of the '{@link #getBaseCurrencyUnit() <em>Base Currency Unit</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getBaseCurrencyUnit() + * @generated + * @ordered + */ + protected static final String BASE_CURRENCY_UNIT_EDEFAULT = null; + + /** + * The cached value of the '{@link #getBaseCurrencyUnit() <em>Base Currency Unit</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getBaseCurrencyUnit() + * @generated + * @ordered + */ + protected String baseCurrencyUnit = BASE_CURRENCY_UNIT_EDEFAULT; + + /** + * The default value of the '{@link #getBaseTimeUnit() <em>Base Time Unit</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getBaseTimeUnit() + * @generated + * @ordered + */ + protected static final TimeUnit BASE_TIME_UNIT_EDEFAULT = TimeUnit.MS; + + /** + * The cached value of the '{@link #getBaseTimeUnit() <em>Base Time Unit</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getBaseTimeUnit() + * @generated + * @ordered + */ + protected TimeUnit baseTimeUnit = BASE_TIME_UNIT_EDEFAULT; + + /** + * This is true if the Base Time Unit attribute has been set. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + protected boolean baseTimeUnitESet; + + /** + * The default value of the '{@link #getReplication() <em>Replication</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getReplication() + * @generated + * @ordered + */ + protected static final int REPLICATION_EDEFAULT = 0; + + /** + * The cached value of the '{@link #getReplication() <em>Replication</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getReplication() + * @generated + * @ordered + */ + protected int replication = REPLICATION_EDEFAULT; + + /** + * This is true if the Replication attribute has been set. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + protected boolean replicationESet; + + /** + * The default value of the '{@link #getSeed() <em>Seed</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getSeed() + * @generated + * @ordered + */ + protected static final long SEED_EDEFAULT = 0L; + + /** + * The cached value of the '{@link #getSeed() <em>Seed</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getSeed() + * @generated + * @ordered + */ + protected long seed = SEED_EDEFAULT; + + /** + * This is true if the Seed attribute has been set. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + protected boolean seedESet; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected ScenarioParametersImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return BpsimPackage.Literals.SCENARIO_PARAMETERS; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Parameter getStart() { + return start; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetStart(Parameter newStart, NotificationChain msgs) { + Parameter oldStart = start; + start = newStart; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, BpsimPackage.SCENARIO_PARAMETERS__START, oldStart, newStart); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setStart(Parameter newStart) { + if (newStart != start) { + NotificationChain msgs = null; + if (start != null) + msgs = ((InternalEObject)start).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - BpsimPackage.SCENARIO_PARAMETERS__START, null, msgs); + if (newStart != null) + msgs = ((InternalEObject)newStart).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - BpsimPackage.SCENARIO_PARAMETERS__START, null, msgs); + msgs = basicSetStart(newStart, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, BpsimPackage.SCENARIO_PARAMETERS__START, newStart, newStart)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Parameter getDuration() { + return duration; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetDuration(Parameter newDuration, NotificationChain msgs) { + Parameter oldDuration = duration; + duration = newDuration; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, BpsimPackage.SCENARIO_PARAMETERS__DURATION, oldDuration, newDuration); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setDuration(Parameter newDuration) { + if (newDuration != duration) { + NotificationChain msgs = null; + if (duration != null) + msgs = ((InternalEObject)duration).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - BpsimPackage.SCENARIO_PARAMETERS__DURATION, null, msgs); + if (newDuration != null) + msgs = ((InternalEObject)newDuration).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - BpsimPackage.SCENARIO_PARAMETERS__DURATION, null, msgs); + msgs = basicSetDuration(newDuration, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, BpsimPackage.SCENARIO_PARAMETERS__DURATION, newDuration, newDuration)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public PropertyParameters getPropertyParameters() { + return propertyParameters; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetPropertyParameters(PropertyParameters newPropertyParameters, NotificationChain msgs) { + PropertyParameters oldPropertyParameters = propertyParameters; + propertyParameters = newPropertyParameters; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, BpsimPackage.SCENARIO_PARAMETERS__PROPERTY_PARAMETERS, oldPropertyParameters, newPropertyParameters); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setPropertyParameters(PropertyParameters newPropertyParameters) { + if (newPropertyParameters != propertyParameters) { + NotificationChain msgs = null; + if (propertyParameters != null) + msgs = ((InternalEObject)propertyParameters).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - BpsimPackage.SCENARIO_PARAMETERS__PROPERTY_PARAMETERS, null, msgs); + if (newPropertyParameters != null) + msgs = ((InternalEObject)newPropertyParameters).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - BpsimPackage.SCENARIO_PARAMETERS__PROPERTY_PARAMETERS, null, msgs); + msgs = basicSetPropertyParameters(newPropertyParameters, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, BpsimPackage.SCENARIO_PARAMETERS__PROPERTY_PARAMETERS, newPropertyParameters, newPropertyParameters)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getBaseCurrencyUnit() { + return baseCurrencyUnit; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setBaseCurrencyUnit(String newBaseCurrencyUnit) { + String oldBaseCurrencyUnit = baseCurrencyUnit; + baseCurrencyUnit = newBaseCurrencyUnit; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, BpsimPackage.SCENARIO_PARAMETERS__BASE_CURRENCY_UNIT, oldBaseCurrencyUnit, baseCurrencyUnit)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public TimeUnit getBaseTimeUnit() { + return baseTimeUnit; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setBaseTimeUnit(TimeUnit newBaseTimeUnit) { + TimeUnit oldBaseTimeUnit = baseTimeUnit; + baseTimeUnit = newBaseTimeUnit == null ? BASE_TIME_UNIT_EDEFAULT : newBaseTimeUnit; + boolean oldBaseTimeUnitESet = baseTimeUnitESet; + baseTimeUnitESet = true; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, BpsimPackage.SCENARIO_PARAMETERS__BASE_TIME_UNIT, oldBaseTimeUnit, baseTimeUnit, !oldBaseTimeUnitESet)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void unsetBaseTimeUnit() { + TimeUnit oldBaseTimeUnit = baseTimeUnit; + boolean oldBaseTimeUnitESet = baseTimeUnitESet; + baseTimeUnit = BASE_TIME_UNIT_EDEFAULT; + baseTimeUnitESet = false; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.UNSET, BpsimPackage.SCENARIO_PARAMETERS__BASE_TIME_UNIT, oldBaseTimeUnit, BASE_TIME_UNIT_EDEFAULT, oldBaseTimeUnitESet)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean isSetBaseTimeUnit() { + return baseTimeUnitESet; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public int getReplication() { + return replication; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setReplication(int newReplication) { + int oldReplication = replication; + replication = newReplication; + boolean oldReplicationESet = replicationESet; + replicationESet = true; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, BpsimPackage.SCENARIO_PARAMETERS__REPLICATION, oldReplication, replication, !oldReplicationESet)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void unsetReplication() { + int oldReplication = replication; + boolean oldReplicationESet = replicationESet; + replication = REPLICATION_EDEFAULT; + replicationESet = false; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.UNSET, BpsimPackage.SCENARIO_PARAMETERS__REPLICATION, oldReplication, REPLICATION_EDEFAULT, oldReplicationESet)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean isSetReplication() { + return replicationESet; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public long getSeed() { + return seed; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setSeed(long newSeed) { + long oldSeed = seed; + seed = newSeed; + boolean oldSeedESet = seedESet; + seedESet = true; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, BpsimPackage.SCENARIO_PARAMETERS__SEED, oldSeed, seed, !oldSeedESet)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void unsetSeed() { + long oldSeed = seed; + boolean oldSeedESet = seedESet; + seed = SEED_EDEFAULT; + seedESet = false; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.UNSET, BpsimPackage.SCENARIO_PARAMETERS__SEED, oldSeed, SEED_EDEFAULT, oldSeedESet)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean isSetSeed() { + return seedESet; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case BpsimPackage.SCENARIO_PARAMETERS__START: + return basicSetStart(null, msgs); + case BpsimPackage.SCENARIO_PARAMETERS__DURATION: + return basicSetDuration(null, msgs); + case BpsimPackage.SCENARIO_PARAMETERS__PROPERTY_PARAMETERS: + return basicSetPropertyParameters(null, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case BpsimPackage.SCENARIO_PARAMETERS__START: + return getStart(); + case BpsimPackage.SCENARIO_PARAMETERS__DURATION: + return getDuration(); + case BpsimPackage.SCENARIO_PARAMETERS__PROPERTY_PARAMETERS: + return getPropertyParameters(); + case BpsimPackage.SCENARIO_PARAMETERS__BASE_CURRENCY_UNIT: + return getBaseCurrencyUnit(); + case BpsimPackage.SCENARIO_PARAMETERS__BASE_TIME_UNIT: + return getBaseTimeUnit(); + case BpsimPackage.SCENARIO_PARAMETERS__REPLICATION: + return getReplication(); + case BpsimPackage.SCENARIO_PARAMETERS__SEED: + return getSeed(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case BpsimPackage.SCENARIO_PARAMETERS__START: + setStart((Parameter)newValue); + return; + case BpsimPackage.SCENARIO_PARAMETERS__DURATION: + setDuration((Parameter)newValue); + return; + case BpsimPackage.SCENARIO_PARAMETERS__PROPERTY_PARAMETERS: + setPropertyParameters((PropertyParameters)newValue); + return; + case BpsimPackage.SCENARIO_PARAMETERS__BASE_CURRENCY_UNIT: + setBaseCurrencyUnit((String)newValue); + return; + case BpsimPackage.SCENARIO_PARAMETERS__BASE_TIME_UNIT: + setBaseTimeUnit((TimeUnit)newValue); + return; + case BpsimPackage.SCENARIO_PARAMETERS__REPLICATION: + setReplication((Integer)newValue); + return; + case BpsimPackage.SCENARIO_PARAMETERS__SEED: + setSeed((Long)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case BpsimPackage.SCENARIO_PARAMETERS__START: + setStart((Parameter)null); + return; + case BpsimPackage.SCENARIO_PARAMETERS__DURATION: + setDuration((Parameter)null); + return; + case BpsimPackage.SCENARIO_PARAMETERS__PROPERTY_PARAMETERS: + setPropertyParameters((PropertyParameters)null); + return; + case BpsimPackage.SCENARIO_PARAMETERS__BASE_CURRENCY_UNIT: + setBaseCurrencyUnit(BASE_CURRENCY_UNIT_EDEFAULT); + return; + case BpsimPackage.SCENARIO_PARAMETERS__BASE_TIME_UNIT: + unsetBaseTimeUnit(); + return; + case BpsimPackage.SCENARIO_PARAMETERS__REPLICATION: + unsetReplication(); + return; + case BpsimPackage.SCENARIO_PARAMETERS__SEED: + unsetSeed(); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case BpsimPackage.SCENARIO_PARAMETERS__START: + return start != null; + case BpsimPackage.SCENARIO_PARAMETERS__DURATION: + return duration != null; + case BpsimPackage.SCENARIO_PARAMETERS__PROPERTY_PARAMETERS: + return propertyParameters != null; + case BpsimPackage.SCENARIO_PARAMETERS__BASE_CURRENCY_UNIT: + return BASE_CURRENCY_UNIT_EDEFAULT == null ? baseCurrencyUnit != null : !BASE_CURRENCY_UNIT_EDEFAULT.equals(baseCurrencyUnit); + case BpsimPackage.SCENARIO_PARAMETERS__BASE_TIME_UNIT: + return isSetBaseTimeUnit(); + case BpsimPackage.SCENARIO_PARAMETERS__REPLICATION: + return isSetReplication(); + case BpsimPackage.SCENARIO_PARAMETERS__SEED: + return isSetSeed(); + } + return super.eIsSet(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (baseCurrencyUnit: "); + result.append(baseCurrencyUnit); + result.append(", baseTimeUnit: "); + if (baseTimeUnitESet) result.append(baseTimeUnit); else result.append("<unset>"); + result.append(", replication: "); + if (replicationESet) result.append(replication); else result.append("<unset>"); + result.append(", seed: "); + if (seedESet) result.append(seed); else result.append("<unset>"); + result.append(')'); + return result.toString(); + } + +} //ScenarioParametersImpl diff --git a/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/impl/ScenarioParametersTypeImpl.java b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/impl/ScenarioParametersTypeImpl.java new file mode 100644 index 00000000..4239e64f --- /dev/null +++ b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/impl/ScenarioParametersTypeImpl.java @@ -0,0 +1,38 @@ +/** + */ +package org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl; + +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ScenarioParametersType; +import org.eclipse.emf.ecore.EClass; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Scenario Parameters Type</b></em>'. + * <!-- end-user-doc --> + * <p> + * </p> + * + * @generated + */ +public class ScenarioParametersTypeImpl extends ScenarioParametersImpl implements ScenarioParametersType { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected ScenarioParametersTypeImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return BpsimPackage.Literals.SCENARIO_PARAMETERS_TYPE; + } + +} //ScenarioParametersTypeImpl diff --git a/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/impl/StringParameterTypeImpl.java b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/impl/StringParameterTypeImpl.java new file mode 100644 index 00000000..ff2d9449 --- /dev/null +++ b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/impl/StringParameterTypeImpl.java @@ -0,0 +1,159 @@ +/** + */ +package org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl; + +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.StringParameterType; +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>String Parameter Type</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.StringParameterTypeImpl#getValue <em>Value</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class StringParameterTypeImpl extends ConstantParameterImpl implements StringParameterType { + /** + * The default value of the '{@link #getValue() <em>Value</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getValue() + * @generated + * @ordered + */ + protected static final String VALUE_EDEFAULT = null; + + /** + * The cached value of the '{@link #getValue() <em>Value</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getValue() + * @generated + * @ordered + */ + protected String value = VALUE_EDEFAULT; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected StringParameterTypeImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return BpsimPackage.Literals.STRING_PARAMETER_TYPE; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getValue() { + return value; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setValue(String newValue) { + String oldValue = value; + value = newValue; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, BpsimPackage.STRING_PARAMETER_TYPE__VALUE, oldValue, value)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case BpsimPackage.STRING_PARAMETER_TYPE__VALUE: + return getValue(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case BpsimPackage.STRING_PARAMETER_TYPE__VALUE: + setValue((String)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case BpsimPackage.STRING_PARAMETER_TYPE__VALUE: + setValue(VALUE_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case BpsimPackage.STRING_PARAMETER_TYPE__VALUE: + return VALUE_EDEFAULT == null ? value != null : !VALUE_EDEFAULT.equals(value); + } + return super.eIsSet(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (value: "); + result.append(value); + result.append(')'); + return result.toString(); + } + +} //StringParameterTypeImpl diff --git a/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/impl/TimeParametersImpl.java b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/impl/TimeParametersImpl.java new file mode 100644 index 00000000..75446cf1 --- /dev/null +++ b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/impl/TimeParametersImpl.java @@ -0,0 +1,569 @@ +/** + */ +package org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl; + +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.Parameter; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.TimeParameters; +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.NotificationChain; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.EObjectImpl; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Time Parameters</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.TimeParametersImpl#getTransferTime <em>Transfer Time</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.TimeParametersImpl#getQueueTime <em>Queue Time</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.TimeParametersImpl#getWaitTime <em>Wait Time</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.TimeParametersImpl#getSetUpTime <em>Set Up Time</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.TimeParametersImpl#getProcessingTime <em>Processing Time</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.TimeParametersImpl#getValidationTime <em>Validation Time</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.TimeParametersImpl#getReworkTime <em>Rework Time</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class TimeParametersImpl extends EObjectImpl implements TimeParameters { + /** + * The cached value of the '{@link #getTransferTime() <em>Transfer Time</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getTransferTime() + * @generated + * @ordered + */ + protected Parameter transferTime; + + /** + * The cached value of the '{@link #getQueueTime() <em>Queue Time</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getQueueTime() + * @generated + * @ordered + */ + protected Parameter queueTime; + + /** + * The cached value of the '{@link #getWaitTime() <em>Wait Time</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getWaitTime() + * @generated + * @ordered + */ + protected Parameter waitTime; + + /** + * The cached value of the '{@link #getSetUpTime() <em>Set Up Time</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getSetUpTime() + * @generated + * @ordered + */ + protected Parameter setUpTime; + + /** + * The cached value of the '{@link #getProcessingTime() <em>Processing Time</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getProcessingTime() + * @generated + * @ordered + */ + protected Parameter processingTime; + + /** + * The cached value of the '{@link #getValidationTime() <em>Validation Time</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getValidationTime() + * @generated + * @ordered + */ + protected Parameter validationTime; + + /** + * The cached value of the '{@link #getReworkTime() <em>Rework Time</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getReworkTime() + * @generated + * @ordered + */ + protected Parameter reworkTime; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected TimeParametersImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return BpsimPackage.Literals.TIME_PARAMETERS; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Parameter getTransferTime() { + return transferTime; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetTransferTime(Parameter newTransferTime, NotificationChain msgs) { + Parameter oldTransferTime = transferTime; + transferTime = newTransferTime; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, BpsimPackage.TIME_PARAMETERS__TRANSFER_TIME, oldTransferTime, newTransferTime); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setTransferTime(Parameter newTransferTime) { + if (newTransferTime != transferTime) { + NotificationChain msgs = null; + if (transferTime != null) + msgs = ((InternalEObject)transferTime).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - BpsimPackage.TIME_PARAMETERS__TRANSFER_TIME, null, msgs); + if (newTransferTime != null) + msgs = ((InternalEObject)newTransferTime).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - BpsimPackage.TIME_PARAMETERS__TRANSFER_TIME, null, msgs); + msgs = basicSetTransferTime(newTransferTime, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, BpsimPackage.TIME_PARAMETERS__TRANSFER_TIME, newTransferTime, newTransferTime)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Parameter getQueueTime() { + return queueTime; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetQueueTime(Parameter newQueueTime, NotificationChain msgs) { + Parameter oldQueueTime = queueTime; + queueTime = newQueueTime; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, BpsimPackage.TIME_PARAMETERS__QUEUE_TIME, oldQueueTime, newQueueTime); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setQueueTime(Parameter newQueueTime) { + if (newQueueTime != queueTime) { + NotificationChain msgs = null; + if (queueTime != null) + msgs = ((InternalEObject)queueTime).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - BpsimPackage.TIME_PARAMETERS__QUEUE_TIME, null, msgs); + if (newQueueTime != null) + msgs = ((InternalEObject)newQueueTime).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - BpsimPackage.TIME_PARAMETERS__QUEUE_TIME, null, msgs); + msgs = basicSetQueueTime(newQueueTime, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, BpsimPackage.TIME_PARAMETERS__QUEUE_TIME, newQueueTime, newQueueTime)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Parameter getWaitTime() { + return waitTime; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetWaitTime(Parameter newWaitTime, NotificationChain msgs) { + Parameter oldWaitTime = waitTime; + waitTime = newWaitTime; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, BpsimPackage.TIME_PARAMETERS__WAIT_TIME, oldWaitTime, newWaitTime); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setWaitTime(Parameter newWaitTime) { + if (newWaitTime != waitTime) { + NotificationChain msgs = null; + if (waitTime != null) + msgs = ((InternalEObject)waitTime).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - BpsimPackage.TIME_PARAMETERS__WAIT_TIME, null, msgs); + if (newWaitTime != null) + msgs = ((InternalEObject)newWaitTime).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - BpsimPackage.TIME_PARAMETERS__WAIT_TIME, null, msgs); + msgs = basicSetWaitTime(newWaitTime, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, BpsimPackage.TIME_PARAMETERS__WAIT_TIME, newWaitTime, newWaitTime)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Parameter getSetUpTime() { + return setUpTime; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetSetUpTime(Parameter newSetUpTime, NotificationChain msgs) { + Parameter oldSetUpTime = setUpTime; + setUpTime = newSetUpTime; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, BpsimPackage.TIME_PARAMETERS__SET_UP_TIME, oldSetUpTime, newSetUpTime); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setSetUpTime(Parameter newSetUpTime) { + if (newSetUpTime != setUpTime) { + NotificationChain msgs = null; + if (setUpTime != null) + msgs = ((InternalEObject)setUpTime).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - BpsimPackage.TIME_PARAMETERS__SET_UP_TIME, null, msgs); + if (newSetUpTime != null) + msgs = ((InternalEObject)newSetUpTime).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - BpsimPackage.TIME_PARAMETERS__SET_UP_TIME, null, msgs); + msgs = basicSetSetUpTime(newSetUpTime, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, BpsimPackage.TIME_PARAMETERS__SET_UP_TIME, newSetUpTime, newSetUpTime)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Parameter getProcessingTime() { + return processingTime; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetProcessingTime(Parameter newProcessingTime, NotificationChain msgs) { + Parameter oldProcessingTime = processingTime; + processingTime = newProcessingTime; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, BpsimPackage.TIME_PARAMETERS__PROCESSING_TIME, oldProcessingTime, newProcessingTime); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setProcessingTime(Parameter newProcessingTime) { + if (newProcessingTime != processingTime) { + NotificationChain msgs = null; + if (processingTime != null) + msgs = ((InternalEObject)processingTime).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - BpsimPackage.TIME_PARAMETERS__PROCESSING_TIME, null, msgs); + if (newProcessingTime != null) + msgs = ((InternalEObject)newProcessingTime).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - BpsimPackage.TIME_PARAMETERS__PROCESSING_TIME, null, msgs); + msgs = basicSetProcessingTime(newProcessingTime, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, BpsimPackage.TIME_PARAMETERS__PROCESSING_TIME, newProcessingTime, newProcessingTime)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Parameter getValidationTime() { + return validationTime; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetValidationTime(Parameter newValidationTime, NotificationChain msgs) { + Parameter oldValidationTime = validationTime; + validationTime = newValidationTime; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, BpsimPackage.TIME_PARAMETERS__VALIDATION_TIME, oldValidationTime, newValidationTime); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setValidationTime(Parameter newValidationTime) { + if (newValidationTime != validationTime) { + NotificationChain msgs = null; + if (validationTime != null) + msgs = ((InternalEObject)validationTime).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - BpsimPackage.TIME_PARAMETERS__VALIDATION_TIME, null, msgs); + if (newValidationTime != null) + msgs = ((InternalEObject)newValidationTime).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - BpsimPackage.TIME_PARAMETERS__VALIDATION_TIME, null, msgs); + msgs = basicSetValidationTime(newValidationTime, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, BpsimPackage.TIME_PARAMETERS__VALIDATION_TIME, newValidationTime, newValidationTime)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Parameter getReworkTime() { + return reworkTime; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetReworkTime(Parameter newReworkTime, NotificationChain msgs) { + Parameter oldReworkTime = reworkTime; + reworkTime = newReworkTime; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, BpsimPackage.TIME_PARAMETERS__REWORK_TIME, oldReworkTime, newReworkTime); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setReworkTime(Parameter newReworkTime) { + if (newReworkTime != reworkTime) { + NotificationChain msgs = null; + if (reworkTime != null) + msgs = ((InternalEObject)reworkTime).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - BpsimPackage.TIME_PARAMETERS__REWORK_TIME, null, msgs); + if (newReworkTime != null) + msgs = ((InternalEObject)newReworkTime).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - BpsimPackage.TIME_PARAMETERS__REWORK_TIME, null, msgs); + msgs = basicSetReworkTime(newReworkTime, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, BpsimPackage.TIME_PARAMETERS__REWORK_TIME, newReworkTime, newReworkTime)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case BpsimPackage.TIME_PARAMETERS__TRANSFER_TIME: + return basicSetTransferTime(null, msgs); + case BpsimPackage.TIME_PARAMETERS__QUEUE_TIME: + return basicSetQueueTime(null, msgs); + case BpsimPackage.TIME_PARAMETERS__WAIT_TIME: + return basicSetWaitTime(null, msgs); + case BpsimPackage.TIME_PARAMETERS__SET_UP_TIME: + return basicSetSetUpTime(null, msgs); + case BpsimPackage.TIME_PARAMETERS__PROCESSING_TIME: + return basicSetProcessingTime(null, msgs); + case BpsimPackage.TIME_PARAMETERS__VALIDATION_TIME: + return basicSetValidationTime(null, msgs); + case BpsimPackage.TIME_PARAMETERS__REWORK_TIME: + return basicSetReworkTime(null, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case BpsimPackage.TIME_PARAMETERS__TRANSFER_TIME: + return getTransferTime(); + case BpsimPackage.TIME_PARAMETERS__QUEUE_TIME: + return getQueueTime(); + case BpsimPackage.TIME_PARAMETERS__WAIT_TIME: + return getWaitTime(); + case BpsimPackage.TIME_PARAMETERS__SET_UP_TIME: + return getSetUpTime(); + case BpsimPackage.TIME_PARAMETERS__PROCESSING_TIME: + return getProcessingTime(); + case BpsimPackage.TIME_PARAMETERS__VALIDATION_TIME: + return getValidationTime(); + case BpsimPackage.TIME_PARAMETERS__REWORK_TIME: + return getReworkTime(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case BpsimPackage.TIME_PARAMETERS__TRANSFER_TIME: + setTransferTime((Parameter)newValue); + return; + case BpsimPackage.TIME_PARAMETERS__QUEUE_TIME: + setQueueTime((Parameter)newValue); + return; + case BpsimPackage.TIME_PARAMETERS__WAIT_TIME: + setWaitTime((Parameter)newValue); + return; + case BpsimPackage.TIME_PARAMETERS__SET_UP_TIME: + setSetUpTime((Parameter)newValue); + return; + case BpsimPackage.TIME_PARAMETERS__PROCESSING_TIME: + setProcessingTime((Parameter)newValue); + return; + case BpsimPackage.TIME_PARAMETERS__VALIDATION_TIME: + setValidationTime((Parameter)newValue); + return; + case BpsimPackage.TIME_PARAMETERS__REWORK_TIME: + setReworkTime((Parameter)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case BpsimPackage.TIME_PARAMETERS__TRANSFER_TIME: + setTransferTime((Parameter)null); + return; + case BpsimPackage.TIME_PARAMETERS__QUEUE_TIME: + setQueueTime((Parameter)null); + return; + case BpsimPackage.TIME_PARAMETERS__WAIT_TIME: + setWaitTime((Parameter)null); + return; + case BpsimPackage.TIME_PARAMETERS__SET_UP_TIME: + setSetUpTime((Parameter)null); + return; + case BpsimPackage.TIME_PARAMETERS__PROCESSING_TIME: + setProcessingTime((Parameter)null); + return; + case BpsimPackage.TIME_PARAMETERS__VALIDATION_TIME: + setValidationTime((Parameter)null); + return; + case BpsimPackage.TIME_PARAMETERS__REWORK_TIME: + setReworkTime((Parameter)null); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case BpsimPackage.TIME_PARAMETERS__TRANSFER_TIME: + return transferTime != null; + case BpsimPackage.TIME_PARAMETERS__QUEUE_TIME: + return queueTime != null; + case BpsimPackage.TIME_PARAMETERS__WAIT_TIME: + return waitTime != null; + case BpsimPackage.TIME_PARAMETERS__SET_UP_TIME: + return setUpTime != null; + case BpsimPackage.TIME_PARAMETERS__PROCESSING_TIME: + return processingTime != null; + case BpsimPackage.TIME_PARAMETERS__VALIDATION_TIME: + return validationTime != null; + case BpsimPackage.TIME_PARAMETERS__REWORK_TIME: + return reworkTime != null; + } + return super.eIsSet(featureID); + } + +} //TimeParametersImpl diff --git a/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/impl/TriangularDistributionTypeImpl.java b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/impl/TriangularDistributionTypeImpl.java new file mode 100644 index 00000000..7107c255 --- /dev/null +++ b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/impl/TriangularDistributionTypeImpl.java @@ -0,0 +1,369 @@ +/** + */ +package org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl; + +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.TriangularDistributionType; +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Triangular Distribution Type</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.TriangularDistributionTypeImpl#getMax <em>Max</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.TriangularDistributionTypeImpl#getMin <em>Min</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.TriangularDistributionTypeImpl#getMode <em>Mode</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class TriangularDistributionTypeImpl extends DistributionParameterImpl implements TriangularDistributionType { + /** + * The default value of the '{@link #getMax() <em>Max</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getMax() + * @generated + * @ordered + */ + protected static final double MAX_EDEFAULT = 0.0; + + /** + * The cached value of the '{@link #getMax() <em>Max</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getMax() + * @generated + * @ordered + */ + protected double max = MAX_EDEFAULT; + + /** + * This is true if the Max attribute has been set. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + protected boolean maxESet; + + /** + * The default value of the '{@link #getMin() <em>Min</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getMin() + * @generated + * @ordered + */ + protected static final double MIN_EDEFAULT = 0.0; + + /** + * The cached value of the '{@link #getMin() <em>Min</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getMin() + * @generated + * @ordered + */ + protected double min = MIN_EDEFAULT; + + /** + * This is true if the Min attribute has been set. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + protected boolean minESet; + + /** + * The default value of the '{@link #getMode() <em>Mode</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getMode() + * @generated + * @ordered + */ + protected static final double MODE_EDEFAULT = 0.0; + + /** + * The cached value of the '{@link #getMode() <em>Mode</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getMode() + * @generated + * @ordered + */ + protected double mode = MODE_EDEFAULT; + + /** + * This is true if the Mode attribute has been set. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + protected boolean modeESet; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected TriangularDistributionTypeImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return BpsimPackage.Literals.TRIANGULAR_DISTRIBUTION_TYPE; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public double getMax() { + return max; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setMax(double newMax) { + double oldMax = max; + max = newMax; + boolean oldMaxESet = maxESet; + maxESet = true; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, BpsimPackage.TRIANGULAR_DISTRIBUTION_TYPE__MAX, oldMax, max, !oldMaxESet)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void unsetMax() { + double oldMax = max; + boolean oldMaxESet = maxESet; + max = MAX_EDEFAULT; + maxESet = false; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.UNSET, BpsimPackage.TRIANGULAR_DISTRIBUTION_TYPE__MAX, oldMax, MAX_EDEFAULT, oldMaxESet)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean isSetMax() { + return maxESet; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public double getMin() { + return min; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setMin(double newMin) { + double oldMin = min; + min = newMin; + boolean oldMinESet = minESet; + minESet = true; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, BpsimPackage.TRIANGULAR_DISTRIBUTION_TYPE__MIN, oldMin, min, !oldMinESet)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void unsetMin() { + double oldMin = min; + boolean oldMinESet = minESet; + min = MIN_EDEFAULT; + minESet = false; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.UNSET, BpsimPackage.TRIANGULAR_DISTRIBUTION_TYPE__MIN, oldMin, MIN_EDEFAULT, oldMinESet)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean isSetMin() { + return minESet; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public double getMode() { + return mode; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setMode(double newMode) { + double oldMode = mode; + mode = newMode; + boolean oldModeESet = modeESet; + modeESet = true; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, BpsimPackage.TRIANGULAR_DISTRIBUTION_TYPE__MODE, oldMode, mode, !oldModeESet)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void unsetMode() { + double oldMode = mode; + boolean oldModeESet = modeESet; + mode = MODE_EDEFAULT; + modeESet = false; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.UNSET, BpsimPackage.TRIANGULAR_DISTRIBUTION_TYPE__MODE, oldMode, MODE_EDEFAULT, oldModeESet)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean isSetMode() { + return modeESet; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case BpsimPackage.TRIANGULAR_DISTRIBUTION_TYPE__MAX: + return getMax(); + case BpsimPackage.TRIANGULAR_DISTRIBUTION_TYPE__MIN: + return getMin(); + case BpsimPackage.TRIANGULAR_DISTRIBUTION_TYPE__MODE: + return getMode(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case BpsimPackage.TRIANGULAR_DISTRIBUTION_TYPE__MAX: + setMax((Double)newValue); + return; + case BpsimPackage.TRIANGULAR_DISTRIBUTION_TYPE__MIN: + setMin((Double)newValue); + return; + case BpsimPackage.TRIANGULAR_DISTRIBUTION_TYPE__MODE: + setMode((Double)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case BpsimPackage.TRIANGULAR_DISTRIBUTION_TYPE__MAX: + unsetMax(); + return; + case BpsimPackage.TRIANGULAR_DISTRIBUTION_TYPE__MIN: + unsetMin(); + return; + case BpsimPackage.TRIANGULAR_DISTRIBUTION_TYPE__MODE: + unsetMode(); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case BpsimPackage.TRIANGULAR_DISTRIBUTION_TYPE__MAX: + return isSetMax(); + case BpsimPackage.TRIANGULAR_DISTRIBUTION_TYPE__MIN: + return isSetMin(); + case BpsimPackage.TRIANGULAR_DISTRIBUTION_TYPE__MODE: + return isSetMode(); + } + return super.eIsSet(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (max: "); + if (maxESet) result.append(max); else result.append("<unset>"); + result.append(", min: "); + if (minESet) result.append(min); else result.append("<unset>"); + result.append(", mode: "); + if (modeESet) result.append(mode); else result.append("<unset>"); + result.append(')'); + return result.toString(); + } + +} //TriangularDistributionTypeImpl diff --git a/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/impl/TruncatedNormalDistributionTypeImpl.java b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/impl/TruncatedNormalDistributionTypeImpl.java new file mode 100644 index 00000000..accf925f --- /dev/null +++ b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/impl/TruncatedNormalDistributionTypeImpl.java @@ -0,0 +1,457 @@ +/** + */ +package org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl; + +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.TruncatedNormalDistributionType; +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Truncated Normal Distribution Type</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.TruncatedNormalDistributionTypeImpl#getMax <em>Max</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.TruncatedNormalDistributionTypeImpl#getMean <em>Mean</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.TruncatedNormalDistributionTypeImpl#getMin <em>Min</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.TruncatedNormalDistributionTypeImpl#getStandardDeviation <em>Standard Deviation</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class TruncatedNormalDistributionTypeImpl extends DistributionParameterImpl implements TruncatedNormalDistributionType { + /** + * The default value of the '{@link #getMax() <em>Max</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getMax() + * @generated + * @ordered + */ + protected static final double MAX_EDEFAULT = 0.0; + + /** + * The cached value of the '{@link #getMax() <em>Max</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getMax() + * @generated + * @ordered + */ + protected double max = MAX_EDEFAULT; + + /** + * This is true if the Max attribute has been set. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + protected boolean maxESet; + + /** + * The default value of the '{@link #getMean() <em>Mean</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getMean() + * @generated + * @ordered + */ + protected static final double MEAN_EDEFAULT = 0.0; + + /** + * The cached value of the '{@link #getMean() <em>Mean</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getMean() + * @generated + * @ordered + */ + protected double mean = MEAN_EDEFAULT; + + /** + * This is true if the Mean attribute has been set. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + protected boolean meanESet; + + /** + * The default value of the '{@link #getMin() <em>Min</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getMin() + * @generated + * @ordered + */ + protected static final double MIN_EDEFAULT = 0.0; + + /** + * The cached value of the '{@link #getMin() <em>Min</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getMin() + * @generated + * @ordered + */ + protected double min = MIN_EDEFAULT; + + /** + * This is true if the Min attribute has been set. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + protected boolean minESet; + + /** + * The default value of the '{@link #getStandardDeviation() <em>Standard Deviation</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getStandardDeviation() + * @generated + * @ordered + */ + protected static final double STANDARD_DEVIATION_EDEFAULT = 0.0; + + /** + * The cached value of the '{@link #getStandardDeviation() <em>Standard Deviation</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getStandardDeviation() + * @generated + * @ordered + */ + protected double standardDeviation = STANDARD_DEVIATION_EDEFAULT; + + /** + * This is true if the Standard Deviation attribute has been set. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + protected boolean standardDeviationESet; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected TruncatedNormalDistributionTypeImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return BpsimPackage.Literals.TRUNCATED_NORMAL_DISTRIBUTION_TYPE; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public double getMax() { + return max; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setMax(double newMax) { + double oldMax = max; + max = newMax; + boolean oldMaxESet = maxESet; + maxESet = true; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, BpsimPackage.TRUNCATED_NORMAL_DISTRIBUTION_TYPE__MAX, oldMax, max, !oldMaxESet)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void unsetMax() { + double oldMax = max; + boolean oldMaxESet = maxESet; + max = MAX_EDEFAULT; + maxESet = false; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.UNSET, BpsimPackage.TRUNCATED_NORMAL_DISTRIBUTION_TYPE__MAX, oldMax, MAX_EDEFAULT, oldMaxESet)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean isSetMax() { + return maxESet; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public double getMean() { + return mean; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setMean(double newMean) { + double oldMean = mean; + mean = newMean; + boolean oldMeanESet = meanESet; + meanESet = true; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, BpsimPackage.TRUNCATED_NORMAL_DISTRIBUTION_TYPE__MEAN, oldMean, mean, !oldMeanESet)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void unsetMean() { + double oldMean = mean; + boolean oldMeanESet = meanESet; + mean = MEAN_EDEFAULT; + meanESet = false; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.UNSET, BpsimPackage.TRUNCATED_NORMAL_DISTRIBUTION_TYPE__MEAN, oldMean, MEAN_EDEFAULT, oldMeanESet)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean isSetMean() { + return meanESet; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public double getMin() { + return min; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setMin(double newMin) { + double oldMin = min; + min = newMin; + boolean oldMinESet = minESet; + minESet = true; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, BpsimPackage.TRUNCATED_NORMAL_DISTRIBUTION_TYPE__MIN, oldMin, min, !oldMinESet)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void unsetMin() { + double oldMin = min; + boolean oldMinESet = minESet; + min = MIN_EDEFAULT; + minESet = false; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.UNSET, BpsimPackage.TRUNCATED_NORMAL_DISTRIBUTION_TYPE__MIN, oldMin, MIN_EDEFAULT, oldMinESet)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean isSetMin() { + return minESet; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public double getStandardDeviation() { + return standardDeviation; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setStandardDeviation(double newStandardDeviation) { + double oldStandardDeviation = standardDeviation; + standardDeviation = newStandardDeviation; + boolean oldStandardDeviationESet = standardDeviationESet; + standardDeviationESet = true; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, BpsimPackage.TRUNCATED_NORMAL_DISTRIBUTION_TYPE__STANDARD_DEVIATION, oldStandardDeviation, standardDeviation, !oldStandardDeviationESet)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void unsetStandardDeviation() { + double oldStandardDeviation = standardDeviation; + boolean oldStandardDeviationESet = standardDeviationESet; + standardDeviation = STANDARD_DEVIATION_EDEFAULT; + standardDeviationESet = false; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.UNSET, BpsimPackage.TRUNCATED_NORMAL_DISTRIBUTION_TYPE__STANDARD_DEVIATION, oldStandardDeviation, STANDARD_DEVIATION_EDEFAULT, oldStandardDeviationESet)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean isSetStandardDeviation() { + return standardDeviationESet; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case BpsimPackage.TRUNCATED_NORMAL_DISTRIBUTION_TYPE__MAX: + return getMax(); + case BpsimPackage.TRUNCATED_NORMAL_DISTRIBUTION_TYPE__MEAN: + return getMean(); + case BpsimPackage.TRUNCATED_NORMAL_DISTRIBUTION_TYPE__MIN: + return getMin(); + case BpsimPackage.TRUNCATED_NORMAL_DISTRIBUTION_TYPE__STANDARD_DEVIATION: + return getStandardDeviation(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case BpsimPackage.TRUNCATED_NORMAL_DISTRIBUTION_TYPE__MAX: + setMax((Double)newValue); + return; + case BpsimPackage.TRUNCATED_NORMAL_DISTRIBUTION_TYPE__MEAN: + setMean((Double)newValue); + return; + case BpsimPackage.TRUNCATED_NORMAL_DISTRIBUTION_TYPE__MIN: + setMin((Double)newValue); + return; + case BpsimPackage.TRUNCATED_NORMAL_DISTRIBUTION_TYPE__STANDARD_DEVIATION: + setStandardDeviation((Double)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case BpsimPackage.TRUNCATED_NORMAL_DISTRIBUTION_TYPE__MAX: + unsetMax(); + return; + case BpsimPackage.TRUNCATED_NORMAL_DISTRIBUTION_TYPE__MEAN: + unsetMean(); + return; + case BpsimPackage.TRUNCATED_NORMAL_DISTRIBUTION_TYPE__MIN: + unsetMin(); + return; + case BpsimPackage.TRUNCATED_NORMAL_DISTRIBUTION_TYPE__STANDARD_DEVIATION: + unsetStandardDeviation(); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case BpsimPackage.TRUNCATED_NORMAL_DISTRIBUTION_TYPE__MAX: + return isSetMax(); + case BpsimPackage.TRUNCATED_NORMAL_DISTRIBUTION_TYPE__MEAN: + return isSetMean(); + case BpsimPackage.TRUNCATED_NORMAL_DISTRIBUTION_TYPE__MIN: + return isSetMin(); + case BpsimPackage.TRUNCATED_NORMAL_DISTRIBUTION_TYPE__STANDARD_DEVIATION: + return isSetStandardDeviation(); + } + return super.eIsSet(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (max: "); + if (maxESet) result.append(max); else result.append("<unset>"); + result.append(", mean: "); + if (meanESet) result.append(mean); else result.append("<unset>"); + result.append(", min: "); + if (minESet) result.append(min); else result.append("<unset>"); + result.append(", standardDeviation: "); + if (standardDeviationESet) result.append(standardDeviation); else result.append("<unset>"); + result.append(')'); + return result.toString(); + } + +} //TruncatedNormalDistributionTypeImpl diff --git a/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/impl/UniformDistributionTypeImpl.java b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/impl/UniformDistributionTypeImpl.java new file mode 100644 index 00000000..91de9254 --- /dev/null +++ b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/impl/UniformDistributionTypeImpl.java @@ -0,0 +1,281 @@ +/** + */ +package org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl; + +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.UniformDistributionType; +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Uniform Distribution Type</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.UniformDistributionTypeImpl#getMax <em>Max</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.UniformDistributionTypeImpl#getMin <em>Min</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class UniformDistributionTypeImpl extends DistributionParameterImpl implements UniformDistributionType { + /** + * The default value of the '{@link #getMax() <em>Max</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getMax() + * @generated + * @ordered + */ + protected static final double MAX_EDEFAULT = 0.0; + + /** + * The cached value of the '{@link #getMax() <em>Max</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getMax() + * @generated + * @ordered + */ + protected double max = MAX_EDEFAULT; + + /** + * This is true if the Max attribute has been set. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + protected boolean maxESet; + + /** + * The default value of the '{@link #getMin() <em>Min</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getMin() + * @generated + * @ordered + */ + protected static final double MIN_EDEFAULT = 0.0; + + /** + * The cached value of the '{@link #getMin() <em>Min</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getMin() + * @generated + * @ordered + */ + protected double min = MIN_EDEFAULT; + + /** + * This is true if the Min attribute has been set. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + protected boolean minESet; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected UniformDistributionTypeImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return BpsimPackage.Literals.UNIFORM_DISTRIBUTION_TYPE; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public double getMax() { + return max; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setMax(double newMax) { + double oldMax = max; + max = newMax; + boolean oldMaxESet = maxESet; + maxESet = true; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, BpsimPackage.UNIFORM_DISTRIBUTION_TYPE__MAX, oldMax, max, !oldMaxESet)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void unsetMax() { + double oldMax = max; + boolean oldMaxESet = maxESet; + max = MAX_EDEFAULT; + maxESet = false; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.UNSET, BpsimPackage.UNIFORM_DISTRIBUTION_TYPE__MAX, oldMax, MAX_EDEFAULT, oldMaxESet)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean isSetMax() { + return maxESet; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public double getMin() { + return min; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setMin(double newMin) { + double oldMin = min; + min = newMin; + boolean oldMinESet = minESet; + minESet = true; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, BpsimPackage.UNIFORM_DISTRIBUTION_TYPE__MIN, oldMin, min, !oldMinESet)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void unsetMin() { + double oldMin = min; + boolean oldMinESet = minESet; + min = MIN_EDEFAULT; + minESet = false; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.UNSET, BpsimPackage.UNIFORM_DISTRIBUTION_TYPE__MIN, oldMin, MIN_EDEFAULT, oldMinESet)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean isSetMin() { + return minESet; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case BpsimPackage.UNIFORM_DISTRIBUTION_TYPE__MAX: + return getMax(); + case BpsimPackage.UNIFORM_DISTRIBUTION_TYPE__MIN: + return getMin(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case BpsimPackage.UNIFORM_DISTRIBUTION_TYPE__MAX: + setMax((Double)newValue); + return; + case BpsimPackage.UNIFORM_DISTRIBUTION_TYPE__MIN: + setMin((Double)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case BpsimPackage.UNIFORM_DISTRIBUTION_TYPE__MAX: + unsetMax(); + return; + case BpsimPackage.UNIFORM_DISTRIBUTION_TYPE__MIN: + unsetMin(); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case BpsimPackage.UNIFORM_DISTRIBUTION_TYPE__MAX: + return isSetMax(); + case BpsimPackage.UNIFORM_DISTRIBUTION_TYPE__MIN: + return isSetMin(); + } + return super.eIsSet(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (max: "); + if (maxESet) result.append(max); else result.append("<unset>"); + result.append(", min: "); + if (minESet) result.append(min); else result.append("<unset>"); + result.append(')'); + return result.toString(); + } + +} //UniformDistributionTypeImpl diff --git a/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/impl/UserDistributionDataPointTypeImpl.java b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/impl/UserDistributionDataPointTypeImpl.java new file mode 100644 index 00000000..847647d9 --- /dev/null +++ b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/impl/UserDistributionDataPointTypeImpl.java @@ -0,0 +1,290 @@ +/** + */ +package org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl; + +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ParameterValue; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.UserDistributionDataPointType; +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.NotificationChain; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.EObjectImpl; +import org.eclipse.emf.ecore.util.BasicFeatureMap; +import org.eclipse.emf.ecore.util.FeatureMap; +import org.eclipse.emf.ecore.util.InternalEList; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>User Distribution Data Point Type</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.UserDistributionDataPointTypeImpl#getParameterValueGroup <em>Parameter Value Group</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.UserDistributionDataPointTypeImpl#getParameterValue <em>Parameter Value</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.UserDistributionDataPointTypeImpl#getProbability <em>Probability</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class UserDistributionDataPointTypeImpl extends EObjectImpl implements UserDistributionDataPointType { + /** + * The cached value of the '{@link #getParameterValueGroup() <em>Parameter Value Group</em>}' attribute list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getParameterValueGroup() + * @generated + * @ordered + */ + protected FeatureMap parameterValueGroup; + + /** + * The default value of the '{@link #getProbability() <em>Probability</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getProbability() + * @generated + * @ordered + */ + protected static final float PROBABILITY_EDEFAULT = 0.0F; + + /** + * The cached value of the '{@link #getProbability() <em>Probability</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getProbability() + * @generated + * @ordered + */ + protected float probability = PROBABILITY_EDEFAULT; + + /** + * This is true if the Probability attribute has been set. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + protected boolean probabilityESet; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected UserDistributionDataPointTypeImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return BpsimPackage.Literals.USER_DISTRIBUTION_DATA_POINT_TYPE; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public FeatureMap getParameterValueGroup() { + if (parameterValueGroup == null) { + parameterValueGroup = new BasicFeatureMap(this, BpsimPackage.USER_DISTRIBUTION_DATA_POINT_TYPE__PARAMETER_VALUE_GROUP); + } + return parameterValueGroup; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ParameterValue getParameterValue() { + return (ParameterValue)getParameterValueGroup().get(BpsimPackage.Literals.USER_DISTRIBUTION_DATA_POINT_TYPE__PARAMETER_VALUE, true); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetParameterValue(ParameterValue newParameterValue, NotificationChain msgs) { + return ((FeatureMap.Internal)getParameterValueGroup()).basicAdd(BpsimPackage.Literals.USER_DISTRIBUTION_DATA_POINT_TYPE__PARAMETER_VALUE, newParameterValue, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setParameterValue(ParameterValue newParameterValue) { + ((FeatureMap.Internal)getParameterValueGroup()).set(BpsimPackage.Literals.USER_DISTRIBUTION_DATA_POINT_TYPE__PARAMETER_VALUE, newParameterValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public float getProbability() { + return probability; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setProbability(float newProbability) { + float oldProbability = probability; + probability = newProbability; + boolean oldProbabilityESet = probabilityESet; + probabilityESet = true; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, BpsimPackage.USER_DISTRIBUTION_DATA_POINT_TYPE__PROBABILITY, oldProbability, probability, !oldProbabilityESet)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void unsetProbability() { + float oldProbability = probability; + boolean oldProbabilityESet = probabilityESet; + probability = PROBABILITY_EDEFAULT; + probabilityESet = false; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.UNSET, BpsimPackage.USER_DISTRIBUTION_DATA_POINT_TYPE__PROBABILITY, oldProbability, PROBABILITY_EDEFAULT, oldProbabilityESet)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean isSetProbability() { + return probabilityESet; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case BpsimPackage.USER_DISTRIBUTION_DATA_POINT_TYPE__PARAMETER_VALUE_GROUP: + return ((InternalEList<?>)getParameterValueGroup()).basicRemove(otherEnd, msgs); + case BpsimPackage.USER_DISTRIBUTION_DATA_POINT_TYPE__PARAMETER_VALUE: + return basicSetParameterValue(null, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case BpsimPackage.USER_DISTRIBUTION_DATA_POINT_TYPE__PARAMETER_VALUE_GROUP: + if (coreType) return getParameterValueGroup(); + return ((FeatureMap.Internal)getParameterValueGroup()).getWrapper(); + case BpsimPackage.USER_DISTRIBUTION_DATA_POINT_TYPE__PARAMETER_VALUE: + return getParameterValue(); + case BpsimPackage.USER_DISTRIBUTION_DATA_POINT_TYPE__PROBABILITY: + return getProbability(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case BpsimPackage.USER_DISTRIBUTION_DATA_POINT_TYPE__PARAMETER_VALUE_GROUP: + ((FeatureMap.Internal)getParameterValueGroup()).set(newValue); + return; + case BpsimPackage.USER_DISTRIBUTION_DATA_POINT_TYPE__PARAMETER_VALUE: + setParameterValue((ParameterValue)newValue); + return; + case BpsimPackage.USER_DISTRIBUTION_DATA_POINT_TYPE__PROBABILITY: + setProbability((Float)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case BpsimPackage.USER_DISTRIBUTION_DATA_POINT_TYPE__PARAMETER_VALUE_GROUP: + getParameterValueGroup().clear(); + return; + case BpsimPackage.USER_DISTRIBUTION_DATA_POINT_TYPE__PARAMETER_VALUE: + setParameterValue((ParameterValue)null); + return; + case BpsimPackage.USER_DISTRIBUTION_DATA_POINT_TYPE__PROBABILITY: + unsetProbability(); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case BpsimPackage.USER_DISTRIBUTION_DATA_POINT_TYPE__PARAMETER_VALUE_GROUP: + return parameterValueGroup != null && !parameterValueGroup.isEmpty(); + case BpsimPackage.USER_DISTRIBUTION_DATA_POINT_TYPE__PARAMETER_VALUE: + return getParameterValue() != null; + case BpsimPackage.USER_DISTRIBUTION_DATA_POINT_TYPE__PROBABILITY: + return isSetProbability(); + } + return super.eIsSet(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (parameterValueGroup: "); + result.append(parameterValueGroup); + result.append(", probability: "); + if (probabilityESet) result.append(probability); else result.append("<unset>"); + result.append(')'); + return result.toString(); + } + +} //UserDistributionDataPointTypeImpl diff --git a/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/impl/UserDistributionTypeImpl.java b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/impl/UserDistributionTypeImpl.java new file mode 100644 index 00000000..7f1b6650 --- /dev/null +++ b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/impl/UserDistributionTypeImpl.java @@ -0,0 +1,276 @@ +/** + */ +package org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl; + +import java.util.Collection; + +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.UserDistributionDataPointType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.UserDistributionType; +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.NotificationChain; +import org.eclipse.emf.common.util.EList; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.util.BasicFeatureMap; +import org.eclipse.emf.ecore.util.FeatureMap; +import org.eclipse.emf.ecore.util.InternalEList; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>User Distribution Type</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.UserDistributionTypeImpl#getGroup <em>Group</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.UserDistributionTypeImpl#getUserDistributionDataPoint <em>User Distribution Data Point</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.UserDistributionTypeImpl#isDiscrete <em>Discrete</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class UserDistributionTypeImpl extends DistributionParameterImpl implements UserDistributionType { + /** + * The cached value of the '{@link #getGroup() <em>Group</em>}' attribute list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getGroup() + * @generated + * @ordered + */ + protected FeatureMap group; + + /** + * The default value of the '{@link #isDiscrete() <em>Discrete</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #isDiscrete() + * @generated + * @ordered + */ + protected static final boolean DISCRETE_EDEFAULT = false; + + /** + * The cached value of the '{@link #isDiscrete() <em>Discrete</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #isDiscrete() + * @generated + * @ordered + */ + protected boolean discrete = DISCRETE_EDEFAULT; + + /** + * This is true if the Discrete attribute has been set. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + protected boolean discreteESet; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected UserDistributionTypeImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return BpsimPackage.Literals.USER_DISTRIBUTION_TYPE; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public FeatureMap getGroup() { + if (group == null) { + group = new BasicFeatureMap(this, BpsimPackage.USER_DISTRIBUTION_TYPE__GROUP); + } + return group; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList<UserDistributionDataPointType> getUserDistributionDataPoint() { + return getGroup().list(BpsimPackage.Literals.USER_DISTRIBUTION_TYPE__USER_DISTRIBUTION_DATA_POINT); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean isDiscrete() { + return discrete; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setDiscrete(boolean newDiscrete) { + boolean oldDiscrete = discrete; + discrete = newDiscrete; + boolean oldDiscreteESet = discreteESet; + discreteESet = true; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, BpsimPackage.USER_DISTRIBUTION_TYPE__DISCRETE, oldDiscrete, discrete, !oldDiscreteESet)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void unsetDiscrete() { + boolean oldDiscrete = discrete; + boolean oldDiscreteESet = discreteESet; + discrete = DISCRETE_EDEFAULT; + discreteESet = false; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.UNSET, BpsimPackage.USER_DISTRIBUTION_TYPE__DISCRETE, oldDiscrete, DISCRETE_EDEFAULT, oldDiscreteESet)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean isSetDiscrete() { + return discreteESet; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case BpsimPackage.USER_DISTRIBUTION_TYPE__GROUP: + return ((InternalEList<?>)getGroup()).basicRemove(otherEnd, msgs); + case BpsimPackage.USER_DISTRIBUTION_TYPE__USER_DISTRIBUTION_DATA_POINT: + return ((InternalEList<?>)getUserDistributionDataPoint()).basicRemove(otherEnd, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case BpsimPackage.USER_DISTRIBUTION_TYPE__GROUP: + if (coreType) return getGroup(); + return ((FeatureMap.Internal)getGroup()).getWrapper(); + case BpsimPackage.USER_DISTRIBUTION_TYPE__USER_DISTRIBUTION_DATA_POINT: + return getUserDistributionDataPoint(); + case BpsimPackage.USER_DISTRIBUTION_TYPE__DISCRETE: + return isDiscrete(); + } + 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 BpsimPackage.USER_DISTRIBUTION_TYPE__GROUP: + ((FeatureMap.Internal)getGroup()).set(newValue); + return; + case BpsimPackage.USER_DISTRIBUTION_TYPE__USER_DISTRIBUTION_DATA_POINT: + getUserDistributionDataPoint().clear(); + getUserDistributionDataPoint().addAll((Collection<? extends UserDistributionDataPointType>)newValue); + return; + case BpsimPackage.USER_DISTRIBUTION_TYPE__DISCRETE: + setDiscrete((Boolean)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case BpsimPackage.USER_DISTRIBUTION_TYPE__GROUP: + getGroup().clear(); + return; + case BpsimPackage.USER_DISTRIBUTION_TYPE__USER_DISTRIBUTION_DATA_POINT: + getUserDistributionDataPoint().clear(); + return; + case BpsimPackage.USER_DISTRIBUTION_TYPE__DISCRETE: + unsetDiscrete(); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case BpsimPackage.USER_DISTRIBUTION_TYPE__GROUP: + return group != null && !group.isEmpty(); + case BpsimPackage.USER_DISTRIBUTION_TYPE__USER_DISTRIBUTION_DATA_POINT: + return !getUserDistributionDataPoint().isEmpty(); + case BpsimPackage.USER_DISTRIBUTION_TYPE__DISCRETE: + return isSetDiscrete(); + } + return super.eIsSet(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (group: "); + result.append(group); + result.append(", discrete: "); + if (discreteESet) result.append(discrete); else result.append("<unset>"); + result.append(')'); + return result.toString(); + } + +} //UserDistributionTypeImpl diff --git a/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/impl/VendorExtensionImpl.java b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/impl/VendorExtensionImpl.java new file mode 100644 index 00000000..a009ea1e --- /dev/null +++ b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/impl/VendorExtensionImpl.java @@ -0,0 +1,253 @@ +/** + */ +package org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl; + +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.VendorExtension; +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.NotificationChain; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.EObjectImpl; +import org.eclipse.emf.ecore.util.BasicFeatureMap; +import org.eclipse.emf.ecore.util.FeatureMap; +import org.eclipse.emf.ecore.util.InternalEList; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Vendor Extension</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.VendorExtensionImpl#getAny <em>Any</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.VendorExtensionImpl#getName <em>Name</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.VendorExtensionImpl#getAnyAttribute <em>Any Attribute</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class VendorExtensionImpl extends EObjectImpl implements VendorExtension { + /** + * The cached value of the '{@link #getAny() <em>Any</em>}' attribute list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getAny() + * @generated + * @ordered + */ + protected FeatureMap any; + + /** + * The default value of the '{@link #getName() <em>Name</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getName() + * @generated + * @ordered + */ + protected static final String NAME_EDEFAULT = null; + + /** + * The cached value of the '{@link #getName() <em>Name</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getName() + * @generated + * @ordered + */ + protected String name = NAME_EDEFAULT; + + /** + * The cached value of the '{@link #getAnyAttribute() <em>Any Attribute</em>}' attribute list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getAnyAttribute() + * @generated + * @ordered + */ + protected FeatureMap anyAttribute; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected VendorExtensionImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return BpsimPackage.Literals.VENDOR_EXTENSION; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public FeatureMap getAny() { + if (any == null) { + any = new BasicFeatureMap(this, BpsimPackage.VENDOR_EXTENSION__ANY); + } + return any; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getName() { + return name; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setName(String newName) { + String oldName = name; + name = newName; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, BpsimPackage.VENDOR_EXTENSION__NAME, oldName, name)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public FeatureMap getAnyAttribute() { + if (anyAttribute == null) { + anyAttribute = new BasicFeatureMap(this, BpsimPackage.VENDOR_EXTENSION__ANY_ATTRIBUTE); + } + return anyAttribute; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case BpsimPackage.VENDOR_EXTENSION__ANY: + return ((InternalEList<?>)getAny()).basicRemove(otherEnd, msgs); + case BpsimPackage.VENDOR_EXTENSION__ANY_ATTRIBUTE: + return ((InternalEList<?>)getAnyAttribute()).basicRemove(otherEnd, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case BpsimPackage.VENDOR_EXTENSION__ANY: + if (coreType) return getAny(); + return ((FeatureMap.Internal)getAny()).getWrapper(); + case BpsimPackage.VENDOR_EXTENSION__NAME: + return getName(); + case BpsimPackage.VENDOR_EXTENSION__ANY_ATTRIBUTE: + if (coreType) return getAnyAttribute(); + return ((FeatureMap.Internal)getAnyAttribute()).getWrapper(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case BpsimPackage.VENDOR_EXTENSION__ANY: + ((FeatureMap.Internal)getAny()).set(newValue); + return; + case BpsimPackage.VENDOR_EXTENSION__NAME: + setName((String)newValue); + return; + case BpsimPackage.VENDOR_EXTENSION__ANY_ATTRIBUTE: + ((FeatureMap.Internal)getAnyAttribute()).set(newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case BpsimPackage.VENDOR_EXTENSION__ANY: + getAny().clear(); + return; + case BpsimPackage.VENDOR_EXTENSION__NAME: + setName(NAME_EDEFAULT); + return; + case BpsimPackage.VENDOR_EXTENSION__ANY_ATTRIBUTE: + getAnyAttribute().clear(); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case BpsimPackage.VENDOR_EXTENSION__ANY: + return any != null && !any.isEmpty(); + case BpsimPackage.VENDOR_EXTENSION__NAME: + return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); + case BpsimPackage.VENDOR_EXTENSION__ANY_ATTRIBUTE: + return anyAttribute != null && !anyAttribute.isEmpty(); + } + return super.eIsSet(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (any: "); + result.append(any); + result.append(", name: "); + result.append(name); + result.append(", anyAttribute: "); + result.append(anyAttribute); + result.append(')'); + return result.toString(); + } + +} //VendorExtensionImpl diff --git a/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/impl/WeibullDistributionTypeImpl.java b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/impl/WeibullDistributionTypeImpl.java new file mode 100644 index 00000000..251dcb52 --- /dev/null +++ b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/impl/WeibullDistributionTypeImpl.java @@ -0,0 +1,281 @@ +/** + */ +package org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl; + +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.WeibullDistributionType; +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Weibull Distribution Type</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.WeibullDistributionTypeImpl#getScale <em>Scale</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.WeibullDistributionTypeImpl#getShape <em>Shape</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class WeibullDistributionTypeImpl extends DistributionParameterImpl implements WeibullDistributionType { + /** + * The default value of the '{@link #getScale() <em>Scale</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getScale() + * @generated + * @ordered + */ + protected static final double SCALE_EDEFAULT = 0.0; + + /** + * The cached value of the '{@link #getScale() <em>Scale</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getScale() + * @generated + * @ordered + */ + protected double scale = SCALE_EDEFAULT; + + /** + * This is true if the Scale attribute has been set. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + protected boolean scaleESet; + + /** + * The default value of the '{@link #getShape() <em>Shape</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getShape() + * @generated + * @ordered + */ + protected static final double SHAPE_EDEFAULT = 0.0; + + /** + * The cached value of the '{@link #getShape() <em>Shape</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getShape() + * @generated + * @ordered + */ + protected double shape = SHAPE_EDEFAULT; + + /** + * This is true if the Shape attribute has been set. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + protected boolean shapeESet; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected WeibullDistributionTypeImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return BpsimPackage.Literals.WEIBULL_DISTRIBUTION_TYPE; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public double getScale() { + return scale; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setScale(double newScale) { + double oldScale = scale; + scale = newScale; + boolean oldScaleESet = scaleESet; + scaleESet = true; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, BpsimPackage.WEIBULL_DISTRIBUTION_TYPE__SCALE, oldScale, scale, !oldScaleESet)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void unsetScale() { + double oldScale = scale; + boolean oldScaleESet = scaleESet; + scale = SCALE_EDEFAULT; + scaleESet = false; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.UNSET, BpsimPackage.WEIBULL_DISTRIBUTION_TYPE__SCALE, oldScale, SCALE_EDEFAULT, oldScaleESet)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean isSetScale() { + return scaleESet; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public double getShape() { + return shape; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setShape(double newShape) { + double oldShape = shape; + shape = newShape; + boolean oldShapeESet = shapeESet; + shapeESet = true; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, BpsimPackage.WEIBULL_DISTRIBUTION_TYPE__SHAPE, oldShape, shape, !oldShapeESet)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void unsetShape() { + double oldShape = shape; + boolean oldShapeESet = shapeESet; + shape = SHAPE_EDEFAULT; + shapeESet = false; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.UNSET, BpsimPackage.WEIBULL_DISTRIBUTION_TYPE__SHAPE, oldShape, SHAPE_EDEFAULT, oldShapeESet)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean isSetShape() { + return shapeESet; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case BpsimPackage.WEIBULL_DISTRIBUTION_TYPE__SCALE: + return getScale(); + case BpsimPackage.WEIBULL_DISTRIBUTION_TYPE__SHAPE: + return getShape(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case BpsimPackage.WEIBULL_DISTRIBUTION_TYPE__SCALE: + setScale((Double)newValue); + return; + case BpsimPackage.WEIBULL_DISTRIBUTION_TYPE__SHAPE: + setShape((Double)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case BpsimPackage.WEIBULL_DISTRIBUTION_TYPE__SCALE: + unsetScale(); + return; + case BpsimPackage.WEIBULL_DISTRIBUTION_TYPE__SHAPE: + unsetShape(); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case BpsimPackage.WEIBULL_DISTRIBUTION_TYPE__SCALE: + return isSetScale(); + case BpsimPackage.WEIBULL_DISTRIBUTION_TYPE__SHAPE: + return isSetShape(); + } + return super.eIsSet(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (scale: "); + if (scaleESet) result.append(scale); else result.append("<unset>"); + result.append(", shape: "); + if (shapeESet) result.append(shape); else result.append("<unset>"); + result.append(')'); + return result.toString(); + } + +} //WeibullDistributionTypeImpl diff --git a/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/util/BpsimAdapterFactory.java b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/util/BpsimAdapterFactory.java new file mode 100644 index 00000000..f773dcf2 --- /dev/null +++ b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/util/BpsimAdapterFactory.java @@ -0,0 +1,898 @@ +/** + */ +package org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.util; + +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.*; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BPSimDataType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BetaDistributionType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BinomialDistributionType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BooleanParameterType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.Calendar; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ConstantParameter; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ControlParameters; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.CostParameters; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DateTimeParameterType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DistributionParameter; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DocumentRoot; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DurationParameterType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ElementParameters; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ElementParametersType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.EnumParameterType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ErlangDistributionType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ExpressionParameterType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.FloatingParameterType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.GammaDistributionType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.LogNormalDistributionType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.NegativeExponentialDistributionType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.NormalDistributionType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.NumericParameterType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.Parameter; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ParameterValue; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.PoissonDistributionType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.PriorityParameters; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.PropertyParameters; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.PropertyType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ResourceParameters; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.Scenario; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ScenarioParameters; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ScenarioParametersType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.StringParameterType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.TimeParameters; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.TriangularDistributionType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.TruncatedNormalDistributionType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.UniformDistributionType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.UserDistributionDataPointType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.UserDistributionType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.VendorExtension; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.WeibullDistributionType; +import org.eclipse.emf.common.notify.Adapter; +import org.eclipse.emf.common.notify.Notifier; +import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl; +import org.eclipse.emf.ecore.EObject; + +/** + * <!-- begin-user-doc --> + * The <b>Adapter Factory</b> for the model. + * It provides an adapter <code>createXXX</code> method for each class of the model. + * <!-- end-user-doc --> + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage + * @generated + */ +public class BpsimAdapterFactory extends AdapterFactoryImpl { + /** + * The cached model package. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected static BpsimPackage modelPackage; + + /** + * Creates an instance of the adapter factory. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public BpsimAdapterFactory() { + if (modelPackage == null) { + modelPackage = BpsimPackage.eINSTANCE; + } + } + + /** + * Returns whether this factory is applicable for the type of the object. + * <!-- begin-user-doc --> + * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model. + * <!-- end-user-doc --> + * @return whether this factory is applicable for the type of the object. + * @generated + */ + @Override + public boolean isFactoryForType(Object object) { + if (object == modelPackage) { + return true; + } + if (object instanceof EObject) { + return ((EObject)object).eClass().getEPackage() == modelPackage; + } + return false; + } + + /** + * The switch that delegates to the <code>createXXX</code> methods. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected BpsimSwitch<Adapter> modelSwitch = + new BpsimSwitch<Adapter>() { + @Override + public Adapter caseBetaDistributionType(BetaDistributionType object) { + return createBetaDistributionTypeAdapter(); + } + @Override + public Adapter caseBinomialDistributionType(BinomialDistributionType object) { + return createBinomialDistributionTypeAdapter(); + } + @Override + public Adapter caseBooleanParameterType(BooleanParameterType object) { + return createBooleanParameterTypeAdapter(); + } + @Override + public Adapter caseBPSimDataType(BPSimDataType object) { + return createBPSimDataTypeAdapter(); + } + @Override + public Adapter caseCalendar(Calendar object) { + return createCalendarAdapter(); + } + @Override + public Adapter caseConstantParameter(ConstantParameter object) { + return createConstantParameterAdapter(); + } + @Override + public Adapter caseControlParameters(ControlParameters object) { + return createControlParametersAdapter(); + } + @Override + public Adapter caseCostParameters(CostParameters object) { + return createCostParametersAdapter(); + } + @Override + public Adapter caseDateTimeParameterType(DateTimeParameterType object) { + return createDateTimeParameterTypeAdapter(); + } + @Override + public Adapter caseDistributionParameter(DistributionParameter object) { + return createDistributionParameterAdapter(); + } + @Override + public Adapter caseDocumentRoot(DocumentRoot object) { + return createDocumentRootAdapter(); + } + @Override + public Adapter caseDurationParameterType(DurationParameterType object) { + return createDurationParameterTypeAdapter(); + } + @Override + public Adapter caseElementParameters(ElementParameters object) { + return createElementParametersAdapter(); + } + @Override + public Adapter caseElementParametersType(ElementParametersType object) { + return createElementParametersTypeAdapter(); + } + @Override + public Adapter caseEnumParameterType(EnumParameterType object) { + return createEnumParameterTypeAdapter(); + } + @Override + public Adapter caseErlangDistributionType(ErlangDistributionType object) { + return createErlangDistributionTypeAdapter(); + } + @Override + public Adapter caseExpressionParameterType(ExpressionParameterType object) { + return createExpressionParameterTypeAdapter(); + } + @Override + public Adapter caseFloatingParameterType(FloatingParameterType object) { + return createFloatingParameterTypeAdapter(); + } + @Override + public Adapter caseGammaDistributionType(GammaDistributionType object) { + return createGammaDistributionTypeAdapter(); + } + @Override + public Adapter caseLogNormalDistributionType(LogNormalDistributionType object) { + return createLogNormalDistributionTypeAdapter(); + } + @Override + public Adapter caseNegativeExponentialDistributionType(NegativeExponentialDistributionType object) { + return createNegativeExponentialDistributionTypeAdapter(); + } + @Override + public Adapter caseNormalDistributionType(NormalDistributionType object) { + return createNormalDistributionTypeAdapter(); + } + @Override + public Adapter caseNumericParameterType(NumericParameterType object) { + return createNumericParameterTypeAdapter(); + } + @Override + public Adapter caseParameter(Parameter object) { + return createParameterAdapter(); + } + @Override + public Adapter caseParameterValue(ParameterValue object) { + return createParameterValueAdapter(); + } + @Override + public Adapter casePoissonDistributionType(PoissonDistributionType object) { + return createPoissonDistributionTypeAdapter(); + } + @Override + public Adapter casePriorityParameters(PriorityParameters object) { + return createPriorityParametersAdapter(); + } + @Override + public Adapter casePropertyParameters(PropertyParameters object) { + return createPropertyParametersAdapter(); + } + @Override + public Adapter casePropertyType(PropertyType object) { + return createPropertyTypeAdapter(); + } + @Override + public Adapter caseResourceParameters(ResourceParameters object) { + return createResourceParametersAdapter(); + } + @Override + public Adapter caseScenario(Scenario object) { + return createScenarioAdapter(); + } + @Override + public Adapter caseScenarioParameters(ScenarioParameters object) { + return createScenarioParametersAdapter(); + } + @Override + public Adapter caseScenarioParametersType(ScenarioParametersType object) { + return createScenarioParametersTypeAdapter(); + } + @Override + public Adapter caseStringParameterType(StringParameterType object) { + return createStringParameterTypeAdapter(); + } + @Override + public Adapter caseTimeParameters(TimeParameters object) { + return createTimeParametersAdapter(); + } + @Override + public Adapter caseTriangularDistributionType(TriangularDistributionType object) { + return createTriangularDistributionTypeAdapter(); + } + @Override + public Adapter caseTruncatedNormalDistributionType(TruncatedNormalDistributionType object) { + return createTruncatedNormalDistributionTypeAdapter(); + } + @Override + public Adapter caseUniformDistributionType(UniformDistributionType object) { + return createUniformDistributionTypeAdapter(); + } + @Override + public Adapter caseUserDistributionDataPointType(UserDistributionDataPointType object) { + return createUserDistributionDataPointTypeAdapter(); + } + @Override + public Adapter caseUserDistributionType(UserDistributionType object) { + return createUserDistributionTypeAdapter(); + } + @Override + public Adapter caseVendorExtension(VendorExtension object) { + return createVendorExtensionAdapter(); + } + @Override + public Adapter caseWeibullDistributionType(WeibullDistributionType object) { + return createWeibullDistributionTypeAdapter(); + } + @Override + public Adapter defaultCase(EObject object) { + return createEObjectAdapter(); + } + }; + + /** + * Creates an adapter for the <code>target</code>. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param target the object to adapt. + * @return the adapter for the <code>target</code>. + * @generated + */ + @Override + public Adapter createAdapter(Notifier target) { + return modelSwitch.doSwitch((EObject)target); + } + + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BetaDistributionType <em>Beta Distribution Type</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 org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BetaDistributionType + * @generated + */ + public Adapter createBetaDistributionTypeAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BinomialDistributionType <em>Binomial Distribution Type</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 org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BinomialDistributionType + * @generated + */ + public Adapter createBinomialDistributionTypeAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BooleanParameterType <em>Boolean Parameter Type</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 org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BooleanParameterType + * @generated + */ + public Adapter createBooleanParameterTypeAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BPSimDataType <em>BP Sim Data Type</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 org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BPSimDataType + * @generated + */ + public Adapter createBPSimDataTypeAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.Calendar <em>Calendar</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 org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.Calendar + * @generated + */ + public Adapter createCalendarAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ConstantParameter <em>Constant Parameter</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 org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ConstantParameter + * @generated + */ + public Adapter createConstantParameterAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ControlParameters <em>Control Parameters</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 org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ControlParameters + * @generated + */ + public Adapter createControlParametersAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.CostParameters <em>Cost Parameters</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 org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.CostParameters + * @generated + */ + public Adapter createCostParametersAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DateTimeParameterType <em>Date Time Parameter Type</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 org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DateTimeParameterType + * @generated + */ + public Adapter createDateTimeParameterTypeAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DistributionParameter <em>Distribution Parameter</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 org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DistributionParameter + * @generated + */ + public Adapter createDistributionParameterAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DocumentRoot <em>Document 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 org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DocumentRoot + * @generated + */ + public Adapter createDocumentRootAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DurationParameterType <em>Duration Parameter Type</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 org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DurationParameterType + * @generated + */ + public Adapter createDurationParameterTypeAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ElementParameters <em>Element Parameters</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 org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ElementParameters + * @generated + */ + public Adapter createElementParametersAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ElementParametersType <em>Element Parameters Type</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 org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ElementParametersType + * @generated + */ + public Adapter createElementParametersTypeAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.EnumParameterType <em>Enum Parameter Type</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 org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.EnumParameterType + * @generated + */ + public Adapter createEnumParameterTypeAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ErlangDistributionType <em>Erlang Distribution Type</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 org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ErlangDistributionType + * @generated + */ + public Adapter createErlangDistributionTypeAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ExpressionParameterType <em>SingleAssignment Parameter Type</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 org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ExpressionParameterType + * @generated + */ + public Adapter createExpressionParameterTypeAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.FloatingParameterType <em>Floating Parameter Type</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 org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.FloatingParameterType + * @generated + */ + public Adapter createFloatingParameterTypeAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.GammaDistributionType <em>Gamma Distribution Type</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 org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.GammaDistributionType + * @generated + */ + public Adapter createGammaDistributionTypeAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.LogNormalDistributionType <em>Log Normal Distribution Type</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 org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.LogNormalDistributionType + * @generated + */ + public Adapter createLogNormalDistributionTypeAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.NegativeExponentialDistributionType <em>Negative Exponential Distribution Type</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 org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.NegativeExponentialDistributionType + * @generated + */ + public Adapter createNegativeExponentialDistributionTypeAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.NormalDistributionType <em>Normal Distribution Type</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 org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.NormalDistributionType + * @generated + */ + public Adapter createNormalDistributionTypeAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.NumericParameterType <em>Numeric Parameter Type</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 org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.NumericParameterType + * @generated + */ + public Adapter createNumericParameterTypeAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.Parameter <em>Parameter</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 org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.Parameter + * @generated + */ + public Adapter createParameterAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ParameterValue <em>Parameter Value</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 org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ParameterValue + * @generated + */ + public Adapter createParameterValueAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.PoissonDistributionType <em>Poisson Distribution Type</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 org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.PoissonDistributionType + * @generated + */ + public Adapter createPoissonDistributionTypeAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.PriorityParameters <em>Priority Parameters</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 org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.PriorityParameters + * @generated + */ + public Adapter createPriorityParametersAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.PropertyParameters <em>Property Parameters</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 org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.PropertyParameters + * @generated + */ + public Adapter createPropertyParametersAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.PropertyType <em>Property Type</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 org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.PropertyType + * @generated + */ + public Adapter createPropertyTypeAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ResourceParameters <em>Resource Parameters</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 org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ResourceParameters + * @generated + */ + public Adapter createResourceParametersAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.Scenario <em>Scenario</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 org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.Scenario + * @generated + */ + public Adapter createScenarioAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ScenarioParameters <em>Scenario Parameters</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 org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ScenarioParameters + * @generated + */ + public Adapter createScenarioParametersAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ScenarioParametersType <em>Scenario Parameters Type</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 org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ScenarioParametersType + * @generated + */ + public Adapter createScenarioParametersTypeAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.StringParameterType <em>String Parameter Type</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 org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.StringParameterType + * @generated + */ + public Adapter createStringParameterTypeAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.TimeParameters <em>Time Parameters</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 org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.TimeParameters + * @generated + */ + public Adapter createTimeParametersAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.TriangularDistributionType <em>Triangular Distribution Type</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 org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.TriangularDistributionType + * @generated + */ + public Adapter createTriangularDistributionTypeAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.TruncatedNormalDistributionType <em>Truncated Normal Distribution Type</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 org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.TruncatedNormalDistributionType + * @generated + */ + public Adapter createTruncatedNormalDistributionTypeAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.UniformDistributionType <em>Uniform Distribution Type</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 org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.UniformDistributionType + * @generated + */ + public Adapter createUniformDistributionTypeAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.UserDistributionDataPointType <em>User Distribution Data Point Type</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 org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.UserDistributionDataPointType + * @generated + */ + public Adapter createUserDistributionDataPointTypeAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.UserDistributionType <em>User Distribution Type</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 org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.UserDistributionType + * @generated + */ + public Adapter createUserDistributionTypeAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.VendorExtension <em>Vendor Extension</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 org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.VendorExtension + * @generated + */ + public Adapter createVendorExtensionAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.WeibullDistributionType <em>Weibull Distribution Type</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 org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.WeibullDistributionType + * @generated + */ + public Adapter createWeibullDistributionTypeAdapter() { + return null; + } + + /** + * Creates a new adapter for the default case. + * <!-- begin-user-doc --> + * This default implementation returns null. + * <!-- end-user-doc --> + * @return the new adapter. + * @generated + */ + public Adapter createEObjectAdapter() { + return null; + } + +} //BpsimAdapterFactory diff --git a/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/util/BpsimResourceFactoryImpl.java b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/util/BpsimResourceFactoryImpl.java new file mode 100644 index 00000000..56804dc4 --- /dev/null +++ b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/util/BpsimResourceFactoryImpl.java @@ -0,0 +1,49 @@ +/** + */ +package org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.util; + +import org.eclipse.emf.common.util.URI; +import org.eclipse.emf.ecore.resource.Resource; +import org.eclipse.emf.ecore.resource.impl.ResourceFactoryImpl; +import org.eclipse.emf.ecore.xmi.XMLResource; + +/** + * <!-- begin-user-doc --> + * The <b>Resource Factory</b> associated with the package. + * <!-- end-user-doc --> + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.util.BpsimResourceImpl + * @generated + */ +public class BpsimResourceFactoryImpl extends ResourceFactoryImpl { + /** + * Creates an instance of the resource factory. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public BpsimResourceFactoryImpl() { + super(); + } + + /** + * Creates an instance of the resource. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Resource createResource(URI uri) { + XMLResource result = new BpsimResourceImpl(uri); + result.getDefaultSaveOptions().put(XMLResource.OPTION_EXTENDED_META_DATA, Boolean.TRUE); + result.getDefaultLoadOptions().put(XMLResource.OPTION_EXTENDED_META_DATA, Boolean.TRUE); + + result.getDefaultSaveOptions().put(XMLResource.OPTION_SCHEMA_LOCATION, Boolean.TRUE); + + result.getDefaultLoadOptions().put(XMLResource.OPTION_USE_ENCODED_ATTRIBUTE_STYLE, Boolean.TRUE); + result.getDefaultSaveOptions().put(XMLResource.OPTION_USE_ENCODED_ATTRIBUTE_STYLE, Boolean.TRUE); + + result.getDefaultLoadOptions().put(XMLResource.OPTION_USE_LEXICAL_HANDLER, Boolean.TRUE); + return result; + } + +} //BpsimResourceFactoryImpl diff --git a/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/util/BpsimResourceImpl.java b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/util/BpsimResourceImpl.java new file mode 100644 index 00000000..e9bb225a --- /dev/null +++ b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/util/BpsimResourceImpl.java @@ -0,0 +1,27 @@ +/** + */ +package org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.util; + +import org.eclipse.emf.common.util.URI; +import org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl; + +/** + * <!-- begin-user-doc --> + * The <b>Resource </b> associated with the package. + * <!-- end-user-doc --> + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.util.BpsimResourceFactoryImpl + * @generated + */ +public class BpsimResourceImpl extends XMLResourceImpl { + /** + * Creates an instance of the resource. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param uri the URI of the new resource. + * @generated + */ + public BpsimResourceImpl(URI uri) { + super(uri); + } + +} //BpsimResourceImpl diff --git a/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/util/BpsimSwitch.java b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/util/BpsimSwitch.java new file mode 100644 index 00000000..7ff49ca0 --- /dev/null +++ b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/util/BpsimSwitch.java @@ -0,0 +1,1057 @@ +/** + */ +package org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.util; + +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.*; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BPSimDataType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BetaDistributionType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BinomialDistributionType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BooleanParameterType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.Calendar; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ConstantParameter; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ControlParameters; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.CostParameters; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DateTimeParameterType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DistributionParameter; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DocumentRoot; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.DurationParameterType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ElementParameters; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ElementParametersType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.EnumParameterType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ErlangDistributionType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ExpressionParameterType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.FloatingParameterType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.GammaDistributionType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.LogNormalDistributionType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.NegativeExponentialDistributionType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.NormalDistributionType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.NumericParameterType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.Parameter; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ParameterValue; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.PoissonDistributionType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.PriorityParameters; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.PropertyParameters; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.PropertyType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ResourceParameters; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.Scenario; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ScenarioParameters; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.ScenarioParametersType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.StringParameterType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.TimeParameters; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.TriangularDistributionType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.TruncatedNormalDistributionType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.UniformDistributionType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.UserDistributionDataPointType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.UserDistributionType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.VendorExtension; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.WeibullDistributionType; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.ecore.EPackage; +import org.eclipse.emf.ecore.util.Switch; + +/** + * <!-- begin-user-doc --> + * The <b>Switch</b> for the model's inheritance hierarchy. + * It supports the call {@link #doSwitch(EObject) doSwitch(object)} + * to invoke the <code>caseXXX</code> method for each class of the model, + * starting with the actual class of the object + * and proceeding up the inheritance hierarchy + * until a non-null result is returned, + * which is the result of the switch. + * <!-- end-user-doc --> + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage + * @generated + */ +public class BpsimSwitch<T> extends Switch<T> { + /** + * The cached model package + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected static BpsimPackage modelPackage; + + /** + * Creates an instance of the switch. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public BpsimSwitch() { + if (modelPackage == null) { + modelPackage = BpsimPackage.eINSTANCE; + } + } + + /** + * Checks whether this is a switch for the given package. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @parameter ePackage the package in question. + * @return whether this is a switch for the given package. + * @generated + */ + @Override + protected boolean isSwitchFor(EPackage ePackage) { + return ePackage == modelPackage; + } + + /** + * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the first non-null result returned by a <code>caseXXX</code> call. + * @generated + */ + @Override + protected T doSwitch(int classifierID, EObject theEObject) { + switch (classifierID) { + case BpsimPackage.BETA_DISTRIBUTION_TYPE: { + BetaDistributionType betaDistributionType = (BetaDistributionType)theEObject; + T result = caseBetaDistributionType(betaDistributionType); + if (result == null) result = caseDistributionParameter(betaDistributionType); + if (result == null) result = caseParameterValue(betaDistributionType); + if (result == null) result = defaultCase(theEObject); + return result; + } + case BpsimPackage.BINOMIAL_DISTRIBUTION_TYPE: { + BinomialDistributionType binomialDistributionType = (BinomialDistributionType)theEObject; + T result = caseBinomialDistributionType(binomialDistributionType); + if (result == null) result = caseDistributionParameter(binomialDistributionType); + if (result == null) result = caseParameterValue(binomialDistributionType); + if (result == null) result = defaultCase(theEObject); + return result; + } + case BpsimPackage.BOOLEAN_PARAMETER_TYPE: { + BooleanParameterType booleanParameterType = (BooleanParameterType)theEObject; + T result = caseBooleanParameterType(booleanParameterType); + if (result == null) result = caseConstantParameter(booleanParameterType); + if (result == null) result = caseParameterValue(booleanParameterType); + if (result == null) result = defaultCase(theEObject); + return result; + } + case BpsimPackage.BP_SIM_DATA_TYPE: { + BPSimDataType bpSimDataType = (BPSimDataType)theEObject; + T result = caseBPSimDataType(bpSimDataType); + if (result == null) result = defaultCase(theEObject); + return result; + } + case BpsimPackage.CALENDAR: { + Calendar calendar = (Calendar)theEObject; + T result = caseCalendar(calendar); + if (result == null) result = defaultCase(theEObject); + return result; + } + case BpsimPackage.CONSTANT_PARAMETER: { + ConstantParameter constantParameter = (ConstantParameter)theEObject; + T result = caseConstantParameter(constantParameter); + if (result == null) result = caseParameterValue(constantParameter); + if (result == null) result = defaultCase(theEObject); + return result; + } + case BpsimPackage.CONTROL_PARAMETERS: { + ControlParameters controlParameters = (ControlParameters)theEObject; + T result = caseControlParameters(controlParameters); + if (result == null) result = defaultCase(theEObject); + return result; + } + case BpsimPackage.COST_PARAMETERS: { + CostParameters costParameters = (CostParameters)theEObject; + T result = caseCostParameters(costParameters); + if (result == null) result = defaultCase(theEObject); + return result; + } + case BpsimPackage.DATE_TIME_PARAMETER_TYPE: { + DateTimeParameterType dateTimeParameterType = (DateTimeParameterType)theEObject; + T result = caseDateTimeParameterType(dateTimeParameterType); + if (result == null) result = caseConstantParameter(dateTimeParameterType); + if (result == null) result = caseParameterValue(dateTimeParameterType); + if (result == null) result = defaultCase(theEObject); + return result; + } + case BpsimPackage.DISTRIBUTION_PARAMETER: { + DistributionParameter distributionParameter = (DistributionParameter)theEObject; + T result = caseDistributionParameter(distributionParameter); + if (result == null) result = caseParameterValue(distributionParameter); + if (result == null) result = defaultCase(theEObject); + return result; + } + case BpsimPackage.DOCUMENT_ROOT: { + DocumentRoot documentRoot = (DocumentRoot)theEObject; + T result = caseDocumentRoot(documentRoot); + if (result == null) result = defaultCase(theEObject); + return result; + } + case BpsimPackage.DURATION_PARAMETER_TYPE: { + DurationParameterType durationParameterType = (DurationParameterType)theEObject; + T result = caseDurationParameterType(durationParameterType); + if (result == null) result = caseConstantParameter(durationParameterType); + if (result == null) result = caseParameterValue(durationParameterType); + if (result == null) result = defaultCase(theEObject); + return result; + } + case BpsimPackage.ELEMENT_PARAMETERS: { + ElementParameters elementParameters = (ElementParameters)theEObject; + T result = caseElementParameters(elementParameters); + if (result == null) result = defaultCase(theEObject); + return result; + } + case BpsimPackage.ELEMENT_PARAMETERS_TYPE: { + ElementParametersType elementParametersType = (ElementParametersType)theEObject; + T result = caseElementParametersType(elementParametersType); + if (result == null) result = caseElementParameters(elementParametersType); + if (result == null) result = defaultCase(theEObject); + return result; + } + case BpsimPackage.ENUM_PARAMETER_TYPE: { + EnumParameterType enumParameterType = (EnumParameterType)theEObject; + T result = caseEnumParameterType(enumParameterType); + if (result == null) result = caseParameterValue(enumParameterType); + if (result == null) result = defaultCase(theEObject); + return result; + } + case BpsimPackage.ERLANG_DISTRIBUTION_TYPE: { + ErlangDistributionType erlangDistributionType = (ErlangDistributionType)theEObject; + T result = caseErlangDistributionType(erlangDistributionType); + if (result == null) result = caseDistributionParameter(erlangDistributionType); + if (result == null) result = caseParameterValue(erlangDistributionType); + if (result == null) result = defaultCase(theEObject); + return result; + } + case BpsimPackage.EXPRESSION_PARAMETER_TYPE: { + ExpressionParameterType expressionParameterType = (ExpressionParameterType)theEObject; + T result = caseExpressionParameterType(expressionParameterType); + if (result == null) result = caseParameterValue(expressionParameterType); + if (result == null) result = defaultCase(theEObject); + return result; + } + case BpsimPackage.FLOATING_PARAMETER_TYPE: { + FloatingParameterType floatingParameterType = (FloatingParameterType)theEObject; + T result = caseFloatingParameterType(floatingParameterType); + if (result == null) result = caseConstantParameter(floatingParameterType); + if (result == null) result = caseParameterValue(floatingParameterType); + if (result == null) result = defaultCase(theEObject); + return result; + } + case BpsimPackage.GAMMA_DISTRIBUTION_TYPE: { + GammaDistributionType gammaDistributionType = (GammaDistributionType)theEObject; + T result = caseGammaDistributionType(gammaDistributionType); + if (result == null) result = caseDistributionParameter(gammaDistributionType); + if (result == null) result = caseParameterValue(gammaDistributionType); + if (result == null) result = defaultCase(theEObject); + return result; + } + case BpsimPackage.LOG_NORMAL_DISTRIBUTION_TYPE: { + LogNormalDistributionType logNormalDistributionType = (LogNormalDistributionType)theEObject; + T result = caseLogNormalDistributionType(logNormalDistributionType); + if (result == null) result = caseDistributionParameter(logNormalDistributionType); + if (result == null) result = caseParameterValue(logNormalDistributionType); + if (result == null) result = defaultCase(theEObject); + return result; + } + case BpsimPackage.NEGATIVE_EXPONENTIAL_DISTRIBUTION_TYPE: { + NegativeExponentialDistributionType negativeExponentialDistributionType = (NegativeExponentialDistributionType)theEObject; + T result = caseNegativeExponentialDistributionType(negativeExponentialDistributionType); + if (result == null) result = caseDistributionParameter(negativeExponentialDistributionType); + if (result == null) result = caseParameterValue(negativeExponentialDistributionType); + if (result == null) result = defaultCase(theEObject); + return result; + } + case BpsimPackage.NORMAL_DISTRIBUTION_TYPE: { + NormalDistributionType normalDistributionType = (NormalDistributionType)theEObject; + T result = caseNormalDistributionType(normalDistributionType); + if (result == null) result = caseDistributionParameter(normalDistributionType); + if (result == null) result = caseParameterValue(normalDistributionType); + if (result == null) result = defaultCase(theEObject); + return result; + } + case BpsimPackage.NUMERIC_PARAMETER_TYPE: { + NumericParameterType numericParameterType = (NumericParameterType)theEObject; + T result = caseNumericParameterType(numericParameterType); + if (result == null) result = caseConstantParameter(numericParameterType); + if (result == null) result = caseParameterValue(numericParameterType); + if (result == null) result = defaultCase(theEObject); + return result; + } + case BpsimPackage.PARAMETER: { + Parameter parameter = (Parameter)theEObject; + T result = caseParameter(parameter); + if (result == null) result = defaultCase(theEObject); + return result; + } + case BpsimPackage.PARAMETER_VALUE: { + ParameterValue parameterValue = (ParameterValue)theEObject; + T result = caseParameterValue(parameterValue); + if (result == null) result = defaultCase(theEObject); + return result; + } + case BpsimPackage.POISSON_DISTRIBUTION_TYPE: { + PoissonDistributionType poissonDistributionType = (PoissonDistributionType)theEObject; + T result = casePoissonDistributionType(poissonDistributionType); + if (result == null) result = caseDistributionParameter(poissonDistributionType); + if (result == null) result = caseParameterValue(poissonDistributionType); + if (result == null) result = defaultCase(theEObject); + return result; + } + case BpsimPackage.PRIORITY_PARAMETERS: { + PriorityParameters priorityParameters = (PriorityParameters)theEObject; + T result = casePriorityParameters(priorityParameters); + if (result == null) result = defaultCase(theEObject); + return result; + } + case BpsimPackage.PROPERTY_PARAMETERS: { + PropertyParameters propertyParameters = (PropertyParameters)theEObject; + T result = casePropertyParameters(propertyParameters); + if (result == null) result = defaultCase(theEObject); + return result; + } + case BpsimPackage.PROPERTY_TYPE: { + PropertyType propertyType = (PropertyType)theEObject; + T result = casePropertyType(propertyType); + if (result == null) result = caseParameter(propertyType); + if (result == null) result = defaultCase(theEObject); + return result; + } + case BpsimPackage.RESOURCE_PARAMETERS: { + ResourceParameters resourceParameters = (ResourceParameters)theEObject; + T result = caseResourceParameters(resourceParameters); + if (result == null) result = defaultCase(theEObject); + return result; + } + case BpsimPackage.SCENARIO: { + Scenario scenario = (Scenario)theEObject; + T result = caseScenario(scenario); + if (result == null) result = defaultCase(theEObject); + return result; + } + case BpsimPackage.SCENARIO_PARAMETERS: { + ScenarioParameters scenarioParameters = (ScenarioParameters)theEObject; + T result = caseScenarioParameters(scenarioParameters); + if (result == null) result = defaultCase(theEObject); + return result; + } + case BpsimPackage.SCENARIO_PARAMETERS_TYPE: { + ScenarioParametersType scenarioParametersType = (ScenarioParametersType)theEObject; + T result = caseScenarioParametersType(scenarioParametersType); + if (result == null) result = caseScenarioParameters(scenarioParametersType); + if (result == null) result = defaultCase(theEObject); + return result; + } + case BpsimPackage.STRING_PARAMETER_TYPE: { + StringParameterType stringParameterType = (StringParameterType)theEObject; + T result = caseStringParameterType(stringParameterType); + if (result == null) result = caseConstantParameter(stringParameterType); + if (result == null) result = caseParameterValue(stringParameterType); + if (result == null) result = defaultCase(theEObject); + return result; + } + case BpsimPackage.TIME_PARAMETERS: { + TimeParameters timeParameters = (TimeParameters)theEObject; + T result = caseTimeParameters(timeParameters); + if (result == null) result = defaultCase(theEObject); + return result; + } + case BpsimPackage.TRIANGULAR_DISTRIBUTION_TYPE: { + TriangularDistributionType triangularDistributionType = (TriangularDistributionType)theEObject; + T result = caseTriangularDistributionType(triangularDistributionType); + if (result == null) result = caseDistributionParameter(triangularDistributionType); + if (result == null) result = caseParameterValue(triangularDistributionType); + if (result == null) result = defaultCase(theEObject); + return result; + } + case BpsimPackage.TRUNCATED_NORMAL_DISTRIBUTION_TYPE: { + TruncatedNormalDistributionType truncatedNormalDistributionType = (TruncatedNormalDistributionType)theEObject; + T result = caseTruncatedNormalDistributionType(truncatedNormalDistributionType); + if (result == null) result = caseDistributionParameter(truncatedNormalDistributionType); + if (result == null) result = caseParameterValue(truncatedNormalDistributionType); + if (result == null) result = defaultCase(theEObject); + return result; + } + case BpsimPackage.UNIFORM_DISTRIBUTION_TYPE: { + UniformDistributionType uniformDistributionType = (UniformDistributionType)theEObject; + T result = caseUniformDistributionType(uniformDistributionType); + if (result == null) result = caseDistributionParameter(uniformDistributionType); + if (result == null) result = caseParameterValue(uniformDistributionType); + if (result == null) result = defaultCase(theEObject); + return result; + } + case BpsimPackage.USER_DISTRIBUTION_DATA_POINT_TYPE: { + UserDistributionDataPointType userDistributionDataPointType = (UserDistributionDataPointType)theEObject; + T result = caseUserDistributionDataPointType(userDistributionDataPointType); + if (result == null) result = defaultCase(theEObject); + return result; + } + case BpsimPackage.USER_DISTRIBUTION_TYPE: { + UserDistributionType userDistributionType = (UserDistributionType)theEObject; + T result = caseUserDistributionType(userDistributionType); + if (result == null) result = caseDistributionParameter(userDistributionType); + if (result == null) result = caseParameterValue(userDistributionType); + if (result == null) result = defaultCase(theEObject); + return result; + } + case BpsimPackage.VENDOR_EXTENSION: { + VendorExtension vendorExtension = (VendorExtension)theEObject; + T result = caseVendorExtension(vendorExtension); + if (result == null) result = defaultCase(theEObject); + return result; + } + case BpsimPackage.WEIBULL_DISTRIBUTION_TYPE: { + WeibullDistributionType weibullDistributionType = (WeibullDistributionType)theEObject; + T result = caseWeibullDistributionType(weibullDistributionType); + if (result == null) result = caseDistributionParameter(weibullDistributionType); + if (result == null) result = caseParameterValue(weibullDistributionType); + if (result == null) result = defaultCase(theEObject); + return result; + } + default: return defaultCase(theEObject); + } + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Beta Distribution Type</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>Beta Distribution Type</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseBetaDistributionType(BetaDistributionType object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Binomial Distribution Type</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>Binomial Distribution Type</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseBinomialDistributionType(BinomialDistributionType object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Boolean Parameter Type</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>Boolean Parameter Type</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseBooleanParameterType(BooleanParameterType object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>BP Sim Data Type</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>BP Sim Data Type</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseBPSimDataType(BPSimDataType object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Calendar</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>Calendar</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseCalendar(Calendar object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Constant Parameter</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>Constant Parameter</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseConstantParameter(ConstantParameter object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Control Parameters</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>Control Parameters</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseControlParameters(ControlParameters object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Cost Parameters</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>Cost Parameters</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseCostParameters(CostParameters object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Date Time Parameter Type</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>Date Time Parameter Type</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseDateTimeParameterType(DateTimeParameterType object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Distribution Parameter</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>Distribution Parameter</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseDistributionParameter(DistributionParameter object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Document 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>Document Root</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseDocumentRoot(DocumentRoot object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Duration Parameter Type</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>Duration Parameter Type</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseDurationParameterType(DurationParameterType object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Element Parameters</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>Element Parameters</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseElementParameters(ElementParameters object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Element Parameters Type</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>Element Parameters Type</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseElementParametersType(ElementParametersType object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Enum Parameter Type</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>Enum Parameter Type</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseEnumParameterType(EnumParameterType object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Erlang Distribution Type</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>Erlang Distribution Type</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseErlangDistributionType(ErlangDistributionType object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>SingleAssignment Parameter Type</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>SingleAssignment Parameter Type</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseExpressionParameterType(ExpressionParameterType object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Floating Parameter Type</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>Floating Parameter Type</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseFloatingParameterType(FloatingParameterType object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Gamma Distribution Type</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>Gamma Distribution Type</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseGammaDistributionType(GammaDistributionType object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Log Normal Distribution Type</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>Log Normal Distribution Type</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseLogNormalDistributionType(LogNormalDistributionType object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Negative Exponential Distribution Type</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>Negative Exponential Distribution Type</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseNegativeExponentialDistributionType(NegativeExponentialDistributionType object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Normal Distribution Type</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>Normal Distribution Type</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseNormalDistributionType(NormalDistributionType object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Numeric Parameter Type</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>Numeric Parameter Type</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseNumericParameterType(NumericParameterType object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Parameter</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>Parameter</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseParameter(Parameter object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Parameter Value</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>Parameter Value</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseParameterValue(ParameterValue object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Poisson Distribution Type</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>Poisson Distribution Type</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T casePoissonDistributionType(PoissonDistributionType object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Priority Parameters</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>Priority Parameters</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T casePriorityParameters(PriorityParameters object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Property Parameters</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>Property Parameters</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T casePropertyParameters(PropertyParameters object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Property Type</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>Property Type</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T casePropertyType(PropertyType object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Resource Parameters</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>Resource Parameters</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseResourceParameters(ResourceParameters object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Scenario</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>Scenario</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseScenario(Scenario object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Scenario Parameters</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>Scenario Parameters</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseScenarioParameters(ScenarioParameters object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Scenario Parameters Type</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>Scenario Parameters Type</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseScenarioParametersType(ScenarioParametersType object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>String Parameter Type</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>String Parameter Type</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseStringParameterType(StringParameterType object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Time Parameters</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>Time Parameters</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseTimeParameters(TimeParameters object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Triangular Distribution Type</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>Triangular Distribution Type</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseTriangularDistributionType(TriangularDistributionType object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Truncated Normal Distribution Type</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>Truncated Normal Distribution Type</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseTruncatedNormalDistributionType(TruncatedNormalDistributionType object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Uniform Distribution Type</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>Uniform Distribution Type</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseUniformDistributionType(UniformDistributionType object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>User Distribution Data Point Type</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>User Distribution Data Point Type</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseUserDistributionDataPointType(UserDistributionDataPointType object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>User Distribution Type</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>User Distribution Type</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseUserDistributionType(UserDistributionType object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Vendor Extension</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>Vendor Extension</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseVendorExtension(VendorExtension object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Weibull Distribution Type</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>Weibull Distribution Type</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseWeibullDistributionType(WeibullDistributionType object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>EObject</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch, but this is the last case anyway. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>EObject</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) + * @generated + */ + @Override + public T defaultCase(EObject object) { + return null; + } + +} //BpsimSwitch diff --git a/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/util/BpsimXMLProcessor.java b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/util/BpsimXMLProcessor.java new file mode 100644 index 00000000..c6baeeb7 --- /dev/null +++ b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/bpsim/util/BpsimXMLProcessor.java @@ -0,0 +1,47 @@ +/** + */ +package org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.util; + +import java.util.Map; + +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage; +import org.eclipse.emf.ecore.EPackage; +import org.eclipse.emf.ecore.resource.Resource; +import org.eclipse.emf.ecore.xmi.util.XMLProcessor; + +/** + * This class contains helper methods to serialize and deserialize XML documents + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ +public class BpsimXMLProcessor extends XMLProcessor { + + /** + * Public constructor to instantiate the helper. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public BpsimXMLProcessor() { + super((EPackage.Registry.INSTANCE)); + BpsimPackage.eINSTANCE.eClass(); + } + + /** + * Register for "*" and "xml" file extensions the BpsimResourceFactoryImpl factory. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected Map<String, Resource.Factory> getRegistrations() { + if (registrations == null) { + super.getRegistrations(); + registrations.put(XML_EXTENSION, new BpsimResourceFactoryImpl()); + registrations.put(STAR_EXTENSION, new BpsimResourceFactoryImpl()); + } + return registrations; + } + +} //BpsimXMLProcessor diff --git a/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/drools/BPSimDataType.java b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/drools/BPSimDataType.java new file mode 100644 index 00000000..afba4c85 --- /dev/null +++ b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/drools/BPSimDataType.java @@ -0,0 +1,17 @@ +/** + */ +package org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools; + + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>BP Sim Data Type</b></em>'. + * <!-- end-user-doc --> + * + * + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.DroolsPackage#getBPSimDataType() + * @model + * @generated + */ +public interface BPSimDataType extends org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BPSimDataType { +} // BPSimDataType diff --git a/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/drools/DocumentRoot.java b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/drools/DocumentRoot.java new file mode 100644 index 00000000..c36428f5 --- /dev/null +++ b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/drools/DocumentRoot.java @@ -0,0 +1,360 @@ +/** + */ +package org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools; + +import java.math.BigInteger; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BPSimDataType; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Document Root</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.DocumentRoot#getGlobal <em>Global</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.DocumentRoot#getImportType <em>Import Type</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.DocumentRoot#getMetadata <em>Metadata</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.DocumentRoot#getMetaentry <em>Metaentry</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.DocumentRoot#getOnEntryScript <em>On Entry Script</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.DocumentRoot#getOnExitScript <em>On Exit Script</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.DocumentRoot#getBpsimData <em>Bpsim Data</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.DocumentRoot#getPackageName <em>Package Name</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.DocumentRoot#getPriority <em>Priority</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.DocumentRoot#getRuleFlowGroup <em>Rule Flow Group</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.DocumentRoot#getTaskName <em>Task Name</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.DocumentRoot#getVersion <em>Version</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.DroolsPackage#getDocumentRoot() + * @model extendedMetaData="name='' kind='mixed'" + * @generated + */ +public interface DocumentRoot extends org.eclipse.bpmn2.DocumentRoot { + /** + * Returns the value of the '<em><b>Global</b></em>' containment reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Global</em>' containment reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Global</em>' containment reference. + * @see #setGlobal(GlobalType) + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.DroolsPackage#getDocumentRoot_Global() + * @model containment="true" upper="-2" transient="true" volatile="true" derived="true" + * extendedMetaData="kind='element' name='global' namespace='##targetNamespace'" + * @generated + */ + GlobalType getGlobal(); + + /** + * Sets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.DocumentRoot#getGlobal <em>Global</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Global</em>' containment reference. + * @see #getGlobal() + * @generated + */ + void setGlobal(GlobalType value); + + /** + * Returns the value of the '<em><b>Import Type</b></em>' containment reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Import Type</em>' containment reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Import Type</em>' containment reference. + * @see #setImportType(ImportType) + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.DroolsPackage#getDocumentRoot_ImportType() + * @model containment="true" upper="-2" transient="true" volatile="true" derived="true" + * extendedMetaData="kind='element' name='import' namespace='##targetNamespace'" + * @generated + */ + ImportType getImportType(); + + /** + * Sets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.DocumentRoot#getImportType <em>Import Type</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Import Type</em>' containment reference. + * @see #getImportType() + * @generated + */ + void setImportType(ImportType value); + + /** + * Returns the value of the '<em><b>Metadata</b></em>' containment reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Metadata</em>' containment reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Metadata</em>' containment reference. + * @see #setMetadata(MetadataType) + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.DroolsPackage#getDocumentRoot_Metadata() + * @model containment="true" upper="-2" transient="true" volatile="true" derived="true" + * extendedMetaData="kind='element' name='metadata' namespace='##targetNamespace'" + * @generated + */ + MetadataType getMetadata(); + + /** + * Sets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.DocumentRoot#getMetadata <em>Metadata</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Metadata</em>' containment reference. + * @see #getMetadata() + * @generated + */ + void setMetadata(MetadataType value); + + /** + * Returns the value of the '<em><b>Metaentry</b></em>' containment reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Metaentry</em>' containment reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Metaentry</em>' containment reference. + * @see #setMetaentry(MetaentryType) + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.DroolsPackage#getDocumentRoot_Metaentry() + * @model containment="true" upper="-2" transient="true" volatile="true" derived="true" + * extendedMetaData="kind='element' name='metaentry' namespace='##targetNamespace'" + * @generated + */ + MetaentryType getMetaentry(); + + /** + * Sets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.DocumentRoot#getMetaentry <em>Metaentry</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Metaentry</em>' containment reference. + * @see #getMetaentry() + * @generated + */ + void setMetaentry(MetaentryType value); + + /** + * Returns the value of the '<em><b>On Entry Script</b></em>' containment reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>On Entry Script</em>' containment reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>On Entry Script</em>' containment reference. + * @see #setOnEntryScript(OnEntryScriptType) + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.DroolsPackage#getDocumentRoot_OnEntryScript() + * @model containment="true" upper="-2" transient="true" volatile="true" derived="true" + * extendedMetaData="kind='element' name='onEntry-script' namespace='##targetNamespace'" + * @generated + */ + OnEntryScriptType getOnEntryScript(); + + /** + * Sets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.DocumentRoot#getOnEntryScript <em>On Entry Script</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>On Entry Script</em>' containment reference. + * @see #getOnEntryScript() + * @generated + */ + void setOnEntryScript(OnEntryScriptType value); + + /** + * Returns the value of the '<em><b>On Exit Script</b></em>' containment reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>On Exit Script</em>' containment reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>On Exit Script</em>' containment reference. + * @see #setOnExitScript(OnExitScriptType) + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.DroolsPackage#getDocumentRoot_OnExitScript() + * @model containment="true" upper="-2" transient="true" volatile="true" derived="true" + * extendedMetaData="kind='element' name='onExit-script' namespace='##targetNamespace'" + * @generated + */ + OnExitScriptType getOnExitScript(); + + /** + * Sets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.DocumentRoot#getOnExitScript <em>On Exit Script</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>On Exit Script</em>' containment reference. + * @see #getOnExitScript() + * @generated + */ + void setOnExitScript(OnExitScriptType value); + + /** + * Returns the value of the '<em><b>Bpsim Data</b></em>' containment reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Bpsim Data</em>' containment reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Bpsim Data</em>' containment reference. + * @see #setBpsimData(BPSimDataType) + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.DroolsPackage#getDocumentRoot_BpsimData() + * @model containment="true" upper="-2" transient="true" volatile="true" derived="true" + * extendedMetaData="kind='element' name='BPSimData' namespace='##targetNamespace'" + * @generated + */ + BPSimDataType getBpsimData(); + + /** + * Sets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.DocumentRoot#getBpsimData <em>Bpsim Data</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Bpsim Data</em>' containment reference. + * @see #getBpsimData() + * @generated + */ + void setBpsimData(BPSimDataType value); + + /** + * Returns the value of the '<em><b>Package Name</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Package Name</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Package Name</em>' attribute. + * @see #setPackageName(String) + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.DroolsPackage#getDocumentRoot_PackageName() + * @model dataType="org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.PackageNameType" + * extendedMetaData="kind='attribute' name='packageName' namespace='##targetNamespace'" + * @generated + */ + String getPackageName(); + + /** + * Sets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.DocumentRoot#getPackageName <em>Package Name</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Package Name</em>' attribute. + * @see #getPackageName() + * @generated + */ + void setPackageName(String value); + + /** + * Returns the value of the '<em><b>Priority</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Priority</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Priority</em>' attribute. + * @see #setPriority(BigInteger) + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.DroolsPackage#getDocumentRoot_Priority() + * @model dataType="org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.PriorityType" + * extendedMetaData="kind='attribute' name='priority' namespace='##targetNamespace'" + * @generated + */ + BigInteger getPriority(); + + /** + * Sets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.DocumentRoot#getPriority <em>Priority</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Priority</em>' attribute. + * @see #getPriority() + * @generated + */ + void setPriority(BigInteger value); + + /** + * Returns the value of the '<em><b>Rule Flow Group</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Rule Flow Group</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Rule Flow Group</em>' attribute. + * @see #setRuleFlowGroup(String) + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.DroolsPackage#getDocumentRoot_RuleFlowGroup() + * @model dataType="org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.RuleFlowGroupType" + * extendedMetaData="kind='attribute' name='ruleFlowGroup' namespace='##targetNamespace'" + * @generated + */ + String getRuleFlowGroup(); + + /** + * Sets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.DocumentRoot#getRuleFlowGroup <em>Rule Flow Group</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Rule Flow Group</em>' attribute. + * @see #getRuleFlowGroup() + * @generated + */ + void setRuleFlowGroup(String value); + + /** + * Returns the value of the '<em><b>Task Name</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Task Name</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Task Name</em>' attribute. + * @see #setTaskName(String) + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.DroolsPackage#getDocumentRoot_TaskName() + * @model dataType="org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.TaskNameType" + * extendedMetaData="kind='attribute' name='taskName' namespace='##targetNamespace'" + * @generated + */ + String getTaskName(); + + /** + * Sets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.DocumentRoot#getTaskName <em>Task Name</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Task Name</em>' attribute. + * @see #getTaskName() + * @generated + */ + void setTaskName(String value); + + /** + * Returns the value of the '<em><b>Version</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Version</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Version</em>' attribute. + * @see #setVersion(String) + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.DroolsPackage#getDocumentRoot_Version() + * @model dataType="org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.VersionType" + * extendedMetaData="kind='attribute' name='version' namespace='##targetNamespace'" + * @generated + */ + String getVersion(); + + /** + * Sets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.DocumentRoot#getVersion <em>Version</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Version</em>' attribute. + * @see #getVersion() + * @generated + */ + void setVersion(String value); + +} // DocumentRoot diff --git a/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/drools/DroolsFactory.java b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/drools/DroolsFactory.java new file mode 100644 index 00000000..497a8926 --- /dev/null +++ b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/drools/DroolsFactory.java @@ -0,0 +1,114 @@ +/** + */ +package org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools; + +import org.eclipse.emf.ecore.EFactory; + +/** + * <!-- begin-user-doc --> + * The <b>Factory</b> for the model. + * It provides a create method for each non-abstract class of the model. + * <!-- end-user-doc --> + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.DroolsPackage + * @generated + */ +public interface DroolsFactory extends EFactory { + /** + * The singleton instance of the factory. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + DroolsFactory eINSTANCE = org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.impl.DroolsFactoryImpl.init(); + + /** + * Returns a new object of class '<em>Document Root</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Document Root</em>'. + * @generated + */ + DocumentRoot createDocumentRoot(); + + /** + * Returns a new object of class '<em>Global Type</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Global Type</em>'. + * @generated + */ + GlobalType createGlobalType(); + + /** + * Returns a new object of class '<em>Import Type</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Import Type</em>'. + * @generated + */ + ImportType createImportType(); + + /** + * Returns a new object of class '<em>Metadata Type</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Metadata Type</em>'. + * @generated + */ + MetadataType createMetadataType(); + + /** + * Returns a new object of class '<em>Metaentry Type</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Metaentry Type</em>'. + * @generated + */ + MetaentryType createMetaentryType(); + + /** + * Returns a new object of class '<em>On Entry Script Type</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>On Entry Script Type</em>'. + * @generated + */ + OnEntryScriptType createOnEntryScriptType(); + + /** + * Returns a new object of class '<em>On Exit Script Type</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>On Exit Script Type</em>'. + * @generated + */ + OnExitScriptType createOnExitScriptType(); + + /** + * Returns a new object of class '<em>BP Sim Data Type</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>BP Sim Data Type</em>'. + * @generated + */ + BPSimDataType createBPSimDataType(); + + /** + * Returns a new object of class '<em>Callable Element Proxy</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Callable Element Proxy</em>'. + * @generated + */ + ExternalProcess createExternalProcess(); + + /** + * Returns the package supported by this factory. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the package supported by this factory. + * @generated + */ + DroolsPackage getDroolsPackage(); + +} //DroolsFactory diff --git a/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/drools/DroolsPackage.java b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/drools/DroolsPackage.java new file mode 100644 index 00000000..882fc7ba --- /dev/null +++ b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/drools/DroolsPackage.java @@ -0,0 +1,2617 @@ +/** + */ +package org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools; + +import org.eclipse.bpmn2.Bpmn2Package; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage; +import org.eclipse.emf.ecore.EAttribute; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EDataType; +import org.eclipse.emf.ecore.EPackage; +import org.eclipse.emf.ecore.EReference; + +/** + * <!-- begin-user-doc --> + * The <b>Package</b> for the model. + * It contains accessors for the meta objects to represent + * <ul> + * <li>each class,</li> + * <li>each feature of each class,</li> + * <li>each enum,</li> + * <li>and each data type</li> + * </ul> + * <!-- end-user-doc --> + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.DroolsFactory + * @model kind="package" + * @generated + */ +public interface DroolsPackage extends EPackage { + /** + * The package name. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + String eNAME = "drools"; + + /** + * The package namespace URI. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + String eNS_URI = "http://www.jboss.org/drools"; + + /** + * The package namespace name. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + String eNS_PREFIX = "drools"; + + /** + * The singleton instance of the package. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + DroolsPackage eINSTANCE = org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.impl.DroolsPackageImpl.init(); + + /** + * The meta object id for the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.impl.DocumentRootImpl <em>Document Root</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.impl.DocumentRootImpl + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.impl.DroolsPackageImpl#getDocumentRoot() + * @generated + */ + int DOCUMENT_ROOT = 0; + + /** + * The feature id for the '<em><b>Mixed</b></em>' attribute list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__MIXED = Bpmn2Package.DOCUMENT_ROOT__MIXED; + + /** + * The feature id for the '<em><b>XMLNS Prefix Map</b></em>' map. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__XMLNS_PREFIX_MAP = Bpmn2Package.DOCUMENT_ROOT__XMLNS_PREFIX_MAP; + + /** + * The feature id for the '<em><b>XSI Schema Location</b></em>' map. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__XSI_SCHEMA_LOCATION = Bpmn2Package.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION; + + /** + * The feature id for the '<em><b>Activity</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__ACTIVITY = Bpmn2Package.DOCUMENT_ROOT__ACTIVITY; + + /** + * The feature id for the '<em><b>Ad Hoc Sub Process</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__AD_HOC_SUB_PROCESS = Bpmn2Package.DOCUMENT_ROOT__AD_HOC_SUB_PROCESS; + + /** + * The feature id for the '<em><b>Flow Element</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__FLOW_ELEMENT = Bpmn2Package.DOCUMENT_ROOT__FLOW_ELEMENT; + + /** + * The feature id for the '<em><b>Artifact</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__ARTIFACT = Bpmn2Package.DOCUMENT_ROOT__ARTIFACT; + + /** + * The feature id for the '<em><b>MultipleAssignments</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__ASSIGNMENT = Bpmn2Package.DOCUMENT_ROOT__ASSIGNMENT; + + /** + * The feature id for the '<em><b>Association</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__ASSOCIATION = Bpmn2Package.DOCUMENT_ROOT__ASSOCIATION; + + /** + * The feature id for the '<em><b>Auditing</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__AUDITING = Bpmn2Package.DOCUMENT_ROOT__AUDITING; + + /** + * The feature id for the '<em><b>Base Element</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__BASE_ELEMENT = Bpmn2Package.DOCUMENT_ROOT__BASE_ELEMENT; + + /** + * The feature id for the '<em><b>Base Element With Mixed Content</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__BASE_ELEMENT_WITH_MIXED_CONTENT = Bpmn2Package.DOCUMENT_ROOT__BASE_ELEMENT_WITH_MIXED_CONTENT; + + /** + * The feature id for the '<em><b>Boundary Event</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__BOUNDARY_EVENT = Bpmn2Package.DOCUMENT_ROOT__BOUNDARY_EVENT; + + /** + * The feature id for the '<em><b>Business Rule Task</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__BUSINESS_RULE_TASK = Bpmn2Package.DOCUMENT_ROOT__BUSINESS_RULE_TASK; + + /** + * The feature id for the '<em><b>Callable Element</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__CALLABLE_ELEMENT = Bpmn2Package.DOCUMENT_ROOT__CALLABLE_ELEMENT; + + /** + * The feature id for the '<em><b>Call Activity</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__CALL_ACTIVITY = Bpmn2Package.DOCUMENT_ROOT__CALL_ACTIVITY; + + /** + * The feature id for the '<em><b>Call Choreography</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__CALL_CHOREOGRAPHY = Bpmn2Package.DOCUMENT_ROOT__CALL_CHOREOGRAPHY; + + /** + * The feature id for the '<em><b>Call Conversation</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__CALL_CONVERSATION = Bpmn2Package.DOCUMENT_ROOT__CALL_CONVERSATION; + + /** + * The feature id for the '<em><b>Conversation Node</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__CONVERSATION_NODE = Bpmn2Package.DOCUMENT_ROOT__CONVERSATION_NODE; + + /** + * The feature id for the '<em><b>Cancel Event Definition</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__CANCEL_EVENT_DEFINITION = Bpmn2Package.DOCUMENT_ROOT__CANCEL_EVENT_DEFINITION; + + /** + * The feature id for the '<em><b>Event Definition</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__EVENT_DEFINITION = Bpmn2Package.DOCUMENT_ROOT__EVENT_DEFINITION; + + /** + * The feature id for the '<em><b>Root Element</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__ROOT_ELEMENT = Bpmn2Package.DOCUMENT_ROOT__ROOT_ELEMENT; + + /** + * The feature id for the '<em><b>Catch Event</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__CATCH_EVENT = Bpmn2Package.DOCUMENT_ROOT__CATCH_EVENT; + + /** + * The feature id for the '<em><b>Category</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__CATEGORY = Bpmn2Package.DOCUMENT_ROOT__CATEGORY; + + /** + * The feature id for the '<em><b>Category Value</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__CATEGORY_VALUE = Bpmn2Package.DOCUMENT_ROOT__CATEGORY_VALUE; + + /** + * The feature id for the '<em><b>Choreography</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__CHOREOGRAPHY = Bpmn2Package.DOCUMENT_ROOT__CHOREOGRAPHY; + + /** + * The feature id for the '<em><b>Collaboration</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__COLLABORATION = Bpmn2Package.DOCUMENT_ROOT__COLLABORATION; + + /** + * The feature id for the '<em><b>Choreography Activity</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__CHOREOGRAPHY_ACTIVITY = Bpmn2Package.DOCUMENT_ROOT__CHOREOGRAPHY_ACTIVITY; + + /** + * The feature id for the '<em><b>Choreography Task</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__CHOREOGRAPHY_TASK = Bpmn2Package.DOCUMENT_ROOT__CHOREOGRAPHY_TASK; + + /** + * The feature id for the '<em><b>Compensate Event Definition</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__COMPENSATE_EVENT_DEFINITION = Bpmn2Package.DOCUMENT_ROOT__COMPENSATE_EVENT_DEFINITION; + + /** + * The feature id for the '<em><b>Complex Behavior Definition</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__COMPLEX_BEHAVIOR_DEFINITION = Bpmn2Package.DOCUMENT_ROOT__COMPLEX_BEHAVIOR_DEFINITION; + + /** + * The feature id for the '<em><b>Complex Gateway</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__COMPLEX_GATEWAY = Bpmn2Package.DOCUMENT_ROOT__COMPLEX_GATEWAY; + + /** + * The feature id for the '<em><b>Conditional Event Definition</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__CONDITIONAL_EVENT_DEFINITION = Bpmn2Package.DOCUMENT_ROOT__CONDITIONAL_EVENT_DEFINITION; + + /** + * The feature id for the '<em><b>Conversation</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__CONVERSATION = Bpmn2Package.DOCUMENT_ROOT__CONVERSATION; + + /** + * The feature id for the '<em><b>Conversation Association</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__CONVERSATION_ASSOCIATION = Bpmn2Package.DOCUMENT_ROOT__CONVERSATION_ASSOCIATION; + + /** + * The feature id for the '<em><b>Conversation Link</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__CONVERSATION_LINK = Bpmn2Package.DOCUMENT_ROOT__CONVERSATION_LINK; + + /** + * The feature id for the '<em><b>Correlation Key</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__CORRELATION_KEY = Bpmn2Package.DOCUMENT_ROOT__CORRELATION_KEY; + + /** + * The feature id for the '<em><b>Correlation Property</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__CORRELATION_PROPERTY = Bpmn2Package.DOCUMENT_ROOT__CORRELATION_PROPERTY; + + /** + * The feature id for the '<em><b>Correlation Property Binding</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__CORRELATION_PROPERTY_BINDING = Bpmn2Package.DOCUMENT_ROOT__CORRELATION_PROPERTY_BINDING; + + /** + * The feature id for the '<em><b>Correlation Property Retrieval SingleAssignment</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__CORRELATION_PROPERTY_RETRIEVAL_EXPRESSION = Bpmn2Package.DOCUMENT_ROOT__CORRELATION_PROPERTY_RETRIEVAL_EXPRESSION; + + /** + * The feature id for the '<em><b>Correlation Subscription</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__CORRELATION_SUBSCRIPTION = Bpmn2Package.DOCUMENT_ROOT__CORRELATION_SUBSCRIPTION; + + /** + * The feature id for the '<em><b>Data Association</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__DATA_ASSOCIATION = Bpmn2Package.DOCUMENT_ROOT__DATA_ASSOCIATION; + + /** + * The feature id for the '<em><b>Data Input</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__DATA_INPUT = Bpmn2Package.DOCUMENT_ROOT__DATA_INPUT; + + /** + * The feature id for the '<em><b>Data Input Association</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__DATA_INPUT_ASSOCIATION = Bpmn2Package.DOCUMENT_ROOT__DATA_INPUT_ASSOCIATION; + + /** + * The feature id for the '<em><b>Data Object</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__DATA_OBJECT = Bpmn2Package.DOCUMENT_ROOT__DATA_OBJECT; + + /** + * The feature id for the '<em><b>Data Object Reference</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__DATA_OBJECT_REFERENCE = Bpmn2Package.DOCUMENT_ROOT__DATA_OBJECT_REFERENCE; + + /** + * The feature id for the '<em><b>Data Output</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__DATA_OUTPUT = Bpmn2Package.DOCUMENT_ROOT__DATA_OUTPUT; + + /** + * The feature id for the '<em><b>Data Output Association</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__DATA_OUTPUT_ASSOCIATION = Bpmn2Package.DOCUMENT_ROOT__DATA_OUTPUT_ASSOCIATION; + + /** + * The feature id for the '<em><b>Data State</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__DATA_STATE = Bpmn2Package.DOCUMENT_ROOT__DATA_STATE; + + /** + * The feature id for the '<em><b>Data Store</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__DATA_STORE = Bpmn2Package.DOCUMENT_ROOT__DATA_STORE; + + /** + * The feature id for the '<em><b>Data Store Reference</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__DATA_STORE_REFERENCE = Bpmn2Package.DOCUMENT_ROOT__DATA_STORE_REFERENCE; + + /** + * The feature id for the '<em><b>Definitions</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__DEFINITIONS = Bpmn2Package.DOCUMENT_ROOT__DEFINITIONS; + + /** + * The feature id for the '<em><b>Documentation</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__DOCUMENTATION = Bpmn2Package.DOCUMENT_ROOT__DOCUMENTATION; + + /** + * The feature id for the '<em><b>End Event</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__END_EVENT = Bpmn2Package.DOCUMENT_ROOT__END_EVENT; + + /** + * The feature id for the '<em><b>End Point</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__END_POINT = Bpmn2Package.DOCUMENT_ROOT__END_POINT; + + /** + * The feature id for the '<em><b>Error</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__ERROR = Bpmn2Package.DOCUMENT_ROOT__ERROR; + + /** + * The feature id for the '<em><b>Error Event Definition</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__ERROR_EVENT_DEFINITION = Bpmn2Package.DOCUMENT_ROOT__ERROR_EVENT_DEFINITION; + + /** + * The feature id for the '<em><b>Escalation</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__ESCALATION = Bpmn2Package.DOCUMENT_ROOT__ESCALATION; + + /** + * The feature id for the '<em><b>Escalation Event Definition</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__ESCALATION_EVENT_DEFINITION = Bpmn2Package.DOCUMENT_ROOT__ESCALATION_EVENT_DEFINITION; + + /** + * The feature id for the '<em><b>Event</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__EVENT = Bpmn2Package.DOCUMENT_ROOT__EVENT; + + /** + * The feature id for the '<em><b>Event Based Gateway</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__EVENT_BASED_GATEWAY = Bpmn2Package.DOCUMENT_ROOT__EVENT_BASED_GATEWAY; + + /** + * The feature id for the '<em><b>Exclusive Gateway</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__EXCLUSIVE_GATEWAY = Bpmn2Package.DOCUMENT_ROOT__EXCLUSIVE_GATEWAY; + + /** + * The feature id for the '<em><b>SingleAssignment</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__EXPRESSION = Bpmn2Package.DOCUMENT_ROOT__EXPRESSION; + + /** + * The feature id for the '<em><b>Extension</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__EXTENSION = Bpmn2Package.DOCUMENT_ROOT__EXTENSION; + + /** + * The feature id for the '<em><b>Extension Elements</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__EXTENSION_ELEMENTS = Bpmn2Package.DOCUMENT_ROOT__EXTENSION_ELEMENTS; + + /** + * The feature id for the '<em><b>Flow Node</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__FLOW_NODE = Bpmn2Package.DOCUMENT_ROOT__FLOW_NODE; + + /** + * The feature id for the '<em><b>Formal SingleAssignment</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__FORMAL_EXPRESSION = Bpmn2Package.DOCUMENT_ROOT__FORMAL_EXPRESSION; + + /** + * The feature id for the '<em><b>Gateway</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__GATEWAY = Bpmn2Package.DOCUMENT_ROOT__GATEWAY; + + /** + * The feature id for the '<em><b>Global Business Rule Task</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__GLOBAL_BUSINESS_RULE_TASK = Bpmn2Package.DOCUMENT_ROOT__GLOBAL_BUSINESS_RULE_TASK; + + /** + * The feature id for the '<em><b>Global Choreography Task</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__GLOBAL_CHOREOGRAPHY_TASK = Bpmn2Package.DOCUMENT_ROOT__GLOBAL_CHOREOGRAPHY_TASK; + + /** + * The feature id for the '<em><b>Global Conversation</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__GLOBAL_CONVERSATION = Bpmn2Package.DOCUMENT_ROOT__GLOBAL_CONVERSATION; + + /** + * The feature id for the '<em><b>Global Manual Task</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__GLOBAL_MANUAL_TASK = Bpmn2Package.DOCUMENT_ROOT__GLOBAL_MANUAL_TASK; + + /** + * The feature id for the '<em><b>Global Script Task</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__GLOBAL_SCRIPT_TASK = Bpmn2Package.DOCUMENT_ROOT__GLOBAL_SCRIPT_TASK; + + /** + * The feature id for the '<em><b>Global Task</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__GLOBAL_TASK = Bpmn2Package.DOCUMENT_ROOT__GLOBAL_TASK; + + /** + * The feature id for the '<em><b>Global User Task</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__GLOBAL_USER_TASK = Bpmn2Package.DOCUMENT_ROOT__GLOBAL_USER_TASK; + + /** + * The feature id for the '<em><b>Group</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__GROUP = Bpmn2Package.DOCUMENT_ROOT__GROUP; + + /** + * The feature id for the '<em><b>Human Performer</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__HUMAN_PERFORMER = Bpmn2Package.DOCUMENT_ROOT__HUMAN_PERFORMER; + + /** + * The feature id for the '<em><b>Performer</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__PERFORMER = Bpmn2Package.DOCUMENT_ROOT__PERFORMER; + + /** + * The feature id for the '<em><b>Resource Role</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__RESOURCE_ROLE = Bpmn2Package.DOCUMENT_ROOT__RESOURCE_ROLE; + + /** + * The feature id for the '<em><b>Implicit Throw Event</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__IMPLICIT_THROW_EVENT = Bpmn2Package.DOCUMENT_ROOT__IMPLICIT_THROW_EVENT; + + /** + * The feature id for the '<em><b>Import</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__IMPORT = Bpmn2Package.DOCUMENT_ROOT__IMPORT; + + /** + * The feature id for the '<em><b>Inclusive Gateway</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__INCLUSIVE_GATEWAY = Bpmn2Package.DOCUMENT_ROOT__INCLUSIVE_GATEWAY; + + /** + * The feature id for the '<em><b>Input Set</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__INPUT_SET = Bpmn2Package.DOCUMENT_ROOT__INPUT_SET; + + /** + * The feature id for the '<em><b>Interface</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__INTERFACE = Bpmn2Package.DOCUMENT_ROOT__INTERFACE; + + /** + * The feature id for the '<em><b>Intermediate Catch Event</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__INTERMEDIATE_CATCH_EVENT = Bpmn2Package.DOCUMENT_ROOT__INTERMEDIATE_CATCH_EVENT; + + /** + * The feature id for the '<em><b>Intermediate Throw Event</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__INTERMEDIATE_THROW_EVENT = Bpmn2Package.DOCUMENT_ROOT__INTERMEDIATE_THROW_EVENT; + + /** + * The feature id for the '<em><b>Io Binding</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__IO_BINDING = Bpmn2Package.DOCUMENT_ROOT__IO_BINDING; + + /** + * The feature id for the '<em><b>Io Specification</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__IO_SPECIFICATION = Bpmn2Package.DOCUMENT_ROOT__IO_SPECIFICATION; + + /** + * The feature id for the '<em><b>Item Definition</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__ITEM_DEFINITION = Bpmn2Package.DOCUMENT_ROOT__ITEM_DEFINITION; + + /** + * The feature id for the '<em><b>Lane</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__LANE = Bpmn2Package.DOCUMENT_ROOT__LANE; + + /** + * The feature id for the '<em><b>Lane Set</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__LANE_SET = Bpmn2Package.DOCUMENT_ROOT__LANE_SET; + + /** + * The feature id for the '<em><b>Link Event Definition</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__LINK_EVENT_DEFINITION = Bpmn2Package.DOCUMENT_ROOT__LINK_EVENT_DEFINITION; + + /** + * The feature id for the '<em><b>Loop Characteristics</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__LOOP_CHARACTERISTICS = Bpmn2Package.DOCUMENT_ROOT__LOOP_CHARACTERISTICS; + + /** + * The feature id for the '<em><b>Manual Task</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__MANUAL_TASK = Bpmn2Package.DOCUMENT_ROOT__MANUAL_TASK; + + /** + * The feature id for the '<em><b>Message</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__MESSAGE = Bpmn2Package.DOCUMENT_ROOT__MESSAGE; + + /** + * The feature id for the '<em><b>Message Event Definition</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__MESSAGE_EVENT_DEFINITION = Bpmn2Package.DOCUMENT_ROOT__MESSAGE_EVENT_DEFINITION; + + /** + * The feature id for the '<em><b>Message Flow</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__MESSAGE_FLOW = Bpmn2Package.DOCUMENT_ROOT__MESSAGE_FLOW; + + /** + * The feature id for the '<em><b>Message Flow Association</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__MESSAGE_FLOW_ASSOCIATION = Bpmn2Package.DOCUMENT_ROOT__MESSAGE_FLOW_ASSOCIATION; + + /** + * The feature id for the '<em><b>Monitoring</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__MONITORING = Bpmn2Package.DOCUMENT_ROOT__MONITORING; + + /** + * The feature id for the '<em><b>Multi Instance Loop Characteristics</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__MULTI_INSTANCE_LOOP_CHARACTERISTICS = Bpmn2Package.DOCUMENT_ROOT__MULTI_INSTANCE_LOOP_CHARACTERISTICS; + + /** + * The feature id for the '<em><b>Operation</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__OPERATION = Bpmn2Package.DOCUMENT_ROOT__OPERATION; + + /** + * The feature id for the '<em><b>Output Set</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__OUTPUT_SET = Bpmn2Package.DOCUMENT_ROOT__OUTPUT_SET; + + /** + * The feature id for the '<em><b>Parallel Gateway</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__PARALLEL_GATEWAY = Bpmn2Package.DOCUMENT_ROOT__PARALLEL_GATEWAY; + + /** + * The feature id for the '<em><b>Participant</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__PARTICIPANT = Bpmn2Package.DOCUMENT_ROOT__PARTICIPANT; + + /** + * The feature id for the '<em><b>Participant Association</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__PARTICIPANT_ASSOCIATION = Bpmn2Package.DOCUMENT_ROOT__PARTICIPANT_ASSOCIATION; + + /** + * The feature id for the '<em><b>Participant Multiplicity</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__PARTICIPANT_MULTIPLICITY = Bpmn2Package.DOCUMENT_ROOT__PARTICIPANT_MULTIPLICITY; + + /** + * The feature id for the '<em><b>Partner Entity</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__PARTNER_ENTITY = Bpmn2Package.DOCUMENT_ROOT__PARTNER_ENTITY; + + /** + * The feature id for the '<em><b>Partner Role</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__PARTNER_ROLE = Bpmn2Package.DOCUMENT_ROOT__PARTNER_ROLE; + + /** + * The feature id for the '<em><b>Potential Owner</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__POTENTIAL_OWNER = Bpmn2Package.DOCUMENT_ROOT__POTENTIAL_OWNER; + + /** + * The feature id for the '<em><b>Process</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__PROCESS = Bpmn2Package.DOCUMENT_ROOT__PROCESS; + + /** + * The feature id for the '<em><b>Property</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__PROPERTY = Bpmn2Package.DOCUMENT_ROOT__PROPERTY; + + /** + * The feature id for the '<em><b>Receive Task</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__RECEIVE_TASK = Bpmn2Package.DOCUMENT_ROOT__RECEIVE_TASK; + + /** + * The feature id for the '<em><b>Relationship</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__RELATIONSHIP = Bpmn2Package.DOCUMENT_ROOT__RELATIONSHIP; + + /** + * The feature id for the '<em><b>Rendering</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__RENDERING = Bpmn2Package.DOCUMENT_ROOT__RENDERING; + + /** + * The feature id for the '<em><b>Resource</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__RESOURCE = Bpmn2Package.DOCUMENT_ROOT__RESOURCE; + + /** + * The feature id for the '<em><b>Resource MultipleAssignments SingleAssignment</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__RESOURCE_ASSIGNMENT_EXPRESSION = Bpmn2Package.DOCUMENT_ROOT__RESOURCE_ASSIGNMENT_EXPRESSION; + + /** + * The feature id for the '<em><b>Resource Parameter</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__RESOURCE_PARAMETER = Bpmn2Package.DOCUMENT_ROOT__RESOURCE_PARAMETER; + + /** + * The feature id for the '<em><b>Resource Parameter Binding</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__RESOURCE_PARAMETER_BINDING = Bpmn2Package.DOCUMENT_ROOT__RESOURCE_PARAMETER_BINDING; + + /** + * The feature id for the '<em><b>Script</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__SCRIPT = Bpmn2Package.DOCUMENT_ROOT__SCRIPT; + + /** + * The feature id for the '<em><b>Script Task</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__SCRIPT_TASK = Bpmn2Package.DOCUMENT_ROOT__SCRIPT_TASK; + + /** + * The feature id for the '<em><b>Send Task</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__SEND_TASK = Bpmn2Package.DOCUMENT_ROOT__SEND_TASK; + + /** + * The feature id for the '<em><b>Sequence Flow</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__SEQUENCE_FLOW = Bpmn2Package.DOCUMENT_ROOT__SEQUENCE_FLOW; + + /** + * The feature id for the '<em><b>Service Task</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__SERVICE_TASK = Bpmn2Package.DOCUMENT_ROOT__SERVICE_TASK; + + /** + * The feature id for the '<em><b>Signal</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__SIGNAL = Bpmn2Package.DOCUMENT_ROOT__SIGNAL; + + /** + * The feature id for the '<em><b>Signal Event Definition</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__SIGNAL_EVENT_DEFINITION = Bpmn2Package.DOCUMENT_ROOT__SIGNAL_EVENT_DEFINITION; + + /** + * The feature id for the '<em><b>Standard Loop Characteristics</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__STANDARD_LOOP_CHARACTERISTICS = Bpmn2Package.DOCUMENT_ROOT__STANDARD_LOOP_CHARACTERISTICS; + + /** + * The feature id for the '<em><b>Start Event</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__START_EVENT = Bpmn2Package.DOCUMENT_ROOT__START_EVENT; + + /** + * The feature id for the '<em><b>Sub Choreography</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__SUB_CHOREOGRAPHY = Bpmn2Package.DOCUMENT_ROOT__SUB_CHOREOGRAPHY; + + /** + * The feature id for the '<em><b>Sub Conversation</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__SUB_CONVERSATION = Bpmn2Package.DOCUMENT_ROOT__SUB_CONVERSATION; + + /** + * The feature id for the '<em><b>Sub Process</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__SUB_PROCESS = Bpmn2Package.DOCUMENT_ROOT__SUB_PROCESS; + + /** + * The feature id for the '<em><b>Task</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__TASK = Bpmn2Package.DOCUMENT_ROOT__TASK; + + /** + * The feature id for the '<em><b>Terminate Event Definition</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__TERMINATE_EVENT_DEFINITION = Bpmn2Package.DOCUMENT_ROOT__TERMINATE_EVENT_DEFINITION; + + /** + * The feature id for the '<em><b>Text</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__TEXT = Bpmn2Package.DOCUMENT_ROOT__TEXT; + + /** + * The feature id for the '<em><b>Text Annotation</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__TEXT_ANNOTATION = Bpmn2Package.DOCUMENT_ROOT__TEXT_ANNOTATION; + + /** + * The feature id for the '<em><b>Throw Event</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__THROW_EVENT = Bpmn2Package.DOCUMENT_ROOT__THROW_EVENT; + + /** + * The feature id for the '<em><b>Timer Event Definition</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__TIMER_EVENT_DEFINITION = Bpmn2Package.DOCUMENT_ROOT__TIMER_EVENT_DEFINITION; + + /** + * The feature id for the '<em><b>Transaction</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__TRANSACTION = Bpmn2Package.DOCUMENT_ROOT__TRANSACTION; + + /** + * The feature id for the '<em><b>User Task</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__USER_TASK = Bpmn2Package.DOCUMENT_ROOT__USER_TASK; + + /** + * The feature id for the '<em><b>Global</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__GLOBAL = Bpmn2Package.DOCUMENT_ROOT_FEATURE_COUNT + 0; + + /** + * The feature id for the '<em><b>Import Type</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__IMPORT_TYPE = Bpmn2Package.DOCUMENT_ROOT_FEATURE_COUNT + 1; + + /** + * The feature id for the '<em><b>Metadata</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__METADATA = Bpmn2Package.DOCUMENT_ROOT_FEATURE_COUNT + 2; + + /** + * The feature id for the '<em><b>Metaentry</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__METAENTRY = Bpmn2Package.DOCUMENT_ROOT_FEATURE_COUNT + 3; + + /** + * The feature id for the '<em><b>On Entry Script</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__ON_ENTRY_SCRIPT = Bpmn2Package.DOCUMENT_ROOT_FEATURE_COUNT + 4; + + /** + * The feature id for the '<em><b>On Exit Script</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__ON_EXIT_SCRIPT = Bpmn2Package.DOCUMENT_ROOT_FEATURE_COUNT + 5; + + /** + * The feature id for the '<em><b>Bpsim Data</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__BPSIM_DATA = Bpmn2Package.DOCUMENT_ROOT_FEATURE_COUNT + 6; + + /** + * The feature id for the '<em><b>Package Name</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__PACKAGE_NAME = Bpmn2Package.DOCUMENT_ROOT_FEATURE_COUNT + 7; + + /** + * The feature id for the '<em><b>Priority</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__PRIORITY = Bpmn2Package.DOCUMENT_ROOT_FEATURE_COUNT + 8; + + /** + * The feature id for the '<em><b>Rule Flow Group</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__RULE_FLOW_GROUP = Bpmn2Package.DOCUMENT_ROOT_FEATURE_COUNT + 9; + + /** + * The feature id for the '<em><b>Task Name</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__TASK_NAME = Bpmn2Package.DOCUMENT_ROOT_FEATURE_COUNT + 10; + + /** + * The feature id for the '<em><b>Version</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__VERSION = Bpmn2Package.DOCUMENT_ROOT_FEATURE_COUNT + 11; + + /** + * The number of structural features of the '<em>Document Root</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT_FEATURE_COUNT = Bpmn2Package.DOCUMENT_ROOT_FEATURE_COUNT + 12; + + /** + * The meta object id for the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.impl.GlobalTypeImpl <em>Global Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.impl.GlobalTypeImpl + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.impl.DroolsPackageImpl#getGlobalType() + * @generated + */ + int GLOBAL_TYPE = 1; + + /** + * The feature id for the '<em><b>Extension Values</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int GLOBAL_TYPE__EXTENSION_VALUES = Bpmn2Package.ITEM_AWARE_ELEMENT__EXTENSION_VALUES; + + /** + * The feature id for the '<em><b>Documentation</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int GLOBAL_TYPE__DOCUMENTATION = Bpmn2Package.ITEM_AWARE_ELEMENT__DOCUMENTATION; + + /** + * The feature id for the '<em><b>Extension Definitions</b></em>' reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int GLOBAL_TYPE__EXTENSION_DEFINITIONS = Bpmn2Package.ITEM_AWARE_ELEMENT__EXTENSION_DEFINITIONS; + + /** + * The feature id for the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int GLOBAL_TYPE__ID = Bpmn2Package.ITEM_AWARE_ELEMENT__ID; + + /** + * The feature id for the '<em><b>Any Attribute</b></em>' attribute list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int GLOBAL_TYPE__ANY_ATTRIBUTE = Bpmn2Package.ITEM_AWARE_ELEMENT__ANY_ATTRIBUTE; + + /** + * The feature id for the '<em><b>Data State</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int GLOBAL_TYPE__DATA_STATE = Bpmn2Package.ITEM_AWARE_ELEMENT__DATA_STATE; + + /** + * The feature id for the '<em><b>Item Subject Ref</b></em>' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int GLOBAL_TYPE__ITEM_SUBJECT_REF = Bpmn2Package.ITEM_AWARE_ELEMENT__ITEM_SUBJECT_REF; + + /** + * The feature id for the '<em><b>Identifier</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int GLOBAL_TYPE__IDENTIFIER = Bpmn2Package.ITEM_AWARE_ELEMENT_FEATURE_COUNT + 0; + + /** + * The feature id for the '<em><b>Type</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int GLOBAL_TYPE__TYPE = Bpmn2Package.ITEM_AWARE_ELEMENT_FEATURE_COUNT + 1; + + /** + * The number of structural features of the '<em>Global Type</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int GLOBAL_TYPE_FEATURE_COUNT = Bpmn2Package.ITEM_AWARE_ELEMENT_FEATURE_COUNT + 2; + + /** + * The meta object id for the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.impl.ImportTypeImpl <em>Import Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.impl.ImportTypeImpl + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.impl.DroolsPackageImpl#getImportType() + * @generated + */ + int IMPORT_TYPE = 2; + + /** + * The feature id for the '<em><b>Name</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int IMPORT_TYPE__NAME = 0; + + /** + * The number of structural features of the '<em>Import Type</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int IMPORT_TYPE_FEATURE_COUNT = 1; + + /** + * The meta object id for the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.impl.MetadataTypeImpl <em>Metadata Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.impl.MetadataTypeImpl + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.impl.DroolsPackageImpl#getMetadataType() + * @generated + */ + int METADATA_TYPE = 3; + + /** + * The feature id for the '<em><b>Metaentry</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int METADATA_TYPE__METAENTRY = 0; + + /** + * The number of structural features of the '<em>Metadata Type</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int METADATA_TYPE_FEATURE_COUNT = 1; + + /** + * The meta object id for the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.impl.MetaentryTypeImpl <em>Metaentry Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.impl.MetaentryTypeImpl + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.impl.DroolsPackageImpl#getMetaentryType() + * @generated + */ + int METAENTRY_TYPE = 4; + + /** + * The feature id for the '<em><b>Name</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int METAENTRY_TYPE__NAME = 0; + + /** + * The feature id for the '<em><b>Value</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int METAENTRY_TYPE__VALUE = 1; + + /** + * The number of structural features of the '<em>Metaentry Type</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int METAENTRY_TYPE_FEATURE_COUNT = 2; + + /** + * The meta object id for the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.impl.OnEntryScriptTypeImpl <em>On Entry Script Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.impl.OnEntryScriptTypeImpl + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.impl.DroolsPackageImpl#getOnEntryScriptType() + * @generated + */ + int ON_ENTRY_SCRIPT_TYPE = 5; + + /** + * The feature id for the '<em><b>Script</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ON_ENTRY_SCRIPT_TYPE__SCRIPT = 0; + + /** + * The feature id for the '<em><b>Script Format</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ON_ENTRY_SCRIPT_TYPE__SCRIPT_FORMAT = 1; + + /** + * The number of structural features of the '<em>On Entry Script Type</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ON_ENTRY_SCRIPT_TYPE_FEATURE_COUNT = 2; + + /** + * The meta object id for the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.impl.OnExitScriptTypeImpl <em>On Exit Script Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.impl.OnExitScriptTypeImpl + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.impl.DroolsPackageImpl#getOnExitScriptType() + * @generated + */ + int ON_EXIT_SCRIPT_TYPE = 6; + + /** + * The feature id for the '<em><b>Script</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ON_EXIT_SCRIPT_TYPE__SCRIPT = 0; + + /** + * The feature id for the '<em><b>Script Format</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ON_EXIT_SCRIPT_TYPE__SCRIPT_FORMAT = 1; + + /** + * The number of structural features of the '<em>On Exit Script Type</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ON_EXIT_SCRIPT_TYPE_FEATURE_COUNT = 2; + + /** + * The meta object id for the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.impl.BPSimDataTypeImpl <em>BP Sim Data Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.impl.BPSimDataTypeImpl + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.impl.DroolsPackageImpl#getBPSimDataType() + * @generated + */ + int BP_SIM_DATA_TYPE = 7; + + /** + * The feature id for the '<em><b>Group</b></em>' attribute list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int BP_SIM_DATA_TYPE__GROUP = BpsimPackage.BP_SIM_DATA_TYPE__GROUP; + + /** + * The feature id for the '<em><b>Scenario</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int BP_SIM_DATA_TYPE__SCENARIO = BpsimPackage.BP_SIM_DATA_TYPE__SCENARIO; + + /** + * The number of structural features of the '<em>BP Sim Data Type</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int BP_SIM_DATA_TYPE_FEATURE_COUNT = BpsimPackage.BP_SIM_DATA_TYPE_FEATURE_COUNT + 0; + + /** + * The meta object id for the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.impl.ExternalProcessImpl <em>Callable Element Proxy</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.impl.ExternalProcessImpl + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.impl.DroolsPackageImpl#getExternalProcess() + * @generated + */ + int EXTERNAL_PROCESS = 8; + + /** + * The feature id for the '<em><b>Extension Values</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int EXTERNAL_PROCESS__EXTENSION_VALUES = Bpmn2Package.CALLABLE_ELEMENT__EXTENSION_VALUES; + + /** + * The feature id for the '<em><b>Documentation</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int EXTERNAL_PROCESS__DOCUMENTATION = Bpmn2Package.CALLABLE_ELEMENT__DOCUMENTATION; + + /** + * The feature id for the '<em><b>Extension Definitions</b></em>' reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int EXTERNAL_PROCESS__EXTENSION_DEFINITIONS = Bpmn2Package.CALLABLE_ELEMENT__EXTENSION_DEFINITIONS; + + /** + * The feature id for the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int EXTERNAL_PROCESS__ID = Bpmn2Package.CALLABLE_ELEMENT__ID; + + /** + * The feature id for the '<em><b>Any Attribute</b></em>' attribute list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int EXTERNAL_PROCESS__ANY_ATTRIBUTE = Bpmn2Package.CALLABLE_ELEMENT__ANY_ATTRIBUTE; + + /** + * The feature id for the '<em><b>Supported Interface Refs</b></em>' reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int EXTERNAL_PROCESS__SUPPORTED_INTERFACE_REFS = Bpmn2Package.CALLABLE_ELEMENT__SUPPORTED_INTERFACE_REFS; + + /** + * The feature id for the '<em><b>Io Specification</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int EXTERNAL_PROCESS__IO_SPECIFICATION = Bpmn2Package.CALLABLE_ELEMENT__IO_SPECIFICATION; + + /** + * The feature id for the '<em><b>Io Binding</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int EXTERNAL_PROCESS__IO_BINDING = Bpmn2Package.CALLABLE_ELEMENT__IO_BINDING; + + /** + * The feature id for the '<em><b>Name</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int EXTERNAL_PROCESS__NAME = Bpmn2Package.CALLABLE_ELEMENT__NAME; + + /** + * The number of structural features of the '<em>Callable Element Proxy</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int EXTERNAL_PROCESS_FEATURE_COUNT = Bpmn2Package.CALLABLE_ELEMENT_FEATURE_COUNT + 0; + + /** + * The meta object id for the '<em>Package Name Type</em>' data type. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see java.lang.String + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.impl.DroolsPackageImpl#getPackageNameType() + * @generated + */ + int PACKAGE_NAME_TYPE = 9; + + /** + * The meta object id for the '<em>Priority Type</em>' data type. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see java.math.BigInteger + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.impl.DroolsPackageImpl#getPriorityType() + * @generated + */ + int PRIORITY_TYPE = 10; + + /** + * The meta object id for the '<em>Rule Flow Group Type</em>' data type. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see java.lang.String + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.impl.DroolsPackageImpl#getRuleFlowGroupType() + * @generated + */ + int RULE_FLOW_GROUP_TYPE = 11; + + /** + * The meta object id for the '<em>Task Name Type</em>' data type. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see java.lang.String + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.impl.DroolsPackageImpl#getTaskNameType() + * @generated + */ + int TASK_NAME_TYPE = 12; + + /** + * The meta object id for the '<em>Version Type</em>' data type. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see java.lang.String + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.impl.DroolsPackageImpl#getVersionType() + * @generated + */ + int VERSION_TYPE = 13; + + + /** + * Returns the meta object for class '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.DocumentRoot <em>Document Root</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Document Root</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.DocumentRoot + * @generated + */ + EClass getDocumentRoot(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.DocumentRoot#getGlobal <em>Global</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Global</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.DocumentRoot#getGlobal() + * @see #getDocumentRoot() + * @generated + */ + EReference getDocumentRoot_Global(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.DocumentRoot#getImportType <em>Import Type</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Import Type</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.DocumentRoot#getImportType() + * @see #getDocumentRoot() + * @generated + */ + EReference getDocumentRoot_ImportType(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.DocumentRoot#getMetadata <em>Metadata</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Metadata</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.DocumentRoot#getMetadata() + * @see #getDocumentRoot() + * @generated + */ + EReference getDocumentRoot_Metadata(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.DocumentRoot#getMetaentry <em>Metaentry</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Metaentry</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.DocumentRoot#getMetaentry() + * @see #getDocumentRoot() + * @generated + */ + EReference getDocumentRoot_Metaentry(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.DocumentRoot#getOnEntryScript <em>On Entry Script</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>On Entry Script</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.DocumentRoot#getOnEntryScript() + * @see #getDocumentRoot() + * @generated + */ + EReference getDocumentRoot_OnEntryScript(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.DocumentRoot#getOnExitScript <em>On Exit Script</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>On Exit Script</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.DocumentRoot#getOnExitScript() + * @see #getDocumentRoot() + * @generated + */ + EReference getDocumentRoot_OnExitScript(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.DocumentRoot#getBpsimData <em>Bpsim Data</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Bpsim Data</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.DocumentRoot#getBpsimData() + * @see #getDocumentRoot() + * @generated + */ + EReference getDocumentRoot_BpsimData(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.DocumentRoot#getPackageName <em>Package Name</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Package Name</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.DocumentRoot#getPackageName() + * @see #getDocumentRoot() + * @generated + */ + EAttribute getDocumentRoot_PackageName(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.DocumentRoot#getPriority <em>Priority</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Priority</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.DocumentRoot#getPriority() + * @see #getDocumentRoot() + * @generated + */ + EAttribute getDocumentRoot_Priority(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.DocumentRoot#getRuleFlowGroup <em>Rule Flow Group</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Rule Flow Group</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.DocumentRoot#getRuleFlowGroup() + * @see #getDocumentRoot() + * @generated + */ + EAttribute getDocumentRoot_RuleFlowGroup(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.DocumentRoot#getTaskName <em>Task Name</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Task Name</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.DocumentRoot#getTaskName() + * @see #getDocumentRoot() + * @generated + */ + EAttribute getDocumentRoot_TaskName(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.DocumentRoot#getVersion <em>Version</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Version</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.DocumentRoot#getVersion() + * @see #getDocumentRoot() + * @generated + */ + EAttribute getDocumentRoot_Version(); + + /** + * Returns the meta object for class '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.GlobalType <em>Global Type</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Global Type</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.GlobalType + * @generated + */ + EClass getGlobalType(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.GlobalType#getIdentifier <em>Identifier</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Identifier</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.GlobalType#getIdentifier() + * @see #getGlobalType() + * @generated + */ + EAttribute getGlobalType_Identifier(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.GlobalType#getType <em>Type</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Type</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.GlobalType#getType() + * @see #getGlobalType() + * @generated + */ + EAttribute getGlobalType_Type(); + + /** + * Returns the meta object for class '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.ImportType <em>Import Type</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Import Type</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.ImportType + * @generated + */ + EClass getImportType(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.ImportType#getName <em>Name</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Name</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.ImportType#getName() + * @see #getImportType() + * @generated + */ + EAttribute getImportType_Name(); + + /** + * Returns the meta object for class '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.MetadataType <em>Metadata Type</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Metadata Type</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.MetadataType + * @generated + */ + EClass getMetadataType(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.MetadataType#getMetaentry <em>Metaentry</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference list '<em>Metaentry</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.MetadataType#getMetaentry() + * @see #getMetadataType() + * @generated + */ + EReference getMetadataType_Metaentry(); + + /** + * Returns the meta object for class '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.MetaentryType <em>Metaentry Type</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Metaentry Type</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.MetaentryType + * @generated + */ + EClass getMetaentryType(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.MetaentryType#getName <em>Name</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Name</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.MetaentryType#getName() + * @see #getMetaentryType() + * @generated + */ + EAttribute getMetaentryType_Name(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.MetaentryType#getValue <em>Value</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Value</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.MetaentryType#getValue() + * @see #getMetaentryType() + * @generated + */ + EAttribute getMetaentryType_Value(); + + /** + * Returns the meta object for class '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.OnEntryScriptType <em>On Entry Script Type</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>On Entry Script Type</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.OnEntryScriptType + * @generated + */ + EClass getOnEntryScriptType(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.OnEntryScriptType#getScript <em>Script</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Script</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.OnEntryScriptType#getScript() + * @see #getOnEntryScriptType() + * @generated + */ + EAttribute getOnEntryScriptType_Script(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.OnEntryScriptType#getScriptFormat <em>Script Format</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Script Format</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.OnEntryScriptType#getScriptFormat() + * @see #getOnEntryScriptType() + * @generated + */ + EAttribute getOnEntryScriptType_ScriptFormat(); + + /** + * Returns the meta object for class '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.OnExitScriptType <em>On Exit Script Type</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>On Exit Script Type</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.OnExitScriptType + * @generated + */ + EClass getOnExitScriptType(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.OnExitScriptType#getScript <em>Script</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Script</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.OnExitScriptType#getScript() + * @see #getOnExitScriptType() + * @generated + */ + EAttribute getOnExitScriptType_Script(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.OnExitScriptType#getScriptFormat <em>Script Format</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Script Format</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.OnExitScriptType#getScriptFormat() + * @see #getOnExitScriptType() + * @generated + */ + EAttribute getOnExitScriptType_ScriptFormat(); + + /** + * Returns the meta object for class '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.BPSimDataType <em>BP Sim Data Type</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>BP Sim Data Type</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.BPSimDataType + * @generated + */ + EClass getBPSimDataType(); + + /** + * Returns the meta object for class '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.ExternalProcess <em>Callable Element Proxy</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Callable Element Proxy</em>'. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.ExternalProcess + * @generated + */ + EClass getExternalProcess(); + + /** + * Returns the meta object for data type '{@link java.lang.String <em>Package Name Type</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for data type '<em>Package Name Type</em>'. + * @see java.lang.String + * @model instanceClass="java.lang.String" + * extendedMetaData="name='packageName_._type' baseType='http://www.eclipse.org/emf/2003/XMLType#string'" + * @generated + */ + EDataType getPackageNameType(); + + /** + * Returns the meta object for data type '{@link java.math.BigInteger <em>Priority Type</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for data type '<em>Priority Type</em>'. + * @see java.math.BigInteger + * @model instanceClass="java.math.BigInteger" + * extendedMetaData="name='priority_._type' baseType='http://www.eclipse.org/emf/2003/XMLType#integer' minInclusive='1'" + * @generated + */ + EDataType getPriorityType(); + + /** + * Returns the meta object for data type '{@link java.lang.String <em>Rule Flow Group Type</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for data type '<em>Rule Flow Group Type</em>'. + * @see java.lang.String + * @model instanceClass="java.lang.String" + * extendedMetaData="name='ruleFlowGroup_._type' baseType='http://www.eclipse.org/emf/2003/XMLType#string'" + * @generated + */ + EDataType getRuleFlowGroupType(); + + /** + * Returns the meta object for data type '{@link java.lang.String <em>Task Name Type</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for data type '<em>Task Name Type</em>'. + * @see java.lang.String + * @model instanceClass="java.lang.String" + * extendedMetaData="name='taskName_._type' baseType='http://www.eclipse.org/emf/2003/XMLType#string'" + * @generated + */ + EDataType getTaskNameType(); + + /** + * Returns the meta object for data type '{@link java.lang.String <em>Version Type</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for data type '<em>Version Type</em>'. + * @see java.lang.String + * @model instanceClass="java.lang.String" + * extendedMetaData="name='version_._type' baseType='http://www.eclipse.org/emf/2003/XMLType#string'" + * @generated + */ + EDataType getVersionType(); + + /** + * Returns the factory that creates the instances of the model. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the factory that creates the instances of the model. + * @generated + */ + DroolsFactory getDroolsFactory(); + + /** + * <!-- begin-user-doc --> + * Defines literals for the meta objects that represent + * <ul> + * <li>each class,</li> + * <li>each feature of each class,</li> + * <li>each enum,</li> + * <li>and each data type</li> + * </ul> + * <!-- end-user-doc --> + * @generated + */ + interface Literals { + /** + * The meta object literal for the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.impl.DocumentRootImpl <em>Document Root</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.impl.DocumentRootImpl + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.impl.DroolsPackageImpl#getDocumentRoot() + * @generated + */ + EClass DOCUMENT_ROOT = eINSTANCE.getDocumentRoot(); + + /** + * The meta object literal for the '<em><b>Global</b></em>' containment reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference DOCUMENT_ROOT__GLOBAL = eINSTANCE.getDocumentRoot_Global(); + + /** + * The meta object literal for the '<em><b>Import Type</b></em>' containment reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference DOCUMENT_ROOT__IMPORT_TYPE = eINSTANCE.getDocumentRoot_ImportType(); + + /** + * The meta object literal for the '<em><b>Metadata</b></em>' containment reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference DOCUMENT_ROOT__METADATA = eINSTANCE.getDocumentRoot_Metadata(); + + /** + * The meta object literal for the '<em><b>Metaentry</b></em>' containment reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference DOCUMENT_ROOT__METAENTRY = eINSTANCE.getDocumentRoot_Metaentry(); + + /** + * The meta object literal for the '<em><b>On Entry Script</b></em>' containment reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference DOCUMENT_ROOT__ON_ENTRY_SCRIPT = eINSTANCE.getDocumentRoot_OnEntryScript(); + + /** + * The meta object literal for the '<em><b>On Exit Script</b></em>' containment reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference DOCUMENT_ROOT__ON_EXIT_SCRIPT = eINSTANCE.getDocumentRoot_OnExitScript(); + + /** + * The meta object literal for the '<em><b>Bpsim Data</b></em>' containment reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference DOCUMENT_ROOT__BPSIM_DATA = eINSTANCE.getDocumentRoot_BpsimData(); + + /** + * The meta object literal for the '<em><b>Package Name</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute DOCUMENT_ROOT__PACKAGE_NAME = eINSTANCE.getDocumentRoot_PackageName(); + + /** + * The meta object literal for the '<em><b>Priority</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute DOCUMENT_ROOT__PRIORITY = eINSTANCE.getDocumentRoot_Priority(); + + /** + * The meta object literal for the '<em><b>Rule Flow Group</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute DOCUMENT_ROOT__RULE_FLOW_GROUP = eINSTANCE.getDocumentRoot_RuleFlowGroup(); + + /** + * The meta object literal for the '<em><b>Task Name</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute DOCUMENT_ROOT__TASK_NAME = eINSTANCE.getDocumentRoot_TaskName(); + + /** + * The meta object literal for the '<em><b>Version</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute DOCUMENT_ROOT__VERSION = eINSTANCE.getDocumentRoot_Version(); + + /** + * The meta object literal for the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.impl.GlobalTypeImpl <em>Global Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.impl.GlobalTypeImpl + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.impl.DroolsPackageImpl#getGlobalType() + * @generated + */ + EClass GLOBAL_TYPE = eINSTANCE.getGlobalType(); + + /** + * The meta object literal for the '<em><b>Identifier</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute GLOBAL_TYPE__IDENTIFIER = eINSTANCE.getGlobalType_Identifier(); + + /** + * The meta object literal for the '<em><b>Type</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute GLOBAL_TYPE__TYPE = eINSTANCE.getGlobalType_Type(); + + /** + * The meta object literal for the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.impl.ImportTypeImpl <em>Import Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.impl.ImportTypeImpl + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.impl.DroolsPackageImpl#getImportType() + * @generated + */ + EClass IMPORT_TYPE = eINSTANCE.getImportType(); + + /** + * The meta object literal for the '<em><b>Name</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute IMPORT_TYPE__NAME = eINSTANCE.getImportType_Name(); + + /** + * The meta object literal for the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.impl.MetadataTypeImpl <em>Metadata Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.impl.MetadataTypeImpl + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.impl.DroolsPackageImpl#getMetadataType() + * @generated + */ + EClass METADATA_TYPE = eINSTANCE.getMetadataType(); + + /** + * The meta object literal for the '<em><b>Metaentry</b></em>' containment reference list feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference METADATA_TYPE__METAENTRY = eINSTANCE.getMetadataType_Metaentry(); + + /** + * The meta object literal for the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.impl.MetaentryTypeImpl <em>Metaentry Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.impl.MetaentryTypeImpl + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.impl.DroolsPackageImpl#getMetaentryType() + * @generated + */ + EClass METAENTRY_TYPE = eINSTANCE.getMetaentryType(); + + /** + * The meta object literal for the '<em><b>Name</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute METAENTRY_TYPE__NAME = eINSTANCE.getMetaentryType_Name(); + + /** + * The meta object literal for the '<em><b>Value</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute METAENTRY_TYPE__VALUE = eINSTANCE.getMetaentryType_Value(); + + /** + * The meta object literal for the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.impl.OnEntryScriptTypeImpl <em>On Entry Script Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.impl.OnEntryScriptTypeImpl + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.impl.DroolsPackageImpl#getOnEntryScriptType() + * @generated + */ + EClass ON_ENTRY_SCRIPT_TYPE = eINSTANCE.getOnEntryScriptType(); + + /** + * The meta object literal for the '<em><b>Script</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute ON_ENTRY_SCRIPT_TYPE__SCRIPT = eINSTANCE.getOnEntryScriptType_Script(); + + /** + * The meta object literal for the '<em><b>Script Format</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute ON_ENTRY_SCRIPT_TYPE__SCRIPT_FORMAT = eINSTANCE.getOnEntryScriptType_ScriptFormat(); + + /** + * The meta object literal for the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.impl.OnExitScriptTypeImpl <em>On Exit Script Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.impl.OnExitScriptTypeImpl + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.impl.DroolsPackageImpl#getOnExitScriptType() + * @generated + */ + EClass ON_EXIT_SCRIPT_TYPE = eINSTANCE.getOnExitScriptType(); + + /** + * The meta object literal for the '<em><b>Script</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute ON_EXIT_SCRIPT_TYPE__SCRIPT = eINSTANCE.getOnExitScriptType_Script(); + + /** + * The meta object literal for the '<em><b>Script Format</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute ON_EXIT_SCRIPT_TYPE__SCRIPT_FORMAT = eINSTANCE.getOnExitScriptType_ScriptFormat(); + + /** + * The meta object literal for the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.impl.BPSimDataTypeImpl <em>BP Sim Data Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.impl.BPSimDataTypeImpl + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.impl.DroolsPackageImpl#getBPSimDataType() + * @generated + */ + EClass BP_SIM_DATA_TYPE = eINSTANCE.getBPSimDataType(); + + /** + * The meta object literal for the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.impl.ExternalProcessImpl <em>Callable Element Proxy</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.impl.ExternalProcessImpl + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.impl.DroolsPackageImpl#getExternalProcess() + * @generated + */ + EClass EXTERNAL_PROCESS = eINSTANCE.getExternalProcess(); + + /** + * The meta object literal for the '<em>Package Name Type</em>' data type. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see java.lang.String + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.impl.DroolsPackageImpl#getPackageNameType() + * @generated + */ + EDataType PACKAGE_NAME_TYPE = eINSTANCE.getPackageNameType(); + + /** + * The meta object literal for the '<em>Priority Type</em>' data type. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see java.math.BigInteger + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.impl.DroolsPackageImpl#getPriorityType() + * @generated + */ + EDataType PRIORITY_TYPE = eINSTANCE.getPriorityType(); + + /** + * The meta object literal for the '<em>Rule Flow Group Type</em>' data type. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see java.lang.String + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.impl.DroolsPackageImpl#getRuleFlowGroupType() + * @generated + */ + EDataType RULE_FLOW_GROUP_TYPE = eINSTANCE.getRuleFlowGroupType(); + + /** + * The meta object literal for the '<em>Task Name Type</em>' data type. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see java.lang.String + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.impl.DroolsPackageImpl#getTaskNameType() + * @generated + */ + EDataType TASK_NAME_TYPE = eINSTANCE.getTaskNameType(); + + /** + * The meta object literal for the '<em>Version Type</em>' data type. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see java.lang.String + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.impl.DroolsPackageImpl#getVersionType() + * @generated + */ + EDataType VERSION_TYPE = eINSTANCE.getVersionType(); + + } + +} //DroolsPackage diff --git a/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/drools/ExternalProcess.java b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/drools/ExternalProcess.java new file mode 100644 index 00000000..81c54a30 --- /dev/null +++ b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/drools/ExternalProcess.java @@ -0,0 +1,18 @@ +/** + */ +package org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools; + +import org.eclipse.bpmn2.CallableElement; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Callable Element Proxy</b></em>'. + * <!-- end-user-doc --> + * + * + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.DroolsPackage#getExternalProcess() + * @model + * @generated + */ +public interface ExternalProcess extends CallableElement { +} // ExternalProcess diff --git a/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/drools/GlobalType.java b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/drools/GlobalType.java new file mode 100644 index 00000000..3f044d7c --- /dev/null +++ b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/drools/GlobalType.java @@ -0,0 +1,79 @@ +/** + */ +package org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools; + +import org.eclipse.bpmn2.ItemAwareElement; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Global Type</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.GlobalType#getIdentifier <em>Identifier</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.GlobalType#getType <em>Type</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.DroolsPackage#getGlobalType() + * @model extendedMetaData="name='global_._type' kind='empty'" + * @generated + */ +public interface GlobalType extends ItemAwareElement { + /** + * Returns the value of the '<em><b>Identifier</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Identifier</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Identifier</em>' attribute. + * @see #setIdentifier(String) + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.DroolsPackage#getGlobalType_Identifier() + * @model dataType="org.eclipse.emf.ecore.xml.type.String" required="true" + * extendedMetaData="kind='attribute' name='identifier'" + * @generated + */ + String getIdentifier(); + + /** + * Sets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.GlobalType#getIdentifier <em>Identifier</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Identifier</em>' attribute. + * @see #getIdentifier() + * @generated + */ + void setIdentifier(String value); + + /** + * Returns the value of the '<em><b>Type</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Type</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Type</em>' attribute. + * @see #setType(String) + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.DroolsPackage#getGlobalType_Type() + * @model dataType="org.eclipse.emf.ecore.xml.type.String" required="true" + * extendedMetaData="kind='attribute' name='type'" + * @generated + */ + String getType(); + + /** + * Sets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.GlobalType#getType <em>Type</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Type</em>' attribute. + * @see #getType() + * @generated + */ + void setType(String value); + +} // GlobalType diff --git a/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/drools/ImportType.java b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/drools/ImportType.java new file mode 100644 index 00000000..3b3ad081 --- /dev/null +++ b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/drools/ImportType.java @@ -0,0 +1,51 @@ +/** + */ +package org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools; + +import org.eclipse.emf.ecore.EObject; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Import Type</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.ImportType#getName <em>Name</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.DroolsPackage#getImportType() + * @model extendedMetaData="name='import_._type' kind='empty'" + * @generated + */ +public interface ImportType extends EObject { + /** + * Returns the value of the '<em><b>Name</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Name</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Name</em>' attribute. + * @see #setName(String) + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.DroolsPackage#getImportType_Name() + * @model dataType="org.eclipse.emf.ecore.xml.type.String" required="true" + * extendedMetaData="kind='attribute' name='name'" + * @generated + */ + String getName(); + + /** + * Sets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.ImportType#getName <em>Name</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Name</em>' attribute. + * @see #getName() + * @generated + */ + void setName(String value); + +} // ImportType diff --git a/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/drools/MetadataType.java b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/drools/MetadataType.java new file mode 100644 index 00000000..f7a5ba37 --- /dev/null +++ b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/drools/MetadataType.java @@ -0,0 +1,42 @@ +/** + */ +package org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools; + +import org.eclipse.emf.common.util.EList; +import org.eclipse.emf.ecore.EObject; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Metadata Type</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.MetadataType#getMetaentry <em>Metaentry</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.DroolsPackage#getMetadataType() + * @model extendedMetaData="name='metadata_._type' kind='elementOnly'" + * @generated + */ +public interface MetadataType extends EObject { + /** + * Returns the value of the '<em><b>Metaentry</b></em>' containment reference list. + * The list contents are of type {@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.MetaentryType}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Metaentry</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>Metaentry</em>' containment reference list. + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.DroolsPackage#getMetadataType_Metaentry() + * @model containment="true" required="true" + * extendedMetaData="kind='element' name='metaentry' namespace='##targetNamespace'" + * @generated + */ + EList<MetaentryType> getMetaentry(); + +} // MetadataType diff --git a/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/drools/MetaentryType.java b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/drools/MetaentryType.java new file mode 100644 index 00000000..a69f257a --- /dev/null +++ b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/drools/MetaentryType.java @@ -0,0 +1,79 @@ +/** + */ +package org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools; + +import org.eclipse.emf.ecore.EObject; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Metaentry Type</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.MetaentryType#getName <em>Name</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.MetaentryType#getValue <em>Value</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.DroolsPackage#getMetaentryType() + * @model extendedMetaData="name='metaentry_._type' kind='elementOnly'" + * @generated + */ +public interface MetaentryType extends EObject { + /** + * Returns the value of the '<em><b>Name</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Name</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Name</em>' attribute. + * @see #setName(String) + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.DroolsPackage#getMetaentryType_Name() + * @model dataType="org.eclipse.emf.ecore.xml.type.String" required="true" + * extendedMetaData="kind='element' name='name' namespace='##targetNamespace'" + * @generated + */ + String getName(); + + /** + * Sets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.MetaentryType#getName <em>Name</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Name</em>' attribute. + * @see #getName() + * @generated + */ + void setName(String value); + + /** + * Returns the value of the '<em><b>Value</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Value</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Value</em>' attribute. + * @see #setValue(String) + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.DroolsPackage#getMetaentryType_Value() + * @model dataType="org.eclipse.emf.ecore.xml.type.String" required="true" + * extendedMetaData="kind='element' name='value' namespace='##targetNamespace'" + * @generated + */ + String getValue(); + + /** + * Sets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.MetaentryType#getValue <em>Value</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Value</em>' attribute. + * @see #getValue() + * @generated + */ + void setValue(String value); + +} // MetaentryType diff --git a/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/drools/OnEntryScriptType.java b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/drools/OnEntryScriptType.java new file mode 100644 index 00000000..7bdd0569 --- /dev/null +++ b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/drools/OnEntryScriptType.java @@ -0,0 +1,79 @@ +/** + */ +package org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools; + +import org.eclipse.emf.ecore.EObject; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>On Entry Script Type</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.OnEntryScriptType#getScript <em>Script</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.OnEntryScriptType#getScriptFormat <em>Script Format</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.DroolsPackage#getOnEntryScriptType() + * @model extendedMetaData="name='onEntry-script_._type' kind='elementOnly'" + * @generated + */ +public interface OnEntryScriptType extends EObject { + /** + * Returns the value of the '<em><b>Script</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Script</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Script</em>' attribute. + * @see #setScript(String) + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.DroolsPackage#getOnEntryScriptType_Script() + * @model dataType="org.eclipse.emf.ecore.xml.type.String" required="true" + * extendedMetaData="kind='element' name='script' namespace='##targetNamespace'" + * @generated + */ + String getScript(); + + /** + * Sets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.OnEntryScriptType#getScript <em>Script</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Script</em>' attribute. + * @see #getScript() + * @generated + */ + void setScript(String value); + + /** + * Returns the value of the '<em><b>Script Format</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Script Format</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Script Format</em>' attribute. + * @see #setScriptFormat(String) + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.DroolsPackage#getOnEntryScriptType_ScriptFormat() + * @model dataType="org.eclipse.emf.ecore.xml.type.String" required="true" + * extendedMetaData="kind='attribute' name='scriptFormat'" + * @generated + */ + String getScriptFormat(); + + /** + * Sets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.OnEntryScriptType#getScriptFormat <em>Script Format</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Script Format</em>' attribute. + * @see #getScriptFormat() + * @generated + */ + void setScriptFormat(String value); + +} // OnEntryScriptType diff --git a/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/drools/OnExitScriptType.java b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/drools/OnExitScriptType.java new file mode 100644 index 00000000..a952abb8 --- /dev/null +++ b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/drools/OnExitScriptType.java @@ -0,0 +1,79 @@ +/** + */ +package org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools; + +import org.eclipse.emf.ecore.EObject; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>On Exit Script Type</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.OnExitScriptType#getScript <em>Script</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.OnExitScriptType#getScriptFormat <em>Script Format</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.DroolsPackage#getOnExitScriptType() + * @model extendedMetaData="name='onExit-script_._type' kind='elementOnly'" + * @generated + */ +public interface OnExitScriptType extends EObject { + /** + * Returns the value of the '<em><b>Script</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Script</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Script</em>' attribute. + * @see #setScript(String) + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.DroolsPackage#getOnExitScriptType_Script() + * @model dataType="org.eclipse.emf.ecore.xml.type.String" required="true" + * extendedMetaData="kind='element' name='script' namespace='##targetNamespace'" + * @generated + */ + String getScript(); + + /** + * Sets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.OnExitScriptType#getScript <em>Script</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Script</em>' attribute. + * @see #getScript() + * @generated + */ + void setScript(String value); + + /** + * Returns the value of the '<em><b>Script Format</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Script Format</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Script Format</em>' attribute. + * @see #setScriptFormat(String) + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.DroolsPackage#getOnExitScriptType_ScriptFormat() + * @model dataType="org.eclipse.emf.ecore.xml.type.String" required="true" + * extendedMetaData="kind='attribute' name='scriptFormat'" + * @generated + */ + String getScriptFormat(); + + /** + * Sets the value of the '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.OnExitScriptType#getScriptFormat <em>Script Format</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Script Format</em>' attribute. + * @see #getScriptFormat() + * @generated + */ + void setScriptFormat(String value); + +} // OnExitScriptType diff --git a/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/drools/impl/BPSimDataTypeImpl.java b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/drools/impl/BPSimDataTypeImpl.java new file mode 100644 index 00000000..03274b40 --- /dev/null +++ b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/drools/impl/BPSimDataTypeImpl.java @@ -0,0 +1,39 @@ +/** + */ +package org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.impl; + +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.BPSimDataType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.DroolsPackage; + +import org.eclipse.emf.ecore.EClass; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>BP Sim Data Type</b></em>'. + * <!-- end-user-doc --> + * <p> + * </p> + * + * @generated + */ +public class BPSimDataTypeImpl extends org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.BPSimDataTypeImpl implements BPSimDataType { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected BPSimDataTypeImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return DroolsPackage.Literals.BP_SIM_DATA_TYPE; + } + +} //BPSimDataTypeImpl diff --git a/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/drools/impl/DocumentRootImpl.java b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/drools/impl/DocumentRootImpl.java new file mode 100644 index 00000000..0d8e44dc --- /dev/null +++ b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/drools/impl/DocumentRootImpl.java @@ -0,0 +1,679 @@ +/** + */ +package org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.impl; + +import java.math.BigInteger; + +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BPSimDataType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.DocumentRoot; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.DroolsPackage; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.GlobalType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.ImportType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.MetadataType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.MetaentryType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.OnEntryScriptType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.OnExitScriptType; +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.NotificationChain; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.util.FeatureMap; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Document Root</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.impl.DocumentRootImpl#getGlobal <em>Global</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.impl.DocumentRootImpl#getImportType <em>Import Type</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.impl.DocumentRootImpl#getMetadata <em>Metadata</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.impl.DocumentRootImpl#getMetaentry <em>Metaentry</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.impl.DocumentRootImpl#getOnEntryScript <em>On Entry Script</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.impl.DocumentRootImpl#getOnExitScript <em>On Exit Script</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.impl.DocumentRootImpl#getBpsimData <em>Bpsim Data</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.impl.DocumentRootImpl#getPackageName <em>Package Name</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.impl.DocumentRootImpl#getPriority <em>Priority</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.impl.DocumentRootImpl#getRuleFlowGroup <em>Rule Flow Group</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.impl.DocumentRootImpl#getTaskName <em>Task Name</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.impl.DocumentRootImpl#getVersion <em>Version</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class DocumentRootImpl extends org.eclipse.bpmn2.impl.DocumentRootImpl implements DocumentRoot { + /** + * The default value of the '{@link #getPackageName() <em>Package Name</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getPackageName() + * @generated + * @ordered + */ + protected static final String PACKAGE_NAME_EDEFAULT = null; + + /** + * The cached value of the '{@link #getPackageName() <em>Package Name</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getPackageName() + * @generated + * @ordered + */ + protected String packageName = PACKAGE_NAME_EDEFAULT; + + /** + * The default value of the '{@link #getPriority() <em>Priority</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getPriority() + * @generated + * @ordered + */ + protected static final BigInteger PRIORITY_EDEFAULT = null; + + /** + * The cached value of the '{@link #getPriority() <em>Priority</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getPriority() + * @generated + * @ordered + */ + protected BigInteger priority = PRIORITY_EDEFAULT; + + /** + * The default value of the '{@link #getRuleFlowGroup() <em>Rule Flow Group</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getRuleFlowGroup() + * @generated + * @ordered + */ + protected static final String RULE_FLOW_GROUP_EDEFAULT = null; + + /** + * The cached value of the '{@link #getRuleFlowGroup() <em>Rule Flow Group</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getRuleFlowGroup() + * @generated + * @ordered + */ + protected String ruleFlowGroup = RULE_FLOW_GROUP_EDEFAULT; + + /** + * The default value of the '{@link #getTaskName() <em>Task Name</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getTaskName() + * @generated + * @ordered + */ + protected static final String TASK_NAME_EDEFAULT = null; + + /** + * The cached value of the '{@link #getTaskName() <em>Task Name</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getTaskName() + * @generated + * @ordered + */ + protected String taskName = TASK_NAME_EDEFAULT; + + /** + * The default value of the '{@link #getVersion() <em>Version</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getVersion() + * @generated + * @ordered + */ + protected static final String VERSION_EDEFAULT = null; + + /** + * The cached value of the '{@link #getVersion() <em>Version</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getVersion() + * @generated + * @ordered + */ + protected String version = VERSION_EDEFAULT; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected DocumentRootImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return DroolsPackage.Literals.DOCUMENT_ROOT; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public GlobalType getGlobal() { + return (GlobalType)getMixed().get(DroolsPackage.Literals.DOCUMENT_ROOT__GLOBAL, true); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetGlobal(GlobalType newGlobal, NotificationChain msgs) { + return ((FeatureMap.Internal)getMixed()).basicAdd(DroolsPackage.Literals.DOCUMENT_ROOT__GLOBAL, newGlobal, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setGlobal(GlobalType newGlobal) { + ((FeatureMap.Internal)getMixed()).set(DroolsPackage.Literals.DOCUMENT_ROOT__GLOBAL, newGlobal); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ImportType getImportType() { + return (ImportType)getMixed().get(DroolsPackage.Literals.DOCUMENT_ROOT__IMPORT_TYPE, true); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetImportType(ImportType newImportType, NotificationChain msgs) { + return ((FeatureMap.Internal)getMixed()).basicAdd(DroolsPackage.Literals.DOCUMENT_ROOT__IMPORT_TYPE, newImportType, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setImportType(ImportType newImportType) { + ((FeatureMap.Internal)getMixed()).set(DroolsPackage.Literals.DOCUMENT_ROOT__IMPORT_TYPE, newImportType); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public MetadataType getMetadata() { + return (MetadataType)getMixed().get(DroolsPackage.Literals.DOCUMENT_ROOT__METADATA, true); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetMetadata(MetadataType newMetadata, NotificationChain msgs) { + return ((FeatureMap.Internal)getMixed()).basicAdd(DroolsPackage.Literals.DOCUMENT_ROOT__METADATA, newMetadata, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setMetadata(MetadataType newMetadata) { + ((FeatureMap.Internal)getMixed()).set(DroolsPackage.Literals.DOCUMENT_ROOT__METADATA, newMetadata); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public MetaentryType getMetaentry() { + return (MetaentryType)getMixed().get(DroolsPackage.Literals.DOCUMENT_ROOT__METAENTRY, true); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetMetaentry(MetaentryType newMetaentry, NotificationChain msgs) { + return ((FeatureMap.Internal)getMixed()).basicAdd(DroolsPackage.Literals.DOCUMENT_ROOT__METAENTRY, newMetaentry, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setMetaentry(MetaentryType newMetaentry) { + ((FeatureMap.Internal)getMixed()).set(DroolsPackage.Literals.DOCUMENT_ROOT__METAENTRY, newMetaentry); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public OnEntryScriptType getOnEntryScript() { + return (OnEntryScriptType)getMixed().get(DroolsPackage.Literals.DOCUMENT_ROOT__ON_ENTRY_SCRIPT, true); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetOnEntryScript(OnEntryScriptType newOnEntryScript, NotificationChain msgs) { + return ((FeatureMap.Internal)getMixed()).basicAdd(DroolsPackage.Literals.DOCUMENT_ROOT__ON_ENTRY_SCRIPT, newOnEntryScript, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setOnEntryScript(OnEntryScriptType newOnEntryScript) { + ((FeatureMap.Internal)getMixed()).set(DroolsPackage.Literals.DOCUMENT_ROOT__ON_ENTRY_SCRIPT, newOnEntryScript); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public OnExitScriptType getOnExitScript() { + return (OnExitScriptType)getMixed().get(DroolsPackage.Literals.DOCUMENT_ROOT__ON_EXIT_SCRIPT, true); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetOnExitScript(OnExitScriptType newOnExitScript, NotificationChain msgs) { + return ((FeatureMap.Internal)getMixed()).basicAdd(DroolsPackage.Literals.DOCUMENT_ROOT__ON_EXIT_SCRIPT, newOnExitScript, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setOnExitScript(OnExitScriptType newOnExitScript) { + ((FeatureMap.Internal)getMixed()).set(DroolsPackage.Literals.DOCUMENT_ROOT__ON_EXIT_SCRIPT, newOnExitScript); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public BPSimDataType getBpsimData() { + return (BPSimDataType)getMixed().get(DroolsPackage.Literals.DOCUMENT_ROOT__BPSIM_DATA, true); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetBpsimData(BPSimDataType newBpsimData, NotificationChain msgs) { + return ((FeatureMap.Internal)getMixed()).basicAdd(DroolsPackage.Literals.DOCUMENT_ROOT__BPSIM_DATA, newBpsimData, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setBpsimData(BPSimDataType newBpsimData) { + ((FeatureMap.Internal)getMixed()).set(DroolsPackage.Literals.DOCUMENT_ROOT__BPSIM_DATA, newBpsimData); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getPackageName() { + return packageName; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setPackageName(String newPackageName) { + String oldPackageName = packageName; + packageName = newPackageName; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, DroolsPackage.DOCUMENT_ROOT__PACKAGE_NAME, oldPackageName, packageName)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public BigInteger getPriority() { + return priority; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setPriority(BigInteger newPriority) { + BigInteger oldPriority = priority; + priority = newPriority; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, DroolsPackage.DOCUMENT_ROOT__PRIORITY, oldPriority, priority)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getRuleFlowGroup() { + return ruleFlowGroup; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setRuleFlowGroup(String newRuleFlowGroup) { + String oldRuleFlowGroup = ruleFlowGroup; + ruleFlowGroup = newRuleFlowGroup; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, DroolsPackage.DOCUMENT_ROOT__RULE_FLOW_GROUP, oldRuleFlowGroup, ruleFlowGroup)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getTaskName() { + return taskName; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setTaskName(String newTaskName) { + String oldTaskName = taskName; + taskName = newTaskName; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, DroolsPackage.DOCUMENT_ROOT__TASK_NAME, oldTaskName, taskName)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getVersion() { + return version; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setVersion(String newVersion) { + String oldVersion = version; + version = newVersion; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, DroolsPackage.DOCUMENT_ROOT__VERSION, oldVersion, version)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case DroolsPackage.DOCUMENT_ROOT__GLOBAL: + return basicSetGlobal(null, msgs); + case DroolsPackage.DOCUMENT_ROOT__IMPORT_TYPE: + return basicSetImportType(null, msgs); + case DroolsPackage.DOCUMENT_ROOT__METADATA: + return basicSetMetadata(null, msgs); + case DroolsPackage.DOCUMENT_ROOT__METAENTRY: + return basicSetMetaentry(null, msgs); + case DroolsPackage.DOCUMENT_ROOT__ON_ENTRY_SCRIPT: + return basicSetOnEntryScript(null, msgs); + case DroolsPackage.DOCUMENT_ROOT__ON_EXIT_SCRIPT: + return basicSetOnExitScript(null, msgs); + case DroolsPackage.DOCUMENT_ROOT__BPSIM_DATA: + return basicSetBpsimData(null, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case DroolsPackage.DOCUMENT_ROOT__GLOBAL: + return getGlobal(); + case DroolsPackage.DOCUMENT_ROOT__IMPORT_TYPE: + return getImportType(); + case DroolsPackage.DOCUMENT_ROOT__METADATA: + return getMetadata(); + case DroolsPackage.DOCUMENT_ROOT__METAENTRY: + return getMetaentry(); + case DroolsPackage.DOCUMENT_ROOT__ON_ENTRY_SCRIPT: + return getOnEntryScript(); + case DroolsPackage.DOCUMENT_ROOT__ON_EXIT_SCRIPT: + return getOnExitScript(); + case DroolsPackage.DOCUMENT_ROOT__BPSIM_DATA: + return getBpsimData(); + case DroolsPackage.DOCUMENT_ROOT__PACKAGE_NAME: + return getPackageName(); + case DroolsPackage.DOCUMENT_ROOT__PRIORITY: + return getPriority(); + case DroolsPackage.DOCUMENT_ROOT__RULE_FLOW_GROUP: + return getRuleFlowGroup(); + case DroolsPackage.DOCUMENT_ROOT__TASK_NAME: + return getTaskName(); + case DroolsPackage.DOCUMENT_ROOT__VERSION: + return getVersion(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case DroolsPackage.DOCUMENT_ROOT__GLOBAL: + setGlobal((GlobalType)newValue); + return; + case DroolsPackage.DOCUMENT_ROOT__IMPORT_TYPE: + setImportType((ImportType)newValue); + return; + case DroolsPackage.DOCUMENT_ROOT__METADATA: + setMetadata((MetadataType)newValue); + return; + case DroolsPackage.DOCUMENT_ROOT__METAENTRY: + setMetaentry((MetaentryType)newValue); + return; + case DroolsPackage.DOCUMENT_ROOT__ON_ENTRY_SCRIPT: + setOnEntryScript((OnEntryScriptType)newValue); + return; + case DroolsPackage.DOCUMENT_ROOT__ON_EXIT_SCRIPT: + setOnExitScript((OnExitScriptType)newValue); + return; + case DroolsPackage.DOCUMENT_ROOT__BPSIM_DATA: + setBpsimData((BPSimDataType)newValue); + return; + case DroolsPackage.DOCUMENT_ROOT__PACKAGE_NAME: + setPackageName((String)newValue); + return; + case DroolsPackage.DOCUMENT_ROOT__PRIORITY: + setPriority((BigInteger)newValue); + return; + case DroolsPackage.DOCUMENT_ROOT__RULE_FLOW_GROUP: + setRuleFlowGroup((String)newValue); + return; + case DroolsPackage.DOCUMENT_ROOT__TASK_NAME: + setTaskName((String)newValue); + return; + case DroolsPackage.DOCUMENT_ROOT__VERSION: + setVersion((String)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case DroolsPackage.DOCUMENT_ROOT__GLOBAL: + setGlobal((GlobalType)null); + return; + case DroolsPackage.DOCUMENT_ROOT__IMPORT_TYPE: + setImportType((ImportType)null); + return; + case DroolsPackage.DOCUMENT_ROOT__METADATA: + setMetadata((MetadataType)null); + return; + case DroolsPackage.DOCUMENT_ROOT__METAENTRY: + setMetaentry((MetaentryType)null); + return; + case DroolsPackage.DOCUMENT_ROOT__ON_ENTRY_SCRIPT: + setOnEntryScript((OnEntryScriptType)null); + return; + case DroolsPackage.DOCUMENT_ROOT__ON_EXIT_SCRIPT: + setOnExitScript((OnExitScriptType)null); + return; + case DroolsPackage.DOCUMENT_ROOT__BPSIM_DATA: + setBpsimData((BPSimDataType)null); + return; + case DroolsPackage.DOCUMENT_ROOT__PACKAGE_NAME: + setPackageName(PACKAGE_NAME_EDEFAULT); + return; + case DroolsPackage.DOCUMENT_ROOT__PRIORITY: + setPriority(PRIORITY_EDEFAULT); + return; + case DroolsPackage.DOCUMENT_ROOT__RULE_FLOW_GROUP: + setRuleFlowGroup(RULE_FLOW_GROUP_EDEFAULT); + return; + case DroolsPackage.DOCUMENT_ROOT__TASK_NAME: + setTaskName(TASK_NAME_EDEFAULT); + return; + case DroolsPackage.DOCUMENT_ROOT__VERSION: + setVersion(VERSION_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case DroolsPackage.DOCUMENT_ROOT__GLOBAL: + return getGlobal() != null; + case DroolsPackage.DOCUMENT_ROOT__IMPORT_TYPE: + return getImportType() != null; + case DroolsPackage.DOCUMENT_ROOT__METADATA: + return getMetadata() != null; + case DroolsPackage.DOCUMENT_ROOT__METAENTRY: + return getMetaentry() != null; + case DroolsPackage.DOCUMENT_ROOT__ON_ENTRY_SCRIPT: + return getOnEntryScript() != null; + case DroolsPackage.DOCUMENT_ROOT__ON_EXIT_SCRIPT: + return getOnExitScript() != null; + case DroolsPackage.DOCUMENT_ROOT__BPSIM_DATA: + return getBpsimData() != null; + case DroolsPackage.DOCUMENT_ROOT__PACKAGE_NAME: + return PACKAGE_NAME_EDEFAULT == null ? packageName != null : !PACKAGE_NAME_EDEFAULT.equals(packageName); + case DroolsPackage.DOCUMENT_ROOT__PRIORITY: + return PRIORITY_EDEFAULT == null ? priority != null : !PRIORITY_EDEFAULT.equals(priority); + case DroolsPackage.DOCUMENT_ROOT__RULE_FLOW_GROUP: + return RULE_FLOW_GROUP_EDEFAULT == null ? ruleFlowGroup != null : !RULE_FLOW_GROUP_EDEFAULT.equals(ruleFlowGroup); + case DroolsPackage.DOCUMENT_ROOT__TASK_NAME: + return TASK_NAME_EDEFAULT == null ? taskName != null : !TASK_NAME_EDEFAULT.equals(taskName); + case DroolsPackage.DOCUMENT_ROOT__VERSION: + return VERSION_EDEFAULT == null ? version != null : !VERSION_EDEFAULT.equals(version); + } + return super.eIsSet(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (packageName: "); + result.append(packageName); + result.append(", priority: "); + result.append(priority); + result.append(", ruleFlowGroup: "); + result.append(ruleFlowGroup); + result.append(", taskName: "); + result.append(taskName); + result.append(", version: "); + result.append(version); + result.append(')'); + return result.toString(); + } + +} //DocumentRootImpl diff --git a/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/drools/impl/DroolsFactoryImpl.java b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/drools/impl/DroolsFactoryImpl.java new file mode 100644 index 00000000..fa20d71d --- /dev/null +++ b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/drools/impl/DroolsFactoryImpl.java @@ -0,0 +1,330 @@ +/** + */ +package org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.impl; + +import java.math.BigInteger; + +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.*; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.DocumentRoot; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.DroolsFactory; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.DroolsPackage; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.GlobalType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.ImportType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.MetadataType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.MetaentryType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.OnEntryScriptType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.OnExitScriptType; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EDataType; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.ecore.EPackage; +import org.eclipse.emf.ecore.impl.EFactoryImpl; +import org.eclipse.emf.ecore.plugin.EcorePlugin; +import org.eclipse.emf.ecore.xml.type.XMLTypeFactory; +import org.eclipse.emf.ecore.xml.type.XMLTypePackage; + +/** + * <!-- begin-user-doc --> + * An implementation of the model <b>Factory</b>. + * <!-- end-user-doc --> + * @generated + */ +public class DroolsFactoryImpl extends EFactoryImpl implements DroolsFactory { + /** + * Creates the default factory implementation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public static DroolsFactory init() { + try { + DroolsFactory theDroolsFactory = (DroolsFactory)EPackage.Registry.INSTANCE.getEFactory("http://www.jboss.org/drools"); + if (theDroolsFactory != null) { + return theDroolsFactory; + } + } + catch (Exception exception) { + EcorePlugin.INSTANCE.log(exception); + } + return new DroolsFactoryImpl(); + } + + /** + * Creates an instance of the factory. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public DroolsFactoryImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public EObject create(EClass eClass) { + switch (eClass.getClassifierID()) { + case DroolsPackage.DOCUMENT_ROOT: return createDocumentRoot(); + case DroolsPackage.GLOBAL_TYPE: return createGlobalType(); + case DroolsPackage.IMPORT_TYPE: return createImportType(); + case DroolsPackage.METADATA_TYPE: return createMetadataType(); + case DroolsPackage.METAENTRY_TYPE: return createMetaentryType(); + case DroolsPackage.ON_ENTRY_SCRIPT_TYPE: return createOnEntryScriptType(); + case DroolsPackage.ON_EXIT_SCRIPT_TYPE: return createOnExitScriptType(); + case DroolsPackage.BP_SIM_DATA_TYPE: return createBPSimDataType(); + case DroolsPackage.EXTERNAL_PROCESS: return createExternalProcess(); + default: + throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); + } + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object createFromString(EDataType eDataType, String initialValue) { + switch (eDataType.getClassifierID()) { + case DroolsPackage.PACKAGE_NAME_TYPE: + return createPackageNameTypeFromString(eDataType, initialValue); + case DroolsPackage.PRIORITY_TYPE: + return createPriorityTypeFromString(eDataType, initialValue); + case DroolsPackage.RULE_FLOW_GROUP_TYPE: + return createRuleFlowGroupTypeFromString(eDataType, initialValue); + case DroolsPackage.TASK_NAME_TYPE: + return createTaskNameTypeFromString(eDataType, initialValue); + case DroolsPackage.VERSION_TYPE: + return createVersionTypeFromString(eDataType, initialValue); + default: + throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); + } + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public String convertToString(EDataType eDataType, Object instanceValue) { + switch (eDataType.getClassifierID()) { + case DroolsPackage.PACKAGE_NAME_TYPE: + return convertPackageNameTypeToString(eDataType, instanceValue); + case DroolsPackage.PRIORITY_TYPE: + return convertPriorityTypeToString(eDataType, instanceValue); + case DroolsPackage.RULE_FLOW_GROUP_TYPE: + return convertRuleFlowGroupTypeToString(eDataType, instanceValue); + case DroolsPackage.TASK_NAME_TYPE: + return convertTaskNameTypeToString(eDataType, instanceValue); + case DroolsPackage.VERSION_TYPE: + return convertVersionTypeToString(eDataType, instanceValue); + default: + throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); + } + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public DocumentRoot createDocumentRoot() { + DocumentRootImpl documentRoot = new DocumentRootImpl(); + return documentRoot; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public GlobalType createGlobalType() { + GlobalTypeImpl globalType = new GlobalTypeImpl(); + return globalType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ImportType createImportType() { + ImportTypeImpl importType = new ImportTypeImpl(); + return importType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public MetadataType createMetadataType() { + MetadataTypeImpl metadataType = new MetadataTypeImpl(); + return metadataType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public MetaentryType createMetaentryType() { + MetaentryTypeImpl metaentryType = new MetaentryTypeImpl(); + return metaentryType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public OnEntryScriptType createOnEntryScriptType() { + OnEntryScriptTypeImpl onEntryScriptType = new OnEntryScriptTypeImpl(); + return onEntryScriptType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public OnExitScriptType createOnExitScriptType() { + OnExitScriptTypeImpl onExitScriptType = new OnExitScriptTypeImpl(); + return onExitScriptType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public BPSimDataType createBPSimDataType() { + BPSimDataTypeImpl bpSimDataType = new BPSimDataTypeImpl(); + return bpSimDataType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ExternalProcess createExternalProcess() { + ExternalProcessImpl callableElementProxy = new ExternalProcessImpl(); + return callableElementProxy; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String createPackageNameTypeFromString(EDataType eDataType, String initialValue) { + return (String)XMLTypeFactory.eINSTANCE.createFromString(XMLTypePackage.Literals.STRING, initialValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String convertPackageNameTypeToString(EDataType eDataType, Object instanceValue) { + return XMLTypeFactory.eINSTANCE.convertToString(XMLTypePackage.Literals.STRING, instanceValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public BigInteger createPriorityTypeFromString(EDataType eDataType, String initialValue) { + return (BigInteger)XMLTypeFactory.eINSTANCE.createFromString(XMLTypePackage.Literals.INTEGER, initialValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String convertPriorityTypeToString(EDataType eDataType, Object instanceValue) { + return XMLTypeFactory.eINSTANCE.convertToString(XMLTypePackage.Literals.INTEGER, instanceValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String createRuleFlowGroupTypeFromString(EDataType eDataType, String initialValue) { + return (String)XMLTypeFactory.eINSTANCE.createFromString(XMLTypePackage.Literals.STRING, initialValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String convertRuleFlowGroupTypeToString(EDataType eDataType, Object instanceValue) { + return XMLTypeFactory.eINSTANCE.convertToString(XMLTypePackage.Literals.STRING, instanceValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String createTaskNameTypeFromString(EDataType eDataType, String initialValue) { + return (String)XMLTypeFactory.eINSTANCE.createFromString(XMLTypePackage.Literals.STRING, initialValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String convertTaskNameTypeToString(EDataType eDataType, Object instanceValue) { + return XMLTypeFactory.eINSTANCE.convertToString(XMLTypePackage.Literals.STRING, instanceValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String createVersionTypeFromString(EDataType eDataType, String initialValue) { + return (String)XMLTypeFactory.eINSTANCE.createFromString(XMLTypePackage.Literals.STRING, initialValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String convertVersionTypeToString(EDataType eDataType, Object instanceValue) { + return XMLTypeFactory.eINSTANCE.convertToString(XMLTypePackage.Literals.STRING, instanceValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public DroolsPackage getDroolsPackage() { + return (DroolsPackage)getEPackage(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @deprecated + * @generated + */ + @Deprecated + public static DroolsPackage getPackage() { + return DroolsPackage.eINSTANCE; + } + +} //DroolsFactoryImpl diff --git a/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/drools/impl/DroolsPackageImpl.java b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/drools/impl/DroolsPackageImpl.java new file mode 100644 index 00000000..f1695452 --- /dev/null +++ b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/drools/impl/DroolsPackageImpl.java @@ -0,0 +1,981 @@ +/** + */ +package org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.impl; + +import java.math.BigInteger; + +import org.eclipse.bpmn2.Bpmn2Package; +import org.eclipse.bpmn2.di.BpmnDiPackage; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BpsimPackage; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.impl.BpsimPackageImpl; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.BPSimDataType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.ExternalProcess; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.DocumentRoot; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.DroolsFactory; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.DroolsPackage; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.GlobalType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.ImportType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.MetadataType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.MetaentryType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.OnEntryScriptType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.OnExitScriptType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.util.DroolsValidator; +import org.eclipse.dd.dc.DcPackage; +import org.eclipse.dd.di.DiPackage; +import org.eclipse.emf.ecore.EAttribute; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EDataType; +import org.eclipse.emf.ecore.EPackage; +import org.eclipse.emf.ecore.EReference; +import org.eclipse.emf.ecore.EValidator; +import org.eclipse.emf.ecore.impl.EPackageImpl; +import org.eclipse.emf.ecore.xml.type.XMLTypePackage; + +/** + * <!-- begin-user-doc --> + * An implementation of the model <b>Package</b>. + * <!-- end-user-doc --> + * @generated + */ +public class DroolsPackageImpl extends EPackageImpl implements DroolsPackage { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass documentRootEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass globalTypeEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass importTypeEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass metadataTypeEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass metaentryTypeEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass onEntryScriptTypeEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass onExitScriptTypeEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass bpSimDataTypeEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass callableElementProxyEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EDataType packageNameTypeEDataType = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EDataType priorityTypeEDataType = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EDataType ruleFlowGroupTypeEDataType = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EDataType taskNameTypeEDataType = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EDataType versionTypeEDataType = null; + + /** + * Creates an instance of the model <b>Package</b>, registered with + * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package + * package URI value. + * <p>Note: the correct way to create the package is via the static + * factory method {@link #init init()}, which also performs + * initialization of the package, or returns the registered package, + * if one already exists. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.emf.ecore.EPackage.Registry + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.DroolsPackage#eNS_URI + * @see #init() + * @generated + */ + private DroolsPackageImpl() { + super(eNS_URI, DroolsFactory.eINSTANCE); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private static boolean isInited = false; + + /** + * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends. + * + * <p>This method is used to initialize {@link DroolsPackage#eINSTANCE} when that field is accessed. + * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #eNS_URI + * @see #createPackageContents() + * @see #initializePackageContents() + * @generated + */ + public static DroolsPackage init() { + if (isInited) return (DroolsPackage)EPackage.Registry.INSTANCE.getEPackage(DroolsPackage.eNS_URI); + + // Obtain or create and register package + DroolsPackageImpl theDroolsPackage = (DroolsPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof DroolsPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new DroolsPackageImpl()); + + isInited = true; + + // Initialize simple dependencies + Bpmn2Package.eINSTANCE.eClass(); + BpmnDiPackage.eINSTANCE.eClass(); + DiPackage.eINSTANCE.eClass(); + DcPackage.eINSTANCE.eClass(); + XMLTypePackage.eINSTANCE.eClass(); + + // Obtain or create and register interdependencies + BpsimPackageImpl theBpsimPackage = (BpsimPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(BpsimPackage.eNS_URI) instanceof BpsimPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(BpsimPackage.eNS_URI) : BpsimPackage.eINSTANCE); + + // Create package meta-data objects + theDroolsPackage.createPackageContents(); + theBpsimPackage.createPackageContents(); + + // Initialize created meta-data + theDroolsPackage.initializePackageContents(); + theBpsimPackage.initializePackageContents(); + + // Register package validator + EValidator.Registry.INSTANCE.put + (theDroolsPackage, + new EValidator.Descriptor() { + public EValidator getEValidator() { + return DroolsValidator.INSTANCE; + } + }); + + // Mark meta-data to indicate it can't be changed + theDroolsPackage.freeze(); + + + // Update the registry and return the package + EPackage.Registry.INSTANCE.put(DroolsPackage.eNS_URI, theDroolsPackage); + return theDroolsPackage; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getDocumentRoot() { + return documentRootEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getDocumentRoot_Global() { + return (EReference)documentRootEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getDocumentRoot_ImportType() { + return (EReference)documentRootEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getDocumentRoot_Metadata() { + return (EReference)documentRootEClass.getEStructuralFeatures().get(2); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getDocumentRoot_Metaentry() { + return (EReference)documentRootEClass.getEStructuralFeatures().get(3); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getDocumentRoot_OnEntryScript() { + return (EReference)documentRootEClass.getEStructuralFeatures().get(4); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getDocumentRoot_OnExitScript() { + return (EReference)documentRootEClass.getEStructuralFeatures().get(5); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getDocumentRoot_BpsimData() { + return (EReference)documentRootEClass.getEStructuralFeatures().get(6); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getDocumentRoot_PackageName() { + return (EAttribute)documentRootEClass.getEStructuralFeatures().get(7); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getDocumentRoot_Priority() { + return (EAttribute)documentRootEClass.getEStructuralFeatures().get(8); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getDocumentRoot_RuleFlowGroup() { + return (EAttribute)documentRootEClass.getEStructuralFeatures().get(9); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getDocumentRoot_TaskName() { + return (EAttribute)documentRootEClass.getEStructuralFeatures().get(10); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getDocumentRoot_Version() { + return (EAttribute)documentRootEClass.getEStructuralFeatures().get(11); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getGlobalType() { + return globalTypeEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getGlobalType_Identifier() { + return (EAttribute)globalTypeEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getGlobalType_Type() { + return (EAttribute)globalTypeEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getImportType() { + return importTypeEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getImportType_Name() { + return (EAttribute)importTypeEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getMetadataType() { + return metadataTypeEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getMetadataType_Metaentry() { + return (EReference)metadataTypeEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getMetaentryType() { + return metaentryTypeEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getMetaentryType_Name() { + return (EAttribute)metaentryTypeEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getMetaentryType_Value() { + return (EAttribute)metaentryTypeEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getOnEntryScriptType() { + return onEntryScriptTypeEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getOnEntryScriptType_Script() { + return (EAttribute)onEntryScriptTypeEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getOnEntryScriptType_ScriptFormat() { + return (EAttribute)onEntryScriptTypeEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getOnExitScriptType() { + return onExitScriptTypeEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getOnExitScriptType_Script() { + return (EAttribute)onExitScriptTypeEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getOnExitScriptType_ScriptFormat() { + return (EAttribute)onExitScriptTypeEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getBPSimDataType() { + return bpSimDataTypeEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getExternalProcess() { + return callableElementProxyEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EDataType getPackageNameType() { + return packageNameTypeEDataType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EDataType getPriorityType() { + return priorityTypeEDataType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EDataType getRuleFlowGroupType() { + return ruleFlowGroupTypeEDataType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EDataType getTaskNameType() { + return taskNameTypeEDataType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EDataType getVersionType() { + return versionTypeEDataType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public DroolsFactory getDroolsFactory() { + return (DroolsFactory)getEFactoryInstance(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private boolean isCreated = false; + + /** + * Creates the meta-model objects for the package. This method is + * guarded to have no affect on any invocation but its first. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void createPackageContents() { + if (isCreated) return; + isCreated = true; + + // Create classes and their features + documentRootEClass = createEClass(DOCUMENT_ROOT); + createEReference(documentRootEClass, DOCUMENT_ROOT__GLOBAL); + createEReference(documentRootEClass, DOCUMENT_ROOT__IMPORT_TYPE); + createEReference(documentRootEClass, DOCUMENT_ROOT__METADATA); + createEReference(documentRootEClass, DOCUMENT_ROOT__METAENTRY); + createEReference(documentRootEClass, DOCUMENT_ROOT__ON_ENTRY_SCRIPT); + createEReference(documentRootEClass, DOCUMENT_ROOT__ON_EXIT_SCRIPT); + createEReference(documentRootEClass, DOCUMENT_ROOT__BPSIM_DATA); + createEAttribute(documentRootEClass, DOCUMENT_ROOT__PACKAGE_NAME); + createEAttribute(documentRootEClass, DOCUMENT_ROOT__PRIORITY); + createEAttribute(documentRootEClass, DOCUMENT_ROOT__RULE_FLOW_GROUP); + createEAttribute(documentRootEClass, DOCUMENT_ROOT__TASK_NAME); + createEAttribute(documentRootEClass, DOCUMENT_ROOT__VERSION); + + globalTypeEClass = createEClass(GLOBAL_TYPE); + createEAttribute(globalTypeEClass, GLOBAL_TYPE__IDENTIFIER); + createEAttribute(globalTypeEClass, GLOBAL_TYPE__TYPE); + + importTypeEClass = createEClass(IMPORT_TYPE); + createEAttribute(importTypeEClass, IMPORT_TYPE__NAME); + + metadataTypeEClass = createEClass(METADATA_TYPE); + createEReference(metadataTypeEClass, METADATA_TYPE__METAENTRY); + + metaentryTypeEClass = createEClass(METAENTRY_TYPE); + createEAttribute(metaentryTypeEClass, METAENTRY_TYPE__NAME); + createEAttribute(metaentryTypeEClass, METAENTRY_TYPE__VALUE); + + onEntryScriptTypeEClass = createEClass(ON_ENTRY_SCRIPT_TYPE); + createEAttribute(onEntryScriptTypeEClass, ON_ENTRY_SCRIPT_TYPE__SCRIPT); + createEAttribute(onEntryScriptTypeEClass, ON_ENTRY_SCRIPT_TYPE__SCRIPT_FORMAT); + + onExitScriptTypeEClass = createEClass(ON_EXIT_SCRIPT_TYPE); + createEAttribute(onExitScriptTypeEClass, ON_EXIT_SCRIPT_TYPE__SCRIPT); + createEAttribute(onExitScriptTypeEClass, ON_EXIT_SCRIPT_TYPE__SCRIPT_FORMAT); + + bpSimDataTypeEClass = createEClass(BP_SIM_DATA_TYPE); + + callableElementProxyEClass = createEClass(EXTERNAL_PROCESS); + + // Create data types + packageNameTypeEDataType = createEDataType(PACKAGE_NAME_TYPE); + priorityTypeEDataType = createEDataType(PRIORITY_TYPE); + ruleFlowGroupTypeEDataType = createEDataType(RULE_FLOW_GROUP_TYPE); + taskNameTypeEDataType = createEDataType(TASK_NAME_TYPE); + versionTypeEDataType = createEDataType(VERSION_TYPE); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private boolean isInitialized = false; + + /** + * Complete the initialization of the package and its meta-model. This + * method is guarded to have no affect on any invocation but its first. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void initializePackageContents() { + if (isInitialized) return; + isInitialized = true; + + // Initialize package + setName(eNAME); + setNsPrefix(eNS_PREFIX); + setNsURI(eNS_URI); + + // Obtain other dependent packages + Bpmn2Package theBpmn2Package = (Bpmn2Package)EPackage.Registry.INSTANCE.getEPackage(Bpmn2Package.eNS_URI); + BpsimPackage theBpsimPackage = (BpsimPackage)EPackage.Registry.INSTANCE.getEPackage(BpsimPackage.eNS_URI); + XMLTypePackage theXMLTypePackage = (XMLTypePackage)EPackage.Registry.INSTANCE.getEPackage(XMLTypePackage.eNS_URI); + + // Create type parameters + + // Set bounds for type parameters + + // Add supertypes to classes + documentRootEClass.getESuperTypes().add(theBpmn2Package.getDocumentRoot()); + globalTypeEClass.getESuperTypes().add(theBpmn2Package.getItemAwareElement()); + bpSimDataTypeEClass.getESuperTypes().add(theBpsimPackage.getBPSimDataType()); + callableElementProxyEClass.getESuperTypes().add(theBpmn2Package.getCallableElement()); + + // Initialize classes and features; add operations and parameters + initEClass(documentRootEClass, DocumentRoot.class, "DocumentRoot", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getDocumentRoot_Global(), this.getGlobalType(), null, "global", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED); + initEReference(getDocumentRoot_ImportType(), this.getImportType(), null, "importType", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED); + initEReference(getDocumentRoot_Metadata(), this.getMetadataType(), null, "metadata", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED); + initEReference(getDocumentRoot_Metaentry(), this.getMetaentryType(), null, "metaentry", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED); + initEReference(getDocumentRoot_OnEntryScript(), this.getOnEntryScriptType(), null, "onEntryScript", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED); + initEReference(getDocumentRoot_OnExitScript(), this.getOnExitScriptType(), null, "onExitScript", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED); + initEReference(getDocumentRoot_BpsimData(), theBpsimPackage.getBPSimDataType(), null, "bpsimData", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED); + initEAttribute(getDocumentRoot_PackageName(), this.getPackageNameType(), "packageName", null, 0, 1, null, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getDocumentRoot_Priority(), this.getPriorityType(), "priority", null, 0, 1, null, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getDocumentRoot_RuleFlowGroup(), this.getRuleFlowGroupType(), "ruleFlowGroup", null, 0, 1, null, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getDocumentRoot_TaskName(), this.getTaskNameType(), "taskName", null, 0, 1, null, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getDocumentRoot_Version(), this.getVersionType(), "version", null, 0, 1, null, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(globalTypeEClass, GlobalType.class, "GlobalType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getGlobalType_Identifier(), theXMLTypePackage.getString(), "identifier", null, 1, 1, GlobalType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getGlobalType_Type(), theXMLTypePackage.getString(), "type", null, 1, 1, GlobalType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(importTypeEClass, ImportType.class, "ImportType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getImportType_Name(), theXMLTypePackage.getString(), "name", null, 1, 1, ImportType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(metadataTypeEClass, MetadataType.class, "MetadataType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getMetadataType_Metaentry(), this.getMetaentryType(), null, "metaentry", null, 1, -1, MetadataType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(metaentryTypeEClass, MetaentryType.class, "MetaentryType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getMetaentryType_Name(), theXMLTypePackage.getString(), "name", null, 1, 1, MetaentryType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getMetaentryType_Value(), theXMLTypePackage.getString(), "value", null, 1, 1, MetaentryType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(onEntryScriptTypeEClass, OnEntryScriptType.class, "OnEntryScriptType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getOnEntryScriptType_Script(), theXMLTypePackage.getString(), "script", null, 1, 1, OnEntryScriptType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getOnEntryScriptType_ScriptFormat(), theXMLTypePackage.getString(), "scriptFormat", null, 1, 1, OnEntryScriptType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(onExitScriptTypeEClass, OnExitScriptType.class, "OnExitScriptType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getOnExitScriptType_Script(), theXMLTypePackage.getString(), "script", null, 1, 1, OnExitScriptType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getOnExitScriptType_ScriptFormat(), theXMLTypePackage.getString(), "scriptFormat", null, 1, 1, OnExitScriptType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(bpSimDataTypeEClass, BPSimDataType.class, "BPSimDataType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + initEClass(callableElementProxyEClass, ExternalProcess.class, "ExternalProcess", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + // Initialize data types + initEDataType(packageNameTypeEDataType, String.class, "PackageNameType", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); + initEDataType(priorityTypeEDataType, BigInteger.class, "PriorityType", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); + initEDataType(ruleFlowGroupTypeEDataType, String.class, "RuleFlowGroupType", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); + initEDataType(taskNameTypeEDataType, String.class, "TaskNameType", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); + initEDataType(versionTypeEDataType, String.class, "VersionType", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); + + // Create resource + createResource(eNS_URI); + + // Create annotations + // http:///org/eclipse/emf/ecore/util/ExtendedMetaData + createExtendedMetaDataAnnotations(); + } + + /** + * Initializes the annotations for <b>http:///org/eclipse/emf/ecore/util/ExtendedMetaData</b>. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected void createExtendedMetaDataAnnotations() { + String source = "http:///org/eclipse/emf/ecore/util/ExtendedMetaData"; + addAnnotation + (documentRootEClass, + source, + new String[] { + "name", "", + "kind", "mixed" + }); + addAnnotation + (getDocumentRoot_Global(), + source, + new String[] { + "kind", "element", + "name", "global", + "namespace", "##targetNamespace" + }); + addAnnotation + (getDocumentRoot_ImportType(), + source, + new String[] { + "kind", "element", + "name", "import", + "namespace", "##targetNamespace" + }); + addAnnotation + (getDocumentRoot_Metadata(), + source, + new String[] { + "kind", "element", + "name", "metadata", + "namespace", "##targetNamespace" + }); + addAnnotation + (getDocumentRoot_Metaentry(), + source, + new String[] { + "kind", "element", + "name", "metaentry", + "namespace", "##targetNamespace" + }); + addAnnotation + (getDocumentRoot_OnEntryScript(), + source, + new String[] { + "kind", "element", + "name", "onEntry-script", + "namespace", "##targetNamespace" + }); + addAnnotation + (getDocumentRoot_OnExitScript(), + source, + new String[] { + "kind", "element", + "name", "onExit-script", + "namespace", "##targetNamespace" + }); + addAnnotation + (getDocumentRoot_BpsimData(), + source, + new String[] { + "kind", "element", + "name", "BPSimData", + "namespace", "##targetNamespace" + }); + addAnnotation + (getDocumentRoot_PackageName(), + source, + new String[] { + "kind", "attribute", + "name", "packageName", + "namespace", "##targetNamespace" + }); + addAnnotation + (getDocumentRoot_Priority(), + source, + new String[] { + "kind", "attribute", + "name", "priority", + "namespace", "##targetNamespace" + }); + addAnnotation + (getDocumentRoot_RuleFlowGroup(), + source, + new String[] { + "kind", "attribute", + "name", "ruleFlowGroup", + "namespace", "##targetNamespace" + }); + addAnnotation + (getDocumentRoot_TaskName(), + source, + new String[] { + "kind", "attribute", + "name", "taskName", + "namespace", "##targetNamespace" + }); + addAnnotation + (getDocumentRoot_Version(), + source, + new String[] { + "kind", "attribute", + "name", "version", + "namespace", "##targetNamespace" + }); + addAnnotation + (globalTypeEClass, + source, + new String[] { + "name", "global_._type", + "kind", "empty" + }); + addAnnotation + (getGlobalType_Identifier(), + source, + new String[] { + "kind", "attribute", + "name", "identifier" + }); + addAnnotation + (getGlobalType_Type(), + source, + new String[] { + "kind", "attribute", + "name", "type" + }); + addAnnotation + (importTypeEClass, + source, + new String[] { + "name", "import_._type", + "kind", "empty" + }); + addAnnotation + (getImportType_Name(), + source, + new String[] { + "kind", "attribute", + "name", "name" + }); + addAnnotation + (metadataTypeEClass, + source, + new String[] { + "name", "metadata_._type", + "kind", "elementOnly" + }); + addAnnotation + (getMetadataType_Metaentry(), + source, + new String[] { + "kind", "element", + "name", "metaentry", + "namespace", "##targetNamespace" + }); + addAnnotation + (metaentryTypeEClass, + source, + new String[] { + "name", "metaentry_._type", + "kind", "elementOnly" + }); + addAnnotation + (getMetaentryType_Name(), + source, + new String[] { + "kind", "element", + "name", "name", + "namespace", "##targetNamespace" + }); + addAnnotation + (getMetaentryType_Value(), + source, + new String[] { + "kind", "element", + "name", "value", + "namespace", "##targetNamespace" + }); + addAnnotation + (onEntryScriptTypeEClass, + source, + new String[] { + "name", "onEntry-script_._type", + "kind", "elementOnly" + }); + addAnnotation + (getOnEntryScriptType_Script(), + source, + new String[] { + "kind", "element", + "name", "script", + "namespace", "##targetNamespace" + }); + addAnnotation + (getOnEntryScriptType_ScriptFormat(), + source, + new String[] { + "kind", "attribute", + "name", "scriptFormat" + }); + addAnnotation + (onExitScriptTypeEClass, + source, + new String[] { + "name", "onExit-script_._type", + "kind", "elementOnly" + }); + addAnnotation + (getOnExitScriptType_Script(), + source, + new String[] { + "kind", "element", + "name", "script", + "namespace", "##targetNamespace" + }); + addAnnotation + (getOnExitScriptType_ScriptFormat(), + source, + new String[] { + "kind", "attribute", + "name", "scriptFormat" + }); + addAnnotation + (packageNameTypeEDataType, + source, + new String[] { + "name", "packageName_._type", + "baseType", "http://www.eclipse.org/emf/2003/XMLType#string" + }); + addAnnotation + (priorityTypeEDataType, + source, + new String[] { + "name", "priority_._type", + "baseType", "http://www.eclipse.org/emf/2003/XMLType#integer", + "minInclusive", "1" + }); + addAnnotation + (ruleFlowGroupTypeEDataType, + source, + new String[] { + "name", "ruleFlowGroup_._type", + "baseType", "http://www.eclipse.org/emf/2003/XMLType#string" + }); + addAnnotation + (taskNameTypeEDataType, + source, + new String[] { + "name", "taskName_._type", + "baseType", "http://www.eclipse.org/emf/2003/XMLType#string" + }); + addAnnotation + (versionTypeEDataType, + source, + new String[] { + "name", "version_._type", + "baseType", "http://www.eclipse.org/emf/2003/XMLType#string" + }); + } + +} //DroolsPackageImpl diff --git a/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/drools/impl/ExternalProcessImpl.java b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/drools/impl/ExternalProcessImpl.java new file mode 100644 index 00000000..559e87ba --- /dev/null +++ b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/drools/impl/ExternalProcessImpl.java @@ -0,0 +1,41 @@ +/** + */ +package org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.impl; + +import org.eclipse.bpmn2.impl.CallableElementImpl; + +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.ExternalProcess; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.DroolsPackage; + +import org.eclipse.emf.ecore.EClass; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Callable Element Proxy</b></em>'. + * <!-- end-user-doc --> + * <p> + * </p> + * + * @generated + */ +public class ExternalProcessImpl extends CallableElementImpl implements ExternalProcess { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected ExternalProcessImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return DroolsPackage.Literals.EXTERNAL_PROCESS; + } + +} //ExternalProcessImpl diff --git a/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/drools/impl/GlobalTypeImpl.java b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/drools/impl/GlobalTypeImpl.java new file mode 100644 index 00000000..a050223d --- /dev/null +++ b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/drools/impl/GlobalTypeImpl.java @@ -0,0 +1,214 @@ +/** + */ +package org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.impl; + +import org.eclipse.bpmn2.impl.ItemAwareElementImpl; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.DroolsPackage; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.GlobalType; +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Global Type</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.impl.GlobalTypeImpl#getIdentifier <em>Identifier</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.impl.GlobalTypeImpl#getType <em>Type</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class GlobalTypeImpl extends ItemAwareElementImpl implements GlobalType { + /** + * The default value of the '{@link #getIdentifier() <em>Identifier</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getIdentifier() + * @generated + * @ordered + */ + protected static final String IDENTIFIER_EDEFAULT = null; + + /** + * The cached value of the '{@link #getIdentifier() <em>Identifier</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getIdentifier() + * @generated + * @ordered + */ + protected String identifier = IDENTIFIER_EDEFAULT; + + /** + * The default value of the '{@link #getType() <em>Type</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getType() + * @generated + * @ordered + */ + protected static final String TYPE_EDEFAULT = null; + + /** + * The cached value of the '{@link #getType() <em>Type</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getType() + * @generated + * @ordered + */ + protected String type = TYPE_EDEFAULT; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected GlobalTypeImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return DroolsPackage.Literals.GLOBAL_TYPE; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getIdentifier() { + return identifier; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setIdentifier(String newIdentifier) { + String oldIdentifier = identifier; + identifier = newIdentifier; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, DroolsPackage.GLOBAL_TYPE__IDENTIFIER, oldIdentifier, identifier)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getType() { + return type; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setType(String newType) { + String oldType = type; + type = newType; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, DroolsPackage.GLOBAL_TYPE__TYPE, oldType, type)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case DroolsPackage.GLOBAL_TYPE__IDENTIFIER: + return getIdentifier(); + case DroolsPackage.GLOBAL_TYPE__TYPE: + return getType(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case DroolsPackage.GLOBAL_TYPE__IDENTIFIER: + setIdentifier((String)newValue); + return; + case DroolsPackage.GLOBAL_TYPE__TYPE: + setType((String)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case DroolsPackage.GLOBAL_TYPE__IDENTIFIER: + setIdentifier(IDENTIFIER_EDEFAULT); + return; + case DroolsPackage.GLOBAL_TYPE__TYPE: + setType(TYPE_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case DroolsPackage.GLOBAL_TYPE__IDENTIFIER: + return IDENTIFIER_EDEFAULT == null ? identifier != null : !IDENTIFIER_EDEFAULT.equals(identifier); + case DroolsPackage.GLOBAL_TYPE__TYPE: + return TYPE_EDEFAULT == null ? type != null : !TYPE_EDEFAULT.equals(type); + } + return super.eIsSet(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (identifier: "); + result.append(identifier); + result.append(", type: "); + result.append(type); + result.append(')'); + return result.toString(); + } + +} //GlobalTypeImpl diff --git a/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/drools/impl/ImportTypeImpl.java b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/drools/impl/ImportTypeImpl.java new file mode 100644 index 00000000..60a62470 --- /dev/null +++ b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/drools/impl/ImportTypeImpl.java @@ -0,0 +1,160 @@ +/** + */ +package org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.impl; + +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.DroolsPackage; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.ImportType; +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.EObjectImpl; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Import Type</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.impl.ImportTypeImpl#getName <em>Name</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class ImportTypeImpl extends EObjectImpl implements ImportType { + /** + * The default value of the '{@link #getName() <em>Name</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getName() + * @generated + * @ordered + */ + protected static final String NAME_EDEFAULT = null; + + /** + * The cached value of the '{@link #getName() <em>Name</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getName() + * @generated + * @ordered + */ + protected String name = NAME_EDEFAULT; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected ImportTypeImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return DroolsPackage.Literals.IMPORT_TYPE; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getName() { + return name; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setName(String newName) { + String oldName = name; + name = newName; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, DroolsPackage.IMPORT_TYPE__NAME, oldName, name)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case DroolsPackage.IMPORT_TYPE__NAME: + return getName(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case DroolsPackage.IMPORT_TYPE__NAME: + setName((String)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case DroolsPackage.IMPORT_TYPE__NAME: + setName(NAME_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case DroolsPackage.IMPORT_TYPE__NAME: + return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); + } + return super.eIsSet(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (name: "); + result.append(name); + result.append(')'); + return result.toString(); + } + +} //ImportTypeImpl diff --git a/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/drools/impl/MetadataTypeImpl.java b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/drools/impl/MetadataTypeImpl.java new file mode 100644 index 00000000..a8b91437 --- /dev/null +++ b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/drools/impl/MetadataTypeImpl.java @@ -0,0 +1,147 @@ +/** + */ +package org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.impl; + +import java.util.Collection; + +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.DroolsPackage; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.MetadataType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.MetaentryType; +import org.eclipse.emf.common.notify.NotificationChain; +import org.eclipse.emf.common.util.EList; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; +import org.eclipse.emf.ecore.impl.EObjectImpl; +import org.eclipse.emf.ecore.util.EObjectContainmentEList; +import org.eclipse.emf.ecore.util.InternalEList; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Metadata Type</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.impl.MetadataTypeImpl#getMetaentry <em>Metaentry</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class MetadataTypeImpl extends EObjectImpl implements MetadataType { + /** + * The cached value of the '{@link #getMetaentry() <em>Metaentry</em>}' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getMetaentry() + * @generated + * @ordered + */ + protected EList<MetaentryType> metaentry; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected MetadataTypeImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return DroolsPackage.Literals.METADATA_TYPE; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList<MetaentryType> getMetaentry() { + if (metaentry == null) { + metaentry = new EObjectContainmentEList<MetaentryType>(MetaentryType.class, this, DroolsPackage.METADATA_TYPE__METAENTRY); + } + return metaentry; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case DroolsPackage.METADATA_TYPE__METAENTRY: + return ((InternalEList<?>)getMetaentry()).basicRemove(otherEnd, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case DroolsPackage.METADATA_TYPE__METAENTRY: + return getMetaentry(); + } + 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 DroolsPackage.METADATA_TYPE__METAENTRY: + getMetaentry().clear(); + getMetaentry().addAll((Collection<? extends MetaentryType>)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case DroolsPackage.METADATA_TYPE__METAENTRY: + getMetaentry().clear(); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case DroolsPackage.METADATA_TYPE__METAENTRY: + return metaentry != null && !metaentry.isEmpty(); + } + return super.eIsSet(featureID); + } + +} //MetadataTypeImpl diff --git a/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/drools/impl/MetaentryTypeImpl.java b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/drools/impl/MetaentryTypeImpl.java new file mode 100644 index 00000000..e750144b --- /dev/null +++ b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/drools/impl/MetaentryTypeImpl.java @@ -0,0 +1,214 @@ +/** + */ +package org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.impl; + +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.DroolsPackage; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.MetaentryType; +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.EObjectImpl; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Metaentry Type</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.impl.MetaentryTypeImpl#getName <em>Name</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.impl.MetaentryTypeImpl#getValue <em>Value</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class MetaentryTypeImpl extends EObjectImpl implements MetaentryType { + /** + * The default value of the '{@link #getName() <em>Name</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getName() + * @generated + * @ordered + */ + protected static final String NAME_EDEFAULT = null; + + /** + * The cached value of the '{@link #getName() <em>Name</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getName() + * @generated + * @ordered + */ + protected String name = NAME_EDEFAULT; + + /** + * The default value of the '{@link #getValue() <em>Value</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getValue() + * @generated + * @ordered + */ + protected static final String VALUE_EDEFAULT = null; + + /** + * The cached value of the '{@link #getValue() <em>Value</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getValue() + * @generated + * @ordered + */ + protected String value = VALUE_EDEFAULT; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected MetaentryTypeImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return DroolsPackage.Literals.METAENTRY_TYPE; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getName() { + return name; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setName(String newName) { + String oldName = name; + name = newName; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, DroolsPackage.METAENTRY_TYPE__NAME, oldName, name)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getValue() { + return value; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setValue(String newValue) { + String oldValue = value; + value = newValue; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, DroolsPackage.METAENTRY_TYPE__VALUE, oldValue, value)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case DroolsPackage.METAENTRY_TYPE__NAME: + return getName(); + case DroolsPackage.METAENTRY_TYPE__VALUE: + return getValue(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case DroolsPackage.METAENTRY_TYPE__NAME: + setName((String)newValue); + return; + case DroolsPackage.METAENTRY_TYPE__VALUE: + setValue((String)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case DroolsPackage.METAENTRY_TYPE__NAME: + setName(NAME_EDEFAULT); + return; + case DroolsPackage.METAENTRY_TYPE__VALUE: + setValue(VALUE_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case DroolsPackage.METAENTRY_TYPE__NAME: + return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); + case DroolsPackage.METAENTRY_TYPE__VALUE: + return VALUE_EDEFAULT == null ? value != null : !VALUE_EDEFAULT.equals(value); + } + return super.eIsSet(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (name: "); + result.append(name); + result.append(", value: "); + result.append(value); + result.append(')'); + return result.toString(); + } + +} //MetaentryTypeImpl diff --git a/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/drools/impl/OnEntryScriptTypeImpl.java b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/drools/impl/OnEntryScriptTypeImpl.java new file mode 100644 index 00000000..42313c70 --- /dev/null +++ b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/drools/impl/OnEntryScriptTypeImpl.java @@ -0,0 +1,214 @@ +/** + */ +package org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.impl; + +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.DroolsPackage; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.OnEntryScriptType; +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.EObjectImpl; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>On Entry Script Type</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.impl.OnEntryScriptTypeImpl#getScript <em>Script</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.impl.OnEntryScriptTypeImpl#getScriptFormat <em>Script Format</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class OnEntryScriptTypeImpl extends EObjectImpl implements OnEntryScriptType { + /** + * The default value of the '{@link #getScript() <em>Script</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getScript() + * @generated + * @ordered + */ + protected static final String SCRIPT_EDEFAULT = null; + + /** + * The cached value of the '{@link #getScript() <em>Script</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getScript() + * @generated + * @ordered + */ + protected String script = SCRIPT_EDEFAULT; + + /** + * The default value of the '{@link #getScriptFormat() <em>Script Format</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getScriptFormat() + * @generated + * @ordered + */ + protected static final String SCRIPT_FORMAT_EDEFAULT = null; + + /** + * The cached value of the '{@link #getScriptFormat() <em>Script Format</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getScriptFormat() + * @generated + * @ordered + */ + protected String scriptFormat = SCRIPT_FORMAT_EDEFAULT; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected OnEntryScriptTypeImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return DroolsPackage.Literals.ON_ENTRY_SCRIPT_TYPE; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getScript() { + return script; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setScript(String newScript) { + String oldScript = script; + script = newScript; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, DroolsPackage.ON_ENTRY_SCRIPT_TYPE__SCRIPT, oldScript, script)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getScriptFormat() { + return scriptFormat; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setScriptFormat(String newScriptFormat) { + String oldScriptFormat = scriptFormat; + scriptFormat = newScriptFormat; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, DroolsPackage.ON_ENTRY_SCRIPT_TYPE__SCRIPT_FORMAT, oldScriptFormat, scriptFormat)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case DroolsPackage.ON_ENTRY_SCRIPT_TYPE__SCRIPT: + return getScript(); + case DroolsPackage.ON_ENTRY_SCRIPT_TYPE__SCRIPT_FORMAT: + return getScriptFormat(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case DroolsPackage.ON_ENTRY_SCRIPT_TYPE__SCRIPT: + setScript((String)newValue); + return; + case DroolsPackage.ON_ENTRY_SCRIPT_TYPE__SCRIPT_FORMAT: + setScriptFormat((String)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case DroolsPackage.ON_ENTRY_SCRIPT_TYPE__SCRIPT: + setScript(SCRIPT_EDEFAULT); + return; + case DroolsPackage.ON_ENTRY_SCRIPT_TYPE__SCRIPT_FORMAT: + setScriptFormat(SCRIPT_FORMAT_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case DroolsPackage.ON_ENTRY_SCRIPT_TYPE__SCRIPT: + return SCRIPT_EDEFAULT == null ? script != null : !SCRIPT_EDEFAULT.equals(script); + case DroolsPackage.ON_ENTRY_SCRIPT_TYPE__SCRIPT_FORMAT: + return SCRIPT_FORMAT_EDEFAULT == null ? scriptFormat != null : !SCRIPT_FORMAT_EDEFAULT.equals(scriptFormat); + } + return super.eIsSet(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (script: "); + result.append(script); + result.append(", scriptFormat: "); + result.append(scriptFormat); + result.append(')'); + return result.toString(); + } + +} //OnEntryScriptTypeImpl diff --git a/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/drools/impl/OnExitScriptTypeImpl.java b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/drools/impl/OnExitScriptTypeImpl.java new file mode 100644 index 00000000..d9e77b66 --- /dev/null +++ b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/drools/impl/OnExitScriptTypeImpl.java @@ -0,0 +1,214 @@ +/** + */ +package org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.impl; + +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.DroolsPackage; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.OnExitScriptType; +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.EObjectImpl; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>On Exit Script Type</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.impl.OnExitScriptTypeImpl#getScript <em>Script</em>}</li> + * <li>{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.impl.OnExitScriptTypeImpl#getScriptFormat <em>Script Format</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class OnExitScriptTypeImpl extends EObjectImpl implements OnExitScriptType { + /** + * The default value of the '{@link #getScript() <em>Script</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getScript() + * @generated + * @ordered + */ + protected static final String SCRIPT_EDEFAULT = null; + + /** + * The cached value of the '{@link #getScript() <em>Script</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getScript() + * @generated + * @ordered + */ + protected String script = SCRIPT_EDEFAULT; + + /** + * The default value of the '{@link #getScriptFormat() <em>Script Format</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getScriptFormat() + * @generated + * @ordered + */ + protected static final String SCRIPT_FORMAT_EDEFAULT = null; + + /** + * The cached value of the '{@link #getScriptFormat() <em>Script Format</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getScriptFormat() + * @generated + * @ordered + */ + protected String scriptFormat = SCRIPT_FORMAT_EDEFAULT; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected OnExitScriptTypeImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return DroolsPackage.Literals.ON_EXIT_SCRIPT_TYPE; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getScript() { + return script; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setScript(String newScript) { + String oldScript = script; + script = newScript; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, DroolsPackage.ON_EXIT_SCRIPT_TYPE__SCRIPT, oldScript, script)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getScriptFormat() { + return scriptFormat; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setScriptFormat(String newScriptFormat) { + String oldScriptFormat = scriptFormat; + scriptFormat = newScriptFormat; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, DroolsPackage.ON_EXIT_SCRIPT_TYPE__SCRIPT_FORMAT, oldScriptFormat, scriptFormat)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case DroolsPackage.ON_EXIT_SCRIPT_TYPE__SCRIPT: + return getScript(); + case DroolsPackage.ON_EXIT_SCRIPT_TYPE__SCRIPT_FORMAT: + return getScriptFormat(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case DroolsPackage.ON_EXIT_SCRIPT_TYPE__SCRIPT: + setScript((String)newValue); + return; + case DroolsPackage.ON_EXIT_SCRIPT_TYPE__SCRIPT_FORMAT: + setScriptFormat((String)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case DroolsPackage.ON_EXIT_SCRIPT_TYPE__SCRIPT: + setScript(SCRIPT_EDEFAULT); + return; + case DroolsPackage.ON_EXIT_SCRIPT_TYPE__SCRIPT_FORMAT: + setScriptFormat(SCRIPT_FORMAT_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case DroolsPackage.ON_EXIT_SCRIPT_TYPE__SCRIPT: + return SCRIPT_EDEFAULT == null ? script != null : !SCRIPT_EDEFAULT.equals(script); + case DroolsPackage.ON_EXIT_SCRIPT_TYPE__SCRIPT_FORMAT: + return SCRIPT_FORMAT_EDEFAULT == null ? scriptFormat != null : !SCRIPT_FORMAT_EDEFAULT.equals(scriptFormat); + } + return super.eIsSet(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (script: "); + result.append(script); + result.append(", scriptFormat: "); + result.append(scriptFormat); + result.append(')'); + return result.toString(); + } + +} //OnExitScriptTypeImpl diff --git a/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/drools/util/DroolsAdapterFactory.java b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/drools/util/DroolsAdapterFactory.java new file mode 100644 index 00000000..1f73f807 --- /dev/null +++ b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/drools/util/DroolsAdapterFactory.java @@ -0,0 +1,381 @@ +/** + */ +package org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.util; + +import org.eclipse.bpmn2.BaseElement; +import org.eclipse.bpmn2.CallableElement; +import org.eclipse.bpmn2.ItemAwareElement; +import org.eclipse.bpmn2.RootElement; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.*; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.DocumentRoot; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.DroolsPackage; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.GlobalType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.ImportType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.MetadataType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.MetaentryType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.OnEntryScriptType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.OnExitScriptType; +import org.eclipse.emf.common.notify.Adapter; +import org.eclipse.emf.common.notify.Notifier; +import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl; +import org.eclipse.emf.ecore.EObject; + +/** + * <!-- begin-user-doc --> + * The <b>Adapter Factory</b> for the model. + * It provides an adapter <code>createXXX</code> method for each class of the model. + * <!-- end-user-doc --> + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.DroolsPackage + * @generated + */ +public class DroolsAdapterFactory extends AdapterFactoryImpl { + /** + * The cached model package. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected static DroolsPackage modelPackage; + + /** + * Creates an instance of the adapter factory. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public DroolsAdapterFactory() { + if (modelPackage == null) { + modelPackage = DroolsPackage.eINSTANCE; + } + } + + /** + * Returns whether this factory is applicable for the type of the object. + * <!-- begin-user-doc --> + * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model. + * <!-- end-user-doc --> + * @return whether this factory is applicable for the type of the object. + * @generated + */ + @Override + public boolean isFactoryForType(Object object) { + if (object == modelPackage) { + return true; + } + if (object instanceof EObject) { + return ((EObject)object).eClass().getEPackage() == modelPackage; + } + return false; + } + + /** + * The switch that delegates to the <code>createXXX</code> methods. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected DroolsSwitch<Adapter> modelSwitch = + new DroolsSwitch<Adapter>() { + @Override + public Adapter caseDocumentRoot(DocumentRoot object) { + return createDocumentRootAdapter(); + } + @Override + public Adapter caseGlobalType(GlobalType object) { + return createGlobalTypeAdapter(); + } + @Override + public Adapter caseImportType(ImportType object) { + return createImportTypeAdapter(); + } + @Override + public Adapter caseMetadataType(MetadataType object) { + return createMetadataTypeAdapter(); + } + @Override + public Adapter caseMetaentryType(MetaentryType object) { + return createMetaentryTypeAdapter(); + } + @Override + public Adapter caseOnEntryScriptType(OnEntryScriptType object) { + return createOnEntryScriptTypeAdapter(); + } + @Override + public Adapter caseOnExitScriptType(OnExitScriptType object) { + return createOnExitScriptTypeAdapter(); + } + @Override + public Adapter caseBPSimDataType(BPSimDataType object) { + return createBPSimDataTypeAdapter(); + } + @Override + public Adapter caseExternalProcess(ExternalProcess object) { + return createExternalProcessAdapter(); + } + @Override + public Adapter caseBpmn2_DocumentRoot(org.eclipse.bpmn2.DocumentRoot object) { + return createBpmn2_DocumentRootAdapter(); + } + @Override + public Adapter caseBaseElement(BaseElement object) { + return createBaseElementAdapter(); + } + @Override + public Adapter caseItemAwareElement(ItemAwareElement object) { + return createItemAwareElementAdapter(); + } + @Override + public Adapter caseBpsim_BPSimDataType(org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BPSimDataType object) { + return createBpsim_BPSimDataTypeAdapter(); + } + @Override + public Adapter caseRootElement(RootElement object) { + return createRootElementAdapter(); + } + @Override + public Adapter caseCallableElement(CallableElement object) { + return createCallableElementAdapter(); + } + @Override + public Adapter defaultCase(EObject object) { + return createEObjectAdapter(); + } + }; + + /** + * Creates an adapter for the <code>target</code>. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param target the object to adapt. + * @return the adapter for the <code>target</code>. + * @generated + */ + @Override + public Adapter createAdapter(Notifier target) { + return modelSwitch.doSwitch((EObject)target); + } + + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.DocumentRoot <em>Document 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 org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.DocumentRoot + * @generated + */ + public Adapter createDocumentRootAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.GlobalType <em>Global Type</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 org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.GlobalType + * @generated + */ + public Adapter createGlobalTypeAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.ImportType <em>Import Type</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 org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.ImportType + * @generated + */ + public Adapter createImportTypeAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.MetadataType <em>Metadata Type</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 org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.MetadataType + * @generated + */ + public Adapter createMetadataTypeAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.MetaentryType <em>Metaentry Type</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 org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.MetaentryType + * @generated + */ + public Adapter createMetaentryTypeAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.OnEntryScriptType <em>On Entry Script Type</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 org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.OnEntryScriptType + * @generated + */ + public Adapter createOnEntryScriptTypeAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.OnExitScriptType <em>On Exit Script Type</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 org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.OnExitScriptType + * @generated + */ + public Adapter createOnExitScriptTypeAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.BPSimDataType <em>BP Sim Data Type</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 org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.BPSimDataType + * @generated + */ + public Adapter createBPSimDataTypeAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.ExternalProcess <em>Callable Element Proxy</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 org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.ExternalProcess + * @generated + */ + public Adapter createExternalProcessAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.DocumentRoot <em>Document 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 org.eclipse.bpmn2.DocumentRoot + * @generated + */ + public Adapter createBpmn2_DocumentRootAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.BaseElement <em>Base Element</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 org.eclipse.bpmn2.BaseElement + * @generated + */ + public Adapter createBaseElementAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.ItemAwareElement <em>Item Aware Element</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 org.eclipse.bpmn2.ItemAwareElement + * @generated + */ + public Adapter createItemAwareElementAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BPSimDataType <em>BP Sim Data Type</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 org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BPSimDataType + * @generated + */ + public Adapter createBpsim_BPSimDataTypeAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.RootElement <em>Root Element</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 org.eclipse.bpmn2.RootElement + * @generated + */ + public Adapter createRootElementAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.bpmn2.CallableElement <em>Callable Element</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 org.eclipse.bpmn2.CallableElement + * @generated + */ + public Adapter createCallableElementAdapter() { + return null; + } + + /** + * Creates a new adapter for the default case. + * <!-- begin-user-doc --> + * This default implementation returns null. + * <!-- end-user-doc --> + * @return the new adapter. + * @generated + */ + public Adapter createEObjectAdapter() { + return null; + } + +} //DroolsAdapterFactory diff --git a/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/drools/util/DroolsResourceFactoryImpl.java b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/drools/util/DroolsResourceFactoryImpl.java new file mode 100644 index 00000000..fca84c62 --- /dev/null +++ b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/drools/util/DroolsResourceFactoryImpl.java @@ -0,0 +1,90 @@ +/** + */ +package org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.util; + +import org.eclipse.bpmn2.util.OnlyContainmentTypeInfo; +import org.eclipse.bpmn2.util.XmlExtendedMetadata; +import org.eclipse.emf.common.util.URI; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EClassifier; +import org.eclipse.emf.ecore.EStructuralFeature; +import org.eclipse.emf.ecore.resource.Resource; +import org.eclipse.emf.ecore.resource.impl.ResourceFactoryImpl; +import org.eclipse.emf.ecore.util.ExtendedMetaData; +import org.eclipse.emf.ecore.xmi.XMLResource; +import org.eclipse.emf.ecore.xmi.impl.ElementHandlerImpl; + +/** + * <!-- begin-user-doc --> + * The <b>Resource Factory</b> associated with the package. + * <!-- end-user-doc --> + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.util.DroolsResourceImpl + * @generated + */ +public class DroolsResourceFactoryImpl extends ResourceFactoryImpl { + /** + * Creates an instance of the resource factory. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated NOT + */ + public DroolsResourceFactoryImpl() { + super(); + } + + /** + * Creates an instance of the resource. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated NOT + */ + @Override + public Resource createResource(URI uri) { + DroolsResourceImpl result = new DroolsResourceImpl(uri); + ExtendedMetaData extendedMetadata = new XmlExtendedMetadata(); + result.getDefaultSaveOptions().put(XMLResource.OPTION_EXTENDED_META_DATA, extendedMetadata); + result.getDefaultLoadOptions().put(XMLResource.OPTION_EXTENDED_META_DATA, extendedMetadata); + + result.getDefaultSaveOptions().put(XMLResource.OPTION_SAVE_TYPE_INFORMATION, + // this is only a workaround to allow round-tripping with the jbpm web designer. + // The Relationship elements which are used to manage simulation parameters in + // the web designer are not yet implemented here. Each BPMN2 element should have + // corresponding simulation parameter containers in the <relationship> extension + // elements container. This still needs to be added to the jbpm extension model. + new OnlyContainmentTypeInfo() { + + @Override + public boolean shouldSaveType(EClass objectType, + EClassifier featureType, EStructuralFeature feature) { + if ("AnyType".equals(objectType.getName())) + return false; + return super.shouldSaveType(objectType, featureType, feature); + } + + @Override + public boolean shouldSaveType(EClass objectType, + EClass featureType, EStructuralFeature feature) { + if ("AnyType".equals(objectType.getName())) + return false; + return super.shouldSaveType(objectType, featureType, feature); + } + + }); + + // allow "href" object resolution + result.getDefaultSaveOptions().put(XMLResource.OPTION_USE_ENCODED_ATTRIBUTE_STYLE, + Boolean.FALSE); + + result.getDefaultLoadOptions().put(XMLResource.OPTION_USE_LEXICAL_HANDLER, Boolean.TRUE); + + result.getDefaultSaveOptions().put(XMLResource.OPTION_ELEMENT_HANDLER, + new ElementHandlerImpl(true)); + + result.getDefaultSaveOptions().put(XMLResource.OPTION_ENCODING, "UTF-8"); + + // save xsi:schemaLocation in Definitions parameter + result.getDefaultSaveOptions().put(XMLResource.OPTION_SCHEMA_LOCATION, Boolean.TRUE); + + return result; } + +} //DroolsResourceFactoryImpl diff --git a/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/drools/util/DroolsResourceImpl.java b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/drools/util/DroolsResourceImpl.java new file mode 100644 index 00000000..fdb58931 --- /dev/null +++ b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/drools/util/DroolsResourceImpl.java @@ -0,0 +1,683 @@ +/******************************************************************************* + * Copyright (c) 2011, 2012 Red Hat, Inc. + * All rights reserved. + * This program is made available under the terms of the + * Eclipse Public License v1.0 which accompanies this distribution, + * and is available at http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Red Hat, Inc. - initial API and implementation + * + * @author Bob Brodt + ******************************************************************************/ +package org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.util; + +import java.io.IOException; +import java.util.ArrayList; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; + +import org.eclipse.bpmn2.Activity; +import org.eclipse.bpmn2.BaseElement; +import org.eclipse.bpmn2.Bpmn2Package; +import org.eclipse.bpmn2.CallActivity; +import org.eclipse.bpmn2.CallableElement; +import org.eclipse.bpmn2.CatchEvent; +import org.eclipse.bpmn2.DataAssociation; +import org.eclipse.bpmn2.DataInput; +import org.eclipse.bpmn2.DataInputAssociation; +import org.eclipse.bpmn2.DataObject; +import org.eclipse.bpmn2.DataOutput; +import org.eclipse.bpmn2.DataOutputAssociation; +import org.eclipse.bpmn2.DataStore; +import org.eclipse.bpmn2.Definitions; +import org.eclipse.bpmn2.Event; +import org.eclipse.bpmn2.InputSet; +import org.eclipse.bpmn2.Interface; +import org.eclipse.bpmn2.ItemAwareElement; +import org.eclipse.bpmn2.ItemDefinition; +import org.eclipse.bpmn2.LoopCharacteristics; +import org.eclipse.bpmn2.Message; +import org.eclipse.bpmn2.MultiInstanceLoopCharacteristics; +import org.eclipse.bpmn2.OutputSet; +import org.eclipse.bpmn2.Process; +import org.eclipse.bpmn2.Property; +import org.eclipse.bpmn2.RootElement; +import org.eclipse.bpmn2.ThrowEvent; +import org.eclipse.bpmn2.modeler.core.model.Bpmn2ModelerResourceImpl; +import org.eclipse.bpmn2.modeler.core.model.ModelDecorator; +import org.eclipse.bpmn2.modeler.core.utils.ModelUtil; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.ProcessVariableNameChangeAdapter; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.DroolsFactory; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.DroolsPackage; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.ExternalProcess; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.GlobalType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.preferences.JbpmPreferencePage; +import org.eclipse.bpmn2.util.Bpmn2ResourceImpl; +import org.eclipse.bpmn2.util.ImportHelper; +import org.eclipse.emf.common.util.EList; +import org.eclipse.emf.common.util.TreeIterator; +import org.eclipse.emf.common.util.URI; +import org.eclipse.emf.ecore.EAttribute; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.ecore.EPackage; +import org.eclipse.emf.ecore.EReference; +import org.eclipse.emf.ecore.EStructuralFeature; +import org.eclipse.emf.ecore.impl.EAttributeImpl; +import org.eclipse.emf.ecore.util.BasicFeatureMap; +import org.eclipse.emf.ecore.util.BasicInternalEList; +import org.eclipse.emf.ecore.util.ExtendedMetaData; +import org.eclipse.emf.ecore.xmi.XMLHelper; +import org.eclipse.emf.ecore.xmi.XMLLoad; +import org.eclipse.emf.ecore.xmi.XMLResource; +import org.eclipse.emf.ecore.xmi.XMLSave; +import org.eclipse.emf.ecore.xmi.impl.XMLLoadImpl; +import org.eclipse.emf.ecore.xmi.impl.XMLString; +import org.xml.sax.helpers.DefaultHandler; + +/** + * <!-- begin-user-doc --> + * The <b>Resource </b> associated with the package. + * <!-- end-user-doc --> + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.util.ModelResourceFactoryImpl + * @generated NOT + */ +public class DroolsResourceImpl extends Bpmn2ModelerResourceImpl { + + /** + * Creates an instance of the resource. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param uri the URI of the new resource. + * @generated NOT + */ + public DroolsResourceImpl(URI uri) { + super(uri); + } + + @Override + protected XMLHelper createXMLHelper() { + if (xmlHelper!=null) + return xmlHelper; + return new DroolsXmlHelper(this); + } + + /** + * Override this method to hook in our own XmlHandler + */ + @Override + protected XMLLoad createXMLLoad() { + return new XMLLoadImpl(createXMLHelper()) { + @Override + protected DefaultHandler makeDefaultHandler() { + return new DroolsXmlHandler(resource, helper, options); + } + }; + } + + @Override + protected XMLSave createXMLSave() { + return new Bpmn2ModelerXMLSave(createXMLHelper()) { + + private boolean needTargetNamespace = true; + + @Override + protected void saveElement(EObject o, EStructuralFeature f) { + if (o instanceof ExternalProcess) { + return; + } + super.saveElement(o, f); + } + + @Override + protected boolean shouldSaveFeature(EObject o, EStructuralFeature f) { + + if (Bpmn2Package.eINSTANCE.getDocumentation_Text().equals(f)) + return false; + // don't save the "name" feature of Property objects. + // see DroolsXmlHandler.processElement() for details... + if (o instanceof Property) { + if (f.getName().equals("name")) + return false; + } + if (f==Bpmn2Package.eINSTANCE.getDefinitions_Relationships()) { + if (!JbpmPreferencePage.isEnableSimulation()) + return false; + } + if (o instanceof GlobalType && f==Bpmn2Package.eINSTANCE.getBaseElement_Id()) { + return false; + } + + // workaround for Bug 430953 don't save the following collections: + // + // OutputSet + // DataOutputs + // DataOutputAssociation + // InputSet + // DataInputs + // DataInputAssociations + // + // if no associations have been made. + if (o instanceof CatchEvent) { + CatchEvent event = (CatchEvent) o; + String featureName = f.getName(); + if ( featureName.equals("outputSet") || + featureName.equals("dataOutputs") || + featureName.equals("dataOutputAssociation")) { + if ( event.getOutputSet()==null || + event.getOutputSet().getDataOutputRefs().size()==0 || + event.getDataOutputAssociation().size()==0 || + event.getDataOutputs().size()==0) { + return false; + } + DataOutputAssociation association = event.getDataOutputAssociation().get(0); + if (association.getTargetRef()==null) + return false; + } + } + if (o.eContainer() instanceof CatchEvent) { + CatchEvent event = (CatchEvent) o.eContainer(); + if ( o instanceof OutputSet || + o instanceof DataOutput || + o instanceof DataOutputAssociation) { + if ( event.getOutputSet()==null || + event.getOutputSet().getDataOutputRefs().size()==0 || + event.getDataOutputAssociation().size()==0 || + event.getDataOutputs().size()==0) { + return false; + } + DataOutputAssociation association = event.getDataOutputAssociation().get(0); + if (association.getTargetRef()==null) + return false; + } + } + + if (o instanceof ThrowEvent) { + ThrowEvent event = (ThrowEvent) o; + String featureName = f.getName(); + if ( featureName.equals("inputSet") || + featureName.equals("dataInputs") || + featureName.equals("dataInputAssociation")) { + if ( event.getInputSet()==null || + event.getInputSet().getDataInputRefs().size()==0 || + event.getDataInputAssociation().size()==0 || + event.getDataInputs().size()==0) { + return false; + } + DataInputAssociation association = event.getDataInputAssociation().get(0); + if (association.getTargetRef()==null) + return false; + } + } + if (o.eContainer() instanceof ThrowEvent) { + ThrowEvent event = (ThrowEvent) o.eContainer(); + if ( o instanceof InputSet || + o instanceof DataInput || + o instanceof DataInputAssociation) { + if ( event.getInputSet()==null || + event.getInputSet().getDataInputRefs().size()==0 || + event.getDataInputAssociation().size()==0 || + event.getDataInputs().size()==0) { + return false; + } + DataInputAssociation association = event.getDataInputAssociation().get(0); + if (association.getTargetRef()==null) + return false; + } + } + + return super.shouldSaveFeature(o, f); + } + + @Override + protected void init(XMLResource resource, Map<?, ?> options) { + super.init(resource, options); + + ((DroolsXmlHelper)helper).setDefaultNamespace(); + + featureTable = new Bpmn2ModelerXMLSave.Bpmn2Lookup(map, extendedMetaData, elementHandler) { + @Override + protected EStructuralFeature[] reorderFeatureList(EClass cls, EStructuralFeature[] featureList) { + EStructuralFeature[] newList = null; + if (cls.getName().equalsIgnoreCase("Process")) { + /* + * Semantic.xsd sequence definition for Process: + * + * <xsd:sequence> + * <xsd:element ref="auditing" minOccurs="0" maxOccurs="1"/> + * <xsd:element ref="monitoring" minOccurs="0" maxOccurs="1"/> + * <xsd:element ref="property" minOccurs="0" maxOccurs="unbounded"/> + * <xsd:element ref="laneSet" minOccurs="0" maxOccurs="unbounded"/> + * <xsd:element ref="flowElement" minOccurs="0" maxOccurs="unbounded"/> + * <xsd:element ref="artifact" minOccurs="0" maxOccurs="unbounded"/> + * <xsd:element ref="resourceRole" minOccurs="0" maxOccurs="unbounded"/> + * <xsd:element ref="correlationSubscription" minOccurs="0" maxOccurs="unbounded"/> + * <xsd:element name="supports" type="xsd:QName" minOccurs="0" maxOccurs="unbounded"/> + * </xsd:sequence> + */ + String[] featureNames = { + "auditing", + "monitoring", + "properties", + "laneSets", + "flowElements", + "artifacts", + "resources", + "correlationSubscriptions", + "supports" + }; + newList = reorderFeatureList(cls, featureList, featureNames); + } + else + newList = featureList; + + // for BaseElements, "documentation" always comes before "extensionValues" + if (Bpmn2Package.eINSTANCE.getBaseElement().isSuperTypeOf(cls)) { + String[] featureNames = { + "documentation", + "extensionValues" + }; + newList = reorderFeatureList(cls, newList, featureNames); + } + + return newList; + } + }; + } + + protected XMLString createXMLString() { + return new Bpmn2ModelerXMLString(publicId, systemId) { + @Override + public void addAttribute(String name, String value) { + if ("targetNamespace".equals(name)) + needTargetNamespace = false; + else if (XSI_SCHEMA_LOCATION.equals(name)) { + value = "http://www.omg.org/spec/BPMN/20100524/MODEL BPMN20.xsd" + + " http://www.jboss.org/drools drools.xsd"+ + " http://www.bpsim.org/schemas/1.0 bpsim.xsd"; + } + + super.addAttribute(name, value); + } + }; + } + + @Override + protected void addNamespaceDeclarations() { + if (needTargetNamespace) + doc.addAttribute("targetNamespace", DroolsPackage.eNS_URI); + super.addNamespaceDeclarations(); + } + + }; + } + + protected static class DroolsXmlHelper extends Bpmn2ModelerXmlHelper { + + public DroolsXmlHelper(Bpmn2ResourceImpl resource) { + super(resource); +// qnameMap.clear(); +// qnameMap.remove(Bpmn2Package.eINSTANCE.getItemAwareElement_ItemSubjectRef()); +// qnameMap.remove(Bpmn2Package.eINSTANCE.getInterface_ImplementationRef()); +// qnameMap.remove(Bpmn2Package.eINSTANCE.getOperation_ImplementationRef()); + } + + public void setDefaultNamespace() { + EPackage ePackage = Bpmn2Package.eINSTANCE; + String nsURI = xmlSchemaTypePackage == ePackage ? XMLResource.XML_SCHEMA_URI + : extendedMetaData == null ? ePackage.getNsURI() + : extendedMetaData.getNamespace(ePackage); + + String bpmn2Prefix = "bpmn2"; + int suffix = 1; + for (;;) { + String ns = prefixesToURIs.get(bpmn2Prefix); + if (ns!=null && !ns.equals(nsURI)) { + bpmn2Prefix = "bpmn2" + "_" + suffix++; + } + else + break; + } + + boolean found = false; + List<String> prefixes = urisToPrefixes.get(nsURI); + if (prefixes==null) { + prefixes = new ArrayList<String>(); + urisToPrefixes.put(nsURI, prefixes); + } + for (int i = 0; i < prefixes.size(); ++i) { + String prefix = prefixes.get(i); + if ("".equals(prefix)) { + prefixes.set(i, bpmn2Prefix); + found = true; + break; + } + else if (bpmn2Prefix.equals(prefix)) { + found = true; + } + + } + if (!found) + prefixes.add(0, bpmn2Prefix); + + nsURI = DroolsPackage.eNS_URI; + prefixes = urisToPrefixes.get(nsURI); + if (prefixes!=null) + prefixes.add(""); + + for (int i=0; i<allPrefixToURI.size(); ++i) { + String prefix = allPrefixToURI.get(i); + if ("".equals(prefix)) { + allPrefixToURI.remove(i); + if (i+1<allPrefixToURI.size()) + allPrefixToURI.remove(i+1); + break; + } + } + allPrefixToURI.add(""); + allPrefixToURI.add(nsURI); + prefixesToURIs.remove(""); + + // change default namespace for existing packages + for (Entry<EPackage, String> e : packages.entrySet()) { + if ("".equals(e.getValue())) { + ePackage = e.getKey(); + if (e.getKey() != DroolsPackage.eINSTANCE) { + packages.remove(e.getKey()); + packages.put(ePackage, ePackage.getNsPrefix()); + urisToPrefixes.remove(ePackage.getNsURI()); + break; + } + } + } + + mustHavePrefix = true; + } + + public List<String> getPrefixes(EPackage ePackage) { + List<String> result = super.getPrefixes(ePackage); + boolean found = false; + for (int i=0; i<result.size(); ++i) { + if ("".equals(result.get(i))) { + if (ePackage == DroolsPackage.eINSTANCE) { + found = true; + break; // ok + } + else { + result.remove(i--); + } + } + } + if (ePackage == DroolsPackage.eINSTANCE && !found) { + result.add(""); + } + return result; + } + + @Override + public Object getValue(EObject eObject, EStructuralFeature eStructuralFeature) { + + if (eObject instanceof Definitions && eStructuralFeature == Bpmn2Package.eINSTANCE.getDefinitions_RootElements()) { + // reorder the root elements so that ItemDefinitions are first, Process is last + // and everything else is in between + List<RootElement> oldList = ((Definitions)eObject).getRootElements(); + List<RootElement> newList = new ArrayList<RootElement>(); + for (RootElement re : oldList) { + if (re instanceof ItemDefinition) { + newList.add(re); + } + } + for (RootElement re : oldList) { + if (!(re instanceof ItemDefinition) && !(re instanceof Process)) { + newList.add(re); + } + } + for (RootElement re : oldList) { + if (re instanceof Process) { + newList.add(re); + } + } + return new BasicInternalEList<RootElement>(RootElement.class, newList); + } + return super.getValue(eObject, eStructuralFeature); + } + } + + /** + * We need extend the standard SAXXMLHandler to hook into the handling of attribute references + * which may be either simple ID Strings or QNames. We'll search through all of the objects' + * IDs first to find the one we're looking for. If not, we'll try a QName search. + */ + protected static class DroolsXmlHandler extends Bpmn2ModelerXmlHandler { + + public DroolsXmlHandler(XMLResource xmiResource, XMLHelper helper, Map<?, ?> options) { + super(xmiResource, helper, options); + } + + @Override + protected EStructuralFeature getFeature(EObject object, String prefix, String name, boolean isElement) + { + EStructuralFeature result = null; + if (object!=null && object.eClass().getEPackage() == DroolsPackage.eINSTANCE) { + result = object.eClass().getEStructuralFeature(name); + } + if (result==null) + return super.getFeature(object, prefix, name, isElement); + return result; + } + + @SuppressWarnings("unchecked") + @Override + protected void processElement(String name, String prefix, String localName) { + EObject peekObject = objects.peekEObject(); + if (peekObject!=null && peekObject.eClass().getEPackage() == DroolsPackage.eINSTANCE) { + prefix = helper.getPrefix(DroolsPackage.eINSTANCE); + } + super.processElement(name, prefix, localName); + + // ugly hack for https://bugs.eclipse.org/bugs/show_bug.cgi?id=355686 + // Remove the "type" attribute from the feature parentMap if there is one. + // The XSI type will have already been used to construct the EObject, + // so any "type" in the feature parentMap will be a duplicate which will + // cause problems during parsing. + // See also getXSIType() + EObject childObject = objects.peekEObject(); + if (childObject!=null) { + try { + EStructuralFeature anyAttribute = childObject.eClass().getEStructuralFeature(Bpmn2Package.BASE_ELEMENT__ANY_ATTRIBUTE); + if (anyAttribute!=null) { + List<BasicFeatureMap.Entry> anyMap = (List<BasicFeatureMap.Entry>)childObject.eGet(anyAttribute); + if (anyMap!=null) { + List<BasicFeatureMap.Entry> removed = new ArrayList<BasicFeatureMap.Entry>(); + for (BasicFeatureMap.Entry fe : anyMap) { + if (fe.getEStructuralFeature() instanceof EAttribute) { + EAttributeImpl a = (EAttributeImpl)fe.getEStructuralFeature(); + String n = a.getName(); + String ns = a.getExtendedMetaData().getNamespace(); + if (TYPE.equals(n) && XSI_URI.equals(ns)) { + removed.add(fe); + } + } + } + if (removed.size()>0) + anyMap.removeAll(removed); + } + } + + // Some objects, like Property, DataObject and Message use the "id" attribute instead + // of "name". We need to copy this "id" to "name" so that the UI can deal with them. + // The "name" feature will not be saved when the file is saved, but the jBPM Runtime Extension + // will keep the "id" in sync with the name during editing. + // Editorial: I don't agree with the decision to allow users to change model object IDs, + // since these are (theoretically) supposed to be unique; but it is what it is... + if (childObject instanceof Property || + childObject instanceof DataObject || + childObject instanceof Message || + (childObject instanceof DataInput && childObject.eContainer() instanceof MultiInstanceLoopCharacteristics)) { + EStructuralFeature nameFeature = childObject.eClass().getEStructuralFeature("name"); + if (nameFeature!=null) { + Object value = childObject.eGet(nameFeature); + if (value==null || value.toString().isEmpty()) { + EStructuralFeature idFeature = childObject.eClass().getEStructuralFeature("id"); + if (idFeature!=null) { + value = childObject.eGet(idFeature); + if (value!=null && !value.toString().isEmpty()) { + childObject.eSet(nameFeature, value); + } + } + } + ProcessVariableNameChangeAdapter a = new ProcessVariableNameChangeAdapter(); + childObject.eAdapters().add(a); + } + } + else if (childObject instanceof GlobalType) { + // The BaseElement feature "id" is not saved, but it MUST be kept in sync with the + // GlobalType feature "identifier" - this acts like the "name" feature of other + // ItemAwareElements that treat "name" like an ID. + // @see ProcessVariableNameChangeAdapter for details of how these are kept in sync. + ((GlobalType) childObject).setId(((GlobalType) childObject).getIdentifier()); + ProcessVariableNameChangeAdapter a = new ProcessVariableNameChangeAdapter(); + childObject.eAdapters().add(a); + } + } + catch(Exception e) { + } + } + } + + @Override + protected String getXSIType() { + if (isNamespaceAware) + return attribs.getValue(ExtendedMetaData.XSI_URI, + XMLResource.TYPE); + + // If an parameter specifies multiple xsi:type data types, the last one wins. + // NOTE: we must check for "type" in any namespace with the URI + // "http://www.w3.org/2001/XMLSchema-instance" + String value = null; + int length = attribs.getLength(); + for (int i = 0; i < length; ++i) { + attribs.getQName(i); + String localpart= attribs.getLocalName(i); + String prefix = null; + int ci = localpart.lastIndexOf(':'); + if (ci>0) { + prefix = localpart.substring(0, ci); + localpart = localpart.substring(ci+1); + } + if (TYPE.equals(localpart)) { + String uri = helper.getNamespaceURI(prefix); + if (XSI_URI.equals(uri)) { + value = attribs.getValue(i); + if (value!=null && value.startsWith("drools:") && value.contains("_._type")) + value = value.replace("_._type", ""); + } + } + } + return value; + } + + @Override + protected void setValueFromId(EObject object, EReference eReference, String ids) { + if (object instanceof CallActivity && eReference==Bpmn2Package.eINSTANCE.getCallActivity_CalledElementRef()) { + // the CalledElementRef in CallActivity is just an ID. This means we need + // to create a CallableElement which is simply a proxy, not a real object. + CallActivity ca = (CallActivity)object; + CallableElement ce = null; + Definitions defs = ModelUtil.getDefinitions(helper.getResource()); + for (RootElement re : defs.getRootElements()) { + if (re instanceof ExternalProcess) { + if (ids.equals(re.getId())) { + ce = (ExternalProcess) re; + break; + } + } + } + if (ce==null) { + ce = DroolsFactory.eINSTANCE.createExternalProcess(); + ce.setName(ids); + ce.setId(ids); + defs.getRootElements().add(ce); + } + ca.setCalledElementRef(ce); + } + else if (object instanceof Interface && eReference==Bpmn2Package.eINSTANCE.getInterface_ImplementationRef()) { + // the Interface.implementationRef is yet again just a string + Interface iface = (Interface)object; + iface.setImplementationRef( ModelUtil.createStringWrapper(ids) ); + } + else if (object instanceof DataAssociation) { + ItemAwareElement element = findItemAwareElement(object,ids); + if (element!=null) { + if (eReference.isMany()) { + EList list = (EList)object.eGet(eReference); + list.add(element); + } + else + object.eSet(eReference, element); + } + else + super.setValueFromId(object, eReference, ids); + } + else + super.setValueFromId(object, eReference, ids); + } + + private ItemAwareElement findItemAwareElement(EObject object, String ids) { + EObject container = object.eContainer(); + do { + if (container instanceof Activity) { + Activity activity = (Activity)container; + for (Property p : activity.getProperties()) { + if (ids.equals(p.getId())) + return p; + } + LoopCharacteristics lc = activity.getLoopCharacteristics(); + if (lc instanceof MultiInstanceLoopCharacteristics) { + MultiInstanceLoopCharacteristics mlc = (MultiInstanceLoopCharacteristics)lc; + if (mlc.getInputDataItem()!=null && ids.equals(mlc.getInputDataItem().getName())) + return mlc.getInputDataItem(); + if (mlc.getOutputDataItem()!=null && ids.equals(mlc.getOutputDataItem().getName())) + return mlc.getOutputDataItem(); + } + } + else if (container instanceof Event) { + Event event = (Event)container; + for (Property p : event.getProperties()) { + if (ids.equals(p.getId())) + return p; + } + } + else if (container instanceof Process) { + Process process = (Process)container; + for (Property p : process.getProperties()) { + if (ids.equals(p.getId())) + return p; + } + + for (GlobalType g : ModelDecorator.getAllExtensionAttributeValues(process, GlobalType.class)) { + if (ids.equals(g.getIdentifier())) + return g; + } + } + else if (container instanceof Definitions) { + Definitions definitions = (Definitions)container; + for (DataObject d : ModelUtil.getAllRootElements(definitions, DataObject.class)) { + if (ids.equals(d.getId())) + return d; + } + for (DataStore s : ModelUtil.getAllRootElements(definitions, DataStore.class)) { + if (ids.equals(s.getId())) + return s; + } + } + container = container.eContainer(); + } + while (container!=null); + return null; + } + } +} //ModelResourceImpl diff --git a/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/drools/util/DroolsSwitch.java b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/drools/util/DroolsSwitch.java new file mode 100644 index 00000000..56b6131b --- /dev/null +++ b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/drools/util/DroolsSwitch.java @@ -0,0 +1,385 @@ +/** + */ +package org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.util; + +import org.eclipse.bpmn2.BaseElement; +import org.eclipse.bpmn2.CallableElement; +import org.eclipse.bpmn2.ItemAwareElement; +import org.eclipse.bpmn2.RootElement; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.*; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.DocumentRoot; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.DroolsPackage; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.GlobalType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.ImportType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.MetadataType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.MetaentryType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.OnEntryScriptType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.OnExitScriptType; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.ecore.EPackage; +import org.eclipse.emf.ecore.util.Switch; + +/** + * <!-- begin-user-doc --> + * The <b>Switch</b> for the model's inheritance hierarchy. + * It supports the call {@link #doSwitch(EObject) doSwitch(object)} + * to invoke the <code>caseXXX</code> method for each class of the model, + * starting with the actual class of the object + * and proceeding up the inheritance hierarchy + * until a non-null result is returned, + * which is the result of the switch. + * <!-- end-user-doc --> + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.DroolsPackage + * @generated + */ +public class DroolsSwitch<T> extends Switch<T> { + /** + * The cached model package + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected static DroolsPackage modelPackage; + + /** + * Creates an instance of the switch. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public DroolsSwitch() { + if (modelPackage == null) { + modelPackage = DroolsPackage.eINSTANCE; + } + } + + /** + * Checks whether this is a switch for the given package. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @parameter ePackage the package in question. + * @return whether this is a switch for the given package. + * @generated + */ + @Override + protected boolean isSwitchFor(EPackage ePackage) { + return ePackage == modelPackage; + } + + /** + * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the first non-null result returned by a <code>caseXXX</code> call. + * @generated + */ + @Override + protected T doSwitch(int classifierID, EObject theEObject) { + switch (classifierID) { + case DroolsPackage.DOCUMENT_ROOT: { + DocumentRoot documentRoot = (DocumentRoot)theEObject; + T result = caseDocumentRoot(documentRoot); + if (result == null) result = caseBpmn2_DocumentRoot(documentRoot); + if (result == null) result = defaultCase(theEObject); + return result; + } + case DroolsPackage.GLOBAL_TYPE: { + GlobalType globalType = (GlobalType)theEObject; + T result = caseGlobalType(globalType); + if (result == null) result = caseItemAwareElement(globalType); + if (result == null) result = caseBaseElement(globalType); + if (result == null) result = defaultCase(theEObject); + return result; + } + case DroolsPackage.IMPORT_TYPE: { + ImportType importType = (ImportType)theEObject; + T result = caseImportType(importType); + if (result == null) result = defaultCase(theEObject); + return result; + } + case DroolsPackage.METADATA_TYPE: { + MetadataType metadataType = (MetadataType)theEObject; + T result = caseMetadataType(metadataType); + if (result == null) result = defaultCase(theEObject); + return result; + } + case DroolsPackage.METAENTRY_TYPE: { + MetaentryType metaentryType = (MetaentryType)theEObject; + T result = caseMetaentryType(metaentryType); + if (result == null) result = defaultCase(theEObject); + return result; + } + case DroolsPackage.ON_ENTRY_SCRIPT_TYPE: { + OnEntryScriptType onEntryScriptType = (OnEntryScriptType)theEObject; + T result = caseOnEntryScriptType(onEntryScriptType); + if (result == null) result = defaultCase(theEObject); + return result; + } + case DroolsPackage.ON_EXIT_SCRIPT_TYPE: { + OnExitScriptType onExitScriptType = (OnExitScriptType)theEObject; + T result = caseOnExitScriptType(onExitScriptType); + if (result == null) result = defaultCase(theEObject); + return result; + } + case DroolsPackage.BP_SIM_DATA_TYPE: { + BPSimDataType bpSimDataType = (BPSimDataType)theEObject; + T result = caseBPSimDataType(bpSimDataType); + if (result == null) result = caseBpsim_BPSimDataType(bpSimDataType); + if (result == null) result = defaultCase(theEObject); + return result; + } + case DroolsPackage.EXTERNAL_PROCESS: { + ExternalProcess callableElementProxy = (ExternalProcess)theEObject; + T result = caseExternalProcess(callableElementProxy); + if (result == null) result = caseCallableElement(callableElementProxy); + if (result == null) result = caseRootElement(callableElementProxy); + if (result == null) result = caseBaseElement(callableElementProxy); + if (result == null) result = defaultCase(theEObject); + return result; + } + default: return defaultCase(theEObject); + } + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Document 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>Document Root</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseDocumentRoot(DocumentRoot object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Global Type</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>Global Type</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseGlobalType(GlobalType object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Import Type</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>Import Type</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseImportType(ImportType object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Metadata Type</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>Metadata Type</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseMetadataType(MetadataType object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Metaentry Type</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>Metaentry Type</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseMetaentryType(MetaentryType object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>On Entry Script Type</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>On Entry Script Type</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseOnEntryScriptType(OnEntryScriptType object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>On Exit Script Type</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>On Exit Script Type</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseOnExitScriptType(OnExitScriptType object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>BP Sim Data Type</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>BP Sim Data Type</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseBPSimDataType(BPSimDataType object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Callable Element Proxy</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>Callable Element Proxy</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseExternalProcess(ExternalProcess object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Document 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>Document Root</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseBpmn2_DocumentRoot(org.eclipse.bpmn2.DocumentRoot object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Base Element</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>Base Element</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseBaseElement(BaseElement object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Item Aware Element</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>Item Aware Element</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseItemAwareElement(ItemAwareElement object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>BP Sim Data Type</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>BP Sim Data Type</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseBpsim_BPSimDataType(org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.bpsim.BPSimDataType object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Root Element</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 Element</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseRootElement(RootElement object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Callable Element</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>Callable Element</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseCallableElement(CallableElement object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>EObject</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch, but this is the last case anyway. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>EObject</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) + * @generated + */ + @Override + public T defaultCase(EObject object) { + return null; + } + +} //DroolsSwitch diff --git a/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/drools/util/DroolsValidator.java b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/drools/util/DroolsValidator.java new file mode 100644 index 00000000..0e7339c2 --- /dev/null +++ b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/drools/util/DroolsValidator.java @@ -0,0 +1,299 @@ +/** + */ +package org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.util; + +import java.math.BigInteger; +import java.util.Map; + +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.*; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.DocumentRoot; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.DroolsPackage; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.GlobalType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.ImportType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.MetadataType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.MetaentryType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.OnEntryScriptType; +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.OnExitScriptType; +import org.eclipse.emf.common.util.DiagnosticChain; +import org.eclipse.emf.common.util.ResourceLocator; +import org.eclipse.emf.ecore.EPackage; +import org.eclipse.emf.ecore.util.EObjectValidator; +import org.eclipse.emf.ecore.xml.type.util.XMLTypeValidator; + +/** + * <!-- begin-user-doc --> + * The <b>Validator</b> for the model. + * <!-- end-user-doc --> + * @see org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.DroolsPackage + * @generated + */ +public class DroolsValidator extends EObjectValidator { + /** + * The cached model package + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public static final DroolsValidator INSTANCE = new DroolsValidator(); + + /** + * A constant for the {@link org.eclipse.emf.common.util.Diagnostic#getSource() source} of diagnostic {@link org.eclipse.emf.common.util.Diagnostic#getCode() codes} from this package. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.emf.common.util.Diagnostic#getSource() + * @see org.eclipse.emf.common.util.Diagnostic#getCode() + * @generated + */ + public static final String DIAGNOSTIC_SOURCE = "org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools"; + + /** + * A constant with a fixed name that can be used as the base value for additional hand written constants. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private static final int GENERATED_DIAGNOSTIC_CODE_COUNT = 0; + + /** + * A constant with a fixed name that can be used as the base value for additional hand written constants in a derived class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected static final int DIAGNOSTIC_CODE_COUNT = GENERATED_DIAGNOSTIC_CODE_COUNT; + + /** + * The cached base package validator. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected XMLTypeValidator xmlTypeValidator; + + /** + * Creates an instance of the switch. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public DroolsValidator() { + super(); + xmlTypeValidator = XMLTypeValidator.INSTANCE; + } + + /** + * Returns the package of this validator switch. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EPackage getEPackage() { + return DroolsPackage.eINSTANCE; + } + + /** + * Calls <code>validateXXX</code> for the corresponding classifier of the model. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected boolean validate(int classifierID, Object value, DiagnosticChain diagnostics, Map<Object, Object> context) { + switch (classifierID) { + case DroolsPackage.DOCUMENT_ROOT: + return validateDocumentRoot((DocumentRoot)value, diagnostics, context); + case DroolsPackage.GLOBAL_TYPE: + return validateGlobalType((GlobalType)value, diagnostics, context); + case DroolsPackage.IMPORT_TYPE: + return validateImportType((ImportType)value, diagnostics, context); + case DroolsPackage.METADATA_TYPE: + return validateMetadataType((MetadataType)value, diagnostics, context); + case DroolsPackage.METAENTRY_TYPE: + return validateMetaentryType((MetaentryType)value, diagnostics, context); + case DroolsPackage.ON_ENTRY_SCRIPT_TYPE: + return validateOnEntryScriptType((OnEntryScriptType)value, diagnostics, context); + case DroolsPackage.ON_EXIT_SCRIPT_TYPE: + return validateOnExitScriptType((OnExitScriptType)value, diagnostics, context); + case DroolsPackage.BP_SIM_DATA_TYPE: + return validateBPSimDataType((BPSimDataType)value, diagnostics, context); + case DroolsPackage.EXTERNAL_PROCESS: + return validateExternalProcess((ExternalProcess)value, diagnostics, context); + case DroolsPackage.PACKAGE_NAME_TYPE: + return validatePackageNameType((String)value, diagnostics, context); + case DroolsPackage.PRIORITY_TYPE: + return validatePriorityType((BigInteger)value, diagnostics, context); + case DroolsPackage.RULE_FLOW_GROUP_TYPE: + return validateRuleFlowGroupType((String)value, diagnostics, context); + case DroolsPackage.TASK_NAME_TYPE: + return validateTaskNameType((String)value, diagnostics, context); + case DroolsPackage.VERSION_TYPE: + return validateVersionType((String)value, diagnostics, context); + default: + return true; + } + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean validateDocumentRoot(DocumentRoot documentRoot, DiagnosticChain diagnostics, Map<Object, Object> context) { + return validate_EveryDefaultConstraint(documentRoot, diagnostics, context); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean validateGlobalType(GlobalType globalType, DiagnosticChain diagnostics, Map<Object, Object> context) { + return validate_EveryDefaultConstraint(globalType, diagnostics, context); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean validateImportType(ImportType importType, DiagnosticChain diagnostics, Map<Object, Object> context) { + return validate_EveryDefaultConstraint(importType, diagnostics, context); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean validateMetadataType(MetadataType metadataType, DiagnosticChain diagnostics, Map<Object, Object> context) { + return validate_EveryDefaultConstraint(metadataType, diagnostics, context); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean validateMetaentryType(MetaentryType metaentryType, DiagnosticChain diagnostics, Map<Object, Object> context) { + return validate_EveryDefaultConstraint(metaentryType, diagnostics, context); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean validateOnEntryScriptType(OnEntryScriptType onEntryScriptType, DiagnosticChain diagnostics, Map<Object, Object> context) { + return validate_EveryDefaultConstraint(onEntryScriptType, diagnostics, context); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean validateOnExitScriptType(OnExitScriptType onExitScriptType, DiagnosticChain diagnostics, Map<Object, Object> context) { + return validate_EveryDefaultConstraint(onExitScriptType, diagnostics, context); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean validateBPSimDataType(BPSimDataType bpSimDataType, DiagnosticChain diagnostics, Map<Object, Object> context) { + return validate_EveryDefaultConstraint(bpSimDataType, diagnostics, context); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean validateExternalProcess(ExternalProcess callableElementProxy, DiagnosticChain diagnostics, Map<Object, Object> context) { + return validate_EveryDefaultConstraint(callableElementProxy, diagnostics, context); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean validatePackageNameType(String packageNameType, DiagnosticChain diagnostics, Map<Object, Object> context) { + return true; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean validatePriorityType(BigInteger priorityType, DiagnosticChain diagnostics, Map<Object, Object> context) { + boolean result = validatePriorityType_Min(priorityType, diagnostics, context); + return result; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @see #validatePriorityType_Min + */ + public static final BigInteger PRIORITY_TYPE__MIN__VALUE = new BigInteger("1"); + + /** + * Validates the Min constraint of '<em>Priority Type</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean validatePriorityType_Min(BigInteger priorityType, DiagnosticChain diagnostics, Map<Object, Object> context) { + boolean result = priorityType.compareTo(PRIORITY_TYPE__MIN__VALUE) >= 0; + if (!result && diagnostics != null) + reportMinViolation(DroolsPackage.Literals.PRIORITY_TYPE, priorityType, PRIORITY_TYPE__MIN__VALUE, true, diagnostics, context); + return result; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean validateRuleFlowGroupType(String ruleFlowGroupType, DiagnosticChain diagnostics, Map<Object, Object> context) { + return true; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean validateTaskNameType(String taskNameType, DiagnosticChain diagnostics, Map<Object, Object> context) { + return true; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean validateVersionType(String versionType, DiagnosticChain diagnostics, Map<Object, Object> context) { + return true; + } + + /** + * Returns the resource locator that will be used to fetch messages for this validator's diagnostics. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public ResourceLocator getResourceLocator() { + // TODO + // Specialize this to return a resource locator for messages specific to this validator. + // Ensure that you remove @generated or mark it @generated NOT + return super.getResourceLocator(); + } + +} //DroolsValidator diff --git a/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/drools/util/DroolsXMLProcessor.java b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/drools/util/DroolsXMLProcessor.java new file mode 100644 index 00000000..fb685245 --- /dev/null +++ b/plugins/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5/src/org/eclipse/bpmn2/modeler/runtime/jboss/jbpm5/model/drools/util/DroolsXMLProcessor.java @@ -0,0 +1,47 @@ +/** + */ +package org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.util; + +import java.util.Map; + +import org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5.model.drools.DroolsPackage; +import org.eclipse.emf.ecore.EPackage; +import org.eclipse.emf.ecore.resource.Resource; +import org.eclipse.emf.ecore.xmi.util.XMLProcessor; + +/** + * This class contains helper methods to serialize and deserialize XML documents + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ +public class DroolsXMLProcessor extends XMLProcessor { + + /** + * Public constructor to instantiate the helper. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public DroolsXMLProcessor() { + super((EPackage.Registry.INSTANCE)); + DroolsPackage.eINSTANCE.eClass(); + } + + /** + * Register for "*" and "xml" file extensions the DroolsResourceFactoryImpl factory. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected Map<String, Resource.Factory> getRegistrations() { + if (registrations == null) { + super.getRegistrations(); + registrations.put(XML_EXTENSION, new DroolsResourceFactoryImpl()); + registrations.put(STAR_EXTENSION, new DroolsResourceFactoryImpl()); + } + return registrations; + } + +} //DroolsXMLProcessor |