Liferay 6.0.5

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

java.lang.Object
  extended by com.liferay.portal.model.impl.BaseModelImpl<MBMailingList>
      extended by com.liferay.portlet.messageboards.model.impl.MBMailingListModelImpl
All Implemented Interfaces:
BaseModel<MBMailingList>, MBMailingListModel, Serializable, Cloneable, Comparable<MBMailingList>
Direct Known Subclasses:
MBMailingListImpl

public class MBMailingListModelImpl
extends BaseModelImpl<MBMailingList>
implements MBMailingListModel

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

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

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

See Also:
MBMailingListImpl, MBMailingList, MBMailingListModel, 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 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
MBMailingListModelImpl()
           
 
Method Summary
 Object clone()
          Creates a shallow clone of this model instance.
 int compareTo(MBMailingList mbMailingList)
           
 boolean equals(Object obj)
           
 boolean getActive()
          Gets the active of this message boards mailing list.
 long getCategoryId()
          Gets the category id of this message boards mailing list.
 long getCompanyId()
          Gets the company id of this message boards mailing list.
 Date getCreateDate()
          Gets the create date of this message boards mailing list.
 String getEmailAddress()
          Gets the email address of this message boards mailing list.
 ExpandoBridge getExpandoBridge()
          Gets the expando bridge for this model instance.
 long getGroupId()
          Gets the group id of this message boards mailing list.
 String getInPassword()
          Gets the in password of this message boards mailing list.
 String getInProtocol()
          Gets the in protocol of this message boards mailing list.
 int getInReadInterval()
          Gets the in read interval of this message boards mailing list.
 String getInServerName()
          Gets the in server name of this message boards mailing list.
 int getInServerPort()
          Gets the in server port of this message boards mailing list.
 String getInUserName()
          Gets the in user name of this message boards mailing list.
 boolean getInUseSSL()
          Gets the in use s s l of this message boards mailing list.
 long getMailingListId()
          Gets the mailing list id of this message boards mailing list.
 Date getModifiedDate()
          Gets the modified date of this message boards mailing list.
 long getOriginalCategoryId()
           
 long getOriginalGroupId()
           
 String getOriginalUuid()
           
 boolean getOutCustom()
          Gets the out custom of this message boards mailing list.
 String getOutEmailAddress()
          Gets the out email address of this message boards mailing list.
 String getOutPassword()
          Gets the out password of this message boards mailing list.
 String getOutServerName()
          Gets the out server name of this message boards mailing list.
 int getOutServerPort()
          Gets the out server port of this message boards mailing list.
 String getOutUserName()
          Gets the out user name of this message boards mailing list.
 boolean getOutUseSSL()
          Gets the out use s s l of this message boards mailing list.
 long getPrimaryKey()
          Gets the primary key of this message boards mailing list.
 Serializable getPrimaryKeyObj()
          Gets the primary key of this model instance.
 long getUserId()
          Gets the user id of this message boards mailing list.
 String getUserName()
          Gets the user name of this message boards mailing list.
 String getUserUuid()
          Gets the user uuid of this message boards mailing list.
 String getUuid()
          Gets the uuid of this message boards mailing list.
 int hashCode()
           
 boolean isActive()
          Determines whether this message boards mailing list is active.
 boolean isInUseSSL()
          Determines whether this message boards mailing list is in use s s l.
 boolean isOutCustom()
          Determines whether this message boards mailing list is out custom.
 boolean isOutUseSSL()
          Determines whether this message boards mailing list is out use s s l.
 void setActive(boolean active)
          Sets whether this {$entity.humanName} is active.
 void setCategoryId(long categoryId)
          Sets the category id of this message boards mailing list.
 void setCompanyId(long companyId)
          Sets the company id of this message boards mailing list.
 void setCreateDate(Date createDate)
          Sets the create date of this message boards mailing list.
 void setEmailAddress(String emailAddress)
          Sets the email address of this message boards mailing list.
 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 mailing list.
 void setInPassword(String inPassword)
          Sets the in password of this message boards mailing list.
 void setInProtocol(String inProtocol)
          Sets the in protocol of this message boards mailing list.
 void setInReadInterval(int inReadInterval)
          Sets the in read interval of this message boards mailing list.
 void setInServerName(String inServerName)
          Sets the in server name of this message boards mailing list.
 void setInServerPort(int inServerPort)
          Sets the in server port of this message boards mailing list.
 void setInUserName(String inUserName)
          Sets the in user name of this message boards mailing list.
 void setInUseSSL(boolean inUseSSL)
          Sets whether this {$entity.humanName} is in use s s l.
 void setMailingListId(long mailingListId)
          Sets the mailing list id of this message boards mailing list.
 void setModifiedDate(Date modifiedDate)
          Sets the modified date of this message boards mailing list.
 void setOutCustom(boolean outCustom)
          Sets whether this {$entity.humanName} is out custom.
 void setOutEmailAddress(String outEmailAddress)
          Sets the out email address of this message boards mailing list.
 void setOutPassword(String outPassword)
          Sets the out password of this message boards mailing list.
 void setOutServerName(String outServerName)
          Sets the out server name of this message boards mailing list.
 void setOutServerPort(int outServerPort)
          Sets the out server port of this message boards mailing list.
 void setOutUserName(String outUserName)
          Sets the out user name of this message boards mailing list.
 void setOutUseSSL(boolean outUseSSL)
          Sets whether this {$entity.humanName} is out use s s l.
 void setPrimaryKey(long pk)
          Sets the primary key of this message boards mailing list
 void setUserId(long userId)
          Sets the user id of this message boards mailing list.
 void setUserName(String userName)
          Sets the user name of this message boards mailing list.
 void setUserUuid(String userUuid)
          Sets the user uuid of this message boards mailing list.
 void setUuid(String uuid)
          Sets the uuid of this message boards mailing list.
 MBMailingList toEscapedModel()
          Gets a copy of this message boards mailing list as an escaped model instance by wrapping it with an AutoEscapeBeanHandler.
 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.MBMailingListModel
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

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

