Package org.intermine.api.profile
Class SavedQuery
- java.lang.Object
-
- org.intermine.api.profile.SavedQuery
-
public class SavedQuery extends java.lang.Object
Container for a saved query.- Author:
- Thomas Riley
-
-
Constructor Summary
Constructors Constructor Description SavedQuery(java.lang.String queryName, java.util.Date dateCreated, PathQuery query)
Construct a new instance of SavedQuery.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
Test receiver for equality with passed object.java.util.Date
getDateCreated()
Get the date on which the query was created.java.lang.String
getName()
Get the name of the saved query.PathQuery
getPathQuery()
Get the saved PathQuery.int
hashCode()
Hash code.
-
-
-
Constructor Detail
-
SavedQuery
public SavedQuery(java.lang.String queryName, java.util.Date dateCreated, PathQuery query)
Construct a new instance of SavedQuery.- Parameters:
queryName
- the name of the saved querydateCreated
- the date createdquery
- the actual PathQuery
-
-
Method Detail
-
getDateCreated
public java.util.Date getDateCreated()
Get the date on which the query was created.- Returns:
- date on which query was created
-
getName
public java.lang.String getName()
Get the name of the saved query.- Returns:
- name of saved query
-
getPathQuery
public PathQuery getPathQuery()
Get the saved PathQuery.- Returns:
- the PathQuery
-
equals
public boolean equals(java.lang.Object obj)
Test receiver for equality with passed object.- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
Hash code.- Overrides:
hashCode
in classjava.lang.Object
-
-