public class LayoutBranchWrapper extends BaseModelWrapper<LayoutBranch> implements LayoutBranch, ModelWrapper<LayoutBranch>
This class is a wrapper for LayoutBranch
.
LayoutBranch
,
Serialized Formmodel
LAYOUT_BRANCH_ID_ACCESSOR
Constructor and Description |
---|
LayoutBranchWrapper(LayoutBranch layoutBranch) |
Modifier and Type | Method and Description |
---|---|
LayoutBranch |
cloneWithOriginalValues() |
long |
getCompanyId()
Returns the company ID of this layout branch.
|
String |
getDescription()
Returns the description of this layout branch.
|
long |
getGroupId()
Returns the group ID of this layout branch.
|
long |
getLayoutBranchId()
Returns the layout branch ID of this layout branch.
|
long |
getLayoutSetBranchId()
Returns the layout set branch ID of this layout branch.
|
boolean |
getMaster()
Returns the master of this layout branch.
|
Map<String,Object> |
getModelAttributes() |
long |
getMvccVersion()
Returns the mvcc version of this layout branch.
|
String |
getName()
Returns the name of this layout branch.
|
long |
getPlid()
Returns the plid of this layout branch.
|
long |
getPrimaryKey()
Returns the primary key of this layout branch.
|
long |
getUserId()
Returns the user ID of this layout branch.
|
String |
getUserName()
Returns the user name of this layout branch.
|
String |
getUserUuid()
Returns the user uuid of this layout branch.
|
boolean |
isMaster()
Returns
true if this layout branch is master. |
void |
persist()
Updates this model instance in the database or adds it if it does not yet
exist.
|
void |
setCompanyId(long companyId)
Sets the company ID of this layout branch.
|
void |
setDescription(String description)
Sets the description of this layout branch.
|
void |
setGroupId(long groupId)
Sets the group ID of this layout branch.
|
void |
setLayoutBranchId(long layoutBranchId)
Sets the layout branch ID of this layout branch.
|
void |
setLayoutSetBranchId(long layoutSetBranchId)
Sets the layout set branch ID of this layout branch.
|
void |
setMaster(boolean master)
Sets whether this layout branch is master.
|
void |
setModelAttributes(Map<String,Object> attributes) |
void |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this layout branch.
|
void |
setName(String name)
Sets the name of this layout branch.
|
void |
setPlid(long plid)
Sets the plid of this layout branch.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this layout branch.
|
void |
setUserId(long userId)
Sets the user ID of this layout branch.
|
void |
setUserName(String userName)
Sets the user name of this layout branch.
|
void |
setUserUuid(String userUuid)
Sets the user uuid of this layout branch.
|
String |
toXmlString() |
protected LayoutBranchWrapper |
wrap(LayoutBranch layoutBranch) |
clone, compareTo, equals, getExpandoBridge, getModelClass, getModelClassName, getPrimaryKeyObj, getWrappedModel, hashCode, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toString, toUnescapedModel
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel
getModelClass, getModelClassName
getWrappedModel
public LayoutBranchWrapper(LayoutBranch layoutBranch)
public Map<String,Object> getModelAttributes()
getModelAttributes
in interface BaseModel<LayoutBranch>
public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes
in interface BaseModel<LayoutBranch>
public LayoutBranch cloneWithOriginalValues()
cloneWithOriginalValues
in interface BaseModel<LayoutBranch>
cloneWithOriginalValues
in interface LayoutBranchModel
public long getCompanyId()
getCompanyId
in interface LayoutBranchModel
getCompanyId
in interface ShardedModel
public String getDescription()
getDescription
in interface LayoutBranchModel
public long getGroupId()
getGroupId
in interface LayoutBranchModel
public long getLayoutBranchId()
getLayoutBranchId
in interface LayoutBranchModel
public long getLayoutSetBranchId()
getLayoutSetBranchId
in interface LayoutBranchModel
public boolean getMaster()
getMaster
in interface LayoutBranchModel
public long getMvccVersion()
getMvccVersion
in interface LayoutBranchModel
getMvccVersion
in interface MVCCModel
public String getName()
getName
in interface LayoutBranchModel
public long getPlid()
getPlid
in interface LayoutBranchModel
public long getPrimaryKey()
getPrimaryKey
in interface LayoutBranchModel
public long getUserId()
getUserId
in interface LayoutBranchModel
public String getUserName()
getUserName
in interface LayoutBranchModel
public String getUserUuid()
getUserUuid
in interface LayoutBranchModel
public boolean isMaster()
true
if this layout branch is master.isMaster
in interface LayoutBranchModel
true
if this layout branch is master; false
otherwisepublic void persist()
PersistedModel
persist
in interface PersistedModel
public void setCompanyId(long companyId)
setCompanyId
in interface LayoutBranchModel
setCompanyId
in interface ShardedModel
companyId
- the company ID of this layout branchpublic void setDescription(String description)
setDescription
in interface LayoutBranchModel
description
- the description of this layout branchpublic void setGroupId(long groupId)
setGroupId
in interface LayoutBranchModel
groupId
- the group ID of this layout branchpublic void setLayoutBranchId(long layoutBranchId)
setLayoutBranchId
in interface LayoutBranchModel
layoutBranchId
- the layout branch ID of this layout branchpublic void setLayoutSetBranchId(long layoutSetBranchId)
setLayoutSetBranchId
in interface LayoutBranchModel
layoutSetBranchId
- the layout set branch ID of this layout branchpublic void setMaster(boolean master)
setMaster
in interface LayoutBranchModel
master
- the master of this layout branchpublic void setMvccVersion(long mvccVersion)
setMvccVersion
in interface LayoutBranchModel
setMvccVersion
in interface MVCCModel
mvccVersion
- the mvcc version of this layout branchpublic void setName(String name)
setName
in interface LayoutBranchModel
name
- the name of this layout branchpublic void setPlid(long plid)
setPlid
in interface LayoutBranchModel
plid
- the plid of this layout branchpublic void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface LayoutBranchModel
primaryKey
- the primary key of this layout branchpublic void setUserId(long userId)
setUserId
in interface LayoutBranchModel
userId
- the user ID of this layout branchpublic void setUserName(String userName)
setUserName
in interface LayoutBranchModel
userName
- the user name of this layout branchpublic void setUserUuid(String userUuid)
setUserUuid
in interface LayoutBranchModel
userUuid
- the user uuid of this layout branchpublic String toXmlString()
toXmlString
in interface LayoutBranchModel
protected LayoutBranchWrapper wrap(LayoutBranch layoutBranch)
wrap
in class BaseModelWrapper<LayoutBranch>