All Implemented Interfaces:
AuditProjection, BaseProjection, IdProjection, SetupFileProjection, UniqueIdProjection, Serializable

@Entity public class ClusterEntity extends BaseEntity
Representation of the state of the Cluster object.
Since:
2.0.0
See Also:
  • Field Details

    • DTO_ENTITY_GRAPH

      public static final String DTO_ENTITY_GRAPH
      The name of the EntityGraph which will eagerly load everything needed to construct a Cluster DTO.
      See Also:
  • Constructor Details

    • ClusterEntity

      public ClusterEntity()
      Default Constructor.
  • Method Details

    • setConfigs

      public void setConfigs(@Nullable Set<FileEntity> configs)
      Set all the files associated as configuration files for this cluster.
      Parameters:
      configs - The configuration files to set
    • setDependencies

      public void setDependencies(@Nullable Set<FileEntity> dependencies)
      Set all the files associated as dependency files for this cluster.
      Parameters:
      dependencies - The dependency files to set
    • setTags

      public void setTags(@Nullable Set<TagEntity> tags)
      Set all the tags associated to this cluster.
      Parameters:
      tags - The dependency tags to set
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class BaseEntity
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class BaseEntity