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

jadex.bridge.fipa.SearchConstraints 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.fipa;

import java.io.Serializable;

import jadex.bridge.ISearchConstraints;

/**
 *  Java class for concept SearchConstraints of beanynizer_beans_fipa_default ontology.
 */
public class SearchConstraints implements ISearchConstraints, Serializable
{
	//-------- attributes ----------

	/** Attribute for slot search-id. */
	protected String searchid;

	/** Attribute for slot max-results. */
	protected int maxresults = 1;

	/** Attribute for slot max-depth. */
	protected int maxdepth = 0;

	//-------- constructors --------

	/**
	 *  Default Constructor. 
* Create a new SearchConstraints. */ public SearchConstraints() { } /** * Default Constructor.
* Create a new SearchConstraints. */ public SearchConstraints(int maxresults, int maxdepth) { this.maxresults = maxresults; this.maxdepth = maxdepth; } //-------- accessor methods -------- /** * Get the search-id of this SearchConstraints. * @return search-id */ public String getSearchId() { return this.searchid; } /** * Set the search-id of this SearchConstraints. * @param searchid the value to be set */ public void setSearchId(String searchid) { this.searchid = searchid; } /** * Get the max-results of this SearchConstraints. * @return max-results */ public int getMaxResults() { return this.maxresults; } /** * Set the max-results of this SearchConstraints. * @param maxresults the value to be set */ public void setMaxResults(int maxresults) { this.maxresults = maxresults; } /** * Get the max-depth of this SearchConstraints. * @return max-depth */ public int getMaxDepth() { return this.maxdepth; } /** * Set the max-depth of this SearchConstraints. * @param maxdepth the value to be set */ public void setMaxDepth(int maxdepth) { this.maxdepth = maxdepth; } //-------- additional methods -------- /** * Get a string representation of this SearchConstraints. * @return The string representation. */ public String toString() { return "SearchConstraints(" + ")"; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy