public class ConditionalGroup extends Object implements IConditionalMessage
Modifier and Type | Field and Description |
---|---|
protected List<ConditionalBlock> |
conditionalBlocks |
protected List<ConditionalGroup> |
conditionalGroups |
protected Map<Integer,ICondition> |
conditionMap |
protected boolean |
isRequired |
protected int |
rootTag |
Constructor and Description |
---|
ConditionalGroup(int rootTag,
Map<Integer,ICondition> conditionMap) |
Modifier and Type | Method and Description |
---|---|
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) |
protected int rootTag
protected boolean isRequired
protected Map<Integer,ICondition> conditionMap
protected List<ConditionalGroup> conditionalGroups
protected List<ConditionalBlock> conditionalBlocks
public ConditionalGroup(int rootTag, Map<Integer,ICondition> conditionMap)
public int getRootTag()
getRootTag
in interface IConditionalMessage
public void setRootTag(int rootTag)
setRootTag
in interface IConditionalMessage
public Map<Integer,ICondition> getConditionMap()
getConditionMap
in interface IConditionalMessage
public void putConditionMap(Map<Integer,ICondition> conditionMap)
putConditionMap
in interface IConditionalMessage
public List<ConditionalGroup> getConditionalGroups()
getConditionalGroups
in interface IConditionalMessage
public void addConditionalGroup(ConditionalGroup conditionalGroup)
addConditionalGroup
in interface IConditionalMessage
public void addConditionalGroups(List<ConditionalGroup> conditionalGroups)
addConditionalGroups
in interface IConditionalMessage
public List<ConditionalBlock> getConditionalBlocks()
getConditionalBlocks
in interface IConditionalMessage
public void addConditionalBlock(ConditionalBlock conditionalBlock)
addConditionalBlock
in interface IConditionalMessage
public void addConditionalBlock(List<ConditionalBlock> conditionalBlocks)
addConditionalBlock
in interface IConditionalMessage
public boolean isRequired()
isRequired
in interface IConditionalMessage
public void setRequired(boolean required)
setRequired
in interface IConditionalMessage
Copyright © 2000–2022 EPAM Systems. All rights reserved.