public class AssetLinkWrapper extends BaseModelWrapper<AssetLink> implements AssetLink, ModelWrapper<AssetLink>
This class is a wrapper for AssetLink
.
AssetLink
,
Serialized Formmodel
ENTRY_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, toXmlString
clone, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlString
getModelClass, getModelClassName
getWrappedModel
public 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 AssetLinkModel
getCompanyId
in interface ShardedModel
public Date getCreateDate()
getCreateDate
in interface AssetLinkModel
public long getEntryId1()
getEntryId1
in interface AssetLinkModel
public long getEntryId2()
getEntryId2
in interface AssetLinkModel
public long getLinkId()
getLinkId
in interface AssetLinkModel
public long getPrimaryKey()
getPrimaryKey
in interface AssetLinkModel
public int getType()
getType
in interface AssetLinkModel
public long getUserId()
getUserId
in interface AssetLinkModel
public String getUserName()
getUserName
in interface AssetLinkModel
public String getUserUuid()
getUserUuid
in interface AssetLinkModel
public int getWeight()
getWeight
in interface AssetLinkModel
public void persist()
AssetLink
interface instead.persist
in interface PersistedModel
public void setCompanyId(long companyId)
setCompanyId
in interface AssetLinkModel
setCompanyId
in interface ShardedModel
companyId
- the company ID of this asset linkpublic void setCreateDate(Date createDate)
setCreateDate
in interface AssetLinkModel
createDate
- the create date of this asset linkpublic void setEntryId1(long entryId1)
setEntryId1
in interface AssetLinkModel
entryId1
- the entry id1 of this asset linkpublic void setEntryId2(long entryId2)
setEntryId2
in interface AssetLinkModel
entryId2
- the entry id2 of this asset linkpublic void setLinkId(long linkId)
setLinkId
in interface AssetLinkModel
linkId
- the link ID of this asset linkpublic void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface AssetLinkModel
primaryKey
- the primary key of this asset linkpublic void setType(int type)
setType
in interface AssetLinkModel
type
- the type of this asset linkpublic void setUserId(long userId)
setUserId
in interface AssetLinkModel
userId
- the user ID of this asset linkpublic void setUserName(String userName)
setUserName
in interface AssetLinkModel
userName
- the user name of this asset linkpublic void setUserUuid(String userUuid)
setUserUuid
in interface AssetLinkModel
userUuid
- the user uuid of this asset linkpublic void setWeight(int weight)
setWeight
in interface AssetLinkModel
weight
- the weight of this asset linkprotected AssetLinkWrapper wrap(AssetLink assetLink)
wrap
in class BaseModelWrapper<AssetLink>