T - the object type that contains the validation methodpublic abstract class ValidationCaller<T> extends Object
@SelfValidation.
It is used as a base class for the code generation.| Modifier and Type | Field and Description |
|---|---|
protected T |
validationObject
The object to call validation methods on.
|
| Constructor and Description |
|---|
ValidationCaller() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
call(ViolationCollector vc)
This method is intended to call a validation methods on the validation object.
|
T |
getValidationObject()
Gets the validation object.
|
void |
setValidationObject(T obj)
Sets the validation object variable.
|
public void setValidationObject(T obj)
obj - the new validation object@Nullable public T getValidationObject()
public abstract void call(ViolationCollector vc)
vc - the ViolationCollector to collect violationsCopyright © 2023. All rights reserved.