com.wangjiegulu.rapidooo.api.OOOConversion Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of rapidooo-api Show documentation
Show all versions of rapidooo-api Show documentation
Android POJO Converter:Generate scalable and bindable domain objects java class file automatically in compile time.
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();
}