Class OSQuery

    • Constructor Detail

      • OSQuery

        public OSQuery()
    • Method Detail

      • equals

        public boolean equals​(Object other)
        Indicates whether some other object is "equal to" this one as defined by the Object equals() method.

        Overrides:
        equals in class Object
        Parameters:
        other - he reference object with which to compare.
        Returns:
        true if 'this' object is equal to the 'other' object.
      • hashCode

        public int hashCode()
        Returns a hashcode value for the object.

        It follows the contract defined by the Object hashCode() method.

        Overrides:
        hashCode in class Object
        Returns:
        the hashcode of the bean object.
      • toString

        public String toString()
        Returns the String representation for the object.

        Overrides:
        toString in class Object
        Returns:
        String representation for the object.
      • getOsd

        public String getOsd()
        Returns:
        Returns the osd.
      • setOsd

        public void setOsd​(String osd)
        Typically represents a url link to the os description file
        Parameters:
        osd - The osd to set.
      • getRole

        public String getRole()
        Returns:
        Returns the role.
      • setRole

        public void setRole​(String role)
        Parameters:
        role - The role to set.
      • getSearchTerms

        public String getSearchTerms()
        Returns:
        Returns the searchTerms.
      • setSearchTerms

        public void setSearchTerms​(String searchTerms)
        Parameters:
        searchTerms - The searchTerms to set.
      • getStartPage

        public int getStartPage()
        Returns:
        Returns the startPage.
      • setStartPage

        public void setStartPage​(int startPage)
        Parameters:
        startPage - The startPage to set.
      • getTitle

        public String getTitle()
        Returns:
        Returns the title.
      • setTitle

        public void setTitle​(String title)
        Parameters:
        title - The title to set.
      • getTotalResults

        public int getTotalResults()
        Returns:
        Returns the totalResults.
      • setTotalResults

        public void setTotalResults​(int totalResults)
        Parameters:
        totalResults - The totalResults to set.