aboutsummaryrefslogtreecommitdiffstats
path: root/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/impl/Physical_PersonImpl.java
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/impl/Physical_PersonImpl.java')
-rw-r--r--Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/impl/Physical_PersonImpl.java39
1 files changed, 1 insertions, 38 deletions
diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/impl/Physical_PersonImpl.java b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/impl/Physical_PersonImpl.java
index a63a993e..13e12888 100644
--- a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/impl/Physical_PersonImpl.java
+++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/impl/Physical_PersonImpl.java
@@ -7,6 +7,7 @@ import Taxation.Disability_Types;
7import Taxation.Expense; 7import Taxation.Expense;
8import Taxation.Physical_Person; 8import Taxation.Physical_Person;
9import Taxation.TaxationPackage; 9import Taxation.TaxationPackage;
10
10import java.util.Collection; 11import java.util.Collection;
11 12
12import org.eclipse.emf.common.notify.Notification; 13import org.eclipse.emf.common.notify.Notification;
@@ -20,7 +21,6 @@ import org.eclipse.emf.ecore.InternalEObject;
20import org.eclipse.emf.ecore.impl.ENotificationImpl; 21import org.eclipse.emf.ecore.impl.ENotificationImpl;
21import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; 22import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
22 23
23import org.eclipse.emf.ecore.util.EObjectContainmentEList;
24import org.eclipse.emf.ecore.util.EObjectWithInverseResolvingEList; 24import org.eclipse.emf.ecore.util.EObjectWithInverseResolvingEList;
25import org.eclipse.emf.ecore.util.InternalEList; 25import org.eclipse.emf.ecore.util.InternalEList;
26 26
@@ -43,7 +43,6 @@ import org.eclipse.emf.ecore.util.InternalEList;
43 * <li>{@link Taxation.impl.Physical_PersonImpl#getBirth_day <em>Birth day</em>}</li> 43 * <li>{@link Taxation.impl.Physical_PersonImpl#getBirth_day <em>Birth day</em>}</li>
44 * <li>{@link Taxation.impl.Physical_PersonImpl#getExpenses <em>Expenses</em>}</li> 44 * <li>{@link Taxation.impl.Physical_PersonImpl#getExpenses <em>Expenses</em>}</li>
45 * <li>{@link Taxation.impl.Physical_PersonImpl#isIs_widower <em>Is widower</em>}</li> 45 * <li>{@link Taxation.impl.Physical_PersonImpl#isIs_widower <em>Is widower</em>}</li>
46 * <li>{@link Taxation.impl.Physical_PersonImpl#getOwns_Address <em>Owns Address</em>}</li>
47 * </ul> 46 * </ul>
48 * 47 *
49 * @generated 48 * @generated
@@ -250,16 +249,6 @@ public class Physical_PersonImpl extends MinimalEObjectImpl.Container implements
250 protected boolean is_widower = IS_WIDOWER_EDEFAULT; 249 protected boolean is_widower = IS_WIDOWER_EDEFAULT;
251 250
252 /** 251 /**
253 * The cached value of the '{@link #getOwns_Address() <em>Owns Address</em>}' containment reference list.
254 * <!-- begin-user-doc -->
255 * <!-- end-user-doc -->
256 * @see #getOwns_Address()
257 * @generated
258 * @ordered
259 */
260 protected EList<Address> owns_Address;
261
262 /**
263 * <!-- begin-user-doc --> 252 * <!-- begin-user-doc -->
264 * <!-- end-user-doc --> 253 * <!-- end-user-doc -->
265 * @generated 254 * @generated
@@ -516,19 +505,6 @@ public class Physical_PersonImpl extends MinimalEObjectImpl.Container implements
516 * <!-- end-user-doc --> 505 * <!-- end-user-doc -->
517 * @generated 506 * @generated
518 */ 507 */
519 @Override
520 public EList<Address> getOwns_Address() {
521 if (owns_Address == null) {
522 owns_Address = new EObjectContainmentEList<Address>(Address.class, this, TaxationPackage.PHYSICAL_PERSON__OWNS_ADDRESS);
523 }
524 return owns_Address;
525 }
526
527 /**
528 * <!-- begin-user-doc -->
529 * <!-- end-user-doc -->
530 * @generated
531 */
532 @SuppressWarnings("unchecked") 508 @SuppressWarnings("unchecked")
533 @Override 509 @Override
534 public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) { 510 public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
@@ -553,8 +529,6 @@ public class Physical_PersonImpl extends MinimalEObjectImpl.Container implements
553 return ((InternalEList<?>)getAddresses()).basicRemove(otherEnd, msgs); 529 return ((InternalEList<?>)getAddresses()).basicRemove(otherEnd, msgs);
554 case TaxationPackage.PHYSICAL_PERSON__EXPENSES: 530 case TaxationPackage.PHYSICAL_PERSON__EXPENSES:
555 return ((InternalEList<?>)getExpenses()).basicRemove(otherEnd, msgs); 531 return ((InternalEList<?>)getExpenses()).basicRemove(otherEnd, msgs);
556 case TaxationPackage.PHYSICAL_PERSON__OWNS_ADDRESS:
557 return ((InternalEList<?>)getOwns_Address()).basicRemove(otherEnd, msgs);
558 } 532 }
559 return super.eInverseRemove(otherEnd, featureID, msgs); 533 return super.eInverseRemove(otherEnd, featureID, msgs);
560 } 534 }
@@ -589,8 +563,6 @@ public class Physical_PersonImpl extends MinimalEObjectImpl.Container implements
589 return getExpenses(); 563 return getExpenses();
590 case TaxationPackage.PHYSICAL_PERSON__IS_WIDOWER: 564 case TaxationPackage.PHYSICAL_PERSON__IS_WIDOWER:
591 return isIs_widower(); 565 return isIs_widower();
592 case TaxationPackage.PHYSICAL_PERSON__OWNS_ADDRESS:
593 return getOwns_Address();
594 } 566 }
595 return super.eGet(featureID, resolve, coreType); 567 return super.eGet(featureID, resolve, coreType);
596 } 568 }
@@ -639,10 +611,6 @@ public class Physical_PersonImpl extends MinimalEObjectImpl.Container implements
639 case TaxationPackage.PHYSICAL_PERSON__IS_WIDOWER: 611 case TaxationPackage.PHYSICAL_PERSON__IS_WIDOWER:
640 setIs_widower((Boolean)newValue); 612 setIs_widower((Boolean)newValue);
641 return; 613 return;
642 case TaxationPackage.PHYSICAL_PERSON__OWNS_ADDRESS:
643 getOwns_Address().clear();
644 getOwns_Address().addAll((Collection<? extends Address>)newValue);
645 return;
646 } 614 }
647 super.eSet(featureID, newValue); 615 super.eSet(featureID, newValue);
648 } 616 }
@@ -688,9 +656,6 @@ public class Physical_PersonImpl extends MinimalEObjectImpl.Container implements
688 case TaxationPackage.PHYSICAL_PERSON__IS_WIDOWER: 656 case TaxationPackage.PHYSICAL_PERSON__IS_WIDOWER:
689 setIs_widower(IS_WIDOWER_EDEFAULT); 657 setIs_widower(IS_WIDOWER_EDEFAULT);
690 return; 658 return;
691 case TaxationPackage.PHYSICAL_PERSON__OWNS_ADDRESS:
692 getOwns_Address().clear();
693 return;
694 } 659 }
695 super.eUnset(featureID); 660 super.eUnset(featureID);
696 } 661 }
@@ -725,8 +690,6 @@ public class Physical_PersonImpl extends MinimalEObjectImpl.Container implements
725 return expenses != null && !expenses.isEmpty(); 690 return expenses != null && !expenses.isEmpty();
726 case TaxationPackage.PHYSICAL_PERSON__IS_WIDOWER: 691 case TaxationPackage.PHYSICAL_PERSON__IS_WIDOWER:
727 return is_widower != IS_WIDOWER_EDEFAULT; 692 return is_widower != IS_WIDOWER_EDEFAULT;
728 case TaxationPackage.PHYSICAL_PERSON__OWNS_ADDRESS:
729 return owns_Address != null && !owns_Address.isEmpty();
730 } 693 }
731 return super.eIsSet(featureID); 694 return super.eIsSet(featureID);
732 } 695 }