Liferay 6.1.2-ce-ga3

com.liferay.portlet.expando.model.impl
Class ExpandoRowModelImpl

java.lang.Object
  extended by com.liferay.portal.model.impl.BaseModelImpl<ExpandoRow>
      extended by com.liferay.portlet.expando.model.impl.ExpandoRowModelImpl
All Implemented Interfaces:
BaseModel<ExpandoRow>, ClassedModel, ExpandoRowModel, Serializable, Cloneable, Comparable<ExpandoRow>
Direct Known Subclasses:
ExpandoRowBaseImpl

public class ExpandoRowModelImpl
extends BaseModelImpl<ExpandoRow>
implements ExpandoRowModel

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

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

See Also:
ExpandoRowImpl, ExpandoRow, ExpandoRowModel, Serialized Form
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

Field Summary
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 SESSION_FACTORY
           
static Object[][] TABLE_COLUMNS
           
static String TABLE_NAME
           
static String TABLE_SQL_CREATE
           
static String TABLE_SQL_DROP
           
static long TABLEID_COLUMN_BITMASK
           
static String TX_MANAGER
           
 
Constructor Summary
ExpandoRowModelImpl()
           
 
Method Summary
 Object clone()
          Creates a shallow clone of this model instance.
 int compareTo(ExpandoRow expandoRow)
           
 boolean equals(Object obj)
           
 long getClassPK()
          Returns the class p k of this expando row.
 long getColumnBitmask()
           
 long getCompanyId()
          Returns the company ID of this expando row.
 Map<String,Object> getModelAttributes()
           
 Class<?> getModelClass()
           
 String getModelClassName()
           
 long getOriginalClassPK()
           
 long getOriginalTableId()
           
 long getPrimaryKey()
          Returns the primary key of this expando row.
 Serializable getPrimaryKeyObj()
          Returns the primary key of this model instance.
 long getRowId()
          Returns the row ID of this expando row.
 long getTableId()
          Returns the table ID of this expando row.
 int hashCode()
           
 void resetOriginalValues()
          Reset all original fields to current values.
 void setClassPK(long classPK)
          Sets the class p k of this expando row.
 void setCompanyId(long companyId)
          Sets the company ID of this expando row.
 void setModelAttributes(Map<String,Object> attributes)
           
 void setPrimaryKey(long primaryKey)
          Sets the primary key of this expando row.
 void setPrimaryKeyObj(Serializable primaryKeyObj)
          Sets the primary key of this model instance.
 void setRowId(long rowId)
          Sets the row ID of this expando row.
 void setTableId(long tableId)
          Sets the table ID of this expando row.
 CacheModel<ExpandoRow> toCacheModel()
          Returns a cache model object for this entity used by entity cache.
 ExpandoRow toEscapedModel()
          Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler.
 String toString()
           
 ExpandoRow toUnescapedModel()
           
 String toXmlString()
          Returns the XML representation of this model instance.
 
Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl
getExpandoBridge, getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setNew
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.liferay.portlet.expando.model.ExpandoRowModel
getExpandoBridge, isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, 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

COLUMN_BITMASK_ENABLED

public static final boolean COLUMN_BITMASK_ENABLED

CLASSPK_COLUMN_BITMASK

public static long CLASSPK_COLUMN_BITMASK

TABLEID_COLUMN_BITMASK

public static long TABLEID_COLUMN_BITMASK

LOCK_EXPIRATION_TIME

public static final long LOCK_EXPIRATION_TIME
Constructor Detail

ExpandoRowModelImpl

public ExpandoRowModelImpl()
Method Detail

getPrimaryKey

public long getPrimaryKey()
Description copied from interface: ExpandoRowModel
Returns the primary key of this expando row.

Specified by:
getPrimaryKey in interface ExpandoRowModel
Returns:
the primary key of this expando row

setPrimaryKey

