org.chorem.pollen.votecounting.business
Class PercentageMethod

java.lang.Object
  extended by org.chorem.pollen.votecounting.business.StandardMethod
      extended by org.chorem.pollen.votecounting.business.PercentageMethod
All Implemented Interfaces:
Method

public class PercentageMethod
extends StandardMethod
implements Method

Méthode de dépouillement par pourcentage (pondération des choix). Cette méthode étend la méthode standard en ajoutant la pondération des choix.

Version:
$Id: PercentageMethod.java 2615 2009-07-01 13:47:45Z nrannou $
Author:
rannou

Constructor Summary
PercentageMethod()
           
 
Method Summary
 double getValueForChoiceByGroup(Choice choice, String idGroup, List<String> choicesId)
           
 
Methods inherited from class org.chorem.pollen.votecounting.business.StandardMethod
calculateChoicesByGroup, calculateGroups, executeCounting, executeStats, getChoosenChoicesByGroup, getValueForGroup
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.chorem.pollen.votecounting.business.Method
executeCounting, executeStats
 

Constructor Detail

PercentageMethod

public PercentageMethod()
Method Detail

getValueForChoiceByGroup

public double getValueForChoiceByGroup(Choice choice,
                                       String idGroup,
                                       List<String> choicesId)
Overrides:
getValueForChoiceByGroup in class StandardMethod


Copyright © 2009-2010 CodeLutin. All Rights Reserved.