|
Liferay 6.0.3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.model.impl.BaseModelImpl<PollsChoice>
com.liferay.portlet.polls.model.impl.PollsChoiceModelImpl
public class PollsChoiceModelImpl
This interface is a model that represents the PollsChoice table in the database.
PollsChoiceImpl,
PollsChoice,
PollsChoiceModel,
Serialized Form| Field Summary | |
|---|---|
static String |
DATA_SOURCE
|
static boolean |
ENTITY_CACHE_ENABLED
|
static boolean |
FINDER_CACHE_ENABLED
|
static long |
LOCK_EXPIRATION_TIME
|
static String |
ORDER_BY_JPQL
|
static String |
ORDER_BY_SQL
|
static String |
SESSION_FACTORY
|
static Object[][] |
TABLE_COLUMNS
|
static String |
TABLE_NAME
|
static String |
TABLE_SQL_CREATE
|
static String |
TABLE_SQL_DROP
|
static String |
TX_MANAGER
|
| Constructor Summary | |
|---|---|
PollsChoiceModelImpl()
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(PollsChoice pollsChoice)
|
boolean |
equals(Object obj)
|
long |
getChoiceId()
|
String |
getDescription()
|
String |
getDescription(Locale locale)
|
String |
getDescription(Locale locale,
boolean useDefault)
|
String |
getDescription(String languageId)
|
String |
getDescription(String languageId,
boolean useDefault)
|
Map<Locale,String> |
getDescriptionMap()
|
ExpandoBridge |
getExpandoBridge()
Gets the expando bridge for this model instance. |
String |
getName()
|
String |
getOriginalName()
|
long |
getOriginalQuestionId()
|
long |
getPrimaryKey()
|
Serializable |
getPrimaryKeyObj()
Gets the primary key for this model instance. |
long |
getQuestionId()
|
String |
getUuid()
|
int |
hashCode()
|
void |
setChoiceId(long choiceId)
|
void |
setDescription(Locale locale,
String description)
|
void |
setDescription(String description)
|
void |
setDescriptionMap(Map<Locale,String> descriptionMap)
|
void |
setExpandoBridgeAttributes(ServiceContext serviceContext)
Sets the expando bridge attributes for this model instance to the attributes stored in the service context. |
void |
setName(String name)
|
void |
setPrimaryKey(long pk)
|
void |
setQuestionId(long questionId)
|
void |
setUuid(String uuid)
|
PollsChoice |
toEscapedModel()
|
String |
toString()
|
String |
toXmlString()
Gets the XML representation of this model instance. |
| Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl |
|---|
isCachedModel, isEscapedModel, isNew, setCachedModel, setEscapedModel, setNew |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.liferay.portlet.polls.model.PollsChoiceModel |
|---|
isCachedModel, isEscapedModel, isNew, setCachedModel, setEscapedModel, setNew |
| Field Detail |
|---|
public static final String TABLE_NAME
public static final Object[][] TABLE_COLUMNS
public static final String TABLE_SQL_CREATE
public static final String TABLE_SQL_DROP
public static final String ORDER_BY_JPQL
public static final String ORDER_BY_SQL
public static final String DATA_SOURCE
public static final String SESSION_FACTORY
public static final String TX_MANAGER
public static final boolean ENTITY_CACHE_ENABLED
public static final boolean FINDER_CACHE_ENABLED
public static final long LOCK_EXPIRATION_TIME
| Constructor Detail |
|---|
public PollsChoiceModelImpl()
| Method Detail |
|---|
public long getPrimaryKey()
getPrimaryKey in interface PollsChoiceModelpublic void setPrimaryKey(long pk)
setPrimaryKey in interface PollsChoiceModelpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<PollsChoice>getPrimaryKeyObj in interface PollsChoiceModelpublic String getUuid()
getUuid in interface PollsChoiceModelpublic void setUuid(String uuid)
setUuid in interface PollsChoiceModelpublic long getChoiceId()
getChoiceId in interface PollsChoiceModelpublic void setChoiceId(long choiceId)
setChoiceId in interface PollsChoiceModelpublic long getQuestionId()
getQuestionId in interface PollsChoiceModelpublic void setQuestionId(long questionId)
setQuestionId in interface PollsChoiceModelpublic long getOriginalQuestionId()
public String getName()
getName in interface PollsChoiceModelpublic void setName(String name)
setName in interface PollsChoiceModelpublic String getOriginalName()
public String getDescription()
getDescription in interface PollsChoiceModelpublic String getDescription(Locale locale)
getDescription in interface PollsChoiceModel
public String getDescription(Locale locale,
boolean useDefault)
getDescription in interface PollsChoiceModelpublic String getDescription(String languageId)
getDescription in interface PollsChoiceModel
public String getDescription(String languageId,
boolean useDefault)
getDescription in interface PollsChoiceModelpublic Map<Locale,String> getDescriptionMap()
getDescriptionMap in interface PollsChoiceModelpublic void setDescription(String description)
setDescription in interface PollsChoiceModel
public void setDescription(Locale locale,
String description)
setDescription in interface PollsChoiceModelpublic void setDescriptionMap(Map<Locale,String> descriptionMap)
setDescriptionMap in interface PollsChoiceModelpublic PollsChoice toEscapedModel()
toEscapedModel in interface PollsChoiceModelpublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<PollsChoice>getExpandoBridge in interface PollsChoiceModelgetExpandoBridge in class BaseModelImpl<PollsChoice>public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<PollsChoice>setExpandoBridgeAttributes in interface PollsChoiceModelsetExpandoBridgeAttributes in class BaseModelImpl<PollsChoice>serviceContext - the service context to retrieve the expando bridge
attributes fromServiceContext.getExpandoBridgeAttributes(
)public Object clone()
BaseModel
clone in interface BaseModel<PollsChoice>clone in interface PollsChoiceModelclone in class BaseModelImpl<PollsChoice>public int compareTo(PollsChoice pollsChoice)
compareTo in interface PollsChoiceModelcompareTo in interface Comparable<PollsChoice>public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in interface PollsChoiceModelhashCode in class Objectpublic String toString()
toString in interface PollsChoiceModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<PollsChoice>toXmlString in interface PollsChoiceModel
|
Liferay 6.0.3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||