Android Open Source - GenDbHandler Attribute






From Project

Back to project page GenDbHandler.

License

The source code is released under:

Open Data Commons ? Public Domain Dedication & Licence (PDDL) Preamble The Open Data Commons ? Public Domain Dedication & Licence is a document intended to allow you to freely share, modify, an...

If you think the Android project GenDbHandler listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package net.cattaka.util.gendbhandler;
// w w  w  .  j a  v a 2 s  .  com
public @interface Attribute {
    public enum FieldType {
        /** */
        P_BYTE,
        /** */
        P_SHORT,
        /** */
        P_INT,
        /** */
        P_LONG,
        /** */
        P_FLOAT,
        /** */
        P_DOUBLE,
        /** */
        P_CHAR,
        /** */
        P_BOOLEAN,
        /** */
        BYTE,
        /** */
        SHORT,
        /** */
        INTEGER,
        /** */
        LONG,
        /** */
        FLOAT,
        /** */
        DOUBLE,
        /** */
        CHAR,
        /** */
        BOOLEAN,
        /** */
        STRING,
        /** */
        SERIALIZABLE,
        /** */
        PARCELABLE,
        /** */
        BLOB
    }

    boolean persistent() default true;

    boolean forDb() default true;
    boolean forParcel() default true;
    boolean forContentResolver() default true;

    boolean primaryKey() default false;

    long version() default 1;

    Class<?> customCoder() default Object.class;

    FieldType customDataType() default FieldType.STRING;

    String nullValue() default "";
}




Java Source Code List

net.cattaka.util.genasyncif.AsyncIfAttr.java
net.cattaka.util.genasyncif.AsyncInterfaceException.java
net.cattaka.util.genasyncif.GenAsyncInterface.java
net.cattaka.util.genasyncif.apt.GenAsycInterfaceAnnotationProcessor.java
net.cattaka.util.gendbhandler.Accessor.java
net.cattaka.util.gendbhandler.Attribute.java
net.cattaka.util.gendbhandler.GenDbHandler.java
net.cattaka.util.gendbhandler.apt.Bug300408.java
net.cattaka.util.gendbhandler.apt.Converter.java
net.cattaka.util.gendbhandler.apt.GenDbHandlerAnnotationProcessor.java
net.cattaka.util.gendbhandler.apt.InnerFieldType.java
net.cattaka.util.genparcelfunc.GenParcelFuncAnnotationProcessorFactory.java
net.cattaka.util.genparcelfunc.GenParcelFuncAnnotationProcessor.java
net.cattaka.util.genparcelfunc.GenParcelFuncPlugin.java
net.cattaka.util.genparcelfunc.GenParcelFunc.java
net.cattaka.util.genparcelfunc.ParcelFuncAttr.java