From 68a0667e862f0714410aafbb499a95a03f5bee23 Mon Sep 17 00:00:00 2001 From: ArenBabikian Date: Tue, 28 Apr 2020 00:29:00 -0400 Subject: Able to run Pledge Case Study --- .../src/Taxation/TaxationPackage.java | 340 +++------------------ 1 file changed, 41 insertions(+), 299 deletions(-) (limited to 'Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/TaxationPackage.java') diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/TaxationPackage.java b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/TaxationPackage.java index 260e296f..8706121f 100644 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/TaxationPackage.java +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/TaxationPackage.java @@ -484,15 +484,6 @@ public interface TaxationPackage extends EPackage { */ int PHYSICAL_PERSON__IS_WIDOWER = 10; - /** - * The feature id for the 'Owns Address' containment reference list. - * - * - * @generated - * @ordered - */ - int PHYSICAL_PERSON__OWNS_ADDRESS = 11; - /** * The number of structural features of the 'Physical Person' class. * @@ -500,7 +491,7 @@ public interface TaxationPackage extends EPackage { * @generated * @ordered */ - int PHYSICAL_PERSON_FEATURE_COUNT = 12; + int PHYSICAL_PERSON_FEATURE_COUNT = 11; /** * The number of operations of the 'Physical Person' class. @@ -620,15 +611,6 @@ public interface TaxationPackage extends EPackage { */ int TAX_PAYER__IS_WIDOWER = PHYSICAL_PERSON__IS_WIDOWER; - /** - * The feature id for the 'Owns Address' containment reference list. - * - * - * @generated - * @ordered - */ - int TAX_PAYER__OWNS_ADDRESS = PHYSICAL_PERSON__OWNS_ADDRESS; - /** * The feature id for the 'Dependents' containment reference list. * @@ -974,15 +956,6 @@ public interface TaxationPackage extends EPackage { */ int DEPENDENT__IS_WIDOWER = PHYSICAL_PERSON__IS_WIDOWER; - /** - * The feature id for the 'Owns Address' containment reference list. - * - * - * @generated - * @ordered - */ - int DEPENDENT__OWNS_ADDRESS = PHYSICAL_PERSON__OWNS_ADDRESS; - /** * The feature id for the 'Dependent type' attribute. * @@ -1503,33 +1476,6 @@ public interface TaxationPackage extends EPackage { */ int INCOME__INCOME_TYPE = 1; - /** - * The feature id for the 'Start date within taxation year' attribute. - * - * - * @generated - * @ordered - */ - int INCOME__START_DATE_WITHIN_TAXATION_YEAR = 2; - - /** - * The feature id for the 'Start date of contract' attribute. - * - * - * @generated - * @ordered - */ - int INCOME__START_DATE_OF_CONTRACT = 3; - - /** - * The feature id for the 'End date within taxation year' attribute. - * - * - * @generated - * @ordered - */ - int INCOME__END_DATE_WITHIN_TAXATION_YEAR = 4; - /** * The feature id for the 'Tax card' containment reference. * @@ -1537,7 +1483,7 @@ public interface TaxationPackage extends EPackage { * @generated * @ordered */ - int INCOME__TAX_CARD = 5; + int INCOME__TAX_CARD = 2; /** * The feature id for the 'Tax liability' attribute. @@ -1546,7 +1492,7 @@ public interface TaxationPackage extends EPackage { * @generated * @ordered */ - int INCOME__TAX_LIABILITY = 6; + int INCOME__TAX_LIABILITY = 3; /** * The feature id for the 'Tax Payer' container reference. @@ -1555,7 +1501,7 @@ public interface TaxationPackage extends EPackage { * @generated * @ordered */ - int INCOME__TAX_PAYER = 7; + int INCOME__TAX_PAYER = 4; /** * The feature id for the 'Details' containment reference list. @@ -1564,7 +1510,7 @@ public interface TaxationPackage extends EPackage { * @generated * @ordered */ - int INCOME__DETAILS = 8; + int INCOME__DETAILS = 5; /** * The feature id for the 'Num' attribute. @@ -1573,7 +1519,7 @@ public interface TaxationPackage extends EPackage { * @generated * @ordered */ - int INCOME__NUM = 9; + int INCOME__NUM = 6; /** * The feature id for the 'Expenses' containment reference list. @@ -1582,7 +1528,7 @@ public interface TaxationPackage extends EPackage { * @generated * @ordered */ - int INCOME__EXPENSES = 10; + int INCOME__EXPENSES = 7; /** * The number of structural features of the 'Income' class. @@ -1591,7 +1537,7 @@ public interface TaxationPackage extends EPackage { * @generated * @ordered */ - int INCOME_FEATURE_COUNT = 11; + int INCOME_FEATURE_COUNT = 8; /** * The number of operations of the 'Income' class. @@ -1694,24 +1640,6 @@ public interface TaxationPackage extends EPackage { */ int TAX_CARD__TAX_OFFICE = 2; - /** - * The feature id for the 'Valid from date' attribute. - * - * - * @generated - * @ordered - */ - int TAX_CARD__VALID_FROM_DATE = 3; - - /** - * The feature id for the 'Valid until date' attribute. - * - * - * @generated - * @ordered - */ - int TAX_CARD__VALID_UNTIL_DATE = 4; - /** * The feature id for the 'Percentage of witholding' attribute. * @@ -1719,7 +1647,7 @@ public interface TaxationPackage extends EPackage { * @generated * @ordered */ - int TAX_CARD__PERCENTAGE_OF_WITHOLDING = 5; + int TAX_CARD__PERCENTAGE_OF_WITHOLDING = 3; /** * The feature id for the 'Tax payers name surname' attribute list. @@ -1728,7 +1656,7 @@ public interface TaxationPackage extends EPackage { * @generated * @ordered */ - int TAX_CARD__TAX_PAYERS_NAME_SURNAME = 6; + int TAX_CARD__TAX_PAYERS_NAME_SURNAME = 4; /** * The feature id for the 'Tax payers partner name surname' attribute list. @@ -1737,7 +1665,7 @@ public interface TaxationPackage extends EPackage { * @generated * @ordered */ - int TAX_CARD__TAX_PAYERS_PARTNER_NAME_SURNAME = 7; + int TAX_CARD__TAX_PAYERS_PARTNER_NAME_SURNAME = 5; /** * The feature id for the 'Tax payers address' reference. @@ -1746,7 +1674,7 @@ public interface TaxationPackage extends EPackage { * @generated * @ordered */ - int TAX_CARD__TAX_PAYERS_ADDRESS = 8; + int TAX_CARD__TAX_PAYERS_ADDRESS = 6; /** * The feature id for the 'Jobs Employer SS No' attribute. @@ -1755,7 +1683,7 @@ public interface TaxationPackage extends EPackage { * @generated * @ordered */ - int TAX_CARD__JOBS_EMPLOYER_SS_NO = 9; + int TAX_CARD__JOBS_EMPLOYER_SS_NO = 7; /** * The feature id for the 'Jobs employers name' attribute. @@ -1764,7 +1692,7 @@ public interface TaxationPackage extends EPackage { * @generated * @ordered */ - int TAX_CARD__JOBS_EMPLOYERS_NAME = 10; + int TAX_CARD__JOBS_EMPLOYERS_NAME = 8; /** * The feature id for the 'Jobs activity type' attribute. @@ -1773,7 +1701,7 @@ public interface TaxationPackage extends EPackage { * @generated * @ordered */ - int TAX_CARD__JOBS_ACTIVITY_TYPE = 11; + int TAX_CARD__JOBS_ACTIVITY_TYPE = 9; /** * The feature id for the 'Jobs place of work' attribute. @@ -1782,7 +1710,7 @@ public interface TaxationPackage extends EPackage { * @generated * @ordered */ - int TAX_CARD__JOBS_PLACE_OF_WORK = 12; + int TAX_CARD__JOBS_PLACE_OF_WORK = 10; /** * The feature id for the 'Deduction FD daily' attribute. @@ -1791,7 +1719,7 @@ public interface TaxationPackage extends EPackage { * @generated * @ordered */ - int TAX_CARD__DEDUCTION_FD_DAILY = 13; + int TAX_CARD__DEDUCTION_FD_DAILY = 11; /** * The feature id for the 'Deduction FD monthly' attribute. @@ -1800,7 +1728,7 @@ public interface TaxationPackage extends EPackage { * @generated * @ordered */ - int TAX_CARD__DEDUCTION_FD_MONTHLY = 14; + int TAX_CARD__DEDUCTION_FD_MONTHLY = 12; /** * The feature id for the 'Deduction AC daily' attribute. @@ -1809,7 +1737,7 @@ public interface TaxationPackage extends EPackage { * @generated * @ordered */ - int TAX_CARD__DEDUCTION_AC_DAILY = 15; + int TAX_CARD__DEDUCTION_AC_DAILY = 13; /** * The feature id for the 'Deduction AC monthly' attribute. @@ -1818,7 +1746,7 @@ public interface TaxationPackage extends EPackage { * @generated * @ordered */ - int TAX_CARD__DEDUCTION_AC_MONTHLY = 16; + int TAX_CARD__DEDUCTION_AC_MONTHLY = 14; /** * The feature id for the 'Deduction AC yearly' attribute. @@ -1827,7 +1755,7 @@ public interface TaxationPackage extends EPackage { * @generated * @ordered */ - int TAX_CARD__DEDUCTION_AC_YEARLY = 17; + int TAX_CARD__DEDUCTION_AC_YEARLY = 15; /** * The feature id for the 'Deduction CE daily' attribute. @@ -1836,7 +1764,7 @@ public interface TaxationPackage extends EPackage { * @generated * @ordered */ - int TAX_CARD__DEDUCTION_CE_DAILY = 18; + int TAX_CARD__DEDUCTION_CE_DAILY = 16; /** * The feature id for the 'Deduction CE monthly' attribute. @@ -1845,7 +1773,7 @@ public interface TaxationPackage extends EPackage { * @generated * @ordered */ - int TAX_CARD__DEDUCTION_CE_MONTHLY = 19; + int TAX_CARD__DEDUCTION_CE_MONTHLY = 17; /** * The feature id for the 'Deduction CE yearly' attribute. @@ -1854,7 +1782,7 @@ public interface TaxationPackage extends EPackage { * @generated * @ordered */ - int TAX_CARD__DEDUCTION_CE_YEARLY = 20; + int TAX_CARD__DEDUCTION_CE_YEARLY = 18; /** * The feature id for the 'Deduction DS daily' attribute. @@ -1863,7 +1791,7 @@ public interface TaxationPackage extends EPackage { * @generated * @ordered */ - int TAX_CARD__DEDUCTION_DS_DAILY = 21; + int TAX_CARD__DEDUCTION_DS_DAILY = 19; /** * The feature id for the 'Deduction DS monthly' attribute. @@ -1872,7 +1800,7 @@ public interface TaxationPackage extends EPackage { * @generated * @ordered */ - int TAX_CARD__DEDUCTION_DS_MONTHLY = 22; + int TAX_CARD__DEDUCTION_DS_MONTHLY = 20; /** * The feature id for the 'Deduction FO daily' attribute. @@ -1881,7 +1809,7 @@ public interface TaxationPackage extends EPackage { * @generated * @ordered */ - int TAX_CARD__DEDUCTION_FO_DAILY = 23; + int TAX_CARD__DEDUCTION_FO_DAILY = 21; /** * The feature id for the 'Deduction FO monthly' attribute. @@ -1890,7 +1818,7 @@ public interface TaxationPackage extends EPackage { * @generated * @ordered */ - int TAX_CARD__DEDUCTION_FO_MONTHLY = 24; + int TAX_CARD__DEDUCTION_FO_MONTHLY = 22; /** * The feature id for the 'Deduction FO yearly' attribute. @@ -1899,7 +1827,7 @@ public interface TaxationPackage extends EPackage { * @generated * @ordered */ - int TAX_CARD__DEDUCTION_FO_YEARLY = 25; + int TAX_CARD__DEDUCTION_FO_YEARLY = 23; /** * The feature id for the 'Credit CIS daily' attribute. @@ -1908,7 +1836,7 @@ public interface TaxationPackage extends EPackage { * @generated * @ordered */ - int TAX_CARD__CREDIT_CIS_DAILY = 26; + int TAX_CARD__CREDIT_CIS_DAILY = 24; /** * The feature id for the 'Credit CIS monthly' attribute. @@ -1917,7 +1845,7 @@ public interface TaxationPackage extends EPackage { * @generated * @ordered */ - int TAX_CARD__CREDIT_CIS_MONTHLY = 27; + int TAX_CARD__CREDIT_CIS_MONTHLY = 25; /** * The feature id for the 'Credit CIM daily' attribute. @@ -1926,7 +1854,7 @@ public interface TaxationPackage extends EPackage { * @generated * @ordered */ - int TAX_CARD__CREDIT_CIM_DAILY = 28; + int TAX_CARD__CREDIT_CIM_DAILY = 26; /** * The feature id for the 'Validity' attribute. @@ -1935,7 +1863,7 @@ public interface TaxationPackage extends EPackage { * @generated * @ordered */ - int TAX_CARD__VALIDITY = 29; + int TAX_CARD__VALIDITY = 27; /** * The feature id for the 'Income Tax Credit' reference list. @@ -1944,7 +1872,7 @@ public interface TaxationPackage extends EPackage { * @generated * @ordered */ - int TAX_CARD__INCOME_TAX_CREDIT = 30; + int TAX_CARD__INCOME_TAX_CREDIT = 28; /** * The feature id for the 'Previous' reference. @@ -1953,7 +1881,7 @@ public interface TaxationPackage extends EPackage { * @generated * @ordered */ - int TAX_CARD__PREVIOUS = 31; + int TAX_CARD__PREVIOUS = 29; /** * The feature id for the 'Current tax card' reference. @@ -1962,7 +1890,7 @@ public interface TaxationPackage extends EPackage { * @generated * @ordered */ - int TAX_CARD__CURRENT_TAX_CARD = 32; + int TAX_CARD__CURRENT_TAX_CARD = 30; /** * The feature id for the 'Credit CIM yearly' attribute. @@ -1971,7 +1899,7 @@ public interface TaxationPackage extends EPackage { * @generated * @ordered */ - int TAX_CARD__CREDIT_CIM_YEARLY = 33; + int TAX_CARD__CREDIT_CIM_YEARLY = 31; /** * The feature id for the 'Deduction DS Alimony yearly' attribute. @@ -1980,7 +1908,7 @@ public interface TaxationPackage extends EPackage { * @generated * @ordered */ - int TAX_CARD__DEDUCTION_DS_ALIMONY_YEARLY = 34; + int TAX_CARD__DEDUCTION_DS_ALIMONY_YEARLY = 32; /** * The feature id for the 'Deduction DS Debt yearly' attribute. @@ -1989,7 +1917,7 @@ public interface TaxationPackage extends EPackage { * @generated * @ordered */ - int TAX_CARD__DEDUCTION_DS_DEBT_YEARLY = 35; + int TAX_CARD__DEDUCTION_DS_DEBT_YEARLY = 33; /** * The feature id for the 'Income' container reference. @@ -1998,7 +1926,7 @@ public interface TaxationPackage extends EPackage { * @generated * @ordered */ - int TAX_CARD__INCOME = 36; + int TAX_CARD__INCOME = 34; /** * The number of structural features of the 'Tax Card' class. @@ -2007,7 +1935,7 @@ public interface TaxationPackage extends EPackage { * @generated * @ordered */ - int TAX_CARD_FEATURE_COUNT = 37; + int TAX_CARD_FEATURE_COUNT = 35; /** * The number of operations of the 'Tax Card' class. @@ -2637,15 +2565,6 @@ public interface TaxationPackage extends EPackage { */ int NON_RESIDENT_TAX_PAYER__IS_WIDOWER = TAX_PAYER__IS_WIDOWER; - /** - * The feature id for the 'Owns Address' containment reference list. - * - * - * @generated - * @ordered - */ - int NON_RESIDENT_TAX_PAYER__OWNS_ADDRESS = TAX_PAYER__OWNS_ADDRESS; - /** * The feature id for the 'Dependents' containment reference list. * @@ -2936,15 +2855,6 @@ public interface TaxationPackage extends EPackage { */ int RESIDENT_TAX_PAYER__IS_WIDOWER = TAX_PAYER__IS_WIDOWER; - /** - * The feature id for the 'Owns Address' containment reference list. - * - * - * @generated - * @ordered - */ - int RESIDENT_TAX_PAYER__OWNS_ADDRESS = TAX_PAYER__OWNS_ADDRESS; - /** * The feature id for the 'Dependents' containment reference list. * @@ -3384,33 +3294,6 @@ public interface TaxationPackage extends EPackage { */ int FOREIGN_INCOME__INCOME_TYPE = INCOME__INCOME_TYPE; - /** - * The feature id for the 'Start date within taxation year' attribute. - * - * - * @generated - * @ordered - */ - int FOREIGN_INCOME__START_DATE_WITHIN_TAXATION_YEAR = INCOME__START_DATE_WITHIN_TAXATION_YEAR; - - /** - * The feature id for the 'Start date of contract' attribute. - * - * - * @generated - * @ordered - */ - int FOREIGN_INCOME__START_DATE_OF_CONTRACT = INCOME__START_DATE_OF_CONTRACT; - - /** - * The feature id for the 'End date within taxation year' attribute. - * - * - * @generated - * @ordered - */ - int FOREIGN_INCOME__END_DATE_WITHIN_TAXATION_YEAR = INCOME__END_DATE_WITHIN_TAXATION_YEAR; - /** * The feature id for the 'Tax card' containment reference. * @@ -3511,33 +3394,6 @@ public interface TaxationPackage extends EPackage { */ int LOCAL_INCOME__INCOME_TYPE = INCOME__INCOME_TYPE; - /** - * The feature id for the 'Start date within taxation year' attribute. - * - * - * @generated - * @ordered - */ - int LOCAL_INCOME__START_DATE_WITHIN_TAXATION_YEAR = INCOME__START_DATE_WITHIN_TAXATION_YEAR; - - /** - * The feature id for the 'Start date of contract' attribute. - * - * - * @generated - * @ordered - */ - int LOCAL_INCOME__START_DATE_OF_CONTRACT = INCOME__START_DATE_OF_CONTRACT; - - /** - * The feature id for the 'End date within taxation year' attribute. - * - * - * @generated - * @ordered - */ - int LOCAL_INCOME__END_DATE_WITHIN_TAXATION_YEAR = INCOME__END_DATE_WITHIN_TAXATION_YEAR; - /** * The feature id for the 'Tax card' containment reference. * @@ -6339,17 +6195,6 @@ public interface TaxationPackage extends EPackage { */ EAttribute getPhysical_Person_Is_widower(); - /** - * Returns the meta object for the containment reference list '{@link Taxation.Physical_Person#getOwns_Address Owns Address}'. - * - * - * @return the meta object for the containment reference list 'Owns Address'. - * @see Taxation.Physical_Person#getOwns_Address() - * @see #getPhysical_Person() - * @generated - */ - EReference getPhysical_Person_Owns_Address(); - /** * Returns the meta object for class '{@link Taxation.Address Address}'. * @@ -6989,39 +6834,6 @@ public interface TaxationPackage extends EPackage { */ EReference getIncome_Income_type(); - /** - * Returns the meta object for the attribute '{@link Taxation.Income#getStart_date_within_taxation_year Start date within taxation year}'. - * - * - * @return the meta object for the attribute 'Start date within taxation year'. - * @see Taxation.Income#getStart_date_within_taxation_year() - * @see #getIncome() - * @generated - */ - EAttribute getIncome_Start_date_within_taxation_year(); - - /** - * Returns the meta object for the attribute '{@link Taxation.Income#getStart_date_of_contract Start date of contract}'. - * - * - * @return the meta object for the attribute 'Start date of contract'. - * @see Taxation.Income#getStart_date_of_contract() - * @see #getIncome() - * @generated - */ - EAttribute getIncome_Start_date_of_contract(); - - /** - * Returns the meta object for the attribute '{@link Taxation.Income#getEnd_date_within_taxation_year End date within taxation year}'. - * - * - * @return the meta object for the attribute 'End date within taxation year'. - * @see Taxation.Income#getEnd_date_within_taxation_year() - * @see #getIncome() - * @generated - */ - EAttribute getIncome_End_date_within_taxation_year(); - /** * Returns the meta object for the containment reference '{@link Taxation.Income#getTax_card Tax card}'. * @@ -7174,28 +6986,6 @@ public interface TaxationPackage extends EPackage { */ EAttribute getTax_Card_Tax_office(); - /** - * Returns the meta object for the attribute '{@link Taxation.Tax_Card#getValid_from_date Valid from date}'. - * - * - * @return the meta object for the attribute 'Valid from date'. - * @see Taxation.Tax_Card#getValid_from_date() - * @see #getTax_Card() - * @generated - */ - EAttribute getTax_Card_Valid_from_date(); - - /** - * Returns the meta object for the attribute '{@link Taxation.Tax_Card#getValid_until_date Valid until date}'. - * - * - * @return the meta object for the attribute 'Valid until date'. - * @see Taxation.Tax_Card#getValid_until_date() - * @see #getTax_Card() - * @generated - */ - EAttribute getTax_Card_Valid_until_date(); - /** * Returns the meta object for the attribute '{@link Taxation.Tax_Card#getPercentage_of_witholding Percentage of witholding}'. * @@ -9078,14 +8868,6 @@ public interface TaxationPackage extends EPackage { */ EAttribute PHYSICAL_PERSON__IS_WIDOWER = eINSTANCE.getPhysical_Person_Is_widower(); - /** - * The meta object literal for the 'Owns Address' containment reference list feature. - * - * - * @generated - */ - EReference PHYSICAL_PERSON__OWNS_ADDRESS = eINSTANCE.getPhysical_Person_Owns_Address(); - /** * The meta object literal for the '{@link Taxation.impl.AddressImpl Address}' class. * @@ -9578,30 +9360,6 @@ public interface TaxationPackage extends EPackage { */ EReference INCOME__INCOME_TYPE = eINSTANCE.getIncome_Income_type(); - /** - * The meta object literal for the 'Start date within taxation year' attribute feature. - * - * - * @generated - */ - EAttribute INCOME__START_DATE_WITHIN_TAXATION_YEAR = eINSTANCE.getIncome_Start_date_within_taxation_year(); - - /** - * The meta object literal for the 'Start date of contract' attribute feature. - * - * - * @generated - */ - EAttribute INCOME__START_DATE_OF_CONTRACT = eINSTANCE.getIncome_Start_date_of_contract(); - - /** - * The meta object literal for the 'End date within taxation year' attribute feature. - * - * - * @generated - */ - EAttribute INCOME__END_DATE_WITHIN_TAXATION_YEAR = eINSTANCE.getIncome_End_date_within_taxation_year(); - /** * The meta object literal for the 'Tax card' containment reference feature. * @@ -9718,22 +9476,6 @@ public interface TaxationPackage extends EPackage { */ EAttribute TAX_CARD__TAX_OFFICE = eINSTANCE.getTax_Card_Tax_office(); - /** - * The meta object literal for the 'Valid from date' attribute feature. - * - * - * @generated - */ - EAttribute TAX_CARD__VALID_FROM_DATE = eINSTANCE.getTax_Card_Valid_from_date(); - - /** - * The meta object literal for the 'Valid until date' attribute feature. - * - * - * @generated - */ - EAttribute TAX_CARD__VALID_UNTIL_DATE = eINSTANCE.getTax_Card_Valid_until_date(); - /** * The meta object literal for the 'Percentage of witholding' attribute feature. * -- cgit v1.2.3-70-g09d2