br.usp.ime.xpusp.om
Class ElectivePoolResults
java.lang.Object
|
+--br.usp.ime.xpusp.om.ElectivePoolResults
- public class ElectivePoolResults
- extends java.lang.Object
This class is used to Order the ElectivePoolResults
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait |
discipline
Discipline discipline
choiceVotes
int[] choiceVotes
ElectivePoolResults
public ElectivePoolResults(Discipline discipline)
throws java.lang.Exception
getChoiceVotes
public int[] getChoiceVotes()
- Get the value of choiceVotes.
- Returns:
- int[10] of Integers with the votes ordered by choice where poision x is the number of votes for that choice
getVotes
public java.util.Vector getVotes()
- Returns:
- a vector of Integers for choiceVotes
setChoiceVotes
public void setChoiceVotes(int[] v)
- Set the value of choiceVotes.
- Parameters:
v
- Value to assign to choiceVotes.
getDiscipline
public Discipline getDiscipline()
- Get the value of discipline.
- Returns:
- value of discipline.
setDiscipline
public void setDiscipline(Discipline v)
- Set the value of discipline.
- Parameters:
v
- Value to assign to discipline.
add
public void add(ElectivePool ep)
- Add an electivepool