org.datanucleus.identity
Class XcaliaIdentityTranslator

java.lang.Object
  extended by org.datanucleus.identity.XcaliaIdentityTranslator
All Implemented Interfaces:
IdentityTranslator

public class XcaliaIdentityTranslator
extends java.lang.Object
implements IdentityTranslator

Identity translator that allows for some combinations that Xcalia XIC allowed. This string form isn't necessarily the "id.toString()" form - it was added to allow migrationfrom Xcalia XIC. Handles the following String forms :-

The "key" is either


Constructor Summary
XcaliaIdentityTranslator()
           
 
Method Summary
 java.lang.Object getIdentity(ObjectManager om, java.lang.Object obj)
          Method to translate the object into the identity.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XcaliaIdentityTranslator

public XcaliaIdentityTranslator()
Method Detail

getIdentity

public java.lang.Object getIdentity(ObjectManager om,
                                    java.lang.Object obj)
Description copied from interface: IdentityTranslator
Method to translate the object into the identity.

Specified by:
getIdentity in interface IdentityTranslator
Parameters:
om - ObjectManager
obj - The object
Returns:
The identity


Copyright © 2010. All Rights Reserved.