MBMailingListModelImpl

public MBMailingListModelImpl()
Method Detail

getPrimaryKey

public long getPrimaryKey()
Description copied from interface: MBMailingListModel
Gets the primary key of this message boards mailing list.

Specified by:
getPrimaryKey in interface MBMailingListModel
Returns:
the primary key of this message boards mailing list

setPrimaryKey

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

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

getPrimaryKeyObj

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

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

getUuid

public String getUuid()
Description copied from interface: MBMailingListModel
Gets the uuid of this message boards mailing list.

Specified by:
getUuid in interface MBMailingListModel
Returns:
the uuid of this message boards mailing list

setUuid

public void setUuid(String uuid)
Description copied from interface: MBMailingListModel
Sets the uuid of this message boards mailing list.

Specified by:
setUuid in interface MBMailingListModel
Parameters:
uuid - the uuid of this message boards mailing list

getOriginalUuid

public String getOriginalUuid()

getMailingListId

public long getMailingListId()
Description copied from interface: MBMailingListModel
Gets the mailing list id of this message boards mailing list.

Specified by:
getMailingListId in interface MBMailingListModel
Returns:
the mailing list id of this message boards mailing list

setMailingListId

public void setMailingListId(long mailingListId)
Description copied from interface: MBMailingListModel
Sets the mailing list id of this message boards mailing list.

Specified by:
setMailingListId in interface MBMailingListModel
Parameters:
mailingListId - the mailing list id of this message boards mailing list

getGroupId

public long getGroupId()
Description copied from interface: MBMailingListModel
Gets the group id of this message boards mailing list.

Specified by:
getGroupId in interface MBMailingListModel
Returns:
the group id of this message boards mailing list

setGroupId

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

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

getOriginalGroupId

public long getOriginalGroupId()

getCompanyId

public long getCompanyId()
Description copied from interface: MBMailingListModel
Gets the company id of this message boards mailing list.

Specified by:
getCompanyId in interface MBMailingListModel
Returns:
the company id of this message boards mailing list

