001 package org.kuali.common.jdbc.vendor.model;
002
003 import java.util.Properties;
004
005 import org.kuali.common.jdbc.sql.model.AdminSql;
006 import org.kuali.common.jdbc.sql.model.DbaSql;
007 import org.kuali.common.util.Assert;
008 import org.kuali.common.util.PropertyUtils;
009
010 public final class VendorSql {
011
012 public VendorSql(AdminSql admin, DbaSql dba, Properties all) {
013 Assert.noNulls(admin, dba, all);
014 this.admin = admin;
015 this.dba = dba;
016 this.all = PropertyUtils.toImmutable(all);
017 }
018
019 private final AdminSql admin;
020 private final DbaSql dba;
021 private final Properties all;
022
023 public AdminSql getAdmin() {
024 return admin;
025 }
026
027 public DbaSql getDba() {
028 return dba;
029 }
030
031 public Properties getAll() {
032 return all;
033 }
034
035 }