BEA Systems, Inc.

com.beasys.commerce.foundation
Class BelongingImpl

java.lang.Object
  |
  +--com.beasys.commerce.foundation.BelongingImpl
Direct Known Subclasses:
AbstractPropertyMetaDataImpl, ExpressionImpl, PropertyLocatorImpl, PropertyMapKeyImpl, PropertyMetaDataImpl, PropertyTypeImpl, SearchImpl, StateImpl, TransitionImpl

public abstract class BelongingImpl
extends java.lang.Object
implements Belonging, java.io.Serializable, RelationalReference

The BelongingImpl provides the abstract base class from which all belongings must be derived. It implements the Belonging Interface and serves as its symmetric counterpart.

See Also:
Belonging,

Belongings also implement the SmartUpdate API. See the EntityImpl comments for more details. Although SmartUpdate is intended primarily for BMP, Belongings may find it useful as well.

, Serialized Form

Field Summary
 java.lang.String __classIdentifier
           
 Belonging __containingBelonging
           
 SmartEntityReference __containingEntity
           
 java.lang.Object __mapKey
           
 int __sequenceNumber
           
 
Constructor Summary
BelongingImpl()
           
 
Method Summary
 void clearRelationalBinding(java.lang.String attributeIdentifier, java.util.Collection collection)
           
 void clearRelationalBinding(java.lang.String attributeIdentifier, java.util.Collection collection, java.lang.Object o)
           
 void clearRelationalBinding(java.lang.String attributeIdentifier, java.util.Map map)
           
 void clearRelationalBinding(java.lang.String attributeIdentifier, java.util.Map map, java.lang.Object key)
           
 java.lang.Object clone()
           
abstract  int compareTo(java.lang.Object o)
           
 boolean equals(java.lang.Object o)
           
 java.lang.String get__classIdentifier()
          Get class 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
 javax.ejb.EJBObject get__containingEntity()
          Get foreign key information about the bean that contains this object
 SmartEntityReference get__containingEntityReference()
           
 java.lang.Object get__mapKey()
          get map key
 int 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(javax.ejb.EJBObject containingEntity)
          Provides foreign key information about the bean that contains this object
 void set__containingEntityReference(SmartEntityReference smartEntityReference)
           
 void set__mapKey(java.lang.Object mapKey)
          Provides map key information
 void setByValue(Belonging belonging)
           
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

__containingEntity

public SmartEntityReference __containingEntity

__mapKey

public java.lang.Object __mapKey

__containingBelonging

public Belonging __containingBelonging

__sequenceNumber

public int __sequenceNumber

__classIdentifier

public java.lang.String __classIdentifier
Constructor Detail

BelongingImpl

public BelongingImpl()
Method Detail

clone

public final java.lang.Object clone()
Specified by:
clone in interface Belonging

compareTo

public abstract int compareTo(java.lang.Object o)

equals

public boolean equals(java.lang.Object o)
Specified by:
equals in interface Belonging
Overrides:
equals in class java.lang.Object

setByValue

public void setByValue(Belonging belonging)
Specified by:
setByValue in interface Belonging

get__sequenceNumber

public int get__sequenceNumber()
Get the sequencer number
Specified by:
get__sequenceNumber in interface RelationalReference

set__containingBelonging

public void set__containingBelonging(Belonging belonging)
Provides foreign key information about the bean that contains this object
Specified by:
set__containingBelonging in interface RelationalReference
Parameters:
ejbObject - remote interface of the containing bean

get__containingBelonging

public Belonging get__containingBelonging()
Get foreign key information about the bean that contains this object
Specified by:
get__containingBelonging in interface RelationalReference
Returns:
ejbObject remote interface of the containing bean
Throws:
ClassCastException - source object is not an instance of the remote interface of the containing class.

get__mapKey

public java.lang.Object get__mapKey()
Description copied from interface: RelationalReference
get map key
Specified by:
get__mapKey in interface RelationalReference
Tags copied from interface: RelationalReference
Returns:
the mak key
Throws:
ClassCastException - source object is not an instance of the remote interface of the containing class.

set__mapKey

public void set__mapKey(java.lang.Object mapKey)
Description copied from interface: RelationalReference
Provides map key information
Specified by:
set__mapKey in interface RelationalReference
Tags copied from interface: RelationalReference
Parameters:
mapKey - the key if this object is used in a map

get__containingEntityReference

public SmartEntityReference get__containingEntityReference()

set__containingEntityReference

public void set__containingEntityReference(SmartEntityReference smartEntityReference)

set__containingEntity

public void set__containingEntity(javax.ejb.EJBObject containingEntity)
Provides foreign key information about the bean that contains this object
Specified by:
set__containingEntity in interface RelationalReference
Parameters:
ejbObject - remote interface of the containing bean
Throws:
ClassCastException - source object is not an instance of %EntityType%

get__containingEntity

public javax.ejb.EJBObject get__containingEntity()
Get foreign key information about the bean that contains this object
Specified by:
get__containingEntity in interface RelationalReference
Returns:
ejbObject remote interface of the containing bean

get__classIdentifier

public java.lang.String get__classIdentifier()
Get class identifier for this object (used to persist subclasses in a single collection or map)
Specified by:
get__classIdentifier in interface RelationalReference
Returns:
class identifier for this object.

clearRelationalBinding

public void clearRelationalBinding(java.lang.String attributeIdentifier,
                                   java.util.Collection collection)

clearRelationalBinding

public void clearRelationalBinding(java.lang.String attributeIdentifier,
                                   java.util.Collection collection,
                                   java.lang.Object o)

clearRelationalBinding

public void clearRelationalBinding(java.lang.String attributeIdentifier,
                                   java.util.Map map,
                                   java.lang.Object key)

clearRelationalBinding

public void clearRelationalBinding(java.lang.String attributeIdentifier,
                                   java.util.Map map)

BEA Systems, Inc.

Copyright © 2000 BEA Systems, Inc. All Rights Reserved