@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 pk 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 pk 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 pk 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 pk 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 ClassedModel
public String getModelClassName()
getModelClassName
in interface ClassedModel
public Map<String,Object> getModelAttributes()
getModelAttributes
in interface BaseModel<WorkflowDefinitionLink>
public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes
in interface BaseModel<WorkflowDefinitionLink>
public Object clone()
BaseModel
clone
in interface BaseModel<WorkflowDefinitionLink>
clone
in interface WorkflowDefinitionLinkModel
clone
in class Object
public int compareTo(WorkflowDefinitionLink workflowDefinitionLink)
compareTo
in interface WorkflowDefinitionLinkModel
compareTo
in interface Comparable<WorkflowDefinitionLink>
public String getClassName()
getClassName
in interface TypedModel
getClassName
in interface WorkflowDefinitionLinkModel
public long getClassNameId()
getClassNameId
in interface TypedModel
getClassNameId
in interface WorkflowDefinitionLinkModel
public long getClassPK()
getClassPK
in interface AttachedModel
getClassPK
in interface WorkflowDefinitionLinkModel
public long getCompanyId()
getCompanyId
in interface AuditedModel
getCompanyId
in interface ShardedModel
getCompanyId
in interface WorkflowDefinitionLinkModel
public Date getCreateDate()
getCreateDate
in interface AuditedModel
getCreateDate
in interface WorkflowDefinitionLinkModel
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<WorkflowDefinitionLink>
getExpandoBridge
in interface ClassedModel
getExpandoBridge
in interface WorkflowDefinitionLinkModel
public long getGroupId()
getGroupId
in interface GroupedModel
getGroupId
in interface WorkflowDefinitionLinkModel
public Date getModifiedDate()
getModifiedDate
in interface AuditedModel
getModifiedDate
in interface WorkflowDefinitionLinkModel
public long getMvccVersion()
getMvccVersion
in interface MVCCModel
getMvccVersion
in interface WorkflowDefinitionLinkModel
public long getPrimaryKey()
getPrimaryKey
in interface WorkflowDefinitionLinkModel
public Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<WorkflowDefinitionLink>
getPrimaryKeyObj
in interface ClassedModel
getPrimaryKeyObj
in interface WorkflowDefinitionLinkModel
public long getTypePK()
getTypePK
in interface WorkflowDefinitionLinkModel
public long getUserId()
getUserId
in interface AuditedModel
getUserId
in interface WorkflowDefinitionLinkModel
public String getUserName()
getUserName
in interface AuditedModel
getUserName
in interface WorkflowDefinitionLinkModel
public String getUserUuid()
getUserUuid
in interface AuditedModel
getUserUuid
in interface WorkflowDefinitionLinkModel
public long getWorkflowDefinitionLinkId()
getWorkflowDefinitionLinkId
in interface WorkflowDefinitionLinkModel
public String getWorkflowDefinitionName()
getWorkflowDefinitionName
in interface WorkflowDefinitionLinkModel
public int getWorkflowDefinitionVersion()
getWorkflowDefinitionVersion
in interface WorkflowDefinitionLinkModel
public int hashCode()
hashCode
in interface WorkflowDefinitionLinkModel
hashCode
in class Object
public boolean isCachedModel()
BaseModel
true
if this model instance was retrieved from the
entity cache.isCachedModel
in interface BaseModel<WorkflowDefinitionLink>
isCachedModel
in interface WorkflowDefinitionLinkModel
true
if this model instance was retrieved from the
entity cache; false
otherwiseBaseModel.setCachedModel(boolean)
public boolean isEscapedModel()
BaseModel
true
if this model instance is escaped.isEscapedModel
in interface BaseModel<WorkflowDefinitionLink>
isEscapedModel
in interface WorkflowDefinitionLinkModel
true
if this model instance is escaped;
false
otherwisepublic boolean isNew()
BaseModel
true
if this model instance does not yet exist in
the database.isNew
in interface BaseModel<WorkflowDefinitionLink>
isNew
in interface WorkflowDefinitionLinkModel
true
if this model instance does not yet exist in
the database; false
otherwisepublic void persist()
PersistedModel
persist
in interface PersistedModel
public void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel
in interface BaseModel<WorkflowDefinitionLink>
setCachedModel
in interface WorkflowDefinitionLinkModel
cachedModel
- whether this model instance was retrieved from the
entity cacheEntityCache
public void setClassName(String className)
setClassName
in interface WorkflowDefinitionLinkModel
public void setClassNameId(long classNameId)
setClassNameId
in interface TypedModel
setClassNameId
in interface WorkflowDefinitionLinkModel
classNameId
- the class name ID of this workflow definition linkpublic void setClassPK(long classPK)
setClassPK
in interface AttachedModel
setClassPK
in interface WorkflowDefinitionLinkModel
classPK
- the class pk of this workflow definition linkpublic void setCompanyId(long companyId)
setCompanyId
in interface AuditedModel
setCompanyId
in interface ShardedModel
setCompanyId
in interface WorkflowDefinitionLinkModel
companyId
- the company ID of this workflow definition linkpublic void setCreateDate(Date createDate)
setCreateDate
in interface AuditedModel
setCreateDate
in interface WorkflowDefinitionLinkModel
createDate
- the create date of this workflow definition linkpublic void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes
in interface BaseModel<WorkflowDefinitionLink>
setExpandoBridgeAttributes
in interface WorkflowDefinitionLinkModel
public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes
in interface BaseModel<WorkflowDefinitionLink>
setExpandoBridgeAttributes
in interface WorkflowDefinitionLinkModel
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<WorkflowDefinitionLink>
setExpandoBridgeAttributes
in interface WorkflowDefinitionLinkModel
serviceContext
- the service context to be appliedServiceContext.getExpandoBridgeAttributes()
public void setGroupId(long groupId)
setGroupId
in interface GroupedModel
setGroupId
in interface WorkflowDefinitionLinkModel
groupId
- the group ID of this workflow definition linkpublic void setModifiedDate(Date modifiedDate)
setModifiedDate
in interface AuditedModel
setModifiedDate
in interface WorkflowDefinitionLinkModel
modifiedDate
- the modified date of this workflow definition linkpublic void setMvccVersion(long mvccVersion)
setMvccVersion
in interface MVCCModel
setMvccVersion
in interface WorkflowDefinitionLinkModel
mvccVersion
- the mvcc version of this workflow definition linkpublic void setNew(boolean n)
BaseModel
setNew
in interface BaseModel<WorkflowDefinitionLink>
setNew
in interface WorkflowDefinitionLinkModel
n
- whether this model instance does not yet exist in the databasepublic void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface WorkflowDefinitionLinkModel
primaryKey
- the primary key of this workflow definition linkpublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<WorkflowDefinitionLink>
setPrimaryKeyObj
in interface ClassedModel
setPrimaryKeyObj
in interface WorkflowDefinitionLinkModel
primaryKeyObj
- the primary key of this model instancepublic void setTypePK(long typePK)
setTypePK
in interface WorkflowDefinitionLinkModel
typePK
- the type pk of this workflow definition linkpublic void setUserId(long userId)
setUserId
in interface AuditedModel
setUserId
in interface WorkflowDefinitionLinkModel
userId
- the user ID of this workflow definition linkpublic void setUserName(String userName)
setUserName
in interface AuditedModel
setUserName
in interface WorkflowDefinitionLinkModel
userName
- the user name of this workflow definition linkpublic void setUserUuid(String userUuid)
setUserUuid
in interface AuditedModel
setUserUuid
in interface WorkflowDefinitionLinkModel
userUuid
- the user uuid of this workflow definition linkpublic void setWorkflowDefinitionLinkId(long workflowDefinitionLinkId)
setWorkflowDefinitionLinkId
in interface WorkflowDefinitionLinkModel
workflowDefinitionLinkId
- the workflow definition link ID of this workflow definition linkpublic void setWorkflowDefinitionName(String workflowDefinitionName)
setWorkflowDefinitionName
in interface WorkflowDefinitionLinkModel
workflowDefinitionName
- the workflow definition name of this workflow definition linkpublic void setWorkflowDefinitionVersion(int workflowDefinitionVersion)
setWorkflowDefinitionVersion
in interface WorkflowDefinitionLinkModel
workflowDefinitionVersion
- the workflow definition version of this workflow definition linkpublic CacheModel<WorkflowDefinitionLink> toCacheModel()
BaseModel
toCacheModel
in interface BaseModel<WorkflowDefinitionLink>
toCacheModel
in interface WorkflowDefinitionLinkModel
public WorkflowDefinitionLink toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.toEscapedModel
in interface BaseModel<WorkflowDefinitionLink>
toEscapedModel
in interface WorkflowDefinitionLinkModel
AutoEscapeBeanHandler
public String toString()
toString
in interface WorkflowDefinitionLinkModel
toString
in class Object
public WorkflowDefinitionLink toUnescapedModel()
toUnescapedModel
in interface BaseModel<WorkflowDefinitionLink>
toUnescapedModel
in interface WorkflowDefinitionLinkModel
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<WorkflowDefinitionLink>
toXmlString
in interface WorkflowDefinitionLinkModel
public boolean equals(Object obj)
equals
in class Object
public WorkflowDefinitionLink getWrappedModel()
getWrappedModel
in interface ModelWrapper<WorkflowDefinitionLink>
public boolean isEntityCacheEnabled()
BaseModel
true
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()
BaseModel
true
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()
BaseModel
resetOriginalValues
in interface BaseModel<WorkflowDefinitionLink>