public Collection<HostGroupComponentEntity> getComponents() {
    return components;
  }
Get the collection of associated component entities.

@return collection of components
ambari-server/src/main/java/org/apache/ambari/server/orm/entities/HostGroupEntity.java