Annotation Interface TmaPoGroupValidSpoBpo


@Target(FIELD) @Retention(RUNTIME) @Constraint(validatedBy=TmaPoGroupValidSpoBpoValidator.class) @Documented public @interface TmaPoGroupValidSpoBpo
Triggers the validator to check if the selected TmaProductOfferingGroup has valid children. In this case it prevents the group from having both Simple Product Offering and Bundled Product Offering in the same group. de.hybris.platform.b2ctelcoservices.model.TmaProductOfferingGroupModel#childProductOfferings()
Since:
6.7
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Class<?>[]
     
     
    Class<? extends javax.validation.Payload>[]
     
  • Element Details

    • message

      String message
      Default:
      "{de.hybris.platform.b2ctelcoservices.constraints.TmaPoGroupValidSpoBpo.message}"
    • groups

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

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