Class ModelEntityImpl
- java.lang.Object
-
- org.activiti.engine.impl.persistence.entity.AbstractEntity
-
- org.activiti.engine.impl.persistence.entity.ModelEntityImpl
-
- All Implemented Interfaces:
java.io.Serializable
,HasRevision
,Entity
,ModelEntity
,Model
public class ModelEntityImpl extends AbstractEntity implements ModelEntity, java.io.Serializable
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
category
protected java.util.Date
createTime
protected java.lang.String
deploymentId
protected java.lang.String
editorSourceExtraValueId
protected java.lang.String
editorSourceValueId
protected java.lang.String
key
protected java.util.Date
lastUpdateTime
protected java.lang.String
metaInfo
protected java.lang.String
name
protected java.lang.String
tenantId
protected java.lang.Integer
version
-
Fields inherited from class org.activiti.engine.impl.persistence.entity.AbstractEntity
id, isDeleted, isInserted, isUpdated, revision
-
-
Constructor Summary
Constructors Constructor Description ModelEntityImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getCategory()
java.util.Date
getCreateTime()
java.lang.String
getDeploymentId()
java.lang.String
getEditorSourceExtraValueId()
java.lang.String
getEditorSourceValueId()
java.lang.String
getKey()
java.util.Date
getLastUpdateTime()
java.lang.String
getMetaInfo()
java.lang.String
getName()
java.lang.Object
getPersistentState()
Returns a representation of the object, as would be stored in the database.java.lang.String
getTenantId()
java.lang.Integer
getVersion()
boolean
hasEditorSource()
whether this model has editor sourceboolean
hasEditorSourceExtra()
whether this model has editor source extravoid
setCategory(java.lang.String category)
void
setCreateTime(java.util.Date createTime)
void
setDeploymentId(java.lang.String deploymentId)
void
setEditorSourceExtraValueId(java.lang.String editorSourceExtraValueId)
void
setEditorSourceValueId(java.lang.String editorSourceValueId)
void
setKey(java.lang.String key)
void
setLastUpdateTime(java.util.Date lastUpdateTime)
void
setMetaInfo(java.lang.String metaInfo)
void
setName(java.lang.String name)
void
setTenantId(java.lang.String tenantId)
void
setVersion(java.lang.Integer version)
-
Methods inherited from class org.activiti.engine.impl.persistence.entity.AbstractEntity
getId, getRevision, getRevisionNext, isDeleted, isInserted, isUpdated, setDeleted, setId, setInserted, setRevision, setUpdated
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.activiti.engine.impl.persistence.entity.Entity
getId, isDeleted, isInserted, isUpdated, setDeleted, setId, setInserted, setUpdated
-
Methods inherited from interface org.activiti.engine.impl.db.HasRevision
getRevision, getRevisionNext, setRevision
-
-
-
-
Field Detail
-
name
protected java.lang.String name
-
key
protected java.lang.String key
-
category
protected java.lang.String category
-
createTime
protected java.util.Date createTime
-
lastUpdateTime
protected java.util.Date lastUpdateTime
-
version
protected java.lang.Integer version
-
metaInfo
protected java.lang.String metaInfo
-
deploymentId
protected java.lang.String deploymentId
-
editorSourceValueId
protected java.lang.String editorSourceValueId
-
editorSourceExtraValueId
protected java.lang.String editorSourceExtraValueId
-
tenantId
protected java.lang.String tenantId
-
-
Method Detail
-
getPersistentState
public java.lang.Object getPersistentState()
Description copied from interface:Entity
Returns a representation of the object, as would be stored in the database. Used when deciding if updates have occurred to the object or not since it was last loaded.- Specified by:
getPersistentState
in interfaceEntity
-
getCategory
public java.lang.String getCategory()
- Specified by:
getCategory
in interfaceModel
-
setCategory
public void setCategory(java.lang.String category)
- Specified by:
setCategory
in interfaceModel
-
getCreateTime
public java.util.Date getCreateTime()
- Specified by:
getCreateTime
in interfaceModel
-
setCreateTime
public void setCreateTime(java.util.Date createTime)
- Specified by:
setCreateTime
in interfaceModelEntity
-
getLastUpdateTime
public java.util.Date getLastUpdateTime()
- Specified by:
getLastUpdateTime
in interfaceModel
-
setLastUpdateTime
public void setLastUpdateTime(java.util.Date lastUpdateTime)
- Specified by:
setLastUpdateTime
in interfaceModelEntity
-
getVersion
public java.lang.Integer getVersion()
- Specified by:
getVersion
in interfaceModel
-
setVersion
public void setVersion(java.lang.Integer version)
- Specified by:
setVersion
in interfaceModel
-
getMetaInfo
public java.lang.String getMetaInfo()
- Specified by:
getMetaInfo
in interfaceModel
-
setMetaInfo
public void setMetaInfo(java.lang.String metaInfo)
- Specified by:
setMetaInfo
in interfaceModel
-
getDeploymentId
public java.lang.String getDeploymentId()
- Specified by:
getDeploymentId
in interfaceModel
-
setDeploymentId
public void setDeploymentId(java.lang.String deploymentId)
- Specified by:
setDeploymentId
in interfaceModel
-
getEditorSourceValueId
public java.lang.String getEditorSourceValueId()
- Specified by:
getEditorSourceValueId
in interfaceModelEntity
-
setEditorSourceValueId
public void setEditorSourceValueId(java.lang.String editorSourceValueId)
- Specified by:
setEditorSourceValueId
in interfaceModelEntity
-
getEditorSourceExtraValueId
public java.lang.String getEditorSourceExtraValueId()
- Specified by:
getEditorSourceExtraValueId
in interfaceModelEntity
-
setEditorSourceExtraValueId
public void setEditorSourceExtraValueId(java.lang.String editorSourceExtraValueId)
- Specified by:
setEditorSourceExtraValueId
in interfaceModelEntity
-
getTenantId
public java.lang.String getTenantId()
- Specified by:
getTenantId
in interfaceModel
-
setTenantId
public void setTenantId(java.lang.String tenantId)
- Specified by:
setTenantId
in interfaceModel
-
hasEditorSource
public boolean hasEditorSource()
Description copied from interface:Model
whether this model has editor source- Specified by:
hasEditorSource
in interfaceModel
-
hasEditorSourceExtra
public boolean hasEditorSourceExtra()
Description copied from interface:Model
whether this model has editor source extra- Specified by:
hasEditorSourceExtra
in interfaceModel
-
-