public class AssetLinkModelImpl extends BaseModelImpl<AssetLink> implements AssetLinkModel
This implementation and its corresponding interface AssetLinkModel exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in AssetLinkImpl.
AssetLinkImpl,
Serialized Form| Modifier and Type | Field and Description |
|---|---|
static boolean |
COLUMN_BITMASK_ENABLED
Deprecated.
As of Athanasius (7.3.x), with no direct replacement
|
static java.lang.String |
DATA_SOURCE |
static boolean |
ENTITY_CACHE_ENABLED
Deprecated.
As of Athanasius (7.3.x), with no direct replacement
|
static long |
ENTRYID1_COLUMN_BITMASK |
static long |
ENTRYID2_COLUMN_BITMASK |
static boolean |
FINDER_CACHE_ENABLED
Deprecated.
As of Athanasius (7.3.x), with no direct replacement
|
static long |
LOCK_EXPIRATION_TIME |
static java.lang.String |
ORDER_BY_JPQL |
static java.lang.String |
ORDER_BY_SQL |
static java.lang.String |
SESSION_FACTORY |
static java.lang.Object[][] |
TABLE_COLUMNS |
static java.util.Map<java.lang.String,java.lang.Integer> |
TABLE_COLUMNS_MAP |
static java.lang.String |
TABLE_NAME |
static java.lang.String |
TABLE_SQL_CREATE |
static java.lang.String |
TABLE_SQL_DROP |
static java.lang.String |
TX_MANAGER |
static long |
TYPE_COLUMN_BITMASK |
static long |
WEIGHT_COLUMN_BITMASK |
| Constructor and Description |
|---|
AssetLinkModelImpl() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone()
Creates a shallow clone of this model instance.
|
int |
compareTo(AssetLink assetLink) |
boolean |
equals(java.lang.Object object) |
java.util.Map<java.lang.String,java.util.function.Function<AssetLink,java.lang.Object>> |
getAttributeGetterFunctions() |
java.util.Map<java.lang.String,java.util.function.BiConsumer<AssetLink,java.lang.Object>> |
getAttributeSetterBiConsumers() |
long |
getColumnBitmask() |
long |
getCompanyId()
Returns the company ID of this asset link.
|
java.util.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.
|
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance.
|
long |
getLinkId()
Returns the link ID of this asset link.
|
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
java.lang.Class<?> |
getModelClass() |
java.lang.String |
getModelClassName() |
long |
getMvccVersion()
Returns the mvcc version of this asset link.
|
long |
getOriginalEntryId1() |
long |
getOriginalEntryId2() |
int |
getOriginalType() |
long |
getPrimaryKey()
Returns the primary key of this asset link.
|
java.io.Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance.
|
int |
getType()
Returns the type of this asset link.
|
long |
getUserId()
Returns the user ID of this asset link.
|
java.lang.String |
getUserName()
Returns the user name of this asset link.
|
java.lang.String |
getUserUuid()
Returns the user uuid of this asset link.
|
int |
getWeight()
Returns the weight of this asset link.
|
int |
hashCode() |
boolean |
isEntityCacheEnabled()
Deprecated.
As of Athanasius (7.3.x), with no direct replacement
|
boolean |
isFinderCacheEnabled()
Deprecated.
As of Athanasius (7.3.x), with no direct replacement
|
void |
resetOriginalValues()
Reset all original fields to current values.
|
void |
setCompanyId(long companyId)
Sets the company ID of this asset link.
|
void |
setCreateDate(java.util.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 |
setExpandoBridgeAttributes(ServiceContext serviceContext)
Sets the expando bridge attributes for this model instance to the
attributes stored in the service context.
|
void |
setLinkId(long linkId)
Sets the link ID of this asset link.
|
void |
setModelAttributes(java.util.Map<java.lang.String,java.lang.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 |
setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
Sets the primary key of this model instance.
|
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(java.lang.String userName)
Sets the user name of this asset link.
|
void |
setUserUuid(java.lang.String userUuid)
Sets the user uuid of this asset link.
|
void |
setWeight(int weight)
Sets the weight of this asset link.
|
CacheModel<AssetLink> |
toCacheModel()
Returns a cache model object for this entity used by entity cache.
|
AssetLink |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it
with an
AutoEscapeBeanHandler. |
java.lang.String |
toString() |
java.lang.String |
toXmlString()
Returns the XML representation of this model instance.
|
getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModelfinalize, getClass, notify, notifyAll, wait, wait, waitisCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModelpublic static final java.lang.String TABLE_NAME
public static final java.lang.Object[][] TABLE_COLUMNS
public static final java.util.Map<java.lang.String,java.lang.Integer> TABLE_COLUMNS_MAP
public static final java.lang.String TABLE_SQL_CREATE
public static final java.lang.String TABLE_SQL_DROP
public static final java.lang.String ORDER_BY_JPQL
public static final java.lang.String ORDER_BY_SQL
public static final java.lang.String DATA_SOURCE
public static final java.lang.String SESSION_FACTORY
public static final java.lang.String TX_MANAGER
@Deprecated public static final boolean ENTITY_CACHE_ENABLED
@Deprecated public static final boolean FINDER_CACHE_ENABLED
@Deprecated public static final boolean COLUMN_BITMASK_ENABLED
public static final long ENTRYID1_COLUMN_BITMASK
public static final long ENTRYID2_COLUMN_BITMASK
public static final long TYPE_COLUMN_BITMASK
public static final long WEIGHT_COLUMN_BITMASK
public static final long LOCK_EXPIRATION_TIME
public long getPrimaryKey()
AssetLinkModelgetPrimaryKey in interface AssetLinkModelgetPrimaryKey in interface CTModel<AssetLink>public void setPrimaryKey(long primaryKey)
AssetLinkModelsetPrimaryKey in interface AssetLinkModelsetPrimaryKey in interface CTModel<AssetLink>primaryKey - the primary key of this asset linkpublic java.io.Serializable getPrimaryKeyObj()
BaseModelgetPrimaryKeyObj in interface BaseModel<AssetLink>getPrimaryKeyObj in interface ClassedModelpublic void setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
BaseModelsetPrimaryKeyObj in interface BaseModel<AssetLink>setPrimaryKeyObj in interface ClassedModelprimaryKeyObj - the primary key of this model instancepublic java.lang.Class<?> getModelClass()
getModelClass in interface ClassedModelpublic java.lang.String getModelClassName()
getModelClassName in interface ClassedModelpublic java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes in interface BaseModel<AssetLink>getModelAttributes in class BaseModelImpl<AssetLink>public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes in interface BaseModel<AssetLink>setModelAttributes in class BaseModelImpl<AssetLink>public java.util.Map<java.lang.String,java.util.function.Function<AssetLink,java.lang.Object>> getAttributeGetterFunctions()
getAttributeGetterFunctions in interface BaseModel<AssetLink>public java.util.Map<java.lang.String,java.util.function.BiConsumer<AssetLink,java.lang.Object>> getAttributeSetterBiConsumers()
getAttributeSetterBiConsumers in interface BaseModel<AssetLink>public long getMvccVersion()
AssetLinkModelgetMvccVersion in interface AssetLinkModelgetMvccVersion in interface MVCCModelpublic void setMvccVersion(long mvccVersion)
AssetLinkModelsetMvccVersion in interface AssetLinkModelsetMvccVersion in interface MVCCModelmvccVersion - the mvcc version of this asset linkpublic long getCtCollectionId()
AssetLinkModelgetCtCollectionId in interface AssetLinkModelgetCtCollectionId in interface CTModel<AssetLink>public void setCtCollectionId(long ctCollectionId)
AssetLinkModelsetCtCollectionId in interface AssetLinkModelsetCtCollectionId in interface CTModel<AssetLink>ctCollectionId - the ct collection ID of this asset linkpublic long getLinkId()
AssetLinkModelgetLinkId in interface AssetLinkModelpublic void setLinkId(long linkId)
AssetLinkModelsetLinkId in interface AssetLinkModellinkId - the link ID of this asset linkpublic long getCompanyId()
AssetLinkModelgetCompanyId in interface AssetLinkModelgetCompanyId in interface ShardedModelpublic void setCompanyId(long companyId)
AssetLinkModelsetCompanyId in interface AssetLinkModelsetCompanyId in interface ShardedModelcompanyId - the company ID of this asset linkpublic long getUserId()
AssetLinkModelgetUserId in interface AssetLinkModelpublic void setUserId(long userId)
AssetLinkModelsetUserId in interface AssetLinkModeluserId - the user ID of this asset linkpublic java.lang.String getUserUuid()
AssetLinkModelgetUserUuid in interface AssetLinkModelpublic void setUserUuid(java.lang.String userUuid)
AssetLinkModelsetUserUuid in interface AssetLinkModeluserUuid - the user uuid of this asset linkpublic java.lang.String getUserName()
AssetLinkModelgetUserName in interface AssetLinkModelpublic void setUserName(java.lang.String userName)
AssetLinkModelsetUserName in interface AssetLinkModeluserName - the user name of this asset linkpublic java.util.Date getCreateDate()
AssetLinkModelgetCreateDate in interface AssetLinkModelpublic void setCreateDate(java.util.Date createDate)
AssetLinkModelsetCreateDate in interface AssetLinkModelcreateDate - the create date of this asset linkpublic long getEntryId1()
AssetLinkModelgetEntryId1 in interface AssetLinkModelpublic void setEntryId1(long entryId1)
AssetLinkModelsetEntryId1 in interface AssetLinkModelentryId1 - the entry id1 of this asset linkpublic long getOriginalEntryId1()
public long getEntryId2()
AssetLinkModelgetEntryId2 in interface AssetLinkModelpublic void setEntryId2(long entryId2)
AssetLinkModelsetEntryId2 in interface AssetLinkModelentryId2 - the entry id2 of this asset linkpublic long getOriginalEntryId2()
public int getType()
AssetLinkModelgetType in interface AssetLinkModelpublic void setType(int type)
AssetLinkModelsetType in interface AssetLinkModeltype - the type of this asset linkpublic int getOriginalType()
public int getWeight()
AssetLinkModelgetWeight in interface AssetLinkModelpublic void setWeight(int weight)
AssetLinkModelsetWeight in interface AssetLinkModelweight - the weight of this asset linkpublic long getColumnBitmask()
public ExpandoBridge getExpandoBridge()
BaseModelgetExpandoBridge in interface BaseModel<AssetLink>getExpandoBridge in interface ClassedModelgetExpandoBridge in class BaseModelImpl<AssetLink>public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModelsetExpandoBridgeAttributes in interface BaseModel<AssetLink>setExpandoBridgeAttributes in class BaseModelImpl<AssetLink>serviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes()public AssetLink toEscapedModel()
BaseModelAutoEscapeBeanHandler.toEscapedModel in interface BaseModel<AssetLink>toEscapedModel in class BaseModelImpl<AssetLink>AutoEscapeBeanHandlerpublic java.lang.Object clone()
BaseModelpublic int compareTo(AssetLink assetLink)
compareTo in interface java.lang.Comparable<AssetLink>public boolean equals(java.lang.Object object)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object@Deprecated public boolean isEntityCacheEnabled()
BaseModeltrue if this model's entity cache is enabled.isEntityCacheEnabled in interface BaseModel<AssetLink>true if this model's entity cache is enabled;
false otherwise@Deprecated public boolean isFinderCacheEnabled()
BaseModeltrue if this model's finder cache is enabled.isFinderCacheEnabled in interface BaseModel<AssetLink>true if this model's finder cache is enabled;
false otherwisepublic void resetOriginalValues()
BaseModelresetOriginalValues in interface BaseModel<AssetLink>resetOriginalValues in class BaseModelImpl<AssetLink>public CacheModel<AssetLink> toCacheModel()
BaseModeltoCacheModel in interface BaseModel<AssetLink>toCacheModel in class BaseModelImpl<AssetLink>public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String toXmlString()
BaseModeltoXmlString in interface BaseModel<AssetLink>