|
Copyright © 2000, 2009, Oracle and/or its affiliates. All rights reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.beasys.commerce.foundation.BelongingImpl
@Deprecated public abstract class 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
,
SmartHome
,
Serialized FormField Summary | |
---|---|
String |
__classIdentifier
Deprecated |
Belonging |
__containingBelonging
Deprecated |
SmartEntityReference |
__containingEntity
Deprecated |
Object |
__mapKey
Deprecated |
Long |
__sequenceNumber
Deprecated |
boolean |
_isDirty
Deprecated |
Constructor Summary | |
---|---|
BelongingImpl()
Deprecated Default constructor. |
Method Summary | |
---|---|
void |
clearRelationalBinding(String attributeIdentifier,
Collection collection)
Deprecated |
void |
clearRelationalBinding(String attributeIdentifier,
Collection collection,
Object o)
Deprecated |
void |
clearRelationalBinding(String attributeIdentifier,
Map map)
Deprecated |
void |
clearRelationalBinding(String attributeIdentifier,
Map map,
Object key)
Deprecated |
Object |
clone()
Deprecated Returns a shallow copy of the Belonging instance. |
abstract int |
compareTo(Object o)
Deprecated Compares a given object with this Belonging. |
protected Collection |
doRelationalBinding(String attributeIdentifier,
Collection collection)
Deprecated 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 Map |
doRelationalBinding(String attributeIdentifier,
Map map)
Deprecated 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(String attributeIdentifier,
Belonging value)
Deprecated Add relational information to a belonging This feature is implemented by a plugin and by default is turned off |
protected javax.ejb.EJBObject |
doRelationalBindingOnElement(String attributeIdentifier,
javax.ejb.EJBObject value)
Deprecated Add relational information to an EJBObject This feature is implemented by a plugin and by default is turned off |
protected Object |
doRelationalBindingOnElement(String attributeIdentifier,
Object value)
Deprecated Add relational information to a dependent object. |
protected Belonging |
doRelationalBindingOnSingleton(String attributeIdentifier,
Belonging value)
Deprecated Add relational information to a belonging This feature is implemented by a plugin and by default is turned off |
protected javax.ejb.EJBObject |
doRelationalBindingOnSingleton(String attributeIdentifier,
javax.ejb.EJBObject ejbObject)
Deprecated Add relational information to an EJBObject This feature is implemented by a plugin and by default is turned off |
protected Object |
doRelationalBindingOnSingleton(String attributeIdentifier,
Object value)
Deprecated Add relational information to a dependent object. |
protected Object |
doRelationalBindingWithMapKey(String attributeIdentifier,
Belonging belonging,
Object key)
Deprecated 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(String attributeIdentifier,
javax.ejb.EJBObject ejbObject,
Object key)
Deprecated 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 Object |
doRelationalBindingWithMapKey(String attributeIdentifier,
Object object,
Object key)
Deprecated 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 Collection |
enumerateRelationalBinding(String attributeIdentifier,
Collection collection)
Deprecated 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 Map |
enumerateRelationalBinding(String attributeIdentifier,
Map map)
Deprecated 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(Object o)
Deprecated Indicates whether some other Belonging is equivalent to this Belonging. |
String |
get__classIdentifier()
Deprecated Get class identifier for this object (used to persist subclasses in a single collection or map) |
Belonging |
get__containingBelonging()
Deprecated Get foreign key information about the bean that contains this object |
javax.ejb.EJBObject |
get__containingEntity()
Deprecated Get foreign key information about the bean that contains this object |
SmartEntityReference |
get__containingEntityReference()
Deprecated |
Object |
get__mapKey()
Deprecated get map key |
Long |
get__sequenceNumber()
Deprecated Get the sequencer number |
PersistenceHelperPlugin |
getPersistenceHelperPlugin()
Deprecated Instantiates PersistenceHelperPlugin for this Belonging using properties specified in the Server property file. |
int |
hashCode()
Deprecated Returns a hash code for this Belonging. |
protected void |
set__classIdentifier(String classIdentifier)
Deprecated Derived classes use this to set the class identifier |
void |
set__containingBelonging(Belonging belonging)
Deprecated Provides foreign key information about the bean that contains this object |
void |
set__containingEntity(javax.ejb.EJBObject containingEntity)
Deprecated Provides foreign key information about the bean that contains this object |
void |
set__containingEntityReference(SmartEntityReference smartEntityReference)
Deprecated |
void |
set__mapKey(Object mapKey)
Deprecated Provides map key information |
void |
setByValue(Belonging belonging)
Deprecated Intializes the Belonging based upon a supplied Belonging . |
String |
toString()
Deprecated 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 Object __mapKey
public Long __sequenceNumber
public String __classIdentifier
public Belonging __containingBelonging
Constructor Detail |
---|
public BelongingImpl()
Method Detail |
---|
public final Object clone()
clone
in interface Belonging
clone
in class Object
public abstract int compareTo(Object o)
compareTo
in interface Comparable
o
- the Object to be compared.
ClassCastException
- if the specified object is not of the same
type as this Belonging.public final boolean equals(Object o)
equals
in interface Belonging
equals
in class Object
o
- the Object to be compared.
true
if the supplied Object is equivalent,
false
otherwise.
ClassCastException
- if the specified object is not of the same
type as this Belonging.public int hashCode()
hashCode
in class Object
public String toString()
String
representation of the Belonging.
toString
in class 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 Long get__sequenceNumber()
get__sequenceNumber
in interface RelationalReference
public void set__containingBelonging(Belonging belonging)
set__containingBelonging
in interface RelationalReference
ejbObject
- remote interface of the containing beanpublic Belonging get__containingBelonging()
get__containingBelonging
in interface RelationalReference
ClassCastException
- source object is not an instance of the remote interface of the containing class.public Object get__mapKey()
RelationalReference
get__mapKey
in interface RelationalReference
public void set__mapKey(Object mapKey)
RelationalReference
set__mapKey
in interface RelationalReference
mapKey
- the key if this object is used in a mappublic SmartEntityReference get__containingEntityReference()
public void set__containingEntityReference(SmartEntityReference smartEntityReference)
public void set__containingEntity(javax.ejb.EJBObject containingEntity)
set__containingEntity
in interface RelationalReference
ejbObject
- remote interface of the containing bean
ClassCastException
- source object is not an instance of %EntityType%public javax.ejb.EJBObject get__containingEntity()
get__containingEntity
in interface RelationalReference
protected void set__classIdentifier(String classIdentifier)
public String get__classIdentifier()
get__classIdentifier
in interface RelationalReference
protected final Object doRelationalBindingOnElement(String attributeIdentifier, 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 bean
protected final Belonging doRelationalBindingOnElement(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 bean
protected final javax.ejb.EJBObject doRelationalBindingOnElement(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 bean
protected final Object doRelationalBindingOnSingleton(String attributeIdentifier, 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 bean
protected final Belonging doRelationalBindingOnSingleton(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 bean
protected final javax.ejb.EJBObject doRelationalBindingOnSingleton(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 bean
protected final Object doRelationalBindingWithMapKey(String attributeIdentifier, Object object, Object key)
attributeIdentifier
- identifier for an attribute on a bean e.g. examples.buybeans.BeanieHat.numberOfPropellerscollection
- the target collection
protected final javax.ejb.EJBObject doRelationalBindingWithMapKey(String attributeIdentifier, javax.ejb.EJBObject ejbObject, Object key)
attributeIdentifier
- identifier for an attribute on a bean e.g. examples.buybeans.BeanieHat.numberOfPropellerscollection
- the target collection
protected final Object doRelationalBindingWithMapKey(String attributeIdentifier, Belonging belonging, Object key)
attributeIdentifier
- identifier for an attribute on a bean e.g. examples.buybeans.BeanieHat.numberOfPropellerscollection
- the target collection
protected final Collection doRelationalBinding(String attributeIdentifier, Collection collection)
attributeIdentifier
- identifier for an attribute on a bean e.g. examples.buybeans.BeanieHat.numberOfPropellerscollection
- the target collection
protected final Map doRelationalBinding(String attributeIdentifier, Map map)
attributeIdentifier
- identifier for an attribute on a bean e.g. examples.buybeans.BeanieHat.numberOfPropellersmap
- the target map
protected final Collection enumerateRelationalBinding(String attributeIdentifier, Collection collection)
attributeIdentifier
- identifier for an attribute on a bean e.g. examples.buybeans.BeanieHat.numberOfPropellerscollection
- the target collection
protected final Map enumerateRelationalBinding(String attributeIdentifier, Map map)
attributeIdentifier
- identifier for an attribute on a bean e.g. examples.buybeans.BeanieHat.numberOfPropellersmap
- the target map
public final void clearRelationalBinding(String attributeIdentifier, Collection collection)
public final void clearRelationalBinding(String attributeIdentifier, Collection collection, Object o)
public final void clearRelationalBinding(String attributeIdentifier, Map map, Object key)
public final void clearRelationalBinding(String attributeIdentifier, Map map)
public final PersistenceHelperPlugin getPersistenceHelperPlugin()
null
, if no PersistenceHelperPlugin is specified.
|
Copyright © 2000, 2009, Oracle and/or its affiliates. All rights reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |