org.kuali.rice.kew.validation
Class ValidationResult

java.lang.Object
  extended by org.kuali.rice.kew.validation.ValidationResult

public class ValidationResult
extends Object

Represents a simple validation result. Includes the name of the field and the error message.

Author:
Kuali Rice Team (rice.collab@kuali.org)

Field Summary
private  String errorMessage
           
private  String fieldName
           
 
Constructor Summary
ValidationResult(String fieldName, String errorMessage)
           
 
Method Summary
 String getErrorMessage()
           
 String getFieldName()
           
 void setErrorMessage(String errorMessage)
           
 void setFieldName(String fieldName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

fieldName

private String fieldName

errorMessage

private String errorMessage
Constructor Detail

ValidationResult

public ValidationResult(String fieldName,
                        String errorMessage)
Method Detail

getErrorMessage

public String getErrorMessage()

setErrorMessage

public void setErrorMessage(String errorMessage)

getFieldName

public String getFieldName()

setFieldName

public void setFieldName(String fieldName)


Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.