|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.epam.fix.validation.engine.validators.condition.AbstractCondition
com.epam.fix.validation.engine.validators.condition.operators.ANDValidateOperator
public class ANDValidateOperator
The logical AND operator.
| Field Summary |
|---|
| Fields inherited from class com.epam.fix.validation.engine.validators.condition.AbstractCondition |
|---|
isGroupTag |
| Constructor Summary | |
|---|---|
ANDValidateOperator(ICondition operand1,
ICondition operand2,
boolean isGroup)
Creates the ANDValidateOperator . |
|
| Method Summary | |
|---|---|
ICondition |
getOperand1()
Gets the first operand. |
ICondition |
getOperand2()
Gets the second operand. |
List<Integer> |
getTags()
Gets tags from operands. |
boolean |
isGroupTags()
Returns true, if one of all operand is group. |
boolean |
isRequired(FIXFieldList msgFieldList)
Returns true, if both operands are required. |
void |
setGroupTags(boolean isGroup)
Sets group flag. |
boolean |
validateCondition(Integer validateTag,
FIXFieldList msgFieldList,
String msgType,
Map<Integer,ICondition> tagsMap,
boolean inversion)
Returns true, if both operators returns true. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ANDValidateOperator(ICondition operand1,
ICondition operand2,
boolean isGroup)
ANDValidateOperator .
operand1 - the first operandoperand2 - the second operandisGroup - the group tag| Method Detail |
|---|
public boolean validateCondition(Integer validateTag,
FIXFieldList msgFieldList,
String msgType,
Map<Integer,ICondition> tagsMap,
boolean inversion)
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 - the messagepublic boolean isGroupTags()
public void setGroupTags(boolean isGroup)
isGroup - the group flagpublic List<Integer> getTags()
public ICondition getOperand1()
public ICondition getOperand2()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||