Interface ICondition
- All Known Implementing Classes:
AbstractCondition
,ANDValidateOperator
,EQValidateOperator
,ExistTagsValidateOperator
,FalseValidateOperator
,GreatThanValidateOperator
,INValidateOperator
,LessThanValidateOperator
,NOTValidateOperator
,ORValidateOperator
public interface ICondition
-
Method Summary
Modifier and TypeMethodDescriptiongetTags()
Gets the tags listboolean
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 Details
-
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
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
Gets the tags list
-