votorola.a.election
Class Vote.VotingEvent

java.lang.Object
  extended by ActivityEvent
      extended by Vote.VotingEvent
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
Vote.CastEvent, Vote.WithdrawalEvent
Enclosing class:
Vote

public static class Vote.VotingEvent
extends ActivityEvent

An event that records the casting or withdrawal of a vote.

See Also:
Serialized Form

Method Summary
 String candidateEmail()
          Identifies the candidate for whom the vote was cast, or from whom the vote was withdrawn.
 String electionName()
          Names the election in which the vote was cast or withdrawn.
 String voterEmail()
          Identifies the voter.
 
Methods inherited from class ActivityEvent
description, lapseToString, lapseToString, timestamp
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

candidateEmail

public String candidateEmail()
Identifies the candidate for whom the vote was cast, or from whom the vote was withdrawn.

See Also:
Vote.getCandidateEmail()

electionName

public String electionName()
Names the election in which the vote was cast or withdrawn.

See Also:
ElectoralService.name()

voterEmail

public String voterEmail()
Identifies the voter.

See Also:
Vote.voterEmail()