public class ExpandoRowModelImpl extends BaseModelImpl<ExpandoRow> implements ExpandoRowModel
This implementation and its corresponding interface ExpandoRowModel exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in ExpandoRowImpl.
ExpandoRowImpl,
Serialized Form| Modifier and Type | Field and Description |
|---|---|
static long |
CLASSPK_COLUMN_BITMASK |
static boolean |
COLUMN_BITMASK_ENABLED
Deprecated.
As of Athanasius (7.3.x), with no direct replacement
|
static java.lang.String |
DATA_SOURCE |
static boolean |
ENTITY_CACHE_ENABLED
Deprecated.
As of Athanasius (7.3.x), with no direct replacement
|
static boolean |
FINDER_CACHE_ENABLED
Deprecated.
As of Athanasius (7.3.x), with no direct replacement
|
static long |
LOCK_EXPIRATION_TIME |
static java.lang.String |
ORDER_BY_JPQL |
static java.lang.String |
ORDER_BY_SQL |
static long |
ROWID_COLUMN_BITMASK |
static java.lang.String |
SESSION_FACTORY |
static java.lang.Object[][] |
TABLE_COLUMNS |
static java.util.Map<java.lang.String,java.lang.Integer> |
TABLE_COLUMNS_MAP |
static java.lang.String |
TABLE_NAME |
static java.lang.String |
TABLE_SQL_CREATE |
static java.lang.String |
TABLE_SQL_DROP |
static long |
TABLEID_COLUMN_BITMASK |
static java.lang.String |
TX_MANAGER |
| Constructor and Description |
|---|
ExpandoRowModelImpl() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone()
Creates a shallow clone of this model instance.
|
int |
compareTo(ExpandoRow expandoRow) |
boolean |
equals(java.lang.Object object) |
java.util.Map<java.lang.String,java.util.function.Function<ExpandoRow,java.lang.Object>> |
getAttributeGetterFunctions() |
java.util.Map<java.lang.String,java.util.function.BiConsumer<ExpandoRow,java.lang.Object>> |
getAttributeSetterBiConsumers() |
long |
getClassPK()
Returns the class pk of this expando row.
|
long |
getColumnBitmask() |
long |
getCompanyId()
Returns the company ID of this expando row.
|
long |
getCtCollectionId()
Returns the ct collection ID of this expando row.
|
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
java.lang.Class<?> |
getModelClass() |
java.lang.String |
getModelClassName() |
java.util.Date |
getModifiedDate()
Returns the modified date of this expando row.
|
long |
getMvccVersion()
Returns the mvcc version of this expando row.
|
long |
getOriginalClassPK() |
long |
getOriginalTableId() |
long |
getPrimaryKey()
Returns the primary key of this expando row.
|
java.io.Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance.
|
long |
getRowId()
Returns the row ID of this expando row.
|
long |
getTableId()
Returns the table ID of this expando row.
|
int |
hashCode() |
boolean |
isEntityCacheEnabled()
Deprecated.
As of Athanasius (7.3.x), with no direct replacement
|
boolean |
isFinderCacheEnabled()
Deprecated.
As of Athanasius (7.3.x), with no direct replacement
|
void |
resetOriginalValues()
Reset all original fields to current values.
|
void |
setClassPK(long classPK)
Sets the class pk of this expando row.
|
void |
setCompanyId(long companyId)
Sets the company ID of this expando row.
|
void |
setCtCollectionId(long ctCollectionId)
Sets the ct collection ID of this expando row.
|
void |
setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes) |
void |
setModifiedDate(java.util.Date modifiedDate)
Sets the modified date of this expando row.
|
void |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this expando row.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this expando row.
|
void |
setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
Sets the primary key of this model instance.
|
void |
setRowId(long rowId)
Sets the row ID of this expando row.
|
void |
setTableId(long tableId)
Sets the table ID of this expando row.
|
CacheModel<ExpandoRow> |
toCacheModel()
Returns a cache model object for this entity used by entity cache.
|
ExpandoRow |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it
with an
AutoEscapeBeanHandler. |
java.lang.String |
toString() |
java.lang.String |
toXmlString()
Returns the XML representation of this model instance.
|
getExpandoBridge, getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModelfinalize, getClass, notify, notifyAll, wait, wait, waitgetExpandoBridge, isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModelpublic static final java.lang.String TABLE_NAME
public static final java.lang.Object[][] TABLE_COLUMNS
public static final java.util.Map<java.lang.String,java.lang.Integer> TABLE_COLUMNS_MAP
public static final java.lang.String TABLE_SQL_CREATE
public static final java.lang.String TABLE_SQL_DROP
public static final java.lang.String ORDER_BY_JPQL
public static final java.lang.String ORDER_BY_SQL
public static final java.lang.String DATA_SOURCE
public static final java.lang.String SESSION_FACTORY
public static final java.lang.String TX_MANAGER
@Deprecated public static final boolean ENTITY_CACHE_ENABLED
@Deprecated public static final boolean FINDER_CACHE_ENABLED
@Deprecated public static final boolean COLUMN_BITMASK_ENABLED
public static final long CLASSPK_COLUMN_BITMASK
public static final long TABLEID_COLUMN_BITMASK
public static final long ROWID_COLUMN_BITMASK
public static final long LOCK_EXPIRATION_TIME
public long getPrimaryKey()
ExpandoRowModelgetPrimaryKey in interface ExpandoRowModelgetPrimaryKey in interface CTModel<ExpandoRow>public void setPrimaryKey(long primaryKey)
ExpandoRowModelsetPrimaryKey in interface ExpandoRowModelsetPrimaryKey in interface CTModel<ExpandoRow>primaryKey - the primary key of this expando rowpublic java.io.Serializable getPrimaryKeyObj()
BaseModelgetPrimaryKeyObj in interface BaseModel<ExpandoRow>getPrimaryKeyObj in interface ClassedModelpublic void setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
BaseModelsetPrimaryKeyObj in interface BaseModel<ExpandoRow>setPrimaryKeyObj in interface ClassedModelprimaryKeyObj - the primary key of this model instancepublic java.lang.Class<?> getModelClass()
getModelClass in interface ClassedModelpublic java.lang.String getModelClassName()
getModelClassName in interface ClassedModelpublic java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes in interface BaseModel<ExpandoRow>getModelAttributes in class BaseModelImpl<ExpandoRow>public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes in interface BaseModel<ExpandoRow>setModelAttributes in class BaseModelImpl<ExpandoRow>public java.util.Map<java.lang.String,java.util.function.Function<ExpandoRow,java.lang.Object>> getAttributeGetterFunctions()
getAttributeGetterFunctions in interface BaseModel<ExpandoRow>public java.util.Map<java.lang.String,java.util.function.BiConsumer<ExpandoRow,java.lang.Object>> getAttributeSetterBiConsumers()
getAttributeSetterBiConsumers in interface BaseModel<ExpandoRow>public long getMvccVersion()
ExpandoRowModelgetMvccVersion in interface ExpandoRowModelgetMvccVersion in interface MVCCModelpublic void setMvccVersion(long mvccVersion)
ExpandoRowModelsetMvccVersion in interface ExpandoRowModelsetMvccVersion in interface MVCCModelmvccVersion - the mvcc version of this expando rowpublic long getCtCollectionId()
ExpandoRowModelgetCtCollectionId in interface ExpandoRowModelgetCtCollectionId in interface CTModel<ExpandoRow>public void setCtCollectionId(long ctCollectionId)
ExpandoRowModelsetCtCollectionId in interface ExpandoRowModelsetCtCollectionId in interface CTModel<ExpandoRow>ctCollectionId - the ct collection ID of this expando rowpublic long getRowId()
ExpandoRowModelgetRowId in interface ExpandoRowModelpublic void setRowId(long rowId)
ExpandoRowModelsetRowId in interface ExpandoRowModelrowId - the row ID of this expando rowpublic long getCompanyId()
ExpandoRowModelgetCompanyId in interface ExpandoRowModelgetCompanyId in interface ShardedModelpublic void setCompanyId(long companyId)
ExpandoRowModelsetCompanyId in interface ExpandoRowModelsetCompanyId in interface ShardedModelcompanyId - the company ID of this expando rowpublic java.util.Date getModifiedDate()
ExpandoRowModelgetModifiedDate in interface ExpandoRowModelpublic void setModifiedDate(java.util.Date modifiedDate)
ExpandoRowModelsetModifiedDate in interface ExpandoRowModelmodifiedDate - the modified date of this expando rowpublic long getTableId()
ExpandoRowModelgetTableId in interface ExpandoRowModelpublic void setTableId(long tableId)
ExpandoRowModelsetTableId in interface ExpandoRowModeltableId - the table ID of this expando rowpublic long getOriginalTableId()
public long getClassPK()
ExpandoRowModelgetClassPK in interface ExpandoRowModelpublic void setClassPK(long classPK)
ExpandoRowModelsetClassPK in interface ExpandoRowModelclassPK - the class pk of this expando rowpublic long getOriginalClassPK()
public long getColumnBitmask()
public ExpandoRow toEscapedModel()
BaseModelAutoEscapeBeanHandler.toEscapedModel in interface BaseModel<ExpandoRow>toEscapedModel in class BaseModelImpl<ExpandoRow>AutoEscapeBeanHandlerpublic java.lang.Object clone()
BaseModelclone in interface BaseModel<ExpandoRow>clone in class BaseModelImpl<ExpandoRow>public int compareTo(ExpandoRow expandoRow)
compareTo in interface java.lang.Comparable<ExpandoRow>public boolean equals(java.lang.Object object)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object@Deprecated public boolean isEntityCacheEnabled()
BaseModeltrue if this model's entity cache is enabled.isEntityCacheEnabled in interface BaseModel<ExpandoRow>true if this model's entity cache is enabled;
false otherwise@Deprecated public boolean isFinderCacheEnabled()
BaseModeltrue if this model's finder cache is enabled.isFinderCacheEnabled in interface BaseModel<ExpandoRow>true if this model's finder cache is enabled;
false otherwisepublic void resetOriginalValues()
BaseModelresetOriginalValues in interface BaseModel<ExpandoRow>resetOriginalValues in class BaseModelImpl<ExpandoRow>public CacheModel<ExpandoRow> toCacheModel()
BaseModeltoCacheModel in interface BaseModel<ExpandoRow>toCacheModel in class BaseModelImpl<ExpandoRow>public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String toXmlString()
BaseModeltoXmlString in interface BaseModel<ExpandoRow>