Annotation Interface XorNotNull


@Target({TYPE,ANNOTATION_TYPE}) @Retention(RUNTIME) @Constraint(validatedBy=XorNotNullValidator.class) @Documented public @interface XorNotNull
The annotated element defined attributes values meet the XOR operator (one and only one a time is not null).
  • Element Details

    • firstFieldName

      String firstFieldName
    • secondFieldName

      String secondFieldName
    • message

      String message
      Default:
      "{de.hybris.platform.validation.annotations.XorNotNull.message}"
    • groups

      Class<?>[] groups
      Default:
      {}
    • payload

      Class<? extends javax.validation.Payload>[] payload
      Default:
      {}