com.triactive.jdo.store
Class SCOID

java.lang.Object
  extended bycom.triactive.jdo.store.SCOID

public final class SCOID
extends java.lang.Object

A "second-class" object identifier. SCOIDs are used as object identifiers for classes that have no database extent, such as TJDOSQL result objects.

The only thing a SCOID tracks is the class of the instance being identified. Every SCOID is unique within the JVM, which effectively means universally unique since Serializable is not implemented.

Author:
Mike Martin
See Also:
OID

Constructor Summary
SCOID(java.lang.Class objClass)
          Constructs a new SCOID to identify an object of the given class.
 
Method Summary
 java.lang.Class getSCOClass()
          Returns the class of the object identified by this SCOID.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SCOID

public SCOID(java.lang.Class objClass)
Constructs a new SCOID to identify an object of the given class.

Parameters:
objClass - The class of the instance being identified.
Method Detail

getSCOClass

public java.lang.Class getSCOClass()
Returns the class of the object identified by this SCOID.

Returns:
The class of the object identified by this SCOID.


Copyright 2001-2007 The TJDO Project All Rights Reserved.