Annotation Type RequiredTimeDuration

    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      Class<?>[] groups  
      String message
      Gets the key for creating error messages in case the constraint is violated.
      Class<? extends javax.validation.Payload>[] payload  
    • Element Detail

      • groups

        Class<?>[] groups
        Returns:
        Allows the specification of validation groups, to which this constraint belongs. When not specified, the constraint is placed in the Default group.
        Default:
        {}
      • message

        String message
        Gets the key for creating error messages in case the constraint is violated. When not empty, takes precedence over all other message keys.
        Returns:
        The default key for creating error messages in case the constraint is violated.
        Default:
        "{de.xima.fc.validation.constraints.RequiredTimeDuration.message}"
      • payload

        Class<? extends javax.validation.Payload>[] payload
        Returns:
        The payload that can be used by clients of the Jakarta Bean Validation API to assign custom payload objects to a constraint.
        Default:
        {}