Liferay 6.0.5

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>, ExpandoRowModel, Serializable, Cloneable, Comparable<ExpandoRow>
Direct Known Subclasses:
ExpandoRowImpl

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.

Never modify or reference this class directly. All methods that expect a expando row model instance should use the ExpandoRow interface instead.

See Also:
ExpandoRowImpl, ExpandoRow, ExpandoRowModel, 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
ExpandoRowModelImpl()
           
 
Method Summary
 Object clone()
          Creates a shallow clone of this model instance.
 int compareTo(ExpandoRow expandoRow)
           
 boolean equals(Object obj)
           
 long getClassPK()
          Gets the class p k of this expando row.
 long getCompanyId()
          Gets the company id of this expando row.
 long getOriginalClassPK()
           
 long getOriginalTableId()
           
 long getPrimaryKey()
          Gets the primary key of this expando row.
 Serializable getPrimaryKeyObj()
          Gets the primary key of this model instance.
 long getRowId()
          Gets the row id of this expando row.
 long getTableId()
          Gets the table id of this expando row.
 int hashCode()
           
 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 setPrimaryKey(long pk)
          Sets the primary key of this expando row
 void setRowId(long rowId)
          Sets the row id of this expando row.
 void setTableId(long tableId)
          Sets the table id of this expando row.
 ExpandoRow toEscapedModel()
          Gets a copy of this expando row 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
getExpandoBridge, isCachedModel, isEscapedModel, isNew, setCachedModel, setEscapedModel, 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, setEscapedModel, 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

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
Gets 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 pk)
Description copied from interface: ExpandoRowModel
Sets the primary key of this expando row

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

getPrimaryKeyObj

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

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

getRowId

public long getRowId()
Description copied from interface: ExpandoRowModel
Gets 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
Gets 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
Gets 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
Gets 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()

toEscapedModel

public ExpandoRow toEscapedModel()
Description copied from interface: ExpandoRowModel
Gets a copy of this expando row as an escaped model instance by wrapping it with an AutoEscapeBeanHandler.

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

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

toString

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

Liferay 6.0.5