com.epam.fix.validation.engine.validators.condition.container
Class ConditionalGroup

java.lang.Object
  extended by com.epam.fix.validation.engine.validators.condition.container.ConditionalGroup
All Implemented Interfaces:
IConditionalMessage
Direct Known Subclasses:
ConditionalBlock, ConditionalMessage

public class ConditionalGroup
extends Object
implements IConditionalMessage

Provides the condition group.

Author:
Serhiy_Zahriychuk Date: Jun 18, 2009

Field Summary
protected  List<ConditionalBlock> conditionalBlocks
           
protected  List<ConditionalGroup> conditionalGroups
           
protected  Map<Integer,ICondition> conditionMap
           
protected  boolean isRequired
           
protected  int rootTag
           
 
Constructor Summary
ConditionalGroup(int rootTag, Map<Integer,ICondition> conditionMap)
           
 
Method Summary
 void addConditionalBlock(ConditionalBlock conditionalBlock)
           
 void addConditionalBlock(List<ConditionalBlock> conditionalBlocks)
           
 void addConditionalGroup(ConditionalGroup conditionalGroup)
           
 void addConditionalGroups(List<ConditionalGroup> conditionalGroups)
           
 List<ConditionalBlock> getConditionalBlocks()
           
 List<ConditionalGroup> getConditionalGroups()
           
 Map<Integer,ICondition> getConditionMap()
           
 int getRootTag()
           
 boolean isRequired()
           
 void putConditionMap(Map<Integer,ICondition> conditionMap)
           
 void setRequired(boolean required)
           
 void setRootTag(int rootTag)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

rootTag

protected int rootTag

isRequired

protected boolean isRequired

conditionMap

protected Map<Integer,ICondition> conditionMap

conditionalGroups

protected List<ConditionalGroup> conditionalGroups

conditionalBlocks

protected List<ConditionalBlock> conditionalBlocks
Constructor Detail

ConditionalGroup

public ConditionalGroup(int rootTag,
                        Map<Integer,ICondition> conditionMap)
Method Detail

getRootTag

public int getRootTag()
Specified by:
getRootTag in interface IConditionalMessage

setRootTag

public void setRootTag(int rootTag)
Specified by:
setRootTag in interface IConditionalMessage

getConditionMap

public Map<Integer,ICondition> getConditionMap()
Specified by:
getConditionMap in interface IConditionalMessage

putConditionMap

public void putConditionMap(Map<Integer,ICondition> conditionMap)
Specified by:
putConditionMap in interface IConditionalMessage

getConditionalGroups

public List<ConditionalGroup> getConditionalGroups()
Specified by:
getConditionalGroups in interface IConditionalMessage

addConditionalGroup

public void addConditionalGroup(ConditionalGroup conditionalGroup)
Specified by:
addConditionalGroup in interface IConditionalMessage

addConditionalGroups

public void addConditionalGroups(List<ConditionalGroup> conditionalGroups)
Specified by:
addConditionalGroups in interface IConditionalMessage

getConditionalBlocks

public List<ConditionalBlock> getConditionalBlocks()
Specified by:
getConditionalBlocks in interface IConditionalMessage

addConditionalBlock

public void addConditionalBlock(ConditionalBlock conditionalBlock)
Specified by:
addConditionalBlock in interface IConditionalMessage

addConditionalBlock

public void addConditionalBlock(List<ConditionalBlock> conditionalBlocks)
Specified by:
addConditionalBlock in interface IConditionalMessage

isRequired

public boolean isRequired()
Specified by:
isRequired in interface IConditionalMessage

setRequired

public void setRequired(boolean required)
Specified by:
setRequired in interface IConditionalMessage


Copyright © 2000-2014 EPAM Systems. All Rights Reserved.