org.datanucleus.identity
Class SCOID

java.lang.Object
  extended by org.datanucleus.identity.SCOID

public final class SCOID
extends java.lang.Object

Object identifier for use with nondurable objects to guarantee uniqueness in the JVM (but not in datastore). They can also be used as identifiers for classes that have no database extent. Refer to JDO 2 [5.4.4]. An Object id class must have the following :-


Field Summary
 java.lang.String objClass
           
 
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
 

Field Detail

objClass

public final java.lang.String objClass
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 © 2011. All Rights Reserved.