Commit 6eb4f756 by s_guodong

bd整合gjjs-mda (注解增强,com.brilliance.mda.runtime.annotation包迁移)

parent e0c4b428
package com.brilliance.mda.runtime.annotation;
import com.brilliance.mda.runtime.mda.DirType;
import java.lang.annotation.Documented;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;
import static java.lang.annotation.ElementType.FIELD;
import static java.lang.annotation.ElementType.TYPE;
import static java.lang.annotation.RetentionPolicy.RUNTIME;
import java.lang.annotation.Documented;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;
import com.brilliance.mda.runtime.mda.DirType;
/**
* 视图映射注解
* @author fukai
......@@ -19,7 +17,7 @@ import static java.lang.annotation.RetentionPolicy.RUNTIME;
@Retention(RUNTIME)
@Target({TYPE,FIELD})
public @interface RelPath {
String value(); //路径
String value() default ""; //路径
DirType dir() default DirType.BOTH ; //输入输出方向
boolean recursion() default false; //是否递归关联
}
package com.brilliance.mda.runtime.annotation;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;
import java.lang.annotation.*;
import static java.lang.annotation.RetentionPolicy.RUNTIME;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment