|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Device
This is the common interface for all Devices. It allows the DeviceFactory to support multiple implementations of Device (in-memory, JPA-backed, etc.)
| Method Summary | |
|---|---|
String |
getDeviceId()
An id representing a particular device. |
Timestamp |
getLastRegister()
|
String |
getToken()
A device token. |
void |
setDeviceId(String id)
An id representing a particular device. |
void |
setLastRegister(Timestamp lastRegister)
|
void |
setToken(String token)
Set the device token |
| Method Detail |
|---|
String getDeviceId()
String getToken()
Timestamp getLastRegister()
void setDeviceId(String id)
id - the device idvoid setToken(String token)
token - void setLastRegister(Timestamp lastRegister)
lastRegister - the last register
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||