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

Public Member Functions

Long getId ()
 
void setId (Long id)
 
Date getCreation ()
 
void setCreation (Date creation)
 
String getIdContact ()
 
void setIdContact (String idContact)
 
String getContactName ()
 
void setContactName (String contactName)
 
String getContactEmail ()
 
void setContactEmail (String contactEmail)
 
Category getCategory ()
 
void setCategory (Category category)
 
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 38 of file CategoryRequest.java.

Member Function Documentation

◆ getCategory()

Category org.turro.dossier.entity.CategoryRequest.getCategory ( )

Definition at line 97 of file CategoryRequest.java.

97  {
98  return category;
99  }

◆ getContactEmail()

String org.turro.dossier.entity.CategoryRequest.getContactEmail ( )

Definition at line 89 of file CategoryRequest.java.

89  {
90  return contactEmail;
91  }

◆ getContactName()

String org.turro.dossier.entity.CategoryRequest.getContactName ( )

Definition at line 81 of file CategoryRequest.java.

81  {
82  return contactName;
83  }

◆ getCreation()

Date org.turro.dossier.entity.CategoryRequest.getCreation ( )

Definition at line 64 of file CategoryRequest.java.

64  {
65  return creation;
66  }

◆ getIContact()

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

Definition at line 115 of file CategoryRequest.java.

115  {
116  if(_contact == null) {
117  _contact = Contacts.getContactById(idContact);
118  }
119  return _contact;
120  }
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getId()

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

Definition at line 56 of file CategoryRequest.java.

56  {
57  return id;
58  }

◆ getIdContact()

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

Definition at line 72 of file CategoryRequest.java.

72  {
73  return idContact;
74  }

◆ isEmpty()

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

Definition at line 107 of file CategoryRequest.java.

107  {
108  return !getIContact().isValid();
109  }
Here is the call graph for this function:

◆ setCategory()

void org.turro.dossier.entity.CategoryRequest.setCategory ( Category  category)

Definition at line 101 of file CategoryRequest.java.

101  {
102  this.category = category;
103  }
Here is the caller graph for this function:

◆ setContactEmail()

void org.turro.dossier.entity.CategoryRequest.setContactEmail ( String  contactEmail)

Definition at line 93 of file CategoryRequest.java.

93  {
94  this.contactEmail = contactEmail;
95  }
Here is the caller graph for this function:

◆ setContactName()

void org.turro.dossier.entity.CategoryRequest.setContactName ( String  contactName)

Definition at line 85 of file CategoryRequest.java.

85  {
86  this.contactName = contactName;
87  }
Here is the caller graph for this function:

◆ setCreation()

void org.turro.dossier.entity.CategoryRequest.setCreation ( Date  creation)

Definition at line 68 of file CategoryRequest.java.

68  {
69  this.creation = creation;
70  }
Here is the caller graph for this function:

◆ setIContact()

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

Definition at line 122 of file CategoryRequest.java.

122  {
123  _contact = contact;
124  idContact = _contact != null ? _contact.getId() : null;
125  }
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setId()

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

Definition at line 60 of file CategoryRequest.java.

60  {
61  this.id = id;
62  }

◆ setIdContact()

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

Definition at line 76 of file CategoryRequest.java.

76  {
77  this.idContact = idContact;
78  resetIContact();
79  }

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