@ProviderType public class AssetTagStatsWrapper extends Object implements AssetTagStats, ModelWrapper<AssetTagStats>
This class is a wrapper for AssetTagStats.
AssetTagStats,
Serialized FormTAG_STATS_ID_ACCESSOR| Constructor and Description |
|---|
AssetTagStatsWrapper(AssetTagStats assetTagStats) |
| Modifier and Type | Method and Description |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance.
|
int |
compareTo(AssetTagStats assetTagStats) |
boolean |
equals(Object obj) |
int |
getAssetCount()
Returns the asset count of this asset tag stats.
|
String |
getClassName()
Returns the fully qualified class name of this asset tag stats.
|
long |
getClassNameId()
Returns the class name ID of this asset tag stats.
|
long |
getCompanyId()
Returns the company ID of this asset tag stats.
|
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance.
|
Map<String,Object> |
getModelAttributes() |
Class<?> |
getModelClass() |
String |
getModelClassName() |
long |
getPrimaryKey()
Returns the primary key of this asset tag stats.
|
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance.
|
long |
getTagId()
Returns the tag ID of this asset tag stats.
|
long |
getTagStatsId()
Returns the tag stats ID of this asset tag stats.
|
AssetTagStats |
getWrappedModel() |
int |
hashCode() |
boolean |
isCachedModel()
Returns
true if this model instance was retrieved from the
entity cache. |
boolean |
isEntityCacheEnabled()
Returns
true if this model's entity cache is enabled. |
boolean |
isEscapedModel()
Returns
true if this model instance is escaped. |
boolean |
isFinderCacheEnabled()
Returns
true if this model's finder cache is enabled. |
boolean |
isNew()
Returns
true if this model instance does not yet exist in
the database. |
void |
persist()
Updates this model instance in the database or adds it if it does not yet
exist.
|
void |
resetOriginalValues()
Reset all original fields to current values.
|
void |
setAssetCount(int assetCount)
Sets the asset count of this asset tag stats.
|
void |
setCachedModel(boolean cachedModel)
Sets whether this model instance was retrieved from the entity cache.
|
void |
setClassName(String className) |
void |
setClassNameId(long classNameId)
Sets the class name ID of this asset tag stats.
|
void |
setCompanyId(long companyId)
Sets the company ID of this asset tag stats.
|
void |
setExpandoBridgeAttributes(BaseModel<?> baseModel) |
void |
setExpandoBridgeAttributes(ExpandoBridge expandoBridge) |
void |
setExpandoBridgeAttributes(ServiceContext serviceContext)
Sets the expando bridge attributes for this model instance to the
attributes stored in the service context.
|
void |
setModelAttributes(Map<String,Object> attributes) |
void |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this asset tag stats.
|
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance.
|
void |
setTagId(long tagId)
Sets the tag ID of this asset tag stats.
|
void |
setTagStatsId(long tagStatsId)
Sets the tag stats ID of this asset tag stats.
|
CacheModel<AssetTagStats> |
toCacheModel()
Returns a cache model object for this entity used by entity cache.
|
AssetTagStats |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it
with an
AutoEscapeBeanHandler. |
String |
toString() |
AssetTagStats |
toUnescapedModel() |
String |
toXmlString()
Returns the XML representation of this model instance.
|
public AssetTagStatsWrapper(AssetTagStats assetTagStats)
public Class<?> getModelClass()
getModelClass in interface ClassedModelpublic String getModelClassName()
getModelClassName in interface ClassedModelpublic Map<String,Object> getModelAttributes()
getModelAttributes in interface BaseModel<AssetTagStats>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface BaseModel<AssetTagStats>public AssetTagStats toEscapedModel()
BaseModelAutoEscapeBeanHandler.toEscapedModel in interface AssetTagStatsModeltoEscapedModel in interface BaseModel<AssetTagStats>AutoEscapeBeanHandlerpublic AssetTagStats toUnescapedModel()
toUnescapedModel in interface AssetTagStatsModeltoUnescapedModel in interface BaseModel<AssetTagStats>public boolean isCachedModel()
BaseModeltrue if this model instance was retrieved from the
entity cache.isCachedModel in interface AssetTagStatsModelisCachedModel in interface BaseModel<AssetTagStats>true if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)public boolean isEscapedModel()
BaseModeltrue if this model instance is escaped.isEscapedModel in interface AssetTagStatsModelisEscapedModel in interface BaseModel<AssetTagStats>true if this model instance is escaped;
false otherwisepublic boolean isNew()
BaseModeltrue if this model instance does not yet exist in
the database.isNew in interface AssetTagStatsModelisNew in interface BaseModel<AssetTagStats>true if this model instance does not yet exist in
the database; false otherwisepublic ExpandoBridge getExpandoBridge()
BaseModelgetExpandoBridge in interface AssetTagStatsModelgetExpandoBridge in interface BaseModel<AssetTagStats>getExpandoBridge in interface ClassedModelpublic CacheModel<AssetTagStats> toCacheModel()
BaseModeltoCacheModel in interface AssetTagStatsModeltoCacheModel in interface BaseModel<AssetTagStats>public int compareTo(AssetTagStats assetTagStats)
compareTo in interface AssetTagStatsModelcompareTo in interface Comparable<AssetTagStats>public int getAssetCount()
getAssetCount in interface AssetTagStatsModelpublic int hashCode()
hashCode in interface AssetTagStatsModelhashCode in class Objectpublic Serializable getPrimaryKeyObj()
BaseModelgetPrimaryKeyObj in interface AssetTagStatsModelgetPrimaryKeyObj in interface BaseModel<AssetTagStats>getPrimaryKeyObj in interface ClassedModelpublic Object clone()
BaseModelclone in interface AssetTagStatsModelclone in interface BaseModel<AssetTagStats>clone in class Objectpublic String getClassName()
getClassName in interface AssetTagStatsModelgetClassName in interface TypedModelpublic String toString()
toString in interface AssetTagStatsModeltoString in class Objectpublic String toXmlString()
BaseModeltoXmlString in interface AssetTagStatsModeltoXmlString in interface BaseModel<AssetTagStats>public long getClassNameId()
getClassNameId in interface AssetTagStatsModelgetClassNameId in interface TypedModelpublic long getCompanyId()
getCompanyId in interface AssetTagStatsModelgetCompanyId in interface ShardedModelpublic long getPrimaryKey()
getPrimaryKey in interface AssetTagStatsModelpublic long getTagId()
getTagId in interface AssetTagStatsModelpublic long getTagStatsId()
getTagStatsId in interface AssetTagStatsModelpublic void persist()
PersistedModelpersist in interface PersistedModelpublic void setAssetCount(int assetCount)
setAssetCount in interface AssetTagStatsModelassetCount - the asset count of this asset tag statspublic void setCachedModel(boolean cachedModel)
BaseModelsetCachedModel in interface AssetTagStatsModelsetCachedModel in interface BaseModel<AssetTagStats>cachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic void setClassName(String className)
setClassName in interface AssetTagStatsModelpublic void setClassNameId(long classNameId)
setClassNameId in interface AssetTagStatsModelsetClassNameId in interface TypedModelclassNameId - the class name ID of this asset tag statspublic void setCompanyId(long companyId)
setCompanyId in interface AssetTagStatsModelsetCompanyId in interface ShardedModelcompanyId - the company ID of this asset tag statspublic void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface AssetTagStatsModelsetExpandoBridgeAttributes in interface BaseModel<AssetTagStats>public void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface AssetTagStatsModelsetExpandoBridgeAttributes in interface BaseModel<AssetTagStats>public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModelsetExpandoBridgeAttributes in interface AssetTagStatsModelsetExpandoBridgeAttributes in interface BaseModel<AssetTagStats>serviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes()public void setNew(boolean n)
BaseModelsetNew in interface AssetTagStatsModelsetNew in interface BaseModel<AssetTagStats>n - whether this model instance does not yet exist in the databasepublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface AssetTagStatsModelprimaryKey - the primary key of this asset tag statspublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModelsetPrimaryKeyObj in interface AssetTagStatsModelsetPrimaryKeyObj in interface BaseModel<AssetTagStats>setPrimaryKeyObj in interface ClassedModelprimaryKeyObj - the primary key of this model instancepublic void setTagId(long tagId)
setTagId in interface AssetTagStatsModeltagId - the tag ID of this asset tag statspublic void setTagStatsId(long tagStatsId)
setTagStatsId in interface AssetTagStatsModeltagStatsId - the tag stats ID of this asset tag statspublic AssetTagStats getWrappedModel()
getWrappedModel in interface ModelWrapper<AssetTagStats>public boolean isEntityCacheEnabled()
BaseModeltrue if this model's entity cache is enabled.isEntityCacheEnabled in interface BaseModel<AssetTagStats>true if this model's entity cache is enabled;
false otherwisepublic boolean isFinderCacheEnabled()
BaseModeltrue if this model's finder cache is enabled.isFinderCacheEnabled in interface BaseModel<AssetTagStats>true if this model's finder cache is enabled;
false otherwisepublic void resetOriginalValues()
BaseModelresetOriginalValues in interface BaseModel<AssetTagStats>