KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > nightlabs > ipanema > idgenerator > IDStoreIntID


1 /*
2  * Created on 18.03.2004
3  */

4 package com.nightlabs.ipanema.idgenerator;
5
6 import com.nightlabs.jdo.BaseObjectID;
7 import com.nightlabs.jdo.ObjectIDException;
8
9 /**
10  * @author marco
11  */

12 public class IDStoreIntID extends BaseObjectID
13 {
14     public static IDStoreIntID create(String JavaDoc _key)
15     {
16         IDStoreIntID n = new IDStoreIntID();
17         n.key = _key;
18         return n;
19     }
20
21     public IDStoreIntID() { }
22     public IDStoreIntID(String JavaDoc keyStr) throws ObjectIDException
23     {
24         super(keyStr);
25     }
26
27     public String JavaDoc key;
28 //
29
// /**
30
// * @return Returns the key.
31
// */
32
// public String getKey() {
33
// return key;
34
// }
35

36 }
37
Popular Tags