Liferay 6.0.5

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

java.lang.Object
  extended by com.liferay.portal.model.impl.BaseModelImpl<MBMessage>
      extended by com.liferay.portlet.messageboards.model.impl.MBMessageModelImpl
All Implemented Interfaces:
BaseModel<MBMessage>, MBMessageModel, Serializable, Cloneable, Comparable<MBMessage>
Direct Known Subclasses:
MBMessageImpl

public class MBMessageModelImpl
extends BaseModelImpl<MBMessage>
implements MBMessageModel

The base model implementation for the MBMessage service. Represents a row in the "MBMessage" database table, with each column mapped to a property of this class.

This implementation and its corresponding interface MBMessageModel exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in MBMessageImpl.

Never modify or reference this class directly. All methods that expect a message-boards message model instance should use the MBMessage interface instead.

See Also:
MBMessageImpl, MBMessage, MBMessageModel, Serialized Form
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

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
MBMessageModelImpl()
           
 
Method Summary
 Object clone()
          Creates a shallow clone of this model instance.
 int compareTo(MBMessage mbMessage)
           
 boolean equals(Object obj)
           
 boolean getAllowPingbacks()
          Gets the allow pingbacks of this message-boards message.
 boolean getAnonymous()
          Gets the anonymous of this message-boards message.
 boolean getAttachments()
          Gets the attachments of this message-boards message.
 String getBody()
          Gets the body of this message-boards message.
 long getCategoryId()
          Gets the category id of this message-boards message.
 String getClassName()
          Gets the class name of the model instance this message-boards message is polymorphically associated with.
 long getClassNameId()
          Gets the class name id of this message-boards message.
 long getClassPK()
          Gets the class p k of this message-boards message.
 long getCompanyId()
          Gets the company id of this message-boards message.
 Date getCreateDate()
          Gets the create date of this message-boards message.
 ExpandoBridge getExpandoBridge()
          Gets the expando bridge for this model instance.
 long getGroupId()
          Gets the group id of this message-boards message.
 long getMessageId()
          Gets the message id of this message-boards message.
 Date getModifiedDate()
          Gets the modified date of this message-boards message.
 long getOriginalGroupId()
           
 String getOriginalUuid()
           
 long getParentMessageId()
          Gets the parent message id of this message-boards message.
 long getPrimaryKey()
          Gets the primary key of this message-boards message.
 Serializable getPrimaryKeyObj()
          Gets the primary key of this model instance.
 double getPriority()
          Gets the priority of this message-boards message.
 long getRootMessageId()
          Gets the root message id of this message-boards message.
 int getStatus()
          Gets the status of this message-boards message.
 long getStatusByUserId()
          Gets the status by user id of this message-boards message.
 String getStatusByUserName()
          Gets the status by user name of this message-boards message.
 String getStatusByUserUuid()
          Gets the status by user uuid of this message-boards message.
 Date getStatusDate()
          Gets the status date of this message-boards message.
 String getSubject()
          Gets the subject of this message-boards message.
 long getThreadId()
          Gets the thread id of this message-boards message.
 long getUserId()
          Gets the user id of this message-boards message.
 String getUserName()
          Gets the user name of this message-boards message.
 String getUserUuid()
          Gets the user uuid of this message-boards message.
 String getUuid()
          Gets the uuid of this message-boards message.
 int hashCode()
           
 boolean isAllowPingbacks()
          Determines whether this message-boards message is allow pingbacks.
 boolean isAnonymous()
          Determines whether this message-boards message is anonymous.
 boolean isApproved()
          Determines whether this message-boards message is approved.
 boolean isAttachments()
          Determines whether this message-boards message is attachments.
 boolean isDraft()
          Determines whether this message-boards message is a draft.
 boolean isExpired()
          Determines whether this message-boards message is expired.
 boolean isPending()
          Determines whether this message-boards message is pending.
 void setAllowPingbacks(boolean allowPingbacks)
          Sets whether this {$entity.humanName} is allow pingbacks.
 void setAnonymous(boolean anonymous)
          Sets whether this {$entity.humanName} is anonymous.
 void setAttachments(boolean attachments)
          Sets whether this {$entity.humanName} is attachments.
 void setBody(String body)
          Sets the body of this message-boards message.
 void setCategoryId(long categoryId)
          Sets the category id of this message-boards message.
 void setClassNameId(long classNameId)
          Sets the class name id of this message-boards message.
 void setClassPK(long classPK)
          Sets the class p k of this message-boards message.
 void setCompanyId(long companyId)
          Sets the company id of this message-boards message.
 void setCreateDate(Date createDate)
          Sets the create date of this message-boards message.
 void setExpandoBridgeAttributes(ServiceContext serviceContext)
          Sets the expando bridge attributes for this model instance to the attributes stored in the service context.
 void setGroupId(long groupId)
          Sets the group id of this message-boards message.
 void setMessageId(long messageId)
          Sets the message id of this message-boards message.
 void setModifiedDate(Date modifiedDate)
          Sets the modified date of this message-boards message.
 void setParentMessageId(long parentMessageId)
          Sets the parent message id of this message-boards message.
 void setPrimaryKey(long pk)
          Sets the primary key of this message-boards message
 void setPriority(double priority)
          Sets the priority of this message-boards message.
 void setRootMessageId(long rootMessageId)
          Sets the root message id of this message-boards message.
 void setStatus(int status)
          Sets the status of this message-boards message.
 void setStatusByUserId(long statusByUserId)
          Sets the status by user id of this message-boards message.
 void setStatusByUserName(String statusByUserName)
          Sets the status by user name of this message-boards message.
 void setStatusByUserUuid(String statusByUserUuid)
          Sets the status by user uuid of this message-boards message.
 void setStatusDate(Date statusDate)
          Sets the status date of this message-boards message.
 void setSubject(String subject)
          Sets the subject of this message-boards message.
 void setThreadId(long threadId)
          Sets the thread id of this message-boards message.
 void setUserId(long userId)
          Sets the user id of this message-boards message.
 void setUserName(String userName)
          Sets the user name of this message-boards message.
 void setUserUuid(String userUuid)
          Sets the user uuid of this message-boards message.
 void setUuid(String uuid)
          Sets the uuid of this message-boards message.
 MBMessage toEscapedModel()
          Gets a copy of this message-boards message as an escaped model instance by wrapping it with an AutoEscapeBeanHandler.
