Class SavedQuery

    • Field Detail

      • query

        protected java.lang.String query
      • id

        protected java.lang.Integer id
    • Constructor Detail

      • SavedQuery

        public SavedQuery()
    • Method Detail

      • getQuery

        public java.lang.String getQuery()
      • setQuery

        public void setQuery​(java.lang.String query)
      • setUserProfile

        public void setUserProfile​(UserProfile userProfile)
      • proxyUserProfile

        public void proxyUserProfile​(ProxyReference userProfile)
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • getFieldValue

        public java.lang.Object getFieldValue​(java.lang.String fieldName)
                                       throws java.lang.IllegalAccessException
        Description copied from interface: FastPathObject
        Returns the value of a field by name.
        Specified by:
        getFieldValue in interface FastPathObject
        Parameters:
        fieldName - the name of the field
        Returns:
        the value of the field
        Throws:
        java.lang.IllegalAccessException - when something goes wrong
      • getFieldProxy

        public java.lang.Object getFieldProxy​(java.lang.String fieldName)
                                       throws java.lang.IllegalAccessException
        Description copied from interface: FastPathObject
        Returns the value of a field without dereferencing any ProxyReference objects.
        Specified by:
        getFieldProxy in interface FastPathObject
        Parameters:
        fieldName - the name of the field
        Returns:
        the value of the field, or a ProxyReference representing it
        Throws:
        java.lang.IllegalAccessException - when something goes wrong
      • setFieldValue

        public void setFieldValue​(java.lang.String fieldName,
                                  java.lang.Object value)
        Description copied from interface: FastPathObject
        Sets the value of a field by name.
        Specified by:
        setFieldValue in interface FastPathObject
        Parameters:
        fieldName - the name of the field
        value - the value of the field, or a ProxyReference representing it
      • getFieldType

        public java.lang.Class<?> getFieldType​(java.lang.String fieldName)
        Description copied from interface: FastPathObject
        Returns the type of a field by name.
        Specified by:
        getFieldType in interface FastPathObject
        Parameters:
        fieldName - the name of the field
        Returns:
        the type of the field
      • setoBJECT

        public void setoBJECT​(java.lang.String notXml,
                              ObjectStore os)
        Description copied from interface: InterMineObject
        Sets the values of the fields to the values in the given NotXml.
        Specified by:
        setoBJECT in interface InterMineObject
        Parameters:
        notXml - a String containing NotXml for this class
        os - an ObjectStore from which to create proxies
      • setoBJECT

        public void setoBJECT​(java.lang.String[] notXml,
                              ObjectStore os)
        Description copied from interface: InterMineObject
        Sets the values of the fields to the values in the given split NotXml.
        Specified by:
        setoBJECT in interface InterMineObject
        Parameters:
        notXml - a String array containing the NotXml split with the delimiter
        os - an ObjectStore from which to create proxies
      • addCollectionElement

        public void addCollectionElement​(java.lang.String fieldName,
                                         InterMineObject element)
      • getElementType

        public java.lang.Class<?> getElementType​(java.lang.String fieldName)
        Description copied from interface: InterMineObject
        Returns the element type of a collection by name.
        Specified by:
        getElementType in interface InterMineFastPathObject
        Specified by:
        getElementType in interface InterMineObject
        Parameters:
        fieldName - the name of the collection
        Returns:
        the type of the elements of the collection