Liferay 6.0.5

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

java.lang.Object
  extended by com.liferay.portal.model.impl.BaseModelImpl<ExpandoValue>
      extended by com.liferay.portlet.expando.model.impl.ExpandoValueModelImpl
All Implemented Interfaces:
BaseModel<ExpandoValue>, ExpandoValueModel, Serializable, Cloneable, Comparable<ExpandoValue>
Direct Known Subclasses:
ExpandoValueImpl

public class ExpandoValueModelImpl
extends BaseModelImpl<ExpandoValue>
implements ExpandoValueModel

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

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

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

See Also:
ExpandoValueImpl, ExpandoValue, ExpandoValueModel, 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
ExpandoValueModelImpl()
           
 
Method Summary
 Object clone()
          Creates a shallow clone of this model instance.
 int compareTo(ExpandoValue expandoValue)
           
 boolean equals(Object obj)
           
 String getClassName()
          Gets the class name of the model instance this expando value is polymorphically associated with.
 long getClassNameId()
          Gets the class name id of this expando value.
 long getClassPK()
          Gets the class p k of this expando value.
 long getColumnId()
          Gets the column id of this expando value.
 long getCompanyId()
          Gets the company id of this expando value.
 String getData()
          Gets the data of this expando value.
 long getOriginalClassPK()
           
 long getOriginalColumnId()
           
 long getOriginalRowId()
           
 long getOriginalTableId()
           
 long getPrimaryKey()
          Gets the primary key of this expando value.
 Serializable getPrimaryKeyObj()
          Gets the primary key of this model instance.
 long getRowId()
          Gets the row id of this expando value.
 long getTableId()
          Gets the table id of this expando value.
 long getValueId()
          Gets the value id of this expando value.
 int hashCode()
           
 void setClassNameId(long classNameId)
          Sets the class name id of this expando value.
 void setClassPK(long classPK)
          Sets the class p k of this expando value.
 void setColumnId(long columnId)
          Sets the column id of this expando value.
 void setCompanyId(long companyId)
          Sets the company id of this expando value.
 void setData(String data)
          Sets the data of this expando value.
 void setPrimaryKey(long pk)
          Sets the primary key of this expando value
 void setRowId(long rowId)
          Sets the row id of this expando value.
 void setTableId(long tableId)
          Sets the table id of this expando value.
 void setValueId(long valueId)
          Sets the value id of this expando value.
 ExpandoValue toEscapedModel()
          Gets a copy of this expando value as an escaped model instance by wrapping it with an AutoEscapeBeanHandler.
static ExpandoValue toModel(ExpandoValueSoap soapModel)
          Converts the soap model instance into a normal model instance.
static List<ExpandoValue> toModels(ExpandoValueSoap[] 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.ExpandoValueModel
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

ExpandoValueModelImpl

public ExpandoValueModelImpl()
Method Detail

toModel

public static ExpandoValue toModel(ExpandoValueSoap 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<ExpandoValue> toModels(ExpandoValueSoap[] 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: ExpandoValueModel
Gets the primary key of this expando value.

Specified by:
getPrimaryKey in interface ExpandoValueModel
Returns:
the primary key of this expando value

setPrimaryKey

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

Specified by:
setPrimaryKey in interface ExpandoValueModel
Parameters:
pk - the primary key of this expando value

getPrimaryKeyObj

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

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

getValueId

public long getValueId()
Description copied from interface: ExpandoValueModel
Gets the value id of this expando value.

Specified by:
getValueId in interface ExpandoValueModel
Returns:
the value id of this expando value

setValueId

public void setValueId(long valueId)
Description copied from interface: ExpandoValueModel
Sets the value id of this expando value.

Specified by:
setValueId in interface ExpandoValueModel
Parameters:
valueId - the value id of this expando value

getCompanyId

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

Specified by:
getCompanyId in interface ExpandoValueModel
Returns:
the company id of this expando value

setCompanyId

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

Specified by:
setCompanyId in interface ExpandoValueModel
Parameters:
companyId - the company id of this expando value

getTableId

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

Specified by:
getTableId in interface ExpandoValueModel
Returns:
the table id of this expando value

setTableId

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

Specified by:
setTableId in interface ExpandoValueModel
Parameters:
tableId - the table id of this expando value

getOriginalTableId

public long getOriginalTableId()

getColumnId

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

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

setColumnId

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

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

getOriginalColumnId

public long getOriginalColumnId()

getRowId

public long getRowId()
Description copied from interface: ExpandoValueModel
Gets the row id of this expando value.

Specified by:
getRowId in interface ExpandoValueModel
Returns:
the row id of this expando value

setRowId

public void setRowId(long rowId)
Description copied from interface: ExpandoValueModel
Sets the row id of this expando value.

Specified by:
setRowId in interface ExpandoValueModel
Parameters:
rowId - the row id of this expando value

getOriginalRowId

public long getOriginalRowId()

getClassName

public String getClassName()
Description copied from interface: ExpandoValueModel
Gets the class name of the model instance this expando value is polymorphically associated with.

Specified by:
getClassName in interface ExpandoValueModel
Returns:
the class name of the model instance this expando value is polymorphically associated with

getClassNameId

public long getClassNameId()
Description copied from interface: ExpandoValueModel
Gets the class name id of this expando value.

Specified by:
getClassNameId in interface ExpandoValueModel
Returns:
the class name id of this expando value

setClassNameId

public void setClassNameId(long classNameId)
Description copied from interface: ExpandoValueModel
Sets the class name id of this expando value.

Specified by:
setClassNameId in interface ExpandoValueModel
Parameters:
classNameId - the class name id of this expando value

getClassPK

public long getClassPK()
Description copied from interface: ExpandoValueModel
Gets the class p k of this expando value.

Specified by:
getClassPK in interface ExpandoValueModel
Returns:
the class p k of this expando value

setClassPK

public void setClassPK(long classPK)
Description copied from interface: ExpandoValueModel
Sets the class p k of this expando value.

Specified by:
setClassPK in interface ExpandoValueModel
Parameters:
classPK - the class p k of this expando value

getOriginalClassPK

public long getOriginalClassPK()

getData

public String getData()
Description copied from interface: ExpandoValueModel
Gets the data of this expando value.

Specified by:
getData in interface ExpandoValueModel
Returns:
the data of this expando value

setData

public void setData(String data)
Description copied from interface: ExpandoValueModel
Sets the data of this expando value.

Specified by:
setData in interface ExpandoValueModel
Parameters:
data - the data of this expando value

toEscapedModel

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

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

compareTo

public int compareTo(ExpandoValue expandoValue)
Specified by:
compareTo in interface ExpandoValueModel
Specified by:
compareTo in interface Comparable<ExpandoValue>

equals

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

hashCode

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

toString

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

Liferay 6.0.5