mir.routines.familiesToPersons.FamiliesToPersonsRoutinesFacadesProvider Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tools.vitruv.dsls.demo.familiespersons Show documentation
Show all versions of tools.vitruv.dsls.demo.familiespersons Show documentation
A demo for the Vitruv framework based on the families and persons metamodels
The newest version!
package mir.routines.familiesToPersons;
import tools.vitruv.dsls.reactions.runtime.routines.AbstractRoutinesFacade;
import tools.vitruv.dsls.reactions.runtime.routines.AbstractRoutinesFacadesProvider;
import tools.vitruv.dsls.reactions.runtime.state.ReactionExecutionState;
import tools.vitruv.dsls.reactions.runtime.structure.ReactionsImportPath;
@SuppressWarnings("all")
public class FamiliesToPersonsRoutinesFacadesProvider extends AbstractRoutinesFacadesProvider {
public FamiliesToPersonsRoutinesFacadesProvider(final ReactionExecutionState executionState) {
super(executionState);
}
public AbstractRoutinesFacade createRoutinesFacade(final ReactionsImportPath reactionsImportPath) {
switch(reactionsImportPath.getPathString()) {
case "familiesToPersons": {
return new mir.routines.familiesToPersons.FamiliesToPersonsRoutinesFacade(this, reactionsImportPath);
}
default: {
throw new IllegalArgumentException("Unexpected import path: " + reactionsImportPath.getPathString());
}
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy