com.liferay.portlet.polls.model
Class PollsVoteWrapper

java.lang.Object
  extended by com.liferay.portlet.polls.model.PollsVoteWrapper
All Implemented Interfaces:
BaseModel<PollsVote>, PollsVote, PollsVoteModel, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<PollsVote>

public class PollsVoteWrapper
extends java.lang.Object
implements PollsVote

View Source

ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

This class is a wrapper for PollsVote.

Author:
Brian Wing Shun Chan
See Also:
PollsVote, Serialized Form
Generated:

Constructor Summary
PollsVoteWrapper(PollsVote pollsVote)
           
 
Method Summary
 java.lang.Object clone()
           
 int compareTo(PollsVote pollsVote)
           
 PollsChoice getChoice()
           
 long getChoiceId()
           
 ExpandoBridge getExpandoBridge()
           
 long getPrimaryKey()
           
 java.io.Serializable getPrimaryKeyObj()
           
 long getQuestionId()
           
 long getUserId()
           
 java.lang.String getUserUuid()
           
 java.util.Date getVoteDate()
           
 long getVoteId()
           
 PollsVote getWrappedPollsVote()
           
 int hashCode()
           
 boolean isCachedModel()
           
 boolean isEscapedModel()
           
 boolean isNew()
           
 void setCachedModel(boolean cachedModel)
           
 void setChoiceId(long choiceId)
           
 void setEscapedModel(boolean escapedModel)
           
 void setExpandoBridgeAttributes(ServiceContext serviceContext)
           
 boolean setNew(boolean n)
           
 void setPrimaryKey(long pk)
           
 void setQuestionId(long questionId)
           
 void setUserId(long userId)
           
 void setUserUuid(java.lang.String userUuid)
           
 void setVoteDate(java.util.Date voteDate)
           
 void setVoteId(long voteId)
           
 PollsVote toEscapedModel()
           
 java.lang.String toString()
           
 java.lang.String toXmlString()
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PollsVoteWrapper

public PollsVoteWrapper(PollsVote pollsVote)
Method Detail

getPrimaryKey

public long getPrimaryKey()
Specified by:
getPrimaryKey in interface PollsVoteModel

setPrimaryKey

public void setPrimaryKey(long pk)
Specified by:
setPrimaryKey in interface PollsVoteModel

getVoteId

public long getVoteId()
Specified by:
getVoteId in interface PollsVoteModel

setVoteId

public void setVoteId(long voteId)
Specified by:
setVoteId in interface PollsVoteModel

getUserId

public long getUserId()
Specified by:
getUserId in interface PollsVoteModel

setUserId

public void setUserId(long userId)
Specified by:
setUserId in interface PollsVoteModel

getUserUuid

public java.lang.String getUserUuid()
                             throws com.liferay.portal.kernel.exception.SystemException
Specified by:
getUserUuid in interface PollsVoteModel
Throws:
com.liferay.portal.kernel.exception.SystemException

setUserUuid

public void setUserUuid(java.lang.String userUuid)
Specified by:
setUserUuid in interface PollsVoteModel

getQuestionId

public long getQuestionId()
Specified by:
getQuestionId in interface PollsVoteModel

setQuestionId

public void setQuestionId(long questionId)
Specified by:
setQuestionId in interface PollsVoteModel

getChoiceId

public long getChoiceId()
Specified by:
getChoiceId in interface PollsVoteModel

setChoiceId

public void setChoiceId(long choiceId)
Specified by:
setChoiceId in interface PollsVoteModel

getVoteDate

public java.util.Date getVoteDate()
Specified by:
getVoteDate in interface PollsVoteModel

setVoteDate

public void setVoteDate(java.util.Date voteDate)
Specified by:
setVoteDate in interface PollsVoteModel

toEscapedModel

public PollsVote toEscapedModel()
Specified by:
toEscapedModel in interface PollsVoteModel

isNew

public boolean isNew()
Specified by:
isNew in interface BaseModel<PollsVote>
Specified by:
isNew in interface PollsVoteModel

setNew

public boolean setNew(boolean n)
Specified by:
setNew in interface BaseModel<PollsVote>
Specified by:
setNew in interface PollsVoteModel

isCachedModel

public boolean isCachedModel()
Specified by:
isCachedModel in interface BaseModel<PollsVote>
Specified by:
isCachedModel in interface PollsVoteModel

setCachedModel

public void setCachedModel(boolean cachedModel)
Specified by:
setCachedModel in interface BaseModel<PollsVote>
Specified by:
setCachedModel in interface PollsVoteModel

isEscapedModel

public boolean isEscapedModel()
Specified by:
isEscapedModel in interface BaseModel<PollsVote>
Specified by:
isEscapedModel in interface PollsVoteModel

setEscapedModel

public void setEscapedModel(boolean escapedModel)
Specified by:
setEscapedModel in interface BaseModel<PollsVote>
Specified by:
setEscapedModel in interface PollsVoteModel

getPrimaryKeyObj

public java.io.Serializable getPrimaryKeyObj()
Specified by:
getPrimaryKeyObj in interface BaseModel<PollsVote>
Specified by:
getPrimaryKeyObj in interface PollsVoteModel

getExpandoBridge

public ExpandoBridge getExpandoBridge()
Specified by:
getExpandoBridge in interface BaseModel<PollsVote>
Specified by:
getExpandoBridge in interface PollsVoteModel

setExpandoBridgeAttributes

public void setExpandoBridgeAttributes(ServiceContext serviceContext)
Specified by:
setExpandoBridgeAttributes in interface BaseModel<PollsVote>
Specified by:
setExpandoBridgeAttributes in interface PollsVoteModel

clone

public java.lang.Object clone()
Specified by:
clone in interface BaseModel<PollsVote>
Specified by:
clone in interface PollsVoteModel
Overrides:
clone in class java.lang.Object

compareTo

public int compareTo(PollsVote pollsVote)
Specified by:
compareTo in interface PollsVoteModel
Specified by:
compareTo in interface java.lang.Comparable<PollsVote>

hashCode

public int hashCode()
Specified by:
hashCode in interface PollsVoteModel
Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Specified by:
toString in interface PollsVoteModel
Overrides:
toString in class java.lang.Object

toXmlString

public java.lang.String toXmlString()
Specified by:
toXmlString in interface BaseModel<PollsVote>
Specified by:
toXmlString in interface PollsVoteModel

getChoice

public PollsChoice getChoice()
                      throws com.liferay.portal.kernel.exception.PortalException,
                             com.liferay.portal.kernel.exception.SystemException
Specified by:
getChoice in interface PollsVote
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

getWrappedPollsVote

public PollsVote getWrappedPollsVote()