Package de.xima.fc.interfaces.workflow
Interface Label
-
- All Superinterfaces:
javax.validation.Payload
- All Known Subinterfaces:
IUploadConsuming.uploadElements
,Label.Custom
,Label.Include
,Label.Omit
,MultiFile.resources
,MultiFile.searchFilename
,MultiFile.urls
,SingleFile.resource
,SingleFile.searchFilename
,SingleFile.url
public interface Label extends javax.validation.Payload
How to handle labels for bean validation. The default implementationIWorkflowBeanValidator
uses the property path of the failed property as a key for the label. You can useLabel.Omit
as thePayload
of a bean constraint to omit this behavior and use only the constraint message. The optionLabel.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
Label.Custom
Use a custom label.static interface
Label.Include
How to handle labels for bean validation, seeLabel
.static interface
Label.Omit
How to handle labels for bean validation, seeLabel
.
-