|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.epam.fix.validation.engine.validators.condition.ConditionValidateParser
public class ConditionValidateParser
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'))
Constructor Summary | |
---|---|
ConditionValidateParser(String condition)
Create parser and pass condition string for parsing. |
Method Summary | |
---|---|
ICondition |
getCondition()
Returns full list of classes of conditional operator by input string |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ConditionValidateParser(String condition)
condition
- - condition string.Method Detail |
---|
public ICondition getCondition()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |