Liferay 6.0.5

com.liferay.portal.model.impl
Class ListTypeModelImpl

java.lang.Object
  extended by com.liferay.portal.model.impl.BaseModelImpl<ListType>
      extended by 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

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

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

Never modify or reference this class directly. All methods that expect a list type model instance should use the ListType interface instead.

See Also:
ListTypeImpl, ListType, ListTypeModel, 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
ListTypeModelImpl()
           
 
Method Summary
 Object clone()
          Creates a shallow clone of this model instance.
 int compareTo(ListType listType)
           
 boolean equals(Object obj)
           
 int getListTypeId()
          Gets the list type id of this list type.
 String getName()
          Gets the name of this list type.
 int getPrimaryKey()
          Gets the primary key of this list type.
 Serializable getPrimaryKeyObj()
          Gets the primary key of this model instance.
 String getType()
          Gets the type of this list type.
 int hashCode()
           
 void setListTypeId(int listTypeId)
          Sets the list type id of this list type.
 void setName(String name)
          Sets the name of this list type.
 void setPrimaryKey(int pk)
          Sets the primary key of this list type
 void setType(String type)
          Sets the type of this list type.
 ListType toEscapedModel()
          Gets a copy of this list type as an escaped model instance by wrapping it with an AutoEscapeBeanHandler.
static ListType toModel(ListTypeSoap soapModel)
          Converts the soap model instance into a normal model instance.
static List<ListType> toModels(ListTypeSoap[] 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.portal.model.ListTypeModel
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

ListTypeModelImpl

public ListTypeModelImpl()
Method Detail

toModel

public static ListType toModel(ListTypeSoap 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<ListType> toModels(ListTypeSoap[] 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 int getPrimaryKey()
Description copied from interface: ListTypeModel
Gets the primary key of this list type.

Specified by:
getPrimaryKey in interface ListTypeModel
Returns:
the primary key of this list type

setPrimaryKey

public void setPrimaryKey(int pk)
Description copied from interface: ListTypeModel
Sets the primary key of this list type

Specified by:
setPrimaryKey in interface ListTypeModel
Parameters:
pk - the primary key of this list type

getPrimaryKeyObj

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

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

getListTypeId

public int getListTypeId()
Description copied from interface: ListTypeModel
Gets the list type id of this list type.

Specified by:
getListTypeId in interface ListTypeModel
Returns:
the list type id of this list type

setListTypeId

public void setListTypeId(int listTypeId)
Description copied from interface: ListTypeModel
Sets the list type id of this list type.

Specified by:
setListTypeId in interface ListTypeModel
Parameters:
listTypeId - the list type id of this list type

getName

public String getName()
Description copied from interface: ListTypeModel
Gets the name of this list type.

Specified by:
getName in interface ListTypeModel
Returns:
the name of this list type

setName

public void setName(String name)
Description copied from interface: ListTypeModel
Sets the name of this list type.

Specified by:
setName in interface ListTypeModel
Parameters:
name - the name of this list type

getType

public String getType()
Description copied from interface: ListTypeModel
Gets the type of this list type.

Specified by:
getType in interface ListTypeModel
Returns:
the type of this list type

setType

public void setType(String type)
Description copied from interface: ListTypeModel
Sets the type of this list type.

Specified by:
setType in interface ListTypeModel
Parameters:
type - the type of this list type

toEscapedModel

public ListType toEscapedModel()
Description copied from interface: ListTypeModel
Gets a copy of this list type as an escaped model instance by wrapping it with an AutoEscapeBeanHandler.

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

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

Liferay 6.0.5