Class Datatable

    • Constructor Detail

      • Datatable

        public Datatable()
    • Method Detail

      • getUUID

        public String getUUID()
        Description copied from interface: IUUIDEntity
        Gets the UUID (universal unique identifier) that uniquely identifies this type of entity. Whether the UUID must be globally unique or only with within a context depends on the type of entity. Common contexts are for example client scopes or project scope.
        Specified by:
        getUUID in interface IUUIDEntity
        Returns:
        The UUID of the entity.
      • setUUID

        public void setUUID​(String uuid)
        Description copied from interface: IUUIDEntity
        Sets the UUID (universal unique identifier) that uniquely identifies this type of entity. Whether the UUID must be globally unique or only with within a context depends on the type of entity. Common contexts are for example client scopes or project scope.
        Specified by:
        setUUID in interface IUUIDEntity
        Parameters:
        uuid - The UUID of the entity.
      • getUUIDObject

        public UUID getUUIDObject()
        Description copied from interface: IUUIDEntity
        Gets the UUID (universal unique identifier) that uniquely identifies this type of entity. Whether the UUID must be globally unique or only with within a context depends on the type of entity. Common contexts are for example client scopes or project scope.
        Specified by:
        getUUIDObject in interface IUUIDEntity
        Returns:
        The UUID of the entity.
      • setUUIDObject

        public void setUUIDObject​(UUID uuid)
      • getId

        public Long getId()
        Specified by:
        getId in interface de.xima.cmn.dao.interfaces.IEntity<Long>
      • getTableName

        public String getTableName()
        Retrieves the datatable's table name.
        Returns:
        table name
      • getDataTableTemplateString

        public String getDataTableTemplateString()
      • setDataTableTemplateString

        public void setDataTableTemplateString​(String dataTableTemplateString)
      • isSystemDatabase

        public boolean isSystemDatabase()
        Determines, whether the table is to be stored in the system database.
        Returns:
        true, if system database
      • getTableNameForExternalDatabase

        public String getTableNameForExternalDatabase​(String name)
        Generates the table name for an external datatable. External datatables always have a unique name, due to the datatable ID, which is being appended.
        Parameters:
        name - name of the datatable
        Returns:
        table name
      • setDbConnection

        public void setDbConnection​(DatenbankZugriff dbConnection)
        DB connection
      • setName

        public void setName​(String name)
        Name
      • setTableName

        public void setTableName​(String tableName)
        Table name to override default naming schema. The table name is being excluded in export and will be generated again after import.