@ProviderType public class RecentLayoutBranchWrapper extends Object implements RecentLayoutBranch, ModelWrapper<RecentLayoutBranch>
This class is a wrapper for RecentLayoutBranch
.
RecentLayoutBranch
,
Serialized FormRECENT_LAYOUT_BRANCH_ID_ACCESSOR
Constructor and Description |
---|
RecentLayoutBranchWrapper(RecentLayoutBranch recentLayoutBranch) |
Modifier and Type | Method and Description |
---|---|
Object |
clone()
Creates a shallow clone of this model instance.
|
int |
compareTo(RecentLayoutBranch recentLayoutBranch) |
boolean |
equals(Object obj) |
long |
getCompanyId()
Returns the company ID of this recent layout branch.
|
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance.
|
long |
getGroupId()
Returns the group ID of this recent layout branch.
|
long |
getLayoutBranchId()
Returns the layout branch ID of this recent layout branch.
|
long |
getLayoutSetBranchId()
Returns the layout set branch ID of this recent layout branch.
|
Map<String,Object> |
getModelAttributes() |
Class<?> |
getModelClass() |
String |
getModelClassName() |
long |
getMvccVersion()
Returns the mvcc version of this recent layout branch.
|
long |
getPlid()
Returns the plid of this recent layout branch.
|
long |
getPrimaryKey()
Returns the primary key of this recent layout branch.
|
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance.
|
long |
getRecentLayoutBranchId()
Returns the recent layout branch ID of this recent layout branch.
|
long |
getUserId()
Returns the user ID of this recent layout branch.
|
String |
getUserUuid()
Returns the user uuid of this recent layout branch.
|
RecentLayoutBranch |
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 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 branch.
|
void |
setLayoutBranchId(long layoutBranchId)
Sets the layout branch ID of this recent layout branch.
|
void |
setLayoutSetBranchId(long layoutSetBranchId)
Sets the layout set branch ID of this recent layout branch.
|
void |
setModelAttributes(Map<String,Object> attributes) |
void |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this recent layout branch.
|
void |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database.
|
void |
setPlid(long plid)
Sets the plid of this recent layout branch.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this recent layout branch.
|
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance.
|
void |
setRecentLayoutBranchId(long recentLayoutBranchId)
Sets the recent layout branch ID of this recent layout branch.
|
void |
setUserId(long userId)
Sets the user ID of this recent layout branch.
|
void |
setUserUuid(String userUuid)
Sets the user uuid of this recent layout branch.
|
CacheModel<RecentLayoutBranch> |
toCacheModel()
Returns a cache model object for this entity used by entity cache.
|
RecentLayoutBranch |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it
with an
AutoEscapeBeanHandler . |
String |
toString() |
RecentLayoutBranch |
toUnescapedModel() |
String |
toXmlString()
Returns the XML representation of this model instance.
|
public RecentLayoutBranchWrapper(RecentLayoutBranch recentLayoutBranch)
public Class<?> getModelClass()
getModelClass
in interface ClassedModel
public String getModelClassName()
getModelClassName
in interface ClassedModel
public Map<String,Object> getModelAttributes()
getModelAttributes
in interface BaseModel<RecentLayoutBranch>
public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes
in interface BaseModel<RecentLayoutBranch>
public Object clone()
BaseModel
clone
in interface BaseModel<RecentLayoutBranch>
clone
in interface RecentLayoutBranchModel
clone
in class Object
public int compareTo(RecentLayoutBranch recentLayoutBranch)
compareTo
in interface RecentLayoutBranchModel
compareTo
in interface Comparable<RecentLayoutBranch>
public long getCompanyId()
getCompanyId
in interface RecentLayoutBranchModel
getCompanyId
in interface ShardedModel
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<RecentLayoutBranch>
getExpandoBridge
in interface ClassedModel
getExpandoBridge
in interface RecentLayoutBranchModel
public long getGroupId()
getGroupId
in interface RecentLayoutBranchModel
public long getLayoutBranchId()
getLayoutBranchId
in interface RecentLayoutBranchModel
public long getLayoutSetBranchId()
getLayoutSetBranchId
in interface RecentLayoutBranchModel
public long getMvccVersion()
getMvccVersion
in interface MVCCModel
getMvccVersion
in interface RecentLayoutBranchModel
public long getPlid()
getPlid
in interface RecentLayoutBranchModel
public long getPrimaryKey()
getPrimaryKey
in interface RecentLayoutBranchModel
public Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<RecentLayoutBranch>
getPrimaryKeyObj
in interface ClassedModel
getPrimaryKeyObj
in interface RecentLayoutBranchModel
public long getRecentLayoutBranchId()
getRecentLayoutBranchId
in interface RecentLayoutBranchModel
public long getUserId()
getUserId
in interface RecentLayoutBranchModel
public String getUserUuid()
getUserUuid
in interface RecentLayoutBranchModel
public int hashCode()
hashCode
in interface RecentLayoutBranchModel
hashCode
in class Object
public boolean isCachedModel()
BaseModel
true
if this model instance was retrieved from the
entity cache.isCachedModel
in interface BaseModel<RecentLayoutBranch>
isCachedModel
in interface RecentLayoutBranchModel
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<RecentLayoutBranch>
isEscapedModel
in interface RecentLayoutBranchModel
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<RecentLayoutBranch>
isNew
in interface RecentLayoutBranchModel
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<RecentLayoutBranch>
setCachedModel
in interface RecentLayoutBranchModel
cachedModel
- whether this model instance was retrieved from the
entity cacheEntityCache
public void setCompanyId(long companyId)
setCompanyId
in interface RecentLayoutBranchModel
setCompanyId
in interface ShardedModel
companyId
- the company ID of this recent layout branchpublic void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes
in interface BaseModel<RecentLayoutBranch>
setExpandoBridgeAttributes
in interface RecentLayoutBranchModel
public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes
in interface BaseModel<RecentLayoutBranch>
setExpandoBridgeAttributes
in interface RecentLayoutBranchModel
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<RecentLayoutBranch>
setExpandoBridgeAttributes
in interface RecentLayoutBranchModel
serviceContext
- the service context to be appliedServiceContext.getExpandoBridgeAttributes()
public void setGroupId(long groupId)
setGroupId
in interface RecentLayoutBranchModel
groupId
- the group ID of this recent layout branchpublic void setLayoutBranchId(long layoutBranchId)
setLayoutBranchId
in interface RecentLayoutBranchModel
layoutBranchId
- the layout branch ID of this recent layout branchpublic void setLayoutSetBranchId(long layoutSetBranchId)
setLayoutSetBranchId
in interface RecentLayoutBranchModel
layoutSetBranchId
- the layout set branch ID of this recent layout branchpublic void setMvccVersion(long mvccVersion)
setMvccVersion
in interface MVCCModel
setMvccVersion
in interface RecentLayoutBranchModel
mvccVersion
- the mvcc version of this recent layout branchpublic void setNew(boolean n)
BaseModel
setNew
in interface BaseModel<RecentLayoutBranch>
setNew
in interface RecentLayoutBranchModel
n
- whether this model instance does not yet exist in the databasepublic void setPlid(long plid)
setPlid
in interface RecentLayoutBranchModel
plid
- the plid of this recent layout branchpublic void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface RecentLayoutBranchModel
primaryKey
- the primary key of this recent layout branchpublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<RecentLayoutBranch>
setPrimaryKeyObj
in interface ClassedModel
setPrimaryKeyObj
in interface RecentLayoutBranchModel
primaryKeyObj
- the primary key of this model instancepublic void setRecentLayoutBranchId(long recentLayoutBranchId)
setRecentLayoutBranchId
in interface RecentLayoutBranchModel
recentLayoutBranchId
- the recent layout branch ID of this recent layout branchpublic void setUserId(long userId)
setUserId
in interface RecentLayoutBranchModel
userId
- the user ID of this recent layout branchpublic void setUserUuid(String userUuid)
setUserUuid
in interface RecentLayoutBranchModel
userUuid
- the user uuid of this recent layout branchpublic CacheModel<RecentLayoutBranch> toCacheModel()
BaseModel
toCacheModel
in interface BaseModel<RecentLayoutBranch>
toCacheModel
in interface RecentLayoutBranchModel
public RecentLayoutBranch toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.toEscapedModel
in interface BaseModel<RecentLayoutBranch>
toEscapedModel
in interface RecentLayoutBranchModel
AutoEscapeBeanHandler
public String toString()
toString
in interface RecentLayoutBranchModel
toString
in class Object
public RecentLayoutBranch toUnescapedModel()
toUnescapedModel
in interface BaseModel<RecentLayoutBranch>
toUnescapedModel
in interface RecentLayoutBranchModel
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<RecentLayoutBranch>
toXmlString
in interface RecentLayoutBranchModel
public boolean equals(Object obj)
equals
in class Object
public RecentLayoutBranch getWrappedModel()
getWrappedModel
in interface ModelWrapper<RecentLayoutBranch>
public boolean isEntityCacheEnabled()
BaseModel
true
if this model's entity cache is enabled.isEntityCacheEnabled
in interface BaseModel<RecentLayoutBranch>
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<RecentLayoutBranch>
true
if this model's finder cache is enabled;
false
otherwisepublic void resetOriginalValues()
BaseModel
resetOriginalValues
in interface BaseModel<RecentLayoutBranch>