Keel 2.1RC2

org.keel.apps.poll.entity
Class Poll

java.lang.Object
  extended byorg.keel.apps.poll.entity.Poll
All Implemented Interfaces:
java.io.Serializable

public class Poll
extends java.lang.Object
implements java.io.Serializable

Polls

See Also:
Serialized Form

Field Summary
private  java.lang.Integer CategoryId
           
private  java.sql.Timestamp close
           
private  java.sql.Timestamp created
           
private  java.sql.Timestamp lastVote
           
private  java.lang.Integer lastVoteBy
           
private  java.sql.Timestamp open
           
private  java.lang.String pollDescription
           
private  java.lang.Integer PollId
           
private  java.lang.String viewBeforeClose
           
 
Constructor Summary
Poll()
           
 
Method Summary
 java.lang.Integer getCategoryId()
          Returns the categoryId.
 java.sql.Timestamp getClose()
          Returns the close.
 java.sql.Timestamp getCreated()
          Returns the created.
 java.sql.Timestamp getLastVote()
          Returns the lastVote.
 java.lang.Integer getLastVoteBy()
          Returns the lastVoteBy.
 java.sql.Timestamp getOpen()
          Returns the open.
 java.lang.String getPollDescription()
          Returns the pollDescription.
 java.lang.Integer getPollId()
          Returns the pollId.
 java.lang.String getViewBeforeClose()
          Returns the viewBeforeClose.
 void setCategoryId(java.lang.Integer categoryId)
          Sets the categoryId.
 void setClose(java.sql.Timestamp close)
          Sets the close.
 void setCreated(java.sql.Timestamp created)
          Sets the created.
 void setLastVote(java.sql.Timestamp lastVote)
          Sets the lastVote.
 void setLastVoteBy(java.lang.Integer lastVoteBy)
          Sets the lastVoteBy.
 void setOpen(java.sql.Timestamp open)
          Sets the open.
 void setPollDescription(java.lang.String pollDescription)
          Sets the pollDescription.
 void setPollId(java.lang.Integer pollId)
          Sets the pollId.
 void setViewBeforeClose(java.lang.String viewBeforeClose)
          Sets the viewBeforeClose.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PollId

private java.lang.Integer PollId

CategoryId

private java.lang.Integer CategoryId

pollDescription

private java.lang.String pollDescription

created

private java.sql.Timestamp created

open

private java.sql.Timestamp open

close

private java.sql.Timestamp close

viewBeforeClose

private java.lang.String viewBeforeClose

lastVote

private java.sql.Timestamp lastVote

lastVoteBy

private java.lang.Integer lastVoteBy
Constructor Detail

Poll

public Poll()
Method Detail

getCategoryId

public java.lang.Integer getCategoryId()
Returns the categoryId.

Returns:
Integer

getClose

public java.sql.Timestamp getClose()
Returns the close.

Returns:
Timestamp Get the "close" date/time

getCreated

public java.sql.Timestamp getCreated()
Returns the created.

Returns:
Date The date this poll was created

getLastVote

public java.sql.Timestamp getLastVote()
Returns the lastVote.

Returns:
Date Get the date of the last vote

getLastVoteBy

public java.lang.Integer getLastVoteBy()
Returns the lastVoteBy.

Returns:
Integer Get the user id of the last user to post a vote

getOpen

public java.sql.Timestamp getOpen()
Returns the open.

Returns:
Date Get the date this poll "opens"

getPollDescription

public java.lang.String getPollDescription()
Returns the pollDescription.

Returns:
String

getPollId

public java.lang.Integer getPollId()
Returns the pollId.

Returns:
Integer

getViewBeforeClose

public java.lang.String getViewBeforeClose()
Returns the viewBeforeClose.

Returns:
String

setCategoryId

public void setCategoryId(java.lang.Integer categoryId)
Sets the categoryId.

Parameters:
categoryId - The categoryId to set

setClose

public void setClose(java.sql.Timestamp close)
Sets the close.

Parameters:
close - The close to set

setCreated

public void setCreated(java.sql.Timestamp created)
Sets the created.

Parameters:
created - The created to set

setLastVote

public void setLastVote(java.sql.Timestamp lastVote)
Sets the lastVote.

Parameters:
lastVote - The lastVote to set

setLastVoteBy

public void setLastVoteBy(java.lang.Integer lastVoteBy)
Sets the lastVoteBy.

Parameters:
lastVoteBy - The lastVoteBy to set

setOpen

public void setOpen(java.sql.Timestamp open)
Sets the open.

Parameters:
open - The open to set

setPollDescription

public void setPollDescription(java.lang.String pollDescription)
Sets the pollDescription.

Parameters:
pollDescription - The pollDescription to set

setPollId

public void setPollId(java.lang.Integer pollId)
Sets the pollId.

Parameters:
pollId - The pollId to set

setViewBeforeClose

public void setViewBeforeClose(java.lang.String viewBeforeClose)
Sets the viewBeforeClose.

Parameters:
viewBeforeClose - The viewBeforeClose to set

Keel 2.1RC2

Please see keelframework.org for information about new Keel releases.