KickJava   Java API By Example, From Geeks To Geeks.

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


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 IDStoreLongID extends BaseObjectID
13 {
14     
15     public static IDStoreLongID create(String JavaDoc _key)
16     {
17         IDStoreLongID n = new IDStoreLongID();
18         n.key = _key;
19         return n;
20     }
21
22     public IDStoreLongID() { }
23     public IDStoreLongID(String JavaDoc keyStr)
24         throws ObjectIDException
25     {
26         super(keyStr);
27     }
28     
29     public String JavaDoc key;
30
31 // /**
32
// * @return Returns the key.
33
// */
34
// public String getKey() {
35
// return key;
36
// }
37

38 }
39
Popular Tags