|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCAbstractCMRFieldBridge (src)
org.jboss.ejb.plugins.cmp.jdbc2.bridge.JDBCCMRFieldBridge2
Nested Class Summary | |
class |
JDBCCMRFieldBridge2.CollectionValuedFieldState (src)
|
static interface |
JDBCCMRFieldBridge2.FieldState (src)
|
class |
JDBCCMRFieldBridge2.SingleValuedFieldState (src)
|
Constructor Summary | |
JDBCCMRFieldBridge2(JDBCEntityBridge2 (src) entityBridge,
JDBCStoreManager2 (src) manager,
JDBCRelationshipRoleMetaData (src) metadata)
|
Method Summary | |
boolean |
addRelatedId(EntityEnterpriseContext (src) ctx,
java.lang.Object relatedId)
|
void |
destroyExistingRelationships(EntityEnterpriseContext (src) ctx)
|
JDBCAbstractEntityBridge (src) |
getEntity()
|
java.lang.String |
getFieldName()
Gets the name of this field. |
JDBCFieldBridge (src) [] |
getForeignKeyFields()
|
java.lang.Object |
getInstanceValue(EntityEnterpriseContext (src) ctx)
Gets the internal value of this field without user level checks. |
JDBCType (src) |
getJDBCType()
Gets the JDBC type of this field. |
JDBCEntityPersistenceStore (src) |
getManager()
|
JDBCRelationshipRoleMetaData (src) |
getMetaData()
|
java.lang.String |
getQualifiedTableName()
|
JDBCAbstractCMRFieldBridge (src) |
getRelatedCMRField()
|
EntityBridge (src) |
getRelatedEntity()
|
JDBCCMRFieldBridge2 (src) |
getRelatedField()
|
JDBCFieldBridge (src) [] |
getTableKeyFields()
|
java.lang.String |
getTableName()
|
java.lang.Object |
getValue(EntityEnterpriseContext (src) ctx)
Gets the value of this field for the specified instance context. |
boolean |
hasForeignKey()
|
void |
initInstance(EntityEnterpriseContext (src) ctx)
Set CMPFieldValue to Java default value (i.e., 0 or null). |
void |
initLoader()
|
boolean |
isCMPField()
|
boolean |
isDirty(EntityEnterpriseContext (src) ctx)
Has the value of this field changes since the last time clean was called. |
boolean |
isLoaded(EntityEnterpriseContext (src) ctx)
Has the data been loaded? |
boolean |
isPrimaryKeyMember()
Is this field a member of the primary key. |
boolean |
isReadOnly()
Is this field read only. |
boolean |
isReadTimedOut(EntityEnterpriseContext (src) ctx)
Has current data read timed out? |
boolean |
isSingleValued()
|
int |
loadArgumentResults(java.sql.ResultSet rs,
int parameterIndex,
java.lang.Object[] argumentRef)
Loads the value of this cmp field from result set into argument referance. |
int |
loadInstanceResults(java.sql.ResultSet rs,
int parameterIndex,
EntityEnterpriseContext (src) ctx)
Loads the data from result set into the instance associated with the specified context. |
void |
remove(EntityEnterpriseContext (src) ctx)
|
boolean |
removeRelatedId(EntityEnterpriseContext (src) ctx,
java.lang.Object relatedId)
|
void |
resetPersistenceContext(EntityEnterpriseContext (src) ctx)
Resets any persistence data maintained in the context. |
void |
resolveRelationship()
|
void |
setClean(EntityEnterpriseContext (src) ctx)
Mark this field as clean. |
int |
setInstanceParameters(java.sql.PreparedStatement ps,
int parameterIndex,
EntityEnterpriseContext (src) ctx)
Sets the prepared statement parameters with the data from the instance associated with the context. |
void |
setInstanceValue(EntityEnterpriseContext (src) ctx,
java.lang.Object value)
Sets the internal value of this field without user level checks. |
void |
setValue(EntityEnterpriseContext (src) ctx,
java.lang.Object value)
Sets the value of this field for the specified instance context. |
Methods inherited from class org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCAbstractCMRFieldBridge (src) |
getPrimaryKeyValue |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public JDBCCMRFieldBridge2(JDBCEntityBridge2 (src) entityBridge, JDBCStoreManager2 (src) manager, JDBCRelationshipRoleMetaData (src) metadata)
Method Detail |
public void resolveRelationship() throws DeploymentException (src)
DeploymentException (src)
public void initLoader() throws DeploymentException (src)
DeploymentException (src)
public JDBCRelationshipRoleMetaData (src) getMetaData()
getMetaData
in class JDBCAbstractCMRFieldBridge (src)
public boolean removeRelatedId(EntityEnterpriseContext (src) ctx, java.lang.Object relatedId)
public boolean addRelatedId(EntityEnterpriseContext (src) ctx, java.lang.Object relatedId)
public void remove(EntityEnterpriseContext (src) ctx) throws RemoveException (src)
RemoveException (src)
public void destroyExistingRelationships(EntityEnterpriseContext (src) ctx)
public JDBCFieldBridge (src) [] getTableKeyFields()
getTableKeyFields
in class JDBCAbstractCMRFieldBridge (src)
public JDBCEntityPersistenceStore (src) getManager()
public boolean hasForeignKey()
hasForeignKey
in class JDBCAbstractCMRFieldBridge (src)
public JDBCAbstractCMRFieldBridge (src) getRelatedCMRField()
getRelatedCMRField
in class JDBCAbstractCMRFieldBridge (src)
public JDBCFieldBridge (src) [] getForeignKeyFields()
getForeignKeyFields
in class JDBCAbstractCMRFieldBridge (src)
public JDBCCMRFieldBridge2 (src) getRelatedField()
public JDBCAbstractEntityBridge (src) getEntity()
getEntity
in class JDBCAbstractCMRFieldBridge (src)
public java.lang.String getQualifiedTableName()
getQualifiedTableName
in class JDBCAbstractCMRFieldBridge (src)
public java.lang.String getTableName()
getTableName
in class JDBCAbstractCMRFieldBridge (src)
public JDBCType (src) getJDBCType()
JDBCFieldBridge (src)
public boolean isPrimaryKeyMember()
JDBCFieldBridge (src)
public boolean isReadOnly()
JDBCFieldBridge (src)
public boolean isReadTimedOut(EntityEnterpriseContext (src) ctx)
JDBCFieldBridge (src)
public boolean isLoaded(EntityEnterpriseContext (src) ctx)
JDBCFieldBridge (src)
public void initInstance(EntityEnterpriseContext (src) ctx)
JDBCFieldBridge (src)
public void resetPersistenceContext(EntityEnterpriseContext (src) ctx)
JDBCFieldBridge (src)
public int setInstanceParameters(java.sql.PreparedStatement ps, int parameterIndex, EntityEnterpriseContext (src) ctx)
JDBCFieldBridge (src)
public java.lang.Object getInstanceValue(EntityEnterpriseContext (src) ctx)
JDBCFieldBridge (src)
ctx
- the context for which this field's value should be fetched
public void setInstanceValue(EntityEnterpriseContext (src) ctx, java.lang.Object value)
JDBCFieldBridge (src)
ctx
- the context for which this field's value should be setvalue
- the new value of this fieldpublic int loadInstanceResults(java.sql.ResultSet rs, int parameterIndex, EntityEnterpriseContext (src) ctx)
JDBCFieldBridge (src)
public int loadArgumentResults(java.sql.ResultSet rs, int parameterIndex, java.lang.Object[] argumentRef)
JDBCFieldBridge (src)
public boolean isDirty(EntityEnterpriseContext (src) ctx)
JDBCFieldBridge (src)
public void setClean(EntityEnterpriseContext (src) ctx)
JDBCFieldBridge (src)
public boolean isCMPField()
public java.lang.String getFieldName()
FieldBridge (src)
public java.lang.Object getValue(EntityEnterpriseContext (src) ctx)
FieldBridge (src)
ctx
- the context for which this field's value should be fetched
public void setValue(EntityEnterpriseContext (src) ctx, java.lang.Object value)
FieldBridge (src)
ctx
- the context for which this field's value should be setvalue
- the new value of this fieldpublic boolean isSingleValued()
public EntityBridge (src) getRelatedEntity()
|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |