| Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
| AttributeError |
|
| 1.0;1 |
| 1 | package org.kuali.rice.core.api.uif; | |
| 2 | ||
| 3 | import java.util.List; | |
| 4 | ||
| 5 | /** | |
| 6 | * Defines a list of one or more errors for an attribute. | |
| 7 | */ | |
| 8 | public interface AttributeError { | |
| 9 | ||
| 10 | /** | |
| 11 | * The name of the attribute. Will never be a blank or null string. | |
| 12 | * @return attribute name | |
| 13 | */ | |
| 14 | String getAttributeName(); | |
| 15 | ||
| 16 | /** | |
| 17 | * A list of errors associated with an attribute. Will never return null or an empty list. | |
| 18 | * | |
| 19 | * | |
| 20 | * @return list of errors. | |
| 21 | */ | |
| 22 | List<String> getErrors(); | |
| 23 | ||
| 24 | } |