static MBMessage toModel(MBMessageSoap soapModel)
          Converts the soap model instance into a normal model instance.
static List<MBMessage> toModels(MBMessageSoap[] soapModels)
          Converts the soap model instances into normal model instances.
 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.messageboards.model.MBMessageModel
isCachedModel, isEscapedModel, isNew, setCachedModel, setEscapedModel, setNew
 

Field Detail

TABLE_NAME

public static final String TABLE_NAME
See Also:
Constant Field Values

TABLE_COLUMNS

public static final Object[][] TABLE_COLUMNS

TABLE_SQL_CREATE

public static final String TABLE_SQL_CREATE
See Also:
Constant Field Values

TABLE_SQL_DROP

public static final String TABLE_SQL_DROP
See Also:
Constant Field Values

ORDER_BY_JPQL

public static final String ORDER_BY_JPQL
See Also:
Constant Field Values

ORDER_BY_SQL

public static final String ORDER_BY_SQL
See Also:
Constant Field Values

DATA_SOURCE

public static final String DATA_SOURCE
See Also:
Constant Field Values

SESSION_FACTORY

public static final String SESSION_FACTORY
See Also:
Constant Field Values

TX_MANAGER

public static final 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

MBMessageModelImpl

public MBMessageModelImpl()
Method Detail

toModel

public static MBMessage toModel(MBMessageSoap soapModel)
Converts the soap model instance into a normal model instance.

Parameters:
soapModel - the soap model instance to convert
Returns:
the normal model instance

toModels

public static List<MBMessage> toModels(MBMessageSoap[] soapModels)
Converts the soap model instances into normal model instances.

Parameters:
soapModels - the soap model instances to convert
Returns:
the normal model instances

getPrimaryKey

public long getPrimaryKey()
Description copied from interface: MBMessageModel
Gets the primary key of this message-boards message.

Specified by:
getPrimaryKey in interface MBMessageModel
Returns:
the primary key of this message-boards message

setPrimaryKey

public void setPrimaryKey(long pk)
Description copied from interface: MBMessageModel
Sets the primary key of this message-boards message

Specified by:
setPrimaryKey in interface MBMessageModel
Parameters:
pk - the primary key of this message-boards message

getPrimaryKeyObj

public Serializable getPrimaryKeyObj()
Description copied from interface: BaseModel
Gets the primary key of this model instance.

Specified by:
getPrimaryKeyObj in interface BaseModel<MBMessage>
Specified by:
getPrimaryKeyObj in interface MBMessageModel
Returns:
the primary key of this model instance

getUuid

public String getUuid()
Description copied from interface: MBMessageModel
Gets the uuid of this message-boards message.

Specified by:
getUuid in interface MBMessageModel
Returns:
the uuid of this message-boards message

setUuid

public void setUuid(String uuid)
Description copied from interface: MBMessageModel
Sets the uuid of this message-boards message.

Specified by:
setUuid in interface MBMessageModel
Parameters:
uuid - the uuid of this message-boards message

getOriginalUuid

public String getOriginalUuid()

getMessageId

public long getMessageId()
Description copied from interface: MBMessageModel
Gets the message id of this message-boards message.

Specified by:
getMessageId in interface MBMessageModel
Returns:
the message id of this message-boards message

setMessageId

public void setMessageId(long messageId)
Description copied from interface: MBMessageModel
Sets the message id of this message-boards message.

Specified by:
setMessageId in interface MBMessageModel
Parameters:
messageId - the message id of this message-boards message

getGroupId

public long getGroupId()
Description copied from interface: MBMessageModel
Gets the group id of this message-boards message.

Specified by:
getGroupId in interface MBMessageModel
Returns:
the group id of this message-boards message

setGroupId

public void setGroupId(long groupId)
Description copied from interface: MBMessageModel
Sets the group id of this message-boards message.

Specified by:
setGroupId in interface MBMessageModel
Parameters:
groupId - the group id of this message-boards message

getOriginalGroupId

public long getOriginalGroupId()

getCompanyId

public long getCompanyId()
Description copied from interface: MBMessageModel
Gets the company id of this message-boards message.

Specified by:
getCompanyId in interface MBMessageModel
Returns:
the company id of this message-boards message

setCompanyId

public void setCompanyId(long companyId)
Description copied from interface: MBMessageModel
Sets the company id of this message-boards message.

Specified by:
setCompanyId in interface MBMessageModel
Parameters:
companyId - the company id of this message-boards message

getUserId

public long getUserId()
Description copied from interface: MBMessageModel
Gets the user id of this message-boards message.

Specified by:
getUserId in interface MBMessageModel
Returns:
the user id of this message-boards message

setUserId

public void setUserId(long userId)
Description copied from interface: MBMessageModel
Sets the user id of this message-boards message.

Specified by:
setUserId in interface MBMessageModel
Parameters:
userId - the user id of this message-boards message

getUserUuid

public String getUserUuid()
                   throws SystemException
Description copied from interface: MBMessageModel
Gets the user uuid of this message-boards message.

Specified by:
getUserUuid in interface MBMessageModel
Returns:
the user uuid of this message-boards message
Throws:
SystemException - if a system exception occurred

setUserUuid

public void setUserUuid(String userUuid)
Description copied from interface: MBMessageModel
Sets the user uuid of this message-boards message.

Specified by:
setUserUuid in interface MBMessageModel
Parameters:
userUuid - the user uuid of this message-boards message

getUserName

public String getUserName()
Description copied from interface: MBMessageModel
Gets the user name of this message-boards message.

Specified by:
getUserName in interface MBMessageModel
Returns:
the user name of this message-boards message

setUserName

public void setUserName(String userName)
Description copied from interface: MBMessageModel
Sets the user name of this message-boards message.

Specified by:
setUserName in interface MBMessageModel
Parameters:
userName - the user name of this message-boards message

getCreateDate

public Date getCreateDate()
Description copied from interface: MBMessageModel
Gets the create date of this message-boards message.

Specified by:
getCreateDate in interface MBMessageModel
Returns:
the create date of this message-boards message

setCreateDate

public void setCreateDate(Date createDate)
Description copied from interface: MBMessageModel
Sets the create date of this message-boards message.

Specified by:
setCreateDate in interface MBMessageModel
Parameters:
createDate - the create date of this message-boards message

getModifiedDate

public Date getModifiedDate()
Description copied from interface: MBMessageModel
Gets the modified date of this message-boards message.

Specified by:
getModifiedDate in interface MBMessageModel
Returns:
the modified date of this message-boards message

setModifiedDate

public void setModifiedDate(Date modifiedDate)
Description copied from interface: MBMessageModel
Sets the modified date of this message-boards message.

Specified by:
setModifiedDate in interface MBMessageModel
Parameters:
modifiedDate - the modified date of this message-boards message

getClassName

public String getClassName()
Description copied from interface: MBMessageModel
Gets the class name of the model instance this message-boards message is polymorphically associated with.

Specified by:
getClassName in interface MBMessageModel
Returns:
the class name of the model instance this message-boards message is polymorphically associated with

getClassNameId

public long getClassNameId()
Description copied from interface: MBMessageModel
Gets the class name id of this message-boards message.

Specified by:
getClassNameId in interface MBMessageModel
Returns:
the class name id of this message-boards message

setClassNameId

public void setClassNameId(long classNameId)
Description copied from interface: MBMessageModel
Sets the class name id of this message-boards message.

Specified by:
setClassNameId in interface MBMessageModel
Parameters:
classNameId - the class name id of this message-boards message

getClassPK

public long getClassPK()
Description copied from interface: MBMessageModel
Gets the class p k of this message-boards message.

Specified by:
getClassPK in interface MBMessageModel
Returns:
the class p k of this message-boards message

setClassPK

public void setClassPK(long classPK)
Description copied from interface: MBMessageModel
Sets the class p k of this message-boards message.

Specified by:
setClassPK in interface MBMessageModel
Parameters:
classPK - the class p k of this message-boards message

getCategoryId

public long getCategoryId()
Description copied from interface: MBMessageModel
Gets the category id of this message-boards message.

Specified by:
getCategoryId in interface MBMessageModel
Returns:
the category id of this message-boards message

setCategoryId

public void setCategoryId(long categoryId)
Description copied from interface: MBMessageModel
Sets the category id of this message-boards message.

Specified by:
setCategoryId in interface MBMessageModel
Parameters:
categoryId - the category id of this message-boards message

getThreadId

public long getThreadId()
Description copied from interface: MBMessageModel
Gets the thread id of this message-boards message.

Specified by:
getThreadId in interface MBMessageModel
Returns:
the thread id of this message-boards message

setThreadId

public void setThreadId(long threadId)
Description copied from interface: MBMessageModel
Sets the thread id of this message-boards message.

Specified by:
setThreadId in interface MBMessageModel
Parameters:
threadId - the thread id of this message-boards message

getRootMessageId

public long getRootMessageId()
Description copied from interface: MBMessageModel
Gets the root message id of this message-boards message.

Specified by:
getRootMessageId in interface MBMessageModel
Returns:
the root message id of this message-boards message

setRootMessageId

public void setRootMessageId(long rootMessageId)
Description copied from interface: MBMessageModel
Sets the root message id of this message-boards message.

Specified by:
setRootMessageId in interface MBMessageModel
Parameters:
rootMessageId - the root message id of this message-boards message

getParentMessageId

public long getParentMessageId()
Description copied from interface: MBMessageModel
Gets the parent message id of this message-boards message.

Specified by:
getParentMessageId in interface MBMessageModel
Returns:
the parent message id of this message-boards message

setParentMessageId

public void setParentMessageId(long parentMessageId)
Description copied from interface: MBMessageModel
Sets the parent message id of this message-boards message.

Specified by:
setParentMessageId in interface MBMessageModel
Parameters:
parentMessageId - the parent message id of this message-boards message

getSubject

public String getSubject()
Description copied from interface: MBMessageModel
Gets the subject of this message-boards message.

Specified by:
getSubject in interface MBMessageModel
Returns:
the subject of this message-boards message

setSubject

public void setSubject(String subject)
Description copied from interface: MBMessageModel
Sets the subject of this message-boards message.

Specified by:
setSubject in interface MBMessageModel
Parameters:
subject - the subject of this message-boards message

getBody

public String getBody()
Description copied from interface: MBMessageModel
Gets the body of this message-boards message.

Specified by:
getBody in interface MBMessageModel
Returns:
the body of this message-boards message

setBody

public void setBody(String body)
Description copied from interface: MBMessageModel
Sets the body of this message-boards message.

Specified by:
setBody in interface MBMessageModel
Parameters:
body - the body of this message-boards message

getAttachments

