Package org.openmuc.framework.config
Class DeviceScanInfo
- java.lang.Object
-
- org.openmuc.framework.config.DeviceScanInfo
-
public class DeviceScanInfo extends java.lang.ObjectClass holding the information of a scanned device.
-
-
Constructor Summary
Constructors Constructor Description DeviceScanInfo(java.lang.String deviceAddress, java.lang.String settings, java.lang.String description)DeviceScanInfo(java.lang.String id, java.lang.String deviceAddress, java.lang.String settings, java.lang.String description)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetDescription()Gets the description.java.lang.StringgetDeviceAddress()Gets the device addressjava.lang.StringgetId()Gets the ID.java.lang.StringgetSettings()Gets the settingsjava.lang.StringtoString()
-
-
-
Method Detail
-
getId
public java.lang.String getId()
Gets the ID. The ID is generated out of interface + device address. Special chars are omitted.- Returns:
- the id
-
getDescription
public java.lang.String getDescription()
Gets the description.- Returns:
- the description
-
getDeviceAddress
public java.lang.String getDeviceAddress()
Gets the device address- Returns:
- the device address
-
getSettings
public java.lang.String getSettings()
Gets the settings- Returns:
- the settings
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-