blob: 690976f3e03bf6d873e051641564cb9d54221a6d [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2014, 2018 Willink Transformations 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
*******************************************************************************/
package org.eclipse.ocl.examples.build.qvto;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.emf.ecore.util.EcoreUtil;
import org.eclipse.m2m.qvt.oml.blackbox.java.Module;
@Module(packageURIs={"http://www.eclipse.org/emf/2002/Ecore"})
public class BlackBoxLibrary {
public BlackBoxLibrary() {
super();
}
public String getURI(EObject self) {
return EcoreUtil.getURI(self).toString();
}
}