@ProviderType public interface AssetCategoryPropertyModel extends AuditedModel, BaseModel<AssetCategoryProperty>, ShardedModel
This interface and its corresponding implementation AssetCategoryPropertyModelImpl
exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in AssetCategoryPropertyImpl
.
AssetCategoryProperty
,
AssetCategoryPropertyImpl
,
AssetCategoryPropertyModelImpl
Modifier and Type | Method and Description |
---|---|
Object |
clone()
Creates a shallow clone of this model instance.
|
int |
compareTo(AssetCategoryProperty assetCategoryProperty) |
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.
|
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.
|
int |
hashCode() |
boolean |
isCachedModel()
Returns
true if this model instance was retrieved from the
entity cache. |
boolean |
isEscapedModel()
Returns
true if this model instance is escaped. |
boolean |
isNew()
Returns
true if this model instance does not yet exist in
the database. |
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 |
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.
|
getModelAttributes, isEntityCacheEnabled, isFinderCacheEnabled, resetOriginalValues, setModelAttributes
getModelClass, getModelClassName
long getPrimaryKey()
void setPrimaryKey(long primaryKey)
primaryKey
- the primary key of this asset category propertylong getCategoryPropertyId()
void setCategoryPropertyId(long categoryPropertyId)
categoryPropertyId
- the category property ID of this asset category propertylong getCompanyId()
getCompanyId
in interface AuditedModel
getCompanyId
in interface ShardedModel
void setCompanyId(long companyId)
setCompanyId
in interface AuditedModel
setCompanyId
in interface ShardedModel
companyId
- the company ID of this asset category propertylong getUserId()
getUserId
in interface AuditedModel
void setUserId(long userId)
setUserId
in interface AuditedModel
userId
- the user ID of this asset category propertyString getUserUuid()
getUserUuid
in interface AuditedModel
void setUserUuid(String userUuid)
setUserUuid
in interface AuditedModel
userUuid
- the user uuid of this asset category property@AutoEscape String getUserName()
getUserName
in interface AuditedModel
void setUserName(String userName)
setUserName
in interface AuditedModel
userName
- the user name of this asset category propertyDate getCreateDate()
getCreateDate
in interface AuditedModel
void setCreateDate(Date createDate)
setCreateDate
in interface AuditedModel
createDate
- the create date of this asset category propertyDate getModifiedDate()
getModifiedDate
in interface AuditedModel
void setModifiedDate(Date modifiedDate)
setModifiedDate
in interface AuditedModel
modifiedDate
- the modified date of this asset category propertylong getCategoryId()
void setCategoryId(long categoryId)
categoryId
- the category ID of this asset category property@AutoEscape String getKey()
void setKey(String key)
key
- the key of this asset category property@AutoEscape String getValue()
void setValue(String value)
value
- the value of this asset category propertyboolean isNew()
BaseModel
true
if this model instance does not yet exist in
the database.isNew
in interface BaseModel<AssetCategoryProperty>
true
if this model instance does not yet exist in
the database; false
otherwisevoid setNew(boolean n)
BaseModel
setNew
in interface BaseModel<AssetCategoryProperty>
n
- whether this model instance does not yet exist in the databaseboolean isCachedModel()
BaseModel
true
if this model instance was retrieved from the
entity cache.isCachedModel
in interface BaseModel<AssetCategoryProperty>
true
if this model instance was retrieved from the
entity cache; false
otherwiseBaseModel.setCachedModel(boolean)
void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel
in interface BaseModel<AssetCategoryProperty>
cachedModel
- whether this model instance was retrieved from the
entity cacheEntityCache
boolean isEscapedModel()
BaseModel
true
if this model instance is escaped.isEscapedModel
in interface BaseModel<AssetCategoryProperty>
true
if this model instance is escaped;
false
otherwiseSerializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<AssetCategoryProperty>
getPrimaryKeyObj
in interface ClassedModel
void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<AssetCategoryProperty>
setPrimaryKeyObj
in interface ClassedModel
primaryKeyObj
- the primary key of this model instanceExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<AssetCategoryProperty>
getExpandoBridge
in interface ClassedModel
void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes
in interface BaseModel<AssetCategoryProperty>
void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes
in interface BaseModel<AssetCategoryProperty>
void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<AssetCategoryProperty>
serviceContext
- the service context to be appliedServiceContext.getExpandoBridgeAttributes()
Object clone()
BaseModel
clone
in interface BaseModel<AssetCategoryProperty>
int compareTo(AssetCategoryProperty assetCategoryProperty)
compareTo
in interface Comparable<AssetCategoryProperty>
int hashCode()
hashCode
in class Object
CacheModel<AssetCategoryProperty> toCacheModel()
BaseModel
toCacheModel
in interface BaseModel<AssetCategoryProperty>
AssetCategoryProperty toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.toEscapedModel
in interface BaseModel<AssetCategoryProperty>
AutoEscapeBeanHandler
AssetCategoryProperty toUnescapedModel()
toUnescapedModel
in interface BaseModel<AssetCategoryProperty>
String toString()
toString
in class Object
String toXmlString()
BaseModel
toXmlString
in interface BaseModel<AssetCategoryProperty>