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 |
---|---|
Map<String,Function<AssetLink,Object>> |
getAttributeGetterFunctions() |
Map<String,BiConsumer<AssetLink,Object>> |
getAttributeSetterBiConsumers() |
long |
getCompanyId()
Returns the company ID of this asset link.
|
Date |
getCreateDate()
Returns the create date of this asset link.
|
long |
getCtCollectionId()
Returns the ct collection ID 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 |
getMvccVersion()
Returns the mvcc version of this asset link.
|
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()
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 asset link.
|
void |
setCreateDate(Date createDate)
Sets the create date of this asset link.
|
void |
setCtCollectionId(long ctCollectionId)
Sets the ct collection ID 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 |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this asset link.
|
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 getCtCollectionId()
getCtCollectionId
in interface AssetLinkModel
getCtCollectionId
in interface CTModel<AssetLink>
public long getEntryId1()
getEntryId1
in interface AssetLinkModel
public long getEntryId2()
getEntryId2
in interface AssetLinkModel
public long getLinkId()
getLinkId
in interface AssetLinkModel
public long getMvccVersion()
getMvccVersion
in interface AssetLinkModel
getMvccVersion
in interface MVCCModel
public long getPrimaryKey()
getPrimaryKey
in interface AssetLinkModel
getPrimaryKey
in interface CTModel<AssetLink>
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()
PersistedModel
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 setCtCollectionId(long ctCollectionId)
setCtCollectionId
in interface AssetLinkModel
setCtCollectionId
in interface CTModel<AssetLink>
ctCollectionId
- the ct collection ID 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 setMvccVersion(long mvccVersion)
setMvccVersion
in interface AssetLinkModel
setMvccVersion
in interface MVCCModel
mvccVersion
- the mvcc version of this asset linkpublic void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface AssetLinkModel
setPrimaryKey
in interface CTModel<AssetLink>
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 linkpublic Map<String,Function<AssetLink,Object>> getAttributeGetterFunctions()
getAttributeGetterFunctions
in interface BaseModel<AssetLink>
public Map<String,BiConsumer<AssetLink,Object>> getAttributeSetterBiConsumers()
getAttributeSetterBiConsumers
in interface BaseModel<AssetLink>
protected AssetLinkWrapper wrap(AssetLink assetLink)
wrap
in class BaseModelWrapper<AssetLink>