adds javadoc and the method hasParent to the configuration class