org.eclipse.ocl.expressions.impl.CollectionLiteralPartImpl Maven / Gradle / Ivy
/*******************************************************************************
* 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;
/**
*
* An implementation of the model object 'Collection Literal Part'.
*
*
*
*
* @generated
*/
public abstract class CollectionLiteralPartImpl
extends EObjectImpl
implements CollectionLiteralPart {
private String name;
private C type;
/**
*
*
* @generated
*/
protected CollectionLiteralPartImpl() {
super();
}
/**
*
*
* @generated
*/
@Override
protected EClass eStaticClass() {
return ExpressionsPackage.Literals.COLLECTION_LITERAL_PART;
}
/**
*
*
* @generated NOT
*/
public String getName() {
return name;
}
/**
*
*
* @generated NOT
*/
public C getType() {
return type;
}
/**
*
*
* @generated NOT
*/
public void setName(String name) {
this.name = name;
}
/**
*
*
* @generated NOT
*/
public void setType(C type) {
this.type = type;
}
/**
*
*
* @generated NOT
*/
public > T accept(U v) {
throw new UnsupportedOperationException();
}
} //CollectionLiteralPartImpl