Liferay 6.1.2-ce-ga3

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

java.lang.Object
  extended by com.liferay.portal.model.impl.BaseModelImpl<ExpandoTable>
      extended by com.liferay.portlet.expando.model.impl.ExpandoTableModelImpl
All Implemented Interfaces:
BaseModel<ExpandoTable>, ClassedModel, ExpandoTableModel, Serializable, Cloneable, Comparable<ExpandoTable>
Direct Known Subclasses:
ExpandoTableBaseImpl

@JSON(strict=true)
public class ExpandoTableModelImpl
extends BaseModelImpl<ExpandoTable>
implements ExpandoTableModel

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

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

See Also:
ExpandoTableImpl, ExpandoTable, ExpandoTableModel, Serialized Form
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

Field Summary
static long CLASSNAMEID_COLUMN_BITMASK
           
static boolean COLUMN_BITMASK_ENABLED
           
static long COMPANYID_COLUMN_BITMASK
           
static String DATA_SOURCE
           
static boolean ENTITY_CACHE_ENABLED
           
static boolean FINDER_CACHE_ENABLED
           
static long LOCK_EXPIRATION_TIME
           
static long NAME_COLUMN_BITMASK
           
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
ExpandoTableModelImpl()
           
 
Method Summary
 Object clone()
          Creates a shallow clone of this model instance.
 int compareTo(ExpandoTable expandoTable)
           
 boolean equals(Object obj)
           
 String getClassName()
          Returns the fully qualified class name of this expando table.
 long getClassNameId()
          Returns the class name ID of this expando table.
 long getColumnBitmask()
           
 long getCompanyId()
          Returns the company ID of this expando table.
 Map<String,Object> getModelAttributes()
           
 Class<?> getModelClass()
           
 String getModelClassName()
           
 String getName()
          Returns the name of this expando table.
 long getOriginalClassNameId()
           
 long getOriginalCompanyId()
           
 String getOriginalName()
           
 long getPrimaryKey()
          Returns the primary key of this expando table.
 Serializable getPrimaryKeyObj()
          Returns the primary key of this model instance.
 long getTableId()
          Returns the table ID of this expando table.
 int hashCode()
           
 void resetOriginalValues()
          Reset all original fields to current values.
 void setClassName(String className)
           
 void setClassNameId(long classNameId)
          Sets the class name ID of this expando table.
 void setCompanyId(long companyId)
          Sets the company ID of this expando table.
 void setModelAttributes(Map<String,Object> attributes)
           
 void setName(String name)
          Sets the name of this expando table.
 void setPrimaryKey(long primaryKey)
          Sets the primary key of this expando table.
 void setPrimaryKeyObj(Serializable primaryKeyObj)
          Sets the primary key of this model instance.
 void setTableId(long tableId)
          Sets the table ID of this expando table.
 CacheModel<ExpandoTable> toCacheModel()
          Returns a cache model object for this entity used by entity cache.
 ExpandoTable toEscapedModel()
          Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler.
 String toString()
           
 ExpandoTable 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.ExpandoTableModel
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

CLASSNAMEID_COLUMN_BITMASK

public static long CLASSNAMEID_COLUMN_BITMASK

COMPANYID_COLUMN_BITMASK

public static long COMPANYID_COLUMN_BITMASK

NAME_COLUMN_BITMASK

public static long NAME_COLUMN_BITMASK

LOCK_EXPIRATION_TIME

public static final long LOCK_EXPIRATION_TIME
Constructor Detail

ExpandoTableModelImpl

public ExpandoTableModelImpl()
Method Detail

getPrimaryKey

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

Specified by:
getPrimaryKey in interface ExpandoTableModel
Returns:
the primary key of this expando table

setPrimaryKey

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

Specified by:
setPrimaryKey in interface ExpandoTableModel
Parameters:
primaryKey - the primary key of this expando table

getPrimaryKeyObj

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

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

setModelAttributes

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

getTableId

@JSON
public long getTableId()
Description copied from interface: ExpandoTableModel
Returns the table ID of this expando table.

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

setTableId

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

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

getCompanyId

@JSON
public long getCompanyId()
Description copied from interface: ExpandoTableModel
Returns the company ID of this expando table.

Specified by:
getCompanyId in interface ExpandoTableModel
Returns:
the company ID of this expando table

setCompanyId

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

Specified by:
setCompanyId in interface ExpandoTableModel
Parameters:
companyId - the company ID of this expando table

getOriginalCompanyId

public long getOriginalCompanyId()

getClassName

public String getClassName()
Description copied from interface: ExpandoTableModel
Returns the fully qualified class name of this expando table.

Specified by:
getClassName in interface ExpandoTableModel
Returns:
the fully qualified class name of this expando table

setClassName

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

getClassNameId

@JSON
public long getClassNameId()
Description copied from interface: ExpandoTableModel
Returns the class name ID of this expando table.

Specified by:
getClassNameId in interface ExpandoTableModel
Returns:
the class name ID of this expando table

setClassNameId

public void setClassNameId(long classNameId)
Description copied from interface: ExpandoTableModel
Sets the class name ID of this expando table.

Specified by:
setClassNameId in interface ExpandoTableModel
Parameters:
classNameId - the class name ID of this expando table

getOriginalClassNameId

public long getOriginalClassNameId()

getName

@JSON
public String getName()
Description copied from interface: ExpandoTableModel
Returns the name of this expando table.

Specified by:
getName in interface ExpandoTableModel
Returns:
the name of this expando table

setName

public void setName(String name)
Description copied from interface: ExpandoTableModel
Sets the name of this expando table.

Specified by:
setName in interface ExpandoTableModel
Parameters:
name - the name of this expando table

getOriginalName

public String getOriginalName()

getColumnBitmask

public long getColumnBitmask()

toEscapedModel

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

toUnescapedModel

public ExpandoTable toUnescapedModel()
Specified by:
toUnescapedModel in interface BaseModel<ExpandoTable>
Specified by:
toUnescapedModel in interface ExpandoTableModel
Overrides:
toUnescapedModel in class BaseModelImpl<ExpandoTable>

clone

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

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

compareTo

public int compareTo(ExpandoTable expandoTable)
Specified by:
compareTo in interface ExpandoTableModel
Specified by:
compareTo in interface Comparable<ExpandoTable>

equals

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

hashCode

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

toCacheModel

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

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

toString

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

Liferay 6.1.2-ce-ga3