|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object info.magnolia.voting.voters.BaseVoterImpl info.magnolia.voting.voters.AbstractBoolVoter info.magnolia.voting.voters.NotVoter
public class NotVoter
Does invert the boolean outcome of a voter. This is not the same thing as
inverting the value (see InverseVoter
)
Constructor Summary | |
---|---|
NotVoter()
|
Method Summary | |
---|---|
protected boolean |
boolVote(java.lang.Object value)
|
AbstractBoolVoter |
getVoter()
|
void |
setVoter(AbstractBoolVoter voter)
|
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 |
---|
public NotVoter()
Method Detail |
---|
protected boolean boolVote(java.lang.Object value)
boolVote
in class AbstractBoolVoter
public AbstractBoolVoter getVoter()
public void setVoter(AbstractBoolVoter voter)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |