Class FormError
- java.lang.Object
-
- fr.paris.lutece.plugins.form.business.FormError
-
public class FormError extends java.lang.Objectclass FormError
-
-
Constructor Summary
Constructors Constructor Description FormError()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetErrorMessage()Gets the error Messagejava.lang.StringgetTitleQuestion()booleanisMandatoryError()return true if the error is a mandatory errorvoidsetErrorMessage(java.lang.String errorMessage)set the error messagevoidsetMandatoryError(boolean mandatoryError)set true if the error is a mandatory errorvoidsetTitleQuestion(java.lang.String titleMandatoryQuestion)set the title of the mandatory question
-
-
-
Method Detail
-
isMandatoryError
public boolean isMandatoryError()
return true if the error is a mandatory error- Returns:
- true if the error is a mandatory error
-
setMandatoryError
public void setMandatoryError(boolean mandatoryError)
set true if the error is a mandatory error- Parameters:
mandatoryError- true if the error is a mandatory error
-
getErrorMessage
public java.lang.String getErrorMessage()
Gets the error Message- Returns:
- the error Message
-
setErrorMessage
public void setErrorMessage(java.lang.String errorMessage)
set the error message- Parameters:
errorMessage- the erroer message
-
getTitleQuestion
public java.lang.String getTitleQuestion()
- Returns:
- the title of the mandatory question
-
setTitleQuestion
public void setTitleQuestion(java.lang.String titleMandatoryQuestion)
set the title of the mandatory question- Parameters:
titleMandatoryQuestion- the title of the mandatory question
-
-