public class DeviceData
extends java.lang.Object
Constructor and Description |
---|
DeviceData()
Reserved for internal use only.
|
DeviceData(java.lang.String id,
java.lang.String hardware,
java.lang.String platform)
Reserved for internal use only.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getDisplayName()
Returns the display name of the device.
The initial display name is null. |
java.lang.String |
getHardware()
Returns the hardware of the device.
|
java.lang.String |
getId()
Returns the unique ID of the device.
|
java.lang.String |
getPlatform()
Returns the name of the operating system of the device.
|
MFPDeviceStatus |
getStatus()
Returns the status of the device.
|
void |
setDisplayName(java.lang.String displayName)
Sets the display name of the device.
Note that adapters must call AdapterSecurityContext.storeClientRegistrationData to store changes in the registration data, such as the device display name. |
void |
setStatus(MFPDeviceStatus deviceStatus)
Sets the status of the device.
Note that adapters must call AdapterSecurityContext.storeClientRegistrationData to store changes in the registration data, such as the device status. |
boolean |
updateFrom(DeviceData that)
Reserved for internal use.
|
public DeviceData()
public DeviceData(java.lang.String id, java.lang.String hardware, java.lang.String platform)
id
- Unique device IDhardware
- Device hardwareplatform
- Device platformpublic boolean updateFrom(DeviceData that) throws java.lang.Exception
that
- java.lang.Exception
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String getId()
public java.lang.String getHardware()
public java.lang.String getPlatform()
public java.lang.String getDisplayName()
DeviceData.setDisplayName(java.lang.String)
method of this class.public void setDisplayName(java.lang.String displayName)
AdapterSecurityContext.storeClientRegistrationData
to store changes in the registration data, such as the device display name.displayName
- Device display name to set.public void setStatus(MFPDeviceStatus deviceStatus)
AdapterSecurityContext.storeClientRegistrationData
to store changes in the registration data, such as the device status.deviceStatus
- Device status to set.public MFPDeviceStatus getStatus()
© Copyright IBM Corp. 2006, 2015. All Rights Reserved.