Interface
caplin.presenter.validator

CrossPropertyValidator

An interface for validators that need to consider the validity of multiple caplin.presenter.property.Property instances in relation to each other.

Constructor Summary

Attributes Name and Description
caplin.presenter.validator.CrossPropertyValidator()

Method Summary

Attributes Name and Description
void validate(Object mProperties, caplin.core.ValidationResult oValidationResult)

Validate the set of named properties.

Constructor Detail

caplin.presenter.validator.CrossPropertyValidator()

Method Detail

void validate(Object mProperties, caplin.core.ValidationResult oValidationResult)

Validate the set of named properties.

Implementations of CrossPropertyValidator will typically expect a well defined set of named properties to perform validation on. Validators should fail-fast, and throw an exception if the set of properties they receive is not the same as what they expected.

Parameters
Object mProperties A named set of properties to validate.
caplin.core.ValidationResult oValidationResult The result object that the outcome of the validation will be set on.