]> git.basschouten.com Git - openhab-addons.git/blob
221e498dabf1ee61cff662d895f1acf382af7ea1
[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.paradoxalarm.internal.model;
14
15 /**
16  * The {@link EntityType} Enum of paradox entity types - zones, partitions, maybe more in the future...
17  *
18  * @author Konstantin Polihronov - Initial contribution
19  */
20 public enum EntityType {
21     ZONE,
22     PARTITION;
23
24     @Override
25     public String toString() {
26         String upperCase = super.toString();
27         String lowerCase = upperCase.toLowerCase();
28         return lowerCase.replace(lowerCase.charAt(0), upperCase.charAt(0));
29     }
30 }