Interface BinaryData
- All Known Implementing Classes:
BinaryDataImpl
public interface BinaryData
Bean which contains information about a
Binary
saved in the database.
Can be retrieved from BinaryDataAccessor
.-
Method Summary
Modifier and TypeMethodDescription@Nullable PrimaryKey
com.google.common.hash.HashCode
long
getSize()
toBinary()
-
Method Details
-
toBinary
Binary toBinary() -
getResourceKey
PrimaryKey getResourceKey()- Returns:
- the primary key of the associated 'Resource' entity
-
getResourceContentKey
PrimaryKey getResourceContentKey()- Returns:
- the primary key of the associated 'Resource_content' entity
-
getEntityKey
- Returns:
- the primary key of the associated entitydocs entity
-
getHashCode
com.google.common.hash.HashCode getHashCode() -
getFileName
String getFileName() -
getMimeType
String getMimeType() -
getFileExtension
String getFileExtension() -
getSize
long getSize()
-