/******************************************************************************* * Copyright (c) 2012 OpenLegacy Inc. * 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: * OpenLegacy Inc. - initial API and implementation *******************************************************************************/ package org.openlegacy.designtime.mains; import org.openlegacy.designtime.EntityUserInteraction; import org.openlegacy.terminal.TerminalSnapshot; import org.openlegacy.terminal.definitions.ScreenEntityDefinition; import java.io.File; public class GenerateModelRequest extends AbstractGenerateRequest { // generation is either to a trail file private File trailFile; // or snapshot private TerminalSnapshot[] terminalSnapshots; private EntityUserInteraction<ScreenEntityDefinition> entityUserInteraction; public File getTrailFile() { return trailFile; } public void setTrailFile(File trailFile) { this.trailFile = trailFile; } public void setTerminalSnapshots(TerminalSnapshot... terminalSnapshots) { this.terminalSnapshots = terminalSnapshots; } public TerminalSnapshot[] getTerminalSnapshots() { return terminalSnapshots; } public EntityUserInteraction<ScreenEntityDefinition> getEntityUserInteraction() { return entityUserInteraction; } public void setEntityUserInteraction(EntityUserInteraction<ScreenEntityDefinition> entityUserInteraction) { this.entityUserInteraction = entityUserInteraction; } }