]> gerrit.simantics Code Review - simantics/district.git/blob - org.simantics.district.network/src/org/simantics/district/network/visualisations/model/StaticInformationContribution.java
6e8b9363b4c3fb1429f2c106be2165f928a0c149
[simantics/district.git] / org.simantics.district.network / src / org / simantics / district / network / visualisations / model / StaticInformationContribution.java
1 package org.simantics.district.network.visualisations.model;
2
3 public class StaticInformationContribution {
4
5     private String label;
6     private String moduleName;
7     private String attributeName;
8     private String unit;
9     
10     // for graph persistence only
11     private boolean used;
12     private boolean useDefault;
13
14     public StaticInformationContribution(String label, String moduleName, String attributeName, String unit) {
15         this.label = label;
16         this.moduleName = moduleName;
17         this.attributeName = attributeName;
18         this.unit = unit;
19     }
20
21     public String getLabel() {
22         return label;
23     }
24     
25     public String getModuleName() {
26         return moduleName;
27     }
28     
29     public String getAttributeName() {
30         return attributeName;
31     }
32
33     public String getUnit() {
34         return unit;
35     }
36     
37     public boolean isUsed() {
38         return used;
39     }
40     
41     public void setUsed(boolean used) {
42         this.used = used;
43     }
44     
45     public boolean isUseDefault() {
46         return useDefault;
47     }
48     
49     public void setUseDefault(boolean useDefault) {
50         this.useDefault = useDefault;
51     }
52
53 }