Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCamille Letavernier2014-08-21 11:37:18 +0000
committerCamille Letavernier2014-08-21 11:37:18 +0000
commitea48a20561464c3cbb7895d430583669a9f82fcc (patch)
tree0fdf9eebacbbb301b13bafce3ca4a6952ff6e91c /extraplugins/dsml.validation/org.eclipse.papyrus.dsml.validation/src-gen/org/eclipse/papyrus/dsml
parentf91b71175fd97557cf378cdcad845a44a6274b16 (diff)
downloadorg.eclipse.papyrus-ea48a20561464c3cbb7895d430583669a9f82fcc.tar.gz
org.eclipse.papyrus-ea48a20561464c3cbb7895d430583669a9f82fcc.tar.xz
org.eclipse.papyrus-ea48a20561464c3cbb7895d430583669a9f82fcc.zip
[Code style] Apply clean-up and formatter on Extra plug-ins
Diffstat (limited to 'extraplugins/dsml.validation/org.eclipse.papyrus.dsml.validation/src-gen/org/eclipse/papyrus/dsml')
-rw-r--r--extraplugins/dsml.validation/org.eclipse.papyrus.dsml.validation/src-gen/org/eclipse/papyrus/dsml/validation/PapyrusDSMLValidationRule/Mode.java48
-rw-r--r--extraplugins/dsml.validation/org.eclipse.papyrus.dsml.validation/src-gen/org/eclipse/papyrus/dsml/validation/PapyrusDSMLValidationRule/PapyrusDSMLValidationRuleFactory.java6
-rw-r--r--extraplugins/dsml.validation/org.eclipse.papyrus.dsml.validation/src-gen/org/eclipse/papyrus/dsml/validation/PapyrusDSMLValidationRule/PapyrusDSMLValidationRulePackage.java70
-rw-r--r--extraplugins/dsml.validation/org.eclipse.papyrus.dsml.validation/src-gen/org/eclipse/papyrus/dsml/validation/PapyrusDSMLValidationRule/Severity.java68
-rw-r--r--extraplugins/dsml.validation/org.eclipse.papyrus.dsml.validation/src-gen/org/eclipse/papyrus/dsml/validation/PapyrusDSMLValidationRule/ValidationRule.java96
-rw-r--r--extraplugins/dsml.validation/org.eclipse.papyrus.dsml.validation/src-gen/org/eclipse/papyrus/dsml/validation/PapyrusDSMLValidationRule/impl/PapyrusDSMLValidationRuleFactoryImpl.java61
-rw-r--r--extraplugins/dsml.validation/org.eclipse.papyrus.dsml.validation/src-gen/org/eclipse/papyrus/dsml/validation/PapyrusDSMLValidationRule/impl/PapyrusDSMLValidationRulePackageImpl.java95
-rw-r--r--extraplugins/dsml.validation/org.eclipse.papyrus.dsml.validation/src-gen/org/eclipse/papyrus/dsml/validation/PapyrusDSMLValidationRule/impl/ValidationRuleImpl.java311
-rw-r--r--extraplugins/dsml.validation/org.eclipse.papyrus.dsml.validation/src-gen/org/eclipse/papyrus/dsml/validation/PapyrusDSMLValidationRule/util/PapyrusDSMLValidationRuleAdapterFactory.java38
-rw-r--r--extraplugins/dsml.validation/org.eclipse.papyrus.dsml.validation/src-gen/org/eclipse/papyrus/dsml/validation/PapyrusDSMLValidationRule/util/PapyrusDSMLValidationRuleResourceFactoryImpl.java5
-rw-r--r--extraplugins/dsml.validation/org.eclipse.papyrus.dsml.validation/src-gen/org/eclipse/papyrus/dsml/validation/PapyrusDSMLValidationRule/util/PapyrusDSMLValidationRuleResourceImpl.java7
-rw-r--r--extraplugins/dsml.validation/org.eclipse.papyrus.dsml.validation/src-gen/org/eclipse/papyrus/dsml/validation/PapyrusDSMLValidationRule/util/PapyrusDSMLValidationRuleSwitch.java33
-rw-r--r--extraplugins/dsml.validation/org.eclipse.papyrus.dsml.validation/src-gen/org/eclipse/papyrus/dsml/validation/PapyrusDSMLValidationRule/util/PapyrusDSMLValidationRuleXMLProcessor.java7
13 files changed, 544 insertions, 301 deletions
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
index 55faa38fa4f..629ba996a34 100644
--- 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
@@ -13,6 +13,7 @@ import org.eclipse.emf.common.util.Enumerator;
* 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
@@ -22,6 +23,7 @@ public enum Mode implements Enumerator {
* The '<em><b>Batch</b></em>' literal object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #BATCH_VALUE
* @generated
* @ordered
@@ -32,6 +34,7 @@ public enum Mode implements Enumerator {
* The '<em><b>Live</b></em>' literal object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #LIVE_VALUE
* @generated
* @ordered
@@ -42,10 +45,10 @@ public enum Mode implements Enumerator {
* 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...
+ * 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
@@ -57,10 +60,10 @@ public enum Mode implements Enumerator {
* 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...
+ * 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
@@ -72,18 +75,20 @@ public enum Mode implements Enumerator {
* 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,
- };
+ 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));
@@ -92,6 +97,7 @@ public enum Mode implements Enumerator {
* Returns the '<em><b>Mode</b></em>' literal with the specified literal value.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public static Mode get(String literal) {
@@ -108,6 +114,7 @@ public enum Mode implements Enumerator {
* Returns the '<em><b>Mode</b></em>' literal with the specified name.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public static Mode getByName(String name) {
@@ -124,12 +131,15 @@ public enum Mode implements Enumerator {
* Returns the '<em><b>Mode</b></em>' literal with the specified integer value.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public static Mode get(int value) {
switch (value) {
- case BATCH_VALUE: return BATCH;
- case LIVE_VALUE: return LIVE;
+ case BATCH_VALUE:
+ return BATCH;
+ case LIVE_VALUE:
+ return LIVE;
}
return null;
}
@@ -137,6 +147,7 @@ public enum Mode implements Enumerator {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private final int value;
@@ -144,6 +155,7 @@ public enum Mode implements Enumerator {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private final String name;
@@ -151,6 +163,7 @@ public enum Mode implements Enumerator {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private final String literal;
@@ -159,6 +172,7 @@ public enum Mode implements Enumerator {
* Only this class can construct instances.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private Mode(int value, String name, String literal) {
@@ -170,39 +184,43 @@ public enum Mode implements Enumerator {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public int getValue() {
- return value;
+ return value;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public String getName() {
- return name;
+ return name;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public String getLiteral() {
- return literal;
+ 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
+
+} // Mode
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
index 838e8866b1e..7ae19ba726d 100644
--- 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
@@ -9,6 +9,7 @@ import org.eclipse.emf.ecore.EFactory;
* 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
*/
@@ -17,6 +18,7 @@ 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();
@@ -25,6 +27,7 @@ public interface PapyrusDSMLValidationRuleFactory extends EFactory {
* 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
*/
@@ -34,9 +37,10 @@ public interface PapyrusDSMLValidationRuleFactory extends EFactory {
* Returns the package supported by this factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the package supported by this factory.
* @generated
*/
PapyrusDSMLValidationRulePackage getPapyrusDSMLValidationRulePackage();
-} //PapyrusDSMLValidationRuleFactory
+} // 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
index 1d0537572ee..4758b0cf4f6 100644
--- 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
@@ -13,13 +13,14 @@ import org.eclipse.emf.ecore.EReference;
* 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>
+ * <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
@@ -29,6 +30,7 @@ public interface PapyrusDSMLValidationRulePackage extends EPackage {
* The package name.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
String eNAME = "PapyrusDSMLValidationRule";
@@ -37,6 +39,7 @@ public interface PapyrusDSMLValidationRulePackage extends EPackage {
* The package namespace URI.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
String eNS_URI = "http://www.eclipse.org/papyrus/dsmlvalidation";
@@ -45,6 +48,7 @@ public interface PapyrusDSMLValidationRulePackage extends EPackage {
* The package namespace name.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
String eNS_PREFIX = "PapyrusDSMLValidationRule";
@@ -53,6 +57,7 @@ public interface PapyrusDSMLValidationRulePackage extends EPackage {
* The singleton instance of the package.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
PapyrusDSMLValidationRulePackage eINSTANCE = org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.impl.PapyrusDSMLValidationRulePackageImpl.init();
@@ -61,6 +66,7 @@ public interface PapyrusDSMLValidationRulePackage extends EPackage {
* 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
@@ -71,6 +77,7 @@ public interface PapyrusDSMLValidationRulePackage extends EPackage {
* The feature id for the '<em><b>Severity</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -80,6 +87,7 @@ public interface PapyrusDSMLValidationRulePackage extends EPackage {
* The feature id for the '<em><b>Mode</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -89,6 +97,7 @@ public interface PapyrusDSMLValidationRulePackage extends EPackage {
* The feature id for the '<em><b>Is Enabled By Default</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -98,6 +107,7 @@ public interface PapyrusDSMLValidationRulePackage extends EPackage {
* The feature id for the '<em><b>Base Constraint</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -107,6 +117,7 @@ public interface PapyrusDSMLValidationRulePackage extends EPackage {
* The feature id for the '<em><b>Status Code</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -116,6 +127,7 @@ public interface PapyrusDSMLValidationRulePackage extends EPackage {
* The feature id for the '<em><b>Message</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -125,6 +137,7 @@ public interface PapyrusDSMLValidationRulePackage extends EPackage {
* The feature id for the '<em><b>Description</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -134,6 +147,7 @@ public interface PapyrusDSMLValidationRulePackage extends EPackage {
* The feature id for the '<em><b>Target</b></em>' attribute list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -143,6 +157,7 @@ public interface PapyrusDSMLValidationRulePackage extends EPackage {
* The feature id for the '<em><b>Class</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -152,6 +167,7 @@ public interface PapyrusDSMLValidationRulePackage extends EPackage {
* The feature id for the '<em><b>Id</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -161,6 +177,7 @@ public interface PapyrusDSMLValidationRulePackage extends EPackage {
* The number of structural features of the '<em>Validation Rule</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -170,6 +187,7 @@ public interface PapyrusDSMLValidationRulePackage extends EPackage {
* The number of operations of the '<em>Validation Rule</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -179,6 +197,7 @@ public interface PapyrusDSMLValidationRulePackage extends EPackage {
* 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
@@ -189,6 +208,7 @@ public interface PapyrusDSMLValidationRulePackage extends EPackage {
* 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
@@ -200,6 +220,7 @@ public interface PapyrusDSMLValidationRulePackage extends EPackage {
* 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
@@ -210,6 +231,7 @@ public interface PapyrusDSMLValidationRulePackage extends EPackage {
* 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()
@@ -221,6 +243,7 @@ public interface PapyrusDSMLValidationRulePackage extends EPackage {
* 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()
@@ -232,6 +255,7 @@ public interface PapyrusDSMLValidationRulePackage extends EPackage {
* 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()
@@ -243,6 +267,7 @@ public interface PapyrusDSMLValidationRulePackage extends EPackage {
* 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()
@@ -254,6 +279,7 @@ public interface PapyrusDSMLValidationRulePackage extends EPackage {
* 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()
@@ -265,6 +291,7 @@ public interface PapyrusDSMLValidationRulePackage extends EPackage {
* 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()
@@ -276,6 +303,7 @@ public interface PapyrusDSMLValidationRulePackage extends EPackage {
* 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()
@@ -287,6 +315,7 @@ public interface PapyrusDSMLValidationRulePackage extends EPackage {
* 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()
@@ -298,6 +327,7 @@ public interface PapyrusDSMLValidationRulePackage extends EPackage {
* 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()
@@ -309,6 +339,7 @@ public interface PapyrusDSMLValidationRulePackage extends EPackage {
* 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()
@@ -320,6 +351,7 @@ public interface PapyrusDSMLValidationRulePackage extends EPackage {
* 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
@@ -330,6 +362,7 @@ public interface PapyrusDSMLValidationRulePackage extends EPackage {
* 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
@@ -340,6 +373,7 @@ public interface PapyrusDSMLValidationRulePackage extends EPackage {
* 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
*/
@@ -349,13 +383,14 @@ public interface PapyrusDSMLValidationRulePackage extends EPackage {
* <!-- 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>
+ * <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 {
@@ -363,6 +398,7 @@ public interface PapyrusDSMLValidationRulePackage extends EPackage {
* 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
@@ -373,6 +409,7 @@ public interface PapyrusDSMLValidationRulePackage extends EPackage {
* 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();
@@ -381,6 +418,7 @@ public interface PapyrusDSMLValidationRulePackage extends EPackage {
* 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();
@@ -389,6 +427,7 @@ public interface PapyrusDSMLValidationRulePackage extends EPackage {
* 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();
@@ -397,6 +436,7 @@ public interface PapyrusDSMLValidationRulePackage extends EPackage {
* 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();
@@ -405,6 +445,7 @@ public interface PapyrusDSMLValidationRulePackage extends EPackage {
* 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();
@@ -413,6 +454,7 @@ public interface PapyrusDSMLValidationRulePackage extends EPackage {
* 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();
@@ -421,6 +463,7 @@ public interface PapyrusDSMLValidationRulePackage extends EPackage {
* 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();
@@ -429,6 +472,7 @@ public interface PapyrusDSMLValidationRulePackage extends EPackage {
* 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();
@@ -437,6 +481,7 @@ public interface PapyrusDSMLValidationRulePackage extends EPackage {
* 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();
@@ -445,6 +490,7 @@ public interface PapyrusDSMLValidationRulePackage extends EPackage {
* 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();
@@ -453,6 +499,7 @@ public interface PapyrusDSMLValidationRulePackage extends EPackage {
* 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
@@ -463,6 +510,7 @@ public interface PapyrusDSMLValidationRulePackage extends EPackage {
* 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
@@ -471,4 +519,4 @@ public interface PapyrusDSMLValidationRulePackage extends EPackage {
}
-} //PapyrusDSMLValidationRulePackage
+} // 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
index b1af4dc4f21..5849b7c1704 100644
--- 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
@@ -13,6 +13,7 @@ import org.eclipse.emf.common.util.Enumerator;
* 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
@@ -22,6 +23,7 @@ public enum Severity implements Enumerator {
* The '<em><b>ERROR</b></em>' literal object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #ERROR_VALUE
* @generated
* @ordered
@@ -32,6 +34,7 @@ public enum Severity implements Enumerator {
* The '<em><b>WARNING</b></em>' literal object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #WARNING_VALUE
* @generated
* @ordered
@@ -42,6 +45,7 @@ public enum Severity implements Enumerator {
* The '<em><b>INFO</b></em>' literal object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #INFO_VALUE
* @generated
* @ordered
@@ -52,6 +56,7 @@ public enum Severity implements Enumerator {
* The '<em><b>CANCEL</b></em>' literal object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #CANCEL_VALUE
* @generated
* @ordered
@@ -62,10 +67,10 @@ public enum Severity implements Enumerator {
* 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...
+ * 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
@@ -77,10 +82,10 @@ public enum Severity implements Enumerator {
* 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...
+ * 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
@@ -92,10 +97,10 @@ public enum Severity implements Enumerator {
* 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...
+ * 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
@@ -107,10 +112,10 @@ public enum Severity implements Enumerator {
* 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...
+ * 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
@@ -122,20 +127,22 @@ public enum Severity implements Enumerator {
* 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,
- };
+ 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));
@@ -144,6 +151,7 @@ public enum Severity implements Enumerator {
* Returns the '<em><b>Severity</b></em>' literal with the specified literal value.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public static Severity get(String literal) {
@@ -160,6 +168,7 @@ public enum Severity implements Enumerator {
* Returns the '<em><b>Severity</b></em>' literal with the specified name.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public static Severity getByName(String name) {
@@ -176,14 +185,19 @@ public enum Severity implements Enumerator {
* Returns the '<em><b>Severity</b></em>' literal with the specified integer value.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @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;
+ case ERROR_VALUE:
+ return ERROR;
+ case WARNING_VALUE:
+ return WARNING;
+ case INFO_VALUE:
+ return INFO;
+ case CANCEL_VALUE:
+ return CANCEL;
}
return null;
}
@@ -191,6 +205,7 @@ public enum Severity implements Enumerator {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private final int value;
@@ -198,6 +213,7 @@ public enum Severity implements Enumerator {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private final String name;
@@ -205,6 +221,7 @@ public enum Severity implements Enumerator {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private final String literal;
@@ -213,6 +230,7 @@ public enum Severity implements Enumerator {
* Only this class can construct instances.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private Severity(int value, String name, String literal) {
@@ -224,39 +242,43 @@ public enum Severity implements Enumerator {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public int getValue() {
- return value;
+ return value;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public String getName() {
- return name;
+ return name;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public String getLiteral() {
- return literal;
+ 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
+
+} // 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
index 1b268213fbf..9ee0c318efc 100644
--- 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
@@ -16,16 +16,16 @@ import org.eclipse.uml2.uml.Constraint;
* <p>
* The following features are supported:
* <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>
+ * <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>
* </p>
*
@@ -40,10 +40,10 @@ public interface ValidationRule extends EObject {
* 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...
+ * 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)
@@ -57,7 +57,9 @@ public interface ValidationRule extends EObject {
* 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.
+ *
+ * @param value
+ * the new value of the '<em>Severity</em>' attribute.
* @see org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.Severity
* @see #getSeverity()
* @generated
@@ -70,10 +72,10 @@ public interface ValidationRule extends EObject {
* 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...
+ * 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)
@@ -87,7 +89,9 @@ public interface ValidationRule extends EObject {
* 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.
+ *
+ * @param value
+ * the new value of the '<em>Mode</em>' attribute.
* @see org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.Mode
* @see #getMode()
* @generated
@@ -99,10 +103,10 @@ public interface ValidationRule extends EObject {
* 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...
+ * 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()
@@ -115,7 +119,9 @@ public interface ValidationRule extends EObject {
* 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.
+ *
+ * @param value
+ * the new value of the '<em>Is Enabled By Default</em>' attribute.
* @see #isEnabledByDefault()
* @generated
*/
@@ -125,10 +131,10 @@ public interface ValidationRule extends EObject {
* 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...
+ * 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()
@@ -141,7 +147,9 @@ public interface ValidationRule extends EObject {
* 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.
+ *
+ * @param value
+ * the new value of the '<em>Base Constraint</em>' reference.
* @see #getBase_Constraint()
* @generated
*/
@@ -152,10 +160,10 @@ public interface ValidationRule extends EObject {
* 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...
+ * 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()
@@ -168,7 +176,9 @@ public interface ValidationRule extends EObject {
* 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.
+ *
+ * @param value
+ * the new value of the '<em>Status Code</em>' attribute.
* @see #getStatusCode()
* @generated
*/
@@ -178,10 +188,10 @@ public interface ValidationRule extends EObject {
* 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...
+ * 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()
@@ -194,7 +204,9 @@ public interface ValidationRule extends EObject {
* 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.
+ *
+ * @param value
+ * the new value of the '<em>Message</em>' attribute.
* @see #getMessage()
* @generated
*/
@@ -204,10 +216,10 @@ public interface ValidationRule extends EObject {
* 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...
+ * 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()
@@ -220,7 +232,9 @@ public interface ValidationRule extends EObject {
* 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.
+ *
+ * @param value
+ * the new value of the '<em>Description</em>' attribute.
* @see #getDescription()
* @generated
*/
@@ -231,10 +245,10 @@ public interface ValidationRule extends EObject {
* 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...
+ * 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"
@@ -246,10 +260,10 @@ public interface ValidationRule extends EObject {
* 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...
+ * 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()
@@ -262,7 +276,9 @@ public interface ValidationRule extends EObject {
* 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.
+ *
+ * @param value
+ * the new value of the '<em>Class</em>' attribute.
* @see #getClass_()
* @generated
*/
@@ -272,10 +288,10 @@ public interface ValidationRule extends EObject {
* 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...
+ * 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()
@@ -288,7 +304,9 @@ public interface ValidationRule extends EObject {
* 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.
+ *
+ * @param value
+ * the new value of the '<em>Id</em>' attribute.
* @see #getId()
* @generated
*/
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
index 7c44847f369..05b57664e40 100644
--- 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
@@ -17,6 +17,7 @@ import org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.*;
* <!-- begin-user-doc -->
* An implementation of the model <b>Factory</b>.
* <!-- end-user-doc -->
+ *
* @generated
*/
public class PapyrusDSMLValidationRuleFactoryImpl extends EFactoryImpl implements PapyrusDSMLValidationRuleFactory {
@@ -24,16 +25,16 @@ public class PapyrusDSMLValidationRuleFactoryImpl extends EFactoryImpl implement
* 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);
+ PapyrusDSMLValidationRuleFactory thePapyrusDSMLValidationRuleFactory = (PapyrusDSMLValidationRuleFactory) EPackage.Registry.INSTANCE.getEFactory(PapyrusDSMLValidationRulePackage.eNS_URI);
if (thePapyrusDSMLValidationRuleFactory != null) {
return thePapyrusDSMLValidationRuleFactory;
}
- }
- catch (Exception exception) {
+ } catch (Exception exception) {
EcorePlugin.INSTANCE.log(exception);
}
return new PapyrusDSMLValidationRuleFactoryImpl();
@@ -43,6 +44,7 @@ public class PapyrusDSMLValidationRuleFactoryImpl extends EFactoryImpl implement
* Creates an instance of the factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public PapyrusDSMLValidationRuleFactoryImpl() {
@@ -52,54 +54,59 @@ public class PapyrusDSMLValidationRuleFactoryImpl extends EFactoryImpl implement
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public EObject create(EClass eClass) {
switch (eClass.getClassifierID()) {
- case PapyrusDSMLValidationRulePackage.VALIDATION_RULE: return createValidationRule();
- default:
- throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
+ case PapyrusDSMLValidationRulePackage.VALIDATION_RULE:
+ return createValidationRule();
+ 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);
- default:
- throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier");
+ case PapyrusDSMLValidationRulePackage.SEVERITY:
+ return createSeverityFromString(eDataType, initialValue);
+ case PapyrusDSMLValidationRulePackage.MODE:
+ return createModeFromString(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);
- default:
- throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier");
+ case PapyrusDSMLValidationRulePackage.SEVERITY:
+ return convertSeverityToString(eDataType, instanceValue);
+ case PapyrusDSMLValidationRulePackage.MODE:
+ return convertModeToString(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() {
@@ -110,17 +117,21 @@ public class PapyrusDSMLValidationRuleFactoryImpl extends EFactoryImpl implement
/**
* <!-- 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() + "'");
+ 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) {
@@ -130,17 +141,21 @@ public class PapyrusDSMLValidationRuleFactoryImpl extends EFactoryImpl implement
/**
* <!-- 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() + "'");
+ 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) {
@@ -150,15 +165,17 @@ public class PapyrusDSMLValidationRuleFactoryImpl extends EFactoryImpl implement
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public PapyrusDSMLValidationRulePackage getPapyrusDSMLValidationRulePackage() {
- return (PapyrusDSMLValidationRulePackage)getEPackage();
+ return (PapyrusDSMLValidationRulePackage) getEPackage();
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @deprecated
* @generated
*/
@@ -167,4 +184,4 @@ public class PapyrusDSMLValidationRuleFactoryImpl extends EFactoryImpl implement
return PapyrusDSMLValidationRulePackage.eINSTANCE;
}
-} //PapyrusDSMLValidationRuleFactoryImpl
+} // 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
index cf4b839f6db..794425f2131 100644
--- 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
@@ -24,12 +24,14 @@ 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;
@@ -37,6 +39,7 @@ public class PapyrusDSMLValidationRulePackageImpl extends EPackageImpl implement
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private EEnum severityEEnum = null;
@@ -44,20 +47,17 @@ public class PapyrusDSMLValidationRulePackageImpl extends EPackageImpl implement
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private EEnum modeEEnum = null;
/**
- * Creates an instance of the model <b>Package</b>, registered with
- * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package
+ * 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 -->
+ * <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()
@@ -70,27 +70,31 @@ public class PapyrusDSMLValidationRulePackageImpl extends EPackageImpl implement
/**
* <!-- 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 -->
*
- * <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);
+ 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());
+ PapyrusDSMLValidationRulePackageImpl thePapyrusDSMLValidationRulePackage = (PapyrusDSMLValidationRulePackageImpl) (EPackage.Registry.INSTANCE.get(eNS_URI) instanceof PapyrusDSMLValidationRulePackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI)
+ : new PapyrusDSMLValidationRulePackageImpl());
isInited = true;
@@ -106,7 +110,7 @@ public class PapyrusDSMLValidationRulePackageImpl extends EPackageImpl implement
// 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;
@@ -115,6 +119,7 @@ public class PapyrusDSMLValidationRulePackageImpl extends EPackageImpl implement
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EClass getValidationRule() {
@@ -124,96 +129,107 @@ public class PapyrusDSMLValidationRulePackageImpl extends EPackageImpl implement
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EAttribute getValidationRule_Severity() {
- return (EAttribute)validationRuleEClass.getEStructuralFeatures().get(0);
+ return (EAttribute) validationRuleEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EAttribute getValidationRule_Mode() {
- return (EAttribute)validationRuleEClass.getEStructuralFeatures().get(1);
+ return (EAttribute) validationRuleEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EAttribute getValidationRule_IsEnabledByDefault() {
- return (EAttribute)validationRuleEClass.getEStructuralFeatures().get(2);
+ return (EAttribute) validationRuleEClass.getEStructuralFeatures().get(2);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EReference getValidationRule_Base_Constraint() {
- return (EReference)validationRuleEClass.getEStructuralFeatures().get(3);
+ return (EReference) validationRuleEClass.getEStructuralFeatures().get(3);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EAttribute getValidationRule_StatusCode() {
- return (EAttribute)validationRuleEClass.getEStructuralFeatures().get(4);
+ return (EAttribute) validationRuleEClass.getEStructuralFeatures().get(4);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EAttribute getValidationRule_Message() {
- return (EAttribute)validationRuleEClass.getEStructuralFeatures().get(5);
+ return (EAttribute) validationRuleEClass.getEStructuralFeatures().get(5);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EAttribute getValidationRule_Description() {
- return (EAttribute)validationRuleEClass.getEStructuralFeatures().get(6);
+ return (EAttribute) validationRuleEClass.getEStructuralFeatures().get(6);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EAttribute getValidationRule_Target() {
- return (EAttribute)validationRuleEClass.getEStructuralFeatures().get(7);
+ return (EAttribute) validationRuleEClass.getEStructuralFeatures().get(7);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EAttribute getValidationRule_Class() {
- return (EAttribute)validationRuleEClass.getEStructuralFeatures().get(8);
+ return (EAttribute) validationRuleEClass.getEStructuralFeatures().get(8);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EAttribute getValidationRule_Id() {
- return (EAttribute)validationRuleEClass.getEStructuralFeatures().get(9);
+ return (EAttribute) validationRuleEClass.getEStructuralFeatures().get(9);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EEnum getSeverity() {
@@ -223,6 +239,7 @@ public class PapyrusDSMLValidationRulePackageImpl extends EPackageImpl implement
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EEnum getMode() {
@@ -232,28 +249,33 @@ public class PapyrusDSMLValidationRulePackageImpl extends EPackageImpl implement
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public PapyrusDSMLValidationRuleFactory getPapyrusDSMLValidationRuleFactory() {
- return (PapyrusDSMLValidationRuleFactory)getEFactoryInstance();
+ 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
+ * 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;
+ if (isCreated) {
+ return;
+ }
isCreated = true;
// Create classes and their features
@@ -277,19 +299,23 @@ public class PapyrusDSMLValidationRulePackageImpl extends EPackageImpl implement
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private boolean isInitialized = false;
/**
- * Complete the initialization of the package and its meta-model. This
+ * 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;
+ if (isInitialized) {
+ return;
+ }
isInitialized = true;
// Initialize package
@@ -298,8 +324,8 @@ public class PapyrusDSMLValidationRulePackageImpl extends EPackageImpl implement
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);
+ TypesPackage theTypesPackage = (TypesPackage) EPackage.Registry.INSTANCE.getEPackage(TypesPackage.eNS_URI);
+ UMLPackage theUMLPackage = (UMLPackage) EPackage.Registry.INSTANCE.getEPackage(UMLPackage.eNS_URI);
// Create type parameters
@@ -312,7 +338,8 @@ public class PapyrusDSMLValidationRulePackageImpl extends EPackageImpl implement
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);
+ 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);
@@ -335,4 +362,4 @@ public class PapyrusDSMLValidationRulePackageImpl extends EPackageImpl implement
createResource(eNS_URI);
}
-} //PapyrusDSMLValidationRulePackageImpl
+} // 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
index d0a5ce70f12..e35cb686ed1 100644
--- 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
@@ -30,16 +30,16 @@ import org.eclipse.uml2.uml.Constraint;
* <p>
* The following features are implemented:
* <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>
+ * <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>
* </p>
*
@@ -50,6 +50,7 @@ public class ValidationRuleImpl extends MinimalEObjectImpl.Container implements
* The default value of the '{@link #getSeverity() <em>Severity</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getSeverity()
* @generated
* @ordered
@@ -60,6 +61,7 @@ public class ValidationRuleImpl extends MinimalEObjectImpl.Container implements
* The cached value of the '{@link #getSeverity() <em>Severity</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getSeverity()
* @generated
* @ordered
@@ -70,6 +72,7 @@ public class ValidationRuleImpl extends MinimalEObjectImpl.Container implements
* The default value of the '{@link #getMode() <em>Mode</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getMode()
* @generated
* @ordered
@@ -80,6 +83,7 @@ public class ValidationRuleImpl extends MinimalEObjectImpl.Container implements
* The cached value of the '{@link #getMode() <em>Mode</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getMode()
* @generated
* @ordered
@@ -90,6 +94,7 @@ public class ValidationRuleImpl extends MinimalEObjectImpl.Container implements
* The default value of the '{@link #isEnabledByDefault() <em>Is Enabled By Default</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #isEnabledByDefault()
* @generated
* @ordered
@@ -100,6 +105,7 @@ public class ValidationRuleImpl extends MinimalEObjectImpl.Container implements
* The cached value of the '{@link #isEnabledByDefault() <em>Is Enabled By Default</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #isEnabledByDefault()
* @generated
* @ordered
@@ -110,6 +116,7 @@ public class ValidationRuleImpl extends MinimalEObjectImpl.Container implements
* The cached value of the '{@link #getBase_Constraint() <em>Base Constraint</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getBase_Constraint()
* @generated
* @ordered
@@ -120,6 +127,7 @@ public class ValidationRuleImpl extends MinimalEObjectImpl.Container implements
* The default value of the '{@link #getStatusCode() <em>Status Code</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getStatusCode()
* @generated
* @ordered
@@ -130,6 +138,7 @@ public class ValidationRuleImpl extends MinimalEObjectImpl.Container implements
* The cached value of the '{@link #getStatusCode() <em>Status Code</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getStatusCode()
* @generated
* @ordered
@@ -140,6 +149,7 @@ public class ValidationRuleImpl extends MinimalEObjectImpl.Container implements
* The default value of the '{@link #getMessage() <em>Message</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getMessage()
* @generated
* @ordered
@@ -150,6 +160,7 @@ public class ValidationRuleImpl extends MinimalEObjectImpl.Container implements
* The cached value of the '{@link #getMessage() <em>Message</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getMessage()
* @generated
* @ordered
@@ -160,6 +171,7 @@ public class ValidationRuleImpl extends MinimalEObjectImpl.Container implements
* The default value of the '{@link #getDescription() <em>Description</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getDescription()
* @generated
* @ordered
@@ -170,6 +182,7 @@ public class ValidationRuleImpl extends MinimalEObjectImpl.Container implements
* The cached value of the '{@link #getDescription() <em>Description</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getDescription()
* @generated
* @ordered
@@ -180,6 +193,7 @@ public class ValidationRuleImpl extends MinimalEObjectImpl.Container implements
* The cached value of the '{@link #getTarget() <em>Target</em>}' attribute list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getTarget()
* @generated
* @ordered
@@ -190,6 +204,7 @@ public class ValidationRuleImpl extends MinimalEObjectImpl.Container implements
* The default value of the '{@link #getClass_() <em>Class</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getClass_()
* @generated
* @ordered
@@ -200,6 +215,7 @@ public class ValidationRuleImpl extends MinimalEObjectImpl.Container implements
* The cached value of the '{@link #getClass_() <em>Class</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getClass_()
* @generated
* @ordered
@@ -210,6 +226,7 @@ public class ValidationRuleImpl extends MinimalEObjectImpl.Container implements
* The default value of the '{@link #getId() <em>Id</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getId()
* @generated
* @ordered
@@ -220,6 +237,7 @@ public class ValidationRuleImpl extends MinimalEObjectImpl.Container implements
* The cached value of the '{@link #getId() <em>Id</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getId()
* @generated
* @ordered
@@ -229,6 +247,7 @@ public class ValidationRuleImpl extends MinimalEObjectImpl.Container implements
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected ValidationRuleImpl() {
@@ -238,6 +257,7 @@ public class ValidationRuleImpl extends MinimalEObjectImpl.Container implements
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -248,6 +268,7 @@ public class ValidationRuleImpl extends MinimalEObjectImpl.Container implements
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public Severity getSeverity() {
@@ -257,18 +278,21 @@ public class ValidationRuleImpl extends MinimalEObjectImpl.Container implements
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public void setSeverity(Severity newSeverity) {
Severity oldSeverity = severity;
severity = newSeverity == null ? SEVERITY_EDEFAULT : newSeverity;
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, PapyrusDSMLValidationRulePackage.VALIDATION_RULE__SEVERITY, oldSeverity, severity));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public Mode getMode() {
@@ -278,18 +302,21 @@ public class ValidationRuleImpl extends MinimalEObjectImpl.Container implements
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public void setMode(Mode newMode) {
Mode oldMode = mode;
mode = newMode == null ? MODE_EDEFAULT : newMode;
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, PapyrusDSMLValidationRulePackage.VALIDATION_RULE__MODE, oldMode, mode));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public boolean isEnabledByDefault() {
@@ -299,27 +326,31 @@ public class ValidationRuleImpl extends MinimalEObjectImpl.Container implements
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public void setIsEnabledByDefault(boolean newIsEnabledByDefault) {
boolean oldIsEnabledByDefault = isEnabledByDefault;
isEnabledByDefault = newIsEnabledByDefault;
- if (eNotificationRequired())
+ 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);
+ InternalEObject oldBase_Constraint = (InternalEObject) base_Constraint;
+ base_Constraint = (Constraint) eResolveProxy(oldBase_Constraint);
if (base_Constraint != oldBase_Constraint) {
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.RESOLVE, PapyrusDSMLValidationRulePackage.VALIDATION_RULE__BASE_CONSTRAINT, oldBase_Constraint, base_Constraint));
+ }
}
}
return base_Constraint;
@@ -328,6 +359,7 @@ public class ValidationRuleImpl extends MinimalEObjectImpl.Container implements
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public Constraint basicGetBase_Constraint() {
@@ -337,18 +369,21 @@ public class ValidationRuleImpl extends MinimalEObjectImpl.Container implements
/**
* <!-- 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())
+ 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() {
@@ -358,18 +393,21 @@ public class ValidationRuleImpl extends MinimalEObjectImpl.Container implements
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public void setStatusCode(int newStatusCode) {
int oldStatusCode = statusCode;
statusCode = newStatusCode;
- if (eNotificationRequired())
+ 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() {
@@ -379,18 +417,21 @@ public class ValidationRuleImpl extends MinimalEObjectImpl.Container implements
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public void setMessage(String newMessage) {
String oldMessage = message;
message = newMessage;
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, PapyrusDSMLValidationRulePackage.VALIDATION_RULE__MESSAGE, oldMessage, message));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public String getDescription() {
@@ -400,18 +441,21 @@ public class ValidationRuleImpl extends MinimalEObjectImpl.Container implements
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public void setDescription(String newDescription) {
String oldDescription = description;
description = newDescription;
- if (eNotificationRequired())
+ 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() {
@@ -424,6 +468,7 @@ public class ValidationRuleImpl extends MinimalEObjectImpl.Container implements
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public String getClass_() {
@@ -433,18 +478,21 @@ public class ValidationRuleImpl extends MinimalEObjectImpl.Container implements
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public void setClass_(String newClass) {
String oldClass = class_;
class_ = newClass;
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, PapyrusDSMLValidationRulePackage.VALIDATION_RULE__CLASS, oldClass, class_));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public String getId() {
@@ -454,44 +502,49 @@ public class ValidationRuleImpl extends MinimalEObjectImpl.Container implements
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public void setId(String newId) {
String oldId = id;
id = newId;
- if (eNotificationRequired())
+ 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();
+ 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);
}
@@ -499,43 +552,44 @@ public class ValidationRuleImpl extends MinimalEObjectImpl.Container implements
/**
* <!-- 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;
+ 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);
}
@@ -543,41 +597,42 @@ public class ValidationRuleImpl extends MinimalEObjectImpl.Container implements
/**
* <!-- 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;
+ 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);
}
@@ -585,31 +640,32 @@ public class ValidationRuleImpl extends MinimalEObjectImpl.Container implements
/**
* <!-- 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);
+ 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);
}
@@ -617,11 +673,14 @@ public class ValidationRuleImpl extends MinimalEObjectImpl.Container implements
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public String toString() {
- if (eIsProxy()) return super.toString();
+ if (eIsProxy()) {
+ return super.toString();
+ }
StringBuffer result = new StringBuffer(super.toString());
result.append(" (severity: ");
@@ -646,4 +705,4 @@ public class ValidationRuleImpl extends MinimalEObjectImpl.Container implements
return result.toString();
}
-} //ValidationRuleImpl
+} // 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
index ef97b91dc9f..057da659a44 100644
--- 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
@@ -16,6 +16,7 @@ import org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.*;
* 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
*/
@@ -24,6 +25,7 @@ public class PapyrusDSMLValidationRuleAdapterFactory extends AdapterFactoryImpl
* The cached model package.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected static PapyrusDSMLValidationRulePackage modelPackage;
@@ -32,6 +34,7 @@ public class PapyrusDSMLValidationRuleAdapterFactory extends AdapterFactoryImpl
* Creates an instance of the adapter factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public PapyrusDSMLValidationRuleAdapterFactory() {
@@ -45,6 +48,7 @@ public class PapyrusDSMLValidationRuleAdapterFactory extends AdapterFactoryImpl
* <!-- 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
*/
@@ -54,7 +58,7 @@ public class PapyrusDSMLValidationRuleAdapterFactory extends AdapterFactoryImpl
return true;
}
if (object instanceof EObject) {
- return ((EObject)object).eClass().getEPackage() == modelPackage;
+ return ((EObject) object).eClass().getEPackage() == modelPackage;
}
return false;
}
@@ -63,31 +67,35 @@ public class PapyrusDSMLValidationRuleAdapterFactory extends AdapterFactoryImpl
* 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 defaultCase(EObject object) {
- return createEObjectAdapter();
- }
- };
+ new PapyrusDSMLValidationRuleSwitch<Adapter>() {
+ @Override
+ public Adapter caseValidationRule(ValidationRule object) {
+ return createValidationRuleAdapter();
+ }
+
+ @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.
+ *
+ * @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);
+ return modelSwitch.doSwitch((EObject) target);
}
@@ -97,6 +105,7 @@ public class PapyrusDSMLValidationRuleAdapterFactory extends AdapterFactoryImpl
* 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
@@ -110,6 +119,7 @@ public class PapyrusDSMLValidationRuleAdapterFactory extends AdapterFactoryImpl
* <!-- begin-user-doc -->
* This default implementation returns null.
* <!-- end-user-doc -->
+ *
* @return the new adapter.
* @generated
*/
@@ -117,4 +127,4 @@ public class PapyrusDSMLValidationRuleAdapterFactory extends AdapterFactoryImpl
return null;
}
-} //PapyrusDSMLValidationRuleAdapterFactory
+} // 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
index e77c9be04d0..76ad040ac65 100644
--- 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
@@ -14,6 +14,7 @@ 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
*/
@@ -22,6 +23,7 @@ public class PapyrusDSMLValidationRuleResourceFactoryImpl extends ResourceFactor
* Creates an instance of the resource factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public PapyrusDSMLValidationRuleResourceFactoryImpl() {
@@ -32,6 +34,7 @@ public class PapyrusDSMLValidationRuleResourceFactoryImpl extends ResourceFactor
* Creates an instance of the resource.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -49,4 +52,4 @@ public class PapyrusDSMLValidationRuleResourceFactoryImpl extends ResourceFactor
return result;
}
-} //PapyrusDSMLValidationRuleResourceFactoryImpl
+} // 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
index 27d10baad7e..98a8e7e62f6 100644
--- 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
@@ -10,6 +10,7 @@ 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
*/
@@ -18,11 +19,13 @@ 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.
+ *
+ * @param uri
+ * the URI of the new resource.
* @generated
*/
public PapyrusDSMLValidationRuleResourceImpl(URI uri) {
super(uri);
}
-} //PapyrusDSMLValidationRuleResourceImpl
+} // 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
index 80e09a31a18..837ad14656d 100644
--- 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
@@ -12,13 +12,13 @@ import org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.*;
/**
* <!-- 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,
+ * 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
*/
@@ -27,6 +27,7 @@ public class PapyrusDSMLValidationRuleSwitch<T> extends Switch<T> {
* The cached model package
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected static PapyrusDSMLValidationRulePackage modelPackage;
@@ -35,6 +36,7 @@ public class PapyrusDSMLValidationRuleSwitch<T> extends Switch<T> {
* Creates an instance of the switch.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public PapyrusDSMLValidationRuleSwitch() {
@@ -47,6 +49,7 @@ public class PapyrusDSMLValidationRuleSwitch<T> extends Switch<T> {
* Checks whether this is a switch for the given package.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @parameter ePackage the package in question.
* @return whether this is a switch for the given package.
* @generated
@@ -60,19 +63,23 @@ public class PapyrusDSMLValidationRuleSwitch<T> extends Switch<T> {
* 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.VALIDATION_RULE: {
+ ValidationRule validationRule = (ValidationRule) theEObject;
+ T result = caseValidationRule(validationRule);
+ if (result == null) {
+ result = defaultCase(theEObject);
}
- default: return defaultCase(theEObject);
+ return result;
+ }
+ default:
+ return defaultCase(theEObject);
}
}
@@ -82,7 +89,9 @@ public class PapyrusDSMLValidationRuleSwitch<T> extends Switch<T> {
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
- * @param object the target of the switch.
+ *
+ * @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
@@ -97,7 +106,9 @@ public class PapyrusDSMLValidationRuleSwitch<T> extends Switch<T> {
* 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.
+ *
+ * @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
@@ -107,4 +118,4 @@ public class PapyrusDSMLValidationRuleSwitch<T> extends Switch<T> {
return null;
}
-} //PapyrusDSMLValidationRuleSwitch
+} // 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
index 37c022b074c..7f0f86e031f 100644
--- 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
@@ -16,6 +16,7 @@ import org.eclipse.papyrus.dsml.validation.PapyrusDSMLValidationRule.PapyrusDSML
* This class contains helper methods to serialize and deserialize XML documents
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public class PapyrusDSMLValidationRuleXMLProcessor extends XMLProcessor {
@@ -24,17 +25,19 @@ 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
@@ -47,4 +50,4 @@ public class PapyrusDSMLValidationRuleXMLProcessor extends XMLProcessor {
return registrations;
}
-} //PapyrusDSMLValidationRuleXMLProcessor
+} // PapyrusDSMLValidationRuleXMLProcessor

Back to the top