com.liferay.portal.model.impl
Class ListTypeModelImpl
java.lang.Object
com.liferay.portal.model.impl.BaseModelImpl<ListType>
com.liferay.portal.model.impl.ListTypeModelImpl
- All Implemented Interfaces:
- BaseModel<ListType>, ListTypeModel, Serializable, Cloneable, Comparable<ListType>
- Direct Known Subclasses:
- ListTypeImpl
public class ListTypeModelImpl
- extends BaseModelImpl<ListType>
- implements ListTypeModel
This interface is a model that represents the ListType table in the
database.
- See Also:
ListTypeImpl,
ListType,
ListTypeModel,
Serialized Form- ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.
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
ListTypeModelImpl
public ListTypeModelImpl()
toModel
public static ListType toModel(ListTypeSoap soapModel)
toModels
public static List<ListType> toModels(ListTypeSoap[] soapModels)
getPrimaryKey
public int getPrimaryKey()
- Specified by:
getPrimaryKey in interface ListTypeModel
setPrimaryKey
public void setPrimaryKey(int pk)
- Specified by:
setPrimaryKey in interface ListTypeModel
getPrimaryKeyObj
public Serializable getPrimaryKeyObj()
- Description copied from interface:
BaseModel
- Gets the primary key for this model instance.
- Specified by:
getPrimaryKeyObj in interface BaseModel<ListType>- Specified by:
getPrimaryKeyObj in interface ListTypeModel
- Returns:
- the primary key
getListTypeId
public int getListTypeId()
- Specified by:
getListTypeId in interface ListTypeModel
setListTypeId
public void setListTypeId(int listTypeId)
- Specified by:
setListTypeId in interface ListTypeModel
getName
public String getName()
- Specified by:
getName in interface ListTypeModel
setName
public void setName(String name)
- Specified by:
setName in interface ListTypeModel
getType
public String getType()
- Specified by:
getType in interface ListTypeModel
setType
public void setType(String type)
- Specified by:
setType in interface ListTypeModel
toEscapedModel
public ListType toEscapedModel()
- Specified by:
toEscapedModel in interface ListTypeModel
clone
public Object clone()
- Description copied from interface:
BaseModel
- Creates a shallow clone of this model instance.
- Specified by:
clone in interface BaseModel<ListType>- Specified by:
clone in interface ListTypeModel- Specified by:
clone in class BaseModelImpl<ListType>
- Returns:
- the clone
compareTo
public int compareTo(ListType listType)
- Specified by:
compareTo in interface ListTypeModel- Specified by:
compareTo in interface Comparable<ListType>
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
hashCode
public int hashCode()
- Specified by:
hashCode in interface ListTypeModel- Overrides:
hashCode in class Object
toString
public String toString()
- Specified by:
toString in interface ListTypeModel- 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<ListType>- Specified by:
toXmlString in interface ListTypeModel
- Returns:
- the XML representation of this model instance