org.chorem.pollen.business.converters
Class EnumController
java.lang.Object
org.chorem.pollen.business.converters.DataConverter
org.chorem.pollen.business.converters.EnumController
public class EnumController
- extends DataConverter
Classe de gestion des énumérations.
- Version:
- $Id: EnumController.java 2731 2009-08-18 12:22:46Z nrannou $
- Author:
- fdesbois
|
Constructor Summary |
EnumController(org.nuiton.topia.TopiaContext transaction)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EnumController
public EnumController(org.nuiton.topia.TopiaContext transaction)
setChoiceType
public void setChoiceType(ChoiceType type,
Poll ePoll)
setPollType
public void setPollType(PollType type,
Poll ePoll)
setVoteCounting
public void setVoteCounting(VoteCountingType type,
Poll ePoll)
setVoteCounting
public void setVoteCounting(VoteCountingType type,
Result eResult)
getChoiceType
public static ChoiceType getChoiceType(String type)
getChoiceType
public static ChoiceType getChoiceType(Poll poll)
getVoteCountingType
public static VoteCountingType getVoteCountingType(String type)
getVoteCountingType
public static VoteCountingType getVoteCountingType(Poll poll)
getVoteCountingType
public static VoteCountingType getVoteCountingType(Result result)
getPollType
public static PollType getPollType(String type)
getPollType
public static PollType getPollType(Poll poll)
isGroupType
public static boolean isGroupType(Poll poll)
Copyright © 2009-2010 CodeLutin. All Rights Reserved.