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

com.farao_community.farao.flowbased_computation.FlowbasedComputationResultImpl Maven / Gradle / Ivy

There is a newer version: 5.0.0
Show newest version
/*
 * Copyright (c) 2018, RTE (http://www.rte-france.com)
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
 */
package com.farao_community.farao.flowbased_computation;

import com.farao_community.farao.data.flowbased_domain.DataDomain;

/**
 * FlowBased Computation Result
 * @author Sebastien Murgey {@literal }
 */
public class FlowbasedComputationResultImpl implements FlowbasedComputationResult {
    private final Status status;
    private final DataDomain flowBasedDomain;

    public FlowbasedComputationResultImpl() {
        status = null;
        flowBasedDomain = null;
    }

    public FlowbasedComputationResultImpl(final Status status, final DataDomain flowBasedDomain) {
        this.status = status;
        this.flowBasedDomain = flowBasedDomain;
    }

    public DataDomain getFlowBasedDomain() {
        return flowBasedDomain;
    }

    public Status getStatus() {
        return status;
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy