Annotation Interface EventMappingValid
@Target(FIELD)
@Retention(RUNTIME)
@Constraint(validatedBy=EventMappingValidValidator.class)
@Documented
public @interface EventMappingValid
The value of EventConfiguration.exportFlag should be set to "false" OR In case of mappingType = GENERIC values of the
EventConfiguration.mappingConfiguration should reference to existing Event Classes and theirs attributes; In case of
mappingType = BEAN value of converterBean should refer to spring bean with Converter interface. Supported type is
EventConfigurationModel and its sub types.-
Optional Element Summary
Optional Elements
-
Element Details
-
keyRegexp
String keyRegexp- Default:
- ""
-
keyFlags
javax.validation.constraints.Pattern.Flag[] keyFlags- Default:
- {CASE_INSENSITIVE}
-
valueRegexp
String valueRegexp- Default:
- ""
-
valueFlags
javax.validation.constraints.Pattern.Flag[] valueFlags- Default:
- {CASE_INSENSITIVE}
-
message
String message- Default:
- "{de.hybris.platform.apiregistryservices.constraints.EventMappingValid.message}"
-
groups
Class<?>[] groups- Default:
- {}
-
payload
Class<? extends javax.validation.Payload>[] payload- Default:
- {}
-