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

Public Member Functions

String getId ()
 
void setId (String id)
 
Convocation getConvocation ()
 
void setConvocation (Convocation convocation)
 
Contact getContact ()
 
void setContact (Contact contact)
 
boolean isAttended ()
 
void setAttended (boolean attended)
 
Object entityId ()
 
boolean isEmpty ()
 
boolean exists (Contact contact)
 
IContact getIContact ()
 
- Public Member Functions inherited from org.turro.jpa.entity.IDaoEntity
default boolean isNew ()
 
default void prepareSave ()
 
default void prepareDelete ()
 
default void removeEmpties ()
 
default Collection< Collection > collections ()
 

Detailed Description

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

Definition at line 38 of file Attendee.java.

Member Function Documentation

◆ entityId()

Object org.turro.contacts.Attendee.entityId ( )

Implements org.turro.jpa.entity.IDaoEntity.

Definition at line 90 of file Attendee.java.

90  {
91  return id;
92  }

◆ exists()

boolean org.turro.contacts.Attendee.exists ( Contact  contact)

Definition at line 101 of file Attendee.java.

101  {
102  if(this.contact != null && contact != null) {
103  return CompareUtil.compare(this.contact.getId(), contact.getId()) == 0;
104  }
105  return false;
106  }
Here is the call graph for this function:

◆ getContact()

Contact org.turro.contacts.Attendee.getContact ( )

Definition at line 71 of file Attendee.java.

71  {
72  return contact;
73  }
Here is the caller graph for this function:

◆ getConvocation()

Convocation org.turro.contacts.Attendee.getConvocation ( )

Definition at line 63 of file Attendee.java.

63  {
64  return convocation;
65  }
Here is the caller graph for this function:

◆ getIContact()

IContact org.turro.contacts.Attendee.getIContact ( )

Definition at line 108 of file Attendee.java.

108  {
109  return Contacts.getContact(contact);
110  }
Here is the call graph for this function:

◆ getId()

String org.turro.contacts.Attendee.getId ( )

Definition at line 55 of file Attendee.java.

55  {
56  return id;
57  }
Here is the caller graph for this function:

◆ isAttended()

boolean org.turro.contacts.Attendee.isAttended ( )

Definition at line 79 of file Attendee.java.

79  {
80  return attended;
81  }

◆ isEmpty()

boolean org.turro.contacts.Attendee.isEmpty ( )

Implements org.turro.jpa.entity.IDaoEntity.

Definition at line 95 of file Attendee.java.

95  {
96  return contact == null || convocation == null;
97  }

◆ setAttended()

void org.turro.contacts.Attendee.setAttended ( boolean  attended)

Definition at line 83 of file Attendee.java.

83  {
84  this.attended = attended;
85  }

◆ setContact()

void org.turro.contacts.Attendee.setContact ( Contact  contact)

Definition at line 75 of file Attendee.java.

75  {
76  this.contact = contact;
77  }
Here is the caller graph for this function:

◆ setConvocation()

void org.turro.contacts.Attendee.setConvocation ( Convocation  convocation)

Definition at line 67 of file Attendee.java.

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

◆ setId()

void org.turro.contacts.Attendee.setId ( String  id)

Definition at line 59 of file Attendee.java.

59  {
60  this.id = id;
61  }

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