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

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

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

import java.util.Collection;

import org.eclipse.emf.common.notify.NotificationChain;

import org.eclipse.emf.common.util.EList;

import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.emf.ecore.InternalEObject;

import org.eclipse.emf.ecore.util.InternalEList;

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

/**
 * 
 * An implementation of the model object 'Action Group Item'.
 * 
 * 

* The following features are implemented: *

*
    *
  • {@link org.nasdanika.html.model.bootstrap.impl.ActionGroupItemImpl#getName Name}
  • *
* * @generated */ public abstract class ActionGroupItemImpl extends ItemImpl implements ActionGroupItem { /** * * * @generated */ protected ActionGroupItemImpl() { super(); } /** * * * @generated */ @Override protected EClass eStaticClass() { return BootstrapPackage.Literals.ACTION_GROUP_ITEM; } /** * * * @generated */ @SuppressWarnings("unchecked") @Override public EList getName() { return (EList)eDynamicGet(BootstrapPackage.ACTION_GROUP_ITEM__NAME, BootstrapPackage.Literals.ACTION_GROUP_ITEM__NAME, true, true); } /** * * * @generated */ @Override public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { switch (featureID) { case BootstrapPackage.ACTION_GROUP_ITEM__NAME: return ((InternalEList)getName()).basicRemove(otherEnd, msgs); } return super.eInverseRemove(otherEnd, featureID, msgs); } /** * * * @generated */ @Override public Object eGet(int featureID, boolean resolve, boolean coreType) { switch (featureID) { case BootstrapPackage.ACTION_GROUP_ITEM__NAME: return getName(); } return super.eGet(featureID, resolve, coreType); } /** * * * @generated */ @SuppressWarnings("unchecked") @Override public void eSet(int featureID, Object newValue) { switch (featureID) { case BootstrapPackage.ACTION_GROUP_ITEM__NAME: getName().clear(); getName().addAll((Collection)newValue); return; } super.eSet(featureID, newValue); } /** * * * @generated */ @Override public void eUnset(int featureID) { switch (featureID) { case BootstrapPackage.ACTION_GROUP_ITEM__NAME: getName().clear(); return; } super.eUnset(featureID); } /** * * * @generated */ @Override public boolean eIsSet(int featureID) { switch (featureID) { case BootstrapPackage.ACTION_GROUP_ITEM__NAME: return !getName().isEmpty(); } return super.eIsSet(featureID); } } //ActionGroupItemImpl




© 2015 - 2024 Weber Informatics LLC | Privacy Policy