© 2005 BEA Systems, Inc.

com.beasys.commerce.foundation
Interface RemoteRelationalReference

All Known Subinterfaces:
Customer, CustomerDelegate, Entity, Order, PaymentTransaction, ShippingMethod

public interface RemoteRelationalReference

Interface for metadata required to persist associations, FOR REMOTE OBJECTS Associations among classes require certain metadata for persistence:


Method Summary
 String get__classIdentifier()
          Get relation identifier for this object (used to persist subclasses in a single collection or map)
 Belonging get__containingBelonging()
          Get foreign key information about the bean that contains this object
 EJBObject get__containingEntity()
          Get foreign key information about the bean that contains this object
 Object get__mapKey()
          get map key
 Long get__sequenceNumber()
          Get the sequencer number
 void set__containingBelonging(Belonging belonging)
          Provides foreign key information about the bean that contains this object
 void set__containingEntity(EJBObject containingEntity)
          Provides foreign key information about the bean that contains this object
 void set__mapKey(Object mapKey)
          Provides map key information
 

Method Detail

get__classIdentifier

public String get__classIdentifier()
                            throws RemoteException
Get relation identifier for this object (used to persist subclasses in a single collection or map)

Returns:
class identifier for this object.
Throws:
RemoteException

get__containingBelonging

public Belonging get__containingBelonging()
                                   throws RemoteException
Get foreign key information about the bean that contains this object

Returns:
ejbObject remote interface of the containing bean
Throws:
ClassCastException - source object is not an instance of the remote interface of the containing class.
RemoteException

get__containingEntity

public EJBObject get__containingEntity()
                                throws RemoteException
Get foreign key information about the bean that contains this object

Returns:
ejbObject remote interface of the containing bean
Throws:
ClassCastException - source object is not an instance of the remote interface of the containing class.
RemoteException

get__mapKey

public Object get__mapKey()
                   throws RemoteException
get map key

Returns:
the mak key
Throws:
ClassCastException - source object is not an instance of the remote interface of the containing class.
RemoteException

get__sequenceNumber

public Long get__sequenceNumber()
                         throws RemoteException
Get the sequencer number

Throws:
RemoteException

set__containingBelonging

public void set__containingBelonging(Belonging belonging)
                              throws RemoteException
Provides foreign key information about the bean that contains this object

Throws:
RemoteException

set__containingEntity

public void set__containingEntity(EJBObject containingEntity)
                           throws RemoteException
Provides foreign key information about the bean that contains this object

Throws:
RemoteException

set__mapKey

public void set__mapKey(Object mapKey)
                 throws RemoteException
Provides map key information

Parameters:
mapKey - the key if this object is used in a map
Throws:
RemoteException

© 2005 BEA Systems, Inc.

Copyright © 2005 BEA Systems, Inc. All Rights Reserved