From 750b37401bc3eb3e9deb7126d90f871973ba477b Mon Sep 17 00:00:00 2001
From: ArenBabikian
Date: Mon, 11 May 2020 10:06:57 -0400
Subject: Remove derived features from the PLEDGE MM
---
.../src/Taxation/impl/Tax_CardImpl.java | 57 ----------------------
1 file changed, 57 deletions(-)
(limited to 'Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/impl/Tax_CardImpl.java')
diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/impl/Tax_CardImpl.java b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/impl/Tax_CardImpl.java
index ebff8555..0bb2e737 100644
--- a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/impl/Tax_CardImpl.java
+++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/impl/Tax_CardImpl.java
@@ -7,7 +7,6 @@ import Taxation.Income;
import Taxation.Income_Tax_Credit;
import Taxation.Job_Activity;
import Taxation.Tax_Card;
-import Taxation.Tax_Card_Type;
import Taxation.Tax_Office;
import Taxation.TaxationPackage;
import Taxation.Town;
@@ -39,7 +38,6 @@ import org.eclipse.emf.ecore.util.InternalEList;
*
*
* - {@link Taxation.impl.Tax_CardImpl#getCard_identifier Card identifier}
- * - {@link Taxation.impl.Tax_CardImpl#getTax_card_type Tax card type}
* - {@link Taxation.impl.Tax_CardImpl#getTax_office Tax office}
* - {@link Taxation.impl.Tax_CardImpl#getPercentage_of_witholding Percentage of witholding}
* - {@link Taxation.impl.Tax_CardImpl#getTax_payers_name_surname Tax payers name surname}
@@ -98,26 +96,6 @@ public class Tax_CardImpl extends MinimalEObjectImpl.Container implements Tax_Ca
*/
protected String card_identifier = CARD_IDENTIFIER_EDEFAULT;
- /**
- * The default value of the '{@link #getTax_card_type() Tax card type}' attribute.
- *
- *
- * @see #getTax_card_type()
- * @generated
- * @ordered
- */
- protected static final Tax_Card_Type TAX_CARD_TYPE_EDEFAULT = Tax_Card_Type.PRINCIPAL;
-
- /**
- * The cached value of the '{@link #getTax_card_type() Tax card type}' attribute.
- *
- *
- * @see #getTax_card_type()
- * @generated
- * @ordered
- */
- protected Tax_Card_Type tax_card_type = TAX_CARD_TYPE_EDEFAULT;
-
/**
* The default value of the '{@link #getTax_office() Tax office}' attribute.
*
@@ -740,29 +718,6 @@ public class Tax_CardImpl extends MinimalEObjectImpl.Container implements Tax_Ca
eNotify(new ENotificationImpl(this, Notification.SET, TaxationPackage.TAX_CARD__CARD_IDENTIFIER, oldCard_identifier, card_identifier));
}
- /**
- *
- *
- * @generated
- */
- @Override
- public Tax_Card_Type getTax_card_type() {
- return tax_card_type;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public void setTax_card_type(Tax_Card_Type newTax_card_type) {
- Tax_Card_Type oldTax_card_type = tax_card_type;
- tax_card_type = newTax_card_type == null ? TAX_CARD_TYPE_EDEFAULT : newTax_card_type;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, TaxationPackage.TAX_CARD__TAX_CARD_TYPE, oldTax_card_type, tax_card_type));
- }
-
/**
*
*
@@ -1678,8 +1633,6 @@ public class Tax_CardImpl extends MinimalEObjectImpl.Container implements Tax_Ca
switch (featureID) {
case TaxationPackage.TAX_CARD__CARD_IDENTIFIER:
return getCard_identifier();
- case TaxationPackage.TAX_CARD__TAX_CARD_TYPE:
- return getTax_card_type();
case TaxationPackage.TAX_CARD__TAX_OFFICE:
return getTax_office();
case TaxationPackage.TAX_CARD__PERCENTAGE_OF_WITHOLDING:
@@ -1765,9 +1718,6 @@ public class Tax_CardImpl extends MinimalEObjectImpl.Container implements Tax_Ca
case TaxationPackage.TAX_CARD__CARD_IDENTIFIER:
setCard_identifier((String)newValue);
return;
- case TaxationPackage.TAX_CARD__TAX_CARD_TYPE:
- setTax_card_type((Tax_Card_Type)newValue);
- return;
case TaxationPackage.TAX_CARD__TAX_OFFICE:
setTax_office((Tax_Office)newValue);
return;
@@ -1885,9 +1835,6 @@ public class Tax_CardImpl extends MinimalEObjectImpl.Container implements Tax_Ca
case TaxationPackage.TAX_CARD__CARD_IDENTIFIER:
setCard_identifier(CARD_IDENTIFIER_EDEFAULT);
return;
- case TaxationPackage.TAX_CARD__TAX_CARD_TYPE:
- setTax_card_type(TAX_CARD_TYPE_EDEFAULT);
- return;
case TaxationPackage.TAX_CARD__TAX_OFFICE:
setTax_office(TAX_OFFICE_EDEFAULT);
return;
@@ -2001,8 +1948,6 @@ public class Tax_CardImpl extends MinimalEObjectImpl.Container implements Tax_Ca
switch (featureID) {
case TaxationPackage.TAX_CARD__CARD_IDENTIFIER:
return CARD_IDENTIFIER_EDEFAULT == null ? card_identifier != null : !CARD_IDENTIFIER_EDEFAULT.equals(card_identifier);
- case TaxationPackage.TAX_CARD__TAX_CARD_TYPE:
- return tax_card_type != TAX_CARD_TYPE_EDEFAULT;
case TaxationPackage.TAX_CARD__TAX_OFFICE:
return tax_office != TAX_OFFICE_EDEFAULT;
case TaxationPackage.TAX_CARD__PERCENTAGE_OF_WITHOLDING:
@@ -2085,8 +2030,6 @@ public class Tax_CardImpl extends MinimalEObjectImpl.Container implements Tax_Ca
StringBuilder result = new StringBuilder(super.toString());
result.append(" (card_identifier: ");
result.append(card_identifier);
- result.append(", tax_card_type: ");
- result.append(tax_card_type);
result.append(", tax_office: ");
result.append(tax_office);
result.append(", percentage_of_witholding: ");
--
cgit v1.2.3-70-g09d2