fr.paris.lutece.plugins.form.business
Class FormError

java.lang.Object
  extended by fr.paris.lutece.plugins.form.business.FormError

public class FormError
extends java.lang.Object


Constructor Summary
FormError()
           
 
Method Summary
 java.lang.String getErrorMessage()
          Gets the error Message
 java.lang.String getTitleMandatoryQuestion()
           
 boolean isMandatoryError()
          return true if the error is a mandatory error
 void setErrorMessage(java.lang.String errorMessage)
          set the error message
 void setMandatoryError(boolean mandatoryError)
          set true if the error is a mandatory error
 void setTitleMandatoryQuestion(java.lang.String titleMandatoryQuestion)
          set the title of the mandatory question
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FormError

public FormError()
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

getTitleMandatoryQuestion

public java.lang.String getTitleMandatoryQuestion()
Returns:
the title of the mandatory question

setTitleMandatoryQuestion

public void setTitleMandatoryQuestion(java.lang.String titleMandatoryQuestion)
set the title of the mandatory question

Parameters:
titleMandatoryQuestion - the title of the mandatory question


Copyright © 2007 Mairie de Paris. All Rights Reserved.