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)
InternalConditionBuilder
condition
in interface InternalConditionBuilder
item
- the base operation target.type
- the operation type.value
- the operation expected value.value1
- TODOpublic ConditionGroup newGroup(GroupType type)
InternalConditionBuilder
newGroup
in interface InternalConditionBuilder
type
- the type of group.public void clear()
clear
in interface ConditionElement
Copyright © 2013 Object Query. All Rights Reserved.