public HostGroupEntity getHostGroupEntity() {
    return hostGroup;
  }
Get the host group entity.

@return host group entity
ambari-server/src/main/java/org/apache/ambari/server/orm/entities/HostGroupComponentEntity.java