public class GenericAttributeError extends Object implements Serializable, fr.paris.lutece.util.ErrorMessage
Constructor and Description |
---|
GenericAttributeError() |
Modifier and Type | Method and Description |
---|---|
String |
getErrorMessage()
Gets the error Message
|
boolean |
getIsDisplayableError()
Check if the error is a displayable error.
|
String |
getMessage() |
String |
getTitleQuestion() |
String |
getUrl() |
boolean |
isMandatoryError()
return true if the error is a mandatory error
|
void |
setErrorMessage(String errorMessage)
set the error message
|
void |
setIsDisplayableError(boolean bDisplayableError)
Set the error as displayable or not.
|
void |
setMandatoryError(boolean mandatoryError)
set true if the error is a mandatory error
|
void |
setTitleQuestion(String titleMandatoryQuestion)
set the title of the mandatory question
|
void |
setUrl(String strUrl) |
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 error messagepublic String getTitleQuestion()
public void setTitleQuestion(String titleMandatoryQuestion)
titleMandatoryQuestion
- the title of the mandatory questionpublic void setUrl(String strUrl)
strUrl
- the _strUrl to setpublic String getUrl()
public String getMessage()
getMessage
in interface fr.paris.lutece.util.ErrorMessage
public boolean getIsDisplayableError()
public void setIsDisplayableError(boolean bDisplayableError)
bDisplayableError
- True if the error is a displayable error, false otherwiseCopyright © 2020 City of Paris. All rights reserved.