All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.nasdanika.models.excel.impl.EObjectRowImpl Maven / Gradle / Ivy

/**
 */
package org.nasdanika.models.excel.impl;

import org.eclipse.emf.common.notify.NotificationChain;

import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.emf.ecore.InternalEObject;

import org.nasdanika.models.excel.EObjectRow;
import org.nasdanika.models.excel.ExcelPackage;

/**
 * 
 * An implementation of the model object 'EObject Row'.
 * 
 * 

* The following features are implemented: *

*
    *
  • {@link org.nasdanika.models.excel.impl.EObjectRowImpl#getContents Contents}
  • *
* * @generated */ public class EObjectRowImpl extends RowImpl implements EObjectRow { /** * * * @generated */ protected EObjectRowImpl() { super(); } /** * * * @generated */ @Override protected EClass eStaticClass() { return ExcelPackage.Literals.EOBJECT_ROW; } /** * * * @generated */ @Override public EObject getContents() { return (EObject)eDynamicGet(ExcelPackage.EOBJECT_ROW__CONTENTS, ExcelPackage.Literals.EOBJECT_ROW__CONTENTS, true, true); } /** * * * @generated */ public NotificationChain basicSetContents(EObject newContents, NotificationChain msgs) { msgs = eDynamicInverseAdd((InternalEObject)newContents, ExcelPackage.EOBJECT_ROW__CONTENTS, msgs); return msgs; } /** * * * @generated */ @Override public void setContents(EObject newContents) { eDynamicSet(ExcelPackage.EOBJECT_ROW__CONTENTS, ExcelPackage.Literals.EOBJECT_ROW__CONTENTS, newContents); } /** * * * @generated */ @Override public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { switch (featureID) { case ExcelPackage.EOBJECT_ROW__CONTENTS: return basicSetContents(null, msgs); } return super.eInverseRemove(otherEnd, featureID, msgs); } /** * * * @generated */ @Override public Object eGet(int featureID, boolean resolve, boolean coreType) { switch (featureID) { case ExcelPackage.EOBJECT_ROW__CONTENTS: return getContents(); } return super.eGet(featureID, resolve, coreType); } /** * * * @generated */ @Override public void eSet(int featureID, Object newValue) { switch (featureID) { case ExcelPackage.EOBJECT_ROW__CONTENTS: setContents((EObject)newValue); return; } super.eSet(featureID, newValue); } /** * * * @generated */ @Override public void eUnset(int featureID) { switch (featureID) { case ExcelPackage.EOBJECT_ROW__CONTENTS: setContents((EObject)null); return; } super.eUnset(featureID); } /** * * * @generated */ @Override public boolean eIsSet(int featureID) { switch (featureID) { case ExcelPackage.EOBJECT_ROW__CONTENTS: return getContents() != null; } return super.eIsSet(featureID); } } //EObjectRowImpl




© 2015 - 2024 Weber Informatics LLC | Privacy Policy