/******************************************************************************* * Copyright (c) 2014 Willink Transformations 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: * 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(); } }