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

java.lang.Object
  extended by fr.paris.lutece.plugins.genericattributes.business.GenericAttributeError
      extended by fr.paris.lutece.plugins.genericattributes.business.MandatoryError
All Implemented Interfaces:
fr.paris.lutece.util.ErrorMessage, Serializable

public class MandatoryError
extends GenericAttributeError

Error that indicates that a mandatory field has not been set

See Also:
Serialized Form

Constructor Summary
MandatoryError(Entry entry, Locale locale)
          Creates a new mandatory error
 
Method Summary
 boolean isMandatoryError()
          return true if the error is a mandatory error
 
Methods inherited from class fr.paris.lutece.plugins.genericattributes.business.GenericAttributeError
getErrorMessage, getIsDisplayableError, getMessage, getTitleQuestion, getUrl, setErrorMessage, setIsDisplayableError, setMandatoryError, setTitleQuestion, setUrl
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MandatoryError

public MandatoryError(Entry entry,
                      Locale locale)
Creates a new mandatory error

Parameters:
entry - the entry
locale - the locale
Method Detail

isMandatoryError

public boolean isMandatoryError()
return true if the error is a mandatory error

Overrides:
isMandatoryError in class GenericAttributeError
Returns:
true if the error is a mandatory error


Copyright © 2014 Mairie de Paris. All Rights Reserved.