Class DBInfo

java.lang.Object
mc.core.model.system.DBInfo
All Implemented Interfaces:
Serializable, IBaseEntity, ICoreEntity

@Entity public class DBInfo extends Object implements IBaseEntity
Entity to control initialisation state of database. With first initialization initial data is created in database that must be present in order for the system to function. After successful initialization flag initialDataSetup is set to true to prevent repeatedly insertion of initial data.
Fields versionSchema and versionData serve to keep track of changes on database schema and runs of automated insertion of data - currently not yet used.
contentStoreId: String, unique id to link this database to the corresponding file content store, is created by system on initialization.
See Also:
  • Constructor Details

    • DBInfo

      public DBInfo()
  • Method Details

    • getId

      public long getId()
      Specified by:
      getId in interface IBaseEntity
    • setId

      public void setId(long id)
      Specified by:
      setId in interface IBaseEntity
    • getIsInitialDataSetup

      public boolean getIsInitialDataSetup()
    • setIsInitialDataSetup

      public void setIsInitialDataSetup(boolean initialDataSetup)
    • getVersionSchema

      public String getVersionSchema()
    • setVersionSchema

      public void setVersionSchema(String version)
    • getVersionData

      public String getVersionData()
    • setVersionData

      public void setVersionData(String versionData)
    • getContentStoreId

      public String getContentStoreId()
    • setContentStoreId

      public void setContentStoreId(String storeId)
    • getContentStoreKey

      public String getContentStoreKey()
    • setContentStoreKey

      public void setContentStoreKey(String contentStoreKey)
    • getContentStoreSalt

      public String getContentStoreSalt()
    • setContentStoreSalt

      public void setContentStoreSalt(String contentStoreSalt)