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:
getPrimaryKey
long getPrimaryKey()
setPrimaryKey
void setPrimaryKey(long pk)
getUuid
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
java.lang.String getName()
setName
void setName(java.lang.String name)
getDescription
java.lang.String getDescription()
getDescription
java.lang.String getDescription(java.util.Locale locale)
getDescription
java.lang.String getDescription(java.util.Locale locale,
boolean useDefault)
getDescription
java.lang.String getDescription(java.lang.String languageId)
getDescription
java.lang.String getDescription(java.lang.String languageId,
boolean useDefault)
getDescriptionMap
java.util.Map<java.util.Locale,java.lang.String> getDescriptionMap()
setDescription
void setDescription(java.lang.String description)
setDescription
void setDescription(java.util.Locale locale,
java.lang.String description)
setDescriptionMap
void setDescriptionMap(java.util.Map<java.util.Locale,java.lang.String> descriptionMap)
toEscapedModel
PollsChoice toEscapedModel()
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
toString
java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
toXmlString
java.lang.String toXmlString()
- Specified by:
toXmlString
in interface BaseModel<PollsChoice>