KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jerpa > component > configuration > IntegerConfigurationItem


1 package org.jerpa.component.configuration;
2
3 /*
4  * JERPA - Java Enterprise Resource Planning Architecture
5  * Copyright (c) 2002 JERPA-Team <info@jerpa.org>
6  * This is GNU software. Look at COPYING for details.
7  */

8
9 public class IntegerConfigurationItem extends ConfigurationItem
10 {
11     Integer JavaDoc value = new java.lang.Integer JavaDoc(0);
12         
13     public void setValue(Integer JavaDoc value)
14     {
15         this.value = value;
16         //System.out.println("SET Value = " + value);
17
}
18     
19     public Integer JavaDoc getValue()
20     {
21         return value;
22     }
23     
24     public IntegerConfigurationItem(String JavaDoc key, Integer JavaDoc value)
25     {
26         this.key = key;
27         this.value = value;
28     }
29 }
30
31
Popular Tags