edu.iastate.metnet.model
Class CheckCandidate

java.lang.Object
  extended by edu.iastate.metnet.model.CheckCandidate

public class CheckCandidate
extends java.lang.Object

Author:
Jie Li used for the model of the table to approve the candidate to track the approve status

Field Summary
(package private)  boolean approved
           
(package private)  Candidate candy
           
 
Constructor Summary
CheckCandidate()
           
CheckCandidate(Candidate candy)
           
 
Method Summary
 java.lang.Integer getBlockid()
           
 java.lang.String getCandidate()
           
 Candidate getCandy()
           
 java.lang.Integer getId()
           
 java.util.Vector getNames()
           
 boolean isApproved()
           
 void setApproved(boolean approved)
           
 void setCandy(Candidate candy)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

approved

boolean approved

candy

Candidate candy
Constructor Detail

CheckCandidate

public CheckCandidate()

CheckCandidate

public CheckCandidate(Candidate candy)
Method Detail

isApproved

public boolean isApproved()
Returns:
Returns the approved.

setApproved

public void setApproved(boolean approved)
Parameters:
approved - The approved to set.

getCandidate

public java.lang.String getCandidate()
Returns:

getId

public java.lang.Integer getId()
Returns:

getCandy

public Candidate getCandy()
Returns:
Returns the candy.

setCandy

public void setCandy(Candidate candy)
Parameters:
candy - The candy to set.

getBlockid

public java.lang.Integer getBlockid()
Returns:
the blockid of the candidate

getNames

public java.util.Vector getNames()
Returns:
the current synoyms of the blockid->candidate