public Collection<HostGroupEntity> getHostGroups() {
    return hostGroups;
  }
Get the collection of associated host groups.

@return collection of host groups
ambari-server/src/main/java/org/apache/ambari/server/orm/entities/BlueprintEntity.java