]> git.basschouten.com Git - openhab-addons.git/blob
41c296a216212b5fff286d22b53710d4b224a293
[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.minecraft.internal.config;
14
15 /**
16  * Configuration settings for a {@link org.openhab.binding.minecraft.internal.handler.MinecraftPlayerHandler}.
17  *
18  * @author Mattias Markehed - Initial contribution
19  */
20 public class PlayerConfig {
21     private String playerName = "";
22
23     /**
24      * Get name of player.
25      *
26      * @return player name
27      */
28     public String getName() {
29         return playerName;
30     }
31
32     /**
33      * Set the player name.
34      *
35      * @param name player name
36      */
37     public void setName(String name) {
38         this.playerName = name;
39     }
40 }