Interface ValidationErrorConfig
- All Known Implementing Classes:
DefaultValidationErrorConfig
public interface ValidationErrorConfig
Interface for ValidationError Configs
-
Method Summary
Modifier and TypeMethodDescriptionThe prefix of fields name in the resource file (ex : myplugin.model.entity.product.field." )Returns the begin wrapper string for fieldname rendering (ex : "'" or "<strong">" )Returns the end wrapper string for fieldname rendering (ex : "'" or "</strong">" )Returns the list of constraint descriptor attribute that will appear in the value#1 of the messageReturns the list of constraint descriptor attribute that will appear in the value#2 of the messageString[]The array of all variables prefix
-
Method Details
-
getValue1Attributes
String getValue1Attributes()Returns the list of constraint descriptor attribute that will appear in the value#1 of the message- Returns:
- A list of attributes separated with spaces or commas
-
getValue2Attributes
String getValue2Attributes()Returns the list of constraint descriptor attribute that will appear in the value#2 of the message- Returns:
- A list of attributes separated with spaces or commas
-
getVariablesPrefix
String[] getVariablesPrefix()The array of all variables prefix- Returns:
- The array
-
getFieldKeysPrefix
String getFieldKeysPrefix()The prefix of fields name in the resource file (ex : myplugin.model.entity.product.field." )- Returns:
- the _strFieldKeysPrefix
-
getFieldWrapperBegin
String getFieldWrapperBegin()Returns the begin wrapper string for fieldname rendering (ex : "'" or "<strong">" )- Returns:
- The begin string
-
getFieldWrapperEnd
String getFieldWrapperEnd()Returns the end wrapper string for fieldname rendering (ex : "'" or "</strong">" )- Returns:
- The end string
-