public class EventConnection
extends java.lang.Object
Constructor and Description |
---|
EventConnection() |
EventConnection(Invite invite,
DeviceTypeEnum deviceType) |
Modifier and Type | Method and Description |
---|---|
void |
addNewConnection(DeviceTypeEnum deviceType) |
void |
generateKey() |
java.lang.Long |
getCardId() |
int |
getConnectionDate() |
java.lang.String |
getConnectionKey() |
int |
getConnections() |
java.time.LocalDateTime |
getCreation() |
DeviceTypeEnum |
getDeviceType() |
java.lang.Long |
getEventId() |
java.time.LocalDateTime |
getExpire() |
java.lang.Long |
getId() |
java.lang.Long |
getUserId() |
static EventConnection |
recoverFromKey(java.lang.String connectionKey) |
void |
setCardId(java.lang.Long cardId) |
void |
setConnectionDate(int connectionDate) |
void |
setConnectionKey(java.lang.String connectionKey) |
void |
setConnections(int connections) |
void |
setCreation(java.time.LocalDateTime creation) |
void |
setDeviceType(DeviceTypeEnum deviceType) |
void |
setEventId(java.lang.Long eventId) |
void |
setExpire(java.time.LocalDateTime expire) |
void |
setId(java.lang.Long id) |
void |
setUserId(java.lang.Long userId) |
java.lang.String |
toString() |
public EventConnection()
public EventConnection(Invite invite, DeviceTypeEnum deviceType)
public void generateKey()
public void addNewConnection(DeviceTypeEnum deviceType)
public static EventConnection recoverFromKey(java.lang.String connectionKey)
public java.lang.Long getId()
public void setId(java.lang.Long id)
public java.lang.Long getEventId()
public void setEventId(java.lang.Long eventId)
public java.lang.Long getUserId()
public void setUserId(java.lang.Long userId)
public java.lang.Long getCardId()
public void setCardId(java.lang.Long cardId)
public java.lang.String getConnectionKey()
public void setConnectionKey(java.lang.String connectionKey)
public int getConnectionDate()
public void setConnectionDate(int connectionDate)
public DeviceTypeEnum getDeviceType()
public void setDeviceType(DeviceTypeEnum deviceType)
public java.time.LocalDateTime getCreation()
public void setCreation(java.time.LocalDateTime creation)
public java.time.LocalDateTime getExpire()
public void setExpire(java.time.LocalDateTime expire)
public int getConnections()
public void setConnections(int connections)
public java.lang.String toString()
toString
in class java.lang.Object