info.magnolia.voting.voters
Class BaseVoterImpl

java.lang.Object
  extended by info.magnolia.voting.voters.BaseVoterImpl
All Implemented Interfaces:
Voter
Direct Known Subclasses:
AbstractBoolVoter, IfVoter, InverseVoter, VoterSet

public abstract class BaseVoterImpl
extends Object
implements Voter

Abstract voter. Supports the name and can be disabled.

Version:
$Revision$ ($Author$)
Author:
fgiust

Constructor Summary
BaseVoterImpl()
          Default constructor.
 
Method Summary
 String getName()
           
 boolean isEnabled()
           
 void setEnabled(boolean enabled)
           
 void setName(String name)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface info.magnolia.voting.Voter
vote
 

Constructor Detail

BaseVoterImpl

public BaseVoterImpl()
Default constructor.

Method Detail

isEnabled

public boolean isEnabled()
Specified by:
isEnabled in interface Voter

setEnabled

public void setEnabled(boolean enabled)

getName

public String getName()

setName

public void setName(String name)

toString

public String toString()
Overrides:
toString in class Object


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