View Javadoc

1   package org.kuali.common.jdbc.vendor.model;
2   
3   import java.util.Properties;
4   
5   import org.kuali.common.jdbc.sql.model.AdminSql;
6   import org.kuali.common.jdbc.sql.model.DbaSql;
7   import org.kuali.common.util.Assert;
8   import org.kuali.common.util.PropertyUtils;
9   
10  public final class VendorSql {
11  
12  	public VendorSql(AdminSql admin, DbaSql dba, Properties all) {
13  		Assert.noNulls(admin, dba, all);
14  		this.admin = admin;
15  		this.dba = dba;
16  		this.all = PropertyUtils.toImmutable(all);
17  	}
18  
19  	private final AdminSql admin;
20  	private final DbaSql dba;
21  	private final Properties all;
22  
23  	public AdminSql getAdmin() {
24  		return admin;
25  	}
26  
27  	public DbaSql getDba() {
28  		return dba;
29  	}
30  
31  	public Properties getAll() {
32  		return all;
33  	}
34  
35  }