KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > nightlabs > ipanema > store > id > ProductStatusTrackerID


1 /*
2  * Created on 20.10.2004
3  */

4 package com.nightlabs.ipanema.store.id;
5
6 import com.nightlabs.jdo.BaseObjectID;
7 import com.nightlabs.jdo.ObjectIDException;
8
9 /**
10  * @author Marco Schulze - marco at nightlabs dot de
11  */

12 public class ProductStatusTrackerID extends BaseObjectID
13 {
14     public String JavaDoc organisationID;
15     public String JavaDoc productID;
16
17     public ProductStatusTrackerID() { }
18
19     public ProductStatusTrackerID(String JavaDoc keyStr)
20     throws ObjectIDException
21     {
22         super(keyStr);
23     }
24
25     public static ProductStatusTrackerID create(String JavaDoc organisationID, String JavaDoc productID)
26     {
27         ProductStatusTrackerID n = new ProductStatusTrackerID();
28         n.organisationID = organisationID;
29         n.productID = productID;
30         return n;
31     }
32 }
33
Popular Tags