|
BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.beasys.commerce.foundation.BelongingImpl
The BelongingImpl provides the abstract base class from which all Belonging implementations must be derived. It implements the Belonging interface and serves as its symmetric counterpart.
Belonging
,
com.beasys.commerce.foundation.SmartHome.
, Serialized FormField Summary | |
java.lang.String |
__classIdentifier
|
Belonging |
__containingBelonging
|
SmartEntityReference |
__containingEntity
|
java.lang.Object |
__mapKey
|
java.lang.Long |
__sequenceNumber
|
boolean |
_isDirty
|
Constructor Summary | |
BelongingImpl()
Default constructor. |
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()
Returns a shallow copy of the Belonging instance. |
abstract int |
compareTo(java.lang.Object o)
Compares a given object with this Belonging. |
protected java.util.Collection |
doRelationalBinding(java.lang.String attributeIdentifier,
java.util.Collection collection)
Add relational information to each element in a collection, AND synchronize the collection with the persistence cache This feature is implemented by a plugin and by default is turned off |
protected java.util.Map |
doRelationalBinding(java.lang.String attributeIdentifier,
java.util.Map map)
Add relational information to each element in a map, AND synchronize the map with the persistence cache This feature is implemented by a plugin and by default is turned off |
protected Belonging |
doRelationalBindingOnElement(java.lang.String attributeIdentifier,
Belonging value)
Add relational information to a belonging This feature is implemented by a plugin and by default is turned off |
protected javax.ejb.EJBObject |
doRelationalBindingOnElement(java.lang.String attributeIdentifier,
javax.ejb.EJBObject value)
Add relational information to an EJBObject This feature is implemented by a plugin and by default is turned off |
protected java.lang.Object |
doRelationalBindingOnElement(java.lang.String attributeIdentifier,
java.lang.Object value)
Add relational information to a dependent object. |
protected Belonging |
doRelationalBindingOnSingleton(java.lang.String attributeIdentifier,
Belonging value)
Add relational information to a belonging This feature is implemented by a plugin and by default is turned off |
protected javax.ejb.EJBObject |
doRelationalBindingOnSingleton(java.lang.String attributeIdentifier,
javax.ejb.EJBObject ejbObject)
Add relational information to an EJBObject This feature is implemented by a plugin and by default is turned off |
protected java.lang.Object |
doRelationalBindingOnSingleton(java.lang.String attributeIdentifier,
java.lang.Object value)
Add relational information to a dependent object. |
protected java.lang.Object |
doRelationalBindingWithMapKey(java.lang.String attributeIdentifier,
Belonging belonging,
java.lang.Object key)
Add relational information to an element in a map, AND synchronize the element with the persistence cache This feature is implemented by a plugin and by default is turned off |
protected javax.ejb.EJBObject |
doRelationalBindingWithMapKey(java.lang.String attributeIdentifier,
javax.ejb.EJBObject ejbObject,
java.lang.Object key)
Add relational information to an element in a map, AND synchronize the element with the persistence cache This feature is implemented by a plugin and by default is turned off |
protected java.lang.Object |
doRelationalBindingWithMapKey(java.lang.String attributeIdentifier,
java.lang.Object object,
java.lang.Object key)
Add relational information to an element in a map, AND synchronize the element with the persistence cache This feature is implemented by a plugin and by default is turned off |
protected java.util.Collection |
enumerateRelationalBinding(java.lang.String attributeIdentifier,
java.util.Collection collection)
Add relational information to each element in a collection, but do not synchronize the collection with the persistence cache This feature is implemented by a plugin and by default is turned off |
protected java.util.Map |
enumerateRelationalBinding(java.lang.String attributeIdentifier,
java.util.Map map)
Add relational information to each element in a map, but do not synchronize the map with the persistence cache This feature is implemented by a plugin and by default is turned off |
boolean |
equals(java.lang.Object o)
Indicates whether some other Belonging is equivalent to this Belonging. |
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 |
java.lang.Long |
get__sequenceNumber()
Get the sequencer number |
PersistenceHelperPlugin |
getPersistenceHelperPlugin()
Instantiates PersistenceHelperPlugin for this Belonging using properties specified in the Server property file. |
int |
hashCode()
Returns a hash code for this Belonging. |
protected void |
set__classIdentifier(java.lang.String classIdentifier)
Derived classes use this to set the class identifier |
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)
Intializes the Belonging based upon a supplied Belonging . |
java.lang.String |
toString()
Returns a String representation of the Belonging. |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.beasys.commerce.foundation.Belonging |
interfaceName, value |
Field Detail |
public transient boolean _isDirty
public SmartEntityReference __containingEntity
public java.lang.Object __mapKey
public java.lang.Long __sequenceNumber
public java.lang.String __classIdentifier
public Belonging __containingBelonging
Constructor Detail |
public BelongingImpl()
Method Detail |
public final java.lang.Object clone()
clone
in interface Belonging
clone
in class java.lang.Object
public abstract int compareTo(java.lang.Object o)
compareTo
in interface java.lang.Comparable
o
- the Object to be compared.java.lang.ClassCastException
- if the specified object is not of the same
type as this Belonging.public final boolean equals(java.lang.Object o)
equals
in interface Belonging
equals
in class java.lang.Object
o
- the Object to be compared.true
if the supplied Object is equivalent,
false
otherwise.java.lang.ClassCastException
- if the specified object is not of the same
type as this Belonging.public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
String
representation of the Belonging.toString
in class java.lang.Object
String
representation of the Belonging.public void setByValue(Belonging belonging)
Belonging
based upon a supplied Belonging
.setByValue
in interface Belonging
belonging
- The Belonging
to use for initialization.public final java.lang.Long get__sequenceNumber()
get__sequenceNumber
in interface RelationalReference
public final void set__containingBelonging(Belonging belonging)
set__containingBelonging
in interface RelationalReference
ejbObject
- remote interface of the containing beanpublic final Belonging get__containingBelonging()
get__containingBelonging
in interface RelationalReference
java.lang.ClassCastException
- source object is not an instance of the remote interface of the containing class.public final java.lang.Object get__mapKey()
RelationalReference
get__mapKey
in interface RelationalReference
com.beasys.commerce.foundation.RelationalReference
java.lang.ClassCastException
- source object is not an instance of the remote interface of the containing class.public final void set__mapKey(java.lang.Object mapKey)
RelationalReference
set__mapKey
in interface RelationalReference
com.beasys.commerce.foundation.RelationalReference
mapKey
- the key if this object is used in a mappublic final SmartEntityReference get__containingEntityReference()
public final void set__containingEntityReference(SmartEntityReference smartEntityReference)
public final void set__containingEntity(javax.ejb.EJBObject containingEntity)
set__containingEntity
in interface RelationalReference
ejbObject
- remote interface of the containing beanjava.lang.ClassCastException
- source object is not an instance of %EntityType%public final javax.ejb.EJBObject get__containingEntity()
get__containingEntity
in interface RelationalReference
protected final void set__classIdentifier(java.lang.String classIdentifier)
public final java.lang.String get__classIdentifier()
get__classIdentifier
in interface RelationalReference
protected final java.lang.Object doRelationalBindingOnElement(java.lang.String attributeIdentifier, java.lang.Object value)
attributeIdentifier
- identifier for an attribute on a bean e.g. examples.buybeans.BeanieHat.numberOfPropellersvalue
- instance of a dependent objectentityImpl
- implementation of an entity beanprotected final Belonging doRelationalBindingOnElement(java.lang.String attributeIdentifier, Belonging value)
attributeIdentifier
- identifier for an attribute on a bean e.g. examples.buybeans.BeanieHat.numberOfPropellersbelonging
- instance of a belongingentityImpl
- implementation of an entity beanprotected final javax.ejb.EJBObject doRelationalBindingOnElement(java.lang.String attributeIdentifier, javax.ejb.EJBObject value)
attributeIdentifier
- identifier for an attribute on a bean e.g. examples.buybeans.BeanieHat.numberOfPropellersejbObject
- instance of an EJB objectentityImpl
- implementation of an entity beanprotected final java.lang.Object doRelationalBindingOnSingleton(java.lang.String attributeIdentifier, java.lang.Object value)
attributeIdentifier
- identifier for an attribute on a bean e.g. examples.buybeans.BeanieHat.numberOfPropellersvalue
- instance of a dependent objectentityImpl
- implementation of an entity beanprotected final Belonging doRelationalBindingOnSingleton(java.lang.String attributeIdentifier, Belonging value)
attributeIdentifier
- identifier for an attribute on a bean e.g. examples.buybeans.BeanieHat.numberOfPropellersbelonging
- instance of a belongingentityImpl
- implementation of an entity beanprotected final javax.ejb.EJBObject doRelationalBindingOnSingleton(java.lang.String attributeIdentifier, javax.ejb.EJBObject ejbObject)
attributeIdentifier
- identifier for an attribute on a bean e.g. examples.buybeans.BeanieHat.numberOfPropellersejbObject
- instance of an EJB objectentityImpl
- implementation of an entity beanprotected final java.lang.Object doRelationalBindingWithMapKey(java.lang.String attributeIdentifier, java.lang.Object object, java.lang.Object key)
attributeIdentifier
- identifier for an attribute on a bean e.g. examples.buybeans.BeanieHat.numberOfPropellerscollection
- the target collectionprotected final javax.ejb.EJBObject doRelationalBindingWithMapKey(java.lang.String attributeIdentifier, javax.ejb.EJBObject ejbObject, java.lang.Object key)
attributeIdentifier
- identifier for an attribute on a bean e.g. examples.buybeans.BeanieHat.numberOfPropellerscollection
- the target collectionprotected final java.lang.Object doRelationalBindingWithMapKey(java.lang.String attributeIdentifier, Belonging belonging, java.lang.Object key)
attributeIdentifier
- identifier for an attribute on a bean e.g. examples.buybeans.BeanieHat.numberOfPropellerscollection
- the target collectionprotected final java.util.Collection doRelationalBinding(java.lang.String attributeIdentifier, java.util.Collection collection)
attributeIdentifier
- identifier for an attribute on a bean e.g. examples.buybeans.BeanieHat.numberOfPropellerscollection
- the target collectionprotected final java.util.Map doRelationalBinding(java.lang.String attributeIdentifier, java.util.Map map)
attributeIdentifier
- identifier for an attribute on a bean e.g. examples.buybeans.BeanieHat.numberOfPropellersmap
- the target mapprotected final java.util.Collection enumerateRelationalBinding(java.lang.String attributeIdentifier, java.util.Collection collection)
attributeIdentifier
- identifier for an attribute on a bean e.g. examples.buybeans.BeanieHat.numberOfPropellerscollection
- the target collectionprotected final java.util.Map enumerateRelationalBinding(java.lang.String attributeIdentifier, java.util.Map map)
attributeIdentifier
- identifier for an attribute on a bean e.g. examples.buybeans.BeanieHat.numberOfPropellersmap
- the target mappublic final void clearRelationalBinding(java.lang.String attributeIdentifier, java.util.Collection collection)
public final void clearRelationalBinding(java.lang.String attributeIdentifier, java.util.Collection collection, java.lang.Object o)
public final void clearRelationalBinding(java.lang.String attributeIdentifier, java.util.Map map, java.lang.Object key)
public final void clearRelationalBinding(java.lang.String attributeIdentifier, java.util.Map map)
public final PersistenceHelperPlugin getPersistenceHelperPlugin()
|
BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |