Liferay 6.0.5

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

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

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

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

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()
          Gets the column id of this expando column.
 long getCompanyId()
          Gets the company id of this expando column.
 String getDefaultData()
          Gets the default data of this expando column.
 String getName()
          Gets the name of this expando column.
 String getOriginalName()
           
 long getOriginalTableId()
           
 long getPrimaryKey()
          Gets the primary key of this expando column.
 Serializable getPrimaryKeyObj()
          Gets the primary key of this model instance.
 long getTableId()
          Gets the table id of this expando column.
 int getType()
          Gets the type of this expando column.
 String getTypeSettings()
          Gets the type settings of this expando column.
 int hashCode()
           
 void setColumnId(long columnId)
          Sets the column id of this expando column.
 void setCompanyId(long companyId)
          Sets the company id of this expando column.
 void setDefaultData(String defaultData)
          Sets the default data of this expando column.
 void setName(String name)
          Sets the name of this expando column.
 void setPrimaryKey(long pk)
          Sets the primary key of this expando column
 void setTableId(long tableId)
          Sets the table id of this expando column.
 void setType(int type)
          Sets the type of this expando column.
 void setTypeSettings(String typeSettings)
          Sets the type settings of this expando column.
 ExpandoColumn toEscapedModel()
          Gets a copy of this expando column as an escaped model instance by wrapping it with an AutoEscapeBeanHandler.
static ExpandoColumn toModel(ExpandoColumnSoap soapModel)
          Converts the soap model instance into a normal model instance.
static List<ExpandoColumn> toModels(ExpandoColumnSoap[] soapModels)
          Converts the soap model instances into normal model instances.
 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)
Converts the soap model instance into a normal model instance.

Parameters:
soapModel - the soap model instance to convert
Returns:
the normal model instance

toModels

public static List<ExpandoColumn> toModels(ExpandoColumnSoap[] soapModels)
Converts the soap model instances into normal model instances.

Parameters:
soapModels - the soap model instances to convert
Returns:
the normal model instances

getPrimaryKey

public long getPrimaryKey()
Description copied from interface: ExpandoColumnModel
Gets the primary key of this expando column.

Specified by:
getPrimaryKey in interface ExpandoColumnModel
Returns:
the primary key of this expando column

setPrimaryKey

public void setPrimaryKey(long pk)
Description copied from interface: ExpandoColumnModel
Sets the primary key of this expando column

Specified by:
setPrimaryKey in interface ExpandoColumnModel
Parameters:
pk - the primary key of this expando column

getPrimaryKeyObj

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

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

getColumnId

public long getColumnId()
Description copied from interface: ExpandoColumnModel
Gets the column id of this expando column.

Specified by:
getColumnId in interface ExpandoColumnModel
Returns:
the column id of this expando column

setColumnId

public void setColumnId(long columnId)
Description copied from interface: ExpandoColumnModel
Sets the column id of this expando column.

Specified by:
setColumnId in interface ExpandoColumnModel
Parameters:
columnId - the column id of this expando column

getCompanyId

public long getCompanyId()
Description copied from interface: ExpandoColumnModel
Gets the company id of this expando column.

Specified by:
getCompanyId in interface ExpandoColumnModel
Returns:
the company id of this expando column

setCompanyId

public void setCompanyId(long companyId)
Description copied from interface: ExpandoColumnModel
Sets the company id of this expando column.

Specified by:
setCompanyId in interface ExpandoColumnModel
Parameters:
companyId - the company id of this expando column

getTableId

public long getTableId()
Description copied from interface: ExpandoColumnModel
Gets the table id of this expando column.

Specified by:
getTableId in interface ExpandoColumnModel
Returns:
the table id of this expando column

setTableId

public void setTableId(long tableId)
Description copied from interface: ExpandoColumnModel
Sets the table id of this expando column.

Specified by:
setTableId in interface ExpandoColumnModel
Parameters:
tableId - the table id of this expando column

getOriginalTableId

public long getOriginalTableId()

getName

public String getName()
Description copied from interface: ExpandoColumnModel
Gets the name of this expando column.

Specified by:
getName in interface ExpandoColumnModel
Returns:
the name of this expando column

setName

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

Specified by:
setName in interface ExpandoColumnModel
Parameters:
name - the name of this expando column

getOriginalName

public String getOriginalName()

getType

public int getType()
Description copied from interface: ExpandoColumnModel
Gets the type of this expando column.

Specified by:
getType in interface ExpandoColumnModel
Returns:
the type of this expando column

setType

public void setType(int type)
Description copied from interface: ExpandoColumnModel
Sets the type of this expando column.

Specified by:
setType in interface ExpandoColumnModel
Parameters:
type - the type of this expando column

getDefaultData

public String getDefaultData()
Description copied from interface: ExpandoColumnModel
Gets the default data of this expando column.

Specified by:
getDefaultData in interface ExpandoColumnModel
Returns:
the default data of this expando column

setDefaultData

public void setDefaultData(String defaultData)
Description copied from interface: ExpandoColumnModel
Sets the default data of this expando column.

Specified by:
setDefaultData in interface ExpandoColumnModel
Parameters:
defaultData - the default data of this expando column

getTypeSettings

public String getTypeSettings()
Description copied from interface: ExpandoColumnModel
Gets the type settings of this expando column.

Specified by:
getTypeSettings in interface ExpandoColumnModel
Returns:
the type settings of this expando column

setTypeSettings

public void setTypeSettings(String typeSettings)
Description copied from interface: ExpandoColumnModel
Sets the type settings of this expando column.

Specified by:
setTypeSettings in interface ExpandoColumnModel
Parameters:
typeSettings - the type settings of this expando column

toEscapedModel

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

Specified by:
toEscapedModel in interface ExpandoColumnModel
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<ExpandoColumn>
Specified by:
clone in interface ExpandoColumnModel
Specified by:
clone in class BaseModelImpl<ExpandoColumn>
Returns:
the shallow clone of this model instance

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.5