Node parentNode = session.getNodeByIdentifier(parentId);
Node childNode = parentNode.addNode(name);
childNode.setProperty("name", name);
childNode.setProperty("themeIntroduction", themeIntroduction);
childNode.setProperty("type", type);
childNode.addMixin(NodeType.MIX_REFERENCEABLE);
session.save();
根据property获取的时候
Node themeNode = session.getNodeByIdentifier(identifier);
String name = themeNode.getName();
String desc = themeNode.getProperty("themeIntroduction").getString();