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

org.openlca.io.ecospold1.input.FlowBucket Maven / Gradle / Ivy

The newest version!
package org.openlca.io.ecospold1.input;

import org.openlca.core.model.Flow;
import org.openlca.core.model.FlowProperty;
import org.openlca.core.model.Unit;

/**
 * A simple structure that holds a flow and conversion factor used for the
 * import. The conversion factor is relevant for the mapped flows and should be
 * 1 for the other case.
 */
class FlowBucket {

	Flow flow;
	double conversionFactor;
	FlowProperty flowProperty;
	Unit unit;

	boolean isValid() {
		return flow != null && flowProperty != null && unit != null;
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy