KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > objectweb > jonas > stests > appli > StockID


1
2 package org.objectweb.jonas.stests.appli;
3
4
5
6 import java.io.Serializable JavaDoc;
7
8 public class StockID implements Serializable JavaDoc {
9     public String JavaDoc warehouseID;
10     public Integer JavaDoc itemID;
11   
12     public StockID(String JavaDoc n, Integer JavaDoc m) {
13         warehouseID = n;
14         itemID = m;
15     }
16
17     public StockID() {
18         warehouseID = new String JavaDoc();
19         itemID = new Integer JavaDoc(0);
20     }
21    
22     public String JavaDoc toString(){
23         return warehouseID+itemID;
24     }
25 }
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
Popular Tags