com.microsoft.search
Class SearchRequest

java.lang.Object
  extended by com.microsoft.search.SearchRequest
All Implemented Interfaces:
Serializable

public class SearchRequest
extends Object
implements Serializable

See Also:
Serialized Form

Constructor Summary
SearchRequest()
           
SearchRequest(String appID, String query, String cultureInfo, SafeSearchOptions safeSearch, String[] flags, Location location, SourceRequest[] requests)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getAppID()
          Gets the appID value for this SearchRequest.
 String getCultureInfo()
          Gets the cultureInfo value for this SearchRequest.
static org.apache.axis.encoding.Deserializer getDeserializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Deserializer
 String[] getFlags()
          Gets the flags value for this SearchRequest.
 Location getLocation()
          Gets the location value for this SearchRequest.
 String getQuery()
          Gets the query value for this SearchRequest.
 SourceRequest[] getRequests()
          Gets the requests value for this SearchRequest.
 SafeSearchOptions getSafeSearch()
          Gets the safeSearch value for this SearchRequest.
static org.apache.axis.encoding.Serializer getSerializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Serializer
static org.apache.axis.description.TypeDesc getTypeDesc()
          Return type metadata object
 int hashCode()
           
 void setAppID(String appID)
          Sets the appID value for this SearchRequest.
 void setCultureInfo(String cultureInfo)
          Sets the cultureInfo value for this SearchRequest.
 void setFlags(String[] flags)
          Sets the flags value for this SearchRequest.
 void setLocation(Location location)
          Sets the location value for this SearchRequest.
 void setQuery(String query)
          Sets the query value for this SearchRequest.
 void setRequests(SourceRequest[] requests)
          Sets the requests value for this SearchRequest.
 void setSafeSearch(SafeSearchOptions safeSearch)
          Sets the safeSearch value for this SearchRequest.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SearchRequest

public SearchRequest()

SearchRequest

public SearchRequest(String appID,
                     String query,
                     String cultureInfo,
                     SafeSearchOptions safeSearch,
                     String[] flags,
                     Location location,
                     SourceRequest[] requests)
Method Detail

getAppID

public String getAppID()
Gets the appID value for this SearchRequest.

Returns:
appID

setAppID

public void setAppID(String appID)
Sets the appID value for this SearchRequest.

Parameters:
appID -

getQuery

public String getQuery()
Gets the query value for this SearchRequest.

Returns:
query

setQuery

public void setQuery(String query)
Sets the query value for this SearchRequest.

Parameters:
query -

getCultureInfo

public String getCultureInfo()
Gets the cultureInfo value for this SearchRequest.

Returns:
cultureInfo

setCultureInfo

public void setCultureInfo(String cultureInfo)
Sets the cultureInfo value for this SearchRequest.

Parameters:
cultureInfo -

getSafeSearch

public SafeSearchOptions getSafeSearch()
Gets the safeSearch value for this SearchRequest.

Returns:
safeSearch

setSafeSearch

public void setSafeSearch(SafeSearchOptions safeSearch)
Sets the safeSearch value for this SearchRequest.

Parameters:
safeSearch -

getFlags

public String[] getFlags()
Gets the flags value for this SearchRequest.

Returns:
flags

setFlags

public void setFlags(String[] flags)
Sets the flags value for this SearchRequest.

Parameters:
flags -

getLocation

public Location getLocation()
Gets the location value for this SearchRequest.

Returns:
location

setLocation

public void setLocation(Location location)
Sets the location value for this SearchRequest.

Parameters:
location -

getRequests

public SourceRequest[] getRequests()
Gets the requests value for this SearchRequest.

Returns:
requests

setRequests

public void setRequests(SourceRequest[] requests)
Sets the requests value for this SearchRequest.

Parameters:
requests -

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

getTypeDesc

public static org.apache.axis.description.TypeDesc getTypeDesc()
Return type metadata object


getSerializer

public static org.apache.axis.encoding.Serializer getSerializer(String mechType,
                                                                Class _javaType,
                                                                QName _xmlType)
Get Custom Serializer


getDeserializer

public static org.apache.axis.encoding.Deserializer getDeserializer(String mechType,
                                                                    Class _javaType,
                                                                    QName _xmlType)
Get Custom Deserializer