001package gudusoft.gsqlparser.dlineage.dataflow.metadata.model;
002
003public class MetadataRelation {
004        private String sourceDb;
005        private String sourceSchema;
006        private String sourceTable;
007        private String sourceColumn;
008        private String targetDb;
009        private String targetSchema;
010        private String targetTable;
011        private String targetColumn;
012        private String procedureName;
013        private String queryName;
014
015        private String relationType = "fdd";
016
017        public String getSourceDb() {
018                return sourceDb;
019        }
020        public void setSourceDb(String sourceDb) {
021                this.sourceDb = sourceDb;
022        }
023        public String getSourceSchema() {
024                return sourceSchema;
025        }
026        public void setSourceSchema(String sourceSchema) {
027                this.sourceSchema = sourceSchema;
028        }
029        public String getSourceTable() {
030                return sourceTable;
031        }
032        public void setSourceTable(String sourceTable) {
033                this.sourceTable = sourceTable;
034        }
035        public String getSourceColumn() {
036                return sourceColumn;
037        }
038        public void setSourceColumn(String sourceColumn) {
039                this.sourceColumn = sourceColumn;
040        }
041        public String getTargetDb() {
042                return targetDb;
043        }
044        public void setTargetDb(String targetDb) {
045                this.targetDb = targetDb;
046        }
047        public String getTargetSchema() {
048                return targetSchema;
049        }
050        public void setTargetSchema(String targetSchema) {
051                this.targetSchema = targetSchema;
052        }
053        public String getTargetTable() {
054                return targetTable;
055        }
056        public void setTargetTable(String targetTable) {
057                this.targetTable = targetTable;
058        }
059        public String getTargetColumn() {
060                return targetColumn;
061        }
062        public void setTargetColumn(String targetColumn) {
063                this.targetColumn = targetColumn;
064        }
065        public String getProcedureName() {
066                return procedureName;
067        }
068        public void setProcedureName(String procedureName) {
069                this.procedureName = procedureName;
070        }
071        public String getQueryName() {
072                return queryName;
073        }
074        public void setQueryName(String queryName) {
075                this.queryName = queryName;
076        }
077
078        public String getRelationType() {
079                return relationType;
080        }
081
082        public void setRelationType(String relationType) {
083                this.relationType = relationType;
084        }
085}