|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface JDBCFieldBridge
Method Summary | |
---|---|
Object |
getInstanceValue(EntityEnterpriseContext ctx)
Gets the internal value of this field without user level checks. |
JDBCType |
getJDBCType()
Gets the JDBC type of this field. |
JDBCEntityPersistenceStore |
getManager()
|
Object |
getPrimaryKeyValue(Object arg)
|
void |
initInstance(EntityEnterpriseContext ctx)
Set CMPFieldValue to Java default value (i.e., 0 or null). |
boolean |
isCMPField()
|
boolean |
isDirty(EntityEnterpriseContext ctx)
Has the value of this field changes since the last time clean was called. |
boolean |
isLoaded(EntityEnterpriseContext 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 ctx)
Has current data read timed out? |
int |
loadArgumentResults(ResultSet rs,
int parameterIndex,
Object[] argumentRef)
Loads the value of this cmp field from result set into argument referance. |
int |
loadInstanceResults(ResultSet rs,
int parameterIndex,
EntityEnterpriseContext ctx)
Loads the data from result set into the instance associated with the specified context. |
void |
resetPersistenceContext(EntityEnterpriseContext ctx)
Resets any persistence data maintained in the context. |
void |
setClean(EntityEnterpriseContext ctx)
Mark this field as clean. |
int |
setInstanceParameters(PreparedStatement ps,
int parameterIndex,
EntityEnterpriseContext ctx)
Sets the prepared statement parameters with the data from the instance associated with the context. |
void |
setInstanceValue(EntityEnterpriseContext ctx,
Object value)
Sets the internal value of this field without user level checks. |
Methods inherited from interface org.jboss.ejb.plugins.cmp.bridge.FieldBridge |
---|
getFieldName, getValue, setValue |
Method Detail |
---|
JDBCType getJDBCType()
boolean isPrimaryKeyMember()
boolean isReadOnly()
boolean isReadTimedOut(EntityEnterpriseContext ctx)
boolean isLoaded(EntityEnterpriseContext ctx)
void initInstance(EntityEnterpriseContext ctx)
void resetPersistenceContext(EntityEnterpriseContext ctx)
int setInstanceParameters(PreparedStatement ps, int parameterIndex, EntityEnterpriseContext ctx)
Object getInstanceValue(EntityEnterpriseContext ctx)
ctx
- the context for which this field's value should be fetched
void setInstanceValue(EntityEnterpriseContext ctx, Object value)
ctx
- the context for which this field's value should be setvalue
- the new value of this fieldint loadInstanceResults(ResultSet rs, int parameterIndex, EntityEnterpriseContext ctx)
int loadArgumentResults(ResultSet rs, int parameterIndex, Object[] argumentRef)
boolean isDirty(EntityEnterpriseContext ctx)
void setClean(EntityEnterpriseContext ctx)
boolean isCMPField()
JDBCEntityPersistenceStore getManager()
Object getPrimaryKeyValue(Object arg)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |