Class ConfigurationEntity
java.lang.Object
org.finos.fluxnova.bpm.engine.impl.persistence.entity.ConfigurationEntity
- All Implemented Interfaces:
Serializable,Configuration,DbEntity
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected Stringprotected Dateprotected Stringprotected Stringprotected Stringprotected Stringprotected Dateprotected Stringprotected intFields inherited from interface org.finos.fluxnova.bpm.engine.configuration.Configuration
STATUS_ACTIVE, STATUS_DELETED, STATUS_INACTIVE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetId()Returns a representation of the object, as would be stored in the database.intvoidsetConfigKey(String configKey) voidsetConfigValue(String configValue) voidsetCreatedAt(Date createdAt) voidsetCreatedBy(String createdBy) voidvoidvoidsetTenantId(String tenantId) voidsetUpdatedAt(Date updatedAt) voidsetUpdatedBy(String updatedBy) voidsetVersion(int version) toString()
-
Field Details
-
id
-
configKey
-
tenantId
-
configValue
-
version
protected int version -
status
-
createdBy
-
createdAt
-
updatedBy
-
updatedAt
-
-
Constructor Details
-
ConfigurationEntity
public ConfigurationEntity() -
ConfigurationEntity
-
-
Method Details
-
getPersistentState
Description copied from interface:DbEntityReturns 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 interfaceDbEntity
-
getId
- Specified by:
getIdin interfaceConfiguration- Specified by:
getIdin interfaceDbEntity- Returns:
- the id of the configuration entry
-
setId
-
getConfigKey
- Specified by:
getConfigKeyin interfaceConfiguration- Returns:
- the configuration key
-
setConfigKey
-
getTenantId
- Specified by:
getTenantIdin interfaceConfiguration- Returns:
- the id of the tenant this entry belongs to, or
nullfor a global entry
-
setTenantId
-
getConfigValue
- Specified by:
getConfigValuein interfaceConfiguration- Returns:
- the configuration value
-
setConfigValue
-
getVersion
public int getVersion()- Specified by:
getVersionin interfaceConfiguration- Returns:
- the version of this entry, starting at 1
-
setVersion
public void setVersion(int version) -
getStatus
- Specified by:
getStatusin interfaceConfiguration- Returns:
- the lifecycle status:
Configuration.STATUS_ACTIVE,Configuration.STATUS_INACTIVEorConfiguration.STATUS_DELETED
-
setStatus
-
getCreatedBy
- Specified by:
getCreatedByin interfaceConfiguration- Returns:
- the id of the user who created this entry
-
setCreatedBy
-
getCreatedAt
- Specified by:
getCreatedAtin interfaceConfiguration- Returns:
- the time this entry was created
-
setCreatedAt
-
getUpdatedBy
- Specified by:
getUpdatedByin interfaceConfiguration- Returns:
- the id of the user who last updated this entry
-
setUpdatedBy
-
getUpdatedAt
- Specified by:
getUpdatedAtin interfaceConfiguration- Returns:
- the time this entry was last updated
-
setUpdatedAt
-
toString
-