1 package org.simantics.district.network.visualisations.model;
3 public class DynamicArrowContribution {
6 private String moduleName;
7 private String attributeName;
8 private double variableGain;
9 private double variableBias;
11 // for graph persistence only
13 private boolean useDefault;
15 public DynamicArrowContribution(String label, String moduleName, String attributeName, double variableGain, double variableBias) {
17 this.moduleName = moduleName;
18 this.attributeName = attributeName;
19 this.variableGain = variableGain;
20 this.variableBias = variableBias;
23 public String getLabel() {
27 public String getModuleName() {
31 public String getAttributeName() {
35 public double getDefaultGain() {
39 public double getDefaultBias() {
43 public void setUsed(boolean used) {
47 public boolean isUsed() {
51 public void setUseDefault(boolean useDefault) {
52 this.useDefault = useDefault;
55 public boolean isUseDefault() {