/** * <copyright> * Copyright (c) 2008, 2009 Open Canarias S.L. and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * A. Sanchez-Barbudo - initial API and implementation * </copyright> * * $Id: ForExpImpl.java,v 1.3 2009/02/06 15:47:30 radvorak Exp $ */ package org.eclipse.m2m.qvt.oml.ecore.ImperativeOCL.impl; import org.eclipse.emf.ecore.EClass; import org.eclipse.m2m.qvt.oml.ecore.ImperativeOCL.ForExp; import org.eclipse.m2m.qvt.oml.ecore.ImperativeOCL.ImperativeOCLPackage; import org.eclipse.m2m.qvt.oml.ecore.ImperativeOCL.util.ImperativeOCLVisitor; import org.eclipse.ocl.utilities.Visitor; /** * <!-- begin-user-doc --> * An implementation of the model object '<em><b>For Exp</b></em>'. * <!-- end-user-doc --> * <p> * </p> * * @generated */ public class ForExpImpl extends ImperativeLoopExpImpl implements ForExp { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ protected ForExpImpl() { super(); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override protected EClass eStaticClass() { return ImperativeOCLPackage.Literals.FOR_EXP; } /** * @generated NOT */ @SuppressWarnings("unchecked") @Override public <T, U extends Visitor<T, ?, ?, ?, ?, ?, ?, ?, ?, ?>> T accept(U v) { if (v instanceof ImperativeOCLVisitor) return (T) ((ImperativeOCLVisitor) v).visitForExp(this); return super.<T, U>accept(v); } } //ForExpImpl