Package org.flowable.ui.modeler.domain
Class AbstractModel
- java.lang.Object
-
- org.flowable.ui.modeler.domain.AbstractModel
-
- Direct Known Subclasses:
Model,ModelHistory
public class AbstractModel extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected Stringcommentprotected Datecreatedprotected Stringdescriptionprotected Stringidprotected Stringkeyprotected DatelastUpdatedstatic intMODEL_TYPE_APPstatic intMODEL_TYPE_BPMNstatic intMODEL_TYPE_CMMNstatic intMODEL_TYPE_DECISION_SERVICEstatic intMODEL_TYPE_DECISION_TABLEstatic intMODEL_TYPE_FORMprotected StringmodelEditorJsonprotected IntegermodelTypeprotected Stringnameprotected StringtenantIdprotected intversion
-
Constructor Summary
Constructors Constructor Description AbstractModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetComment()DategetCreated()StringgetCreatedBy()StringgetDescription()StringgetId()StringgetKey()DategetLastUpdated()StringgetLastUpdatedBy()StringgetModelEditorJson()IntegergetModelType()StringgetName()StringgetTenantId()intgetVersion()voidsetComment(String comment)voidsetCreated(Date created)voidsetCreatedBy(String createdBy)voidsetDescription(String description)voidsetId(String id)voidsetKey(String key)voidsetLastUpdated(Date lastUpdated)voidsetLastUpdatedBy(String lastUpdatedBy)voidsetModelEditorJson(String modelEditorJson)voidsetModelType(Integer modelType)voidsetName(String name)voidsetTenantId(String tenantId)voidsetVersion(int version)
-
-
-
Field Detail
-
MODEL_TYPE_BPMN
public static final int MODEL_TYPE_BPMN
- See Also:
- Constant Field Values
-
MODEL_TYPE_FORM
public static final int MODEL_TYPE_FORM
- See Also:
- Constant Field Values
-
MODEL_TYPE_APP
public static final int MODEL_TYPE_APP
- See Also:
- Constant Field Values
-
MODEL_TYPE_DECISION_TABLE
public static final int MODEL_TYPE_DECISION_TABLE
- See Also:
- Constant Field Values
-
MODEL_TYPE_CMMN
public static final int MODEL_TYPE_CMMN
- See Also:
- Constant Field Values
-
MODEL_TYPE_DECISION_SERVICE
public static final int MODEL_TYPE_DECISION_SERVICE
- See Also:
- Constant Field Values
-
id
protected String id
-
name
protected String name
-
key
protected String key
-
description
protected String description
-
created
protected Date created
-
lastUpdated
protected Date lastUpdated
-
version
protected int version
-
modelEditorJson
protected String modelEditorJson
-
comment
protected String comment
-
modelType
protected Integer modelType
-
tenantId
protected String tenantId
-
-
Method Detail
-
getId
public String getId()
-
setId
public void setId(String id)
-
getName
public String getName()
-
setName
public void setName(String name)
-
getKey
public String getKey()
-
setKey
public void setKey(String key)
-
getDescription
public String getDescription()
-
setDescription
public void setDescription(String description)
-
getCreated
public Date getCreated()
-
setCreated
public void setCreated(Date created)
-
getLastUpdated
public Date getLastUpdated()
-
setLastUpdated
public void setLastUpdated(Date lastUpdated)
-
getCreatedBy
public String getCreatedBy()
-
setCreatedBy
public void setCreatedBy(String createdBy)
-
getLastUpdatedBy
public String getLastUpdatedBy()
-
setLastUpdatedBy
public void setLastUpdatedBy(String lastUpdatedBy)
-
getVersion
public int getVersion()
-
setVersion
public void setVersion(int version)
-
getModelEditorJson
public String getModelEditorJson()
-
setModelEditorJson
public void setModelEditorJson(String modelEditorJson)
-
setComment
public void setComment(String comment)
-
getComment
public String getComment()
-
getModelType
public Integer getModelType()
-
setModelType
public void setModelType(Integer modelType)
-
getTenantId
public String getTenantId()
-
setTenantId
public void setTenantId(String tenantId)
-
-