@ProviderType public class WorkflowDefinitionLinkWrapper extends Object implements WorkflowDefinitionLink, ModelWrapper<WorkflowDefinitionLink>
This class is a wrapper for WorkflowDefinitionLink.
WorkflowDefinitionLink,
Serialized FormWORKFLOW_DEFINITION_LINK_ID_ACCESSOR| Constructor and Description |
|---|
WorkflowDefinitionLinkWrapper(WorkflowDefinitionLink workflowDefinitionLink) |
| Modifier and Type | Method and Description |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance.
|
int |
compareTo(WorkflowDefinitionLink workflowDefinitionLink) |
boolean |
equals(Object obj) |
String |
getClassName()
Returns the fully qualified class name of this workflow definition link.
|
long |
getClassNameId()
Returns the class name ID of this workflow definition link.
|
long |
getClassPK()
Returns the class p k of this workflow definition link.
|
long |
getCompanyId()
Returns the company ID of this workflow definition link.
|
Date |
getCreateDate()
Returns the create date of this workflow definition link.
|
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance.
|
long |
getGroupId()
Returns the group ID of this workflow definition link.
|
Map<String,Object> |
getModelAttributes() |
Class<?> |
getModelClass() |
String |
getModelClassName() |
Date |
getModifiedDate()
Returns the modified date of this workflow definition link.
|
long |
getMvccVersion()
Returns the mvcc version of this workflow definition link.
|
long |
getPrimaryKey()
Returns the primary key of this workflow definition link.
|
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance.
|
long |
getTypePK()
Returns the type p k of this workflow definition link.
|
long |
getUserId()
Returns the user ID of this workflow definition link.
|
String |
getUserName()
Returns the user name of this workflow definition link.
|
String |
getUserUuid()
Returns the user uuid of this workflow definition link.
|
long |
getWorkflowDefinitionLinkId()
Returns the workflow definition link ID of this workflow definition link.
|
String |
getWorkflowDefinitionName()
Returns the workflow definition name of this workflow definition link.
|
int |
getWorkflowDefinitionVersion()
Returns the workflow definition version of this workflow definition link.
|
WorkflowDefinitionLink |
getWrappedModel() |
int |
hashCode() |
boolean |
isCachedModel()
Returns
true if this model instance was retrieved from the
entity cache. |
boolean |
isEntityCacheEnabled()
Returns
true if this model's entity cache is enabled. |
boolean |
isEscapedModel()
Returns
true if this model instance is escaped. |
boolean |
isFinderCacheEnabled()
Returns
true if this model's finder cache is enabled. |
boolean |
isNew()
Returns
true if this model instance does not yet exist in
the database. |
void |
persist()
Updates this model instance in the database or adds it if it does not yet
exist.
|
void |
resetOriginalValues()
Reset all original fields to current values.
|
void |
setCachedModel(boolean cachedModel)
Sets whether this model instance was retrieved from the entity cache.
|
void |
setClassName(String className) |
void |
setClassNameId(long classNameId)
Sets the class name ID of this workflow definition link.
|
void |
setClassPK(long classPK)
Sets the class p k of this workflow definition link.
|
void |
setCompanyId(long companyId)
Sets the company ID of this workflow definition link.
|
void |
setCreateDate(Date createDate)
Sets the create date of this workflow definition link.
|
void |
setExpandoBridgeAttributes(BaseModel<?> baseModel) |
void |
setExpandoBridgeAttributes(ExpandoBridge expandoBridge) |
void |
setExpandoBridgeAttributes(ServiceContext serviceContext)
Sets the expando bridge attributes for this model instance to the
attributes stored in the service context.
|
void |
setGroupId(long groupId)
Sets the group ID of this workflow definition link.
|
void |
setModelAttributes(Map<String,Object> attributes) |
void |
setModifiedDate(Date modifiedDate)
Sets the modified date of this workflow definition link.
|
void |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this workflow definition link.
|
void |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this workflow definition link.
|
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance.
|
void |
setTypePK(long typePK)
Sets the type p k of this workflow definition link.
|
void |
setUserId(long userId)
Sets the user ID of this workflow definition link.
|
void |
setUserName(String userName)
Sets the user name of this workflow definition link.
|
void |
setUserUuid(String userUuid)
Sets the user uuid of this workflow definition link.
|
void |
setWorkflowDefinitionLinkId(long workflowDefinitionLinkId)
Sets the workflow definition link ID of this workflow definition link.
|
void |
setWorkflowDefinitionName(String workflowDefinitionName)
Sets the workflow definition name of this workflow definition link.
|
void |
setWorkflowDefinitionVersion(int workflowDefinitionVersion)
Sets the workflow definition version of this workflow definition link.
|
CacheModel<WorkflowDefinitionLink> |
toCacheModel()
Returns a cache model object for this entity used by entity cache.
|
WorkflowDefinitionLink |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it
with an
AutoEscapeBeanHandler. |
String |
toString() |
WorkflowDefinitionLink |
toUnescapedModel() |
String |
toXmlString()
Returns the XML representation of this model instance.
|
public WorkflowDefinitionLinkWrapper(WorkflowDefinitionLink workflowDefinitionLink)
public Class<?> getModelClass()
getModelClass in interface ClassedModelpublic String getModelClassName()
getModelClassName in interface ClassedModelpublic Map<String,Object> getModelAttributes()
getModelAttributes in interface BaseModel<WorkflowDefinitionLink>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface BaseModel<WorkflowDefinitionLink>public CacheModel<WorkflowDefinitionLink> toCacheModel()
BaseModeltoCacheModel in interface BaseModel<WorkflowDefinitionLink>toCacheModel in interface WorkflowDefinitionLinkModelpublic WorkflowDefinitionLink toEscapedModel()
BaseModelAutoEscapeBeanHandler.toEscapedModel in interface BaseModel<WorkflowDefinitionLink>toEscapedModel in interface WorkflowDefinitionLinkModelAutoEscapeBeanHandlerpublic WorkflowDefinitionLink toUnescapedModel()
toUnescapedModel in interface BaseModel<WorkflowDefinitionLink>toUnescapedModel in interface WorkflowDefinitionLinkModelpublic boolean isCachedModel()
BaseModeltrue if this model instance was retrieved from the
entity cache.isCachedModel in interface BaseModel<WorkflowDefinitionLink>isCachedModel in interface WorkflowDefinitionLinkModeltrue if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)public boolean isEscapedModel()
BaseModeltrue if this model instance is escaped.isEscapedModel in interface BaseModel<WorkflowDefinitionLink>isEscapedModel in interface WorkflowDefinitionLinkModeltrue if this model instance is escaped;
false otherwisepublic boolean isNew()
BaseModeltrue if this model instance does not yet exist in
the database.isNew in interface BaseModel<WorkflowDefinitionLink>isNew in interface WorkflowDefinitionLinkModeltrue if this model instance does not yet exist in
the database; false otherwisepublic ExpandoBridge getExpandoBridge()
BaseModelgetExpandoBridge in interface BaseModel<WorkflowDefinitionLink>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface WorkflowDefinitionLinkModelpublic int compareTo(WorkflowDefinitionLink workflowDefinitionLink)
compareTo in interface WorkflowDefinitionLinkModelcompareTo in interface Comparable<WorkflowDefinitionLink>public int getWorkflowDefinitionVersion()
getWorkflowDefinitionVersion in interface WorkflowDefinitionLinkModelpublic int hashCode()
hashCode in interface WorkflowDefinitionLinkModelhashCode in class Objectpublic Serializable getPrimaryKeyObj()
BaseModelgetPrimaryKeyObj in interface BaseModel<WorkflowDefinitionLink>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface WorkflowDefinitionLinkModelpublic Object clone()
BaseModelclone in interface BaseModel<WorkflowDefinitionLink>clone in interface WorkflowDefinitionLinkModelclone in class Objectpublic String getClassName()
getClassName in interface TypedModelgetClassName in interface WorkflowDefinitionLinkModelpublic String getUserName()
getUserName in interface AuditedModelgetUserName in interface WorkflowDefinitionLinkModelpublic String getUserUuid()
getUserUuid in interface AuditedModelgetUserUuid in interface WorkflowDefinitionLinkModelpublic String getWorkflowDefinitionName()
getWorkflowDefinitionName in interface WorkflowDefinitionLinkModelpublic String toString()
toString in interface WorkflowDefinitionLinkModeltoString in class Objectpublic String toXmlString()
BaseModeltoXmlString in interface BaseModel<WorkflowDefinitionLink>toXmlString in interface WorkflowDefinitionLinkModelpublic Date getCreateDate()
getCreateDate in interface AuditedModelgetCreateDate in interface WorkflowDefinitionLinkModelpublic Date getModifiedDate()
getModifiedDate in interface AuditedModelgetModifiedDate in interface WorkflowDefinitionLinkModelpublic long getClassNameId()
getClassNameId in interface TypedModelgetClassNameId in interface WorkflowDefinitionLinkModelpublic long getClassPK()
getClassPK in interface AttachedModelgetClassPK in interface WorkflowDefinitionLinkModelpublic long getCompanyId()
getCompanyId in interface AuditedModelgetCompanyId in interface ShardedModelgetCompanyId in interface WorkflowDefinitionLinkModelpublic long getGroupId()
getGroupId in interface GroupedModelgetGroupId in interface WorkflowDefinitionLinkModelpublic long getMvccVersion()
getMvccVersion in interface MVCCModelgetMvccVersion in interface WorkflowDefinitionLinkModelpublic long getPrimaryKey()
getPrimaryKey in interface WorkflowDefinitionLinkModelpublic long getTypePK()
getTypePK in interface WorkflowDefinitionLinkModelpublic long getUserId()
getUserId in interface AuditedModelgetUserId in interface WorkflowDefinitionLinkModelpublic long getWorkflowDefinitionLinkId()
getWorkflowDefinitionLinkId in interface WorkflowDefinitionLinkModelpublic void persist()
PersistedModelpersist in interface PersistedModelpublic void setCachedModel(boolean cachedModel)
BaseModelsetCachedModel in interface BaseModel<WorkflowDefinitionLink>setCachedModel in interface WorkflowDefinitionLinkModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic void setClassName(String className)
setClassName in interface WorkflowDefinitionLinkModelpublic void setClassNameId(long classNameId)
setClassNameId in interface TypedModelsetClassNameId in interface WorkflowDefinitionLinkModelclassNameId - the class name ID of this workflow definition linkpublic void setClassPK(long classPK)
setClassPK in interface AttachedModelsetClassPK in interface WorkflowDefinitionLinkModelclassPK - the class p k of this workflow definition linkpublic void setCompanyId(long companyId)
setCompanyId in interface AuditedModelsetCompanyId in interface ShardedModelsetCompanyId in interface WorkflowDefinitionLinkModelcompanyId - the company ID of this workflow definition linkpublic void setCreateDate(Date createDate)
setCreateDate in interface AuditedModelsetCreateDate in interface WorkflowDefinitionLinkModelcreateDate - the create date of this workflow definition linkpublic void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface BaseModel<WorkflowDefinitionLink>setExpandoBridgeAttributes in interface WorkflowDefinitionLinkModelpublic void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface BaseModel<WorkflowDefinitionLink>setExpandoBridgeAttributes in interface WorkflowDefinitionLinkModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModelsetExpandoBridgeAttributes in interface BaseModel<WorkflowDefinitionLink>setExpandoBridgeAttributes in interface WorkflowDefinitionLinkModelserviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes()public void setGroupId(long groupId)
setGroupId in interface GroupedModelsetGroupId in interface WorkflowDefinitionLinkModelgroupId - the group ID of this workflow definition linkpublic void setModifiedDate(Date modifiedDate)
setModifiedDate in interface AuditedModelsetModifiedDate in interface WorkflowDefinitionLinkModelmodifiedDate - the modified date of this workflow definition linkpublic void setMvccVersion(long mvccVersion)
setMvccVersion in interface MVCCModelsetMvccVersion in interface WorkflowDefinitionLinkModelmvccVersion - the mvcc version of this workflow definition linkpublic void setNew(boolean n)
BaseModelsetNew in interface BaseModel<WorkflowDefinitionLink>setNew in interface WorkflowDefinitionLinkModeln - whether this model instance does not yet exist in the databasepublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface WorkflowDefinitionLinkModelprimaryKey - the primary key of this workflow definition linkpublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModelsetPrimaryKeyObj in interface BaseModel<WorkflowDefinitionLink>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface WorkflowDefinitionLinkModelprimaryKeyObj - the primary key of this model instancepublic void setTypePK(long typePK)
setTypePK in interface WorkflowDefinitionLinkModeltypePK - the type p k of this workflow definition linkpublic void setUserId(long userId)
setUserId in interface AuditedModelsetUserId in interface WorkflowDefinitionLinkModeluserId - the user ID of this workflow definition linkpublic void setUserName(String userName)
setUserName in interface AuditedModelsetUserName in interface WorkflowDefinitionLinkModeluserName - the user name of this workflow definition linkpublic void setUserUuid(String userUuid)
setUserUuid in interface AuditedModelsetUserUuid in interface WorkflowDefinitionLinkModeluserUuid - the user uuid of this workflow definition linkpublic void setWorkflowDefinitionLinkId(long workflowDefinitionLinkId)
setWorkflowDefinitionLinkId in interface WorkflowDefinitionLinkModelworkflowDefinitionLinkId - the workflow definition link ID of this workflow definition linkpublic void setWorkflowDefinitionName(String workflowDefinitionName)
setWorkflowDefinitionName in interface WorkflowDefinitionLinkModelworkflowDefinitionName - the workflow definition name of this workflow definition linkpublic void setWorkflowDefinitionVersion(int workflowDefinitionVersion)
setWorkflowDefinitionVersion in interface WorkflowDefinitionLinkModelworkflowDefinitionVersion - the workflow definition version of this workflow definition linkpublic WorkflowDefinitionLink getWrappedModel()
getWrappedModel in interface ModelWrapper<WorkflowDefinitionLink>public boolean isEntityCacheEnabled()
BaseModeltrue if this model's entity cache is enabled.isEntityCacheEnabled in interface BaseModel<WorkflowDefinitionLink>true if this model's entity cache is enabled;
false otherwisepublic boolean isFinderCacheEnabled()
BaseModeltrue if this model's finder cache is enabled.isFinderCacheEnabled in interface BaseModel<WorkflowDefinitionLink>true if this model's finder cache is enabled;
false otherwisepublic void resetOriginalValues()
BaseModelresetOriginalValues in interface BaseModel<WorkflowDefinitionLink>