![JAR search and dependency download from the Maven repository](/logo.png)
com.github.kislayverma.rulette.mysql.model.RuleSystemMetadataMysqlModel Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of rulette-mysql-provider Show documentation
Show all versions of rulette-mysql-provider Show documentation
Mysql integration for Rulette
The newest version!
package com.github.kislayverma.rulette.mysql.model;
import com.github.kislayverma.rulette.core.metadata.RuleInputMetaData;
import com.github.kislayverma.rulette.core.metadata.RuleSystemMetaData;
import java.util.List;
/**
* This is a Mysql provider specific extension of rule system meta data. It additionally capture the rule system's unique
* row id from the MySQL table
*/
public class RuleSystemMetadataMysqlModel extends RuleSystemMetaData {
private final Long ruleSystemId;
public RuleSystemMetadataMysqlModel(String ruleSystemName,
String tableName,
String uniqueIdColName,
String uniqueOutputColName,
List inputs,
Long ruleSystemId) {
super(ruleSystemName,
tableName,
uniqueIdColName,
uniqueOutputColName,
inputs);
this.ruleSystemId = ruleSystemId;
}
public Long getRuleSystemId() {
return ruleSystemId;
}
@Override
public String toString() {
return "RuleSystemMetadataMysqlModel{" +
super.toString() +
", ruleSystemId=" + ruleSystemId +
'}';
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy