Class OSQuery
- java.lang.Object
-
- com.rometools.modules.opensearch.entity.OSQuery
-
- All Implemented Interfaces:
Serializable,Cloneable
public class OSQuery extends Object implements Cloneable, Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description OSQuery()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectclone()Creates a deep 'bean' clone of the object.booleanequals(Object other)Indicates whether some other object is "equal to" this one as defined by the Object equals() method.StringgetOsd()StringgetRole()StringgetSearchTerms()intgetStartPage()StringgetTitle()intgetTotalResults()inthashCode()Returns a hashcode value for the object.voidsetOsd(String osd)Typically represents a url link to the os description filevoidsetRole(String role)voidsetSearchTerms(String searchTerms)voidsetStartPage(int startPage)voidsetTitle(String title)voidsetTotalResults(int totalResults)StringtoString()Returns the String representation for the object.
-
-
-
Method Detail
-
clone
public Object clone() throws CloneNotSupportedException
Creates a deep 'bean' clone of the object.- Overrides:
clonein classObject- Returns:
- a clone of the object.
- Throws:
CloneNotSupportedException- thrown if an element of the object cannot be cloned.
-
equals
public boolean equals(Object other)
Indicates whether some other object is "equal to" this one as defined by the Object equals() method.
-
hashCode
public int hashCode()
Returns a hashcode value for the object.It follows the contract defined by the Object hashCode() method.
-
toString
public String toString()
Returns the 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.
-
-