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 fieldName();

    String targetFieldName();

    Class targetType() default Object.class;
    String targetTypeId() default OOOConstants.NOT_SET;

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

    boolean replace();

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy