We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b967dff commit a3e68b1Copy full SHA for a3e68b1
objectbox-java-api/src/main/java/io/objectbox/annotation/Sync.java
@@ -0,0 +1,17 @@
1
+package io.objectbox.annotation;
2
+
3
+import java.lang.annotation.ElementType;
4
+import java.lang.annotation.Retention;
5
+import java.lang.annotation.RetentionPolicy;
6
+import java.lang.annotation.Target;
7
8
+/**
9
+ * Enables sync for an {@link Entity} class.
10
+ * <p>
11
+ * Note that currently sync can not be enabled or disabled for existing entities.
12
+ * Also synced entities can not have relations to non-synced entities.
13
+ */
14
+@Retention(RetentionPolicy.CLASS)
15
+@Target(ElementType.TYPE)
16
+public @interface Sync {
17
+}
0 commit comments