1 4 package com.nightlabs.ipanema.trade.id; 5 6 import com.nightlabs.jdo.BaseObjectID; 7 import com.nightlabs.jdo.ObjectIDException; 8 9 12 public class OrderItemID extends BaseObjectID 13 { 14 public String organisationID; 15 public long orderID; 16 public int orderItemID; 17 18 public OrderItemID() { } 19 20 public OrderItemID(String keyStr) throws ObjectIDException 21 { 22 super(keyStr); 23 } 24 25 public static OrderItemID create(String organisationID, long orderID, int orderItemID) 26 { 27 OrderItemID n = new OrderItemID(); 28 n.organisationID = organisationID; 29 n.orderID = orderID; 30 n.orderItemID = orderItemID; 31 return n; 32 } 33 } 34 | Popular Tags |