org.olat.core.gui.components.form
Class ValidationError

java.lang.Object
  extended by org.olat.core.gui.components.form.ValidationError

public class ValidationError
extends java.lang.Object

Description:

This class encapsulates a validation error. The error is an i18n key and not yet translated This class is mostly used by propertyHandler, but can also be used for others.

Initial Date: 24.01.2008

Author:
Florian Gnaegi, Roman Haag, frentix GmbH, http://www.frentix.com

Constructor Summary
ValidationError()
           
 
Method Summary
 java.lang.String getErrorKey()
           
 void setErrorKey(java.lang.String errorKey)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ValidationError

public ValidationError()
Method Detail

getErrorKey

public java.lang.String getErrorKey()
Returns:
The i18n key for this error or NULL for no error

setErrorKey

public void setErrorKey(java.lang.String errorKey)
Parameters:
errorKey - The i18n key for this error or NULL for no error