public class ValidationError
Represents a validation error
public ValidationError(@NotNull
java.lang.String property,
@Nullable
java.lang.Object value,
@NotNull
java.lang.String message,
@NotNull
ValidationConstraint constraint)
Represents a validation error
property - specifies the invalid propertyvalue - specifies the invalid valuemessage - specifies the internationalized messageconstraint - specifies the violated constraint@NotNull public java.lang.String getProperty()
specifies the invalid property
@Nullable public java.lang.Object getValue()
specifies the invalid value
@NotNull public java.lang.String getMessage()
specifies the internationalized message
@NotNull public ValidationConstraint getConstraint()
specifies the violated constraint
class ValidationConstraint@NotNull public java.lang.String component1()
specifies the invalid property
@Nullable public java.lang.Object component2()
specifies the invalid value
@NotNull public java.lang.String component3()
specifies the internationalized message
@NotNull public ValidationConstraint component4()
specifies the violated constraint
class ValidationConstraint@NotNull public ValidationError copy(@NotNull java.lang.String property, @Nullable java.lang.Object value, @NotNull java.lang.String message, @NotNull ValidationConstraint constraint)
Represents a validation error
@NotNull public java.lang.String toString()
Represents a validation error
public int hashCode()
Represents a validation error
public boolean equals(@Nullable
java.lang.Object p)
Represents a validation error