Class SpeechDBInfo

  • All Implemented Interfaces:
    java.io.Serializable

    @Entity
    public class SpeechDBInfo
    extends java.lang.Object
    implements java.io.Serializable
    Speech DB Info Stores informations about the current speech DB schema. Contains the JPA TableGenerator annotation for the shared ID generator. We use a table generator instead of a sequence generator, because not all DB implementations provide sequences (e.g. MySQL). Update: back to sequence generator. More easy to use with manual DB modifications. The ID sequence has an allocation size of 1 (default: 50) to avoid whole in the ID sequence with manual modifications in the DB. ( JPA allocates 50 ID's per default uses an internal counter to set single step ID's)
    See Also:
    Serialized Form
    • Constructor Detail

      • SpeechDBInfo

        public SpeechDBInfo()
        default constructor
      • SpeechDBInfo

        public SpeechDBInfo​(int infoId)
        minimal constructor
    • Method Detail

      • getInfoId

        public int getInfoId()
      • setInfoId

        public void setInfoId​(int infoId)
      • getName

        public java.lang.String getName()
      • setName

        public void setName​(java.lang.String name)
      • getDescription

        public java.lang.String getDescription()
      • setDescription

        public void setDescription​(java.lang.String description)
      • getVersion

        public java.lang.String getVersion()
      • setVersion

        public void setVersion​(java.lang.String version)
      • getUpdateFrom

        public java.lang.String getUpdateFrom()
      • setUpdateFrom

        public void setUpdateFrom​(java.lang.String updateFrom)
      • getDeploymentDate

        public java.util.Date getDeploymentDate()
      • setDeploymentDate

        public void setDeploymentDate​(java.util.Date deploymentDate)