@MappedSuperclass public class BaseEntity extends UniqueIdEntity implements BaseProjection, SetupFileProjection
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
java.util.Optional<java.lang.String> |
getDescription()
Get the description of this resource.
|
java.util.Optional<java.lang.String> |
getMetadata()
Get the metadata of this entity which is unstructured JSON.
|
java.util.Optional<FileEntity> |
getSetupFile()
Get the setup file for this resource.
|
int |
hashCode() |
void |
setDescription(java.lang.String description)
Set the description of this entity.
|
void |
setMetadata(java.lang.String metadata)
Set the JSON metadata of this entity.
|
void |
setSetupFile(FileEntity setupFile)
Set the setup file for this entity.
|
getCreated, getUpdated, onCreateBaseEntity, onUpdateBaseEntityclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetName, getUser, getVersiongetUniqueIdgetCreated, getUpdatedgetIdpublic java.util.Optional<java.lang.String> getDescription()
getDescription in interface BaseProjectionpublic void setDescription(@Nullable
java.lang.String description)
description - The descriptionpublic java.util.Optional<java.lang.String> getMetadata()
getMetadata in interface BaseProjectionpublic void setMetadata(@Nullable
java.lang.String metadata)
metadata - The metadata of thispublic java.util.Optional<FileEntity> getSetupFile()
getSetupFile in interface SetupFileProjectionpublic void setSetupFile(@Nullable
FileEntity setupFile)
setupFile - The setup file. Null clears reference in the databasepublic boolean equals(java.lang.Object o)
equals in class AuditEntitypublic int hashCode()
hashCode in class AuditEntity