public class MasterDataInstanceEntityImpl extends AbstractDataObjectEngineEntity implements MasterDataInstanceEntity
| Modifier and Type | Field and Description |
|---|---|
protected Date |
creationTime |
protected String |
creatorId |
protected String |
definitionId |
protected String |
definitionKey |
protected String |
description |
protected String |
externalId |
protected boolean |
favorite |
protected String |
key |
protected String |
name |
protected List<DataObjectVariableEntity> |
queryVariables |
protected int |
sortOrder |
protected String |
state |
protected String |
updaterId |
protected Date |
updateTime |
protected Map<String,Object> |
variables |
protected boolean |
variablesInitialized |
| Constructor and Description |
|---|
MasterDataInstanceEntityImpl() |
| Modifier and Type | Method and Description |
|---|---|
Date |
getCreationTime()
Returns the creation timestamp of this data instance.
|
String |
getCreatorId()
Returns the id of the user creating this data instance.
|
String |
getDefinitionId()
Returns the id of the master data definition this instance belongs to.
|
String |
getDefinitionKey()
Returns the key of the master data definition this instance belongs to.
|
String |
getDescription()
Returns the optional description of this master data instance, if any, null otherwise.
|
String |
getExternalId()
Returns the external id of this master data instance.
|
String |
getKey()
Returns the key for this master data instance which must be unique, but is human-readable normally and must be the same across environments for the
same master data instance.
|
String |
getLocalizedName(Locale locale)
Returns the name for this instance according the given locale, if available, defaults to the name provided by
MasterDataInstance.getName() if there is no
translation available for the requested locale. |
String |
getName()
Returns the name of this master data instance which is usually used as the label.
|
Object |
getPersistentState() |
List<DataObjectVariableEntity> |
getQueryVariables()
Getter used by MyBatis when querying master data instances with variables included.
|
int |
getSortOrder()
Returns the sort order for this master data instance.
|
String |
getState()
Returns the state of this master data instance which might be active or archived.
|
String |
getUpdaterId()
Returns the optional id of the user having last modified this data instance, if any,
null otherwise. |
Date |
getUpdateTime()
Returns the timestamp of the last update of this data instance, in most cases where events are immutable, this
timestamp is the same as the creation timestamp, but must never be
null. |
Map<String,Object> |
getVariables()
Returns the optional map of variables attached to this master data instance.
|
boolean |
isFavorite()
Returns true, if this master data instance is a favorite, which means it should be shown on the top of the list in a selection for instance.
|
void |
setCreationTime(Date creationTime) |
void |
setCreatorId(String creatorId) |
void |
setDefinitionId(String definitionId) |
void |
setDefinitionKey(String definitionKey) |
void |
setDescription(String description) |
void |
setExternalId(String externalId) |
void |
setFavorite(boolean favorite) |
void |
setKey(String key) |
void |
setName(String name) |
void |
setQueryVariables(List<DataObjectVariableEntity> queryVariables)
Setter used by MyBatis when querying master data instances with variables.
|
void |
setSortOrder(int sortOrder) |
void |
setState(String state) |
void |
setUpdaterId(String updaterId) |
void |
setUpdateTime(Date updateTime) |
getIdPrefixgetId, getOriginalPersistentState, getRevision, getRevisionNext, isDeleted, isInserted, isUpdated, setDeleted, setId, setInserted, setOriginalPersistentState, setRevision, setUpdatedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetIdprotected String definitionId
protected String definitionKey
protected String externalId
protected String key
protected String name
protected String state
protected int sortOrder
protected boolean favorite
protected String description
protected Date creationTime
protected String creatorId
protected Date updateTime
protected String updaterId
protected List<DataObjectVariableEntity> queryVariables
protected boolean variablesInitialized
public Object getPersistentState()
getPersistentState in interface org.flowable.common.engine.impl.persistence.entity.Entitypublic String getDefinitionId()
MasterDataInstancegetDefinitionId in interface MasterDataInstancepublic void setDefinitionId(String definitionId)
setDefinitionId in interface MasterDataInstanceEntitypublic String getDefinitionKey()
MasterDataInstancegetDefinitionKey in interface MasterDataInstancepublic void setDefinitionKey(String definitionKey)
setDefinitionKey in interface MasterDataInstanceEntitypublic String getExternalId()
MasterDataInstancegetExternalId in interface MasterDataInstanceMasterDataInstance.getId() if this data object is managed internally and not by an external data sourcepublic void setExternalId(String externalId)
setExternalId in interface MasterDataInstanceEntitypublic String getKey()
MasterDataInstancegetKey in interface MasterDataInstancepublic void setKey(String key)
setKey in interface MasterDataInstanceEntitypublic String getName()
MasterDataInstancegetName in interface MasterDataInstancepublic void setName(String name)
setName in interface MasterDataInstanceEntitypublic String getState()
MasterDataInstancegetState in interface MasterDataInstancefor a list of available statespublic void setState(String state)
setState in interface MasterDataInstanceEntitypublic int getSortOrder()
MasterDataInstancegetSortOrder in interface MasterDataInstancepublic void setSortOrder(int sortOrder)
setSortOrder in interface MasterDataInstanceEntitypublic boolean isFavorite()
MasterDataInstanceisFavorite in interface MasterDataInstancepublic void setFavorite(boolean favorite)
setFavorite in interface MasterDataInstanceEntitypublic String getDescription()
MasterDataInstancegetDescription in interface MasterDataInstancepublic void setDescription(String description)
setDescription in interface MasterDataInstanceEntitypublic Date getCreationTime()
MasterDataInstancegetCreationTime in interface MasterDataInstancepublic void setCreationTime(Date creationTime)
setCreationTime in interface MasterDataInstanceEntitypublic String getCreatorId()
MasterDataInstancegetCreatorId in interface MasterDataInstancepublic void setCreatorId(String creatorId)
setCreatorId in interface MasterDataInstanceEntitypublic Date getUpdateTime()
MasterDataInstancenull.getUpdateTime in interface MasterDataInstancepublic void setUpdateTime(Date updateTime)
setUpdateTime in interface MasterDataInstanceEntitypublic String getUpdaterId()
MasterDataInstancenull otherwise.getUpdaterId in interface MasterDataInstancepublic void setUpdaterId(String updaterId)
setUpdaterId in interface MasterDataInstanceEntitypublic String getLocalizedName(Locale locale)
MasterDataInstanceMasterDataInstance.getName() if there is no
translation available for the requested locale.getLocalizedName in interface MasterDataInstancelocale - the locale to return the name forpublic Map<String,Object> getVariables()
MasterDataInstancegetVariables in interface MasterDataInstancepublic List<DataObjectVariableEntity> getQueryVariables()
public void setQueryVariables(List<DataObjectVariableEntity> queryVariables)
setQueryVariables in interface MasterDataInstanceEntityCopyright © 2019. All rights reserved.