Skip to content

Commit 044f134

Browse files
committed
API: @entity(useNoArgConstructor=...)
1 parent 7361918 commit 044f134

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

  • objectbox-java-api/src/main/java/io/objectbox/annotation

objectbox-java-api/src/main/java/io/objectbox/annotation/Entity.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,10 @@
2828
// */
2929
// String schema() default "default";
3030

31-
// /**
32-
// * Whether an all properties constructor should be generated.
33-
// */
34-
// boolean generateConstructors() default true;
31+
/**
32+
* Use a no-arg constructor instead of an all properties constructor (generated).
33+
*/
34+
boolean useNoArgConstructor() default false;
3535

3636
//
3737
// /**

0 commit comments

Comments
 (0)