configuration/src/main/java/com/opentext/ia/configuration/ConfigurationObject.java
public void addChildObject(String collection, ConfigurationObject childObject) {
    childObjects.computeIfAbsent(collection, ignored -> new ArrayList<>()).add(childObject);
  }
public void addChildObject(String collection, ConfigurationObject childObject) {
    childObjects.computeIfAbsent(collection, ignored -> new ArrayList<>()).add(childObject);
  }
public void addChildObject ( String collection , ConfigurationObject childObject ) { childObjects . computeIfAbsent ( collection , ignored -> new ArrayList <> ( ) ) . add ( childObject ) ; }
Add an object that is to be owned by this object.
@param collection The collection to store the child object under
@param childObject The child object to add
Add an object that is to be owned by this object .