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

org.nasdanika.html.model.bootstrap.impl.TableHeaderImpl Maven / Gradle / Ivy

There is a newer version: 2024.10.0
Show newest version
/**
 */
package org.nasdanika.html.model.bootstrap.impl;

import org.eclipse.emf.ecore.EClass;

import org.nasdanika.html.model.bootstrap.BootstrapPackage;
import org.nasdanika.html.model.bootstrap.TableHeader;

/**
 * 
 * An implementation of the model object 'Table Header'.
 * 
 * 

* The following features are implemented: *

*
    *
  • {@link org.nasdanika.html.model.bootstrap.impl.TableHeaderImpl#isDark Dark}
  • *
  • {@link org.nasdanika.html.model.bootstrap.impl.TableHeaderImpl#isLight Light}
  • *
* * @generated */ public class TableHeaderImpl extends TableSectionImpl implements TableHeader { /** * The default value of the '{@link #isDark() Dark}' attribute. * * * @see #isDark() * @generated * @ordered */ protected static final boolean DARK_EDEFAULT = false; /** * The default value of the '{@link #isLight() Light}' attribute. * * * @see #isLight() * @generated * @ordered */ protected static final boolean LIGHT_EDEFAULT = false; /** * * * @generated */ protected TableHeaderImpl() { super(); } /** * * * @generated */ @Override protected EClass eStaticClass() { return BootstrapPackage.Literals.TABLE_HEADER; } /** * * * @generated */ @Override public boolean isDark() { return (Boolean)eDynamicGet(BootstrapPackage.TABLE_HEADER__DARK, BootstrapPackage.Literals.TABLE_HEADER__DARK, true, true); } /** * * * @generated */ @Override public void setDark(boolean newDark) { eDynamicSet(BootstrapPackage.TABLE_HEADER__DARK, BootstrapPackage.Literals.TABLE_HEADER__DARK, newDark); } /** * * * @generated */ @Override public boolean isLight() { return (Boolean)eDynamicGet(BootstrapPackage.TABLE_HEADER__LIGHT, BootstrapPackage.Literals.TABLE_HEADER__LIGHT, true, true); } /** * * * @generated */ @Override public void setLight(boolean newLight) { eDynamicSet(BootstrapPackage.TABLE_HEADER__LIGHT, BootstrapPackage.Literals.TABLE_HEADER__LIGHT, newLight); } /** * * * @generated */ @Override public Object eGet(int featureID, boolean resolve, boolean coreType) { switch (featureID) { case BootstrapPackage.TABLE_HEADER__DARK: return isDark(); case BootstrapPackage.TABLE_HEADER__LIGHT: return isLight(); } return super.eGet(featureID, resolve, coreType); } /** * * * @generated */ @Override public void eSet(int featureID, Object newValue) { switch (featureID) { case BootstrapPackage.TABLE_HEADER__DARK: setDark((Boolean)newValue); return; case BootstrapPackage.TABLE_HEADER__LIGHT: setLight((Boolean)newValue); return; } super.eSet(featureID, newValue); } /** * * * @generated */ @Override public void eUnset(int featureID) { switch (featureID) { case BootstrapPackage.TABLE_HEADER__DARK: setDark(DARK_EDEFAULT); return; case BootstrapPackage.TABLE_HEADER__LIGHT: setLight(LIGHT_EDEFAULT); return; } super.eUnset(featureID); } /** * * * @generated */ @Override public boolean eIsSet(int featureID) { switch (featureID) { case BootstrapPackage.TABLE_HEADER__DARK: return isDark() != DARK_EDEFAULT; case BootstrapPackage.TABLE_HEADER__LIGHT: return isLight() != LIGHT_EDEFAULT; } return super.eIsSet(featureID); } } //TableHeaderImpl




© 2015 - 2024 Weber Informatics LLC | Privacy Policy