Package eu.mihosoft.devcom.impl
Class DeviceInfoImpl.BuilderImpl
- java.lang.Object
-
- eu.mihosoft.devcom.impl.DeviceInfoImpl.BuilderImpl
-
- All Implemented Interfaces:
DeviceInfo.Builder
- Enclosing class:
- DeviceInfoImpl
public static class DeviceInfoImpl.BuilderImpl extends java.lang.Object implements DeviceInfo.Builder
-
-
Constructor Summary
Constructors Constructor Description BuilderImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DeviceInfo.BuilderappendCollections(boolean value)DeviceInfo.BuilderapplyFrom(DeviceInfo o)DeviceInfobuild()Builds a new 'DeviceInfo' instance.DeviceInfo.BuilderwithDevice(java.lang.String device)Sets the 'device' property of this builder.DeviceInfo.BuilderwithDeviceClass(java.lang.String deviceClass)Sets the 'deviceClass' property of this builder.DeviceInfo.BuilderwithMCUType(java.lang.String mCUType)Sets the 'mCUType' property of this builder.DeviceInfo.BuilderwithSerialNumber(java.lang.String serialNumber)Sets the 'serialNumber' property of this builder.
-
-
-
Method Detail
-
withDevice
public DeviceInfo.Builder withDevice(java.lang.String device)
Description copied from interface:DeviceInfo.BuilderSets the 'device' property of this builder.- Specified by:
withDevicein interfaceDeviceInfo.Builder- Parameters:
device- value to set- Returns:
- this builder
-
withDeviceClass
public DeviceInfo.Builder withDeviceClass(java.lang.String deviceClass)
Description copied from interface:DeviceInfo.BuilderSets the 'deviceClass' property of this builder.- Specified by:
withDeviceClassin interfaceDeviceInfo.Builder- Parameters:
deviceClass- value to set- Returns:
- this builder
-
withMCUType
public DeviceInfo.Builder withMCUType(java.lang.String mCUType)
Description copied from interface:DeviceInfo.BuilderSets the 'mCUType' property of this builder.- Specified by:
withMCUTypein interfaceDeviceInfo.Builder- Parameters:
mCUType- value to set- Returns:
- this builder
-
withSerialNumber
public DeviceInfo.Builder withSerialNumber(java.lang.String serialNumber)
Description copied from interface:DeviceInfo.BuilderSets the 'serialNumber' property of this builder.- Specified by:
withSerialNumberin interfaceDeviceInfo.Builder- Parameters:
serialNumber- value to set- Returns:
- this builder
-
appendCollections
public DeviceInfo.Builder appendCollections(boolean value)
-
build
public DeviceInfo build()
Description copied from interface:DeviceInfo.BuilderBuilds a new 'DeviceInfo' instance.- Specified by:
buildin interfaceDeviceInfo.Builder- Returns:
- a new '
DeviceInfo' instance
-
applyFrom
public DeviceInfo.Builder applyFrom(DeviceInfo o)
-
-