code: public static ImportNodeData createNodeData(NodeData parent, InternalQName name, InternalQName primaryTypeName,
        int index, int orderNumber)
     {
        ImportNodeData nodeData = null;
        QPath path = QPath.makeChildPath(parent.getQPath(), name, index);
        nodeData =
           new ImportNodeData(path, IdGenerator.generate(), -1, primaryTypeName, new InternalQName[0], orderNumber,
              parent.getIdentifier(), parent.getACL());
        return nodeData;
     }
docs: Factory method
  
  @param parent NodeData
  @param name  InternalQName
  @param primaryTypeName InternalQName
  @param index int
  @param orderNumber int
  @return