Package jadex.bridge.service.search
Class ServiceQueryInfo<T>
- java.lang.Object
 - 
- jadex.bridge.service.search.ServiceQueryInfo<T>
 
 
- 
public class ServiceQueryInfo<T> extends java.lang.ObjectInfo with query and result future. 
- 
- 
Field Summary
Fields Modifier and Type Field Description protected TerminableIntermediateFuture<T>futureThe futures.protected ServiceQuery<T>queryThe query. 
- 
Constructor Summary
Constructors Constructor Description ServiceQueryInfo(ServiceQuery<T> query, TerminableIntermediateFuture<T> future)Create a new query info. 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TerminableIntermediateFuture<T>getFuture()Get the future.ServiceQuery<T>getQuery()Get the query.voidsetFuture(TerminableIntermediateFuture<T> future)Set the future.voidsetQuery(ServiceQuery<T> query)Set the query. 
 - 
 
- 
- 
Field Detail
- 
query
protected ServiceQuery<T> query
The query. 
- 
future
protected TerminableIntermediateFuture<T> future
The futures. 
 - 
 
- 
Constructor Detail
- 
ServiceQueryInfo
public ServiceQueryInfo(ServiceQuery<T> query, TerminableIntermediateFuture<T> future)
Create a new query info. 
 - 
 
- 
Method Detail
- 
getQuery
public ServiceQuery<T> getQuery()
Get the query.- Returns:
 - The query
 
 
- 
setQuery
public void setQuery(ServiceQuery<T> query)
Set the query.- Parameters:
 query- The query to set
 
- 
getFuture
public TerminableIntermediateFuture<T> getFuture()
Get the future.- Returns:
 - The future
 
 
- 
setFuture
public void setFuture(TerminableIntermediateFuture<T> future)
Set the future.- Parameters:
 future- The future to set
 
 - 
 
 -