public class DeviceEntityImpl extends AbstractEngageEngineEntity implements DeviceEntity
| Modifier and Type | Field and Description | 
|---|---|
| protected String | applicationId | 
| protected Date | creationTime | 
| protected String | creatorId | 
| protected String | deviceOS | 
| protected boolean | enabled | 
| protected String | tenantId | 
| protected String | token | 
| protected String | tokenEncoding | 
| protected String | updaterId | 
| protected Date | updateTime | 
| protected String | userId | 
| Constructor and Description | 
|---|
| DeviceEntityImpl() | 
| Modifier and Type | Method and Description | 
|---|---|
| String | getApplicationId()The id of the application that this device is registered for | 
| Date | getCreationTime()The time when the device was created | 
| String | getCreatorId()The id of the user that created the token. | 
| String | getDeviceOS()The operating system of the device | 
| Object | getPersistentState() | 
| String | getTenantId()The tenant id of the device | 
| String | getToken()The token of the device that should be used when sending out notifications to it. | 
| String | getTokenEncoding()The type of the encoding for the device. | 
| String | getUpdaterId()The id of the user that last updated the device | 
| Date | getUpdateTime()The time when the device was last updated | 
| String | getUserId()The id of the user that this device belongs to | 
| boolean | isEnabled()Whether the device is enabled (i.e. | 
| void | setApplicationId(String applicationId) | 
| void | setCreationTime(Date creationTime) | 
| void | setCreatorId(String creatorId) | 
| void | setDeviceOS(String deviceOS) | 
| void | setEnabled(boolean enabled) | 
| void | setTenantId(String tenantId) | 
| void | setToken(String token) | 
| void | setTokenEncoding(String tokenEncoding) | 
| void | setUpdaterId(String updaterId) | 
| void | setUpdateTime(Date updateTime) | 
| void | setUserId(String userId) | 
getIdPrefixgetId, getOriginalPersistentState, getRevision, getRevisionNext, isDeleted, isInserted, isUpdated, setDeleted, setId, setInserted, setOriginalPersistentState, setRevision, setUpdatedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitprotected String token
protected String tokenEncoding
protected boolean enabled
protected String deviceOS
protected String userId
protected String applicationId
protected String creatorId
protected Date creationTime
protected String updaterId
protected Date updateTime
protected String tenantId
public String getToken()
Devicepublic void setToken(String token)
setToken in interface DeviceEntitypublic String getTokenEncoding()
DevicegetTokenEncoding in interface Devicepublic void setTokenEncoding(String tokenEncoding)
setTokenEncoding in interface DeviceEntitypublic boolean isEnabled()
Devicepublic void setEnabled(boolean enabled)
setEnabled in interface DeviceEntitypublic String getDeviceOS()
DevicegetDeviceOS in interface Devicepublic void setDeviceOS(String deviceOS)
setDeviceOS in interface DeviceEntitypublic String getUserId()
Devicepublic void setUserId(String userId)
setUserId in interface DeviceEntitypublic String getApplicationId()
DevicegetApplicationId in interface Devicepublic void setApplicationId(String applicationId)
setApplicationId in interface DeviceEntitypublic String getCreatorId()
DevicegetCreatorId in interface Devicepublic void setCreatorId(String creatorId)
setCreatorId in interface DeviceEntitypublic Date getCreationTime()
DevicegetCreationTime in interface Devicepublic void setCreationTime(Date creationTime)
setCreationTime in interface DeviceEntitypublic String getUpdaterId()
DevicegetUpdaterId in interface Devicepublic void setUpdaterId(String updaterId)
setUpdaterId in interface DeviceEntitypublic Date getUpdateTime()
DevicegetUpdateTime in interface Devicepublic void setUpdateTime(Date updateTime)
setUpdateTime in interface DeviceEntitypublic String getTenantId()
DevicegetTenantId in interface Devicepublic void setTenantId(String tenantId)
setTenantId in interface DeviceEntitypublic Object getPersistentState()
getPersistentState in interface org.flowable.common.engine.impl.persistence.entity.EntityCopyright © 2019. All rights reserved.