com.liferay.portlet.polls.model
Class PollsChoiceWrapper
java.lang.Object
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:
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
PollsChoiceWrapper
public PollsChoiceWrapper(PollsChoice pollsChoice)
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
getDescription
public java.lang.String getDescription(java.util.Locale locale)
- Specified by:
getDescription in interface PollsChoiceModel
getDescription
public java.lang.String getDescription(java.util.Locale locale,
boolean useDefault)
- Specified by:
getDescription in interface PollsChoiceModel
getDescription
public java.lang.String getDescription(java.lang.String languageId)
- Specified by:
getDescription in interface PollsChoiceModel
getDescription
public java.lang.String getDescription(java.lang.String languageId,
boolean useDefault)
- Specified by:
getDescription in interface PollsChoiceModel
getDescriptionMap
public java.util.Map<java.util.Locale,java.lang.String> getDescriptionMap()
- Specified by:
getDescriptionMap in interface PollsChoiceModel
setDescription
public void setDescription(java.lang.String description)
- Specified by:
setDescription in interface PollsChoiceModel
setDescription
public void setDescription(java.util.Locale locale,
java.lang.String description)
- Specified by:
setDescription in interface PollsChoiceModel
setDescriptionMap
public void setDescriptionMap(java.util.Map<java.util.Locale,java.lang.String> descriptionMap)
- Specified by:
setDescriptionMap in interface PollsChoiceModel
toEscapedModel
public PollsChoice toEscapedModel()
- Specified by:
toEscapedModel 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
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.kernel.exception.SystemException
- Specified by:
getVotesCount in interface PollsChoice
- Throws:
com.liferay.portal.kernel.exception.SystemException
getWrappedPollsChoice
public PollsChoice getWrappedPollsChoice()