public class NOTValidateOperator extends AbstractCondition
isGroupTag
Constructor and Description |
---|
NOTValidateOperator(ICondition operand,
boolean isGroup)
Creates the
NOTValidateOperator . |
Modifier and Type | Method and Description |
---|---|
ICondition |
getOperand()
Gets the operand
|
List<Integer> |
getTags()
Gets the tags list
|
boolean |
isGroupTags()
Returns true, if this group tag.
|
boolean |
isRequired(FIXFieldList msgFieldList)
Returns true if
operand is not required. |
void |
setGroupTags(boolean isGroup)
Setter for group.
|
boolean |
validateCondition(Integer validateTag,
FIXFieldList msgFieldList,
String msgType,
Map<Integer,ICondition> tagsMap,
boolean inversion)
Returns true, if
operand is true. |
public NOTValidateOperator(ICondition operand, boolean isGroup)
NOTValidateOperator
.operand
- the operandisGroup
- the group tagpublic boolean validateCondition(Integer validateTag, FIXFieldList msgFieldList, String msgType, Map<Integer,ICondition> tagsMap, boolean inversion)
operand
is true.
The example of use: NOT existtags(T$2).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)
operand
is not required.msgFieldList
- the messagepublic boolean isGroupTags()
ICondition
ICondition.isGroupTags()
public void setGroupTags(boolean isGroup)
ICondition
isGroup
- the group flagICondition.setGroupTags(boolean)
public List<Integer> getTags()
ICondition
ICondition.getTags()
public ICondition getOperand()
Copyright © 2000–2022 EPAM Systems. All rights reserved.