Liferay 6.1.2-ce-ga3

com.liferay.portlet.announcements.model.impl
Class AnnouncementsEntryModelImpl

java.lang.Object
  extended by com.liferay.portal.model.impl.BaseModelImpl<AnnouncementsEntry>
      extended by com.liferay.portlet.announcements.model.impl.AnnouncementsEntryModelImpl
All Implemented Interfaces:
AttachedModel, AuditedModel, BaseModel<AnnouncementsEntry>, ClassedModel, AnnouncementsEntryModel, Serializable, Cloneable, Comparable<AnnouncementsEntry>
Direct Known Subclasses:
AnnouncementsEntryBaseImpl

@JSON(strict=true)
public class AnnouncementsEntryModelImpl
extends BaseModelImpl<AnnouncementsEntry>
implements AnnouncementsEntryModel

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

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

See Also:
AnnouncementsEntryImpl, AnnouncementsEntry, AnnouncementsEntryModel, Serialized Form
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

Field Summary
static long ALERT_COLUMN_BITMASK
           
static long CLASSNAMEID_COLUMN_BITMASK
           
static long CLASSPK_COLUMN_BITMASK
           
static boolean COLUMN_BITMASK_ENABLED
           
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
           
static long USERID_COLUMN_BITMASK
           
static long UUID_COLUMN_BITMASK
           
 
Constructor Summary
AnnouncementsEntryModelImpl()
           
 
Method Summary
 Object clone()
          Creates a shallow clone of this model instance.
 int compareTo(AnnouncementsEntry announcementsEntry)
           
 boolean equals(Object obj)
           
 boolean getAlert()
          Returns the alert of this announcements entry.
 String getClassName()
          Returns the fully qualified class name of this announcements entry.
 long getClassNameId()
          Returns the class name ID of this announcements entry.
 long getClassPK()
          Returns the class p k of this announcements entry.
 long getColumnBitmask()
           
 long getCompanyId()
          Returns the company ID of this announcements entry.
 String getContent()
          Returns the content of this announcements entry.
 Date getCreateDate()
          Returns the create date of this announcements entry.
 Date getDisplayDate()
          Returns the display date of this announcements entry.
 long getEntryId()
          Returns the entry ID of this announcements entry.
 ExpandoBridge getExpandoBridge()
          Returns the expando bridge for this model instance.
 Date getExpirationDate()
          Returns the expiration date of this announcements entry.
 Map<String,Object> getModelAttributes()
           
 Class<?> getModelClass()
           
 String getModelClassName()
           
 Date getModifiedDate()
          Returns the modified date of this announcements entry.
 boolean getOriginalAlert()
           
 long getOriginalClassNameId()
           
 long getOriginalClassPK()
           
 long getOriginalUserId()
           
 String getOriginalUuid()
           
 long getPrimaryKey()
          Returns the primary key of this announcements entry.
 Serializable getPrimaryKeyObj()
          Returns the primary key of this model instance.
 int getPriority()
          Returns the priority of this announcements entry.
 String getTitle()
          Returns the title of this announcements entry.
 String getType()
          Returns the type of this announcements entry.
 String getUrl()
          Returns the url of this announcements entry.
 long getUserId()
          Returns the user ID of this announcements entry.
 String getUserName()
          Returns the user name of this announcements entry.
 String getUserUuid()
          Returns the user uuid of this announcements entry.
 String getUuid()
          Returns the uuid of this announcements entry.
 int hashCode()
           
 boolean isAlert()
          Returns true if this announcements entry is alert.
 void resetOriginalValues()
          Reset all original fields to current values.
 void setAlert(boolean alert)
          Sets whether this announcements entry is alert.
 void setClassName(String className)
           
 void setClassNameId(long classNameId)
          Sets the class name ID of this announcements entry.
 void setClassPK(long classPK)
          Sets the class p k of this announcements entry.
 void setCompanyId(long companyId)
          Sets the company ID of this announcements entry.
 void setContent(String content)
          Sets the content of this announcements entry.
 void setCreateDate(Date createDate)
          Sets the create date of this announcements entry.
 void setDisplayDate(Date displayDate)
          Sets the display date of this announcements entry.
 void setEntryId(long entryId)
          Sets the entry ID of this announcements entry.
 void setExpandoBridgeAttributes(ServiceContext serviceContext)
          Sets the expando bridge attributes for this model instance to the attributes stored in the service context.
 void setExpirationDate(Date expirationDate)
          Sets the expiration date of this announcements entry.
 void setModelAttributes(Map<String,Object> attributes)
           
 void setModifiedDate(Date modifiedDate)
          Sets the modified date of this announcements entry.
 void setPrimaryKey(long primaryKey)
          Sets the primary key of this announcements entry.
 void setPrimaryKeyObj(Serializable primaryKeyObj)
          Sets the primary key of this model instance.
 void setPriority(int priority)
          Sets the priority of this announcements entry.
 void setTitle(String title)
          Sets the title of this announcements entry.
 void setType(String type)
          Sets the type of this announcements entry.
 void setUrl(String url)
          Sets the url of this announcements entry.
 void setUserId(long userId)
          Sets the user ID of this announcements entry.
 void setUserName(String userName)
          Sets the user name of this announcements entry.
 void setUserUuid(String userUuid)
          Sets the user uuid of this announcements entry.
 void setUuid(String uuid)
          Sets the uuid of this announcements entry.
 CacheModel<AnnouncementsEntry> toCacheModel()
          Returns a cache model object for this entity used by entity cache.
 AnnouncementsEntry toEscapedModel()
          Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler.
