Skip to content

Commit 7267482

Browse files
committed
support conputed values in data definitions (DE-779)
1 parent 1eb8977 commit 7267482

File tree

4 files changed

+287
-290
lines changed

4 files changed

+287
-290
lines changed

src/main/java/com/arangodb/springframework/annotation/ComputedValue.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,5 +33,9 @@
3333
@Retention(RetentionPolicy.RUNTIME)
3434
@Target({ElementType.FIELD})
3535
public @interface ComputedValue {
36-
36+
String expression() default "";
37+
boolean overwrite() default false;
38+
com.arangodb.model.ComputedValue.ComputeOn[] computeOn() default {};
39+
boolean keepNull() default true;
40+
boolean failOnWarning() default false;
3741
}

0 commit comments

Comments
 (0)