From b3c1c5b30ae8ea7ebad391c9250b4509d5a4cc9b Mon Sep 17 00:00:00 2001 From: Kristóf Marussy Date: Tue, 19 May 2020 21:18:06 +0200 Subject: Config language WIP --- .../solverLanguage/impl/ExactMultiplicityImpl.java | 179 --------------------- 1 file changed, 179 deletions(-) delete mode 100644 Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExactMultiplicityImpl.java (limited to 'Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExactMultiplicityImpl.java') diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExactMultiplicityImpl.java b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExactMultiplicityImpl.java deleted file mode 100644 index 3751de39..00000000 --- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExactMultiplicityImpl.java +++ /dev/null @@ -1,179 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage.impl; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EClass; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; - -import org.eclipse.viatra.solver.language.solverLanguage.ExactMultiplicity; -import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; - -/** - * - * An implementation of the model object 'Exact Multiplicity'. - * - *

- * The following features are implemented: - *

- * - * - * @generated - */ -public class ExactMultiplicityImpl extends MultiplicityImpl implements ExactMultiplicity -{ - /** - * The default value of the '{@link #getMultiplicity() Multiplicity}' attribute. - * - * - * @see #getMultiplicity() - * @generated - * @ordered - */ - protected static final int MULTIPLICITY_EDEFAULT = 0; - - /** - * The cached value of the '{@link #getMultiplicity() Multiplicity}' attribute. - * - * - * @see #getMultiplicity() - * @generated - * @ordered - */ - protected int multiplicity = MULTIPLICITY_EDEFAULT; - - /** - * - * - * @generated - */ - protected ExactMultiplicityImpl() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return SolverLanguagePackage.Literals.EXACT_MULTIPLICITY; - } - - /** - * - * - * @generated - */ - @Override - public int getMultiplicity() - { - return multiplicity; - } - - /** - * - * - * @generated - */ - @Override - public void setMultiplicity(int newMultiplicity) - { - int oldMultiplicity = multiplicity; - multiplicity = newMultiplicity; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.EXACT_MULTIPLICITY__MULTIPLICITY, oldMultiplicity, multiplicity)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) - { - switch (featureID) - { - case SolverLanguagePackage.EXACT_MULTIPLICITY__MULTIPLICITY: - return getMultiplicity(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case SolverLanguagePackage.EXACT_MULTIPLICITY__MULTIPLICITY: - setMultiplicity((Integer)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case SolverLanguagePackage.EXACT_MULTIPLICITY__MULTIPLICITY: - setMultiplicity(MULTIPLICITY_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case SolverLanguagePackage.EXACT_MULTIPLICITY__MULTIPLICITY: - return multiplicity != MULTIPLICITY_EDEFAULT; - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() - { - if (eIsProxy()) return super.toString(); - - StringBuilder result = new StringBuilder(super.toString()); - result.append(" (multiplicity: "); - result.append(multiplicity); - result.append(')'); - return result.toString(); - } - -} //ExactMultiplicityImpl -- cgit v1.2.3-70-g09d2