Package eu.mihosoft.devcom
Interface DeviceInfo
- All Superinterfaces:
Cloneable
,eu.mihosoft.vmf.runtime.core.Immutable
,eu.mihosoft.vmf.runtime.core.VObject
- All Known Implementing Classes:
DeviceInfoImpl
public interface DeviceInfo
extends eu.mihosoft.vmf.runtime.core.VObject, Cloneable, eu.mihosoft.vmf.runtime.core.Immutable
A representation of the immutable model object
eu.mihosoft.devcom.DeviceInfo
.
Denotes a device accessed with this library
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns a read-only wrapper of 'DeviceInfo
'.clone()
Returns a deep clone of this object.Returns the value of the 'device' property.Returns the value of the 'deviceClass' property.Returns the value of the 'mCUType' property.Returns the value of the 'serialNumber' property.static DeviceInfo.Builder
Returns a new builder for creating a 'DeviceInfo
' instance.static eu.mihosoft.vmf.runtime.core.Type
type()
Returns the Type object of this model type.Methods inherited from interface eu.mihosoft.vmf.runtime.core.VObject
vmf
-
Method Details
-
getDevice
String getDevice()Returns the value of the 'device' property.Returns the device
- Returns:
- the value of the 'device' property.
-
getDeviceClass
String getDeviceClass()Returns the value of the 'deviceClass' property.Returns the device class
- Returns:
- the value of the 'deviceClass' property.
-
getMCUType
String getMCUType()Returns the value of the 'mCUType' property.Returns the MCU type used by this device
- Returns:
- the value of the 'mCUType' property.
-
getSerialNumber
String getSerialNumber()Returns the value of the 'serialNumber' property.Returns the serial number of the device
- Returns:
- the value of the 'serialNumber' property.
-
type
static eu.mihosoft.vmf.runtime.core.Type type()Returns the Type object of this model type.- Returns:
- Type object
-
newBuilder
Returns a new builder for creating a 'DeviceInfo
' instance.- Returns:
- a new builder for creating a '
DeviceInfo
' instance
-
asReadOnly
DeviceInfo asReadOnly()Returns a read-only wrapper of 'DeviceInfo
'. Since this model object is immutable this method does not perform any conversion and returns this object in unmodified form.- Specified by:
asReadOnly
in interfaceeu.mihosoft.vmf.runtime.core.VObject
- Returns:
- a read-only wrapper of '
DeviceInfo
'
-
clone
DeviceInfo clone()Returns a deep clone of this object.- Specified by:
clone
in interfaceeu.mihosoft.vmf.runtime.core.VObject
- Returns:
- a deep clone of this object
-