19 package org.turro.elephant.entities.db;
21 import java.io.Serializable;
22 import javax.persistence.Entity;
23 import javax.persistence.Id;
24 import javax.persistence.IdClass;
25 import org.turro.action.Contacts;
26 import org.turro.plugin.contacts.IContact;
33 @IdClass(PushSubscriptionPK.class)
36 @Id
private String contactId;
38 @Id
private String endpoint;
40 private String publicKey;
41 private String privateKey;
48 this.contactId = contactId;
56 this.endpoint = endpoint;
64 this.publicKey = publicKey;
72 this.privateKey = privateKey;
80 if(_contact ==
null) {
void setEndpoint(String endpoint)
void setPublicKey(String publicKey)
void setContactId(String contactId)
void setPrivateKey(String privateKey)