Package de.fraunhofer.iese.mydata.client
Class LibraryClient
java.lang.Object
de.fraunhofer.iese.mydata.common.MyDataEntity
de.fraunhofer.iese.mydata.client.LibraryClient
-
Constructor Summary
ConstructorDescriptionDefault constructor for JPALibraryClient
(ClientId clientId) Generates a new client with a token id and a secret -
Method Summary
Modifier and TypeMethodDescriptionboolean
int
hashCode()
void
removeLatestSyncNotification
(@NonNull SyncNotification latest) needed for JPA/Hibernate remove the SyncNotification if it matches the configured onvoid
setLatestSyncNotification
(@NonNull SyncNotification latestSyncNotification) Sets the last time this client synchronised with the master pmpMethods inherited from class de.fraunhofer.iese.mydata.common.MyDataEntity
fromJson, getGson, getGson, toJson, toString, validate, validateAndNullCheck
-
Constructor Details
-
LibraryClient
public LibraryClient()Default constructor for JPA -
LibraryClient
Generates a new client with a token id and a secret- Parameters:
tokenId
-secret
-
-
-
Method Details
-
setLatestSyncNotification
Sets the last time this client synchronised with the master pmp- Parameters:
latestSyncNotification
-
-
removeLatestSyncNotification
needed for JPA/Hibernate remove the SyncNotification if it matches the configured on- Parameters:
latest
- : the SyncNotification to remove
-
equals
-
hashCode
public int hashCode()
-