com.liferay.portlet.messageboards.model.impl
Class MBMessageFlagModelImpl

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

public class MBMessageFlagModelImpl
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 MBMessageFlag table in the database.

Author:
Brian Wing Shun Chan
See Also:
com.liferay.portlet.messageboards.service.model.MBMessageFlag, com.liferay.portlet.messageboards.service.model.MBMessageFlagModel, com.liferay.portlet.messageboards.service.model.impl.MBMessageFlagImpl, 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
MBMessageFlagModelImpl()
           
 
Method Summary
 java.lang.Object clone()
           
 int compareTo(java.lang.Object obj)
           
 boolean equals(java.lang.Object obj)
           
 int getFlag()
           
 long getMessageFlagId()
           
 long getMessageId()
           
 long getPrimaryKey()
           
 java.io.Serializable getPrimaryKeyObj()
           
 long getUserId()
           
 int hashCode()
           
 void setFlag(int flag)
           
 void setMessageFlagId(long messageFlagId)
           
 void setMessageId(long messageId)
           
 void setPrimaryKey(long pk)
           
 void setUserId(long userId)
           
 com.liferay.portlet.messageboards.model.MBMessageFlag toEscapedModel()
           
static com.liferay.portlet.messageboards.model.MBMessageFlag toModel(com.liferay.portlet.messageboards.model.MBMessageFlagSoap soapModel)
           
static java.util.List<com.liferay.portlet.messageboards.model.MBMessageFlag> toModels(com.liferay.portlet.messageboards.model.MBMessageFlagSoap[] 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

MBMessageFlagModelImpl

public MBMessageFlagModelImpl()
Method Detail

toModel

public static com.liferay.portlet.messageboards.model.MBMessageFlag toModel(com.liferay.portlet.messageboards.model.MBMessageFlagSoap soapModel)

toModels

public static java.util.List<com.liferay.portlet.messageboards.model.MBMessageFlag> toModels(com.liferay.portlet.messageboards.model.MBMessageFlagSoap[] soapModels)

getPrimaryKey

public long getPrimaryKey()

setPrimaryKey

public void setPrimaryKey(long pk)

getPrimaryKeyObj

public java.io.Serializable getPrimaryKeyObj()

getMessageFlagId

public long getMessageFlagId()

setMessageFlagId

public void setMessageFlagId(long messageFlagId)

getUserId

public long getUserId()

setUserId

public void setUserId(long userId)

getMessageId

public long getMessageId()

setMessageId

public void setMessageId(long messageId)

getFlag

public int getFlag()

setFlag

public void setFlag(int flag)

toEscapedModel

public com.liferay.portlet.messageboards.model.MBMessageFlag 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