diff options
Diffstat (limited to 'rba.model.sound/src/rba/sound/impl/SoundContentImpl.java')
-rw-r--r-- | rba.model.sound/src/rba/sound/impl/SoundContentImpl.java | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/rba.model.sound/src/rba/sound/impl/SoundContentImpl.java b/rba.model.sound/src/rba/sound/impl/SoundContentImpl.java new file mode 100644 index 0000000..4c8a4bb --- /dev/null +++ b/rba.model.sound/src/rba/sound/impl/SoundContentImpl.java @@ -0,0 +1,60 @@ +/** + */ +package rba.sound.impl; + +import java.lang.reflect.InvocationTargetException; +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EClass; +import rba.core.ExpressionType; + +import rba.core.impl.ContentImpl; + +import rba.sound.RBASoundPackage; +import rba.sound.SoundContent; + +/** + * <!-- begin-user-doc --> An implementation of the model object '<em><b>Sound Content</b></em>'. <!-- end-user-doc --> + * + * @generated + */ +public class SoundContentImpl extends ContentImpl implements SoundContent { + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + protected SoundContentImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return RBASoundPackage.Literals.SOUND_CONTENT; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public ExpressionType getExpressionType() { + return ExpressionType.SOUND; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + @Override + public Object eInvoke(int operationID, EList<?> arguments) throws InvocationTargetException { + switch (operationID) { + case RBASoundPackage.SOUND_CONTENT___GET_EXPRESSION_TYPE: + return getExpressionType(); + } + return super.eInvoke(operationID, arguments); + } + +} // SoundContentImpl |