code: public NodeType registerNodeType(NodeTypeValue nodeTypeValue, int alreadyExistsBehaviour) throws RepositoryException
     {
        List<NodeTypeValue> list = new ArrayList<NodeTypeValue>();
        list.add(nodeTypeValue);
        NodeTypeIterator it = registerNodeTypes(list, alreadyExistsBehaviour);
        return it.nextNodeType();
     }
docs: {@inheritDoc}
  
  @return