Class PromptQueryFileDataEntity
java.lang.Object
de.xima.fc.prompt.ms.impl.dao.entities.PromptQueryFileDataEntity
Entity model for the data of a prompt query.
- Since:
- 8.5.0
- Author:
- XIMA MEDIA GmbH
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbyte[]getData()Gets the binary file data.getId()Gets the unique database ID of this file.Gets the file entity with the file's metadata (file name, mime type etc.) that contains this binary data.voidsetData(byte[] data) Sets the file-data in binary formvoidSets the unique database ID of this file data entity.voidsetMetaEntity(PromptQueryFileEntity metaEntity) Sets the file entity with the file's metadata (file name, mime type etc.) that contains this binary data.
-
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
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
Sets the unique database ID of this file data entity.- Parameters:
id- The database ID to set.
-
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
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.
-