KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > help > internal > search > federated > FederatedSearchEntry


1 /*******************************************************************************
2  * Copyright (c) 2000, 2005 IBM Corporation and others.
3  * All rights reserved. This program and the accompanying materials
4  * are made available under the terms of the Eclipse Public License v1.0
5  * which accompanies this distribution, and is available at
6  * http://www.eclipse.org/legal/epl-v10.html
7  *
8  * Contributors:
9  * IBM Corporation - initial API and implementation
10  *******************************************************************************/

11 package org.eclipse.help.internal.search.federated;
12
13 import org.eclipse.help.search.*;
14
15 /**
16  * A participant in the federated search.
17  */

18 public class FederatedSearchEntry {
19     private String JavaDoc engineId;
20     private String JavaDoc engineName;
21     private ISearchScope scope;
22     private ISearchEngine engine;
23     private ISearchEngineResultCollector collector;
24
25     /**
26      *
27      */

28     public FederatedSearchEntry(String JavaDoc engineId, String JavaDoc engineName, ISearchScope scope, ISearchEngine engine, ISearchEngineResultCollector collector) {
29         this.engineId = engineId;
30         this.engineName = engineName;
31         this.scope = scope;
32         this.engine = engine;
33         this.collector = collector;
34     }
35     
36     public String JavaDoc getEngineId() {
37         return engineId;
38     }
39     
40     public String JavaDoc getEngineName() {
41         return engineName;
42     }
43
44     public ISearchEngine getEngine() {
45         return engine;
46     }
47     public ISearchScope getScope() {
48         return scope;
49     }
50     public ISearchEngineResultCollector getResultCollector() {
51         return collector;
52     }
53 }
54
Popular Tags