KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > nightlabs > ipanema > trade > id > DeliveryID


1 /*
2  * Created on Feb 21, 2005
3  */

4 package com.nightlabs.ipanema.trade.id;
5
6 import com.nightlabs.jdo.BaseObjectID;
7 import com.nightlabs.jdo.ObjectIDException;
8
9 /**
10  * @author Alexander Bieber <alex[AT]nightlabs[DOT]de>
11  */

12 public class DeliveryID extends BaseObjectID
13 {
14     public String JavaDoc organisationID;
15     public long deliveryID;
16
17     public DeliveryID()
18     {
19     }
20
21     /**
22      * @param keyStr
23      * @throws com.nightlabs.jdo.ObjectIDException
24      */

25     public DeliveryID(String JavaDoc keyStr) throws ObjectIDException
26     {
27         super(keyStr);
28     }
29     
30     public static DeliveryID create(String JavaDoc organisationID, long deliveryID)
31     {
32         DeliveryID n = new DeliveryID();
33         n.organisationID = organisationID;
34         n.deliveryID = deliveryID;
35         return n;
36     }
37 }
38
Popular Tags