public interface IValidator<T>
IValidator
provides a mechanism to validate entity data
For instance, a VCard
validator could throw an error on invalid phone
numberModifier and Type | Method and Description |
---|---|
void |
create(T obj) |
default void |
create(T obj,
java.util.Map<java.lang.String,java.lang.String> params) |
void |
update(T oldValue,
T newValue) |
default void |
update(T oldValue,
T newValue,
java.util.Map<java.lang.String,java.lang.String> params) |
Copyright © 2021. All Rights Reserved.