org.jboss.ejb.plugins.cmp.jdbc2.bridge
Class JDBCCMRFieldBridge2.CollectionValuedFieldState

java.lang.Object
  extended byorg.jboss.ejb.plugins.cmp.jdbc2.bridge.JDBCCMRFieldBridge2.CollectionValuedFieldState
All Implemented Interfaces:
Cache.CacheLoader (src) , JDBCCMRFieldBridge2.FieldState (src)
Enclosing class:
JDBCCMRFieldBridge2 (src)

public class JDBCCMRFieldBridge2.CollectionValuedFieldState
extends java.lang.Object
implements JDBCCMRFieldBridge2.FieldState (src)


Field Summary
 
Fields inherited from interface org.jboss.ejb.plugins.cmp.jdbc2.bridge.JDBCCMRFieldBridge2.FieldState (src)
NULL_VALUE
 
Constructor Summary
JDBCCMRFieldBridge2.CollectionValuedFieldState()
           
 
Method Summary
 void addLoadedPk(java.lang.Object pk)
           
 boolean addRelatedId(EntityEnterpriseContext (src)  ctx, java.lang.Object relatedId)
           
 void cacheValue(EntityEnterpriseContext (src)  ctx)
           
 void cascadeDelete(EntityEnterpriseContext (src)  ctx)
           
 void destroyExistingRelationships(EntityEnterpriseContext (src)  ctx)
           
 java.lang.Object getCachedValue()
           
 java.lang.Object getValue(EntityEnterpriseContext (src)  ctx)
           
 void init()
           
 boolean isModified()
           
 java.lang.Object loadFromCache(java.lang.Object value)
           
 boolean removeRelatedId(EntityEnterpriseContext (src)  ctx, java.lang.Object relatedId)
           
 void setValue(EntityEnterpriseContext (src)  ctx, java.lang.Object value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JDBCCMRFieldBridge2.CollectionValuedFieldState

public JDBCCMRFieldBridge2.CollectionValuedFieldState()
Method Detail

init

public void init()
Specified by:
init in interface JDBCCMRFieldBridge2.FieldState (src)

getValue

public java.lang.Object getValue(EntityEnterpriseContext (src)  ctx)
Specified by:
getValue in interface JDBCCMRFieldBridge2.FieldState (src)

setValue

public void setValue(EntityEnterpriseContext (src)  ctx,
                     java.lang.Object value)
Specified by:
setValue in interface JDBCCMRFieldBridge2.FieldState (src)

cascadeDelete

public void cascadeDelete(EntityEnterpriseContext (src)  ctx)
                   throws RemoveException (src) 
Specified by:
cascadeDelete in interface JDBCCMRFieldBridge2.FieldState (src)
Throws:
RemoveException (src)

destroyExistingRelationships

public void destroyExistingRelationships(EntityEnterpriseContext (src)  ctx)
Specified by:
destroyExistingRelationships in interface JDBCCMRFieldBridge2.FieldState (src)

removeRelatedId

public boolean removeRelatedId(EntityEnterpriseContext (src)  ctx,
                               java.lang.Object relatedId)
Specified by:
removeRelatedId in interface JDBCCMRFieldBridge2.FieldState (src)

addRelatedId

public boolean addRelatedId(EntityEnterpriseContext (src)  ctx,
                            java.lang.Object relatedId)
Specified by:
addRelatedId in interface JDBCCMRFieldBridge2.FieldState (src)

addLoadedPk

public void addLoadedPk(java.lang.Object pk)
Specified by:
addLoadedPk in interface JDBCCMRFieldBridge2.FieldState (src)

loadFromCache

public java.lang.Object loadFromCache(java.lang.Object value)
Specified by:
loadFromCache in interface Cache.CacheLoader (src)

getCachedValue

public java.lang.Object getCachedValue()
Specified by:
getCachedValue in interface Cache.CacheLoader (src)

cacheValue

public void cacheValue(EntityEnterpriseContext (src)  ctx)
Specified by:
cacheValue in interface JDBCCMRFieldBridge2.FieldState (src)

isModified

public boolean isModified()
Specified by:
isModified in interface JDBCCMRFieldBridge2.FieldState (src)