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

org.nasdanika.html.model.app.impl.HeaderImpl Maven / Gradle / Ivy

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

import org.eclipse.emf.common.notify.NotificationChain;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.InternalEObject;
import org.nasdanika.html.model.app.AppPackage;
import org.nasdanika.html.model.app.Header;
import org.nasdanika.html.model.app.Label;

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

* The following features are implemented: *

*
    *
  • {@link org.nasdanika.html.model.app.impl.HeaderImpl#getTitle Title}
  • *
* * @generated */ public class HeaderImpl extends PagePartImpl implements Header { /** * * * @generated */ protected HeaderImpl() { super(); } /** * * * @generated */ @Override protected EClass eStaticClass() { return AppPackage.Literals.HEADER; } /** * * * @generated */ @Override public Label getTitle() { return (Label)eDynamicGet(AppPackage.HEADER__TITLE, AppPackage.Literals.HEADER__TITLE, true, true); } /** * * * @generated */ public NotificationChain basicSetTitle(Label newTitle, NotificationChain msgs) { msgs = eDynamicInverseAdd((InternalEObject)newTitle, AppPackage.HEADER__TITLE, msgs); return msgs; } /** * * * @generated */ @Override public void setTitle(Label newTitle) { eDynamicSet(AppPackage.HEADER__TITLE, AppPackage.Literals.HEADER__TITLE, newTitle); } /** * * * @generated */ @Override public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { switch (featureID) { case AppPackage.HEADER__TITLE: return basicSetTitle(null, msgs); } return super.eInverseRemove(otherEnd, featureID, msgs); } /** * * * @generated */ @Override public Object eGet(int featureID, boolean resolve, boolean coreType) { switch (featureID) { case AppPackage.HEADER__TITLE: return getTitle(); } return super.eGet(featureID, resolve, coreType); } /** * * * @generated */ @SuppressWarnings("unchecked") @Override public void eSet(int featureID, Object newValue) { switch (featureID) { case AppPackage.HEADER__TITLE: setTitle((Label)newValue); return; } super.eSet(featureID, newValue); } /** * * * @generated */ @Override public void eUnset(int featureID) { switch (featureID) { case AppPackage.HEADER__TITLE: setTitle((Label)null); return; } super.eUnset(featureID); } /** * * * @generated */ @Override public boolean eIsSet(int featureID) { switch (featureID) { case AppPackage.HEADER__TITLE: return getTitle() != null; } return super.eIsSet(featureID); } } //HeaderImpl




© 2015 - 2024 Weber Informatics LLC | Privacy Policy