public class PropertyErrorCollector extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
NULL_VALUE_FOR_PRIMITIVE_TYPE |
| Constructor and Description |
|---|
PropertyErrorCollector() |
| Modifier and Type | Method and Description |
|---|---|
void |
addError(String propertyName,
int errorType) |
void |
addError(String propertyName,
String errorMessage) |
int |
errorsCount()
Returns the number of errors
|
LinkedList<String> |
getErrors()
Returns the list of errors (or null if no error )
|
public static final int NULL_VALUE_FOR_PRIMITIVE_TYPE
public void addError(String propertyName, int errorType)
public int errorsCount()
public LinkedList<String> getErrors()
Copyright © 2016. All rights reserved.