Class MVCMessage
java.lang.Object
fr.paris.lutece.portal.util.mvc.utils.MVCMessage
- All Implemented Interfaces:
ErrorMessage,Serializable
MVCMessage
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionBasic constructorMVCMessage(String strMessage) ConstructorMVCMessage(String strMessage, String strFieldName) Constructor -
Method Summary
Modifier and TypeMethodDescriptionReturns the field nameReturns the error's messagevoidsetFieldName(String strFieldName) Set the FieldNamevoidsetMessage(String message) Set the content of this error message
-
Constructor Details
-
MVCMessage
public MVCMessage()Basic constructor -
MVCMessage
Constructor- Parameters:
strMessage- The message
-
MVCMessage
Constructor- Parameters:
strMessage- The messagestrFieldName- the field name
-
-
Method Details
-
getMessage
Returns the error's message- Specified by:
getMessagein interfaceErrorMessage- Returns:
- The message
-
setMessage
Set the content of this error message- Parameters:
message- the message to set
-
setFieldName
Set the FieldName- Parameters:
FieldName- the FieldName to set
-
getFieldName
Description copied from interface:ErrorMessageReturns the field name- Specified by:
getFieldNamein interfaceErrorMessage- Returns:
- the field name
-