File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
objectbox-java/src/main/java/io/objectbox/model Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -27,8 +27,13 @@ private EntityFlags() { }
27
27
* Use the default (no arguments) constructor to create entities
28
28
*/
29
29
public static final int USE_NO_ARG_CONSTRUCTOR = 1 ;
30
+ /**
31
+ * Enable "data synchronization" for this entity type: objects will be synced with other stores over the network.
32
+ * It's possible to have local-only (non-synced) types and synced types in the same store (schema/data model).
33
+ */
34
+ public static final int SYNC_ENABLED = 2 ;
30
35
31
- public static final String [] names = { "USE_NO_ARG_CONSTRUCTOR" , };
36
+ public static final String [] names = { "USE_NO_ARG_CONSTRUCTOR" , "SYNC_ENABLED" , };
32
37
33
38
public static String name (int e ) { return names [e - USE_NO_ARG_CONSTRUCTOR ]; }
34
39
}
You can’t perform that action at this time.
0 commit comments