code: public QueryMethodType<QueryType<T>> getOrCreateQueryMethod()
     {
        Node node = childNode.getOrCreate("query-method");
        QueryMethodType<QueryType<T>> queryMethod = new QueryMethodTypeImpl<QueryType<T>>(this, "query-method", childNode, node);
        return queryMethod;
     }
docs: If not already created, a new <code>query-method</code> element with the given value will be created.
  Otherwise, the existing <code>query-method</code> element will be returned.
  @return  a new or existing instance of <code>QueryMethodType<QueryType<T>></code>