public class Rule extends Object
| Constructor and Description |
|---|
Rule() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
Integer |
getPriority()
优先级。
minimum: 1
maximum: 10
|
Integer |
getRuleRatio()
规则占比。
minimum: 1
maximum: 100
|
String |
getTableName()
候选集表名。
|
int |
hashCode() |
void |
setPriority(Integer priority) |
void |
setRuleRatio(Integer ruleRatio) |
void |
setTableName(String tableName) |
String |
toString() |
Rule |
withPriority(Integer priority) |
Rule |
withRuleRatio(Integer ruleRatio) |
Rule |
withTableName(String tableName) |
public String getTableName()
public void setTableName(String tableName)
public Integer getRuleRatio()
public void setRuleRatio(Integer ruleRatio)
public Integer getPriority()
public void setPriority(Integer priority)
Copyright © 2022. All rights reserved.