public boolean getAttachments()
Description copied from interface: MBMessageModel
Gets the attachments of this message-boards message.

Specified by:
getAttachments in interface MBMessageModel
Returns:
the attachments of this message-boards message

isAttachments

public boolean isAttachments()
Description copied from interface: MBMessageModel
Determines whether this message-boards message is attachments.

Specified by:
isAttachments in interface MBMessageModel
Returns:
whether this message-boards message is attachments

setAttachments

public void setAttachments(boolean attachments)
Description copied from interface: MBMessageModel
Sets whether this {$entity.humanName} is attachments.

Specified by:
setAttachments in interface MBMessageModel
Parameters:
attachments - the attachments of this message-boards message

getAnonymous

public boolean getAnonymous()
Description copied from interface: MBMessageModel
Gets the anonymous of this message-boards message.

Specified by:
getAnonymous in interface MBMessageModel
Returns:
the anonymous of this message-boards message

isAnonymous

public boolean isAnonymous()
Description copied from interface: MBMessageModel
Determines whether this message-boards message is anonymous.

Specified by:
isAnonymous in interface MBMessageModel
Returns:
whether this message-boards message is anonymous

setAnonymous

public void setAnonymous(boolean anonymous)
Description copied from interface: MBMessageModel
Sets whether this {$entity.humanName} is anonymous.

Specified by:
setAnonymous in interface MBMessageModel
Parameters:
anonymous - the anonymous of this message-boards message

getPriority

public double getPriority()
Description copied from interface: MBMessageModel
Gets the priority of this message-boards message.

Specified by:
getPriority in interface MBMessageModel
Returns:
the priority of this message-boards message

setPriority

public void setPriority(double priority)
Description copied from interface: MBMessageModel
Sets the priority of this message-boards message.

Specified by:
setPriority in interface MBMessageModel
Parameters:
priority - the priority of this message-boards message

getAllowPingbacks

public boolean getAllowPingbacks()
Description copied from interface: MBMessageModel
Gets the allow pingbacks of this message-boards message.

Specified by:
getAllowPingbacks in interface MBMessageModel
Returns:
the allow pingbacks of this message-boards message

isAllowPingbacks

public boolean isAllowPingbacks()
Description copied from interface: MBMessageModel
Determines whether this message-boards message is allow pingbacks.

Specified by:
isAllowPingbacks in interface MBMessageModel
Returns:
whether this message-boards message is allow pingbacks

setAllowPingbacks

public void setAllowPingbacks(boolean allowPingbacks)
Description copied from interface: MBMessageModel
Sets whether this {$entity.humanName} is allow pingbacks.

Specified by:
setAllowPingbacks in interface MBMessageModel
Parameters:
allowPingbacks - the allow pingbacks of this message-boards message

getStatus

public int getStatus()
Description copied from interface: MBMessageModel
Gets the status of this message-boards message.

Specified by:
getStatus in interface MBMessageModel
Returns:
the status of this message-boards message

setStatus

public void setStatus(int status)
Description copied from interface: MBMessageModel
Sets the status of this message-boards message.

Specified by:
setStatus in interface MBMessageModel
Parameters:
status - the status of this message-boards message

getStatusByUserId

public long getStatusByUserId()
Description copied from interface: MBMessageModel
Gets the status by user id of this message-boards message.

Specified by:
getStatusByUserId in interface MBMessageModel
Returns:
the status by user id of this message-boards message

setStatusByUserId

public void setStatusByUserId(long statusByUserId)
Description copied from interface: MBMessageModel
Sets the status by user id of this message-boards message.

Specified by:
setStatusByUserId in interface MBMessageModel
Parameters:
statusByUserId - the status by user id of this message-boards message

getStatusByUserUuid

public String getStatusByUserUuid()
                           throws SystemException
Description copied from interface: MBMessageModel
Gets the status by user uuid of this message-boards message.

Specified by:
getStatusByUserUuid in interface MBMessageModel
Returns:
the status by user uuid of this message-boards message
Throws:
SystemException - if a system exception occurred

setStatusByUserUuid

public void setStatusByUserUuid(String statusByUserUuid)
Description copied from interface: MBMessageModel
Sets the status by user uuid of this message-boards message.

Specified by:
setStatusByUserUuid in interface MBMessageModel
Parameters:
statusByUserUuid - the status by user uuid of this message-boards message

