Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenoit Maggi2017-03-03 12:33:06 +0000
committerBenoit Maggi2017-04-10 13:55:32 +0000
commit41e1c785d4ef6a5f5f9e827d492e86a54af00ed9 (patch)
treed7c1b6a33d8d8827494807e08170de5ff511e551 /extraplugins/dsml.validation/org.eclipse.papyrus.dsml.validation/src-gen
parenta1caa9538848d2fa00418624a47482c2eaf6a671 (diff)
downloadorg.eclipse.papyrus-41e1c785d4ef6a5f5f9e827d492e86a54af00ed9.tar.gz
org.eclipse.papyrus-41e1c785d4ef6a5f5f9e827d492e86a54af00ed9.tar.xz
org.eclipse.papyrus-41e1c785d4ef6a5f5f9e827d492e86a54af00ed9.zip
Bug 512989 - [DSML Validation] The dsml validation extra should be moved
to incubation repository - remove all the code related to dsml.validation (except the documentation) - the code is now available in org.eclipse.papyrus.incubation - remove unused dependency in rsa migration and soaml Change-Id: Id87206bd516a2cc064c05b036d56714b5e369b6c Signed-off-by: Benoit Maggi <benoit.maggi@cea.fr>
Diffstat (limited to 'extraplugins/dsml.validation/org.eclipse.papyrus.dsml.validation/src-gen')
-rw-r--r--extraplugins/dsml.validation/org.eclipse.papyrus.dsml.validation/src-gen/org/eclipse/papyrus/dsml/validation/PapyrusDSMLValidationRule/MessageHandling.java107
-rw-r--r--extraplugins/dsml.validation/org.eclipse.papyrus.dsml.validation/src-gen/org/eclipse/papyrus/dsml/validation/PapyrusDSMLValidationRule/Mode.java212
-rw-r--r--extraplugins/dsml.validation/org.eclipse.papyrus.dsml.validation/src-gen/org/eclipse/papyrus/dsml/validation/PapyrusDSMLValidationRule/NameBasedMsgMode.java241
-rw-r--r--extraplugins/dsml.validation/org.eclipse.papyrus.dsml.validation/src-gen/org/eclipse/papyrus/dsml/validation/PapyrusDSMLValidationRule/PapyrusDSMLValidationRuleFactory.java51
-rw-r--r--extraplugins/dsml.validation/org.eclipse.papyrus.dsml.validation/src-gen/org/eclipse/papyrus/dsml/validation/PapyrusDSMLValidationRule/PapyrusDSMLValidationRulePackage.java637
-rw-r--r--extraplugins/dsml.validation/org.eclipse.papyrus.dsml.validation/src-gen/org/eclipse/papyrus/dsml/validation/PapyrusDSMLValidationRule/Severity.java264
-rw-r--r--extraplugins/dsml.validation/org.eclipse.papyrus.dsml.validation/src-gen/org/eclipse/papyrus/dsml/validation/PapyrusDSMLValidationRule/ValidationRule.java285
-rw-r--r--extraplugins/dsml.validation/org.eclipse.papyrus.dsml.validation/src-gen/org/eclipse/papyrus/dsml/validation/PapyrusDSMLValidationRule/impl/MessageHandlingImpl.java279
-rw-r--r--extraplugins/dsml.validation/org.eclipse.papyrus.dsml.validation/src-gen/org/eclipse/papyrus/dsml/validation/PapyrusDSMLValidationRule/impl/PapyrusDSMLValidationRuleFactoryImpl.java207
-rw-r--r--extraplugins/dsml.validation/org.eclipse.papyrus.dsml.validation/src-gen/org/eclipse/papyrus/dsml/validation/PapyrusDSMLValidationRule/impl/PapyrusDSMLValidationRulePackageImpl.java410
-rw-r--r--extraplugins/dsml.validation/org.eclipse.papyrus.dsml.validation/src-gen/org/eclipse/papyrus/dsml/validation/PapyrusDSMLValidationRule/impl/ValidationRuleImpl.java643
-rw-r--r--extraplugins/dsml.validation/org.eclipse.papyrus.dsml.validation/src-gen/org/eclipse/papyrus/dsml/validation/PapyrusDSMLValidationRule/util/PapyrusDSMLValidationRuleAdapterFactory.java137
-rw-r--r--extraplugins/dsml.validation/org.eclipse.papyrus.dsml.validation/src-gen/org/eclipse/papyrus/dsml/validation/PapyrusDSMLValidationRule/util/PapyrusDSMLValidationRuleResourceFactoryImpl.java40
-rw-r--r--extraplugins/dsml.validation/org.eclipse.papyrus.dsml.validation/src-gen/org/eclipse/papyrus/dsml/validation/PapyrusDSMLValidationRule/util/PapyrusDSMLValidationRuleResourceImpl.java27
-rw-r--r--extraplugins/dsml.validation/org.eclipse.papyrus.dsml.validation/src-gen/org/eclipse/papyrus/dsml/validation/PapyrusDSMLValidationRule/util/PapyrusDSMLValidationRuleSwitch.java130
-rw-r--r--extraplugins/dsml.validation/org.eclipse.papyrus.dsml.validation/src-gen/org/eclipse/papyrus/dsml/validation/PapyrusDSMLValidationRule/util/PapyrusDSMLValidationRuleXMLProcessor.java47
16 files changed, 0 insertions, 3717 deletions
diff --git a/extraplugins/dsml.validation/org.eclipse.papyrus.dsml.validation/src-gen/org/eclipse/papyrus/dsml/validation/PapyrusDSMLValidationRule/MessageHandling.java b/extraplugins/dsml.validation/org.eclipse.papyrus.dsml.validation/src-gen/org/eclipse/papyrus/dsml/validation/PapyrusDSMLValidationRule/MessageHandling.java
deleted file mode 100644
index 2467735ad09..00000000000
--- a/extraplugins/dsml.validation/org.eclipse.papyrus.dsml.validation/src-gen/org/eclipse/papyrus/dsml/validation/PapyrusDSMLValidationRule/MessageHandling.java
+++ /dev/null
@@ -1,107 +0,0 @@
-/**
- */
-package org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule;
-
-import org.eclipse.emf.ecore.EObject;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Message Handling</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * </p>
- * <ul>
- * <li>{@link org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.MessageHandling#getMessageMode <em>Message Mode</em>}</li>
- * <li>{@link org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.MessageHandling#getBase_Package <em>Base Package</em>}</li>
- * <li>{@link org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.MessageHandling#getCustomTemplate <em>Custom Template</em>}</li>
- * </ul>
- *
- * @see org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.PapyrusDSMLValidationRulePackage#getMessageHandling()
- * @model
- * @generated
- */
-public interface MessageHandling extends EObject {
- /**
- * Returns the value of the '<em><b>Message Mode</b></em>' attribute.
- * The literals are from the enumeration {@link org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.NameBasedMsgMode}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Message 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>Message Mode</em>' attribute.
- * @see org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.NameBasedMsgMode
- * @see #setMessageMode(NameBasedMsgMode)
- * @see org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.PapyrusDSMLValidationRulePackage#getMessageHandling_MessageMode()
- * @model required="true" ordered="false"
- * @generated
- */
- NameBasedMsgMode getMessageMode();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.MessageHandling#getMessageMode <em>Message Mode</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Message Mode</em>' attribute.
- * @see org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.NameBasedMsgMode
- * @see #getMessageMode()
- * @generated
- */
- void setMessageMode(NameBasedMsgMode value);
-
- /**
- * Returns the value of the '<em><b>Base Package</b></em>' reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Base Package</em>' reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Base Package</em>' reference.
- * @see #setBase_Package(org.eclipse.uml2.uml.Package)
- * @see org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.PapyrusDSMLValidationRulePackage#getMessageHandling_Base_Package()
- * @model required="true" ordered="false"
- * @generated
- */
- org.eclipse.uml2.uml.Package getBase_Package();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.MessageHandling#getBase_Package <em>Base Package</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Base Package</em>' reference.
- * @see #getBase_Package()
- * @generated
- */
- void setBase_Package(org.eclipse.uml2.uml.Package value);
-
- /**
- * Returns the value of the '<em><b>Custom Template</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Custom Template</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Custom Template</em>' attribute.
- * @see #setCustomTemplate(String)
- * @see org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.PapyrusDSMLValidationRulePackage#getMessageHandling_CustomTemplate()
- * @model dataType="org.eclipse.uml2.types.String" ordered="false"
- * @generated
- */
- String getCustomTemplate();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.MessageHandling#getCustomTemplate <em>Custom Template</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Custom Template</em>' attribute.
- * @see #getCustomTemplate()
- * @generated
- */
- void setCustomTemplate(String value);
-
-} // MessageHandling
diff --git a/extraplugins/dsml.validation/org.eclipse.papyrus.dsml.validation/src-gen/org/eclipse/papyrus/dsml/validation/PapyrusDSMLValidationRule/Mode.java b/extraplugins/dsml.validation/org.eclipse.papyrus.dsml.validation/src-gen/org/eclipse/papyrus/dsml/validation/PapyrusDSMLValidationRule/Mode.java
deleted file mode 100644
index 72e15fc792f..00000000000
--- a/extraplugins/dsml.validation/org.eclipse.papyrus.dsml.validation/src-gen/org/eclipse/papyrus/dsml/validation/PapyrusDSMLValidationRule/Mode.java
+++ /dev/null
@@ -1,212 +0,0 @@
-/**
- */
-package org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule;
-
-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>Mode</b></em>',
- * and utility methods for working with them.
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.PapyrusDSMLValidationRulePackage#getMode()
- * @model
- * @generated
- */
-public enum Mode implements Enumerator {
- /**
- * The '<em><b>Batch</b></em>' literal object.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #BATCH_VALUE
- * @generated
- * @ordered
- */
- BATCH(0, "Batch", "Batch"),
-
- /**
- * The '<em><b>Live</b></em>' literal object.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #LIVE_VALUE
- * @generated
- * @ordered
- */
- LIVE(1, "Live", "Live");
-
- /**
- * The '<em><b>Batch</b></em>' literal value.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of '<em><b>Batch</b></em>' literal object isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @see #BATCH
- * @model name="Batch"
- * @generated
- * @ordered
- */
- public static final int BATCH_VALUE = 0;
-
- /**
- * The '<em><b>Live</b></em>' literal value.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of '<em><b>Live</b></em>' literal object isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @see #LIVE
- * @model name="Live"
- * @generated
- * @ordered
- */
- public static final int LIVE_VALUE = 1;
-
- /**
- * An array of all the '<em><b>Mode</b></em>' enumerators.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private static final Mode[] VALUES_ARRAY =
- new Mode[] {
- BATCH,
- LIVE,
- };
-
- /**
- * A public read-only list of all the '<em><b>Mode</b></em>' enumerators.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static final List<Mode> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));
-
- /**
- * Returns the '<em><b>Mode</b></em>' literal with the specified literal value.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param literal the literal.
- * @return the matching enumerator or <code>null</code>.
- * @generated
- */
- public static Mode get(String literal) {
- for (int i = 0; i < VALUES_ARRAY.length; ++i) {
- Mode result = VALUES_ARRAY[i];
- if (result.toString().equals(literal)) {
- return result;
- }
- }
- return null;
- }
-
- /**
- * Returns the '<em><b>Mode</b></em>' literal with the specified name.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param name the name.
- * @return the matching enumerator or <code>null</code>.
- * @generated
- */
- public static Mode getByName(String name) {
- for (int i = 0; i < VALUES_ARRAY.length; ++i) {
- Mode result = VALUES_ARRAY[i];
- if (result.getName().equals(name)) {
- return result;
- }
- }
- return null;
- }
-
- /**
- * Returns the '<em><b>Mode</b></em>' literal with the specified integer value.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the integer value.
- * @return the matching enumerator or <code>null</code>.
- * @generated
- */
- public static Mode get(int value) {
- switch (value) {
- case BATCH_VALUE: return BATCH;
- case LIVE_VALUE: return LIVE;
- }
- 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 Mode(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;
- }
-
-} // Mode
diff --git a/extraplugins/dsml.validation/org.eclipse.papyrus.dsml.validation/src-gen/org/eclipse/papyrus/dsml/validation/PapyrusDSMLValidationRule/NameBasedMsgMode.java b/extraplugins/dsml.validation/org.eclipse.papyrus.dsml.validation/src-gen/org/eclipse/papyrus/dsml/validation/PapyrusDSMLValidationRule/NameBasedMsgMode.java
deleted file mode 100644
index b09e88aed52..00000000000
--- a/extraplugins/dsml.validation/org.eclipse.papyrus.dsml.validation/src-gen/org/eclipse/papyrus/dsml/validation/PapyrusDSMLValidationRule/NameBasedMsgMode.java
+++ /dev/null
@@ -1,241 +0,0 @@
-/**
- */
-package org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule;
-
-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>Name Based Msg Mode</b></em>',
- * and utility methods for working with them.
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.PapyrusDSMLValidationRulePackage#getNameBasedMsgMode()
- * @model
- * @generated
- */
-public enum NameBasedMsgMode implements Enumerator {
- /**
- * The '<em><b>Default</b></em>' literal object.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #DEFAULT_VALUE
- * @generated
- * @ordered
- */
- DEFAULT(0, "Default", "Default"),
-
- /**
- * The '<em><b>Name Is Message</b></em>' literal object.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #NAME_IS_MESSAGE_VALUE
- * @generated
- * @ordered
- */
- NAME_IS_MESSAGE(1, "NameIsMessage", "NameIsMessage"),
-
- /**
- * The '<em><b>Custom Template</b></em>' literal object.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #CUSTOM_TEMPLATE_VALUE
- * @generated
- * @ordered
- */
- CUSTOM_TEMPLATE(2, "CustomTemplate", "CustomTemplate");
-
- /**
- * The '<em><b>Default</b></em>' literal value.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of '<em><b>Default</b></em>' literal object isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @see #DEFAULT
- * @model name="Default"
- * @generated
- * @ordered
- */
- public static final int DEFAULT_VALUE = 0;
-
- /**
- * The '<em><b>Name Is Message</b></em>' literal value.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of '<em><b>Name Is Message</b></em>' literal object isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @see #NAME_IS_MESSAGE
- * @model name="NameIsMessage"
- * @generated
- * @ordered
- */
- public static final int NAME_IS_MESSAGE_VALUE = 1;
-
- /**
- * The '<em><b>Custom Template</b></em>' literal value.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of '<em><b>Custom Template</b></em>' literal object isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @see #CUSTOM_TEMPLATE
- * @model name="CustomTemplate"
- * @generated
- * @ordered
- */
- public static final int CUSTOM_TEMPLATE_VALUE = 2;
-
- /**
- * An array of all the '<em><b>Name Based Msg Mode</b></em>' enumerators.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private static final NameBasedMsgMode[] VALUES_ARRAY =
- new NameBasedMsgMode[] {
- DEFAULT,
- NAME_IS_MESSAGE,
- CUSTOM_TEMPLATE,
- };
-
- /**
- * A public read-only list of all the '<em><b>Name Based Msg Mode</b></em>' enumerators.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static final List<NameBasedMsgMode> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));
-
- /**
- * Returns the '<em><b>Name Based Msg Mode</b></em>' literal with the specified literal value.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param literal the literal.
- * @return the matching enumerator or <code>null</code>.
- * @generated
- */
- public static NameBasedMsgMode get(String literal) {
- for (int i = 0; i < VALUES_ARRAY.length; ++i) {
- NameBasedMsgMode result = VALUES_ARRAY[i];
- if (result.toString().equals(literal)) {
- return result;
- }
- }
- return null;
- }
-
- /**
- * Returns the '<em><b>Name Based Msg Mode</b></em>' literal with the specified name.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param name the name.
- * @return the matching enumerator or <code>null</code>.
- * @generated
- */
- public static NameBasedMsgMode getByName(String name) {
- for (int i = 0; i < VALUES_ARRAY.length; ++i) {
- NameBasedMsgMode result = VALUES_ARRAY[i];
- if (result.getName().equals(name)) {
- return result;
- }
- }
- return null;
- }
-
- /**
- * Returns the '<em><b>Name Based Msg Mode</b></em>' literal with the specified integer value.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the integer value.
- * @return the matching enumerator or <code>null</code>.
- * @generated
- */
- public static NameBasedMsgMode get(int value) {
- switch (value) {
- case DEFAULT_VALUE: return DEFAULT;
- case NAME_IS_MESSAGE_VALUE: return NAME_IS_MESSAGE;
- case CUSTOM_TEMPLATE_VALUE: return CUSTOM_TEMPLATE;
- }
- 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 NameBasedMsgMode(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;
- }
-
-} //NameBasedMsgMode
diff --git a/extraplugins/dsml.validation/org.eclipse.papyrus.dsml.validation/src-gen/org/eclipse/papyrus/dsml/validation/PapyrusDSMLValidationRule/PapyrusDSMLValidationRuleFactory.java b/extraplugins/dsml.validation/org.eclipse.papyrus.dsml.validation/src-gen/org/eclipse/papyrus/dsml/validation/PapyrusDSMLValidationRule/PapyrusDSMLValidationRuleFactory.java
deleted file mode 100644
index 199bb0956ce..00000000000
--- a/extraplugins/dsml.validation/org.eclipse.papyrus.dsml.validation/src-gen/org/eclipse/papyrus/dsml/validation/PapyrusDSMLValidationRule/PapyrusDSMLValidationRuleFactory.java
+++ /dev/null
@@ -1,51 +0,0 @@
-/**
- */
-package org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule;
-
-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.papyrus.dsml.validation.PapyrusDSMLValidationRule.PapyrusDSMLValidationRulePackage
- * @generated
- */
-public interface PapyrusDSMLValidationRuleFactory extends EFactory {
- /**
- * The singleton instance of the factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- PapyrusDSMLValidationRuleFactory eINSTANCE = org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.impl.PapyrusDSMLValidationRuleFactoryImpl.init();
-
- /**
- * Returns a new object of class '<em>Validation Rule</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Validation Rule</em>'.
- * @generated
- */
- ValidationRule createValidationRule();
-
- /**
- * Returns a new object of class '<em>Message Handling</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Message Handling</em>'.
- * @generated
- */
- MessageHandling createMessageHandling();
-
- /**
- * Returns the package supported by this factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the package supported by this factory.
- * @generated
- */
- PapyrusDSMLValidationRulePackage getPapyrusDSMLValidationRulePackage();
-
-} // PapyrusDSMLValidationRuleFactory
diff --git a/extraplugins/dsml.validation/org.eclipse.papyrus.dsml.validation/src-gen/org/eclipse/papyrus/dsml/validation/PapyrusDSMLValidationRule/PapyrusDSMLValidationRulePackage.java b/extraplugins/dsml.validation/org.eclipse.papyrus.dsml.validation/src-gen/org/eclipse/papyrus/dsml/validation/PapyrusDSMLValidationRule/PapyrusDSMLValidationRulePackage.java
deleted file mode 100644
index 43c95ae594e..00000000000
--- a/extraplugins/dsml.validation/org.eclipse.papyrus.dsml.validation/src-gen/org/eclipse/papyrus/dsml/validation/PapyrusDSMLValidationRule/PapyrusDSMLValidationRulePackage.java
+++ /dev/null
@@ -1,637 +0,0 @@
-/**
- */
-package org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule;
-
-import org.eclipse.emf.ecore.EAttribute;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EEnum;
-import org.eclipse.emf.ecore.EPackage;
-import org.eclipse.emf.ecore.EReference;
-
-/**
- * <!-- 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 operation of each class,</li>
- * <li>each enum,</li>
- * <li>and each data type</li>
- * </ul>
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.PapyrusDSMLValidationRuleFactory
- * @model kind="package"
- * @generated
- */
-public interface PapyrusDSMLValidationRulePackage extends EPackage {
- /**
- * The package name.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- String eNAME = "PapyrusDSMLValidationRule";
-
- /**
- * The package namespace URI.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- String eNS_URI = "http://www.eclipse.org/papyrus/dsmlvalidation";
-
- /**
- * The package namespace name.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- String eNS_PREFIX = "PapyrusDSMLValidationRule";
-
- /**
- * The singleton instance of the package.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- PapyrusDSMLValidationRulePackage eINSTANCE = org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.impl.PapyrusDSMLValidationRulePackageImpl.init();
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.impl.ValidationRuleImpl <em>Validation Rule</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.impl.ValidationRuleImpl
- * @see org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.impl.PapyrusDSMLValidationRulePackageImpl#getValidationRule()
- * @generated
- */
- int VALIDATION_RULE = 0;
-
- /**
- * The feature id for the '<em><b>Severity</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int VALIDATION_RULE__SEVERITY = 0;
-
- /**
- * The feature id for the '<em><b>Mode</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int VALIDATION_RULE__MODE = 1;
-
- /**
- * The feature id for the '<em><b>Is Enabled By Default</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int VALIDATION_RULE__IS_ENABLED_BY_DEFAULT = 2;
-
- /**
- * The feature id for the '<em><b>Base Constraint</b></em>' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int VALIDATION_RULE__BASE_CONSTRAINT = 3;
-
- /**
- * The feature id for the '<em><b>Status Code</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int VALIDATION_RULE__STATUS_CODE = 4;
-
- /**
- * The feature id for the '<em><b>Message</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int VALIDATION_RULE__MESSAGE = 5;
-
- /**
- * The feature id for the '<em><b>Description</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int VALIDATION_RULE__DESCRIPTION = 6;
-
- /**
- * The feature id for the '<em><b>Target</b></em>' attribute list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int VALIDATION_RULE__TARGET = 7;
-
- /**
- * The feature id for the '<em><b>Class</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int VALIDATION_RULE__CLASS = 8;
-
- /**
- * The feature id for the '<em><b>Id</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int VALIDATION_RULE__ID = 9;
-
- /**
- * The number of structural features of the '<em>Validation Rule</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int VALIDATION_RULE_FEATURE_COUNT = 10;
-
- /**
- * The number of operations of the '<em>Validation Rule</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int VALIDATION_RULE_OPERATION_COUNT = 0;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.impl.MessageHandlingImpl <em>Message Handling</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.impl.MessageHandlingImpl
- * @see org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.impl.PapyrusDSMLValidationRulePackageImpl#getMessageHandling()
- * @generated
- */
- int MESSAGE_HANDLING = 1;
-
- /**
- * The feature id for the '<em><b>Message Mode</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int MESSAGE_HANDLING__MESSAGE_MODE = 0;
-
- /**
- * The feature id for the '<em><b>Base Package</b></em>' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int MESSAGE_HANDLING__BASE_PACKAGE = 1;
-
- /**
- * The feature id for the '<em><b>Custom Template</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int MESSAGE_HANDLING__CUSTOM_TEMPLATE = 2;
-
- /**
- * The number of structural features of the '<em>Message Handling</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int MESSAGE_HANDLING_FEATURE_COUNT = 3;
-
- /**
- * The number of operations of the '<em>Message Handling</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int MESSAGE_HANDLING_OPERATION_COUNT = 0;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.Severity <em>Severity</em>}' enum.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.Severity
- * @see org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.impl.PapyrusDSMLValidationRulePackageImpl#getSeverity()
- * @generated
- */
- int SEVERITY = 2;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.Mode <em>Mode</em>}' enum.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.Mode
- * @see org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.impl.PapyrusDSMLValidationRulePackageImpl#getMode()
- * @generated
- */
- int MODE = 3;
-
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.NameBasedMsgMode <em>Name Based Msg Mode</em>}' enum.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.NameBasedMsgMode
- * @see org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.impl.PapyrusDSMLValidationRulePackageImpl#getNameBasedMsgMode()
- * @generated
- */
- int NAME_BASED_MSG_MODE = 4;
-
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.ValidationRule <em>Validation Rule</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Validation Rule</em>'.
- * @see org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.ValidationRule
- * @generated
- */
- EClass getValidationRule();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.ValidationRule#getSeverity <em>Severity</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Severity</em>'.
- * @see org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.ValidationRule#getSeverity()
- * @see #getValidationRule()
- * @generated
- */
- EAttribute getValidationRule_Severity();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.ValidationRule#getMode <em>Mode</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Mode</em>'.
- * @see org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.ValidationRule#getMode()
- * @see #getValidationRule()
- * @generated
- */
- EAttribute getValidationRule_Mode();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.ValidationRule#isEnabledByDefault <em>Is Enabled By Default</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Is Enabled By Default</em>'.
- * @see org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.ValidationRule#isEnabledByDefault()
- * @see #getValidationRule()
- * @generated
- */
- EAttribute getValidationRule_IsEnabledByDefault();
-
- /**
- * Returns the meta object for the reference '{@link org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.ValidationRule#getBase_Constraint <em>Base Constraint</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the reference '<em>Base Constraint</em>'.
- * @see org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.ValidationRule#getBase_Constraint()
- * @see #getValidationRule()
- * @generated
- */
- EReference getValidationRule_Base_Constraint();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.ValidationRule#getStatusCode <em>Status Code</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Status Code</em>'.
- * @see org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.ValidationRule#getStatusCode()
- * @see #getValidationRule()
- * @generated
- */
- EAttribute getValidationRule_StatusCode();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.ValidationRule#getMessage <em>Message</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Message</em>'.
- * @see org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.ValidationRule#getMessage()
- * @see #getValidationRule()
- * @generated
- */
- EAttribute getValidationRule_Message();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.ValidationRule#getDescription <em>Description</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Description</em>'.
- * @see org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.ValidationRule#getDescription()
- * @see #getValidationRule()
- * @generated
- */
- EAttribute getValidationRule_Description();
-
- /**
- * Returns the meta object for the attribute list '{@link org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.ValidationRule#getTarget <em>Target</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute list '<em>Target</em>'.
- * @see org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.ValidationRule#getTarget()
- * @see #getValidationRule()
- * @generated
- */
- EAttribute getValidationRule_Target();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.ValidationRule#getClass_ <em>Class</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Class</em>'.
- * @see org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.ValidationRule#getClass_()
- * @see #getValidationRule()
- * @generated
- */
- EAttribute getValidationRule_Class();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.ValidationRule#getId <em>Id</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Id</em>'.
- * @see org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.ValidationRule#getId()
- * @see #getValidationRule()
- * @generated
- */
- EAttribute getValidationRule_Id();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.MessageHandling <em>Message Handling</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Message Handling</em>'.
- * @see org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.MessageHandling
- * @generated
- */
- EClass getMessageHandling();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.MessageHandling#getMessageMode <em>Message Mode</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Message Mode</em>'.
- * @see org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.MessageHandling#getMessageMode()
- * @see #getMessageHandling()
- * @generated
- */
- EAttribute getMessageHandling_MessageMode();
-
- /**
- * Returns the meta object for the reference '{@link org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.MessageHandling#getBase_Package <em>Base Package</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the reference '<em>Base Package</em>'.
- * @see org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.MessageHandling#getBase_Package()
- * @see #getMessageHandling()
- * @generated
- */
- EReference getMessageHandling_Base_Package();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.MessageHandling#getCustomTemplate <em>Custom Template</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Custom Template</em>'.
- * @see org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.MessageHandling#getCustomTemplate()
- * @see #getMessageHandling()
- * @generated
- */
- EAttribute getMessageHandling_CustomTemplate();
-
- /**
- * Returns the meta object for enum '{@link org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.Severity <em>Severity</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for enum '<em>Severity</em>'.
- * @see org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.Severity
- * @generated
- */
- EEnum getSeverity();
-
- /**
- * Returns the meta object for enum '{@link org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.Mode <em>Mode</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for enum '<em>Mode</em>'.
- * @see org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.Mode
- * @generated
- */
- EEnum getMode();
-
- /**
- * Returns the meta object for enum '{@link org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.NameBasedMsgMode <em>Name Based Msg Mode</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for enum '<em>Name Based Msg Mode</em>'.
- * @see org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.NameBasedMsgMode
- * @generated
- */
- EEnum getNameBasedMsgMode();
-
- /**
- * 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
- */
- PapyrusDSMLValidationRuleFactory getPapyrusDSMLValidationRuleFactory();
-
- /**
- * <!-- 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 operation 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.papyrus.dsml.validation.PapyrusDSMLValidationRule.impl.ValidationRuleImpl <em>Validation Rule</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.impl.ValidationRuleImpl
- * @see org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.impl.PapyrusDSMLValidationRulePackageImpl#getValidationRule()
- * @generated
- */
- EClass VALIDATION_RULE = eINSTANCE.getValidationRule();
-
- /**
- * The meta object literal for the '<em><b>Severity</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute VALIDATION_RULE__SEVERITY = eINSTANCE.getValidationRule_Severity();
-
- /**
- * The meta object literal for the '<em><b>Mode</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute VALIDATION_RULE__MODE = eINSTANCE.getValidationRule_Mode();
-
- /**
- * The meta object literal for the '<em><b>Is Enabled By Default</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute VALIDATION_RULE__IS_ENABLED_BY_DEFAULT = eINSTANCE.getValidationRule_IsEnabledByDefault();
-
- /**
- * The meta object literal for the '<em><b>Base Constraint</b></em>' reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference VALIDATION_RULE__BASE_CONSTRAINT = eINSTANCE.getValidationRule_Base_Constraint();
-
- /**
- * The meta object literal for the '<em><b>Status Code</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute VALIDATION_RULE__STATUS_CODE = eINSTANCE.getValidationRule_StatusCode();
-
- /**
- * The meta object literal for the '<em><b>Message</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute VALIDATION_RULE__MESSAGE = eINSTANCE.getValidationRule_Message();
-
- /**
- * The meta object literal for the '<em><b>Description</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute VALIDATION_RULE__DESCRIPTION = eINSTANCE.getValidationRule_Description();
-
- /**
- * The meta object literal for the '<em><b>Target</b></em>' attribute list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute VALIDATION_RULE__TARGET = eINSTANCE.getValidationRule_Target();
-
- /**
- * The meta object literal for the '<em><b>Class</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute VALIDATION_RULE__CLASS = eINSTANCE.getValidationRule_Class();
-
- /**
- * The meta object literal for the '<em><b>Id</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute VALIDATION_RULE__ID = eINSTANCE.getValidationRule_Id();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.impl.MessageHandlingImpl <em>Message Handling</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.impl.MessageHandlingImpl
- * @see org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.impl.PapyrusDSMLValidationRulePackageImpl#getMessageHandling()
- * @generated
- */
- EClass MESSAGE_HANDLING = eINSTANCE.getMessageHandling();
-
- /**
- * The meta object literal for the '<em><b>Message Mode</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute MESSAGE_HANDLING__MESSAGE_MODE = eINSTANCE.getMessageHandling_MessageMode();
-
- /**
- * The meta object literal for the '<em><b>Base Package</b></em>' reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference MESSAGE_HANDLING__BASE_PACKAGE = eINSTANCE.getMessageHandling_Base_Package();
-
- /**
- * The meta object literal for the '<em><b>Custom Template</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute MESSAGE_HANDLING__CUSTOM_TEMPLATE = eINSTANCE.getMessageHandling_CustomTemplate();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.Severity <em>Severity</em>}' enum.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.Severity
- * @see org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.impl.PapyrusDSMLValidationRulePackageImpl#getSeverity()
- * @generated
- */
- EEnum SEVERITY = eINSTANCE.getSeverity();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.Mode <em>Mode</em>}' enum.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.Mode
- * @see org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.impl.PapyrusDSMLValidationRulePackageImpl#getMode()
- * @generated
- */
- EEnum MODE = eINSTANCE.getMode();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.NameBasedMsgMode <em>Name Based Msg Mode</em>}' enum.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.NameBasedMsgMode
- * @see org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.impl.PapyrusDSMLValidationRulePackageImpl#getNameBasedMsgMode()
- * @generated
- */
- EEnum NAME_BASED_MSG_MODE = eINSTANCE.getNameBasedMsgMode();
-
- }
-
-} // PapyrusDSMLValidationRulePackage
diff --git a/extraplugins/dsml.validation/org.eclipse.papyrus.dsml.validation/src-gen/org/eclipse/papyrus/dsml/validation/PapyrusDSMLValidationRule/Severity.java b/extraplugins/dsml.validation/org.eclipse.papyrus.dsml.validation/src-gen/org/eclipse/papyrus/dsml/validation/PapyrusDSMLValidationRule/Severity.java
deleted file mode 100644
index 241503b4c63..00000000000
--- a/extraplugins/dsml.validation/org.eclipse.papyrus.dsml.validation/src-gen/org/eclipse/papyrus/dsml/validation/PapyrusDSMLValidationRule/Severity.java
+++ /dev/null
@@ -1,264 +0,0 @@
-/**
- */
-package org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule;
-
-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>Severity</b></em>',
- * and utility methods for working with them.
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.PapyrusDSMLValidationRulePackage#getSeverity()
- * @model
- * @generated
- */
-public enum Severity implements Enumerator {
- /**
- * The '<em><b>ERROR</b></em>' literal object.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #ERROR_VALUE
- * @generated
- * @ordered
- */
- ERROR(0, "ERROR", "ERROR"),
-
- /**
- * The '<em><b>WARNING</b></em>' literal object.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #WARNING_VALUE
- * @generated
- * @ordered
- */
- WARNING(1, "WARNING", "WARNING"),
-
- /**
- * The '<em><b>INFO</b></em>' literal object.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #INFO_VALUE
- * @generated
- * @ordered
- */
- INFO(2, "INFO", "INFO"),
-
- /**
- * The '<em><b>CANCEL</b></em>' literal object.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #CANCEL_VALUE
- * @generated
- * @ordered
- */
- CANCEL(3, "CANCEL", "CANCEL");
-
- /**
- * The '<em><b>ERROR</b></em>' literal value.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of '<em><b>ERROR</b></em>' literal object isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @see #ERROR
- * @model
- * @generated
- * @ordered
- */
- public static final int ERROR_VALUE = 0;
-
- /**
- * The '<em><b>WARNING</b></em>' literal value.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of '<em><b>WARNING</b></em>' literal object isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @see #WARNING
- * @model
- * @generated
- * @ordered
- */
- public static final int WARNING_VALUE = 1;
-
- /**
- * The '<em><b>INFO</b></em>' literal value.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of '<em><b>INFO</b></em>' literal object isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @see #INFO
- * @model
- * @generated
- * @ordered
- */
- public static final int INFO_VALUE = 2;
-
- /**
- * The '<em><b>CANCEL</b></em>' literal value.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of '<em><b>CANCEL</b></em>' literal object isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @see #CANCEL
- * @model
- * @generated
- * @ordered
- */
- public static final int CANCEL_VALUE = 3;
-
- /**
- * An array of all the '<em><b>Severity</b></em>' enumerators.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private static final Severity[] VALUES_ARRAY =
- new Severity[] {
- ERROR,
- WARNING,
- INFO,
- CANCEL,
- };
-
- /**
- * A public read-only list of all the '<em><b>Severity</b></em>' enumerators.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static final List<Severity> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));
-
- /**
- * Returns the '<em><b>Severity</b></em>' literal with the specified literal value.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param literal the literal.
- * @return the matching enumerator or <code>null</code>.
- * @generated
- */
- public static Severity get(String literal) {
- for (int i = 0; i < VALUES_ARRAY.length; ++i) {
- Severity result = VALUES_ARRAY[i];
- if (result.toString().equals(literal)) {
- return result;
- }
- }
- return null;
- }
-
- /**
- * Returns the '<em><b>Severity</b></em>' literal with the specified name.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param name the name.
- * @return the matching enumerator or <code>null</code>.
- * @generated
- */
- public static Severity getByName(String name) {
- for (int i = 0; i < VALUES_ARRAY.length; ++i) {
- Severity result = VALUES_ARRAY[i];
- if (result.getName().equals(name)) {
- return result;
- }
- }
- return null;
- }
-
- /**
- * Returns the '<em><b>Severity</b></em>' literal with the specified integer value.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the integer value.
- * @return the matching enumerator or <code>null</code>.
- * @generated
- */
- public static Severity get(int value) {
- switch (value) {
- case ERROR_VALUE: return ERROR;
- case WARNING_VALUE: return WARNING;
- case INFO_VALUE: return INFO;
- case CANCEL_VALUE: return CANCEL;
- }
- 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 Severity(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;
- }
-
-} // Severity
diff --git a/extraplugins/dsml.validation/org.eclipse.papyrus.dsml.validation/src-gen/org/eclipse/papyrus/dsml/validation/PapyrusDSMLValidationRule/ValidationRule.java b/extraplugins/dsml.validation/org.eclipse.papyrus.dsml.validation/src-gen/org/eclipse/papyrus/dsml/validation/PapyrusDSMLValidationRule/ValidationRule.java
deleted file mode 100644
index 48ac6afcaa0..00000000000
--- a/extraplugins/dsml.validation/org.eclipse.papyrus.dsml.validation/src-gen/org/eclipse/papyrus/dsml/validation/PapyrusDSMLValidationRule/ValidationRule.java
+++ /dev/null
@@ -1,285 +0,0 @@
-/**
- */
-package org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule;
-
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.uml2.uml.Constraint;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Validation Rule</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * </p>
- * <ul>
- * <li>{@link org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.ValidationRule#getSeverity <em>Severity</em>}</li>
- * <li>{@link org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.ValidationRule#getMode <em>Mode</em>}</li>
- * <li>{@link org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.ValidationRule#isEnabledByDefault <em>Is Enabled By Default</em>}</li>
- * <li>{@link org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.ValidationRule#getBase_Constraint <em>Base Constraint</em>}</li>
- * <li>{@link org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.ValidationRule#getStatusCode <em>Status Code</em>}</li>
- * <li>{@link org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.ValidationRule#getMessage <em>Message</em>}</li>
- * <li>{@link org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.ValidationRule#getDescription <em>Description</em>}</li>
- * <li>{@link org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.ValidationRule#getTarget <em>Target</em>}</li>
- * <li>{@link org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.ValidationRule#getClass_ <em>Class</em>}</li>
- * <li>{@link org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.ValidationRule#getId <em>Id</em>}</li>
- * </ul>
- *
- * @see org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.PapyrusDSMLValidationRulePackage#getValidationRule()
- * @model
- * @generated
- */
-public interface ValidationRule extends EObject {
- /**
- * Returns the value of the '<em><b>Severity</b></em>' attribute.
- * The default value is <code>"ERROR"</code>.
- * The literals are from the enumeration {@link org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.Severity}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Severity</em>' attribute isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Severity</em>' attribute.
- * @see org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.Severity
- * @see #setSeverity(Severity)
- * @see org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.PapyrusDSMLValidationRulePackage#getValidationRule_Severity()
- * @model default="ERROR" required="true" ordered="false"
- * @generated
- */
- Severity getSeverity();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.ValidationRule#getSeverity <em>Severity</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Severity</em>' attribute.
- * @see org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.Severity
- * @see #getSeverity()
- * @generated
- */
- void setSeverity(Severity value);
-
- /**
- * Returns the value of the '<em><b>Mode</b></em>' attribute.
- * The default value is <code>"Batch"</code>.
- * The literals are from the enumeration {@link org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.Mode}.
- * <!-- 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 org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.Mode
- * @see #setMode(Mode)
- * @see org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.PapyrusDSMLValidationRulePackage#getValidationRule_Mode()
- * @model default="Batch" required="true" ordered="false"
- * @generated
- */
- Mode getMode();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.ValidationRule#getMode <em>Mode</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Mode</em>' attribute.
- * @see org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.Mode
- * @see #getMode()
- * @generated
- */
- void setMode(Mode value);
-
- /**
- * Returns the value of the '<em><b>Is Enabled By Default</b></em>' attribute.
- * The default value is <code>"true"</code>.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Is Enabled By Default</em>' attribute isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Is Enabled By Default</em>' attribute.
- * @see #setIsEnabledByDefault(boolean)
- * @see org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.PapyrusDSMLValidationRulePackage#getValidationRule_IsEnabledByDefault()
- * @model default="true" dataType="org.eclipse.uml2.types.Boolean" required="true" ordered="false"
- * @generated
- */
- boolean isEnabledByDefault();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.ValidationRule#isEnabledByDefault <em>Is Enabled By Default</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Is Enabled By Default</em>' attribute.
- * @see #isEnabledByDefault()
- * @generated
- */
- void setIsEnabledByDefault(boolean value);
-
- /**
- * Returns the value of the '<em><b>Base Constraint</b></em>' reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Base Constraint</em>' reference isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Base Constraint</em>' reference.
- * @see #setBase_Constraint(Constraint)
- * @see org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.PapyrusDSMLValidationRulePackage#getValidationRule_Base_Constraint()
- * @model required="true" ordered="false"
- * @generated
- */
- Constraint getBase_Constraint();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.ValidationRule#getBase_Constraint <em>Base Constraint</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Base Constraint</em>' reference.
- * @see #getBase_Constraint()
- * @generated
- */
- void setBase_Constraint(Constraint value);
-
- /**
- * Returns the value of the '<em><b>Status Code</b></em>' attribute.
- * The default value is <code>"1"</code>.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Status Code</em>' attribute isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Status Code</em>' attribute.
- * @see #setStatusCode(int)
- * @see org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.PapyrusDSMLValidationRulePackage#getValidationRule_StatusCode()
- * @model default="1" dataType="org.eclipse.uml2.types.Integer" required="true" ordered="false"
- * @generated
- */
- int getStatusCode();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.ValidationRule#getStatusCode <em>Status Code</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Status Code</em>' attribute.
- * @see #getStatusCode()
- * @generated
- */
- void setStatusCode(int value);
-
- /**
- * Returns the value of the '<em><b>Message</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Message</em>' attribute isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Message</em>' attribute.
- * @see #setMessage(String)
- * @see org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.PapyrusDSMLValidationRulePackage#getValidationRule_Message()
- * @model dataType="org.eclipse.uml2.types.String" ordered="false"
- * @generated
- */
- String getMessage();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.ValidationRule#getMessage <em>Message</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Message</em>' attribute.
- * @see #getMessage()
- * @generated
- */
- void setMessage(String 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.papyrus.dsml.validation.PapyrusDSMLValidationRule.PapyrusDSMLValidationRulePackage#getValidationRule_Description()
- * @model dataType="org.eclipse.uml2.types.String" ordered="false"
- * @generated
- */
- String getDescription();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.ValidationRule#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>Target</b></em>' attribute list.
- * The list contents are of type {@link java.lang.String}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Target</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>Target</em>' attribute list.
- * @see org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.PapyrusDSMLValidationRulePackage#getValidationRule_Target()
- * @model dataType="org.eclipse.uml2.types.String" ordered="false"
- * @generated
- */
- EList<String> getTarget();
-
- /**
- * Returns the value of the '<em><b>Class</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Class</em>' attribute isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Class</em>' attribute.
- * @see #setClass_(String)
- * @see org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.PapyrusDSMLValidationRulePackage#getValidationRule_Class()
- * @model dataType="org.eclipse.uml2.types.String" ordered="false"
- * @generated
- */
- String getClass_();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.ValidationRule#getClass_ <em>Class</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Class</em>' attribute.
- * @see #getClass_()
- * @generated
- */
- void setClass_(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.papyrus.dsml.validation.PapyrusDSMLValidationRule.PapyrusDSMLValidationRulePackage#getValidationRule_Id()
- * @model dataType="org.eclipse.uml2.types.String" ordered="false"
- * @generated
- */
- String getId();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.ValidationRule#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);
-
-} // ValidationRule
diff --git a/extraplugins/dsml.validation/org.eclipse.papyrus.dsml.validation/src-gen/org/eclipse/papyrus/dsml/validation/PapyrusDSMLValidationRule/impl/MessageHandlingImpl.java b/extraplugins/dsml.validation/org.eclipse.papyrus.dsml.validation/src-gen/org/eclipse/papyrus/dsml/validation/PapyrusDSMLValidationRule/impl/MessageHandlingImpl.java
deleted file mode 100644
index 3e73cf3d6cf..00000000000
--- a/extraplugins/dsml.validation/org.eclipse.papyrus.dsml.validation/src-gen/org/eclipse/papyrus/dsml/validation/PapyrusDSMLValidationRule/impl/MessageHandlingImpl.java
+++ /dev/null
@@ -1,279 +0,0 @@
-/**
- */
-package org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.impl;
-
-import org.eclipse.emf.common.notify.Notification;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.InternalEObject;
-
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
-
-import org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.MessageHandling;
-import org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.NameBasedMsgMode;
-import org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.PapyrusDSMLValidationRulePackage;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Message Handling</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * </p>
- * <ul>
- * <li>{@link org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.impl.MessageHandlingImpl#getMessageMode <em>Message Mode</em>}</li>
- * <li>{@link org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.impl.MessageHandlingImpl#getBase_Package <em>Base Package</em>}</li>
- * <li>{@link org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.impl.MessageHandlingImpl#getCustomTemplate <em>Custom Template</em>}</li>
- * </ul>
- *
- * @generated
- */
-public class MessageHandlingImpl extends MinimalEObjectImpl.Container implements MessageHandling {
- /**
- * The default value of the '{@link #getMessageMode() <em>Message Mode</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getMessageMode()
- * @generated
- * @ordered
- */
- protected static final NameBasedMsgMode MESSAGE_MODE_EDEFAULT = NameBasedMsgMode.DEFAULT;
-
- /**
- * The cached value of the '{@link #getMessageMode() <em>Message Mode</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getMessageMode()
- * @generated
- * @ordered
- */
- protected NameBasedMsgMode messageMode = MESSAGE_MODE_EDEFAULT;
-
- /**
- * The cached value of the '{@link #getBase_Package() <em>Base Package</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getBase_Package()
- * @generated
- * @ordered
- */
- protected org.eclipse.uml2.uml.Package base_Package;
-
- /**
- * The default value of the '{@link #getCustomTemplate() <em>Custom Template</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getCustomTemplate()
- * @generated
- * @ordered
- */
- protected static final String CUSTOM_TEMPLATE_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getCustomTemplate() <em>Custom Template</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getCustomTemplate()
- * @generated
- * @ordered
- */
- protected String customTemplate = CUSTOM_TEMPLATE_EDEFAULT;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected MessageHandlingImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return PapyrusDSMLValidationRulePackage.Literals.MESSAGE_HANDLING;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NameBasedMsgMode getMessageMode() {
- return messageMode;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setMessageMode(NameBasedMsgMode newMessageMode) {
- NameBasedMsgMode oldMessageMode = messageMode;
- messageMode = newMessageMode == null ? MESSAGE_MODE_EDEFAULT : newMessageMode;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, PapyrusDSMLValidationRulePackage.MESSAGE_HANDLING__MESSAGE_MODE, oldMessageMode, messageMode));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public org.eclipse.uml2.uml.Package getBase_Package() {
- if (base_Package != null && base_Package.eIsProxy()) {
- InternalEObject oldBase_Package = (InternalEObject)base_Package;
- base_Package = (org.eclipse.uml2.uml.Package)eResolveProxy(oldBase_Package);
- if (base_Package != oldBase_Package) {
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.RESOLVE, PapyrusDSMLValidationRulePackage.MESSAGE_HANDLING__BASE_PACKAGE, oldBase_Package, base_Package));
- }
- }
- return base_Package;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public org.eclipse.uml2.uml.Package basicGetBase_Package() {
- return base_Package;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setBase_Package(org.eclipse.uml2.uml.Package newBase_Package) {
- org.eclipse.uml2.uml.Package oldBase_Package = base_Package;
- base_Package = newBase_Package;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, PapyrusDSMLValidationRulePackage.MESSAGE_HANDLING__BASE_PACKAGE, oldBase_Package, base_Package));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getCustomTemplate() {
- return customTemplate;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setCustomTemplate(String newCustomTemplate) {
- String oldCustomTemplate = customTemplate;
- customTemplate = newCustomTemplate;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, PapyrusDSMLValidationRulePackage.MESSAGE_HANDLING__CUSTOM_TEMPLATE, oldCustomTemplate, customTemplate));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case PapyrusDSMLValidationRulePackage.MESSAGE_HANDLING__MESSAGE_MODE:
- return getMessageMode();
- case PapyrusDSMLValidationRulePackage.MESSAGE_HANDLING__BASE_PACKAGE:
- if (resolve) return getBase_Package();
- return basicGetBase_Package();
- case PapyrusDSMLValidationRulePackage.MESSAGE_HANDLING__CUSTOM_TEMPLATE:
- return getCustomTemplate();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case PapyrusDSMLValidationRulePackage.MESSAGE_HANDLING__MESSAGE_MODE:
- setMessageMode((NameBasedMsgMode)newValue);
- return;
- case PapyrusDSMLValidationRulePackage.MESSAGE_HANDLING__BASE_PACKAGE:
- setBase_Package((org.eclipse.uml2.uml.Package)newValue);
- return;
- case PapyrusDSMLValidationRulePackage.MESSAGE_HANDLING__CUSTOM_TEMPLATE:
- setCustomTemplate((String)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case PapyrusDSMLValidationRulePackage.MESSAGE_HANDLING__MESSAGE_MODE:
- setMessageMode(MESSAGE_MODE_EDEFAULT);
- return;
- case PapyrusDSMLValidationRulePackage.MESSAGE_HANDLING__BASE_PACKAGE:
- setBase_Package((org.eclipse.uml2.uml.Package)null);
- return;
- case PapyrusDSMLValidationRulePackage.MESSAGE_HANDLING__CUSTOM_TEMPLATE:
- setCustomTemplate(CUSTOM_TEMPLATE_EDEFAULT);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case PapyrusDSMLValidationRulePackage.MESSAGE_HANDLING__MESSAGE_MODE:
- return messageMode != MESSAGE_MODE_EDEFAULT;
- case PapyrusDSMLValidationRulePackage.MESSAGE_HANDLING__BASE_PACKAGE:
- return base_Package != null;
- case PapyrusDSMLValidationRulePackage.MESSAGE_HANDLING__CUSTOM_TEMPLATE:
- return CUSTOM_TEMPLATE_EDEFAULT == null ? customTemplate != null : !CUSTOM_TEMPLATE_EDEFAULT.equals(customTemplate);
- }
- 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(" (messageMode: ");
- result.append(messageMode);
- result.append(", customTemplate: ");
- result.append(customTemplate);
- result.append(')');
- return result.toString();
- }
-
-} //MessageHandlingImpl
diff --git a/extraplugins/dsml.validation/org.eclipse.papyrus.dsml.validation/src-gen/org/eclipse/papyrus/dsml/validation/PapyrusDSMLValidationRule/impl/PapyrusDSMLValidationRuleFactoryImpl.java b/extraplugins/dsml.validation/org.eclipse.papyrus.dsml.validation/src-gen/org/eclipse/papyrus/dsml/validation/PapyrusDSMLValidationRule/impl/PapyrusDSMLValidationRuleFactoryImpl.java
deleted file mode 100644
index 367ab0f7056..00000000000
--- a/extraplugins/dsml.validation/org.eclipse.papyrus.dsml.validation/src-gen/org/eclipse/papyrus/dsml/validation/PapyrusDSMLValidationRule/impl/PapyrusDSMLValidationRuleFactoryImpl.java
+++ /dev/null
@@ -1,207 +0,0 @@
-/**
- */
-package org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.impl;
-
-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.papyrus.dsml.validation.PapyrusDSMLValidationRule.*;
-import org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.Mode;
-import org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.PapyrusDSMLValidationRuleFactory;
-import org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.PapyrusDSMLValidationRulePackage;
-import org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.Severity;
-import org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.ValidationRule;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model <b>Factory</b>.
- * <!-- end-user-doc -->
- * @generated
- */
-public class PapyrusDSMLValidationRuleFactoryImpl extends EFactoryImpl implements PapyrusDSMLValidationRuleFactory {
- /**
- * Creates the default factory implementation.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static PapyrusDSMLValidationRuleFactory init() {
- try {
- PapyrusDSMLValidationRuleFactory thePapyrusDSMLValidationRuleFactory = (PapyrusDSMLValidationRuleFactory)EPackage.Registry.INSTANCE.getEFactory(PapyrusDSMLValidationRulePackage.eNS_URI);
- if (thePapyrusDSMLValidationRuleFactory != null) {
- return thePapyrusDSMLValidationRuleFactory;
- }
- }
- catch (Exception exception) {
- EcorePlugin.INSTANCE.log(exception);
- }
- return new PapyrusDSMLValidationRuleFactoryImpl();
- }
-
- /**
- * Creates an instance of the factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public PapyrusDSMLValidationRuleFactoryImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public EObject create(EClass eClass) {
- switch (eClass.getClassifierID()) {
- case PapyrusDSMLValidationRulePackage.VALIDATION_RULE: return createValidationRule();
- case PapyrusDSMLValidationRulePackage.MESSAGE_HANDLING: return createMessageHandling();
- 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 PapyrusDSMLValidationRulePackage.SEVERITY:
- return createSeverityFromString(eDataType, initialValue);
- case PapyrusDSMLValidationRulePackage.MODE:
- return createModeFromString(eDataType, initialValue);
- case PapyrusDSMLValidationRulePackage.NAME_BASED_MSG_MODE:
- return createNameBasedMsgModeFromString(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 PapyrusDSMLValidationRulePackage.SEVERITY:
- return convertSeverityToString(eDataType, instanceValue);
- case PapyrusDSMLValidationRulePackage.MODE:
- return convertModeToString(eDataType, instanceValue);
- case PapyrusDSMLValidationRulePackage.NAME_BASED_MSG_MODE:
- return convertNameBasedMsgModeToString(eDataType, instanceValue);
- default:
- throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier");
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public ValidationRule createValidationRule() {
- ValidationRuleImpl validationRule = new ValidationRuleImpl();
- return validationRule;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public MessageHandling createMessageHandling() {
- MessageHandlingImpl messageHandling = new MessageHandlingImpl();
- return messageHandling;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Severity createSeverityFromString(EDataType eDataType, String initialValue) {
- Severity result = Severity.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 convertSeverityToString(EDataType eDataType, Object instanceValue) {
- return instanceValue == null ? null : instanceValue.toString();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Mode createModeFromString(EDataType eDataType, String initialValue) {
- Mode result = Mode.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 convertModeToString(EDataType eDataType, Object instanceValue) {
- return instanceValue == null ? null : instanceValue.toString();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NameBasedMsgMode createNameBasedMsgModeFromString(EDataType eDataType, String initialValue) {
- NameBasedMsgMode result = NameBasedMsgMode.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 convertNameBasedMsgModeToString(EDataType eDataType, Object instanceValue) {
- return instanceValue == null ? null : instanceValue.toString();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public PapyrusDSMLValidationRulePackage getPapyrusDSMLValidationRulePackage() {
- return (PapyrusDSMLValidationRulePackage)getEPackage();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @deprecated
- * @generated
- */
- @Deprecated
- public static PapyrusDSMLValidationRulePackage getPackage() {
- return PapyrusDSMLValidationRulePackage.eINSTANCE;
- }
-
-} // PapyrusDSMLValidationRuleFactoryImpl
diff --git a/extraplugins/dsml.validation/org.eclipse.papyrus.dsml.validation/src-gen/org/eclipse/papyrus/dsml/validation/PapyrusDSMLValidationRule/impl/PapyrusDSMLValidationRulePackageImpl.java b/extraplugins/dsml.validation/org.eclipse.papyrus.dsml.validation/src-gen/org/eclipse/papyrus/dsml/validation/PapyrusDSMLValidationRule/impl/PapyrusDSMLValidationRulePackageImpl.java
deleted file mode 100644
index 12f6a85d244..00000000000
--- a/extraplugins/dsml.validation/org.eclipse.papyrus.dsml.validation/src-gen/org/eclipse/papyrus/dsml/validation/PapyrusDSMLValidationRule/impl/PapyrusDSMLValidationRulePackageImpl.java
+++ /dev/null
@@ -1,410 +0,0 @@
-/**
- */
-package org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.impl;
-
-import org.eclipse.emf.ecore.EAttribute;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EEnum;
-import org.eclipse.emf.ecore.EPackage;
-import org.eclipse.emf.ecore.EReference;
-import org.eclipse.emf.ecore.impl.EPackageImpl;
-import org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.MessageHandling;
-import org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.Mode;
-import org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.NameBasedMsgMode;
-import org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.PapyrusDSMLValidationRuleFactory;
-import org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.PapyrusDSMLValidationRulePackage;
-import org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.Severity;
-import org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.ValidationRule;
-import org.eclipse.uml2.types.TypesPackage;
-import org.eclipse.uml2.uml.UMLPackage;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model <b>Package</b>.
- * <!-- end-user-doc -->
- * @generated
- */
-public class PapyrusDSMLValidationRulePackageImpl extends EPackageImpl implements PapyrusDSMLValidationRulePackage {
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass validationRuleEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass messageHandlingEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EEnum severityEEnum = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EEnum modeEEnum = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EEnum nameBasedMsgModeEEnum = 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.papyrus.dsml.validation.PapyrusDSMLValidationRule.PapyrusDSMLValidationRulePackage#eNS_URI
- * @see #init()
- * @generated
- */
- private PapyrusDSMLValidationRulePackageImpl() {
- super(eNS_URI, PapyrusDSMLValidationRuleFactory.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 PapyrusDSMLValidationRulePackage#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 PapyrusDSMLValidationRulePackage init() {
- if (isInited) return (PapyrusDSMLValidationRulePackage)EPackage.Registry.INSTANCE.getEPackage(PapyrusDSMLValidationRulePackage.eNS_URI);
-
- // Obtain or create and register package
- PapyrusDSMLValidationRulePackageImpl thePapyrusDSMLValidationRulePackage = (PapyrusDSMLValidationRulePackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof PapyrusDSMLValidationRulePackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new PapyrusDSMLValidationRulePackageImpl());
-
- isInited = true;
-
- // Initialize simple dependencies
- UMLPackage.eINSTANCE.eClass();
-
- // Create package meta-data objects
- thePapyrusDSMLValidationRulePackage.createPackageContents();
-
- // Initialize created meta-data
- thePapyrusDSMLValidationRulePackage.initializePackageContents();
-
- // Mark meta-data to indicate it can't be changed
- thePapyrusDSMLValidationRulePackage.freeze();
-
-
- // Update the registry and return the package
- EPackage.Registry.INSTANCE.put(PapyrusDSMLValidationRulePackage.eNS_URI, thePapyrusDSMLValidationRulePackage);
- return thePapyrusDSMLValidationRulePackage;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getValidationRule() {
- return validationRuleEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getValidationRule_Severity() {
- return (EAttribute)validationRuleEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getValidationRule_Mode() {
- return (EAttribute)validationRuleEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getValidationRule_IsEnabledByDefault() {
- return (EAttribute)validationRuleEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getValidationRule_Base_Constraint() {
- return (EReference)validationRuleEClass.getEStructuralFeatures().get(3);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getValidationRule_StatusCode() {
- return (EAttribute)validationRuleEClass.getEStructuralFeatures().get(4);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getValidationRule_Message() {
- return (EAttribute)validationRuleEClass.getEStructuralFeatures().get(5);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getValidationRule_Description() {
- return (EAttribute)validationRuleEClass.getEStructuralFeatures().get(6);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getValidationRule_Target() {
- return (EAttribute)validationRuleEClass.getEStructuralFeatures().get(7);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getValidationRule_Class() {
- return (EAttribute)validationRuleEClass.getEStructuralFeatures().get(8);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getValidationRule_Id() {
- return (EAttribute)validationRuleEClass.getEStructuralFeatures().get(9);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getMessageHandling() {
- return messageHandlingEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getMessageHandling_MessageMode() {
- return (EAttribute)messageHandlingEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getMessageHandling_Base_Package() {
- return (EReference)messageHandlingEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getMessageHandling_CustomTemplate() {
- return (EAttribute)messageHandlingEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EEnum getSeverity() {
- return severityEEnum;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EEnum getMode() {
- return modeEEnum;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EEnum getNameBasedMsgMode() {
- return nameBasedMsgModeEEnum;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public PapyrusDSMLValidationRuleFactory getPapyrusDSMLValidationRuleFactory() {
- return (PapyrusDSMLValidationRuleFactory)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
- validationRuleEClass = createEClass(VALIDATION_RULE);
- createEAttribute(validationRuleEClass, VALIDATION_RULE__SEVERITY);
- createEAttribute(validationRuleEClass, VALIDATION_RULE__MODE);
- createEAttribute(validationRuleEClass, VALIDATION_RULE__IS_ENABLED_BY_DEFAULT);
- createEReference(validationRuleEClass, VALIDATION_RULE__BASE_CONSTRAINT);
- createEAttribute(validationRuleEClass, VALIDATION_RULE__STATUS_CODE);
- createEAttribute(validationRuleEClass, VALIDATION_RULE__MESSAGE);
- createEAttribute(validationRuleEClass, VALIDATION_RULE__DESCRIPTION);
- createEAttribute(validationRuleEClass, VALIDATION_RULE__TARGET);
- createEAttribute(validationRuleEClass, VALIDATION_RULE__CLASS);
- createEAttribute(validationRuleEClass, VALIDATION_RULE__ID);
-
- messageHandlingEClass = createEClass(MESSAGE_HANDLING);
- createEAttribute(messageHandlingEClass, MESSAGE_HANDLING__MESSAGE_MODE);
- createEReference(messageHandlingEClass, MESSAGE_HANDLING__BASE_PACKAGE);
- createEAttribute(messageHandlingEClass, MESSAGE_HANDLING__CUSTOM_TEMPLATE);
-
- // Create enums
- severityEEnum = createEEnum(SEVERITY);
- modeEEnum = createEEnum(MODE);
- nameBasedMsgModeEEnum = createEEnum(NAME_BASED_MSG_MODE);
- }
-
- /**
- * <!-- 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
- TypesPackage theTypesPackage = (TypesPackage)EPackage.Registry.INSTANCE.getEPackage(TypesPackage.eNS_URI);
- UMLPackage theUMLPackage = (UMLPackage)EPackage.Registry.INSTANCE.getEPackage(UMLPackage.eNS_URI);
-
- // Create type parameters
-
- // Set bounds for type parameters
-
- // Add supertypes to classes
-
- // Initialize classes, features, and operations; add parameters
- initEClass(validationRuleEClass, ValidationRule.class, "ValidationRule", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getValidationRule_Severity(), this.getSeverity(), "severity", "ERROR", 1, 1, ValidationRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
- initEAttribute(getValidationRule_Mode(), this.getMode(), "mode", "Batch", 1, 1, ValidationRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
- initEAttribute(getValidationRule_IsEnabledByDefault(), theTypesPackage.getBoolean(), "isEnabledByDefault", "true", 1, 1, ValidationRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
- initEReference(getValidationRule_Base_Constraint(), theUMLPackage.getConstraint(), null, "base_Constraint", null, 1, 1, ValidationRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
- initEAttribute(getValidationRule_StatusCode(), theTypesPackage.getInteger(), "statusCode", "1", 1, 1, ValidationRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
- initEAttribute(getValidationRule_Message(), theTypesPackage.getString(), "message", null, 0, 1, ValidationRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
- initEAttribute(getValidationRule_Description(), theTypesPackage.getString(), "description", null, 0, 1, ValidationRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
- initEAttribute(getValidationRule_Target(), theTypesPackage.getString(), "target", null, 0, -1, ValidationRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
- initEAttribute(getValidationRule_Class(), theTypesPackage.getString(), "class", null, 0, 1, ValidationRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
- initEAttribute(getValidationRule_Id(), theTypesPackage.getString(), "id", null, 0, 1, ValidationRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
-
- initEClass(messageHandlingEClass, MessageHandling.class, "MessageHandling", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getMessageHandling_MessageMode(), this.getNameBasedMsgMode(), "messageMode", null, 1, 1, MessageHandling.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
- initEReference(getMessageHandling_Base_Package(), theUMLPackage.getPackage(), null, "base_Package", null, 1, 1, MessageHandling.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
- initEAttribute(getMessageHandling_CustomTemplate(), theTypesPackage.getString(), "customTemplate", null, 0, 1, MessageHandling.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
-
- // Initialize enums and add enum literals
- initEEnum(severityEEnum, Severity.class, "Severity");
- addEEnumLiteral(severityEEnum, Severity.ERROR);
- addEEnumLiteral(severityEEnum, Severity.WARNING);
- addEEnumLiteral(severityEEnum, Severity.INFO);
- addEEnumLiteral(severityEEnum, Severity.CANCEL);
-
- initEEnum(modeEEnum, Mode.class, "Mode");
- addEEnumLiteral(modeEEnum, Mode.BATCH);
- addEEnumLiteral(modeEEnum, Mode.LIVE);
-
- initEEnum(nameBasedMsgModeEEnum, NameBasedMsgMode.class, "NameBasedMsgMode");
- addEEnumLiteral(nameBasedMsgModeEEnum, NameBasedMsgMode.DEFAULT);
- addEEnumLiteral(nameBasedMsgModeEEnum, NameBasedMsgMode.NAME_IS_MESSAGE);
- addEEnumLiteral(nameBasedMsgModeEEnum, NameBasedMsgMode.CUSTOM_TEMPLATE);
-
- // Create resource
- createResource(eNS_URI);
- }
-
-} // PapyrusDSMLValidationRulePackageImpl
diff --git a/extraplugins/dsml.validation/org.eclipse.papyrus.dsml.validation/src-gen/org/eclipse/papyrus/dsml/validation/PapyrusDSMLValidationRule/impl/ValidationRuleImpl.java b/extraplugins/dsml.validation/org.eclipse.papyrus.dsml.validation/src-gen/org/eclipse/papyrus/dsml/validation/PapyrusDSMLValidationRule/impl/ValidationRuleImpl.java
deleted file mode 100644
index e5a30fa7e32..00000000000
--- a/extraplugins/dsml.validation/org.eclipse.papyrus.dsml.validation/src-gen/org/eclipse/papyrus/dsml/validation/PapyrusDSMLValidationRule/impl/ValidationRuleImpl.java
+++ /dev/null
@@ -1,643 +0,0 @@
-/**
- */
-package org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.impl;
-
-import java.util.Collection;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.InternalEObject;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
-import org.eclipse.emf.ecore.util.EDataTypeUniqueEList;
-import org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.Mode;
-import org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.PapyrusDSMLValidationRulePackage;
-import org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.Severity;
-import org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.ValidationRule;
-import org.eclipse.uml2.uml.Constraint;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Validation Rule</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * </p>
- * <ul>
- * <li>{@link org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.impl.ValidationRuleImpl#getSeverity <em>Severity</em>}</li>
- * <li>{@link org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.impl.ValidationRuleImpl#getMode <em>Mode</em>}</li>
- * <li>{@link org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.impl.ValidationRuleImpl#isEnabledByDefault <em>Is Enabled By Default</em>}</li>
- * <li>{@link org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.impl.ValidationRuleImpl#getBase_Constraint <em>Base Constraint</em>}</li>
- * <li>{@link org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.impl.ValidationRuleImpl#getStatusCode <em>Status Code</em>}</li>
- * <li>{@link org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.impl.ValidationRuleImpl#getMessage <em>Message</em>}</li>
- * <li>{@link org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.impl.ValidationRuleImpl#getDescription <em>Description</em>}</li>
- * <li>{@link org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.impl.ValidationRuleImpl#getTarget <em>Target</em>}</li>
- * <li>{@link org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.impl.ValidationRuleImpl#getClass_ <em>Class</em>}</li>
- * <li>{@link org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.impl.ValidationRuleImpl#getId <em>Id</em>}</li>
- * </ul>
- *
- * @generated
- */
-public class ValidationRuleImpl extends MinimalEObjectImpl.Container implements ValidationRule {
- /**
- * The default value of the '{@link #getSeverity() <em>Severity</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getSeverity()
- * @generated
- * @ordered
- */
- protected static final Severity SEVERITY_EDEFAULT = Severity.ERROR;
-
- /**
- * The cached value of the '{@link #getSeverity() <em>Severity</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getSeverity()
- * @generated
- * @ordered
- */
- protected Severity severity = SEVERITY_EDEFAULT;
-
- /**
- * The default value of the '{@link #getMode() <em>Mode</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getMode()
- * @generated
- * @ordered
- */
- protected static final Mode MODE_EDEFAULT = Mode.BATCH;
-
- /**
- * The cached value of the '{@link #getMode() <em>Mode</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getMode()
- * @generated
- * @ordered
- */
- protected Mode mode = MODE_EDEFAULT;
-
- /**
- * The default value of the '{@link #isEnabledByDefault() <em>Is Enabled By Default</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #isEnabledByDefault()
- * @generated
- * @ordered
- */
- protected static final boolean IS_ENABLED_BY_DEFAULT_EDEFAULT = true;
-
- /**
- * The cached value of the '{@link #isEnabledByDefault() <em>Is Enabled By Default</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #isEnabledByDefault()
- * @generated
- * @ordered
- */
- protected boolean isEnabledByDefault = IS_ENABLED_BY_DEFAULT_EDEFAULT;
-
- /**
- * The cached value of the '{@link #getBase_Constraint() <em>Base Constraint</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getBase_Constraint()
- * @generated
- * @ordered
- */
- protected Constraint base_Constraint;
-
- /**
- * The default value of the '{@link #getStatusCode() <em>Status Code</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getStatusCode()
- * @generated
- * @ordered
- */
- protected static final int STATUS_CODE_EDEFAULT = 1;
-
- /**
- * The cached value of the '{@link #getStatusCode() <em>Status Code</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getStatusCode()
- * @generated
- * @ordered
- */
- protected int statusCode = STATUS_CODE_EDEFAULT;
-
- /**
- * The default value of the '{@link #getMessage() <em>Message</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getMessage()
- * @generated
- * @ordered
- */
- protected static final String MESSAGE_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getMessage() <em>Message</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getMessage()
- * @generated
- * @ordered
- */
- protected String message = MESSAGE_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 cached value of the '{@link #getTarget() <em>Target</em>}' attribute list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getTarget()
- * @generated
- * @ordered
- */
- protected EList<String> target;
-
- /**
- * The default value of the '{@link #getClass_() <em>Class</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getClass_()
- * @generated
- * @ordered
- */
- protected static final String CLASS_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getClass_() <em>Class</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getClass_()
- * @generated
- * @ordered
- */
- protected String class_ = CLASS_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 ValidationRuleImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return PapyrusDSMLValidationRulePackage.Literals.VALIDATION_RULE;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Severity getSeverity() {
- return severity;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setSeverity(Severity newSeverity) {
- Severity oldSeverity = severity;
- severity = newSeverity == null ? SEVERITY_EDEFAULT : newSeverity;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, PapyrusDSMLValidationRulePackage.VALIDATION_RULE__SEVERITY, oldSeverity, severity));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Mode getMode() {
- return mode;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setMode(Mode newMode) {
- Mode oldMode = mode;
- mode = newMode == null ? MODE_EDEFAULT : newMode;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, PapyrusDSMLValidationRulePackage.VALIDATION_RULE__MODE, oldMode, mode));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean isEnabledByDefault() {
- return isEnabledByDefault;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setIsEnabledByDefault(boolean newIsEnabledByDefault) {
- boolean oldIsEnabledByDefault = isEnabledByDefault;
- isEnabledByDefault = newIsEnabledByDefault;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, PapyrusDSMLValidationRulePackage.VALIDATION_RULE__IS_ENABLED_BY_DEFAULT, oldIsEnabledByDefault, isEnabledByDefault));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Constraint getBase_Constraint() {
- if (base_Constraint != null && base_Constraint.eIsProxy()) {
- InternalEObject oldBase_Constraint = (InternalEObject)base_Constraint;
- base_Constraint = (Constraint)eResolveProxy(oldBase_Constraint);
- if (base_Constraint != oldBase_Constraint) {
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.RESOLVE, PapyrusDSMLValidationRulePackage.VALIDATION_RULE__BASE_CONSTRAINT, oldBase_Constraint, base_Constraint));
- }
- }
- return base_Constraint;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Constraint basicGetBase_Constraint() {
- return base_Constraint;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setBase_Constraint(Constraint newBase_Constraint) {
- Constraint oldBase_Constraint = base_Constraint;
- base_Constraint = newBase_Constraint;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, PapyrusDSMLValidationRulePackage.VALIDATION_RULE__BASE_CONSTRAINT, oldBase_Constraint, base_Constraint));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public int getStatusCode() {
- return statusCode;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setStatusCode(int newStatusCode) {
- int oldStatusCode = statusCode;
- statusCode = newStatusCode;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, PapyrusDSMLValidationRulePackage.VALIDATION_RULE__STATUS_CODE, oldStatusCode, statusCode));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getMessage() {
- return message;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setMessage(String newMessage) {
- String oldMessage = message;
- message = newMessage;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, PapyrusDSMLValidationRulePackage.VALIDATION_RULE__MESSAGE, oldMessage, message));
- }
-
- /**
- * <!-- 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, PapyrusDSMLValidationRulePackage.VALIDATION_RULE__DESCRIPTION, oldDescription, description));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EList<String> getTarget() {
- if (target == null) {
- target = new EDataTypeUniqueEList<String>(String.class, this, PapyrusDSMLValidationRulePackage.VALIDATION_RULE__TARGET);
- }
- return target;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getClass_() {
- return class_;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setClass_(String newClass) {
- String oldClass = class_;
- class_ = newClass;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, PapyrusDSMLValidationRulePackage.VALIDATION_RULE__CLASS, oldClass, class_));
- }
-
- /**
- * <!-- 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, PapyrusDSMLValidationRulePackage.VALIDATION_RULE__ID, oldId, id));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case PapyrusDSMLValidationRulePackage.VALIDATION_RULE__SEVERITY:
- return getSeverity();
- case PapyrusDSMLValidationRulePackage.VALIDATION_RULE__MODE:
- return getMode();
- case PapyrusDSMLValidationRulePackage.VALIDATION_RULE__IS_ENABLED_BY_DEFAULT:
- return isEnabledByDefault();
- case PapyrusDSMLValidationRulePackage.VALIDATION_RULE__BASE_CONSTRAINT:
- if (resolve) return getBase_Constraint();
- return basicGetBase_Constraint();
- case PapyrusDSMLValidationRulePackage.VALIDATION_RULE__STATUS_CODE:
- return getStatusCode();
- case PapyrusDSMLValidationRulePackage.VALIDATION_RULE__MESSAGE:
- return getMessage();
- case PapyrusDSMLValidationRulePackage.VALIDATION_RULE__DESCRIPTION:
- return getDescription();
- case PapyrusDSMLValidationRulePackage.VALIDATION_RULE__TARGET:
- return getTarget();
- case PapyrusDSMLValidationRulePackage.VALIDATION_RULE__CLASS:
- return getClass_();
- case PapyrusDSMLValidationRulePackage.VALIDATION_RULE__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 PapyrusDSMLValidationRulePackage.VALIDATION_RULE__SEVERITY:
- setSeverity((Severity)newValue);
- return;
- case PapyrusDSMLValidationRulePackage.VALIDATION_RULE__MODE:
- setMode((Mode)newValue);
- return;
- case PapyrusDSMLValidationRulePackage.VALIDATION_RULE__IS_ENABLED_BY_DEFAULT:
- setIsEnabledByDefault((Boolean)newValue);
- return;
- case PapyrusDSMLValidationRulePackage.VALIDATION_RULE__BASE_CONSTRAINT:
- setBase_Constraint((Constraint)newValue);
- return;
- case PapyrusDSMLValidationRulePackage.VALIDATION_RULE__STATUS_CODE:
- setStatusCode((Integer)newValue);
- return;
- case PapyrusDSMLValidationRulePackage.VALIDATION_RULE__MESSAGE:
- setMessage((String)newValue);
- return;
- case PapyrusDSMLValidationRulePackage.VALIDATION_RULE__DESCRIPTION:
- setDescription((String)newValue);
- return;
- case PapyrusDSMLValidationRulePackage.VALIDATION_RULE__TARGET:
- getTarget().clear();
- getTarget().addAll((Collection<? extends String>)newValue);
- return;
- case PapyrusDSMLValidationRulePackage.VALIDATION_RULE__CLASS:
- setClass_((String)newValue);
- return;
- case PapyrusDSMLValidationRulePackage.VALIDATION_RULE__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 PapyrusDSMLValidationRulePackage.VALIDATION_RULE__SEVERITY:
- setSeverity(SEVERITY_EDEFAULT);
- return;
- case PapyrusDSMLValidationRulePackage.VALIDATION_RULE__MODE:
- setMode(MODE_EDEFAULT);
- return;
- case PapyrusDSMLValidationRulePackage.VALIDATION_RULE__IS_ENABLED_BY_DEFAULT:
- setIsEnabledByDefault(IS_ENABLED_BY_DEFAULT_EDEFAULT);
- return;
- case PapyrusDSMLValidationRulePackage.VALIDATION_RULE__BASE_CONSTRAINT:
- setBase_Constraint((Constraint)null);
- return;
- case PapyrusDSMLValidationRulePackage.VALIDATION_RULE__STATUS_CODE:
- setStatusCode(STATUS_CODE_EDEFAULT);
- return;
- case PapyrusDSMLValidationRulePackage.VALIDATION_RULE__MESSAGE:
- setMessage(MESSAGE_EDEFAULT);
- return;
- case PapyrusDSMLValidationRulePackage.VALIDATION_RULE__DESCRIPTION:
- setDescription(DESCRIPTION_EDEFAULT);
- return;
- case PapyrusDSMLValidationRulePackage.VALIDATION_RULE__TARGET:
- getTarget().clear();
- return;
- case PapyrusDSMLValidationRulePackage.VALIDATION_RULE__CLASS:
- setClass_(CLASS_EDEFAULT);
- return;
- case PapyrusDSMLValidationRulePackage.VALIDATION_RULE__ID:
- setId(ID_EDEFAULT);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case PapyrusDSMLValidationRulePackage.VALIDATION_RULE__SEVERITY:
- return severity != SEVERITY_EDEFAULT;
- case PapyrusDSMLValidationRulePackage.VALIDATION_RULE__MODE:
- return mode != MODE_EDEFAULT;
- case PapyrusDSMLValidationRulePackage.VALIDATION_RULE__IS_ENABLED_BY_DEFAULT:
- return isEnabledByDefault != IS_ENABLED_BY_DEFAULT_EDEFAULT;
- case PapyrusDSMLValidationRulePackage.VALIDATION_RULE__BASE_CONSTRAINT:
- return base_Constraint != null;
- case PapyrusDSMLValidationRulePackage.VALIDATION_RULE__STATUS_CODE:
- return statusCode != STATUS_CODE_EDEFAULT;
- case PapyrusDSMLValidationRulePackage.VALIDATION_RULE__MESSAGE:
- return MESSAGE_EDEFAULT == null ? message != null : !MESSAGE_EDEFAULT.equals(message);
- case PapyrusDSMLValidationRulePackage.VALIDATION_RULE__DESCRIPTION:
- return DESCRIPTION_EDEFAULT == null ? description != null : !DESCRIPTION_EDEFAULT.equals(description);
- case PapyrusDSMLValidationRulePackage.VALIDATION_RULE__TARGET:
- return target != null && !target.isEmpty();
- case PapyrusDSMLValidationRulePackage.VALIDATION_RULE__CLASS:
- return CLASS_EDEFAULT == null ? class_ != null : !CLASS_EDEFAULT.equals(class_);
- case PapyrusDSMLValidationRulePackage.VALIDATION_RULE__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(" (severity: ");
- result.append(severity);
- result.append(", mode: ");
- result.append(mode);
- result.append(", isEnabledByDefault: ");
- result.append(isEnabledByDefault);
- result.append(", statusCode: ");
- result.append(statusCode);
- result.append(", message: ");
- result.append(message);
- result.append(", description: ");
- result.append(description);
- result.append(", target: ");
- result.append(target);
- result.append(", class: ");
- result.append(class_);
- result.append(", id: ");
- result.append(id);
- result.append(')');
- return result.toString();
- }
-
-} // ValidationRuleImpl
diff --git a/extraplugins/dsml.validation/org.eclipse.papyrus.dsml.validation/src-gen/org/eclipse/papyrus/dsml/validation/PapyrusDSMLValidationRule/util/PapyrusDSMLValidationRuleAdapterFactory.java b/extraplugins/dsml.validation/org.eclipse.papyrus.dsml.validation/src-gen/org/eclipse/papyrus/dsml/validation/PapyrusDSMLValidationRule/util/PapyrusDSMLValidationRuleAdapterFactory.java
deleted file mode 100644
index 5b866f6f989..00000000000
--- a/extraplugins/dsml.validation/org.eclipse.papyrus.dsml.validation/src-gen/org/eclipse/papyrus/dsml/validation/PapyrusDSMLValidationRule/util/PapyrusDSMLValidationRuleAdapterFactory.java
+++ /dev/null
@@ -1,137 +0,0 @@
-/**
- */
-package org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.util;
-
-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;
-import org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.*;
-import org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.PapyrusDSMLValidationRulePackage;
-import org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.ValidationRule;
-
-/**
- * <!-- 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.papyrus.dsml.validation.PapyrusDSMLValidationRule.PapyrusDSMLValidationRulePackage
- * @generated
- */
-public class PapyrusDSMLValidationRuleAdapterFactory extends AdapterFactoryImpl {
- /**
- * The cached model package.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected static PapyrusDSMLValidationRulePackage modelPackage;
-
- /**
- * Creates an instance of the adapter factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public PapyrusDSMLValidationRuleAdapterFactory() {
- if (modelPackage == null) {
- modelPackage = PapyrusDSMLValidationRulePackage.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 PapyrusDSMLValidationRuleSwitch<Adapter> modelSwitch =
- new PapyrusDSMLValidationRuleSwitch<Adapter>() {
- @Override
- public Adapter caseValidationRule(ValidationRule object) {
- return createValidationRuleAdapter();
- }
- @Override
- public Adapter caseMessageHandling(MessageHandling object) {
- return createMessageHandlingAdapter();
- }
- @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.papyrus.dsml.validation.PapyrusDSMLValidationRule.ValidationRule <em>Validation Rule</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.papyrus.dsml.validation.PapyrusDSMLValidationRule.ValidationRule
- * @generated
- */
- public Adapter createValidationRuleAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.MessageHandling <em>Message Handling</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.papyrus.dsml.validation.PapyrusDSMLValidationRule.MessageHandling
- * @generated
- */
- public Adapter createMessageHandlingAdapter() {
- 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;
- }
-
-} // PapyrusDSMLValidationRuleAdapterFactory
diff --git a/extraplugins/dsml.validation/org.eclipse.papyrus.dsml.validation/src-gen/org/eclipse/papyrus/dsml/validation/PapyrusDSMLValidationRule/util/PapyrusDSMLValidationRuleResourceFactoryImpl.java b/extraplugins/dsml.validation/org.eclipse.papyrus.dsml.validation/src-gen/org/eclipse/papyrus/dsml/validation/PapyrusDSMLValidationRule/util/PapyrusDSMLValidationRuleResourceFactoryImpl.java
deleted file mode 100644
index 073910d8286..00000000000
--- a/extraplugins/dsml.validation/org.eclipse.papyrus.dsml.validation/src-gen/org/eclipse/papyrus/dsml/validation/PapyrusDSMLValidationRule/util/PapyrusDSMLValidationRuleResourceFactoryImpl.java
+++ /dev/null
@@ -1,40 +0,0 @@
-/**
- */
-package org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.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.papyrus.dsml.validation.PapyrusDSMLValidationRule.util.PapyrusDSMLValidationRuleResourceImpl
- * @generated
- */
-public class PapyrusDSMLValidationRuleResourceFactoryImpl extends ResourceFactoryImpl {
- /**
- * Creates an instance of the resource factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public PapyrusDSMLValidationRuleResourceFactoryImpl() {
- super();
- }
-
- /**
- * Creates an instance of the resource.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Resource createResource(URI uri) {
- XMLResource result = new PapyrusDSMLValidationRuleResourceImpl(uri);
- return result;
- }
-
-} // PapyrusDSMLValidationRuleResourceFactoryImpl
diff --git a/extraplugins/dsml.validation/org.eclipse.papyrus.dsml.validation/src-gen/org/eclipse/papyrus/dsml/validation/PapyrusDSMLValidationRule/util/PapyrusDSMLValidationRuleResourceImpl.java b/extraplugins/dsml.validation/org.eclipse.papyrus.dsml.validation/src-gen/org/eclipse/papyrus/dsml/validation/PapyrusDSMLValidationRule/util/PapyrusDSMLValidationRuleResourceImpl.java
deleted file mode 100644
index 64ba3d44fc9..00000000000
--- a/extraplugins/dsml.validation/org.eclipse.papyrus.dsml.validation/src-gen/org/eclipse/papyrus/dsml/validation/PapyrusDSMLValidationRule/util/PapyrusDSMLValidationRuleResourceImpl.java
+++ /dev/null
@@ -1,27 +0,0 @@
-/**
- */
-package org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.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.papyrus.dsml.validation.PapyrusDSMLValidationRule.util.PapyrusDSMLValidationRuleResourceFactoryImpl
- * @generated
- */
-public class PapyrusDSMLValidationRuleResourceImpl extends XMLResourceImpl {
- /**
- * Creates an instance of the resource.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param uri the URI of the new resource.
- * @generated
- */
- public PapyrusDSMLValidationRuleResourceImpl(URI uri) {
- super(uri);
- }
-
-} // PapyrusDSMLValidationRuleResourceImpl
diff --git a/extraplugins/dsml.validation/org.eclipse.papyrus.dsml.validation/src-gen/org/eclipse/papyrus/dsml/validation/PapyrusDSMLValidationRule/util/PapyrusDSMLValidationRuleSwitch.java b/extraplugins/dsml.validation/org.eclipse.papyrus.dsml.validation/src-gen/org/eclipse/papyrus/dsml/validation/PapyrusDSMLValidationRule/util/PapyrusDSMLValidationRuleSwitch.java
deleted file mode 100644
index ef546f570c7..00000000000
--- a/extraplugins/dsml.validation/org.eclipse.papyrus.dsml.validation/src-gen/org/eclipse/papyrus/dsml/validation/PapyrusDSMLValidationRule/util/PapyrusDSMLValidationRuleSwitch.java
+++ /dev/null
@@ -1,130 +0,0 @@
-/**
- */
-package org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.util;
-
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.EPackage;
-import org.eclipse.emf.ecore.util.Switch;
-import org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.*;
-import org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.PapyrusDSMLValidationRulePackage;
-import org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.ValidationRule;
-
-/**
- * <!-- 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.papyrus.dsml.validation.PapyrusDSMLValidationRule.PapyrusDSMLValidationRulePackage
- * @generated
- */
-public class PapyrusDSMLValidationRuleSwitch<T> extends Switch<T> {
- /**
- * The cached model package
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected static PapyrusDSMLValidationRulePackage modelPackage;
-
- /**
- * Creates an instance of the switch.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public PapyrusDSMLValidationRuleSwitch() {
- if (modelPackage == null) {
- modelPackage = PapyrusDSMLValidationRulePackage.eINSTANCE;
- }
- }
-
- /**
- * Checks whether this is a switch for the given package.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param ePackage the package in question.
- * @return whether this is a switch for the given package.
- * @generated
- */
- @Override
- protected boolean isSwitchFor(EPackage ePackage) {
- return ePackage == modelPackage;
- }
-
- /**
- * Calls <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 PapyrusDSMLValidationRulePackage.VALIDATION_RULE: {
- ValidationRule validationRule = (ValidationRule)theEObject;
- T result = caseValidationRule(validationRule);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case PapyrusDSMLValidationRulePackage.MESSAGE_HANDLING: {
- MessageHandling messageHandling = (MessageHandling)theEObject;
- T result = caseMessageHandling(messageHandling);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- default: return defaultCase(theEObject);
- }
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Validation Rule</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>Validation Rule</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseValidationRule(ValidationRule object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Message Handling</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>Message Handling</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseMessageHandling(MessageHandling 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;
- }
-
-} // PapyrusDSMLValidationRuleSwitch
diff --git a/extraplugins/dsml.validation/org.eclipse.papyrus.dsml.validation/src-gen/org/eclipse/papyrus/dsml/validation/PapyrusDSMLValidationRule/util/PapyrusDSMLValidationRuleXMLProcessor.java b/extraplugins/dsml.validation/org.eclipse.papyrus.dsml.validation/src-gen/org/eclipse/papyrus/dsml/validation/PapyrusDSMLValidationRule/util/PapyrusDSMLValidationRuleXMLProcessor.java
deleted file mode 100644
index 4b3b6f85a99..00000000000
--- a/extraplugins/dsml.validation/org.eclipse.papyrus.dsml.validation/src-gen/org/eclipse/papyrus/dsml/validation/PapyrusDSMLValidationRule/util/PapyrusDSMLValidationRuleXMLProcessor.java
+++ /dev/null
@@ -1,47 +0,0 @@
-/**
- */
-package org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.util;
-
-import java.util.Map;
-
-import org.eclipse.emf.ecore.EPackage;
-import org.eclipse.emf.ecore.resource.Resource;
-import org.eclipse.emf.ecore.xmi.util.XMLProcessor;
-import org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.PapyrusDSMLValidationRulePackage;
-
-/**
- * This class contains helper methods to serialize and deserialize XML documents
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
-public class PapyrusDSMLValidationRuleXMLProcessor extends XMLProcessor {
-
- /**
- * Public constructor to instantiate the helper.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public PapyrusDSMLValidationRuleXMLProcessor() {
- super((EPackage.Registry.INSTANCE));
- PapyrusDSMLValidationRulePackage.eINSTANCE.eClass();
- }
-
- /**
- * Register for "*" and "xml" file extensions the PapyrusDSMLValidationRuleResourceFactoryImpl 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 PapyrusDSMLValidationRuleResourceFactoryImpl());
- registrations.put(STAR_EXTENSION, new PapyrusDSMLValidationRuleResourceFactoryImpl());
- }
- return registrations;
- }
-
-} // PapyrusDSMLValidationRuleXMLProcessor

Back to the top