© 2001 BEA Systems, Inc.

com.beasys.commerce.util
Class PersistenceHelper.DefaultSmartEntityReference

java.lang.Object
  |
  +--com.beasys.commerce.util.PersistenceHelper.DefaultSmartEntityReference
All Implemented Interfaces:
java.io.Serializable, SmartEntityReference
Enclosing class:
PersistenceHelper

public static class PersistenceHelper.DefaultSmartEntityReference
extends java.lang.Object
implements SmartEntityReference, java.io.Serializable

See Also:
Serialized Form

Constructor Summary
protected PersistenceHelper.DefaultSmartEntityReference()
           
protected PersistenceHelper.DefaultSmartEntityReference(<>EJBObject ejbObject)
           
 
Method Summary
 int compareTo(<>EJBObject that)
           
 int compareTo(SmartEntityReference that)
          compare two PK's
 <>EJBObject getEJBObject()
          Returns the EJBObject.
 java.lang.String getJNDIName()
           
 void setEJBObject(<>EJBObject ejbObject)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.beasys.commerce.foundation.SmartEntityReference
compareTo, setEJBObject
 

Constructor Detail

PersistenceHelper.DefaultSmartEntityReference

protected PersistenceHelper.DefaultSmartEntityReference()

PersistenceHelper.DefaultSmartEntityReference

protected PersistenceHelper.DefaultSmartEntityReference(<>EJBObject ejbObject)
Method Detail

setEJBObject

public void setEJBObject(<>EJBObject ejbObject)

getEJBObject

public <>EJBObject getEJBObject()
Description copied from interface: SmartEntityReference
Returns the EJBObject. If the SmartHandle is empty, it returns null.
Specified by:
getEJBObject in interface SmartEntityReference

getJNDIName

public java.lang.String getJNDIName()
Specified by:
getJNDIName in interface SmartEntityReference

compareTo

public int compareTo(<>EJBObject that)

compareTo

public int compareTo(SmartEntityReference that)
compare two PK's
Specified by:
compareTo in interface SmartEntityReference

© 2001 BEA Systems, Inc.

Copyright © 2001 BEA Systems, Inc. All Rights Reserved