public class AddDeviceBean
extends java.lang.Object
Constructor and Description |
---|
AddDeviceBean()
Instantiates a new adds the device bean.
|
Modifier and Type | Method and Description |
---|---|
void |
addDevice()
Adds the device.
|
java.util.Collection<CommunicationType> |
getCommunicationsTypesCollection()
Gets the communications types collection.
|
CommunicationType |
getCommunicationType()
Gets the communication type.
|
java.util.Collection<DeviceModel> |
getDeviceModelCollection()
Gets the device model collection.
|
java.lang.String |
getFirmwareVersion()
Gets the firmware version.
|
DeviceModel |
getModel()
Gets the model.
|
java.lang.String |
getSerialNumber()
Gets the serial number.
|
void |
init()
Inits the.
|
void |
setCommunicationsTypesCollection(java.util.Collection<CommunicationType> communicationsTypesCollection)
Sets the communications types collection.
|
void |
setCommunicationType(CommunicationType communicationType)
Sets the communication type.
|
void |
setDeviceModelCollection(java.util.Collection<DeviceModel> deviceModelCollection)
Sets the device model collection.
|
void |
setFirmwareVersion(java.lang.String firmwareVersion)
Sets the firmware version.
|
void |
setModel(DeviceModel model)
Sets the model.
|
void |
setSerialNumber(java.lang.String serialNumber)
Sets the serial number.
|
public DeviceModel getModel()
public void setModel(DeviceModel model)
model
- the new modelpublic java.lang.String getSerialNumber()
public void setSerialNumber(java.lang.String serialNumber)
serialNumber
- the new serial numberpublic java.lang.String getFirmwareVersion()
public void setFirmwareVersion(java.lang.String firmwareVersion)
firmwareVersion
- the new firmware versionpublic CommunicationType getCommunicationType()
public void setCommunicationType(CommunicationType communicationType)
communicationType
- the new communication typepublic java.util.Collection<CommunicationType> getCommunicationsTypesCollection()
public void setCommunicationsTypesCollection(java.util.Collection<CommunicationType> communicationsTypesCollection)
communicationsTypesCollection
- the new communications types collectionpublic java.util.Collection<DeviceModel> getDeviceModelCollection()
public void setDeviceModelCollection(java.util.Collection<DeviceModel> deviceModelCollection)
deviceModelCollection
- the new device model collection@PostConstruct public void init()
public void addDevice()