@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 ClassedModel
public String getModelClassName()
getModelClassName
in interface ClassedModel
public Map<String,Object> getModelAttributes()
getModelAttributes
in interface BaseModel<RecentLayoutSetBranch>
public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes
in interface BaseModel<RecentLayoutSetBranch>
public Object clone()
BaseModel
clone
in interface BaseModel<RecentLayoutSetBranch>
clone
in interface RecentLayoutSetBranchModel
clone
in class Object
public int compareTo(RecentLayoutSetBranch recentLayoutSetBranch)
compareTo
in interface RecentLayoutSetBranchModel
compareTo
in interface Comparable<RecentLayoutSetBranch>
public long getCompanyId()
getCompanyId
in interface RecentLayoutSetBranchModel
getCompanyId
in interface ShardedModel
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<RecentLayoutSetBranch>
getExpandoBridge
in interface ClassedModel
getExpandoBridge
in interface RecentLayoutSetBranchModel
public long getGroupId()
getGroupId
in interface RecentLayoutSetBranchModel
public long getLayoutSetBranchId()
getLayoutSetBranchId
in interface RecentLayoutSetBranchModel
public long getLayoutSetId()
getLayoutSetId
in interface RecentLayoutSetBranchModel
public long getMvccVersion()
getMvccVersion
in interface MVCCModel
getMvccVersion
in interface RecentLayoutSetBranchModel
public long getPrimaryKey()
getPrimaryKey
in interface RecentLayoutSetBranchModel
public Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<RecentLayoutSetBranch>
getPrimaryKeyObj
in interface ClassedModel
getPrimaryKeyObj
in interface RecentLayoutSetBranchModel
public long getRecentLayoutSetBranchId()
getRecentLayoutSetBranchId
in interface RecentLayoutSetBranchModel
public long getUserId()
getUserId
in interface RecentLayoutSetBranchModel
public String getUserUuid()
getUserUuid
in interface RecentLayoutSetBranchModel
public int hashCode()
hashCode
in interface RecentLayoutSetBranchModel
hashCode
in class Object
public boolean isCachedModel()
BaseModel
true
if this model instance was retrieved from the
entity cache.isCachedModel
in interface BaseModel<RecentLayoutSetBranch>
isCachedModel
in interface RecentLayoutSetBranchModel
true
if this model instance was retrieved from the
entity cache; false
otherwiseBaseModel.setCachedModel(boolean)
public boolean isEscapedModel()
BaseModel
true
if this model instance is escaped.isEscapedModel
in interface BaseModel<RecentLayoutSetBranch>
isEscapedModel
in interface RecentLayoutSetBranchModel
true
if this model instance is escaped;
false
otherwisepublic boolean isNew()
BaseModel
true
if this model instance does not yet exist in
the database.isNew
in interface BaseModel<RecentLayoutSetBranch>
isNew
in interface RecentLayoutSetBranchModel
true
if this model instance does not yet exist in
the database; false
otherwisepublic void persist()
PersistedModel
persist
in interface PersistedModel
public void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel
in interface BaseModel<RecentLayoutSetBranch>
setCachedModel
in interface RecentLayoutSetBranchModel
cachedModel
- whether this model instance was retrieved from the
entity cacheEntityCache
public void setCompanyId(long companyId)
setCompanyId
in interface RecentLayoutSetBranchModel
setCompanyId
in interface ShardedModel
companyId
- the company ID of this recent layout set branchpublic void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes
in interface BaseModel<RecentLayoutSetBranch>
setExpandoBridgeAttributes
in interface RecentLayoutSetBranchModel
public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes
in interface BaseModel<RecentLayoutSetBranch>
setExpandoBridgeAttributes
in interface RecentLayoutSetBranchModel
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<RecentLayoutSetBranch>
setExpandoBridgeAttributes
in interface RecentLayoutSetBranchModel
serviceContext
- the service context to be appliedServiceContext.getExpandoBridgeAttributes()
public void setGroupId(long groupId)
setGroupId
in interface RecentLayoutSetBranchModel
groupId
- the group ID of this recent layout set branchpublic void setLayoutSetBranchId(long layoutSetBranchId)
setLayoutSetBranchId
in interface RecentLayoutSetBranchModel
layoutSetBranchId
- the layout set branch ID of this recent layout set branchpublic void setLayoutSetId(long layoutSetId)
setLayoutSetId
in interface RecentLayoutSetBranchModel
layoutSetId
- the layout set ID of this recent layout set branchpublic void setMvccVersion(long mvccVersion)
setMvccVersion
in interface MVCCModel
setMvccVersion
in interface RecentLayoutSetBranchModel
mvccVersion
- the mvcc version of this recent layout set branchpublic void setNew(boolean n)
BaseModel
setNew
in interface BaseModel<RecentLayoutSetBranch>
setNew
in interface RecentLayoutSetBranchModel
n
- whether this model instance does not yet exist in the databasepublic void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface RecentLayoutSetBranchModel
primaryKey
- the primary key of this recent layout set branchpublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<RecentLayoutSetBranch>
setPrimaryKeyObj
in interface ClassedModel
setPrimaryKeyObj
in interface RecentLayoutSetBranchModel
primaryKeyObj
- the primary key of this model instancepublic void setRecentLayoutSetBranchId(long recentLayoutSetBranchId)
setRecentLayoutSetBranchId
in interface RecentLayoutSetBranchModel
recentLayoutSetBranchId
- the recent layout set branch ID of this recent layout set branchpublic void setUserId(long userId)
setUserId
in interface RecentLayoutSetBranchModel
userId
- the user ID of this recent layout set branchpublic void setUserUuid(String userUuid)
setUserUuid
in interface RecentLayoutSetBranchModel
userUuid
- the user uuid of this recent layout set branchpublic CacheModel<RecentLayoutSetBranch> toCacheModel()
BaseModel
toCacheModel
in interface BaseModel<RecentLayoutSetBranch>
toCacheModel
in interface RecentLayoutSetBranchModel
public RecentLayoutSetBranch toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.toEscapedModel
in interface BaseModel<RecentLayoutSetBranch>
toEscapedModel
in interface RecentLayoutSetBranchModel
AutoEscapeBeanHandler
public String toString()
toString
in interface RecentLayoutSetBranchModel
toString
in class Object
public RecentLayoutSetBranch toUnescapedModel()
toUnescapedModel
in interface BaseModel<RecentLayoutSetBranch>
toUnescapedModel
in interface RecentLayoutSetBranchModel
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<RecentLayoutSetBranch>
toXmlString
in interface RecentLayoutSetBranchModel
public boolean equals(Object obj)
equals
in class Object
public RecentLayoutSetBranch getWrappedModel()
getWrappedModel
in interface ModelWrapper<RecentLayoutSetBranch>
public boolean isEntityCacheEnabled()
BaseModel
true
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()
BaseModel
true
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()
BaseModel
resetOriginalValues
in interface BaseModel<RecentLayoutSetBranch>