@DefaultNonNull public final class ProblemInstance extends Object
Problem that was found to occur on some instance
or some property of the model. Problem instances are reported when Problem.on(ProblemModel, Object)
or one of it's alternatives is called, and are registered inside the ProblemModel that was
used to call the logic.| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
Object |
getInstance() |
String |
getMessage() |
Object[] |
getParameters() |
Problem |
getProblem() |
PropertyMetaModel<?> |
getProperty() |
int |
hashCode() |
String |
toString() |
void |
using(Object... arguments)
Add message parameters to the error.
|
public Problem getProblem()
public Object getInstance()
@Nullable public PropertyMetaModel<?> getProperty()
public Object[] getParameters()
public void using(Object... arguments)
arguments - Copyright © 2017 etc.to. All rights reserved.