Class PQUtil


  • public final class PQUtil
    extends java.lang.Object
    Static methods to make certain path-query based operations easier.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.util.Collection<java.lang.String> getStar​(org.intermine.metadata.Model m, java.lang.String path)
      Get a list of all the path-strings for the attributes of a given class.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getStar

        public static java.util.Collection<java.lang.String> getStar​(org.intermine.metadata.Model m,
                                                                     java.lang.String path)
        Get a list of all the path-strings for the attributes of a given class.
        Parameters:
        m - The model to use for field look-ups.
        path - The path to add a star to. In the most trivial case, this is just the name of the class, but it can have any number of fields descending from it.
        Returns:
        A Collection of path-strings.