ValidationFunction<T>
public class UnknownCoreAttributeAbstractValidationFunction<T extends TreeNodeWithChangeSupport> extends AbstractValidationFunction<T>
Constructor | Description |
---|---|
UnknownCoreAttributeAbstractValidationFunction() |
Modifier and Type | Method | Description |
---|---|---|
boolean |
check(ValidationContext ctx,
T t) |
Returns
true if the constraint is valid and false
if it's broken. |
boolean |
check(ValidationContext ctx,
T t,
int errorCode) |
isSelfLogging, setIsSelfLogging
public UnknownCoreAttributeAbstractValidationFunction()
public boolean check(ValidationContext ctx, T t)
ValidationFunction
true
if the constraint is valid and false
if it's broken.ctx
- the context in which the validation is performedt
- the object to checkfalse
if the constraint is brokenpublic boolean check(ValidationContext ctx, T t, int errorCode)
ctx
- t
- errorCode
-