18 package org.turro.contacts ;
20 import java.util.Date;
21 import javax.persistence.*;
22 import org.turro.string.Strings;
23 import org.turro.jpa.entity.IDaoEntity;
26 @org.hibernate.annotations.GenericGenerator(name =
"hibernate-uuid", strategy =
"uuid")
30 @GeneratedValue(generator =
"hibernate-uuid")
31 @Column(name=
"IDENTIFIER")
36 private boolean onlyOwner;
38 @Temporal(value = TemporalType.TIMESTAMP)
39 private java.util.Date modification;
43 private String comment;
46 @JoinColumn(name=
"CONTACT_FK")
53 protected void setId(String
id) {
70 this.onlyOwner = onlyOwner;
78 this.modification = modification;
86 this.comment = comment;
94 this.contact = contact;
110 return Strings.isBlank(comment);