info.magnolia.voting.voters
Class VoterSet
java.lang.Object
info.magnolia.voting.voters.BaseVoterImpl
info.magnolia.voting.voters.VoterSet
- All Implemented Interfaces:
- Voter
public class VoterSet
- extends BaseVoterImpl
Can take a set of voters. The voting can be set as well as the returned
level. If the level is not set (0) the votings result is returned.
- Author:
- pbracher
VoterSet
public VoterSet()
getVoters
public Voter[] getVoters()
addVoter
public void addVoter(Voter voter)
vote
public int vote(Object value)
getVoting
public Voting getVoting()
setVoting
public void setVoting(Voting voting)
isNot
public boolean isNot()
setNot
public void setNot(boolean not)
getLevel
public int getLevel()
setLevel
public void setLevel(int level)
toString
public String toString()
- Overrides:
toString
in class BaseVoterImpl
getOp
public String getOp()
setOp
public void setOp(String op)
Copyright © 2003–2014 Magnolia International Ltd.. All rights reserved.