diff options
author | 2020-05-11 10:06:57 -0400 | |
---|---|---|
committer | 2020-05-11 10:06:57 -0400 | |
commit | 750b37401bc3eb3e9deb7126d90f871973ba477b (patch) | |
tree | abe90e700f79ae1e126586039bf15d2a51dbb60c /Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/impl/TaxationFactoryImpl.java | |
parent | Allow real numbers to be in the solution (diff) | |
download | VIATRA-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/TaxationFactoryImpl.java')
-rw-r--r-- | Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/impl/TaxationFactoryImpl.java | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/impl/TaxationFactoryImpl.java b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/impl/TaxationFactoryImpl.java index 36f4493c..7f29a224 100644 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/impl/TaxationFactoryImpl.java +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/impl/TaxationFactoryImpl.java | |||
@@ -128,8 +128,6 @@ public class TaxationFactoryImpl extends EFactoryImpl implements TaxationFactory | |||
128 | return createDisability_TypesFromString(eDataType, initialValue); | 128 | return createDisability_TypesFromString(eDataType, initialValue); |
129 | case TaxationPackage.COUNTRY: | 129 | case TaxationPackage.COUNTRY: |
130 | return createCountryFromString(eDataType, initialValue); | 130 | return createCountryFromString(eDataType, initialValue); |
131 | case TaxationPackage.TAX_CARD_TYPE: | ||
132 | return createTax_Card_TypeFromString(eDataType, initialValue); | ||
133 | case TaxationPackage.TAX_OFFICE: | 131 | case TaxationPackage.TAX_OFFICE: |
134 | return createTax_OfficeFromString(eDataType, initialValue); | 132 | return createTax_OfficeFromString(eDataType, initialValue); |
135 | case TaxationPackage.TAX_CLASS_CATEGORY: | 133 | case TaxationPackage.TAX_CLASS_CATEGORY: |
@@ -138,8 +136,6 @@ public class TaxationFactoryImpl extends EFactoryImpl implements TaxationFactory | |||
138 | return createJob_ActivityFromString(eDataType, initialValue); | 136 | return createJob_ActivityFromString(eDataType, initialValue); |
139 | case TaxationPackage.TOWN: | 137 | case TaxationPackage.TOWN: |
140 | return createTownFromString(eDataType, initialValue); | 138 | return createTownFromString(eDataType, initialValue); |
141 | case TaxationPackage.TYPE_OF_RATE: | ||
142 | return createType_of_RateFromString(eDataType, initialValue); | ||
143 | case TaxationPackage.CE_TYPE: | 139 | case TaxationPackage.CE_TYPE: |
144 | return createCE_TypeFromString(eDataType, initialValue); | 140 | return createCE_TypeFromString(eDataType, initialValue); |
145 | case TaxationPackage.EXPENSE_PURPOSE: | 141 | case TaxationPackage.EXPENSE_PURPOSE: |
@@ -175,8 +171,6 @@ public class TaxationFactoryImpl extends EFactoryImpl implements TaxationFactory | |||
175 | return convertDisability_TypesToString(eDataType, instanceValue); | 171 | return convertDisability_TypesToString(eDataType, instanceValue); |
176 | case TaxationPackage.COUNTRY: | 172 | case TaxationPackage.COUNTRY: |
177 | return convertCountryToString(eDataType, instanceValue); | 173 | return convertCountryToString(eDataType, instanceValue); |
178 | case TaxationPackage.TAX_CARD_TYPE: | ||
179 | return convertTax_Card_TypeToString(eDataType, instanceValue); | ||
180 | case TaxationPackage.TAX_OFFICE: | 174 | case TaxationPackage.TAX_OFFICE: |
181 | return convertTax_OfficeToString(eDataType, instanceValue); | 175 | return convertTax_OfficeToString(eDataType, instanceValue); |
182 | case TaxationPackage.TAX_CLASS_CATEGORY: | 176 | case TaxationPackage.TAX_CLASS_CATEGORY: |
@@ -185,8 +179,6 @@ public class TaxationFactoryImpl extends EFactoryImpl implements TaxationFactory | |||
185 | return convertJob_ActivityToString(eDataType, instanceValue); | 179 | return convertJob_ActivityToString(eDataType, instanceValue); |
186 | case TaxationPackage.TOWN: | 180 | case TaxationPackage.TOWN: |
187 | return convertTownToString(eDataType, instanceValue); | 181 | return convertTownToString(eDataType, instanceValue); |
188 | case TaxationPackage.TYPE_OF_RATE: | ||
189 | return convertType_of_RateToString(eDataType, instanceValue); | ||
190 | case TaxationPackage.CE_TYPE: | 182 | case TaxationPackage.CE_TYPE: |
191 | return convertCE_TypeToString(eDataType, instanceValue); | 183 | return convertCE_TypeToString(eDataType, instanceValue); |
192 | case TaxationPackage.EXPENSE_PURPOSE: | 184 | case TaxationPackage.EXPENSE_PURPOSE: |
@@ -845,26 +837,6 @@ public class TaxationFactoryImpl extends EFactoryImpl implements TaxationFactory | |||
845 | * <!-- end-user-doc --> | 837 | * <!-- end-user-doc --> |
846 | * @generated | 838 | * @generated |
847 | */ | 839 | */ |
848 | public Tax_Card_Type createTax_Card_TypeFromString(EDataType eDataType, String initialValue) { | ||
849 | Tax_Card_Type result = Tax_Card_Type.get(initialValue); | ||
850 | if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); | ||
851 | return result; | ||
852 | } | ||
853 | |||
854 | /** | ||
855 | * <!-- begin-user-doc --> | ||
856 | * <!-- end-user-doc --> | ||
857 | * @generated | ||
858 | */ | ||
859 | public String convertTax_Card_TypeToString(EDataType eDataType, Object instanceValue) { | ||
860 | return instanceValue == null ? null : instanceValue.toString(); | ||
861 | } | ||
862 | |||
863 | /** | ||
864 | * <!-- begin-user-doc --> | ||
865 | * <!-- end-user-doc --> | ||
866 | * @generated | ||
867 | */ | ||
868 | public Tax_Office createTax_OfficeFromString(EDataType eDataType, String initialValue) { | 840 | public Tax_Office createTax_OfficeFromString(EDataType eDataType, String initialValue) { |
869 | Tax_Office result = Tax_Office.get(initialValue); | 841 | Tax_Office result = Tax_Office.get(initialValue); |
870 | if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); | 842 | if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); |
@@ -945,26 +917,6 @@ public class TaxationFactoryImpl extends EFactoryImpl implements TaxationFactory | |||
945 | * <!-- end-user-doc --> | 917 | * <!-- end-user-doc --> |
946 | * @generated | 918 | * @generated |
947 | */ | 919 | */ |
948 | public Type_of_Rate createType_of_RateFromString(EDataType eDataType, String initialValue) { | ||
949 | Type_of_Rate result = Type_of_Rate.get(initialValue); | ||
950 | if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); | ||
951 | return result; | ||
952 | } | ||
953 | |||
954 | /** | ||
955 | * <!-- begin-user-doc --> | ||
956 | * <!-- end-user-doc --> | ||
957 | * @generated | ||
958 | */ | ||
959 | public String convertType_of_RateToString(EDataType eDataType, Object instanceValue) { | ||
960 | return instanceValue == null ? null : instanceValue.toString(); | ||
961 | } | ||
962 | |||
963 | /** | ||
964 | * <!-- begin-user-doc --> | ||
965 | * <!-- end-user-doc --> | ||
966 | * @generated | ||
967 | */ | ||
968 | public CE_Type createCE_TypeFromString(EDataType eDataType, String initialValue) { | 920 | public CE_Type createCE_TypeFromString(EDataType eDataType, String initialValue) { |
969 | CE_Type result = CE_Type.get(initialValue); | 921 | CE_Type result = CE_Type.get(initialValue); |
970 | if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); | 922 | if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); |