@ProviderType public class AssetCategoryPropertyWrapper extends Object implements AssetCategoryProperty, ModelWrapper<AssetCategoryProperty>
This class is a wrapper for AssetCategoryProperty.
AssetCategoryProperty,
Serialized FormCATEGORY_PROPERTY_ID_ACCESSOR| Constructor and Description |
|---|
AssetCategoryPropertyWrapper(AssetCategoryProperty assetCategoryProperty) |
| Modifier and Type | Method and Description |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance.
|
int |
compareTo(AssetCategoryProperty assetCategoryProperty) |
boolean |
equals(Object obj) |
long |
getCategoryId()
Returns the category ID of this asset category property.
|
long |
getCategoryPropertyId()
Returns the category property ID of this asset category property.
|
long |
getCompanyId()
Returns the company ID of this asset category property.
|
Date |
getCreateDate()
Returns the create date of this asset category property.
|
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance.
|
String |
getKey()
Returns the key of this asset category property.
|
Map<String,Object> |
getModelAttributes() |
Class<?> |
getModelClass() |
String |
getModelClassName() |
Date |
getModifiedDate()
Returns the modified date of this asset category property.
|
long |
getPrimaryKey()
Returns the primary key of this asset category property.
|
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance.
|
long |
getUserId()
Returns the user ID of this asset category property.
|
String |
getUserName()
Returns the user name of this asset category property.
|
String |
getUserUuid()
Returns the user uuid of this asset category property.
|
String |
getValue()
Returns the value of this asset category property.
|
AssetCategoryProperty |
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 |
setCachedModel(boolean cachedModel)
Sets whether this model instance was retrieved from the entity cache.
|
void |
setCategoryId(long categoryId)
Sets the category ID of this asset category property.
|
void |
setCategoryPropertyId(long categoryPropertyId)
Sets the category property ID of this asset category property.
|
void |
setCompanyId(long companyId)
Sets the company ID of this asset category property.
|
void |
setCreateDate(Date createDate)
Sets the create date of this asset category property.
|
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 |
setKey(String key)
Sets the key of this asset category property.
|
void |
setModelAttributes(Map<String,Object> attributes) |
void |
setModifiedDate(Date modifiedDate)
Sets the modified date of this asset category property.
|
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 category property.
|
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance.
|
void |
setUserId(long userId)
Sets the user ID of this asset category property.
|
void |
setUserName(String userName)
Sets the user name of this asset category property.
|
void |
setUserUuid(String userUuid)
Sets the user uuid of this asset category property.
|
void |
setValue(String value)
Sets the value of this asset category property.
|
CacheModel<AssetCategoryProperty> |
toCacheModel()
Returns a cache model object for this entity used by entity cache.
|
AssetCategoryProperty |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it
with an
AutoEscapeBeanHandler. |
String |
toString() |
AssetCategoryProperty |
toUnescapedModel() |
String |
toXmlString()
Returns the XML representation of this model instance.
|
public AssetCategoryPropertyWrapper(AssetCategoryProperty assetCategoryProperty)
public Class<?> getModelClass()
getModelClass in interface ClassedModelpublic String getModelClassName()
getModelClassName in interface ClassedModelpublic Map<String,Object> getModelAttributes()
getModelAttributes in interface BaseModel<AssetCategoryProperty>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface BaseModel<AssetCategoryProperty>public AssetCategoryProperty toEscapedModel()
BaseModelAutoEscapeBeanHandler.toEscapedModel in interface AssetCategoryPropertyModeltoEscapedModel in interface BaseModel<AssetCategoryProperty>AutoEscapeBeanHandlerpublic AssetCategoryProperty toUnescapedModel()
toUnescapedModel in interface AssetCategoryPropertyModeltoUnescapedModel in interface BaseModel<AssetCategoryProperty>public boolean isCachedModel()
BaseModeltrue if this model instance was retrieved from the
entity cache.isCachedModel in interface AssetCategoryPropertyModelisCachedModel in interface BaseModel<AssetCategoryProperty>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 AssetCategoryPropertyModelisEscapedModel in interface BaseModel<AssetCategoryProperty>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 AssetCategoryPropertyModelisNew in interface BaseModel<AssetCategoryProperty>true if this model instance does not yet exist in
the database; false otherwisepublic ExpandoBridge getExpandoBridge()
BaseModelgetExpandoBridge in interface AssetCategoryPropertyModelgetExpandoBridge in interface BaseModel<AssetCategoryProperty>getExpandoBridge in interface ClassedModelpublic CacheModel<AssetCategoryProperty> toCacheModel()
BaseModeltoCacheModel in interface AssetCategoryPropertyModeltoCacheModel in interface BaseModel<AssetCategoryProperty>public int compareTo(AssetCategoryProperty assetCategoryProperty)
compareTo in interface AssetCategoryPropertyModelcompareTo in interface Comparable<AssetCategoryProperty>public int hashCode()
hashCode in interface AssetCategoryPropertyModelhashCode in class Objectpublic Serializable getPrimaryKeyObj()
BaseModelgetPrimaryKeyObj in interface AssetCategoryPropertyModelgetPrimaryKeyObj in interface BaseModel<AssetCategoryProperty>getPrimaryKeyObj in interface ClassedModelpublic Object clone()
BaseModelclone in interface AssetCategoryPropertyModelclone in interface BaseModel<AssetCategoryProperty>clone in class Objectpublic String getKey()
getKey in interface AssetCategoryPropertyModelpublic String getUserName()
getUserName in interface AssetCategoryPropertyModelgetUserName in interface AuditedModelpublic String getUserUuid()
getUserUuid in interface AssetCategoryPropertyModelgetUserUuid in interface AuditedModelpublic String getValue()
getValue in interface AssetCategoryPropertyModelpublic String toString()
toString in interface AssetCategoryPropertyModeltoString in class Objectpublic String toXmlString()
BaseModeltoXmlString in interface AssetCategoryPropertyModeltoXmlString in interface BaseModel<AssetCategoryProperty>public Date getCreateDate()
getCreateDate in interface AssetCategoryPropertyModelgetCreateDate in interface AuditedModelpublic Date getModifiedDate()
getModifiedDate in interface AssetCategoryPropertyModelgetModifiedDate in interface AuditedModelpublic long getCategoryId()
getCategoryId in interface AssetCategoryPropertyModelpublic long getCategoryPropertyId()
getCategoryPropertyId in interface AssetCategoryPropertyModelpublic long getCompanyId()
getCompanyId in interface AssetCategoryPropertyModelgetCompanyId in interface AuditedModelgetCompanyId in interface ShardedModelpublic long getPrimaryKey()
getPrimaryKey in interface AssetCategoryPropertyModelpublic long getUserId()
getUserId in interface AssetCategoryPropertyModelgetUserId in interface AuditedModelpublic void persist()
PersistedModelpersist in interface PersistedModelpublic void setCachedModel(boolean cachedModel)
BaseModelsetCachedModel in interface AssetCategoryPropertyModelsetCachedModel in interface BaseModel<AssetCategoryProperty>cachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic void setCategoryId(long categoryId)
setCategoryId in interface AssetCategoryPropertyModelcategoryId - the category ID of this asset category propertypublic void setCategoryPropertyId(long categoryPropertyId)
setCategoryPropertyId in interface AssetCategoryPropertyModelcategoryPropertyId - the category property ID of this asset category propertypublic void setCompanyId(long companyId)
setCompanyId in interface AssetCategoryPropertyModelsetCompanyId in interface AuditedModelsetCompanyId in interface ShardedModelcompanyId - the company ID of this asset category propertypublic void setCreateDate(Date createDate)
setCreateDate in interface AssetCategoryPropertyModelsetCreateDate in interface AuditedModelcreateDate - the create date of this asset category propertypublic void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface AssetCategoryPropertyModelsetExpandoBridgeAttributes in interface BaseModel<AssetCategoryProperty>public void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface AssetCategoryPropertyModelsetExpandoBridgeAttributes in interface BaseModel<AssetCategoryProperty>public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModelsetExpandoBridgeAttributes in interface AssetCategoryPropertyModelsetExpandoBridgeAttributes in interface BaseModel<AssetCategoryProperty>serviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes()public void setKey(String key)
setKey in interface AssetCategoryPropertyModelkey - the key of this asset category propertypublic void setModifiedDate(Date modifiedDate)
setModifiedDate in interface AssetCategoryPropertyModelsetModifiedDate in interface AuditedModelmodifiedDate - the modified date of this asset category propertypublic void setNew(boolean n)
BaseModelsetNew in interface AssetCategoryPropertyModelsetNew in interface BaseModel<AssetCategoryProperty>n - whether this model instance does not yet exist in the databasepublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface AssetCategoryPropertyModelprimaryKey - the primary key of this asset category propertypublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModelsetPrimaryKeyObj in interface AssetCategoryPropertyModelsetPrimaryKeyObj in interface BaseModel<AssetCategoryProperty>setPrimaryKeyObj in interface ClassedModelprimaryKeyObj - the primary key of this model instancepublic void setUserId(long userId)
setUserId in interface AssetCategoryPropertyModelsetUserId in interface AuditedModeluserId - the user ID of this asset category propertypublic void setUserName(String userName)
setUserName in interface AssetCategoryPropertyModelsetUserName in interface AuditedModeluserName - the user name of this asset category propertypublic void setUserUuid(String userUuid)
setUserUuid in interface AssetCategoryPropertyModelsetUserUuid in interface AuditedModeluserUuid - the user uuid of this asset category propertypublic void setValue(String value)
setValue in interface AssetCategoryPropertyModelvalue - the value of this asset category propertypublic AssetCategoryProperty getWrappedModel()
getWrappedModel in interface ModelWrapper<AssetCategoryProperty>public boolean isEntityCacheEnabled()
BaseModeltrue if this model's entity cache is enabled.isEntityCacheEnabled in interface BaseModel<AssetCategoryProperty>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<AssetCategoryProperty>true if this model's finder cache is enabled;
false otherwisepublic void resetOriginalValues()
BaseModelresetOriginalValues in interface BaseModel<AssetCategoryProperty>