Class MasterDataInstanceEntityImpl

java.lang.Object
org.flowable.common.engine.impl.persistence.entity.AbstractEntity
com.flowable.dataobject.engine.impl.persistence.entity.AbstractDataObjectEngineEntity
com.flowable.dataobject.engine.impl.persistence.entity.MasterDataInstanceEntityImpl
All Implemented Interfaces:
MasterDataInstance, MasterDataInstanceEntity, org.flowable.common.engine.impl.db.HasRevision, org.flowable.common.engine.impl.persistence.entity.Entity

public class MasterDataInstanceEntityImpl
extends AbstractDataObjectEngineEntity
implements MasterDataInstanceEntity
  • Field Summary

    Fields 
    Modifier and Type Field Description
    protected java.util.Date creationTime  
    protected java.lang.String creatorId  
    protected java.lang.String definitionId  
    protected java.lang.String definitionKey  
    protected java.lang.String description  
    protected java.lang.String externalId  
    protected boolean favorite  
    protected java.lang.String key  
    protected java.lang.String name  
    protected java.util.List<DataObjectVariableEntity> queryVariables  
    protected int sortOrder  
    protected java.lang.String state  
    protected java.lang.String tenantId  
    protected java.lang.String updaterId  
    protected java.util.Date updateTime  
    protected java.util.Map<java.lang.String,​java.lang.Object> variables  
    protected boolean variablesInitialized  

    Fields inherited from class org.flowable.common.engine.impl.persistence.entity.AbstractEntity

    id, isDeleted, isInserted, isUpdated, originalPersistentState, revision
  • Constructor Summary

    Constructors 
    Constructor Description
    MasterDataInstanceEntityImpl()  
  • Method Summary

    Modifier and Type Method Description
    java.util.Date getCreationTime()
    Returns the creation timestamp of this data instance.
    java.lang.String getCreatorId()
    Returns the id of the user creating this data instance.
    java.lang.String getDefinitionId()
    Returns the id of the master data definition this instance belongs to.
    java.lang.String getDefinitionKey()
    Returns the key of the master data definition this instance belongs to.
    java.lang.String getDescription()
    Returns the optional description of this master data instance, if any, null otherwise.
    java.lang.String getExternalId()
    Returns the external id of this master data instance.
    java.lang.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.
    java.lang.String getLocalizedName​(java.util.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.
    java.lang.String getName()
    Returns the name of this master data instance which is usually used as the label.
    java.lang.Object getPersistentState()  
    java.util.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.
    java.lang.String getState()
    Returns the state of this master data instance which might be active or archived.
    java.lang.String getTenantId()
    Returns the tenant id for this master data instance.
    java.lang.String getUpdaterId()
    Returns the optional id of the user having last modified this data instance, if any, null otherwise.
    java.util.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.
    java.util.Map<java.lang.String,​java.lang.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​(java.util.Date creationTime)  
    void setCreatorId​(java.lang.String creatorId)  
    void setDefinitionId​(java.lang.String definitionId)  
    void setDefinitionKey​(java.lang.String definitionKey)  
    void setDescription​(java.lang.String description)  
    void setExternalId​(java.lang.String externalId)  
    void setFavorite​(boolean favorite)  
    void setKey​(java.lang.String key)  
    void setName​(java.lang.String name)  
    void setQueryVariables​(java.util.List<DataObjectVariableEntity> queryVariables)
    Setter used by MyBatis when querying master data instances with variables.
    void setSortOrder​(int sortOrder)  
    void setState​(java.lang.String state)  
    void setTenantId​(java.lang.String tenantId)  
    void setUpdaterId​(java.lang.String updaterId)  
    void setUpdateTime​(java.util.Date updateTime)  

    Methods inherited from class com.flowable.dataobject.engine.impl.persistence.entity.AbstractDataObjectEngineEntity

    getIdPrefix

    Methods inherited from class org.flowable.common.engine.impl.persistence.entity.AbstractEntity

    getId, getOriginalPersistentState, getRevision, getRevisionNext, isDeleted, isInserted, isUpdated, setDeleted, setId, setInserted, setOriginalPersistentState, 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.flowable.common.engine.impl.persistence.entity.Entity

    getId, getIdPrefix, getOriginalPersistentState, isDeleted, isInserted, isUpdated, setDeleted, setId, setInserted, setOriginalPersistentState, setUpdated

    Methods inherited from interface org.flowable.common.engine.impl.db.HasRevision

    getRevision, getRevisionNext, setRevision

    Methods inherited from interface com.flowable.dataobject.api.runtime.MasterDataInstance

    getId