com.epam.fix.validation.engine.validators.condition
Class ConditionValidateParser

java.lang.Object
  extended by 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

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

ConditionValidateParser

public ConditionValidateParser(String condition)
Create parser and pass condition string for parsing.

Parameters:
condition - - condition string.
Method Detail

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.