public class RelativeCondition extends AbstractCondition
| Constructor and Description |
|---|
RelativeCondition() |
RelativeCondition(String oneItemName,
SimpleOperator operator,
String anotherItemName)
only use for struct, compare one item in the struct to another item
|
| Modifier and Type | Method and Description |
|---|---|
String |
getAnotherName() |
ConditionType |
getConditionType() |
String |
getName() |
SimpleOperator |
getOperator() |
void |
setAnotherName(String anotherName)
set another item name of the same struct
anotherName has higher priority over value, if anotherName is set, the comparing is relative comparing
between two items in the same struct
|
void |
setName(String name) |
void |
setOperator(SimpleOperator operator) |
detectPointId, getRelativeFieldspublic RelativeCondition()
public RelativeCondition(String oneItemName, SimpleOperator operator, String anotherItemName)
oneItemName - anotherItemName - operator - public String getName()
public void setName(String name)
public SimpleOperator getOperator()
public void setOperator(SimpleOperator operator)
public String getAnotherName()
public void setAnotherName(String anotherName)
anotherName - public ConditionType getConditionType()
getConditionType in class AbstractConditionCopyright © 2020. All rights reserved.