19 package org.turro.contacts;
21 import java.io.Serializable;
22 import java.util.Date;
23 import javax.persistence.Column;
24 import javax.persistence.Entity;
25 import javax.persistence.GeneratedValue;
26 import javax.persistence.Id;
27 import javax.persistence.JoinColumn;
28 import javax.persistence.ManyToOne;
29 import javax.persistence.Temporal;
30 import org.turro.entities.Entities;
31 import org.turro.entities.IElephantEntity;
32 import org.turro.path.Path;
39 @org.hibernate.annotations.GenericGenerator(name =
"hibernate-uuid", strategy =
"uuid")
40 public class StarIt implements Serializable {
43 @GeneratedValue(generator =
"hibernate-uuid")
44 @Column(name=
"IDENTIFIER")
47 @Column(name=
"STARIT_PATH")
51 @JoinColumn(name=
"CREATOR_FK")
52 private org.turro.contacts.Contact creator;
54 @Temporal(value = javax.persistence.TemporalType.TIMESTAMP)
55 private java.util.Date dateCreation;
59 private String author_ip;
82 this.creator = creator;
90 this.dateCreation = dateCreation;
106 this.author_ip = author_ip;
112 if(creator !=
null) {
static IElephantEntity getController(String path)