Interface Label

All Superinterfaces:
javax.validation.Payload
All Known Subinterfaces:
FcDeleteAttachmentProps.attachmentsToDelete, FcHttpRequestProps.connectTimeout, FcHttpRequestProps.readTimeout, IUploadConsuming.uploadElements, Label.Custom, Label.Include, Label.Omit, MultiAttachment.attachments, MultiAttachment.searchFilenamePattern, MultiFile.resources, MultiFile.searchFilename, MultiFile.urls, SingleAttachment.attachment, SingleAttachment.searchFilenamePattern, SingleFile.resource, SingleFile.searchFilename, SingleFile.url, TimeDuration.duration, TimeDuration.unit

public interface Label extends javax.validation.Payload
How to handle labels for bean validation. The default implementation IWorkflowBeanValidator uses the property path of the failed property as a key for the label. You can use Label.Omit as the Payload of a bean constraint to omit this behavior and use only the constraint message. The option Label.Include is the default and does not need to be specified explicitly, but it is provided for consistency.

You can also use Label.Custom for a custom label, see that interface for an example.

Since:
7.0.0
Author:
XIMA MEDIA GmbH
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
    Use a custom label.
    static interface 
    Include the default label, see Label.
    static interface 
    Do not include the label, see Label.