com.epam.fix.validation.engine
Interface IValidatorContainer

All Known Implementing Classes:
ValidatorContainer

public interface IValidatorContainer

Author:
Serhiy_Zahriychuk

Method Summary
 List<IValidator> getAllValidators()
          Gets validators.
 IValidator getMessageTypeValidator()
          Gets validators.
 IValidator getValidator(ValidatorType type)
          Gets the validator by validator type.
 List<IValidator> getValidatorsWithOutInputs(List<ValidatorType> validatorTypes)
          Gets the validators with specific types.
 List<IValidator> getValidatorsWithOutMessageType()
          Gets the validators.
 Set<ValidatorType> getValidatorType()
          Gets the list of type validator.
 void putNewValidator(ValidatorType type, IValidator validator)
           
 void putOtherValidators(IValidatorContainer container)
          Appends the validators from container container into current instance.
 

Method Detail

putNewValidator

void putNewValidator(ValidatorType type,
                     IValidator validator)

getValidator

IValidator getValidator(ValidatorType type)
Gets the validator by validator type.

Parameters:
type - the type of validator

getValidatorsWithOutInputs

List<IValidator> getValidatorsWithOutInputs(List<ValidatorType> validatorTypes)
Gets the validators with specific types.

Parameters:
validatorTypes - the types of validator

getValidatorsWithOutMessageType

List<IValidator> getValidatorsWithOutMessageType()
Gets the validators. The result is not contain MESSAGE_TYPE validator.


getAllValidators

List<IValidator> getAllValidators()
Gets validators.

Returns:
the list of validator

getMessageTypeValidator

IValidator getMessageTypeValidator()
Gets validators.

Returns:
the list of validator

getValidatorType

Set<ValidatorType> getValidatorType()
Gets the list of type validator.

Returns:
the list of validator

putOtherValidators

void putOtherValidators(IValidatorContainer container)
Appends the validators from container container into current instance.



Copyright © 2000-2014 EPAM Systems. All Rights Reserved.