public void setPrimaryKey(long primaryKey)
Description copied from interface: ExpandoRowModel
Sets the primary key of this expando row.

Specified by:
setPrimaryKey in interface ExpandoRowModel
Parameters:
primaryKey - the primary key of this expando row

getPrimaryKeyObj

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

Specified by:
getPrimaryKeyObj in interface BaseModel<ExpandoRow>
Specified by:
getPrimaryKeyObj in interface ClassedModel
Specified by:
getPrimaryKeyObj in interface ExpandoRowModel
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<ExpandoRow>
Specified by:
setPrimaryKeyObj in interface ClassedModel
Specified by:
setPrimaryKeyObj in interface ExpandoRowModel
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<ExpandoRow>
Overrides:
getModelAttributes in class BaseModelImpl<ExpandoRow>

setModelAttributes

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

getRowId

public long getRowId()
Description copied from interface: ExpandoRowModel
Returns the row ID of this expando row.

Specified by:
getRowId in interface ExpandoRowModel
Returns:
the row ID of this expando row

setRowId

public void setRowId(long rowId)
Description copied from interface: ExpandoRowModel
Sets the row ID of this expando row.

Specified by:
setRowId in interface ExpandoRowModel
Parameters:
rowId - the row ID of this expando row

getCompanyId

public long getCompanyId()
Description copied from interface: ExpandoRowModel
Returns the company ID of this expando row.

Specified by:
getCompanyId in interface ExpandoRowModel
Returns:
the company ID of this expando row

setCompanyId

public void setCompanyId(long companyId)
Description copied from interface: ExpandoRowModel
Sets the company ID of this expando row.

Specified by:
setCompanyId in interface ExpandoRowModel
Parameters:
companyId - the company ID of this expando row

getTableId

public long getTableId()
Description copied from interface: ExpandoRowModel
Returns the table ID of this expando row.

Specified by:
getTableId in interface ExpandoRowModel
Returns:
the table ID of this expando row

setTableId

public void setTableId(long tableId)
Description copied from interface: ExpandoRowModel
Sets the table ID of this expando row.

Specified by:
setTableId in interface ExpandoRowModel
Parameters:
tableId - the table ID of this expando row

getOriginalTableId

public long getOriginalTableId()

getClassPK

public long getClassPK()
Description copied from interface: ExpandoRowModel
Returns the class p k of this expando row.

Specified by:
getClassPK in interface ExpandoRowModel
Returns:
the class p k of this expando row

setClassPK

public void setClassPK(long classPK)
Description copied from interface: ExpandoRowModel
Sets the class p k of this expando row.

Specified by:
setClassPK in interface ExpandoRowModel
Parameters:
classPK - the class p k of this expando row

getOriginalClassPK

public long getOriginalClassPK()

getColumnBitmask

public long getColumnBitmask()

toEscapedModel

public ExpandoRow 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<ExpandoRow>
Specified by:
toEscapedModel in interface ExpandoRowModel
Overrides:
toEscapedModel in class BaseModelImpl<ExpandoRow>
Returns:
the escaped model instance
See Also:
AutoEscapeBeanHandler

toUnescapedModel

public ExpandoRow toUnescapedModel()
Specified by:
toUnescapedModel in interface BaseModel<ExpandoRow>
Specified by:
toUnescapedModel in interface ExpandoRowModel
Overrides:
toUnescapedModel in class BaseModelImpl<ExpandoRow>

clone

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

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

compareTo

public int compareTo(ExpandoRow expandoRow)
Specified by:
compareTo in interface ExpandoRowModel
Specified by:
compareTo in interface Comparable<ExpandoRow>

equals

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

hashCode

public int hashCode()
Specified by:
hashCode in interface ExpandoRowModel
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<ExpandoRow>
Overrides:
resetOriginalValues in class BaseModelImpl<ExpandoRow>

toCacheModel

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

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

toString

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

Liferay 6.1.2-ce-ga3