KickJava   Java API By Example, From Geeks To Geeks.

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


1 /*
2  * Created on 16.11.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 ProductInfoFactoryID extends BaseObjectID
13 {
14     public String JavaDoc organisationID;
15     public String JavaDoc productInfoFactoryID;
16     
17     public ProductInfoFactoryID()
18     {
19     }
20
21     public ProductInfoFactoryID(String JavaDoc keyStr) throws ObjectIDException
22     {
23         super(keyStr);
24     }
25     
26     public static ProductInfoFactoryID create(String JavaDoc organisationID, String JavaDoc productInfoFactoryID)
27     {
28         ProductInfoFactoryID n = new ProductInfoFactoryID();
29         n.organisationID = organisationID;
30         n.productInfoFactoryID = productInfoFactoryID;
31         return n;
32     }
33 }
34
Popular Tags