Class MandatoryError
java.lang.Object
fr.paris.lutece.plugins.genericattributes.business.GenericAttributeError
fr.paris.lutece.plugins.genericattributes.business.MandatoryError
- All Implemented Interfaces:
fr.paris.lutece.util.ErrorMessage,Serializable
Error that indicates that a mandatory field has not been set
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanreturn true if the error is a mandatory errorMethods inherited from class fr.paris.lutece.plugins.genericattributes.business.GenericAttributeError
getErrorMessage, getFieldName, getIsDisplayableError, getMessage, getTitleQuestion, getUrl, setErrorMessage, setIsDisplayableError, setMandatoryError, setTitleQuestion, setUrl
-
Constructor Details
-
MandatoryError
Creates a new mandatory error- Parameters:
entry- the entrylocale- the locale
-
-
Method Details
-
isMandatoryError
public boolean isMandatoryError()return true if the error is a mandatory error- Overrides:
isMandatoryErrorin classGenericAttributeError- Returns:
- true if the error is a mandatory error
-