@@ -376,7 +376,8 @@ public enum Message implements MessageResource {
376376 DOMA4011 (
377377 "The annotation processing for the class \" {0}\" is failed. The cause is as follows: {1}" ),
378378 DOMA4014 ("Cannot annotate the type with @Dao because the type isn''t an interface." ),
379- DOMA4015 ("Cannot annotate the type with @Entity because the type isn''t a class." ),
379+ DOMA4015 (
380+ "Cannot annotate the type with @Entity because the type is neither a class nor a record." ),
380381 DOMA4016 (
381382 "An unexpected error has occurred. It may be a bug in the Doma framework. Report the following stacktrace: {0}" ),
382383 DOMA4017 ("The DAO interface must be a top level interface." ),
@@ -464,7 +465,7 @@ public enum Message implements MessageResource {
464465 DOMA4104 (
465466 "The accessor method \" {0}\" is not found. "
466467 + "The method must have the return type \" {1}\" and must be non-private and non-args." ),
467- DOMA4105 ("You can annotate only classes, interfaces and enums with @Domain" ),
468+ DOMA4105 ("You can annotate only classes, interfaces, enums and records with @Domain" ),
468469 DOMA4106 (
469470 "The factory method \" {0}\" is not found. "
470471 + "The method must have the return type \" {1}\" and the parameter type \" {2}\" and must be non-private and static. "
@@ -803,7 +804,7 @@ public enum Message implements MessageResource {
803804 DOMA4281 (
804805 "The number, type and name of the constructor parameters must correspond to "
805806 + "those of persistent fields in the immutable entity class." ),
806- DOMA4283 ("You can annotated only classes with @Embeddable." ),
807+ DOMA4283 ("You can annotate only classes and records with @Embeddable." ),
807808 DOMA4285 ("The embeddable class must not have a type parameter." ),
808809 DOMA4286 ("The fields of the embeddable class cannot be annotated with @OriginalStates." ),
809810 DOMA4288 ("The annotation \" {0}\" competes with the annotation \" {1}\" ." ),
0 commit comments