nl.gx.webmanager.cms.element
Interface PollItem

All Superinterfaces:
Wrapper

public interface PollItem
extends Wrapper

Representation of pollitem.


Method Summary
 java.lang.String getAnswer()
          Return string representation of item.
 int getNrOfVotes()
          Return number of votes on this item.
 int getRoundedPercentage()
          Return the rounded percentage of the item (this is the percentage as shown in the results on the page)
 void setAnswer(java.lang.String answer)
          Set answer for poll item
 void setRoundedPercentage(int percentage)
          Set the rounded percentage for the item (this is the percentage as shown in the results on the page)
 
Methods inherited from interface nl.gx.webmanager.wrapper.Wrapper
getId, getUUID, setId, setUUID
 

Method Detail

getAnswer

java.lang.String getAnswer()
Return string representation of item.

Returns:
string representation of item.

setAnswer

void setAnswer(java.lang.String answer)
Set answer for poll item

Parameters:
answer - poll item answer

getNrOfVotes

int getNrOfVotes()
Return number of votes on this item.

Returns:
number of votes on this item.

setRoundedPercentage

void setRoundedPercentage(int percentage)
Set the rounded percentage for the item (this is the percentage as shown in the results on the page)

Parameters:
the - rounded percentage for the item

getRoundedPercentage

int getRoundedPercentage()
Return the rounded percentage of the item (this is the percentage as shown in the results on the page)

Returns:
the rounded percentage of the item


Copyright © 2007-2010 GX creative online development BV. All Rights Reserved.