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

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

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

import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
import org.nasdanika.models.excel.ExcelPackage;
import org.nasdanika.models.excel.Sheet;

/**
 * 
 * An implementation of the model object 'Sheet'.
 * 
 * 

* The following features are implemented: *

*
    *
  • {@link org.nasdanika.models.excel.impl.SheetImpl#getName Name}
  • *
* * @generated */ public abstract class SheetImpl extends MinimalEObjectImpl.Container implements Sheet { /** * The default value of the '{@link #getName() Name}' attribute. * * * @see #getName() * @generated * @ordered */ protected static final String NAME_EDEFAULT = null; /** * * * @generated */ protected SheetImpl() { super(); } /** * * * @generated */ @Override protected EClass eStaticClass() { return ExcelPackage.Literals.SHEET; } /** * * * @generated */ @Override protected int eStaticFeatureCount() { return 0; } /** * * * @generated */ @Override public String getName() { return (String)eDynamicGet(ExcelPackage.SHEET__NAME, ExcelPackage.Literals.SHEET__NAME, true, true); } /** * * * @generated */ @Override public void setName(String newName) { eDynamicSet(ExcelPackage.SHEET__NAME, ExcelPackage.Literals.SHEET__NAME, newName); } /** * * * @generated */ @Override public Object eGet(int featureID, boolean resolve, boolean coreType) { switch (featureID) { case ExcelPackage.SHEET__NAME: return getName(); } return super.eGet(featureID, resolve, coreType); } /** * * * @generated */ @SuppressWarnings("unchecked") @Override public void eSet(int featureID, Object newValue) { switch (featureID) { case ExcelPackage.SHEET__NAME: setName((String)newValue); return; } super.eSet(featureID, newValue); } /** * * * @generated */ @Override public void eUnset(int featureID) { switch (featureID) { case ExcelPackage.SHEET__NAME: setName(NAME_EDEFAULT); return; } super.eUnset(featureID); } /** * * * @generated */ @Override public boolean eIsSet(int featureID) { switch (featureID) { case ExcelPackage.SHEET__NAME: return NAME_EDEFAULT == null ? getName() != null : !NAME_EDEFAULT.equals(getName()); } return super.eIsSet(featureID); } } //SheetImpl




© 2015 - 2024 Weber Informatics LLC | Privacy Policy