Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
C
G
I
S
C
Candidate
- Class in
<Unnamed>
This class is used to store information about a candidate running for office.
Candidate(String, String)
- Constructor for class
Candidate
This minimal constructor requires a name and party.
Candidate(String, String, String, boolean)
- Constructor for class
Candidate
This constructor behaves the same as the two parameter constructor, but requires an office and incumbent status to be specified.
G
getName()
- Method in class
Candidate
Accessor for candidate's name
getOffice()
- Method in class
Candidate
Accessor for the office the candidate is seeking
getParty()
- Method in class
Candidate
Accessor for the name of the candidate's party
I
isIncumbent()
- Method in class
Candidate
Accessor for candidate's incumbent status
S
setIncumbent(boolean)
- Method in class
Candidate
Mutator for the candidate's incumbent status
setName(String)
- Method in class
Candidate
Mutator for the candidate's name
setOffice(String)
- Method in class
Candidate
Mutator for the candidate's office
setParty(String)
- Method in class
Candidate
Mutator for the candidate's party
C
G
I
S
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes