com.liferay.portlet.polls.model
Class PollsChoiceWrapper

java.lang.Object
  extended by com.liferay.portlet.polls.model.PollsChoiceWrapper
All Implemented Interfaces:
BaseModel<PollsChoice>, PollsChoice, PollsChoiceModel, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<PollsChoice>

public class PollsChoiceWrapper
extends java.lang.Object
implements PollsChoice

View Source

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

This class is a wrapper for PollsChoice.

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

Constructor Summary
PollsChoiceWrapper(PollsChoice pollsChoice)
           
 
Method Summary
 java.lang.Object clone()
           
 int compareTo(PollsChoice pollsChoice)
           
 long getChoiceId()
           
 java.lang.String getDescription()
           
 ExpandoBridge getExpandoBridge()
           
 java.lang.String getName()
           
 long getPrimaryKey()
           
 java.io.Serializable getPrimaryKeyObj()
           
 long getQuestionId()
           
 java.lang.String getUuid()
           
 int getVotesCount()
           
 PollsChoice getWrappedPollsChoice()
           
 int hashCode()
           
 boolean isCachedModel()
           
 boolean isEscapedModel()
           
 boolean isNew()
           
 void setCachedModel(boolean cachedModel)
           
 void setChoiceId(long choiceId)
           
 void setDescription(java.lang.String description)
           
 void setEscapedModel(boolean escapedModel)
           
 void setExpandoBridgeAttributes(ServiceContext serviceContext)
           
 void setName(java.lang.String name)
           
 boolean setNew(boolean n)
           
 void setPrimaryKey(long pk)
           
 void setQuestionId(long questionId)
           
 void setUuid(java.lang.String uuid)
           
 PollsChoice 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

PollsChoiceWrapper

public PollsChoiceWrapper(PollsChoice pollsChoice)
Method Detail

getPrimaryKey

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

setPrimaryKey

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

getUuid

public java.lang.String getUuid()
Specified by:
getUuid in interface PollsChoiceModel

setUuid

public void setUuid(java.lang.String uuid)
Specified by:
setUuid in interface PollsChoiceModel

getChoiceId

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

setChoiceId

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

getQuestionId

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

setQuestionId

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

getName

public java.lang.String getName()
Specified by:
getName in interface PollsChoiceModel

setName

public void setName(java.lang.String name)
Specified by:
setName in interface PollsChoiceModel

getDescription

public java.lang.String getDescription()
Specified by:
getDescription in interface PollsChoiceModel

setDescription

public void setDescription(java.lang.String description)
Specified by:
setDescription in interface PollsChoiceModel

isNew

public boolean isNew()
Specified by:
isNew in interface BaseModel<PollsChoice>
Specified by:
isNew in interface PollsChoiceModel

setNew

public boolean setNew(boolean n)
Specified by:
setNew in interface BaseModel<PollsChoice>
Specified by:
setNew in interface PollsChoiceModel

isCachedModel

public boolean isCachedModel()
Specified by:
isCachedModel in interface BaseModel<PollsChoice>
Specified by:
isCachedModel in interface PollsChoiceModel

setCachedModel

public void setCachedModel(boolean cachedModel)
Specified by:
setCachedModel in interface BaseModel<PollsChoice>
Specified by:
setCachedModel in interface PollsChoiceModel

isEscapedModel

public boolean isEscapedModel()
Specified by:
isEscapedModel in interface BaseModel<PollsChoice>
Specified by:
isEscapedModel in interface PollsChoiceModel

setEscapedModel

public void setEscapedModel(boolean escapedModel)
Specified by:
setEscapedModel in interface BaseModel<PollsChoice>
Specified by:
setEscapedModel in interface PollsChoiceModel

getPrimaryKeyObj

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

getExpandoBridge

public ExpandoBridge getExpandoBridge()
Specified by:
getExpandoBridge in interface BaseModel<PollsChoice>
Specified by:
getExpandoBridge in interface PollsChoiceModel

setExpandoBridgeAttributes

public void setExpandoBridgeAttributes(ServiceContext serviceContext)
Specified by:
setExpandoBridgeAttributes in interface BaseModel<PollsChoice>
Specified by:
setExpandoBridgeAttributes in interface PollsChoiceModel

clone

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

compareTo

public int compareTo(PollsChoice pollsChoice)
Specified by:
compareTo in interface PollsChoiceModel
Specified by:
compareTo in interface java.lang.Comparable<PollsChoice>

hashCode

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

toEscapedModel

public PollsChoice toEscapedModel()
Specified by:
toEscapedModel in interface BaseModel<PollsChoice>
Specified by:
toEscapedModel in interface PollsChoiceModel

toString

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

toXmlString

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

getVotesCount

public int getVotesCount()
                  throws com.liferay.portal.SystemException
Specified by:
getVotesCount in interface PollsChoice
Throws:
com.liferay.portal.SystemException

getWrappedPollsChoice

public PollsChoice getWrappedPollsChoice()