Package de.xima.fc.interfaces.workflow
Interface Label.Custom
-
- All Superinterfaces:
Label
,javax.validation.Payload
- All Known Subinterfaces:
IUploadConsuming.uploadElements
,MultiFile.resources
,MultiFile.searchFilename
,MultiFile.urls
,SingleFile.resource
,SingleFile.searchFilename
,SingleFile.url
- Enclosing interface:
- Label
public static interface Label.Custom extends Label
Use a custom label. Takes the nested path of the class extending this, and uses it as a lookup key in the resources bundle. For example:abstract class BaseModel { @NotEmpty(payload = BaseModel.username) private String username; private static interface username extends Label.Custom { } }
You should then add the keyBaseModel.username
to your resource bundle.- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface de.xima.fc.interfaces.workflow.Label
Label.Custom, Label.Include, Label.Omit
-
-