public class ConditionGroup extends Object implements ConditionElement, InternalConditionBuilder
| Constructor and Description |
|---|
ConditionGroup(GroupType type) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
void |
condition(PathItem item,
ConditionType type,
Object value,
Object value1)
Add a condition between two values
|
List<ConditionElement> |
getConditions() |
GroupType |
getType() |
ConditionGroup |
newGroup(GroupType type)
Build a condition group of a type.
|
public ConditionGroup(GroupType type)
public GroupType getType()
public List<ConditionElement> getConditions()
public void condition(PathItem item, ConditionType type, Object value, Object value1)
InternalConditionBuildercondition in interface InternalConditionBuilderitem - the base operation target.type - the operation type.value - the operation expected value.value1 - TODOpublic ConditionGroup newGroup(GroupType type)
InternalConditionBuildernewGroup in interface InternalConditionBuildertype - the type of group.public void clear()
clear in interface ConditionElementCopyright © 2013 Object Query. All Rights Reserved.