Annotation Type SingletonCollection
-
@Retention(RUNTIME) @Target(FIELD) public @interface SingletonCollectionThis rule enables you to restrict a collection property to contain only zero or one elements. Type = exclusive-property Attributes: message: override the default error message
-
-
Field Summary
Fields Modifier and Type Fields Description static java.lang.StringDEFAULT_MESSAGE
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description java.lang.Stringmessage
-