Package org.openmuc.framework.config
Class DeviceScanInfo
- java.lang.Object
-
- org.openmuc.framework.config.DeviceScanInfo
-
public class DeviceScanInfo extends java.lang.Object
Class 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.String
getDescription()
Gets the description.java.lang.String
getDeviceAddress()
Gets the device addressjava.lang.String
getId()
Gets the ID.java.lang.String
getSettings()
Gets the settingsjava.lang.String
toString()
-
-
-
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:
toString
in classjava.lang.Object
-
-