Class OjbCharBooleanConversion3
java.lang.Object
org.kuali.rice.core.framework.persistence.ojb.conversion.OjbCharBooleanConversion3
- All Implemented Interfaces:
Serializable,org.apache.ojb.broker.accesslayer.conversions.FieldConversion
public class OjbCharBooleanConversion3
extends Object
implements org.apache.ojb.broker.accesslayer.conversions.FieldConversion
This class originates from a similar class in the Kuali Financial System and has been adapted from
that original state which was originally authored by the Kuali Nervous System team.
For records in the KEW tables, "0" and "1" are used to represent "false" and "true"
respectively which is the standard way to represent these values in OJB.
This differs from other pieces of the KNS where "N" and "Y" are used.
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
OjbCharBooleanConversion3
public OjbCharBooleanConversion3()
-
-
Method Details
-
javaToSql
This handles checking any incoming String value and converts them to the appropriate Boolean value.- Specified by:
javaToSqlin interfaceorg.apache.ojb.broker.accesslayer.conversions.FieldConversion- See Also:
-
sqlToJava
- Specified by:
sqlToJavain interfaceorg.apache.ojb.broker.accesslayer.conversions.FieldConversion
-