All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.wangjiegulu.rapidooo.api.OOOConversion Maven / Gradle / Ivy

Go to download

Android POJO Converter:Generate scalable and bindable domain objects java class file automatically in compile time.

There is a newer version: 1.1.5
Show newest version
package com.wangjiegulu.rapidooo.api;


import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * Author: wangjie
 * Email: [email protected]
 * Date: 4/10/18.
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.ANNOTATION_TYPE)
public @interface OOOConversion {
    String targetFieldName();
    Class targetFieldType() default Object.class;
    String targetFieldTypeId() default OOOConstants.NOT_SET;

    // attach
    String attachFieldName() default OOOConstants.NOT_SET;

    // bind
    Class bindMethodClass() default Object.class;
    String bindMethodName() default OOOConstants.NOT_SET;
    String inverseBindMethodName() default OOOConstants.NOT_SET;

    // conversion
    Class conversionMethodClass() default Object.class;
    String conversionMethodName() default OOOConstants.NOT_SET;
    String inverseConversionMethodName() default OOOConstants.NOT_SET;

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy