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

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

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

import org.eclipse.emf.ecore.EClass;

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

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

* The following features are implemented: *

*
    *
  • {@link org.nasdanika.models.excel.impl.StringCellImpl#getValue Value}
  • *
* * @generated */ public class StringCellImpl extends CellImpl implements StringCell { /** * The default value of the '{@link #getValue() Value}' attribute. * * * @see #getValue() * @generated * @ordered */ protected static final String VALUE_EDEFAULT = null; /** * * * @generated */ protected StringCellImpl() { super(); } /** * * * @generated */ @Override protected EClass eStaticClass() { return ExcelPackage.Literals.STRING_CELL; } /** * * * @generated */ @Override public String getValue() { return (String)eDynamicGet(ExcelPackage.STRING_CELL__VALUE, ExcelPackage.Literals.STRING_CELL__VALUE, true, true); } /** * * * @generated */ @Override public void setValue(String newValue) { eDynamicSet(ExcelPackage.STRING_CELL__VALUE, ExcelPackage.Literals.STRING_CELL__VALUE, newValue); } /** * * * @generated */ @Override public Object eGet(int featureID, boolean resolve, boolean coreType) { switch (featureID) { case ExcelPackage.STRING_CELL__VALUE: return getValue(); } return super.eGet(featureID, resolve, coreType); } /** * * * @generated */ @Override public void eSet(int featureID, Object newValue) { switch (featureID) { case ExcelPackage.STRING_CELL__VALUE: setValue((String)newValue); return; } super.eSet(featureID, newValue); } /** * * * @generated */ @Override public void eUnset(int featureID) { switch (featureID) { case ExcelPackage.STRING_CELL__VALUE: setValue(VALUE_EDEFAULT); return; } super.eUnset(featureID); } /** * * * @generated */ @Override public boolean eIsSet(int featureID) { switch (featureID) { case ExcelPackage.STRING_CELL__VALUE: return VALUE_EDEFAULT == null ? getValue() != null : !VALUE_EDEFAULT.equals(getValue()); } return super.eIsSet(featureID); } } //StringCellImpl




© 2015 - 2024 Weber Informatics LLC | Privacy Policy