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

Public Member Functions

Long getIdPoll ()
 
void setIdPoll (Long idPoll)
 
String getPollData ()
 
void setPollData (String pollData)
 
String getIdContact ()
 
void setIdContact (String idContact)
 
int getVote ()
 
void setVote (int vote)
 
Date getVoteDate ()
 
void setVoteDate (Date voteDate)
 
boolean isEmpty ()
 
PollOption getPollOption ()
 
IContact getContact ()
 

Detailed Description

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

Definition at line 36 of file PollVote.java.

Member Function Documentation

◆ getContact()

IContact org.turro.elephant.entities.db.PollVote.getContact ( )

Definition at line 105 of file PollVote.java.

105  {
106  return Contacts.getContactById(idContact);
107  }
Here is the call graph for this function:

◆ getIdContact()

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

Definition at line 68 of file PollVote.java.

68  {
69  return idContact;
70  }

◆ getIdPoll()

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

Definition at line 52 of file PollVote.java.

52  {
53  return idPoll;
54  }

◆ getPollData()

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

Definition at line 60 of file PollVote.java.

60  {
61  return pollData;
62  }

◆ getPollOption()

PollOption org.turro.elephant.entities.db.PollVote.getPollOption ( )

Definition at line 98 of file PollVote.java.

98  {
99  PollOptionPK pk = new PollOptionPK();
100  pk.setIdPoll(idPoll);
101  pk.setPollData(pollData);
102  return new ElephantPU().find(PollOption.class, pk);
103  }
Here is the call graph for this function:

◆ getVote()

int org.turro.elephant.entities.db.PollVote.getVote ( )

Definition at line 76 of file PollVote.java.

76  {
77  return vote;
78  }
Here is the caller graph for this function:

◆ getVoteDate()

Date org.turro.elephant.entities.db.PollVote.getVoteDate ( )

Definition at line 84 of file PollVote.java.

84  {
85  return voteDate;
86  }

◆ isEmpty()

boolean org.turro.elephant.entities.db.PollVote.isEmpty ( )

Definition at line 94 of file PollVote.java.

94  {
95  return false;
96  }

◆ setIdContact()

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

Definition at line 72 of file PollVote.java.

72  {
73  this.idContact = idContact;
74  }
Here is the caller graph for this function:

◆ setIdPoll()

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

Definition at line 56 of file PollVote.java.

56  {
57  this.idPoll = idPoll;
58  }
Here is the caller graph for this function:

◆ setPollData()

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

Definition at line 64 of file PollVote.java.

64  {
65  this.pollData = pollData;
66  }
Here is the caller graph for this function:

◆ setVote()

void org.turro.elephant.entities.db.PollVote.setVote ( int  vote)

Definition at line 80 of file PollVote.java.

80  {
81  this.vote = vote;
82  }
Here is the caller graph for this function:

◆ setVoteDate()

void org.turro.elephant.entities.db.PollVote.setVoteDate ( Date  voteDate)

Definition at line 88 of file PollVote.java.

88  {
89  this.voteDate = voteDate;
90  }
Here is the caller graph for this function:

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