|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.ontopia.persistence.proxy.IndicatorFieldHandler
public class IndicatorFieldHandler
INTERNAL: The indicator field handler implementation that is able to...
Field Summary | |
---|---|
protected FieldHandlerIF |
common_handler
|
protected java.util.Map |
indicators
|
protected ObjectRelationalMappingIF |
mapping
|
Constructor Summary | |
---|---|
IndicatorFieldHandler(ObjectRelationalMappingIF mapping,
java.util.Map indicators)
INTERNAL: |
Method Summary | |
---|---|
void |
bind(java.lang.Object value,
java.sql.PreparedStatement stm,
int stmt_index)
INTERNAL: Binds the object field value starting from the given offset in the prepared statement. |
int |
getColumnCount()
INTERNAL: Returns the number of columns that the field spans. |
protected FieldHandlerIF |
getCommonFieldHandler()
|
boolean |
isIdentityField()
INTERNAL: Returns true if the field handler references an object identity field. |
java.lang.Object |
load(AccessRegistrarIF registrar,
TicketIF ticket,
java.sql.ResultSet rs,
int rsindex,
boolean direct)
INTERNAL: Reads the value beginning at the given offset in the current ResultSet row. |
protected void |
registerCommonFieldHandler(java.lang.Class indicated_klass)
|
void |
retrieveFieldValues(java.lang.Object value,
java.util.List field_values)
|
void |
retrieveSQLValues(java.lang.Object value,
java.util.List sql_values)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected ObjectRelationalMappingIF mapping
protected java.util.Map indicators
protected FieldHandlerIF common_handler
Constructor Detail |
---|
public IndicatorFieldHandler(ObjectRelationalMappingIF mapping, java.util.Map indicators)
Method Detail |
---|
public int getColumnCount()
FieldHandlerIF
getColumnCount
in interface FieldHandlerIF
public boolean isIdentityField()
FieldHandlerIF
isIdentityField
in interface FieldHandlerIF
protected void registerCommonFieldHandler(java.lang.Class indicated_klass)
protected FieldHandlerIF getCommonFieldHandler()
public java.lang.Object load(AccessRegistrarIF registrar, TicketIF ticket, java.sql.ResultSet rs, int rsindex, boolean direct) throws java.sql.SQLException
FieldHandlerIF
load
in interface FieldHandlerIF
java.sql.SQLException
public void bind(java.lang.Object value, java.sql.PreparedStatement stm, int stmt_index) throws java.sql.SQLException
FieldHandlerIF
bind
in interface FieldHandlerIF
java.sql.SQLException
public void retrieveFieldValues(java.lang.Object value, java.util.List field_values)
retrieveFieldValues
in interface FieldHandlerIF
public void retrieveSQLValues(java.lang.Object value, java.util.List sql_values)
retrieveSQLValues
in interface FieldHandlerIF
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |