path = parent.getPath() + "/" + name;
}
ResourceProxy resourceProxy = new ResourceProxy(path);
// set defaults
resourceProxy.addProperty("jcr:nodeTypeName", name);
resourceProxy.addProperty("jcr:primaryType", "nt:nodeType");
resourceProxy.addProperty("jcr:isMixin", false);
resourceProxy.addProperty("jcr:mixinTypes", new String[] {});
return new NodeTypeResourceBuilder(resourceProxy);
}