public class AssetLinkWrapper extends BaseModelWrapper<AssetLink> implements AssetLink, ModelWrapper<AssetLink>
This class is a wrapper for AssetLink.
AssetLink,
Serialized FormmodelENTRY_ID2_ACCESSOR, LINK_ID_ACCESSOR| Constructor and Description |
|---|
AssetLinkWrapper(AssetLink assetLink) |
| Modifier and Type | Method and Description |
|---|---|
long |
getCompanyId()
Returns the company ID of this asset link.
|
Date |
getCreateDate()
Returns the create date of this asset link.
|
long |
getEntryId1()
Returns the entry id1 of this asset link.
|
long |
getEntryId2()
Returns the entry id2 of this asset link.
|
long |
getLinkId()
Returns the link ID of this asset link.
|
Map<String,Object> |
getModelAttributes() |
long |
getPrimaryKey()
Returns the primary key of this asset link.
|
int |
getType()
Returns the type of this asset link.
|
long |
getUserId()
Returns the user ID of this asset link.
|
String |
getUserName()
Returns the user name of this asset link.
|
String |
getUserUuid()
Returns the user uuid of this asset link.
|
int |
getWeight()
Returns the weight of this asset link.
|
void |
persist()
NOTE FOR DEVELOPERS:
Never modify or reference this class directly.
|
void |
setCompanyId(long companyId)
Sets the company ID of this asset link.
|
void |
setCreateDate(Date createDate)
Sets the create date of this asset link.
|
void |
setEntryId1(long entryId1)
Sets the entry id1 of this asset link.
|
void |
setEntryId2(long entryId2)
Sets the entry id2 of this asset link.
|
void |
setLinkId(long linkId)
Sets the link ID of this asset link.
|
void |
setModelAttributes(Map<String,Object> attributes) |
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this asset link.
|
void |
setType(int type)
Sets the type of this asset link.
|
void |
setUserId(long userId)
Sets the user ID of this asset link.
|
void |
setUserName(String userName)
Sets the user name of this asset link.
|
void |
setUserUuid(String userUuid)
Sets the user uuid of this asset link.
|
void |
setWeight(int weight)
Sets the weight of this asset link.
|
protected AssetLinkWrapper |
wrap(AssetLink assetLink) |
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, toXmlStringclone, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlStringgetModelClass, getModelClassNamegetWrappedModelpublic AssetLinkWrapper(AssetLink assetLink)
public Map<String,Object> getModelAttributes()
getModelAttributes in interface BaseModel<AssetLink>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface BaseModel<AssetLink>public long getCompanyId()
getCompanyId in interface AssetLinkModelgetCompanyId in interface ShardedModelpublic Date getCreateDate()
getCreateDate in interface AssetLinkModelpublic long getEntryId1()
getEntryId1 in interface AssetLinkModelpublic long getEntryId2()
getEntryId2 in interface AssetLinkModelpublic long getLinkId()
getLinkId in interface AssetLinkModelpublic long getPrimaryKey()
getPrimaryKey in interface AssetLinkModelpublic int getType()
getType in interface AssetLinkModelpublic long getUserId()
getUserId in interface AssetLinkModelpublic String getUserName()
getUserName in interface AssetLinkModelpublic String getUserUuid()
getUserUuid in interface AssetLinkModelpublic int getWeight()
getWeight in interface AssetLinkModelpublic void persist()
AssetLink interface instead.persist in interface PersistedModelpublic void setCompanyId(long companyId)
setCompanyId in interface AssetLinkModelsetCompanyId in interface ShardedModelcompanyId - the company ID of this asset linkpublic void setCreateDate(Date createDate)
setCreateDate in interface AssetLinkModelcreateDate - the create date of this asset linkpublic void setEntryId1(long entryId1)
setEntryId1 in interface AssetLinkModelentryId1 - the entry id1 of this asset linkpublic void setEntryId2(long entryId2)
setEntryId2 in interface AssetLinkModelentryId2 - the entry id2 of this asset linkpublic void setLinkId(long linkId)
setLinkId in interface AssetLinkModellinkId - the link ID of this asset linkpublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface AssetLinkModelprimaryKey - the primary key of this asset linkpublic void setType(int type)
setType in interface AssetLinkModeltype - the type of this asset linkpublic void setUserId(long userId)
setUserId in interface AssetLinkModeluserId - the user ID of this asset linkpublic void setUserName(String userName)
setUserName in interface AssetLinkModeluserName - the user name of this asset linkpublic void setUserUuid(String userUuid)
setUserUuid in interface AssetLinkModeluserUuid - the user uuid of this asset linkpublic void setWeight(int weight)
setWeight in interface AssetLinkModelweight - the weight of this asset linkprotected AssetLinkWrapper wrap(AssetLink assetLink)
wrap in class BaseModelWrapper<AssetLink>