All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.openlca.io.oneclick.Module Maven / Gradle / Ivy

There is a newer version: 2.2.1
Show newest version
package org.openlca.io.oneclick;

import org.apache.poi.ss.usermodel.Row;
import org.openlca.io.xls.Excel;

enum Module {

	MATERIALS("A1 Raw materials", "PRODUCT_MATERIALS"),
	ENERGY("A3 Energy use", "PRODUCT_ENERGY"),
	PACKAGING("A3 Packaging materials", "PRODUCT_PACKAGING"),
	WASTE("A3 Manufacturing waste", "PRODUCT_WASTE");

	private final String module;
	private final String className;

	Module(String module, String className) {
		this.module = module;
		this.className = className;
	}

	void writeTo(Row row) {
		Excel.cell(row, 0, module);
		Excel.cell(row, 1, className);
	}
}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy