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

org.nasdanika.html.model.components.impl.TextToSpeechResourceImpl Maven / Gradle / Ivy

The newest version!
/**
 */
package org.nasdanika.html.model.components.impl;

import org.eclipse.emf.ecore.EClass;

import org.nasdanika.html.model.components.ComponentsPackage;
import org.nasdanika.html.model.components.TextToSpeechResource;

/**
 * 
 * An implementation of the model object 'Text To Speech Resource'.
 * 
 * 

* The following features are implemented: *

*
    *
  • {@link org.nasdanika.html.model.components.impl.TextToSpeechResourceImpl#getLocation Location}
  • *
* * @generated */ public class TextToSpeechResourceImpl extends TextToSpeechImpl implements TextToSpeechResource { /** * The default value of the '{@link #getLocation() Location}' attribute. * * * @see #getLocation() * @generated * @ordered */ protected static final String LOCATION_EDEFAULT = null; /** * * * @generated */ protected TextToSpeechResourceImpl() { super(); } /** * * * @generated */ @Override protected EClass eStaticClass() { return ComponentsPackage.Literals.TEXT_TO_SPEECH_RESOURCE; } /** * * * @generated */ @Override public String getLocation() { return (String)eDynamicGet(ComponentsPackage.TEXT_TO_SPEECH_RESOURCE__LOCATION, ComponentsPackage.Literals.TEXT_TO_SPEECH_RESOURCE__LOCATION, true, true); } /** * * * @generated */ @Override public void setLocation(String newLocation) { eDynamicSet(ComponentsPackage.TEXT_TO_SPEECH_RESOURCE__LOCATION, ComponentsPackage.Literals.TEXT_TO_SPEECH_RESOURCE__LOCATION, newLocation); } /** * * * @generated */ @Override public Object eGet(int featureID, boolean resolve, boolean coreType) { switch (featureID) { case ComponentsPackage.TEXT_TO_SPEECH_RESOURCE__LOCATION: return getLocation(); } return super.eGet(featureID, resolve, coreType); } /** * * * @generated */ @Override public void eSet(int featureID, Object newValue) { switch (featureID) { case ComponentsPackage.TEXT_TO_SPEECH_RESOURCE__LOCATION: setLocation((String)newValue); return; } super.eSet(featureID, newValue); } /** * * * @generated */ @Override public void eUnset(int featureID) { switch (featureID) { case ComponentsPackage.TEXT_TO_SPEECH_RESOURCE__LOCATION: setLocation(LOCATION_EDEFAULT); return; } super.eUnset(featureID); } /** * * * @generated */ @Override public boolean eIsSet(int featureID) { switch (featureID) { case ComponentsPackage.TEXT_TO_SPEECH_RESOURCE__LOCATION: return LOCATION_EDEFAULT == null ? getLocation() != null : !LOCATION_EDEFAULT.equals(getLocation()); } return super.eIsSet(featureID); } } //TextToSpeechResourceImpl




© 2015 - 2025 Weber Informatics LLC | Privacy Policy