19 package org.turro.contacts;
21 import javax.persistence.Column;
22 import javax.persistence.Entity;
23 import javax.persistence.GeneratedValue;
24 import javax.persistence.Id;
25 import javax.persistence.Lob;
26 import org.turro.collections.parser.ParserException;
27 import org.turro.collections.KeyValueMap;
28 import org.zkoss.lang.Strings;
35 @org.hibernate.annotations.GenericGenerator(name =
"hibernate-uuid", strategy =
"uuid")
36 public class SignUp implements java.io.Serializable {
39 @GeneratedValue(generator =
"hibernate-uuid")
40 @Column(name=
"IDENTIFIER")
46 private String comment;
48 private boolean confirmed;
52 private String valueMap;
75 this.email = email ==
null ? null : email.toLowerCase();
83 this.comment = comment;
91 this.confirmed = confirmed;
99 this.valueMap = valueMap;
105 return !Strings.isBlank(name) &&
106 !Strings.isBlank(email);
110 return new KeyValueMap(valueMap);