(no commit message)
[utils] / test / enterprise / src / main / java / org / wamblee / support / persistence / PersistenceUnitDescription.java
1 /*
2  * Copyright 2005-2010 the original author or authors.
3  * 
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  * 
8  *      http://www.apache.org/licenses/LICENSE-2.0
9  * 
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */ 
16 package org.wamblee.support.persistence;
17
18 import org.dbunit.dataset.filter.ITableFilterSimple;
19
20 public class PersistenceUnitDescription {
21
22     private String jndiName;
23     private String unitName;
24     private ITableFilterSimple tables;
25
26     public PersistenceUnitDescription(String aJndiName, String aUnitName,
27         ITableFilterSimple aTables) {
28         jndiName = aJndiName;
29         unitName = aUnitName;
30         tables = aTables;
31     }
32
33     public String getJndiName() {
34         return jndiName;
35     }
36
37     public String getUnitName() {
38         return unitName;
39     }
40
41     public ITableFilterSimple getTables() {
42         return tables;
43     }
44 }