use of org.talend.dataquality.record.linkage.ui.composite.MatchRuleTableComposite in project tdq-studio-se by Talend.
the class MatchingKeySection method createMatchKeyFromCurrentMatchRule.
/**
* Add a new key definition on current selected match rule.
*
* @param column
*/
public void createMatchKeyFromCurrentMatchRule(String column) {
MatchRuleTableComposite matchRuleTableComp = (MatchRuleTableComposite) getCurrentMatchRuleTableComposite();
matchRuleTableComp.addKeyDefinition(column, matchRuleTableComp.getMatchRule().getMatchKeys());
}
use of org.talend.dataquality.record.linkage.ui.composite.MatchRuleTableComposite in project tdq-studio-se by Talend.
the class MatchingKeySection method getMatchRule.
/**
* DOC zhao Comment method "getMatchRule".
*
* @param tabItem
* @return
*/
protected MatchRule getMatchRule(CTabItem tabItem) {
MatchRuleTableComposite matchRuleTableComp = (MatchRuleTableComposite) getMatchRuleComposite(tabItem);
MatchRule matchRule = matchRuleTableComp.getMatchRule();
return matchRule;
}
use of org.talend.dataquality.record.linkage.ui.composite.MatchRuleTableComposite in project tdq-studio-se by Talend.
the class MatchingKeySection method remoteKeyDefinition.
/**
* DOC zhao Comment method "remoteKeyDefinition".
*
* @param column
* @param oneTab
*/
protected void remoteKeyDefinition(String column, CTabItem oneTab) {
MatchRuleTableComposite matchRuleTableComp = (MatchRuleTableComposite) getMatchRuleComposite(oneTab);
matchRuleTableComp.removeKeyDefinition(column, matchRuleTableComp.getMatchRule().getMatchKeys());
}
use of org.talend.dataquality.record.linkage.ui.composite.MatchRuleTableComposite in project tdq-studio-se by Talend.
the class MatchKeyDefinitionSection method removeMatchKeyFromCurrentMatchRule.
/*
* (non-Javadoc)
*
* @see
* org.talend.dataquality.record.linkage.ui.section.MatchingKeySection#removeMatchKeyFromCurrentMatchRule(java.lang
* .String)
*/
@Override
public void removeMatchKeyFromCurrentMatchRule(MatchKeyDefinition columnkey) {
MatchRuleTableComposite matchRuleTableComp = (MatchRuleTableComposite) getCurrentMatchRuleTableComposite();
matchRuleTableComp.removeKeyDefinition(columnkey, matchRuleTableComp.getMatchRule().getMatchKeys());
}
use of org.talend.dataquality.record.linkage.ui.composite.MatchRuleTableComposite in project tdq-studio-se by Talend.
the class MatchKeyDefinitionSection method createMatchKeyFromCurrentMatchRule.
/*
* (non-Javadoc)
*
* @see
* org.talend.dataquality.record.linkage.ui.section.MatchingKeySection#createMatchKeyFromCurrentMatchRule(java.lang
* .String)
*/
@Override
public void createMatchKeyFromCurrentMatchRule(String column) {
MatchRuleTableComposite matchRuleTableComp = (MatchRuleTableComposite) getCurrentMatchRuleTableComposite();
matchRuleTableComp.addKeyDefinition(column, matchRuleTableComp.getMatchRule().getMatchKeys());
}
Aggregations