com.liferay.portlet.polls.model
Class PollsVoteWrapper
java.lang.Object
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:
Methods inherited from class java.lang.Object |
equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
PollsVoteWrapper
public PollsVoteWrapper(PollsVote pollsVote)
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.SystemException
- Specified by:
getUserUuid
in interface PollsVoteModel
- Throws:
com.liferay.portal.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
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
toEscapedModel
public PollsVote toEscapedModel()
- Specified by:
toEscapedModel
in interface BaseModel<PollsVote>
- Specified by:
toEscapedModel
in interface PollsVoteModel
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.PortalException,
com.liferay.portal.SystemException
- Specified by:
getChoice
in interface PollsVote
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getWrappedPollsVote
public PollsVote getWrappedPollsVote()