KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > nightlabs > ipanema > accounting > id > ProductInfoID


1 /*
2  * Created on 29.10.2004
3  */

4 package com.nightlabs.ipanema.accounting.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 ProductInfoID extends BaseObjectID
13 {
14     public String JavaDoc organisationID;
15     public String JavaDoc productID;
16
17     public ProductInfoID() { }
18
19     public ProductInfoID(String JavaDoc keyStr) throws ObjectIDException
20     {
21         super(keyStr);
22     }
23
24     public static ProductInfoID create(String JavaDoc organisationID, String JavaDoc productID)
25     {
26         ProductInfoID n = new ProductInfoID();
27         n.organisationID = organisationID;
28         n.productID = productID;
29         return n;
30     }
31 }
32
Popular Tags