KickJava   Java API By Example, From Geeks To Geeks.

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


1 package com.genimen.djeneric.tools.generator.core.util;
2
3 public class Constant
4 {
5   Object JavaDoc _value;
6   String JavaDoc _name;
7
8   public Constant(String JavaDoc name, Object JavaDoc value)
9   {
10     _name = name;
11     _value = value;
12   }
13
14   public String JavaDoc getName()
15   {
16     return _name;
17   }
18
19   public Object JavaDoc getValue()
20   {
21     return _value;
22   }
23 }
Popular Tags