18 package org.turro.contacts;
20 import java.io.Serializable;
21 import javax.persistence.Column;
22 import javax.persistence.Entity;
23 import javax.persistence.GeneratedValue;
24 import javax.persistence.Id;
25 import javax.persistence.JoinColumn;
26 import javax.persistence.Lob;
27 import javax.persistence.ManyToOne;
28 import org.turro.plugin.GenericObject;
35 @org.hibernate.annotations.GenericGenerator(name =
"hibernate-uuid", strategy =
"uuid")
39 @GeneratedValue(generator =
"hibernate-uuid")
40 @Column(name=
"IDENTIFIER")
43 @Column(name=
"ASOCOBJ_KEY")
47 @Column(name=
"ASOCOBJ_VALUE")
51 @JoinColumn(name=
"CONTACT_FK")
52 private org.turro.contacts.Contact contact;
59 this.contact = contact;
void setObject(Serializable object)
void bytesToObject(byte[] buf)