public class OjbCharBooleanFieldInverseConversion extends Object implements org.apache.ojb.broker.accesslayer.conversions.FieldConversion
Constructor and Description |
---|
OjbCharBooleanFieldInverseConversion() |
Modifier and Type | Method and Description |
---|---|
Object |
javaToSql(Object source)
This method takes the value intended to be passed to the SQL statement and replaces that value with its inverse.
|
Object |
sqlToJava(Object source)
This method takes the value returned from the database and replaces it with its inverse, thus FALSE becomes TRUE and vice
versa.
|
public OjbCharBooleanFieldInverseConversion()
public Object javaToSql(Object source)
javaToSql
in interface org.apache.ojb.broker.accesslayer.conversions.FieldConversion
FieldConversion.javaToSql(java.lang.Object)
public Object sqlToJava(Object source)
sqlToJava
in interface org.apache.ojb.broker.accesslayer.conversions.FieldConversion
FieldConversion.sqlToJava(java.lang.Object)
Copyright © 2004–2014 The Kuali Foundation. All rights reserved.