getStatusByUserName

public String getStatusByUserName()
Description copied from interface: MBMessageModel
Gets the status by user name of this message-boards message.

Specified by:
getStatusByUserName in interface MBMessageModel
Returns:
the status by user name of this message-boards message

setStatusByUserName

public void setStatusByUserName(String statusByUserName)
Description copied from interface: MBMessageModel
Sets the status by user name of this message-boards message.

Specified by:
setStatusByUserName in interface MBMessageModel
Parameters:
statusByUserName - the status by user name of this message-boards message

getStatusDate

public Date getStatusDate()
Description copied from interface: MBMessageModel
Gets the status date of this message-boards message.

Specified by:
getStatusDate in interface MBMessageModel
Returns:
the status date of this message-boards message

setStatusDate

public void setStatusDate(Date statusDate)
Description copied from interface: MBMessageModel
Sets the status date of this message-boards message.

Specified by:
setStatusDate in interface MBMessageModel
Parameters:
statusDate - the status date of this message-boards message

isApproved

public boolean isApproved()
Description copied from interface: MBMessageModel
Determines whether this message-boards message is approved.

Specified by:
isApproved in interface MBMessageModel
Returns:
true if this message-boards message is approved; false otherwise

isDraft

public boolean isDraft()
Description copied from interface: MBMessageModel
Determines whether this message-boards message is a draft.

Specified by:
isDraft in interface MBMessageModel
Returns:
true if this message-boards message is a draft; false otherwise

isExpired

public boolean isExpired()
Description copied from interface: MBMessageModel
Determines whether this message-boards message is expired.

Specified by:
isExpired in interface MBMessageModel
Returns:
true if this message-boards message is expired; false otherwise

isPending

public boolean isPending()
Description copied from interface: MBMessageModel
Determines whether this message-boards message is pending.

Specified by:
isPending in interface MBMessageModel
Returns:
true if this message-boards message is pending; false otherwise

toEscapedModel

public MBMessage toEscapedModel()
Description copied from interface: MBMessageModel
Gets a copy of this message-boards message as an escaped model instance by wrapping it with an AutoEscapeBeanHandler.

Specified by:
toEscapedModel in interface MBMessageModel
Returns:
the escaped model instance
See Also:
AutoEscapeBeanHandler

getExpandoBridge

public ExpandoBridge getExpandoBridge()
Description copied from interface: BaseModel
Gets the expando bridge for this model instance.

Specified by:
getExpandoBridge in interface BaseModel<MBMessage>
Specified by:
getExpandoBridge in interface MBMessageModel
Overrides:
getExpandoBridge in class BaseModelImpl<MBMessage>
Returns:
the expando bridge for this model instance

setExpandoBridgeAttributes

public void setExpandoBridgeAttributes(ServiceContext serviceContext)
Description copied from interface: BaseModel
Sets the expando bridge attributes for this model instance to the attributes stored in the service context.

Specified by:
setExpandoBridgeAttributes in interface BaseModel<MBMessage>
Specified by:
setExpandoBridgeAttributes in interface MBMessageModel
Overrides:
setExpandoBridgeAttributes in class BaseModelImpl<MBMessage>
Parameters:
serviceContext - the service context to retrieve the expando bridge attributes from
See Also:
ServiceContext.getExpandoBridgeAttributes( )

clone

public Object clone()
Description copied from interface: BaseModel
Creates a shallow clone of this model instance.

Specified by:
clone in interface BaseModel<MBMessage>
Specified by:
clone in interface MBMessageModel
Specified by:
clone in class BaseModelImpl<MBMessage>
Returns:
the shallow clone of this model instance

compareTo

public int compareTo(MBMessage mbMessage)
Specified by:
compareTo in interface MBMessageModel
Specified by:
compareTo in interface Comparable<MBMessage>

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Specified by:
hashCode in interface MBMessageModel
Overrides:
hashCode in class Object

toString

public String toString()
Specified by:
toString in interface MBMessageModel
Overrides:
toString in class Object

toXmlString

public String toXmlString()
Description copied from interface: BaseModel
Gets the XML representation of this model instance.

Specified by:
toXmlString in interface BaseModel<MBMessage>
Specified by:
toXmlString in interface MBMessageModel
Returns:
the XML representation of this model instance

Liferay 6.0.5