Package org.intermine.client.util
Class PQUtil
- java.lang.Object
-
- org.intermine.client.util.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.
-
-
-
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.
-
-