BrightSide Workbench Full Report + Source Code
org.turro.elephant.entities.db.PollVotePK Class Reference
Inheritance diagram for org.turro.elephant.entities.db.PollVotePK:
Collaboration diagram for org.turro.elephant.entities.db.PollVotePK:

Public Member Functions

Long getIdPoll ()
 
void setIdPoll (Long idPoll)
 
String getPollData ()
 
void setPollData (String pollData)
 
String getIdContact ()
 
void setIdContact (String idContact)
 
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 28 of file PollVotePK.java.

Member Function Documentation

◆ equals()

boolean org.turro.elephant.entities.db.PollVotePK.equals ( Object  obj)

Definition at line 68 of file PollVotePK.java.

68  {
69  if (this == obj) {
70  return true;
71  }
72  if (obj == null) {
73  return false;
74  }
75  if (getClass() != obj.getClass()) {
76  return false;
77  }
78  final PollVotePK other = (PollVotePK) obj;
79  if (!Objects.equals(this.pollData, other.pollData)) {
80  return false;
81  }
82  if (!Objects.equals(this.idContact, other.idContact)) {
83  return false;
84  }
85  if (!Objects.equals(this.idPoll, other.idPoll)) {
86  return false;
87  }
88  return true;
89  }

◆ getIdContact()

String org.turro.elephant.entities.db.PollVotePK.getIdContact ( )

Definition at line 50 of file PollVotePK.java.

50  {
51  return idContact;
52  }

◆ getIdPoll()

Long org.turro.elephant.entities.db.PollVotePK.getIdPoll ( )

Definition at line 34 of file PollVotePK.java.

34  {
35  return idPoll;
36  }

◆ getPollData()

String org.turro.elephant.entities.db.PollVotePK.getPollData ( )

Definition at line 42 of file PollVotePK.java.

42  {
43  return pollData;
44  }

◆ hashCode()

int org.turro.elephant.entities.db.PollVotePK.hashCode ( )

Definition at line 59 of file PollVotePK.java.

59  {
60  int hash = 7;
61  hash = 37 * hash + Objects.hashCode(this.idPoll);
62  hash = 37 * hash + Objects.hashCode(this.pollData);
63  hash = 37 * hash + Objects.hashCode(this.idContact);
64  return hash;
65  }

◆ setIdContact()

void org.turro.elephant.entities.db.PollVotePK.setIdContact ( String  idContact)

Definition at line 54 of file PollVotePK.java.

54  {
55  this.idContact = idContact;
56  }
Here is the caller graph for this function:

◆ setIdPoll()

void org.turro.elephant.entities.db.PollVotePK.setIdPoll ( Long  idPoll)

Definition at line 38 of file PollVotePK.java.

38  {
39  this.idPoll = idPoll;
40  }
Here is the caller graph for this function:

◆ setPollData()

void org.turro.elephant.entities.db.PollVotePK.setPollData ( String  pollData)

Definition at line 46 of file PollVotePK.java.

46  {
47  this.pollData = pollData;
48  }
Here is the caller graph for this function:

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