static AnnouncementsEntry toModel(AnnouncementsEntrySoap soapModel)
          Converts the soap model instance into a normal model instance.
static List<AnnouncementsEntry> toModels(AnnouncementsEntrySoap[] soapModels)
          Converts the soap model instances into normal model instances.
 String toString()
           
 AnnouncementsEntry toUnescapedModel()
           
 String toXmlString()
          Returns the XML representation of this model instance.
 
Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl
getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, setNew
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.liferay.portlet.announcements.model.AnnouncementsEntryModel
isCachedModel, isEscapedModel, isNew, setCachedModel, 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

COLUMN_BITMASK_ENABLED

public static final boolean COLUMN_BITMASK_ENABLED

ALERT_COLUMN_BITMASK

public static long ALERT_COLUMN_BITMASK

CLASSNAMEID_COLUMN_BITMASK

public static long CLASSNAMEID_COLUMN_BITMASK

CLASSPK_COLUMN_BITMASK

public static long CLASSPK_COLUMN_BITMASK

USERID_COLUMN_BITMASK

public static long USERID_COLUMN_BITMASK

UUID_COLUMN_BITMASK

public static long UUID_COLUMN_BITMASK

LOCK_EXPIRATION_TIME

public static final long LOCK_EXPIRATION_TIME
Constructor Detail

AnnouncementsEntryModelImpl

public AnnouncementsEntryModelImpl()
Method Detail

toModel