setCompanyId

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

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

getUserId

public long getUserId()
Description copied from interface: MBMailingListModel
Gets the user id of this message boards mailing list.

Specified by:
getUserId in interface MBMailingListModel
Returns:
the user id of this message boards mailing list

setUserId

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

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

getUserUuid

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

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

setUserUuid

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

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

getUserName

public String getUserName()
Description copied from interface: MBMailingListModel
Gets the user name of this message boards mailing list.

Specified by:
getUserName in interface MBMailingListModel
Returns:
the user name of this message boards mailing list

setUserName

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

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

getCreateDate

public Date getCreateDate()
Description copied from interface: MBMailingListModel
Gets the create date of this message boards mailing list.

Specified by:
getCreateDate in interface MBMailingListModel
Returns:
the create date of this message boards mailing list

setCreateDate

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

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

getModifiedDate

public Date getModifiedDate()
Description copied from interface: MBMailingListModel
Gets the modified date of this message boards mailing list.

Specified by:
getModifiedDate in interface MBMailingListModel
Returns:
the modified date of this message boards mailing list

setModifiedDate

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

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

getCategoryId

public long getCategoryId()
Description copied from interface: MBMailingListModel
Gets the category id of this message boards mailing list.

Specified by:
getCategoryId in interface MBMailingListModel
Returns:
the category id of this message boards mailing list

setCategoryId

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

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

getOriginalCategoryId

public long getOriginalCategoryId()

getEmailAddress

public String getEmailAddress()
Description copied from interface: MBMailingListModel
Gets the email address of this message boards mailing list.

Specified by:
getEmailAddress in interface MBMailingListModel
Returns:
the email address of this message boards mailing list

setEmailAddress

public void setEmailAddress(String emailAddress)
Description copied from interface: MBMailingListModel
Sets the email address of this message boards mailing list.

Specified by:
setEmailAddress in interface MBMailingListModel
Parameters:
emailAddress - the email address of this message boards mailing list

getInProtocol

public String getInProtocol()
Description copied from interface: MBMailingListModel
Gets the in protocol of this message boards mailing list.

Specified by:
getInProtocol in interface MBMailingListModel
Returns:
the in protocol of this message boards mailing list

setInProtocol

public void setInProtocol(String inProtocol)
Description copied from interface: MBMailingListModel
Sets the in protocol of this message boards mailing list.

Specified by:
setInProtocol in interface MBMailingListModel
Parameters:
inProtocol - the in protocol of this message boards mailing list

getInServerName

public String getInServerName()
Description copied from interface: MBMailingListModel
Gets the in server name of this message boards mailing list.

Specified by:
getInServerName in interface MBMailingListModel
Returns:
the in server name of this message boards mailing list

setInServerName

public void setInServerName(String inServerName)
Description copied from interface: MBMailingListModel
Sets the in server name of this message boards mailing list.

Specified by:
setInServerName in interface MBMailingListModel
Parameters:
inServerName - the in server name of this message boards mailing list

getInServerPort

public int getInServerPort()
Description copied from interface: MBMailingListModel
Gets the in server port of this message boards mailing list.

Specified by:
getInServerPort in interface MBMailingListModel
Returns:
the in server port of this message boards mailing list

setInServerPort

public void setInServerPort(int inServerPort)
Description copied from interface: MBMailingListModel
Sets the in server port of this message boards mailing list.

Specified by:
setInServerPort in interface MBMailingListModel
Parameters:
inServerPort - the in server port of this message boards mailing list

getInUseSSL

public boolean getInUseSSL()
Description copied from interface: MBMailingListModel
Gets the in use s s l of this message boards mailing list.

Specified by:
getInUseSSL in interface MBMailingListModel
Returns:
the in use s s l of this message boards mailing list

isInUseSSL

public boolean isInUseSSL()
Description copied from interface: MBMailingListModel
Determines whether this message boards mailing list is in use s s l.

Specified by:
isInUseSSL in interface MBMailingListModel
Returns:
whether this message boards mailing list is in use s s l

