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) |
getIdPrefix
getId, getOriginalPersistentState, getRevision, getRevisionNext, isDeleted, isInserted, isUpdated, setDeleted, setId, setInserted, setOriginalPersistentState, setRevision, setUpdated
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
protected 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()
Device
public void setToken(String token)
setToken
in interface DeviceEntity
public String getTokenEncoding()
Device
getTokenEncoding
in interface Device
public void setTokenEncoding(String tokenEncoding)
setTokenEncoding
in interface DeviceEntity
public boolean isEnabled()
Device
public void setEnabled(boolean enabled)
setEnabled
in interface DeviceEntity
public String getDeviceOS()
Device
getDeviceOS
in interface Device
public void setDeviceOS(String deviceOS)
setDeviceOS
in interface DeviceEntity
public String getUserId()
Device
public void setUserId(String userId)
setUserId
in interface DeviceEntity
public String getApplicationId()
Device
getApplicationId
in interface Device
public void setApplicationId(String applicationId)
setApplicationId
in interface DeviceEntity
public String getCreatorId()
Device
getCreatorId
in interface Device
public void setCreatorId(String creatorId)
setCreatorId
in interface DeviceEntity
public Date getCreationTime()
Device
getCreationTime
in interface Device
public void setCreationTime(Date creationTime)
setCreationTime
in interface DeviceEntity
public String getUpdaterId()
Device
getUpdaterId
in interface Device
public void setUpdaterId(String updaterId)
setUpdaterId
in interface DeviceEntity
public Date getUpdateTime()
Device
getUpdateTime
in interface Device
public void setUpdateTime(Date updateTime)
setUpdateTime
in interface DeviceEntity
public String getTenantId()
Device
getTenantId
in interface Device
public void setTenantId(String tenantId)
setTenantId
in interface DeviceEntity
public Object getPersistentState()
getPersistentState
in interface org.flowable.common.engine.impl.persistence.entity.Entity
Copyright © 2019. All rights reserved.