com.liferay.portlet.polls.model.impl
Class PollsQuestionModelImpl

java.lang.Object
  extended by com.liferay.portal.model.impl.BaseModelImpl
      extended by com.liferay.portlet.polls.model.impl.PollsQuestionModelImpl
All Implemented Interfaces:
com.liferay.portal.model.BaseModel, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable
Direct Known Subclasses:
PollsQuestionImpl

public class PollsQuestionModelImpl
extends com.liferay.portal.model.impl.BaseModelImpl

View Source

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

This class is a model that represents the PollsQuestion table in the database.

Author:
Brian Wing Shun Chan
See Also:
PollsQuestion, PollsQuestionModel, PollsQuestionImpl, Serialized Form

Field Summary
static boolean CACHE_ENABLED
           
static java.lang.String DATA_SOURCE
           
static long LOCK_EXPIRATION_TIME
           
static java.lang.String SESSION_FACTORY
           
static java.lang.Object[][] TABLE_COLUMNS
           
static java.lang.String TABLE_NAME
           
static java.lang.String TABLE_SQL_CREATE
           
static java.lang.String TABLE_SQL_DROP
           
static java.lang.String TX_MANAGER
           
 
Constructor Summary
PollsQuestionModelImpl()
           
 
Method Summary
 java.lang.Object clone()
           
 int compareTo(java.lang.Object obj)
           
 boolean equals(java.lang.Object obj)
           
 long getCompanyId()
           
 java.util.Date getCreateDate()
           
 java.lang.String getDescription()
           
 com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge()
           
 java.util.Date getExpirationDate()
           
 long getGroupId()
           
 java.util.Date getLastVoteDate()
           
 java.util.Date getModifiedDate()
           
 long getPrimaryKey()
           
 java.io.Serializable getPrimaryKeyObj()
           
 long getQuestionId()
           
 java.lang.String getTitle()
           
 long getUserId()
           
 java.lang.String getUserName()
           
 java.lang.String getUuid()
           
 int hashCode()
           
 void setCompanyId(long companyId)
           
 void setCreateDate(java.util.Date createDate)
           
 void setDescription(java.lang.String description)
           
 void setExpirationDate(java.util.Date expirationDate)
           
 void setGroupId(long groupId)
           
 void setLastVoteDate(java.util.Date lastVoteDate)
           
 void setModifiedDate(java.util.Date modifiedDate)
           
 void setPrimaryKey(long pk)
           
 void setQuestionId(long questionId)
           
 void setTitle(java.lang.String title)
           
 void setUserId(long userId)
           
 void setUserName(java.lang.String userName)
           
 void setUuid(java.lang.String uuid)
           
 com.liferay.portlet.polls.model.PollsQuestion toEscapedModel()
           
static com.liferay.portlet.polls.model.PollsQuestion toModel(com.liferay.portlet.polls.model.PollsQuestionSoap soapModel)
           
static java.util.List<com.liferay.portlet.polls.model.PollsQuestion> toModels(com.liferay.portlet.polls.model.PollsQuestionSoap[] soapModels)
           
 
Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl
isEscapedModel, isNew, setEscapedModel, setNew
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TABLE_NAME

public static final java.lang.String TABLE_NAME
See Also:
Constant Field Values

TABLE_COLUMNS

public static final java.lang.Object[][] TABLE_COLUMNS

TABLE_SQL_CREATE

public static final java.lang.String TABLE_SQL_CREATE
See Also:
Constant Field Values

TABLE_SQL_DROP

public static final java.lang.String TABLE_SQL_DROP
See Also:
Constant Field Values

DATA_SOURCE

public static final java.lang.String DATA_SOURCE
See Also:
Constant Field Values

SESSION_FACTORY

public static final java.lang.String SESSION_FACTORY
See Also:
Constant Field Values

TX_MANAGER

public static final java.lang.String TX_MANAGER
See Also:
Constant Field Values

CACHE_ENABLED

public static final boolean CACHE_ENABLED

LOCK_EXPIRATION_TIME

public static final long LOCK_EXPIRATION_TIME
Constructor Detail

PollsQuestionModelImpl

public PollsQuestionModelImpl()
Method Detail

toModel

public static com.liferay.portlet.polls.model.PollsQuestion toModel(com.liferay.portlet.polls.model.PollsQuestionSoap soapModel)

toModels

public static java.util.List<com.liferay.portlet.polls.model.PollsQuestion> toModels(com.liferay.portlet.polls.model.PollsQuestionSoap[] soapModels)

getPrimaryKey

public long getPrimaryKey()

setPrimaryKey

public void setPrimaryKey(long pk)

getPrimaryKeyObj

public java.io.Serializable getPrimaryKeyObj()

getUuid

public java.lang.String getUuid()

setUuid

public void setUuid(java.lang.String uuid)

getQuestionId

public long getQuestionId()

setQuestionId

public void setQuestionId(long questionId)

getGroupId

public long getGroupId()

setGroupId

public void setGroupId(long groupId)

getCompanyId

public long getCompanyId()

setCompanyId

public void setCompanyId(long companyId)

getUserId

public long getUserId()

setUserId

public void setUserId(long userId)

getUserName

public java.lang.String getUserName()

setUserName

public void setUserName(java.lang.String userName)

getCreateDate

public java.util.Date getCreateDate()

setCreateDate

public void setCreateDate(java.util.Date createDate)

getModifiedDate

public java.util.Date getModifiedDate()

setModifiedDate

public void setModifiedDate(java.util.Date modifiedDate)

getTitle

public java.lang.String getTitle()

setTitle

public void setTitle(java.lang.String title)

getDescription

public java.lang.String getDescription()

setDescription

public void setDescription(java.lang.String description)

getExpirationDate

public java.util.Date getExpirationDate()

setExpirationDate

public void setExpirationDate(java.util.Date expirationDate)

getLastVoteDate

public java.util.Date getLastVoteDate()

setLastVoteDate

public void setLastVoteDate(java.util.Date lastVoteDate)

toEscapedModel

public com.liferay.portlet.polls.model.PollsQuestion toEscapedModel()

getExpandoBridge

public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge()
Specified by:
getExpandoBridge in interface com.liferay.portal.model.BaseModel
Overrides:
getExpandoBridge in class com.liferay.portal.model.impl.BaseModelImpl

clone

public java.lang.Object clone()
Specified by:
clone in interface com.liferay.portal.model.BaseModel
Specified by:
clone in class com.liferay.portal.model.impl.BaseModelImpl

compareTo

public int compareTo(java.lang.Object obj)

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

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