public class GreatThanValidateOperator extends AbstractCondition
>
operator implementation.isGroupTag
Constructor and Description |
---|
GreatThanValidateOperator(int tag,
int value,
boolean isGroup)
Creates the
GreatThanValidateOperator . |
Modifier and Type | Method and Description |
---|---|
int |
getTag()
Gets the tag.
|
List<Integer> |
getTags()
Gets the tags list
|
int |
getValue()
Gets the value.
|
boolean |
isGroupTags()
Returns true, if this group tag.
|
boolean |
isRequired(FIXFieldList msgFieldList)
Returns true, if the field value in
msgFieldList is greater than that tag value,
otherwise false. |
void |
setGroupTags(boolean isGroup)
Setter for group.
|
boolean |
validateCondition(Integer validateTag,
FIXFieldList msgFieldList,
String msgType,
Map<Integer,ICondition> tagsMap,
boolean inversion)
Returns true, if the
tag value in msgFieldList is greater than value ,
otherwise false. |
public GreatThanValidateOperator(int tag, int value, boolean isGroup)
GreatThanValidateOperator
.tag
- the tagvalue
- the valueisGroup
- the group flagpublic boolean validateCondition(Integer validateTag, FIXFieldList msgFieldList, String msgType, Map<Integer,ICondition> tagsMap, boolean inversion)
tag
value in msgFieldList
is greater than value
,
otherwise false. If tag
not exists return true.
The example of use: existtags(T$1) > 10.0.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
is greater than that tag value,
otherwise false.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 int getTag()
public int getValue()
Copyright © 2000–2022 EPAM Systems. All rights reserved.