Liferay 6.1.2-ce-ga3

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:
AttachedModel, BaseModel<ExpandoValue>, ClassedModel, ExpandoValueModel, Serializable, Cloneable, Comparable<ExpandoValue>
Direct Known Subclasses:
ExpandoValueBaseImpl

@JSON(strict=true)
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.

See Also:
ExpandoValueImpl, ExpandoValue, ExpandoValueModel, Serialized Form
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

Field Summary
static long CLASSNAMEID_COLUMN_BITMASK
           
static long CLASSPK_COLUMN_BITMASK
           
static boolean COLUMN_BITMASK_ENABLED
           
static long COLUMNID_COLUMN_BITMASK
           
static long DATA_COLUMN_BITMASK
           
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 long ROWID_COLUMN_BITMASK
           
static String SESSION_FACTORY
           
static Object[][] TABLE_COLUMNS
           
static String TABLE_NAME
           
static String TABLE_SQL_CREATE
           
static String TABLE_SQL_DROP
           
static long TABLEID_COLUMN_BITMASK
           
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()
          Returns the fully qualified class name of this expando value.
 long getClassNameId()
          Returns the class name ID of this expando value.
 long getClassPK()
          Returns the class p k of this expando value.
 long getColumnBitmask()
           
 long getColumnId()
          Returns the column ID of this expando value.
 long getCompanyId()
          Returns the company ID of this expando value.
 String getData()
          Returns the data of this expando value.
 Map<String,Object> getModelAttributes()
           
 Class<?> getModelClass()
           
 String getModelClassName()
           
 long getOriginalClassNameId()
           
 long getOriginalClassPK()
           
 long getOriginalColumnId()
           
 String getOriginalData()
           
 long getOriginalRowId()
           
 long getOriginalTableId()
           
 long getPrimaryKey()
          Returns the primary key of this expando value.
 Serializable getPrimaryKeyObj()
          Returns the primary key of this model instance.
 long getRowId()
          Returns the row ID of this expando value.
 long getTableId()
          Returns the table ID of this expando value.
 long getValueId()
          Returns the value ID of this expando value.
 int hashCode()
           
 void resetOriginalValues()
          Reset all original fields to current values.
 void setClassName(String className)
           
 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 setModelAttributes(Map<String,Object> attributes)
           
 void setPrimaryKey(long primaryKey)
          Sets the primary key of this expando value.
 void setPrimaryKeyObj(Serializable primaryKeyObj)
          Sets the primary key of this model instance.
 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.
 CacheModel<ExpandoValue> toCacheModel()
          Returns a cache model object for this entity used by entity cache.
 ExpandoValue toEscapedModel()
          Returns a copy of this entity 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()
           
 ExpandoValue toUnescapedModel()
           
 String toXmlString()
          Returns the XML representation of this model instance.
 
Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl
getExpandoBridge, getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, 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, 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

COLUMN_BITMASK_ENABLED

public static final boolean COLUMN_BITMASK_ENABLED

CLASSNAMEID_COLUMN_BITMASK

public static long CLASSNAMEID_COLUMN_BITMASK

CLASSPK_COLUMN_BITMASK

public static long CLASSPK_COLUMN_BITMASK

COLUMNID_COLUMN_BITMASK

public static long COLUMNID_COLUMN_BITMASK

DATA_COLUMN_BITMASK

public static long DATA_COLUMN_BITMASK

ROWID_COLUMN_BITMASK

public static long ROWID_COLUMN_BITMASK

TABLEID_COLUMN_BITMASK

public static long TABLEID_COLUMN_BITMASK

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
Returns 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 primaryKey)
Description copied from interface: ExpandoValueModel
Sets the primary key of this expando value.

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

getPrimaryKeyObj

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

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

setPrimaryKeyObj

public void setPrimaryKeyObj(Serializable primaryKeyObj)
Description copied from interface: BaseModel
Sets the primary key of this model instance.

