org.kuali.rice.core.api.uif
Interface RemotableAttributeErrorContract

All Known Implementing Classes:
RemotableAttributeError, RemotableAttributeError.Builder

public interface RemotableAttributeErrorContract

Defines a list of one or more errors for an attribute.


Method Summary
 String getAttributeName()
          The name of the attribute.
 List<String> getErrors()
          A list of fully resolved error messages associated with an attribute.
 String getMessage()
          Convenience method that returns a String containing all error messages
 

Method Detail

getAttributeName

String getAttributeName()
The name of the attribute. Will never be a blank or null string.

Returns:
attribute name

getErrors

List<String> getErrors()
A list of fully resolved error messages associated with an attribute. Will never return null or an empty list. Note: since this interface is used to communicate errors remotely across modules, all error messages must but fully resolved and concrete, not error message resource keys.

Returns:
list of errors.

getMessage

String getMessage()
Convenience method that returns a String containing all error messages

Returns:
returns a String containing all error messages


Copyright © 2005-2013 The Kuali Foundation. All Rights Reserved.