aboutsummaryrefslogtreecommitdiffstats
path: root/Solvers/VIATRA-Solver/org.eclipse.viatra.dse/src/org/eclipse/viatra/dse/statecoding/StatecodingDependency.java
blob: 67b1982d48c78ec56b95e84c5498e3b58b2986f8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
/*******************************************************************************
 * Copyright (c) 2010-2015, Andras Szabolcs Nagy and Daniel Varro
 * This program and the accompanying materials are made available under the
 * terms of the Eclipse Public License v. 2.0 which is available at
 * http://www.eclipse.org/legal/epl-v20.html.
 * 
 * SPDX-License-Identifier: EPL-2.0
 *******************************************************************************/
package org.eclipse.viatra.dse.statecoding;

import org.eclipse.emf.ecore.EReference;

public class StatecodingDependency {

    protected EReference eReference;
    protected StatecodingNode node;
    protected boolean isContained;
    protected StatecodingDependencyType type;

    public StatecodingDependency(EReference eReference, StatecodingNode node, boolean isContained,
            StatecodingDependencyType type) {
        super();
        this.eReference = eReference;
        this.node = node;
        this.isContained = isContained;
        this.type = type;
    }

    public StatecodingDependency(EReference eReference, StatecodingNode node) {
        this(eReference, node, false, StatecodingDependencyType.NORMAL);
    }

}