jadex.bridge.service.search.ServiceQueryInfo Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jadex-platform-bridge Show documentation
Show all versions of jadex-platform-bridge Show documentation
Jadex bridge is a base package for kernels and platforms, i.e., it is used by both and provides commonly used interfaces and classes for active components and their management.
package jadex.bridge.service.search;
import jadex.commons.future.TerminableIntermediateFuture;
/**
* Info with query and result future.
*/
public class ServiceQueryInfo
{
/** The query. */
protected ServiceQuery query;
/** The futures. */
protected TerminableIntermediateFuture future;
/**
* Create a new query info.
*/
public ServiceQueryInfo(ServiceQuery query, TerminableIntermediateFuture future)
{
this.query = query;
this.future = future;
}
/**
* Get the query.
* @return The query
*/
public ServiceQuery getQuery()
{
return query;
}
/**
* Set the query.
* @param query The query to set
*/
public void setQuery(ServiceQuery query)
{
this.query = query;
}
/**
* Get the future.
* @return The future
*/
public TerminableIntermediateFuture getFuture()
{
return future;
}
/**
* Set the future.
* @param future The future to set
*/
public void setFuture(TerminableIntermediateFuture future)
{
this.future = future;
}
}