-
@Documented @Retention(SOURCE) @Target({FIELD,METHOD,PARAMETER}) @SelfDocumented public @interface AllowEmptyString
The annotated element may be optional, i.e.empty stringBUT must be notnull!For
nullvalues useNullableorNullableArrayItemconstraint.The RxMicro team does not recommend to use empty string as valid business object value, use
nullinstead!- Since:
- 0.7
- Author:
- nedis
- See Also:
RequiredAndNotEmptyStringConstraintValidator,Nullable,NullableArrayItem
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description booleanoffAllows disabling the validation rule if this rule is inherited from super class.
-