if (isFolder()) {
TreeElement element = null;
if (parent == null) {
element = TreeElement.ROOT_FACTORY.newRoot(name);
} else {
ElementCardinality cardinality = ElementCardinality.fromTreeNode(this);
element = parent.addElement(name, cardinality);
}
for (Node child : m_children) {
if (!child.isPrecondition()) {
child.asTreeMapperNode(element);