From 95293e1e822d3df6d64540721ba386912c2733b4 Mon Sep 17 00:00:00 2001 From: ArenBabikian Date: Sun, 17 May 2020 01:55:56 -0400 Subject: Adjust Taxation model. --- .../src/TaxationWithRoot/Address.java | 4 +- .../src/TaxationWithRoot/DS.java | 67 -- .../src/TaxationWithRoot/DS_for_Donation.java | 17 - .../DS_for_Health_and_Pension_Insurance.java | 48 - .../TaxationWithRoot/DS_for_Interest_Expense.java | 17 - .../TaxationWithRoot/DS_for_Loss_Carryforward.java | 17 - .../TaxationWithRoot/DS_for_Permanent_Expense.java | 48 - .../DS_for_Private_Insurance_and_Plan.java | 48 - .../src/TaxationWithRoot/FD.java | 45 - .../src/TaxationWithRoot/FO.java | 17 - .../src/TaxationWithRoot/Income_Tax_Credit.java | 4 +- .../Professional_Expenses_Deduction.java | 16 - .../src/TaxationWithRoot/Resource.java | 4 +- .../src/TaxationWithRoot/Root.java | 18 - .../src/TaxationWithRoot/Tax_Case.java | 4 +- .../src/TaxationWithRoot/Tax_Payer.java | 2 +- .../src/TaxationWithRoot/TaxationFactory.java | 90 -- .../src/TaxationWithRoot/TaxationPackage.java | 1002 ++------------------ .../src/TaxationWithRoot/impl/AddressImpl.java | 4 +- .../src/TaxationWithRoot/impl/DSImpl.java | 220 ----- .../TaxationWithRoot/impl/DS_for_DonationImpl.java | 37 - .../DS_for_Health_and_Pension_InsuranceImpl.java | 165 ---- .../impl/DS_for_Interest_ExpenseImpl.java | 37 - .../impl/DS_for_Loss_CarryforwardImpl.java | 37 - .../impl/DS_for_Permanent_ExpenseImpl.java | 165 ---- .../DS_for_Private_Insurance_and_PlanImpl.java | 165 ---- .../src/TaxationWithRoot/impl/FDImpl.java | 164 ---- .../src/TaxationWithRoot/impl/FOImpl.java | 37 - .../src/TaxationWithRoot/impl/HouseholdImpl.java | 4 +- .../impl/Income_Tax_CreditImpl.java | 3 +- .../impl/Professional_Expenses_DeductionImpl.java | 37 - .../src/TaxationWithRoot/impl/ResourceImpl.java | 10 +- .../src/TaxationWithRoot/impl/RootImpl.java | 39 - .../TaxationWithRoot/impl/TaxationFactoryImpl.java | 120 --- .../TaxationWithRoot/impl/TaxationPackageImpl.java | 327 +------ .../util/TaxationAdapterFactory.java | 198 ---- .../src/TaxationWithRoot/util/TaxationSwitch.java | 261 ----- 37 files changed, 125 insertions(+), 3373 deletions(-) delete mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/DS.java delete mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/DS_for_Donation.java delete mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/DS_for_Health_and_Pension_Insurance.java delete mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/DS_for_Interest_Expense.java delete mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/DS_for_Loss_Carryforward.java delete mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/DS_for_Permanent_Expense.java delete mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/DS_for_Private_Insurance_and_Plan.java delete mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/FD.java delete mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/FO.java delete mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/Professional_Expenses_Deduction.java delete mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/Root.java delete mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/impl/DSImpl.java delete mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/impl/DS_for_DonationImpl.java delete mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/impl/DS_for_Health_and_Pension_InsuranceImpl.java delete mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/impl/DS_for_Interest_ExpenseImpl.java delete mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/impl/DS_for_Loss_CarryforwardImpl.java delete mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/impl/DS_for_Permanent_ExpenseImpl.java delete mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/impl/DS_for_Private_Insurance_and_PlanImpl.java delete mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/impl/FDImpl.java delete mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/impl/FOImpl.java delete mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/impl/Professional_Expenses_DeductionImpl.java delete mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/impl/RootImpl.java (limited to 'Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot') diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/Address.java b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/Address.java index 9df3f653..00fcc706 100644 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/Address.java +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/Address.java @@ -4,6 +4,8 @@ package TaxationWithRoot; import org.eclipse.emf.common.util.EList; +import org.eclipse.emf.ecore.EObject; + /** * * A representation of the model object 'Address'. @@ -25,7 +27,7 @@ import org.eclipse.emf.common.util.EList; * @model * @generated */ -public interface Address extends Root { +public interface Address extends EObject { /** * Returns the value of the 'Country' attribute. * The default value is "ZZ". diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/DS.java b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/DS.java deleted file mode 100644 index 9a6eac3f..00000000 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/DS.java +++ /dev/null @@ -1,67 +0,0 @@ -/** - */ -package TaxationWithRoot; - -/** - * - * A representation of the model object 'DS'. - * - * - *

- * The following features are supported: - *

- * - * - * @see TaxationWithRoot.TaxationPackage#getDS() - * @model - * @generated - */ -public interface DS extends Root { - /** - * Returns the value of the 'Maximum deductible amount' attribute. - * - * - * @return the value of the 'Maximum deductible amount' attribute. - * @see #setMaximum_deductible_amount(double) - * @see TaxationWithRoot.TaxationPackage#getDS_Maximum_deductible_amount() - * @model required="true" - * @generated - */ - double getMaximum_deductible_amount(); - - /** - * Sets the value of the '{@link TaxationWithRoot.DS#getMaximum_deductible_amount Maximum deductible amount}' attribute. - * - * - * @param value the new value of the 'Maximum deductible amount' attribute. - * @see #getMaximum_deductible_amount() - * @generated - */ - void setMaximum_deductible_amount(double value); - - /** - * Returns the value of the 'Id3' attribute. - * - * - * @return the value of the 'Id3' attribute. - * @see #setId3(String) - * @see TaxationWithRoot.TaxationPackage#getDS_Id3() - * @model id="true" required="true" ordered="false" - * @generated - */ - String getId3(); - - /** - * Sets the value of the '{@link TaxationWithRoot.DS#getId3 Id3}' attribute. - * - * - * @param value the new value of the 'Id3' attribute. - * @see #getId3() - * @generated - */ - void setId3(String value); - -} // DS diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/DS_for_Donation.java b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/DS_for_Donation.java deleted file mode 100644 index 90e86e14..00000000 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/DS_for_Donation.java +++ /dev/null @@ -1,17 +0,0 @@ -/** - */ -package TaxationWithRoot; - - -/** - * - * A representation of the model object 'DS for Donation'. - * - * - * - * @see TaxationWithRoot.TaxationPackage#getDS_for_Donation() - * @model - * @generated - */ -public interface DS_for_Donation extends DS { -} // DS_for_Donation diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/DS_for_Health_and_Pension_Insurance.java b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/DS_for_Health_and_Pension_Insurance.java deleted file mode 100644 index 35c7e423..00000000 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/DS_for_Health_and_Pension_Insurance.java +++ /dev/null @@ -1,48 +0,0 @@ -/** - */ -package TaxationWithRoot; - - -/** - * - * A representation of the model object 'DS for Health and Pension Insurance'. - * - * - *

- * The following features are supported: - *

- * - * - * @see TaxationWithRoot.TaxationPackage#getDS_for_Health_and_Pension_Insurance() - * @model - * @generated - */ -public interface DS_for_Health_and_Pension_Insurance extends DS { - /** - * Returns the value of the 'Insurance category' attribute. - * The literals are from the enumeration {@link TaxationWithRoot.Category_of_Health_and_Pension_Insurances}. - * - * - * @return the value of the 'Insurance category' attribute. - * @see TaxationWithRoot.Category_of_Health_and_Pension_Insurances - * @see #setInsurance_category(Category_of_Health_and_Pension_Insurances) - * @see TaxationWithRoot.TaxationPackage#getDS_for_Health_and_Pension_Insurance_Insurance_category() - * @model required="true" - * @generated - */ - Category_of_Health_and_Pension_Insurances getInsurance_category(); - - /** - * Sets the value of the '{@link TaxationWithRoot.DS_for_Health_and_Pension_Insurance#getInsurance_category Insurance category}' attribute. - * - * - * @param value the new value of the 'Insurance category' attribute. - * @see TaxationWithRoot.Category_of_Health_and_Pension_Insurances - * @see #getInsurance_category() - * @generated - */ - void setInsurance_category(Category_of_Health_and_Pension_Insurances value); - -} // DS_for_Health_and_Pension_Insurance diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/DS_for_Interest_Expense.java b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/DS_for_Interest_Expense.java deleted file mode 100644 index 77c53b32..00000000 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/DS_for_Interest_Expense.java +++ /dev/null @@ -1,17 +0,0 @@ -/** - */ -package TaxationWithRoot; - - -/** - * - * A representation of the model object 'DS for Interest Expense'. - * - * - * - * @see TaxationWithRoot.TaxationPackage#getDS_for_Interest_Expense() - * @model - * @generated - */ -public interface DS_for_Interest_Expense extends DS { -} // DS_for_Interest_Expense diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/DS_for_Loss_Carryforward.java b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/DS_for_Loss_Carryforward.java deleted file mode 100644 index 02a2b5ff..00000000 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/DS_for_Loss_Carryforward.java +++ /dev/null @@ -1,17 +0,0 @@ -/** - */ -package TaxationWithRoot; - - -/** - * - * A representation of the model object 'DS for Loss Carryforward'. - * - * - * - * @see TaxationWithRoot.TaxationPackage#getDS_for_Loss_Carryforward() - * @model - * @generated - */ -public interface DS_for_Loss_Carryforward extends DS { -} // DS_for_Loss_Carryforward diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/DS_for_Permanent_Expense.java b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/DS_for_Permanent_Expense.java deleted file mode 100644 index 51e0581f..00000000 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/DS_for_Permanent_Expense.java +++ /dev/null @@ -1,48 +0,0 @@ -/** - */ -package TaxationWithRoot; - - -/** - * - * A representation of the model object 'DS for Permanent Expense'. - * - * - *

- * The following features are supported: - *

- * - * - * @see TaxationWithRoot.TaxationPackage#getDS_for_Permanent_Expense() - * @model - * @generated - */ -public interface DS_for_Permanent_Expense extends DS { - /** - * Returns the value of the 'Permanent expense category' attribute. - * The literals are from the enumeration {@link TaxationWithRoot.Category_of_Permanent_Expense}. - * - * - * @return the value of the 'Permanent expense category' attribute. - * @see TaxationWithRoot.Category_of_Permanent_Expense - * @see #setPermanent_expense_category(Category_of_Permanent_Expense) - * @see TaxationWithRoot.TaxationPackage#getDS_for_Permanent_Expense_Permanent_expense_category() - * @model required="true" - * @generated - */ - Category_of_Permanent_Expense getPermanent_expense_category(); - - /** - * Sets the value of the '{@link TaxationWithRoot.DS_for_Permanent_Expense#getPermanent_expense_category Permanent expense category}' attribute. - * - * - * @param value the new value of the 'Permanent expense category' attribute. - * @see TaxationWithRoot.Category_of_Permanent_Expense - * @see #getPermanent_expense_category() - * @generated - */ - void setPermanent_expense_category(Category_of_Permanent_Expense value); - -} // DS_for_Permanent_Expense diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/DS_for_Private_Insurance_and_Plan.java b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/DS_for_Private_Insurance_and_Plan.java deleted file mode 100644 index 73258f14..00000000 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/DS_for_Private_Insurance_and_Plan.java +++ /dev/null @@ -1,48 +0,0 @@ -/** - */ -package TaxationWithRoot; - - -/** - * - * A representation of the model object 'DS for Private Insurance and Plan'. - * - * - *

- * The following features are supported: - *

- * - * - * @see TaxationWithRoot.TaxationPackage#getDS_for_Private_Insurance_and_Plan() - * @model - * @generated - */ -public interface DS_for_Private_Insurance_and_Plan extends DS { - /** - * Returns the value of the 'Private insurance and plan category' attribute. - * The literals are from the enumeration {@link TaxationWithRoot.Category_of_Private_Insurance_and_Plan}. - * - * - * @return the value of the 'Private insurance and plan category' attribute. - * @see TaxationWithRoot.Category_of_Private_Insurance_and_Plan - * @see #setPrivate_insurance_and_plan_category(Category_of_Private_Insurance_and_Plan) - * @see TaxationWithRoot.TaxationPackage#getDS_for_Private_Insurance_and_Plan_Private_insurance_and_plan_category() - * @model required="true" - * @generated - */ - Category_of_Private_Insurance_and_Plan getPrivate_insurance_and_plan_category(); - - /** - * Sets the value of the '{@link TaxationWithRoot.DS_for_Private_Insurance_and_Plan#getPrivate_insurance_and_plan_category Private insurance and plan category}' attribute. - * - * - * @param value the new value of the 'Private insurance and plan category' attribute. - * @see TaxationWithRoot.Category_of_Private_Insurance_and_Plan - * @see #getPrivate_insurance_and_plan_category() - * @generated - */ - void setPrivate_insurance_and_plan_category(Category_of_Private_Insurance_and_Plan value); - -} // DS_for_Private_Insurance_and_Plan diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/FD.java b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/FD.java deleted file mode 100644 index c5ba0f28..00000000 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/FD.java +++ /dev/null @@ -1,45 +0,0 @@ -/** - */ -package TaxationWithRoot; - - -/** - * - * A representation of the model object 'FD'. - * - * - *

- * The following features are supported: - *

- * - * - * @see TaxationWithRoot.TaxationPackage#getFD() - * @model - * @generated - */ -public interface FD extends Professional_Expenses_Deduction { - /** - * Returns the value of the 'Distance declared in january' attribute. - * - * - * @return the value of the 'Distance declared in january' attribute. - * @see #setDistance_declared_in_january(double) - * @see TaxationWithRoot.TaxationPackage#getFD_Distance_declared_in_january() - * @model required="true" - * @generated - */ - double getDistance_declared_in_january(); - - /** - * Sets the value of the '{@link TaxationWithRoot.FD#getDistance_declared_in_january Distance declared in january}' attribute. - * - * - * @param value the new value of the 'Distance declared in january' attribute. - * @see #getDistance_declared_in_january() - * @generated - */ - void setDistance_declared_in_january(double value); - -} // FD diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/FO.java b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/FO.java deleted file mode 100644 index 5c7af450..00000000 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/FO.java +++ /dev/null @@ -1,17 +0,0 @@ -/** - */ -package TaxationWithRoot; - - -/** - * - * A representation of the model object 'FO'. - * - * - * - * @see TaxationWithRoot.TaxationPackage#getFO() - * @model - * @generated - */ -public interface FO extends Professional_Expenses_Deduction { -} // FO diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/Income_Tax_Credit.java b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/Income_Tax_Credit.java index 48365794..4e171015 100644 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/Income_Tax_Credit.java +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/Income_Tax_Credit.java @@ -2,6 +2,8 @@ */ package TaxationWithRoot; +import org.eclipse.emf.ecore.EObject; + /** * * A representation of the model object 'Income Tax Credit'. @@ -25,7 +27,7 @@ package TaxationWithRoot; * @model * @generated */ -public interface Income_Tax_Credit extends Root { +public interface Income_Tax_Credit extends EObject { /** * Returns the value of the 'Granted By' attribute. * The literals are from the enumeration {@link TaxationWithRoot.Grantor}. diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/Professional_Expenses_Deduction.java b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/Professional_Expenses_Deduction.java deleted file mode 100644 index b6edd2a7..00000000 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/Professional_Expenses_Deduction.java +++ /dev/null @@ -1,16 +0,0 @@ -/** - */ -package TaxationWithRoot; - -/** - * - * A representation of the model object 'Professional Expenses Deduction'. - * - * - * - * @see TaxationWithRoot.TaxationPackage#getProfessional_Expenses_Deduction() - * @model - * @generated - */ -public interface Professional_Expenses_Deduction extends Root { -} // Professional_Expenses_Deduction diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/Resource.java b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/Resource.java index 6ea850b3..dbcedb8f 100644 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/Resource.java +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/Resource.java @@ -25,7 +25,7 @@ import org.eclipse.emf.ecore.EObject; public interface Resource extends EObject { /** * Returns the value of the 'Contains' containment reference list. - * The list contents are of type {@link TaxationWithRoot.Root}. + * The list contents are of type {@link TaxationWithRoot.Household}. * * * @return the value of the 'Contains' containment reference list. @@ -33,6 +33,6 @@ public interface Resource extends EObject { * @model containment="true" * @generated */ - EList getContains(); + EList getContains(); } // Resource diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/Root.java b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/Root.java deleted file mode 100644 index df799863..00000000 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/Root.java +++ /dev/null @@ -1,18 +0,0 @@ -/** - */ -package TaxationWithRoot; - -import org.eclipse.emf.ecore.EObject; - -/** - * - * A representation of the model object 'Root'. - * - * - * - * @see TaxationWithRoot.TaxationPackage#getRoot() - * @model abstract="true" - * @generated - */ -public interface Root extends EObject { -} // Root diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/Tax_Case.java b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/Tax_Case.java index cee7c173..372eebcc 100644 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/Tax_Case.java +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/Tax_Case.java @@ -2,6 +2,8 @@ */ package TaxationWithRoot; +import org.eclipse.emf.ecore.EObject; + /** * * A representation of the model object 'Tax Case'. @@ -12,5 +14,5 @@ package TaxationWithRoot; * @model interface="true" abstract="true" * @generated */ -public interface Tax_Case extends Root { +public interface Tax_Case extends EObject { } // Tax_Case diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/Tax_Payer.java b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/Tax_Payer.java index a58a0560..e93eb06f 100644 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/Tax_Payer.java +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/Tax_Payer.java @@ -24,7 +24,7 @@ import org.eclipse.emf.common.util.EList; * annotation="duplicates" * @generated */ -public interface Tax_Payer extends Physical_Person, Tax_Case, Root { +public interface Tax_Payer extends Physical_Person, Tax_Case { /** * Returns the value of the 'Dependents' containment reference list. * The list contents are of type {@link TaxationWithRoot.Dependent}. diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/TaxationFactory.java b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/TaxationFactory.java index 1a4dd78f..9a91d109 100644 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/TaxationFactory.java +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/TaxationFactory.java @@ -291,96 +291,6 @@ public interface TaxationFactory extends EFactory { */ CIS createCIS(); - /** - * Returns a new object of class 'FD'. - * - * - * @return a new object of class 'FD'. - * @generated - */ - FD createFD(); - - /** - * Returns a new object of class 'Professional Expenses Deduction'. - * - * - * @return a new object of class 'Professional Expenses Deduction'. - * @generated - */ - Professional_Expenses_Deduction createProfessional_Expenses_Deduction(); - - /** - * Returns a new object of class 'FO'. - * - * - * @return a new object of class 'FO'. - * @generated - */ - FO createFO(); - - /** - * Returns a new object of class 'DS for Permanent Expense'. - * - * - * @return a new object of class 'DS for Permanent Expense'. - * @generated - */ - DS_for_Permanent_Expense createDS_for_Permanent_Expense(); - - /** - * Returns a new object of class 'DS'. - * - * - * @return a new object of class 'DS'. - * @generated - */ - DS createDS(); - - /** - * Returns a new object of class 'DS for Interest Expense'. - * - * - * @return a new object of class 'DS for Interest Expense'. - * @generated - */ - DS_for_Interest_Expense createDS_for_Interest_Expense(); - - /** - * Returns a new object of class 'DS for Health and Pension Insurance'. - * - * - * @return a new object of class 'DS for Health and Pension Insurance'. - * @generated - */ - DS_for_Health_and_Pension_Insurance createDS_for_Health_and_Pension_Insurance(); - - /** - * Returns a new object of class 'DS for Private Insurance and Plan'. - * - * - * @return a new object of class 'DS for Private Insurance and Plan'. - * @generated - */ - DS_for_Private_Insurance_and_Plan createDS_for_Private_Insurance_and_Plan(); - - /** - * Returns a new object of class 'DS for Loss Carryforward'. - * - * - * @return a new object of class 'DS for Loss Carryforward'. - * @generated - */ - DS_for_Loss_Carryforward createDS_for_Loss_Carryforward(); - - /** - * Returns a new object of class 'DS for Donation'. - * - * - * @return a new object of class 'DS for Donation'. - * @generated - */ - DS_for_Donation createDS_for_Donation(); - /** * Returns a new object of class 'Permanent Expense'. * diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/TaxationPackage.java b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/TaxationPackage.java index 2b14b619..7a1bac56 100644 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/TaxationPackage.java +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/TaxationPackage.java @@ -629,34 +629,6 @@ public interface TaxationPackage extends EPackage { */ int TAX_PAYER_OPERATION_COUNT = PHYSICAL_PERSON_OPERATION_COUNT + 0; - /** - * The meta object id for the '{@link TaxationWithRoot.impl.RootImpl Root}' class. - * - * - * @see TaxationWithRoot.impl.RootImpl - * @see TaxationWithRoot.impl.TaxationPackageImpl#getRoot() - * @generated - */ - int ROOT = 59; - - /** - * The number of structural features of the 'Root' class. - * - * - * @generated - * @ordered - */ - int ROOT_FEATURE_COUNT = 0; - - /** - * The number of operations of the 'Root' class. - * - * - * @generated - * @ordered - */ - int ROOT_OPERATION_COUNT = 0; - /** * The meta object id for the '{@link TaxationWithRoot.impl.AddressImpl Address}' class. * @@ -674,7 +646,7 @@ public interface TaxationPackage extends EPackage { * @generated * @ordered */ - int ADDRESS__COUNTRY = ROOT_FEATURE_COUNT + 0; + int ADDRESS__COUNTRY = 0; /** * The feature id for the 'Street' attribute. @@ -683,7 +655,7 @@ public interface TaxationPackage extends EPackage { * @generated * @ordered */ - int ADDRESS__STREET = ROOT_FEATURE_COUNT + 1; + int ADDRESS__STREET = 1; /** * The feature id for the 'Zip Code' attribute. @@ -692,7 +664,7 @@ public interface TaxationPackage extends EPackage { * @generated * @ordered */ - int ADDRESS__ZIP_CODE = ROOT_FEATURE_COUNT + 2; + int ADDRESS__ZIP_CODE = 2; /** * The feature id for the 'City' attribute. @@ -701,7 +673,7 @@ public interface TaxationPackage extends EPackage { * @generated * @ordered */ - int ADDRESS__CITY = ROOT_FEATURE_COUNT + 3; + int ADDRESS__CITY = 3; /** * The feature id for the 'Id2' attribute. @@ -710,7 +682,7 @@ public interface TaxationPackage extends EPackage { * @generated * @ordered */ - int ADDRESS__ID2 = ROOT_FEATURE_COUNT + 4; + int ADDRESS__ID2 = 4; /** * The feature id for the 'Tax Payer' reference list. @@ -719,7 +691,7 @@ public interface TaxationPackage extends EPackage { * @generated * @ordered */ - int ADDRESS__TAX_PAYER = ROOT_FEATURE_COUNT + 5; + int ADDRESS__TAX_PAYER = 5; /** * The number of structural features of the 'Address' class. @@ -728,7 +700,7 @@ public interface TaxationPackage extends EPackage { * @generated * @ordered */ - int ADDRESS_FEATURE_COUNT = ROOT_FEATURE_COUNT + 6; + int ADDRESS_FEATURE_COUNT = 6; /** * The number of operations of the 'Address' class. @@ -737,7 +709,7 @@ public interface TaxationPackage extends EPackage { * @generated * @ordered */ - int ADDRESS_OPERATION_COUNT = ROOT_OPERATION_COUNT + 0; + int ADDRESS_OPERATION_COUNT = 0; /** * The meta object id for the '{@link TaxationWithRoot.impl.ExpenseImpl Expense}' class. @@ -1101,7 +1073,7 @@ public interface TaxationPackage extends EPackage { * @generated * @ordered */ - int TAX_CASE_FEATURE_COUNT = ROOT_FEATURE_COUNT + 0; + int TAX_CASE_FEATURE_COUNT = 0; /** * The number of operations of the 'Tax Case' class. @@ -1110,7 +1082,7 @@ public interface TaxationPackage extends EPackage { * @generated * @ordered */ - int TAX_CASE_OPERATION_COUNT = ROOT_OPERATION_COUNT + 0; + int TAX_CASE_OPERATION_COUNT = 0; /** * The meta object id for the '{@link TaxationWithRoot.impl.HouseholdImpl Household}' class. @@ -1901,7 +1873,7 @@ public interface TaxationPackage extends EPackage { * @generated * @ordered */ - int INCOME_TAX_CREDIT__GRANTED_BY = ROOT_FEATURE_COUNT + 0; + int INCOME_TAX_CREDIT__GRANTED_BY = 0; /** * The feature id for the 'Tax Payer' reference. @@ -1910,7 +1882,7 @@ public interface TaxationPackage extends EPackage { * @generated * @ordered */ - int INCOME_TAX_CREDIT__TAX_PAYER = ROOT_FEATURE_COUNT + 1; + int INCOME_TAX_CREDIT__TAX_PAYER = 1; /** * The feature id for the 'Tax year' attribute. @@ -1919,7 +1891,7 @@ public interface TaxationPackage extends EPackage { * @generated * @ordered */ - int INCOME_TAX_CREDIT__TAX_YEAR = ROOT_FEATURE_COUNT + 2; + int INCOME_TAX_CREDIT__TAX_YEAR = 2; /** * The feature id for the 'Yearly' attribute. @@ -1928,7 +1900,7 @@ public interface TaxationPackage extends EPackage { * @generated * @ordered */ - int INCOME_TAX_CREDIT__YEARLY = ROOT_FEATURE_COUNT + 3; + int INCOME_TAX_CREDIT__YEARLY = 3; /** * The feature id for the 'Monthly' attribute. @@ -1937,7 +1909,7 @@ public interface TaxationPackage extends EPackage { * @generated * @ordered */ - int INCOME_TAX_CREDIT__MONTHLY = ROOT_FEATURE_COUNT + 4; + int INCOME_TAX_CREDIT__MONTHLY = 4; /** * The feature id for the 'Daily' attribute. @@ -1946,7 +1918,7 @@ public interface TaxationPackage extends EPackage { * @generated * @ordered */ - int INCOME_TAX_CREDIT__DAILY = ROOT_FEATURE_COUNT + 5; + int INCOME_TAX_CREDIT__DAILY = 5; /** * The feature id for the 'Id7' attribute. @@ -1955,7 +1927,7 @@ public interface TaxationPackage extends EPackage { * @generated * @ordered */ - int INCOME_TAX_CREDIT__ID7 = ROOT_FEATURE_COUNT + 6; + int INCOME_TAX_CREDIT__ID7 = 6; /** * The feature id for the 'Taxation Frame' reference. @@ -1964,7 +1936,7 @@ public interface TaxationPackage extends EPackage { * @generated * @ordered */ - int INCOME_TAX_CREDIT__TAXATION_FRAME = ROOT_FEATURE_COUNT + 7; + int INCOME_TAX_CREDIT__TAXATION_FRAME = 7; /** * The number of structural features of the 'Income Tax Credit' class. @@ -1973,7 +1945,7 @@ public interface TaxationPackage extends EPackage { * @generated * @ordered */ - int INCOME_TAX_CREDIT_FEATURE_COUNT = ROOT_FEATURE_COUNT + 8; + int INCOME_TAX_CREDIT_FEATURE_COUNT = 8; /** * The number of operations of the 'Income Tax Credit' class. @@ -1982,7 +1954,7 @@ public interface TaxationPackage extends EPackage { * @generated * @ordered */ - int INCOME_TAX_CREDIT_OPERATION_COUNT = ROOT_OPERATION_COUNT + 0; + int INCOME_TAX_CREDIT_OPERATION_COUNT = 0; /** * The meta object id for the '{@link TaxationWithRoot.impl.Income_DetailImpl Income Detail}' class. @@ -3397,646 +3369,204 @@ public interface TaxationPackage extends EPackage { int CIM_OPERATION_COUNT = INCOME_TAX_CREDIT_OPERATION_COUNT + 0; /** - * The meta object id for the '{@link TaxationWithRoot.impl.CIPImpl CIP}' class. - * - * - * @see TaxationWithRoot.impl.CIPImpl - * @see TaxationWithRoot.impl.TaxationPackageImpl#getCIP() - * @generated - */ - int CIP = 34; - - /** - * The feature id for the 'Granted By' attribute. - * - * - * @generated - * @ordered - */ - int CIP__GRANTED_BY = INCOME_TAX_CREDIT__GRANTED_BY; - - /** - * The feature id for the 'Tax Payer' reference. - * - * - * @generated - * @ordered - */ - int CIP__TAX_PAYER = INCOME_TAX_CREDIT__TAX_PAYER; - - /** - * The feature id for the 'Tax year' attribute. - * - * - * @generated - * @ordered - */ - int CIP__TAX_YEAR = INCOME_TAX_CREDIT__TAX_YEAR; - - /** - * The feature id for the 'Yearly' attribute. - * - * - * @generated - * @ordered - */ - int CIP__YEARLY = INCOME_TAX_CREDIT__YEARLY; - - /** - * The feature id for the 'Monthly' attribute. - * - * - * @generated - * @ordered - */ - int CIP__MONTHLY = INCOME_TAX_CREDIT__MONTHLY; - - /** - * The feature id for the 'Daily' attribute. - * - * - * @generated - * @ordered - */ - int CIP__DAILY = INCOME_TAX_CREDIT__DAILY; - - /** - * The feature id for the 'Id7' attribute. - * - * - * @generated - * @ordered - */ - int CIP__ID7 = INCOME_TAX_CREDIT__ID7; - - /** - * The feature id for the 'Taxation Frame' reference. - * - * - * @generated - * @ordered - */ - int CIP__TAXATION_FRAME = INCOME_TAX_CREDIT__TAXATION_FRAME; - - /** - * The number of structural features of the 'CIP' class. - * - * - * @generated - * @ordered - */ - int CIP_FEATURE_COUNT = INCOME_TAX_CREDIT_FEATURE_COUNT + 0; - - /** - * The number of operations of the 'CIP' class. - * - * - * @generated - * @ordered - */ - int CIP_OPERATION_COUNT = INCOME_TAX_CREDIT_OPERATION_COUNT + 0; - - /** - * The meta object id for the '{@link TaxationWithRoot.impl.CISImpl CIS}' class. - * - * - * @see TaxationWithRoot.impl.CISImpl - * @see TaxationWithRoot.impl.TaxationPackageImpl#getCIS() - * @generated - */ - int CIS = 35; - - /** - * The feature id for the 'Granted By' attribute. - * - * - * @generated - * @ordered - */ - int CIS__GRANTED_BY = INCOME_TAX_CREDIT__GRANTED_BY; - - /** - * The feature id for the 'Tax Payer' reference. - * - * - * @generated - * @ordered - */ - int CIS__TAX_PAYER = INCOME_TAX_CREDIT__TAX_PAYER; - - /** - * The feature id for the 'Tax year' attribute. - * - * - * @generated - * @ordered - */ - int CIS__TAX_YEAR = INCOME_TAX_CREDIT__TAX_YEAR; - - /** - * The feature id for the 'Yearly' attribute. - * - * - * @generated - * @ordered - */ - int CIS__YEARLY = INCOME_TAX_CREDIT__YEARLY; - - /** - * The feature id for the 'Monthly' attribute. - * - * - * @generated - * @ordered - */ - int CIS__MONTHLY = INCOME_TAX_CREDIT__MONTHLY; - - /** - * The feature id for the 'Daily' attribute. - * - * - * @generated - * @ordered - */ - int CIS__DAILY = INCOME_TAX_CREDIT__DAILY; - - /** - * The feature id for the 'Id7' attribute. - * - * - * @generated - * @ordered - */ - int CIS__ID7 = INCOME_TAX_CREDIT__ID7; - - /** - * The feature id for the 'Taxation Frame' reference. - * - * - * @generated - * @ordered - */ - int CIS__TAXATION_FRAME = INCOME_TAX_CREDIT__TAXATION_FRAME; - - /** - * The number of structural features of the 'CIS' class. - * - * - * @generated - * @ordered - */ - int CIS_FEATURE_COUNT = INCOME_TAX_CREDIT_FEATURE_COUNT + 0; - - /** - * The number of operations of the 'CIS' class. - * - * - * @generated - * @ordered - */ - int CIS_OPERATION_COUNT = INCOME_TAX_CREDIT_OPERATION_COUNT + 0; - - /** - * The meta object id for the '{@link TaxationWithRoot.impl.Professional_Expenses_DeductionImpl Professional Expenses Deduction}' class. - * - * - * @see TaxationWithRoot.impl.Professional_Expenses_DeductionImpl - * @see TaxationWithRoot.impl.TaxationPackageImpl#getProfessional_Expenses_Deduction() - * @generated - */ - int PROFESSIONAL_EXPENSES_DEDUCTION = 37; - - /** - * The number of structural features of the 'Professional Expenses Deduction' class. - * - * - * @generated - * @ordered - */ - int PROFESSIONAL_EXPENSES_DEDUCTION_FEATURE_COUNT = ROOT_FEATURE_COUNT + 0; - - /** - * The number of operations of the 'Professional Expenses Deduction' class. - * - * - * @generated - * @ordered - */ - int PROFESSIONAL_EXPENSES_DEDUCTION_OPERATION_COUNT = ROOT_OPERATION_COUNT + 0; - - /** - * The meta object id for the '{@link TaxationWithRoot.impl.FDImpl FD}' class. - * - * - * @see TaxationWithRoot.impl.FDImpl - * @see TaxationWithRoot.impl.TaxationPackageImpl#getFD() - * @generated - */ - int FD = 36; - - /** - * The feature id for the 'Distance declared in january' attribute. - * - * - * @generated - * @ordered - */ - int FD__DISTANCE_DECLARED_IN_JANUARY = PROFESSIONAL_EXPENSES_DEDUCTION_FEATURE_COUNT + 0; - - /** - * The number of structural features of the 'FD' class. - * - * - * @generated - * @ordered - */ - int FD_FEATURE_COUNT = PROFESSIONAL_EXPENSES_DEDUCTION_FEATURE_COUNT + 1; - - /** - * The number of operations of the 'FD' class. - * - * - * @generated - * @ordered - */ - int FD_OPERATION_COUNT = PROFESSIONAL_EXPENSES_DEDUCTION_OPERATION_COUNT + 0; - - /** - * The meta object id for the '{@link TaxationWithRoot.impl.FOImpl FO}' class. - * - * - * @see TaxationWithRoot.impl.FOImpl - * @see TaxationWithRoot.impl.TaxationPackageImpl#getFO() - * @generated - */ - int FO = 38; - - /** - * The number of structural features of the 'FO' class. - * - * - * @generated - * @ordered - */ - int FO_FEATURE_COUNT = PROFESSIONAL_EXPENSES_DEDUCTION_FEATURE_COUNT + 0; - - /** - * The number of operations of the 'FO' class. - * - * - * @generated - * @ordered - */ - int FO_OPERATION_COUNT = PROFESSIONAL_EXPENSES_DEDUCTION_OPERATION_COUNT + 0; - - /** - * The meta object id for the '{@link TaxationWithRoot.impl.DSImpl DS}' class. - * - * - * @see TaxationWithRoot.impl.DSImpl - * @see TaxationWithRoot.impl.TaxationPackageImpl#getDS() - * @generated - */ - int DS = 40; - - /** - * The feature id for the 'Maximum deductible amount' attribute. - * - * - * @generated - * @ordered - */ - int DS__MAXIMUM_DEDUCTIBLE_AMOUNT = ROOT_FEATURE_COUNT + 0; - - /** - * The feature id for the 'Id3' attribute. - * - * - * @generated - * @ordered - */ - int DS__ID3 = ROOT_FEATURE_COUNT + 1; - - /** - * The number of structural features of the 'DS' class. - * - * - * @generated - * @ordered - */ - int DS_FEATURE_COUNT = ROOT_FEATURE_COUNT + 2; - - /** - * The number of operations of the 'DS' class. - * - * - * @generated - * @ordered - */ - int DS_OPERATION_COUNT = ROOT_OPERATION_COUNT + 0; - - /** - * The meta object id for the '{@link TaxationWithRoot.impl.DS_for_Permanent_ExpenseImpl DS for Permanent Expense}' class. - * - * - * @see TaxationWithRoot.impl.DS_for_Permanent_ExpenseImpl - * @see TaxationWithRoot.impl.TaxationPackageImpl#getDS_for_Permanent_Expense() - * @generated - */ - int DS_FOR_PERMANENT_EXPENSE = 39; - - /** - * The feature id for the 'Maximum deductible amount' attribute. - * - * - * @generated - * @ordered - */ - int DS_FOR_PERMANENT_EXPENSE__MAXIMUM_DEDUCTIBLE_AMOUNT = DS__MAXIMUM_DEDUCTIBLE_AMOUNT; - - /** - * The feature id for the 'Id3' attribute. - * - * - * @generated - * @ordered - */ - int DS_FOR_PERMANENT_EXPENSE__ID3 = DS__ID3; - - /** - * The feature id for the 'Permanent expense category' attribute. - * - * - * @generated - * @ordered - */ - int DS_FOR_PERMANENT_EXPENSE__PERMANENT_EXPENSE_CATEGORY = DS_FEATURE_COUNT + 0; - - /** - * The number of structural features of the 'DS for Permanent Expense' class. - * - * - * @generated - * @ordered - */ - int DS_FOR_PERMANENT_EXPENSE_FEATURE_COUNT = DS_FEATURE_COUNT + 1; - - /** - * The number of operations of the 'DS for Permanent Expense' class. - * - * - * @generated - * @ordered - */ - int DS_FOR_PERMANENT_EXPENSE_OPERATION_COUNT = DS_OPERATION_COUNT + 0; - - /** - * The meta object id for the '{@link TaxationWithRoot.impl.DS_for_Interest_ExpenseImpl DS for Interest Expense}' class. - * - * - * @see TaxationWithRoot.impl.DS_for_Interest_ExpenseImpl - * @see TaxationWithRoot.impl.TaxationPackageImpl#getDS_for_Interest_Expense() - * @generated - */ - int DS_FOR_INTEREST_EXPENSE = 41; - - /** - * The feature id for the 'Maximum deductible amount' attribute. - * - * - * @generated - * @ordered - */ - int DS_FOR_INTEREST_EXPENSE__MAXIMUM_DEDUCTIBLE_AMOUNT = DS__MAXIMUM_DEDUCTIBLE_AMOUNT; - - /** - * The feature id for the 'Id3' attribute. - * - * - * @generated - * @ordered - */ - int DS_FOR_INTEREST_EXPENSE__ID3 = DS__ID3; - - /** - * The number of structural features of the 'DS for Interest Expense' class. - * - * - * @generated - * @ordered - */ - int DS_FOR_INTEREST_EXPENSE_FEATURE_COUNT = DS_FEATURE_COUNT + 0; - - /** - * The number of operations of the 'DS for Interest Expense' class. - * - * - * @generated - * @ordered - */ - int DS_FOR_INTEREST_EXPENSE_OPERATION_COUNT = DS_OPERATION_COUNT + 0; - - /** - * The meta object id for the '{@link TaxationWithRoot.impl.DS_for_Health_and_Pension_InsuranceImpl DS for Health and Pension Insurance}' class. + * The meta object id for the '{@link TaxationWithRoot.impl.CIPImpl CIP}' class. * * - * @see TaxationWithRoot.impl.DS_for_Health_and_Pension_InsuranceImpl - * @see TaxationWithRoot.impl.TaxationPackageImpl#getDS_for_Health_and_Pension_Insurance() + * @see TaxationWithRoot.impl.CIPImpl + * @see TaxationWithRoot.impl.TaxationPackageImpl#getCIP() * @generated */ - int DS_FOR_HEALTH_AND_PENSION_INSURANCE = 42; + int CIP = 34; /** - * The feature id for the 'Maximum deductible amount' attribute. + * The feature id for the 'Granted By' attribute. * * * @generated * @ordered */ - int DS_FOR_HEALTH_AND_PENSION_INSURANCE__MAXIMUM_DEDUCTIBLE_AMOUNT = DS__MAXIMUM_DEDUCTIBLE_AMOUNT; + int CIP__GRANTED_BY = INCOME_TAX_CREDIT__GRANTED_BY; /** - * The feature id for the 'Id3' attribute. + * The feature id for the 'Tax Payer' reference. * * * @generated * @ordered */ - int DS_FOR_HEALTH_AND_PENSION_INSURANCE__ID3 = DS__ID3; + int CIP__TAX_PAYER = INCOME_TAX_CREDIT__TAX_PAYER; /** - * The feature id for the 'Insurance category' attribute. + * The feature id for the 'Tax year' attribute. * * * @generated * @ordered */ - int DS_FOR_HEALTH_AND_PENSION_INSURANCE__INSURANCE_CATEGORY = DS_FEATURE_COUNT + 0; + int CIP__TAX_YEAR = INCOME_TAX_CREDIT__TAX_YEAR; /** - * The number of structural features of the 'DS for Health and Pension Insurance' class. + * The feature id for the 'Yearly' attribute. * * * @generated * @ordered */ - int DS_FOR_HEALTH_AND_PENSION_INSURANCE_FEATURE_COUNT = DS_FEATURE_COUNT + 1; + int CIP__YEARLY = INCOME_TAX_CREDIT__YEARLY; /** - * The number of operations of the 'DS for Health and Pension Insurance' class. + * The feature id for the 'Monthly' attribute. * * * @generated * @ordered */ - int DS_FOR_HEALTH_AND_PENSION_INSURANCE_OPERATION_COUNT = DS_OPERATION_COUNT + 0; + int CIP__MONTHLY = INCOME_TAX_CREDIT__MONTHLY; /** - * The meta object id for the '{@link TaxationWithRoot.impl.DS_for_Private_Insurance_and_PlanImpl DS for Private Insurance and Plan}' class. + * The feature id for the 'Daily' attribute. * * - * @see TaxationWithRoot.impl.DS_for_Private_Insurance_and_PlanImpl - * @see TaxationWithRoot.impl.TaxationPackageImpl#getDS_for_Private_Insurance_and_Plan() * @generated + * @ordered */ - int DS_FOR_PRIVATE_INSURANCE_AND_PLAN = 43; + int CIP__DAILY = INCOME_TAX_CREDIT__DAILY; /** - * The feature id for the 'Maximum deductible amount' attribute. + * The feature id for the 'Id7' attribute. * * * @generated * @ordered */ - int DS_FOR_PRIVATE_INSURANCE_AND_PLAN__MAXIMUM_DEDUCTIBLE_AMOUNT = DS__MAXIMUM_DEDUCTIBLE_AMOUNT; + int CIP__ID7 = INCOME_TAX_CREDIT__ID7; /** - * The feature id for the 'Id3' attribute. + * The feature id for the 'Taxation Frame' reference. * * * @generated * @ordered */ - int DS_FOR_PRIVATE_INSURANCE_AND_PLAN__ID3 = DS__ID3; + int CIP__TAXATION_FRAME = INCOME_TAX_CREDIT__TAXATION_FRAME; /** - * The feature id for the 'Private insurance and plan category' attribute. + * The number of structural features of the 'CIP' class. * * * @generated * @ordered */ - int DS_FOR_PRIVATE_INSURANCE_AND_PLAN__PRIVATE_INSURANCE_AND_PLAN_CATEGORY = DS_FEATURE_COUNT + 0; + int CIP_FEATURE_COUNT = INCOME_TAX_CREDIT_FEATURE_COUNT + 0; /** - * The number of structural features of the 'DS for Private Insurance and Plan' class. + * The number of operations of the 'CIP' class. * * * @generated * @ordered */ - int DS_FOR_PRIVATE_INSURANCE_AND_PLAN_FEATURE_COUNT = DS_FEATURE_COUNT + 1; + int CIP_OPERATION_COUNT = INCOME_TAX_CREDIT_OPERATION_COUNT + 0; /** - * The number of operations of the 'DS for Private Insurance and Plan' class. + * The meta object id for the '{@link TaxationWithRoot.impl.CISImpl CIS}' class. * * + * @see TaxationWithRoot.impl.CISImpl + * @see TaxationWithRoot.impl.TaxationPackageImpl#getCIS() * @generated - * @ordered */ - int DS_FOR_PRIVATE_INSURANCE_AND_PLAN_OPERATION_COUNT = DS_OPERATION_COUNT + 0; + int CIS = 35; /** - * The meta object id for the '{@link TaxationWithRoot.impl.DS_for_Loss_CarryforwardImpl DS for Loss Carryforward}' class. + * The feature id for the 'Granted By' attribute. * * - * @see TaxationWithRoot.impl.DS_for_Loss_CarryforwardImpl - * @see TaxationWithRoot.impl.TaxationPackageImpl#getDS_for_Loss_Carryforward() * @generated + * @ordered */ - int DS_FOR_LOSS_CARRYFORWARD = 44; + int CIS__GRANTED_BY = INCOME_TAX_CREDIT__GRANTED_BY; /** - * The feature id for the 'Maximum deductible amount' attribute. + * The feature id for the 'Tax Payer' reference. * * * @generated * @ordered */ - int DS_FOR_LOSS_CARRYFORWARD__MAXIMUM_DEDUCTIBLE_AMOUNT = DS__MAXIMUM_DEDUCTIBLE_AMOUNT; + int CIS__TAX_PAYER = INCOME_TAX_CREDIT__TAX_PAYER; /** - * The feature id for the 'Id3' attribute. + * The feature id for the 'Tax year' attribute. * * * @generated * @ordered */ - int DS_FOR_LOSS_CARRYFORWARD__ID3 = DS__ID3; + int CIS__TAX_YEAR = INCOME_TAX_CREDIT__TAX_YEAR; /** - * The number of structural features of the 'DS for Loss Carryforward' class. + * The feature id for the 'Yearly' attribute. * * * @generated * @ordered */ - int DS_FOR_LOSS_CARRYFORWARD_FEATURE_COUNT = DS_FEATURE_COUNT + 0; + int CIS__YEARLY = INCOME_TAX_CREDIT__YEARLY; /** - * The number of operations of the 'DS for Loss Carryforward' class. + * The feature id for the 'Monthly' attribute. * * * @generated * @ordered */ - int DS_FOR_LOSS_CARRYFORWARD_OPERATION_COUNT = DS_OPERATION_COUNT + 0; + int CIS__MONTHLY = INCOME_TAX_CREDIT__MONTHLY; /** - * The meta object id for the '{@link TaxationWithRoot.impl.DS_for_DonationImpl DS for Donation}' class. + * The feature id for the 'Daily' attribute. * * - * @see TaxationWithRoot.impl.DS_for_DonationImpl - * @see TaxationWithRoot.impl.TaxationPackageImpl#getDS_for_Donation() * @generated + * @ordered */ - int DS_FOR_DONATION = 45; + int CIS__DAILY = INCOME_TAX_CREDIT__DAILY; /** - * The feature id for the 'Maximum deductible amount' attribute. + * The feature id for the 'Id7' attribute. * * * @generated * @ordered */ - int DS_FOR_DONATION__MAXIMUM_DEDUCTIBLE_AMOUNT = DS__MAXIMUM_DEDUCTIBLE_AMOUNT; + int CIS__ID7 = INCOME_TAX_CREDIT__ID7; /** - * The feature id for the 'Id3' attribute. + * The feature id for the 'Taxation Frame' reference. * * * @generated * @ordered */ - int DS_FOR_DONATION__ID3 = DS__ID3; + int CIS__TAXATION_FRAME = INCOME_TAX_CREDIT__TAXATION_FRAME; /** - * The number of structural features of the 'DS for Donation' class. + * The number of structural features of the 'CIS' class. * * * @generated * @ordered */ - int DS_FOR_DONATION_FEATURE_COUNT = DS_FEATURE_COUNT + 0; + int CIS_FEATURE_COUNT = INCOME_TAX_CREDIT_FEATURE_COUNT + 0; /** - * The number of operations of the 'DS for Donation' class. + * The number of operations of the 'CIS' class. * * * @generated * @ordered */ - int DS_FOR_DONATION_OPERATION_COUNT = DS_OPERATION_COUNT + 0; + int CIS_OPERATION_COUNT = INCOME_TAX_CREDIT_OPERATION_COUNT + 0; /** * The meta object id for the '{@link TaxationWithRoot.impl.Special_Expense_DSImpl Special Expense DS}' class. @@ -4046,7 +3576,7 @@ public interface TaxationPackage extends EPackage { * @see TaxationWithRoot.impl.TaxationPackageImpl#getSpecial_Expense_DS() * @generated */ - int SPECIAL_EXPENSE_DS = 47; + int SPECIAL_EXPENSE_DS = 37; /** * The feature id for the 'Declared amount' attribute. @@ -4137,7 +3667,7 @@ public interface TaxationPackage extends EPackage { * @see TaxationWithRoot.impl.TaxationPackageImpl#getPermanent_Expense() * @generated */ - int PERMANENT_EXPENSE = 46; + int PERMANENT_EXPENSE = 36; /** * The feature id for the 'Declared amount' attribute. @@ -4237,7 +3767,7 @@ public interface TaxationPackage extends EPackage { * @see TaxationWithRoot.impl.TaxationPackageImpl#getInterest_Expense() * @generated */ - int INTEREST_EXPENSE = 48; + int INTEREST_EXPENSE = 38; /** * The feature id for the 'Declared amount' attribute. @@ -4328,7 +3858,7 @@ public interface TaxationPackage extends EPackage { * @see TaxationWithRoot.impl.TaxationPackageImpl#getPrivate_Insurance_and_Plan() * @generated */ - int PRIVATE_INSURANCE_AND_PLAN = 49; + int PRIVATE_INSURANCE_AND_PLAN = 39; /** * The feature id for the 'Declared amount' attribute. @@ -4437,7 +3967,7 @@ public interface TaxationPackage extends EPackage { * @see TaxationWithRoot.impl.TaxationPackageImpl#getHealth_and_Pension_Insurance() * @generated */ - int HEALTH_AND_PENSION_INSURANCE = 50; + int HEALTH_AND_PENSION_INSURANCE = 40; /** * The feature id for the 'Declared amount' attribute. @@ -4546,7 +4076,7 @@ public interface TaxationPackage extends EPackage { * @see TaxationWithRoot.impl.TaxationPackageImpl#getDonation() * @generated */ - int DONATION = 51; + int DONATION = 41; /** * The feature id for the 'Declared amount' attribute. @@ -4655,7 +4185,7 @@ public interface TaxationPackage extends EPackage { * @see TaxationWithRoot.impl.TaxationPackageImpl#getLoss_Carryforward() * @generated */ - int LOSS_CARRYFORWARD = 52; + int LOSS_CARRYFORWARD = 42; /** * The feature id for the 'Declared amount' attribute. @@ -4746,7 +4276,7 @@ public interface TaxationPackage extends EPackage { * @see TaxationWithRoot.impl.TaxationPackageImpl#getSpousal_Expense_AC() * @generated */ - int SPOUSAL_EXPENSE_AC = 53; + int SPOUSAL_EXPENSE_AC = 43; /** * The feature id for the 'Declared amount' attribute. @@ -4837,7 +4367,7 @@ public interface TaxationPackage extends EPackage { * @see TaxationWithRoot.impl.TaxationPackageImpl#getExtraordinary_Expense_CE() * @generated */ - int EXTRAORDINARY_EXPENSE_CE = 54; + int EXTRAORDINARY_EXPENSE_CE = 44; /** * The feature id for the 'Declared amount' attribute. @@ -4946,7 +4476,7 @@ public interface TaxationPackage extends EPackage { * @see TaxationWithRoot.impl.TaxationPackageImpl#getProfessional_Expense() * @generated */ - int PROFESSIONAL_EXPENSE = 56; + int PROFESSIONAL_EXPENSE = 46; /** * The feature id for the 'Declared amount' attribute. @@ -5037,7 +4567,7 @@ public interface TaxationPackage extends EPackage { * @see TaxationWithRoot.impl.TaxationPackageImpl#getTravel_Expense_FD() * @generated */ - int TRAVEL_EXPENSE_FD = 55; + int TRAVEL_EXPENSE_FD = 45; /** * The feature id for the 'Declared amount' attribute. @@ -5128,7 +4658,7 @@ public interface TaxationPackage extends EPackage { * @see TaxationWithRoot.impl.TaxationPackageImpl#getMiscellaneous_Expense_FO() * @generated */ - int MISCELLANEOUS_EXPENSE_FO = 57; + int MISCELLANEOUS_EXPENSE_FO = 47; /** * The feature id for the 'Declared amount' attribute. @@ -5219,7 +4749,7 @@ public interface TaxationPackage extends EPackage { * @see TaxationWithRoot.impl.TaxationPackageImpl#getResource() * @generated */ - int RESOURCE = 58; + int RESOURCE = 48; /** * The feature id for the 'Contains' containment reference list. @@ -5256,7 +4786,7 @@ public interface TaxationPackage extends EPackage { * @see TaxationWithRoot.impl.TaxationPackageImpl#getGrantor() * @generated */ - int GRANTOR = 60; + int GRANTOR = 49; /** * The meta object id for the '{@link TaxationWithRoot.Disability_Types Disability Types}' enum. @@ -5266,7 +4796,7 @@ public interface TaxationPackage extends EPackage { * @see TaxationWithRoot.impl.TaxationPackageImpl#getDisability_Types() * @generated */ - int DISABILITY_TYPES = 61; + int DISABILITY_TYPES = 50; /** * The meta object id for the '{@link TaxationWithRoot.Country Country}' enum. @@ -5276,7 +4806,7 @@ public interface TaxationPackage extends EPackage { * @see TaxationWithRoot.impl.TaxationPackageImpl#getCountry() * @generated */ - int COUNTRY = 62; + int COUNTRY = 51; /** * The meta object id for the '{@link TaxationWithRoot.Tax_Office Tax Office}' enum. @@ -5286,7 +4816,7 @@ public interface TaxationPackage extends EPackage { * @see TaxationWithRoot.impl.TaxationPackageImpl#getTax_Office() * @generated */ - int TAX_OFFICE = 63; + int TAX_OFFICE = 52; /** * The meta object id for the '{@link TaxationWithRoot.Tax_Class_Category Tax Class Category}' enum. @@ -5296,7 +4826,7 @@ public interface TaxationPackage extends EPackage { * @see TaxationWithRoot.impl.TaxationPackageImpl#getTax_Class_Category() * @generated */ - int TAX_CLASS_CATEGORY = 64; + int TAX_CLASS_CATEGORY = 53; /** * The meta object id for the '{@link TaxationWithRoot.Job_Activity Job Activity}' enum. @@ -5306,7 +4836,7 @@ public interface TaxationPackage extends EPackage { * @see TaxationWithRoot.impl.TaxationPackageImpl#getJob_Activity() * @generated */ - int JOB_ACTIVITY = 65; + int JOB_ACTIVITY = 54; /** * The meta object id for the '{@link TaxationWithRoot.Town Town}' enum. @@ -5316,7 +4846,7 @@ public interface TaxationPackage extends EPackage { * @see TaxationWithRoot.impl.TaxationPackageImpl#getTown() * @generated */ - int TOWN = 66; + int TOWN = 55; /** * The meta object id for the '{@link TaxationWithRoot.CE_Type CE Type}' enum. @@ -5326,7 +4856,7 @@ public interface TaxationPackage extends EPackage { * @see TaxationWithRoot.impl.TaxationPackageImpl#getCE_Type() * @generated */ - int CE_TYPE = 67; + int CE_TYPE = 56; /** * The meta object id for the '{@link TaxationWithRoot.Expense_Purpose Expense Purpose}' enum. @@ -5336,7 +4866,7 @@ public interface TaxationPackage extends EPackage { * @see TaxationWithRoot.impl.TaxationPackageImpl#getExpense_Purpose() * @generated */ - int EXPENSE_PURPOSE = 68; + int EXPENSE_PURPOSE = 57; /** * The meta object id for the '{@link TaxationWithRoot.Dependent_Type Dependent Type}' enum. @@ -5346,7 +4876,7 @@ public interface TaxationPackage extends EPackage { * @see TaxationWithRoot.impl.TaxationPackageImpl#getDependent_Type() * @generated */ - int DEPENDENT_TYPE = 69; + int DEPENDENT_TYPE = 58; /** * The meta object id for the '{@link TaxationWithRoot.Separation_Causes Separation Causes}' enum. @@ -5356,7 +4886,7 @@ public interface TaxationPackage extends EPackage { * @see TaxationWithRoot.impl.TaxationPackageImpl#getSeparation_Causes() * @generated */ - int SEPARATION_CAUSES = 70; + int SEPARATION_CAUSES = 59; /** * The meta object id for the '{@link TaxationWithRoot.Category_of_Permanent_Expense Category of Permanent Expense}' enum. @@ -5366,7 +4896,7 @@ public interface TaxationPackage extends EPackage { * @see TaxationWithRoot.impl.TaxationPackageImpl#getCategory_of_Permanent_Expense() * @generated */ - int CATEGORY_OF_PERMANENT_EXPENSE = 71; + int CATEGORY_OF_PERMANENT_EXPENSE = 60; /** * The meta object id for the '{@link TaxationWithRoot.Category_of_Health_and_Pension_Insurances Category of Health and Pension Insurances}' enum. @@ -5376,7 +4906,7 @@ public interface TaxationPackage extends EPackage { * @see TaxationWithRoot.impl.TaxationPackageImpl#getCategory_of_Health_and_Pension_Insurances() * @generated */ - int CATEGORY_OF_HEALTH_AND_PENSION_INSURANCES = 72; + int CATEGORY_OF_HEALTH_AND_PENSION_INSURANCES = 61; /** * The meta object id for the '{@link TaxationWithRoot.Category_of_Private_Insurance_and_Plan Category of Private Insurance and Plan}' enum. @@ -5386,7 +4916,7 @@ public interface TaxationPackage extends EPackage { * @see TaxationWithRoot.impl.TaxationPackageImpl#getCategory_of_Private_Insurance_and_Plan() * @generated */ - int CATEGORY_OF_PRIVATE_INSURANCE_AND_PLAN = 73; + int CATEGORY_OF_PRIVATE_INSURANCE_AND_PLAN = 62; /** * The meta object id for the '{@link TaxationWithRoot.Legal_Union_Types Legal Union Types}' enum. @@ -5396,7 +4926,7 @@ public interface TaxationPackage extends EPackage { * @see TaxationWithRoot.impl.TaxationPackageImpl#getLegal_Union_Types() * @generated */ - int LEGAL_UNION_TYPES = 74; + int LEGAL_UNION_TYPES = 63; /** @@ -7431,172 +6961,6 @@ public interface TaxationPackage extends EPackage { */ EClass getCIS(); - /** - * Returns the meta object for class '{@link TaxationWithRoot.FD FD}'. - * - * - * @return the meta object for class 'FD'. - * @see TaxationWithRoot.FD - * @generated - */ - EClass getFD(); - - /** - * Returns the meta object for the attribute '{@link TaxationWithRoot.FD#getDistance_declared_in_january Distance declared in january}'. - * - * - * @return the meta object for the attribute 'Distance declared in january'. - * @see TaxationWithRoot.FD#getDistance_declared_in_january() - * @see #getFD() - * @generated - */ - EAttribute getFD_Distance_declared_in_january(); - - /** - * Returns the meta object for class '{@link TaxationWithRoot.Professional_Expenses_Deduction Professional Expenses Deduction}'. - * - * - * @return the meta object for class 'Professional Expenses Deduction'. - * @see TaxationWithRoot.Professional_Expenses_Deduction - * @generated - */ - EClass getProfessional_Expenses_Deduction(); - - /** - * Returns the meta object for class '{@link TaxationWithRoot.FO FO}'. - * - * - * @return the meta object for class 'FO'. - * @see TaxationWithRoot.FO - * @generated - */ - EClass getFO(); - - /** - * Returns the meta object for class '{@link TaxationWithRoot.DS_for_Permanent_Expense DS for Permanent Expense}'. - * - * - * @return the meta object for class 'DS for Permanent Expense'. - * @see TaxationWithRoot.DS_for_Permanent_Expense - * @generated - */ - EClass getDS_for_Permanent_Expense(); - - /** - * Returns the meta object for the attribute '{@link TaxationWithRoot.DS_for_Permanent_Expense#getPermanent_expense_category Permanent expense category}'. - * - * - * @return the meta object for the attribute 'Permanent expense category'. - * @see TaxationWithRoot.DS_for_Permanent_Expense#getPermanent_expense_category() - * @see #getDS_for_Permanent_Expense() - * @generated - */ - EAttribute getDS_for_Permanent_Expense_Permanent_expense_category(); - - /** - * Returns the meta object for class '{@link TaxationWithRoot.DS DS}'. - * - * - * @return the meta object for class 'DS'. - * @see TaxationWithRoot.DS - * @generated - */ - EClass getDS(); - - /** - * Returns the meta object for the attribute '{@link TaxationWithRoot.DS#getMaximum_deductible_amount Maximum deductible amount}'. - * - * - * @return the meta object for the attribute 'Maximum deductible amount'. - * @see TaxationWithRoot.DS#getMaximum_deductible_amount() - * @see #getDS() - * @generated - */ - EAttribute getDS_Maximum_deductible_amount(); - - /** - * Returns the meta object for the attribute '{@link TaxationWithRoot.DS#getId3 Id3}'. - * - * - * @return the meta object for the attribute 'Id3'. - * @see TaxationWithRoot.DS#getId3() - * @see #getDS() - * @generated - */ - EAttribute getDS_Id3(); - - /** - * Returns the meta object for class '{@link TaxationWithRoot.DS_for_Interest_Expense DS for Interest Expense}'. - * - * - * @return the meta object for class 'DS for Interest Expense'. - * @see TaxationWithRoot.DS_for_Interest_Expense - * @generated - */ - EClass getDS_for_Interest_Expense(); - - /** - * Returns the meta object for class '{@link TaxationWithRoot.DS_for_Health_and_Pension_Insurance DS for Health and Pension Insurance}'. - * - * - * @return the meta object for class 'DS for Health and Pension Insurance'. - * @see TaxationWithRoot.DS_for_Health_and_Pension_Insurance - * @generated - */ - EClass getDS_for_Health_and_Pension_Insurance(); - - /** - * Returns the meta object for the attribute '{@link TaxationWithRoot.DS_for_Health_and_Pension_Insurance#getInsurance_category Insurance category}'. - * - * - * @return the meta object for the attribute 'Insurance category'. - * @see TaxationWithRoot.DS_for_Health_and_Pension_Insurance#getInsurance_category() - * @see #getDS_for_Health_and_Pension_Insurance() - * @generated - */ - EAttribute getDS_for_Health_and_Pension_Insurance_Insurance_category(); - - /** - * Returns the meta object for class '{@link TaxationWithRoot.DS_for_Private_Insurance_and_Plan DS for Private Insurance and Plan}'. - * - * - * @return the meta object for class 'DS for Private Insurance and Plan'. - * @see TaxationWithRoot.DS_for_Private_Insurance_and_Plan - * @generated - */ - EClass getDS_for_Private_Insurance_and_Plan(); - - /** - * Returns the meta object for the attribute '{@link TaxationWithRoot.DS_for_Private_Insurance_and_Plan#getPrivate_insurance_and_plan_category Private insurance and plan category}'. - * - * - * @return the meta object for the attribute 'Private insurance and plan category'. - * @see TaxationWithRoot.DS_for_Private_Insurance_and_Plan#getPrivate_insurance_and_plan_category() - * @see #getDS_for_Private_Insurance_and_Plan() - * @generated - */ - EAttribute getDS_for_Private_Insurance_and_Plan_Private_insurance_and_plan_category(); - - /** - * Returns the meta object for class '{@link TaxationWithRoot.DS_for_Loss_Carryforward DS for Loss Carryforward}'. - * - * - * @return the meta object for class 'DS for Loss Carryforward'. - * @see TaxationWithRoot.DS_for_Loss_Carryforward - * @generated - */ - EClass getDS_for_Loss_Carryforward(); - - /** - * Returns the meta object for class '{@link TaxationWithRoot.DS_for_Donation DS for Donation}'. - * - * - * @return the meta object for class 'DS for Donation'. - * @see TaxationWithRoot.DS_for_Donation - * @generated - */ - EClass getDS_for_Donation(); - /** * Returns the meta object for class '{@link TaxationWithRoot.Permanent_Expense Permanent Expense}'. * @@ -7837,16 +7201,6 @@ public interface TaxationPackage extends EPackage { */ EReference getResource_Contains(); - /** - * Returns the meta object for class '{@link TaxationWithRoot.Root Root}'. - * - * - * @return the meta object for class 'Root'. - * @see TaxationWithRoot.Root - * @generated - */ - EClass getRoot(); - /** * Returns the meta object for enum '{@link TaxationWithRoot.Grantor Grantor}'. * @@ -9596,154 +8950,6 @@ public interface TaxationPackage extends EPackage { */ EClass CIS = eINSTANCE.getCIS(); - /** - * The meta object literal for the '{@link TaxationWithRoot.impl.FDImpl FD}' class. - * - * - * @see TaxationWithRoot.impl.FDImpl - * @see TaxationWithRoot.impl.TaxationPackageImpl#getFD() - * @generated - */ - EClass FD = eINSTANCE.getFD(); - - /** - * The meta object literal for the 'Distance declared in january' attribute feature. - * - * - * @generated - */ - EAttribute FD__DISTANCE_DECLARED_IN_JANUARY = eINSTANCE.getFD_Distance_declared_in_january(); - - /** - * The meta object literal for the '{@link TaxationWithRoot.impl.Professional_Expenses_DeductionImpl Professional Expenses Deduction}' class. - * - * - * @see TaxationWithRoot.impl.Professional_Expenses_DeductionImpl - * @see TaxationWithRoot.impl.TaxationPackageImpl#getProfessional_Expenses_Deduction() - * @generated - */ - EClass PROFESSIONAL_EXPENSES_DEDUCTION = eINSTANCE.getProfessional_Expenses_Deduction(); - - /** - * The meta object literal for the '{@link TaxationWithRoot.impl.FOImpl FO}' class. - * - * - * @see TaxationWithRoot.impl.FOImpl - * @see TaxationWithRoot.impl.TaxationPackageImpl#getFO() - * @generated - */ - EClass FO = eINSTANCE.getFO(); - - /** - * The meta object literal for the '{@link TaxationWithRoot.impl.DS_for_Permanent_ExpenseImpl DS for Permanent Expense}' class. - * - * - * @see TaxationWithRoot.impl.DS_for_Permanent_ExpenseImpl - * @see TaxationWithRoot.impl.TaxationPackageImpl#getDS_for_Permanent_Expense() - * @generated - */ - EClass DS_FOR_PERMANENT_EXPENSE = eINSTANCE.getDS_for_Permanent_Expense(); - - /** - * The meta object literal for the 'Permanent expense category' attribute feature. - * - * - * @generated - */ - EAttribute DS_FOR_PERMANENT_EXPENSE__PERMANENT_EXPENSE_CATEGORY = eINSTANCE.getDS_for_Permanent_Expense_Permanent_expense_category(); - - /** - * The meta object literal for the '{@link TaxationWithRoot.impl.DSImpl DS}' class. - * - * - * @see TaxationWithRoot.impl.DSImpl - * @see TaxationWithRoot.impl.TaxationPackageImpl#getDS() - * @generated - */ - EClass DS = eINSTANCE.getDS(); - - /** - * The meta object literal for the 'Maximum deductible amount' attribute feature. - * - * - * @generated - */ - EAttribute DS__MAXIMUM_DEDUCTIBLE_AMOUNT = eINSTANCE.getDS_Maximum_deductible_amount(); - - /** - * The meta object literal for the 'Id3' attribute feature. - * - * - * @generated - */ - EAttribute DS__ID3 = eINSTANCE.getDS_Id3(); - - /** - * The meta object literal for the '{@link TaxationWithRoot.impl.DS_for_Interest_ExpenseImpl DS for Interest Expense}' class. - * - * - * @see TaxationWithRoot.impl.DS_for_Interest_ExpenseImpl - * @see TaxationWithRoot.impl.TaxationPackageImpl#getDS_for_Interest_Expense() - * @generated - */ - EClass DS_FOR_INTEREST_EXPENSE = eINSTANCE.getDS_for_Interest_Expense(); - - /** - * The meta object literal for the '{@link TaxationWithRoot.impl.DS_for_Health_and_Pension_InsuranceImpl DS for Health and Pension Insurance}' class. - * - * - * @see TaxationWithRoot.impl.DS_for_Health_and_Pension_InsuranceImpl - * @see TaxationWithRoot.impl.TaxationPackageImpl#getDS_for_Health_and_Pension_Insurance() - * @generated - */ - EClass DS_FOR_HEALTH_AND_PENSION_INSURANCE = eINSTANCE.getDS_for_Health_and_Pension_Insurance(); - - /** - * The meta object literal for the 'Insurance category' attribute feature. - * - * - * @generated - */ - EAttribute DS_FOR_HEALTH_AND_PENSION_INSURANCE__INSURANCE_CATEGORY = eINSTANCE.getDS_for_Health_and_Pension_Insurance_Insurance_category(); - - /** - * The meta object literal for the '{@link TaxationWithRoot.impl.DS_for_Private_Insurance_and_PlanImpl DS for Private Insurance and Plan}' class. - * - * - * @see TaxationWithRoot.impl.DS_for_Private_Insurance_and_PlanImpl - * @see TaxationWithRoot.impl.TaxationPackageImpl#getDS_for_Private_Insurance_and_Plan() - * @generated - */ - EClass DS_FOR_PRIVATE_INSURANCE_AND_PLAN = eINSTANCE.getDS_for_Private_Insurance_and_Plan(); - - /** - * The meta object literal for the 'Private insurance and plan category' attribute feature. - * - * - * @generated - */ - EAttribute DS_FOR_PRIVATE_INSURANCE_AND_PLAN__PRIVATE_INSURANCE_AND_PLAN_CATEGORY = eINSTANCE.getDS_for_Private_Insurance_and_Plan_Private_insurance_and_plan_category(); - - /** - * The meta object literal for the '{@link TaxationWithRoot.impl.DS_for_Loss_CarryforwardImpl DS for Loss Carryforward}' class. - * - * - * @see TaxationWithRoot.impl.DS_for_Loss_CarryforwardImpl - * @see TaxationWithRoot.impl.TaxationPackageImpl#getDS_for_Loss_Carryforward() - * @generated - */ - EClass DS_FOR_LOSS_CARRYFORWARD = eINSTANCE.getDS_for_Loss_Carryforward(); - - /** - * The meta object literal for the '{@link TaxationWithRoot.impl.DS_for_DonationImpl DS for Donation}' class. - * - * - * @see TaxationWithRoot.impl.DS_for_DonationImpl - * @see TaxationWithRoot.impl.TaxationPackageImpl#getDS_for_Donation() - * @generated - */ - EClass DS_FOR_DONATION = eINSTANCE.getDS_for_Donation(); - /** * The meta object literal for the '{@link TaxationWithRoot.impl.Permanent_ExpenseImpl Permanent Expense}' class. * @@ -9954,16 +9160,6 @@ public interface TaxationPackage extends EPackage { */ EReference RESOURCE__CONTAINS = eINSTANCE.getResource_Contains(); - /** - * The meta object literal for the '{@link TaxationWithRoot.impl.RootImpl Root}' class. - * - * - * @see TaxationWithRoot.impl.RootImpl - * @see TaxationWithRoot.impl.TaxationPackageImpl#getRoot() - * @generated - */ - EClass ROOT = eINSTANCE.getRoot(); - /** * The meta object literal for the '{@link TaxationWithRoot.Grantor Grantor}' enum. * diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/impl/AddressImpl.java b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/impl/AddressImpl.java index c6062848..fcd0a7fc 100644 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/impl/AddressImpl.java +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/impl/AddressImpl.java @@ -18,6 +18,8 @@ import org.eclipse.emf.ecore.EClass; import org.eclipse.emf.ecore.InternalEObject; import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + import org.eclipse.emf.ecore.util.EObjectWithInverseResolvingEList; import org.eclipse.emf.ecore.util.InternalEList; @@ -39,7 +41,7 @@ import org.eclipse.emf.ecore.util.InternalEList; * * @generated */ -public class AddressImpl extends RootImpl implements Address { +public class AddressImpl extends MinimalEObjectImpl.Container implements Address { /** * The default value of the '{@link #getCountry() Country}' attribute. * diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/impl/DSImpl.java b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/impl/DSImpl.java deleted file mode 100644 index dabc6b3c..00000000 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/impl/DSImpl.java +++ /dev/null @@ -1,220 +0,0 @@ -/** - */ -package TaxationWithRoot.impl; - -import TaxationWithRoot.DS; -import TaxationWithRoot.TaxationPackage; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EClass; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; - -/** - * - * An implementation of the model object 'DS'. - * - *

- * The following features are implemented: - *

- *
    - *
  • {@link TaxationWithRoot.impl.DSImpl#getMaximum_deductible_amount Maximum deductible amount}
  • - *
  • {@link TaxationWithRoot.impl.DSImpl#getId3 Id3}
  • - *
- * - * @generated - */ -public class DSImpl extends RootImpl implements DS { - /** - * The default value of the '{@link #getMaximum_deductible_amount() Maximum deductible amount}' attribute. - * - * - * @see #getMaximum_deductible_amount() - * @generated - * @ordered - */ - protected static final double MAXIMUM_DEDUCTIBLE_AMOUNT_EDEFAULT = 0.0; - - /** - * The cached value of the '{@link #getMaximum_deductible_amount() Maximum deductible amount}' attribute. - * - * - * @see #getMaximum_deductible_amount() - * @generated - * @ordered - */ - protected double maximum_deductible_amount = MAXIMUM_DEDUCTIBLE_AMOUNT_EDEFAULT; - - /** - * The default value of the '{@link #getId3() Id3}' attribute. - * - * - * @see #getId3() - * @generated - * @ordered - */ - protected static final String ID3_EDEFAULT = null; - - /** - * The cached value of the '{@link #getId3() Id3}' attribute. - * - * - * @see #getId3() - * @generated - * @ordered - */ - protected String id3 = ID3_EDEFAULT; - - /** - * - * - * @generated - */ - protected DSImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return TaxationPackage.Literals.DS; - } - - /** - * - * - * @generated - */ - @Override - public double getMaximum_deductible_amount() { - return maximum_deductible_amount; - } - - /** - * - * - * @generated - */ - @Override - public void setMaximum_deductible_amount(double newMaximum_deductible_amount) { - double oldMaximum_deductible_amount = maximum_deductible_amount; - maximum_deductible_amount = newMaximum_deductible_amount; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, TaxationPackage.DS__MAXIMUM_DEDUCTIBLE_AMOUNT, oldMaximum_deductible_amount, maximum_deductible_amount)); - } - - /** - * - * - * @generated - */ - @Override - public String getId3() { - return id3; - } - - /** - * - * - * @generated - */ - @Override - public void setId3(String newId3) { - String oldId3 = id3; - id3 = newId3; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, TaxationPackage.DS__ID3, oldId3, id3)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case TaxationPackage.DS__MAXIMUM_DEDUCTIBLE_AMOUNT: - return getMaximum_deductible_amount(); - case TaxationPackage.DS__ID3: - return getId3(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case TaxationPackage.DS__MAXIMUM_DEDUCTIBLE_AMOUNT: - setMaximum_deductible_amount((Double)newValue); - return; - case TaxationPackage.DS__ID3: - setId3((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case TaxationPackage.DS__MAXIMUM_DEDUCTIBLE_AMOUNT: - setMaximum_deductible_amount(MAXIMUM_DEDUCTIBLE_AMOUNT_EDEFAULT); - return; - case TaxationPackage.DS__ID3: - setId3(ID3_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case TaxationPackage.DS__MAXIMUM_DEDUCTIBLE_AMOUNT: - return maximum_deductible_amount != MAXIMUM_DEDUCTIBLE_AMOUNT_EDEFAULT; - case TaxationPackage.DS__ID3: - return ID3_EDEFAULT == null ? id3 != null : !ID3_EDEFAULT.equals(id3); - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuilder result = new StringBuilder(super.toString()); - result.append(" (maximum_deductible_amount: "); - result.append(maximum_deductible_amount); - result.append(", id3: "); - result.append(id3); - result.append(')'); - return result.toString(); - } - -} //DSImpl diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/impl/DS_for_DonationImpl.java b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/impl/DS_for_DonationImpl.java deleted file mode 100644 index 2340f538..00000000 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/impl/DS_for_DonationImpl.java +++ /dev/null @@ -1,37 +0,0 @@ -/** - */ -package TaxationWithRoot.impl; - -import TaxationWithRoot.DS_for_Donation; -import TaxationWithRoot.TaxationPackage; - -import org.eclipse.emf.ecore.EClass; - -/** - * - * An implementation of the model object 'DS for Donation'. - * - * - * @generated - */ -public class DS_for_DonationImpl extends DSImpl implements DS_for_Donation { - /** - * - * - * @generated - */ - protected DS_for_DonationImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return TaxationPackage.Literals.DS_FOR_DONATION; - } - -} //DS_for_DonationImpl diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/impl/DS_for_Health_and_Pension_InsuranceImpl.java b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/impl/DS_for_Health_and_Pension_InsuranceImpl.java deleted file mode 100644 index 98886913..00000000 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/impl/DS_for_Health_and_Pension_InsuranceImpl.java +++ /dev/null @@ -1,165 +0,0 @@ -/** - */ -package TaxationWithRoot.impl; - -import TaxationWithRoot.Category_of_Health_and_Pension_Insurances; -import TaxationWithRoot.DS_for_Health_and_Pension_Insurance; -import TaxationWithRoot.TaxationPackage; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EClass; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; - -/** - * - * An implementation of the model object 'DS for Health and Pension Insurance'. - * - *

- * The following features are implemented: - *

- *
    - *
  • {@link TaxationWithRoot.impl.DS_for_Health_and_Pension_InsuranceImpl#getInsurance_category Insurance category}
  • - *
- * - * @generated - */ -public class DS_for_Health_and_Pension_InsuranceImpl extends DSImpl implements DS_for_Health_and_Pension_Insurance { - /** - * The default value of the '{@link #getInsurance_category() Insurance category}' attribute. - * - * - * @see #getInsurance_category() - * @generated - * @ordered - */ - protected static final Category_of_Health_and_Pension_Insurances INSURANCE_CATEGORY_EDEFAULT = Category_of_Health_and_Pension_Insurances.MANDATORY_HEALTH_AND_PENSION_INSURANCE; - - /** - * The cached value of the '{@link #getInsurance_category() Insurance category}' attribute. - * - * - * @see #getInsurance_category() - * @generated - * @ordered - */ - protected Category_of_Health_and_Pension_Insurances insurance_category = INSURANCE_CATEGORY_EDEFAULT; - - /** - * - * - * @generated - */ - protected DS_for_Health_and_Pension_InsuranceImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return TaxationPackage.Literals.DS_FOR_HEALTH_AND_PENSION_INSURANCE; - } - - /** - * - * - * @generated - */ - @Override - public Category_of_Health_and_Pension_Insurances getInsurance_category() { - return insurance_category; - } - - /** - * - * - * @generated - */ - @Override - public void setInsurance_category(Category_of_Health_and_Pension_Insurances newInsurance_category) { - Category_of_Health_and_Pension_Insurances oldInsurance_category = insurance_category; - insurance_category = newInsurance_category == null ? INSURANCE_CATEGORY_EDEFAULT : newInsurance_category; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, TaxationPackage.DS_FOR_HEALTH_AND_PENSION_INSURANCE__INSURANCE_CATEGORY, oldInsurance_category, insurance_category)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case TaxationPackage.DS_FOR_HEALTH_AND_PENSION_INSURANCE__INSURANCE_CATEGORY: - return getInsurance_category(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case TaxationPackage.DS_FOR_HEALTH_AND_PENSION_INSURANCE__INSURANCE_CATEGORY: - setInsurance_category((Category_of_Health_and_Pension_Insurances)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case TaxationPackage.DS_FOR_HEALTH_AND_PENSION_INSURANCE__INSURANCE_CATEGORY: - setInsurance_category(INSURANCE_CATEGORY_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case TaxationPackage.DS_FOR_HEALTH_AND_PENSION_INSURANCE__INSURANCE_CATEGORY: - return insurance_category != INSURANCE_CATEGORY_EDEFAULT; - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuilder result = new StringBuilder(super.toString()); - result.append(" (insurance_category: "); - result.append(insurance_category); - result.append(')'); - return result.toString(); - } - -} //DS_for_Health_and_Pension_InsuranceImpl diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/impl/DS_for_Interest_ExpenseImpl.java b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/impl/DS_for_Interest_ExpenseImpl.java deleted file mode 100644 index c7472a4e..00000000 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/impl/DS_for_Interest_ExpenseImpl.java +++ /dev/null @@ -1,37 +0,0 @@ -/** - */ -package TaxationWithRoot.impl; - -import TaxationWithRoot.DS_for_Interest_Expense; -import TaxationWithRoot.TaxationPackage; - -import org.eclipse.emf.ecore.EClass; - -/** - * - * An implementation of the model object 'DS for Interest Expense'. - * - * - * @generated - */ -public class DS_for_Interest_ExpenseImpl extends DSImpl implements DS_for_Interest_Expense { - /** - * - * - * @generated - */ - protected DS_for_Interest_ExpenseImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return TaxationPackage.Literals.DS_FOR_INTEREST_EXPENSE; - } - -} //DS_for_Interest_ExpenseImpl diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/impl/DS_for_Loss_CarryforwardImpl.java b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/impl/DS_for_Loss_CarryforwardImpl.java deleted file mode 100644 index f08a6c28..00000000 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/impl/DS_for_Loss_CarryforwardImpl.java +++ /dev/null @@ -1,37 +0,0 @@ -/** - */ -package TaxationWithRoot.impl; - -import TaxationWithRoot.DS_for_Loss_Carryforward; -import TaxationWithRoot.TaxationPackage; - -import org.eclipse.emf.ecore.EClass; - -/** - * - * An implementation of the model object 'DS for Loss Carryforward'. - * - * - * @generated - */ -public class DS_for_Loss_CarryforwardImpl extends DSImpl implements DS_for_Loss_Carryforward { - /** - * - * - * @generated - */ - protected DS_for_Loss_CarryforwardImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return TaxationPackage.Literals.DS_FOR_LOSS_CARRYFORWARD; - } - -} //DS_for_Loss_CarryforwardImpl diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/impl/DS_for_Permanent_ExpenseImpl.java b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/impl/DS_for_Permanent_ExpenseImpl.java deleted file mode 100644 index 09859cfc..00000000 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/impl/DS_for_Permanent_ExpenseImpl.java +++ /dev/null @@ -1,165 +0,0 @@ -/** - */ -package TaxationWithRoot.impl; - -import TaxationWithRoot.Category_of_Permanent_Expense; -import TaxationWithRoot.DS_for_Permanent_Expense; -import TaxationWithRoot.TaxationPackage; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EClass; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; - -/** - * - * An implementation of the model object 'DS for Permanent Expense'. - * - *

- * The following features are implemented: - *

- *
    - *
  • {@link TaxationWithRoot.impl.DS_for_Permanent_ExpenseImpl#getPermanent_expense_category Permanent expense category}
  • - *
- * - * @generated - */ -public class DS_for_Permanent_ExpenseImpl extends DSImpl implements DS_for_Permanent_Expense { - /** - * The default value of the '{@link #getPermanent_expense_category() Permanent expense category}' attribute. - * - * - * @see #getPermanent_expense_category() - * @generated - * @ordered - */ - protected static final Category_of_Permanent_Expense PERMANENT_EXPENSE_CATEGORY_EDEFAULT = Category_of_Permanent_Expense.MISCELLANEOUS_DEBT; - - /** - * The cached value of the '{@link #getPermanent_expense_category() Permanent expense category}' attribute. - * - * - * @see #getPermanent_expense_category() - * @generated - * @ordered - */ - protected Category_of_Permanent_Expense permanent_expense_category = PERMANENT_EXPENSE_CATEGORY_EDEFAULT; - - /** - * - * - * @generated - */ - protected DS_for_Permanent_ExpenseImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return TaxationPackage.Literals.DS_FOR_PERMANENT_EXPENSE; - } - - /** - * - * - * @generated - */ - @Override - public Category_of_Permanent_Expense getPermanent_expense_category() { - return permanent_expense_category; - } - - /** - * - * - * @generated - */ - @Override - public void setPermanent_expense_category(Category_of_Permanent_Expense newPermanent_expense_category) { - Category_of_Permanent_Expense oldPermanent_expense_category = permanent_expense_category; - permanent_expense_category = newPermanent_expense_category == null ? PERMANENT_EXPENSE_CATEGORY_EDEFAULT : newPermanent_expense_category; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, TaxationPackage.DS_FOR_PERMANENT_EXPENSE__PERMANENT_EXPENSE_CATEGORY, oldPermanent_expense_category, permanent_expense_category)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case TaxationPackage.DS_FOR_PERMANENT_EXPENSE__PERMANENT_EXPENSE_CATEGORY: - return getPermanent_expense_category(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case TaxationPackage.DS_FOR_PERMANENT_EXPENSE__PERMANENT_EXPENSE_CATEGORY: - setPermanent_expense_category((Category_of_Permanent_Expense)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case TaxationPackage.DS_FOR_PERMANENT_EXPENSE__PERMANENT_EXPENSE_CATEGORY: - setPermanent_expense_category(PERMANENT_EXPENSE_CATEGORY_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case TaxationPackage.DS_FOR_PERMANENT_EXPENSE__PERMANENT_EXPENSE_CATEGORY: - return permanent_expense_category != PERMANENT_EXPENSE_CATEGORY_EDEFAULT; - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuilder result = new StringBuilder(super.toString()); - result.append(" (permanent_expense_category: "); - result.append(permanent_expense_category); - result.append(')'); - return result.toString(); - } - -} //DS_for_Permanent_ExpenseImpl diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/impl/DS_for_Private_Insurance_and_PlanImpl.java b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/impl/DS_for_Private_Insurance_and_PlanImpl.java deleted file mode 100644 index 479477c9..00000000 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/impl/DS_for_Private_Insurance_and_PlanImpl.java +++ /dev/null @@ -1,165 +0,0 @@ -/** - */ -package TaxationWithRoot.impl; - -import TaxationWithRoot.Category_of_Private_Insurance_and_Plan; -import TaxationWithRoot.DS_for_Private_Insurance_and_Plan; -import TaxationWithRoot.TaxationPackage; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EClass; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; - -/** - * - * An implementation of the model object 'DS for Private Insurance and Plan'. - * - *

- * The following features are implemented: - *

- *
    - *
  • {@link TaxationWithRoot.impl.DS_for_Private_Insurance_and_PlanImpl#getPrivate_insurance_and_plan_category Private insurance and plan category}
  • - *
- * - * @generated - */ -public class DS_for_Private_Insurance_and_PlanImpl extends DSImpl implements DS_for_Private_Insurance_and_Plan { - /** - * The default value of the '{@link #getPrivate_insurance_and_plan_category() Private insurance and plan category}' attribute. - * - * - * @see #getPrivate_insurance_and_plan_category() - * @generated - * @ordered - */ - protected static final Category_of_Private_Insurance_and_Plan PRIVATE_INSURANCE_AND_PLAN_CATEGORY_EDEFAULT = Category_of_Private_Insurance_and_Plan.PRIVATE_INSURANCE; - - /** - * The cached value of the '{@link #getPrivate_insurance_and_plan_category() Private insurance and plan category}' attribute. - * - * - * @see #getPrivate_insurance_and_plan_category() - * @generated - * @ordered - */ - protected Category_of_Private_Insurance_and_Plan private_insurance_and_plan_category = PRIVATE_INSURANCE_AND_PLAN_CATEGORY_EDEFAULT; - - /** - * - * - * @generated - */ - protected DS_for_Private_Insurance_and_PlanImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return TaxationPackage.Literals.DS_FOR_PRIVATE_INSURANCE_AND_PLAN; - } - - /** - * - * - * @generated - */ - @Override - public Category_of_Private_Insurance_and_Plan getPrivate_insurance_and_plan_category() { - return private_insurance_and_plan_category; - } - - /** - * - * - * @generated - */ - @Override - public void setPrivate_insurance_and_plan_category(Category_of_Private_Insurance_and_Plan newPrivate_insurance_and_plan_category) { - Category_of_Private_Insurance_and_Plan oldPrivate_insurance_and_plan_category = private_insurance_and_plan_category; - private_insurance_and_plan_category = newPrivate_insurance_and_plan_category == null ? PRIVATE_INSURANCE_AND_PLAN_CATEGORY_EDEFAULT : newPrivate_insurance_and_plan_category; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, TaxationPackage.DS_FOR_PRIVATE_INSURANCE_AND_PLAN__PRIVATE_INSURANCE_AND_PLAN_CATEGORY, oldPrivate_insurance_and_plan_category, private_insurance_and_plan_category)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case TaxationPackage.DS_FOR_PRIVATE_INSURANCE_AND_PLAN__PRIVATE_INSURANCE_AND_PLAN_CATEGORY: - return getPrivate_insurance_and_plan_category(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case TaxationPackage.DS_FOR_PRIVATE_INSURANCE_AND_PLAN__PRIVATE_INSURANCE_AND_PLAN_CATEGORY: - setPrivate_insurance_and_plan_category((Category_of_Private_Insurance_and_Plan)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case TaxationPackage.DS_FOR_PRIVATE_INSURANCE_AND_PLAN__PRIVATE_INSURANCE_AND_PLAN_CATEGORY: - setPrivate_insurance_and_plan_category(PRIVATE_INSURANCE_AND_PLAN_CATEGORY_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case TaxationPackage.DS_FOR_PRIVATE_INSURANCE_AND_PLAN__PRIVATE_INSURANCE_AND_PLAN_CATEGORY: - return private_insurance_and_plan_category != PRIVATE_INSURANCE_AND_PLAN_CATEGORY_EDEFAULT; - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuilder result = new StringBuilder(super.toString()); - result.append(" (private_insurance_and_plan_category: "); - result.append(private_insurance_and_plan_category); - result.append(')'); - return result.toString(); - } - -} //DS_for_Private_Insurance_and_PlanImpl diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/impl/FDImpl.java b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/impl/FDImpl.java deleted file mode 100644 index 270e8f39..00000000 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/impl/FDImpl.java +++ /dev/null @@ -1,164 +0,0 @@ -/** - */ -package TaxationWithRoot.impl; - -import TaxationWithRoot.FD; -import TaxationWithRoot.TaxationPackage; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EClass; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; - -/** - * - * An implementation of the model object 'FD'. - * - *

- * The following features are implemented: - *

- *
    - *
  • {@link TaxationWithRoot.impl.FDImpl#getDistance_declared_in_january Distance declared in january}
  • - *
- * - * @generated - */ -public class FDImpl extends Professional_Expenses_DeductionImpl implements FD { - /** - * The default value of the '{@link #getDistance_declared_in_january() Distance declared in january}' attribute. - * - * - * @see #getDistance_declared_in_january() - * @generated - * @ordered - */ - protected static final double DISTANCE_DECLARED_IN_JANUARY_EDEFAULT = 0.0; - - /** - * The cached value of the '{@link #getDistance_declared_in_january() Distance declared in january}' attribute. - * - * - * @see #getDistance_declared_in_january() - * @generated - * @ordered - */ - protected double distance_declared_in_january = DISTANCE_DECLARED_IN_JANUARY_EDEFAULT; - - /** - * - * - * @generated - */ - protected FDImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return TaxationPackage.Literals.FD; - } - - /** - * - * - * @generated - */ - @Override - public double getDistance_declared_in_january() { - return distance_declared_in_january; - } - - /** - * - * - * @generated - */ - @Override - public void setDistance_declared_in_january(double newDistance_declared_in_january) { - double oldDistance_declared_in_january = distance_declared_in_january; - distance_declared_in_january = newDistance_declared_in_january; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, TaxationPackage.FD__DISTANCE_DECLARED_IN_JANUARY, oldDistance_declared_in_january, distance_declared_in_january)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case TaxationPackage.FD__DISTANCE_DECLARED_IN_JANUARY: - return getDistance_declared_in_january(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case TaxationPackage.FD__DISTANCE_DECLARED_IN_JANUARY: - setDistance_declared_in_january((Double)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case TaxationPackage.FD__DISTANCE_DECLARED_IN_JANUARY: - setDistance_declared_in_january(DISTANCE_DECLARED_IN_JANUARY_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case TaxationPackage.FD__DISTANCE_DECLARED_IN_JANUARY: - return distance_declared_in_january != DISTANCE_DECLARED_IN_JANUARY_EDEFAULT; - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuilder result = new StringBuilder(super.toString()); - result.append(" (distance_declared_in_january: "); - result.append(distance_declared_in_january); - result.append(')'); - return result.toString(); - } - -} //FDImpl diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/impl/FOImpl.java b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/impl/FOImpl.java deleted file mode 100644 index 18919a65..00000000 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/impl/FOImpl.java +++ /dev/null @@ -1,37 +0,0 @@ -/** - */ -package TaxationWithRoot.impl; - -import TaxationWithRoot.FO; -import TaxationWithRoot.TaxationPackage; - -import org.eclipse.emf.ecore.EClass; - -/** - * - * An implementation of the model object 'FO'. - * - * - * @generated - */ -public class FOImpl extends Professional_Expenses_DeductionImpl implements FO { - /** - * - * - * @generated - */ - protected FOImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return TaxationPackage.Literals.FO; - } - -} //FOImpl diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/impl/HouseholdImpl.java b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/impl/HouseholdImpl.java index 770bb5e0..896eddd1 100644 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/impl/HouseholdImpl.java +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/impl/HouseholdImpl.java @@ -18,6 +18,8 @@ import org.eclipse.emf.ecore.EClass; import org.eclipse.emf.ecore.InternalEObject; import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + import org.eclipse.emf.ecore.util.EObjectContainmentWithInverseEList; import org.eclipse.emf.ecore.util.InternalEList; @@ -36,7 +38,7 @@ import org.eclipse.emf.ecore.util.InternalEList; * * @generated */ -public class HouseholdImpl extends RootImpl implements Household { +public class HouseholdImpl extends MinimalEObjectImpl.Container implements Household { /** * The cached value of the '{@link #getParents() Parents}' containment reference. * diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/impl/Income_Tax_CreditImpl.java b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/impl/Income_Tax_CreditImpl.java index 308a8f01..90d87de4 100644 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/impl/Income_Tax_CreditImpl.java +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/impl/Income_Tax_CreditImpl.java @@ -15,6 +15,7 @@ import org.eclipse.emf.ecore.EClass; import org.eclipse.emf.ecore.InternalEObject; import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; /** * @@ -36,7 +37,7 @@ import org.eclipse.emf.ecore.impl.ENotificationImpl; * * @generated */ -public class Income_Tax_CreditImpl extends RootImpl implements Income_Tax_Credit { +public class Income_Tax_CreditImpl extends MinimalEObjectImpl.Container implements Income_Tax_Credit { /** * The default value of the '{@link #getGrantedBy() Granted By}' attribute. * diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/impl/Professional_Expenses_DeductionImpl.java b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/impl/Professional_Expenses_DeductionImpl.java deleted file mode 100644 index a4a903e8..00000000 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/impl/Professional_Expenses_DeductionImpl.java +++ /dev/null @@ -1,37 +0,0 @@ -/** - */ -package TaxationWithRoot.impl; - -import TaxationWithRoot.Professional_Expenses_Deduction; -import TaxationWithRoot.TaxationPackage; - -import org.eclipse.emf.ecore.EClass; - -/** - * - * An implementation of the model object 'Professional Expenses Deduction'. - * - * - * @generated - */ -public class Professional_Expenses_DeductionImpl extends RootImpl implements Professional_Expenses_Deduction { - /** - * - * - * @generated - */ - protected Professional_Expenses_DeductionImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return TaxationPackage.Literals.PROFESSIONAL_EXPENSES_DEDUCTION; - } - -} //Professional_Expenses_DeductionImpl diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/impl/ResourceImpl.java b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/impl/ResourceImpl.java index 2104cce8..6476e121 100644 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/impl/ResourceImpl.java +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/impl/ResourceImpl.java @@ -2,8 +2,8 @@ */ package TaxationWithRoot.impl; +import TaxationWithRoot.Household; import TaxationWithRoot.Resource; -import TaxationWithRoot.Root; import TaxationWithRoot.TaxationPackage; import java.util.Collection; @@ -42,7 +42,7 @@ public class ResourceImpl extends MinimalEObjectImpl.Container implements Resour * @generated * @ordered */ - protected EList contains; + protected EList contains; /** * @@ -69,9 +69,9 @@ public class ResourceImpl extends MinimalEObjectImpl.Container implements Resour * @generated */ @Override - public EList getContains() { + public EList getContains() { if (contains == null) { - contains = new EObjectContainmentEList(Root.class, this, TaxationPackage.RESOURCE__CONTAINS); + contains = new EObjectContainmentEList(Household.class, this, TaxationPackage.RESOURCE__CONTAINS); } return contains; } @@ -115,7 +115,7 @@ public class ResourceImpl extends MinimalEObjectImpl.Container implements Resour switch (featureID) { case TaxationPackage.RESOURCE__CONTAINS: getContains().clear(); - getContains().addAll((Collection)newValue); + getContains().addAll((Collection)newValue); return; } super.eSet(featureID, newValue); diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/impl/RootImpl.java b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/impl/RootImpl.java deleted file mode 100644 index 65a8d68c..00000000 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/impl/RootImpl.java +++ /dev/null @@ -1,39 +0,0 @@ -/** - */ -package TaxationWithRoot.impl; - -import TaxationWithRoot.Root; -import TaxationWithRoot.TaxationPackage; - -import org.eclipse.emf.ecore.EClass; - -import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; - -/** - * - * An implementation of the model object 'Root'. - * - * - * @generated - */ -public abstract class RootImpl extends MinimalEObjectImpl.Container implements Root { - /** - * - * - * @generated - */ - protected RootImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return TaxationPackage.Literals.ROOT; - } - -} //RootImpl diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/impl/TaxationFactoryImpl.java b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/impl/TaxationFactoryImpl.java index 12caab7b..1f527881 100644 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/impl/TaxationFactoryImpl.java +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/impl/TaxationFactoryImpl.java @@ -87,16 +87,6 @@ public class TaxationFactoryImpl extends EFactoryImpl implements TaxationFactory case TaxationPackage.CIM: return createCIM(); case TaxationPackage.CIP: return createCIP(); case TaxationPackage.CIS: return createCIS(); - case TaxationPackage.FD: return createFD(); - case TaxationPackage.PROFESSIONAL_EXPENSES_DEDUCTION: return createProfessional_Expenses_Deduction(); - case TaxationPackage.FO: return createFO(); - case TaxationPackage.DS_FOR_PERMANENT_EXPENSE: return createDS_for_Permanent_Expense(); - case TaxationPackage.DS: return createDS(); - case TaxationPackage.DS_FOR_INTEREST_EXPENSE: return createDS_for_Interest_Expense(); - case TaxationPackage.DS_FOR_HEALTH_AND_PENSION_INSURANCE: return createDS_for_Health_and_Pension_Insurance(); - case TaxationPackage.DS_FOR_PRIVATE_INSURANCE_AND_PLAN: return createDS_for_Private_Insurance_and_Plan(); - case TaxationPackage.DS_FOR_LOSS_CARRYFORWARD: return createDS_for_Loss_Carryforward(); - case TaxationPackage.DS_FOR_DONATION: return createDS_for_Donation(); case TaxationPackage.PERMANENT_EXPENSE: return createPermanent_Expense(); case TaxationPackage.SPECIAL_EXPENSE_DS: return createSpecial_Expense_DS(); case TaxationPackage.INTEREST_EXPENSE: return createInterest_Expense(); @@ -531,116 +521,6 @@ public class TaxationFactoryImpl extends EFactoryImpl implements TaxationFactory return cis; } - /** - * - * - * @generated - */ - @Override - public FD createFD() { - FDImpl fd = new FDImpl(); - return fd; - } - - /** - * - * - * @generated - */ - @Override - public Professional_Expenses_Deduction createProfessional_Expenses_Deduction() { - Professional_Expenses_DeductionImpl professional_Expenses_Deduction = new Professional_Expenses_DeductionImpl(); - return professional_Expenses_Deduction; - } - - /** - * - * - * @generated - */ - @Override - public FO createFO() { - FOImpl fo = new FOImpl(); - return fo; - } - - /** - * - * - * @generated - */ - @Override - public DS_for_Permanent_Expense createDS_for_Permanent_Expense() { - DS_for_Permanent_ExpenseImpl dS_for_Permanent_Expense = new DS_for_Permanent_ExpenseImpl(); - return dS_for_Permanent_Expense; - } - - /** - * - * - * @generated - */ - @Override - public DS createDS() { - DSImpl ds = new DSImpl(); - return ds; - } - - /** - * - * - * @generated - */ - @Override - public DS_for_Interest_Expense createDS_for_Interest_Expense() { - DS_for_Interest_ExpenseImpl dS_for_Interest_Expense = new DS_for_Interest_ExpenseImpl(); - return dS_for_Interest_Expense; - } - - /** - * - * - * @generated - */ - @Override - public DS_for_Health_and_Pension_Insurance createDS_for_Health_and_Pension_Insurance() { - DS_for_Health_and_Pension_InsuranceImpl dS_for_Health_and_Pension_Insurance = new DS_for_Health_and_Pension_InsuranceImpl(); - return dS_for_Health_and_Pension_Insurance; - } - - /** - * - * - * @generated - */ - @Override - public DS_for_Private_Insurance_and_Plan createDS_for_Private_Insurance_and_Plan() { - DS_for_Private_Insurance_and_PlanImpl dS_for_Private_Insurance_and_Plan = new DS_for_Private_Insurance_and_PlanImpl(); - return dS_for_Private_Insurance_and_Plan; - } - - /** - * - * - * @generated - */ - @Override - public DS_for_Loss_Carryforward createDS_for_Loss_Carryforward() { - DS_for_Loss_CarryforwardImpl dS_for_Loss_Carryforward = new DS_for_Loss_CarryforwardImpl(); - return dS_for_Loss_Carryforward; - } - - /** - * - * - * @generated - */ - @Override - public DS_for_Donation createDS_for_Donation() { - DS_for_DonationImpl dS_for_Donation = new DS_for_DonationImpl(); - return dS_for_Donation; - } - /** * * diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/impl/TaxationPackageImpl.java b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/impl/TaxationPackageImpl.java index c8a1400d..65a7541a 100644 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/impl/TaxationPackageImpl.java +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/impl/TaxationPackageImpl.java @@ -11,12 +11,6 @@ import TaxationWithRoot.Category_of_Permanent_Expense; import TaxationWithRoot.Category_of_Private_Insurance_and_Plan; import TaxationWithRoot.Constants; import TaxationWithRoot.Country; -import TaxationWithRoot.DS_for_Donation; -import TaxationWithRoot.DS_for_Health_and_Pension_Insurance; -import TaxationWithRoot.DS_for_Interest_Expense; -import TaxationWithRoot.DS_for_Loss_Carryforward; -import TaxationWithRoot.DS_for_Permanent_Expense; -import TaxationWithRoot.DS_for_Private_Insurance_and_Plan; import TaxationWithRoot.Dependent; import TaxationWithRoot.Dependent_Type; import TaxationWithRoot.Disability_Types; @@ -54,11 +48,9 @@ import TaxationWithRoot.Permanent_Expense; import TaxationWithRoot.Physical_Person; import TaxationWithRoot.Private_Insurance_and_Plan; import TaxationWithRoot.Professional_Expense; -import TaxationWithRoot.Professional_Expenses_Deduction; import TaxationWithRoot.Rentals_and_Leases_Income; import TaxationWithRoot.Resident_Tax_Payer; import TaxationWithRoot.Resource; -import TaxationWithRoot.Root; import TaxationWithRoot.Separation_Causes; import TaxationWithRoot.Special_Expense_DS; import TaxationWithRoot.Spousal_Expense_AC; @@ -341,76 +333,6 @@ public class TaxationPackageImpl extends EPackageImpl implements TaxationPackage */ private EClass cisEClass = null; - /** - * - * - * @generated - */ - private EClass fdEClass = null; - - /** - * - * - * @generated - */ - private EClass professional_Expenses_DeductionEClass = null; - - /** - * - * - * @generated - */ - private EClass foEClass = null; - - /** - * - * - * @generated - */ - private EClass dS_for_Permanent_ExpenseEClass = null; - - /** - * - * - * @generated - */ - private EClass dsEClass = null; - - /** - * - * - * @generated - */ - private EClass dS_for_Interest_ExpenseEClass = null; - - /** - * - * - * @generated - */ - private EClass dS_for_Health_and_Pension_InsuranceEClass = null; - - /** - * - * - * @generated - */ - private EClass dS_for_Private_Insurance_and_PlanEClass = null; - - /** - * - * - * @generated - */ - private EClass dS_for_Loss_CarryforwardEClass = null; - - /** - * - * - * @generated - */ - private EClass dS_for_DonationEClass = null; - /** * * @@ -502,13 +424,6 @@ public class TaxationPackageImpl extends EPackageImpl implements TaxationPackage */ private EClass resourceEClass = null; - /** - * - * - * @generated - */ - private EClass rootEClass = null; - /** * * @@ -2555,166 +2470,6 @@ public class TaxationPackageImpl extends EPackageImpl implements TaxationPackage return cisEClass; } - /** - * - * - * @generated - */ - @Override - public EClass getFD() { - return fdEClass; - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getFD_Distance_declared_in_january() { - return (EAttribute)fdEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EClass getProfessional_Expenses_Deduction() { - return professional_Expenses_DeductionEClass; - } - - /** - * - * - * @generated - */ - @Override - public EClass getFO() { - return foEClass; - } - - /** - * - * - * @generated - */ - @Override - public EClass getDS_for_Permanent_Expense() { - return dS_for_Permanent_ExpenseEClass; - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getDS_for_Permanent_Expense_Permanent_expense_category() { - return (EAttribute)dS_for_Permanent_ExpenseEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EClass getDS() { - return dsEClass; - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getDS_Maximum_deductible_amount() { - return (EAttribute)dsEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getDS_Id3() { - return (EAttribute)dsEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - @Override - public EClass getDS_for_Interest_Expense() { - return dS_for_Interest_ExpenseEClass; - } - - /** - * - * - * @generated - */ - @Override - public EClass getDS_for_Health_and_Pension_Insurance() { - return dS_for_Health_and_Pension_InsuranceEClass; - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getDS_for_Health_and_Pension_Insurance_Insurance_category() { - return (EAttribute)dS_for_Health_and_Pension_InsuranceEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EClass getDS_for_Private_Insurance_and_Plan() { - return dS_for_Private_Insurance_and_PlanEClass; - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getDS_for_Private_Insurance_and_Plan_Private_insurance_and_plan_category() { - return (EAttribute)dS_for_Private_Insurance_and_PlanEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EClass getDS_for_Loss_Carryforward() { - return dS_for_Loss_CarryforwardEClass; - } - - /** - * - * - * @generated - */ - @Override - public EClass getDS_for_Donation() { - return dS_for_DonationEClass; - } - /** * * @@ -2945,16 +2700,6 @@ public class TaxationPackageImpl extends EPackageImpl implements TaxationPackage return (EReference)resourceEClass.getEStructuralFeatures().get(0); } - /** - * - * - * @generated - */ - @Override - public EClass getRoot() { - return rootEClass; - } - /** * * @@ -3358,32 +3103,6 @@ public class TaxationPackageImpl extends EPackageImpl implements TaxationPackage cisEClass = createEClass(CIS); - fdEClass = createEClass(FD); - createEAttribute(fdEClass, FD__DISTANCE_DECLARED_IN_JANUARY); - - professional_Expenses_DeductionEClass = createEClass(PROFESSIONAL_EXPENSES_DEDUCTION); - - foEClass = createEClass(FO); - - dS_for_Permanent_ExpenseEClass = createEClass(DS_FOR_PERMANENT_EXPENSE); - createEAttribute(dS_for_Permanent_ExpenseEClass, DS_FOR_PERMANENT_EXPENSE__PERMANENT_EXPENSE_CATEGORY); - - dsEClass = createEClass(DS); - createEAttribute(dsEClass, DS__MAXIMUM_DEDUCTIBLE_AMOUNT); - createEAttribute(dsEClass, DS__ID3); - - dS_for_Interest_ExpenseEClass = createEClass(DS_FOR_INTEREST_EXPENSE); - - dS_for_Health_and_Pension_InsuranceEClass = createEClass(DS_FOR_HEALTH_AND_PENSION_INSURANCE); - createEAttribute(dS_for_Health_and_Pension_InsuranceEClass, DS_FOR_HEALTH_AND_PENSION_INSURANCE__INSURANCE_CATEGORY); - - dS_for_Private_Insurance_and_PlanEClass = createEClass(DS_FOR_PRIVATE_INSURANCE_AND_PLAN); - createEAttribute(dS_for_Private_Insurance_and_PlanEClass, DS_FOR_PRIVATE_INSURANCE_AND_PLAN__PRIVATE_INSURANCE_AND_PLAN_CATEGORY); - - dS_for_Loss_CarryforwardEClass = createEClass(DS_FOR_LOSS_CARRYFORWARD); - - dS_for_DonationEClass = createEClass(DS_FOR_DONATION); - permanent_ExpenseEClass = createEClass(PERMANENT_EXPENSE); createEAttribute(permanent_ExpenseEClass, PERMANENT_EXPENSE__CATEGORY); @@ -3420,8 +3139,6 @@ public class TaxationPackageImpl extends EPackageImpl implements TaxationPackage resourceEClass = createEClass(RESOURCE); createEReference(resourceEClass, RESOURCE__CONTAINS); - rootEClass = createEClass(ROOT); - // Create enums grantorEEnum = createEEnum(GRANTOR); disability_TypesEEnum = createEEnum(DISABILITY_TYPES); @@ -3470,12 +3187,8 @@ public class TaxationPackageImpl extends EPackageImpl implements TaxationPackage // Add supertypes to classes tax_PayerEClass.getESuperTypes().add(this.getPhysical_Person()); tax_PayerEClass.getESuperTypes().add(this.getTax_Case()); - tax_PayerEClass.getESuperTypes().add(this.getRoot()); - addressEClass.getESuperTypes().add(this.getRoot()); dependentEClass.getESuperTypes().add(this.getPhysical_Person()); householdEClass.getESuperTypes().add(this.getTax_Case()); - tax_CaseEClass.getESuperTypes().add(this.getRoot()); - income_Tax_CreditEClass.getESuperTypes().add(this.getRoot()); fiscal_AddressEClass.getESuperTypes().add(this.getAddress()); habitual_AddressEClass.getESuperTypes().add(this.getAddress()); marriage_RecordEClass.getESuperTypes().add(this.getLegal_Union_Record()); @@ -3493,16 +3206,6 @@ public class TaxationPackageImpl extends EPackageImpl implements TaxationPackage cimEClass.getESuperTypes().add(this.getIncome_Tax_Credit()); cipEClass.getESuperTypes().add(this.getIncome_Tax_Credit()); cisEClass.getESuperTypes().add(this.getIncome_Tax_Credit()); - fdEClass.getESuperTypes().add(this.getProfessional_Expenses_Deduction()); - professional_Expenses_DeductionEClass.getESuperTypes().add(this.getRoot()); - foEClass.getESuperTypes().add(this.getProfessional_Expenses_Deduction()); - dS_for_Permanent_ExpenseEClass.getESuperTypes().add(this.getDS()); - dsEClass.getESuperTypes().add(this.getRoot()); - dS_for_Interest_ExpenseEClass.getESuperTypes().add(this.getDS()); - dS_for_Health_and_Pension_InsuranceEClass.getESuperTypes().add(this.getDS()); - dS_for_Private_Insurance_and_PlanEClass.getESuperTypes().add(this.getDS()); - dS_for_Loss_CarryforwardEClass.getESuperTypes().add(this.getDS()); - dS_for_DonationEClass.getESuperTypes().add(this.getDS()); permanent_ExpenseEClass.getESuperTypes().add(this.getSpecial_Expense_DS()); special_Expense_DSEClass.getESuperTypes().add(this.getExpense()); interest_ExpenseEClass.getESuperTypes().add(this.getSpecial_Expense_DS()); @@ -3741,32 +3444,6 @@ public class TaxationPackageImpl extends EPackageImpl implements TaxationPackage initEClass(cisEClass, TaxationWithRoot.CIS.class, "CIS", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEClass(fdEClass, TaxationWithRoot.FD.class, "FD", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getFD_Distance_declared_in_january(), ecorePackage.getEDouble(), "distance_declared_in_january", null, 1, 1, TaxationWithRoot.FD.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(professional_Expenses_DeductionEClass, Professional_Expenses_Deduction.class, "Professional_Expenses_Deduction", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - - initEClass(foEClass, TaxationWithRoot.FO.class, "FO", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - - initEClass(dS_for_Permanent_ExpenseEClass, DS_for_Permanent_Expense.class, "DS_for_Permanent_Expense", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getDS_for_Permanent_Expense_Permanent_expense_category(), this.getCategory_of_Permanent_Expense(), "permanent_expense_category", null, 1, 1, DS_for_Permanent_Expense.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(dsEClass, TaxationWithRoot.DS.class, "DS", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getDS_Maximum_deductible_amount(), ecorePackage.getEDouble(), "maximum_deductible_amount", null, 1, 1, TaxationWithRoot.DS.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getDS_Id3(), ecorePackage.getEString(), "id3", null, 1, 1, TaxationWithRoot.DS.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - - initEClass(dS_for_Interest_ExpenseEClass, DS_for_Interest_Expense.class, "DS_for_Interest_Expense", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - - initEClass(dS_for_Health_and_Pension_InsuranceEClass, DS_for_Health_and_Pension_Insurance.class, "DS_for_Health_and_Pension_Insurance", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getDS_for_Health_and_Pension_Insurance_Insurance_category(), this.getCategory_of_Health_and_Pension_Insurances(), "insurance_category", null, 1, 1, DS_for_Health_and_Pension_Insurance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(dS_for_Private_Insurance_and_PlanEClass, DS_for_Private_Insurance_and_Plan.class, "DS_for_Private_Insurance_and_Plan", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getDS_for_Private_Insurance_and_Plan_Private_insurance_and_plan_category(), this.getCategory_of_Private_Insurance_and_Plan(), "private_insurance_and_plan_category", null, 1, 1, DS_for_Private_Insurance_and_Plan.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(dS_for_Loss_CarryforwardEClass, DS_for_Loss_Carryforward.class, "DS_for_Loss_Carryforward", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - - initEClass(dS_for_DonationEClass, DS_for_Donation.class, "DS_for_Donation", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEClass(permanent_ExpenseEClass, Permanent_Expense.class, "Permanent_Expense", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEAttribute(getPermanent_Expense_Category(), this.getCategory_of_Permanent_Expense(), "category", null, 1, 1, Permanent_Expense.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); @@ -3801,9 +3478,7 @@ public class TaxationPackageImpl extends EPackageImpl implements TaxationPackage initEClass(miscellaneous_Expense_FOEClass, Miscellaneous_Expense_FO.class, "Miscellaneous_Expense_FO", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEClass(resourceEClass, Resource.class, "Resource", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getResource_Contains(), this.getRoot(), null, "contains", null, 0, -1, Resource.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(rootEClass, Root.class, "Root", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getResource_Contains(), this.getHousehold(), null, "contains", null, 0, -1, Resource.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); // Initialize enums and add enum literals initEEnum(grantorEEnum, Grantor.class, "Grantor"); diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/util/TaxationAdapterFactory.java b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/util/TaxationAdapterFactory.java index 639750ed..ed4a11ff 100644 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/util/TaxationAdapterFactory.java +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/util/TaxationAdapterFactory.java @@ -212,46 +212,6 @@ public class TaxationAdapterFactory extends AdapterFactoryImpl { return createCISAdapter(); } @Override - public Adapter caseFD(FD object) { - return createFDAdapter(); - } - @Override - public Adapter caseProfessional_Expenses_Deduction(Professional_Expenses_Deduction object) { - return createProfessional_Expenses_DeductionAdapter(); - } - @Override - public Adapter caseFO(FO object) { - return createFOAdapter(); - } - @Override - public Adapter caseDS_for_Permanent_Expense(DS_for_Permanent_Expense object) { - return createDS_for_Permanent_ExpenseAdapter(); - } - @Override - public Adapter caseDS(DS object) { - return createDSAdapter(); - } - @Override - public Adapter caseDS_for_Interest_Expense(DS_for_Interest_Expense object) { - return createDS_for_Interest_ExpenseAdapter(); - } - @Override - public Adapter caseDS_for_Health_and_Pension_Insurance(DS_for_Health_and_Pension_Insurance object) { - return createDS_for_Health_and_Pension_InsuranceAdapter(); - } - @Override - public Adapter caseDS_for_Private_Insurance_and_Plan(DS_for_Private_Insurance_and_Plan object) { - return createDS_for_Private_Insurance_and_PlanAdapter(); - } - @Override - public Adapter caseDS_for_Loss_Carryforward(DS_for_Loss_Carryforward object) { - return createDS_for_Loss_CarryforwardAdapter(); - } - @Override - public Adapter caseDS_for_Donation(DS_for_Donation object) { - return createDS_for_DonationAdapter(); - } - @Override public Adapter casePermanent_Expense(Permanent_Expense object) { return createPermanent_ExpenseAdapter(); } @@ -304,10 +264,6 @@ public class TaxationAdapterFactory extends AdapterFactoryImpl { return createResourceAdapter(); } @Override - public Adapter caseRoot(Root object) { - return createRootAdapter(); - } - @Override public Adapter defaultCase(EObject object) { return createEObjectAdapter(); } @@ -831,146 +787,6 @@ public class TaxationAdapterFactory extends AdapterFactoryImpl { return null; } - /** - * Creates a new adapter for an object of class '{@link TaxationWithRoot.FD FD}'. - * - * 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. - * - * @return the new adapter. - * @see TaxationWithRoot.FD - * @generated - */ - public Adapter createFDAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link TaxationWithRoot.Professional_Expenses_Deduction Professional Expenses Deduction}'. - * - * 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. - * - * @return the new adapter. - * @see TaxationWithRoot.Professional_Expenses_Deduction - * @generated - */ - public Adapter createProfessional_Expenses_DeductionAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link TaxationWithRoot.FO FO}'. - * - * 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. - * - * @return the new adapter. - * @see TaxationWithRoot.FO - * @generated - */ - public Adapter createFOAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link TaxationWithRoot.DS_for_Permanent_Expense DS for Permanent Expense}'. - * - * 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. - * - * @return the new adapter. - * @see TaxationWithRoot.DS_for_Permanent_Expense - * @generated - */ - public Adapter createDS_for_Permanent_ExpenseAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link TaxationWithRoot.DS DS}'. - * - * 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. - * - * @return the new adapter. - * @see TaxationWithRoot.DS - * @generated - */ - public Adapter createDSAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link TaxationWithRoot.DS_for_Interest_Expense DS for Interest Expense}'. - * - * 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. - * - * @return the new adapter. - * @see TaxationWithRoot.DS_for_Interest_Expense - * @generated - */ - public Adapter createDS_for_Interest_ExpenseAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link TaxationWithRoot.DS_for_Health_and_Pension_Insurance DS for Health and Pension Insurance}'. - * - * 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. - * - * @return the new adapter. - * @see TaxationWithRoot.DS_for_Health_and_Pension_Insurance - * @generated - */ - public Adapter createDS_for_Health_and_Pension_InsuranceAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link TaxationWithRoot.DS_for_Private_Insurance_and_Plan DS for Private Insurance and Plan}'. - * - * 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. - * - * @return the new adapter. - * @see TaxationWithRoot.DS_for_Private_Insurance_and_Plan - * @generated - */ - public Adapter createDS_for_Private_Insurance_and_PlanAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link TaxationWithRoot.DS_for_Loss_Carryforward DS for Loss Carryforward}'. - * - * 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. - * - * @return the new adapter. - * @see TaxationWithRoot.DS_for_Loss_Carryforward - * @generated - */ - public Adapter createDS_for_Loss_CarryforwardAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link TaxationWithRoot.DS_for_Donation DS for Donation}'. - * - * 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. - * - * @return the new adapter. - * @see TaxationWithRoot.DS_for_Donation - * @generated - */ - public Adapter createDS_for_DonationAdapter() { - return null; - } - /** * Creates a new adapter for an object of class '{@link TaxationWithRoot.Permanent_Expense Permanent Expense}'. * @@ -1153,20 +969,6 @@ public class TaxationAdapterFactory extends AdapterFactoryImpl { return null; } - /** - * Creates a new adapter for an object of class '{@link TaxationWithRoot.Root Root}'. - * - * 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. - * - * @return the new adapter. - * @see TaxationWithRoot.Root - * @generated - */ - public Adapter createRootAdapter() { - return null; - } - /** * Creates a new adapter for the default case. * diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/util/TaxationSwitch.java b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/util/TaxationSwitch.java index f5b4b681..cf021107 100644 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/util/TaxationSwitch.java +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/util/TaxationSwitch.java @@ -83,7 +83,6 @@ public class TaxationSwitch extends Switch { T result = caseTax_Payer(tax_Payer); if (result == null) result = casePhysical_Person(tax_Payer); if (result == null) result = caseTax_Case(tax_Payer); - if (result == null) result = caseRoot(tax_Payer); if (result == null) result = defaultCase(theEObject); return result; } @@ -96,7 +95,6 @@ public class TaxationSwitch extends Switch { case TaxationPackage.ADDRESS: { Address address = (Address)theEObject; T result = caseAddress(address); - if (result == null) result = caseRoot(address); if (result == null) result = defaultCase(theEObject); return result; } @@ -123,7 +121,6 @@ public class TaxationSwitch extends Switch { Household household = (Household)theEObject; T result = caseHousehold(household); if (result == null) result = caseTax_Case(household); - if (result == null) result = caseRoot(household); if (result == null) result = defaultCase(theEObject); return result; } @@ -142,7 +139,6 @@ public class TaxationSwitch extends Switch { case TaxationPackage.TAX_CASE: { Tax_Case tax_Case = (Tax_Case)theEObject; T result = caseTax_Case(tax_Case); - if (result == null) result = caseRoot(tax_Case); if (result == null) result = defaultCase(theEObject); return result; } @@ -173,7 +169,6 @@ public class TaxationSwitch extends Switch { case TaxationPackage.INCOME_TAX_CREDIT: { Income_Tax_Credit income_Tax_Credit = (Income_Tax_Credit)theEObject; T result = caseIncome_Tax_Credit(income_Tax_Credit); - if (result == null) result = caseRoot(income_Tax_Credit); if (result == null) result = defaultCase(theEObject); return result; } @@ -193,7 +188,6 @@ public class TaxationSwitch extends Switch { Fiscal_Address fiscal_Address = (Fiscal_Address)theEObject; T result = caseFiscal_Address(fiscal_Address); if (result == null) result = caseAddress(fiscal_Address); - if (result == null) result = caseRoot(fiscal_Address); if (result == null) result = defaultCase(theEObject); return result; } @@ -201,7 +195,6 @@ public class TaxationSwitch extends Switch { Habitual_Address habitual_Address = (Habitual_Address)theEObject; T result = caseHabitual_Address(habitual_Address); if (result == null) result = caseAddress(habitual_Address); - if (result == null) result = caseRoot(habitual_Address); if (result == null) result = defaultCase(theEObject); return result; } @@ -218,7 +211,6 @@ public class TaxationSwitch extends Switch { if (result == null) result = caseTax_Payer(non_Resident_Tax_Payer); if (result == null) result = casePhysical_Person(non_Resident_Tax_Payer); if (result == null) result = caseTax_Case(non_Resident_Tax_Payer); - if (result == null) result = caseRoot(non_Resident_Tax_Payer); if (result == null) result = defaultCase(theEObject); return result; } @@ -235,7 +227,6 @@ public class TaxationSwitch extends Switch { if (result == null) result = caseTax_Payer(resident_Tax_Payer); if (result == null) result = casePhysical_Person(resident_Tax_Payer); if (result == null) result = caseTax_Case(resident_Tax_Payer); - if (result == null) result = caseRoot(resident_Tax_Payer); if (result == null) result = defaultCase(theEObject); return result; } @@ -299,7 +290,6 @@ public class TaxationSwitch extends Switch { CIM cim = (CIM)theEObject; T result = caseCIM(cim); if (result == null) result = caseIncome_Tax_Credit(cim); - if (result == null) result = caseRoot(cim); if (result == null) result = defaultCase(theEObject); return result; } @@ -307,7 +297,6 @@ public class TaxationSwitch extends Switch { CIP cip = (CIP)theEObject; T result = caseCIP(cip); if (result == null) result = caseIncome_Tax_Credit(cip); - if (result == null) result = caseRoot(cip); if (result == null) result = defaultCase(theEObject); return result; } @@ -315,85 +304,6 @@ public class TaxationSwitch extends Switch { CIS cis = (CIS)theEObject; T result = caseCIS(cis); if (result == null) result = caseIncome_Tax_Credit(cis); - if (result == null) result = caseRoot(cis); - if (result == null) result = defaultCase(theEObject); - return result; - } - case TaxationPackage.FD: { - FD fd = (FD)theEObject; - T result = caseFD(fd); - if (result == null) result = caseProfessional_Expenses_Deduction(fd); - if (result == null) result = caseRoot(fd); - if (result == null) result = defaultCase(theEObject); - return result; - } - case TaxationPackage.PROFESSIONAL_EXPENSES_DEDUCTION: { - Professional_Expenses_Deduction professional_Expenses_Deduction = (Professional_Expenses_Deduction)theEObject; - T result = caseProfessional_Expenses_Deduction(professional_Expenses_Deduction); - if (result == null) result = caseRoot(professional_Expenses_Deduction); - if (result == null) result = defaultCase(theEObject); - return result; - } - case TaxationPackage.FO: { - FO fo = (FO)theEObject; - T result = caseFO(fo); - if (result == null) result = caseProfessional_Expenses_Deduction(fo); - if (result == null) result = caseRoot(fo); - if (result == null) result = defaultCase(theEObject); - return result; - } - case TaxationPackage.DS_FOR_PERMANENT_EXPENSE: { - DS_for_Permanent_Expense dS_for_Permanent_Expense = (DS_for_Permanent_Expense)theEObject; - T result = caseDS_for_Permanent_Expense(dS_for_Permanent_Expense); - if (result == null) result = caseDS(dS_for_Permanent_Expense); - if (result == null) result = caseRoot(dS_for_Permanent_Expense); - if (result == null) result = defaultCase(theEObject); - return result; - } - case TaxationPackage.DS: { - DS ds = (DS)theEObject; - T result = caseDS(ds); - if (result == null) result = caseRoot(ds); - if (result == null) result = defaultCase(theEObject); - return result; - } - case TaxationPackage.DS_FOR_INTEREST_EXPENSE: { - DS_for_Interest_Expense dS_for_Interest_Expense = (DS_for_Interest_Expense)theEObject; - T result = caseDS_for_Interest_Expense(dS_for_Interest_Expense); - if (result == null) result = caseDS(dS_for_Interest_Expense); - if (result == null) result = caseRoot(dS_for_Interest_Expense); - if (result == null) result = defaultCase(theEObject); - return result; - } - case TaxationPackage.DS_FOR_HEALTH_AND_PENSION_INSURANCE: { - DS_for_Health_and_Pension_Insurance dS_for_Health_and_Pension_Insurance = (DS_for_Health_and_Pension_Insurance)theEObject; - T result = caseDS_for_Health_and_Pension_Insurance(dS_for_Health_and_Pension_Insurance); - if (result == null) result = caseDS(dS_for_Health_and_Pension_Insurance); - if (result == null) result = caseRoot(dS_for_Health_and_Pension_Insurance); - if (result == null) result = defaultCase(theEObject); - return result; - } - case TaxationPackage.DS_FOR_PRIVATE_INSURANCE_AND_PLAN: { - DS_for_Private_Insurance_and_Plan dS_for_Private_Insurance_and_Plan = (DS_for_Private_Insurance_and_Plan)theEObject; - T result = caseDS_for_Private_Insurance_and_Plan(dS_for_Private_Insurance_and_Plan); - if (result == null) result = caseDS(dS_for_Private_Insurance_and_Plan); - if (result == null) result = caseRoot(dS_for_Private_Insurance_and_Plan); - if (result == null) result = defaultCase(theEObject); - return result; - } - case TaxationPackage.DS_FOR_LOSS_CARRYFORWARD: { - DS_for_Loss_Carryforward dS_for_Loss_Carryforward = (DS_for_Loss_Carryforward)theEObject; - T result = caseDS_for_Loss_Carryforward(dS_for_Loss_Carryforward); - if (result == null) result = caseDS(dS_for_Loss_Carryforward); - if (result == null) result = caseRoot(dS_for_Loss_Carryforward); - if (result == null) result = defaultCase(theEObject); - return result; - } - case TaxationPackage.DS_FOR_DONATION: { - DS_for_Donation dS_for_Donation = (DS_for_Donation)theEObject; - T result = caseDS_for_Donation(dS_for_Donation); - if (result == null) result = caseDS(dS_for_Donation); - if (result == null) result = caseRoot(dS_for_Donation); if (result == null) result = defaultCase(theEObject); return result; } @@ -495,12 +405,6 @@ public class TaxationSwitch extends Switch { if (result == null) result = defaultCase(theEObject); return result; } - case TaxationPackage.ROOT: { - Root root = (Root)theEObject; - T result = caseRoot(root); - if (result == null) result = defaultCase(theEObject); - return result; - } default: return defaultCase(theEObject); } } @@ -1045,156 +949,6 @@ public class TaxationSwitch extends Switch { return null; } - /** - * Returns the result of interpreting the object as an instance of 'FD'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'FD'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseFD(FD object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Professional Expenses Deduction'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Professional Expenses Deduction'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseProfessional_Expenses_Deduction(Professional_Expenses_Deduction object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'FO'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'FO'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseFO(FO object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'DS for Permanent Expense'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'DS for Permanent Expense'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseDS_for_Permanent_Expense(DS_for_Permanent_Expense object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'DS'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'DS'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseDS(DS object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'DS for Interest Expense'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'DS for Interest Expense'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseDS_for_Interest_Expense(DS_for_Interest_Expense object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'DS for Health and Pension Insurance'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'DS for Health and Pension Insurance'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseDS_for_Health_and_Pension_Insurance(DS_for_Health_and_Pension_Insurance object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'DS for Private Insurance and Plan'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'DS for Private Insurance and Plan'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseDS_for_Private_Insurance_and_Plan(DS_for_Private_Insurance_and_Plan object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'DS for Loss Carryforward'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'DS for Loss Carryforward'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseDS_for_Loss_Carryforward(DS_for_Loss_Carryforward object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'DS for Donation'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'DS for Donation'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseDS_for_Donation(DS_for_Donation object) { - return null; - } - /** * Returns the result of interpreting the object as an instance of 'Permanent Expense'. * @@ -1390,21 +1144,6 @@ public class TaxationSwitch extends Switch { return null; } - /** - * Returns the result of interpreting the object as an instance of 'Root'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Root'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseRoot(Root object) { - return null; - } - /** * Returns the result of interpreting the object as an instance of 'EObject'. * -- cgit v1.2.3-54-g00ecf