com.epam.fix.validation.engine.validators.condition
Interface ICondition

All Known Implementing Classes:
AbstractCondition, ANDValidateOperator, EQValidateOperator, ExistTagsValidateOperator, FalseValidateOperator, GreatThanValidateOperator, INValidateOperator, LessThanValidateOperator, NOTValidateOperator, ORValidateOperator

public interface ICondition


Method Summary
 List<Integer> getTags()
          Gets the tags list
 boolean isGroupTags()
          Returns true, if this group tag.
 boolean isRequired(FIXFieldList msgFieldList)
          Returns true, if msgFieldList has a required tag.
 void setGroupTags(boolean isGroup)
          Setter for group.
 boolean validateCondition(Integer validateTag, FIXFieldList msgFieldList, String msgType, Map<Integer,ICondition> tagsMap, boolean inversion)
          This method propouses for the validate condition rules.
 

Method Detail

validateCondition

boolean validateCondition(Integer validateTag,
                          FIXFieldList msgFieldList,
                          String msgType,
                          Map<Integer,ICondition> tagsMap,
                          boolean inversion)
This method propouses for the validate condition rules.

Parameters:
validateTag - Tag with conditional rule.
msgFieldList - Part of FIX message where doing validation process.
msgType - Type of FIXMessage.
tagsMap - All tags with conditional for current part of FIXMessage.
inversion - Inversion: if true all validations are doing in invert order.
Returns:
true if condition valid in other case false.

isRequired

boolean isRequired(FIXFieldList msgFieldList)
Returns true, if msgFieldList has a required tag.

Parameters:
msgFieldList - the message

isGroupTags

boolean isGroupTags()
Returns true, if this group tag.


setGroupTags

void setGroupTags(boolean isGroup)
Setter for group.

Parameters:
isGroup - the group flag

getTags

List<Integer> getTags()
Gets the tags list



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