public static AnnouncementsEntry toModel(AnnouncementsEntrySoap 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<AnnouncementsEntry> toModels(AnnouncementsEntrySoap[] 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: AnnouncementsEntryModel
Returns the primary key of this announcements entry.

Specified by:
getPrimaryKey in interface AnnouncementsEntryModel
Returns:
the primary key of this announcements entry

setPrimaryKey

public void setPrimaryKey(long primaryKey)
Description copied from interface: AnnouncementsEntryModel
Sets the primary key of this announcements entry.

Specified by:
setPrimaryKey in interface AnnouncementsEntryModel
Parameters:
primaryKey - the primary key of this announcements entry

getPrimaryKeyObj

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

Specified by:
getPrimaryKeyObj in interface BaseModel<AnnouncementsEntry>
Specified by:
getPrimaryKeyObj in interface ClassedModel
Specified by:
getPrimaryKeyObj in interface AnnouncementsEntryModel
Returns:
the primary key of this model instance

setPrimaryKeyObj

public void setPrimaryKeyObj(Serializable primaryKeyObj)
Description copied from interface: BaseModel
Sets the primary key of this model instance.

Specified by:
setPrimaryKeyObj in interface BaseModel<AnnouncementsEntry>
Specified by:
setPrimaryKeyObj in interface ClassedModel
Specified by:
setPrimaryKeyObj in interface AnnouncementsEntryModel
Parameters:
primaryKeyObj - the primary key of this model instance

getModelClass

public Class<?> getModelClass()
Specified by:
getModelClass in interface ClassedModel

getModelClassName

public String getModelClassName()
Specified by:
getModelClassName in interface ClassedModel

getModelAttributes

public Map<String,Object> getModelAttributes()
Specified by:
getModelAttributes in interface BaseModel<AnnouncementsEntry>
Overrides:
getModelAttributes in class BaseModelImpl<AnnouncementsEntry>

setModelAttributes

public void setModelAttributes(Map<String,Object> attributes)
Specified by:
setModelAttributes in interface BaseModel<AnnouncementsEntry>
Overrides:
setModelAttributes in class BaseModelImpl<AnnouncementsEntry>

getUuid

@JSON
public String getUuid()
Description copied from interface: AnnouncementsEntryModel
Returns the uuid of this announcements entry.

Specified by:
getUuid in interface AnnouncementsEntryModel
Returns:
the uuid of this announcements entry

setUuid

public void setUuid(String uuid)
Description copied from interface: AnnouncementsEntryModel
Sets the uuid of this announcements entry.

Specified by:
setUuid in interface AnnouncementsEntryModel
Parameters:
uuid - the uuid of this announcements entry

getOriginalUuid

public String getOriginalUuid()

getEntryId

@JSON
public long getEntryId()
Description copied from interface: AnnouncementsEntryModel
Returns the entry ID of this announcements entry.

Specified by:
getEntryId in interface AnnouncementsEntryModel
Returns:
the entry ID of this announcements entry

setEntryId

public void setEntryId(long entryId)
Description copied from interface: AnnouncementsEntryModel
Sets the entry ID of this announcements entry.

Specified by:
setEntryId in interface AnnouncementsEntryModel
Parameters:
entryId - the entry ID of this announcements entry

getCompanyId

@JSON
public long getCompanyId()
Description copied from interface: AnnouncementsEntryModel
Returns the company ID of this announcements entry.

Specified by:
getCompanyId in interface AuditedModel
Specified by:
getCompanyId in interface AnnouncementsEntryModel
Returns:
the company ID of this announcements entry

setCompanyId

public void setCompanyId(long companyId)
Description copied from interface: AnnouncementsEntryModel
Sets the company ID of this announcements entry.

Specified by:
setCompanyId in interface AuditedModel
Specified by:
setCompanyId in interface AnnouncementsEntryModel
Parameters:
companyId - the company ID of this announcements entry

getUserId

@JSON
public long getUserId()
Description copied from interface: AnnouncementsEntryModel
Returns the user ID of this announcements entry.

Specified by:
getUserId in interface AuditedModel
Specified by:
getUserId in interface AnnouncementsEntryModel
Returns:
the user ID of this announcements entry

setUserId

public void setUserId(long userId)
Description copied from interface: AnnouncementsEntryModel
Sets the user ID of this announcements entry.

Specified by:
setUserId in interface AuditedModel
Specified by:
setUserId in interface AnnouncementsEntryModel
Parameters:
userId - the user ID of this announcements entry

getUserUuid

public String getUserUuid()
                   throws SystemException
Description copied from interface: AnnouncementsEntryModel
Returns the user uuid of this announcements entry.

Specified by:
getUserUuid in interface AuditedModel
Specified by:
getUserUuid in interface AnnouncementsEntryModel
Returns:
the user uuid of this announcements entry
Throws:
SystemException - if a system exception occurred

setUserUuid

public void setUserUuid(String userUuid)
Description copied from interface: AnnouncementsEntryModel
Sets the user uuid of this announcements entry.

Specified by:
setUserUuid in interface AuditedModel
Specified by:
setUserUuid in interface AnnouncementsEntryModel
Parameters:
userUuid - the user uuid of this announcements entry

getOriginalUserId

public long getOriginalUserId()

getUserName

@JSON
public String getUserName()
Description copied from interface: AnnouncementsEntryModel
Returns the user name of this announcements entry.

Specified by:
getUserName in interface AuditedModel
Specified by:
getUserName in interface AnnouncementsEntryModel
Returns:
the user name of this announcements entry

setUserName

public void setUserName(String userName)
Description copied from interface: AnnouncementsEntryModel
Sets the user name of this announcements entry.

Specified by:
setUserName in interface AuditedModel
Specified by:
setUserName in interface AnnouncementsEntryModel
Parameters:
userName - the user name of this announcements entry

getCreateDate

@JSON
public Date getCreateDate()
Description copied from interface: AnnouncementsEntryModel
Returns the create date of this announcements entry.

Specified by:
getCreateDate in interface AuditedModel
Specified by:
getCreateDate in interface AnnouncementsEntryModel
Returns:
the create date of this announcements entry

setCreateDate

public void setCreateDate(Date createDate)
Description copied from interface: AnnouncementsEntryModel
Sets the create date of this announcements entry.

Specified by:
setCreateDate in interface AuditedModel
Specified by:
setCreateDate in interface AnnouncementsEntryModel
Parameters:
createDate - the create date of this announcements entry

getModifiedDate

@JSON
public Date getModifiedDate()
Description copied from interface: AnnouncementsEntryModel
Returns the modified date of this announcements entry.

Specified by:
getModifiedDate in interface AuditedModel
Specified by:
getModifiedDate in interface AnnouncementsEntryModel
Returns:
the modified date of this announcements entry

setModifiedDate

public void setModifiedDate(Date modifiedDate)
Description copied from interface: AnnouncementsEntryModel
Sets the modified date of this announcements entry.

Specified by:
setModifiedDate in interface AuditedModel
Specified by:
setModifiedDate in interface AnnouncementsEntryModel
Parameters:
modifiedDate - the modified date of this announcements entry

getClassName

public String getClassName()
Description copied from interface: AnnouncementsEntryModel
Returns the fully qualified class name of this announcements entry.

Specified by:
getClassName in interface AttachedModel
Specified by:
getClassName in interface AnnouncementsEntryModel
Returns:
the fully qualified class name of this announcements entry

setClassName

public void setClassName(String className)
Specified by:
setClassName in interface AnnouncementsEntryModel

getClassNameId

@JSON
public long getClassNameId()
Description copied from interface: AnnouncementsEntryModel
Returns the class name ID of this announcements entry.

Specified by:
getClassNameId in interface AttachedModel
Specified by:
getClassNameId in interface AnnouncementsEntryModel
Returns:
the class name ID of this announcements entry

setClassNameId

public void setClassNameId(long classNameId)
Description copied from interface: AnnouncementsEntryModel
Sets the class name ID of this announcements entry.

Specified by:
setClassNameId in interface AttachedModel
Specified by:
setClassNameId in interface AnnouncementsEntryModel
Parameters:
classNameId - the class name ID of this announcements entry

getOriginalClassNameId

public long getOriginalClassNameId()

getClassPK

@JSON
public long getClassPK()
Description copied from interface: AnnouncementsEntryModel
Returns the class p k of this announcements entry.

Specified by:
getClassPK in interface AttachedModel
Specified by:
getClassPK in interface AnnouncementsEntryModel
Returns:
the class p k of this announcements entry

setClassPK

public void setClassPK(long classPK)
Description copied from interface: AnnouncementsEntryModel
Sets the class p k of this announcements entry.

Specified by:
setClassPK in interface AttachedModel
Specified by:
setClassPK in interface AnnouncementsEntryModel
Parameters:
classPK - the class p k of this announcements entry

getOriginalClassPK

public long getOriginalClassPK()

getTitle

@JSON
public String getTitle()
Description copied from interface: AnnouncementsEntryModel
Returns the title of this announcements entry.

Specified by:
getTitle in interface AnnouncementsEntryModel
Returns:
the title of this announcements entry

setTitle

public void setTitle(String title)
Description copied from interface: AnnouncementsEntryModel
Sets the title of this announcements entry.

Specified by:
setTitle in interface AnnouncementsEntryModel
Parameters:
title - the title of this announcements entry

getContent

@JSON
public String getContent()
Description copied from interface: AnnouncementsEntryModel
Returns the content of this announcements entry.

Specified by:
getContent in interface AnnouncementsEntryModel
Returns:
the content of this announcements entry

setContent

public void setContent(String content)
Description copied from interface: AnnouncementsEntryModel
Sets the content of this announcements entry.

Specified by:
setContent in interface AnnouncementsEntryModel
Parameters:
content - the content of this announcements entry

getUrl

@JSON
public String getUrl()
Description copied from interface: AnnouncementsEntryModel
Returns the url of this announcements entry.

Specified by:
getUrl in interface AnnouncementsEntryModel
Returns:
the url of this announcements entry

setUrl

public void setUrl(String url)
Description copied from interface: AnnouncementsEntryModel
Sets the url of this announcements entry.

Specified by:
setUrl in interface AnnouncementsEntryModel
Parameters:
url - the url of this announcements entry

getType

@JSON
public String getType()
Description copied from interface: AnnouncementsEntryModel
Returns the type of this announcements entry.

Specified by:
getType in interface AnnouncementsEntryModel
Returns:
the type of this announcements entry

setType

public void setType(String type)
Description copied from interface: AnnouncementsEntryModel
Sets the type of this announcements entry.

Specified by:
setType in interface AnnouncementsEntryModel
Parameters:
type - the type of this announcements entry

getDisplayDate

@JSON
public Date getDisplayDate()
Description copied from interface: AnnouncementsEntryModel
Returns the display date of this announcements entry.

Specified by:
getDisplayDate in interface AnnouncementsEntryModel
Returns:
the display date of this announcements entry

setDisplayDate

public void setDisplayDate(Date displayDate)
Description copied from interface: AnnouncementsEntryModel
Sets the display date of this announcements entry.

Specified by:
setDisplayDate in interface AnnouncementsEntryModel
Parameters:
displayDate - the display date of this announcements entry

getExpirationDate

@JSON
public Date getExpirationDate()
Description copied from interface: AnnouncementsEntryModel
Returns the expiration date of this announcements entry.

Specified by:
getExpirationDate in interface AnnouncementsEntryModel
Returns:
the expiration date of this announcements entry

setExpirationDate

public void setExpirationDate(Date expirationDate)
Description copied from interface: AnnouncementsEntryModel
Sets the expiration date of this announcements entry.

Specified by:
setExpirationDate in interface AnnouncementsEntryModel
Parameters:
expirationDate - the expiration date of this announcements entry

getPriority

@JSON
public int getPriority()
Description copied from interface: AnnouncementsEntryModel
Returns the priority of this announcements entry.

Specified by:
getPriority in interface AnnouncementsEntryModel
Returns:
the priority of this announcements entry

setPriority

public void setPriority(int priority)
Description copied from interface: AnnouncementsEntryModel
Sets the priority of this announcements entry.

Specified by:
setPriority in interface AnnouncementsEntryModel
Parameters:
priority - the priority of this announcements entry

getAlert

@JSON
public boolean getAlert()
Description copied from interface: AnnouncementsEntryModel
Returns the alert of this announcements entry.

Specified by:
getAlert in interface AnnouncementsEntryModel
Returns:
the alert of this announcements entry

isAlert

public boolean isAlert()
Description copied from interface: AnnouncementsEntryModel
Returns true if this announcements entry is alert.

Specified by:
isAlert in interface AnnouncementsEntryModel
Returns:
true if this announcements entry is alert; false otherwise

setAlert

public void setAlert(boolean alert)
Description copied from interface: AnnouncementsEntryModel
Sets whether this announcements entry is alert.

Specified by:
setAlert in interface AnnouncementsEntryModel
Parameters:
alert - the alert of this announcements entry

getOriginalAlert

public boolean getOriginalAlert()

getColumnBitmask

public long getColumnBitmask()

getExpandoBridge

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

Specified by:
getExpandoBridge in interface BaseModel<AnnouncementsEntry>
Specified by:
getExpandoBridge in interface ClassedModel
Specified by:
getExpandoBridge in interface AnnouncementsEntryModel
Overrides:
getExpandoBridge in class BaseModelImpl<AnnouncementsEntry>
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<AnnouncementsEntry>
Specified by:
setExpandoBridgeAttributes in interface AnnouncementsEntryModel
Overrides:
setExpandoBridgeAttributes in class BaseModelImpl<AnnouncementsEntry>
Parameters:
serviceContext - the service context
See Also:
ServiceContext.getExpandoBridgeAttributes( )

toEscapedModel

public AnnouncementsEntry toEscapedModel()
Description copied from interface: BaseModel
Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler.

Specified by:
toEscapedModel in interface BaseModel<AnnouncementsEntry>
Specified by:
toEscapedModel in interface AnnouncementsEntryModel
Overrides:
toEscapedModel in class BaseModelImpl<AnnouncementsEntry>
Returns:
the escaped model instance
See Also:
AutoEscapeBeanHandler

toUnescapedModel

public AnnouncementsEntry toUnescapedModel()
Specified by:
toUnescapedModel in interface BaseModel<AnnouncementsEntry>
Specified by:
toUnescapedModel in interface AnnouncementsEntryModel
Overrides:
toUnescapedModel in class BaseModelImpl<AnnouncementsEntry>

clone

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

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

compareTo

public int compareTo(AnnouncementsEntry announcementsEntry)
Specified by:
compareTo in interface AnnouncementsEntryModel
Specified by:
compareTo in interface Comparable<AnnouncementsEntry>

equals

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

hashCode

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

resetOriginalValues

public void resetOriginalValues()
Description copied from interface: BaseModel
Reset all original fields to current values.

Specified by:
resetOriginalValues in interface BaseModel<AnnouncementsEntry>
Overrides:
resetOriginalValues in class BaseModelImpl<AnnouncementsEntry>

toCacheModel

public CacheModel<AnnouncementsEntry> toCacheModel()
Description copied from interface: BaseModel
Returns a cache model object for this entity used by entity cache.

Specified by:
toCacheModel in interface BaseModel<AnnouncementsEntry>
Specified by:
toCacheModel in interface AnnouncementsEntryModel
Overrides:
toCacheModel in class BaseModelImpl<AnnouncementsEntry>
Returns:
the cache model object

toString

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

toXmlString

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

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

Liferay 6.1.2-ce-ga3