/******************************************************************************* * Copyright (c) 2006, 2008 IBM Corporation, Zeligsoft Inc., 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: * IBM - Initial API and implementation * Zeligsoft - Bug 207365 *******************************************************************************/ package org.eclipse.ocl.expressions.impl; import org.eclipse.emf.ecore.EClass; import org.eclipse.emf.ecore.impl.EObjectImpl; import org.eclipse.ocl.expressions.CollectionLiteralPart; import org.eclipse.ocl.expressions.ExpressionsPackage; //import org.eclipse.ocl.expressions.operations.CollectionLiteralPartOperations; import org.eclipse.ocl.utilities.Visitor; /** * <!-- begin-user-doc --> * An implementation of the model object '<em><b>Collection Literal Part</b></em>'. * <!-- end-user-doc --> * * @generated */ public abstract class CollectionLiteralPartImpl<C> extends EObjectImpl implements CollectionLiteralPart<C> { private String name; private C type; /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ protected CollectionLiteralPartImpl() { super(); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override protected EClass eStaticClass() { return ExpressionsPackage.Literals.COLLECTION_LITERAL_PART; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated NOT */ public String getName() { return name; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated NOT */ public C getType() { return type; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated NOT */ public void setName(String name) { this.name = name; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated NOT */ public void setType(C type) { this.type = type; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated NOT */ public <T, U extends Visitor<T, ?, ?, ?, ?, ?, ?, ?, ?, ?>> T accept(U v) { throw new UnsupportedOperationException(); } } //CollectionLiteralPartImpl