public class FormError extends Object
Constructor and Description |
---|
FormError() |
Modifier and Type | Method and Description |
---|---|
String |
getErrorMessage()
Gets the error Message
|
String |
getTitleQuestion() |
boolean |
isMandatoryError()
return true if the error is a mandatory error
|
void |
setErrorMessage(String errorMessage)
set the error message
|
void |
setMandatoryError(boolean mandatoryError)
set true if the error is a mandatory error
|
void |
setTitleQuestion(String titleMandatoryQuestion)
set the title of the mandatory question
|
public boolean isMandatoryError()
public void setMandatoryError(boolean mandatoryError)
mandatoryError
- true if the error is a mandatory errorpublic String getErrorMessage()
public void setErrorMessage(String errorMessage)
errorMessage
- the erroer messagepublic String getTitleQuestion()
public void setTitleQuestion(String titleMandatoryQuestion)
titleMandatoryQuestion
- the title of the mandatory questionCopyright © 2019 City of Paris. All rights reserved.