KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > sellwin > domain > DeleteInfo


1 package sellwin.domain;
2
3 import java.util.*;
4 import java.io.*;
5
6 // SellWin http://sourceforge.net/projects/sellwincrm
7
//Contact support@open-app.com for commercial help with SellWin
8
//This software is provided "AS IS", without a warranty of any kind.
9

10
11 /**
12  * This class represents the information about a deleted
13  * object that is important to us. This is necessary since
14  * we can delete objects on the local client in 'disconnected'
15  * mode and then resync these deletes back to the server.
16  *
17  * This information is recorded when an object is deleted. It
18  * is used at 'sync' time.
19  */

20 public class DeleteInfo implements Serializable {
21
22     public long pk; //primary key
23
public String JavaDoc className;
24
25     public DeleteInfo(long pk, String JavaDoc clname) {
26         this.pk=pk;
27         className = clname;
28     }
29
30 }
31
Popular Tags