KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > tc > object > ObjectID


1 /*
2  * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.
3  */

4 package com.tc.object;
5
6 import com.tc.util.AbstractIdentifier;
7
8 import java.io.Serializable JavaDoc;
9
10 /**
11  * Object representing the ID of any managed object
12  *
13  * @author steve
14  */

15 public class ObjectID extends AbstractIdentifier implements Serializable JavaDoc {
16
17   public final static ObjectID NULL_ID = new ObjectID();
18
19   public ObjectID(long id) {
20     super(id);
21   }
22
23   private ObjectID() {
24     super();
25   }
26
27   public String JavaDoc getIdentifierType() {
28     return "ObjectID";
29   }
30 }
Popular Tags