KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > genimen > djeneric > tools > generator > core > util > ContextObject


1 package com.genimen.djeneric.tools.generator.core.util;
2
3 public class ContextObject
4 {
5   Object JavaDoc _obj;
6   String JavaDoc _name;
7
8   public ContextObject(String JavaDoc name, Object JavaDoc obj)
9   {
10     _name = name;
11     _obj = obj;
12   }
13
14   public String JavaDoc getName()
15   {
16     return _name;
17   }
18
19   public Object JavaDoc getObject()
20   {
21     return _obj;
22   }
23
24   public void setObject(Object JavaDoc obj)
25   {
26     _obj = obj;
27   }
28 }
Popular Tags