BrightSide Workbench Full Report + Source Code
org.turro.dossier.entity.WorthValue Class Reference
Inheritance diagram for org.turro.dossier.entity.WorthValue:
Collaboration diagram for org.turro.dossier.entity.WorthValue:

Public Member Functions

Long getId ()
 
void setId (Long id)
 
WorthDefinition getWorthDefinition ()
 
void setWorthDefinition (WorthDefinition worthDefinition)
 
Dossier getDossier ()
 
void setDossier (Dossier dossier)
 
String getIdContact ()
 
void setIdContact (String idContact)
 
double getValue ()
 
void setValue (double value)
 
boolean isEmpty ()
 
IContact getIContact ()
 
void setIContact (IContact contact)
 

Detailed Description

Author
Lluis TurrĂ³ Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g

Definition at line 35 of file WorthValue.java.

Member Function Documentation

◆ getDossier()

Dossier org.turro.dossier.entity.WorthValue.getDossier ( )

Definition at line 68 of file WorthValue.java.

68  {
69  return dossier;
70  }

◆ getIContact()

IContact org.turro.dossier.entity.WorthValue.getIContact ( )

Definition at line 102 of file WorthValue.java.

102  {
103  if(_contact == null) {
104  _contact = Contacts.getContactById(idContact);
105  }
106  return _contact;
107  }
Here is the call graph for this function:

◆ getId()

Long org.turro.dossier.entity.WorthValue.getId ( )

Definition at line 52 of file WorthValue.java.

52  {
53  return id;
54  }

◆ getIdContact()

String org.turro.dossier.entity.WorthValue.getIdContact ( )

Definition at line 76 of file WorthValue.java.

76  {
77  return idContact;
78  }

◆ getValue()

double org.turro.dossier.entity.WorthValue.getValue ( )

Definition at line 84 of file WorthValue.java.

84  {
85  return value;
86  }

◆ getWorthDefinition()

WorthDefinition org.turro.dossier.entity.WorthValue.getWorthDefinition ( )

Definition at line 60 of file WorthValue.java.

60  {
61  return worthDefinition;
62  }

◆ isEmpty()

boolean org.turro.dossier.entity.WorthValue.isEmpty ( )

Definition at line 94 of file WorthValue.java.

94  {
95  return false;
96  }

◆ setDossier()

void org.turro.dossier.entity.WorthValue.setDossier ( Dossier  dossier)

Definition at line 72 of file WorthValue.java.

72  {
73  this.dossier = dossier;
74  }

◆ setIContact()

void org.turro.dossier.entity.WorthValue.setIContact ( IContact  contact)

Definition at line 109 of file WorthValue.java.

109  {
110  _contact = contact;
111  idContact = _contact != null ? _contact.getId() : null;
112  }
Here is the call graph for this function:

◆ setId()

void org.turro.dossier.entity.WorthValue.setId ( Long  id)

Definition at line 56 of file WorthValue.java.

56  {
57  this.id = id;
58  }

◆ setIdContact()

void org.turro.dossier.entity.WorthValue.setIdContact ( String  idContact)

Definition at line 80 of file WorthValue.java.

80  {
81  this.idContact = idContact;
82  }

◆ setValue()

void org.turro.dossier.entity.WorthValue.setValue ( double  value)

Definition at line 88 of file WorthValue.java.

88  {
89  this.value = value;
90  }

◆ setWorthDefinition()

void org.turro.dossier.entity.WorthValue.setWorthDefinition ( WorthDefinition  worthDefinition)

Definition at line 64 of file WorthValue.java.

64  {
65  this.worthDefinition = worthDefinition;
66  }

The documentation for this class was generated from the following file: