Class BooleanValueHandler

  • All Implemented Interfaces:
    Serializable, org.apache.openjpa.jdbc.meta.ValueHandler

    public class BooleanValueHandler
    extends org.apache.openjpa.jdbc.meta.strats.AbstractValueHandler
    See Also:
    Serialized Form
    • Constructor Detail

      • BooleanValueHandler

        public BooleanValueHandler()
    • Method Detail

      • map

        @Deprecated
        public org.apache.openjpa.jdbc.schema.Column[] map​(org.apache.openjpa.jdbc.meta.ValueMapping vm,
                                                           String name,
                                                           org.apache.openjpa.jdbc.schema.ColumnIO io,
                                                           boolean adapt)
        Deprecated.
      • map

        public static org.apache.openjpa.jdbc.schema.Column[] map​(org.apache.openjpa.jdbc.identifier.DBIdentifier name,
                                                                  org.apache.openjpa.jdbc.schema.ColumnIO io,
                                                                  boolean adapt)
      • toDataStoreValue

        public Object toDataStoreValue​(org.apache.openjpa.jdbc.meta.ValueMapping vm,
                                       Object val,
                                       org.apache.openjpa.jdbc.kernel.JDBCStore store)
        Specified by:
        toDataStoreValue in interface org.apache.openjpa.jdbc.meta.ValueHandler
        Overrides:
        toDataStoreValue in class org.apache.openjpa.jdbc.meta.strats.AbstractValueHandler
      • toObjectValue

        public Object toObjectValue​(org.apache.openjpa.jdbc.meta.ValueMapping vm,
                                    Object val)
        Specified by:
        toObjectValue in interface org.apache.openjpa.jdbc.meta.ValueHandler
        Overrides:
        toObjectValue in class org.apache.openjpa.jdbc.meta.strats.AbstractValueHandler