@ProviderType public class WorkflowInstanceLinkWrapper extends Object implements WorkflowInstanceLink, ModelWrapper<WorkflowInstanceLink>
This class is a wrapper for WorkflowInstanceLink
.
WorkflowInstanceLink
,
Serialized FormWORKFLOW_INSTANCE_LINK_ID_ACCESSOR
Constructor and Description |
---|
WorkflowInstanceLinkWrapper(WorkflowInstanceLink workflowInstanceLink) |
Modifier and Type | Method and Description |
---|---|
Object |
clone()
Creates a shallow clone of this model instance.
|
int |
compareTo(WorkflowInstanceLink workflowInstanceLink) |
boolean |
equals(Object obj) |
String |
getClassName()
Returns the fully qualified class name of this workflow instance link.
|
long |
getClassNameId()
Returns the class name ID of this workflow instance link.
|
long |
getClassPK()
Returns the class pk of this workflow instance link.
|
long |
getCompanyId()
Returns the company ID of this workflow instance link.
|
Date |
getCreateDate()
Returns the create date of this workflow instance link.
|
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance.
|
long |
getGroupId()
Returns the group ID of this workflow instance link.
|
Map<String,Object> |
getModelAttributes() |
Class<?> |
getModelClass() |
String |
getModelClassName() |
Date |
getModifiedDate()
Returns the modified date of this workflow instance link.
|
long |
getMvccVersion()
Returns the mvcc version of this workflow instance link.
|
long |
getPrimaryKey()
Returns the primary key of this workflow instance link.
|
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance.
|
long |
getUserId()
Returns the user ID of this workflow instance link.
|
String |
getUserName()
Returns the user name of this workflow instance link.
|
String |
getUserUuid()
Returns the user uuid of this workflow instance link.
|
long |
getWorkflowInstanceId()
Returns the workflow instance ID of this workflow instance link.
|
long |
getWorkflowInstanceLinkId()
Returns the workflow instance link ID of this workflow instance link.
|
WorkflowInstanceLink |
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 instance link.
|
void |
setClassPK(long classPK)
Sets the class pk of this workflow instance link.
|
void |
setCompanyId(long companyId)
Sets the company ID of this workflow instance link.
|
void |
setCreateDate(Date createDate)
Sets the create date of this workflow instance 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 instance link.
|
void |
setModelAttributes(Map<String,Object> attributes) |
void |
setModifiedDate(Date modifiedDate)
Sets the modified date of this workflow instance link.
|
void |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this workflow instance 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 instance link.
|
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance.
|
void |
setUserId(long userId)
Sets the user ID of this workflow instance link.
|
void |
setUserName(String userName)
Sets the user name of this workflow instance link.
|
void |
setUserUuid(String userUuid)
Sets the user uuid of this workflow instance link.
|
void |
setWorkflowInstanceId(long workflowInstanceId)
Sets the workflow instance ID of this workflow instance link.
|
void |
setWorkflowInstanceLinkId(long workflowInstanceLinkId)
Sets the workflow instance link ID of this workflow instance link.
|
CacheModel<WorkflowInstanceLink> |
toCacheModel()
Returns a cache model object for this entity used by entity cache.
|
WorkflowInstanceLink |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it
with an
AutoEscapeBeanHandler . |
String |
toString() |
WorkflowInstanceLink |
toUnescapedModel() |
String |
toXmlString()
Returns the XML representation of this model instance.
|
public WorkflowInstanceLinkWrapper(WorkflowInstanceLink workflowInstanceLink)
public Class<?> getModelClass()
getModelClass
in interface ClassedModel
public String getModelClassName()
getModelClassName
in interface ClassedModel
public Map<String,Object> getModelAttributes()
getModelAttributes
in interface BaseModel<WorkflowInstanceLink>
public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes
in interface BaseModel<WorkflowInstanceLink>
public Object clone()
BaseModel
clone
in interface BaseModel<WorkflowInstanceLink>
clone
in interface WorkflowInstanceLinkModel
clone
in class Object
public int compareTo(WorkflowInstanceLink workflowInstanceLink)
compareTo
in interface WorkflowInstanceLinkModel
compareTo
in interface Comparable<WorkflowInstanceLink>
public String getClassName()
getClassName
in interface TypedModel
getClassName
in interface WorkflowInstanceLinkModel
public long getClassNameId()
getClassNameId
in interface TypedModel
getClassNameId
in interface WorkflowInstanceLinkModel
public long getClassPK()
getClassPK
in interface AttachedModel
getClassPK
in interface WorkflowInstanceLinkModel
public long getCompanyId()
getCompanyId
in interface AuditedModel
getCompanyId
in interface ShardedModel
getCompanyId
in interface WorkflowInstanceLinkModel
public Date getCreateDate()
getCreateDate
in interface AuditedModel
getCreateDate
in interface WorkflowInstanceLinkModel
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<WorkflowInstanceLink>
getExpandoBridge
in interface ClassedModel
getExpandoBridge
in interface WorkflowInstanceLinkModel
public long getGroupId()
getGroupId
in interface GroupedModel
getGroupId
in interface WorkflowInstanceLinkModel
public Date getModifiedDate()
getModifiedDate
in interface AuditedModel
getModifiedDate
in interface WorkflowInstanceLinkModel
public long getMvccVersion()
getMvccVersion
in interface MVCCModel
getMvccVersion
in interface WorkflowInstanceLinkModel
public long getPrimaryKey()
getPrimaryKey
in interface WorkflowInstanceLinkModel
public Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<WorkflowInstanceLink>
getPrimaryKeyObj
in interface ClassedModel
getPrimaryKeyObj
in interface WorkflowInstanceLinkModel
public long getUserId()
getUserId
in interface AuditedModel
getUserId
in interface WorkflowInstanceLinkModel
public String getUserName()
getUserName
in interface AuditedModel
getUserName
in interface WorkflowInstanceLinkModel
public String getUserUuid()
getUserUuid
in interface AuditedModel
getUserUuid
in interface WorkflowInstanceLinkModel
public long getWorkflowInstanceId()
getWorkflowInstanceId
in interface WorkflowInstanceLinkModel
public long getWorkflowInstanceLinkId()
getWorkflowInstanceLinkId
in interface WorkflowInstanceLinkModel
public int hashCode()
hashCode
in interface WorkflowInstanceLinkModel
hashCode
in class Object
public boolean isCachedModel()
BaseModel
true
if this model instance was retrieved from the
entity cache.isCachedModel
in interface BaseModel<WorkflowInstanceLink>
isCachedModel
in interface WorkflowInstanceLinkModel
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<WorkflowInstanceLink>
isEscapedModel
in interface WorkflowInstanceLinkModel
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<WorkflowInstanceLink>
isNew
in interface WorkflowInstanceLinkModel
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<WorkflowInstanceLink>
setCachedModel
in interface WorkflowInstanceLinkModel
cachedModel
- whether this model instance was retrieved from the
entity cacheEntityCache
public void setClassName(String className)
setClassName
in interface WorkflowInstanceLinkModel
public void setClassNameId(long classNameId)
setClassNameId
in interface TypedModel
setClassNameId
in interface WorkflowInstanceLinkModel
classNameId
- the class name ID of this workflow instance linkpublic void setClassPK(long classPK)
setClassPK
in interface AttachedModel
setClassPK
in interface WorkflowInstanceLinkModel
classPK
- the class pk of this workflow instance linkpublic void setCompanyId(long companyId)
setCompanyId
in interface AuditedModel
setCompanyId
in interface ShardedModel
setCompanyId
in interface WorkflowInstanceLinkModel
companyId
- the company ID of this workflow instance linkpublic void setCreateDate(Date createDate)
setCreateDate
in interface AuditedModel
setCreateDate
in interface WorkflowInstanceLinkModel
createDate
- the create date of this workflow instance linkpublic void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes
in interface BaseModel<WorkflowInstanceLink>
setExpandoBridgeAttributes
in interface WorkflowInstanceLinkModel
public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes
in interface BaseModel<WorkflowInstanceLink>
setExpandoBridgeAttributes
in interface WorkflowInstanceLinkModel
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<WorkflowInstanceLink>
setExpandoBridgeAttributes
in interface WorkflowInstanceLinkModel
serviceContext
- the service context to be appliedServiceContext.getExpandoBridgeAttributes()
public void setGroupId(long groupId)
setGroupId
in interface GroupedModel
setGroupId
in interface WorkflowInstanceLinkModel
groupId
- the group ID of this workflow instance linkpublic void setModifiedDate(Date modifiedDate)
setModifiedDate
in interface AuditedModel
setModifiedDate
in interface WorkflowInstanceLinkModel
modifiedDate
- the modified date of this workflow instance linkpublic void setMvccVersion(long mvccVersion)
setMvccVersion
in interface MVCCModel
setMvccVersion
in interface WorkflowInstanceLinkModel
mvccVersion
- the mvcc version of this workflow instance linkpublic void setNew(boolean n)
BaseModel
setNew
in interface BaseModel<WorkflowInstanceLink>
setNew
in interface WorkflowInstanceLinkModel
n
- whether this model instance does not yet exist in the databasepublic void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface WorkflowInstanceLinkModel
primaryKey
- the primary key of this workflow instance linkpublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<WorkflowInstanceLink>
setPrimaryKeyObj
in interface ClassedModel
setPrimaryKeyObj
in interface WorkflowInstanceLinkModel
primaryKeyObj
- the primary key of this model instancepublic void setUserId(long userId)
setUserId
in interface AuditedModel
setUserId
in interface WorkflowInstanceLinkModel
userId
- the user ID of this workflow instance linkpublic void setUserName(String userName)
setUserName
in interface AuditedModel
setUserName
in interface WorkflowInstanceLinkModel
userName
- the user name of this workflow instance linkpublic void setUserUuid(String userUuid)
setUserUuid
in interface AuditedModel
setUserUuid
in interface WorkflowInstanceLinkModel
userUuid
- the user uuid of this workflow instance linkpublic void setWorkflowInstanceId(long workflowInstanceId)
setWorkflowInstanceId
in interface WorkflowInstanceLinkModel
workflowInstanceId
- the workflow instance ID of this workflow instance linkpublic void setWorkflowInstanceLinkId(long workflowInstanceLinkId)
setWorkflowInstanceLinkId
in interface WorkflowInstanceLinkModel
workflowInstanceLinkId
- the workflow instance link ID of this workflow instance linkpublic CacheModel<WorkflowInstanceLink> toCacheModel()
BaseModel
toCacheModel
in interface BaseModel<WorkflowInstanceLink>
toCacheModel
in interface WorkflowInstanceLinkModel
public WorkflowInstanceLink toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.toEscapedModel
in interface BaseModel<WorkflowInstanceLink>
toEscapedModel
in interface WorkflowInstanceLinkModel
AutoEscapeBeanHandler
public String toString()
toString
in interface WorkflowInstanceLinkModel
toString
in class Object
public WorkflowInstanceLink toUnescapedModel()
toUnescapedModel
in interface BaseModel<WorkflowInstanceLink>
toUnescapedModel
in interface WorkflowInstanceLinkModel
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<WorkflowInstanceLink>
toXmlString
in interface WorkflowInstanceLinkModel
public boolean equals(Object obj)
equals
in class Object
public WorkflowInstanceLink getWrappedModel()
getWrappedModel
in interface ModelWrapper<WorkflowInstanceLink>
public boolean isEntityCacheEnabled()
BaseModel
true
if this model's entity cache is enabled.isEntityCacheEnabled
in interface BaseModel<WorkflowInstanceLink>
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<WorkflowInstanceLink>
true
if this model's finder cache is enabled;
false
otherwisepublic void resetOriginalValues()
BaseModel
resetOriginalValues
in interface BaseModel<WorkflowInstanceLink>