View Javadoc

1   package org.sourceforge.jemm.database.persistent.berkeley.objects;
2   
3   import com.sleepycat.persist.model.KeyField;
4   import com.sleepycat.persist.model.Persistent;
5   
6   import org.sourceforge.jemm.database.ClientId;
7   import org.sourceforge.jemm.types.ID;
8   
9   @Persistent
10  public class ClientRefKey {
11  	@KeyField(1)
12  	String clientId;
13  	@KeyField(2)
14  	long objectId;
15  
16  	public ClientRefKey() {}
17  
18  	public ClientRefKey(ClientId clientId, ID id) {
19  		this.clientId = clientId.getInternalRep();
20  		this.objectId = id.getIDValue();
21  	}
22  
23  	
24  }