public class ModelRepresentation extends AbstractRepresentation
| Modifier and Type | Field and Description |
|---|---|
protected String |
comment |
protected String |
createdBy |
protected String |
description |
protected String |
id |
protected String |
key |
protected Date |
lastUpdated |
protected String |
lastUpdatedBy |
protected boolean |
latestVersion |
protected Integer |
modelType |
protected String |
name |
protected String |
tenantId |
protected int |
version |
| Constructor and Description |
|---|
ModelRepresentation() |
ModelRepresentation(AbstractModel model) |
| Modifier and Type | Method and Description |
|---|---|
String |
getComment() |
String |
getCreatedBy() |
String |
getDescription() |
String |
getId() |
String |
getKey() |
Date |
getLastUpdated() |
String |
getLastUpdatedBy() |
Integer |
getModelType() |
String |
getName() |
String |
getTenantId() |
int |
getVersion() |
void |
initialize(AbstractModel model) |
boolean |
isLatestVersion() |
void |
setComment(String comment) |
void |
setCreatedBy(String createdBy) |
void |
setDescription(String description) |
void |
setId(String id) |
void |
setKey(String key) |
void |
setLastUpdated(Date lastUpdated) |
void |
setLastUpdatedBy(String lastUpdatedBy) |
void |
setLatestVersion(boolean latestVersion) |
void |
setModelType(Integer modelType) |
void |
setName(String name) |
void |
setTenantId(String tenantId) |
void |
setVersion(int version) |
Model |
toModel() |
void |
updateModel(Model model)
Update all editable properties of the given
Model based on the values in this instance. |
protected String id
protected String name
protected String key
protected String description
protected String createdBy
protected String lastUpdatedBy
protected Date lastUpdated
protected boolean latestVersion
protected int version
protected String comment
protected Integer modelType
protected String tenantId
public ModelRepresentation(AbstractModel model)
public ModelRepresentation()
public void initialize(AbstractModel model)
public String getId()
public void setId(String id)
public String getName()
public void setName(String name)
public String getKey()
public void setKey(String key)
public String getDescription()
public void setDescription(String description)
public Date getLastUpdated()
public void setLastUpdated(Date lastUpdated)
public String getCreatedBy()
public void setCreatedBy(String createdBy)
public void setLatestVersion(boolean latestVersion)
public boolean isLatestVersion()
public int getVersion()
public void setVersion(int version)
public String getLastUpdatedBy()
public void setLastUpdatedBy(String lastUpdatedBy)
public void setComment(String comment)
public String getComment()
public Integer getModelType()
public void setModelType(Integer modelType)
public String getTenantId()
public void setTenantId(String tenantId)
public Model toModel()
Copyright © 2018 Flowable. All rights reserved.