aboutsummaryrefslogtreecommitdiffstats
path: root/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/impl/Private_Insurance_and_PlanImpl.java
diff options
context:
space:
mode:
authorLibravatar ArenBabikian <aren.babikian@mail.mcgill.ca>2020-05-11 10:06:57 -0400
committerLibravatar ArenBabikian <aren.babikian@mail.mcgill.ca>2020-05-11 10:06:57 -0400
commit750b37401bc3eb3e9deb7126d90f871973ba477b (patch)
treeabe90e700f79ae1e126586039bf15d2a51dbb60c /Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/impl/Private_Insurance_and_PlanImpl.java
parentAllow real numbers to be in the solution (diff)
downloadVIATRA-Generator-750b37401bc3eb3e9deb7126d90f871973ba477b.tar.gz
VIATRA-Generator-750b37401bc3eb3e9deb7126d90f871973ba477b.tar.zst
VIATRA-Generator-750b37401bc3eb3e9deb7126d90f871973ba477b.zip
Remove derived features from the PLEDGE MM
Diffstat (limited to 'Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/impl/Private_Insurance_and_PlanImpl.java')
-rw-r--r--Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/impl/Private_Insurance_and_PlanImpl.java56
1 files changed, 0 insertions, 56 deletions
diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/impl/Private_Insurance_and_PlanImpl.java b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/impl/Private_Insurance_and_PlanImpl.java
index 2b1cd545..0ee24a42 100644
--- a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/impl/Private_Insurance_and_PlanImpl.java
+++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/impl/Private_Insurance_and_PlanImpl.java
@@ -22,7 +22,6 @@ import org.eclipse.emf.ecore.impl.ENotificationImpl;
22 * <ul> 22 * <ul>
23 * <li>{@link Taxation.impl.Private_Insurance_and_PlanImpl#getCategory <em>Category</em>}</li> 23 * <li>{@link Taxation.impl.Private_Insurance_and_PlanImpl#getCategory <em>Category</em>}</li>
24 * <li>{@link Taxation.impl.Private_Insurance_and_PlanImpl#getDuration_of_contract <em>Duration of contract</em>}</li> 24 * <li>{@link Taxation.impl.Private_Insurance_and_PlanImpl#getDuration_of_contract <em>Duration of contract</em>}</li>
25 * <li>{@link Taxation.impl.Private_Insurance_and_PlanImpl#isIs_private_insurance_and_plan_eligible_for_deduction <em>Is private insurance and plan eligible for deduction</em>}</li>
26 * </ul> 25 * </ul>
27 * 26 *
28 * @generated 27 * @generated
@@ -69,26 +68,6 @@ public class Private_Insurance_and_PlanImpl extends Special_Expense_DSImpl imple
69 protected int duration_of_contract = DURATION_OF_CONTRACT_EDEFAULT; 68 protected int duration_of_contract = DURATION_OF_CONTRACT_EDEFAULT;
70 69
71 /** 70 /**
72 * The default value of the '{@link #isIs_private_insurance_and_plan_eligible_for_deduction() <em>Is private insurance and plan eligible for deduction</em>}' attribute.
73 * <!-- begin-user-doc -->
74 * <!-- end-user-doc -->
75 * @see #isIs_private_insurance_and_plan_eligible_for_deduction()
76 * @generated
77 * @ordered
78 */
79 protected static final boolean IS_PRIVATE_INSURANCE_AND_PLAN_ELIGIBLE_FOR_DEDUCTION_EDEFAULT = false;
80
81 /**
82 * The cached value of the '{@link #isIs_private_insurance_and_plan_eligible_for_deduction() <em>Is private insurance and plan eligible for deduction</em>}' attribute.
83 * <!-- begin-user-doc -->
84 * <!-- end-user-doc -->
85 * @see #isIs_private_insurance_and_plan_eligible_for_deduction()
86 * @generated
87 * @ordered
88 */
89 protected boolean is_private_insurance_and_plan_eligible_for_deduction = IS_PRIVATE_INSURANCE_AND_PLAN_ELIGIBLE_FOR_DEDUCTION_EDEFAULT;
90
91 /**
92 * <!-- begin-user-doc --> 71 * <!-- begin-user-doc -->
93 * <!-- end-user-doc --> 72 * <!-- end-user-doc -->
94 * @generated 73 * @generated
@@ -159,37 +138,12 @@ public class Private_Insurance_and_PlanImpl extends Special_Expense_DSImpl imple
159 * @generated 138 * @generated
160 */ 139 */
161 @Override 140 @Override
162 public boolean isIs_private_insurance_and_plan_eligible_for_deduction() {
163 return is_private_insurance_and_plan_eligible_for_deduction;
164 }
165
166 /**
167 * <!-- begin-user-doc -->
168 * <!-- end-user-doc -->
169 * @generated
170 */
171 @Override
172 public void setIs_private_insurance_and_plan_eligible_for_deduction(boolean newIs_private_insurance_and_plan_eligible_for_deduction) {
173 boolean oldIs_private_insurance_and_plan_eligible_for_deduction = is_private_insurance_and_plan_eligible_for_deduction;
174 is_private_insurance_and_plan_eligible_for_deduction = newIs_private_insurance_and_plan_eligible_for_deduction;
175 if (eNotificationRequired())
176 eNotify(new ENotificationImpl(this, Notification.SET, TaxationPackage.PRIVATE_INSURANCE_AND_PLAN__IS_PRIVATE_INSURANCE_AND_PLAN_ELIGIBLE_FOR_DEDUCTION, oldIs_private_insurance_and_plan_eligible_for_deduction, is_private_insurance_and_plan_eligible_for_deduction));
177 }
178
179 /**
180 * <!-- begin-user-doc -->
181 * <!-- end-user-doc -->
182 * @generated
183 */
184 @Override
185 public Object eGet(int featureID, boolean resolve, boolean coreType) { 141 public Object eGet(int featureID, boolean resolve, boolean coreType) {
186 switch (featureID) { 142 switch (featureID) {
187 case TaxationPackage.PRIVATE_INSURANCE_AND_PLAN__CATEGORY: 143 case TaxationPackage.PRIVATE_INSURANCE_AND_PLAN__CATEGORY:
188 return getCategory(); 144 return getCategory();
189 case TaxationPackage.PRIVATE_INSURANCE_AND_PLAN__DURATION_OF_CONTRACT: 145 case TaxationPackage.PRIVATE_INSURANCE_AND_PLAN__DURATION_OF_CONTRACT:
190 return getDuration_of_contract(); 146 return getDuration_of_contract();
191 case TaxationPackage.PRIVATE_INSURANCE_AND_PLAN__IS_PRIVATE_INSURANCE_AND_PLAN_ELIGIBLE_FOR_DEDUCTION:
192 return isIs_private_insurance_and_plan_eligible_for_deduction();
193 } 147 }
194 return super.eGet(featureID, resolve, coreType); 148 return super.eGet(featureID, resolve, coreType);
195 } 149 }
@@ -208,9 +162,6 @@ public class Private_Insurance_and_PlanImpl extends Special_Expense_DSImpl imple
208 case TaxationPackage.PRIVATE_INSURANCE_AND_PLAN__DURATION_OF_CONTRACT: 162 case TaxationPackage.PRIVATE_INSURANCE_AND_PLAN__DURATION_OF_CONTRACT:
209 setDuration_of_contract((Integer)newValue); 163 setDuration_of_contract((Integer)newValue);
210 return; 164 return;
211 case TaxationPackage.PRIVATE_INSURANCE_AND_PLAN__IS_PRIVATE_INSURANCE_AND_PLAN_ELIGIBLE_FOR_DEDUCTION:
212 setIs_private_insurance_and_plan_eligible_for_deduction((Boolean)newValue);
213 return;
214 } 165 }
215 super.eSet(featureID, newValue); 166 super.eSet(featureID, newValue);
216 } 167 }
@@ -229,9 +180,6 @@ public class Private_Insurance_and_PlanImpl extends Special_Expense_DSImpl imple
229 case TaxationPackage.PRIVATE_INSURANCE_AND_PLAN__DURATION_OF_CONTRACT: 180 case TaxationPackage.PRIVATE_INSURANCE_AND_PLAN__DURATION_OF_CONTRACT:
230 setDuration_of_contract(DURATION_OF_CONTRACT_EDEFAULT); 181 setDuration_of_contract(DURATION_OF_CONTRACT_EDEFAULT);
231 return; 182 return;
232 case TaxationPackage.PRIVATE_INSURANCE_AND_PLAN__IS_PRIVATE_INSURANCE_AND_PLAN_ELIGIBLE_FOR_DEDUCTION:
233 setIs_private_insurance_and_plan_eligible_for_deduction(IS_PRIVATE_INSURANCE_AND_PLAN_ELIGIBLE_FOR_DEDUCTION_EDEFAULT);
234 return;
235 } 183 }
236 super.eUnset(featureID); 184 super.eUnset(featureID);
237 } 185 }
@@ -248,8 +196,6 @@ public class Private_Insurance_and_PlanImpl extends Special_Expense_DSImpl imple
248 return category != CATEGORY_EDEFAULT; 196 return category != CATEGORY_EDEFAULT;
249 case TaxationPackage.PRIVATE_INSURANCE_AND_PLAN__DURATION_OF_CONTRACT: 197 case TaxationPackage.PRIVATE_INSURANCE_AND_PLAN__DURATION_OF_CONTRACT:
250 return duration_of_contract != DURATION_OF_CONTRACT_EDEFAULT; 198 return duration_of_contract != DURATION_OF_CONTRACT_EDEFAULT;
251 case TaxationPackage.PRIVATE_INSURANCE_AND_PLAN__IS_PRIVATE_INSURANCE_AND_PLAN_ELIGIBLE_FOR_DEDUCTION:
252 return is_private_insurance_and_plan_eligible_for_deduction != IS_PRIVATE_INSURANCE_AND_PLAN_ELIGIBLE_FOR_DEDUCTION_EDEFAULT;
253 } 199 }
254 return super.eIsSet(featureID); 200 return super.eIsSet(featureID);
255 } 201 }
@@ -268,8 +214,6 @@ public class Private_Insurance_and_PlanImpl extends Special_Expense_DSImpl imple
268 result.append(category); 214 result.append(category);
269 result.append(", duration_of_contract: "); 215 result.append(", duration_of_contract: ");
270 result.append(duration_of_contract); 216 result.append(duration_of_contract);
271 result.append(", is_private_insurance_and_plan_eligible_for_deduction: ");
272 result.append(is_private_insurance_and_plan_eligible_for_deduction);
273 result.append(')'); 217 result.append(')');
274 return result.toString(); 218 return result.toString();
275 } 219 }