public class DeviceType extends Object
Users can specify their own naming convention and logical device types. Example: Category: Lighting, Type: Dimmable Light, Color Light, etc. Example: Category: n/a, Type: Power Outlet
Constructor and Description |
---|
DeviceType(String category,
String type)
Creates a DeviceType
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getCategory()
Gets the device category.
|
String |
getType()
Gets the device type.
|
int |
hashCode() |
String |
toString() |
Copyright © 2021. All rights reserved.