19 package org.turro.elephant.entities.db;
21 import javax.persistence.Entity;
22 import javax.persistence.Id;
23 import javax.persistence.IdClass;
24 import org.turro.action.Contacts;
25 import org.turro.plugin.contacts.IContact;
32 @IdClass(SendableAssistantPK.class)
35 @Id
private String entityPath;
37 @Id
private String contactId;
39 private boolean delivered;
46 this.entityPath = entityPath;
54 this.contactId = contactId;
63 this.delivered = delivered;
71 if(_contact ==
null) {
void setContactId(String contactId)
void setEntityPath(String entityPath)
void setDelivered(boolean delivered)