public class RelativeCondition extends AbstractCondition
| 构造器和说明 |
|---|
RelativeCondition() |
RelativeCondition(String oneItemName,
SimpleOperator operator,
String anotherItemName)
only use for struct, compare one item in the struct to another item
|
| 限定符和类型 | 方法和说明 |
|---|---|
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 在类中 AbstractConditionCopyright © 2022. All rights reserved.