1 package de.dlr.bt.stc.bridge;
2
3 import org.apache.commons.configuration2.HierarchicalConfiguration;
4
5 import de.dlr.bt.stc.config.ConfiguredObject;
6
7 public class MappingCfg extends ConfiguredObject {
8
9 public MappingCfg(HierarchicalConfiguration<?> config) {
10 super(config);
11 }
12
13 public String getMeasurement() {
14 return config.getString("measurement");
15 }
16
17 public String getLocation() {
18 return config.getString("location");
19 }
20
21 public String getDevice() {
22 return config.getString("device");
23 }
24
25 public String getSymbolicName() {
26 return config.getString("symbolic_name");
27 }
28
29
30 public String getField() {
31 return config.getString("field", "");
32 }
33
34 }