org.jpox.store
Class SCOID

java.lang.Object
  extended byorg.jpox.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 JPOXSQL 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.

Version:
$Revision: 1.2 $
See Also:
OID

Constructor Summary
SCOID(java.lang.String objClass)
          Constructs a new SCOID to identify an object of the given class.
 
Method Summary
 java.lang.String 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.String 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.String getSCOClass()
Returns the class of the object identified by this SCOID.

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


Copyright © -2007 . All Rights Reserved.