Interface ValidationErrorConfig
-
- All Known Implementing Classes:
DefaultValidationErrorConfig
public interface ValidationErrorConfigInterface for ValidationError Configs
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetFieldKeysPrefix()The prefix of fields name in the resource file (ex : myplugin.model.entity.product.field." )StringgetFieldWrapperBegin()Returns the begin wrapper string for fieldname rendering (ex : "'" or "<strong">" )StringgetFieldWrapperEnd()Returns the end wrapper string for fieldname rendering (ex : "'" or "</strong">" )StringgetValue1Attributes()Returns the list of constraint descriptor attribute that will appear in the value#1 of the messageStringgetValue2Attributes()Returns the list of constraint descriptor attribute that will appear in the value#2 of the messageString[]getVariablesPrefix()The array of all variables prefix
-
-
-
Method Detail
-
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
-
-