okapi.coreobjects
Class OkapiObjectID

java.lang.Object
  extended by okapi.coreobjects.OkapiObjectID
All Implemented Interfaces:
java.io.Serializable

public class OkapiObjectID
extends java.lang.Object
implements java.io.Serializable

OkapiObjectID - Okapi unique identifier

Version:
$Revision: 31044 $, $Date: 2008-09-02 17:08:01 -0400 (Tue, 02 Sep 2008) $
Author:
MIT Stellar team
See Also:
Serialized Form

Constructor Summary
  OkapiObjectID()
          Creates a new globally unique object ID
protected OkapiObjectID(java.lang.Object o)
          Creates a new globally unique object ID and associates it with a particular object.
protected OkapiObjectID(java.lang.String s)
          Constructs an ID set to a partcular string.
 
Method Summary
 java.lang.String getIdentifier()
          Return the identifier.
 java.lang.String toString()
          String version of object is simply the object identifier
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OkapiObjectID

public OkapiObjectID()
Creates a new globally unique object ID


OkapiObjectID

protected OkapiObjectID(java.lang.Object o)
Creates a new globally unique object ID and associates it with a particular object.


OkapiObjectID

protected OkapiObjectID(java.lang.String s)
Constructs an ID set to a partcular string. To be used when object should not have an automatically generated GUID.

Method Detail

getIdentifier

public java.lang.String getIdentifier()
Return the identifier.


toString

public java.lang.String toString()
String version of object is simply the object identifier

Overrides:
toString in class java.lang.Object


Copyright ? 2001-2009 MIT. All Rights Reserved.