2 * Copyright (c) 2010-2023 Contributors to the openHAB project
4 * See the NOTICE file(s) distributed with this work for additional
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
11 * SPDX-License-Identifier: EPL-2.0
13 package org.openhab.binding.hue.internal.api.dto.clip1;
16 * Basic group information.
18 * @author Q42 - Initial contribution
19 * @author Denis Dudnik - moved Jue library source code inside the smarthome Hue binding
20 * @author Laurent Garnier - field type added
29 this.name = "Lightset 0";
30 this.type = "LightGroup";
36 Group(String id, String name, String type) {
42 public void setName(String name) {
46 public void setId(String id) {
50 void setType(String type) {
55 * Returns if the group can be modified.
56 * Currently only returns false for the all lights pseudo group.
58 * @return modifiability of group
60 public boolean isModifiable() {
61 return !"0".equals(id);
65 * Returns the id of the group.
69 public String getId() {
74 * Returns the name of the group.
78 public String getName() {
83 * Returns the tyoe of the group.
87 public String getType() {