setInUseSSL

public void setInUseSSL(boolean inUseSSL)
Description copied from interface: MBMailingListModel
Sets whether this {$entity.humanName} is in use s s l.

Specified by:
setInUseSSL in interface MBMailingListModel
Parameters:
inUseSSL - the in use s s l of this message boards mailing list

getInUserName

public String getInUserName()
Description copied from interface: MBMailingListModel
Gets the in user name of this message boards mailing list.

Specified by:
getInUserName in interface MBMailingListModel
Returns:
the in user name of this message boards mailing list

setInUserName

public void setInUserName(String inUserName)
Description copied from interface: MBMailingListModel
Sets the in user name of this message boards mailing list.

Specified by:
setInUserName in interface MBMailingListModel
Parameters:
inUserName - the in user name of this message boards mailing list

getInPassword

public String getInPassword()
Description copied from interface: MBMailingListModel
Gets the in password of this message boards mailing list.

Specified by:
getInPassword in interface MBMailingListModel
Returns:
the in password of this message boards mailing list

setInPassword

public void setInPassword(String inPassword)
Description copied from interface: MBMailingListModel
Sets the in password of this message boards mailing list.

Specified by:
setInPassword in interface MBMailingListModel
Parameters:
inPassword - the in password of this message boards mailing list

getInReadInterval

public int getInReadInterval()
Description copied from interface: MBMailingListModel
Gets the in read interval of this message boards mailing list.

Specified by:
getInReadInterval in interface MBMailingListModel
Returns:
the in read interval of this message boards mailing list

setInReadInterval

public void setInReadInterval(int inReadInterval)
Description copied from interface: MBMailingListModel
Sets the in read interval of this message boards mailing list.

Specified by:
setInReadInterval in interface MBMailingListModel
Parameters:
inReadInterval - the in read interval of this message boards mailing list

getOutEmailAddress

public String getOutEmailAddress()
Description copied from interface: MBMailingListModel
Gets the out email address of this message boards mailing list.

Specified by:
getOutEmailAddress in interface MBMailingListModel
Returns:
the out email address of this message boards mailing list

setOutEmailAddress

public void setOutEmailAddress(String outEmailAddress)
Description copied from interface: MBMailingListModel
Sets the out email address of this message boards mailing list.

Specified by:
setOutEmailAddress in interface MBMailingListModel
Parameters:
outEmailAddress - the out email address of this message boards mailing list

getOutCustom

public boolean getOutCustom()
Description copied from interface: MBMailingListModel
Gets the out custom of this message boards mailing list.

Specified by:
getOutCustom in interface MBMailingListModel
Returns:
the out custom of this message boards mailing list

isOutCustom

public boolean isOutCustom()
Description copied from interface: MBMailingListModel
Determines whether this message boards mailing list is out custom.

Specified by:
isOutCustom in interface MBMailingListModel
Returns:
whether this message boards mailing list is out custom

setOutCustom

public void setOutCustom(boolean outCustom)
Description copied from interface: MBMailingListModel
Sets whether this {$entity.humanName} is out custom.

Specified by:
setOutCustom in interface MBMailingListModel
Parameters:
outCustom - the out custom of this message boards mailing list

getOutServerName

public String getOutServerName()
Description copied from interface: MBMailingListModel
Gets the out server name of this message boards mailing list.

Specified by:
getOutServerName in interface MBMailingListModel
Returns:
the out server name of this message boards mailing list

setOutServerName

public void setOutServerName(String outServerName)
Description copied from interface: MBMailingListModel
Sets the out server name of this message boards mailing list.

Specified by:
setOutServerName in interface MBMailingListModel
Parameters:
outServerName - the out server name of this message boards mailing list

getOutServerPort

public int getOutServerPort()
Description copied from interface: MBMailingListModel
Gets the out server port of this message boards mailing list.

Specified by:
getOutServerPort in interface MBMailingListModel
Returns:
the out server port of this message boards mailing list

setOutServerPort

