Class QueryResource

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static QueryResource ANY  
    • Constructor Summary

      Constructors 
      Constructor Description
      QueryResource​(java.lang.String resourceName)  
    • Method Summary

      Modifier and Type Method Description
      int compareTo​(QueryResource o)  
      boolean equals​(java.lang.Object obj)  
      java.lang.String getResourceName()
      Return the resource name.
      boolean isUnderlying()
      Verify if the component is underlying.
      void setResourceName​(java.lang.String resourceName)
      Set the name of the resource.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • QueryResource

        public QueryResource​(java.lang.String resourceName)
    • Method Detail

      • setResourceName

        public void setResourceName​(java.lang.String resourceName)
        Set the name of the resource.
        Parameters:
        resourceName - Name of the resource
      • getResourceName

        public java.lang.String getResourceName()
        Return the resource name.
        Returns:
        Resource name.
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • isUnderlying

        public boolean isUnderlying()
        Description copied from interface: QueryComponent
        Verify if the component is underlying.
        Specified by:
        isUnderlying in interface QueryComponent
        Returns:
        True if the component is underlying.
      • compareTo

        public int compareTo​(QueryResource o)
        Specified by:
        compareTo in interface java.lang.Comparable<QueryResource>
      • toString

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