public class Rule extends Object
| 构造器和说明 |
|---|
Rule(UacProperty uacProperty) |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
constainsAssociation(String table)
表是否有关联更新规则,适用于source表
|
boolean |
constainsAssociation(String table,
String column)
表是否有关联更新规则,适用于source表
|
boolean |
constainsSourceRule(String table,
String column)
判断是否存在该source规则
|
boolean |
constainsTargetRule(SourceTable sourceTable)
判断是否存在该target规则
|
Set<String> |
getSourceColumn(String table)
获取表关联更新的字段
|
Set<SourceTable> |
getSourceRule(String table,
String column)
根据表名、字段获取source规则
|
Set<TargetTable> |
getTargetRule(SourceTable sourceTable)
根据表名、源索引字段、源数据字段获取target规则
|
public Rule(UacProperty uacProperty)
public boolean constainsAssociation(String table)
table - public boolean constainsAssociation(String table, String column)
table - column - public boolean constainsSourceRule(String table, String column)
table - column - public Set<SourceTable> getSourceRule(String table, String column)
table - column - public boolean constainsTargetRule(SourceTable sourceTable)
sourceTable - public Set<TargetTable> getTargetRule(SourceTable sourceTable)
sourceTable - Copyright © 2020. All rights reserved.