com.liferay.portlet.ratings.model.impl
Class RatingsEntryModelImpl

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

public class RatingsEntryModelImpl
extends 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 RatingsEntry table in the database.

Author:
Brian Wing Shun Chan
See Also:
com.liferay.portlet.ratings.service.model.RatingsEntry, com.liferay.portlet.ratings.service.model.RatingsEntryModel, com.liferay.portlet.ratings.service.model.impl.RatingsEntryImpl, Serialized Form

Field Summary
static boolean CACHE_ENABLED
           
static long LOCK_EXPIRATION_TIME
           
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
           
 
Constructor Summary
RatingsEntryModelImpl()
           
 
Method Summary
 java.lang.Object clone()
           
 int compareTo(java.lang.Object obj)
           
 boolean equals(java.lang.Object obj)
           
 java.lang.String getClassName()
           
 long getClassNameId()
           
 long getClassPK()
           
 long getCompanyId()
           
 java.util.Date getCreateDate()
           
 long getEntryId()
           
 java.util.Date getModifiedDate()
           
 long getPrimaryKey()
           
 java.io.Serializable getPrimaryKeyObj()
           
 double getScore()
           
 long getUserId()
           
 java.lang.String getUserName()
           
 int hashCode()
           
 void setClassNameId(long classNameId)
           
 void setClassPK(long classPK)
           
 void setCompanyId(long companyId)
           
 void setCreateDate(java.util.Date createDate)
           
 void setEntryId(long entryId)
           
 void setModifiedDate(java.util.Date modifiedDate)
           
 void setPrimaryKey(long pk)
           
 void setScore(double score)
           
 void setUserId(long userId)
           
 void setUserName(java.lang.String userName)
           
 com.liferay.portlet.ratings.model.RatingsEntry toEscapedModel()
           
static com.liferay.portlet.ratings.model.RatingsEntry toModel(com.liferay.portlet.ratings.model.RatingsEntrySoap soapModel)
           
static java.util.List<com.liferay.portlet.ratings.model.RatingsEntry> toModels(com.liferay.portlet.ratings.model.RatingsEntrySoap[] 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

CACHE_ENABLED

public static final boolean CACHE_ENABLED

LOCK_EXPIRATION_TIME

public static final long LOCK_EXPIRATION_TIME
Constructor Detail

RatingsEntryModelImpl

public RatingsEntryModelImpl()
Method Detail

toModel

public static com.liferay.portlet.ratings.model.RatingsEntry toModel(com.liferay.portlet.ratings.model.RatingsEntrySoap soapModel)

toModels

public static java.util.List<com.liferay.portlet.ratings.model.RatingsEntry> toModels(com.liferay.portlet.ratings.model.RatingsEntrySoap[] soapModels)

getPrimaryKey

public long getPrimaryKey()

setPrimaryKey

public void setPrimaryKey(long pk)

getPrimaryKeyObj

public java.io.Serializable getPrimaryKeyObj()

getEntryId

public long getEntryId()

setEntryId

public void setEntryId(long entryId)

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)

getClassName

public java.lang.String getClassName()

getClassNameId

public long getClassNameId()

setClassNameId

public void setClassNameId(long classNameId)

getClassPK

public long getClassPK()

setClassPK

public void setClassPK(long classPK)

getScore

public double getScore()

setScore

public void setScore(double score)

toEscapedModel

public com.liferay.portlet.ratings.model.RatingsEntry toEscapedModel()

clone

public java.lang.Object clone()
Specified by:
clone in interface com.liferay.portal.model.BaseModel
Specified by:
clone in class 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