@Entity public class ApplicationEntity extends BaseEntity
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COMMANDS_DTO_ENTITY_GRAPH
The name of the
EntityGraph which will eagerly load everything needed to access
an applications commands and create the command DTOs. |
static java.lang.String |
COMMANDS_ENTITY_GRAPH
The name of the
EntityGraph which will eagerly load everything needed to access
an applications commands base fields. |
static java.lang.String |
DTO_ENTITY_GRAPH
The name of the
EntityGraph which will eagerly load everything needed to construct an
Application DTO. |
| Constructor and Description |
|---|
ApplicationEntity()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
java.util.Optional<java.lang.String> |
getType()
Get the type of this application.
|
int |
hashCode() |
void |
setConfigs(java.util.Set<FileEntity> configs)
Set all the files associated as configuration files for this application.
|
void |
setDependencies(java.util.Set<FileEntity> dependencies)
Set all the files associated as dependency files for this application.
|
void |
setTags(java.util.Set<TagEntity> tags)
Set all the tags associated to this application.
|
getDescription, getMetadata, getSetupFile, setDescription, setMetadata, setSetupFilegetCreated, getUpdated, onCreateBaseEntity, onUpdateBaseEntityclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetName, getStatus, getUser, getVersiongetUniqueIdgetCreated, getUpdatedgetIdpublic static final java.lang.String COMMANDS_ENTITY_GRAPH
EntityGraph which will eagerly load everything needed to access
an applications commands base fields.public static final java.lang.String COMMANDS_DTO_ENTITY_GRAPH
EntityGraph which will eagerly load everything needed to access
an applications commands and create the command DTOs.public static final java.lang.String DTO_ENTITY_GRAPH
EntityGraph which will eagerly load everything needed to construct an
Application DTO.public java.util.Optional<java.lang.String> getType()
public void setConfigs(@Nullable
java.util.Set<FileEntity> configs)
configs - The configuration files to setpublic void setDependencies(@Nullable
java.util.Set<FileEntity> dependencies)
dependencies - The dependency files to setpublic void setTags(@Nullable
java.util.Set<TagEntity> tags)
tags - The dependency tags to setpublic boolean equals(java.lang.Object o)
equals in class BaseEntitypublic int hashCode()
hashCode in class BaseEntity