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.Stringcategoryprotected java.util.DatecreateTimeprotected java.lang.StringdeploymentIdprotected java.lang.StringeditorSourceExtraValueIdprotected java.lang.StringeditorSourceValueIdprotected java.lang.Stringkeyprotected java.util.DatelastUpdateTimeprotected java.lang.StringmetaInfoprotected java.lang.Stringnameprotected java.lang.StringtenantIdprotected java.lang.Integerversion-
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.StringgetCategory()java.util.DategetCreateTime()java.lang.StringgetDeploymentId()java.lang.StringgetEditorSourceExtraValueId()java.lang.StringgetEditorSourceValueId()java.lang.StringgetKey()java.util.DategetLastUpdateTime()java.lang.StringgetMetaInfo()java.lang.StringgetName()java.lang.ObjectgetPersistentState()Returns a representation of the object, as would be stored in the database.java.lang.StringgetTenantId()java.lang.IntegergetVersion()booleanhasEditorSource()whether this model has editor sourcebooleanhasEditorSourceExtra()whether this model has editor source extravoidsetCategory(java.lang.String category)voidsetCreateTime(java.util.Date createTime)voidsetDeploymentId(java.lang.String deploymentId)voidsetEditorSourceExtraValueId(java.lang.String editorSourceExtraValueId)voidsetEditorSourceValueId(java.lang.String editorSourceValueId)voidsetKey(java.lang.String key)voidsetLastUpdateTime(java.util.Date lastUpdateTime)voidsetMetaInfo(java.lang.String metaInfo)voidsetName(java.lang.String name)voidsetTenantId(java.lang.String tenantId)voidsetVersion(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:EntityReturns 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:
getPersistentStatein interfaceEntity
-
getCategory
public java.lang.String getCategory()
- Specified by:
getCategoryin interfaceModel
-
setCategory
public void setCategory(java.lang.String category)
- Specified by:
setCategoryin interfaceModel
-
getCreateTime
public java.util.Date getCreateTime()
- Specified by:
getCreateTimein interfaceModel
-
setCreateTime
public void setCreateTime(java.util.Date createTime)
- Specified by:
setCreateTimein interfaceModelEntity
-
getLastUpdateTime
public java.util.Date getLastUpdateTime()
- Specified by:
getLastUpdateTimein interfaceModel
-
setLastUpdateTime
public void setLastUpdateTime(java.util.Date lastUpdateTime)
- Specified by:
setLastUpdateTimein interfaceModelEntity
-
getVersion
public java.lang.Integer getVersion()
- Specified by:
getVersionin interfaceModel
-
setVersion
public void setVersion(java.lang.Integer version)
- Specified by:
setVersionin interfaceModel
-
getMetaInfo
public java.lang.String getMetaInfo()
- Specified by:
getMetaInfoin interfaceModel
-
setMetaInfo
public void setMetaInfo(java.lang.String metaInfo)
- Specified by:
setMetaInfoin interfaceModel
-
getDeploymentId
public java.lang.String getDeploymentId()
- Specified by:
getDeploymentIdin interfaceModel
-
setDeploymentId
public void setDeploymentId(java.lang.String deploymentId)
- Specified by:
setDeploymentIdin interfaceModel
-
getEditorSourceValueId
public java.lang.String getEditorSourceValueId()
- Specified by:
getEditorSourceValueIdin interfaceModelEntity
-
setEditorSourceValueId
public void setEditorSourceValueId(java.lang.String editorSourceValueId)
- Specified by:
setEditorSourceValueIdin interfaceModelEntity
-
getEditorSourceExtraValueId
public java.lang.String getEditorSourceExtraValueId()
- Specified by:
getEditorSourceExtraValueIdin interfaceModelEntity
-
setEditorSourceExtraValueId
public void setEditorSourceExtraValueId(java.lang.String editorSourceExtraValueId)
- Specified by:
setEditorSourceExtraValueIdin interfaceModelEntity
-
getTenantId
public java.lang.String getTenantId()
- Specified by:
getTenantIdin interfaceModel
-
setTenantId
public void setTenantId(java.lang.String tenantId)
- Specified by:
setTenantIdin interfaceModel
-
hasEditorSource
public boolean hasEditorSource()
Description copied from interface:Modelwhether this model has editor source- Specified by:
hasEditorSourcein interfaceModel
-
hasEditorSourceExtra
public boolean hasEditorSourceExtra()
Description copied from interface:Modelwhether this model has editor source extra- Specified by:
hasEditorSourceExtrain interfaceModel
-
-