]> git.basschouten.com Git - openhab-addons.git/blob
106dbeea1b98d9bab556bef5aab7836c211b52a2
[openhab-addons.git] /
1 /**
2  * Copyright (c) 2010-2023 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.velux.internal.things;
14
15 import org.eclipse.jdt.annotation.NonNullByDefault;
16 import org.openhab.binding.velux.internal.VeluxBindingConstants;
17 import org.slf4j.Logger;
18 import org.slf4j.LoggerFactory;
19
20 /**
21  * <B>Velux</B> product representation.
22  * <P>
23  * Combined set of information describing a single Velux product.
24  *
25  * @author Guenther Schreiner - initial contribution.
26  */
27 @NonNullByDefault
28 public class VeluxGwWLAN {
29     private final Logger logger = LoggerFactory.getLogger(VeluxGwWLAN.class);
30
31     // Class internal
32
33     private String serviceSetID = VeluxBindingConstants.UNKNOWN;
34     private String password = VeluxBindingConstants.UNKNOWN;
35
36     // Constructor
37
38     public VeluxGwWLAN(String serviceSetID, String password) {
39         logger.trace("VeluxGwWLAN() created.");
40
41         this.serviceSetID = serviceSetID;
42         this.password = password;
43     }
44
45     public VeluxGwWLAN() {
46         logger.trace("VeluxGwWLAN(dummy) created.");
47     }
48
49     // Class access methods
50
51     public String getSSID() {
52         return this.serviceSetID;
53     }
54
55     public String getPassword() {
56         return this.password;
57     }
58 }