diff options
Diffstat (limited to 'plugins/uml/alf/org.eclipse.papyrus.uml.alf/syntax-gen/org/eclipse/papyrus/uml/alf/impl/TemplateBindingImpl.java')
-rw-r--r-- | plugins/uml/alf/org.eclipse.papyrus.uml.alf/syntax-gen/org/eclipse/papyrus/uml/alf/impl/TemplateBindingImpl.java | 112 |
1 files changed, 112 insertions, 0 deletions
diff --git a/plugins/uml/alf/org.eclipse.papyrus.uml.alf/syntax-gen/org/eclipse/papyrus/uml/alf/impl/TemplateBindingImpl.java b/plugins/uml/alf/org.eclipse.papyrus.uml.alf/syntax-gen/org/eclipse/papyrus/uml/alf/impl/TemplateBindingImpl.java new file mode 100644 index 00000000000..a5418e7bb53 --- /dev/null +++ b/plugins/uml/alf/org.eclipse.papyrus.uml.alf/syntax-gen/org/eclipse/papyrus/uml/alf/impl/TemplateBindingImpl.java @@ -0,0 +1,112 @@ +/** + */ +package org.eclipse.papyrus.uml.alf.impl; + +import java.lang.reflect.InvocationTargetException; +import org.eclipse.emf.common.util.EList; +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.papyrus.uml.alf.AlfPackage; +import org.eclipse.papyrus.uml.alf.ElementReference; +import org.eclipse.papyrus.uml.alf.TemplateBinding; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Template Binding</b></em>'. + * <!-- end-user-doc --> + * <p> + * + * @generated + */ +public abstract class TemplateBindingImpl extends SyntaxElementImpl implements TemplateBinding { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * + * @generated + */ + protected TemplateBindingImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return AlfPackage.eINSTANCE.getTemplateBinding(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * + * @generated + */ + public String toString() { + // TODO: implement this method + // Ensure that you remove @generated or mark it @generated NOT + throw new UnsupportedOperationException(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * + * @generated + */ + public boolean matches(ElementReference template) { + // TODO: implement this method + // Ensure that you remove @generated or mark it @generated NOT + throw new UnsupportedOperationException(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * + * @generated + */ + public TemplateBinding copy() { + // TODO: implement this method + // Ensure that you remove @generated or mark it @generated NOT + throw new UnsupportedOperationException(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * + * @generated + */ + public EList<ElementReference> bindTo(ElementReference template) { + // TODO: implement this method + // Ensure that you remove @generated or mark it @generated NOT + throw new UnsupportedOperationException(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * + * @generated + */ + @Override + public Object eInvoke(int operationID, EList<?> arguments) throws InvocationTargetException { + switch (operationID) { + case AlfPackage.TEMPLATE_BINDING___TO_STRING: + return toString(); + case AlfPackage.TEMPLATE_BINDING___MATCHES__ELEMENTREFERENCE: + return matches((ElementReference) arguments.get(0)); + case AlfPackage.TEMPLATE_BINDING___COPY: + return copy(); + case AlfPackage.TEMPLATE_BINDING___BIND_TO__ELEMENTREFERENCE: + return bindTo((ElementReference) arguments.get(0)); + } + return super.eInvoke(operationID, arguments); + } + +} // TemplateBindingImpl |