info.magnolia.voting.voters
Class TrueVoter

java.lang.Object
  extended by info.magnolia.voting.voters.BaseVoterImpl
      extended by info.magnolia.voting.voters.AbstractBoolVoter
          extended by info.magnolia.voting.voters.TrueVoter
All Implemented Interfaces:
Voter

public class TrueVoter
extends AbstractBoolVoter

Used to set a default not 0 outcome value.

Version:
$Id: TrueVoter.java 41137 2011-01-06 18:19:25Z gjoseph $
Author:
philipp

Constructor Summary
TrueVoter()
           
 
Method Summary
protected  boolean boolVote(Object value)
           
 
Methods inherited from class info.magnolia.voting.voters.AbstractBoolVoter
getFalseValue, getLevel, getTrueValue, isNot, setFalseValue, setLevel, setNot, setTrueValue, toString, vote
 
Methods inherited from class info.magnolia.voting.voters.BaseVoterImpl
getName, isEnabled, setEnabled, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TrueVoter

public TrueVoter()
Method Detail

boolVote

protected boolean boolVote(Object value)
Specified by:
boolVote in class AbstractBoolVoter


Copyright © 2003-2011 Magnolia International Ltd.. All Rights Reserved.