From 0de1dbfaed208ba70863abe3671f868f168bc9cd Mon Sep 17 00:00:00 2001 From: Aren Babikian Date: Thu, 14 Jan 2021 13:07:08 -0500 Subject: Adjust vsconfig xtext to consider reals as EDouble rather than EBigDecimals --- .../impl/AllPatternEntryImpl.java | 334 ++++++++++----------- 1 file changed, 167 insertions(+), 167 deletions(-) (limited to 'Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/AllPatternEntryImpl.java') diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/AllPatternEntryImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/AllPatternEntryImpl.java index 20a362ed..9c26d9c3 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/AllPatternEntryImpl.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/AllPatternEntryImpl.java @@ -1,167 +1,167 @@ -/** - * generated by Xtext 2.21.0 - */ -package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; - -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.AllPatternEntry; -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage; -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PatternElement; - -import java.util.Collection; - -import org.eclipse.emf.common.notify.NotificationChain; - -import org.eclipse.emf.common.util.EList; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.util.EObjectContainmentEList; -import org.eclipse.emf.ecore.util.InternalEList; - -/** - * - * An implementation of the model object 'All Pattern Entry'. - * - *

- * The following features are implemented: - *

- * - * - * @generated - */ -public class AllPatternEntryImpl extends PatternEntryImpl implements AllPatternEntry -{ - /** - * The cached value of the '{@link #getExclusuion() Exclusuion}' containment reference list. - * - * - * @see #getExclusuion() - * @generated - * @ordered - */ - protected EList exclusuion; - - /** - * - * - * @generated - */ - protected AllPatternEntryImpl() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return ApplicationConfigurationPackage.Literals.ALL_PATTERN_ENTRY; - } - - /** - * - * - * @generated - */ - @Override - public EList getExclusuion() - { - if (exclusuion == null) - { - exclusuion = new EObjectContainmentEList(PatternElement.class, this, ApplicationConfigurationPackage.ALL_PATTERN_ENTRY__EXCLUSUION); - } - return exclusuion; - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) - { - switch (featureID) - { - case ApplicationConfigurationPackage.ALL_PATTERN_ENTRY__EXCLUSUION: - return ((InternalEList)getExclusuion()).basicRemove(otherEnd, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) - { - switch (featureID) - { - case ApplicationConfigurationPackage.ALL_PATTERN_ENTRY__EXCLUSUION: - return getExclusuion(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @SuppressWarnings("unchecked") - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case ApplicationConfigurationPackage.ALL_PATTERN_ENTRY__EXCLUSUION: - getExclusuion().clear(); - getExclusuion().addAll((Collection)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case ApplicationConfigurationPackage.ALL_PATTERN_ENTRY__EXCLUSUION: - getExclusuion().clear(); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case ApplicationConfigurationPackage.ALL_PATTERN_ENTRY__EXCLUSUION: - return exclusuion != null && !exclusuion.isEmpty(); - } - return super.eIsSet(featureID); - } - -} //AllPatternEntryImpl +/** + * generated by Xtext 2.21.0 + */ +package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; + +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.AllPatternEntry; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PatternElement; + +import java.util.Collection; + +import org.eclipse.emf.common.notify.NotificationChain; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.util.EObjectContainmentEList; +import org.eclipse.emf.ecore.util.InternalEList; + +/** + * + * An implementation of the model object 'All Pattern Entry'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.AllPatternEntryImpl#getExclusuion Exclusuion}
  • + *
+ * + * @generated + */ +public class AllPatternEntryImpl extends PatternEntryImpl implements AllPatternEntry +{ + /** + * The cached value of the '{@link #getExclusuion() Exclusuion}' containment reference list. + * + * + * @see #getExclusuion() + * @generated + * @ordered + */ + protected EList exclusuion; + + /** + * + * + * @generated + */ + protected AllPatternEntryImpl() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return ApplicationConfigurationPackage.Literals.ALL_PATTERN_ENTRY; + } + + /** + * + * + * @generated + */ + @Override + public EList getExclusuion() + { + if (exclusuion == null) + { + exclusuion = new EObjectContainmentEList(PatternElement.class, this, ApplicationConfigurationPackage.ALL_PATTERN_ENTRY__EXCLUSUION); + } + return exclusuion; + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) + { + switch (featureID) + { + case ApplicationConfigurationPackage.ALL_PATTERN_ENTRY__EXCLUSUION: + return ((InternalEList)getExclusuion()).basicRemove(otherEnd, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case ApplicationConfigurationPackage.ALL_PATTERN_ENTRY__EXCLUSUION: + return getExclusuion(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case ApplicationConfigurationPackage.ALL_PATTERN_ENTRY__EXCLUSUION: + getExclusuion().clear(); + getExclusuion().addAll((Collection)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case ApplicationConfigurationPackage.ALL_PATTERN_ENTRY__EXCLUSUION: + getExclusuion().clear(); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case ApplicationConfigurationPackage.ALL_PATTERN_ENTRY__EXCLUSUION: + return exclusuion != null && !exclusuion.isEmpty(); + } + return super.eIsSet(featureID); + } + +} //AllPatternEntryImpl -- cgit v1.2.3-54-g00ecf