KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > netbeans > modules > piagetproject > property > StringProperty


1 /*
2  * StringProperty.java
3  *
4  * Created on July 27, 2005, 4:28 PM
5  *
6  * To change this template, choose Tools | Options and locate the template under
7  * the Source Creation and Management node. Right-click the template and choose
8  * Open. You can then make changes to the template in the Source Editor.
9  */

10
11 package org.netbeans.modules.piagetproject.property;
12
13 /**
14  *
15  * @author loicsegapelli
16  */

17 public class StringProperty extends Property{
18     
19     String JavaDoc value;
20     
21     /** Creates a new instance of StringProperty */
22     public StringProperty(String JavaDoc key, String JavaDoc name, String JavaDoc value, String JavaDoc table) {
23         super(key, table, name);
24         this.value = value;
25     }
26     
27     public Object JavaDoc getValue(int counter) {
28         return value;
29     }
30     
31     protected void combineProperties(String JavaDoc key, String JavaDoc value) {
32     }
33     
34 }
35
Popular Tags