fr.paris.lutece.plugins.directory.business
Class DirectoryError

java.lang.Object
  extended by fr.paris.lutece.plugins.directory.business.DirectoryError

public class DirectoryError
extends java.lang.Object

class DirectoryError


Constructor Summary
DirectoryError()
           
 
Method Summary
 java.lang.String getErrorMessage()
          Gets the error Message
 java.lang.String getTitleField()
           
 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 setTitleField(java.lang.String titleField)
          set the title of the field
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DirectoryError

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

getTitleField

public java.lang.String getTitleField()
Returns:
the title of the field

setTitleField

public void setTitleField(java.lang.String titleField)
set the title of the field

Parameters:
titleField - the title of the field


Copyright © 2009 Mairie de Paris. All Rights Reserved.