From e55fc0c91990c1de9cfdc02b5859b7419735abd3 Mon Sep 17 00:00:00 2001 From: OszkarSemerath Date: Wed, 24 Jan 2018 01:06:37 +0100 Subject: New Scope format: #String += 2..* --- .../impl/FolderEntryImpl.java | 166 +++++++++++++++++++++ 1 file changed, 166 insertions(+) create mode 100644 Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/FolderEntryImpl.java (limited to 'Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/FolderEntryImpl.java') diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/FolderEntryImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/FolderEntryImpl.java new file mode 100644 index 00000000..0d65b1b6 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/FolderEntryImpl.java @@ -0,0 +1,166 @@ +/** + * generated by Xtext 2.10.0 + */ +package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; + +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.FolderEntry; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ModelEntry; + +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 'Folder Entry'. + * + *

+ * The following features are implemented: + *

+ * + * + * @generated + */ +public class FolderEntryImpl extends PartialModelEntryImpl implements FolderEntry +{ + /** + * The cached value of the '{@link #getExclusion() Exclusion}' containment reference list. + * + * + * @see #getExclusion() + * @generated + * @ordered + */ + protected EList exclusion; + + /** + * + * + * @generated + */ + protected FolderEntryImpl() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return ApplicationConfigurationPackage.Literals.FOLDER_ENTRY; + } + + /** + * + * + * @generated + */ + public EList getExclusion() + { + if (exclusion == null) + { + exclusion = new EObjectContainmentEList(ModelEntry.class, this, ApplicationConfigurationPackage.FOLDER_ENTRY__EXCLUSION); + } + return exclusion; + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) + { + switch (featureID) + { + case ApplicationConfigurationPackage.FOLDER_ENTRY__EXCLUSION: + return ((InternalEList)getExclusion()).basicRemove(otherEnd, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case ApplicationConfigurationPackage.FOLDER_ENTRY__EXCLUSION: + return getExclusion(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case ApplicationConfigurationPackage.FOLDER_ENTRY__EXCLUSION: + getExclusion().clear(); + getExclusion().addAll((Collection)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case ApplicationConfigurationPackage.FOLDER_ENTRY__EXCLUSION: + getExclusion().clear(); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case ApplicationConfigurationPackage.FOLDER_ENTRY__EXCLUSION: + return exclusion != null && !exclusion.isEmpty(); + } + return super.eIsSet(featureID); + } + +} //FolderEntryImpl -- cgit v1.2.3-70-g09d2