fr.paris.lutece.plugins.genericattributes.business
Class GenericAttributeError

java.lang.Object
  extended by fr.paris.lutece.plugins.genericattributes.business.GenericAttributeError
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
MandatoryError

public class GenericAttributeError
extends Object
implements Serializable

class GenericAttributeError

See Also:
Serialized Form

Constructor Summary
GenericAttributeError()
           
 
Method Summary
 String getErrorMessage()
          Gets the error Message
 String getTitleQuestion()
           
 String getUrl()
           
 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
 void setUrl(String strUrl)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GenericAttributeError

public GenericAttributeError()
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 String getErrorMessage()
Gets the error Message

Returns:
the error Message

setErrorMessage

public void setErrorMessage(String errorMessage)
set the error message

Parameters:
errorMessage - the erroer message

getTitleQuestion

public String getTitleQuestion()
Returns:
the title of the mandatory question

setTitleQuestion

public void setTitleQuestion(String titleMandatoryQuestion)
set the title of the mandatory question

Parameters:
titleMandatoryQuestion - the title of the mandatory question

setUrl

public void setUrl(String strUrl)
Parameters:
strUrl - the _strUrl to set

getUrl

public String getUrl()
Returns:
the _strUrl


Copyright © 2014 Mairie de Paris. All Rights Reserved.