com.epam.fix.validation.engine.validators.condition
Class ConditionValidateParser
java.lang.Object
com.epam.fix.validation.engine.validators.condition.ConditionValidateParser
public class ConditionValidateParser
- extends Object
This class uses for parsing condition for conditionary required fields and generate some executable Condition
implementation.
Supporting comparing operators: "=", "!=", "<", ">", "in";
Supporting logical operators: "not", "or", "and"
Supporting searching operator: "existtags";
Supporting special fake operator: "false"
Examples of valid conditions:
false
existtags(T$91)
T$28='C' or T$28='R'
T$20 in ('1','2')
T$59='GTD' and (not existtags(T$126))
not (T$71=2 or T$626 in ('5', '7'))
- Version:
- $Revision: 1.20 $ $Date: 2008/05/06 15:27:24 $
- Author:
- Alexander Sereda , Serhiy_Zahriychuk
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConditionValidateParser
public ConditionValidateParser(String condition)
- Create parser and pass condition string for parsing.
- Parameters:
condition
- - condition string.
getCondition
public ICondition getCondition()
- Returns full list of classes of conditional operator by input string
- Returns:
- full list of classes of conditional operator
Copyright © 2000-2014 EPAM Systems. All Rights Reserved.