# com.beasys.commerce.foundation
RemoteRelationalReference Interface

public interface RemoteRelationalReference

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

- containingEntity: provides foreign key information to containing entity bean
- classID: identifies a subclass in the database. Used to persist subclasses in a single collection or map

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

## Method Summary

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

## Method Detail

### get__classIdentifier() Method

    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.

#### Exceptions

``RemoteException``

### get__containingBelonging() Method

    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

#### Exceptions

``RemoteException``

### get__containingEntity() Method

    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

#### Exceptions

``RemoteException``

### get__mapKey() Method

    public Object get__mapKey()
         throws RemoteException

get map key

#### Returns

the mak key

#### Exceptions

``RemoteException``

### get__sequenceNumber() Method

    public Long get__sequenceNumber()
         throws RemoteException

Get the sequencer number

#### Exceptions

``RemoteException``

### set__containingBelonging(Belonging) Method

    public void set__containingBelonging(Belonging belonging)
         throws RemoteException

Provides foreign key information about the bean that contains this object

#### Parameters

belonging
  remote interface of the containing bean

#### Exceptions

``RemoteException``

### set__containingEntity(EJBObject) Method

    public void set__containingEntity(EJBObject containingEntity)
         throws RemoteException

Provides foreign key information about the bean that contains this object

#### Parameters

containingEntity
  remote interface of the containing bean

#### Exceptions

``RemoteException``

### set__mapKey(Object) Method

    public void set__mapKey(Object mapKey)
         throws RemoteException

Provides map key information

#### Parameters

mapKey
  the key if this object is used in a map

#### Exceptions

``RemoteException``