public class Device
extends java.lang.Object
Constructor and Description |
---|
Device() |
Device(java.lang.String token,
DeviceTypeEnum type,
java.lang.Long userId,
AppEnum app) |
Modifier and Type | Method and Description |
---|---|
AppEnum |
getApp() |
int |
getCreationDate() |
java.lang.Long |
getId() |
java.lang.String |
getToken() |
DeviceTypeEnum |
getType() |
java.lang.Long |
getUserId() |
void |
setApp(AppEnum app) |
void |
setCreationDate(int creationDate) |
void |
setId(java.lang.Long id) |
void |
setToken(java.lang.String token) |
void |
setType(DeviceTypeEnum type) |
void |
setUserId(java.lang.Long userId) |
java.lang.String |
toString() |
public Device()
public Device(java.lang.String token, DeviceTypeEnum type, java.lang.Long userId, AppEnum app)
public java.lang.Long getId()
public void setId(java.lang.Long id)
public java.lang.String getToken()
public void setToken(java.lang.String token)
public DeviceTypeEnum getType()
public void setType(DeviceTypeEnum type)
public int getCreationDate()
public void setCreationDate(int creationDate)
public AppEnum getApp()
public void setApp(AppEnum app)
public java.lang.Long getUserId()
public void setUserId(java.lang.Long userId)
public java.lang.String toString()
toString
in class java.lang.Object