@Entity public class DeviceConfirmation extends BaseEntity implements DefinesNetwork
| Constructor and Description |
|---|
DeviceConfirmation() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Boolean |
getApproved() |
BasicUser |
getCreatorUser() |
java.util.Date |
getDate() |
Network |
getNetwork()
Returns the network this entity belongs to
|
java.lang.String |
getQrContent() |
DeviceConfirmationType |
getType() |
BasicUser |
getUser() |
BasicUser |
getUserToNotify()
Returns the final user id to be notified when the confirmation is processed.
|
boolean |
isProcessed()
Returns true if this confirmation was already approved or rejected.
|
void |
setApproved(boolean approved) |
void |
setCreatorUser(BasicUser creatorUser) |
void |
setDate(java.util.Date date) |
void |
setNetwork(Network network) |
void |
setQrContent(java.lang.String qrContent) |
void |
setType(DeviceConfirmationType type) |
void |
setUser(BasicUser user) |
getDataTranslationType, getVersionisGlobalclone, equals, getId, getId, getIds, getUniqueIds, getUniqueIds, hashCode, isPersistent, isTransient, toStringpublic java.lang.Boolean getApproved()
public BasicUser getCreatorUser()
public java.util.Date getDate()
public Network getNetwork()
NetworkedEntitygetNetwork in class NetworkedEntitypublic java.lang.String getQrContent()
public DeviceConfirmationType getType()
public BasicUser getUser()
public BasicUser getUserToNotify()
public boolean isProcessed()
public void setApproved(boolean approved)
public void setCreatorUser(BasicUser creatorUser)
public void setDate(java.util.Date date)
public void setNetwork(Network network)
setNetwork in interface DefinesNetworkpublic void setQrContent(java.lang.String qrContent)
public void setType(DeviceConfirmationType type)
public void setUser(BasicUser user)