]> git.basschouten.com Git - openhab-addons.git/blob
b3192f7b826fd68d639f2a32eb90e9271e1b25be
[openhab-addons.git] /
1 /**
2  * Copyright (c) 2010-2022 Contributors to the openHAB project
3  *
4  * See the NOTICE file(s) distributed with this work for additional
5  * information.
6  *
7  * This program and the accompanying materials are made available under the
8  * terms of the Eclipse Public License 2.0 which is available at
9  * http://www.eclipse.org/legal/epl-2.0
10  *
11  * SPDX-License-Identifier: EPL-2.0
12  */
13 package org.openhab.binding.knx.internal.config;
14
15 import java.math.BigDecimal;
16
17 /**
18  * IP Bridge handler configuration object.
19  *
20  * @author Simon Kaufmann - initial contribution and API
21  *
22  */
23 public class IPBridgeConfiguration extends BridgeConfiguration {
24
25     private boolean useNAT;
26     private String type;
27     private String ipAddress;
28     private BigDecimal portNumber;
29     private String localIp;
30     private String localSourceAddr;
31
32     public Boolean getUseNAT() {
33         return useNAT;
34     }
35
36     public String getType() {
37         return type;
38     }
39
40     public String getIpAddress() {
41         return ipAddress;
42     }
43
44     public BigDecimal getPortNumber() {
45         return portNumber;
46     }
47
48     public String getLocalIp() {
49         return localIp;
50     }
51
52     public String getLocalSourceAddr() {
53         return localSourceAddr;
54     }
55 }