public class ProblemModel extends Object
| Constructor and Description |
|---|
ProblemModel() |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
<T> Set<ProblemInstance> |
getAllErrorsOn(T businessObject)
Return errors on this instance and all direct properties of the instance.
|
ProblemSet |
getErrorSet()
Return all errors as a read/write set for processing.
|
<T> Set<ProblemInstance> |
getErrorsOn(T businessObject)
Get all errors on the specified instance alone, i.e.
|
<T,V> Set<ProblemInstance> |
getErrorsOn(T businessObject,
PropertyMetaModel<V> property) |
<T> Set<ProblemInstance> |
getErrorsOn(T businessObject,
String property) |
boolean |
hasErrors() |
boolean |
hasWarnings() |
String |
toString() |
public void clear()
@Nonnull public <T> Set<ProblemInstance> getErrorsOn(@Nonnull T businessObject)
businessObject - public <T> Set<ProblemInstance> getAllErrorsOn(@Nonnull T businessObject)
businessObject - @Nonnull public <T,V> Set<ProblemInstance> getErrorsOn(@Nonnull T businessObject, @Nullable PropertyMetaModel<V> property)
@Nonnull public <T> Set<ProblemInstance> getErrorsOn(@Nonnull T businessObject, @Nonnull String property)
public boolean hasWarnings()
public boolean hasErrors()
@Nonnull public ProblemSet getErrorSet()
Copyright © 2017 etc.to. All rights reserved.