blob: e08fc1f983c1d393b06fc8fd27f8e2c59a94b66e [file] [log] [blame]
/**
* <copyright>
* Copyright (c) 2013 Willink Transformations, University of York, and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v2.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v20.html
*
* Contributors:
* E.D.Willink - Initial API and implementation
* Adolfo Sanchez-Barbudo (University of York) - Bug397429
* </copyright>
*/
package org.eclipse.qvto.examples.pivot.imperativeocl.impl;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.ocl.pivot.internal.CollectionTypeImpl;
import org.eclipse.ocl.pivot.util.Visitor;
import org.eclipse.qvto.examples.pivot.imperativeocl.ImperativeOCLPackage;
import org.eclipse.qvto.examples.pivot.imperativeocl.ListType;
import org.eclipse.qvto.examples.pivot.imperativeocl.util.ImperativeOCLVisitor;
/**
* <!-- begin-user-doc -->
* An implementation of the model object '<em><b>List Type</b></em>'.
* <!-- end-user-doc -->
*
* @generated
*/
public class ListTypeImpl extends CollectionTypeImpl implements ListType {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
protected ListTypeImpl() {
super();
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
protected EClass eStaticClass() {
return ImperativeOCLPackage.Literals.LIST_TYPE;
}
/**
* {@inheritDoc}
* @generated
*/
@SuppressWarnings("unchecked")
@Override
public <R> R accept(Visitor<R> visitor) {
return (R) ((ImperativeOCLVisitor<?>)visitor).visitListType(this);
}
} //ListTypeImpl