com.liferay.portlet.polls.model
Interface PollsChoiceModel

All Superinterfaces:
BaseModel<PollsChoice>, java.lang.Cloneable, java.lang.Comparable<PollsChoice>, java.io.Serializable
All Known Subinterfaces:
PollsChoice
All Known Implementing Classes:
PollsChoiceWrapper

public interface PollsChoiceModel
extends BaseModel<PollsChoice>

View Source

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

This interface is a model that represents the PollsChoice table in the database.

Author:
Brian Wing Shun Chan
See Also:
PollsChoice, com.liferay.portlet.polls.model.impl.PollsChoiceImpl, com.liferay.portlet.polls.model.impl.PollsChoiceModelImpl
Generated:

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 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()
           
 

Method Detail

getPrimaryKey

long getPrimaryKey()

setPrimaryKey

void setPrimaryKey(long pk)

getUuid

@AutoEscape
java.lang.String getUuid()

setUuid

void setUuid(java.lang.String uuid)

getChoiceId

long getChoiceId()

setChoiceId

void setChoiceId(long choiceId)

getQuestionId

long getQuestionId()

setQuestionId

void setQuestionId(long questionId)

getName

@AutoEscape
java.lang.String getName()

setName

void setName(java.lang.String name)

getDescription

@AutoEscape
java.lang.String getDescription()

setDescription

void setDescription(java.lang.String description)

isNew

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

setNew

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

isCachedModel

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

setCachedModel

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

isEscapedModel

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

setEscapedModel

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

getPrimaryKeyObj

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

getExpandoBridge

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

setExpandoBridgeAttributes

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

clone

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

compareTo

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

hashCode

int hashCode()
Overrides:
hashCode in class java.lang.Object

toEscapedModel

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

toString

java.lang.String toString()
Overrides:
toString in class java.lang.Object

toXmlString

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