Liferay 6.0.3

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

java.lang.Object
  extended by com.liferay.portal.model.impl.BaseModelImpl<ExpandoColumn>
      extended by com.liferay.portlet.expando.model.impl.ExpandoColumnModelImpl
All Implemented Interfaces:
BaseModel<ExpandoColumn>, ExpandoColumnModel, Serializable, Cloneable, Comparable<ExpandoColumn>
Direct Known Subclasses:
ExpandoColumnImpl

public class ExpandoColumnModelImpl
extends BaseModelImpl<ExpandoColumn>
implements ExpandoColumnModel

This interface is a model that represents the ExpandoColumn table in the database.

See Also:
ExpandoColumnImpl, ExpandoColumn, ExpandoColumnModel, 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 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
           
 
Constructor Summary
ExpandoColumnModelImpl()
           
 
Method Summary
 Object clone()
          Creates a shallow clone of this model instance.
 int compareTo(ExpandoColumn expandoColumn)
           
 boolean equals(Object obj)
           
 long getColumnId()
           
 long getCompanyId()
           
 String getDefaultData()
           
 String getName()
           
 String getOriginalName()
           
 long getOriginalTableId()
           
 long getPrimaryKey()
           
 Serializable getPrimaryKeyObj()
          Gets the primary key for this model instance.
 long getTableId()
           
 int getType()
           
 String getTypeSettings()
           
 int hashCode()
           
 void setColumnId(long columnId)
           
 void setCompanyId(long companyId)
           
 void setDefaultData(String defaultData)
           
 void setName(String name)
           
 void setPrimaryKey(long pk)
           
 void setTableId(long tableId)
           
 void setType(int type)
           
 void setTypeSettings(String typeSettings)
           
 ExpandoColumn toEscapedModel()
           
static ExpandoColumn toModel(ExpandoColumnSoap soapModel)
           
static List<ExpandoColumn> toModels(ExpandoColumnSoap[] soapModels)
           
 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.ExpandoColumnModel
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

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

LOCK_EXPIRATION_TIME

public static final long LOCK_EXPIRATION_TIME
Constructor Detail

ExpandoColumnModelImpl

public ExpandoColumnModelImpl()
Method Detail

toModel

public static ExpandoColumn toModel(ExpandoColumnSoap soapModel)

toModels

public static List<ExpandoColumn> toModels(ExpandoColumnSoap[] soapModels)

getPrimaryKey

public long getPrimaryKey()
Specified by:
getPrimaryKey in interface ExpandoColumnModel

setPrimaryKey

public void setPrimaryKey(long pk)
Specified by:
setPrimaryKey in interface ExpandoColumnModel

getPrimaryKeyObj

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

Specified by:
getPrimaryKeyObj in interface BaseModel<ExpandoColumn>
Specified by:
getPrimaryKeyObj in interface ExpandoColumnModel
Returns:
the primary key

getColumnId

public long getColumnId()
Specified by:
getColumnId in interface ExpandoColumnModel

setColumnId

public void setColumnId(long columnId)
Specified by:
setColumnId in interface ExpandoColumnModel

getCompanyId

public long getCompanyId()
Specified by:
getCompanyId in interface ExpandoColumnModel

setCompanyId

public void setCompanyId(long companyId)
Specified by:
setCompanyId in interface ExpandoColumnModel

getTableId

public long getTableId()
Specified by:
getTableId in interface ExpandoColumnModel

setTableId

public void setTableId(long tableId)
Specified by:
setTableId in interface ExpandoColumnModel

getOriginalTableId

public long getOriginalTableId()

getName

public String getName()
Specified by:
getName in interface ExpandoColumnModel

setName

public void setName(String name)
Specified by:
setName in interface ExpandoColumnModel

getOriginalName

public String getOriginalName()

getType

public int getType()
Specified by:
getType in interface ExpandoColumnModel

setType

public void setType(int type)
Specified by:
setType in interface ExpandoColumnModel

getDefaultData

public String getDefaultData()
Specified by:
getDefaultData in interface ExpandoColumnModel

setDefaultData

public void setDefaultData(String defaultData)
Specified by:
setDefaultData in interface ExpandoColumnModel

getTypeSettings

public String getTypeSettings()
Specified by:
getTypeSettings in interface ExpandoColumnModel

setTypeSettings

public void setTypeSettings(String typeSettings)
Specified by:
setTypeSettings in interface ExpandoColumnModel

toEscapedModel

public ExpandoColumn toEscapedModel()
Specified by:
toEscapedModel in interface ExpandoColumnModel

clone

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

Specified by:
clone in interface BaseModel<ExpandoColumn>
Specified by:
clone in interface ExpandoColumnModel
Specified by:
clone in class BaseModelImpl<ExpandoColumn>
Returns:
the clone

compareTo

public int compareTo(ExpandoColumn expandoColumn)
Specified by:
compareTo in interface ExpandoColumnModel
Specified by:
compareTo in interface Comparable<ExpandoColumn>

equals

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

hashCode

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

toString

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

Liferay 6.0.3