aboutsummaryrefslogtreecommitdiffstats
path: root/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/impl/External_AllowanceImpl.java
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/impl/External_AllowanceImpl.java')
-rw-r--r--Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/impl/External_AllowanceImpl.java58
1 files changed, 1 insertions, 57 deletions
diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/impl/External_AllowanceImpl.java b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/impl/External_AllowanceImpl.java
index d73a0014..5a846b56 100644
--- a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/impl/External_AllowanceImpl.java
+++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/impl/External_AllowanceImpl.java
@@ -27,7 +27,6 @@ import org.eclipse.emf.ecore.util.EcoreUtil;
27 * The following features are implemented: 27 * The following features are implemented:
28 * </p> 28 * </p>
29 * <ul> 29 * <ul>
30 * <li>{@link Taxation.impl.External_AllowanceImpl#getAmount <em>Amount</em>}</li>
31 * <li>{@link Taxation.impl.External_AllowanceImpl#getGrantor <em>Grantor</em>}</li> 30 * <li>{@link Taxation.impl.External_AllowanceImpl#getGrantor <em>Grantor</em>}</li>
32 * <li>{@link Taxation.impl.External_AllowanceImpl#getStarting_year <em>Starting year</em>}</li> 31 * <li>{@link Taxation.impl.External_AllowanceImpl#getStarting_year <em>Starting year</em>}</li>
33 * <li>{@link Taxation.impl.External_AllowanceImpl#getEnding_year <em>Ending year</em>}</li> 32 * <li>{@link Taxation.impl.External_AllowanceImpl#getEnding_year <em>Ending year</em>}</li>
@@ -40,26 +39,6 @@ import org.eclipse.emf.ecore.util.EcoreUtil;
40 */ 39 */
41public class External_AllowanceImpl extends MinimalEObjectImpl.Container implements External_Allowance { 40public class External_AllowanceImpl extends MinimalEObjectImpl.Container implements External_Allowance {
42 /** 41 /**
43 * The default value of the '{@link #getAmount() <em>Amount</em>}' attribute.
44 * <!-- begin-user-doc -->
45 * <!-- end-user-doc -->
46 * @see #getAmount()
47 * @generated
48 * @ordered
49 */
50 protected static final double AMOUNT_EDEFAULT = 0.0;
51
52 /**
53 * The cached value of the '{@link #getAmount() <em>Amount</em>}' attribute.
54 * <!-- begin-user-doc -->
55 * <!-- end-user-doc -->
56 * @see #getAmount()
57 * @generated
58 * @ordered
59 */
60 protected double amount = AMOUNT_EDEFAULT;
61
62 /**
63 * The default value of the '{@link #getGrantor() <em>Grantor</em>}' attribute. 42 * The default value of the '{@link #getGrantor() <em>Grantor</em>}' attribute.
64 * <!-- begin-user-doc --> 43 * <!-- begin-user-doc -->
65 * <!-- end-user-doc --> 44 * <!-- end-user-doc -->
@@ -174,29 +153,6 @@ public class External_AllowanceImpl extends MinimalEObjectImpl.Container impleme
174 * @generated 153 * @generated
175 */ 154 */
176 @Override 155 @Override
177 public double getAmount() {
178 return amount;
179 }
180
181 /**
182 * <!-- begin-user-doc -->
183 * <!-- end-user-doc -->
184 * @generated
185 */
186 @Override
187 public void setAmount(double newAmount) {
188 double oldAmount = amount;
189 amount = newAmount;
190 if (eNotificationRequired())
191 eNotify(new ENotificationImpl(this, Notification.SET, TaxationPackage.EXTERNAL_ALLOWANCE__AMOUNT, oldAmount, amount));
192 }
193
194 /**
195 * <!-- begin-user-doc -->
196 * <!-- end-user-doc -->
197 * @generated
198 */
199 @Override
200 public Grantor getGrantor() { 156 public Grantor getGrantor() {
201 return grantor; 157 return grantor;
202 } 158 }
@@ -418,8 +374,6 @@ public class External_AllowanceImpl extends MinimalEObjectImpl.Container impleme
418 @Override 374 @Override
419 public Object eGet(int featureID, boolean resolve, boolean coreType) { 375 public Object eGet(int featureID, boolean resolve, boolean coreType) {
420 switch (featureID) { 376 switch (featureID) {
421 case TaxationPackage.EXTERNAL_ALLOWANCE__AMOUNT:
422 return getAmount();
423 case TaxationPackage.EXTERNAL_ALLOWANCE__GRANTOR: 377 case TaxationPackage.EXTERNAL_ALLOWANCE__GRANTOR:
424 return getGrantor(); 378 return getGrantor();
425 case TaxationPackage.EXTERNAL_ALLOWANCE__STARTING_YEAR: 379 case TaxationPackage.EXTERNAL_ALLOWANCE__STARTING_YEAR:
@@ -445,9 +399,6 @@ public class External_AllowanceImpl extends MinimalEObjectImpl.Container impleme
445 @Override 399 @Override
446 public void eSet(int featureID, Object newValue) { 400 public void eSet(int featureID, Object newValue) {
447 switch (featureID) { 401 switch (featureID) {
448 case TaxationPackage.EXTERNAL_ALLOWANCE__AMOUNT:
449 setAmount((Double)newValue);
450 return;
451 case TaxationPackage.EXTERNAL_ALLOWANCE__GRANTOR: 402 case TaxationPackage.EXTERNAL_ALLOWANCE__GRANTOR:
452 setGrantor((Grantor)newValue); 403 setGrantor((Grantor)newValue);
453 return; 404 return;
@@ -478,9 +429,6 @@ public class External_AllowanceImpl extends MinimalEObjectImpl.Container impleme
478 @Override 429 @Override
479 public void eUnset(int featureID) { 430 public void eUnset(int featureID) {
480 switch (featureID) { 431 switch (featureID) {
481 case TaxationPackage.EXTERNAL_ALLOWANCE__AMOUNT:
482 setAmount(AMOUNT_EDEFAULT);
483 return;
484 case TaxationPackage.EXTERNAL_ALLOWANCE__GRANTOR: 432 case TaxationPackage.EXTERNAL_ALLOWANCE__GRANTOR:
485 setGrantor(GRANTOR_EDEFAULT); 433 setGrantor(GRANTOR_EDEFAULT);
486 return; 434 return;
@@ -511,8 +459,6 @@ public class External_AllowanceImpl extends MinimalEObjectImpl.Container impleme
511 @Override 459 @Override
512 public boolean eIsSet(int featureID) { 460 public boolean eIsSet(int featureID) {
513 switch (featureID) { 461 switch (featureID) {
514 case TaxationPackage.EXTERNAL_ALLOWANCE__AMOUNT:
515 return amount != AMOUNT_EDEFAULT;
516 case TaxationPackage.EXTERNAL_ALLOWANCE__GRANTOR: 462 case TaxationPackage.EXTERNAL_ALLOWANCE__GRANTOR:
517 return grantor != GRANTOR_EDEFAULT; 463 return grantor != GRANTOR_EDEFAULT;
518 case TaxationPackage.EXTERNAL_ALLOWANCE__STARTING_YEAR: 464 case TaxationPackage.EXTERNAL_ALLOWANCE__STARTING_YEAR:
@@ -539,9 +485,7 @@ public class External_AllowanceImpl extends MinimalEObjectImpl.Container impleme
539 if (eIsProxy()) return super.toString(); 485 if (eIsProxy()) return super.toString();
540 486
541 StringBuilder result = new StringBuilder(super.toString()); 487 StringBuilder result = new StringBuilder(super.toString());
542 result.append(" (amount: "); 488 result.append(" (grantor: ");
543 result.append(amount);
544 result.append(", grantor: ");
545 result.append(grantor); 489 result.append(grantor);
546 result.append(", starting_year: "); 490 result.append(", starting_year: ");
547 result.append(starting_year); 491 result.append(starting_year);