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

Public Member Functions

Long getIdPoll ()
 
void setIdPoll (Long idPoll)
 
String getPollData ()
 
void setPollData (String pollData)
 
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 PollOptionPK.java.

Member Function Documentation

◆ equals()

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

Definition at line 58 of file PollOptionPK.java.

58  {
59  if (this == obj) {
60  return true;
61  }
62  if (obj == null) {
63  return false;
64  }
65  if (getClass() != obj.getClass()) {
66  return false;
67  }
68  final PollOptionPK other = (PollOptionPK) obj;
69  if (!Objects.equals(this.pollData, other.pollData)) {
70  return false;
71  }
72  if (!Objects.equals(this.idPoll, other.idPoll)) {
73  return false;
74  }
75  return true;
76  }

◆ getIdPoll()

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

Definition at line 33 of file PollOptionPK.java.

33  {
34  return idPoll;
35  }

◆ getPollData()

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

Definition at line 41 of file PollOptionPK.java.

41  {
42  return pollData;
43  }

◆ hashCode()

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

Definition at line 50 of file PollOptionPK.java.

50  {
51  int hash = 5;
52  hash = 71 * hash + Objects.hashCode(this.idPoll);
53  hash = 71 * hash + Objects.hashCode(this.pollData);
54  return hash;
55  }

◆ setIdPoll()

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

Definition at line 37 of file PollOptionPK.java.

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

◆ setPollData()

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

Definition at line 45 of file PollOptionPK.java.

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

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