Back to project page Android-Lib-Database.
The source code is released under:
Apache License
If you think the Android project Android-Lib-Database listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package android.lib.database; //from w ww . ja v a2 s . c o m import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; /** * Specifies a {@link TypeConverter} to convert the value of a field to and from * its underlying value in the database. * <p>The annotated field must also be annotated with {@link Column @Column}. * @see Column */ @Target({ ElementType.FIELD }) @Retention(RetentionPolicy.RUNTIME) public @interface UseConverter { /** * The {@link TypeConverter} to use for type conversion. */ Class<?> value(); /** * The SQLite data type of the column. */ Class<?> type(); }