Package com.rosetta.model.lib.validation
Interface Validator<T>
public interface Validator<T>
-
Method Summary
Modifier and TypeMethodDescriptiondefault List<ValidationResult<?>> getValidationResults(RosettaPath path, RosettaModelObject objectToBeValidated) Deprecated.Since 9.58.1: this method is here to remain backwards compatible and will be removed in the future.default List<ValidationResult<?>> getValidationResults(RosettaPath path, T objectToBeValidated) default ValidationResult<T> validate(RosettaPath path, RosettaModelObject objectToBeValidated) Deprecated.Since 9.58.1: this method is here to remain backwards compatible and will be removed in the future.default ValidationResult<T> validate(RosettaPath path, T objectToBeValidated) Deprecated.Since 9.7.0: use `getValidationResults` instead.
-
Method Details
-
getValidationResults
-
validate
Deprecated.Since 9.7.0: use `getValidationResults` instead. -
getValidationResults
@Deprecated default List<ValidationResult<?>> getValidationResults(RosettaPath path, RosettaModelObject objectToBeValidated) Deprecated.Since 9.58.1: this method is here to remain backwards compatible and will be removed in the future. -
validate
@Deprecated default ValidationResult<T> validate(RosettaPath path, RosettaModelObject objectToBeValidated) Deprecated.Since 9.58.1: this method is here to remain backwards compatible and will be removed in the future.
-