19 package org.turro.dossier.entity;
21 import javax.persistence.Column;
22 import javax.persistence.Entity;
23 import javax.persistence.GeneratedValue;
24 import javax.persistence.GenerationType;
25 import javax.persistence.Id;
26 import javax.persistence.ManyToOne;
27 import org.turro.action.Contacts;
28 import org.turro.plugin.contacts.IContact;
35 public class WorthValue implements java.io.Serializable {
38 @GeneratedValue(strategy=GenerationType.IDENTITY)
39 @Column(name=
"IDENTIFIER")
48 private String idContact;
61 return worthDefinition;
65 this.worthDefinition = worthDefinition;
73 this.dossier = dossier;
81 this.idContact = idContact;
100 private transient IContact _contact;
103 if(_contact ==
null) {
111 idContact = _contact !=
null ? _contact.
getId() :
null;
void setDossier(Dossier dossier)
WorthDefinition getWorthDefinition()
void setIdContact(String idContact)
void setWorthDefinition(WorthDefinition worthDefinition)
void setValue(double value)
void setIContact(IContact contact)