Class PromptQueryFileDataEntity

java.lang.Object
de.xima.fc.prompt.ms.impl.dao.entities.PromptQueryFileDataEntity

@Entity public class PromptQueryFileDataEntity extends Object
Entity model for the data of a prompt query.
Since:
8.5.0
Author:
XIMA MEDIA GmbH
  • Constructor Details

    • PromptQueryFileDataEntity

      public PromptQueryFileDataEntity()
  • Method Details

    • getData

      public byte[] getData()
      Gets the binary file data.
      Returns:
      The data.
    • setData

      public void setData(byte[] data)
      Sets the file-data in binary form
      Parameters:
      data - the file-data to set
    • getId

      public Long getId()
      Gets the unique database ID of this file. The database ID is unique within the system.
      Returns:
      The database ID of this file data entity.
    • setId

      public void setId(Long id)
      Sets the unique database ID of this file data entity.
      Parameters:
      id - The database ID to set.
    • getMetaEntity

      public PromptQueryFileEntity getMetaEntity()
      Gets the file entity with the file's metadata (file name, mime type etc.) that contains this binary data.
      Returns:
      The file metadata entity.
    • setMetaEntity

      public void setMetaEntity(PromptQueryFileEntity metaEntity)
      Sets the file entity with the file's metadata (file name, mime type etc.) that contains this binary data.
      Parameters:
      metaEntity - The file metadata entity to set.