edu.iastate.metnet.dao
Class Candidate

java.lang.Object
  extended by edu.iastate.metnet.dao.Candidate
All Implemented Interfaces:
java.io.Serializable

public class Candidate
extends java.lang.Object
implements java.io.Serializable

Author:
Jie Li
See Also:
Serialized Form

Constructor Summary
Candidate()
           
 
Method Summary
 void addName(java.lang.String name)
           
 java.lang.Integer getBlockid()
           
 java.lang.String getCandidate()
           
 java.lang.Integer getId()
           
 java.util.Vector getNames()
           
 void setBlockid(java.lang.Integer blockid)
           
 void setCandidate(java.lang.String candidate)
           
 void setId(java.lang.Integer id)
           
 void setNames(java.util.Vector names)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Candidate

public Candidate()
Method Detail

getBlockid

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

setBlockid

public void setBlockid(java.lang.Integer blockid)
Parameters:
blockid - The blockid to set.

addName

public void addName(java.lang.String name)

getNames

public java.util.Vector getNames()
Returns:
Returns the names.

setNames

public void setNames(java.util.Vector names)
Parameters:
names - The names to set.

getId

public java.lang.Integer getId()
Returns:
Returns the id.

setId

public void setId(java.lang.Integer id)
Parameters:
id - The id to set.

getCandidate

public java.lang.String getCandidate()
Returns:
Returns the candidate.

setCandidate

public void setCandidate(java.lang.String candidate)
Parameters:
candidate - The candidate to set.