BrightSide Workbench Full Report + Source Code
org.turro.assistant.Assistant Class Reference
Inheritance diagram for org.turro.assistant.Assistant:
Collaboration diagram for org.turro.assistant.Assistant:

Public Member Functions

 Assistant (IContact contact, Object relationEntity)
 
 Assistant (String name, String email, IContact contact, Object relationEntity)
 
String getName ()
 
String getEmail ()
 
IContact getContact ()
 
boolean hasContact ()
 
int hashCode ()
 
boolean equals (Object obj)
 

Public Attributes

String name
 
IContact contact
 
Object relationEntity
 

Detailed Description

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

Definition at line 30 of file Assistant.java.

Constructor & Destructor Documentation

◆ Assistant() [1/2]

org.turro.assistant.Assistant.Assistant ( IContact  contact,
Object  relationEntity 
)

Definition at line 36 of file Assistant.java.

36  {
37  this(contact.getName(), contact.getConnector(IUser.CONNECTOR_EMAIL), contact, relationEntity);
38  }
Here is the call graph for this function:
Here is the caller graph for this function:

◆ Assistant() [2/2]

org.turro.assistant.Assistant.Assistant ( String  name,
String  email,
IContact  contact,
Object  relationEntity 
)

Definition at line 40 of file Assistant.java.

40  {
41  this.name = name;
42  this.email = email;
43  this.contact = contact;
45  }

Member Function Documentation

◆ equals()

boolean org.turro.assistant.Assistant.equals ( Object  obj)

Definition at line 71 of file Assistant.java.

71  {
72  if (obj == null) {
73  return false;
74  }
75  if (getClass() != obj.getClass()) {
76  return false;
77  }
78  final Assistant other = (Assistant) obj;
79  if (!Objects.equals(this.email, other.email)) {
80  return false;
81  }
82  return true;
83  }
Assistant(IContact contact, Object relationEntity)
Definition: Assistant.java:36
Here is the call graph for this function:

◆ getContact()

IContact org.turro.assistant.Assistant.getContact ( )

Definition at line 55 of file Assistant.java.

55  {
56  return contact;
57  }

◆ getEmail()

String org.turro.assistant.Assistant.getEmail ( )

Definition at line 51 of file Assistant.java.

51  {
52  return email;
53  }

◆ getName()

String org.turro.assistant.Assistant.getName ( )

Definition at line 47 of file Assistant.java.

47  {
48  return name;
49  }
Here is the caller graph for this function:

◆ hasContact()

boolean org.turro.assistant.Assistant.hasContact ( )

Definition at line 59 of file Assistant.java.

59  {
60  return contact != null && contact.isValid();
61  }
Here is the call graph for this function:

◆ hashCode()

int org.turro.assistant.Assistant.hashCode ( )

Definition at line 64 of file Assistant.java.

64  {
65  int hash = 7;
66  hash = 67 * hash + Objects.hashCode(this.email);
67  return hash;
68  }

Member Data Documentation

◆ contact

IContact org.turro.assistant.Assistant.contact

Definition at line 33 of file Assistant.java.

◆ name

String org.turro.assistant.Assistant.name

Definition at line 32 of file Assistant.java.

◆ relationEntity

Object org.turro.assistant.Assistant.relationEntity

Definition at line 34 of file Assistant.java.


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