KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > genimen > djeneric > repository > oql > core > nodes > MatchingContext


1 /*
2  * Created on Sep 20, 2003
3  *
4  * To change the template for this generated file go to
5  * Window>Preferences>Java>Code Generation>Code and Comments
6  */

7 package com.genimen.djeneric.repository.oql.core.nodes;
8
9 import java.util.HashMap JavaDoc;
10
11 import com.genimen.djeneric.repository.DjObject;
12
13 /**
14  * @author Wido
15  *
16  * To change the template for this generated type comment go to
17  * Window>Preferences>Java>Code Generation>Code and Comments
18  */

19 public class MatchingContext
20 {
21   HashMap JavaDoc _parameters = new HashMap JavaDoc();
22   DjObject _object;
23
24   public Object JavaDoc getParamater(String JavaDoc paramName)
25   {
26     return _parameters.get(paramName);
27   }
28
29   public DjObject getObject()
30   {
31     return _object;
32   }
33
34   public void setObject(DjObject object)
35   {
36     _object = object;
37   }
38
39   public HashMap JavaDoc getParameters()
40   {
41     return _parameters;
42   }
43
44   public void setParameters(HashMap JavaDoc map)
45   {
46     _parameters = map;
47   }
48
49 }
Popular Tags