Package com.epam.fix.validation.engine
Class ValidatorContainer
java.lang.Object
com.epam.fix.validation.engine.ValidatorContainer
- All Implemented Interfaces:
IValidatorContainer
Contains the list of validators.
- Author:
- Serhiy_Zahriychuk
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets validators.Gets validators.getValidator
(ValidatorType type) Gets the validator by validator type.Gets the validators with specific types.Gets the validators.Gets the list of type validator.void
putNewValidator
(ValidatorType type, IValidator validator) void
putOtherValidators
(IValidatorContainer container) Appends the validators fromcontainer
container into current instance.
-
Constructor Details
-
ValidatorContainer
public ValidatorContainer()
-
-
Method Details
-
putNewValidator
- Specified by:
putNewValidator
in interfaceIValidatorContainer
- See Also:
-
getValidator
Description copied from interface:IValidatorContainer
Gets the validator by validator type.- Specified by:
getValidator
in interfaceIValidatorContainer
- Parameters:
type
- the type of validator- See Also:
-
getValidatorsWithOutInputs
Description copied from interface:IValidatorContainer
Gets the validators with specific types.- Specified by:
getValidatorsWithOutInputs
in interfaceIValidatorContainer
- Parameters:
types
- the types of validator- See Also:
-
getValidatorsWithOutMessageType
Description copied from interface:IValidatorContainer
Gets the validators. The result is not containMESSAGE_TYPE
validator.- Specified by:
getValidatorsWithOutMessageType
in interfaceIValidatorContainer
- See Also:
-
getAllValidators
Description copied from interface:IValidatorContainer
Gets validators.- Specified by:
getAllValidators
in interfaceIValidatorContainer
- Returns:
- the list of validator
- See Also:
-
getMessageTypeValidator
Description copied from interface:IValidatorContainer
Gets validators.- Specified by:
getMessageTypeValidator
in interfaceIValidatorContainer
- Returns:
- the list of validator
- See Also:
-
putOtherValidators
Description copied from interface:IValidatorContainer
Appends the validators fromcontainer
container into current instance.- Specified by:
putOtherValidators
in interfaceIValidatorContainer
- See Also:
-
getValidatorType
Description copied from interface:IValidatorContainer
Gets the list of type validator.- Specified by:
getValidatorType
in interfaceIValidatorContainer
- Returns:
- the list of validator
- See Also:
-