Specified by:
setPrimaryKeyObj in interface BaseModel<ExpandoValue>
Specified by:
setPrimaryKeyObj in interface ClassedModel
Specified by:
setPrimaryKeyObj in interface ExpandoValueModel
Parameters:
primaryKeyObj - the primary key of this model instance

getModelClass

public Class<?> getModelClass()
Specified by:
getModelClass in interface ClassedModel

getModelClassName

public String getModelClassName()
Specified by:
getModelClassName in interface ClassedModel

getModelAttributes

public Map<String,Object> getModelAttributes()
Specified by:
getModelAttributes in interface BaseModel<ExpandoValue>
Overrides:
getModelAttributes in class BaseModelImpl<ExpandoValue>

setModelAttributes

public void setModelAttributes(Map<String,Object> attributes)
Specified by:
setModelAttributes in interface BaseModel<ExpandoValue>
Overrides:
setModelAttributes in class BaseModelImpl<ExpandoValue>

getValueId

@JSON
public long getValueId()
Description copied from interface: ExpandoValueModel
Returns 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

@JSON
public long getCompanyId()
Description copied from interface: ExpandoValueModel
Returns 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

@JSON
public long getTableId()
Description copied from interface: ExpandoValueModel
Returns 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

@JSON
public long getColumnId()
Description copied from interface: ExpandoValueModel
Returns 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

@JSON
public long getRowId()
Description copied from interface: ExpandoValueModel
Returns 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
Returns the fully qualified class name of this expando value.

Specified by:
getClassName in interface AttachedModel
Specified by:
getClassName in interface ExpandoValueModel
Returns:
the fully qualified class name of this expando value

setClassName

public void setClassName(String className)
Specified by:
setClassName in interface ExpandoValueModel

getClassNameId

@JSON
public long getClassNameId()
Description copied from interface: ExpandoValueModel
Returns the class name ID of this expando value.

Specified by:
getClassNameId in interface AttachedModel
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 AttachedModel
Specified by:
setClassNameId in interface ExpandoValueModel
Parameters:
classNameId - the class name ID of this expando value

getOriginalClassNameId

public long getOriginalClassNameId()

getClassPK

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

Specified by:
getClassPK in interface AttachedModel
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 AttachedModel
Specified by:
setClassPK in interface ExpandoValueModel
Parameters:
classPK - the class p k of this expando value

getOriginalClassPK

public long getOriginalClassPK()

getData

@JSON
public String getData()
Description copied from interface: ExpandoValueModel
Returns 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

getOriginalData

public String getOriginalData()

getColumnBitmask

public long getColumnBitmask()

toEscapedModel

public ExpandoValue toEscapedModel()
Description copied from interface: BaseModel
Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler.

Specified by:
toEscapedModel in interface BaseModel<ExpandoValue>
Specified by:
toEscapedModel in interface ExpandoValueModel
Overrides:
toEscapedModel in class BaseModelImpl<ExpandoValue>
Returns:
the escaped model instance
See Also:
AutoEscapeBeanHandler

toUnescapedModel

public ExpandoValue toUnescapedModel()
Specified by:
toUnescapedModel in interface BaseModel<ExpandoValue>
Specified by:
toUnescapedModel in interface ExpandoValueModel
Overrides:
toUnescapedModel in class BaseModelImpl<ExpandoValue>

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

resetOriginalValues

public void resetOriginalValues()
Description copied from interface: BaseModel
Reset all original fields to current values.

Specified by:
resetOriginalValues in interface BaseModel<ExpandoValue>
Overrides:
resetOriginalValues in class BaseModelImpl<ExpandoValue>

toCacheModel

public CacheModel<ExpandoValue> toCacheModel()
Description copied from interface: BaseModel
Returns a cache model object for this entity used by entity cache.

Specified by:
toCacheModel in interface BaseModel<ExpandoValue>
Specified by:
toCacheModel in interface ExpandoValueModel
Overrides:
toCacheModel in class BaseModelImpl<ExpandoValue>
Returns:
the cache model 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
Returns 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.1.2-ce-ga3