public class ANDValidateOperator extends AbstractCondition
isGroupTag
Constructor and Description |
---|
ANDValidateOperator(ICondition operand1,
ICondition operand2,
boolean isGroup)
Creates the
ANDValidateOperator . |
Modifier and Type | Method and Description |
---|---|
ICondition |
getOperand1()
Gets the first operand.
|
ICondition |
getOperand2()
Gets the second operand.
|
List<Integer> |
getTags()
Gets tags from operands.
|
boolean |
isGroupTags()
Returns true, if one of all operand is group.
|
boolean |
isRequired(FIXFieldList msgFieldList)
Returns true, if both operands are required.
|
void |
setGroupTags(boolean isGroup)
Sets group flag.
|
boolean |
validateCondition(Integer validateTag,
FIXFieldList msgFieldList,
String msgType,
Map<Integer,ICondition> tagsMap,
boolean inversion)
Returns true, if both operators returns true.
|
public ANDValidateOperator(ICondition operand1, ICondition operand2, boolean isGroup)
ANDValidateOperator
.operand1
- the first operandoperand2
- the second operandisGroup
- the group tagpublic boolean validateCondition(Integer validateTag, FIXFieldList msgFieldList, String msgType, Map<Integer,ICondition> tagsMap, boolean inversion)
validateTag
- the validate tagmsgFieldList
- the messagemsgType
- the message typetagsMap
- All tags with conditional for current part of FIXMessage.inversion
- Inversion: if true all validations are doing in invert order.public boolean isRequired(FIXFieldList msgFieldList)
msgFieldList
- the messagepublic boolean isGroupTags()
public void setGroupTags(boolean isGroup)
isGroup
- the group flagpublic ICondition getOperand1()
public ICondition getOperand2()
Copyright © 2000–2022 EPAM Systems. All rights reserved.