|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.liferay.portal.model.impl.BaseModelImpl<ExpandoTable> com.liferay.portlet.expando.model.impl.ExpandoTableModelImpl
public class ExpandoTableModelImpl
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
.
Never modify or reference this class directly. All methods that expect a expando table model instance should use the ExpandoTable
interface instead.
ExpandoTableImpl
,
ExpandoTable
,
ExpandoTableModel
,
Serialized FormField 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 | |
---|---|
ExpandoTableModelImpl()
|
Method Summary | |
---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(ExpandoTable expandoTable)
|
boolean |
equals(Object obj)
|
String |
getClassName()
Gets the class name of the model instance this expando table is polymorphically associated with. |
long |
getClassNameId()
Gets the class name id of this expando table. |
long |
getCompanyId()
Gets the company id of this expando table. |
String |
getName()
Gets the name of this expando table. |
long |
getOriginalClassNameId()
|
long |
getOriginalCompanyId()
|
String |
getOriginalName()
|
long |
getPrimaryKey()
Gets the primary key of this expando table. |
Serializable |
getPrimaryKeyObj()
Gets the primary key of this model instance. |
long |
getTableId()
Gets the table id of this expando table. |
int |
hashCode()
|
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 |
setName(String name)
Sets the name of this expando table. |
void |
setPrimaryKey(long pk)
Sets the primary key of this expando table |
void |
setTableId(long tableId)
Sets the table id of this expando table. |
ExpandoTable |
toEscapedModel()
Gets a copy of this expando table 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.ExpandoTableModel |
---|
getExpandoBridge, isCachedModel, isEscapedModel, isNew, setCachedModel, setEscapedModel, setExpandoBridgeAttributes, setNew |
Field Detail |
---|
public static final String TABLE_NAME
public static final Object[][] TABLE_COLUMNS
public static final String TABLE_SQL_CREATE
public static final String TABLE_SQL_DROP
public static final String DATA_SOURCE
public static final String SESSION_FACTORY
public static final String TX_MANAGER
public static final boolean ENTITY_CACHE_ENABLED
public static final boolean FINDER_CACHE_ENABLED
public static final long LOCK_EXPIRATION_TIME
Constructor Detail |
---|
public ExpandoTableModelImpl()
Method Detail |
---|
public long getPrimaryKey()
ExpandoTableModel
getPrimaryKey
in interface ExpandoTableModel
public void setPrimaryKey(long pk)
ExpandoTableModel
setPrimaryKey
in interface ExpandoTableModel
pk
- the primary key of this expando tablepublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<ExpandoTable>
getPrimaryKeyObj
in interface ExpandoTableModel
public long getTableId()
ExpandoTableModel
getTableId
in interface ExpandoTableModel
public void setTableId(long tableId)
ExpandoTableModel
setTableId
in interface ExpandoTableModel
tableId
- the table id of this expando tablepublic long getCompanyId()
ExpandoTableModel
getCompanyId
in interface ExpandoTableModel
public void setCompanyId(long companyId)
ExpandoTableModel
setCompanyId
in interface ExpandoTableModel
companyId
- the company id of this expando tablepublic long getOriginalCompanyId()
public String getClassName()
ExpandoTableModel
getClassName
in interface ExpandoTableModel
public long getClassNameId()
ExpandoTableModel
getClassNameId
in interface ExpandoTableModel
public void setClassNameId(long classNameId)
ExpandoTableModel
setClassNameId
in interface ExpandoTableModel
classNameId
- the class name id of this expando tablepublic long getOriginalClassNameId()
public String getName()
ExpandoTableModel
getName
in interface ExpandoTableModel
public void setName(String name)
ExpandoTableModel
setName
in interface ExpandoTableModel
name
- the name of this expando tablepublic String getOriginalName()
public ExpandoTable toEscapedModel()
ExpandoTableModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface ExpandoTableModel
AutoEscapeBeanHandler
public Object clone()
BaseModel
clone
in interface BaseModel<ExpandoTable>
clone
in interface ExpandoTableModel
clone
in class BaseModelImpl<ExpandoTable>
public int compareTo(ExpandoTable expandoTable)
compareTo
in interface ExpandoTableModel
compareTo
in interface Comparable<ExpandoTable>
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in interface ExpandoTableModel
hashCode
in class Object
public String toString()
toString
in interface ExpandoTableModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<ExpandoTable>
toXmlString
in interface ExpandoTableModel
|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |