diff options
Diffstat (limited to 'doc/org.eclipse.qvtd.doc.minioclcs.xtext/src-gen/org/eclipse/qvtd/doc/minioclcs/xtext/tx/Transformer.java')
-rw-r--r-- | doc/org.eclipse.qvtd.doc.minioclcs.xtext/src-gen/org/eclipse/qvtd/doc/minioclcs/xtext/tx/Transformer.java | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/doc/org.eclipse.qvtd.doc.minioclcs.xtext/src-gen/org/eclipse/qvtd/doc/minioclcs/xtext/tx/Transformer.java b/doc/org.eclipse.qvtd.doc.minioclcs.xtext/src-gen/org/eclipse/qvtd/doc/minioclcs/xtext/tx/Transformer.java new file mode 100644 index 000000000..9de0afcfa --- /dev/null +++ b/doc/org.eclipse.qvtd.doc.minioclcs.xtext/src-gen/org/eclipse/qvtd/doc/minioclcs/xtext/tx/Transformer.java @@ -0,0 +1,57 @@ +/** + * This file was copied and re-packaged automatically by + * org.eclipse.qvtd.doc.miniocl.build.MiniOCLBuildEverything + * from + * ..\..\plugins\org.eclipse.qvtd.runtime\src\org\eclipse\qvtd\runtime\evaluation\Transformer.java + * + * Do not edit this file. + */ +/******************************************************************************* + * Copyright (c) 2015, 2016 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.qvtd.doc.minioclcs.xtext.tx; + +import java.util.Collection; + +import org.eclipse.emf.ecore.EObject; +import org.eclipse.jdt.annotation.NonNull; +import org.eclipse.ocl.pivot.evaluation.ModelManager; + +/** + * A Transformer provides the core support to execute an auto-generated transformation + * between models. + * + * at-since 1.1 + * @noimplement clients should derive from AbstractTransformer + */ +public interface Transformer extends ModelManager, ExecutionVisitable +{ + /** + * Clients may reference this explicitly to force a compile-time failure for a mismatch. + * + * @noreference this is solely for development usage. + * + * 1.1.0-1 API version introduced, ObjectManager etc interfaces separated out, AbstractObjectManager etc enforced. + * 1.1.0-2 Preliminary incremental support. + */ + public static int RUN_TIME_EVALUATOR_API_VERSION_1_1_0_2 = 1*1000 + 1 * 100 + 0*10 + 2; + + /** + * The run-time API version. + * + * @noreference this is solely for development usage. + */ + public static int RUN_TIME_EVALUATOR_API_VERSION = RUN_TIME_EVALUATOR_API_VERSION_1_1_0_2; + + void addRootObjects(@NonNull String modelName, @NonNull Iterable<@NonNull ? extends Object> rootObjects); + @NonNull Collection<@NonNull ? extends EObject> getRootEObjects(@NonNull String modelName); + @NonNull Collection<@NonNull Object> getRootObjects(@NonNull String modelName); + boolean run() throws Exception; +} |