Skip to main content
aboutsummaryrefslogblamecommitdiffstats
blob: d62ed8e6f9aeb198211a7a00a7047dd1e21fb03b (plain) (tree)





























                                                                                 
/*******************************************************************************
* Copyright (c) 2018 protos software gmbh (http://www.protos.de).
* All rights reserved.
*
* This program and the accompanying materials are made
* available under the terms of the Eclipse Public License 2.0
* which is available at https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*
* CONTRIBUTORS:
*           Jan Belle (initial contribution)
*
 *******************************************************************************/

package org.eclipse.etrice.generator.java.setup;

import org.eclipse.etrice.generator.base.AbstractGeneratorOptionsHelper;
import org.eclipse.etrice.generator.base.args.Arguments;

public class GeneratorOptionsHelper extends AbstractGeneratorOptionsHelper {
	
	public boolean isGeneratePersistenceInterface(Arguments args) {
		return args.get(GeneratorOptions.GEN_PERSIST);
	}
	
	public boolean isGenerateStoreDataObj(Arguments args) {
		return args.get(GeneratorOptions.GEN_STORE_DATA_OBJ);
	}
}

Back to the top