public class IfVoter extends BaseVoterImpl
Constructor and Description |
---|
IfVoter() |
Modifier and Type | Method and Description |
---|---|
Voter |
getCondition() |
Voter |
getOtherwise() |
Voter |
getThen() |
void |
setCondition(Voter condition) |
void |
setOtherwise(Voter otherwise) |
void |
setThen(Voter then) |
String |
toString() |
int |
vote(Object value) |
getName, isEnabled, setEnabled, setName
public int vote(Object value)
public Voter getCondition()
public void setCondition(Voter condition)
public Voter getThen()
public void setThen(Voter then)
public Voter getOtherwise()
public void setOtherwise(Voter otherwise)
public String toString()
toString
in class BaseVoterImpl
Copyright © 2003–2015 Magnolia International Ltd.. All rights reserved.