Class ConfigurationEntity

java.lang.Object
org.finos.fluxnova.bpm.engine.impl.persistence.entity.ConfigurationEntity
All Implemented Interfaces:
Serializable, Configuration, DbEntity

public class ConfigurationEntity extends Object implements Configuration, Serializable, DbEntity
See Also:
  • Field Details

    • id

      protected String id
    • configKey

      protected String configKey
    • tenantId

      protected String tenantId
    • configValue

      protected String configValue
    • version

      protected int version
    • status

      protected String status
    • createdBy

      protected String createdBy
    • createdAt

      protected Date createdAt
    • updatedBy

      protected String updatedBy
    • updatedAt

      protected Date updatedAt
  • Constructor Details

    • ConfigurationEntity

      public ConfigurationEntity()
    • ConfigurationEntity

      public ConfigurationEntity(String configKey, String configValue, String tenantId)
  • Method Details

    • getPersistentState

      public Object getPersistentState()
      Description copied from interface: DbEntity
      Returns 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:
      getPersistentState in interface DbEntity
    • getId

      public String getId()
      Specified by:
      getId in interface Configuration
      Specified by:
      getId in interface DbEntity
      Returns:
      the id of the configuration entry
    • setId

      public void setId(String id)
      Specified by:
      setId in interface DbEntity
    • getConfigKey

      public String getConfigKey()
      Specified by:
      getConfigKey in interface Configuration
      Returns:
      the configuration key
    • setConfigKey

      public void setConfigKey(String configKey)
    • getTenantId

      public String getTenantId()
      Specified by:
      getTenantId in interface Configuration
      Returns:
      the id of the tenant this entry belongs to, or null for a global entry
    • setTenantId

      public void setTenantId(String tenantId)
    • getConfigValue

      public String getConfigValue()
      Specified by:
      getConfigValue in interface Configuration
      Returns:
      the configuration value
    • setConfigValue

      public void setConfigValue(String configValue)
    • getVersion

      public int getVersion()
      Specified by:
      getVersion in interface Configuration
      Returns:
      the version of this entry, starting at 1
    • setVersion

      public void setVersion(int version)
    • getStatus

      public String getStatus()
      Specified by:
      getStatus in interface Configuration
      Returns:
      the lifecycle status: Configuration.STATUS_ACTIVE, Configuration.STATUS_INACTIVE or Configuration.STATUS_DELETED
    • setStatus

      public void setStatus(String status)
    • getCreatedBy

      public String getCreatedBy()
      Specified by:
      getCreatedBy in interface Configuration
      Returns:
      the id of the user who created this entry
    • setCreatedBy

      public void setCreatedBy(String createdBy)
    • getCreatedAt

      public Date getCreatedAt()
      Specified by:
      getCreatedAt in interface Configuration
      Returns:
      the time this entry was created
    • setCreatedAt

      public void setCreatedAt(Date createdAt)
    • getUpdatedBy

      public String getUpdatedBy()
      Specified by:
      getUpdatedBy in interface Configuration
      Returns:
      the id of the user who last updated this entry
    • setUpdatedBy

      public void setUpdatedBy(String updatedBy)
    • getUpdatedAt

      public Date getUpdatedAt()
      Specified by:
      getUpdatedAt in interface Configuration
      Returns:
      the time this entry was last updated
    • setUpdatedAt

      public void setUpdatedAt(Date updatedAt)
    • toString

      public String toString()
      Overrides:
      toString in class Object