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

java.lang.Object
  extended by com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portlet.polls.model.PollsVote>
      extended by com.liferay.portlet.polls.model.impl.PollsVoteModelImpl
All Implemented Interfaces:
com.liferay.portal.model.BaseModel<com.liferay.portlet.polls.model.PollsVote>, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<com.liferay.portlet.polls.model.PollsVote>
Direct Known Subclasses:
PollsVoteImpl

public class PollsVoteModelImpl
extends com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portlet.polls.model.PollsVote>

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 PollsVote table in the database.

Author:
Brian Wing Shun Chan
See Also:
PollsVote, PollsVoteModel, PollsVoteImpl, Serialized Form

Field Summary
static java.lang.String DATA_SOURCE
           
static boolean ENTITY_CACHE_ENABLED
           
static boolean FINDER_CACHE_ENABLED
           
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
PollsVoteModelImpl()
           
 
Method Summary
 java.lang.Object clone()
           
 int compareTo(com.liferay.portlet.polls.model.PollsVote pollsVote)
           
 boolean equals(java.lang.Object obj)
           
 long getChoiceId()
           
 com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge()
           
 long getOriginalQuestionId()
           
 long getOriginalUserId()
           
 long getPrimaryKey()
           
 java.io.Serializable getPrimaryKeyObj()
           
 long getQuestionId()
           
 long getUserId()
           
 java.util.Date getVoteDate()
           
 long getVoteId()
           
 int hashCode()
           
 void setChoiceId(long choiceId)
           
 void setPrimaryKey(long pk)
           
 void setQuestionId(long questionId)
           
 void setUserId(long userId)
           
 void setVoteDate(java.util.Date voteDate)
           
 void setVoteId(long voteId)
           
 com.liferay.portlet.polls.model.PollsVote toEscapedModel()
           
static com.liferay.portlet.polls.model.PollsVote toModel(com.liferay.portlet.polls.model.PollsVoteSoap soapModel)
           
static java.util.List<com.liferay.portlet.polls.model.PollsVote> toModels(com.liferay.portlet.polls.model.PollsVoteSoap[] soapModels)
           
 java.lang.String toString()
           
 java.lang.String toXmlString()
           
 
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
 

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

ENTITY_CACHE_ENABLED

public static final boolean ENTITY_CACHE_ENABLED

FINDER_CACHE_ENABLED

public static final boolean FINDER_CACHE_ENABLED

LOCK_EXPIRATION_TIME

public static final long LOCK_EXPIRATION_TIME
Constructor Detail

PollsVoteModelImpl

public PollsVoteModelImpl()
Method Detail

toModel

public static com.liferay.portlet.polls.model.PollsVote toModel(com.liferay.portlet.polls.model.PollsVoteSoap soapModel)

toModels

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

getPrimaryKey

public long getPrimaryKey()

setPrimaryKey

public void setPrimaryKey(long pk)

getPrimaryKeyObj

public java.io.Serializable getPrimaryKeyObj()

getVoteId

public long getVoteId()

setVoteId

public void setVoteId(long voteId)

getUserId

public long getUserId()

setUserId

public void setUserId(long userId)

getOriginalUserId

public long getOriginalUserId()

getQuestionId

public long getQuestionId()

setQuestionId

public void setQuestionId(long questionId)

getOriginalQuestionId

public long getOriginalQuestionId()

getChoiceId

public long getChoiceId()

setChoiceId

public void setChoiceId(long choiceId)

getVoteDate

public java.util.Date getVoteDate()

setVoteDate

public void setVoteDate(java.util.Date voteDate)

toEscapedModel

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

getExpandoBridge

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

clone

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

compareTo

public int compareTo(com.liferay.portlet.polls.model.PollsVote pollsVote)

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

toString

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

toXmlString

public java.lang.String toXmlString()