public void setOutServerPort(int outServerPort)
Description copied from interface: MBMailingListModel
Sets the out server port of this message boards mailing list.

Specified by:
setOutServerPort in interface MBMailingListModel
Parameters:
outServerPort - the out server port of this message boards mailing list

getOutUseSSL

public boolean getOutUseSSL()
Description copied from interface: MBMailingListModel
Gets the out use s s l of this message boards mailing list.

Specified by:
getOutUseSSL in interface MBMailingListModel
Returns:
the out use s s l of this message boards mailing list

isOutUseSSL

public boolean isOutUseSSL()
Description copied from interface: MBMailingListModel
Determines whether this message boards mailing list is out use s s l.

Specified by:
isOutUseSSL in interface MBMailingListModel
Returns:
whether this message boards mailing list is out use s s l

setOutUseSSL

public void setOutUseSSL(boolean outUseSSL)
Description copied from interface: MBMailingListModel
Sets whether this {$entity.humanName} is out use s s l.

Specified by:
setOutUseSSL in interface MBMailingListModel
Parameters:
outUseSSL - the out use s s l of this message boards mailing list

getOutUserName

public String getOutUserName()
Description copied from interface: MBMailingListModel
Gets the out user name of this message boards mailing list.

Specified by:
getOutUserName in interface MBMailingListModel
Returns:
the out user name of this message boards mailing list

setOutUserName

public void setOutUserName(String outUserName)
Description copied from interface: MBMailingListModel
Sets the out user name of this message boards mailing list.

Specified by:
setOutUserName in interface MBMailingListModel
Parameters:
outUserName - the out user name of this message boards mailing list

getOutPassword

public String getOutPassword()
Description copied from interface: MBMailingListModel
Gets the out password of this message boards mailing list.

Specified by:
getOutPassword in interface MBMailingListModel
Returns:
the out password of this message boards mailing list

setOutPassword

public void setOutPassword(String outPassword)
Description copied from interface: MBMailingListModel
Sets the out password of this message boards mailing list.

Specified by:
setOutPassword in interface MBMailingListModel
Parameters:
outPassword - the out password of this message boards mailing list

getActive

public boolean getActive()
Description copied from interface: MBMailingListModel
Gets the active of this message boards mailing list.

Specified by:
getActive in interface MBMailingListModel
Returns:
the active of this message boards mailing list

isActive

public boolean isActive()
Description copied from interface: MBMailingListModel
Determines whether this message boards mailing list is active.

Specified by:
isActive in interface MBMailingListModel
Returns:
whether this message boards mailing list is active

setActive

public void setActive(boolean active)
Description copied from interface: MBMailingListModel
Sets whether this {$entity.humanName} is active.

Specified by:
setActive in interface MBMailingListModel
Parameters:
active - the active of this message boards mailing list

toEscapedModel

public MBMailingList toEscapedModel()
Description copied from interface: MBMailingListModel
Gets a copy of this message boards mailing list as an escaped model instance by wrapping it with an AutoEscapeBeanHandler.

Specified by:
toEscapedModel in interface MBMailingListModel
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<MBMailingList>
Specified by:
getExpandoBridge in interface MBMailingListModel
Overrides:
getExpandoBridge in class BaseModelImpl<MBMailingList>
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<MBMailingList>
Specified by:
setExpandoBridgeAttributes in interface MBMailingListModel
Overrides:
setExpandoBridgeAttributes in class BaseModelImpl<MBMailingList>
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<MBMailingList>
Specified by:
clone in interface MBMailingListModel
Specified by:
clone in class BaseModelImpl<MBMailingList>
Returns:
the shallow clone of this model instance

compareTo

public int compareTo(MBMailingList mbMailingList)
Specified by:
compareTo in interface MBMailingListModel
Specified by:
compareTo in interface Comparable<MBMailingList>

equals

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

hashCode

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

toString

public String toString()
Specified by:
toString in interface MBMailingListModel
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<MBMailingList>
Specified by:
toXmlString in interface MBMailingListModel
Returns:
the XML representation of this model instance

Liferay 6.0.5