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

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

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

import org.eclipse.emf.ecore.EClass;

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

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

* The following features are implemented: *

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy