com.tc.object
Class ObjectID
java.lang.Object
com.tc.util.AbstractIdentifier
com.tc.object.ObjectID
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable
public class ObjectID
- extends AbstractIdentifier
- implements java.io.Serializable
Object representing the ID of any managed object
- See Also:
- Serialized Form
Constructor Summary |
ObjectID(long id)
Create an ObjectID with the specified ID |
ObjectID(long oid,
int gid)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
NULL_ID
public static final ObjectID NULL_ID
- The NULL ObjectID
MAX_ID
public static final long MAX_ID
- See Also:
- Constant Field Values
ObjectID
public ObjectID(long id)
- Create an ObjectID with the specified ID
- Parameters:
id
- The id value, >= 0
ObjectID
public ObjectID(long oid,
int gid)
getIdentifierType
public java.lang.String getIdentifierType()
- Description copied from class:
AbstractIdentifier
- Subclasses of AbstractIdentifier specify their "type" by implementing this method and returning a string. The type
is used in printing toString().
- Specified by:
getIdentifierType
in class AbstractIdentifier
getGroupID
public int getGroupID()
getMaskedObjectID
public long getMaskedObjectID()
toString
public java.lang.String toString()
- Overrides:
toString
in class AbstractIdentifier
Copyright © 2010 Terracotta, Inc.. All Rights Reserved.