org.nasdanika.html.model.bootstrap.impl.LinkActionGroupItemImpl Maven / Gradle / Ivy
/**
*/
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.LinkActionGroupItem;
/**
*
* An implementation of the model object 'Link Action Group Item'.
*
*
* The following features are implemented:
*
*
* - {@link org.nasdanika.html.model.bootstrap.impl.LinkActionGroupItemImpl#getUrl Url}
*
*
* @generated
*/
public class LinkActionGroupItemImpl extends ActionGroupItemImpl implements LinkActionGroupItem {
/**
* The default value of the '{@link #getUrl() Url}' attribute.
*
*
* @see #getUrl()
* @generated
* @ordered
*/
protected static final String URL_EDEFAULT = null;
/**
*
*
* @generated
*/
protected LinkActionGroupItemImpl() {
super();
}
/**
*
*
* @generated
*/
@Override
protected EClass eStaticClass() {
return BootstrapPackage.Literals.LINK_ACTION_GROUP_ITEM;
}
/**
*
*
* @generated
*/
@Override
public String getUrl() {
return (String)eDynamicGet(BootstrapPackage.LINK_ACTION_GROUP_ITEM__URL, BootstrapPackage.Literals.LINK_ACTION_GROUP_ITEM__URL, true, true);
}
/**
*
*
* @generated
*/
@Override
public void setUrl(String newUrl) {
eDynamicSet(BootstrapPackage.LINK_ACTION_GROUP_ITEM__URL, BootstrapPackage.Literals.LINK_ACTION_GROUP_ITEM__URL, newUrl);
}
/**
*
*
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
case BootstrapPackage.LINK_ACTION_GROUP_ITEM__URL:
return getUrl();
}
return super.eGet(featureID, resolve, coreType);
}
/**
*
*
* @generated
*/
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
case BootstrapPackage.LINK_ACTION_GROUP_ITEM__URL:
setUrl((String)newValue);
return;
}
super.eSet(featureID, newValue);
}
/**
*
*
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
case BootstrapPackage.LINK_ACTION_GROUP_ITEM__URL:
setUrl(URL_EDEFAULT);
return;
}
super.eUnset(featureID);
}
/**
*
*
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
case BootstrapPackage.LINK_ACTION_GROUP_ITEM__URL:
return URL_EDEFAULT == null ? getUrl() != null : !URL_EDEFAULT.equals(getUrl());
}
return super.eIsSet(featureID);
}
} //LinkActionGroupItemImpl
© 2015 - 2024 Weber Informatics LLC | Privacy Policy