19 package org.turro.contacts;
21 import java.io.Serializable;
22 import javax.persistence.Column;
23 import javax.persistence.Entity;
24 import javax.persistence.GeneratedValue;
25 import javax.persistence.Id;
26 import org.turro.string.Strings;
33 @org.hibernate.annotations.GenericGenerator(name =
"hibernate-uuid", strategy =
"uuid")
34 public class FieldIt implements Serializable {
37 @GeneratedValue(generator =
"hibernate-uuid")
38 @Column(name=
"IDENTIFIER")
41 @Column(name=
"FIELDIT_NAME")
44 @Column(name=
"FLIEDIT_PATH")
47 private Class javaClass;
49 @Column(name=
"FILEDIT_ORDER")
52 private boolean description;
53 private boolean publishable;
54 private boolean composite;
55 private boolean searchable;
86 this.javaClass = javaClass;
102 this.description = description;
110 this.publishable = publishable;
118 this.composite = composite;
126 this.searchable = searchable;
132 return !Strings.isBlank(name) &&
133 !Strings.isBlank(path) &&