Back to project page simpleprovider.
The source code is released under:
MIT License
If you think the Android project simpleprovider 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 de.triplet.simpleprovider; /*w ww . j a v a 2 s.c om*/ import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; @Retention(RetentionPolicy.RUNTIME) @Target(ElementType.FIELD) public @interface Column { FieldType value(); boolean primaryKey() default false; boolean notNull() default false; boolean unique() default false; int since() default 1; enum FieldType {NULL, INTEGER, FLOAT, TEXT, BLOB, REAL} }