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

Public Member Functions

Long getId ()
 
void setId (Long id)
 
String getIdContact ()
 
void setIdContact (String idContact)
 
Issue getIssue ()
 
void setIssue (Issue issue)
 
String getName ()
 
void setName (String name)
 
IssueParticipantRole getRole ()
 
void setRole (IssueParticipantRole role)
 
boolean isPendingRevision ()
 
void setPendingRevision (boolean pendingRevision)
 
boolean isEmpty ()
 
IContact getIContact ()
 
void setIContact (IContact contact)
 
int hashCode ()
 
boolean equals (Object obj)
 

Detailed Description

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

Definition at line 36 of file IssueParticipant.java.

Member Function Documentation

◆ equals()

boolean org.turro.dossier.entity.IssueParticipant.equals ( Object  obj)

Definition at line 143 of file IssueParticipant.java.

143  {
144  if (this == obj) {
145  return true;
146  }
147  if (obj == null) {
148  return false;
149  }
150  if (getClass() != obj.getClass()) {
151  return false;
152  }
153  final IssueParticipant other = (IssueParticipant) obj;
154  return Objects.equals(this.id, other.id);
155  }
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getIContact()

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

Definition at line 116 of file IssueParticipant.java.

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

◆ getId()

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

Definition at line 57 of file IssueParticipant.java.

57  {
58  return id;
59  }

◆ getIdContact()

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

Definition at line 65 of file IssueParticipant.java.

65  {
66  return idContact;
67  }
Here is the caller graph for this function:

◆ getIssue()

Issue org.turro.dossier.entity.IssueParticipant.getIssue ( )

Definition at line 74 of file IssueParticipant.java.

74  {
75  return issue;
76  }
Here is the caller graph for this function:

◆ getName()

String org.turro.dossier.entity.IssueParticipant.getName ( )

Definition at line 82 of file IssueParticipant.java.

82  {
83  return name;
84  }
Here is the caller graph for this function:

◆ getRole()

IssueParticipantRole org.turro.dossier.entity.IssueParticipant.getRole ( )

Definition at line 90 of file IssueParticipant.java.

90  {
91  return role;
92  }
Here is the caller graph for this function:

◆ hashCode()

int org.turro.dossier.entity.IssueParticipant.hashCode ( )

Definition at line 136 of file IssueParticipant.java.

136  {
137  int hash = 7;
138  hash = 97 * hash + Objects.hashCode(this.id);
139  return hash;
140  }

◆ isEmpty()

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

Definition at line 108 of file IssueParticipant.java.

108  {
109  return role == null || !getIContact().isValid();
110  }
Here is the call graph for this function:

◆ isPendingRevision()

boolean org.turro.dossier.entity.IssueParticipant.isPendingRevision ( )

Definition at line 98 of file IssueParticipant.java.

98  {
99  return pendingRevision;
100  }

◆ setIContact()

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

Definition at line 123 of file IssueParticipant.java.

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

◆ setId()

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

Definition at line 61 of file IssueParticipant.java.

61  {
62  this.id = id;
63  }

◆ setIdContact()

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

Definition at line 69 of file IssueParticipant.java.

69  {
70  this.idContact = idContact;
71  resetIContact();
72  }
Here is the caller graph for this function:

◆ setIssue()

void org.turro.dossier.entity.IssueParticipant.setIssue ( Issue  issue)

Definition at line 78 of file IssueParticipant.java.

78  {
79  this.issue = issue;
80  }
Here is the caller graph for this function:

◆ setName()

void org.turro.dossier.entity.IssueParticipant.setName ( String  name)

Definition at line 86 of file IssueParticipant.java.

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

◆ setPendingRevision()

void org.turro.dossier.entity.IssueParticipant.setPendingRevision ( boolean  pendingRevision)

Definition at line 102 of file IssueParticipant.java.

102  {
103  this.pendingRevision = pendingRevision;
104  }

◆ setRole()

void org.turro.dossier.entity.IssueParticipant.setRole ( IssueParticipantRole  role)

Definition at line 94 of file IssueParticipant.java.

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

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