blob: 100c65b763157752e4ca2bc6ad80101d3e012d0c [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2009, 2019 Xored Software 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
* https://www.eclipse.org/legal/epl-v20.html
*
* Contributors:
* Xored Software Inc - initial API and implementation and/or initial documentation
*******************************************************************************/
package org.eclipse.rcptt.ecl.runtime;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.EObject;
public interface IEMFConverter<JC extends Object, EC extends EObject> {
JC fromEObject(EC eObject) throws CoreException;
EC toEObject(JC object) throws CoreException;
Class<JC> getJavaClass();
EClass getEClass();
}