public class OSQuery extends Object implements Cloneable, Serializable
Constructor and Description |
---|
OSQuery() |
Modifier and Type | Method and Description |
---|---|
Object |
clone()
Creates a deep 'bean' clone of the object.
|
boolean |
equals(Object other)
Indicates whether some other object is "equal to" this one as defined by the Object equals()
method.
|
String |
getOsd() |
String |
getRole() |
String |
getSearchTerms() |
int |
getStartPage() |
String |
getTitle() |
int |
getTotalResults() |
int |
hashCode()
Returns a hashcode value for the object.
|
void |
setOsd(String osd)
Typically represents a url link to the os description file
|
void |
setRole(String role) |
void |
setSearchTerms(String searchTerms) |
void |
setStartPage(int startPage) |
void |
setTitle(String title) |
void |
setTotalResults(int totalResults) |
String |
toString()
Returns the String representation for the object.
|
public Object clone() throws CloneNotSupportedException
clone
in class Object
CloneNotSupportedException
- thrown if an element of the object cannot be cloned.public boolean equals(Object other)
public int hashCode()
It follows the contract defined by the Object hashCode() method.
public String toString()
public String getOsd()
public void setOsd(String osd)
osd
- The osd to set.public String getRole()
public void setRole(String role)
role
- The role to set.public String getSearchTerms()
public void setSearchTerms(String searchTerms)
searchTerms
- The searchTerms to set.public int getStartPage()
public void setStartPage(int startPage)
startPage
- The startPage to set.public String getTitle()
public void setTitle(String title)
title
- The title to set.public int getTotalResults()
public void setTotalResults(int totalResults)
totalResults
- The totalResults to set.Copyright © 2017. All rights reserved.