All Downloads are FREE. Search and download functionalities are using the official Maven repository.

jadex.bridge.service.search.ServiceQueryInfo Maven / Gradle / Ivy

Go to download

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.

There is a newer version: 4.0.267
Show newest version
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;
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy