public class Device extends MetadataProviderEntity implements IDevice, java.io.Serializable
Constructor and Description |
---|
Device() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAssetId() |
java.lang.String |
getAssetImageUrl() |
java.lang.String |
getAssetName() |
DeviceAssignment |
getAssignment() |
java.lang.String |
getAssignmentToken()
Get the current device assignment token if assigned.
|
java.lang.String |
getComments()
Get device comments.
|
java.util.List<IDeviceElementMapping> |
getDeviceElementMappings()
Gets mappings of
IDeviceElementSchema paths to hardware ids for
nested devices. |
java.lang.String |
getHardwareId()
Get the unique hardware id of the device.
|
java.lang.String |
getParentHardwareId()
If contained by a parent device, returns the parent hardware id.
|
Site |
getSite() |
java.lang.String |
getSiteToken()
Get token for associated site.
|
DeviceSpecification |
getSpecification() |
java.lang.String |
getSpecificationToken()
Get token for device specification.
|
DeviceStatus |
getStatus()
Get most recent device status.
|
void |
setAssetId(java.lang.String assetId) |
void |
setAssetImageUrl(java.lang.String assetImageUrl) |
void |
setAssetName(java.lang.String assetName) |
void |
setAssignment(DeviceAssignment assignment) |
void |
setAssignmentToken(java.lang.String assignmentToken) |
void |
setComments(java.lang.String comments) |
void |
setDeviceElementMappings(java.util.List<DeviceElementMapping> deviceElementMappings) |
void |
setHardwareId(java.lang.String hardwareId) |
void |
setParentHardwareId(java.lang.String parentHardwareId) |
void |
setSite(Site site) |
void |
setSiteToken(java.lang.String siteToken) |
void |
setSpecification(DeviceSpecification specification) |
void |
setSpecificationToken(java.lang.String specificationToken) |
void |
setStatus(DeviceStatus status) |
copy, getCreatedBy, getCreatedDate, getUpdatedBy, getUpdatedDate, isDeleted, setCreatedBy, setCreatedDate, setDeleted, setUpdatedBy, setUpdatedDate
addOrReplaceMetadata, clearMetadata, copy, copy, getMetadata, getMetadata, removeMetadata, setMetadata
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addOrReplaceMetadata, clearMetadata, getMetadata, getMetadata, removeMetadata
getCreatedBy, getCreatedDate, getUpdatedBy, getUpdatedDate, isDeleted
public java.lang.String getHardwareId()
IDevice
getHardwareId
in interface IDevice
public void setHardwareId(java.lang.String hardwareId)
public java.lang.String getSiteToken()
IDevice
getSiteToken
in interface IDevice
public void setSiteToken(java.lang.String siteToken)
public java.lang.String getSpecificationToken()
IDevice
getSpecificationToken
in interface IDevice
public void setSpecificationToken(java.lang.String specificationToken)
public java.lang.String getParentHardwareId()
IDevice
getParentHardwareId
in interface IDevice
public void setParentHardwareId(java.lang.String parentHardwareId)
public java.util.List<IDeviceElementMapping> getDeviceElementMappings()
IDevice
IDeviceElementSchema
paths to hardware ids for
nested devices.getDeviceElementMappings
in interface IDevice
public void setDeviceElementMappings(java.util.List<DeviceElementMapping> deviceElementMappings)
public java.lang.String getComments()
IDevice
getComments
in interface IDevice
public void setComments(java.lang.String comments)
public DeviceStatus getStatus()
IDevice
public void setStatus(DeviceStatus status)
public java.lang.String getAssignmentToken()
IDevice
getAssignmentToken
in interface IDevice
public void setAssignmentToken(java.lang.String assignmentToken)
public DeviceSpecification getSpecification()
public void setSpecification(DeviceSpecification specification)
public DeviceAssignment getAssignment()
public void setAssignment(DeviceAssignment assignment)
public Site getSite()
public void setSite(Site site)
public java.lang.String getAssetId()
public void setAssetId(java.lang.String assetId)
public java.lang.String getAssetName()
public void setAssetName(java.lang.String assetName)
public java.lang.String getAssetImageUrl()
public void setAssetImageUrl(java.lang.String assetImageUrl)