@ProviderType public class RecentLayoutSetBranchWrapper extends Object implements RecentLayoutSetBranch, ModelWrapper<RecentLayoutSetBranch>
This class is a wrapper for RecentLayoutSetBranch.
RecentLayoutSetBranch,
Serialized FormRECENT_LAYOUT_SET_BRANCH_ID_ACCESSOR| Constructor and Description |
|---|
RecentLayoutSetBranchWrapper(RecentLayoutSetBranch recentLayoutSetBranch) |
| Modifier and Type | Method and Description |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance.
|
int |
compareTo(RecentLayoutSetBranch recentLayoutSetBranch) |
boolean |
equals(Object obj) |
long |
getCompanyId()
Returns the company ID of this recent layout set branch.
|
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance.
|
long |
getGroupId()
Returns the group ID of this recent layout set branch.
|
long |
getLayoutSetBranchId()
Returns the layout set branch ID of this recent layout set branch.
|
long |
getLayoutSetId()
Returns the layout set ID of this recent layout set branch.
|
Map<String,Object> |
getModelAttributes() |
Class<?> |
getModelClass() |
String |
getModelClassName() |
long |
getMvccVersion()
Returns the mvcc version of this recent layout set branch.
|
long |
getPrimaryKey()
Returns the primary key of this recent layout set branch.
|
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance.
|
long |
getRecentLayoutSetBranchId()
Returns the recent layout set branch ID of this recent layout set branch.
|
long |
getUserId()
Returns the user ID of this recent layout set branch.
|
String |
getUserUuid()
Returns the user uuid of this recent layout set branch.
|
RecentLayoutSetBranch |
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 |
setCompanyId(long companyId)
Sets the company ID of this recent layout set branch.
|
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 |
setGroupId(long groupId)
Sets the group ID of this recent layout set branch.
|
void |
setLayoutSetBranchId(long layoutSetBranchId)
Sets the layout set branch ID of this recent layout set branch.
|
void |
setLayoutSetId(long layoutSetId)
Sets the layout set ID of this recent layout set branch.
|
void |
setModelAttributes(Map<String,Object> attributes) |
void |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this recent layout set branch.
|
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 recent layout set branch.
|
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance.
|
void |
setRecentLayoutSetBranchId(long recentLayoutSetBranchId)
Sets the recent layout set branch ID of this recent layout set branch.
|
void |
setUserId(long userId)
Sets the user ID of this recent layout set branch.
|
void |
setUserUuid(String userUuid)
Sets the user uuid of this recent layout set branch.
|
CacheModel<RecentLayoutSetBranch> |
toCacheModel()
Returns a cache model object for this entity used by entity cache.
|
RecentLayoutSetBranch |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it
with an
AutoEscapeBeanHandler. |
String |
toString() |
RecentLayoutSetBranch |
toUnescapedModel() |
String |
toXmlString()
Returns the XML representation of this model instance.
|
public RecentLayoutSetBranchWrapper(RecentLayoutSetBranch recentLayoutSetBranch)
public Class<?> getModelClass()
getModelClass in interface ClassedModelpublic String getModelClassName()
getModelClassName in interface ClassedModelpublic Map<String,Object> getModelAttributes()
getModelAttributes in interface BaseModel<RecentLayoutSetBranch>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface BaseModel<RecentLayoutSetBranch>public CacheModel<RecentLayoutSetBranch> toCacheModel()
BaseModeltoCacheModel in interface BaseModel<RecentLayoutSetBranch>toCacheModel in interface RecentLayoutSetBranchModelpublic RecentLayoutSetBranch toEscapedModel()
BaseModelAutoEscapeBeanHandler.toEscapedModel in interface BaseModel<RecentLayoutSetBranch>toEscapedModel in interface RecentLayoutSetBranchModelAutoEscapeBeanHandlerpublic RecentLayoutSetBranch toUnescapedModel()
toUnescapedModel in interface BaseModel<RecentLayoutSetBranch>toUnescapedModel in interface RecentLayoutSetBranchModelpublic boolean isCachedModel()
BaseModeltrue if this model instance was retrieved from the
entity cache.isCachedModel in interface BaseModel<RecentLayoutSetBranch>isCachedModel in interface RecentLayoutSetBranchModeltrue 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 BaseModel<RecentLayoutSetBranch>isEscapedModel in interface RecentLayoutSetBranchModeltrue 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 BaseModel<RecentLayoutSetBranch>isNew in interface RecentLayoutSetBranchModeltrue if this model instance does not yet exist in
the database; false otherwisepublic ExpandoBridge getExpandoBridge()
BaseModelgetExpandoBridge in interface BaseModel<RecentLayoutSetBranch>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface RecentLayoutSetBranchModelpublic int compareTo(RecentLayoutSetBranch recentLayoutSetBranch)
compareTo in interface RecentLayoutSetBranchModelcompareTo in interface Comparable<RecentLayoutSetBranch>public int hashCode()
hashCode in interface RecentLayoutSetBranchModelhashCode in class Objectpublic Serializable getPrimaryKeyObj()
BaseModelgetPrimaryKeyObj in interface BaseModel<RecentLayoutSetBranch>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface RecentLayoutSetBranchModelpublic Object clone()
BaseModelclone in interface BaseModel<RecentLayoutSetBranch>clone in interface RecentLayoutSetBranchModelclone in class Objectpublic String getUserUuid()
getUserUuid in interface RecentLayoutSetBranchModelpublic String toString()
toString in interface RecentLayoutSetBranchModeltoString in class Objectpublic String toXmlString()
BaseModeltoXmlString in interface BaseModel<RecentLayoutSetBranch>toXmlString in interface RecentLayoutSetBranchModelpublic long getCompanyId()
getCompanyId in interface RecentLayoutSetBranchModelgetCompanyId in interface ShardedModelpublic long getGroupId()
getGroupId in interface RecentLayoutSetBranchModelpublic long getLayoutSetBranchId()
getLayoutSetBranchId in interface RecentLayoutSetBranchModelpublic long getLayoutSetId()
getLayoutSetId in interface RecentLayoutSetBranchModelpublic long getMvccVersion()
getMvccVersion in interface MVCCModelgetMvccVersion in interface RecentLayoutSetBranchModelpublic long getPrimaryKey()
getPrimaryKey in interface RecentLayoutSetBranchModelpublic long getRecentLayoutSetBranchId()
getRecentLayoutSetBranchId in interface RecentLayoutSetBranchModelpublic long getUserId()
getUserId in interface RecentLayoutSetBranchModelpublic void persist()
PersistedModelpersist in interface PersistedModelpublic void setCachedModel(boolean cachedModel)
BaseModelsetCachedModel in interface BaseModel<RecentLayoutSetBranch>setCachedModel in interface RecentLayoutSetBranchModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic void setCompanyId(long companyId)
setCompanyId in interface RecentLayoutSetBranchModelsetCompanyId in interface ShardedModelcompanyId - the company ID of this recent layout set branchpublic void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface BaseModel<RecentLayoutSetBranch>setExpandoBridgeAttributes in interface RecentLayoutSetBranchModelpublic void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface BaseModel<RecentLayoutSetBranch>setExpandoBridgeAttributes in interface RecentLayoutSetBranchModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModelsetExpandoBridgeAttributes in interface BaseModel<RecentLayoutSetBranch>setExpandoBridgeAttributes in interface RecentLayoutSetBranchModelserviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes()public void setGroupId(long groupId)
setGroupId in interface RecentLayoutSetBranchModelgroupId - the group ID of this recent layout set branchpublic void setLayoutSetBranchId(long layoutSetBranchId)
setLayoutSetBranchId in interface RecentLayoutSetBranchModellayoutSetBranchId - the layout set branch ID of this recent layout set branchpublic void setLayoutSetId(long layoutSetId)
setLayoutSetId in interface RecentLayoutSetBranchModellayoutSetId - the layout set ID of this recent layout set branchpublic void setMvccVersion(long mvccVersion)
setMvccVersion in interface MVCCModelsetMvccVersion in interface RecentLayoutSetBranchModelmvccVersion - the mvcc version of this recent layout set branchpublic void setNew(boolean n)
BaseModelsetNew in interface BaseModel<RecentLayoutSetBranch>setNew in interface RecentLayoutSetBranchModeln - whether this model instance does not yet exist in the databasepublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface RecentLayoutSetBranchModelprimaryKey - the primary key of this recent layout set branchpublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModelsetPrimaryKeyObj in interface BaseModel<RecentLayoutSetBranch>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface RecentLayoutSetBranchModelprimaryKeyObj - the primary key of this model instancepublic void setRecentLayoutSetBranchId(long recentLayoutSetBranchId)
setRecentLayoutSetBranchId in interface RecentLayoutSetBranchModelrecentLayoutSetBranchId - the recent layout set branch ID of this recent layout set branchpublic void setUserId(long userId)
setUserId in interface RecentLayoutSetBranchModeluserId - the user ID of this recent layout set branchpublic void setUserUuid(String userUuid)
setUserUuid in interface RecentLayoutSetBranchModeluserUuid - the user uuid of this recent layout set branchpublic RecentLayoutSetBranch getWrappedModel()
getWrappedModel in interface ModelWrapper<RecentLayoutSetBranch>public boolean isEntityCacheEnabled()
BaseModeltrue if this model's entity cache is enabled.isEntityCacheEnabled in interface BaseModel<RecentLayoutSetBranch>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<RecentLayoutSetBranch>true if this model's finder cache is enabled;
false otherwisepublic void resetOriginalValues()
BaseModelresetOriginalValues in interface BaseModel<RecentLayoutSetBranch>