public class OjbAccountActiveIndicatorConversion extends org.kuali.rice.core.framework.persistence.ojb.conversion.OjbCharBooleanConversion
Modifier and Type | Field and Description |
---|---|
static String |
INDICATOR_NO |
static String |
INDICATOR_YES |
Constructor and Description |
---|
OjbAccountActiveIndicatorConversion() |
Modifier and Type | Method and Description |
---|---|
Object |
javaToSql(Object source)
This handles checking the boolean value coming in and converts it to
the appropriate Y or N value.
|
Object |
sqlToJava(Object source)
This handles checking the sql coming back from the database and converting
it to the appropriate boolean true or false value.
|
public static final String INDICATOR_NO
public static final String INDICATOR_YES
public OjbAccountActiveIndicatorConversion()
public Object javaToSql(Object source)
javaToSql
in interface org.apache.ojb.broker.accesslayer.conversions.FieldConversion
javaToSql
in class org.kuali.rice.core.framework.persistence.ojb.conversion.OjbCharBooleanConversion
FieldConversion#javaToSql(Object)
public Object sqlToJava(Object source)
sqlToJava
in interface org.apache.ojb.broker.accesslayer.conversions.FieldConversion
sqlToJava
in class org.kuali.rice.core.framework.persistence.ojb.conversion.OjbCharBooleanConversion
FieldConversion#sqlToJava(Object)
Copyright © 2004–2015 The Kuali Foundation. All rights reserved.