public class INValidateOperator extends AbstractCondition
IN
operator implementation.isGroupTag
Constructor and Description |
---|
INValidateOperator(int tag,
String[] values,
boolean isGroup)
Creates the
INValidateOperator . |
Modifier and Type | Method and Description |
---|---|
int |
getTag()
Gets tag.
|
List<Integer> |
getTags()
Gets the tags list
|
String[] |
getValues()
Gets the values.
|
boolean |
isGroupTags()
Returns true, if this group tag.
|
boolean |
isRequired(FIXFieldList msgFieldList)
Returns true, if the tag value equals one of the array of
values values. |
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 equals one of the array of
values . |
public INValidateOperator(int tag, String[] values, boolean isGroup)
INValidateOperator
.tag
- the tagvalues
- the array of valueisGroup
- the group tagpublic boolean validateCondition(Integer validateTag, FIXFieldList msgFieldList, String msgType, Map<Integer,ICondition> tagsMap, boolean inversion)
values
.
The example of use: T$150 in ('G','H').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)
values
values.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 String[] getValues()
Copyright © 2000–2022 EPAM Systems. All rights reserved.