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

org.nasdanika.html.model.bootstrap.impl.FloatImpl 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.eclipse.emf.ecore.impl.MinimalEObjectImpl;

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

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

* The following features are implemented: *

*
    *
  • {@link org.nasdanika.html.model.bootstrap.impl.FloatImpl#getSide Side}
  • *
  • {@link org.nasdanika.html.model.bootstrap.impl.FloatImpl#getBreakpoint Breakpoint}
  • *
* * @generated */ public class FloatImpl extends MinimalEObjectImpl.Container implements org.nasdanika.html.model.bootstrap.Float { /** * The default value of the '{@link #getSide() Side}' attribute. * * * @see #getSide() * @generated * @ordered */ protected static final String SIDE_EDEFAULT = null; /** * The default value of the '{@link #getBreakpoint() Breakpoint}' attribute. * * * @see #getBreakpoint() * @generated * @ordered */ protected static final Breakpoint BREAKPOINT_EDEFAULT = null; /** * * * @generated */ protected FloatImpl() { super(); } /** * * * @generated */ @Override protected EClass eStaticClass() { return BootstrapPackage.Literals.FLOAT; } /** * * * @generated */ @Override protected int eStaticFeatureCount() { return 0; } /** * * * @generated */ @Override public String getSide() { return (String)eDynamicGet(BootstrapPackage.FLOAT__SIDE, BootstrapPackage.Literals.FLOAT__SIDE, true, true); } /** * * * @generated */ @Override public void setSide(String newSide) { eDynamicSet(BootstrapPackage.FLOAT__SIDE, BootstrapPackage.Literals.FLOAT__SIDE, newSide); } /** * * * @generated */ @Override public Breakpoint getBreakpoint() { return (Breakpoint)eDynamicGet(BootstrapPackage.FLOAT__BREAKPOINT, BootstrapPackage.Literals.FLOAT__BREAKPOINT, true, true); } /** * * * @generated */ @Override public void setBreakpoint(Breakpoint newBreakpoint) { eDynamicSet(BootstrapPackage.FLOAT__BREAKPOINT, BootstrapPackage.Literals.FLOAT__BREAKPOINT, newBreakpoint); } /** * * * @generated */ @Override public Object eGet(int featureID, boolean resolve, boolean coreType) { switch (featureID) { case BootstrapPackage.FLOAT__SIDE: return getSide(); case BootstrapPackage.FLOAT__BREAKPOINT: return getBreakpoint(); } return super.eGet(featureID, resolve, coreType); } /** * * * @generated */ @Override public void eSet(int featureID, Object newValue) { switch (featureID) { case BootstrapPackage.FLOAT__SIDE: setSide((String)newValue); return; case BootstrapPackage.FLOAT__BREAKPOINT: setBreakpoint((Breakpoint)newValue); return; } super.eSet(featureID, newValue); } /** * * * @generated */ @Override public void eUnset(int featureID) { switch (featureID) { case BootstrapPackage.FLOAT__SIDE: setSide(SIDE_EDEFAULT); return; case BootstrapPackage.FLOAT__BREAKPOINT: setBreakpoint(BREAKPOINT_EDEFAULT); return; } super.eUnset(featureID); } /** * * * @generated */ @Override public boolean eIsSet(int featureID) { switch (featureID) { case BootstrapPackage.FLOAT__SIDE: return SIDE_EDEFAULT == null ? getSide() != null : !SIDE_EDEFAULT.equals(getSide()); case BootstrapPackage.FLOAT__BREAKPOINT: return BREAKPOINT_EDEFAULT == null ? getBreakpoint() != null : !BREAKPOINT_EDEFAULT.equals(getBreakpoint()); } return super.eIsSet(featureID); } } //FloatImpl




© 2015 - 2024 Weber Informatics LLC | Privacy Policy