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

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

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

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

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

/**
 * 
 * An implementation of the model object 'Reference Cell'.
 * 
 * 

* The following features are implemented: *

*
    *
  • {@link org.nasdanika.models.excel.impl.ReferenceCellImpl#getTarget Target}
  • *
* * @generated */ public class ReferenceCellImpl extends CellImpl implements ReferenceCell { /** * * * @generated */ protected ReferenceCellImpl() { super(); } /** * * * @generated */ @Override protected EClass eStaticClass() { return ExcelPackage.Literals.REFERENCE_CELL; } /** * * * @generated */ @Override public EObject getTarget() { return (EObject)eDynamicGet(ExcelPackage.REFERENCE_CELL__TARGET, ExcelPackage.Literals.REFERENCE_CELL__TARGET, true, true); } /** * * * @generated */ public EObject basicGetTarget() { return (EObject)eDynamicGet(ExcelPackage.REFERENCE_CELL__TARGET, ExcelPackage.Literals.REFERENCE_CELL__TARGET, false, true); } /** * * * @generated */ @Override public void setTarget(EObject newTarget) { eDynamicSet(ExcelPackage.REFERENCE_CELL__TARGET, ExcelPackage.Literals.REFERENCE_CELL__TARGET, newTarget); } /** * * * @generated */ @Override public Object eGet(int featureID, boolean resolve, boolean coreType) { switch (featureID) { case ExcelPackage.REFERENCE_CELL__TARGET: if (resolve) return getTarget(); return basicGetTarget(); } return super.eGet(featureID, resolve, coreType); } /** * * * @generated */ @Override public void eSet(int featureID, Object newValue) { switch (featureID) { case ExcelPackage.REFERENCE_CELL__TARGET: setTarget((EObject)newValue); return; } super.eSet(featureID, newValue); } /** * * * @generated */ @Override public void eUnset(int featureID) { switch (featureID) { case ExcelPackage.REFERENCE_CELL__TARGET: setTarget((EObject)null); return; } super.eUnset(featureID); } /** * * * @generated */ @Override public boolean eIsSet(int featureID) { switch (featureID) { case ExcelPackage.REFERENCE_CELL__TARGET: return basicGetTarget() != null; } return super.eIsSet(featureID); } } //ReferenceCellImpl




© 2015 - 2024 Weber Informatics LLC | Privacy Policy