public class ValidatorContainer extends Object implements IValidatorContainer
ValidatorType
Constructor and Description |
---|
ValidatorContainer() |
Modifier and Type | Method and Description |
---|---|
List<IValidator> |
getAllValidators()
Gets validators.
|
MessageTypeValidator |
getMessageTypeValidator()
Gets validators.
|
IValidator |
getValidator(ValidatorType type)
Gets the validator by validator type.
|
List<IValidator> |
getValidatorsWithOutInputs(List<ValidatorType> types)
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. |
public void putNewValidator(ValidatorType type, IValidator validator)
putNewValidator
in interface IValidatorContainer
IValidatorContainer.putNewValidator(com.epam.fix.validation.ValidatorType, IValidator)
public IValidator getValidator(ValidatorType type)
IValidatorContainer
getValidator
in interface IValidatorContainer
type
- the type of validatorIValidatorContainer.getValidator(com.epam.fix.validation.ValidatorType)
public List<IValidator> getValidatorsWithOutInputs(List<ValidatorType> types)
IValidatorContainer
getValidatorsWithOutInputs
in interface IValidatorContainer
types
- the types of validatorIValidatorContainer.getValidatorsWithOutInputs(java.util.List)
public List<IValidator> getValidatorsWithOutMessageType()
IValidatorContainer
MESSAGE_TYPE
validator.getValidatorsWithOutMessageType
in interface IValidatorContainer
IValidatorContainer.getValidatorsWithOutMessageType()
public List<IValidator> getAllValidators()
IValidatorContainer
getAllValidators
in interface IValidatorContainer
IValidatorContainer.getAllValidators()
public MessageTypeValidator getMessageTypeValidator()
IValidatorContainer
getMessageTypeValidator
in interface IValidatorContainer
IValidatorContainer.getMessageTypeValidator()
public void putOtherValidators(IValidatorContainer container)
IValidatorContainer
container
container into current instance.putOtherValidators
in interface IValidatorContainer
IValidatorContainer.putOtherValidators(com.epam.fix.validation.engine.IValidatorContainer)
public Set<ValidatorType> getValidatorType()
IValidatorContainer
getValidatorType
in interface IValidatorContainer
IValidatorContainer.getValidatorType()
Copyright © 2000–2022 EPAM Systems. All rights reserved.