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() { }
2727 * Use the default (no arguments) constructor to create entities
2828 */
2929 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 ;
3035
31- public static final String [] names = { "USE_NO_ARG_CONSTRUCTOR" , };
36+ public static final String [] names = { "USE_NO_ARG_CONSTRUCTOR" , "SYNC_ENABLED" , };
3237
3338 public static String name (int e ) { return names [e - USE_NO_ARG_CONSTRUCTOR ]; }
3439}
You can’t perform that action at this time.
0 commit comments