@Override
  public Map<String, Object> toMap() {
    return Collections.singletonMap(getName(), containedPredicatesToMaps());
  }
Constructor.

@param name     the name of this predicate
@param delegate the delegate used to handle the internal logic for the container
ambari-server/src/main/java/org/apache/ambari/server/collections/functors/DelegatedMultiplePredicateContainer.java